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
37,073
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,068
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2011-2013 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gp...
null
null
null
null
110,415
46,915
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,915
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 GIN_V8_INITIALIZER_H_ #define GIN_V8_INITIALIZER_H_ #include <stdint.h> #include "base/files/file.h" #include "base/files/memory_mapped_file.h" ...
null
null
null
null
43,778
64,845
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,845
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/app_list_service.h" #include "chrome/browser/ui/app_list/app_list_client_impl.h" #include "chrome/browser/ui/browser...
null
null
null
null
61,708
3,206
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,263
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * MSF demuxer * Copyright (c) 2015 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your o...
null
null
null
null
72,318
16,438
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,433
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) 1995, 96, 99, 2001 Ralf Baechle <ralf@linux-mips.org> * Copyright (C) 2009 Wind River Systems * Written by Ralf Baechle <r...
null
null
null
null
89,780
12,614
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,609
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GEFanuc C2K platform code. * * Author: Remi Machet <rmachet@slac.stanford.edu> * * Originated from prpmc2800.c * * 2008 (c) Stanford University * 2007 (c) MontaVista, Software, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public Li...
null
null
null
null
85,956
30,134
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,134
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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
null
null
null
null
26,997
45,197
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,197
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 ASH_SCOPED_ROOT_WINDOW_FOR_NEW_WINDOWS_H_ #define ASH_SCOPED_ROOT_WINDOW_FOR_NEW_WINDOWS_H_ #include "ash/ash_export.h" #include "base/macros.h" ...
null
null
null
null
42,060
24,807
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,807
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 "extensions/renderer/gin_port.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/optional.h" #include "base/strings/stringp...
null
null
null
null
21,670
7,447
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,442
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * NUMA emulation */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/topology.h> #include <linux/memblock.h> #include <linux/bootmem.h> #include <asm/dma.h> #include "numa_internal.h" static int emu_nid_to_phys[MAX_NUMNODES]; static char *emu_cmdline __initdata; void __init numa_emu_cmdline(ch...
null
null
null
null
80,789
50,377
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,377
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/base/ime/chromeos/extension_ime_util.h" #include "base/strings/string_util.h" namespace chromeos { namespace { const char kExtensionIMEPr...
null
null
null
null
47,240
42,845
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,845
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* event-config.h * Generated by autoconf; post-processed by libevent. * Do not edit this file. * Do not rely on macros in this file existing in later versions. */ #ifndef _EVENT_CONFIG_H_ #define _EVENT_CONFIG_H_ /* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.i...
null
null
null
null
39,708
1,566
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,134
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * replay-events.c * * Copyright (c) 2010-2015 Institute for System Programming * of the Russian Academy of Sciences. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include...
null
null
null
null
122,258
16,789
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,784
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Page fault handler for SH with an MMU. * * Copyright (C) 1999 Niibe Yutaka * Copyright (C) 2003 - 2012 Paul Mundt * * Based on linux/arch/i386/mm/fault.c: * Copyright (C) 1995 Linus Torvalds * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "C...
null
null
null
null
90,131
13,161
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,161
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/password_manager/core/browser/stub_form_saver.h" namespace password_manager { std::unique_ptr<FormSaver> StubFormSaver::Clone() { ...
null
null
null
null
10,024
22,350
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,345
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright IBM Corp. 2000, 2009 * Author(s): Utz Bacher <utz.bacher@de.ibm.com> * Jan Glauber <jang@linux.vnet.ibm.com> */ #ifndef _CIO_QDIO_H #define _CIO_QDIO_H #include <asm/page.h> #include <asm/schid.h> #include <asm/debug.h> #include "chsc.h" #define QDIO_BUSY_BIT_PATIENCE (100 << 12) /* 100 micr...
null
null
null
null
95,692
30,294
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,289
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/phy/phy.h> /** * Helper that registers PHY for a ULPI device and adds a lookup for binding it * and it's controller, which is always the parent. */ static inline struct phy *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) { struct phy *phy; int ret; phy = phy_create(&ulpi->dev, NUL...
null
null
null
null
103,636
1,393
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,961
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "standard-headers/linux/virtio_config.h"
null
null
null
null
122,085
14,879
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,874
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2007-2009 Analog Devices Inc. * Philippe Gerum <rpm@xenomai.org> * * Licensed under the GPL-2 or later. */ #ifndef __ASM_BLACKFIN_CPU_H #define __ASM_BLACKFIN_CPU_H #include <linux/percpu.h> struct blackfin_cpudata { struct cpu cpu; unsigned int imemctl; unsigned int dm...
null
null
null
null
88,221
436
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,823
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2000-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,268
66,588
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,588
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_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ #include <memory>...
null
null
null
null
63,451
16,796
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,791
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/sh/mm/cache-sh2a.c * * Copyright (C) 2008 Yoshinori Sato * * Released under the terms of the GNU GPL v2.0. */ #include <linux/init.h> #include <linux/mm.h> #include <asm/cache.h> #include <asm/addrspace.h> #include <asm/processor.h> #include <asm/cacheflush.h> #include <asm/io.h> /* * The maximum nu...
null
null
null
null
90,138
27,599
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,594
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * rtl8712_xmit.c * * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. * Linux device driver for RTL8192SU * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of...
null
null
null
null
100,941
69,104
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,104
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 URL_MOJO_ORIGIN_MOJOM_TRAITS_H_ #define URL_MOJO_ORIGIN_MOJOM_TRAITS_H_ #include "base/strings/string_piece.h" #include "url/mojom/origin.mojom.h...
null
null
null
null
65,967
68,254
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,254
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 "base/macros.h" #include "base/strings/string_split.h" #include "base/strings/string_util.h" #include "remoting/host/client_session_details.h" #i...
null
null
null
null
65,117
37,080
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,075
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/clk-provider.h> #include <linux/io.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/err.h> #include "clk.h" /** * pll v1 * * @clk_hw clock source * @parent the parent clock name * @base base address of pll registers * * PLL clock version 1, found on i.MX1/21/25/27/31/35 */ ...
null
null
null
null
110,422
16,552
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,547
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/export.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/task_stack.h> #include <linux/stacktrace.h> #include <asm/stacktrace.h> #if defined(CONFIG_FRAME_POINTER) #ifdef CONFIG_KALLSYMS #include <linux/kallsyms.h> #include <linux/module.h> static unsigned long tbi_boin...
null
null
null
null
89,894
42,077
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,072
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) ST-Ericsson SA 2012 * * Author: Ola Lilja <ola.o.lilja@stericsson.com> * for ST-Ericsson. * * License terms: * * 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 ...
null
null
null
null
115,419
19,104
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,099
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* BSDI dptsig.h,v 1.7 1998/06/03 19:15:00 karels Exp */ /* * Copyright (c) 1996-1999 Distributed Processing Technology Corporation * All rights reserved. * * Redistribution and use in source form, with or without modification, are * permitted provided that redistributions of source code must retain the * above ...
null
null
null
null
92,446
1,137
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,705
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include<stdio.h> #include<assert.h> int main() { int rd, rs, rt, dsp; int result, resultdsp; rs = 0x80000000; rt = 0x0ffc0000; result = 0xF0040000; resultdsp = 0; __asm ("mulq_s.ph %0, %2, %3\n\t" "rddsp %1\n\t" : "=r"(rd), "=r"(dsp) : "r"(rs), "r"(rt) ...
null
null
null
null
121,829
37,039
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,034
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Clocks for ux500 platforms * * Copyright (C) 2012 ST-Ericsson SA * Author: Ulf Hansson <ulf.hansson@linaro.org> * * License terms: GNU General Public License (GPL) version 2 */ #ifndef __UX500_CLK_H #define __UX500_CLK_H #include <linux/device.h> #include <linux/types.h> struct clk; struct clk *clk_reg_...
null
null
null
null
110,381
53,908
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,908
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 ANDROID_WEBVIEW_BROWSER_SCOPED_APP_GL_STATE_RESTORE_H_ #define ANDROID_WEBVIEW_BROWSER_SCOPED_APP_GL_STATE_RESTORE_H_ #include <memory> #include ...
null
null
null
null
50,771
222
43,44,45,46,47,51,53,56,57,58,59,60
train_val
a8b0ca17b80e92faab46ee7179ba9e99ccb61233
165,217
linux
1
https://github.com/torvalds/linux
2011-07-01 11:06:35+02:00
static int __perf_event_overflow(struct perf_event *event, int nmi, int throttle, struct perf_sample_data *data, struct pt_regs *regs) { int events = atomic_read(&event->event_limit); struct hw_perf_event *hwc = &event->hw; int ret = 0; /* * Non-sampling counters might still use the PMI to fold short * hardware counte...
CVE-2011-2918
CWE-399
https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233
Low
3,111
71,304
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,304
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 "services/service_manager/tests/util.h" #include "base/base_paths.h" #include "base/base_switches.h" #include "base/bind.h" #include "base/comma...
null
null
null
null
68,167
42,589
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,589
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "base/win/event_trace_provider.h" #include <windows.h> #include <cguid.h> namespace base { namespace win { TRACE_GUID_REGISTRATION EtwTra...
null
null
null
null
39,452
57,252
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,252
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_CHROMEOS_ARC_ARC_UTIL_H_ #define CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_ #include <stdint.h> #include "ash/public/interfaces/voic...
null
null
null
null
54,115
34,755
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,755
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
31,618
604
24,28
train_val
58436a1770176ece2c02b28a57bba2a89db5d58b
604
Chrome
1
https://github.com/chromium/chromium
2012-03-21 17:10:26+00:00
void RenderViewImpl::OnSwapOut(const ViewMsg_SwapOut_Params& params) { // Ensure that no other in-progress navigation continues. OnStop(); // Only run unload if we're not swapped out yet, but send the ack either way. if (!is_swapped_out_) { // Swap this RenderView out so the tab can navigate to a page rendered by a //...
CVE-2011-3087
null
https://github.com/chromium/chromium/commit/58436a1770176ece2c02b28a57bba2a89db5d58b
Low
604
40,124
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,119
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Generic implementation of 64-bit atomics using spinlocks, * useful on processors that don't have 64-bit atomic instructions. * * Copyright © 2009 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pu...
null
null
null
null
113,466
17,813
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,808
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * AArch32 (compat) system call definitions. * * Copyright (C) 2001-2005 Russell King * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Th...
null
null
null
null
91,155
16,342
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,337
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef BCM63XX_DEV_USB_USBD_H_ #define BCM63XX_DEV_USB_USBD_H_ /* * usb device platform data */ struct bcm63xx_usbd_platform_data { /* board can only support full speed (USB 1.1) */ int use_fullspeed; /* 0-based port index, for chips with >1 USB PHY */ int port_no; }; int bcm63xx_usbd_register(const struct bc...
null
null
null
null
89,684
37,470
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,465
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* cpufreq-bench CPUFreq microbenchmark * * Copyright (C) 2008 Christian Kornacker <ckornacker@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 Licen...
null
null
null
null
110,812
16,700
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,700
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 COMPONENTS_CLIENT_UPDATE_PROTOCOL_ECDSA_H_ #define COMPONENTS_CLIENT_UPDATE_PROTOCOL_ECDSA_H_ #include <stdint.h> #include <memory> #include <st...
null
null
null
null
13,563
68,522
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,522
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 "remoting/host/chromeos/message_box.h" #include "base/macros.h" #include "ui/base/l10n/l10n_util.h" #include "ui/views/controls/message_box_view...
null
null
null
null
65,385
66,354
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,354
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/spellchecker/spellcheck_factory.h" #include "chrome/browser/profiles/incognito_helpers.h" #include "chrome/browser/spellchec...
null
null
null
null
63,217
62,121
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,121
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_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_ANDROID_H_ #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_ANDROID_H_ #include "base/...
null
null
null
null
58,984
44,061
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,056
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2013 Texas Instruments Inc * * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. * * Contributors: * Hans Verkuil <hans.verkuil@cisco.com> * Lad, Prabhakar <prabhakar.lad@ti.com> * Martin Bugge <marbugge@cisco.com> * * This program is free software; you can redistribute ...
null
null
null
null
117,403
1,413
10,11,12,13,17,18,19,21,24,25,27,30,31,32,33,34,36,37,38,39,40,41,42,43,44,45,46,49
train_val
2aa406a8b4577103e7b933c75ec0e372830f20fe
1,413
Chrome
1
https://github.com/chromium/chromium
2014-02-07 08:55:19+00:00
bool WebviewHandler::Parse(Extension* extension, base::string16* error) { scoped_ptr<WebviewInfo> info(new WebviewInfo()); const base::DictionaryValue* dict_value = NULL; if (!extension->manifest()->GetDictionary(keys::kWebview, &dict_value)) { *error = base::ASCIIToUTF16(errors::kInvalidWebview); return false; } c...
CVE-2013-2885
CWE-399
https://github.com/chromium/chromium/commit/2aa406a8b4577103e7b933c75ec0e372830f20fe
Low
1,413
25,901
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,896
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * * Copyright (C) 2016 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, mo...
null
null
null
null
99,243
14,868
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,863
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Blackfin KGDB header * * Copyright 2005-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __ASM_BLACKFIN_KGDB_H__ #define __ASM_BLACKFIN_KGDB_H__ #include <linux/ptrace.h> /* * BUFMAX defines the maximum number of characters in inbound/outbound buffers. * At least NUMREGBYTES*2 are...
null
null
null
null
88,210
32,820
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,815
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * iio/adc/max1027.c * Copyright (C) 2014 Philippe Reynes * * based on linux/drivers/iio/ad7923.c * Copyright 2011 Analog Devices Inc (from AD7923 Driver) * Copyright 2012 CS Systemes d'Information * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
null
null
null
null
106,162
12,515
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,510
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Routines to emulate some Altivec/VMX instructions, specifically * those that can trap when given denormalized operands in Java mode. */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/sched.h> #include <asm/ptrace.h> #include <asm/processor.h> #include <linux/uaccess.h> /* Functions in vecto...
null
null
null
null
85,857
17,486
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,481
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * User space memory access functions for Nios II * * Copyright (C) 2010-2011, Tobias Klauser <tklauser@distanz.ch> * Copyright (C) 2009, Wind River Systems Inc * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com * * This file is subject to the terms and conditions of the GNU General Pub...
null
null
null
null
90,828
6,259
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,254
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Additional mixer mapping * * Copyright (c) 2002 by Takashi Iwai <tiwai@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 * (...
null
null
null
null
79,601
24,961
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,956
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2012 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,303
7,022
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,022
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 NET_QUIC_CHROMIUM_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ #define NET_QUIC_CHROMIUM_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ #include <string> #include <vector> ...
null
null
null
null
3,885
34,871
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,871
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
31,734
40,706
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,706
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,569
31,746
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,741
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* $Id: w6692.h,v 1.4.2.2 2004/01/12 22:52:29 keil Exp $ * * Winbond W6692 specific defines * * Author Petr Novak * Copyright by Petr Novak <petr.novak@i.cz> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference...
null
null
null
null
105,088
1,452
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,509
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2002-2012 Michael Niedermayer * Copyright (C) 2012 Ronald S. Bultje * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versi...
null
null
null
null
70,564
3,571
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,566
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * page.h - buffer/page management specific to NILFS * * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ver...
null
null
null
null
76,913
72,006
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
72,006
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/device/generic_sensor/sensor_provider_impl.h" #include <utility> #include "base/feature_list.h" #include "base/memory/ptr_util.h" #in...
null
null
null
null
68,869
14,762
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,762
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/exo/seat.h" #include "ash/shell.h" #include "base/auto_reset.h" #include "base/strings/utf_string_conversions.h" #include "component...
null
null
null
null
11,625
8,076
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,076
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 "net/cert/internal/system_trust_store.h" #if defined(USE_NSS_CERTS) #include <cert.h> #include <pk11pub.h> #elif defined(OS_MACOSX) && !defined(...
null
null
null
null
4,939
2,267
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,835
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Hard disk geometry utilities * * Copyright (C) 2012 Red Hat, Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * * This file incorporates work covered by the following copyright and * permission notice: * * Copyright (c)...
null
null
null
null
122,959
40,950
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,950
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,813
10,918
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,913
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef ___ASM_SPARC_IOMMU_H #define ___ASM_SPARC_IOMMU_H #if defined(__sparc__) && defined(__arch64__) #include <asm/iommu_64.h> #else #include <asm/iommu_32.h> #endif #endif
null
null
null
null
84,260
31,449
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,444
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/block/ataflop.c * * Copyright (C) 1993 Greg Harp * Atari Support by Bjoern Brauel, Roman Hodek * * Big cleanup Sep 11..14 1994 Roman Hodek: * - Driver now works interrupt driven * - Support for two drives; should work, but I cannot test that :-( * - Reading is done in whole tracks and b...
null
null
null
null
104,791
1,901
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,469
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * ARM Platform Bus device tree generation helpers * * Copyright (c) 2014 Linaro Limited * * Authors: * Alex Graf <agraf@suse.de> * Eric Auger <eric.auger@linaro.org> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public Lice...
null
null
null
null
122,593
455
54
train_val
19190765882e272a6a2162c89acdb29110f7e3cf
455
Chrome
1
https://github.com/chromium/chromium
2011-09-21 22:56:29+00:00
int DirectoryBackingStore::CreateTables() { VLOG(1) << "First run, creating tables"; // Create two little tables share_version and share_info int result = ExecQuery(load_dbhandle_, "CREATE TABLE share_version (" "id VARCHAR(128) primary key, data INT)"); if (result != SQLITE_DONE) return result; { sqlite_utils::SQLStat...
null
null
https://github.com/chromium/chromium/commit/19190765882e272a6a2162c89acdb29110f7e3cf
null
455
56,563
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,563
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/ui/captive_portal_view.h" #include "base/strings/utf_string_conversions.h" #include "chrome/browser/chromeos/logi...
null
null
null
null
53,426
39,255
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,255
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 THIRD_PARTY_BLINK_RENDERER_MODULES_WEBUSB_USB_ENDPOINT_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBUSB_USB_ENDPOINT_H_ #include "device/usb/...
null
null
null
null
36,118
16,164
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,164
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_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ #define COMPONENTS_SYNC_MODEL_MODEL_TYPE_CHANGE_PROCESSOR_H_ #include <memory> #include <str...
null
null
null
null
13,027
70,965
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,965
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 SANDBOX_SRC_TARGET_SERVICES_H__ #define SANDBOX_SRC_TARGET_SERVICES_H__ #include "base/macros.h" #include "sandbox/win/src/sandbox.h" #includ...
null
null
null
null
67,828
43,864
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,859
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/************************************************************************** * * Copyright 2006 Tungsten Graphics, Inc., Bismack, ND. USA. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"...
null
null
null
null
117,206
1,154
1,2,3,4,5,6,7
train_val
802ecdb9cee0d66fe546bdf24e98150f8f716ad8
1,154
Chrome
1
https://github.com/chromium/chromium
2012-12-15 00:47:49+00:00
void WriteFakeData(uint8* audio_data, size_t length) { Type* output = reinterpret_cast<Type*>(audio_data); for (size_t i = 0; i < length; i++) { // The value of the data is meaningless; we just want non-zero data to // differentiate it from muted data. output[i] = i % 5 + 10; } }
CVE-2012-5152
CWE-119
https://github.com/chromium/chromium/commit/802ecdb9cee0d66fe546bdf24e98150f8f716ad8
Low
1,154
1,825
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,393
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU PowerPC MPC8544 global util pseudo-device * * Copyright (C) 2011 Freescale Semiconductor, Inc. All rights reserved. * * Author: Alexander Graf, <alex@csgraf.de> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
null
null
null
null
122,517
35,256
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,256
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_EXPORTED_WEB_FORM_ELEMENT_OBSERVER_IMPL_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_EXPORTED_WEB_FORM_ELEMENT_OBSER...
null
null
null
null
32,119
16,914
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,909
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Shared support for SH-X3 interrupt controllers. * * Copyright (C) 2009 - 2010 Paul Mundt * * 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/irq.h> #include <linux/io...
null
null
null
null
90,256
915
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,483
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, rt; long long result; rs = 0x12345678; rt = 0x87654321; result = 0x56788765; __asm ("packrl.ph %0, %1, %2\n\t" : "=r"(rd) : "r"(rs), "r"(rt) ); if (result != rd) { printf("packrl.ph wrong\n"); ...
null
null
null
null
121,607
3,014
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,009
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* SCTP kernel implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999-2000 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * Copyright (c) 2001 Intel Corp. * * This file is part of the SCTP kernel implementation * * This file converts numerical ID value to alphabetical names for SCTP * t...
null
null
null
null
76,357
4,070
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,065
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* AFS File Server client stubs * * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foun...
null
null
null
null
77,412
1,045
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,889
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 -*- */ /* lib/krb5/os/read_pwd.c */ /* * Copyright 1990,1991 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Governme...
null
null
null
null
74,197
19,884
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,884
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ #define CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ #include <memory> #include "base/macros.h" #in...
null
null
null
null
16,747
2,871
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,928
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (C) 2001-2012 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licens...
null
null
null
null
71,983
9,873
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,873
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 "chromecast/media/cma/base/buffering_controller.h" #include "base/bind.h" #include "base/location.h" #include "base/single_thread_task_runner.h"...
null
null
null
null
6,736
21,985
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,985
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_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGES_H_ #define CONTENT_COMMON_BROWSER_PLUGIN_BROWSER_PLUGIN_MESSAGES_H_ #include <string> ...
null
null
null
null
18,848
1,071
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,915
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 -*- */ /* lib/krb5/os/mk_faddr.c - Generate full address from IP addr and port */ /* * Copyright 1995, 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a s...
null
null
null
null
74,223
15,326
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,326
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_ARC_USB_USB_HOST_BRIDGE_H_ #define COMPONENTS_ARC_USB_USB_HOST_BRIDGE_H_ #include <string> #include <vector> #include "base/callback_...
null
null
null
null
12,189
2,923
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,491
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU timed average computation * * Copyright (C) Nodalink, EURL. 2014 * Copyright (C) Igalia, S.L. 2015 * * Authors: * Benoît Canet <benoit.canet@nodalink.com> * Alberto Garcia <berto@igalia.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU...
null
null
null
null
123,615
31,802
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,802
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/shorthands/grid_row.h" #include "third_party/blink/renderer/core/css/parser/css_parser_context.h...
null
null
null
null
28,665
37,116
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,111
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2014 Marvell Technology Group Ltd. * * Alexandre Belloni <alexandre.belloni@free-electrons.com> * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public Licen...
null
null
null
null
110,458
35,417
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,412
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/pci.h> #include <linux/usb.h> #include <linux/usb/ehci_def.h> #include <linux/usb/hcd.h> #include <asm/xen/hypercall.h> #include <xen/interface/physdev.h> #include <xen/xen.h> static int xen_dbgp_op(struct usb_hcd *hcd, int op) { #ifdef CONFIG_PCI const struct device *ctrlr = hcd_to_bus(hcd)->controll...
null
null
null
null
108,759
14,579
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,574
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _CRIS_DELAY_H #define _CRIS_DELAY_H /* * Copyright (C) 1998-2002 Axis Communications AB * * Delay routines, using a pre-computed "loops_per_second" value. */ #include <arch/delay.h> /* Use only for very small delays ( < 1 msec). */ extern unsigned long loops_per_usec; /* arch/cris/mm/init.c */ /* May ...
null
null
null
null
87,921
34,392
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,392
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 "third_party/blink/renderer/core/paint/frame_set_painter.h" #include "third_party/blink/renderer/core/html/html_frame_set_element.h" #include "t...
null
null
null
null
31,255
34,168
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,168
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_FETCH_BYTES_CONSUMER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_BYTES_CONSUMER_H_ #include "base/memory/sco...
null
null
null
null
31,031
72,207
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
72,207
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 "services/network/cross_origin_read_blocking.h" #include <stddef.h> #include <string> #include "base/command_line.h" #include "base/lazy_instan...
null
null
null
null
69,070
7,798
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,798
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file intentionally does not have header guards, it's included // inside a macro to generate values. The following line silences a // presubmit war...
null
null
null
null
4,661
34,051
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,051
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/layout/ng/geometry/ng_logical_rect.h" #include <algorithm> #include "third_party/blink/renderer/platform/geomet...
null
null
null
null
30,914
32,445
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,440
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/*====================================================================== This driver provides a method to access memory not used by the kernel itself (i.e. if the kernel commandline mem=xxx is used). To actually use slram at least mtdblock or mtdchar is required (for block or character device access). Usage...
null
null
null
null
105,787