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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
423 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,480 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2016 Ronald S. Bultje <rsbultje@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 ... | null | null | null | null | 69,535 |
12,766 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,766 | 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/update_client/protocol_parser.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include "base/stl_util.h"
#include "b... | null | null | null | null | 9,629 |
29,450 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,445 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Regulator driver for National Semiconductors LP3971 PMIC chip
*
* Copyright (C) 2009 Samsung Electronics
* Author: Marek Szyprowski <m.szyprowski@samsung.com>
*
* Based on wm8350.c
*
* 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 | 102,792 |
48,597 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,597 | 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_VIEWS_MUS_MUS_PROPERTY_MIRROR_H_
#define UI_VIEWS_MUS_MUS_PROPERTY_MIRROR_H_
#include "ui/views/mus/mus_export.h"
namespace aura {
class Wind... | null | null | null | null | 45,460 |
1,448 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,016 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU Guest Agent common/cross-platform command implementations
*
* Copyright IBM Corp. 2012
*
* Authors:
* Michael Roth <mdroth@linux.vnet.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osd... | null | null | null | null | 122,140 |
61,895 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,895 | 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/supervised_user/supervised_user_whitelist_service.h"
#include <stddef.h>
#include <string>
#include <utility>
#include "base/c... | null | null | null | null | 58,758 |
27,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,779 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | null | null | null | null | 24,642 |
47,079 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,079 | 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 "cc/raster/texture_compressor_etc1_sse.h"
#include <emmintrin.h>
#include <stdint.h>
#include "base/compiler_specific.h"
#include "base/logging... | null | null | null | null | 43,942 |
38,841 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,841 | 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 condition... | null | null | null | null | 35,704 |
11,448 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,443 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* syscalls.h - Linux syscall interfaces (arch-specific)
*
* Copyright (c) 2008 Jaswinder Singh Rajput
* Copyright 2010 Tilera Corporation. 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 ... | null | null | null | null | 84,790 |
28,324 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,319 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* spk_priv.h
* review functions for the speakup screen review package.
* originally written by: Kirk Reiser and Andy Berdan.
*
* extensively modified by David Borowski.
*
* Copyright (C) 1998 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
* This program is free software; you can redistribute it and/or ... | null | null | null | null | 101,666 |
27,157 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,157 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (C) 2007-2009 Xiph.Org Foundation
Copyright (C) 2003-2008 Jean-Marc Valin
Copyright (C) 2007-2008 CSIRO */
/**
@file fixed_generic.h
@brief Generic fixed-point operations
*/
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... | null | null | null | null | 24,020 |
38,647 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,642 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef LINUX_SLAB_H
#define GFP_KERNEL 0
#define GFP_ATOMIC 0
#define __GFP_NOWARN 0
#define __GFP_ZERO 0
#endif
| null | null | null | null | 111,989 |
27,042 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,037 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 |
#ifndef _BCACHE_UTIL_H
#define _BCACHE_UTIL_H
#include <linux/blkdev.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sched/clock.h>
#include <linux/llist.h>
#include <linux/ratelimit.h>
#include <linux/vmalloc.h>
#include <linux/workqueue.h>
#include "closure.h"
#define PAGE_SECTORS (PAGE_SIZ... | null | null | null | null | 100,384 |
36,469 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,464 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Roccat Kone driver for Linux
*
* Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net>
*/
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the Lic... | null | null | null | null | 109,811 |
2,285 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,853 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Copyright (c) 2006-2008 Openedhand Ltd.
* Written by Andrzej Zaborowski <balrog@zabor.org>
*
* 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 or
* (at your option) ve... | null | null | null | null | 122,977 |
39,629 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,624 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic entry point for the idle threads
*/
#include <linux/sched.h>
#include <linux/sched/idle.h>
#include <linux/cpu.h>
#include <linux/cpuidle.h>
#include <linux/cpuhotplug.h>
#include <linux/tick.h>
#include <linux/mm.h>
#include <linux/stackprotector.h>
#include <linux/suspend.h>
#include <asm/tlb.h>
#inc... | null | null | null | null | 112,971 |
57,536 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,536 | 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/chromeos/input_method/input_method_engine.h"
#include <map>
#include <memory>
#include <utility>
#include "ash/shell.h"
#includ... | null | null | null | null | 54,399 |
5,369 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,364 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* MIDI byte <-> sequencer event coder
*
* Copyright (C) 1998,99 Takashi Iwai <tiwai@suse.de>,
* Jaroslav Kysela <perex@perex.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... | null | null | null | null | 78,711 |
16,710 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,705 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* KFR2R09 board support code
*
* Copyright (C) 2009 Magnus Damm
*
* 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.
*/
#include <linux/init.h>
#include <linux/platform_device.h>
#include <l... | null | null | null | null | 90,052 |
1,045 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,613 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rs, rt, dspreg, dspresult;
rs = 0x123456789ABCDEFF;
rt = 0x123456789ABCDEFF;
dspresult = 0x03;
__asm
("cmp.eq.pw %1, %2\n\t"
"rddsp %0\n\t"
: "=r"(dspreg)
: "r"(rs), "r"(rt)
);
dspreg = ((dspreg >> 24) & 0x03);
if (dspreg != ... | null | null | null | null | 121,737 |
7,803 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,798 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* cppc_msr.c: MSR Interface for CPPC
* Copyright (c) 2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distrib... | null | null | null | null | 81,145 |
16,569 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,569 | 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_INVALIDATION_IMPL_INVALIDATION_SWITCHES_H
#define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SWITCHES_H
namespace invalidation {
namesp... | null | null | null | null | 13,432 |
34,666 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,661 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
cx231xx-core.c - driver for Conexant Cx23100/101/102
USB video capture devices
Copyright (C) 2008 <srinivasa.deevi at conexant dot com>
Based on em28xx driver
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | null | null | null | null | 108,008 |
32,359 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,359 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later v... | null | null | null | null | 29,222 |
7,347 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,347 | 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 "net/quic/core/congestion_control/bbr_sender.h"
#include <algorithm>
#include <map>
#include <memory>
#include "build/build_config.h"
#include ... | null | null | null | null | 4,210 |
19,088 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,088 | 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_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_
#define COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_
// An enum to describe th... | null | null | null | null | 15,951 |
470 | 26,28 | train_val | 19190765882e272a6a2162c89acdb29110f7e3cf | 470 | Chrome | 1 | https://github.com/chromium/chromium | 2011-09-21 22:56:29+00:00 | void ProcessCommitResponseCommand::UpdateServerFieldsAfterCommit(
const sync_pb::SyncEntity& committed_entry,
const CommitResponse_EntryResponse& entry_response,
syncable::MutableEntry* local_entry) {
// We just committed an entry successfully, and now we want to make our view
// of the server state consistent with th... | null | null | https://github.com/chromium/chromium/commit/19190765882e272a6a2162c89acdb29110f7e3cf | null | 470 |
37,885 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,880 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* For debugging general purposes */
#ifndef __PERF_DEBUG_H
#define __PERF_DEBUG_H
#include <stdbool.h>
#include <string.h>
#include "event.h"
#include "../ui/helpline.h"
#include "../ui/progress.h"
#include "../ui/util.h"
extern int verbose;
extern bool quiet, dump_trace;
extern int debug_ordered_events;
extern int ... | null | null | null | null | 111,227 |
19,976 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,976 | 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_PUBLIC_RENDERER_DOCUMENT_STATE_H_
#define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
#include <memory>
#include <string>
#include "ba... | null | null | null | null | 16,839 |
32,490 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,490 | 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/loader/text_resource_decoder_builder.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#inclu... | null | null | null | null | 29,353 |
19,428 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,428 | 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/variations/metrics.h"
#include "base/metrics/histogram_macros.h"
namespace variations {
#if defined(OS_ANDROID)
void RecordFirstRu... | null | null | null | null | 16,291 |
9,239 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,234 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* opp2xxx.h - macros for old-style OMAP2xxx "OPP" definitions
*
* Copyright (C) 2005-2009 Texas Instruments, Inc.
* Copyright (C) 2004-2009 Nokia Corporation
*
* Richard Woodruff <r-woodruff2@ti.com>
*
* The OMAP2 processor can be run at several discrete 'PRCM configurations'.
* These configurations are cha... | null | null | null | null | 82,581 |
16,080 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,075 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved.
*
* This program is free software; you can distribute 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 hope it will b... | null | null | null | null | 89,422 |
24,627 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,627 | 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 "extensions/shell/browser/shell_keep_alive_requester.h"
#include <memory>
#include "apps/app_lifetime_monitor_factory.h"
#include "base/macros.... | null | null | null | null | 21,490 |
27,752 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,752 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | null | null | null | null | 24,615 |
3,528 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,523 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is part of UBIFS.
*
* Copyright (C) 2006-2008 Nokia Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope t... | null | null | null | null | 76,870 |
42,385 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,385 | 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 "base/observer_list.h"
#include "base/observer_list_threadsafe.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/bin... | null | null | null | null | 39,248 |
2,170 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,227 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2012 Andrew D'Addesio
* Copyright (c) 2013-2014 Mozilla Corporation
*
* 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
* versi... | null | null | null | null | 71,282 |
29,750 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,745 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* adutux - driver for ADU devices from Ontrak Control Systems
* This is an experimental driver. Use at your own risk.
* This driver is not supported by Ontrak Control Systems.
*
* Copyright (c) 2003 John Homppi (SCO, leave this notice here)
*
* This program is free software; you can redistribute it and/or
* ... | null | null | null | null | 103,092 |
70,604 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,604 | 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 <algorithm>
#include "base/logging.h"
#include "skia/ext/convolver.h"
#include "skia/ext/convolver_SSE2.h"
#include "skia/ext/convolver_mips... | null | null | null | null | 67,467 |
7,337 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,337 | 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_FRAMES_QUIC_IETF_MAX_STREAM_ID_FRAME_H_
#define NET_QUIC_CORE_FRAMES_QUIC_IETF_MAX_STREAM_ID_FRAME_H_
#include <ostream>
#incl... | null | null | null | null | 4,200 |
29,322 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,322 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 2004-2015 Erik Doernenburg and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use these files except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | null | null | null | null | 26,185 |
40,959 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,959 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 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,822 |
60,092 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,092 | 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_BROWSER_OFFLINE_PAGES_ANDROID_OFFLINE_PAGE_BRIDGE_H_
#define CHROME_BROWSER_OFFLINE_PAGES_ANDROID_OFFLINE_PAGE_BRIDGE_H_
#include <stdint.... | null | null | null | null | 56,955 |
21,567 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,567 | 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 CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_VIDEO_SOURCE_H_
#define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_VIDEO_SOURCE_H_
#include <memory>
#... | null | null | null | null | 18,430 |
17,016 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,016 | 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_VIZ_SERVICE_DISPLAY_EMBEDDER_SOFTWARE_OUTPUT_DEVICE_X11_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_SOFTWARE_OUTPUT_DEVICE_X11_H... | null | null | null | null | 13,879 |
25,933 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,928 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* VCE_3_0 Register documentation
*
* Copyright (C) 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 limita... | null | null | null | null | 99,275 |
30,388 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,383 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/pm_qos.h>
static inline void device_pm_init_common(struct device *dev)
{
if (!dev->power.early_init) {
spin_lock_init(&dev->power.lock);
dev->power.qos = NULL;
dev->power.early_init = true;
}
}
#ifdef CONFIG_PM
static inline void pm_runtime_early_init(struct device *dev)
{
dev->power.disable... | null | null | null | null | 103,730 |
41,078 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,078 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 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,941 |
46,463 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,463 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_UNIFIED_FEATURE_PODS_CONTAINER_VIEW_H_
#define ASH_SYSTEM_UNIFIED_FEATURE_PODS_CONTAINER_VIEW_H_
#include "ash/ash_export.h"
#include ... | null | null | null | null | 43,326 |
40,333 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,333 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Summary: Windows configuration header
* Description: Windows configuration header
*
* Copy: See Copyright for the status of this software.
*
* Author: Igor Zlatkovic
*/
#ifndef __LIBXSLT_WIN32_CONFIG__
#define __LIBXSLT_WIN32_CONFIG__
#define HAVE_CTYPE_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDARG_H 1
#... | null | null | null | null | 37,196 |
18,399 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,399 | 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/download/internal/background_service/blob_task_proxy.h"
#include <utility>
#include "base/guid.h"
#include "base/task_runner_util.h... | null | null | null | null | 15,262 |
740 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,584 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* ccapi/server/ccs_pipe.h */
/*
* Copyright 2006 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 responsibility of any person or organization contemplating
... | null | null | null | null | 73,892 |
711 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,768 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2016 Paul B Mahol
*
* 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 late... | null | null | null | null | 69,823 |
2,574 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,142 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
void qemu_set_fd_handler(int fd,
IOHandler *fd_read,
IOHandler *fd_write,
void *opaque)
{
abort();
}
void aio_set_fd_handler(AioContext *ctx,
... | null | null | null | null | 123,266 |
31,760 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,755 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Id: avm_a1.c,v 2.15.2.4 2004/01/13 21:46:03 keil Exp $
*
* low level stuff for AVM A1 (Fritz) isdn cards
*
* Author Karsten Keil
* Copyright by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporat... | null | null | null | null | 105,102 |
44,163 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,163 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PPAPI_CPP_SIZE_H_
#define PPAPI_CPP_SIZE_H_
#include "ppapi/c/pp_size.h"
#include "ppapi/cpp/logging.h"
/// @file
/// This file defines the ... | null | null | null | null | 41,026 |
47,584 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,584 | 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 CC_RESOURCES_LAYER_TREE_RESOURCE_PROVIDER_H_
#define CC_RESOURCES_LAYER_TREE_RESOURCE_PROVIDER_H_
#include "cc/resources/resource_provider.h"
#in... | null | null | null | null | 44,447 |
59,195 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,195 | 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_BROWSER_EXTENSIONS_API_TABS_APP_WINDOW_CONTROLLER_H_
#define CHROME_BROWSER_EXTENSIONS_API_TABS_APP_WINDOW_CONTROLLER_H_
#include <memory>... | null | null | null | null | 56,058 |
41,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Platform data for LPC32xx SoC MLC NAND controller
*
* Copyright © 2012 Roland Stigge
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __LINUX_MTD_LPC32XX_MLC_... | null | null | null | null | 115,168 |
1,005 | 1,2,3,4,5,6,7,8,9 | train_val | d65b01ca819881a507b5e60c25a2f9caff58cd57 | 1,005 | Chrome | 1 | https://github.com/chromium/chromium | 2012-09-05 18:15:24+00:00 | AvailableSpaceQueryTask(
QuotaManager* manager,
const AvailableSpaceCallback& callback)
: QuotaThreadTask(manager, manager->db_thread_),
profile_path_(manager->profile_path_),
space_(-1),
get_disk_space_fn_(manager->get_disk_space_fn_),
callback_(callback) {
DCHECK(... | CVE-2012-5112 | CWE-399 | https://github.com/chromium/chromium/commit/d65b01ca819881a507b5e60c25a2f9caff58cd57 | Low | 1,005 |
12,880 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,875 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* include/asm-ppc/rheap.h
*
* Header file for the implementation of a remote heap.
*
* Author: Pantelis Antoniou <panto@intracom.gr>
*
* 2004 (c) INTRACOM S.A. Greece. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty... | null | null | null | null | 86,222 |
62,313 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,313 | 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/task_manager/mock_web_contents_task_manager.h"
#include "base/stl_util.h"
#include "build/build_config.h"
#if defined(OS_CHROME... | null | null | null | null | 59,176 |
38,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,709 | 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 conditions ... | null | null | null | null | 35,572 |
267 | 21 | train_val | 12f09ccb4612734a53e47ed5302e0479c10a50f8 | 165,262 | linux | 1 | https://github.com/torvalds/linux | 2011-07-22 09:37:46+00:00 | struct se_portal_group *tcm_loop_make_naa_tpg(
struct se_wwn *wwn,
struct config_group *group,
const char *name)
{
struct tcm_loop_hba *tl_hba = container_of(wwn,
struct tcm_loop_hba, tl_hba_wwn);
struct tcm_loop_tpg *tl_tpg;
char *tpgt_str, *end_ptr;
int ret;
unsigned short int tpgt;
tpgt_str = strstr(name, "tpgt_");... | CVE-2011-5327 | CWE-119 | https://github.com/torvalds/linux/commit/12f09ccb4612734a53e47ed5302e0479c10a50f8 | Low | 3,156 |
44,866 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,866 | 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 PPAPI_SHARED_IMPL_PPAPI_GLOBALS_H_
#define PPAPI_SHARED_IMPL_PPAPI_GLOBALS_H_
#include <string>
#include "base/macros.h"
#include "base/memo... | null | null | null | null | 41,729 |
894 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,281 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,726 |
43,217 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,212 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Global definitions for the Ethernet IEEE 802.3 interface.
*
* Version: @(#)if_ether.h 1.0.1a 02/08/94
*
* ... | null | null | null | null | 116,559 |
8,744 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,739 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-s3c64xx/mach-smartq7.c
*
* Copyright (C) 2010 Maurus Cuelenaere
*
* 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/fb.h>
#include... | null | null | null | null | 82,086 |
25,216 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,211 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2008 Stuart Bennett
*
* 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,... | null | null | null | null | 98,558 |
29,721 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,716 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
*
* Includes for cdc-acm.c
*
* Mainly take from usbnet's cdc-ether part
*
*/
/*
* CMSPAR, some architectures can't have space and mark parity.
*/
#ifndef CMSPAR
#define CMSPAR 0
#endif
/*
* Major and minor numbers.
*/
#define ACM_TTY_MAJOR 166
#define ACM_TTY_MINORS 256
/*
* Requests.
*/
#defin... | null | null | null | null | 103,063 |
29,778 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,773 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles
*
* VGA text mode console part
*
* Copyright (C) 2005 by Thomas Winischhofer, Vienna, Austria
*
* If distributed as part of the Linux kernel, this code is licensed under the
* terms of the GPL v2.
*
* Otherwise, the following license terms ap... | null | null | null | null | 103,120 |
4,367 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,362 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* acl.h
*
* Copyright (C) 2004, 2008 Oracle. 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 version 2 as published by the Free So... | null | null | null | null | 77,709 |
6,583 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,578 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2004-2006 Atmel Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _UAPI__ASM_AVR32_TERMIOS_H
#define _UAPI__ASM_AVR32_TERMIOS_H
#includ... | null | null | null | null | 79,925 |
31,281 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,281 | 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/timing/performance_navigation_timing.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/bl... | null | null | null | null | 28,144 |
61,930 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,930 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_PREF_MAPPING_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USE... | null | null | null | null | 58,793 |
1,612 | 1,2,6,7 | train_val | 0e3d721470add955c056e3051614f58c7220e85b | 1,612 | Chrome | 1 | https://github.com/chromium/chromium | 2015-06-02 03:10:03+00:00 | SynchronousCompositorImpl::SynchronousCompositorImpl(WebContents* contents)
: compositor_client_(NULL),
output_surface_(NULL),
begin_frame_source_(nullptr),
contents_(contents),
routing_id_(contents->GetRoutingID()),
input_handler_(NULL),
is_active_(false),
renderer_needs_begin_frames_(false),
wea... | null | null | https://github.com/chromium/chromium/commit/0e3d721470add955c056e3051614f58c7220e85b | null | 1,612 |
2,893 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,888 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #undef TRACE_SYSTEM
#define TRACE_SYSTEM cfg80211
#if !defined(__RDEV_OPS_TRACE) || defined(TRACE_HEADER_MULTI_READ)
#define __RDEV_OPS_TRACE
#include <linux/tracepoint.h>
#include <linux/rtnetlink.h>
#include <linux/etherdevice.h>
#include <net/cfg80211.h>
#include "core.h"
#define MAC_ENTRY(entry_mac) __array(u8,... | null | null | null | null | 76,236 |
2,175 | 1 | train_val | 3ff403eecdd23a39853a4ebca52023fbba6c5d00 | 2,175 | Chrome | 1 | https://github.com/chromium/chromium | 2017-08-07 04:22:48+00:00 | bool MessageLoop::NestableTasksAllowed() const {
return nestable_tasks_allowed_;
}
| CVE-2015-1294 | null | https://github.com/chromium/chromium/commit/3ff403eecdd23a39853a4ebca52023fbba6c5d00 | Low | 2,175 |
5,816 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,811 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* rt298.c -- RT298 ALSA SoC audio codec driver
*
* Copyright 2015 Realtek Semiconductor Corp.
* Author: Bard Liao <bardliao@realtek.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 Softw... | null | null | null | null | 79,158 |
39,270 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,265 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* mpicoder.c - Coder for the external representation of MPIs
* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG 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 | 112,612 |
43,713 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,708 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* ip6tables module for matching the Hop Limit value
* Maciej Soltysiak <solt@dns.toxicfilms.tv>
* Based on HW's ttl module */
#ifndef _IP6T_HL_H
#define _IP6T_HL_H
#include <linux/types.h>
enum {
IP6T_HL_EQ = 0, /* equals */
IP6T_HL_NE, /* not equals */
IP6T_HL_LT, /* less than */
IP6T_HL_GT, /* greater t... | null | null | null | null | 117,055 |
456 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,024 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Copyright (c) 1982, 1986, 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 above... | null | null | null | null | 121,148 |
19,839 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,839 | 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 "content/public/test/test_notification_tracker.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/... | null | null | null | null | 16,702 |
18,153 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,153 | 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/policy/core/common/cloud/cloud_policy_core.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include... | null | null | null | null | 15,016 |
2,095 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,090 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /****************************************************************************
* ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323
* conntrack/NAT module.
*
* Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
*
* This source code is licensed under General... | null | null | null | null | 75,438 |
41,388 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,383 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015, Intel Corporation
* Author: Jiang Liu <jiang.liu@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program i... | null | null | null | null | 114,730 |
15,081 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,076 | 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,423 |
17,029 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,024 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_SH_REBOOT_H
#define __ASM_SH_REBOOT_H
#include <linux/kdebug.h>
struct pt_regs;
struct machine_ops {
void (*restart)(char *cmd);
void (*halt)(void);
void (*power_off)(void);
void (*shutdown)(void);
void (*crash_shutdown)(struct pt_regs *);
};
extern struct machine_ops machine_ops;
/* arch/sh/ker... | null | null | null | null | 90,371 |
29,605 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,605 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2003 January 11
**
** 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,468 |
12,048 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,048 | 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_BOOKMARKS_BROWSER_BOOKMARK_STORAGE_H_
#define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_STORAGE_H_
#include <stdint.h>
#include <memory>
... | null | null | null | null | 8,911 |
34,310 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,310 | 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/paint/box_reflection_utils.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_pa... | null | null | null | null | 31,173 |
6,469 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,469 | 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 CHROMEOS_NETWORK_NETWORK_DEVICE_HANDLER_IMPL_H_
#define CHROMEOS_NETWORK_NETWORK_DEVICE_HANDLER_IMPL_H_
#include <map>
#include <string>
#includ... | null | null | null | null | 3,332 |
68,020 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,020 | 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_PROTOCOL_FAKE_AUTHENTICATOR_H_
#define REMOTING_PROTOCOL_FAKE_AUTHENTICATOR_H_
#include "base/callback.h"
#include "base/macros.h"
#... | null | null | null | null | 64,883 |
1,152 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,720 | 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;
int result;
rs = 0x12345678;
rt = 0x87654321;
result = 0x456709AB;
__asm
("subqh.ph %0, %1, %2\n\t"
: "=r"(rd)
: "r"(rs), "r"(rt)
);
assert(rd == result);
return 0;
}
| null | null | null | null | 121,844 |
56,678 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,678 | 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/chromeos/login/screens/user_image_screen.h"
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#includ... | null | null | null | null | 53,541 |
24,207 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,207 | 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 <stddef.h>
#include <stdint.h>
#include <memory>
#include <set>
#include "base/command_line.h"
#include "base/json/json_reader.h"
#include "bas... | null | null | null | null | 21,070 |
8,890 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,890 | 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_HTTP2_HTTP2_CONSTANTS_TEST_UTIL_H_
#define NET_HTTP2_HTTP2_CONSTANTS_TEST_UTIL_H_
#include <vector>
#include "net/http2/http2_constants.h"
... | null | null | null | null | 5,753 |
23,311 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,311 | 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 "content/browser/loader/source_stream_to_data_pipe.h"
#include "base/bind.h"
#include "net/filter/source_stream.h"
namespace content {
SourceS... | null | null | null | null | 20,174 |
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.