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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,155 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,155 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 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 IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_BASE_FEATURE_H_
#define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_BASE_FEATURE_H_
#import... | null | null | null | null | 2,018 |
65,719 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,719 | 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 "chrome/browser/ui/apps/chrome_app_delegate.h"
#include <memory>
#include <utility>
#include "base/macros.h"
#include "base/strings/stringprint... | null | null | null | null | 62,582 |
11,643 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,638 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is never included by application software unless explicitly
* requested (e.g., via linux/types.h) in which case the application is
* Linux specific so (user-) name space pollution is not a major issue.
* However, for interoperability, libraries still need to be careful to
* avoid naming clashes.
*
... | null | null | null | null | 84,985 |
42,165 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,160 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _PIXCIR_I2C_TS_H
#define _PIXCIR_I2C_TS_H
/*
* Register map
*/
#define PIXCIR_REG_POWER_MODE 51
#define PIXCIR_REG_INT_MODE 52
/*
* Power modes:
* active: max scan speed
* idle: lower scan speed with automatic transition to active on touch
* halt: datasheet says sleep but this is more like halt as the c... | null | null | null | null | 115,507 |
24,350 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,350 | 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
#define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
#include <jni.h>
#include <mem... | null | null | null | null | 21,213 |
1,937 | 1,2,3,4,5,6,7,8,9,10 | train_val | 62b8b6e168a12263aab6b88dbef0b900cc37309f | 1,937 | Chrome | 1 | https://github.com/chromium/chromium | 2016-08-24 20:38:53+00:00 | aura::Window* PartialMagnificationController::GetCurrentRootWindow() {
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
for (aura::Window::Windows::const_iterator iter = root_windows.begin();
iter != root_windows.end(); ++iter) {
aura::Window* root_window = *iter;
if (root_window->Con... | null | null | https://github.com/chromium/chromium/commit/62b8b6e168a12263aab6b88dbef0b900cc37309f | null | 1,937 |
287 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,674 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2011-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,119 |
24,407 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,402 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2016 Linaro Ltd.
* Copyright 2016 ZTE Corporation.
*
* 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 __ZX_DRM_DRV_H__
#define __ZX_DRM_DRV_H__
ext... | null | null | null | null | 97,749 |
13,230 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,225 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <asm-generic/div64.h>
| null | null | null | null | 86,572 |
65,699 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,699 | 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_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
#define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
#include <mem... | null | null | null | null | 62,562 |
67,235 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,235 | 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/profiles/avatar_menu.h"
#include <stddef.h>
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profi... | null | null | null | null | 64,098 |
32,257 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,252 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* pata_efar.c - EFAR PIIX clone controller driver
*
* (C) 2005 Red Hat
* (C) 2009-2010 Bartlomiej Zolnierkiewicz
*
* Some parts based on ata_piix.c by Jeff Garzik and others.
*
* The EFAR is a PIIX4 clone with UDMA66 support. Unlike the later
* Intel ICH controllers the EFAR widened the UDMA mod... | null | null | null | null | 105,599 |
53,057 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,057 | 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 "media/base/stream_parser.h"
#include "media/base/stream_parser_buffer.h"
namespace media {
StreamParser::InitParameters::InitParameters(b... | null | null | null | null | 49,920 |
44,457 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,457 | 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.
*/
/* From dev/ppb_crypto_dev.idl modified Wed Nov 7 13:40:08 2012. */
#ifndef PPAPI_C_DEV_PPB_CRYPTO_DEV_H_
#define PPAPI_C_DEV_PPB_CRYPTO_DEV_H_
... | null | null | null | null | 41,320 |
31,871 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,871 | 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/size.h"
#include "third_party/blink/renderer/core/css/css_value_list.h"
#include "thir... | null | null | null | null | 28,734 |
45,410 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,410 | 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.
#ifndef ASH_FRAME_CAPTION_BUTTONS_CAPTION_BUTTON_MODEL_H_
#define ASH_FRAME_CAPTION_BUTTONS_CAPTION_BUTTON_MODEL_H_
#include "ash/frame/caption_buttons/c... | null | null | null | null | 42,273 |
36,266 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,266 | 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 "third_party/blink/renderer/core/page/scrolling/scrolling_coordinator_context.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
... | null | null | null | null | 33,129 |
10,196 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,191 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_ARM_CP15_H
#define __ASM_ARM_CP15_H
#include <asm/barrier.h>
/*
* CR1 bits (CP#15 CR1)
*/
#define CR_M (1 << 0) /* MMU enable */
#define CR_A (1 << 1) /* Alignment abort enable */
#define CR_C (1 << 2) /* Dcache enable */
#define CR_W (1 << 3) /* Write buffer enable */
#define CR_P (1 << 4) /*... | null | null | null | null | 83,538 |
40,427 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,422 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file define a set of standard wireless extensions
*
* Version : 22 16.3.07
*
* Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
* Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
*/
#ifndef _LINUX_WIRELESS_H
#define _LINUX_WIRELESS_H
#include <uapi/linux/wireless.h>
#ifdef CONFIG_COMPAT... | null | null | null | null | 113,769 |
22,145 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,140 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Shared Atheros AR9170 Header
*
* PHY register map
*
* Copyright (c) 2008-2009 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appe... | null | null | null | null | 95,487 |
16,236 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,236 | 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 "components/sync/base/unrecoverable_error_info.h"
namespace syncer {
UnrecoverableErrorInfo::UnrecoverableErrorInfo() : is_set_(false) {}
... | null | null | null | null | 13,099 |
58,377 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,377 | 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_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_
#define CHROME_BROWSER_UPDATE_CLIENT_CHROME_UPDATE_QUERY_PARAMS_DELEGATE_H_
#... | null | null | null | null | 55,240 |
37,068 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,063 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008 Juergen Beisert, kernel@pengutronix.de
* Copyright 2008 Martin Fuzzey, mfuzzey@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* a... | null | null | null | null | 110,410 |
34,991 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,991 | 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/html/media/autoplay_policy.h"
#include "third_party/blink/public/mojom/feature_policy/feature_policy.mojom-blin... | null | null | null | null | 31,854 |
26,763 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,758 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Host1x init for Tegra114 SoCs
*
* Copyright (c) 2013 NVIDIA 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 distribute... | null | null | null | null | 100,105 |
33,981 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,976 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
bttv - Bt848 frame grabber driver
bttv's *private* header file -- nobody other than bttv itself
should ever include this file.
(c) 2000-2002 Gerd Knorr <kraxel@bytesex.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public ... | null | null | null | null | 107,323 |
31,154 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,154 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REPORT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REPORT_H_
#include "third_party/blink/renderer/core... | null | null | null | null | 28,017 |
28,899 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,894 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* thinkpad_acpi.c - ThinkPad ACPI Extras
*
*
* Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net>
* Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | null | null | null | null | 102,241 |
30,686 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,681 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* dm355evm_keys.c - support buttons and IR remote on DM355 EVM board
*
* Copyright (c) 2008 by David Brownell
*
* 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 t... | null | null | null | null | 104,028 |
694 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,822 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 73,115 |
781 | 4 | train_val | e9372a1bfd3588a80fcf49aa07321f0971dd6091 | 781 | Chrome | 1 | https://github.com/chromium/chromium | 2012-05-21 07:08:21+00:00 | static v8::Handle<v8::Value> acceptTransferListCallback(const v8::Arguments& args)
{
INC_STATS("DOM.TestSerializedScriptValueInterface.acceptTransferList");
if (args.Length() < 1)
return V8Proxy::throwNotEnoughArgumentsError();
TestSerializedScriptValueInterface* imp = V8TestSerializedScriptValueInterface::toNa... | CVE-2011-3055 | null | https://github.com/chromium/chromium/commit/e9372a1bfd3588a80fcf49aa07321f0971dd6091 | Medium | 781 |
25,797 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,792 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* 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 without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,139 |
1,123 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,691 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rs, rt;
long long dsp;
long long result;
rs = 0x11777066;
rt = 0x55AA70FF;
result = 0x0F;
__asm
("cmpu.le.qb %1, %2\n\t"
"rddsp %0\n\t"
: "=r"(dsp)
: "r"(rs), "r"(rt)
);
dsp = (dsp... | null | null | null | null | 121,815 |
14,867 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,867 | 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 COMPONENTS_USER_MANAGER_SCOPED_USER_MANAGER_H_
#define COMPONENTS_USER_MANAGER_SCOPED_USER_MANAGER_H_
#include <memory>
#include "base/macros.h"... | null | null | null | null | 11,730 |
59,455 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,455 | 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.
// Definition of helper functions for the Chrome Extensions Proxy Settings API.
#ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_
#def... | null | null | null | null | 56,318 |
40,156 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,151 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_GENERIC_RESOURCE_H
#define _ASM_GENERIC_RESOURCE_H
#include <uapi/asm-generic/resource.h>
/*
* boot-time rlimit defaults for the init task:
*/
#define INIT_RLIMITS \
{ \
[RLIMIT_CPU] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_FSIZE] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIM... | null | null | null | null | 113,498 |
38,867 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,867 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012, Intel 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | null | null | null | null | 35,730 |
58,304 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,304 | 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 <utility>
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/containers/flat_map.h"
#include "base/optional.h"
#in... | null | null | null | null | 55,167 |
58,049 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,049 | 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_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_
#define CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_
#include "base/compiler... | null | null | null | null | 54,912 |
22,304 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,304 | 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 "storage/browser/blob/shareable_file_reference.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/messa... | null | null | null | null | 19,167 |
1,796 | 1 | train_val | 0a1c15fecb1240ab909e1431b6127410c3b380e0 | 1,796 | Chrome | 1 | https://github.com/chromium/chromium | 2015-12-09 02:26:01+00:00 | ui::ModalType ExtensionInstallDialogView::GetModalType() const {
return ui::MODAL_TYPE_WINDOW;
}
| CVE-2016-1640 | CWE-17 | https://github.com/chromium/chromium/commit/0a1c15fecb1240ab909e1431b6127410c3b380e0 | Medium | 1,796 |
33,468 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,463 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for Zarlink DVB-T ZL10353 demodulator
*
* Copyright (C) 2006, 2007 Christopher Pascoe <c.pascoe@itee.uq.edu.au>
*
* 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 v... | null | null | null | null | 106,810 |
1,412 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,256 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
*
* Export of this software from the United States of America may require
* a specific license from the United States Government. It is the
* responsibility of any person or ... | null | null | null | null | 74,564 |
15,703 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,698 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
* Authors: Sanjay Lal <sanjayl@kymasys.com>
*/
#if !defined(_TRACE_KV... | null | null | null | null | 89,045 |
17,181 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,181 | 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_VIZ_COMMON_SURFACES_FRAME_SINK_ID_ALLOCATOR_H_
#define COMPONENTS_VIZ_COMMON_SURFACES_FRAME_SINK_ID_ALLOCATOR_H_
#include "components/... | null | null | null | null | 14,044 |
642 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,486 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* plugins/kdb/ldap/libkdb_ldap/ldap_principal.c */
/*
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | null | null | null | null | 73,794 |
323 | 16,20,24 | train_val | dc7b094a338c6c521f918f478e993f0f74bbea0d | 323 | Chrome | 1 | https://github.com/chromium/chromium | 2011-06-15 06:45:53+00:00 | void ConnectPanelServiceSignals() {
if (!ibus_) {
return;
}
IBusPanelService* ibus_panel_service = IBUS_PANEL_SERVICE(
g_object_get_data(G_OBJECT(ibus_), kPanelObjectKey));
if (!ibus_panel_service) {
LOG(ERROR) << "IBusPanelService is NOT available.";
return;
}
// We don't _ref() or _weak_ref() the panel service objec... | CVE-2011-2804 | CWE-399 | https://github.com/chromium/chromium/commit/dc7b094a338c6c521f918f478e993f0f74bbea0d | Low | 323 |
42,999 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,994 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __CLKSOURCE_TIMER_SP804_H
#define __CLKSOURCE_TIMER_SP804_H
struct clk;
int __sp804_clocksource_and_sched_clock_init(void __iomem *,
const char *, struct clk *, int);
int __sp804_clockevents_init(void __iomem *, unsigned int,
struct clk *, const char *);
void sp804_timer_disable(void __iomem... | null | null | null | null | 116,341 |
35,017 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,017 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 31,880 |
33,845 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,845 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2005 Eric Seidel <eric@webkit.org>
* Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
*
* Thi... | null | null | null | null | 30,708 |
521 | 1,2,10,11,12,13,14,15 | train_val | a46bcef82b29d30836a0f26226e3d4aca4fa9612 | 521 | Chrome | 1 | https://github.com/chromium/chromium | 2011-11-11 01:27:23+00:00 | void ChromotingHost::OnScreenRecorderStopped() {
if (MessageLoop::current() != context_->main_message_loop()) {
context_->main_message_loop()->PostTask(
FROM_HERE, base::Bind(&ChromotingHost::OnScreenRecorderStopped, this));
return;
}
--stopping_recorders_;
DCHECK_GE(stopping_recorders_, 0);
bool stopping;
... | null | null | https://github.com/chromium/chromium/commit/a46bcef82b29d30836a0f26226e3d4aca4fa9612 | null | 521 |
33,781 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,776 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* dm1105.c - driver for DVB cards based on SDMC DM1105 PCI chip
*
* Copyright (C) 2008 Igor M. Liplianin <liplianin@me.by>
*
* 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 vers... | null | null | null | null | 107,123 |
10,909 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,909 | 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 "dbus/test_service.h"
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/bind... | null | null | null | null | 7,772 |
414 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,471 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Assembly testing and benchmarking tool
* Copyright (c) 2015 Henrik Gramner
* Copyright (c) 2008 Loren Merritt
*
* This file is part of FFmpeg.
*
* FFmpeg 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 Found... | null | null | null | null | 69,526 |
20,476 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,476 | 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 CONTENT_TEST_TEST_BACKGROUND_SYNC_MANAGER_H_
#define CONTENT_TEST_TEST_BACKGROUND_SYNC_MANAGER_H_
#include <stdint.h>
#include <memory>
#include... | null | null | null | null | 17,339 |
57,485 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,485 | 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_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H... | null | null | null | null | 54,348 |
56,726 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,726 | 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 "chrome/browser/chromeos/power/freezer_cgroup_process_manager.h"
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#inclu... | null | null | null | null | 53,589 |
4,326 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,326 | 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 IOS_CHROME_BROWSER_SSL_CAPTIVE_PORTAL_DETECTOR_TAB_HELPER_H_
#define IOS_CHROME_BROWSER_SSL_CAPTIVE_PORTAL_DETECTOR_TAB_HELPER_H_
#import "ios/we... | null | null | null | null | 1,189 |
8,799 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,794 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Low-level power-management support for Alpine platform.
*
* Copyright (C) 2015 Annapurna Labs Ltd.
*
* 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, ... | null | null | null | null | 82,141 |
1,673 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,668 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
HIDP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org>
Copyright (C) 2013 David Herrmann <dh.herrmann@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License vers... | null | null | null | null | 75,016 |
42,408 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,403 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/include/asm-arm/hardware/serial_amba.h
*
* Internal header file for AMBA serial ports
*
* Copyright (C) ARM Limited
* Copyright (C) 2000 Deep Blue Solutions Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | null | null | null | null | 115,750 |
102 | 48 | train_val | ca336198e8bebccc18502de27672fdbd6eb34856 | 270,409 | tcpdump | 1 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-13 12:25:44+01:00 | pktap_if_print(netdissect_options *ndo,
const struct pcap_pkthdr *h, const u_char *p)
{
uint32_t dlt, hdrlen, rectype;
u_int caplen = h->caplen;
u_int length = h->len;
if_printer printer;
const pktap_header_t *hdr;
if (caplen < sizeof(pktap_header_t) || length < sizeof(pktap_header_t)) {
ND_PRINT((ndo, "[|pktap]"));
r... | CVE-2017-13007 | CWE-125 | https://github.com/the-tcpdump-group/tcpdump/commit/ca336198e8bebccc18502de27672fdbd6eb34856 | Low | 4,408 |
69,271 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,271 | 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 LIBRARIES_NACL_IO_CHAR_NODE_H_
#define LIBRARIES_NACL_IO_CHAR_NODE_H_
#include "nacl_io/node.h"
namespace nacl_io {
class CharNode : public Nod... | null | null | null | null | 66,134 |
28,414 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,409 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Host AP crypt: host-based TKIP encryption implementation for Host AP driver
*
* Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
*
* 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 Sof... | null | null | null | null | 101,756 |
2,656 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,224 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU Crypto block IV generator - plain
*
* Copyright (c) 2015-2016 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 y... | null | null | null | null | 123,348 |
67,311 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,311 | 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/accessibility/accessibility_permission_context.h"
AccessibilityPermissionContext::AccessibilityPermissionContext(Profile* profil... | null | null | null | null | 64,174 |
1,317 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,272 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | null | null | null | null | 120,193 |
53,061 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,061 | 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 MEDIA_BASE_AUDIO_BUFFER_QUEUE_H_
#define MEDIA_BASE_AUDIO_BUFFER_QUEUE_H_
#include "base/containers/circular_deque.h"
#include "base/macros.h"
#i... | null | null | null | null | 49,924 |
7,695 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,695 | 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 NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
#define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
#include <memory>
#include <string>
#include "base/mac... | null | null | null | null | 4,558 |
58,424 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,424 | 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/content_settings/sound_content_setting_observer.h"
#include "build/build_config.h"
#include "chrome/browser/content_settings/hos... | null | null | null | null | 55,287 |
9,682 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,682 | 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/base/cast_features.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/lazy_instance.h"
#include "base/m... | null | null | null | null | 6,545 |
27,561 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,561 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // qcms
// Copyright (C) 2009 Mozilla Foundation
//
// 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 without limitation
// the rights to use, copy, modify, ... | null | null | null | null | 24,424 |
10,499 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,499 | 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 <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/containers/queue.h"
#include "base/message_loop/message_loop.h"
#incl... | null | null | null | null | 7,362 |
26,125 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,120 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2017 Advanced Micro Devices, Inc.
*
* 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 without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,467 |
7,619 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,619 | 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 NET_DNS_DNS_UTIL_H_
#define NET_DNS_DNS_UTIL_H_
#include <string>
#include "base/strings/string_piece.h"
#include "base/time/time.h"
#includ... | null | null | null | null | 4,482 |
24,656 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,656 | 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.
#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_LOADER_H_
#define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_LOADER_H_
#include <memory>
#include <string>... | null | null | null | null | 21,519 |
36,959 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,959 | 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/platform/wtf/experimental/container_type_operations.h"
#include <cstring>
#include "testing/gtest/include/gtest/gte... | null | null | null | null | 33,822 |
1,329 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,173 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
*
*/
#include <stdio.h>
#include <string.h>
#include <sys/errno.h>
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
#ifdef GSSAPI_KRB5
#include <gssapi/gssapi_krb5.h>
#endif
#include <gssrpc/rpc.h>
#include <gssrpc/auth_gssapi.h>... | null | null | null | null | 74,481 |
47,309 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,309 | 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 CC_INPUT_SCROLL_ELASTICITY_HELPER_H_
#define CC_INPUT_SCROLL_ELASTICITY_HELPER_H_
#include "base/time/time.h"
#include "cc/cc_export.h"
#include ... | null | null | null | null | 44,172 |
61,356 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,356 | 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/signin/dice_response_handler.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h"
#include "base/... | null | null | null | null | 58,219 |
2,373 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,430 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* v410 encoder
*
* Copyright (c) 2011 Derek Buitenhuis
*
* 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 (a... | null | null | null | null | 71,485 |
4,513 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,508 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/fs/sysv/file.c
*
* minix/file.c
* Copyright (C) 1991, 1992 Linus Torvalds
*
* coh/file.c
* Copyright (C) 1993 Pascal Haible, Bruno Haible
*
* sysv/file.c
* Copyright (C) 1993 Bruno Haible
*
* SystemV/Coherent regular file handling primitives
*/
#include "sysv.h"
/*
* We have mostly... | null | null | null | null | 77,855 |
72,228 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,228 | 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 "services/network/public/cpp/url_loader_completion_status.h"
#include "net/base/net_errors.h"
namespace network {
URLLoaderCompletionStatus::U... | null | null | null | null | 69,091 |
128 | null | train_val | 6614a6c1194b3ff84ce20b9d1166ae22ec938f67 | 161,657 | jasper | 0 | https://github.com/mdadams/jasper | 2016-11-12 15:42:24-08:00 | /*
* Copyright (c) 2001-2003 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image Power, Inc.
* Copyright (c) 1999-2000 The University of British Columbia
*
* All rights... | null | null | null | null | 73,185 |
21,773 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,768 | 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,115 |
38,722 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,717 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Copyright (c) 2016 Facebook
*
* 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 Foundation.
*/
#ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
#define _UAPI__LINUX_BPF_PERF_EVENT_H__
#include <l... | null | null | null | null | 112,064 |
7,437 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,437 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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 NET_QUIC_PLATFORM_API_QUIC_FLAGS_H_
#define NET_QUIC_PLATFORM_API_QUIC_FLAGS_H_
#include "net/quic/platform/impl/quic_flags_impl.h"
#define ... | null | null | null | null | 4,300 |
35,553 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,553 | 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/editing/testing/selection_sample.h"
#include <algorithm>
#include "third_party/blink/renderer/core/dom/attribu... | null | null | null | null | 32,416 |
66,723 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,723 | 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 <tuple>
#include "chrome/browser/subresource_filter/subresource_filter_test_harness.h"
#include "components/subresource_filter/core/browser/subr... | null | null | null | null | 63,586 |
59,605 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,605 | 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 <stdint.h>
#include <utility>
#include "base/json/json_reader.h"
#include "base/macros.h"
#include "base/run_loop.h"
#include "base/sequenced_ta... | null | null | null | null | 56,468 |
62,604 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,604 | 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/browser_command_controller.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "build/build_config.h"
#in... | null | null | null | null | 59,467 |
10,239 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,239 | 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 "headless/public/headless_browser.h"
#include <utility>
#include "content/public/common/user_agent.h"
#include "headless/public/version.h"
#if... | null | null | null | null | 7,102 |
389 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,446 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
*
* 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... | null | null | null | null | 69,501 |
6,465 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,460 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __BOARDS_HAMMERHEAD_FLASH_H
#define __BOARDS_HAMMERHEAD_FLASH_H
struct platform_device *at32_add_device_hh_fpga(void);
#endif /* __BOARDS_HAMMERHEAD_FLASH_H */
| null | null | null | null | 79,807 |
35,294 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,289 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Card-specific functions for the Siano SMS1xxx USB dongle
*
* Copyright (c) 2008 Michael Krufky <mkrufky@linuxtv.org>
*
* 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;
... | null | null | null | null | 108,636 |
13,133 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,128 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/alpha/kernel/sys_sx164.c
*
* Copyright (C) 1995 David A Rusling
* Copyright (C) 1996 Jay A Estabrook
* Copyright (C) 1998, 1999, 2000 Richard Henderson
*
* Code supporting the SX164 (PCA56+PYXIS).
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/sched.... | null | null | null | null | 86,475 |
10,977 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,977 | 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 <EGL/egl.h>
#include <EGL/eglext.h>
extern "C" {
#if defined(GLES2_CONFORM_SUPPORT_ONLY)
#include "gpu/gles2_conform_support/gtf/gtf_stubs.h... | null | null | null | null | 7,840 |
32,635 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,635 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright 2008, The Android Open Source Project
*
* 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
* notice, this list of conditions and ... | null | null | null | null | 29,498 |
34,372 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,372 | 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/paint/adjust_paint_offset_scope.h"
#include "third_party/blink/renderer/core/layout/layout_table_section.h"
na... | null | null | null | null | 31,235 |
10,547 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,542 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2010 Pengutronix
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
*
* 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 "devices-common.h"
struct... | null | null | null | null | 83,889 |
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.