file_name
int64
0
72.3k
vulnerable_line_numbers
stringlengths
1
1.06k
dataset_type
stringclasses
1 value
commit_hash
stringlengths
40
44
unique_id
int64
0
271k
project
stringclasses
10 values
target
int64
0
1
repo_url
stringclasses
10 values
date
stringlengths
25
25
code
stringlengths
0
20.4M
CVE
stringlengths
13
43
CWE
stringclasses
50 values
commit_link
stringlengths
73
97
severity
stringclasses
4 values
__index_level_0__
int64
0
124k
19,265
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,260
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * FUJITSU Extended Socket Network Device driver * Copyright (c) 2015-2016 FUJITSU LIMITED * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This progr...
null
null
null
null
92,607
38,373
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,373
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/platform/animation/compositor_transform_operations.h" #include "ui/gfx/transform.h" namespace blink { const cc::Tr...
null
null
null
null
35,236
10,452
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,447
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2008 Juergen Beisert, kernel@pengutronix.de * * 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...
null
null
null
null
83,794
40,000
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,000
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/locks/navigator_locks.h" #include "third_party/blink/renderer/core/frame/navigator.h" #include "third_party/...
null
null
null
null
36,863
53,532
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,532
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/cast/sender/fake_software_video_encoder.h" #include <stddef.h> #include "base/json/json_writer.h" #include "base/values.h" #include "med...
null
null
null
null
50,395
2,053
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,048
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2008 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. * * Development of this code funded by Astaro AG (http://www.astaro.c...
null
null
null
null
75,396
4,250
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,245
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 1995-2005 Silicon Graphics, Inc. * All Rights Reserved. * * This program 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. * * This program is distributed in the hope that it wo...
null
null
null
null
77,592
6,031
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,031
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_COMPONENTS_FAKE_ERROR_TOLERANT_BLE_ADVERTISEMENT_H_ #define CHROMEOS_COMPONENTS_FAKE_ERROR_TOLERANT_BLE_ADVERTISEMENT_H_ #include "base/...
null
null
null
null
2,894
7,319
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,314
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * platform_msic.h: MSIC platform data header file * * (C) Copyright 2013 Intel Corporation * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@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...
null
null
null
null
80,661
38,966
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,966
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_MODULES_WEBAUDIO_TESTING_INTERNALS_WEB_AUDIO_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBAUDIO_TESTING_INTERNALS_W...
null
null
null
null
35,829
26,782
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,777
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Qualcomm SCM driver * * Copyright (c) 2010,2015, The Linux Foundation. All rights reserved. * Copyright (C) 2015 Linaro Ltd. * * 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 Fre...
null
null
null
null
100,124
18,547
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,547
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/subresource_filter/content/browser/verified_ruleset_dealer.h" #include <memory> #include <vector> #include "base/bind.h" #include "...
null
null
null
null
15,410
4,898
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,893
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Support for Digigram Lola PCI-e boards * * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or ...
null
null
null
null
78,240
600
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,555
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
null
null
null
null
119,476
36,498
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,493
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * HID driver for Aureal Cy se W-01RN USB_V3.1 devices * * Copyright (c) 2010 Franco Catrin <fcatrin@gmail.com> * Copyright (c) 2010 Ben Cropley <bcropley@internode.on.net> * * Based on HID sunplus driver by * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * ...
null
null
null
null
109,840
53,730
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,730
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 "base/android/base_jni_onload.h" #include "base/android/jni_android.h" // This is called by the VM when the shared library is first loaded. JNI_...
null
null
null
null
50,593
3,830
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,825
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Server-side types for NFSv4. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
null
null
null
null
77,172
21,215
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,210
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Marvell Wireless LAN device driver: AP specific command handling * * Copyright (C) 2012-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, ...
null
null
null
null
94,557
23,434
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,434
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 CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_ERROR_H_ #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_ERROR_H_ #include <stdint.h> ...
null
null
null
null
20,297
62,777
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,777
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/chrome_views_delegate.h" #include "base/environment.h" #include "base/nix/xdg_util.h" #include "chrome/browser/ui/views...
null
null
null
null
59,640
71,388
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,388
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_SERVICE_MANAGER_EMBEDDER_SWITCHES_H_ #define SERVICES_SERVICE_MANAGER_EMBEDDER_SWITCHES_H_ #include "build/build_config.h" #include "ser...
null
null
null
null
68,251
9,759
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,759
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 "chromecast/base/component/component.h" #include <memory> #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "base...
null
null
null
null
6,622
35,215
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,215
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/exported/worker_shadow_page.h" #include "third_party/blink/public/mojom/page/page_visibility_state.mojom-blink....
null
null
null
null
32,078
34,822
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,822
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/forms/file_input_type.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/render...
null
null
null
null
31,685
16,886
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,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. #include "components/viz/service/display/draw_polygon.h" #include <stddef.h> #include <vector> #include "base/memory/ptr_util.h" #include "build/build_c...
null
null
null
null
13,749
31,144
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,144
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/frame/remote_frame.h" #include "third_party/blink/public/platform/web_layer.h" #include "third_party/blink/rend...
null
null
null
null
28,007
20,311
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,306
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Micrel KS8695 (Centaur) Ethernet. * * Copyright 2008 Simtec Electronics * Daniel Silverstone <dsilvers@simtec.co.uk> * Vincent Sanders <vince@simtec.co.uk> */ #ifndef KS8695NET_H #define KS8695NET_H /* Receive descriptor flags */ #define RDES_OWN (1 << 31) /* Ownership */ #define RDES_FS (1 << 30) /...
null
null
null
null
93,653
31,088
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,083
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Freescale imx6ul pinctrl driver * * Author: Anson Huang <Anson.Huang@freescale.com> * Copyright (C) 2015 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Softwar...
null
null
null
null
104,430
46,178
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,178
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 ASH_WM_TABLET_MODE_TABLET_MODE_CONTROLLER_H_ #define ASH_WM_TABLET_MODE_TABLET_MODE_CONTROLLER_H_ #include <memory> #include "ash/ash_export.h" ...
null
null
null
null
43,041
17,207
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,207
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/common/quads/shared_bitmap.h" #include <stddef.h> #include <stdint.h> #include "base/logging.h" #include "base/memory/shared_me...
null
null
null
null
14,070
26,043
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,038
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2010 Red Hat Inc. * Author : Dave Airlie <airlied@redhat.com> * * Licensed under GPLv2 * * ATPX support for both Intel/ATI */ #include <linux/vga_switcheroo.h> #include <linux/slab.h> #include <linux/acpi.h> #include <linux/pci.h> #include <linux/delay.h> #include "amd_acpi.h" struct amdgpu_...
null
null
null
null
99,385
20,827
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,822
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/********************************************************************** * Author: Cavium, Inc. * * Contact: support@cavium.com * Please include "LiquidIO" in the subject. * * Copyright (c) 2003-2016 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms...
null
null
null
null
94,169
2,012
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,069
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * AAC encoder * Copyright (C) 2008 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 * version 2.1 of the License, or (at...
null
null
null
null
71,124
11,788
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,788
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/omnibox/browser/tailored_word_break_iterator.h" namespace { constexpr base::char16 kUnderscore = '_'; } // namespace using base::i...
null
null
null
null
8,651
23,226
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,221
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Marvell MMC/SD/SDIO driver * * Authors: Maen Suleiman, Nicolas Pitre * Copyright (C) 2008-2009 Marvell Ltd. * * 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...
null
null
null
null
96,568
10,920
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,915
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* spinlock.h: 32-bit Sparc spinlock support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC_SPINLOCK_H #define __SPARC_SPINLOCK_H #ifndef __ASSEMBLY__ #include <asm/psr.h> #include <asm/barrier.h> #include <asm/processor.h> /* for cpu_relax */ #define arch_spin_is_locked(lock...
null
null
null
null
84,262
20,178
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,173
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005, 2006, 2007, 2008 Mellanox Technologies. All rights reserved. * Copyright (c) 2006, 2007 Cisco Systems. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may cho...
null
null
null
null
93,520
33,450
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,445
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * caam descriptor construction helper functions * * Copyright 2008-2012 Freescale Semiconductor, Inc. */ #include "desc.h" #include "regs.h" #define IMMEDIATE (1 << 23) #define CAAM_CMD_SZ sizeof(u32) #define CAAM_PTR_SZ sizeof(dma_addr_t) #define CAAM_DESC_BYTES_MAX (CAAM_CMD_SZ * MAX_CAAM_DESCSIZE) #define D...
null
null
null
null
106,792
24,979
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,974
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2012 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
null
null
null
null
98,321
28,948
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,943
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * lm92 - Hardware monitoring driver * Copyright (C) 2005-2008 Jean Delvare <jdelvare@suse.de> * * Based on the lm90 driver, with some ideas taken from the lm_sensors * lm92 driver as well. * * The LM92 is a sensor chip made by National Semiconductor. It reports * its own temperature with a 0.0625 deg resolu...
null
null
null
null
102,290
27,846
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,841
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,188
2,026
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,021
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.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. */ #include <linux/types.h> ...
null
null
null
null
75,369
13,528
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,528
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/metrics/machine_id_provider.h" #include <windows.h> #include <stdint.h> #include <winioctl.h> #include "base/base_paths.h" #include...
null
null
null
null
10,391
28,494
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,489
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * * 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 ...
null
null
null
null
101,836
3,268
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,325
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * RTP packetization for H.261 video (RFC 4587) * Copyright (c) 2014 Thomas Volkert <thomas@homer-conferencing.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 Softw...
null
null
null
null
72,380
40,047
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,042
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc. * * Copyright 1993, 1994 Drew Eckhardt * Visionary Computing * (Unix and Linux consulting and custom programming) * drew@Colorado.EDU * +1 (303) 786-7975 * * For more information, please consult the SCSI-CAM draft. */ #ifn...
null
null
null
null
113,389
72,275
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
72,275
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 "services/network/public/cpp/cors/cors_error_status.h" #include "net/base/net_errors.h" namespace network { // Note: |cors_error| is initializ...
null
null
null
null
69,138
37,419
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,414
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2014 Free Electrons * * License Terms: GNU General Public License v2 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> * * Allwinner A31 APB0 clock gates driver * */ #include <linux/clk-provider.h> #include <linux/init.h> #include <linux/of.h> #include <linux/of_device.h> #inclu...
null
null
null
null
110,761
415
3,4,5,6,7,16
train_val
9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6
165,410
linux
1
https://github.com/torvalds/linux
2013-02-19 20:27:03+08:00
static int crypto_report_one(struct crypto_alg *alg, struct crypto_user_alg *ualg, struct sk_buff *skb) { memcpy(&ualg->cru_name, &alg->cra_name, sizeof(ualg->cru_name)); memcpy(&ualg->cru_driver_name, &alg->cra_driver_name, sizeof(ualg->cru_driver_name)); memcpy(&ualg->cru_module_name, module_name(alg->cra_...
CVE-2013-2548
CWE-310
https://github.com/torvalds/linux/commit/9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6
Low
3,304
41,320
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,320
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/gn/err.h" #include "tools/gn/functions.h" #include "tools/gn/parse_tree.h" #include "tools/gn/scope.h" namespace functions { const c...
null
null
null
null
38,183
29,137
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,132
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for the Analog Devices digital potentiometers (I2C bus) * * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/i2c.h> #include <linux/module.h> #include "ad525x_dpot.h" /* I2C bus functions */ static int write_d8(void *client, u8...
null
null
null
null
102,479
70,298
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,298
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 "device/usb/usb_descriptors.h" #include <stdint.h> #include <memory> #include "base/bind.h" #include "base/strings/utf_string_conversions.h" #...
null
null
null
null
67,161
17,013
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,013
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/viz/service/display_embedder/compositor_overlay_candidate_validator_win.h" #include "components/viz/service/display/overlay_processo...
null
null
null
null
13,876
1,954
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,522
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Allwinner A10 timer device emulation * * Copyright (C) 2013 Li Guang * Written by Li Guang <lig.fnst@cn.fujitsu.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version...
null
null
null
null
122,646
36,484
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,479
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Roccat Isku driver for Linux * * Copyright (c) 2011 Stefan Achatz <erazor_de@users.sourceforge.net> */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the Lic...
null
null
null
null
109,826
5,605
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,600
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * pxa-ssp.c -- ALSA Soc Audio Layer * * Copyright 2005,2008 Wolfson Microelectronics PLC. * Author: Liam Girdwood * Mark Brown <broonie@opensource.wolfsonmicro.com> * * 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
78,947
12,905
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,905
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_SPELLCHECK_COMMON_SPELLCHECK_STRUCT_TRAITS_H #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_STRUCT_TRAITS_H #include "components/spel...
null
null
null
null
9,768
46,119
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,119
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/wm/video_detector.h" #include <memory> #include "ash/session/session_controller.h" #include "ash/shell.h" #include "ash/test/ash_test_...
null
null
null
null
42,982
43,766
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,766
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_CONTAINERS_SPAN_H_ #define BASE_CONTAINERS_SPAN_H_ #include <stddef.h> #include <algorithm> #include <array> #include <iterator> #include <...
null
null
null
null
40,629
40,246
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,241
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* include/linux/dm9000.h * * Copyright (c) 2004 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * Header file for dm9000 platform data * * 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 Soft...
null
null
null
null
113,588
41,347
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,342
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* thread_info.h: common low-level thread information accessors * * Copyright (C) 2002 David Howells (dhowells@redhat.com) * - Incorporating suggestions made by Linus Torvalds */ #ifndef _LINUX_THREAD_INFO_H #define _LINUX_THREAD_INFO_H #include <linux/types.h> #include <linux/bug.h> #include <linux/restart_bloc...
null
null
null
null
114,689
13,196
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,191
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ALPHA_UNISTD_H #define _ALPHA_UNISTD_H #include <uapi/asm/unistd.h> #define NR_SYSCALLS 514 #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_STAT64 #define __ARCH_WANT_SYS_GETHOSTNAME #define __ARCH_WANT_SYS_FADVISE64 #define __ARCH_WANT_SYS_GETPGRP #define __ARCH_WANT_SYS_OLD_GETRLIMIT #define __ARCH_...
null
null
null
null
86,538
28,470
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,470
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,333
37,746
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,746
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/platform/heap/sparse_heap_bitmap.h" #include "third_party/blink/renderer/platform/heap/heap.h" namespace blink { /...
null
null
null
null
34,609
66,499
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,499
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/search/one_google_bar/one_google_bar_data.h" OneGoogleBarData::OneGoogleBarData() = default; OneGoogleBarData::OneGoogleBarData(...
null
null
null
null
63,362
69,218
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,218
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 LIBRARIES_NACL_IO_FS_FACTORY_H_ #define LIBRARIES_NACL_IO_FS_FACTORY_H_ #include <errno.h> #include "nacl_io/error.h" #include "nacl_io/filesyst...
null
null
null
null
66,081
57,313
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,313
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/arc/auth/arc_auth_context.h" #include <utility> #include "base/strings/stringprintf.h" #include "base/strings/utf_stri...
null
null
null
null
54,176
16,739
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,734
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * SH7786 PCI-Express controller definitions. * * Copyright (C) 2008, 2009 Renesas Technology Corp. * All rights reserved. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #ifndef __P...
null
null
null
null
90,081
3,546
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,541
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * segment.c - NILFS segment constructor. * * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of t...
null
null
null
null
76,888
3,233
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,290
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Binary text demuxer * eXtended BINary text (XBIN) demuxer * Artworx Data Format demuxer * iCEDraw File demuxer * Copyright (c) 2010 Peter Ross <pross@xvid.org> * * 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 Genera...
null
null
null
null
72,345
51,730
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,730
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/mojo/services/mojo_jpeg_decode_accelerator_service.h" #include <stdint.h> #include <memory> #include <utility> #include "base/logging.h...
null
null
null
null
48,593
7,747
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,747
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/url_request/url_request.h" #include <stddef.h> #include <stdint.h> #include <memory> #include "base/run_loop.h" #include "base/test/fuzze...
null
null
null
null
4,610
42,835
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,830
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/sound/soc-dai.h -- ALSA SoC Layer * * Copyright: 2005-2008 Wolfson Microelectronics. PLC. * * 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. * * Digital Audio Interf...
null
null
null
null
116,177
28,952
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,952
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 GOOGLE_CACHEINVALIDATION_DEPS_CALLBACK_H_ #define GOOGLE_CACHEINVALIDATION_DEPS_CALLBACK_H_ #include <memory> #include "base/bind.h" #includ...
null
null
null
null
25,815
38,193
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,193
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/public/platform/web_surface_layer_bridge.h" #include <memory> #include "third_party/blink/renderer/platform/graphics/surface_...
null
null
null
null
35,056
904
1,2,3
train_val
be0726d33cb8f411945884664924bed3cb8c70ee
165,899
linux
1
https://github.com/torvalds/linux
2016-02-22 11:56:38-05:00
ext2_xattr_put_super(struct super_block *sb) { mb_cache_shrink(sb->s_bdev); }
CVE-2015-8952
CWE-19
https://github.com/torvalds/linux/commit/be0726d33cb8f411945884664924bed3cb8c70ee
Low
3,793
603
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,731
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
null
null
null
null
73,024
41,094
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,089
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_COMPACTION_H #define _LINUX_COMPACTION_H /* * Determines how hard direct compaction should try to succeed. * Lower value means higher priority, analogically to reclaim priority. */ enum compact_priority { COMPACT_PRIO_SYNC_FULL, MIN_COMPACT_PRIORITY = COMPACT_PRIO_SYNC_FULL, COMPACT_PRIO_SYNC_LIGH...
null
null
null
null
114,436
30,222
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,217
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for the Atmel USBA high speed USB device controller * * Copyright (C) 2005-2007 Atmel Corporation * * 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 __LIN...
null
null
null
null
103,564
538
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,666
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
// This may look like C code, but it is really -*- C++ -*- // // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002, 2004 // Copyright Dirk Lemstra 2014-2015 // // Implementation of Blob // #define MAGICKCORE_IMPLEMENTATION 1 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1 #include "Magick++/Include.h" #include "Magick++/Bl...
null
null
null
null
72,959
457
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,514
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Work around the class() function in AIX math.h clashing with * identifiers named "class". * * 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 ...
null
null
null
null
69,569
11,982
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,982
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_RAPPOR_RAPPOR_RECORDER_IMPL_H_ #define COMPONENTS_RAPPOR_RAPPOR_RECORDER_IMPL_H_ #include "base/threading/thread_checker.h" #include "...
null
null
null
null
8,845
3,688
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,688
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_CONSTANTS_H_ #define IOS_WEB_WEB_STATE_CONTEXT_MENU_CONSTANTS_H_ #import <Foundation/Foundation.h> // Contains ke...
null
null
null
null
551
24,851
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,846
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2013 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
null
null
null
null
98,193
4,060
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,060
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_TABS_TAB_MODEL_LIST_H_ #define IOS_CHROME_BROWSER_TABS_TAB_MODEL_LIST_H_ #import <Foundation/Foundation.h> #include "base/mac...
null
null
null
null
923
982
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
257,369
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
null
null
null
null
118,814
47,571
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,571
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 CC_RESOURCES_CROSS_THREAD_SHARED_BITMAP_H_ #define CC_RESOURCES_CROSS_THREAD_SHARED_BITMAP_H_ #include <memory> #include "base/memory/ref_counte...
null
null
null
null
44,434
41,375
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,375
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 TOOLS_GN_SUBSTITUTION_TYPE_H_ #define TOOLS_GN_SUBSTITUTION_TYPE_H_ #include <vector> class Err; class ParseNode; // Keep kSubstitutionNames, k...
null
null
null
null
38,238
26,628
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,628
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* -*- Mode: C; c-basic-offset:8 ; indent-tabs-mode:t -*- */ /* * Linux usbfs backend for libusb * Copyright (C) 2007-2009 Daniel Drake <dsd@gentoo.org> * Copyright (c) 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright (c) 2012-2013 Nathan Hjelm <hjelmn@mac.com> * * This library is free software; you can r...
null
null
null
null
23,491
1,104
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
257,491
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
null
null
null
null
118,936
71,184
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,184
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 "services/proxy_resolver/proxy_resolver_factory_impl.h" #include <string> #include <utility> #include "base/macros.h" #include "base/memory/ptr...
null
null
null
null
68,047
9,282
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,277
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/arm/mach-mmp/aspenite.c * * Support for the Marvell PXA168-based Aspenite and Zylonite2 * Development Platform. * * 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 * publishhed by the Free Software Fou...
null
null
null
null
82,624
41,750
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,745
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Analog Devices ADP5589/ADP5585 I/O Expander and QWERTY Keypad Controller * * Copyright 2010-2011 Analog Devices Inc. * * Licensed under the GPL-2. */ #ifndef _ADP5589_H #define _ADP5589_H /* * ADP5589 specific GPI and Keymap defines */ #define ADP5589_KEYMAPSIZE 88 #define ADP5589_GPI_PIN_ROW0 97 #defi...
null
null
null
null
115,092
34,137
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,132
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * ALSA PCM device for the * ALSA interface to cobalt PCM capture streams * * Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates. * All rights reserved. * * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public License as published...
null
null
null
null
107,479
58,380
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,380
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_DBUS_DBUS_THREAD_LINUX_H_ #define CHROME_BROWSER_DBUS_DBUS_THREAD_LINUX_H_ #include "base/memory/ref_counted.h" #include "base/sin...
null
null
null
null
55,243
12,483
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,483
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_INFOBARS_CORE_INFOBAR_H_ #define COMPONENTS_INFOBARS_CORE_INFOBAR_H_ #include <memory> #include <utility> #include "base/macros.h" #i...
null
null
null
null
9,346
67,088
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,088
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NOTIFICATIONS_METRICS_MOCK_NOTIFICATION_METRICS_LOGGER_H_ #define CHROME_BROWSER_NOTIFICATIONS_METRICS_MOCK_NOTIFICATION_METRICS_LO...
null
null
null
null
63,951
18,454
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,449
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef MVME147_H /* $Id: mvme147.h,v 1.4 1997/01/19 23:07:10 davem Exp $ * * Header file for the MVME147 built-in SCSI controller for Linux * * Written and (C) 1993, Hamish Macdonald, see mvme147.c for more info * */ #include <linux/types.h> int mvme147_detect(struct scsi_host_template *); int mvme147_release...
null
null
null
null
91,796
33,311
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,311
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) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. * All rights reserved. * Copyright (C) 2008, 2009 Torch Mobile Inc. All righ...
null
null
null
null
30,174
65
20,21,22
train_val
a14fdb9746262549bbbb96abb87338bacd147e1b?w=1
259,020
php-src
1
https://github.com/php/php-src
null
int php_wddx_deserialize_ex(char *value, int vallen, zval *return_value) { wddx_stack stack; XML_Parser parser; st_entry *ent; int retval; wddx_stack_init(&stack); parser = XML_ParserCreate("UTF-8"); XML_SetUserData(parser, &stack); XML_SetElementHandler(parser, php_wddx_push_element, php_wddx_pop_element); XML_SetCh...
CVE-2016-7132
CWE-476
https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b?w=1
Low
4,223