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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,280 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,848 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef MIPS_CPU_H
#define MIPS_CPU_H
//#define DEBUG_OP
#define ALIGNED_ONLY
#define CPUArchState struct CPUMIPSState
#include "qemu-common.h"
#include "cpu-qom.h"
#include "mips-defs.h"
#include "exec/cpu-defs.h"
#include "fpu/softfloat.h"
struct CPUMIPSState;
typedef struct r4k_tlb_t r4k_tlb_t;
struct r4k_tlb_... | null | null | null | null | 121,972 |
820 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,207 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,652 |
667 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,235 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #define __NR_SYSCALL_BASE 0x900000
#define __NR_exit1 (__NR_SYSCALL_BASE+ 1)
#define __NR_write (__NR_SYSCALL_BASE+ 4)
#define __sys2(x) #x
#define __sys1(x) __sys2(x)
#ifndef __syscall
#define __syscall(name) "swi\t" __sys1(__NR_##name) "\n\t"
#endif
#define __syscall_return(type, res) \
do { \
r... | null | null | null | null | 121,359 |
29,295 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,295 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 |
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 8.xx.xxxx */
/* at a redacted point in time
*/
/* Compiler settings for ../../third_party/isimpledom/ISimpleDOMDocument.idl:
Oicf, W1, Zp8, env=Win64 ... | null | null | null | null | 26,158 |
12,788 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,788 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VERSION_INFO_VERSION_INFO_H_
#define COMPONENTS_VERSION_INFO_VERSION_INFO_H_
#include <string>
#include "components/version_info/chan... | null | null | null | null | 9,651 |
28,923 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,918 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* INA3221 Triple Current/Voltage Monitor
*
* Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
* Andrew F. Davis <afd@ti.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 Fr... | null | null | null | null | 102,265 |
26,696 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,691 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
* Copyright 2009 Jerome Glisse.
*
* 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, in... | null | null | null | null | 100,038 |
25,364 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,364 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_FACTORY_H_
#define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_FACTORY_H_
#include "base/compiler_specific.h"
#in... | null | null | null | null | 22,227 |
63,523 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,523 | 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 "chrome/browser/ui/views/toolbar/toolbar_action_view.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/run_... | null | null | null | null | 60,386 |
11,685 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,680 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IA-64 Linux syscall numbers and inline-functions.
*
* Copyright (C) 1998-2005 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
#ifndef _ASM_IA64_UNISTD_H
#define _ASM_IA64_UNISTD_H
#include <uapi/asm/unistd.h>
#define NR_syscalls 326 /* length of syscall table */
/*
* The following def... | null | null | null | null | 85,027 |
50,300 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,300 | 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.
//
// Due to restrictions of most operating systems, we don't directly map each
// type of custom data to a native data transfer type. Instead, we seri... | null | null | null | null | 47,163 |
19,724 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,724 | 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.
//
// A helper library to keep track of a user's key by SID.
// Used by RLZ libary. Also to be used by SearchWithGoogle library.
#include "rlz/win/lib... | null | null | null | null | 16,587 |
22,137 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,137 | 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_COMMON_MEDIA_MEDIA_PLAYER_MESSAGES_ANDROID_H_
#define CONTENT_COMMON_MEDIA_MEDIA_PLAYER_MESSAGES_ANDROID_H_
// IPC messages for andro... | null | null | null | null | 19,000 |
40,406 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,401 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* LCD Lowlevel Control Abstraction
*
* Copyright (C) 2003,2004 Hewlett-Packard Company
*
*/
#ifndef _LINUX_LCD_H
#define _LINUX_LCD_H
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/notifier.h>
#include <linux/fb.h>
/* Notes on locking:
*
* lcd_device->ops_lock is an internal backlight l... | null | null | null | null | 113,748 |
59,504 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,504 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_STATE_H_
#define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_S... | null | null | null | null | 56,367 |
22,400 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,400 | 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 <string.h>
#include <list>
#include <memory>
#include "base/bind.h"
#include "base/location.h"
#include... | null | null | null | null | 19,263 |
49,553 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,553 | 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 "ui/app_list/app_list_switches.h"
#include "base/command_line.h"
namespace app_list {
namespace switches {
// Specifies the chrome-extension:/... | null | null | null | null | 46,416 |
37,126 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,126 | 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 "third_party/blink/renderer/platform/scheduler/base/real_time_domain.h"
#include "base/bind.h"
#include "third_party/blink/renderer/platform/sch... | null | null | null | null | 33,989 |
2,240 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,235 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/netpoll.h>
#include <linux/export.h>
#include "vlan.h"
bool vlan_do_receive(struct sk_buff **skbp)
{
struct sk_buff *skb = *skbp;
__be16 vlan_proto = skb->vlan_proto;
u16 vlan_id = skb_vlan_tag_get_id(skb);
struct net... | null | null | null | null | 75,583 |
42,832 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,827 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* HWDEP Interface for HD-audio codec
*
* Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
*
* This driver is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at... | null | null | null | null | 116,174 |
21,602 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,602 | 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 CONTENT_RENDERER_MEDIA_MIDI_RENDERER_WEBMIDIACCESSOR_IMPL_H_
#define CONTENT_RENDERER_MEDIA_MIDI_RENDERER_WEBMIDIACCESSOR_IMPL_H_
#include <s... | null | null | null | null | 18,465 |
40,797 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,792 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_HUGETLB_H
#define _LINUX_HUGETLB_H
#include <linux/mm_types.h>
#include <linux/mmdebug.h>
#include <linux/fs.h>
#include <linux/hugetlb_inline.h>
#include <linux/cgroup.h>
#include <linux/list.h>
#include <linux/kref.h>
#include <asm/pgtable.h>
struct ctl_table;
struct user_struct;
struct mmu_gather;
... | null | null | null | null | 114,139 |
46,378 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,378 | 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 "ash/lock_screen_action/lock_screen_note_launcher.h"
#include "ash/public/interfaces/tray_action.mojom.h"
#include "ash/shell.h"
#include "ash/t... | null | null | null | null | 43,241 |
28,213 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,208 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #define USE_DVICHIP
#ifdef USE_DVICHIP
#include "ddk750_sii164.h"
#include "ddk750_hwi2c.h"
/* I2C Address of each SII164 chip */
#define SII164_I2C_ADDRESS 0x70
/* Define this definition to use hardware i2c. */
#define USE_HW_I2C
#ifdef USE_HW_I2C
#define i2cWriteReg sm750_hw_i2c_write_reg
... | null | null | null | null | 101,555 |
11,291 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,291 | 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.
// Tests for GLES2Implementation.
#include "gpu/command_buffer/client/client_test_helper.h"
#include <stddef.h>
#include <stdint.h>
#include <memor... | null | null | null | null | 8,154 |
27,285 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,285 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /***********************************************************************
Copyright (c) 2017 Google Inc., Jean-Marc Valin
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 c... | null | null | null | null | 24,148 |
42,461 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,461 | 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 "base/threading/platform_thread_internal_posix.h"
#include "base/containers/adapters.h"
#include "base/logging.h"
namespace base {
namespace i... | null | null | null | null | 39,324 |
15,582 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,577 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2002, 2003, 06, 07 Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2007 MIPS Technologies, Inc.
* written by Ralf Bae... | null | null | null | null | 88,924 |
29,411 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,406 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* max14577.c - Regulator driver for the Maxim 14577/77836
*
* Copyright (C) 2013,2014 Samsung Electronics
* Krzysztof Kozlowski <krzk@kernel.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... | null | null | null | null | 102,753 |
63,403 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,403 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.h"
#include <map>
#include <utility>
#include "base/bind.h"
#include "base/... | null | null | null | null | 60,266 |
52,518 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,518 | 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 MEDIA_CDM_CENC_UTILS_H_
#define MEDIA_CDM_CENC_UTILS_H_
#include <stdint.h>
#include <vector>
#include "media/base/media_export.h"
#include "me... | null | null | null | null | 49,381 |
42,069 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,064 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Atmel SMC (Static Memory Controller) register offsets and bit definitions.
*
* Copyright (C) 2014 Atmel
* Copyright (C) 2014 Free Electrons
*
* Author: Boris Brezillon <boris.brezillon@free-electrons.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | null | null | null | null | 115,411 |
7,132 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,132 | 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 "net/quic/core/quic_error_codes.h"
#include "base/metrics/histogram_macros.h"
namespace net {
#define RETURN_STRING_LITERAL(x) \
case x:... | null | null | null | null | 3,995 |
2,970 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,027 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Sony OpenMG (OMA) demuxer
*
* Copyright (c) 2008, 2013 Maxim Poliakovski
* 2008 Benjamin Larsson
* 2011 David Goldwich
*
* 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
* L... | null | null | null | null | 72,082 |
29,535 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,530 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in t... | null | null | null | null | 102,877 |
44,590 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,585 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _FDT_H
#define _FDT_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
* Copyright 2012 Kim Phillips, Freescale Semiconductor.
*
* libfdt is dual licensed: you can use it either under the terms of
* the GPL, or the BSD license, at your option.
*
* a) This ... | null | null | null | null | 117,932 |
29,348 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,348 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 2009-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,211 |
32,117 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,117 | 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/unicode_bidi.h"
namespace blink {
namespace CSSLonghand {
const CSSValue* UnicodeBidi... | null | null | null | null | 28,980 |
29,490 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,485 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* max8952.c - Voltage and current regulation for the Maxim 8952
*
* Copyright (C) 2010 Samsung Electronics
* MyungJoo Ham <myungjoo.ham@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 published by
* the Free Softw... | null | null | null | null | 102,832 |
5,117 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,117 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_VIEW_H_
#define IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_VIEW_H_
#import <UIKit/UIKit.h>
... | null | null | null | null | 1,980 |
57,919 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,919 | 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/mobile/mobile_activator.h"
#include <stddef.h>
#include <utility>
#include "base/macros.h"
#include "base/message_... | null | null | null | null | 54,782 |
41,668 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,663 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* ... | null | null | null | null | 115,010 |
1,873 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,828 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | null | null | null | null | 120,749 |
15,713 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,713 | 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/component_updater/mock_component_updater_service.h"
namespace component_updater {
MockComponentUpdateService::MockComponentUpdateSe... | null | null | null | null | 12,576 |
6,568 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,568 | 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 "net/spdy/chromium/spdy_session.h"
#include <algorithm>
#include <limits>
#include <map>
#include <utility>
#include "base/bind.h"
#include... | null | null | null | null | 3,431 |
49,907 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,907 | 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_ANDROID_RESOURCES_SYSTEM_UI_RESOURCE_TYPE_H_
#define UI_ANDROID_RESOURCES_SYSTEM_UI_RESOURCE_TYPE_H_
namespace ui {
// A Java counterpart wil... | null | null | null | null | 46,770 |
64,428 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,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.
#ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_TAB_UNDER_NAVIGATION_THROTTLE_H_
#define CHROME_BROWSER_UI_BLOCKED_CONTENT_TAB_UNDER_NAVIGATION_THROTTLE_H_
#in... | null | null | null | null | 61,291 |
556 | 17 | train_val | f3d3342602f8bcbf37d7c46641cb9bca7618eb1c | 165,551 | linux | 1 | https://github.com/torvalds/linux | 2013-11-20 21:52:30-05:00 | static int unix_dgram_recvmsg(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, size_t size,
int flags)
{
struct sock_iocb *siocb = kiocb_to_siocb(iocb);
struct scm_cookie tmp_scm;
struct sock *sk = sock->sk;
struct unix_sock *u = unix_sk(sk);
int noblock = flags & MSG_DONTWAIT;
struct sk_buff *skb;
int err;... | CVE-2013-7271 | CWE-20 | https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c | Low | 3,445 |
50,991 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,991 | 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/platform_window/mojo/ime_type_converters.h"
#include <stdint.h>
#include "base/macros.h"
namespace mojo {
#define TEXT_INPUT_TYPE_ASSERT(... | null | null | null | null | 47,854 |
22,507 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,507 | 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 CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_OPTIONS_H_
#define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_OPTIO... | null | null | null | null | 19,370 |
67,479 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,479 | 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 CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_
#define CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_
#include <stdde... | null | null | null | null | 64,342 |
67,528 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,528 | 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/safe_browsing/incident_reporting/last_download_finder.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include ... | null | null | null | null | 64,391 |
1,597 | 3 | train_val | 1924f747637265f563892b8f56a64391f6208194 | 1,597 | Chrome | 1 | https://github.com/chromium/chromium | 2015-05-20 01:06:39+00:00 | void CastCastView::ButtonPressed(views::Button* sender,
const ui::Event& event) {
DCHECK(sender == stop_button_);
StopCast();
}
| CVE-2014-1747 | CWE-79 | https://github.com/chromium/chromium/commit/1924f747637265f563892b8f56a64391f6208194 | Medium | 1,597 |
9,105 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,100 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/kernel.h>
#include <linux/init.h>
#include "common.h"
#include "voltage.h"
#include "vp.h"
#include "prm-regbits-34xx.h"
#include "prm-regbits-44xx.h"
#include "prm44xx.h"
static u32 _vp_set_init_voltage(struct voltagedomain *voltdm, u32 volt)
{
struct omap_vp_instance *vp = voltdm->vp;
u32 vpconfi... | null | null | null | null | 82,447 |
18,341 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,341 | 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 "components/download/internal/background_service/empty_file_monitor.h"
#include "base/threading/thread_task_runner_handle.h"
namespace download... | null | null | null | null | 15,204 |
425 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,380 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | null | null | null | null | 119,301 |
6,553 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,553 | 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 "net/spdy/chromium/buffered_spdy_framer.h"
#include <algorithm>
#include <utility>
#include "base/logging.h"
#include "base/strings/string_... | null | null | null | null | 3,416 |
41,680 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,680 | 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 "gmock/gmock.h"
namespace blink {
namespace simple_test {
class Interface {
public:
virtual void myMethod(int my_param) {}
};
class Mocked... | null | null | null | null | 38,543 |
26,799 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,794 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
* Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2006 Michael Buesch <m@bues.ch>
* Copyright (C) 2010 Waldemar Brodkorb <wbx@openadk.org>
* Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
*
* This program is free softw... | null | null | null | null | 100,141 |
39,807 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,807 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 36,670 |
11,761 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,756 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_IA64_SN_FEATURE_SETS_H
#define _ASM_IA64_SN_FEATURE_SETS_H
/*
* SN PROM Features
*
* 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) 2005-2006 Silicon Graphics, ... | null | null | null | null | 85,103 |
24,362 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,357 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright © 2016 Intel Corporation
*
* 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, pub... | null | null | null | null | 97,704 |
18,602 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,602 | 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/network_time/network_time_tracker.h"
#include <memory>
#include <string>
#include <utility>
#include "base/compiler_specific.h"
#in... | null | null | null | null | 15,465 |
4,272 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,267 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2014 Red Hat, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be useful,
* but... | null | null | null | null | 77,614 |
16,016 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,011 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /***********************license start***************
* Author: Cavium Networks
*
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
* Copyright (c) 2003-2012 Cavium Networks
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | null | null | null | null | 89,358 |
36,640 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,635 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 Broadcom
* Author: Jayachandran C <jchandra@broadcom.com>
* Copyright (C) 2016 Semihalf
* Author: Tomasz Nowicki <tn@semihalf.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 b... | null | null | null | null | 109,982 |
4,990 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,990 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_CELLS_STATUS_ITEM_H_
#define IOS_CHROME_BROWSER_UI_AUTOFILL_CELLS_STATUS_ITEM_H_
#import <UIKit/UIKit.h>
#import ... | null | null | null | null | 1,853 |
33,834 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,834 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006 Apple Computer, Inc.
* Copyright (C) 2009 Google, Inc.
*
* 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 opt... | null | null | null | null | 30,697 |
42,303 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,303 | 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 BASE_CPU_H_
#define BASE_CPU_H_
#include <string>
#include "base/base_export.h"
namespace base {
// Query information about the processor.... | null | null | null | null | 39,166 |
28,738 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,738 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | null | null | null | null | 25,601 |
41,239 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,239 | 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 TOOLS_BATTOR_AGENT_BATTOR_SAMPLE_CONVERTER_H_
#define TOOLS_BATTOR_AGENT_BATTOR_SAMPLE_CONVERTER_H_
#include <stddef.h>
#include <vector>
#inclu... | null | null | null | null | 38,102 |
39,575 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,575 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 36,438 |
1,163 | 1,2,3,4 | train_val | 802ecdb9cee0d66fe546bdf24e98150f8f716ad8 | 1,163 | Chrome | 1 | https://github.com/chromium/chromium | 2012-12-15 00:47:49+00:00 | void DoCheckFakeData(uint8* audio_data, size_t length) {
Type* output = reinterpret_cast<Type*>(audio_data);
for (size_t i = 0; i < length; i++) {
EXPECT_TRUE(algorithm_.is_muted() || output[i] != 0);
}
}
| CVE-2012-5152 | CWE-119 | https://github.com/chromium/chromium/commit/802ecdb9cee0d66fe546bdf24e98150f8f716ad8 | Low | 1,163 |
42,992 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,992 | 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 BASE_TEST_TEST_SUITE_H_
#define BASE_TEST_TEST_SUITE_H_
// Defines a basic test suite framework for running gtest based tests. You can
// in... | null | null | null | null | 39,855 |
15,069 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,064 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* the EHCI Virtual Support Module of AMD CS5536
*
* Copyright (C) 2007 Lemote, Inc.
* Author : jlliu, liujl@lemote.com
*
* Copyright (C) 2009 Lemote, Inc.
* Author: Wu Zhangjin, wuzhangjin@gmail.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Ge... | null | null | null | null | 88,411 |
43,717 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,712 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Hop Limit modification module for ip6tables
* 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_SET = 0,
IP6T_HL_INC,
IP6T_HL_DEC
};
#define IP6T_HL_MAXMODE IP6T_HL_DEC
struct ip6t_HL_info {
__u8 mode;
__u... | null | null | null | null | 117,059 |
15,949 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,949 | 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/sync/engine_impl/uss_migrator.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#inc... | null | null | null | null | 12,812 |
5,322 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,322 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_TAB_HELPER_H_
#define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_TAB_HELPER_H_
#import <Foundation/F... | null | null | null | null | 2,185 |
47,686 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,686 | 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 "cc/paint/paint_image_builder.h"
namespace cc {
// static
PaintImageBuilder PaintImageBuilder::WithDefault() {
return PaintImageBuilder();
}
... | null | null | null | null | 44,549 |
68,315 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,315 | 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_CLIPBOARD_H_
#define REMOTING_HOST_CLIPBOARD_H_
#include <memory>
#include <string>
#include "base/callback.h"
namespace remo... | null | null | null | null | 65,178 |
21,282 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,277 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Mac80211 STA API for ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
*
* 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 ... | null | null | null | null | 94,624 |
33,311 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,306 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2016 Broadcom
*
* 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 (the "GPL").
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT A... | null | null | null | null | 106,653 |
51,655 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,655 | 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/accessibility/platform/ax_unique_id.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
class AXPlatformUniqueIdTest : public... | null | null | null | null | 48,518 |
52,672 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,672 | 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 "media/capture/video/win/filter_base_win.h"
#pragma comment(lib, "strmiids.lib")
namespace media {
// Implement IEnumPins.
class PinEnumer... | null | null | null | null | 49,535 |
41,787 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,787 | 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 TRACEIMPL_DEPENDENT_SCOPE_H_
#define TRACEIMPL_DEPENDENT_SCOPE_H_
#include "heap/stubs.h"
namespace blink {
class X : public GarbageCollected<X... | null | null | null | null | 38,650 |
54,617 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,617 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_CHROMEDRIVER_CHROME_SCOPED_TEMP_DIR_WITH_RETRY_H_
#define CHROME_TEST_CHROMEDRIVER_CHROME_SCOPED_TEMP_DIR_WITH_RETRY_H_
// An obj... | null | null | null | null | 51,480 |
1,464 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,032 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Postcopy migration for RAM
*
* Copyright 2013-2015 Red Hat, Inc. and/or its affiliates
*
* Authors:
* Dave Gilbert <dgilbert@redhat.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.
*
*/
/*
* Postcopy is a migration ... | null | null | null | null | 122,156 |
9,125 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,125 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_
#define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_
#include "net/cookies/cookie_monster.h"
#include <... | null | null | null | null | 5,988 |
122 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 161,966 | 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 -*- */
/* util/profile/test_load.c - Test harness for loadable profile modules */
/*
* 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 spe... | null | null | null | null | 73,274 |
64,123 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,123 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/signin/signin_create_profile_handler.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/prefs... | null | null | null | null | 60,986 |
7,144 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,139 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2006 Atmark Techno, Inc.
*
* 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.
*/
#ifndef _ASM_MICROBLAZE_PTRACE_H
#define _ASM_MICROBLAZE_PTRACE_H
#include <uapi/asm/ptrace.h>
... | null | null | null | null | 80,486 |
3,388 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,388 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "storage/browser/blob/blob_url_request_job.h"
#include <stdint.h>
#include <algorithm>
#include <limits>
#include <string>
#include <vector... | null | null | null | null | 251 |
46,521 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,521 | 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/system/bluetooth/tray_bluetooth.h"
#include <map>
#include <memory>
#include <set>
#include <string>
#include "ash/ash_view_ids.h"
#in... | null | null | null | null | 43,384 |
946 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,333 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,778 |
7,818 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,813 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* -*- linux-c -*- ------------------------------------------------------- *
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright 2007 rPath, Inc. - All Rights Reserved
*
* This file is part of the Linux kernel, and is made available under
* the terms of the GNU General Public License version 2.
*
* ... | null | null | null | null | 81,160 |
62,769 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,769 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/crypto_module_password_dialog_view.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/... | null | null | null | null | 59,632 |
30,658 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,653 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Power key driver for SiRF PrimaII
*
* Copyright (c) 2013 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
* company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#incl... | null | null | null | null | 104,000 |
12,871 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,866 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_POWERPC_SETUP_H
#define _ASM_POWERPC_SETUP_H
#include <uapi/asm/setup.h>
#ifndef __ASSEMBLY__
extern void ppc_printk_progress(char *s, unsigned short hex);
extern unsigned int rtas_data;
extern unsigned long long memory_limit;
extern unsigned long klimit;
extern void *zalloc_maybe_bootmem(size_t size, g... | null | null | null | null | 86,213 |
683 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,527 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | // pingtest.c
//
// Test RPC to server, with PING message, which exists for no other purpose than this test.
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <malloc.h>
#include "cci_debugging.h"
#include "CredentialsCache.h"
#include "win-utils.h"
#include "ccs_request.h"
#define CLIENT_REQUEST_R... | null | null | null | null | 73,835 |
34,997 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,997 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include <algorithm>
#include <memory>
#include "testing/gmock/include/gmock/... | null | null | null | null | 31,860 |
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.