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
19,108
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,103
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _SCSI_I2O_H #define _SCSI_I2O_H /* I2O kernel space accessible structures/APIs * * (c) Copyright 1999, 2000 Red Hat Software * * 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; eith...
null
null
null
null
92,450
69,995
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,995
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "device/bluetooth/dbus/fake_bluetooth_agent_service_provider.h" #include "device/bluetooth/dbus/bluez_dbus_manager.h" #include "device/bluet...
null
null
null
null
66,858
1,105
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,949
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/krb/bld_princ.c - Build a principal from a list of strings */ /* * Copyright 1991 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific...
null
null
null
null
74,257
8,978
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,978
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_HTTP2_TOOLS_HTTP2_BUG_TRACKER_H_ #define NET_HTTP2_TOOLS_HTTP2_BUG_TRACKER_H_ #include "base/logging.h" #define HTTP2_BUG LOG(DFATAL) #defin...
null
null
null
null
5,841
38,822
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,817
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Test the statx() system call. * * Note that the output of this program is intended to look like the output of * /bin/stat where possible. * * Copyright (C) 2015 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/o...
null
null
null
null
112,164
46,382
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,382
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 ASH_TOUCH_HUD_ASH_TOUCH_HUD_EXPORT_H_ #define ASH_TOUCH_HUD_ASH_TOUCH_HUD_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32) #if defined(...
null
null
null
null
43,245
14,635
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,630
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OpenRISC Linux * * Linux architectural port borrowing liberally from similar works of * others. All original copyrights apply as per the original source * declaration. * * OpenRISC implementation: * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpo...
null
null
null
null
87,977
21,969
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,969
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 "content/common/text_input_state.h" namespace content { TextInputState::TextInputState() : type(ui::TEXT_INPUT_TYPE_NONE), mode(ui::T...
null
null
null
null
18,832
13,124
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,124
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/password_manager/core/browser/test_password_store.h" #include <stddef.h> #include <memory> #include "base/logging.h" #include "bas...
null
null
null
null
9,987
40,392
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,392
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,255
10,485
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,485
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 "base/bind.h" #include "base/callback.h" #include "base/macros.h" #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include...
null
null
null
null
7,348
28,505
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,505
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */ /* */ /* Use of this source code is governed by a BSD-style license */ /* that can be found in the LICENSE file in the root of the source */ /* tree. An additional intellectual property rights grant can be found */ /* in the file PATENTS. All con...
null
null
null
null
25,368
14,714
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,714
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_EXO_LAYER_TREE_FRAME_SINK_HOLDER_H_ #define COMPONENTS_EXO_LAYER_TREE_FRAME_SINK_HOLDER_H_ #include <memory> #include "ash/shell_obse...
null
null
null
null
11,577
28,396
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,391
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/** * Copyright (c) 2010-2012 Broadcom. 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 conditi...
null
null
null
null
101,738
42,009
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,009
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. // // Utility methods for MCS interactions. #ifndef GOOGLE_APIS_GCM_BASE_MCS_UTIL_H_ #define GOOGLE_APIS_GCM_BASE_MCS_UTIL_H_ #include <stdint.h> #inclu...
null
null
null
null
38,872
24,582
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,577
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2013 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
97,924
7,113
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,113
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 "net/quic/core/quic_spdy_client_session_base.h" #include "net/quic/core/quic_client_promised_info.h" #include "net/quic/core/spdy_utils.h" #incl...
null
null
null
null
3,976
3,478
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,535
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2015 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,590
10,703
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,698
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * SPARC64 Huge TLB page support. * * Copyright (C) 2002, 2003, 2006 David S. Miller (davem@davemloft.net) */ #include <linux/fs.h> #include <linux/mm.h> #include <linux/sched/mm.h> #include <linux/hugetlb.h> #include <linux/pagemap.h> #include <linux/sysctl.h> #include <asm/mman.h> #include <asm/pgalloc.h> #in...
null
null
null
null
84,045
33,030
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,030
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2007 Apple 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 conditi...
null
null
null
null
29,893
17,815
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,815
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/webcrypto/algorithms/asymmetric_key_util.h" #include <stdint.h> #include <utility> #include "components/webcrypto/algorithms/util.h...
null
null
null
null
14,678
26,292
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,287
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef COMMON_XML #define COMMON_XML /* Autogenerated file, DO NOT EDIT manually! This file was generated by the rules-ng-ng headergen tool in this git repository: http://0x04.net/cgit/index.cgi/rules-ng-ng git clone git://0x04.net/rules-ng-ng The rules-ng-ng source files this header was generated from are: - state...
null
null
null
null
99,634
61,187
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
61,187
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/resource_coordinator/resource_coordinator_render_process_probe.h" #include <vector> #include "base/bind.h" #include "base/value...
null
null
null
null
58,050
33,389
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,384
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* This file is provided under a dual BSD/GPLv2 license. When using or redistributing this file, you may do so under either license. GPL LICENSE SUMMARY Copyright(c) 2014 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU Gene...
null
null
null
null
106,731
47,734
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,734
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 CC_ANIMATION_ANIMATION_EXPORT_H_ #define CC_ANIMATION_ANIMATION_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32) #if defined(CC_ANIMATI...
null
null
null
null
44,597
2,284
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,852
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * TI OMAP processors GPIO emulation. * * Copyright (C) 2006-2008 Andrzej Zaborowski <balrog@zabor.org> * Copyright (C) 2007-2009 Nokia 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 Softwa...
null
null
null
null
122,976
20,069
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,069
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_COMMON_PEPPER_PLUGIN_INFO_H_ #define CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ #include <stdint.h> #include <string> #inclu...
null
null
null
null
16,932
29,096
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,091
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Hardware monitoring driver for LTC2978 and compatible chips. * * Copyright (c) 2011 Ericsson AB. * Copyright (c) 2013, 2014, 2015 Guenter Roeck * Copyright (c) 2015 Linear Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
null
null
null
null
102,438
59,509
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,509
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/extensions/api/web_navigation/web_navigation_api_constants.h" namespace extensions { namespace web_navigation_api_constants...
null
null
null
null
56,372
11,619
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,619
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GPU_VULKAN_VULKAN_DESCRIPTOR_LAYOUT_H_ #define GPU_VULKAN_VULKAN_DESCRIPTOR_LAYOUT_H_ #include <vulkan/vulkan.h> #include <memory> #include ...
null
null
null
null
8,482
10,112
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,107
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2006 Andrew Victor * * 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 __MACH_KS8659_GPIO_H #define __MACH_KS8659_GPIO_H #include <linux/kernel.h> ...
null
null
null
null
83,454
9,131
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,126
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OMAP3xxx PRM module functions * * Copyright (C) 2010-2012 Texas Instruments, Inc. * Copyright (C) 2010 Nokia Corporation * Benoît Cousson * Paul Walmsley * Rajendra Nayak <rnayak@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
null
null
null
null
82,473
70,102
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,102
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_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_CHARACTERISTIC_H_ #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_CHARACTERISTIC_H_ #include <stdint....
null
null
null
null
66,965
41,569
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,569
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/gn/label.h" #include "base/logging.h" #include "base/strings/string_util.h" #include "build/build_config.h" #include "tools/gn/err.h"...
null
null
null
null
38,432
47,303
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,303
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 CC_INPUT_SCROLL_STATE_DATA_H_ #define CC_INPUT_SCROLL_STATE_DATA_H_ #include <stdint.h> #include <list> #include "cc/cc_export.h" #include "cc/...
null
null
null
null
44,166
6,076
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,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. #ifndef CHROMEOS_COMPONENTS_TETHER_CONNECT_TETHERING_OPERATION_H_ #define CHROMEOS_COMPONENTS_TETHER_CONNECT_TETHERING_OPERATION_H_ #include <map> #inclu...
null
null
null
null
2,939
19,723
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,718
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/**************************************************************************** * Driver for Solarflare network controllers and boards * Copyright 2005-2006 Fen Systems Ltd. * Copyright 2006-2013 Solarflare Communications Inc. * * This program is free software; you can redistribute it and/or modify it * under the t...
null
null
null
null
93,065
15,747
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,742
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * 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. * * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2013 John Crispin <john@phrozen.org> */ #include <lin...
null
null
null
null
89,089
61,505
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
61,505
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_PRERENDER_PRERENDER_FIELD_TRIAL_H_ #define CHROME_BROWSER_PRERENDER_PRERENDER_FIELD_TRIAL_H_ #include "base/feature_list.h" c...
null
null
null
null
58,368
66,201
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,201
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DEVICE_DESCRIPTION_FETCHER_H_ #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DEVICE_DESCRIPTION...
null
null
null
null
63,064
45
5,15
train_val
dc0b027dfadfcb8a5504f7d8052754bf8d501ab9
165,040
linux
1
https://github.com/torvalds/linux
2008-12-23 15:21:56-05:00
static int nfs4_open_recover_helper(struct nfs4_opendata *opendata, mode_t openflags, struct nfs4_state **res) { struct nfs4_state *newstate; int ret; opendata->o_arg.open_flags = openflags; memset(&opendata->o_res, 0, sizeof(opendata->o_res)); memset(&opendata->c_res, 0, sizeof(opendata->c_res)); nfs4_init_opendata_...
CVE-2011-4324
null
https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9
Low
2,934
10,933
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,928
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef ___ASM_SPARC_PERCPU_H #define ___ASM_SPARC_PERCPU_H #if defined(__sparc__) && defined(__arch64__) #include <asm/percpu_64.h> #else #include <asm/percpu_32.h> #endif #endif
null
null
null
null
84,275
13,717
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,717
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_CDM_RENDERER_WIDEVINE_KEY_SYSTEM_PROPERTIES_H_ #define COMPONENTS_CDM_RENDERER_WIDEVINE_KEY_SYSTEM_PROPERTIES_H_ #include "build/build...
null
null
null
null
10,580
3,334
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,902
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#ifndef _LINUX_VIRTIO_RING_H #define _LINUX_VIRTIO_RING_H /* An interface for efficient virtio implementation, currently for use by KVM * and lguest, but hopefully others soon. Do NOT change this since it will * break existing servers and clients. * * This header is BSD licensed so anyone can use the definitions t...
null
null
null
null
124,026
26,906
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,901
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for the Synopsys DesignWare AHB DMA Controller * * Copyright (C) 2005-2007 Atmel Corporation * Copyright (C) 2010-2011 ST Microelectronics * Copyright (C) 2016 Intel Corporation * * 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
100,248
30,800
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,800
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. // This file has been auto-generated from the Jinja2 template // third_party/blink/renderer/bindings/templates/interface.h.tmpl // by the script code_gene...
null
null
null
null
27,663
52,301
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,301
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 MEDIA_AUDIO_PULSE_PULSE_UTIL_H_ #define MEDIA_AUDIO_PULSE_PULSE_UTIL_H_ #include <pulse/pulseaudio.h> #include <string> #include "base/macr...
null
null
null
null
49,164
18,090
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,085
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2006 Chelsio, Inc. 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) Version 2, available from the file * COPYING in the main directory of this source tree,...
null
null
null
null
91,432
53,899
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,899
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 "android_webview/browser/aw_http_auth_handler.h" #include "android_webview/browser/aw_contents.h" #include "android_webview/browser/aw_login...
null
null
null
null
50,762
9,969
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,969
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 "chromecast/media/cma/backend/post_processors/post_processor_wrapper.h" #include "base/logging.h" #include "chromecast/public/media/audio_post_p...
null
null
null
null
6,832
66,364
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,364
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_service.h" #include <ostream> #include "base/command_line.h" #include "base/macros.h" #include "bas...
null
null
null
null
63,227
9,230
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,230
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. // // HttpBasicStream is a simple implementation of HttpStream. It assumes it is // not sharing a sharing with any other HttpStreams, therefore it jus...
null
null
null
null
6,093
1,724
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,781
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
null
null
null
null
70,836
9,629
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,624
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
static struct fsr_info fsr_info[] = { { do_bad, SIGBUS, 0, "unknown 0" }, { do_bad, SIGBUS, 0, "unknown 1" }, { do_bad, SIGBUS, 0, "unknown 2" }, { do_bad, SIGBUS, 0, "unknown 3" }, { do_bad, SIGBUS, 0, "reserved translation fault" }, { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 t...
null
null
null
null
82,971
14,004
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,004
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/offline_pages/core/prefetch/mark_operation_done_task.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/...
null
null
null
null
10,867
56,586
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,586
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WRONG_HWID_SCREEN_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WRONG_HWID_SCREEN_H_ #include <strin...
null
null
null
null
53,449
19,916
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,911
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC. * * 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) 1999 kaz Kojima */ #include <linux/module.h> #includ...
null
null
null
null
93,258
25,408
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,408
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 EXTENSIONS_BROWSER_MOCK_EXTERNAL_PROVIDER_H_ #define EXTENSIONS_BROWSER_MOCK_EXTERNAL_PROVIDER_H_ #include <map> #include <memory> #include <stri...
null
null
null
null
22,271
17,626
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,621
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) 2001 - 2012 Tensilica Inc. */ #ifndef _XTENSA_SYSTEM_H #define _XTENSA_SYSTEM_H #define mb() ({ __asm__ __volatile__("me...
null
null
null
null
90,968
51,153
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,153
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/events/devices/device_util_linux.h" #include <string> #include "base/files/file_enumerator.h" #include "base/files/file_path.h" #include "b...
null
null
null
null
48,016
8,316
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,316
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/android/jni_android.h" #include "net/test/android/net_test_jni_onload.h" // This is called by the VM when the shared library is first load...
null
null
null
null
5,179
68,909
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,909
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 "remoting/client/input/normalizing_input_filter_cros.h" #include <stdint.h> #include "remoting/proto/event.pb.h" #include "remoting/protocol/pr...
null
null
null
null
65,772
66,410
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,410
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/memory/ref_counted.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/ui/browser.h" #include ...
null
null
null
null
63,273
537
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,924
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,369
67,008
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,008
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_PROFILE_UTIL_H_ #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_PROFILE_UTIL_H_ #incl...
null
null
null
null
63,871
27,424
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,424
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* inftrees.c -- generate Huffman trees for efficient decoding * Copyright (C) 1995-2017 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zutil.h" #include "inftrees.h" #define MAXBITS 15 const char inflate_copyright[] = " inflate 1.2.11 Copyright 1995-2017 Mark ...
null
null
null
null
24,287
844
2
train_val
7f8cdab6fda192d15e45a3e9682b1eec427870c5
844
Chrome
1
https://github.com/chromium/chromium
2012-06-21 20:36:50+00:00
ShellWindowFrameView::ShellWindowFrameView() : frame_(NULL), close_button_(NULL) { }
CVE-2012-2889
CWE-79
https://github.com/chromium/chromium/commit/7f8cdab6fda192d15e45a3e9682b1eec427870c5
Medium
844
30,273
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,273
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_PUBLIC_PLATFORM_WEB_GESTURE_EVENT_H_ #define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_GESTURE_EVENT_H_ #include "third_party/blink...
null
null
null
null
27,136
39,020
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,015
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/mm.h> #include <linux/rmap.h> #include <linux/hugetlb.h> #include <linux/swap.h> #include <linux/swapops.h> #include "internal.h" static inline bool check_pmd(struct page_vma_mapped_walk *pvmw) { pmd_t pmde; /* * Make sure we don't re-load pmd between present and !trans_huge check. * We need a c...
null
null
null
null
112,362
20,976
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,971
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef B43_SDIO_H_ #define B43_SDIO_H_ #include <linux/ssb/ssb.h> struct b43_wldev; #ifdef CONFIG_B43_SDIO struct b43_sdio { struct ssb_bus ssb; void *irq_handler_opaque; void (*irq_handler)(struct b43_wldev *dev); }; int b43_sdio_request_irq(struct b43_wldev *dev, void (*handler)(struct b43_wldev *dev));...
null
null
null
null
94,318
1,396
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,964
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#ifndef __LINUX_KVM_PARA_H #define __LINUX_KVM_PARA_H /* * This header file provides a method for making a hypercall to the host * Architectures should define: * - kvm_hypercall0, kvm_hypercall1... * - kvm_arch_para_features * - kvm_para_available */ /* Return values for hypercalls */ #define KVM_ENOSYS 1000 #...
null
null
null
null
122,088
40,977
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,972
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_T10_PI_H #define _LINUX_T10_PI_H #include <linux/types.h> #include <linux/blkdev.h> /* * A T10 PI-capable target device can be formatted with different * protection schemes. Currently 0 through 3 are defined: * * Type 0 is regular (unprotected) I/O * * Type 1 defines the contents of the guard and...
null
null
null
null
114,319
23,680
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,675
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_proto.h,v 1.10 2003/07/31 20:24:29 mvojkovi Exp $ */ #ifndef __NV_PROTO_H__ #define __NV_PROTO_H__ /* in nv_setup.c */ int NVCommonSetup(struct fb_info *info); void NVWriteCrtc(struct nvidia_par *par, u8 index, u8 value); u8 NVReadCrtc(struct nvidia_par *par, ...
null
null
null
null
97,022
58,652
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,652
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_WIN_H_ #define CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_WIN_H_ #include <windows...
null
null
null
null
55,515
45,379
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,379
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/touch/ash_touch_transform_controller.h" #include "ash/shell.h" #include "ui/display/manager/chromeos/touch_transform_setter.h" #include "ui...
null
null
null
null
42,242
86
31,44,50
train_val
1dcd10aceabbc03bf571ea32b892c522cbe923de
270,393
tcpdump
1
https://github.com/the-tcpdump-group/tcpdump
2017-09-13 12:25:44+01:00
juniper_mfr_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) { struct juniper_l2info_t l2info; memset(&l2info, 0, sizeof(l2info)); l2info.pictype = DLT_JUNIPER_MFR; if (juniper_parse_header(ndo, p, h, &l2info) == 0) return l2info.header_len; p+=l2info.header_len; /* child-link ? ...
CVE-2017-12897
CWE-125
https://github.com/the-tcpdump-group/tcpdump/commit/1dcd10aceabbc03bf571ea32b892c522cbe923de
Low
4,392
58,236
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,236
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_LIFETIME_APPLICATION_LIFETIME_ANDROID_H_ #define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_ANDROID_H_ #include "base/androi...
null
null
null
null
55,099
32,553
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,548
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) International Business Machines Corp., 2006 * Copyright (c) Nokia Corporation, 2006, 2007 * * 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
105,895
59,493
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,493
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/extensions/api/instance_id/instance_id_api.h" #include <memory> #include "base/logging.h" #include "base/metrics/histogram_macr...
null
null
null
null
56,356
15,092
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,087
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) 2004-2007 Cavium Networks * Copyright (C) 2008, 2009 Wind River Systems * written by Ralf Baechle <ralf@linux-mips.org> ...
null
null
null
null
88,434
30,231
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,226
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2011 LAPIS Semiconductor Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <l...
null
null
null
null
103,573
4,480
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,480
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_CONTEXTUAL_SEARCH_HIGHLIGHTER_VIEW_H_ #define IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_CONTEXTUAL_SEARCH_HI...
null
null
null
null
1,343
530
83
train_val
d558023207e008a4476a3b7bb8706b2a2bf5d84f
165,525
linux
1
https://github.com/torvalds/linux
2013-11-19 17:40:48-05:00
static struct kioctx *ioctx_alloc(unsigned nr_events) { struct mm_struct *mm = current->mm; struct kioctx *ctx; int err = -ENOMEM; /* * We keep track of the number of available ringbuffer slots, to prevent * overflow (reqs_available), and we also use percpu counters for this. * * So since up to half the slots might be...
CVE-2013-7348
CWE-399
https://github.com/torvalds/linux/commit/d558023207e008a4476a3b7bb8706b2a2bf5d84f
Low
3,419
60,669
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,669
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/vr/model/toolbar_state.h" namespace vr { ToolbarState::ToolbarState() : gurl(GURL()), security_level(security_state::...
null
null
null
null
57,532
37,033
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,033
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2006 George Staikos <staikos@kde.org> * Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com> * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Publ...
null
null
null
null
33,896
57,666
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,666
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/policy/pre_signin_policy_fetcher.h" #include <utility> #include "base/bind.h" #include "base/callback.h" #include ...
null
null
null
null
54,529
44,288
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,283
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2016 Rockchip Electronics Co. Ltd. * Author: Xing Zheng <zhengxing@rock-chips.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 ...
null
null
null
null
117,630
34,925
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,925
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
31,788
15,825
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,825
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_SYNCABLE_ENTRY_H_ #define COMPONENTS_SYNC_SYNCABLE_ENTRY_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <...
null
null
null
null
12,688
7,087
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,087
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quic/core/quic_arena_scoped_ptr.h" #include "net/quic/core/quic_one_block_arena.h" #include "net/quic/platform/api/quic_test.h" namesp...
null
null
null
null
3,950
26,029
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,029
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/browser/api/declarative_net_request/test_utils.h" #include <string> #include "base/files/file_util.h" #include "base/threading/thre...
null
null
null
null
22,892
20,420
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,420
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_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_ #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_ // This i...
null
null
null
null
17,283
18,289
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,289
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 COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_UTILS_H_ #define COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_UTILS_H_ #include "components/download/pub...
null
null
null
null
15,152
20,649
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,649
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 "content/shell/test_runner/accessibility_controller.h" #include <string> #include "base/macros.h" #include "content/shell/test_runner/web_view_...
null
null
null
null
17,512
880
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
train_val
30f5bc981921d9c0221c82f38d80bd2d5c86a022
880
Chrome
1
https://github.com/chromium/chromium
2012-06-26 04:14:55+00:00
AsOmniboxEventProviderType() const { if (name_ == "HistoryURL") return metrics::OmniboxEventProto::HISTORY_URL; if (name_ == "HistoryContents") return metrics::OmniboxEventProto::HISTORY_CONTENTS; if (name_ == "HistoryQuickProvider") return metrics::OmniboxEventProto::HISTORY_QUICK; if (name_ == "Se...
null
null
https://github.com/chromium/chromium/commit/30f5bc981921d9c0221c82f38d80bd2d5c86a022
null
880
44,793
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,793
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 "ppapi/nacl_irt/ppapi_dispatcher.h" #include <stddef.h> #include <map> #include <set> #include "base/command_line.h" #include "base/memory/ref...
null
null
null
null
41,656
27,803
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,798
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
null
null
null
null
101,145
10,579
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,579
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 MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_ #define MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_ #include <stdint.h> #include <map> #in...
null
null
null
null
7,442
45,777
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,777
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 "ash/app_list/presenter/app_list_view_delegate_factory.h" namespace app_list { AppListViewDelegateFactory::~AppListViewDelegateFactory() {} } ...
null
null
null
null
42,640
2,234
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,291
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * PC Paintbrush PCX (.pcx) image decoder * Copyright (c) 2007, 2008 Ivo van Poorten * * This decoder does not support CGA palettes. I am unable to find samples * and Netpbm cannot generate them. * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under t...
null
null
null
null
71,346