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
20,397
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,397
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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_MEDIA_CAPTURE_ID_H_ #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_MEDIA_CAPTURE_ID_H_ #include <string> #inclu...
null
null
null
null
17,260
40,036
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,036
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/modules/media_controls/elements/media_control_current_time_display_element.h" #include "third_party/blink/renderer/m...
null
null
null
null
36,899
1,354
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,309
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +---------...
null
null
null
null
120,230
8,404
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,404
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/disk_cache/blockfile/block_files.h" #include <limits> #include "base/atomicops.h" #include "base/files/file_path.h" #include "base/met...
null
null
null
null
5,267
46,730
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,730
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_SYSTEM_TRAY_TRAY_ITEM_MORE_H_ #define ASH_SYSTEM_TRAY_TRAY_ITEM_MORE_H_ #include <memory> #include "ash/system/tray/actionable_view.h" #...
null
null
null
null
43,593
34,721
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,716
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Linux driver for Philips webcam Various miscellaneous functions and tables. (C) 1999-2003 Nemosoft Unv. (C) 2004-2006 Luc Saillard (luc@saillard.org) NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx driver and thus may have bugs that are not present in the original version....
null
null
null
null
108,063
31,893
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,893
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/css/properties/longhands/webkit_padding_start.h" #include "third_party/blink/renderer/core/css/parser/css_parse...
null
null
null
null
28,756
54,575
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,575
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/test/chromedriver/net/sync_websocket_impl.h" #include "base/bind.h" #include "base/callback.h" #include "base/location.h" #include "...
null
null
null
null
51,438
10,035
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,035
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 CHROMECAST_GRAPHICS_CAST_SCREEN_H_ #define CHROMECAST_GRAPHICS_CAST_SCREEN_H_ #include "base/macros.h" #include "chromecast/public/graphics_types...
null
null
null
null
6,898
10,794
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,794
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 "mojo/edk/system/platform_handle_dispatcher.h" #include <stdio.h> #include <utility> #include "base/files/file_path.h" #include "base/files/fil...
null
null
null
null
7,657
24,567
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,567
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 EXTENSIONS_TEST_BACKGROUND_PAGE_WATCHER_H_ #define EXTENSIONS_TEST_BACKGROUND_PAGE_WATCHER_H_ #include <string> #include "base/callback.h" #incl...
null
null
null
null
21,430
20,554
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,554
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 "base/at_exit.h" #include "base/i18n/icu_util.h" #include "content/browser/web_package/signed_exchange_header_parser.h" // nogncheck namespace ...
null
null
null
null
17,417
628
8,9,18,19
train_val
9709674e68646cee5a24e3000b3558d25412203a
165,623
linux
1
https://github.com/torvalds/linux
2014-06-11 15:39:18-07:00
void ip4_datagram_release_cb(struct sock *sk) { const struct inet_sock *inet = inet_sk(sk); const struct ip_options_rcu *inet_opt; __be32 daddr = inet->inet_daddr; struct flowi4 fl4; struct rtable *rt; if (! __sk_dst_get(sk) || __sk_dst_check(sk, 0)) return; rcu_read_lock(); inet_opt = rcu_dereference(inet->inet_op...
CVE-2014-9914
CWE-416
https://github.com/torvalds/linux/commit/9709674e68646cee5a24e3000b3558d25412203a
Low
3,517
2,352
2
train_val
3c8e4852477d5b1e2da877808c998dc57db9460f
2,352
Chrome
1
https://github.com/chromium/chromium
2018-01-23 05:20:27+00:00
void StorageHandler::SetRenderer(RenderProcessHost* process_host, RenderFrameHostImpl* frame_host) { process_ = process_host; }
CVE-2018-6111
CWE-20
https://github.com/chromium/chromium/commit/3c8e4852477d5b1e2da877808c998dc57db9460f
Medium
2,352
38,641
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,641
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2011 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
null
null
null
null
35,504
3,455
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,450
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Squashfs - a compressed read only filesystem for Linux * * Copyright (c) 2010 * Phillip Lougher <phillip@squashfs.org.uk> * * 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 ve...
null
null
null
null
76,797
46,176
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,176
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 ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_ #define ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_ #include "ash/wm/worksp...
null
null
null
null
43,039
36,281
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,281
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/clipboard/data_transfer.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/...
null
null
null
null
33,144
57,859
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,859
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 CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_WATCHER_MANAGER_H_ #define CHROME_BROWSER_CHROMEOS_FILEAPI_MTP_WATCHER_MANAGER_H_ #include "chrome/browser/me...
null
null
null
null
54,722
229
6
train_val
a8b0ca17b80e92faab46ee7179ba9e99ccb61233
165,224
linux
1
https://github.com/torvalds/linux
2011-07-01 11:06:35+02:00
void handle_ld_nf(u32 insn, struct pt_regs *regs) { int rd = ((insn >> 25) & 0x1f); int from_kernel = (regs->tstate & TSTATE_PRIV) != 0; unsigned long *reg; perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, 0, regs, 0); maybe_flush_windows(0, 0, rd, from_kernel); reg = fetch_reg_addr(rd, regs); if (from_kernel || rd ...
CVE-2011-2918
CWE-399
https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233
Low
3,118
9,466
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,461
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __ASM_ARCH_BRIDGE_REGS_H #define __ASM_ARCH_BRIDGE_REGS_H #include "mv78xx0.h" #define CPU_CONTROL (BRIDGE_VIRT_B...
null
null
null
null
82,808
8,089
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,084
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * highmem.h: virtual kernel memory mappings for high memory * * Used in CONFIG_HIGHMEM systems for memory pages which * are not addressable by direct kernel virtual addresses. * * Copyright (C) 1999 Gerhard Wichert, Siemens AG * Gerhard.Wichert@pdb.siemens.de * * * Redesigned the x86 32-bit VM archi...
null
null
null
null
81,431
26,582
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,582
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* american fuzzy lop - free CPU gizmo ----------------------------------- Written and maintained by Michal Zalewski <lcamtuf@google.com> Copyright 2015, 2016 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complia...
null
null
null
null
23,445
4,062
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,057
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2006 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 Licen...
null
null
null
null
77,404
21,038
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,033
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef B43legacy_H_ #define B43legacy_H_ #include <linux/hw_random.h> #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/interrupt.h> #include <linux/stringify.h> #include <linux/netdevice.h> #include <linux/pci.h> #include <linux/atomic.h> #include <linux/io.h> #include <linux/ssb/ssb.h> #include...
null
null
null
null
94,380
40,804
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,799
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ADFS_FS_H #define _ADFS_FS_H #include <uapi/linux/adfs_fs.h> /* * Calculate the boot block checksum on an ADFS drive. Note that this will * appear to be correct if the sector contains all zeros, so also check that * the disk size is non-zero!!! */ static inline int adfs_checkbblk(unsigned char *ptr) { ...
null
null
null
null
114,146
45,450
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,450
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ #define ASH_SHELF_OVERFLOW_BUBBLE_VIEW_H_ #include "ash/ash_export.h" #include "ash/shelf/shelf_background_anim...
null
null
null
null
42,313
44,300
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,300
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (c) 2011 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h" #include "ppapi/native_client/src/untrusted/irt_stub/ppapi_start.h" /* * T...
null
null
null
null
41,163
8,746
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,741
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/arm/mach-s3c64xx/mach-smartq.h * * Copyright (C) 2010 Maurus Cuelenaere * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __MACH_SMARTQ_H #define...
null
null
null
null
82,088
33,015
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,015
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (c) 2011 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
29,878
35,411
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,406
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * EFI support for Xen. * * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> * Copyright (C) 1999-2002 Hewlett-Packard Co. * David Mosberger-Tang <davidm@hpl.hp.com> * Stephane Eranian <eranian@hpl.hp.com> * Copyright (C) 2005-2008 Intel Co. * Fenghua Yu <fenghua....
null
null
null
null
108,753
39,108
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,108
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/vr/vr_eye_parameters.h" namespace blink { VREyeParameters::VREyeParameters( const device::mojom::blink:...
null
null
null
null
35,971
59,959
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,959
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/metrics/thread_watcher.h" #include <math.h> #include <stdint.h> #include <memory> #include "base/bind.h" #include "base/lo...
null
null
null
null
56,822
32,655
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,650
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * ide-floppy IOCTLs handling. */ #include <linux/kernel.h> #include <linux/ide.h> #include <linux/cdrom.h> #include <linux/mutex.h> #include <asm/unaligned.h> #include <scsi/scsi_ioctl.h> #include "ide-floppy.h" /* * Obtain the list of formattable capacities. * Very similar to ide_floppy_get_capacity, excep...
null
null
null
null
105,997
171
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,126
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* $Id: fpm_php_trace.c,v 1.27.2.1 2008/11/15 00:57:24 anight Exp $ */ /* (c) 2007,2008 Andrei Nigmatulin */ #include "fpm_config.h" #if HAVE_FPM_TRACE #include "php.h" #include "php_main.h" #include <stdio.h> #include <stddef.h> #if HAVE_INTTYPES_H # include <inttypes.h> #else # include <stdint.h> #endif #inclu...
null
null
null
null
119,047
64,203
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,203
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_MEDIA_WEBRTC_LOGS_UI_H_ #define CHROME_BROWSER_UI_WEBUI_MEDIA_WEBRTC_LOGS_UI_H_ #include "base/macros.h" #include "conten...
null
null
null
null
61,066
18,246
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,241
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright(c) 2015, 2016 Intel Corporation. * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * This program is free software; you can redistribute it and/or modify * it under the terms of versi...
null
null
null
null
91,588
51,940
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,940
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 "media/gpu/v4l2/v4l2_jpeg_decode_accelerator.h" #include <errno.h> #include <linux/videodev2.h> #include <string.h> #include <sys/mman.h> #incl...
null
null
null
null
48,803
40,103
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,098
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_GENERIC_EXPORT_H #define __ASM_GENERIC_EXPORT_H #ifndef KSYM_FUNC #define KSYM_FUNC(x) x #endif #ifdef CONFIG_64BIT #define __put .quad #ifndef KSYM_ALIGN #define KSYM_ALIGN 8 #endif #else #define __put .long #ifndef KSYM_ALIGN #define KSYM_ALIGN 4 #endif #endif #ifndef KCRC_ALIGN #define KCRC_ALIGN 4 #e...
null
null
null
null
113,445
44,002
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,997
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __SOUND_TEA575X_TUNER_H #define __SOUND_TEA575X_TUNER_H /* * ALSA driver for TEA5757/5759 Philips AM/FM tuner chips * * Copyright (c) 2004 Jaroslav Kysela <perex@perex.cz> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License...
null
null
null
null
117,344
40,182
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,182
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 <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/uio.h> #include <sys/wait.h> #include ...
null
null
null
null
37,045
36,693
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,693
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_MOJO_REVOCABLE_INTERFACE_PTR_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_MOJO_REVOCABLE_INTERFACE_PTR_H_ #...
null
null
null
null
33,556
25,092
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,092
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/common/extension_builder.h" #include "base/version.h" #include "extensions/common/extension.h" #include "extensions/common/manifest_...
null
null
null
null
21,955
71,018
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,018
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 SANDBOX_MAC_SEATBELT_EXPORT_H_ #define SANDBOX_MAC_SEATBELT_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(SEATBELT_IMPLEMENTATION) #define ...
null
null
null
null
67,881
63,093
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,093
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_RELAUNCH_NOTIFICATION_RELAUNCH_RECOMMENDED_BUBBLE_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_RELAUNCH_NOTIFICATION_RELAUNCH_R...
null
null
null
null
59,956
62,387
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,387
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 CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_SAMPLER_H_ #define CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_SAMPLER_H_ #include <stdint.h>...
null
null
null
null
59,250
36,178
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,173
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * "RTT as Real Time Clock" driver for AT91SAM9 SoC family * * (C) 2007 Michel Benoit * * Based on rtc-at91rm9200.c by Rick Bronson * * 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; e...
null
null
null
null
109,520
42,688
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,683
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _IPV4_NF_REJECT_H #define _IPV4_NF_REJECT_H #include <linux/skbuff.h> #include <net/ip.h> #include <net/icmp.h> void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook); const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff ...
null
null
null
null
116,030
12,350
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,350
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 "components/nacl/renderer/plugin/nacl_subprocess.h" #include <stdarg.h> #include <stddef.h> #include <stdint.h> #include <sstream> #includ...
null
null
null
null
9,213
34,600
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,600
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/html/html_rt_element.h" #include "third_party/blink/renderer/core/html_names.h" #include "third_party/blink/ren...
null
null
null
null
31,463
47,697
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,697
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/animation/single_keyframe_effect_animation.h" #include <inttypes.h> #include <algorithm> #include "base/stl_util.h" #include "base/strings/...
null
null
null
null
44,560
20,358
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,358
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_H_ #define CONTENT_PUBLIC_BROWSER_RESOURCE_THROTTLE_H_ #include "content/common/content_export.h" n...
null
null
null
null
17,221
66,181
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,181
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/router/discovery/dial/parsed_dial_device_description.h" namespace media_router { ParsedDialDeviceDescription::ParsedD...
null
null
null
null
63,044
31,563
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,563
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
null
null
null
null
28,426
10,149
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,149
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/browser/cast_extension_host.h" #include "content/public/browser/notification_source.h" #include "content/public/browser/render_frame...
null
null
null
null
7,012
259
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,214
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,135
23,321
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,316
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/pci/rom.c * * (C) Copyright 2004 Jon Smirl <jonsmirl@yahoo.com> * (C) Copyright 2004 Silicon Graphics, Inc. Jesse Barnes <jbarnes@sgi.com> * * PCI ROM access routines */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/pci.h> #include <linux/slab.h> #include "pci.h" /** * pci_e...
null
null
null
null
96,663
65,066
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,066
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. // The accelerator priority functions are intended to distinguish between // accelerators that should preserve the built-in Chrome keybinding semantics //...
null
null
null
null
61,929
1,001
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,569
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "io.h" int main(void) { long long rd, rt; long long result; rt = 0xFFFFFFFF11111111; result = 0xFFFFFFFF00000000; __asm ("preceq.l.pwl %0, %1\n\t" : "=r"(rd) : "r"(rt) ); if (result != rd) { printf("preceq.l.pwl wrong\n"); return -1;...
null
null
null
null
121,693
44,475
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,470
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Name: acconfig.h - Global configuration constants * *****************************************************************************/ /* * Copyright (C) 2000 - 2017, Intel Corp. * All rights reserved. * * Redistribution and use in...
null
null
null
null
117,817
27,825
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,820
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
null
null
null
null
101,167
51,952
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,952
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file contains an implementation of VideoDecodeAccelerator // that utilizes hardware video decoders, which expose Video4Linux 2 API // (http://li...
null
null
null
null
48,815
25,478
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,478
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 EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MASTER_H_ #define EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MASTER_H_ #include <memory> #include <set...
null
null
null
null
22,341
39,798
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,798
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
36,661
21,361
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,356
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* hermes.h * * Driver core for the "Hermes" wireless MAC controller, as used in * the Lucent Orinoco and Cabletron RoamAbout cards. It should also * work on the hfa3841 and hfa3842 MAC controller chips used in the * Prism I & II chipsets. * * This is not a complete driver, just low-level access routines for * ...
null
null
null
null
94,703
46,886
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,886
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 GIN_FUNCTION_TEMPLATE_H_ #define GIN_FUNCTION_TEMPLATE_H_ #include <stddef.h> #include "base/callback.h" #include "base/logging.h" #include "bas...
null
null
null
null
43,749
469
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
train_val
19190765882e272a6a2162c89acdb29110f7e3cf
469
Chrome
1
https://github.com/chromium/chromium
2011-09-21 22:56:29+00:00
std::map<int64, int64> GetExpectedMetaProtoTimes() { std::map<int64, int64> expected_meta_proto_times; expected_meta_proto_times[1] = META_PROTO_TIMES(1); expected_meta_proto_times[2] = META_PROTO_TIMES(2); expected_meta_proto_times[4] = META_PROTO_TIMES(4); expected_meta_proto_times[5] = META_PROTO_TIMES(5);...
null
null
https://github.com/chromium/chromium/commit/19190765882e272a6a2162c89acdb29110f7e3cf
null
469
62,023
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,023
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_MEMORY_SWAP_THRASHING_MONITOR_DELEGATE_H_ #define CHROME_BROWSER_MEMORY_SWAP_THRASHING_MONITOR_DELEGATE_H_ #include "base/macros.h...
null
null
null
null
58,886
3,786
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,781
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/fs/ext4/truncate.h * * Common inline functions needed for truncate support */ /* * Truncate blocks that were not used by write. We have to truncate the * pagecache as well so that corresponding buffers get properly unmapped. */ static inline void ext4_truncate_failed_write(struct inode *inode) { dow...
null
null
null
null
77,128
39,892
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,892
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2012, Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
null
null
null
null
36,755
28,485
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,485
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */ /* */ /* This source code is subject to the terms of the BSD 2 Clause License and */ /* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */ /* was not distributed with this source code in the LICENSE file, you can */ /* ...
null
null
null
null
25,348
17,942
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,942
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAYMENTS_CORE_BASIC_CARD_RESPONSE_H_ #define COMPONENTS_PAYMENTS_CORE_BASIC_CARD_RESPONSE_H_ #include <memory> #include "base/strings...
null
null
null
null
14,805
18,820
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,815
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. */ #include <linux/delay.h> #include <linux/io.h> #include <linux/pci.h> #include <linux/ratelimit.h> #include "ql4_def.h" #include "ql4_glbl.h" #include "ql4_inline.h" #include ...
null
null
null
null
92,162
20,672
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,667
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* QLogic qede 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,014
1,205
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,262
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * H.26L/H.264/AVC/JVT/14496-10/... encoder/decoder * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software ...
null
null
null
null
70,317
58,589
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,589
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/extensions/favicon_downloader.h" #include "base/bind.h" #include "base/message_loop/message_loop.h" #include "components/favicon...
null
null
null
null
55,452
37,810
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,810
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_CANVAS_METRICS_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_CANVAS_METRICS_H_ #include "t...
null
null
null
null
34,673
53,241
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,241
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file contains an implementation of a H264BitstreamBuffer class for // constructing raw bitstream buffers containing NAL units in // H.264 Annex-...
null
null
null
null
50,104
39,518
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,513
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/spinlock.h> #include <linux/task_work.h> #include <linux/tracehook.h> static struct callback_head work_exited; /* all we need is ->next == NULL */ /** * task_work_add - ask the @task to execute @work->func() * @task: the task which should run the callback * @work: the callback to run * @notify: se...
null
null
null
null
112,860
1,537
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,381
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 -*- */ /* kadmin/dbutil/kdb5_stash.c - Store the master database key in a file */ /* * Copyright 1990 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specifi...
null
null
null
null
74,689
64,266
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,266
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/ui/webui/settings/settings_page_ui_handler.h" #include "content/public/browser/web_ui.h" namespace settings { SettingsPageUIHa...
null
null
null
null
61,129
2,378
24
train_val
3c8e4852477d5b1e2da877808c998dc57db9460f
2,378
Chrome
1
https://github.com/chromium/chromium
2018-01-23 05:20:27+00:00
void RenderFrameDevToolsAgentHost::UpdateFrameHost( RenderFrameHostImpl* frame_host) { if (frame_host == frame_host_) { if (frame_host && !render_frame_alive_) { render_frame_alive_ = true; MaybeReattachToRenderFrame(); } return; } if (frame_host && !ShouldCreateDevToolsForHost(frame_host)) { DestroyOnRenderFrameGone(...
CVE-2018-6111
CWE-20
https://github.com/chromium/chromium/commit/3c8e4852477d5b1e2da877808c998dc57db9460f
Medium
2,378
36,058
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,053
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Real Time Clock driver for Freescale MC13XXX PMIC * * (C) 2009 Sascha Hauer, Pengutronix * (C) 2009 Uwe Kleine-Koenig, Pengutronix * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Fo...
null
null
null
null
109,400
58,503
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,503
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/password_manager/update_password_infobar_delegate_android.h" #include "base/memory/ptr_util.h" #include "base/numerics/safe_conv...
null
null
null
null
55,366
20,091
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,086
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/net/ethernet/mellanox/mlxsw/trap.h * Copyright (c) 2015 Mellanox Technologies. All rights reserved. * Copyright (c) 2015 Elad Raz <eladr@mellanox.com> * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> * Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com> * * Redistribution and use in source and ...
null
null
null
null
93,433
21,216
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,211
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Marvell Wireless LAN device driver: generic TX/RX data handling * * Copyright (C) 2011-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, r...
null
null
null
null
94,558
29,420
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,415
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Regulator driver for TI TPS6586x * * Copyright (C) 2010 Compulab Ltd. * Author: Mike Rapoport <mike@compulab.co.il> * * Based on da903x * Copyright (C) 2006-2008 Marvell International Ltd. * Copyright (C) 2008 Compulab Ltd. * * This program is free software; you can redistribute it and/or modify * it un...
null
null
null
null
102,762
59,228
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,228
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_API_PERMISSIONS_PERMISSIONS_API_HELPERS_H_ #define CHROME_BROWSER_EXTENSIONS_API_PERMISSIONS_PERMISSIONS_API_HELPERS...
null
null
null
null
56,091
15,583
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,583
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/gcm_driver/gcm_delayed_task_controller.h" #include <stddef.h> #include "base/logging.h" namespace gcm { GCMDelayedTaskController:...
null
null
null
null
12,446
8,003
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,003
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 "net/cert/internal/verify_name_match.h" #include "base/test/fuzzed_data_provider.h" #include "net/der/input.h" // Entry point for LibFuzzer. ex...
null
null
null
null
4,866
33,560
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,555
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Afatech AF9013 demodulator driver * * Copyright (C) 2007 Antti Palosaari <crope@iki.fi> * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> * * Thanks to Afatech who kindly provided information. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU ...
null
null
null
null
106,902
40,201
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,196
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * include/asm-generic/seccomp.h * * Copyright (C) 2014 Linaro Limited * Author: AKASHI Takahiro <takahiro.akashi@linaro.org> * * 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
113,543
26,811
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,806
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Originally from efivars.c * * Copyright (C) 2001,2003,2004 Dell <Matt_Domsch@dell.com> * Copyright (C) 2004 Intel Corporation <matthew.e.tolentino@intel.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 * ...
null
null
null
null
100,153
21,716
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,711
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Copyright(c) 2009-2014 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundati...
null
null
null
null
95,058
47,431
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,431
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 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 CC_TREES_LAYER_TREE_HOST_COMMON_H_ #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ #include <stddef.h> #include <limits> #include <vector> #include ...
null
null
null
null
44,294
45,219
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,219
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/window_user_data.h" #include <memory> #include "ash/test/ash_test_base.h" #include "ash/window_user_data.h" #include "ui/aura/window.h" #i...
null
null
null
null
42,082
38,103
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,098
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <elf.h> #include <inttypes.h> #include <sys/ttydefaults.h> #include <string.h> #include <linux/bitops.h> #include "../../util/util.h" #include "../../util/debug.h" #include "../../util/symbol.h" #include "../browser.h" #include "../helpline.h" #include "../keysyms.h" #include "map.h" struct map_browser { str...
null
null
null
null
111,445
57,978
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,978
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/system/device_disabling_manager.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/command_line.h"...
null
null
null
null
54,841
26,759
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,759
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2009 Google Inc. All Rights Reserved. // Author: Nabeel Mian (nabeelmian@google.com) // Chris Demetriou (cgd@google.com) // // This file contains the unit tests for profile-handler.h interface. // // It is linked into three separate unit tests: // profile-handler_unittest tests basic functional...
null
null
null
null
23,622
570
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,414
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Mike Olson. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
null
null
null
null
73,722