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
23,692
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,687
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Generic DVI Connector driver * * Copyright (C) 2013 Texas Instruments * Author: Tomi Valkeinen <tomi.valkeinen@ti.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. *...
null
null
null
null
97,034
33,186
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,186
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 Dirk Mueller (mueller@kde.org) * (C) 2006 Alexey Proskuryakov (ap@webkit.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 T...
null
null
null
null
30,049
16,900
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,895
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/sh/kernel/cpu/shmobile/pm.c * * Power management support code for SuperH Mobile * * Copyright (C) 2009 Magnus Damm * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #include ...
null
null
null
null
90,242
2,513
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,081
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Lattice Mico32 semihosting syscall interface * * Copyright (c) 2014 Michael Walle <michael@walle.cc> * * Based on target-m68k/m68k-semi.c, which is * Copyright (c) 2005-2007 CodeSourcery. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-lev...
null
null
null
null
123,205
23,909
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,904
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Backlight driver for Dialog Semiconductor DA9030/DA9034 * * Copyright (C) 2008 Compulab, Ltd. * Mike Rapoport <mike@compulab.co.il> * * Copyright (C) 2006-2008 Marvell International Ltd. * Eric Miao <eric.miao@marvell.com> * * This program is free software; you can redistribute it and/or modify * it unde...
null
null
null
null
97,251
17,693
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,688
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Based on arch/arm/mm/extable.c */ #include <linux/extable.h> #include <linux/uaccess.h> int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; fixup = search_exception_tables(instruction_pointer(regs)); if (fixup) regs->pc = (unsigned long)&fixup->fixup + fixup->fixup; r...
null
null
null
null
91,035
46,846
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,846
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 "ash/system/network/tray_network.h" #include "ash/metrics/user_metrics_recorder.h" #include "ash/shell.h" #include "ash/strings/grit/ash_str...
null
null
null
null
43,709
9,507
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,502
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* linux/arch/arm/mach-s3c2410/nor-simtec.h * * Copyright (c) 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * Simtec common functions * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
null
null
null
null
82,849
38,917
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,917
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 <memory> #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/testing/dummy_page_holder.h" #include "third_pa...
null
null
null
null
35,780
17,268
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,263
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Signal support for Hexagon processor * * Copyright (c) 2010-2012, 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 Founda...
null
null
null
null
90,610
27,466
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,466
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* crypt.h -- base code for crypt/uncrypt ZIPfile Version 1.01e, February 12th, 2005 Copyright (C) 1998-2005 Gilles Vollant This code is a modified version of crypting code in Infozip distribution The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were...
null
null
null
null
24,329
66,617
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,617
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/download/download_request_limiter.h" #include "base/bind.h" #include "base/stl_util.h" #include "build/build_config.h" #incl...
null
null
null
null
63,480
36,784
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,784
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2012 Intel Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
null
null
null
null
33,647
2,307
11,12
train_val
673ce95d481ea9368c4d4d43ac756ba1d6d9e608
2,307
Chrome
1
https://github.com/chromium/chromium
2018-01-18 20:59:24+00:00
void PdfCompositorClient::Composite( service_manager::Connector* connector, base::SharedMemoryHandle handle, size_t data_size, mojom::PdfCompositor::CompositePdfCallback callback, scoped_refptr<base::SequencedTaskRunner> callback_task_runner) { DCHECK(data_size); if (!compositor_) Connect(connector); mojo::ScopedSh...
CVE-2018-6063
CWE-787
https://github.com/chromium/chromium/commit/673ce95d481ea9368c4d4d43ac756ba1d6d9e608
Medium
2,307
7,394
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,389
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <asm/unistd.h> #include <sysdep/ptrace.h> typedef long syscall_handler_t(struct pt_regs); extern syscall_handler_t *sys_call_table[]; #define EXECUTE_SYSCALL(syscall, regs) \ ((long (*)(struct syscal...
null
null
null
null
80,736
27,945
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,945
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,808
31,189
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,184
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * IOMMU API for ARM architected SMMUv3 implementations. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, ...
null
null
null
null
104,531
30,091
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,086
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Definitions for Belkin USB Serial Adapter Driver * * Copyright (C) 2000 * William Greathouse (wgreathouse@smva.com) * * This program is largely derived from work by the linux-usb group * and associated source files. Please see the usb/serial files for * individual credits and copyrights. * * Th...
null
null
null
null
103,433
64,242
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,242
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_WEBUI_SETTINGS_RESET_SETTINGS_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_SETTINGS_RESET_SETTINGS_HANDLER_H_ #include <memory> #...
null
null
null
null
61,105
6,552
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,552
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_SPDY_CHROMIUM_SERVER_PUSH_DELEGATE_H_ #define NET_SPDY_CHROMIUM_SERVER_PUSH_DELEGATE_H_ #include <memory> #include "net/base/net_export....
null
null
null
null
3,415
24,826
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,821
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2010 Francisco Jerez. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use,...
null
null
null
null
98,168
60,737
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,737
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/android/chrome_feature_list.h" #include <stddef.h> #include <string> #include "base/android/jni_string.h" #include "base/featu...
null
null
null
null
57,600
26,398
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,398
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 <cups/cups.h> #include <map> #include <memory> #include "base/logging.h" #include "printing/backend/cups_ipp_util.h" #include "printing/backend...
null
null
null
null
23,261
888
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,945
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2002 Michael Niedermayer <michaelni@gmx.at> * Copyright (c) 2013 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; eithe...
null
null
null
null
70,000
542
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,110
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Throttle infrastructure tests * * Copyright Nodalink, EURL. 2013-2014 * Copyright Igalia, S.L. 2015 * * Authors: * Benoît Canet <benoit.canet@nodalink.com> * Alberto Garcia <berto@igalia.com> * * This work is licensed under the terms of the GNU LGPL, version 2 or later. * See the COPYING.LIB fil...
null
null
null
null
121,234
39,577
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,572
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __TRACE_EVENTS_H #define __TRACE_EVENTS_H #include <linux/trace_seq.h> #include "trace.h" extern enum print_line_t trace_print_bputs_msg_only(struct trace_iterator *iter); extern enum print_line_t trace_print_bprintk_msg_only(struct trace_iterator *iter); extern enum print_line_t trace_print_printk_msg_only(s...
null
null
null
null
112,919
68,054
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,054
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 REMOTING_PROTOCOL_BANDWIDTH_ESTIMATOR_H_ #define REMOTING_PROTOCOL_BANDWIDTH_ESTIMATOR_H_ #include "base/time/time.h" #include "remoting/codec/we...
null
null
null
null
64,917
40,177
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,172
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <generated/asm-offsets.h>
null
null
null
null
113,519
17,853
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,853
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/content/payment_manifest_web_data_service.h" #include "base/bind.h" #include "base/location.h" #include "components/payment...
null
null
null
null
14,716
23,749
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,749
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 "content/browser/devtools/protocol/memory_handler.h" #include "base/memory/memory_pressure_listener.h" #include "base/sampling_heap_profiler/sam...
null
null
null
null
20,612
62,529
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,529
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/browser_ui_prefs.h" #include "base/numerics/safe_conversions.h" #include "build/build_config.h" #include "chrome/browser/...
null
null
null
null
59,392
19,989
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,989
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 "content/public/common/use_zoom_for_dsf_policy.h" #include "base/command_line.h" #include "build/build_config.h" #include "content/public/common...
null
null
null
null
16,852
1,664
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,721
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * VP8 HW decode acceleration through NVDEC * * Copyright (c) 2017 Philip Langdale * * 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 * versio...
null
null
null
null
70,776
43,502
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,497
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License v.2. */ #ifndef _UAPI__DLM_PLOCK_DOT_H__ #define _UAPI__DLM_PLOCK_D...
null
null
null
null
116,844
54,616
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,616
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_TEST_CHROMEDRIVER_CHROME_DEBUGGER_TRACKER_H_ #define CHROME_TEST_CHROMEDRIVER_CHROME_DEBUGGER_TRACKER_H_ #include <string> #include "...
null
null
null
null
51,479
10,942
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,942
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 "mash/common/config.h" #include "base/command_line.h" #if defined(OS_CHROMEOS) #include "ash/public/interfaces/constants.mojom.h" // nogncheck...
null
null
null
null
7,805
2,271
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,328
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Header file for hardcoded Parametric Stereo tables * * Copyright (c) 2010 Alex Converse <alex.converse@gmail.com> * * 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 Sof...
null
null
null
null
71,383
40,753
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,748
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/*************************************************************************** * Linux PPP over X - Generic PPP transport layer sockets * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516) * * This file supplies definitions required by the PPP over Ethernet driver * (pppox.c). All version information...
null
null
null
null
114,095
30,281
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,281
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
27,144
11,870
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,865
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1992 - 1997, 2000,2002-2007 Silicon Graphics, Inc. All rights reserved. */ #include <linux/types.h> #include <linux/interr...
null
null
null
null
85,212
14,703
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,703
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/zoom/page_zoom.h" #include <stddef.h> #include <algorithm> #include <cmath> #include "base/metrics/user_metrics.h" #include "compo...
null
null
null
null
11,566
37,818
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,818
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/canvas_resource.h" #include "components/viz/common/resources/single_release_callback.h" #include "...
null
null
null
null
34,681
2,355
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,350
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * net/tipc/name_table.h: Include file for TIPC name table code * * Copyright (c) 2000-2006, 2014-2015, Ericsson AB * Copyright (c) 2004-2005, 2010-2011, Wind River Systems * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
null
null
null
null
75,698
43,210
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,205
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2007 Oracle. 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 v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHO...
null
null
null
null
116,552
14,077
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,077
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/offline_pages/core/model/offline_page_model_utils.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "b...
null
null
null
null
10,940
179
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,023
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #undef NDEBUG #include "k5-platform.h" int main () { /* Test some low-level assumptions the Kerberos code depends on. */ union { uint64_t n64; uint32_t n32; uint16_t n16; unsigned char b[9]; } u; st...
null
null
null
null
73,331
14,670
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,670
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/captive_portal/captive_portal_metrics.h" #include "base/metrics/histogram_macros.h" namespace captive_portal { void CaptivePortalM...
null
null
null
null
11,533
37,872
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,872
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2008 Apple Computer, 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 c...
null
null
null
null
34,735
67,944
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,944
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ #define REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ #include <memory> #include "base/macros.h" #includ...
null
null
null
null
64,807
43,033
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,028
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_GENERIC_POLL_H #define __ASM_GENERIC_POLL_H /* These are specified by iBCS2 */ #define POLLIN 0x0001 #define POLLPRI 0x0002 #define POLLOUT 0x0004 #define POLLERR 0x0008 #define POLLHUP 0x0010 #define POLLNVAL 0x0020 /* The rest seem to be more-or-less nonstandard. Check them! */ #define POLLRDNORM...
null
null
null
null
116,375
19,152
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,147
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Sonics Silicon Backplane * ChipCommon serial flash interface * * Licensed under the GNU/GPL. See COPYING for details. */ #include <linux/ssb/ssb.h> #include "ssb_private.h" static struct resource ssb_sflash_resource = { .name = "ssb_sflash", .start = SSB_FLASH2, .end = 0, .flags = IORESOURCE_MEM | IOR...
null
null
null
null
92,494
54,658
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,658
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_TEST_CHROMEDRIVER_CHROME_STATUS_H_ #define CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_ #include <string> // WebDriver standard status c...
null
null
null
null
51,521
9,743
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,738
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_ARCH_MFP_PXA25X_H #define __ASM_ARCH_MFP_PXA25X_H #include "mfp-pxa2xx.h" /* GPIO */ #define GPIO2_GPIO MFP_CFG_IN(GPIO2, AF0) #define GPIO3_GPIO MFP_CFG_IN(GPIO3, AF0) #define GPIO4_GPIO MFP_CFG_IN(GPIO4, AF0) #define GPIO5_GPIO MFP_CFG_IN(GPIO5, AF0) #define GPIO6_GPIO MFP_CFG_IN(GPIO6, AF0) #def...
null
null
null
null
83,085
2,777
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,834
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2012 * MIPS Technologies, Inc., California. * * 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...
null
null
null
null
71,889
2,369
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,426
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Mpeg video formats-related picture management functions * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
null
null
null
null
71,481
27,875
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,875
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,738
42,390
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,390
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/sys_info.h" #include <algorithm> #include "base/base_switches.h" #include "base/command_line.h" #include "base/lazy_instance.h" #incl...
null
null
null
null
39,253
53,782
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,782
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 ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_CONFIG_HELPER_H_ #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_CONFIG_HELPER_H_ #include "base/macros...
null
null
null
null
50,645
60,717
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,717
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_ #define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_ #include <jni.h> namespace chrome { namespace an...
null
null
null
null
57,580
60,250
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,250
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_SERVICE_WORKER_PAGE_LOAD_METRICS_OBSERVER_H_ #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_SERVICE...
null
null
null
null
57,113
33,931
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,931
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2000 Lars Knoll (knoll@kde.org) * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. * All right reserved. * Copyright (C) 2010 Google Inc. All rights reserved. * Copyright (C) 2013 Adobe Systems Incorporated. * * This library is free software; you can redist...
null
null
null
null
30,794
50,168
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,168
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 <memory> #include "base/files/file_util.h" #include "base/pickle.h" #include "base/strings/utf_string_conversions.h" #include "base/test/scoped_...
null
null
null
null
47,031
28,653
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,653
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// We use it instead of direct PPM.DecodeChar call to be sure that // we reset PPM structures in case of corrupt data. It is important, // because these structures can be invalid after PPM.DecodeChar returned -1. inline int Unpack::SafePPMDecodeChar() { int Ch=PPM.DecodeChar(); if (Ch==-1) // Corrupt P...
null
null
null
null
25,516
47,201
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,201
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 CC_TEST_TEST_OCCLUSION_TRACKER_H_ #define CC_TEST_TEST_OCCLUSION_TRACKER_H_ #include <stddef.h> #include "cc/layers/render_surface_impl.h" #incl...
null
null
null
null
44,064
1,606
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,450
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright (c) 2006 Red Hat, Inc. * Portions copyright (c) 2006, 2011 Massachusetts Institute of Technology * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
null
null
null
null
74,758
31,900
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,900
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/text_decoration_color.h" #include "third_party/blink/renderer/core/css/parser/css_pars...
null
null
null
null
28,763
70,951
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,951
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 "sandbox/win/src/process_mitigations_win32k_interception.h" #include <algorithm> #include "base/numerics/safe_conversions.h" #include "base/num...
null
null
null
null
67,814
71,450
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,450
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_RESOURCE_COORDINATOR_OBSERVER_BACKGROUND_METRICS_REPORTER_H_ #define SERVICES_RESOURCE_COORDINATOR_OBSERVER_BACKGROUND_METRICS_REPORTER_H...
null
null
null
null
68,313
1,683
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,740
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * RV30/40 decoder common data * Copyright (c) 2007 Mike Melanson, Konstantin Shishkov * * 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 * ver...
null
null
null
null
70,795
35,624
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,624
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_SUGGESTION_MARKER_PROPERTIES_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_SUGGESTION...
null
null
null
null
32,487
2,643
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,638
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> * * 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/module.h> #include <linux/skbuff.h> #include <net/...
null
null
null
null
75,986
100
32,33,34
train_val
d8ab7f046587f2e9f734b687ba7e6e10147c294b
160,228
ImageMagick
1
https://github.com/ImageMagick/ImageMagick
2016-06-21 21:13:37-04:00
static inline signed short ReadPropertyMSBShort(const unsigned char **p, size_t *length) { union { unsigned short unsigned_value; signed short signed_value; } quantum; int c; register ssize_t i; unsigned char buffer[2]; unsigned short value; if (*length < 2) return((unsigned short) ~0); for (i=0; i < 2; i++) { c=...
CVE-2016-5842
CWE-125
https://github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b
Low
2,677
5,674
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,674
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 "chromeos/login/auth/login_performer.h" #include "base/bind.h" #include "base/location.h" #include "base/logging.h" #include "base/metrics/histo...
null
null
null
null
2,537
35,209
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,204
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/media/i2c/smiapp/smiapp-limits.h * * Generic driver for SMIA/SMIA++ compliant camera modules * * Copyright (C) 2011--2012 Nokia Corporation * Contact: Sakari Ailus <sakari.ailus@iki.fi> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General...
null
null
null
null
108,551
60,292
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,292
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.h" #include "base/metrics/histogram_macros.h" #include ...
null
null
null
null
57,155
47,225
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,225
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 "cc/test/fake_ui_resource_layer_tree_host_impl.h" #include "cc/resources/ui_resource_bitmap.h" #include "cc/test/fake_layer_tree_host_impl.h" n...
null
null
null
null
44,088
2,459
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100
train_val
ac149a8d4371c0e01e0934fdd57b09e86f96b5b9
2,459
Chrome
1
https://github.com/chromium/chromium
2018-03-07 01:32:04+00:00
static int hid_submit_control_transfer(int sub_api, struct usbi_transfer *itransfer) { struct libusb_transfer *transfer = USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); struct windows_transfer_priv *transfer_priv = (struct windows_transfer_priv*)usbi_transfer_get_os_priv(itransfer); struct windows_device_handle_priv *...
CVE-2018-6125
null
https://github.com/chromium/chromium/commit/ac149a8d4371c0e01e0934fdd57b09e86f96b5b9
null
2,459
50,246
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,246
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 UI_BASE_X_UI_BASE_X_EXPORT_H_ #define UI_BASE_X_UI_BASE_X_EXPORT_H_ // Defines UI_BASE_X_EXPORT so that functionality implemented by the UI modul...
null
null
null
null
47,109
16,915
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,915
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_BSP_TREE_H_ #define COMPONENTS_VIZ_SERVICE_DISPLAY_BSP_TREE_H_ #include <stddef.h> #include <memory> #include <ve...
null
null
null
null
13,778
31,585
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,580
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* $Id: b1.c,v 1.1.2.2 2004/01/16 21:09:27 keil Exp $ * * Common module for AVM B1 cards. * * Copyright 1999 by Carsten Paeth <calle@calle.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * */ #include <linux/module...
null
null
null
null
104,927
56,545
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,545
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_PRELOADED_WEB_VIEW_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_PRELOADED_WEB_VIEW_H_ #include <memory> #include...
null
null
null
null
53,408
39,995
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,990
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#undef TRACE_SYSTEM #define TRACE_SYSTEM pagemap #if !defined(_TRACE_PAGEMAP_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_PAGEMAP_H #include <linux/tracepoint.h> #include <linux/mm.h> #define PAGEMAP_MAPPED 0x0001u #define PAGEMAP_ANONYMOUS 0x0002u #define PAGEMAP_FILE 0x0004u #define PAGEMAP_SWAPCACHE 0x...
null
null
null
null
113,337
5,955
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,950
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for the MAX9860 Mono Audio Voice Codec * * Author: Peter Rosin <peda@axentia.s> * Copyright 2016 Axentia Technologies * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software ...
null
null
null
null
79,297
37,744
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,739
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __PERF_STRBUF_H #define __PERF_STRBUF_H /* * Strbuf's can be use in many ways: as a byte array, or to store arbitrary * long, overflow safe strings. * * Strbufs has some invariants that are very important to keep in mind: * * 1. the ->buf member is always malloc-ed, hence strbuf's can be used to * bu...
null
null
null
null
111,086
52,739
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,739
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/base/cdm_session_tracker.h" namespace media { CdmSessionTracker::CdmSessionTracker() = default; CdmSessionTracker::~CdmSessionTracker()...
null
null
null
null
49,602
7,246
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,241
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <asm-generic/signal.h>
null
null
null
null
80,588
26,052
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,052
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 <memory> #include <string> #include <tuple> #include "base/memory/ref_counted.h" #include "base/run_loop.h" #include "device/bluetooth/bluetooth...
null
null
null
null
22,915
1,421
1,4,5
train_val
d358f57009b85fb7440208afa5ba87636b491889
1,421
Chrome
1
https://github.com/chromium/chromium
2014-02-20 13:27:00+00:00
void BluetoothDeviceChromeOS::SetPinCode(const std::string& pincode) { if (!agent_.get() || pincode_callback_.is_null()) return; pincode_callback_.Run(SUCCESS, pincode); pincode_callback_.Reset(); }
CVE-2013-2867
null
https://github.com/chromium/chromium/commit/d358f57009b85fb7440208afa5ba87636b491889
Low
1,421
9,809
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,809
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/media/cdm/cast_cdm_factory.h" #include "base/bind.h" #include "base/location.h" #include "base/single_thread_task_runner.h" #include...
null
null
null
null
6,672
40,316
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,311
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro * Copyright (C) 2015 Lukas Wunner <lukas@wunner.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 Foundati...
null
null
null
null
113,658
64,069
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,069
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/net_internals/net_internals_ui.h" #include <stddef.h> #include <algorithm> #include <memory> #include <string> #in...
null
null
null
null
60,932
67,615
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,615
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_SAFE_BROWSING_DOWNLOAD_PROTECTION_CHECK_CLIENT_DOWNLOAD_REQUEST_H_ #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_CHECK_C...
null
null
null
null
64,478
22,351
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,351
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_RULE_H_ #define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_RULE_H_ #include <memory> #include "base/m...
null
null
null
null
19,214
7,139
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,139
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_QUIC_CORE_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ #define NET_QUIC_CORE_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ #include <string> #include "net/quic/cor...
null
null
null
null
4,002
63,486
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,486
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/location_bar/intent_picker_view.h" #include "chrome/browser/chromeos/apps/intent_helper/apps_navigation_throttle.h" #in...
null
null
null
null
60,349
3,687
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,687
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_WEB_WEB_STATE_CONTEXT_MENU_PARAMS_UTILS_H_ #define IOS_WEB_WEB_STATE_CONTEXT_MENU_PARAMS_UTILS_H_ #import <UIKit/UIKit.h> #import "ios/web/p...
null
null
null
null
550
19,932
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,927
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2015-2017 Netronome Systems, Inc. * * This software is dual licensed under the GNU General License Version 2, * June 1991 as shown in the file COPYING in the top-level directory of this * source tree or the BSD 2-Clause License provided below. You have the * option to license this software und...
null
null
null
null
93,274
23,473
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,473
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 "content/browser/indexed_db/leveldb/leveldb_write_batch.h" #include "base/memory/ptr_util.h" #include "base/strings/string_piece.h" #include...
null
null
null
null
20,336
37,617
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,612
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <libunwind-x86.h> #include <stdlib.h> extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as, unw_word_t ip, unw_dyn_info_t *di, unw_proc_info_t *pi, int need_unwind_info, void *arg); #define dwarf_search_unwind_table UNW_OBJ(dwarf_search_unwind_ta...
null
null
null
null
110,959
10,130
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,125
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Hardware parameter area specific to Sharp SL series devices * * Copyright (c) 2005 Richard Purdie * * Based on Sharp's 2.4 kernel patches * * 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 Sof...
null
null
null
null
83,472