file_name int64 0 72.3k | vulnerable_line_numbers stringlengths 1 1.06k ⌀ | dataset_type stringclasses 1
value | commit_hash stringlengths 40 44 | unique_id int64 0 271k | project stringclasses 10
values | target int64 0 1 | repo_url stringclasses 10
values | date stringlengths 25 25 ⌀ | code stringlengths 0 20.4M | CVE stringlengths 13 43 ⌀ | CWE stringclasses 50
values | commit_link stringlengths 73 97 ⌀ | severity stringclasses 4
values | __index_level_0__ int64 0 124k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49,097 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,097 | 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 UI_GFX_FONT_FALLBACK_WIN_H_
#define UI_GFX_FONT_FALLBACK_WIN_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "base/macr... | null | null | null | null | 45,960 |
14,491 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,486 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __iop_version_defs_asm_h
#define __iop_version_defs_asm_h
/*
* This file is autogenerated from
* file: iop_version.r
*
* by ../../../tools/rdesc/bin/rdes2c -asm -outfile iop_version_defs_asm.h iop_version.r
* Any changes here will be lost.
*
* -*- buffer-read-only: t -*-
*/
#ifndef REG_... | null | null | null | null | 87,833 |
18,084 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,084 | 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/policy/core/common/proxy_policy_provider.h"
#include <memory>
#include "base/callback.h"
#include "base/macros.h"
#include "component... | null | null | null | null | 14,947 |
3,010 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,578 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Device model for Cadence UART
*
* Copyright (c) 2010 Xilinx Inc.
* Copyright (c) 2012 Peter A.G. Crosthwaite (peter.crosthwaite@petalogix.com)
* Copyright (c) 2012 PetaLogix Pty Ltd.
* Written by Haibing Ma
* M.Habib
*
* This program is free software; you can redistribute it and/or
* modify it... | null | null | null | null | 123,702 |
41,491 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,486 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2009, Jiejing Zhang <kzjeef@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later versi... | null | null | null | null | 114,833 |
14,906 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,901 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* bfin_ppi.h - interface to Blackfin PPIs
*
* Copyright 2005-2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#ifndef __ASM_BFIN_PPI_H__
#define __ASM_BFIN_PPI_H__
#include <linux/types.h>
#include <asm/blackfin.h>
/*
* All Blackfin system MMRs are padded to 32bits even if the register
*... | null | null | null | null | 88,248 |
55,469 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,469 | 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_COMMON_SAFE_BROWSING_PE_IMAGE_READER_WIN_H_
#define CHROME_COMMON_SAFE_BROWSING_PE_IMAGE_READER_WIN_H_
#include <stddef.h>
#include <stdin... | null | null | null | null | 52,332 |
38,696 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,691 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
Red Black Trees
(C) 1999 Andrea Arcangeli <andrea@suse.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.
T... | null | null | null | null | 112,038 |
52,090 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,090 | 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 MEDIA_GPU_IPC_SERVICE_MEDIA_GPU_CHANNEL_MANAGER_H_
#define MEDIA_GPU_IPC_SERVICE_MEDIA_GPU_CHANNEL_MANAGER_H_
#include <stdint.h>
#include <memo... | null | null | null | null | 48,953 |
28,780 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,780 | 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,643 |
6,485 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,480 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* AT32AP platform initialization calls.
*
* Copyright (C) 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 __ASM_AVR32_AT32AP_INIT_H__
#de... | null | null | null | null | 79,827 |
10,268 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,268 | 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 HEADLESS_PUBLIC_UTIL_COMPOSITOR_CONTROLLER_H_
#define HEADLESS_PUBLIC_UTIL_COMPOSITOR_CONTROLLER_H_
#include "base/callback.h"
#include "base/can... | null | null | null | null | 7,131 |
42,297 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,297 | 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 "base/sequence_checker.h"
#include <stddef.h>
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#inclu... | null | null | null | null | 39,160 |
26,144 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,144 | 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 EXTENSIONS_BROWSER_API_DECLARATIVE_WEBREQUEST_REQUEST_STAGE_H_
#define EXTENSIONS_BROWSER_API_DECLARATIVE_WEBREQUEST_REQUEST_STAGE_H_
namespa... | null | null | null | null | 23,007 |
22,368 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,368 | 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_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_
#define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_CONFIG_IMPL_H_
#include <memory>
#in... | null | null | null | null | 19,231 |
31,376 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,371 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2011-2015 Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de>
*
* 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 Founda... | null | null | null | null | 104,718 |
3,049 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,106 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* BluRay (libbluray) protocol
*
* Copyright (c) 2012 Petri Hintukainen <phintuka <at> users.sourceforge.net>
*
* 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 F... | null | null | null | null | 72,161 |
16,253 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,253 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_BASE_GET_SESSION_NAME_IOS_H_
#define COMPONENTS_SYNC_BASE_GET_SESSION_NAME_IOS_H_
#include <string>
namespace syncer {
namespace... | null | null | null | null | 13,116 |
37,057 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,052 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2012-2013 Freescale Semiconductor, Inc.
*
* 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 | 110,399 |
16,317 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,312 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_MACH_MIPS_IRQ_H
#define __ASM_MACH_MIPS_IRQ_H
#define NR_IRQS 256
#include_next <irq.h>
#endif /* __ASM_MACH_MIPS_IRQ_H */
| null | null | null | null | 89,659 |
38,449 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,444 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <config.h>
#include "preempt.h"
#include "assume.h"
#include "locks.h"
/* Support NR_CPUS of at most 64 */
#define CPU_PREEMPTION_LOCKS_INIT0 LOCK_IMPL_INITIALIZER
#define CPU_PREEMPTION_LOCKS_INIT1 \
CPU_PREEMPTION_LOCKS_INIT0, CPU_PREEMPTION_LOCKS_INIT0
#define CPU_PREEMPTION_LOCKS_INIT2 \
CPU_PREEMPTIO... | null | null | null | null | 111,791 |
23,994 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,989 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright © 1997-2003 by The XFree86 Project, Inc.
* Copyright © 2007 Dave Airlie
* Copyright © 2007-2008 Intel Corporation
* Jesse Barnes <jesse.barnes@intel.com>
* Copyright 2005-2006 Luc Verhaegen
* Copyright (c) 2001, Andy Ritger aritger@nvidia.com
*
* Permission is hereby granted, free of charge, t... | null | null | null | null | 97,336 |
68,375 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,375 | 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 "remoting/host/process_stats_sender.h"
#include <stdint.h>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/location... | null | null | null | null | 65,238 |
14,821 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,816 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* The fake debug assert instructions
*
* Copyright 2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ptrace.h>
const char * const greg_names[] = {
"R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7",
"P0", ... | null | null | null | null | 88,163 |
13,581 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,581 | 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/metrics/drive_metrics_provider.h"
namespace metrics {
// static
bool DriveMetricsProvider::HasSeekPenalty(const base::FilePath& pat... | null | null | null | null | 10,444 |
15,121 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,121 | 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_SIGNIN_CORE_BROWSER_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_FAKE_GAIA_COOKIE_MANAGER_SERVICE_H_
#inc... | null | null | null | null | 11,984 |
25,119 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,114 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NVKM_DEVICE_CTRL_H__
#define __NVKM_DEVICE_CTRL_H__
#define nvkm_control(p) container_of((p), struct nvkm_control, object)
#include <core/device.h>
struct nvkm_control {
struct nvkm_object object;
struct nvkm_device *device;
};
extern const struct nvkm_device_oclass nvkm_control_oclass;
#endif
| null | null | null | null | 98,461 |
29,870 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,870 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2014-06-13
**
** 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,733 |
12,976 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,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.
// Patterns used in content setting rules.
#ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_
#define COMPONENTS_CONTENT_SET... | null | null | null | null | 9,839 |
24,512 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,507 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2007-2008 Nouveau Project
*
* 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, pu... | null | null | null | null | 97,854 |
28,867 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,862 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism
*
* (C) Copyright 2008-2010,2015 Intel Corporation
* Author: Sreedhara DS (sreedhara.ds@intel.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 Fr... | null | null | null | null | 102,209 |
31,477 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,472 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
drbd_bitmap.c
This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
Copyright (C) 2004-2008, LINBIT Information Technologies GmbH.
Copyright (C) 2004-2008, Philipp Reisner <philipp.reisner@linbit.com>.
Copyright (C) 2004-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
drbd is free s... | null | null | null | null | 104,819 |
14,594 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,594 | 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/history/core/browser/history_database.h"
#include <stdint.h>
#include <algorithm>
#include <set>
#include <string>
#include <ut... | null | null | null | null | 11,457 |
10,245 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,245 | 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 HEADLESS_PUBLIC_UTIL_DETERMINISTIC_DISPATCHER_H_
#define HEADLESS_PUBLIC_UTIL_DETERMINISTIC_DISPATCHER_H_
#include <map>
#include "base/containe... | null | null | null | null | 7,108 |
44,148 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,148 | 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 PPAPI_CPP_TCP_SOCKET_H_
#define PPAPI_CPP_TCP_SOCKET_H_
#include <stdint.h>
#include "ppapi/c/ppb_tcp_socket.h"
#include "ppapi/cpp/net_address.... | null | null | null | null | 41,011 |
70,239 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,239 | 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 DEVICE_UDEV_LINUX_SCOPED_UDEV_H_
#define DEVICE_UDEV_LINUX_SCOPED_UDEV_H_
#include <memory>
#include "device/udev_linux/udev.h"
#if !defined(US... | null | null | null | null | 67,102 |
56,306 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,306 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h"
namespace chromeos {
// static
const int SupervisedUserCreatio... | null | null | null | null | 53,169 |
1,959 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,016 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Teletext decoding for ffmpeg
* Copyright (c) 2005-2010, 2012 Wolfram Gloger
* Copyright (c) 2013 Marton Balint
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* vers... | null | null | null | null | 71,071 |
11,193 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,193 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/test_helper.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <string>
#include "base/s... | null | null | null | null | 8,056 |
33,042 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,037 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* STMicroelectronics sensors trigger library driver
*
* Copyright 2012-2013 STMicroelectronics Inc.
*
* Denis Ciocca <denis.ciocca@st.com>
*
* Licensed under the GPL-2.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#i... | null | null | null | null | 106,384 |
63,737 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,737 | 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_UI_WEBUI_INSPECT_UI_H_
#define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
#include <map>
#include <memory>
#include "base/macros.h... | null | null | null | null | 60,600 |
36,855 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,850 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Name: amlcode.h - Definitions for AML, as included in "definition blocks"
* Declarations and definitions contained herein are derived
* directly from the ACPI specification.
*
******************... | null | null | null | null | 110,197 |
24,779 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,774 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014 Martin Peres
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 98,121 |
68,552 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,552 | 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_WIN_WORKER_PROCESS_LAUNCHER_H_
#define REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_
#include <stdint.h>
#include <memory>
#in... | null | null | null | null | 65,415 |
31,305 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,305 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Intel 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 conditions a... | null | null | null | null | 28,168 |
23,090 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,090 | 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 CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INSTALLED_SCRIPT_READER_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INSTALLED_SCRIPT_RE... | null | null | null | null | 19,953 |
63,785 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,785 | 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/site_settings_helper.h"
#include <functional>
#include <string>
#include "base/feature_list.h"
#include "base/values.h... | null | null | null | null | 60,648 |
64,194 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,194 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_OFFLINE_OFFLINE_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_OFFLINE_OFFLINE_INTERNALS_UI_H_
#include "base/macros.h"
... | null | null | null | null | 61,057 |
1,246 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,814 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Copyright (c) 2013 Kevin Wolf <kwolf@redhat.com>
*
* 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, modi... | null | null | null | null | 121,938 |
39,356 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,351 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cryptographic API.
*
* TEA, XTEA, and XETA crypto alogrithms
*
* The TEA and Xtended TEA algorithms were developed by David Wheeler
* and Roger Needham at the Computer Laboratory of Cambridge University.
*
* Due to the order of evaluation in XTEA many people have incorrectly
* implemented it. XETA (XTE... | null | null | null | null | 112,698 |
30,387 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,387 | 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 27,250 |
58,516 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,516 | 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/rlz/chrome_rlz_tracker_delegate.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "build/build_config.h"
#inc... | null | null | null | null | 55,379 |
5,699 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,694 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* rt286.c -- RT286 ALSA SoC audio codec driver
*
* Copyright 2013 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,041 |
39,647 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,642 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifdef CONFIG_CGROUP_CPUACCT
extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
extern void cpuacct_account_field(struct task_struct *tsk, int index, u64 val);
#else
static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
{
}
static inline void
cpuacct_account_field(struct task_struct... | null | null | null | null | 112,989 |
2,201 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,196 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IEEE802154.4 socket interface
*
* Copyright 2007, 2008 Siemens AG
*
* 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 that it wi... | null | null | null | null | 75,544 |
33,426 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,421 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* AMD Cryptographic Coprocessor (CCP) driver
*
* Copyright (C) 2016 Advanced Micro Devices, Inc.
*
* Author: Gary R Hook <gary.hook@amd.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 So... | null | null | null | null | 106,768 |
3,477 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,534 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2013 Martin Storsjo
*
* 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 la... | null | null | null | null | 72,589 |
17,032 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,027 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_SH_SECTIONS_H
#define __ASM_SH_SECTIONS_H
#include <asm-generic/sections.h>
extern long __machvec_start, __machvec_end;
extern char __uncached_start, __uncached_end;
extern char __start_eh_frame[], __stop_eh_frame[];
#endif /* __ASM_SH_SECTIONS_H */
| null | null | null | null | 90,374 |
12,111 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,111 | 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/drive/chromeos/directory_loader.h"
#include <memory>
#include "base/callback_helpers.h"
#include "base/files/scoped_temp_dir.h"
#in... | null | null | null | null | 8,974 |
64,276 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,276 | 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/settings/settings_cookies_view_handler.h"
#include <algorithm>
#include <string>
#include <utility>
#include <vector>
... | null | null | null | null | 61,139 |
14,680 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,675 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2004-2009 Analog Devices Inc.
* 2005 National ICT Australia (NICTA)
* Aidan Williams <aidan@nicta.com.au>
*
* Licensed under the GPL-2 or later.
*/
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partit... | null | null | null | null | 88,022 |
1,464 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,308 | 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 -*- */
/*
ARCFOUR cipher (based on a cipher posted on the Usenet in Spring-95).
This cipher is widely believed and has been tested to be equivalent
with the RC4 cipher from RSA Data Security, Inc. (RC4 is a trademark
of RSA Data Security)
*/
#include "... | null | null | null | null | 74,616 |
50,499 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,499 | 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/ozone/platform/headless/headless_surface_factory.h"
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/location.h"
#inc... | null | null | null | null | 47,362 |
21,246 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,241 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Marvell Wireless LAN device driver: WMM
*
* Copyright (C) 2011-2014, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modif... | null | null | null | null | 94,588 |
31,207 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,207 | 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/core/frame/layout_subtree_root_list.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
namespace ... | null | null | null | null | 28,070 |
31,081 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,081 | 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 | 27,944 |
50,512 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,512 | 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 "ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.h"
#include "base/bind.h"
#include "base/files/platform_file.h"
#include "base/... | null | null | null | null | 47,375 |
67,906 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,906 | 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 REMOTING_PROTOCOL_ICE_CONFIG_H_
#define REMOTING_PROTOCOL_ICE_CONFIG_H_
#include <string>
#include <vector>
#include "base/time/time.h"
#include... | null | null | null | null | 64,769 |
31,721 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,721 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_RESOURCE_VALUE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_RESOURCE_VALUE_H_
#include ... | null | null | null | null | 28,584 |
43,239 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,234 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Motion Eye video4linux driver for Sony Vaio PictureBook
*
* Copyright (C) 2001-2003 Stelian Pop <stelian@popies.net>
*
* Copyright (C) 2001-2002 Alcôve <www.alcove.com>
*
* Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com>
*
* Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerr... | null | null | null | null | 116,581 |
68,846 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,846 | 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 "remoting/client/client_telemetry_logger.h"
#include "base/format_macros.h"
#include "base/logging.h"
#include "base/rand_util.h"
#include "base... | null | null | null | null | 65,709 |
37,282 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,282 | 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/loader/link_header.h"
#include <base/macros.h>
#include "testing/gtest/include/gtest/gtest.h"
namespace bl... | null | null | null | null | 34,145 |
50,166 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,166 | 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 UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURA_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURA_H_
#include <map>
#include "base/... | null | null | null | null | 47,029 |
12,476 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,476 | 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/infobars/core/infobar.h"
#include <cmath>
#include <utility>
#include "base/logging.h"
#include "build/build_config.h"
#include "co... | null | null | null | null | 9,339 |
65,455 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,455 | 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_ASH_ACCESSIBILITY_ACCESSIBILITY_CONTROLLER_CLIENT_H_
#define CHROME_BROWSER_UI_ASH_ACCESSIBILITY_ACCESSIBILITY_CONTROLLER_CLIENT... | null | null | null | null | 62,318 |
16,762 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,762 | 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_TRANSLATE_CORE_BROWSER_TRANSLATE_CLIENT_H_
#define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_CLIENT_H_
#include <memory>
#include <s... | null | null | null | null | 13,625 |
52,398 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,398 | 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 <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/bind.h"
#include "media/base/media_log.h"
#include "media/formats/mp2t/es_parse... | null | null | null | null | 49,261 |
52,422 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,422 | 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 <stddef.h>
#include <stdint.h>
#include <vector>
#include "base/logging.h"
#include "base/macros.h"
#include "base/test/perf_test_suite.h"
#incl... | null | null | null | null | 49,285 |
25,033 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,033 | 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 EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_STREAM_PACKET_PART_H_
#define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY... | null | null | null | null | 21,896 |
24,987 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,982 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2015 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 98,329 |
15,060 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,060 | 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 "components/dom_distiller/core/distiller_page.h"
#include <stddef.h>
#include <utility>
#include "base/bind.h"
#include "base/json/json_writer... | null | null | null | null | 11,923 |
929 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,497 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rd, rs, result;
rs = 0x12345678ABCDEF0;
result = 0x000000000001E258;
__asm
("raddu.l.ob %0, %1, %2\n\t"
: "=r"(rd)
: "r"(rs)
);
if (rd != result) {
printf("raddu.l.ob error\n");
return -1;
}
ret... | null | null | null | null | 121,621 |
1,737 | 2,6 | train_val | dcd10462fb49c72544719c490238f3a35edf3fc6 | 1,737 | Chrome | 1 | https://github.com/chromium/chromium | 2015-10-14 21:52:00+00:00 | DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl(
content::RenderFrameHost* render_frame_host,
ExternalFeedbackReporter* external_feedback_reporter,
mojo::InterfaceRequest<DistillerJavaScriptService> request)
: binding_(this, request.Pass()),
render_frame_host_(render_frame_host),
external_feedb... | null | null | https://github.com/chromium/chromium/commit/dcd10462fb49c72544719c490238f3a35edf3fc6 | null | 1,737 |
29,355 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,355 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright 2017 Google Inc. 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 applicable l... | null | null | null | null | 26,218 |
72,162 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,162 | 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 SERVICES_NETWORK_PROXY_CONFIG_SERVICE_MOJO_H_
#define SERVICES_NETWORK_PROXY_CONFIG_SERVICE_MOJO_H_
#include "base/component_export.h"
#include "... | null | null | null | null | 69,025 |
1,146 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,533 | 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,978 |
18,368 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,363 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Versi... | null | null | null | null | 91,710 |
23,769 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,764 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*-*- linux-c -*-
* linux/drivers/video/i810_accel.c -- Hardware Acceleration
*
* Copyright (C) 2001 Antonino Daplas<adaplas@pol.net>
* All Rights Reserved
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of th... | null | null | null | null | 97,111 |
1,290 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,245 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /* str2num.c: bcmath library file. */
/*
Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
Copyright (C) 2000 Philip A. Nelson
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the... | null | null | null | null | 120,166 |
14,271 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,266 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/cris/arch-v32/drivers/nandflash.c
*
* Copyright (c) 2004
*
* Derived from drivers/mtd/nand/spia.c
* Copyright (C) 2000 Steven J. Hill (sjhill@realitydiluted.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License versio... | null | null | null | null | 87,613 |
2,154 | 5 | train_val | bc1f34b9be509f1404f0bb1ba1947614d5f0bcd1 | 2,154 | Chrome | 1 | https://github.com/chromium/chromium | 2017-07-14 23:55:16+00:00 | void AddServiceRequestHandlerOnIoThread(
const std::string& name,
const ServiceRequestHandler& handler) {
DCHECK(io_thread_checker_.CalledOnValidThread());
auto result = request_handlers_.insert(std::make_pair(name, handler));
DCHECK(result.second);
}
| CVE-2015-1280 | CWE-119 | https://github.com/chromium/chromium/commit/bc1f34b9be509f1404f0bb1ba1947614d5f0bcd1 | Low | 2,154 |
21,402 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,402 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_RTC_VIDEO_ENCODER_H_
#define CONTENT_RENDERER_MEDIA_WEBRTC_RTC_VIDEO_ENCODER_H_
#include <stddef.h>
#include <stdin... | null | null | null | null | 18,265 |
1,504 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,459 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | #include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "gd.h"
#include "gd_errors.h"
/* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */
#ifdef HAVE_LIBPNG
#include "png.h" /* includes zlib.h and setjmp.h */
#include "gdhelpers.h"
#define TRUE 1
#define FALSE 0
/*-----------... | null | null | null | null | 120,380 |
35,277 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,277 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 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 | 32,140 |
20,125 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,125 | 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_PUBLIC_COMMON_USER_AGENT_H_
#define CONTENT_PUBLIC_COMMON_USER_AGENT_H_
#include <string>
#include "content/common/content_export.h"
na... | null | null | null | null | 16,988 |
5,721 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,716 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Load Analog Devices SigmaStudio firmware files
*
* Copyright 2009-2011 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/regmap.h>
#include <linux/export.h>
#include <linux/module.h>
#include "sigmadsp.h"
static int sigmadsp_write_regmap(void *control_data,
unsigned int addr, ... | null | null | null | null | 79,063 |
5,373 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,368 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ALSA sequencer Priority Queue
* Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of t... | null | null | null | null | 78,715 |
47,920 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,920 | 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 "ui/display/win/scaling_util.h"
#include <algorithm>
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/safe_integer_conversions.h"
#i... | null | null | null | null | 44,783 |
7,117 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,112 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2009 PetaLogix
*
* 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/of_platform... | null | null | null | null | 80,459 |
8,360 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,355 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* MN10300 Memory management initialisation
*
* Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Modified by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | null | null | null | null | 81,702 |
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.