file_name
int64
0
72.3k
vulnerable_line_numbers
stringlengths
1
1.06k
dataset_type
stringclasses
1 value
commit_hash
stringlengths
40
44
unique_id
int64
0
271k
project
stringclasses
10 values
target
int64
0
1
repo_url
stringclasses
10 values
date
stringlengths
25
25
code
stringlengths
0
20.4M
CVE
stringlengths
13
43
CWE
stringclasses
50 values
commit_link
stringlengths
73
97
severity
stringclasses
4 values
__index_level_0__
int64
0
124k
1,333
5
train_val
d4cd2b2c0953ad7e9fa988c234eb9361be80fe81
1,333
Chrome
1
https://github.com/chromium/chromium
2013-10-25 09:45:23+00:00
void InspectorPageAgent::setContinuousPaintingEnabled(ErrorString*, bool enabled) { bool viewMetricsOverride = m_state->getLong(PageAgentState::pageAgentScreenWidthOverride); m_state->setBoolean(PageAgentState::pageAgentContinuousPaintingEnabled, enabled); m_client->setContinuousPaintingEnabled(enabled && !viewMetricsO...
null
null
https://github.com/chromium/chromium/commit/d4cd2b2c0953ad7e9fa988c234eb9361be80fe81
null
1,333
1,665
11,12,21,22,38,48,49
train_val
27c68f543e5eba779902447445dfb05ec3f5bf75
1,665
Chrome
1
https://github.com/chromium/chromium
2015-09-17 17:38:06+00:00
bool VaapiVideoDecodeAccelerator::VaapiH264Accelerator::SubmitFrameMetadata( const media::H264SPS* sps, const media::H264PPS* pps, const H264DPB& dpb, const H264Picture::Vector& ref_pic_listp0, const H264Picture::Vector& ref_pic_listb0, const H264Picture::Vector& ref_pic_listb1, const scoped_refptr<H264Picture>& pic) {...
null
null
https://github.com/chromium/chromium/commit/27c68f543e5eba779902447445dfb05ec3f5bf75
null
1,665
7,341
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,341
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. // BBR (Bottleneck Bandwidth and RTT) congestion control algorithm. #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ #define NET_QUIC_CORE_CONGESTI...
null
null
null
null
4,204
23,870
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,870
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/appcache/appcache_host.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #include "base/strings/string_util.h"...
null
null
null
null
20,733
30,388
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,388
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2014 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 conditions ...
null
null
null
null
27,251
13,644
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,639
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright(c) 2015 EZchip Technologies. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but...
null
null
null
null
86,986
23,729
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,724
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2009 Nokia Corporation * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com> * * Some code and ideas taken from drivers/video/omap/ driver * by Imre Deak. * * 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...
null
null
null
null
97,071
20,569
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,569
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 <android/native_window_jni.h> #include <cpu-features.h> #include "base/android/jni_array.h" #include "base/android/library_loader/library_loader...
null
null
null
null
17,432
58,075
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,075
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_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ #define CHROME_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ #include <memory> #include "ba...
null
null
null
null
54,938
39,587
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,587
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/cachestorage/cache_storage_error.h" #include "third_party/blink/public/platform/modules/cache_storage/cache_...
null
null
null
null
36,450
30,614
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,614
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_WEBKIT_PUBLIC_COMMON_FRAME_FRAME_POLICY_H_ #define THIRD_PARTY_WEBKIT_PUBLIC_COMMON_FRAME_FRAME_POLICY_H_ #include "third_party/blink...
null
null
null
null
27,477
4,301
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,296
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * ocfs2.h * * Defines macros and structures used in OCFS2 * * Copyright (C) 2002, 2004 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pub...
null
null
null
null
77,643
58,078
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,078
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 "chrome/browser/net/nss_context.h" #include "content/public/browser/browser_thread.h" #include "crypto/nss_util_internal.h" #include "net/ce...
null
null
null
null
54,941
31,923
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,923
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/properties/longhands/font_variant_east_asian.h" #include "third_party/blink/renderer/core/css/parser/css_pr...
null
null
null
null
28,786
22,123
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,118
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2015 Qualcomm Atheros Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH...
null
null
null
null
95,465
18,365
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,360
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Versi...
null
null
null
null
91,707
25,286
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,281
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __NVBIOS_DP_H__ #define __NVBIOS_DP_H__ struct nvbios_dpout { u16 type; u16 mask; u8 flags; u32 script[5]; u32 lnkcmp; }; u16 nvbios_dpout_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpout *); u16 nvbios_dpout_match(struct nvkm_bios *, u16 type, u...
null
null
null
null
98,628
28,787
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,787
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
null
null
null
null
25,650
18,993
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,993
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_SERVICES_HEAP_PROFILING_RECEIVER_PIPE_POSIX_H_ #define COMPONENTS_SERVICES_HEAP_PROFILING_RECEIVER_PIPE_POSIX_H_ #include <string> #i...
null
null
null
null
15,856
35,573
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,568
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2...
null
null
null
null
108,915
37,426
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,421
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Chen-Yu Tsai * * Chen-Yu Tsai <wens@csie.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versi...
null
null
null
null
110,768
64,455
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,455
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/window_sizer/window_sizer.h" #include "chrome/browser/chromeos/profiles/profile_helper.h" #include "chrome/browser/ui/ash...
null
null
null
null
61,318
10,010
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,005
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2015 MediaTek Inc. * Author: Biao Huang <biao.huang@mediatek.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the ho...
null
null
null
null
83,352
67,310
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,310
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/accessibility/animation_policy_prefs.h" #include "chrome/common/pref_names.h" #include "components/pref_registry/pref_registry_s...
null
null
null
null
64,173
15,759
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,759
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. #include "components/sync/syncable/test_user_share.h" #include <utility> #include "base/compiler_specific.h" #include "components/sync/syncable/director...
null
null
null
null
12,622
1,629
1
train_val
76f36a8362a3e817cc3ec721d591f2f8878dc0c7
1,629
Chrome
1
https://github.com/chromium/chromium
2015-06-05 12:02:04+00:00
base::TimeTicks TaskQueueManager::Now() const { return time_source_->Now(); }
null
null
https://github.com/chromium/chromium/commit/76f36a8362a3e817cc3ec721d591f2f8878dc0c7
null
1,629
54,296
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,296
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/installer/setup/progress_calculator.h" #include <math.h> #include "base/logging.h" // An install operation generally proceeds through ...
null
null
null
null
51,159
42,827
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,827
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Compile with: * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef WIN32 #include <winsock2.h> #endif #include <sys/types.h> #include <sys/stat.h> #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif #ifdef HAVE_SYS_SOCKET_H #incl...
null
null
null
null
39,690
29,874
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,874
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2017-07-10 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** **************************...
null
null
null
null
26,737
8,492
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,492
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 <stddef.h> #include <stdint.h> #include "net/base/data_url.h" #include "url/gurl.h" // Entry point for LibFuzzer. extern "C" int LLVMFuzzerTest...
null
null
null
null
5,355
7,263
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,263
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/crypto/scoped_evp_aead_ctx.h" namespace net { ScopedEVPAEADCtx::ScopedEVPAEADCtx() { ctx_.aead = nullptr; ctx_.aead_state = ...
null
null
null
null
4,126
654
1
train_val
48fae61b8a6c9b741f001d478c595b6c7c0af4d9
654
Chrome
1
https://github.com/chromium/chromium
2012-04-16 22:36:53+00:00
int TestOpenProcess(DWORD process_id) { HANDLE process = ::OpenProcess(PROCESS_VM_READ, FALSE, // Do not inherit handle. process_id); if (NULL == process) { if (ERROR_ACCESS_DENIED == ::GetLastError()) { return SBOX_TEST_DENIED; } else { return SBOX_TEST_FAILED_TO_EXECUTE_COMMAND; } } else { ::CloseHandle(process); ...
CVE-2012-2816
null
https://github.com/chromium/chromium/commit/48fae61b8a6c9b741f001d478c595b6c7c0af4d9
Low
654
47,437
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,437
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 "cc/layers/painted_overlay_scrollbar_layer.h" #include "cc/animation/animation_host.h" #include "cc/test/fake_layer_tree_host.h" #include "cc/te...
null
null
null
null
44,300
916
2,3,4,5
train_val
be0726d33cb8f411945884664924bed3cb8c70ee
165,911
linux
1
https://github.com/torvalds/linux
2016-02-22 11:56:38-05:00
init_ext2_xattr(void) { ext2_xattr_cache = mb_cache_create("ext2_xattr", 6); if (!ext2_xattr_cache) return -ENOMEM; return 0; }
CVE-2015-8952
CWE-19
https://github.com/torvalds/linux/commit/be0726d33cb8f411945884664924bed3cb8c70ee
Low
3,805
11,139
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,139
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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 "gpu/command_buffer/service/context_state.h" #include <stddef.h> #include "testing/gtest/include/gtest/gtest.h" namespace gpu { namespace ...
null
null
null
null
8,002
43,340
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,335
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_LIMITS_H #define _LINUX_LIMITS_H #define NR_OPEN 1024 #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ #define ARG_MAX 131072 /* # bytes of args + environ for exec() */ #define LINK_MAX 127 /* # links a file may have */ #define MAX_CANON 255 /* size o...
null
null
null
null
116,682
32,628
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,623
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for Atmel QSPI Controller * * Copyright (C) 2015 Atmel Corporation * * Author: Cyrille Pitchen <cyrille.pitchen@atmel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Fo...
null
null
null
null
105,970
17,463
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,458
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Early printk for Nios2. * * Copyright (C) 2015, Altera Corporation * Copyright (C) 2010, 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 G...
null
null
null
null
90,805
38,815
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,810
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Copyright (c) 2015 PLUMgrid, http://plumgrid.com * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. */ #include <linux/ptrace.h> #include <linux/version.h> #include <uapi/lin...
null
null
null
null
112,157
7,185
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,180
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Backtrace support for Microblaze * * Copyright (C) 2010 Digital Design Corporation * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef __MICROBLAZE_UNWIND_H #define __MICROBL...
null
null
null
null
80,527
5,060
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,060
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_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLLER_H_ #define IOS_CHROME_BROWSER_UI_PAYMENTS_PAYMENT_ITEMS_DISPLAY_VIEW_CONTROLL...
null
null
null
null
1,923
38,759
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,754
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Copyright (c) 2016 PLUMgrid * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. */ #include <linux/bpf.h> #include <assert.h> #include <errno.h> #include <signal.h> #include <...
null
null
null
null
112,101
34,731
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,726
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* DVB USB compliant linux driver for MSI Mega Sky 580 DVB-T USB2.0 receiver * * Copyright (C) 2006 Aapo Tahkola (aet@rasterburn.org) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, vers...
null
null
null
null
108,073
59,522
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,522
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/extension_action_manager.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/exte...
null
null
null
null
56,385
52,092
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,092
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 "media/gpu/ipc/service/gpu_video_decode_accelerator.h" #include <memory> #include <vector> #include "base/bind.h" #include "base/location.h...
null
null
null
null
48,955
11,203
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,198
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL. */ #include <linux/if_arp.h> #include <linux/init.h> #include <linux/netdevice.h> #include <linux/string.h> #include <net_kern.h> #include <net_user.h> #include "slirp.h" struct slirp_init { struct arg_list_dummy_wrapper...
null
null
null
null
84,545
34,523
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,518
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * vivid-vid-common.c - common video support functions. * * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
null
null
null
null
107,865
32,342
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,342
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/script/xml_parser_script_runner.h" #include "third_party/blink/renderer/core/dom/document.h" #include "third_pa...
null
null
null
null
29,205
4,840
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,840
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_FULLSCREEN_CHROME_COORDINATOR_FULLSCREEN_DISABLING_H_ #define IOS_CHROME_BROWSER_UI_FULLSCREEN_CHROME_COORDINATOR_FULLSCREEN...
null
null
null
null
1,703
31,369
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,364
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2016 Broadcom * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundation (the "GPL"). * * This program is distributed in the hope that it will be useful, but * WITHOUT A...
null
null
null
null
104,711
14,455
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,455
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h" #include <algorithm> #include <memory> #include <set> #inc...
null
null
null
null
11,318
43,273
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,268
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * BSD Process Accounting for Linux - Definitions * * Author: Marco van Wieringen (mvw@planets.elm.net) * * This header file contains the definitions needed to implement * BSD-style process accounting. The kernel accounting code and all * user-level programs that try to do something useful with the * pr...
null
null
null
null
116,615
89
4,5
train_val
ee8d6fd30b022ac2c87b7a190c954e7bb3c9b21e
89
Chrome
1
https://github.com/chromium/chromium
2010-05-26 17:05:48+00:00
bool CaptureVisibleTabFunction::CaptureSnapshotFromBackingStore( BackingStore* backing_store) { skia::PlatformCanvas temp_canvas; if (!backing_store->CopyFromBackingStore(gfx::Rect(gfx::Point(0, 0), backing_store->size()), &temp_canvas)) { return false; } SendResu...
null
null
https://github.com/chromium/chromium/commit/ee8d6fd30b022ac2c87b7a190c954e7bb3c9b21e
null
89
25,429
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,424
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
null
null
null
null
98,771
24,497
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,497
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 "courgette/disassembler_win32_x64.h" #include <stdint.h> #include <memory> #include <string> #include <vector> #include "base/stl_util.h" #inc...
null
null
null
null
21,360
33,677
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,672
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* STB6100 Silicon Tuner Copyright (C) Manu Abraham (abraham.manu@gmail.com) Copyright (C) ST Microelectronics 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, ...
null
null
null
null
107,019
11,777
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,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 "components/omnibox/browser/history_test_util.h" #include "base/time/time.h" #include "components/history/core/browser/history_database.h" name...
null
null
null
null
8,640
24,552
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,552
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2010 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. // PagedArray implements an array stored using many fixed-size pages. // // PagedArray is a work-around to allow large arrays to be allocated when the...
null
null
null
null
21,415
20,708
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,708
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 "content/shell/app/blink_test_platform_support.h" #include <windows.h> #include <stddef.h> #include <iostream> #include <list> #include <string>...
null
null
null
null
17,571
41,506
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,506
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TOOLS_GN_PARSE_NODE_VALUE_ADAPTER_H_ #define TOOLS_GN_PARSE_NODE_VALUE_ADAPTER_H_ #include "base/macros.h" #include "tools/gn/value.h" class Par...
null
null
null
null
38,369
17,461
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,461
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 COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_TYPES_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_TYPES_H_ #include "components/autofill/core/browser/...
null
null
null
null
14,324
29,559
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,559
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2014 December 9 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *********************...
null
null
null
null
26,422
3,622
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,617
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * fs/cifs/cifs_fs_sb.h * * Copyright (c) International Business Machines Corp., 2002,2004 * Author(s): Steve French (sfrench@us.ibm.com) * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Fr...
null
null
null
null
76,964
5,928
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,923
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * ak4671.c -- audio driver for AK4671 * * Copyright (C) 2009 Samsung Electronics Co.Ltd * Author: Joonyoung Shim <jy0922.shim@samsung.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Softwa...
null
null
null
null
79,270
43,014
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,014
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/launcher/test_result.h" #include <stddef.h> #include "base/logging.h" namespace base { TestResultPart::TestResultPart() = default;...
null
null
null
null
39,877
9,056
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,056
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 "net/websockets/websocket_deflate_predictor_impl.h" #include <vector> #include "net/websockets/websocket_frame.h" #include "testing/gtest/inclu...
null
null
null
null
5,919
19,891
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,891
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/public/test/blink_test_environment.h" #include <string> #include "base/command_line.h" #include "base/run_loop.h" #include "base/strin...
null
null
null
null
16,754
43,031
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,031
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 <jni.h> #include <set> #include "base/android/jni_string.h" #include "base/lazy_instance.h" #include "base/macros.h" #include "base/trace_event...
null
null
null
null
39,894
1,798
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,753
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* alloca.c -- allocate automatically reclaimed memory (Mostly) portable public-domain implementation -- D A Gwyn This implementation of the PWB library alloca function, which is used to allocate space off the run-time stack so that it is automatically reclaimed upon procedure exit, was inspired by disc...
null
null
null
null
120,674
43,552
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,552
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_JSON_JSON_VALUE_CONVERTER_H_ #define BASE_JSON_JSON_VALUE_CONVERTER_H_ #include <stddef.h> #include <memory> #include <string> #include...
null
null
null
null
40,415
61,804
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
61,804
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_DEVTOOLS_CHROME_DEVTOOLS_SESSION_H_ #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_SESSION_H_ #include <memory> #include "chrome...
null
null
null
null
58,667
12,380
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,380
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 COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ #define COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ #include "base/call...
null
null
null
null
9,243
9,747
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,742
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Common functions for Palm LD, T5, TX, Z72 * * Copyright (C) 2010 * Marek Vasut <marek.vasut@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __I...
null
null
null
null
83,089
34,063
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,063
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 NGLogicalSize_h #define NGLogicalSize_h #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/layout...
null
null
null
null
30,926
272
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
train_val
4ab22cfc619ee8ff17a8c50e289ec3b30731ceba
272
Chrome
1
https://github.com/chromium/chromium
2011-06-09 21:20:19+00:00
bool ParseJSONDictionary(const std::string& json, DictionaryValue** dict, std::string* error) { int error_code = 0; Value* params = base::JSONReader::ReadAndReturnError(json, true, &error_code, error); if (error_code != 0) { VLOG(1) << "Could not parse JSON object, " << *error; ...
CVE-2011-2802
CWE-399
https://github.com/chromium/chromium/commit/4ab22cfc619ee8ff17a8c50e289ec3b30731ceba
Medium
272
17,960
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,960
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/payments/core/payment_shipping_option.h" #include <memory> #include "base/values.h" #include "testing/gtest/include/gtest/gtest.h" ...
null
null
null
null
14,823
1,129
4,5,12,15,16,17,19,23,24,25,27,30,31,32,34,37,39
train_val
606142af57dad981b78707234cfbd15f9f7b7125
166,124
linux
1
https://github.com/torvalds/linux
2017-03-06 09:36:47-03:00
static int tt_s2_4600_frontend_attach(struct dvb_usb_adapter *adap) { struct dvb_usb_device *d = adap->dev; struct dw2102_state *state = d->priv; u8 obuf[3] = { 0xe, 0x80, 0 }; u8 ibuf[] = { 0 }; struct i2c_adapter *i2c_adapter; struct i2c_client *client; struct i2c_board_info board_info; struct m88ds3103_platform_da...
CVE-2017-8062
CWE-119
https://github.com/torvalds/linux/commit/606142af57dad981b78707234cfbd15f9f7b7125
Low
4,018
730
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,574
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* ccapi/server/ccs_os_pipe.h */ /* * Copyright 2006 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibility of any person or organization contemplatin...
null
null
null
null
73,882
41,849
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,844
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
null
null
null
null
115,191
43,860
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,860
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/trace_event/malloc_dump_provider.h" #include <stddef.h> #include <unordered_map> #include "base/allocator/allocator_extension.h" #includ...
null
null
null
null
40,723
24,295
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,290
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright © 2008-2015 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge...
null
null
null
null
97,637
33,601
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,601
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * (C) 1999 Lars Knoll (knoll@kde.org) * (C) 2000 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007 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 Public * License as published by the F...
null
null
null
null
30,464
24,997
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,997
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ #define EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ #include <string> #include "base...
null
null
null
null
21,860
30,050
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,050
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2008 October 07 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *********************...
null
null
null
null
26,913
6,946
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,941
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/m32r/platforms/oaks32r/setup.c * * Setup routines for OAKS32R Board * * Copyright (c) 2002-2005 Hiroyuki Kondo, Hirokazu Takata, * Hitoshi Yamamoto, Mamoru Sakugawa */ #include <linux/irq.h> #include <linux/kernel.h> #include <linux/init.h> #include <asm/m32r.h> #i...
null
null
null
null
80,288
65,049
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,049
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 CHROME_BROWSER_UI_APP_LIST_SEARCH_COMMON_JSON_RESPONSE_FETCHER_H_ #define CHROME_BROWSER_UI_APP_LIST_SEARCH_COMMON_JSON_RESPONSE_FETCHER_H_ #incl...
null
null
null
null
61,912
10,700
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,695
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/sparc64/mm/fault.c: Page fault handlers for the 64-bit Sparc. * * Copyright (C) 1996, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/head.h> #include <linux/string.h> #include <linux/types.h> #include <linux/sched.h> #include <li...
null
null
null
null
84,042
30,439
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,439
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_VIEWPORT_STYLE_H_ #define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_VIEWPORT_STYLE_H_ namespace blink { // UA ...
null
null
null
null
27,302
53,431
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,431
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 "media/cast/net/rtp/rtp_sender.h" #include "base/big_endian.h" #include "base/logging.h" #include "base/rand_util.h" #include "media/cast/consta...
null
null
null
null
50,294
69,899
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,899
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 <string> #include <utility> #include <vector> #include "base/memory/ptr_util.h" #include "device/bluetooth/adapter.h" #include "device/bluetooth...
null
null
null
null
66,762
34,870
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,870
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/html/forms/email_input_type.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/rende...
null
null
null
null
31,733
38,904
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,904
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_MODULES_WEBAUDIO_AUDIO_WORKLET_PROCESSOR_ERROR_STATE_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBAUDIO_AUDIO_WORKL...
null
null
null
null
35,767
42,950
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,950
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 BASE_TEST_COPY_ONLY_INT_H_ #define BASE_TEST_COPY_ONLY_INT_H_ #include "base/macros.h" namespace base { // A copy-only (not moveable) class tha...
null
null
null
null
39,813
9,087
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,087
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 "net/websockets/websocket_deflater.h" #include <string.h> #include <algorithm> #include <vector> #include "base/containers/circular_deque.h" #i...
null
null
null
null
5,950
40,476
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,476
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 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,339
6,233
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,233
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 CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ #define CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ #include <string> #include "base/files...
null
null
null
null
3,096
55,295
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,295
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 "chrome/common/extensions/api/commands/commands_handler.h" #include <memory> #include <utility> #include <vector> #include "base/strings/st...
null
null
null
null
52,158
53,715
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,715
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 "media/midi/usb_midi_device_factory_android.h" #include <stddef.h> #include <memory> #include "base/bind.h" #include "base/containers/hash_tabl...
null
null
null
null
50,578
32,503
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,498
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2016 Sigma Designs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. */ #include <linux/io.h> #include <linux/of.h> #include <linux/clk.h> #include <linux/iop...
null
null
null
null
105,845
582
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,969
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2007-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,414