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
18,105
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,105
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/policy/core/common/cloud/cloud_policy_service.h" #include <stddef.h> #include "base/callback.h" #include "base/logging.h" #incl...
null
null
null
null
14,968
30,252
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,247
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/** * udc.c - Core UDC Framework * * Copyright (C) 2016 Intel Corporation * Author: Felipe Balbi <felipe.balbi@linux.intel.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 of * the License as published by the Free Sof...
null
null
null
null
103,594
19,830
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,825
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet * driver for Linux. * * Copyright (c) 2009-2010 Chelsio Communications, 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 GN...
null
null
null
null
93,172
2,272
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
167,267
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* RxRPC individual remote procedure call handling * * 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 License * as published by the Free ...
null
null
null
null
75,615
752
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
257,139
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2008-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,584
63,124
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,124
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/strings/utf_string_conversions.h" #include "base/test/scoped_feature_list.h" #include "build/build_config.h" #include "chrome/browser/ui/vi...
null
null
null
null
59,987
71,207
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,207
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_DICTIONARY_VALUE_UPDATE_H_ #define SERVICES_PREFERENCES_PUBLIC_CPP_DICTIONARY_VALUE_UPDATE_H_ #include <memory> #...
null
null
null
null
68,070
34,791
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,786
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * STK1160 driver * * Copyright (C) 2012 Ezequiel Garcia * <elezegarcia--a.t--gmail.com> * * Based on Easycap driver by R.M. Thomas * Copyright (C) 2010 R.M. Thomas * <rmthomas--a.t--sciolus.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
null
null
null
null
108,133
40,956
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,951
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __KERN_LEVELS_H__ #define __KERN_LEVELS_H__ #define KERN_SOH "\001" /* ASCII Start Of Header */ #define KERN_SOH_ASCII '\001' #define KERN_EMERG KERN_SOH "0" /* system is unusable */ #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */ #define KERN_CRIT KERN_SOH "2" /* critical conditions *...
null
null
null
null
114,298
36,075
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,075
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_STYLE_NAMED_GRID_LINES_MAP_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_STYLE_NAMED_GRID_LINES_MAP_H_ #include "thi...
null
null
null
null
32,938
35,729
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,724
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* drivers/char/watchdog/scx200_wdt.c National Semiconductor SCx200 Watchdog support Copyright (c) 2001,2002 Christer Weinigel <wingel@nano-system.com> Some code taken from: National Semiconductor PC87307/PC97307 (ala SC1200) WDT driver (c) Copyright 2002 Zwane Mwaikambo <zwane@commfireservices.com> ...
null
null
null
null
109,071
6,190
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,185
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* sound/soc/samsung/jive_wm8750.c * * Copyright 2007,2008 Simtec Electronics * * Based on sound/soc/pxa/spitz.c * Copyright 2005 Wolfson Microelectronics PLC. * Copyright 2005 Openedhand Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
null
null
null
null
79,532
24,762
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,757
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2014, NVIDIA CORPORATION. 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"), * to deal in the Software without restriction, including without limitation * the rights to use...
null
null
null
null
98,104
40,777
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,772
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __LINUX_HYPEVISOR_H #define __LINUX_HYPEVISOR_H /* * Generic Hypervisor support * Juergen Gross <jgross@suse.com> */ #ifdef CONFIG_HYPERVISOR_GUEST #include <asm/hypervisor.h> #else static inline void hypervisor_pin_vcpu(int cpu) { } #endif #endif /* __LINUX_HYPEVISOR_H */
null
null
null
null
114,119
40,271
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,266
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/include/linux/ext2_fs.h * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/include/linux/minix_fs.h * * Copyright (C) 1991, 1992 Linus Torvalds */ #ifndef _LINU...
null
null
null
null
113,613
4,455
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,450
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) International Business Machines Corp., 2000-2004 * * 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 ...
null
null
null
null
77,797
14,878
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,878
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_USER_MANAGER_USER_MANAGER_BASE_H_ #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ #include <map> #include <memory> #include <set>...
null
null
null
null
11,741
7,324
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,319
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2007 Google, Inc. * Copyright (C) 2011 Intel, Inc. * Copyright (C) 2013 Intel, 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. * *...
null
null
null
null
80,666
30,004
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,999
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * MUSB OTG driver peripheral defines * * Copyright 2005 Mentor Graphics Corporation * Copyright (C) 2005-2006 by Texas Instruments * Copyright (C) 2006-2007 Nokia Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * ver...
null
null
null
null
103,346
31,121
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,121
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2016 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 conditions ...
null
null
null
null
27,984
54,889
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,889
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/renderer/extensions/file_browser_handler_custom_bindings.h" #include <string> #include "base/logging.h" #include "build/build_confi...
null
null
null
null
51,752
17,103
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
182,098
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ASM_SH_FTRACE_H #define __ASM_SH_FTRACE_H #ifdef CONFIG_FUNCTION_TRACER #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ #define FTRACE_SYSCALL_MAX NR_syscalls #ifndef __ASSEMBLY__ extern void mcount(void); #define MCOUNT_ADDR ((unsigned long)(mcount)) #ifdef CONFIG_DYNAMIC_FTRACE #define CALL_ADDR ...
null
null
null
null
90,445
43,512
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,512
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/message_loop/message_pump_glib.h" #include <glib.h> #include <math.h> #include <algorithm> #include <vector> #include "base/bind.h" ...
null
null
null
null
40,375
327
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,455
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...
null
null
null
null
72,748
43,324
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,324
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 "base/mac/dispatch_source_mach.h" #include <mach/mach.h> #include <memory> #include "base/logging.h" #include "base/mac/scoped_mach_port.h" #i...
null
null
null
null
40,187
39,467
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,467
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/modules/websockets/inspector_web_socket_events.h" #include <memory> #include "third_party/blink/renderer/core/dom/do...
null
null
null
null
36,330
6,281
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,276
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2007, 2008 Karsten Wiese <fzu@wemgehoertderstaat.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 your * option) any later v...
null
null
null
null
79,623
23,731
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,726
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#define DSS_SUBSYS_NAME "HDMI" #include <linux/kernel.h> #include <linux/err.h> #include <linux/of.h> #include <video/omapfb_dss.h> #include "hdmi.h" int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep, struct hdmi_phy_data *phy) { struct property *prop; int r, len; prop = of_find_prop...
null
null
null
null
97,073
1,149
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,206
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Microsoft Screen 3 (aka Microsoft ATC Screen) decoder * Copyright (c) 2012 Konstantin Shishkov * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; ei...
null
null
null
null
70,261
1,066
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,910
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/os/dnsglue.c */ /* * Copyright 2004, 2009 by the 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 Governme...
null
null
null
null
74,218
18,970
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,970
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_SERVICES_FONT_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ #define COMPONENTS_SERVICES_FONT_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ #include <stdint.h>...
null
null
null
null
15,833
2,919
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,976
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Silicon Graphics Movie demuxer * Copyright (c) 2012 Peter Ross * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licen...
null
null
null
null
72,031
22,076
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,076
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 "content/public/common/input_event_ack_state.h" #include "base/logging.h" namespace content { const char* InputEventAckStateToString(InputEven...
null
null
null
null
18,939
69,158
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,158
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 LIBRARIES_NACL_IO_TEST_FAKE_UTIL_H_ #define LIBRARIES_NACL_IO_TEST_FAKE_UTIL_H_ #include <string> #include <ppapi/c/pp_completion_callback.h> #...
null
null
null
null
66,021
5,327
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,327
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 IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_ #define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_ #import <UIKit/UIKit.h> @clas...
null
null
null
null
2,190
39,395
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,395
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/modules/device_orientation/device_motion_controller.h" #include "third_party/blink/public/platform/platform.h" #incl...
null
null
null
null
36,258
11,514
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,514
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 GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_H_ #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_H_ #include <stdint.h> #include "base/compiler_sp...
null
null
null
null
8,377
29,468
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,463
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Regulator driver for DA9063 PMIC series * * Copyright 2012 Dialog Semiconductors Ltd. * Copyright 2013 Philipp Zabel, Pengutronix * * Author: Krystian Garbaciak <krystian.garbaciak@diasemi.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU G...
null
null
null
null
102,810
39,556
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,556
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_ENCRYPTEDMEDIA_ENCRYPTED_MEDIA_UTILS_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_ENCRYPTEDMEDIA_ENCRYPTED_MED...
null
null
null
null
36,419
21,164
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
186,159
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* ZD1211 USB-WLAN driver for Linux * * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> * * This program is free software; you can redistribute it and/or modify * it under the terms ...
null
null
null
null
94,506
532
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,589
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Copyright (c) Markus Schmidt and Christian Holschuh * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at y...
null
null
null
null
69,644
31,034
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,034
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/modules/v8/serialization/v8_script_value_serializer_for_modules.h" #include "build/build_config.h" #include...
null
null
null
null
27,897
38,115
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,110
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "../evlist.h" #include "../cache.h" #include "../evsel.h" #include "../sort.h" #include "../hist.h" #include "../helpline.h" #include "gtk.h" #include <signal.h> void perf_gtk__signal(int sig) { perf_gtk__exit(false); psignal(sig, "perf"); } void perf_gtk__resize_window(GtkWidget *window) { GdkRectangle ...
null
null
null
null
111,457
65,715
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,715
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_APPS_DIRECTORY_ACCESS_CONFIRMATION_DIALOG_H_ #define CHROME_BROWSER_UI_APPS_DIRECTORY_ACCESS_CONFIRMATION_DIALOG_H_ #include "b...
null
null
null
null
62,578
1,308
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,365
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * JNI utility functions * * Copyright (c) 2015-2016 Matthieu Bouron <matthieu.bouron stupeflix.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 Software Foundation...
null
null
null
null
70,420
32,914
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,914
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
29,777
69,584
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,584
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * ------------------------------------------------------------- * * Module: sem_post.c * * Purpose: * Semaphores aren't actually part of the PThreads standard. * They are defined by the POSIX Standard: * * POSIX 1003.1b-1993 (POSIX.1b) * * ------------------------------------------------------------- * ...
null
null
null
null
66,447
40,882
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,877
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _LINUX_FD_H #define _LINUX_FD_H #include <uapi/linux/fd.h> #ifdef CONFIG_COMPAT #include <linux/compat.h> struct compat_floppy_struct { compat_uint_t size; compat_uint_t sect; compat_uint_t head; compat_uint_t track; compat_uint_t stretch; unsigned char gap; unsigned char rate; unsigned char spec1; ...
null
null
null
null
114,224
25,787
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,787
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/browser/api/web_request/web_request_event_details.h" #include <utility> #include <vector> #include "base/callback.h" #include "base...
null
null
null
null
22,650
40,166
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,166
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. // A crazy linker test to test callbacks for delayed execution. #include <pthread.h> #include <stdio.h> #include <crazy_linker.h> #include "test_util.h"...
null
null
null
null
37,029
67,636
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,636
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/safe_browsing/download_protection/two_phase_uploader.h" #include <stdint.h> #include <limits> #include "base/bind.h" #include ...
null
null
null
null
64,499
28,730
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,725
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Atmel AT91 AIC (Advanced Interrupt Controller) driver * * Copyright (C) 2004 SAN People * Copyright (C) 2004 ATMEL * Copyright (C) Rick Bronson * Copyright (C) 2014 Free Electrons * * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> * * This file is licensed under the terms of the GNU Ge...
null
null
null
null
102,072
33,961
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,961
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/layout/ng/ng_physical_container_fragment.h" #include "third_party/blink/renderer/core/editing/position_with_aff...
null
null
null
null
30,824
33,390
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,385
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* 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 Copyright(c) 2014 Intel Corporation. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU Gene...
null
null
null
null
106,732
11,052
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,047
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * mbus.h: Various defines for MBUS modules. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #ifndef _SPARC_MBUS_H #define _SPARC_MBUS_H #include <asm/ross.h> /* HyperSparc stuff */ #include <asm/viking.h> /* Ugh, bug city... */ enum mbus_module { HyperSparc = 0, Swift_ok ...
null
null
null
null
84,394
38,951
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,946
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * zbud.c * * Copyright (C) 2013, Seth Jennings, IBM * * Concepts based on zcache internal zbud allocator by Dan Magenheimer. * * zbud is an special purpose allocator for storing compressed pages. Contrary * to what its name may suggest, zbud is not a buddy allocator, but rather an * allocator that "buddies...
null
null
null
null
112,293
25,164
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,164
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ #include "extensi...
null
null
null
null
22,027
1,931
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,988
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * VC-1 and WMV3 decoder * Copyright (c) 2006-2007 Konstantin Shishkov * Partly based on vc9.c (c) 2005 Anonymous, Alex Beregszaszi, Michael Niedermayer * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * ...
null
null
null
null
71,043
11,886
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,886
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/omnibox/browser/scored_history_match.h" #include <algorithm> #include <memory> #include <utility> #include "base/auto_reset.h" ...
null
null
null
null
8,749
51,530
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,530
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 "ui/keyboard/keyboard_ui.h" #include "base/command_line.h" #include "ui/aura/window.h" #include "ui/base/ime/input_method.h" #include "ui/base/i...
null
null
null
null
48,393
19,453
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,453
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 "components/variations/service/safe_seed_manager.h" #include <memory> #include <string> #include "base/base_switches.h" #include "base/command_...
null
null
null
null
16,316
23,383
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,378
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/pci/pcie/aer/aerdrv_core.c * * 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. * * This file implements the core part of PCI-Express AER. When an pci-express * error is delivered,...
null
null
null
null
96,725
12,759
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,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. #ifndef COMPONENTS_UPDATE_CLIENT_REQUEST_SENDER_H_ #define COMPONENTS_UPDATE_CLIENT_REQUEST_SENDER_H_ #include <stdint.h> #include <map> #include <memor...
null
null
null
null
9,622
345
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,732
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2006-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,177
977
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,034
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
null
null
null
null
70,089
17,062
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,062
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/test/test_texture.h" #include <stddef.h> #include <stdint.h> #include "gpu/GLES2/gl2extchromium.h" #include "third_party/khrono...
null
null
null
null
13,925
52,149
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,149
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 MEDIA_AUDIO_AUDIO_UNITTEST_UTIL_H_ #define MEDIA_AUDIO_AUDIO_UNITTEST_UTIL_H_ #include "testing/gtest/include/gtest/gtest.h" namespace media { ...
null
null
null
null
49,012
17,826
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,826
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_METHOD_MANIFEST_TABLE_H_ #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_METHOD_MANIFEST_TABLE_H_ #include <strin...
null
null
null
null
14,689
14,270
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,270
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_CRONET_ANDROID_CRONET_LIBRARY_LOADER_H_ #define COMPONENTS_CRONET_ANDROID_CRONET_LIBRARY_LOADER_H_ #include <jni.h> namespace cronet ...
null
null
null
null
11,133
9,275
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,270
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/arm/mach-mmp/sram.c * * based on mach-davinci/sram.c - DaVinci simple SRAM allocator * * Copyright (c) 2011 Marvell Semiconductors Inc. * All Rights Reserved * * Add for mmp sram support - Leo Yan <leoy@marvell.com> * * This program is free software; you can redistribute it and/or modify...
null
null
null
null
82,617
4,808
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,808
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_FAVICON_FAVICON_ATTRIBUTES_WITH_PAYLOAD_H_ #define IOS_CHROME_BROWSER_UI_FAVICON_FAVICON_ATTRIBUTES_WITH_PAYLOAD_H_ #import...
null
null
null
null
1,671
5,531
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,526
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _IMX_SSI_H #define _IMX_SSI_H #define SSI_STX0 0x00 #define SSI_STX1 0x04 #define SSI_SRX0 0x08 #define SSI_SRX1 0x0...
null
null
null
null
78,873
1,312
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,156
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* @(#)xdr.c 2.1 88/07/29 4.0 RPCSRC */ /* * Copyright (c) 2010, Oracle America, 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...
null
null
null
null
74,464
587
9
train_val
b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
165,582
linux
1
https://github.com/torvalds/linux
2014-01-06 17:40:02+01:00
static bool dccp_new(struct nf_conn *ct, const struct sk_buff *skb, unsigned int dataoff, unsigned int *timeouts) { struct net *net = nf_ct_net(ct); struct dccp_net *dn; struct dccp_hdr _dh, *dh; const char *msg; u_int8_t state; dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &dh); BUG_ON(dh == NULL); state = dcc...
CVE-2014-2523
CWE-20
https://github.com/torvalds/linux/commit/b22f5126a24b3b2f15448c3f2a254fc10cbc2b92
Low
3,476
14,378
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,378
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/ntp_snippets/remote/prefetched_pages_tracker_impl.h" #include "base/bind.h" #include "base/strings/string_number_conversions.h" #inc...
null
null
null
null
11,241
39,639
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,634
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Scheduler code and data structures related to cpufreq. * * Copyright (C) 2016, Intel Corporation * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.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 ...
null
null
null
null
112,981
57,531
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
57,531
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/chromeos/input_method/candidate_window_controller.h" #include "chrome/browser/chromeos/input_method/candidate_window_control...
null
null
null
null
54,394
1,425
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,269
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* lib/crypto/crypto_tests/camellia-test.c */ /* * Copyright (c) 2009 * NTT (Nippon Telegraph and Telephone Corporation) . 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 pe...
null
null
null
null
74,577
34,003
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,003
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/ng/ng_physical_box_fragment.h" #include "third_party/blink/renderer/core/editing/position_with_affinity....
null
null
null
null
30,866
25,592
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,587
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2016 BayLibre, SAS * Author: Neil Armstrong <narmstrong@baylibre.com> * Copyright (C) 2014 Endless Mobile * * 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 versi...
null
null
null
null
98,934
56,442
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,442
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/users/mock_user_manager.h" #include <utility> #include "base/task_runner.h" #include "chrome/browser/chromeos/lo...
null
null
null
null
53,305
36,354
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,354
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
33,217
19,054
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,054
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync_sessions/synced_session_tracker.h" #include "base/rand_util.h" #include "base/strings/stringprintf.h" #include "base/strings/ut...
null
null
null
null
15,917
168
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,555
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 2002-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,000
39,953
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,948
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Stage 1 of the trace events. * * Override the macros in <trace/trace_events.h> to include the following: * * struct trace_event_raw_<call> { * struct trace_entry ent; * <type> <item>; * <type2> <item2>[<len>]; * [...] * }; * * The <type> <item> is created by the __field(type, item) macro or * t...
null
null
null
null
113,295
66,076
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,076
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 <algorithm> #include "base/test/trace_event_analyzer.h" #include "chrome/browser/media/webrtc/webrtc_browsertest_base.h" #include "chrome/browse...
null
null
null
null
62,939
25,923
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,918
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * SMU_7_0_0 Register documentation * * Copyright (C) 2014 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 limi...
null
null
null
null
99,265
26,344
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,339
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * HDMI PLL * * Copyright (C) 2013 Texas Instruments Incorporated * * 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. */ #define DSS_SUBSYS_NAME "HDMIPLL" #include <linux/ker...
null
null
null
null
99,686
14,056
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,056
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/offline_pages/core/prefetch/test_prefetch_dispatcher.h" #include "components/offline_pages/core/offline_page_item.h" #include "compo...
null
null
null
null
10,919
65,830
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,830
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/browsing_data/browsing_data_indexed_db_helper.h" #include <tuple> #include <vector> #include "base/bind.h" #include "base/l...
null
null
null
null
62,693
39,622
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,617
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "sched.h" /* * idle-task scheduling class. * * (NOTE: these are not related to SCHED_IDLE tasks which are * handled in sched/fair.c) */ #ifdef CONFIG_SMP static int select_task_rq_idle(struct task_struct *p, int cpu, int sd_flag, int flags) { return task_cpu(p); /* IDLE tasks as never migrated */ } #e...
null
null
null
null
112,964
3,412
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
156,469
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * Metar Gear Solid: The Twin Snakes demuxer * Copyright (c) 2012 Paul B Mahol * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1...
null
null
null
null
72,524
26,335
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,335
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 "printing/print_job_constants.h" #include "printing/buildflags/buildflags.h" namespace printing { // True if this is the first preview req...
null
null
null
null
23,198
34,253
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,248
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Xilinx Video IP Composite Device * * 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 ...
null
null
null
null
107,595
37,864
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,859
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * config.c * * Helper functions for parsing config items. * Originally copied from GIT source. * * Copyright (C) Linus Torvalds, 2005 * Copyright (C) Johannes Schindelin, 2005 * */ #include "util.h" #include "cache.h" #include <subcmd/exec-cmd.h> #include "util/hist.h" /* perf_hist_config */ #include "util...
null
null
null
null
111,206
26,327
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,327
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 "printing/page_setup.h" #include <algorithm> #include "base/logging.h" namespace printing { PageMargins::PageMargins() : header(0), ...
null
null
null
null
23,190
26,097
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,097
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 "extensions/browser/api/socket/socket.h" #include "base/bind.h" #include "base/lazy_instance.h" #include "extensions/browser/api/api_resource_ma...
null
null
null
null
22,960
58,693
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,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. #include "base/feature_list.h" #include "base/strings/stringprintf.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browse...
null
null
null
null
55,556
47,440
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,440
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/painted_scrollbar_layer_impl.h" #include <stddef.h> #include "cc/resources/ui_resource_bitmap.h" #include "cc/test/layer_test_common...
null
null
null
null
44,303
45,460
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,460
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_SHELF_OVERFLOW_BUTTON_H_ #define ASH_SHELF_OVERFLOW_BUTTON_H_ #include "ash/ash_export.h" #include "base/macros.h" #include "ui/gfx/geometry/...
null
null
null
null
42,323