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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18,789 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,789 | 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_CRYPTAUTH_SECURE_CHANNEL_H_
#define COMPONENTS_CRYPTAUTH_SECURE_CHANNEL_H_
#include "base/containers/queue.h"
#include "base/macros.h"... | null | null | null | null | 15,652 |
11,209 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,209 | 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 "gpu/command_buffer/service/memory_program_cache.h"
#include <stddef.h>
#include "base/base64.h"
#include "base/bind.h"
#include "base/call... | null | null | null | null | 8,072 |
8,700 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,695 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* SA1100 Power Management Routines
*
* Copyright (c) 2001 Cliff Brake <cbrake@accelent.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License.
*
* History:
*
* 2001-02-06: Cliff Brake Initial code
*
* 2001-02-25: Sukjae... | null | null | null | null | 82,042 |
3,761 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,761 | 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_PUBLIC_PROVIDER_CHROME_BROWSER_EXTERNAL_SEARCH_TEST_EXTERNAL_SEARCH_PROVIDER_H
#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_EXTERNAL_SEARCH_TEST... | null | null | null | null | 624 |
35,548 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,543 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ST Microelectronics MFD: stmpe's spi client specific driver
*
* Copyright (C) ST Microelectronics SA 2011
*
* License Terms: GNU General Public License, version 2
* Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
*/
#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#include <linux/k... | null | null | null | null | 108,890 |
35,582 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,577 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Driver for Realtek PCI-Express card reader
*
* Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
*
* 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... | null | null | null | null | 108,924 |
23,377 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,377 | 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 "content/browser/indexed_db/indexed_db_dispatcher_host.h"
#include "base/barrier_closure.h"
#include "base/callback.h"
#include "base/files/scop... | null | null | null | null | 20,240 |
39,228 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,228 | 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 THIRD_PARTY_BLINK_RENDERER_MODULES_XR_XR_PRESENTATION_CONTEXT_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_XR_XR_PRESENTATION_CONTEXT_H_
#includ... | null | null | null | null | 36,091 |
52,146 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,146 | 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/audio/audio_manager.h"
#include <stdint.h>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/... | null | null | null | null | 49,009 |
67,738 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,738 | 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 IPC_IPC_CHANNEL_H_
#define IPC_IPC_CHANNEL_H_
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <string>
#include "base/co... | null | null | null | null | 64,601 |
62,853 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,853 | 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/subtle_notification_view.h"
#include <memory>
#include "base/strings/string_split.h"
#include "base/strings/utf_string... | null | null | null | null | 59,716 |
13,775 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,770 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include "libgcc.h"
DWtype __ashrdi3(DWtype u, word_type b)
{
const DWunion uu = {.ll = u};
const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b;
DWunion w;
if (b == 0)
return u;
if (bm <= 0) {
/* w.s.high = 1..1 or 0..0 */
w.s.high = uu.s.high >> (sizeof (Wtype) * BITS_PER_UNIT - 1);
w.s.low = uu.... | null | null | null | null | 87,117 |
39,537 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,537 | 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 "third_party/blink/renderer/modules/budget/navigator_budget.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_pa... | null | null | null | null | 36,400 |
59 | 7 | train_val | 65a8e1f6413a0f6f79894da710b5d6d43361d27d | 262,627 | qemu | 1 | https://github.com/bonzini/qemu | 2016-09-13 19:08:46+02:00 | size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address)
{
PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s);
return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01,
"*l*lwwb*b*b*blww",
pcic->vendor_id, pcic->device_id, pcic->revision,
pcic->subsystem_vendor_id,
pcic->subs... | CVE-2016-7157 | CWE-20 | https://git.qemu.org/?p=qemu.git;a=commit;h=65a8e1f6413a0f6f79894da710b5d6d43361d27d | Low | 4,300 |
59,712 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,712 | 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 CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_EVENT_ROUTER_BASE_H_
#define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_EVENT_ROUTER_BASE... | null | null | null | null | 56,575 |
45,115 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,115 | 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 ppb_websocket.idl modified Mon May 6 10:11:29 2013.
#include <stdint.h>
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_er... | null | null | null | null | 41,978 |
70,730 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,730 | 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 SANDBOX_LINUX_SYSCALL_BROKER_BROKER_CLIENT_H_
#define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_CLIENT_H_
#include <sys/stat.h>
#include <sys/types.h>
... | null | null | null | null | 67,593 |
17,243 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,243 | 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 COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_
#define COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_
#include <stdint.h>
#include "base/contain... | null | null | null | null | 14,106 |
66,460 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,460 | 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_SEARCH_IFRAME_SOURCE_H_
#define CHROME_BROWSER_SEARCH_IFRAME_SOURCE_H_
#include "base/macros.h"
#include "build/build_config.h"
#i... | null | null | null | null | 63,323 |
58,781 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,781 | 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/test_extension_environment.h"
#include <utility>
#include "base/command_line.h"
#include "base/json/json_writer.... | null | null | null | null | 55,644 |
5,414 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,414 | 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 IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_
#define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_
#includ... | null | null | null | null | 2,277 |
31,474 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,469 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/block/floppy.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1993, 1994 Alain Knaff
* Copyright (C) 1998 Alan Cox
*/
/*
* 02.12.91 - Changed to static variables to indicate need for reset
* and recalibrate. This makes some things easier (output_byte reset
* checking etc)... | null | null | null | null | 104,816 |
925 | 4 | train_val | be0726d33cb8f411945884664924bed3cb8c70ee | 165,920 | linux | 1 | https://github.com/torvalds/linux | 2016-02-22 11:56:38-05:00 | static void __exit exit_ext2_fs(void)
{
unregister_filesystem(&ext2_fs_type);
destroy_inodecache();
exit_ext2_xattr();
}
| CVE-2015-8952 | CWE-19 | https://github.com/torvalds/linux/commit/be0726d33cb8f411945884664924bed3cb8c70ee | Low | 3,814 |
55,101 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,101 | 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 CHROME_COMMON_PRERENDER_UTIL_H_
#define CHROME_COMMON_PRERENDER_UTIL_H_
#include <string>
#include "chrome/common/prerender_types.h"
class GURL... | null | null | null | null | 51,964 |
35,770 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,765 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Retu watchdog driver
*
* Copyright (C) 2004, 2005 Nokia Corporation
*
* Based on code written by Amit Kucheria and Michael Buesch.
* Rewritten by Aaro Koskinen.
*
* 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
*... | null | null | null | null | 109,112 |
25,208 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,208 | 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.
#ifndef EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_DATA_H_
#define EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_DATA_H_
#include <map>
#include <memory>
... | null | null | null | null | 22,071 |
13,869 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,864 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* sysctl.c: implementation of /proc/sys files relating to FRV specifically
*
* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* 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 | 87,211 |
1,122 | 33,34 | train_val | dfcb9f4f99f1e9a49e43398a7bfbf56927544af1 | 166,117 | linux | 1 | https://github.com/torvalds/linux | 2017-02-24 11:10:38-05:00 | static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
size_t msg_len)
{
struct sock *sk = asoc->base.sk;
int err = 0;
long current_timeo = *timeo_p;
DEFINE_WAIT(wait);
pr_debug("%s: asoc:%p, timeo:%ld, msg_len:%zu\n", __func__, asoc,
*timeo_p, msg_len);
/* Increment the association's refcnt. ... | CVE-2017-6353 | CWE-415 | https://github.com/torvalds/linux/commit/dfcb9f4f99f1e9a49e43398a7bfbf56927544af1 | Low | 4,011 |
68,572 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,572 | 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 <gtk/gtk.h>
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
#include "... | null | null | null | null | 65,435 |
43,914 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,914 | 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 "ppapi/tests/test_video_decoder_dev.h"
#include "ppapi/c/dev/ppb_video_decoder_dev.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_v... | null | null | null | null | 40,777 |
3,247 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,304 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Format register and lookup
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
*
* 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... | null | null | null | null | 72,359 |
27,897 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,892 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | null | null | null | null | 101,239 |
54,006 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,006 | 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.
// This file contains helper functions which provide information about the
// current version of Chrome. This includes channel information, version
// inf... | null | null | null | null | 50,869 |
275 | null | train_val | b09a65ece69306a70044ac99ca6928eda58d7c79 | 270,582 | tcpdump | 0 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-14 11:59:38-07:00 | /*
* 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) distributions including binary code include
* the above copyright notice and this para... | null | null | null | null | 124,190 |
55,455 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,455 | 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 CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_
#define CHROME_COMMON_SAFE_BROWSING_MACH_O_IMAGE_READER_MAC_H_
#include <mach-o/loader.h>
... | null | null | null | null | 52,318 |
1,344 | 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 | train_val | 7f0126ff011142c8619b10a6e64d04d1745c503a | 1,344 | Chrome | 1 | https://github.com/chromium/chromium | 2013-11-16 19:18:30+00:00 | void LinkChangeSerializerMarkupAccumulator::appendAttribute(StringBuilder& result, Element* element, const Attribute& attribute, Namespaces* namespaces)
{
if (m_replaceLinks && element->isURLAttribute(attribute) && !element->isJavaScriptURLAttribute(attribute)) {
String completeURL = m_document->completeURL... | CVE-2012-5157 | CWE-119 | https://github.com/chromium/chromium/commit/7f0126ff011142c8619b10a6e64d04d1745c503a | Medium | 1,344 |
16,431 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,431 | 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/sync/driver/sync_client.h"
namespace syncer {
SyncClient::SyncClient() {}
SyncClient::~SyncClient() {}
} // namespace syncer
| null | null | null | null | 13,294 |
11,961 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,961 | 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 COMPONENTS_RAPPOR_RAPPOR_PREFS_H_
#define COMPONENTS_RAPPOR_RAPPOR_PREFS_H_
#include <stdint.h>
#include <string>
class PrefService;
class Pre... | null | null | null | null | 8,824 |
7,151 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,151 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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 NET_QUIC_CORE_QUIC_TRANSMISSION_INFO_H_
#define NET_QUIC_CORE_QUIC_TRANSMISSION_INFO_H_
#include <list>
#include "net/quic/core/frames/quic_... | null | null | null | null | 4,014 |
44,220 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,215 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Broadcom Corporation
*
* 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 version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, wheth... | null | null | null | null | 117,562 |
248 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,816 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Target definitions of errnos. These may be overridden by an
* architecture specific header if needed.
*
* Taken from asm-generic/errno-base.h and asm-generic/errno.h
*/
#define TARGET_EPERM 1 /* Operation not permitted */
#define TARGET_ENOENT 2 /* No such file or directory */
#... | null | null | null | null | 120,940 |
12,212 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,212 | 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 COMPONENTS_DRIVE_SERVICE_DRIVE_SERVICE_INTERFACE_H_
#define COMPONENTS_DRIVE_SERVICE_DRIVE_SERVICE_INTERFACE_H_
#include <stdint.h>
#include... | null | null | null | null | 9,075 |
35,376 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,371 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for Xceive XC4000 "QAM/8VSB single chip tuner"
*
* Copyright (c) 2007 Xceive Corporation
* Copyright (c) 2007 Steven Toth <stoth@linuxtv.org>
* Copyright (c) 2009 Devin Heitmueller <dheitmueller@kernellabs.com>
* Copyright (c) 2009 Davide Ferri <d.ferri@zero11.it>
* Copyright (c) 2010 Istvan Va... | null | null | null | null | 108,718 |
26,592 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,592 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
american fuzzy lop - a trivial program to test the build
--------------------------------------------------------
Written and maintained by Michal Zalewski <lcamtuf@google.com>
Copyright 2014 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may... | null | null | null | null | 23,455 |
58,062 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,062 | 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 <memory>
#include <string>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/location.h"
#include "base/macros.h"
#i... | null | null | null | null | 54,925 |
5,146 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,141 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /************************************************************************
This file is part of Echo Digital Audio's generic driver library.
Copyright Echo Digital Audio Corporation (c) 1998 - 2005
All rights reserved
www.echoaudio.com
This library is free software; you can redistribute it and/or
modify it under the t... | null | null | null | null | 78,488 |
36,768 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,768 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 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 condit... | null | null | null | null | 33,631 |
10,532 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,527 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
*
* 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 option) any late... | null | null | null | null | 83,874 |
167 | 1,2 | train_val | b3ae5db129f88dae153880e84bdabea8ce2ca89b | 167 | Chrome | 1 | https://github.com/chromium/chromium | 2010-12-23 18:32:38+00:00 | KeyboardLibrary* CrosLibrary::GetKeyboardLibrary() {
return keyboard_lib_.GetDefaultImpl(use_stub_impl_);
}
| CVE-2011-1300 | CWE-189 | https://github.com/chromium/chromium/commit/b3ae5db129f88dae153880e84bdabea8ce2ca89b | Low | 167 |
33,949 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,944 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
Mantis VP-3028 driver
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
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 option) any later vers... | null | null | null | null | 107,291 |
35,057 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,052 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* rc-tivo.c - Keytable for TiVo remotes
*
* Copyright (c) 2011 by Jarod Wilson <jarod@redhat.com>
*
* 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
* ... | null | null | null | null | 108,399 |
15,080 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,075 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Just-In-Time compiler for BPF filters on MIPS
*
* Copyright (c) 2014 Imagination Technologies Ltd.
* Author: Markos Chandras <markos.chandras@imgtec.com>
*
* 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
* Fre... | null | null | null | null | 88,422 |
64,975 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,975 | 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 CHROME_BROWSER_UI_APP_LIST_SEARCH_CHROME_SEARCH_RESULT_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_CHROME_SEARCH_RESULT_H_
#include <memory>
#i... | null | null | null | null | 61,838 |
9,928 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,923 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/probes/kprobes/actions-arm.c
*
* Copyright (C) 2006, 2007 Motorola 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 in the ... | null | null | null | null | 83,270 |
3,964 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,959 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
*
* Copyright (C) 2011 Novell 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.
*/
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/cred.h>
#include <linux... | null | null | null | null | 77,306 |
15,141 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,141 | 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_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_
#include <map... | null | null | null | null | 12,004 |
24,504 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,504 | 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 "courgette/memory_allocator.h"
#include <stddef.h>
#include <stdint.h>
#include <map>
#include "base/files/file_util.h"
#include "base/str... | null | null | null | null | 21,367 |
5,365 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,365 | 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_DOWNLOAD_PASS_KIT_TAB_HELPER_DELEGATE_H_
#define IOS_CHROME_BROWSER_DOWNLOAD_PASS_KIT_TAB_HELPER_DELEGATE_H_
#import <Foundati... | null | null | null | null | 2,228 |
29,564 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,564 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2014 December 9
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*********************... | null | null | null | null | 26,427 |
2,401 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,969 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* virtio ccw target definitions
*
* Copyright 2012,2015 IBM Corp.
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
* Pierre Morel <pmorel@linux.vnet.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or (at
* your option) any later version. See the COPYING file in th... | null | null | null | null | 123,093 |
29,662 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,662 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2004 May 22
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... | null | null | null | null | 26,525 |
16,301 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,296 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* 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.
*
* Copyright (C) 2010 John Crispin <john@phrozen.org>
*/
#ifndef __LANTIQ_IRQ_H
#define __LANTIQ_IRQ_H
#include <lantiq_... | null | null | null | null | 89,643 |
29,675 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,670 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* message.c - synchronous message handling
*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/
#include <linux/pci.h> /* for scatterlist macros */
#include <linux/usb.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/ctype.h... | null | null | null | null | 103,017 |
29,433 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,433 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2014 May 31
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... | null | null | null | null | 26,296 |
4,611 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,606 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/fs/hfsplus/extents.c
*
* Copyright (C) 2001
* Brad Boyer (flar@allandria.com)
* (C) 2003 Ardis Technologies <roman@ardistech.com>
*
* Handling of Extents both in catalog and extents overflow trees
*/
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include "hfsplus_fs.h"
... | null | null | null | null | 77,953 |
14,012 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,007 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Port on Texas Instruments TMS320C6x architecture
*
* Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated
* Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | null | null | null | null | 87,354 |
4,327 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,327 | 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_DELEGATE_H_
#define IOS_CHROME_BROWSER_SSL_CAPTIVE_PORTAL_DETECTOR_TAB_HELPER_DELEGATE_H... | null | null | null | null | 1,190 |
25,140 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,140 | 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 EXTENSIONS_COMMON_USER_SCRIPT_H_
#define EXTENSIONS_COMMON_USER_SCRIPT_H_
#include <string>
#include <vector>
#include "base/files/file_path.h"
... | null | null | null | null | 22,003 |
25,028 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,023 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2016 Red Hat 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, merge, publish, d... | null | null | null | null | 98,370 |
15,717 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,717 | 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 "components/component_updater/crl_set_remover.h"
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/task_scheduler/post_tas... | null | null | null | null | 12,580 |
65,686 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,686 | 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/ui/passwords/manage_passwords_bubble_model.h"
#include <stddef.h>
#include <algorithm>
#include <limits>
#include <string>
#inc... | null | null | null | null | 62,549 |
902 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,289 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 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/license.h... | null | null | null | null | 118,734 |
39,181 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,176 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* lib/bitmap.c
* Helper functions for bitmap.h.
*
* This source code is licensed under the GNU General Public License,
* Version 2. See the file COPYING for more details.
*/
#include <linux/export.h>
#include <linux/thread_info.h>
#include <linux/ctype.h>
#include <linux/errno.h>
#include <linux/bitmap.h>
#in... | null | null | null | null | 112,523 |
7,900 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,895 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Driver for Intel Xeon Phi "Knights Corner" PMU */
#include <linux/perf_event.h>
#include <linux/types.h>
#include <asm/hardirq.h>
#include "../perf_event.h"
static const u64 knc_perfmon_event_map[] =
{
[PERF_COUNT_HW_CPU_CYCLES] = 0x002a,
[PERF_COUNT_HW_INSTRUCTIONS] = 0x0016,
[PERF_COUNT_HW_CACHE_REFERE... | null | null | null | null | 81,242 |
1,173 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,230 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* H.26L/H.264/AVC/JVT/14496-10/... decoder
* 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 Foundati... | null | null | null | null | 70,285 |
19,310 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,310 | 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 "components/zucchini/element_detection.h"
#include <vector>
#include "base/bind.h"
#include "components/zucchini/buffer_view.h"
#include "testi... | null | null | null | null | 16,173 |
1,597 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,552 | 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,473 |
32,775 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,770 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Analog devices AD5380, AD5381, AD5382, AD5383, AD5390, AD5391, AD5392
* multi-channel Digital to Analog Converters driver
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/device.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux... | null | null | null | null | 106,117 |
1,037 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,605 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rd, rt, result;
rt = 0x123456789ABCDEF0;
result = 0x1A003C005D007000;
__asm
("precequ.qh.obra %0, %1\n\t"
: "=r"(rd)
: "r"(rt)
);
if (result != rd) {
printf("precequ.qh.obra error\n");
return -1;
}
... | null | null | null | null | 121,729 |
56,968 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,968 | 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 CHROME_BROWSER_CHROMEOS_PRINTING_CUPS_PRINT_JOB_MANAGER_FACTORY_H_
#define CHROME_BROWSER_CHROMEOS_PRINTING_CUPS_PRINT_JOB_MANAGER_FACTORY_H_
#in... | null | null | null | null | 53,831 |
11,582 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,577 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2000, 2002-2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*
* Kernel unwind support.
*/
#define UNW_VER(x) ((x) >> 48)
#define UNW_FLAG_MASK 0x0000ffff00000000
#define UNW_FLAG_OSMASK 0x0000f00000000000
#define UNW_FLAG_EHANDLER(x) ((x) & 0x0000000100000000L)
#define UNW_... | null | null | null | null | 84,924 |
3,730 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,725 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2003 Erez Zadok
* Copyright (C) 2001-2003 Stony Brook University
* Copyright (C) 2004-2006 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
* Michael C. Thompson <mcthomps@us.ibm.com... | null | null | null | null | 77,072 |
60,775 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,775 | 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_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_
#define CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_
#include <memory>
#include "base... | null | null | null | null | 57,638 |
6,007 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,002 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the PCM512x CODECs
*
* Author: Mark Brown <broonie@linaro.org>
* Copyright 2014 Linaro 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.
*
* This program... | null | null | null | null | 79,349 |
43,203 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,198 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _UAPI__A_OUT_GNU_H__
#define _UAPI__A_OUT_GNU_H__
#define __GNU_EXEC_MACROS__
#ifndef __STRUCT_EXEC_OVERRIDE__
#include <asm/a.out.h>
#endif /* __STRUCT_EXEC_OVERRIDE__ */
#ifndef __ASSEMBLY__
/* these go in the N_MACHTYPE field */
enum machine_type {
#if defined (M_OLDSUN2)
M__OLDSUN2 = M_OLDSUN2,
#els... | null | null | null | null | 116,545 |
61,782 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,782 | 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/devtools/devtools_window_testing.h"
#include "base/lazy_instance.h"
#include "base/strings/utf_string_conversions.h"
#include "c... | null | null | null | null | 58,645 |
69,610 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,610 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 1982, 1986, 1990, 1993
* The Regents of the University of California. 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... | null | null | null | null | 66,473 |
1,309 | 1,2 | train_val | 401d30ef93030afbf7e81e53a11b68fc36194502 | 1,309 | Chrome | 1 | https://github.com/chromium/chromium | 2013-10-17 04:58:13+00:00 | SecurityContext::SecurityContext()
: m_mayDisplaySeamlesslyWithParent(false)
, m_haveInitializedSecurityOrigin(false)
, m_sandboxFlags(SandboxNone)
{
}
| CVE-2012-5136 | CWE-20 | https://github.com/chromium/chromium/commit/401d30ef93030afbf7e81e53a11b68fc36194502 | Medium | 1,309 |
22,105 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,100 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2012 Qualcomm Atheros, 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 appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | null | null | null | null | 95,447 |
40,071 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,066 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* osd_initiator.h - OSD initiator API definition
*
* Copyright (C) 2008 Panasas Inc. All rights reserved.
*
* Authors:
* Boaz Harrosh <ooo@electrozaur.com>
* Benny Halevy <bhalevy@panasas.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | null | null | null | null | 113,413 |
33,432 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,432 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 2013, Opera Software ASA. 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 | 30,295 |
40,746 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,746 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,609 |
10,148 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,148 | 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 CHROMECAST_BROWSER_APPLICATION_MEDIA_CAPABILITIES_H_
#define CHROMECAST_BROWSER_APPLICATION_MEDIA_CAPABILITIES_H_
#include "base/macros.h"
#inclu... | null | null | null | null | 7,011 |
58,556 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,556 | 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/extensions/install_verifier.h"
#include "base/macros.h"
#include "base/values.h"
#include "chrome/browser/extensions/extension_m... | null | null | null | null | 55,419 |
10,537 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,532 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2010 Pengutronix, Wolfram Sang <kernel@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 <linux/platform_data/mmc-esdhc-imx.h>
#i... | null | null | null | null | 83,879 |
1,735 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,792 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (C) 2007 Vitor Sessak <vitor1001@gmail.com>
*
* 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... | null | null | null | null | 70,847 |
18,991 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,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 "components/services/heap_profiling/json_exporter.h"
#include <sstream>
#include "base/gtest_prod_util.h"
#include "base/json/json_reader.h"
#i... | null | null | null | null | 15,854 |
8,618 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,618 | 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 NET_BASE_TRACE_CONSTANTS_H_
#define NET_BASE_TRACE_CONSTANTS_H_
namespace net {
// Net Category used in Tracing.
extern const char kNetTracingCa... | null | null | null | null | 5,481 |
2,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2008, 2009 open80211s Ltd.
* Authors: Luis Carlos Cobo <luisca@cozybit.com>
* Javier Cardona <javier@cozybit.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 Soft... | null | null | null | null | 76,169 |
61,054 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,054 | 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 CHROME_BROWSER_ANDROID_PHYSICAL_WEB_EDDYSTONE_ENCODER_BRIDGE_H_
#define CHROME_BROWSER_ANDROID_PHYSICAL_WEB_EDDYSTONE_ENCODER_BRIDGE_H_
#include ... | null | null | null | null | 57,917 |
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.