file_name int64 0 72.3k | vulnerable_line_numbers stringlengths 1 1.06k ⌀ | dataset_type stringclasses 1
value | commit_hash stringlengths 40 44 | unique_id int64 0 271k | project stringclasses 10
values | target int64 0 1 | repo_url stringclasses 10
values | date stringlengths 25 25 ⌀ | code stringlengths 0 20.4M | CVE stringlengths 13 43 ⌀ | CWE stringclasses 50
values | commit_link stringlengths 73 97 ⌀ | severity stringclasses 4
values | __index_level_0__ int64 0 124k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3,085 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,080 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Implement the manual drop-all-pagecache function
*/
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/writeback.h>
#include <linux/sysctl.h>
#include <linux/gfp.h>
#include "internal.h"
/* A global variable is a bit ugly, but it keeps the code simple */
int sysctl_drop_cache... | null | null | null | null | 76,428 |
27,267 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,262 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* aio_aio12_8.c
* Driver for Access I/O Products PC-104 AIO12-8 Analog I/O Board
* Copyright (C) 2006 C&C Technologies, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either ve... | null | null | null | null | 100,609 |
24,836 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,836 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
#define EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
#include <map>
#include <set>
#include <str... | null | null | null | null | 21,699 |
51,112 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,112 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_EVENT_DISPATCHER_H_
#define UI_EVENTS_EVENT_DISPATCHER_H_
#include "base/auto_reset.h"
#include "base/macros.h"
#include "ui/events... | null | null | null | null | 47,975 |
956 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,343 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,788 |
48,663 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,663 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/animation/ink_drop_highlight.h"
#include <memory>
#include <string>
#include <utility>
#include "third_party/skia/include/core/SkColo... | null | null | null | null | 45,526 |
9,723 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,723 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/base/bitstream_audio_codecs.h"
#include <vector>
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
name... | null | null | null | null | 6,586 |
61,847 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,847 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <utility>
#include "base/location.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/rand_util.h"
#include "base/singl... | null | null | null | null | 58,710 |
61,589 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,589 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_GALLERY_WATCH_MANAGER_H_
#include <map>
#include <... | null | null | null | null | 58,452 |
14,575 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,575 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/history/core/browser/keyword_search_term.h"
namespace history {
KeywordSearchTermVisit::KeywordSearchTermVisit() : visits(0) {}
Ke... | null | null | null | null | 11,438 |
1,797 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,854 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* DSP functions for Indeo Video Interactive codecs (Indeo4 and Indeo5)
*
* Copyright (c) 2009-2011 Maxim Poliakovski
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | null | null | null | null | 70,909 |
34,056 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,056 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NGPhysicalOffset_h
#define NGPhysicalOffset_h
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platf... | null | null | null | null | 30,919 |
24,124 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,119 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* NVIDIA Tegra DRM GEM helper functions
*
* Copyright (C) 2012 Sascha Hauer, Pengutronix
* Copyright (C) 2013-2015 NVIDIA CORPORATION, All rights reserved.
*
* Based on the GEM/CMA helpers
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
*
* This program is free software; you can redistribute it and/or... | null | null | null | null | 97,466 |
41,912 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,912 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "base/stl_util.h"
#include "build/build_config... | null | null | null | null | 38,775 |
26,514 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,509 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2014 Traphandler
* Copyright (C) 2014 Free Electrons
* Copyright (C) 2014 Atmel
*
* Author: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
* Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the te... | null | null | null | null | 99,856 |
23,816 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,816 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_UPDATE_JOB_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_UPDATE_JOB_H_
#include <stddef.h>
#include <stdint.... | null | null | null | null | 20,679 |
28,491 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,486 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | null | null | null | null | 101,833 |
38,439 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,434 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef LOCKS_H
#define LOCKS_H
#include <limits.h>
#include <pthread.h>
#include <stdbool.h>
#include "assume.h"
#include "bug_on.h"
#include "preempt.h"
int nondet_int(void);
#define __acquire(x)
#define __acquires(x)
#define __release(x)
#define __releases(x)
/* Only use one lock mechanism. Select which one. */... | null | null | null | null | 111,781 |
9,307 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,302 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-mmp/mmp2.c
*
* code name MMP2
*
* Copyright (C) 2009 Marvell International Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/... | null | null | null | null | 82,649 |
13,688 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,683 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Amit Bhor, Sameer Dhavale: Codito Technolog... | null | null | null | null | 87,030 |
63,192 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,192 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/ime_driver/remote_text_input_client.h"
RemoteTextInputClient::RemoteTextInputClient(
ui::mojom::TextInputClientPtr ... | null | null | null | null | 60,055 |
5,605 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,605 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/binder/util.h"
#include "base/logging.h"
#include "chromeos/binder/binder_driver_api.h"
namespace binder {
const char* CommandToStri... | null | null | null | null | 2,468 |
31,967 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,967 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/css/properties/longhands/mask_source_type.h"
#include "third_party/blink/renderer/core/css/properties/css_parsi... | null | null | null | null | 28,830 |
19,487 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,487 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sessions/content/content_platform_specific_tab_data.h"
#include "base/memory/ptr_util.h"
#include "content/public/browser/navigation... | null | null | null | null | 16,350 |
27,261 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,261 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... | null | null | null | null | 24,124 |
34,100 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,095 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ALSA PCM device for the
* ALSA interface to ivtv PCM capture streams
*
* Copyright (C) 2009,2012 Andy Walls <awalls@md.metrocast.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | null | null | null | null | 107,442 |
61,199 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,199 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/resource_coordinator/tab_manager_features.h"
#include "base/metrics/field_trial_params.h"
#include "chrome/common/chrome_feature... | null | null | null | null | 58,062 |
57,212 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,212 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_STEP_H_
#define CHROME_BROWSER_CHROMEOS_FIRST_RUN_STEP_H_
#include <string>
#include "base/macros.h"
#include ... | null | null | null | null | 54,075 |
25,520 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,520 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
#define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
#include "extensions/browser/uninstal... | null | null | null | null | 22,383 |
30,447 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,447 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_ENCRYPTED_MEDIA_CLIENT_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_ENCRYPTED_MEDIA_CLIENT_H_
#include ... | null | null | null | null | 27,310 |
14,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,330 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_snippets/category_status.h"
namespace ntp_snippets {
bool IsCategoryStatusAvailable(CategoryStatus status) {
// Note: This co... | null | null | null | null | 11,193 |
55,047 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,047 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/safe_browsing/phishing_classifier.h"
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#include "base/co... | null | null | null | null | 51,910 |
9,776 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,776 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/renderer/memory_pressure_observer_impl.h"
#include "base/memory/memory_pressure_listener.h"
namespace chromecast {
MemoryPressureO... | null | null | null | null | 6,639 |
57,328 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,328 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/arc/test/arc_data_removed_waiter.h"
#include "base/run_loop.h"
namespace arc {
ArcDataRemovedWaiter::ArcDataRemovedWai... | null | null | null | null | 54,191 |
815 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,770 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | null | null | null | null | 119,691 |
762 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,149 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,594 |
20,173 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,168 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2005, 2006, 2007, 2008 Mellanox Technologies. All rights reserved.
* Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
*
* This software is a... | null | null | null | null | 93,515 |
28,657 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,657 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | #include "rar.hpp"
RawRead::RawRead()
{
RawRead::SrcFile=NULL;
Reset();
}
RawRead::RawRead(File *SrcFile)
{
RawRead::SrcFile=SrcFile;
Reset();
}
void RawRead::Reset()
{
Data.SoftReset();
ReadPos=0;
DataSize=0;
Crypt=NULL;
}
size_t RawRead::Read(size_t Size)
{
size_t ReadSize=0;
#if !defined(RAR... | null | null | null | null | 25,520 |
5,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,779 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/dbus/arc_oemcrypto_client.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#inc... | null | null | null | null | 2,642 |
3,174 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,742 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU ETRAX System Emulator
*
* Copyright (c) 2008 Edgar E. Iglesias, Axis Communications AB.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including witho... | null | null | null | null | 123,866 |
2,839 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,896 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | null | null | null | null | 71,951 |
44,287 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,282 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* BSD LICENSE
*
* Copyright(c) 2015 Broadcom Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* ... | null | null | null | null | 117,629 |
39,318 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,313 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* algif_hash: User-space interface for hash algorithms
*
* This file provides the user-space API for hash algorithms.
*
* Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License... | null | null | null | null | 112,660 |
9,400 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,400 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/reporting/reporting_uploader.h"
#include <memory>
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#... | null | null | null | null | 6,263 |
14,941 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,941 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_UKM_UKM_SERVICE_H_
#define COMPONENTS_UKM_UKM_SERVICE_H_
#include <stddef.h>
#include <memory>
#include <vector>
#include "base/macro... | null | null | null | null | 11,804 |
46,086 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,086 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_WINDOW_POSITIONER_H_
#define ASH_WM_WINDOW_POSITIONER_H_
#include "ash/ash_export.h"
#include "base/macros.h"
#include "ui/base/ui_base_ty... | null | null | null | null | 42,949 |
38,101 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,096 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _PERF_UI_BROWSER_HISTS_H_
#define _PERF_UI_BROWSER_HISTS_H_ 1
#include "ui/browser.h"
struct hist_browser {
struct ui_browser b;
struct hists *hists;
struct hist_entry *he_selection;
struct map_symbol *selection;
struct hist_browser_timer *hbt;
struct pstack *pstack;
struct perf_env *... | null | null | null | null | 111,443 |
58,901 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,901 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <utility>
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_... | null | null | null | null | 55,764 |
1,891 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,948 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Wing Commander/Xan Video Decoder
* Copyright (C) 2003 The FFmpeg project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of... | null | null | null | null | 71,003 |
7,118 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,113 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2009-2010 PetaLogix
* Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corporation
*
* Provide default implementations of the DMA mapping callbacks for
* directly mapped busses.
*/
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/gfp.h>
#include <linux/dma-debug.h>
#inclu... | null | null | null | null | 80,460 |
5,607 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,602 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/sound/soc/pxa/pxa2xx-i2s.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _PXA2XX_I2S_H
#define _PXA2XX_I2S_H
/* I2S clock */
#define PXA2XX_I2S_SYSCLK... | null | null | null | null | 78,949 |
55,889 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,889 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_MENU_OBSERVER_H_
#define CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLING_MENU_OBSERVER_H_
#include <s... | null | null | null | null | 52,752 |
4,474 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,469 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
#include <linux/time.h>
#include "reiserfs.h"
#include "acl.h"
#include "xattr.h"
#include <linux/uaccess.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <linux/writeback.h>
#include <linux/blkdev.h>
#include <linux/buffer_he... | null | null | null | null | 77,816 |
9,004 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,999 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* PTP 1588 clock using the IXP46X
*
* Copyright (C) 2010 OMICRON electronics GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your ... | null | null | null | null | 82,346 |
51,486 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,486 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
#define UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
#include "cc/input/overscroll_behavior.h"
#include "ui/... | null | null | null | null | 48,349 |
2,619 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,614 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* The User Datagram Protocol (UDP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG... | null | null | null | null | 75,962 |
260 | null | train_val | b09a65ece69306a70044ac99ca6928eda58d7c79 | 270,567 | tcpdump | 0 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-14 11:59:38-07:00 | /*
* Copyright (c) 1998-2007 The TCPDUMP project
* Copyright (c) 2009 Florian Forster
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code
* distributions retain the above copyright notice and this paragraph
* in its entirety, and (2... | null | null | null | null | 124,175 |
52,991 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,991 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BASE_DJB2_H_
#define MEDIA_BASE_DJB2_H_
#include <stddef.h>
#include <stdint.h>
#include "media/base/media_export.h"
// DJB2 is a has... | null | null | null | null | 49,854 |
938 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,506 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rd, rs, rt;
long long dspi, dspo;
long long result;
rs = 0x10FF01FF;
rt = 0x10010001;
dspi = 0x00002000;
result = 0x21000201;
__asm
("wrdsp %3\n"
"addwc %0, %1, %2\n\t"
: "=r"(rd)
: "r"(rs), "r"(rt)... | null | null | null | null | 121,630 |
11,291 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,286 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
* Copyright 2003 PathScale, Inc.
* Derived from include/asm-i386/pgtable.h
* Licensed under the GPL
*/
#ifndef __UM_PGTABLE_2LEVEL_H
#define __UM_PGTABLE_2LEVEL_H
#define __ARCH_USE_5LEVEL_HACK
#include <asm-generic/pgtable-nopmd.h>
/* PGDIR_SHIFT... | null | null | null | null | 84,633 |
6,254 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,249 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __USBAUDIO_QUIRKS_H
#define __USBAUDIO_QUIRKS_H
struct audioformat;
struct snd_usb_endpoint;
struct snd_usb_substream;
int snd_usb_create_quirk(struct snd_usb_audio *chip,
struct usb_interface *iface,
struct usb_driver *driver,
const struct snd_usb_audio_quirk *quirk);
int snd_usb_apply_interface... | null | null | null | null | 79,596 |
21,676 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,671 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | null | null | null | null | 95,018 |
37,928 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,928 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | null | null | null | null | 34,791 |
32,449 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,449 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/testing/sim/sim_web_frame_client.h"
#include "third_party/blink/public/web/web_console_message.h"
#include "thi... | null | null | null | null | 29,312 |
72,244 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,244 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_NETWORK_PUBLIC_CPP_MUTABLE_NETWORK_TRAFFIC_ANNOTATION_TAG_MOJOM_TRAITS_H_
#define SERVICES_NETWORK_PUBLIC_CPP_MUTABLE_NETWORK_TRAFFIC_ANN... | null | null | null | null | 69,107 |
3,263 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,263 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "storage/browser/fileapi/file_system_options.h"
namespace storage {
FileSystemOptions::FileSystemOptions(
ProfileMode profile_mode,
... | null | null | null | null | 126 |
58,435 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,435 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_IMPORTER_PROFILE_WRITER_H_
#define CHROME_BROWSER_IMPORTER_PROFILE_WRITER_H_
#include <vector>
#include "base/macros.h"
#incl... | null | null | null | null | 55,298 |
35,205 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,200 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* vs6624.c ST VS6624 CMOS image sensor driver
*
* Copyright (c) 2011 Analog Devices Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed i... | null | null | null | null | 108,547 |
23,029 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,024 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* LTC2952 (PowerPath) driver
*
* Copyright (C) 2014, Xsens Technologies BV <info@xsens.com>
* Maintainer: Ren Moll <linux@r-moll.nl>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; ... | null | null | null | null | 96,371 |
59,061 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,061 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/activity_log/activity_log.h"
#include <stddef.h>
#include <memory>
#include "base/command_line.h"
#include "bas... | null | null | null | null | 55,924 |
3,152 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,147 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/fs/lockd/host.c
*
* Management for NLM peer hosts. The nlm_host struct is shared
* between client and server implementation. The only reason to
* do so is to reduce code bloat.
*
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/... | null | null | null | null | 76,495 |
30,345 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,340 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* property.c - Unified device property interface.
*
* Copyright (C) 2014, Intel Corporation
* Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
* Mika Westerberg <mika.westerberg@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of t... | null | null | null | null | 103,687 |
55,041 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,041 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/safe_browsing/phishing_url_feature_extractor.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/lo... | null | null | null | null | 51,904 |
21,558 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,558 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/stream/webmediaplayer_ms.h"
#include <stddef.h>
#include <limits>
#include <string>
#include <utility>
#include "base/b... | null | null | null | null | 18,421 |
32,814 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,809 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Amlogic Meson Successive Approximation Register (SAR) A/D Converter
*
* Copyright (C) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the ... | null | null | null | null | 106,156 |
45,364 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,364 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/display/mirror_window_controller.h"
#include "ash/display/mirror_window_test_api.h"
#include "ash/display/window_tree_host_manager.h"
#... | null | null | null | null | 42,227 |
33,022 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,022 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/inspector/resolve_node.h"
#include "third_party/blink/renderer/bindings/core/v8/binding_security.h"
#include "t... | null | null | null | null | 29,885 |
33,650 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,645 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
STV6110(A) Silicon tuner driver
Copyright (C) Manu Abraham <abraham.manu@gmail.com>
Copyright (C) ST Microelectronics
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of th... | null | null | null | null | 106,992 |
28,302 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,302 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2012 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | null | null | null | null | 25,165 |
64,687 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,687 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
... | null | null | null | null | 61,550 |
50,704 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,704 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_OZONE_COMMON_STUB_CLIENT_NATIVE_PIXMAP_FACTORY_H_
#define UI_OZONE_COMMON_STUB_CLIENT_NATIVE_PIXMAP_FACTORY_H_
#include "ui/gfx/client_native_... | null | null | null | null | 47,567 |
69,116 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,116 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fcntl.h>
#include <gmock/gmock.h>
#include <ppapi/c/ppb_file_io.h>
#include <ppapi/c/pp_errors.h>
#include <ppapi/c/pp_instance.h>
#include <sys... | null | null | null | null | 65,979 |
60,489 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,489 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/service/vr_service_impl.h"
#include <utility>
#include "base/bind.h"
#include "chrome/browser/vr/service/vr_device_manager.h... | null | null | null | null | 57,352 |
2,650 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,218 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU crypto TLS x509 credential support
*
* Copyright (c) 2015 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your ... | null | null | null | null | 123,342 |
62,768 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,768 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/find_bar_host.h"
#include <algorithm>
#include "build/build_config.h"
#include "chrome/browser/ui/find_bar/find_ba... | null | null | null | null | 59,631 |
8,159 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,154 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_NUMA_H
#define _ASM_X86_NUMA_H
#include <linux/nodemask.h>
#include <asm/topology.h>
#include <asm/apicdef.h>
#ifdef CONFIG_NUMA
#define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
/*
* Too small node sizes may confuse the VM badly. Usually they
* result from BIOS bugs. So dont recognize nodes as standalo... | null | null | null | null | 81,501 |
15,905 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,900 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/mips/include/asm/perf_event.h
*
* Copyright (C) 2010 MIPS Technologies, Inc.
* Author: Deng-Cheng Zhu
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#if... | null | null | null | null | 89,247 |
59,678 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,678 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/music_manager_private/device_id.h"
// Note: The order of header includes is important, as we want both pre-Vista
... | null | null | null | null | 56,541 |
17,542 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,537 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa
* processor CORE configuration
*
* See <xtensa/config/core.h>, which includes this file, for more details.
*/
/* Xtensa processor core configuration information.
Copyright (c) 1999-2015 Tensilica Inc.
Permission is hereby g... | null | null | null | null | 90,884 |
55,505 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,505 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/utility/importer/bookmark_html_reader.h"
#include <stddef.h>
#include <stdint.h>
#include "base/callback.h"
#include "base/files/file_u... | null | null | null | null | 52,368 |
14,684 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,679 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2007-2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#ifndef _CDEF_BF548_H
#define _CDEF_BF548_H
/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */
#include "cdefBF54x_base.h"
/* The BF548 is like the BF547, but has add... | null | null | null | null | 88,026 |
9,728 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,723 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-pxa/cm-x300.c
*
* Support for the CompuLab CM-X300 modules
*
* Copyright (C) 2008,2009 CompuLab Ltd.
*
* Mike Rapoport <mike@compulab.co.il>
* Igor Grinberg <grinberg@compulab.co.il>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | null | null | null | null | 83,070 |
34,799 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,794 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Empiatech em28x1 audio extension
*
* Copyright (C) 2006 Markus Rechberger <mrechberger@gmail.com>
*
* Copyright (C) 2007-2016 Mauro Carvalho Chehab
* - Port to work with the in-kernel driver
* - Cleanups, fixes, alsa-controls, etc.
*
* This driver is based on my previous au600 usb pstn audio driver
*... | null | null | null | null | 108,141 |
1,053 | 3 | train_val | 81cdb259fb6d8c1c4ecfeea389ff5a73c07f5755 | 166,048 | linux | 1 | https://github.com/torvalds/linux | 2016-11-24 18:37:19+01:00 | static void rtc_irq_eoi_tracking_reset(struct kvm_ioapic *ioapic)
{
ioapic->rtc_status.pending_eoi = 0;
bitmap_zero(ioapic->rtc_status.dest_map.map, KVM_MAX_VCPUS);
}
| CVE-2016-9777 | CWE-125 | https://github.com/torvalds/linux/commit/81cdb259fb6d8c1c4ecfeea389ff5a73c07f5755 | Medium | 3,942 |
21,308 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,308 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MEDIA_RECORDER_AUDIO_TRACK_OPUS_ENCODER_H_
#define CONTENT_RENDERER_MEDIA_RECORDER_AUDIO_TRACK_OPUS_ENCODER_H_
#include <memory>... | null | null | null | null | 18,171 |
22,935 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,930 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for CSR SiRFprimaII onboard UARTs.
*
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/sysrq.h>
#include <l... | null | null | null | null | 96,277 |
42,065 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,065 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "google_apis/gcm/engine/instance_id_delete_token_request_handler.h"
#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
#include... | null | null | null | null | 38,928 |
24,044 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,039 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* psb GEM interface
*
* Copyright (c) 2011, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the ho... | null | null | null | null | 97,386 |
41,287 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,282 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_TRACEPOINT_H
#define _LINUX_TRACEPOINT_H
/*
* Kernel Tracepoint API.
*
* See Documentation/trace/tracepoints.txt.
*
* Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* Heavily inspired from the Linux Kernel Markers.
*
* This file is released under the GPLv2.
* See ... | null | null | null | null | 114,629 |
45,946 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,946 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/test_child_modal_parent.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/window.h"
#include "ui/... | null | null | null | null | 42,809 |
Subsets and Splits
Top Projects by Commit Count
Reveals the most active projects based on the number of unique commits, highlighting which projects have the most development activity.
SQL Console for realvul/RealVul
Identifies the most frequent commit hashes for projects with a target value of 1, revealing key commits that may be significant for further analysis.
Top Vulnerable Commits by Project
Identifies the most frequently occurring vulnerable commit hashes for each project, providing insights into common vulnerabilities across different projects.
Project-wise Vulnerability Count
Counts the occurrences of each target value (0 and 1) per project, providing insight into the distribution of targets within different projects.
CWE Frequency in Train Set
Provides a count of vulnerabilities grouped by CWE ID, highlighting the most frequent types of vulnerabilities in the dataset.
SQL Console for realvul/RealVul
Counts the number of unique commits per project, providing a basic overview of project activity.