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
4,779
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,774
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * sound/oss/pss.c * * The low level driver for the Personal Sound System (ECHO ESC614). * * * Copyright (C) by Hannu Savolainen 1993-1997 * * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) * Version 2 (June 1991). See the "COPYING" file distributed with this software * for mor...
null
null
null
null
78,121
45,038
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,038
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 <stdint.h> #include "ppapi/c/pp_completion_callback.h" #include "ppapi/c/pp_errors.h" #include "ppapi/c/private/ppb_udp_socket_private.h" #i...
null
null
null
null
41,901
32,894
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,894
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public ...
null
null
null
null
29,757
34,527
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,522
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * vivid-radio-rx.h - radio receiver support functions. * * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
null
null
null
null
107,869
29,997
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,992
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Renesas USB driver * * Copyright (C) 2011 Renesas Solutions Corp. * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE...
null
null
null
null
103,339
35,506
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,506
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/editing/inline_box_traversal.h" #include "third_party/blink/renderer/core/layout/line/inline_box.h" namespace ...
null
null
null
null
32,369
17,039
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,039
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/test/test_layer_tree_frame_sink.h" #include <stdint.h> #include <memory> #include <utility> #include "base/single_thread_task_...
null
null
null
null
13,902
59,153
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,153
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 <stddef.h> #include <memory> #include <utility> #include "base/bind.h" #include "base/files/scoped_temp_dir.h" #include "base/json/json_rea...
null
null
null
null
56,016
42,932
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,927
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __SOUND_CS4231_REGS_H #define __SOUND_CS4231_REGS_H /* * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Definitions for CS4231 & InterWave chips & compatible chips registers * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
null
null
null
null
116,274
17,757
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,752
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2016 Linaro Ltd <ard.biesheuvel@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. */ #include <linux/cache.h> #include <linux/crc32.h> #include <l...
null
null
null
null
91,099
58,249
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,249
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/win/taskbar_icon_finder.h" #include <windows.h> #include <wrl/client.h> #include <objbase.h> #include <oleauto.h> #include <uia...
null
null
null
null
55,112
35,521
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,521
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/editing/state_machines/state_machine_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_par...
null
null
null
null
32,384
57,054
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,054
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/file_system_provider/scoped_file_opener.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/chromeos/file_sys...
null
null
null
null
53,917
197
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,041
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 -*- */ /* util/ss/requests.c */ /* * Copyright 1987, 1988, 1989 by MIT * * For copyright information, see mit-sipb-copyright.h. */ #include <stdio.h> #include "ss_internal.h" #define DECLARE(name) void name(argc,argv,sci_idx,info_ptr)int argc,sci_idx;cons...
null
null
null
null
73,349
51,487
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,487
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/blink/web_input_event.h" #include <stddef.h> #include <stdint.h> #include "base/bind.h" #include "base/macros.h" #include "build/bui...
null
null
null
null
48,350
13,386
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,381
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/m68k/kernel/process.c * * Copyright (C) 1995 Hamish Macdonald * * 68060 fixes by Jesper Skov */ /* * This file handles the architecture-dependent parts of process handling.. */ #include <linux/errno.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/sched/debug.h> #inclu...
null
null
null
null
86,728
16,661
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,661
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 "components/web_modal/web_contents_modal_dialog_host.h" namespace web_modal { WebContentsModalDialogHost::~WebContentsModalDialogHost() { }...
null
null
null
null
13,524
39,520
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,520
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_ANIMATIONWORKLET_ANIMATION_WORKLET_GLOBAL_SCOPE_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_ANIMATIONWORKLET_...
null
null
null
null
36,383
13,706
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,701
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * kgdb support for ARC * * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ARC_KGDB_H__ #define __ARC_KG...
null
null
null
null
87,048
1,397
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,352
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,273
36,772
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,772
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 conditio...
null
null
null
null
33,635
24,411
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,411
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 "content/browser/accessibility/browser_accessibility_manager_win.h" #include <stddef.h> #include <stdint.h> #include <vector> #include "ba...
null
null
null
null
21,274
190
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
262,758
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Win32 implementation for mutex/cond/thread functions * * Copyright Red Hat, Inc. 2010 * * Author: * Paolo Bonzini <pbonzini@redhat.com> * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include ...
null
null
null
null
120,882
43,997
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,992
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * videobuf2-vmalloc.h - vmalloc memory allocator for videobuf2 * * Copyright (C) 2010 Samsung Electronics * * Author: Pawel Osciak <pawel@osciak.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 Sof...
null
null
null
null
117,339
38,055
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,055
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> * Copyright (C) 2005 Eric Seidel <eric@webkit.org> * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> * Copyright (C) Research In Motion Limited 2010. All rights reserved. * Copyri...
null
null
null
null
34,918
10,212
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,207
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/arm/include/asm/mmu_context.h * * Copyright (C) 1996 Russell King. * * 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. * * Changelog: * 27-06-1996 RMK Created *...
null
null
null
null
83,554
29,693
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,688
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * otg_fsm.c - ChipIdea USB IP core OTG FSM driver * * Copyright (C) 2014 Freescale Semiconductor, Inc. * * Author: Jun Li * * 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
103,035
18,495
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,495
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_SUBRESOURCE_FILTER_CONTENT_RENDERER_SUBRESOURCE_FILTER_AGENT_H_ #define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_RENDERER_SUBRESOURCE_FILT...
null
null
null
null
15,358
896
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,953
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) 2007 Michael Niedermayer * * 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 your option) a...
null
null
null
null
70,008
52,773
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,773
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/base/bit_reader_core.h" #include <stdint.h> #include "base/sys_byteorder.h" namespace { const int kRegWidthInBits = sizeof(uint64_t) * ...
null
null
null
null
49,636
69,215
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,215
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 LIBRARIES_NACL_IO_PEPPER_INTERFACE_DELEGATE_H_ #define LIBRARIES_NACL_IO_PEPPER_INTERFACE_DELEGATE_H_ #include "nacl_io/pepper_interface.h" ...
null
null
null
null
66,078
19,324
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,319
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/********************************************************************* * * Filename: tekram.c * Version: 1.3 * Description: Implementation of the Tekram IrMate IR-210B dongle * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Wed Oct 21 20:0...
null
null
null
null
92,666
14,179
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,179
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/offline_pages/core/background/request_coordinator_event_logger.h" namespace offline_pages { namespace { static std::string Offline...
null
null
null
null
11,042
14,224
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,219
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_PARISC_PCI_H #define __ASM_PARISC_PCI_H #include <linux/scatterlist.h> /* ** HP PCI platforms generally support multiple bus adapters. ** (workstations 1-~4, servers 2-~32) ** ** Newer platforms number the busses across PCI bus adapters *sparsely*. ** E.g. 0, 8, 16, ... ** ** Under a PCI bus, most ...
null
null
null
null
87,566
21,993
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,993
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 "content/common/dom_storage/dom_storage_namespace_ids.h" #include <algorithm> #include "base/guid.h" namespace content { std::string Allocate...
null
null
null
null
18,856
5,980
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,980
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/components/tether/host_scanner_operation.h" #include <memory> #include "base/memory/ptr_util.h" #include "base/metrics/histogram_macr...
null
null
null
null
2,843
6,265
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,260
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
null
null
null
null
79,607
38,099
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,094
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "../../util/util.h" #include <signal.h> #include <stdbool.h> #include <string.h> #include <sys/ttydefaults.h> #include "../../util/cache.h" #include "../../util/debug.h" #include "../browser.h" #include "../keysyms.h" #include "../helpline.h" #include "../ui.h" #include "../util.h" #include "../libslang.h" s...
null
null
null
null
111,441
3,389
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,446
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * MPEG-2 transport stream (aka DVB) muxer * Copyright (c) 2003 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
null
null
null
null
72,501
67,242
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,242
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_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ #include <stddef.h> #include...
null
null
null
null
64,105
9,097
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,092
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OMAP2+ DMA driver * * Copyright (C) 2003 - 2008 Nokia Corporation * Author: Juha Yrjölä <juha.yrjola@nokia.com> * DMA channel linking for 1610 by Samuel Ortiz <samuel.ortiz@nokia.com> * Graphics DMA and LCD DMA graphics tranformations * by Imre Deak <imre.deak@nokia.com> * OMAP2/3 support Copyright (C) 200...
null
null
null
null
82,439
27,911
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,906
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
null
null
null
null
101,253
4,965
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,965
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_COLORS_MDCPALETTE_CRADDITIONS_H_ #define IOS_CHROME_BROWSER_UI_COLORS_MDCPALETTE_CRADDITIONS_H_ #import "ios/third_party/ma...
null
null
null
null
1,828
9,562
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,562
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_NQE_NETWORK_QUALITY_H_ #define NET_NQE_NETWORK_QUALITY_H_ #include <stdint.h> #include "base/gtest_prod_util.h" #include "base/macros.h" #in...
null
null
null
null
6,425
10,813
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,808
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* irq.c: UltraSparc IRQ handling/init/registry. * * Copyright (C) 1997, 2007, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <linux/sched.h> #include <linux/linkage.h> #include <linux/ptrace....
null
null
null
null
84,155
34,480
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,475
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver * * FIMC-IS ISP video input and video output DMA interface driver * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * Author: Sylwester Nawrocki <s.nawrocki@samsung.com> * * The hardware handling code derived from a driver written by * Younghwan Joo...
null
null
null
null
107,822
29,627
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,622
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for USB Mass Storage compliant devices * * Current development and maintenance by: * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) * * Developed with the assistance of: * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org) * (c) 2000 Stephen J. Gowdy (SGowdy@lbl.gov) * (c) 2...
null
null
null
null
102,969
11,466
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,461
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2010 Tilera Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will ...
null
null
null
null
84,808
1,121
4
train_val
1572e45a924f254d9570093abde46430c3172e3d
166,116
linux
1
https://github.com/torvalds/linux
2017-02-24 08:56:33+01:00
int perf_cpu_time_max_percent_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int ret = proc_dointvec(table, write, buffer, lenp, ppos); if (ret || !write) return ret; if (sysctl_perf_cpu_time_max_percent == 100 || sysctl_perf_cpu_time_max_percent == 0) { printk(KERN_WA...
CVE-2017-18255
CWE-190
https://github.com/torvalds/linux/commit/1572e45a924f254d9570093abde46430c3172e3d
Low
4,010
3,313
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,881
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* Conversion lookup tables for the decNumber C Library. Copyright (C) 2007 Free Software Foundation, Inc. Contributed by IBM Corporation. Author Mike Cowlishaw. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
null
null
null
null
124,005
24,884
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,884
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/renderer/runtime_hooks_delegate.h" #include <memory> #include "components/crx_file/id_util.h" #include "content/public/common/child...
null
null
null
null
21,747
4,524
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,524
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_INTERNALS_UI_IOS_H_ #define IOS_CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_INTERNALS_UI_IOS_H_ #includ...
null
null
null
null
1,387
9,198
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,198
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 <stddef.h> #include <stdint.h> #include <string> #include "base/time/time.h" #include "net/http/http_security_headers.h" #include "url/gurl.h" ...
null
null
null
null
6,061
1,783
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,738
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,659
35,282
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,282
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/public/web/web_frame.h" #include <algorithm> #include "third_party/blink/public/common/frame/sandbox_flags.h" #include "third...
null
null
null
null
32,145
39,595
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,595
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/payments/abort_payment_respond_with_observer.h" #include <v8.h> #include "third_party/blink/renderer/binding...
null
null
null
null
36,458
71,741
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,741
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 "services/ui/ws/user_display_manager.h" #include <utility> #include "services/ui/display/screen_manager.h" #include "services/ui/ws/user_displa...
null
null
null
null
68,604
5,188
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,183
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Maintained by Jaroslav Kysela <perex@perex.cz> * Originated by audio@tridentmicro.com * Fri Feb 19 15:55:28 MST 1999 * Routines for control of Trident 4DWave (DX and NX) chip * * BUGS: * * TODO: * --- * * This program is free software; you can redistribute it and/or modify * it under the t...
null
null
null
null
78,530
14,861
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,856
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __ARCH_BLACKFIN_CACHE_H #define __ARCH_BLACKFIN_CACHE_H #include <linux/linkage.h> /* for asmlinkage */ /* * Bytes per L1 cache line * Blackfin loads 32 bytes for cache */ #define L1_CACHE_SHIFT 5 #define L1_CACHE_B...
null
null
null
null
88,203
5,868
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,868
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 CHROMEOS_DBUS_SERVICES_VM_APPLICATIONS_SERVICE_PROVIDER_H_ #define CHROMEOS_DBUS_SERVICES_VM_APPLICATIONS_SERVICE_PROVIDER_H_ #include <memory> ...
null
null
null
null
2,731
1,196
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,764
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "io.h" int main(void) { long long rd, rs, rt, dspreg; long long result, dspresult; rs = 0x123456787FFF0000; rt = 0x1111111180000000; result = 0x23456789FFFF0000; dspresult = 0x0; __asm("addu_s.qh %0, %2, %3\n\t" "rddsp %1\n\t" : "=r"(rd), "=r"(dspreg) ...
null
null
null
null
121,888
2,456
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63
train_val
ac149a8d4371c0e01e0934fdd57b09e86f96b5b9
2,456
Chrome
1
https://github.com/chromium/chromium
2018-03-07 01:32:04+00:00
static int _hid_get_config_descriptor(struct hid_device_priv* dev, void *data, size_t *size) { char num_endpoints = 0; size_t config_total_len = 0; char tmp[HID_MAX_CONFIG_DESC_SIZE]; struct libusb_config_descriptor *cd; struct libusb_interface_descriptor *id; struct libusb_hid_descriptor *hd; struct libusb_endp...
CVE-2018-6125
null
https://github.com/chromium/chromium/commit/ac149a8d4371c0e01e0934fdd57b09e86f96b5b9
null
2,456
6,351
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,351
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 "chromeos/system/name_value_pairs_parser.h" #include <stddef.h> #include "base/command_line.h" #include "base/files/file_path.h" #include "...
null
null
null
null
3,214
27,526
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,526
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
null
null
null
null
24,389
14,785
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,780
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2005-2010 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef _MACH_BLACKFIN_H_ #define _MACH_BLACKFIN_H_ #define BF561_FAMILY #include "bf561.h" #include "anomaly.h" #include <asm/def_LPBlackfin.h> #include "defBF561.h" #ifndef __ASSEMBLY__ # include <asm/cdef_LPBlackfin.h> # ...
null
null
null
null
88,127
55,675
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,675
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/process/launch.h" #include "build/build_config.h" #include "chrome/browser/chrome_notification_types.h" ...
null
null
null
null
52,538
4,653
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,648
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <li...
null
null
null
null
77,995
6,800
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,795
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Machine check handler definitions * * Copyright IBM Corp. 2000, 2009 * Author(s): Ingo Adlung <adlung@de.ibm.com>, * Martin Schwidefsky <schwidefsky@de.ibm.com>, * Cornelia Huck <cornelia.huck@de.ibm.com>, * Heiko Carstens <heiko.carstens@de.ibm.com>, */ #ifndef _ASM_S390_NMI_H #define _ASM_...
null
null
null
null
80,142
34,435
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,430
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2016 MediaTek Inc. * Author: Daniel Hsiao <daniel.hsiao@mediatek.com> * PoChun Lin <pochun.lin@mediatek.com> * * This program is free software; you can redistribute it and/or * modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software ...
null
null
null
null
107,777
22,372
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,367
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright IBM Corp. 2001, 2009 * Author(s): * Original CTC driver(s): * Fritz Elfert (felfert@millenux.com) * Dieter Wellerdiek (wel@de.ibm.com) * Martin Schwidefsky (schwidefsky@de.ibm.com) * Denis Joseph Barrow (barrow_dj@yahoo.com) * Jochen Roehrig (roehrig@de.ibm.com) * Cornelia Huck <cornelia.h...
null
null
null
null
95,714
55,632
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,632
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 <memory> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/json/json_reader.h" #include "base/macros.h" #include "base/va...
null
null
null
null
52,495
32,653
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,648
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __IDE_FLOPPY_H #define __IDE_FLOPPY_H #include "ide-gd.h" #ifdef CONFIG_IDE_GD_ATAPI /* * Pages of the SELECT SENSE / MODE SENSE packet commands. * See SFF-8070i spec. */ #define IDEFLOPPY_CAPABILITIES_PAGE 0x1b #define IDEFLOPPY_FLEXIBLE_DISK_PAGE 0x05 /* IOCTLs used in low-level formatting. */ #define I...
null
null
null
null
105,995
10,511
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,511
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/public/cpp/bindings/tests/validation_test_input_parser.h" #include <assert.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #...
null
null
null
null
7,374
36,874
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,874
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
33,737
67,128
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,128
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/feature_engagement/new_tab/new_tab_tracker_factory.h" #include "base/memory/singleton.h" #include "chrome/browser/feature_engage...
null
null
null
null
63,991
60,156
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,156
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PREDICTORS_LOADING_TEST_UTIL_H_ #define CHROME_BROWSER_PREDICTORS_LOADING_TEST_UTIL_H_ #include <map> #include <memory> #include <s...
null
null
null
null
57,019
22,293
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,293
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 <utility> #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #inc...
null
null
null
null
19,156
1,061
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,905
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 -*- */ /* lib/krb5/os/toffset.c - Manipulate time offset fields in os context */ /* * Copyright 1995, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a sp...
null
null
null
null
74,213
181
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,136
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* $Id: fpm_sockets.h,v 1.12 2008/08/26 15:09:15 anight Exp $ */ /* (c) 2007,2008 Andrei Nigmatulin */ #ifndef FPM_MISC_H #define FPM_MISC_H 1 #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <fcntl.h> #include "fpm_worker_pool.h" /* On FreeBSD and OpenBSD, backlo...
null
null
null
null
119,057
12,719
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,714
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is never included by application software unless * explicitly requested (e.g., via linux/types.h) in which case the * application is Linux specific so (user-) name space pollution is * not a major issue. However, for interoperability, libraries still * need to be careful to avoid a name clashes. *...
null
null
null
null
86,061
39,461
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,456
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/kernel/capability.c * * Copyright (C) 1997 Andrew Main <zefram@fysh.org> * * Integrated into 2.1.97+, Andrew G. Morgan <morgan@kernel.org> * 30 May 2002: Cleanup, Robert M. Love <rml@tech9.net> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/audit.h> #include <linux/capability.h> #i...
null
null
null
null
112,803
69,825
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,825
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 DEVICE_BLUETOOTH_BLUETOOTH_CLASSIC_WIN_H_ #define DEVICE_BLUETOOTH_BLUETOOTH_CLASSIC_WIN_H_ #include "base/win/scoped_handle.h" #include "device/...
null
null
null
null
66,688
4,427
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,427
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 IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_COORDINATOR_H_ #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_COORDINATOR_H_ #import <UIKit/UIKit.h> namesp...
null
null
null
null
1,290
24,446
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,441
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2012 Samsung Electronics Co.Ltd * Authors: Joonyoung Shim <jy0922.shim@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundationr */ #include <linux/kern...
null
null
null
null
97,788
38,337
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,332
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2014, Michael Ellerman, IBM Corp. * Licensed under GPLv2. */ #include <stdio.h> #include <stdlib.h> #include <setjmp.h> #include <signal.h> #include "ebb.h" /* Test that things work sanely if we have no handler */ static int no_handler_test(void) { struct event event; u64 val; int i; SKIP_IF...
null
null
null
null
111,679
1,532
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,100
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa * processor CORE configuration * * See <xtensa/config/core.h>, which includes this file, for more details. */ /* Xtensa processor core configuration information. Copyright (c) 1999-2010 Tensilica Inc. ...
null
null
null
null
122,224
2,461
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,029
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * ARMv6 integer SIMD operations. * * Copyright (c) 2007 CodeSourcery. * Written by Paul Brook * * This code is licensed under the GPL. */ #ifdef ARITH_GE #define GE_ARG , void *gep #define DECLARE_GE uint32_t ge = 0 #define SET_GE *(uint32_t *)gep = ge #else #define GE_ARG #define DECLARE_GE do{}while(0) #de...
null
null
null
null
123,153
67,223
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,223
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/profiles/gaia_info_update_service_factory.h" #include "chrome/browser/profiles/gaia_info_update_service.h" #include "chrome/...
null
null
null
null
64,086
7,840
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,835
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* ----------------------------------------------------------------------- * * * Copyright (C) 2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 as published by the Free Softw...
null
null
null
null
81,182
39,023
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,018
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * bootmem - A boot-time physical memory allocator and configurator * * Copyright (C) 1999 Ingo Molnar * 1999 Kanoj Sarcar, SGI * 2008 Johannes Weiner * * Access to this subsystem has to be serialized externally (which is true * for the boot process anyway). */ #include <linux...
null
null
null
null
112,365
25,613
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,613
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 "extensions/browser/extensions_browser_client.h" #include "base/logging.h" #include "components/update_client/update_client.h" #include "extensi...
null
null
null
null
22,476
28,960
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,955
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * ds620.c - Support for temperature sensor and thermostat DS620 * * Copyright (C) 2010, 2011 Roland Stigge <stigge@antcom.de> * * based on ds1621.c by Christian W. Zuckschwerdt <zany@triq.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gener...
null
null
null
null
102,302
13,532
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,527
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Useful PROM locations */ #ifndef SUN3X_PROM_H #define SUN3X_PROM_H extern void (*sun3x_putchar)(int); extern int (*sun3x_getchar)(void); extern int (*sun3x_mayget)(void); extern int (*sun3x_mayput)(int); void sun3x_reboot(void); void sun3x_abort(void); void sun3x_prom_init(void); unsigned long sun3x_prom_ptov(uns...
null
null
null
null
86,874
70,726
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,726
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 SANDBOX_LINUX_SERVICES_BROKER_PROCESS_H_ #define SANDBOX_LINUX_SERVICES_BROKER_PROCESS_H_ #include <memory> #include <string> #include <vecto...
null
null
null
null
67,589
13,836
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,836
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/undo/bookmark_undo_service.h" #include <stddef.h> #include <memory> #include "base/macros.h" #include "base/strings/utf_string_con...
null
null
null
null
10,699
55,164
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,164
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/ppapi_utils.h" #include <cstring> #include "build/build_config.h" #include "ppapi/c/dev/ppb_audio_input_dev.h" #include "ppap...
null
null
null
null
52,027
24,466
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,461
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2012 Russell King * * 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 ARMADA_DRM_H #define ARMADA_DRM_H #include <linux/kfifo.h> #include <linux/io.h...
null
null
null
null
97,808
48,092
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,092
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/painter.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #include "ui/compositor/layer.h" #include "ui/compositor/la...
null
null
null
null
44,955
20,786
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,786
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/shell/browser/shell_browser_main_parts.h" #include "base/base_switches.h" #include "base/bind.h" #include "base/command_line.h" #includ...
null
null
null
null
17,649
27,061
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,056
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _BCACHE_H #define _BCACHE_H /* * SOME HIGH LEVEL CODE DOCUMENTATION: * * Bcache mostly works with cache sets, cache devices, and backing devices. * * Support for multiple cache devices hasn't quite been finished off yet, but * it's about 95% plumbed through. A cache set and its cache devices is sort of ...
null
null
null
null
100,403