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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49,166 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,166 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GFX_FONT_FALLBACK_H_
#define UI_GFX_FONT_FALLBACK_H_
#include <vector>
#include "base/strings/string16.h"
#include "build/build_config.h"
#in... | null | null | null | null | 46,029 |
50,849 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,849 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/compositor/test/test_compositor_host.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/threa... | null | null | null | null | 47,712 |
5,012 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,007 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
AudioScience HPI driver
Copyright (C) 1997-2014 AudioScience Inc. <support@audioscience.com>
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;
This program i... | null | null | null | null | 78,354 |
55,402 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,402 | 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/common/media_router/mojo/media_router_struct_traits.h"
#include "chrome/common/media_router/media_source.h"
#include "net/interfaces/ip_... | null | null | null | null | 52,265 |
35,966 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,966 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_CSS_INTERPOLATION_TYPES_MAP_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_CSS_INTERPOLATION_TYPES... | null | null | null | null | 32,829 |
59,872 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,872 | 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/printing/cloud_print/privet_confirm_api_flow.h"
#include <memory>
#include <set>
#include "base/json/json_reader.h"
#include "b... | null | null | null | null | 56,735 |
9,446 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,441 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TI DaVinci CPUFreq platform support.
*
* Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.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 version 2.
*
* This program ... | null | null | null | null | 82,788 |
3,124 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,181 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* LRC lyrics file format decoder
* Copyright (c) 2014 StarBrilliant <m13253@hotmail.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
* ... | null | null | null | null | 72,236 |
470 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,527 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
* Copyright (c) 2014 Arwa Arif <arwaarif1994@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 General Public License as published by
* the Free Software Fo... | null | null | null | null | 69,582 |
22,714 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,709 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* nicstar.h
*
* Header file for the nicstar device driver.
*
* Author: Rui Prior (rprior@inescn.pt)
* PowerPC support by Jay Talbott (jay_talbott@mcg.mot.com) April 1999
*
* (C) INESC 1998
*/
#ifndef _LINUX_NICSTAR_H_
#define _LINUX_NICSTAR_H_
/* Includes */
#include <linux/types.h>
#include <linux/pci.h... | null | null | null | null | 96,056 |
494 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,551 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2016 Clément Bœsch <u pkh me>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | null | null | null | null | 69,606 |
37,045 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,045 | 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_WEBKIT_SOURCE_PLATFORM_SCHEDULER_UTIL_TRACING_HELPER_H_
#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_UTIL_TRACING_HELPER_H_
#... | null | null | null | null | 33,908 |
8,288 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,288 | 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_TEST_URL_REQUEST_URL_REQUEST_HANGING_READ_JOB_H_
#define NET_TEST_URL_REQUEST_URL_REQUEST_HANGING_READ_JOB_H_
#include "base/macros.h"
#inclu... | null | null | null | null | 5,151 |
20,232 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,227 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
/*
Sun3 Lance ethernet driver, by Sam Creasey (sammy@users.qual.net).
This driver is a part of the linux kernel, and is thus distributed
under the GNU General Public License.
The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
true for th... | null | null | null | null | 93,574 |
32,091 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,091 | 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/clip_path.h"
#include "third_party/blink/renderer/core/css/basic_shape_functions.h"
#i... | null | null | null | null | 28,954 |
818 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,386 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include<stdio.h>
#include<assert.h>
int main()
{
int rd, rs, rt, dsp;
int result, resultdsp;
rs = 0x03;
rt = 0x87654321;
result = 0x38281808;
resultdsp = 0x01;
__asm
("shllv.qb %0, %2, %3\n\t"
"rddsp %1\n\t"
: "=r"(rd), "=r"(dsp)
: "r"(rt), "r... | null | null | null | null | 121,510 |
42,298 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,298 | 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 "base/lazy_instance_helpers.h"
#include "base/at_exit.h"
#include "base/atomicops.h"
#include "base/threading/platform_thread.h"
namespace base... | null | null | null | null | 39,161 |
1,890 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,947 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* MPEG-4 / H.263 HW decode acceleration through VA API
*
* Copyright (C) 2008-2009 Splitted-Desktop Systems
*
* 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 Fo... | null | null | null | null | 71,002 |
10,385 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,385 | 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 "headless/lib/browser/headless_window_tree_host.h"
#include "base/containers/flat_set.h"
#include "components/viz/common/surfaces/frame_sink_id.... | null | null | null | null | 7,248 |
9,140 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,140 | 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.
// Portions of this code based on Mozilla:
// (netwerk/cookie/src/nsCookieService.cpp)
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.... | null | null | null | null | 6,003 |
33,224 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,224 | 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/core/dom/mutation_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/co... | null | null | null | null | 30,087 |
7,628 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,623 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Architecture specific debugfs files
*
* Copyright (C) 2007, Intel Corp.
* Huang Ying <ying.huang@intel.com>
*
* This file is released under the GPLv2.
*/
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/stat.h>
#i... | null | null | null | null | 80,970 |
64,574 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,574 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_
#define CHROME_BROWSER_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_
#import <Cocoa/Cocoa.h>
#inc... | null | null | null | null | 61,437 |
27,494 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,489 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _RTL819XU_HTTYPE_H_
#define _RTL819XU_HTTYPE_H_
//------------------------------------------------------------
// The HT Capability element is present in beacons, association request,
// reassociation request and probe response frames
//------------------------------------------------------------
//
// Operat... | null | null | null | null | 100,836 |
7,103 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,098 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2008-2009 PetaLogix
* Copyright (C) 2007 John Williams
*
* Reasonably optimised generic C-code for memset on Microblaze
* This is generic C code to do efficient, alignment-aware memcpy.
*
* It is based on demo code originally Copyright... | null | null | null | null | 80,445 |
29,085 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,080 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Hardware monitoring driver for Maxim MAX34440/MAX34441
*
* Copyright (c) 2011 Ericsson AB.
* Copyright (c) 2012 Guenter Roeck
*
* 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; eithe... | null | null | null | null | 102,427 |
24,790 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,790 | 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 "extensions/renderer/content_watcher.h"
#include <stddef.h>
#include <set>
#include "content/public/renderer/render_frame.h"
#include "content... | null | null | null | null | 21,653 |
44,113 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,108 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* kbdif.h -- Xen virtual keyboard/mouse
*
* 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, ... | null | null | null | null | 117,455 |
26,055 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,050 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014 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,397 |
10,438 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,433 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2011 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-lic... | null | null | null | null | 83,780 |
5,245 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,240 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Routines for the GF1 MIDI interface - like UART 6850
*
*
* 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 | 78,587 |
68,354 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,354 | 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 REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
#define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
#include <cstdint>
#include <map>
#include <memory>... | null | null | null | null | 65,217 |
34,125 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,125 | 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 NGInlineItemResult_h
#define NGInlineItemResult_h
#include "third_party/blink/renderer/core/layout/ng/geometry/ng_box_strut.h"
#include "third_pa... | null | null | null | null | 30,988 |
32,011 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,011 | 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/backface_visibility.h"
namespace blink {
namespace CSSLonghand {
const CSSValue* Back... | null | null | null | null | 28,874 |
32,352 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,352 | 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/script/module_map.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform... | null | null | null | null | 29,215 |
451 | 2,3,5,9,10,11,12,13,16,17,18,19,20 | train_val | 6062a8dc0517bce23e3c2f7d2fea5e22411269a3 | 165,446 | linux | 1 | https://github.com/torvalds/linux | 2013-05-01 08:12:58-07:00 | void* ipc_rcu_alloc(int size)
{
void* out;
/*
* We prepend the allocation with the rcu struct, and
* workqueue if necessary (for vmalloc).
*/
if (rcu_use_vmalloc(size)) {
out = vmalloc(HDRLEN_VMALLOC + size);
if (out) {
out += HDRLEN_VMALLOC;
container_of(out, struct ipc_rcu_hdr, data)->is_vmalloc = 1;
... | CVE-2013-4483 | CWE-189 | https://github.com/torvalds/linux/commit/6062a8dc0517bce23e3c2f7d2fea5e22411269a3 | Low | 3,340 |
717 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,672 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | null | null | null | null | 119,593 |
23,558 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,558 | 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/android/android_overlay_provider_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class ... | null | null | null | null | 20,421 |
38,188 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,183 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* hugepage-shm:
*
* Example of using huge page memory in a user application using Sys V shared
* memory system calls. In this example the app is requesting 256MB of
* memory that is backed by huge pages. The application uses the flag
* SHM_HUGETLB in the shmget system call to inform the kernel that it is
* ... | null | null | null | null | 111,530 |
35,309 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,304 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview
* I2C address is allways 0xC0.
*
*
* Copyright (c) 2005 Mauro Carvalho Chehab (mchehab@infradead.org)
* This code is placed under the terms of the GNU General Public License
*
* tea5767 autodetection thanks to Torsten Seeboth and Atsu... | null | null | null | null | 108,651 |
64,954 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,954 | 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_CROSTINI_CROSTINI_INSTALLER_VIEW_H_
#define CHROME_BROWSER_UI_APP_LIST_CROSTINI_CROSTINI_INSTALLER_VIEW_H_
#include "b... | null | null | null | null | 61,817 |
26,943 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,943 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2005, 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 condi... | null | null | null | null | 23,806 |
19,296 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,296 | 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/crc32.h"
#include <array>
#include "base/logging.h"
namespace zucchini {
namespace {
std::array<uint32_t, 256> MakeCrc3... | null | null | null | null | 16,159 |
1,597 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,441 | 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) 2011 by the Massachusetts Institute of Technology.
* 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 responsibil... | null | null | null | null | 74,749 |
41,344 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,344 | 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 TOOLS_GN_CONFIG_VALUES_H_
#define TOOLS_GN_CONFIG_VALUES_H_
#include <string>
#include <vector>
#include "base/macros.h"
#include "tools/gn/... | null | null | null | null | 38,207 |
29,069 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,069 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* xmlreader.c: implements the xmlTextReader streaming node API
*
* NOTE:
* XmlTextReader.Normalization Property won't be supported, since
* it makes the parser non compliant to the XML recommendation
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
*/
/*
* TODOs:
* - XM... | null | null | null | null | 25,932 |
25,784 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,784 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_API_POWER_POWER_API_H_
#define EXTENSIONS_BROWSER_API_POWER_POWER_API_H_
#include <map>
#include <memory>
#include <string>
#... | null | null | null | null | 22,647 |
15 | 15 | train_val | 9f64916da20eea67121d544698676295bbb105a7 | 262,583 | qemu | 1 | https://github.com/bonzini/qemu | 2012-11-01 14:00:04+01:00 | tight_detect_smooth_image24(VncState *vs, int w, int h)
{
int off;
int x, y, d, dx;
unsigned int c;
unsigned int stats[256];
int pixels = 0;
int pix, left[3];
unsigned int errors;
unsigned char *buf = vs->tight.tight.buffer;
/*
* If client is big-endian, color samples begin from the second
* byte (offset 1) of a 32-bi... | CVE-2017-2633 | CWE-125 | https://git.qemu.org/?p=qemu.git;a=commitdiff;h=9f64916da20eea67121d544698676295bbb105a7 | Low | 4,256 |
2,670 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,665 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Linux WiMAX
* Internal API for kernel space WiMAX stack
*
*
* Copyright (C) 2007 Intel Corporation <linux-wimax@intel.com>
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.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 | 76,013 |
11,027 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,022 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef ___ASM_SPARC_DMA_MAPPING_H
#define ___ASM_SPARC_DMA_MAPPING_H
#include <linux/scatterlist.h>
#include <linux/mm.h>
#include <linux/dma-debug.h>
#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
#define HAVE_ARCH_DMA_SUPPORTED 1
int dma_supported(struct device *dev, u64 mask);
static inline void dma_cache_sync(struc... | null | null | null | null | 84,369 |
532 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,660 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | //
// Replace transparency in an image with a solid color using Magick++
//
// Useful to see how a transparent image looks on a particular
// background color, or to create a similar looking effect without
// transparency.
//
// Copyright Bob Friesenhahn, 2000
//
// Usage: detrans color file...
//
#include <Magick++.h... | null | null | null | null | 72,953 |
24,927 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,922 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2012 Maarten Lankhorst
*
* 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, publi... | null | null | null | null | 98,269 |
57,889 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,889 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/lock_screen_apps/app_window_metrics_tracker.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/tick_cloc... | null | null | null | null | 54,752 |
21,746 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,746 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
#define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
#include <stdint.h>
#include <memory... | null | null | null | null | 18,609 |
14,816 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,816 | 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_EXO_WAYLAND_CLIENTS_BLUR_H_
#define COMPONENTS_EXO_WAYLAND_CLIENTS_BLUR_H_
#include "components/exo/wayland/clients/client_base.h"
cl... | null | null | null | null | 11,679 |
33,257 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,252 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cryptographic API.
*
* Support for VIA PadLock hardware crypto engine.
*
* Copyright (c) 2006 Michal Ludvig <michal@logix.cz>
*
* 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; eit... | null | null | null | null | 106,599 |
6,773 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,768 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* S390 version
* Copyright IBM Corp. 1999, 2000
* Author(s): Hartmut Penner (hp@de.ibm.com),
* Martin Schwidefsky (schwidefsky@de.ibm.com)
*
* Derived from "include/asm-i386/uaccess.h"
*/
#ifndef __S390_UACCESS_H
#define __S390_UACCESS_H
/*
* User space memory access functions
*/
#inc... | null | null | null | null | 80,115 |
2,933 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,928 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Copyright (C) 2007-2017 B.A.T.M.A.N. contributors:
*
* Marek Lindner, Simon Wunderlich
*
* 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.
*
* This program is distributed ... | null | null | null | null | 76,276 |
2,837 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,894 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | null | null | null | null | 71,949 |
69,691 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,691 | 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_ELF_CHROME_ELF_SECURITY_H_
#define CHROME_ELF_CHROME_ELF_SECURITY_H_
namespace elf_security {
// Setup any early browser-process security... | null | null | null | null | 66,554 |
1,628 | 2,3 | train_val | db93178bcaaf7e99ebb18bd51fa99b2feaf47e1f | 1,628 | Chrome | 1 | https://github.com/chromium/chromium | 2015-06-05 12:03:21+00:00 | void ExtensionUninstaller::Run() {
const extensions::Extension* extension =
extensions::ExtensionSystem::Get(profile_)->extension_service()->
GetInstalledExtension(app_id_);
if (!extension) {
CleanUp();
return;
}
controller_->OnShowChildDialog();
dialog_.reset(extensions::ExtensionUninstallDialog::Creat... | CVE-2013-6644 | null | https://github.com/chromium/chromium/commit/db93178bcaaf7e99ebb18bd51fa99b2feaf47e1f | Low | 1,628 |
41,631 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,631 | 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.
#include "missing_ctor_ignored_base.h"
int main() {
MissingCtorsWithIgnoredBase one;
MissingCtorsWithIgnoredGrandBase two;
return 0;
}
| null | null | null | null | 38,494 |
3,482 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,482 | 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 "ios/web/net/cert_host_pair.h"
#include "net/test/cert_test_util.h"
#include "net/test/test_data_directory.h"
#include "testing/platform_test.h"... | null | null | null | null | 345 |
61,778 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,778 | 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/themes/theme_properties.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
typedef testing::Test ThemePropertie... | null | null | null | null | 58,641 |
35,473 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,468 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* MFD core driver for the Maxim MAX77843
*
* Copyright (C) 2015 Samsung Electronics
* Author: Jaewon Kim <jaewon02.kim@samsung.com>
* Author: Beomho Seo <beomho.seo@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as ... | null | null | null | null | 108,815 |
45,981 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,981 | 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 "ash/public/cpp/shell_window_ids.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ash/wm/test_activation_delegate.h"
#... | null | null | null | null | 42,844 |
40,012 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,012 | 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_MODULES_MEDIA_CONTROLS_MEDIA_DOWNLOAD_IN_PRODUCT_HELP_MANAGER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONTR... | null | null | null | null | 36,875 |
64,881 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,881 | 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_UI_APP_LIST_APP_LIST_MODEL_UPDATER_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_MODEL_UPDATER_H_
#include <memory>
#include <str... | null | null | null | null | 61,744 |
36,558 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,558 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 2012, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | null | null | null | null | 33,421 |
16,875 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,875 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_SHADER_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_SHADER_H_
#include <string>
#include "base/logging.h"
#include "... | null | null | null | null | 13,738 |
51,139 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,139 | 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 UI_EVENTS_IDLE_FRACTION_RECORDER_H_
#define UI_EVENTS_IDLE_FRACTION_RECORDER_H_
#include "base/time/time.h"
#include "ui/events/events_base_expor... | null | null | null | null | 48,002 |
42,514 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,509 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* drivers/net/bond/bond_options.h - bonding options
* Copyright (c) 2013 Nikolay Aleksandrov <nikolay@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 t... | null | null | null | null | 115,856 |
15,821 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,821 | 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 COMPONENTS_SYNC_SYNCABLE_SYNCABLE_DELETE_JOURNAL_H_
#define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_DELETE_JOURNAL_H_
#include <stddef.h>
#include <ma... | null | null | null | null | 12,684 |
39,054 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,054 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Samsung Electronics. 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... | null | null | null | null | 35,917 |
22,549 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,544 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* SN Platform system controller communication support
*
* 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) 2004-2006 Silicon Graphics, Inc. All rights reserved.
*/
/*
* S... | null | null | null | null | 95,891 |
10,665 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,660 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IRQ helper macros for spear machine family
*
* Copyright (C) 2009-2012 ST Microelectronics
* Rajeev Kumar <rajeev-dlh.kumar@st.com>
* Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* wa... | null | null | null | null | 84,007 |
3,690 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,685 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* befs.h
*
* Copyright (C) 2001-2002 Will Dyson <will_dyson@pobox.com>
* Copyright (C) 1999 Makoto Kato (m_kato@ga2.so-net.ne.jp)
*/
#ifndef _LINUX_BEFS_H
#define _LINUX_BEFS_H
#include "befs_fs_types.h"
/* used in debug.c */
#define BEFS_VERSION "0.9.3"
typedef u64 befs_blocknr_t;
/*
* BeFS in memory str... | null | null | null | null | 77,032 |
7,475 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,475 | 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.
#include "net/quic/platform/api/quic_str_cat.h"
#include "net/quic/platform/api/quic_string.h"
#include "net/quic/platform/api/quic_string_piece.h"
#... | null | null | null | null | 4,338 |
870 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,714 | 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 2000, 2007-2010 by the Massachusetts Institute of Technology.
* 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 resp... | null | null | null | null | 74,022 |
33,172 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,172 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_IMAGEBITMAP_IMAGE_BITMAP_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_IMAGEBITMAP_IMAGE_BITMAP_H_
#include <memory>... | null | null | null | null | 30,035 |
10,818 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,818 | 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 MOJO_EDK_SYSTEM_BROKER_MESSAGES_H_
#define MOJO_EDK_SYSTEM_BROKER_MESSAGES_H_
#include "mojo/edk/system/channel.h"
namespace mojo {
namespace ed... | null | null | null | null | 7,681 |
41,220 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,215 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Mediated device definition
*
* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
* Author: Neo Jia <cjia@nvidia.com>
* Kirti Wankhede <kwankhede@nvidia.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 | 114,562 |
18,942 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,942 | 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/services/filesystem/util.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <time.h>
#include <limits>
#includ... | null | null | null | null | 15,805 |
30,404 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,399 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Register map access API - SPMI support
*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Based on regmap-i2c.c:
* Copyright 2011 Wolfson Microelectronics plc
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/... | null | null | null | null | 103,746 |
40,594 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,594 | 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,457 |
26,977 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,977 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2003, 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 condi... | null | null | null | null | 23,840 |
19,580 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,580 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing/db/database_manager.h"
#include <stddef.h>
#include <set>
#include <string>
#include <vector>
#include "base/base64.... | null | null | null | null | 16,443 |
1,230 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,074 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in file LICENSE in the
* top-level directory... | null | null | null | null | 74,382 |
19,391 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,391 | 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/variations/hashing.h"
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "testing/gtest/include/gtest/gt... | null | null | null | null | 16,254 |
38,788 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,788 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_PERMISSIONS_PERMISSIONS_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_PERMISSIONS_PERMISSIONS_H_
#include "thi... | null | null | null | null | 35,651 |
28,416 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,411 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Original code based Host AP (software wireless LAN access point) driver
* for Intersil Prism2/2.5/3 - hostap.o module, common routines
*
* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
* <jkmaline@cc.hut.fi>
* Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
* Copyri... | null | null | null | null | 101,758 |
55,825 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,825 | 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/resources_util.h"
#include <stddef.h>
#include <utility>
#include "base/containers/flat_map.h"
#include "base/lazy_instanc... | null | null | null | null | 52,688 |
34,402 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,397 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* linux/drivers/media/platform/s5p-jpeg/jpeg-regs.h
*
* Register definition file for Samsung JPEG codec driver
*
* Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
* Author: Jacek Anaszewski <j.anaszewski@samsung.com>
*
... | null | null | null | null | 107,744 |
16,547 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,547 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/invalidation/impl/invalidator_registrar.h"
#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include ... | null | null | null | null | 13,410 |
2,467 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,524 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2002 Brian Foley
* Copyright (c) 2002 Dieter Shirley
* Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org>
*
* 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 ... | null | null | null | null | 71,579 |
2,498 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,493 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Kernel module to match ROUTING parameters. */
/* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu>
*
* 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.
*/
#define pr_fmt(fmt) KBU... | null | null | null | null | 75,841 |
13,346 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,346 | 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.
//
// This code glues the RLZ library DLL with Chrome. It allows Chrome to work
// with or without the DLL being present. If the DLL is not present the... | null | null | null | null | 10,209 |
49,859 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,859 | 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 UI_AURA_MUS_WINDOW_MUS_H_
#define UI_AURA_MUS_WINDOW_MUS_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "services/ui/publi... | null | null | null | null | 46,722 |
53,266 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,266 | 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/filters/audio_file_reader.h"
#include <memory>
#include "base/logging.h"
#include "base/macros.h"
#include "base/md5.h"
#include "bu... | null | null | null | null | 50,129 |
26,413 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,408 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Free Electrons
* Copyright (C) 2015 NextThing Co
*
* Maxime Ripard <maxime.ripard@free-electrons.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 ver... | null | null | null | null | 99,755 |
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.