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
46,089
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,089
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 ASH_WM_TEST_ACTIVATION_DELEGATE_H_ #define ASH_WM_TEST_ACTIVATION_DELEGATE_H_ #include "base/compiler_specific.h" #include "base/logging.h" #...
null
null
null
null
42,952
49,614
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
49,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. #include "ui/app_list/views/search_result_answer_card_view.h" #include <memory> #include <utility> #include "base/macros.h" #include "base/memory/ptr_ut...
null
null
null
null
46,477
56,534
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,534
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/ui/preloaded_web_view.h" #include "base/callback_helpers.h" #include "chrome/browser/chrome_notification_types.h"...
null
null
null
null
53,397
12,807
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,802
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Freescale hypervisor call interface * * Copyright 2008-2010 Freescale Semiconductor, Inc. * * Author: Timur Tabi <timur@freescale.com> * * This file is provided under a dual BSD/GPL license. When using or * redistributing this file, you may do so under either license. * * Redistribution and use in sourc...
null
null
null
null
86,149
621
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
train_val
cd0bd79d6ebdb72183e6f0833673464cc10b3600
621
Chrome
1
https://github.com/chromium/chromium
2012-04-14 00:52:16+00:00
void GpuProcessHost::OnProcessLaunched() { // Send the GPU process handle to the UI thread before it has to // respond to any requests to establish a GPU channel. The response // to such requests require that the GPU process handle be known. base::ProcessHandle child_handle = in_process_ ? base::GetCurren...
CVE-2012-2816
null
https://github.com/chromium/chromium/commit/cd0bd79d6ebdb72183e6f0833673464cc10b3600
Low
621
6,787
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,787
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/proxy_resolution/mock_pac_file_fetcher.h" #include "base/callback_helpers.h" #include "base/logging.h" #include "base/run_loop.h" #incl...
null
null
null
null
3,650
71,037
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,037
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 SERVICES_DATA_DECODER_PUBLIC_CPP_SAFE_JSON_PARSER_IMPL_H_ #define SERVICES_DATA_DECODER_PUBLIC_CPP_SAFE_JSON_PARSER_IMPL_H_ #include <memory> #in...
null
null
null
null
67,900
67,148
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,148
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/apps/app_browsertest_util.h" #include "content/public/browser/notification_service.h" #include "content/public/test/browser_test....
null
null
null
null
64,011
6,088
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,088
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 "chromeos/components/tether/fake_wifi_hotspot_disconnector.h" namespace chromeos { namespace tether { FakeWifiHotspotDisconnector::FakeWifiHot...
null
null
null
null
2,951
6,039
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,034
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * simone.c -- ASoC audio for Simplemachines Sim.One board * * Copyright (c) 2010 Mika Westerberg * * Based on snappercl15 machine driver by Ryan Mallon. * * 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...
null
null
null
null
79,381
19,404
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,399
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2015 Microchip Technology * * 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. * * This program ...
null
null
null
null
92,746
66,767
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,767
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ #include <map...
null
null
null
null
63,630
36,861
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,856
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/******************************************************************************* * * Module Name: dbtest - Various debug-related tests * ******************************************************************************/ /* * Copyright (C) 2000 - 2017, Intel Corp. * All rights reserved. * * Redistribution and use ...
null
null
null
null
110,203
30,332
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,327
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Rockchip PCIe PHY driver * * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> * Copyright (C) 2016 ROCKCHIP, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ver...
null
null
null
null
103,674
9,088
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,083
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OMAP3 Voltage Controller (VC) data * * Copyright (C) 2007, 2010 Texas Instruments, Inc. * Rajendra Nayak <rnayak@ti.com> * Lesly A M <x0080970@ti.com> * Thara Gopinath <thara@ti.com> * * Copyright (C) 2008, 2011 Nokia Corporation * Kalle Jokiniemi * Paul Walmsley * * This program is free software; you ...
null
null
null
null
82,430
23,069
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,064
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * bq2415x charger driver * * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
null
null
null
null
96,411
48,762
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,762
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 <memory> #include "base/at_exit.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/i18n/icu_util.h" #include "ba...
null
null
null
null
45,625
20,489
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,484
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Intel PRO/1000 Linux driver * Copyright(c) 1999 - 2015 Intel Corporation. * * 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 i...
null
null
null
null
93,831
702
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,657
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/** * this is a small sample script to use libmbfl. * Rui Hirokawa <hirokawa@php.net> * * this file is encoded in EUC-JP. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "mbfl/mbfilter.h" static void hexdump(const mbfl_string *ptr) { unsigned int i; for (i = 0; i < ptr->len; i++) { pr...
null
null
null
null
119,578
49,358
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
49,358
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/mojo/buffer_types_struct_traits.h" #include "build/build_config.h" #include "mojo/public/cpp/system/platform_handle.h" namespace mojo {...
null
null
null
null
46,221
61,257
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
61,257
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 <string> #include "base/android/jni_string.h" #include "chrome/browser/dom_distiller/tab_utils.h" #include "chrome/browser/profiles/profile.h" #...
null
null
null
null
58,120
34,264
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,264
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 "third_party/blink/renderer/core/paint/paint_property_tree_printer.h" #include "third_party/blink/renderer/core/frame/local_frame.h" #include "t...
null
null
null
null
31,127
17,940
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,935
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_XEN_OPS_H #define _ASM_XEN_OPS_H void xen_efi_runtime_setup(void); #endif /* _ASM_XEN_OPS_H */
null
null
null
null
91,282
34,042
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,037
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] * * Extended 3 / 2005 by Hartmut Hackmann to support various * cards with the tda10046 DVB-T channel decoder * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
null
null
null
null
107,384
38,157
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,157
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/platform/graphics/paint/drawing_display_item.h" #include "SkTypes.h" #include "testing/gmock/include/gmock/gmock.h" ...
null
null
null
null
35,020
2,202
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,259
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Generate a header file for hardcoded sine windows * * Copyright (c) 2009 Reimar Döffinger <Reimar.Doeffinger@gmx.de> * * 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 ...
null
null
null
null
71,314
67,662
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,662
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 "ipc/handle_win.h" #include <utility> #include "base/logging.h" #include "base/memory/ref_counted.h" #include "base/strings/string_number_conve...
null
null
null
null
64,525
16,683
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,678
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/sh/boards/dreamcast/rtc.c * * Dreamcast AICA RTC routines. * * Copyright (c) 2001, 2002 M. R. Brown <mrbrown@0xd6.org> * Copyright (c) 2002 Paul Mundt <lethal@chaoticdreams.org> * * Released under the terms of the GNU GPL v2.0. * */ #include <linux/time.h> #include <asm/rtc.h> #include <asm/io.h> ...
null
null
null
null
90,025
22,173
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,168
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2005-2011 Atheros Communications Inc. * Copyright (c) 2011-2013 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 al...
null
null
null
null
95,515
37,807
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,802
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * intel-bts.h: Intel Processor Trace support * Copyright (c) 2013-2014, Intel Corporation. * * 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 progra...
null
null
null
null
111,149
20,464
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,459
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/******************************************************************************* * * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver * Copyright(c) 2013 - 2014 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of th...
null
null
null
null
93,806
41,028
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,023
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_INTERVAL_TREE_H #define _LINUX_INTERVAL_TREE_H #include <linux/rbtree.h> struct interval_tree_node { struct rb_node rb; unsigned long start; /* Start of interval */ unsigned long last; /* Last location _in_ interval */ unsigned long __subtree_last; }; extern void interval_tree_insert(struct interv...
null
null
null
null
114,370
282
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,669
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2011-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,114
12,319
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,314
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Cell Broadband Engine Performance Monitor * * (C) Copyright IBM Corporation 2001,2006 * * Author: * David Erb (djerb@us.ibm.com) * Kevin Corry (kevcorry@us.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
null
null
null
null
85,661
15,028
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,028
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_DOM_DISTILLER_CORE_DOM_DISTILLER_TEST_UTIL_H_ #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_TEST_UTIL_H_ #include <vector> #inc...
null
null
null
null
11,891
43,641
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,636
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __LINUX_TC_EM_META_H #define __LINUX_TC_EM_META_H #include <linux/types.h> #include <linux/pkt_cls.h> enum { TCA_EM_META_UNSPEC, TCA_EM_META_HDR, TCA_EM_META_LVALUE, TCA_EM_META_RVALUE, __TCA_EM_META_MAX }; #define TCA_EM_META_MAX (__TCA_EM_META_MAX - 1) struct tcf_meta_val { __u16 kind; __u8 shif...
null
null
null
null
116,983
140
null
train_val
b09a65ece69306a70044ac99ca6928eda58d7c79
270,447
tcpdump
0
https://github.com/the-tcpdump-group/tcpdump
2017-09-14 11:59:38-07:00
/* * Copyright (c) 1998-2007 The TCPDUMP project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code * distributions retain the above copyright notice and this paragraph * in its entirety, and (2) distributions including binary code i...
null
null
null
null
124,055
17,066
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,066
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/test/test_frame_sink_manager_client.h" namespace viz { TestFrameSinkManagerClient::TestFrameSinkManagerClient( mojom::Frame...
null
null
null
null
13,929
52,008
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,008
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 "media/gpu/windows/d3d11_h264_accelerator.h" #include <windows.h> #include "base/memory/ptr_util.h" #include "base/trace_event/trace_event.h" #...
null
null
null
null
48,871
70,751
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,751
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 "sandbox/linux/seccomp-bpf/trap.h" #include <signal.h> #include "sandbox/linux/tests/unit_tests.h" #include "testing/gtest/include/gtest/gtest....
null
null
null
null
67,614
33,280
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,280
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Peter Kelly (pmk@post.com) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2013 Apple Inc. All rights * reserved. * * This librar...
null
null
null
null
30,143
38,347
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,342
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * POWER Data Stream Control Register (DSCR) fork test * * This testcase modifies the DSCR using mtspr, forks and then * verifies that the child process has the correct changed DSCR * value using mfspr. * * When using the privilege state SPR, the instructions such as * mfspr or mtspr are priviledged and the k...
null
null
null
null
111,689
6,835
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,835
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 NET_QUIC_QUARTC_QUARTC_STREAM_INTERFACE_H_ #define NET_QUIC_QUARTC_QUARTC_STREAM_INTERFACE_H_ #include <stddef.h> #include <stdint.h> #inclu...
null
null
null
null
3,698
38,697
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,692
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> (C) 2002 David Woodhouse <dwmw2@infradead.org> (C) 2012 Michel Lespinasse <walken@google.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...
null
null
null
null
112,039
47,878
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,878
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 "ui/display/display.h" #include "base/command_line.h" #include "base/test/scoped_command_line.h" #include "testing/gtest/include/gtest/gtest...
null
null
null
null
44,741
17,221
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,221
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/common/quads/picture_draw_quad.h" #include "base/trace_event/trace_event_argument.h" #include "base/values.h" #include "cc/base/...
null
null
null
null
14,084
35,938
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,933
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/pcmcia/sa1100_cerf.c * * PCMCIA implementation routines for CerfBoard * Based off the Assabet. * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/gpio.h> #include <mach/hardware.h> #include <asm/mach-typ...
null
null
null
null
109,280
32,114
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,109
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2013 Pengutronix * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> * * 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. */ #define pr_fmt(fmt) KBUILD_MODNAME...
null
null
null
null
105,456
53,131
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,131
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 MEDIA_BASE_ANDROID_JNI_HDR_METADATA_H_ #define MEDIA_BASE_ANDROID_JNI_HDR_METADATA_H_ #include "base/android/jni_android.h" #include "base/macros...
null
null
null
null
49,994
64,176
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,176
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/print_preview/extension_printer_handler.h" #include <algorithm> #include <utility> #include "base/bind.h" #include "ba...
null
null
null
null
61,039
40,087
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,087
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 THIRD_PARTY_BLINK_RENDERER_MODULES_WEBMIDI_MIDI_INPUT_MAP_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBMIDI_MIDI_INPUT_MAP_H_ #include "third...
null
null
null
null
36,950
26,460
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,460
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. #include "jingle/notifier/listener/notification_constants.h" namespace notifier { const char kPushNotificationsNamespace[] = "google:push"; } // n...
null
null
null
null
23,323
63,973
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,973
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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ #incl...
null
null
null
null
60,836
18,835
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,830
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * QLogic iSCSI HBA Driver * Copyright (c) 2003-2013 QLogic Corporation * * See LICENSE.qla4xxx for copyright and licensing details. */ #define QLA4XXX_DRIVER_VERSION "5.04.00-k6"
null
null
null
null
92,177
12,955
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,955
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/url_pattern_index/fuzzy_pattern_matching.h" #include <vector> #include "testing/gtest/include/gtest/gtest.h" namespace url_pattern...
null
null
null
null
9,818
10,320
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,320
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef HEADLESS_LIB_HEADLESS_CRASH_REPORTER_CLIENT_H_ #define HEADLESS_LIB_HEADLESS_CRASH_REPORTER_CLIENT_H_ #include "base/files/file_path.h" #include ...
null
null
null
null
7,183
32,617
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,617
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/input/context_menu_allowed_scope.h" namespace blink { static unsigned g_context_menu_allowed_count = 0; Conte...
null
null
null
null
29,480
63,851
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,851
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_LOCALIZED_STRINGS_PROVIDER_H_ #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_LOCALIZE...
null
null
null
null
60,714
26,377
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,377
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 "printing/backend/cups_helper.h" #include <cups/ppd.h> #include <stddef.h> #include <string> #include <vector> #include "base/base_paths.h...
null
null
null
null
23,240
50,096
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,096
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_ #define UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_ #import <Cocoa/Cocoa.h> #include "ui...
null
null
null
null
46,959
40,391
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,386
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * tifm.h - TI FlashMedia driver * * Copyright (C) 2006 Alex Dubov <oakad@yahoo.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 _TIFM_H #define _TIFM_...
null
null
null
null
113,733
36,478
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,478
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
33,341
58,351
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,351
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/data_use_measurement/chrome_data_use_ascriber.h" #include <string> #include <utility> #include <vector> #include "base/feature_...
null
null
null
null
55,214
13,879
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,879
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_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_ #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_ #includ...
null
null
null
null
10,742
7,686
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,681
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Architecture specific sysfs attributes in /sys/kernel * * Copyright (C) 2007, Intel Corp. * Huang Ying <ying.huang@intel.com> * Copyright (C) 2013, 2013 Red Hat, Inc. * Dave Young <dyoung@redhat.com> * * This file is released under the GPLv2 */ #include <linux/kobject.h> #include <linux/string....
null
null
null
null
81,028
28,067
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,067
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
null
null
null
null
24,930
15,493
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,488
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* IEEE754 floating point arithmetic * double precision: common utilities */ /* * MIPS floating point support * Copyright (C) 1994-2000 Algorithmics Ltd. * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) as * published by...
null
null
null
null
88,835
14,298
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,293
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Etrax general port I/O device * * Copyright (c) 1999-2007 Axis Communications AB * * Authors: Bjorn Wesen (initial version) * Ola Knutsson (LED handling) * Johan Adolfsson (read/set directions, write, port G) */ #include <linux/module.h> #include <linux/sched.h> #incl...
null
null
null
null
87,640
36,611
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,611
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 "third_party/blink/renderer/platform/bindings/trace_wrapper_v8_string.h" #include "third_party/blink/renderer/platform/bindings/v8_binding.h" na...
null
null
null
null
33,474
15,761
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,761
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 COMPONENTS_SYNC_SYNCABLE_METAHANDLE_SET_H_ #define COMPONENTS_SYNC_SYNCABLE_METAHANDLE_SET_H_ #include <stdint.h> #include <set> namespace ...
null
null
null
null
12,624
38,154
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,154
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/platform/graphics/paint/geometry_mapper_transform_cache.h" #include "third_party/blink/renderer/platform/graphics/pa...
null
null
null
null
35,017
24,157
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,157
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. #include "content/browser/download/save_types.h" #include "base/files/file_path.h" namespace content { SaveFileCreateInfo::SaveFileCreateInfo(const...
null
null
null
null
21,020
40,611
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,611
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,474
33,192
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,192
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_DOM_PSEUDO_ELEMENT_DATA_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_DOM_PSEUDO_ELEMENT_DATA_H_ #include "base/macr...
null
null
null
null
30,055
15,159
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,159
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/signin/core/browser/signin_status_metrics_provider_base.h" #include "base/metrics/histogram_macros.h" SigninStatusMetricsProviderBa...
null
null
null
null
12,022
17,800
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,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. #include <stddef.h> #include <stdint.h> #include "base/logging.h" #include "base/memory/ptr_util.h" #include "components/webcrypto/algorithm_implementati...
null
null
null
null
14,663
3,136
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,193
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * MPEG-1/2 demuxer * Copyright (c) 2000, 2001, 2002 Fabrice Bellard * * 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 Li...
null
null
null
null
72,248
28,332
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,327
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * FB driver for the SSD1305 OLED Controller * * based on SSD1306 driver by Noralf Tronnes * * 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 y...
null
null
null
null
101,674
58,613
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,613
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_ #include <vector> #include "base/mac...
null
null
null
null
55,476
28,004
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,999
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
null
null
null
null
101,346
5,289
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,284
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* card-ad1816a.c - driver for ADI SoundPort AD1816A based soundcards. Copyright (C) 2000 by Massimo Piccioni <dafastidio@libero.it> 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 Foundatio...
null
null
null
null
78,631
295
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,423
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
null
null
null
null
72,716
30,108
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,108
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* -LICENSE-START- ** Copyright (c) 2016 Blackmagic Design ** ** Permission is hereby granted, free of charge, to any person or organization ** obtaining a copy of the software and accompanying documentation covered by ** this license (the "Software") to use, reproduce, display, distribute, ** execute, and transmit the...
null
null
null
null
26,971
808
1,2,3,4,5,6,7,8,9,10,11,12,13
train_val
73edae623529f04c668268de49d00324b96166a2
808
Chrome
1
https://github.com/chromium/chromium
2012-05-24 21:15:17+00:00
static inline void removeElementPreservingChildren(PassRefPtr<DocumentFragment> fragment, HTMLElement* element) { ExceptionCode ignoredExceptionCode; RefPtr<Node> nextChild; for (RefPtr<Node> child = element->firstChild(); child; child = nextChild) { nextChild = child->nextSibling(); element...
CVE-2011-2795
CWE-264
https://github.com/chromium/chromium/commit/73edae623529f04c668268de49d00324b96166a2
Medium
808
40,089
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,084
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007-2008 Intel Corporation. All rights reserved. * * 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...
null
null
null
null
113,431
40,102
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,097
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Common low level (register) ptrace helpers * * Copyright 2004-2011 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __ASM_GENERIC_PTRACE_H__ #define __ASM_GENERIC_PTRACE_H__ #ifndef __ASSEMBLY__ /* Helpers for working with the instruction pointer */ #ifndef GET_IP #define GET_IP(regs)...
null
null
null
null
113,444
20,213
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,213
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ #include <memory> #include <strin...
null
null
null
null
17,076
28,041
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,041
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
null
null
null
null
24,904
2,833
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,828
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2011-2012, Pavel Zubarev <pavel.zubarev@gmail.com> * Copyright 2011-2012, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> * Copyright 2011-2012, cozybit Inc. * * 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
76,176
1,171
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,739
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include<stdio.h> #include<assert.h> int main() { int rs, rt; int result; rs = 0xFF0055AA; rt = 0x0113421B; result = 0x02268436; __asm ("append %0, %1, 0x01\n\t" : "+r"(rt) : "r"(rs) ); assert(rt == result); rs = 0xFFFF0FFF; rt = 0...
null
null
null
null
121,863
742
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,697
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* * COPYRIGHT NOTICE * * This file is a portion of "streamable kanji code filter and converter" * library, which is distributed under GNU Lesser General Public License * version 2.1. * * The source code included in this files was separated from mbfilter.c * by Moriyoshi Koizumi <moriyoshi@php.net> on 4 Dec 200...
null
null
null
null
119,618
20,727
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,722
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* QLogic qed NIC Driver * Copyright (c) 2015-2017 QLogic Corporation * * 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 ...
null
null
null
null
94,069
70,568
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,568
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 "device/fido/make_credential_task.h" #include <utility> #include "base/bind.h" #include "device/fido/ctap_empty_authenticator_request.h" #inclu...
null
null
null
null
67,431
12,687
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,682
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2008-2013 Freescale Semiconductor, Inc. All rights reserved. * * Author: Yu Liu, yu.liu@freescale.com * Scott Wood, scottwood@freescale.com * Ashish Kalra, ashish.kalra@freescale.com * Varun Sethi, varun.sethi@freescale.com * Alexander Graf, agraf@suse.de * * ...
null
null
null
null
86,029
1,350
4,5,6
train_val
4d17163f4b66be517dc49019a029e5ddbd45078c
1,350
Chrome
1
https://github.com/chromium/chromium
2013-11-16 08:44:48+00:00
void StyleResolver::matchUARules(ElementRuleCollector& collector) { collector.setMatchingUARules(true); // First we match rules from the user agent sheet. if (CSSDefaultStyleSheets::simpleDefaultStyleSheet) collector.matchedResult().isCacheable = false; RuleSet* userAgentStyleSheet = m_medium->mediaTyp...
CVE-2013-0828
CWE-399
https://github.com/chromium/chromium/commit/4d17163f4b66be517dc49019a029e5ddbd45078c
Medium
1,350
7,899
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,899
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_CERT_PEM_TOKENIZER_H_ #define NET_CERT_PEM_TOKENIZER_H_ #include <stddef.h> #include <string> #include <vector> #include "base/macros.h...
null
null
null
null
4,762
57,347
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,347
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/arc/policy/arc_policy_bridge.h" #include <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include ...
null
null
null
null
54,210
3,583
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,578
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * btnode.h - NILFS B-tree node cache * * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the L...
null
null
null
null
76,925
315
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,270
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2016 Zend Technologies Ltd. (http://www.zend.com) | +---------...
null
null
null
null
119,191
68,912
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,912
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 <stdint.h> #include "remoting/client/input/normalizing_input_filter_win.h" #include "remoting/proto/event.pb.h" #include "remoting/protocol/prot...
null
null
null
null
65,775