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
37,984
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,979
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Just test if we can load the python binding. */ #include <stdio.h> #include <stdlib.h> #include <linux/compiler.h> #include "tests.h" extern int verbose; int test__python_use(int subtest __maybe_unused) { char *cmd; int ret; if (asprintf(&cmd, "echo \"import sys ; sys.path.append('%s'); import perf\" | %s...
null
null
null
null
111,326
10,960
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,955
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _SPARC64_SYSCALLS_H #define _SPARC64_SYSCALLS_H struct pt_regs; asmlinkage long sparc_do_fork(unsigned long clone_flags, unsigned long stack_start, struct pt_regs *regs, unsigned long stack_size); #endif /* _SPARC64_SYSCALLS_H */
null
null
null
null
84,302
34,959
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,959
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
31,822
43,874
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,869
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/************************************************************************** * * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"...
null
null
null
null
117,216
22,412
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,407
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR * * Notice that all functions exported here are not reentrant. * So usage should be exclusive, ensured by the caller (e.g. using a * mutex). * * Copyright IBM Corp. 2013 * Author(s): Ralf Hoppe (rhoppe@de.ibm.com) */ ...
null
null
null
null
95,754
24,736
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,736
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_TEST_NATIVE_HANDLER_H_ #define EXTENSIONS_RENDERER_TEST_NATIVE_HANDLER_H_ #include "base/compiler_specific.h" #include "base/...
null
null
null
null
21,599
69,820
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,820
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 DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ #include <stdint.h> #include <memory> #include <se...
null
null
null
null
66,683
19,655
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,650
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* via-rhine.c: A Linux Ethernet device driver for VIA Rhine family chips. */ /* Written 1998-2001 by Donald Becker. Current Maintainer: Roger Luethi <rl@hellgate.ch> This software may be used and distributed according to the terms of the GNU General Public License (GPL), incorporated herein by reference. Driver...
null
null
null
null
92,997
45,802
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,802
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 "ash/metrics/desktop_task_switch_metric_recorder.h" #include "ash/metrics/user_metrics_recorder.h" #include "ash/shell.h" #include "ash/wm/windo...
null
null
null
null
42,665
21,871
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,866
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * RTL8XXXU mac80211 USB driver - 8188c/8188r/8192c specific subdriver * * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com> * * Portions, notably calibration code: * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This driver was written as a replacement for the vendor pr...
null
null
null
null
95,213
68,224
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,224
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 REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ #define REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ #include "base/macros.h" #include "...
null
null
null
null
65,087
52,554
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,554
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 MEDIA_CDM_LIBRARY_CDM_CLEAR_KEY_CDM_FFMPEG_CDM_VIDEO_DECODER_H_ #define MEDIA_CDM_LIBRARY_CDM_CLEAR_KEY_CDM_FFMPEG_CDM_VIDEO_DECODER_H_ #include ...
null
null
null
null
49,417
22,609
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,609
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 "content/browser/renderer_host/text_input_manager.h" #include "content/browser/renderer_host/render_widget_host_impl.h" #include "content/browse...
null
null
null
null
19,472
56,975
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,975
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_PRINTING_FAKE_CUPS_PRINT_JOB_MANAGER_H_ #define CHROME_BROWSER_CHROMEOS_PRINTING_FAKE_CUPS_PRINT_JOB_MANAGER_H_ #include ...
null
null
null
null
53,838
18,087
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,082
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2006 Chelsio, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source tree,...
null
null
null
null
91,429
44,408
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,403
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Xilinx Video IP Core * * Copyright (C) 2013-2015 Ideas on Board * Copyright (C) 2013-2015 Xilinx, Inc. * * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> * Laurent Pinchart <laurent.pinchart@ideasonboard.com> * * This program is free software; you can redistribute it and/or modify * it under the te...
null
null
null
null
117,750
47,329
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,329
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 "cc/trees/element_id.h" #include <inttypes.h> #include <limits> #include <ostream> #include "base/strings/stringprintf.h" #include "base/trace_...
null
null
null
null
44,192
9,188
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,183
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OMAP3 OPP table definitions. * * Copyright (C) 2009-2010 Texas Instruments Incorporated - http://www.ti.com/ * Nishanth Menon * Kevin Hilman * Copyright (C) 2010-2011 Nokia Corporation. * Eduardo Valentin * Paul Walmsley * * This program is free software; you can redistribute it and/or modify ...
null
null
null
null
82,530
3,167
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,162
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/fs.h> #include <linux/init.h> #include <linux/proc_fs.h> #include <linux/sched.h> #include <linux/seq_file.h> #include <linux/time.h> #include <linux/kernel_stat.h> static int uptime_proc_show(struct seq_file *m, void *v) { struct timespec uptime; struct timespec idle; u64 nsec; u32 rem; int i; ...
null
null
null
null
76,510
55,302
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,302
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 <memory> #include <utility> #include "chrome/common/extensions/api/extension_action/action_info.h" #include "chrome/common/extensions/manife...
null
null
null
null
52,165
53,191
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,191
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. // AudioRendererAlgorithm buffers and transforms audio data. The owner of // this object provides audio data to the object through EnqueueBuffer() and...
null
null
null
null
50,054
52,531
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,531
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 <stddef.h> #include <stdint.h> #include <vector> #include "base/logging.h" #include "media/cdm/cenc_utils.h" struct Environment { Environment...
null
null
null
null
49,394
2,635
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,203
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU Crypto hash algorithms * * Copyright (c) 2015 Red Hat, Inc. * * This library 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 of the License, or (at your option) any ...
null
null
null
null
123,327
17,118
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,113
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_SH_ATOMIC_LLSC_H #define __ASM_SH_ATOMIC_LLSC_H /* * SH-4A note: * * We basically get atomic_xxx_return() for free compared with * atomic_xxx(). movli.l/movco.l require r0 due to the instruction * encoding, so the retval is automatically set without having to * do any special work. */ /* * To get...
null
null
null
null
90,460
14,477
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,472
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __iop_version_defs_h #define __iop_version_defs_h /* * This file is autogenerated from * file: iop_version.r * * by ../../../tools/rdesc/bin/rdes2c -outfile iop_version_defs.h iop_version.r * Any changes here will be lost. * * -*- buffer-read-only: t -*- */ /* Main access macros */ #ifnd...
null
null
null
null
87,819
25,725
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,720
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Advanced Micro Devices, 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, m...
null
null
null
null
99,067
50,183
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,183
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 UI_BASE_TEST_MATERIAL_DESIGN_CONTROLLER_TEST_API_H_ #define UI_BASE_TEST_MATERIAL_DESIGN_CONTROLLER_TEST_API_H_ #include "base/macros.h" #include...
null
null
null
null
47,046
31,528
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,528
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (c) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
28,391
40,540
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,540
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,403
39,060
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,055
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Implement the default iomap interfaces * * (C) Copyright 2004 Linus Torvalds */ #include <linux/pci.h> #include <linux/io.h> #include <linux/export.h> /* * Read/write from/to an (offsettable) iomem cookie. It might be a PIO * access or a MMIO access, these functions don't care. The info is * encoded in th...
null
null
null
null
112,402
31,400
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,395
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * HCI based Driver for NXP pn544 NFC Chip * * Copyright (C) 2013 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. ...
null
null
null
null
104,742
68,920
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
68,920
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_CLIENT_UI_FLING_ANIMATION_H_ #define REMOTING_CLIENT_UI_FLING_ANIMATION_H_ #include <memory> #include "base/callback.h" #include "base/...
null
null
null
null
65,783
26,346
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,341
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/drivers/video/omap2/dss/dpi.c * * Copyright (C) 2009 Nokia Corporation * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com> * * Some code and ideas taken from drivers/video/omap/ driver * by Imre Deak. * * This program is free software; you can redistribute it and/or modify it * under the terms of t...
null
null
null
null
99,688
28,908
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,908
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Windows Template Library - WTL version 8.0 // Copyright (C) Microsoft Corporation. All rights reserved. // // This file is a part of the Windows Template Library. // The use and distribution terms for this software are covered by the // Microsoft Permissive License (Ms-PL) which can be found in the file // Ms-PL.txt...
null
null
null
null
25,771
67,935
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,935
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 "remoting/protocol/session_config.h" #include <algorithm> #include <vector> #include "base/logging.h" #include "base/memory/ptr_util.h" na...
null
null
null
null
64,798
20,025
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,025
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_COMMON_PERSISTENT_NOTIFICATION_STATUS_H_ #define CONTENT_PUBLIC_COMMON_PERSISTENT_NOTIFICATION_STATUS_H_ namespace content { // D...
null
null
null
null
16,888
8,272
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
8,272
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 "net/test/keychain_test_util_mac.h" #include <Security/SecCertificate.h> #include <Security/SecImportExport.h> #include "base/mac/mac_logging.h...
null
null
null
null
5,135
1,204
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,048
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright (c) 2003 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
null
null
null
null
74,356
11,584
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,579
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. * Contributed by Peter Keilty <peter.keilty@hp.com> * * fsyscall gettimeofday data */ struct fsyscall_gtod_data_t { seqcount_t seq; struct timespec wall_time; struct timespec monotonic_time; u64 clk_mask; u32 clk_mult; u32 clk_shift...
null
null
null
null
84,926
2,143
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,711
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * 9p backend * * Copyright IBM, Corp. 2011 * * Authors: * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include "fsdev/qemu-fsdev.h" #include "qemu/...
null
null
null
null
122,835
41,722
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,722
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 <vector> #include "scoped_refptr.h" struct Foo { int dummy; }; typedef std::vector<scoped_refptr<Foo>> FooList; void TestsAScopedRefptr...
null
null
null
null
38,585
9,197
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,197
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_HTTP_HTTP_TRANSACTION_H_ #define NET_HTTP_HTTP_TRANSACTION_H_ #include <stdint.h> #include "net/base/completion_callback.h" #include "ne...
null
null
null
null
6,060
34,824
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,819
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Pixart PAC207BCA / PAC73xx common functions * * Copyright (C) 2008 Hans de Goede <j.w.r.degoede@hhs.nl> * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li * Copyleft (C) 2005 Michel Xhaard mxhaard@magic.fr * * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> * * This program is free software; y...
null
null
null
null
108,166
28,577
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,572
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Copyright(c) 2007 - 2011 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,919
27,242
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,242
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retai...
null
null
null
null
24,105
29,136
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,131
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/misc/spear13xx_pcie_gadget.c * * Copyright (C) 2010 ST Microelectronics * Pratyush Anand<pratyush.anand@gmail.com> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied...
null
null
null
null
102,478
34,280
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,280
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_GRID_PAINTER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_GRID_PAINTER_H_ #include "third_party/blink/r...
null
null
null
null
31,143
36,218
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,213
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Sync File validation framework * * Copyright (C) 2012 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in...
null
null
null
null
109,560
83
4,5,51
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
161,927
krb5
1
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
modify_principal_2_svc(mprinc_arg *arg, struct svc_req *rqstp) { static generic_ret ret; char *prime_arg; gss_buffer_desc client_name, service_name; OM_uint32 minor_stat; kadm5_server_handle_t handle; restriction_t ...
CVE-2015-8631
CWE-119
https://github.com/krb5/krb5/commit/83ed75feba32e46f736fcce0d96a0445f29b96c2
Low
2,888
34,013
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,013
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 NGLengthUtils_h #define NGLengthUtils_h #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/layout...
null
null
null
null
30,876
15,897
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,892
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2006 Ralf Baechle <ralf@linux-mips.org> * */ #ifndef __ASM_DMA_COHERENCE_H #define __ASM_DMA_COHERENCE_H enum coherent_i...
null
null
null
null
89,239
69,153
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,153
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 TESTS_NACL_IO_TEST_FAKE_PEPPER_INTERFACE_H_ #define TESTS_NACL_IO_TEST_FAKE_PEPPER_INTERFACE_H_ #include "fake_ppapi/fake_core_interface.h" #incl...
null
null
null
null
66,016
5,292
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,287
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for generic CS4232/CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
null
null
null
null
78,634
62,330
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,330
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_TASK_MANAGER_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_H_ #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_CHILD_PROCESS_TASK_PROVIDER_H_ ...
null
null
null
null
59,193
30,847
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,847
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/bindings/core/v8/generated_code_helper.h" #include "third_party/blink/renderer/bindings/core/v8/serialization/serial...
null
null
null
null
27,710
6,943
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,943
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quic/core/crypto/quic_random.h" #include "net/quic/platform/api/quic_logging.h" #include "net/quic/test_tools/simulator/simulator.h" na...
null
null
null
null
3,806
194
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,581
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2001-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,026
1,471
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,426
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* * $Id$ * * Caches of pointers to user structs in which the least-recently-used * element is replaced in the event of a cache miss after the cache has * reached a given size. * * John Ellson (ellson@lucent.com) Oct 31, 1997 * * Test this with: * gcc -o gdcache -g -Wall -DTEST gdcache.c * * The cache i...
null
null
null
null
120,347
52,375
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,375
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 "media/formats/webm/webm_video_client.h" #include "media/base/media_util.h" #include "media/base/mock_media_log.h" #include "media/base/video_de...
null
null
null
null
49,238
28,488
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,483
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* ////////////////////////////////////////////////////////////////////////// */ /* */ /* Copyright (c) Atmel Corporation. All rights reserved. */ /* */ /* Module Name: wilc_wlan_cfg.c */ /* */ /* */ /* ///////////////////////////////////////////////////////////////////////// */ #include <linux/string.h> #includ...
null
null
null
null
101,830
23,740
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,740
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_ #define CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_ #include "bas...
null
null
null
null
20,603
13,672
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,667
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2011-2012 Synopsys (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. * * vineetg : May 2011 * -Adapted (from .26 to .35) * -original co...
null
null
null
null
87,014
60,636
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,636
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_VR_TEST_MOCK_UI_BROWSER_INTERFACE_H_ #define CHROME_BROWSER_VR_TEST_MOCK_UI_BROWSER_INTERFACE_H_ #include "base/macros.h" #include...
null
null
null
null
57,499
13,485
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,485
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/callback.h" #include "base/run_loop.h" #include "base/test/scoped_task_environment.h" #include "components/printing/serv...
null
null
null
null
10,348
45,223
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,223
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_SHELL_INIT_PARAMS_H_ #define ASH_SHELL_INIT_PARAMS_H_ #include <memory> #include "ash/ash_export.h" namespace ui { class ContextFactory; cl...
null
null
null
null
42,086
31,807
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,807
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/properties/shorthands/webkit_margin_collapse.h" #include "third_party/blink/renderer/core/css/css_identifie...
null
null
null
null
28,670
2,329
8,11
train_val
673ce95d481ea9368c4d4d43ac756ba1d6d9e608
2,329
Chrome
1
https://github.com/chromium/chromium
2018-01-18 20:59:24+00:00
void VideoCaptureImpl::OnBufferCreated(int32_t buffer_id, mojo::ScopedSharedBufferHandle handle) { DVLOG(1) << __func__ << " buffer_id: " << buffer_id; DCHECK(io_thread_checker_.CalledOnValidThread()); DCHECK(handle.is_valid()); base::SharedMemoryHandle memory_handle; size_t memory_size = 0; bool read_only_flag = fa...
CVE-2018-6063
CWE-787
https://github.com/chromium/chromium/commit/673ce95d481ea9368c4d4d43ac756ba1d6d9e608
Medium
2,329
47,465
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,465
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 "cc/layers/surface_layer_impl.h" #include <stddef.h> #include "cc/layers/append_quads_data.h" #include "cc/test/layer_test_common.h" #include "...
null
null
null
null
44,328
43,047
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,047
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 BASE_ANDROID_JAVA_EXCEPTION_REPORTER_H_ #define BASE_ANDROID_JAVA_EXCEPTION_REPORTER_H_ #include <jni.h> #include "base/base_export.h" namespac...
null
null
null
null
39,910
4,825
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,825
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_OVERLAYS_OVERLAY_SERVICE_IMPL_H_ #define IOS_CHROME_BROWSER_UI_OVERLAYS_OVERLAY_SERVICE_IMPL_H_ #include "base/observer_lis...
null
null
null
null
1,688
30,131
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,131
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
26,994
61,483
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
61,483
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/prerender/prerender_util.h" #include "base/metrics/histogram_macros.h" #include "components/google/core/browser/google_util....
null
null
null
null
58,346
63,953
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,953
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 "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" #include <stddef.h> #include <algorithm> #include <utility> #include <vect...
null
null
null
null
60,816
20,669
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,664
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/slab.h> #include "qlge.h" /* Read a NIC register from the alternate function. */ static u32 ql_read_other_func_reg(struct ql_adapter *qdev, u32 reg) { u32 register_to_read; u32 reg_val; unsigned int status = 0; register_to_read = MPI_NIC_REG_BLOC...
null
null
null
null
94,011
42,272
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,272
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/task_runner.h" #include <utility> #include "base/compiler_specific.h" #include "base/logging.h" #include "base/threading/post_task_an...
null
null
null
null
39,135
48,084
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,084
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/view_model.h" #include <stddef.h> #include "base/logging.h" #include "ui/views/view.h" namespace views { ViewModelBase::~ViewMo...
null
null
null
null
44,947
34,723
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,718
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Linux driver for Philips webcam (C) 2004-2006 Luc Saillard (luc@saillard.org) NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx driver and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <luc@saillard.org>. The...
null
null
null
null
108,065
800
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,644
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* ccapi/common/cci_os_identifier.h */ /* * Copyright 2006 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibility of any person or organization contem...
null
null
null
null
73,952
14,583
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,583
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/history/core/browser/url_utils.h" #include <algorithm> #include "base/strings/string_util.h" #include "url/gurl.h" namespace histo...
null
null
null
null
11,446
50,141
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,141
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/base/resource/scale_factor.h" #include "base/macros.h" namespace ui { namespace { const float kScaleFactorScales[] = {1.0f, 1.0f, 1.25f, ...
null
null
null
null
47,004
32,979
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,979
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTORIOAGENT_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTORIOAGENT_H_ #include "bas...
null
null
null
null
29,842
18,292
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,287
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2006, 2007, 2008, 2009 QLogic Corporation. All rights reserved. * Copyright (c) 2005, 2006 PathScale, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL)...
null
null
null
null
91,634
51,318
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,318
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 UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ #include <memory> #in...
null
null
null
null
48,181
12,050
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,050
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_BOOKMARKS_BROWSER_BOOKMARK_UTILS_H_ #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_UTILS_H_ #include <stddef.h> #include <stdint.h> #i...
null
null
null
null
8,913
260
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,388
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. You may not use this file except in compliance with the License. obtain a copy of the License at https://www.imagemagick.org/script/license.php Unless required by ap...
null
null
null
null
72,681
35,907
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,902
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/drivers/message/fusion/mptscsih.c * For use with LSI PCI chip/adapter(s) * running LSI Fusion MPT (Message Passing Technology) firmware. * * Copyright (c) 1999-2008 LSI Corporation * (mailto:DL-MPTFusionLinux@lsi.com) * */ /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
null
null
null
null
109,249
38,409
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,404
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2014 Google, Inc. * * Licensed under the terms of the GNU GPL License version 2 * * Selftests for execveat(2). */ #define _GNU_SOURCE /* to get O_PATH, AT_EMPTY_PATH */ #include <sys/sendfile.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/types.h> #include <sys/wait.h> #inclu...
null
null
null
null
111,751
3,286
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,854
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU Crypto random number provider * * Copyright (c) 2015-2016 Red Hat, Inc. * * This library 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 of the License, or (at your ...
null
null
null
null
123,978
53,550
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,550
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/video_sender.h" #include <stddef.h> #include <stdint.h> #include <memory> #include <vector> #include "base/bind.h" #include...
null
null
null
null
50,413
32,134
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,129
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/drivers/clocksource/timer-sp.c * * Copyright (C) 1999 - 2003 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd * * 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; eith...
null
null
null
null
105,476
1,364
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,932
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Copyright 2008 IBM Corporation. * Authors: Hollis Blanchard <hollisb@us.ibm.com> * * This work is licensed under the GNU GPL license version 2 or later. * */ #ifndef KVM_PPC_H #define KVM_PPC_H #define TYPE_HOST_POWERPC_CPU "host-" TYPE_POWERPC_CPU #ifdef CONFIG_KVM uint32_t kvmppc_get_tbfreq(void); uint...
null
null
null
null
122,056
56,565
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,565
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/ui/login_feedback.h" #include <memory> #include "apps/test/app_window_waiter.h" #include "base/macros.h" #includ...
null
null
null
null
53,428
37,499
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,494
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc. * * Licensed under the terms of the GNU GPL License version 2. * * Based on Len Brown's <lenb@kernel.org> turbostat tool. */ #if defined(__i386__) || defined(__x86_64__) #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include ...
null
null
null
null
110,841
308
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,695
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
null
null
null
null
118,140
42,871
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,871
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_POSIX_FILE_DESCRIPTOR_SHUFFLE_H_ #define BASE_POSIX_FILE_DESCRIPTOR_SHUFFLE_H_ // This code exists to shuffle file descriptors, which is...
null
null
null
null
39,734
27,942
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,942
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
null
null
null
null
24,805
42,959
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,954
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope...
null
null
null
null
116,301
57,533
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,533
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 <stddef.h> #include "base/macros.h" #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" #include "chrome/browser/ui/browser....
null
null
null
null
54,396
14,584
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,579
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_CRIS_ARCH_USER_H #define _ASM_CRIS_ARCH_USER_H /* User-mode register used for core dumps. */ struct user_regs_struct { unsigned long r0; /* General registers. */ unsigned long r1; unsigned long r2; unsigned long r3; unsigned long r4; unsigned long r5; unsigned long r6; unsigned long r7; unsigned...
null
null
null
null
87,926
13,499
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,494
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _M68K_TLB_H #define _M68K_TLB_H /* * m68k doesn't need any special per-pte or * per-vma handling.. */ #define tlb_start_vma(tlb, vma) do { } while (0) #define tlb_end_vma(tlb, vma) do { } while (0) #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) /* * .. because we flush the whole mm wh...
null
null
null
null
86,841