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
49,806
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
49,806
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_AURA_MUS_DRAG_DROP_CONTROLLER_HOST_H_ #define UI_AURA_MUS_DRAG_DROP_CONTROLLER_HOST_H_ #include <stdint.h> #include "ui/aura/aura_export.h" ...
null
null
null
null
46,669
50,759
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,759
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 "ui/touch_selection/touch_selection_controller.h" #include "base/auto_reset.h" #include "base/logging.h" #include "base/metrics/histogram_macros...
null
null
null
null
47,622
60,314
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,314
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.h" #include <algorithm> #include "chrome/browser...
null
null
null
null
57,177
3,392
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,387
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/fs/nfs/direct.c * * Copyright (C) 2003 by Chuck Lever <cel@netapp.com> * * High-performance uncached I/O for the Linux NFS client * * There are important applications whose performance or correctness * depends on uncached access to file data. Database clusters * (multiple copies of the same instanc...
null
null
null
null
76,734
54,888
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,888
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/extensions/chrome_extensions_renderer_client.h" #include <memory> #include <utility> #include "base/command_line.h" #include "...
null
null
null
null
51,751
59,078
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,078
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_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_ #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_TASK_RUNNER_H_ #in...
null
null
null
null
55,941
4,054
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,049
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public Licen...
null
null
null
null
77,396
33,067
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,062
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * DHT11/DHT22 bit banging GPIO driver * * Copyright (c) Harald Geyer <harald@ccbib.org> * * 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 you...
null
null
null
null
106,409
57,834
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,834
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 "chrome/browser/chromeos/cryptauth/gcm_device_info_provider_impl.h" #include "base/linux_util.h" #include "base/no_destructor.h" #include "base/...
null
null
null
null
54,697
51,988
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,988
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. // // This file contains an implementation of VideoDecoderAccelerator // that utilizes hardware video decoder present on Intel CPUs. #ifndef MEDIA_GPU...
null
null
null
null
48,851
46,472
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,472
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 "ash/system/unified/feature_pod_button.h" #include "ash/system/tray/tray_constants.h" #include "ash/system/tray/tray_popup_utils.h" #include "as...
null
null
null
null
43,335
23,765
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,760
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/*-*- linux-c -*- * linux/drivers/video/i810_main.c -- Intel 810 frame buffer device * * Copyright (C) 2001 Antonino Daplas<adaplas@pol.net> * All Rights Reserved * * Contributors: * Michael Vogt <mvogt@acm.org> - added support for Intel 815 chipsets * ...
null
null
null
null
97,107
39,182
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,177
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * A fast, small, non-recursive O(nlog n) sort for the Linux kernel * * Jan 23 2005 Matt Mackall <mpm@selenic.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/types.h> #include <linux/export.h> #include <linux/sort.h> static int alignment_ok(const void *base, int align) { return IS_ENABLED...
null
null
null
null
112,524
38,311
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
38,311
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2014 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
35,174
5,240
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,240
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_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_DELEGATE_H_ #define IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COL...
null
null
null
null
2,103
162
71,72,81,84
train_val
f6d8bd051c391c1c0458a30b2a7abcd939329259
165,157
linux
1
https://github.com/torvalds/linux
2011-04-28 13:16:35-07:00
static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len) { struct inet_sock *inet = inet_sk(sk); struct ipcm_cookie ipc; struct rtable *rt = NULL; int free = 0; __be32 daddr; __be32 saddr; u8 tos; int err; err = -EMSGSIZE; if (len > 0xFFFF) goto out; /* * Check the flags. */ err =...
CVE-2012-3552
CWE-362
https://github.com/torvalds/linux/commit/f6d8bd051c391c1c0458a30b2a7abcd939329259
High
3,051
57,052
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,052
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_INTERFACE_H_ #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_INTERFACE_H_ #in...
null
null
null
null
53,915
1,004
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,572
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "io.h" int main(void) { long long rt, rs, dsp; long long achi, acli; long long res, resdsp; int rsdsp; rsdsp = 0xabcd1234; rs = 0x7; achi = 0x12345678; acli = 0x87654321; res = 0xff; resdsp = 0x0; __asm ("mthi %2, $ac1\n\t" "mtlo %3, $ac1\n\t" ...
null
null
null
null
121,696
31,436
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,436
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/media_values.h" #include "third_party/blink/public/platform/web_screen_info.h" #include "third_party/blink/...
null
null
null
null
28,299
38,949
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,944
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/debugfs.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/uaccess.h> #include <linux/bootmem.h> #include <linux/stacktrace.h> #include <linux/page_owner.h> #include <linux/jump_label.h> #include <linux/migrate.h> #include <linux/stackdepot.h> #include <linux/seq_file.h> #include "interna...
null
null
null
null
112,291
34,018
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,013
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * * device driver for Conexant 2388x based TV cards * video4linux video interface * * (c) 2003-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] * * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@infradead.org> * - Multituner support * - video_ioctl2 conversion * - PAL/M fixes * * This program is free softwa...
null
null
null
null
107,360
15,679
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,674
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2008-2009 Manuel Lauss <manuel.lauss@gmail.com> * * Previous incarnations were: * Copyright (C) 2001, 2006, 2008 MontaVista Software, <source@mvista.com> * Copied and modified Carsten Langgaard's time.c * * Carsten Langgaard, carstenl@mips.com * Copyright (C) 1999,2000 MIPS Technologies, Inc....
null
null
null
null
89,021
57,519
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,519
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 "chrome/browser/chromeos/crostini/crostini_manager.h" #include "base/bind.h" #include "base/sys_info.h" #include "base/task_scheduler/post_task....
null
null
null
null
54,382
914
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,869
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
#ifndef MBFL_NLS_NEUTRAL_H #define MBFL_NLS_NEUTRAL_H #include "mbfilter.h" extern const mbfl_language mbfl_language_neutral; #endif /* MBFL_NLS_NEUTRAL_H */
null
null
null
null
119,790
23,503
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,503
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_ANDROID_CONTENT_STARTUP_FLAGS_H_ #define CONTENT_BROWSER_ANDROID_CONTENT_STARTUP_FLAGS_H_ #include <string> namespace conten...
null
null
null
null
20,366
25,419
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,414
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2014 Red Hat * Author: Rob Clark <robdclark@gmail.com> * Author: Vinay Simha <vinaysimha@inforcecomputing.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 Foundatio...
null
null
null
null
98,761
5,439
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,434
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2013, Analog Devices Inc. * Author: Lars-Peter Clausen <lars@metafoo.de> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at...
null
null
null
null
78,781
34,047
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,047
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 NGStaticPosition_h #define NGStaticPosition_h #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/...
null
null
null
null
30,910
40,589
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,584
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_SEG6_GENL_H #define _LINUX_SEG6_GENL_H #include <uapi/linux/seg6_genl.h> #endif
null
null
null
null
113,931
29,432
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,427
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * max1586.c -- Voltage and current regulation for the Maxim 1586 * * Copyright (C) 2008 Robert Jarzmik * * 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 Licen...
null
null
null
null
102,774
48,472
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,472
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/controls/button/menu_button.h" #include "base/strings/utf_string_conversions.h" #include "ui/accessibility/ax_node_data.h" #includ...
null
null
null
null
45,335
12,387
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,387
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/nacl/common/nacl_paths.h" #include "base/command_line.h" #include "base/files/file_util.h" #include "base/path_service.h" #include "...
null
null
null
null
9,250
62,471
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,471
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ #define CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_ #include "net/cert/scoped_nss_types.h" #include "ne...
null
null
null
null
59,334
11,476
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,476
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 "gpu/ipc/service/gpu_watchdog_thread.h" #include <errno.h> #include <stdint.h> #include "base/bind.h" #include "base/bind_helpers.h" #inclu...
null
null
null
null
8,339
500
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,068
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * cutils.c unit-tests * * Copyright (C) 2013 Red Hat Inc. * * Authors: * Eduardo Habkost <ehabkost@redhat.com> * * 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 restrict...
null
null
null
null
121,192
2,546
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,114
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "qemu/osdep.h" #include "qemu-common.h" #include "cpu.h" #include "exec/exec-all.h" #include "hw/hw.h" #include "hw/boards.h" #include "qemu/timer.h" #include "cpu.h" #include "exec/exec-all.h" #include "migration/cpu.h" #include "exec/exec-all.h" #ifdef TARGET_SPARC64 static const VMStateDescription vmstate...
null
null
null
null
123,238
1,085
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,040
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 2006-2016 The PHP Group | +--------------...
null
null
null
null
119,961
3,287
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,855
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU crypto secret support * * 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 l...
null
null
null
null
123,979
12,463
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,463
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/web_resource/web_resource_pref_names.h" namespace prefs { // A boolean pref of the EULA accepted flag. const char kEulaAccepted[] =...
null
null
null
null
9,326
20,380
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,375
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/******************************************************************************* * * Intel Ethernet Controller XL710 Family Linux Driver * Copyright(c) 2013 - 2016 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Pub...
null
null
null
null
93,722
10,975
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,975
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. // This is just a compile fix. If this is really needed when using aura, the // methods below should be filled out. #include <EGL/egl.h> #include <EGL/eg...
null
null
null
null
7,838
30,708
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,703
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/drivers/input/serio/sa1111ps2.c * * Copyright (C) 2002 Russell King * * 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. */ #include <linux/mod...
null
null
null
null
104,050
44,049
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,049
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 "ppapi/tests/test_graphics_2d.h" #include <stdlib.h> #include <string.h> #include <set> #include "ppapi/c/pp_errors.h" #include "ppapi/c/p...
null
null
null
null
40,912
28,527
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
28,527
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* Copyright (c) 2011 The WebM 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 con...
null
null
null
null
25,390
39,781
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,776
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2007 IBM Corporation * * Author: Cedric Le Goater <clg@fr.ibm.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, version 2 of the * License. */ #include <l...
null
null
null
null
113,123
27,890
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,890
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,753
29,934
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,929
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * USB transceiver driver for AB8500 family chips * * Copyright (C) 2010-2013 ST-Ericsson AB * Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> * Avinash Kumar <avinash.kumar@stericsson.com> * Thirupathi Chippakurthy <thirupathi.chippakurthy@stericsson.com> * * This program is free software; you can red...
null
null
null
null
103,276
65,515
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,515
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" #include <memory> #include "base/metrics/histogram_macros.h" #include "chrome...
null
null
null
null
62,378
3,420
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,420
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 "storage/browser/blob/blob_storage_registry.h" #include "base/callback.h" #include "storage/browser/blob/blob_entry.h" #include "testing/gtest/i...
null
null
null
null
283
546
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,390
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Mike Olson. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
null
null
null
null
73,698
1,513
6
train_val
e93dc535728da259ec16d1c3cc393f80b25f64ae
1,513
Chrome
1
https://github.com/chromium/chromium
2014-07-15 19:04:37+00:00
static STGMEDIUM* GetStorageForFileName(const base::FilePath& path) { const size_t kDropSize = sizeof(DROPFILES); const size_t kTotalBytes = kDropSize + (path.value().length() + 2) * sizeof(wchar_t); HANDLE hdata = GlobalAlloc(GMEM_MOVEABLE, kTotalBytes); base::win::ScopedHGlobal<DROPFILES> locked_mem(hdata); DROPFI...
null
null
https://github.com/chromium/chromium/commit/e93dc535728da259ec16d1c3cc393f80b25f64ae
null
1,513
25,019
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,019
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 "extensions/renderer/api/display_source/wifi_display/wifi_display_audio_encoder.h" #include <memory> #include <vector> #include "base/logging.h...
null
null
null
null
21,882
775
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,730
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* * "streamable kanji code filter and converter" * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved. * * LICENSE NOTICES * * This file is part of "streamable kanji code filter and converter", * which is distributed under the terms of GNU Lesser General Public * License (version 2) as published by th...
null
null
null
null
119,651
10,828
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,828
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 "mojo/edk/system/node_channel.h" #include <cstring> #include <limits> #include <sstream> #include "base/bind.h" #include "base/location.h" #inc...
null
null
null
null
7,691
48,284
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
48,284
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 UI_VIEWS_TEST_WIDGET_TEST_H_ #define UI_VIEWS_TEST_WIDGET_TEST_H_ #include <memory> #include "base/macros.h" #include "base/run_loop.h" #include...
null
null
null
null
45,147
44,418
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,418
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. */ /* From private/ppb_testing_private.idl modified Fri May 1 13:14:52 2015. */ #ifndef PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ #define PPAPI_C_PRIVATE_...
null
null
null
null
41,281
19,633
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,628
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* bnx2x_dcb.c: QLogic Everest network driver. * * Copyright 2009-2013 Broadcom Corporation * Copyright 2014 QLogic Corporation * All rights reserved * * Unless you and QLogic execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the ter...
null
null
null
null
92,975
15,199
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,194
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2003-2012 Broadcom Corporation * 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 thi...
null
null
null
null
88,541
60,094
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,094
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_OFFLINE_PAGES_ANDROID_EVALUATION_EVALUATION_TEST_SCHEDULER_H_ #define CHROME_BROWSER_OFFLINE_PAGES_ANDROID_EVALUATION_EVALUATION_TE...
null
null
null
null
56,957
1,727
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,295
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU model of Xilinx AXI-Ethernet. * * Copyright (c) 2011 Edgar E. Iglesias. * * 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 th...
null
null
null
null
122,419
32,817
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,817
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free ...
null
null
null
null
29,680
26,071
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,066
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2000 ATI Technologies Inc., Markham, Ontario, and * VA Linux Systems Inc., Fremont, California. * Copyright 2008 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to...
null
null
null
null
99,413
18,220
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,215
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright(c) 2015, 2016 Intel Corporation. * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * This program is free software; you can redistribute it and/or modify * it under the terms of versi...
null
null
null
null
91,562
55,486
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,486
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ #include <memory> #include <vector> ...
null
null
null
null
52,349
14,363
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,363
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/ntp_snippets/user_classifier.h" #include <algorithm> #include <cfloat> #include <string> #include "base/metrics/histogram_macros.h"...
null
null
null
null
11,226
15,963
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,958
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * This file is part of the OCTEON SDK * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
null
null
null
null
89,305
54,221
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,221
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/installer/util/conditional_work_item_list.h" #include <memory> #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h...
null
null
null
null
51,084
46,045
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,045
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/public/cpp/shell_window_ids.h" #include "ash/shell.h" #include "ash/test/ash_test_base.h" #include "ui/aura/test/test_windows.h" #include "u...
null
null
null
null
42,908
7,235
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
7,235
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 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 NET_QUIC_CORE_CRYPTO_TRANSPORT_PARAMETERS_H_ #define NET_QUIC_CORE_CRYPTO_TRANSPORT_PARAMETERS_H_ #include <vector> #include "net/quic/core/...
null
null
null
null
4,098
22,209
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,204
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2011 Atheros Communications Inc. * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all cop...
null
null
null
null
95,551
30,200
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,195
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * u_gether.h * * Utility definitions for the subset function * * Copyright (c) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
null
null
null
null
103,542
23,693
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,693
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #include <string> #include "base/macros.h" #includ...
null
null
null
null
20,556
3,977
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,977
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_APP_APPLICATION_DELEGATE_APP_STATE_H_ #define IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_ #import <UIKit/UIKit.h> @protocol AppN...
null
null
null
null
840
67,374
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,374
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_ #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_ #include ...
null
null
null
null
64,237
31,014
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,014
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2008, 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 conditi...
null
null
null
null
27,877
15,055
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,055
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_DOM_DISTILLER_CORE_PREF_NAMES_H_ #define COMPONENTS_DOM_DISTILLER_CORE_PREF_NAMES_H_ namespace dom_distiller { namespace prefs { exte...
null
null
null
null
11,918
62,650
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,650
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ #define CHROME_BROWSER_UI_STARTUP_STARTUP_TAB_H_ #include <vector> #include "url/gurl.h" // Repres...
null
null
null
null
59,513
26,910
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,905
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright(c) 2004 - 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 as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later ver...
null
null
null
null
100,252
38,406
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,401
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <math.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/timeb.h> #include <sched.h> #include <errno.h> void usage(char *name) { printf ("Usage: %s cpunum\n", name); } int main(int argc, char **argv) { unsigned int i, ...
null
null
null
null
111,748
50,896
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,896
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_WM_CORE_ACCELERATOR_DELEGATE_H_ #define UI_WM_CORE_ACCELERATOR_DELEGATE_H_ namespace ui { class Accelerator; class KeyEvent; } namespace wm {...
null
null
null
null
47,759
11,095
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,090
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __SPARC_STAT_H #define __SPARC_STAT_H #include <linux/types.h> #if defined(__sparc__) && defined(__arch64__) /* 64 bit sparc */ struct stat { unsigned int st_dev; ino_t st_ino; mode_t st_mode; short st_nlink; uid_t st_uid; gid_t st_gid; unsigned int st_rdev; off_t st_size; time_t st_atime...
null
null
null
null
84,437
38,503
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,498
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2015 Josh Poimboeuf <jpoimboe@redhat.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * ...
null
null
null
null
111,845
31,612
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,607
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "platform.h" #include "pc.h" #include "di_defs.h" #include "debug_if.h" #include "divasync.h" #include "kst_ifc.h" #include "maintidi.h" #include "man_defs.h" /* LOCALS */ #define DBG_MAGIC (0x47114711L) static void DI_register(void *arg); static void DI_deregister(pDbgHandle hDbg); static void DI_format(i...
null
null
null
null
104,954
16,514
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
16,514
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 COMPONENTS_DATA_USAGE_CORE_DATA_USE_AGGREGATOR_H_ #define COMPONENTS_DATA_USAGE_CORE_DATA_USE_AGGREGATOR_H_ #include <stdint.h> #include <memory...
null
null
null
null
13,377
31,363
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,358
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Freescale MXS SPI master driver * * Copyright 2012 DENX Software Engineering, GmbH. * Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. * * Rework and transition to new API by: * Marek Vasut <marex@denx.de> * * Based on previous attempt by: ...
null
null
null
null
104,705
1,995
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,052
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (C) 2016 Open Broadcast Systems Ltd. * Author (C) 2016 Rostislav Pehlivanov <atomnuker@gmail.com> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softwar...
null
null
null
null
71,107
8,593
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,588
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_SCORE_HARDIRQ_H #define _ASM_SCORE_HARDIRQ_H #include <asm-generic/hardirq.h> #endif /* _ASM_SCORE_HARDIRQ_H */
null
null
null
null
81,935
37,420
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,420
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/fonts/bitmap_glyphs_blacklist.h" #include "third_party/blink/renderer/platform/wtf/assertions.h" #include "...
null
null
null
null
34,283
37,827
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,827
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
34,690
15,449
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,444
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/export.h> #include <linux/compiler.h> unsigned long long notrace __bswapdi2(unsigned long long u) { return (((u) & 0xff00000000000000ull) >> 56) | (((u) & 0x00ff000000000000ull) >> 40) | (((u) & 0x0000ff0000000000ull) >> 24) | (((u) & 0x000000ff00000000ull) >> 8) | (((...
null
null
null
null
88,791
28,073
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,068
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * ADIS16060 Wide Bandwidth Yaw Rate Gyroscope with SPI driver * * Copyright 2010 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/module.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/spi/spi.h> #include <li...
null
null
null
null
101,415
17,522
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,522
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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_WALLET_DATA_TYPE_CONTROLLER_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_WALLET_DATA_TYPE_CONTRO...
null
null
null
null
14,385
31,456
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,451
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Disk Array driver for HP Smart Array controllers. * (C) Copyright 2000, 2007 Hewlett-Packard Development Company, L.P. * * 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;...
null
null
null
null
104,798
18,187
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,182
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/******************************************************************************* * * Copyright (c) 2015-2016 Intel Corporation. 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) Ve...
null
null
null
null
91,529
42,123
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,123
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 "google_apis/gaia/account_tracker.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #include "base/stl_util.h" #include "base/trace...
null
null
null
null
38,986
15,311
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,306
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * interrupts.c: Interrupt mappings for PNX833X. * * Copyright 2008 NXP Semiconductors * Chris Steel <chris.steel@nxp.com> * Daniel Laird <daniel.j.laird@nxp.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
null
null
null
null
88,653
8,502
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,497
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* MN10300 Atomic xchg/cmpxchg operations * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software ...
null
null
null
null
81,844
1,249
155
train_val
f7038db6ef172459f14b1b67a5155b8dd210be0f
1,249
Chrome
1
https://github.com/chromium/chromium
2013-05-17 03:19:22+00:00
bool decode(const SharedBuffer& data, bool onlySize) { m_decodingSizeOnly = onlySize; unsigned newByteCount = data.size() - m_bufferLength; unsigned readOffset = m_bufferLength - m_info.src->bytes_in_buffer; m_info.src->bytes_in_buffer += newByteCount; m_info.src->next_input_byte = (JOCTET*)(data.data()) + readOffset...
CVE-2013-0836
CWE-399
https://github.com/chromium/chromium/commit/f7038db6ef172459f14b1b67a5155b8dd210be0f
Medium
1,249
32,307
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,302
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/libata.h> #include <linux/cdrom.h> #include <linux/pm_runtime.h> #include <linux/module.h> #include <linux/pm_qos.h> #include <scsi/scsi_device.h> #include "libata.h" static int zpodd_poweroff_delay = 30; /* 30 seconds for power off delay */ module_param(zpodd_poweroff_delay, int, 0644); MODULE_PARM_D...
null
null
null
null
105,649
38,037
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,032
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "../../perf.h" #include "../../util/perf_regs.h" const struct sample_reg sample_reg_masks[] = { SMPL_REG(r0, PERF_REG_POWERPC_R0), SMPL_REG(r1, PERF_REG_POWERPC_R1), SMPL_REG(r2, PERF_REG_POWERPC_R2), SMPL_REG(r3, PERF_REG_POWERPC_R3), SMPL_REG(r4, PERF_REG_POWERPC_R4), SMPL_REG(r5, PERF_REG_POWERPC_R5)...
null
null
null
null
111,379