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
40,384
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,379
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* nubus.h: various definitions and prototypes for NuBus drivers to use. Originally written by Alan Cox. Hacked to death by C. Scott Ananian and David Huggins-Daines. Some of the constants in here are from the corresponding NetBSD/OpenBSD header file, by Allen Briggs. We figured out the rest of them o...
null
null
null
null
113,726
12,479
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,474
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Common boot and setup code for both 32-bit and 64-bit. * Extracted from arch/powerpc/kernel/setup_64.c. * * Copyright (C) 2001 PPC64 Team, IBM Corp * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published b...
null
null
null
null
85,821
517
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,085
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include "qemu/osdep.h" #include "qemu-common.h" #include "block/aio.h" #include "block/thread-pool.h" #include "block/block.h" #include "qapi/error.h" #include "qemu/timer.h" #include "qemu/error-report.h" static AioContext *ctx; static ThreadPool *pool; static int active; typedef struct { BlockAIOCB *aiocb; ...
null
null
null
null
121,209
55,529
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,529
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_IMPORTER_IE_IMPORTER_WIN_H_ #define CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ #include <stdint.h> #include <vector> #includ...
null
null
null
null
52,392
35,770
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,770
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/editing/commands/insert_text_command.h" #include "third_party/blink/renderer/core/editing/frame_selection.h...
null
null
null
null
32,633
5,269
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,269
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 "ios/chrome/browser/translate/translate_ranker_factory.h" #include "base/memory/singleton.h" #include "components/keyed_service/core/keyed_servi...
null
null
null
null
2,132
24,936
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,936
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 EXTENSIONS_RENDERER_GET_PER_CONTEXT_DATA_H_ #define EXTENSIONS_RENDERER_GET_PER_CONTEXT_DATA_H_ #include "gin/per_context_data.h" #include "v8/in...
null
null
null
null
21,799
18,170
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,165
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2012 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this sou...
null
null
null
null
91,512
67,567
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,567
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. // State is stored in the Windows registry in a value of the key // HKEY_CURRENT_USER\Software\<browser>\IncidentsSent for each profile. The // value name...
null
null
null
null
64,430
39,031
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,031
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
35,894
37,316
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,316
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retai...
null
null
null
null
34,179
36,119
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,114
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* rtc-starfire.c: Starfire platform RTC driver. * * Author: David S. Miller * License: GPL * * Copyright (C) 2008 David S. Miller <davem@davemloft.net> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/rtc.h> #include <linux/platform_device.h> #include <asm/oplib.h> static u32 starfire_get_...
null
null
null
null
109,461
28,544
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,539
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
null
null
null
null
101,886
33,821
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,821
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. * * 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 Software Foundation; either * version 2 of the License, or (at your optio...
null
null
null
null
30,684
26,707
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,702
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2009 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, m...
null
null
null
null
100,049
22,091
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,091
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_STREAM_VALIDATOR_H_ #define CONTENT_COMMON_INPUT_INPUT_EVENT_STREAM_VALIDATOR_H_ #include <string> #include "ba...
null
null
null
null
18,954
20,428
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
20,428
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 "content/public/browser/android/browser_media_player_manager_register.h" #include "content/browser/media/android/browser_media_player_manager.h"...
null
null
null
null
17,291
11,748
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,748
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 COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FOCUS_STATE_H_ #define COMPONENTS_OMNIBOX_COMMON_OMNIBOX_FOCUS_STATE_H_ // Omnibox focus state. enum OmniboxFoc...
null
null
null
null
8,611
34,360
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,360
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/paint/table_cell_paint_invalidator.h" #include "third_party/blink/renderer/core/layout/layout_table.h" #include...
null
null
null
null
31,223
13,953
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,948
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* FRV performance event support * * Copyright (C) 2009 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 Foundatio...
null
null
null
null
87,295
4,662
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,657
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include <linux/kernel.h> #include <linux/mtd/mtd.h> #include "nodelist.h" int jff...
null
null
null
null
78,004
26,234
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
191,229
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/************************************************************************** * * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"),...
null
null
null
null
99,576
64,252
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,252
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_STARTUP_PAGES_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_STARTUP_PAGES_HANDLER_H_ #in...
null
null
null
null
61,115
236
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,293
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/* * AVOptions * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> * * 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 th...
null
null
null
null
69,348
7,612
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,607
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Core of Xen paravirt_ops implementation. * * This file contains the xen_paravirt_ops structure itself, and the * implementations for: * - privileged instructions * - interrupt flags * - segment operations * - booting and setup * * Jeremy Fitzhardinge <jeremy@xensource.com>, XenSource Inc, 2007 */ #incl...
null
null
null
null
80,954
4,811
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,806
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * sound/oss/dev_table.c * * Device call tables. * * * Copyright (C) by Hannu Savolainen 1993-1997 * * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) * Version 2 (June 1991). See the "COPYING" file distributed with this software * for more info. */ #include <linux/init.h> #i...
null
null
null
null
78,153
9,976
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,971
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/arm/kernel/bios32.c * * PCI bios-type initialisation for PCI machines * * Bits taken from various places. */ #include <linux/export.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/io.h> #include <asm/mach-types.h> #include <as...
null
null
null
null
83,318
1,423
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,378
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +---------...
null
null
null
null
120,299
30,989
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,984
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Marvell Berlin BG2CD pinctrl driver. * * Copyright (C) 2014 Marvell Technology Group Ltd. * * Antoine Ténart <antoine.tenart@free-electrons.com> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whe...
null
null
null
null
104,331
47,892
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,892
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 UI_DISPLAY_DISPLAY_OBSERVER_H_ #define UI_DISPLAY_DISPLAY_OBSERVER_H_ #include <stdint.h> #include "ui/display/display_export.h" namespace ...
null
null
null
null
44,755
56,879
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,879
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_ #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_ #include <string> #inc...
null
null
null
null
53,742
6,845
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,840
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef S390_CCWGROUP_H #define S390_CCWGROUP_H struct ccw_device; struct ccw_driver; /** * struct ccwgroup_device - ccw group device * @state: online/offline state * @count: number of attached slave devices * @dev: embedded device structure * @cdev: variable number of slave devices, allocated as needed * @ungr...
null
null
null
null
80,187
14,117
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,117
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_OFFLINE_PAGES_CORE_MODEL_UPDATE_FILE_PATH_TASK_H_ #define COMPONENTS_OFFLINE_PAGES_CORE_MODEL_UPDATE_FILE_PATH_TASK_H_ #include "base/...
null
null
null
null
10,980
40,482
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,482
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,345
56,166
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,166
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 provides functions for opening an item (file or directory) using // the file manager. #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPE...
null
null
null
null
53,029
65,703
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,703
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORDS_MODEL_DELEGATE_H_ #define CHROME_BROWSER_UI_PASSWORDS_PASSWORDS_MODEL_DELEGATE_H_ #include <vector> #inclu...
null
null
null
null
62,566
64,800
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,800
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_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_ITEM_H_ #define CHROME_BROWSER_UI_COCOA_MEDIA_PICKER_DESKTOP_MEDIA_PICKER_ITEM_H_ #impo...
null
null
null
null
61,663
1,121
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
260,076
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +--------------...
null
null
null
null
119,997
10,408
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,408
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 MOJO_PUBLIC_CPP_BINDINGS_STRONG_ASSOCIATED_BINDING_H_ #define MOJO_PUBLIC_CPP_BINDINGS_STRONG_ASSOCIATED_BINDING_H_ #include <memory> #include <s...
null
null
null
null
7,271
24,303
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,298
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright © 2008 Intel Corporation * 2014 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights...
null
null
null
null
97,645
25,986
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,986
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 "extensions/browser/api/mime_handler_private/mime_handler_private.h" #include <memory> #include <utility> #include "base/containers/queue.h" #i...
null
null
null
null
22,849
58,051
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,051
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/net/chrome_report_sender.h" #include "base/bind.h" #include "net/url_request/report_sender.h" #include "services/network/public/...
null
null
null
null
54,914
51,250
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,250
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 UI_EVENTS_OZONE_GENERIC_GAMEPAD_GAMEPAD_MAPPING_H_ #define UI_EVENTS_OZONE_GENERIC_GAMEPAD_GAMEPAD_MAPPING_H_ #include <vector> #include "ui/even...
null
null
null
null
48,113
41,321
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,316
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring This file declares helper functions for the sysfs class "hwmon", for use by sensors drivers. Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com> This program is free software; you can redistribute it and/or modi...
null
null
null
null
114,663
15,218
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,213
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.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 vers...
null
null
null
null
88,560
24,601
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,596
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __NVMXM_MXMS_H__ #define __NVMXM_MXMS_H__ #include "priv.h" struct mxms_odev { u8 outp_type; u8 conn_type; u8 ddc_port; u8 dig_conn; }; void mxms_output_device(struct nvkm_mxm *, u8 *, struct mxms_odev *); u16 mxms_version(struct nvkm_mxm *); u16 mxms_headerlen(struct nvkm_mxm *); u16 mxms_structlen(s...
null
null
null
null
97,943
412
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
262,980
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD. * Copyright (c) 2016 FUJITSU LIMITED * Copyright (c) 2016 Intel Corporation * * Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> * * This work is licensed under the terms of the GNU GPL, version 2 or * later. See the COPYING file in the top-level director...
null
null
null
null
121,104
28,017
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,012
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/** * Copyright (c) 2010 Werner Dittmann * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge,...
null
null
null
null
101,359
70,996
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,996
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 "sandbox/win/src/process_mitigations_win32k_dispatcher.h" #include <algorithm> #include "base/memory/shared_memory.h" #include "base/strings/st...
null
null
null
null
67,859
1,484
28
train_val
2025798e133f9adc49b65d017dbb5cb2c5cc74c9
1,484
Chrome
1
https://github.com/chromium/chromium
2014-05-07 13:42:33+00:00
void SpdyWriteQueue::RemovePendingWritesForStream( const base::WeakPtr<SpdyStream>& stream) { CHECK(!removing_writes_); removing_writes_ = true; RequestPriority priority = stream->priority(); CHECK_GE(priority, MINIMUM_PRIORITY); CHECK_LE(priority, MAXIMUM_PRIORITY); DCHECK(stream.get()); #if DCHECK_IS_ON // |stream| ...
CVE-2014-3155
null
https://github.com/chromium/chromium/commit/2025798e133f9adc49b65d017dbb5cb2c5cc74c9
Low
1,484
6,043
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,038
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Intel Skylake I2S Machine Driver for NAU88L25+SSM4567 * * Copyright (C) 2015, Intel Corporation. All rights reserved. * * Modified from: * Intel Skylake I2S Machine Driver for NAU88L25 and SSM4567 * * Copyright (C) 2015, Intel Corporation. All rights reserved. * * This program is free software; you c...
null
null
null
null
79,385
124
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,079
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +---------...
null
null
null
null
119,000
639
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,483
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
#include "kdb_ldap.h" #include "ldap_principal.h" #include "princ_xdr.h" #include <kadm5/admin.h> bool_t ldap_xdr_krb5_ui_2(XDR *xdrs, krb5_ui_2 *objp) { unsigned int tmp; tmp = (unsigned int) *objp; if (!xdr_u_int(xdrs, &tmp)) return(FALSE); *objp = (krb5_ui_2) tmp; return(TRUE); } bool_t lda...
null
null
null
null
73,791
1,035
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
162,879
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/read_msg.c */ /* * Copyright 1991 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 Government. ...
null
null
null
null
74,187
9,961
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
174,956
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/arm/kernel/thumbee.c * * Copyright (C) 2008 ARM Limited * * 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. * * This program is distributed in the hope that it will be...
null
null
null
null
83,303
40,554
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,554
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,417
45,215
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,215
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/root_window_controller.h" #include <algorithm> #include <memory> #include <queue> #include <vector> #include "ash/accessibility/access...
null
null
null
null
42,078
15,945
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,940
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2000 Silicon Graphics, Inc. * Copyright (C) 2005 Ralf Baechle <ralf@linux-mips.org> */ #ifndef __ASM_MACH_IP27_KERNEL_ENTR...
null
null
null
null
89,287
6,764
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
6,764
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/proxy_resolution/pac_file_fetcher_impl.h" #include "base/compiler_specific.h" #include "base/location.h" #include "base/logging.h" #inc...
null
null
null
null
3,627
42,151
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,146
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
void integrator_impd1_clk_init(void __iomem *base, unsigned int id); void integrator_impd1_clk_exit(unsigned int id);
null
null
null
null
115,493
5,245
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,245
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_COPIED_TO_CHROME_ITEM_H_ #define IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_COPIED_TO_CHROME_ITEM_H_ #import <UIKi...
null
null
null
null
2,108
29,629
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,624
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Driver for USB Mass Storage compliant devices * Main Header File * * Current development and maintenance by: * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) * * Initial work by: * (c) 1999 Michael Gee (michael@linuxspecific.com) * * This driver is based on the 'USB Mass Storage Class' d...
null
null
null
null
102,971
366
1,2
train_val
c63f2b7fe4fe2977f858a8e36d5f48db17eff2e7
366
Chrome
1
https://github.com/chromium/chromium
2011-07-07 05:25:00+00:00
bool ExtensionTtsController::IsSpeaking() const { return current_utterance_ != NULL; }
CVE-2011-2839
CWE-20
https://github.com/chromium/chromium/commit/c63f2b7fe4fe2977f858a8e36d5f48db17eff2e7
Low
366
56,865
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,865
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_API_H_ #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_API_H_ #include <memory> #inc...
null
null
null
null
53,728
15,368
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,363
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * TX4939 irq routines * Based on linux/arch/mips/kernel/irq_txx9.c, * and RBTX49xx patch from CELF patch archive. * * Copyright 2001, 2003-2005 MontaVista Software Inc. * Author: MontaVista Software, Inc. * ahennessy@mvista.com * source@mvista.com * Copyright (C) 2000-2001,2005-2007 Toshiba Corpor...
null
null
null
null
88,710
12,844
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,844
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 <string> #include "base/bind_helpers.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h" #include "base/message_loop/me...
null
null
null
null
9,707
1,463
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35
train_val
87a082c5137a63dedb3fe5b1f48f75dcd1fd780c
1,463
Chrome
1
https://github.com/chromium/chromium
2014-03-28 11:24:14+00:00
gfx::Vector2d LayerTreeHost::DistributeScrollOffsetToViewports( const gfx::Vector2d offset, Layer* layer) { DCHECK(layer); if (layer != outer_viewport_scroll_layer_.get()) return offset; gfx::Vector2d inner_viewport_offset = inner_viewport_scroll_layer_->scroll_offset(); gfx::Vector2d outer_vi...
CVE-2013-2902
CWE-399
https://github.com/chromium/chromium/commit/87a082c5137a63dedb3fe5b1f48f75dcd1fd780c
Low
1,463
47,822
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
47,822
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 "crypto/signature_verifier.h" #include <stdint.h> #include <memory> #include <vector> #include "base/logging.h" #include "crypto/openssl_u...
null
null
null
null
44,685
2,384
101,107,117,118
train_val
2dff123516e9a637924990c9605f88b10244dc0d
2,384
Chrome
1
https://github.com/chromium/chromium
2018-01-24 23:16:41+00:00
IDNSpoofChecker::IDNSpoofChecker() { UErrorCode status = U_ZERO_ERROR; checker_ = uspoof_open(&status); if (U_FAILURE(status)) { checker_ = nullptr; return; } // At this point, USpoofChecker has all the checks enabled except // for USPOOF_CHAR_LIMIT (USPOOF_{RESTRICTION_LEVEL, INVISIBLE, // MIXED_SCRIPT_CONFUSABLE, WH...
CVE-2018-6105
null
https://github.com/chromium/chromium/commit/2dff123516e9a637924990c9605f88b10244dc0d
Medium
2,384
55,987
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,987
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_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ #include <memory> #include "base/macro...
null
null
null
null
52,850
24,359
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,354
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright © 2016 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
null
null
null
null
97,701
46,709
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,709
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 <memory> #include "ash/system/tray/size_range_layout.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/views/test/test_layout_manag...
null
null
null
null
43,572
26,615
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,615
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* -*- Mode: C; indent-tabs-mode:t ; c-basic-offset:8 -*- */ /* * Hotplug functions for libusbx * Copyright © 2012-2013 Nathan Hjelm <hjelmn@mac.com> * Copyright © 2012-2013 Peter Stuge <peter@stuge.se> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
null
null
null
null
23,478
60,176
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,176
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_USB_USB_CHOOSER_CONTEXT_FACTORY_H_ #define CHROME_BROWSER_USB_USB_CHOOSER_CONTEXT_FACTORY_H_ #include "base/macros.h" #include "ba...
null
null
null
null
57,039
18,364
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,364
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_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_BLOB_TASK_PROXY_H_ #define COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_BLOB_TASK_PROXY_H_ #in...
null
null
null
null
15,227
22,749
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,744
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* sercos3: UIO driver for the Automata Sercos III PCI card Copyright (C) 2008 Linutronix GmbH Author: John Ogness <john.ogness@linutronix.de> This is a straight-forward UIO driver, where interrupts are disabled by the interrupt handler and re-enabled via a write to the UIO device by the userspace-pa...
null
null
null
null
96,091
12,836
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,836
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. // MediaStorageUtil provides information about storage devices attached // to the computer. #ifndef COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_ #def...
null
null
null
null
9,699
31,762
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,762
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 "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/css/properties/css_parsing_utils.h" #include "third_party/blink/r...
null
null
null
null
28,625
5,712
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,707
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * max98088.c -- MAX98088 ALSA SoC Audio driver * * Copyright 2010 Maxim Integrated Products * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/module.h> #...
null
null
null
null
79,054
59,108
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,108
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <utility> #include "base/values.h" #include "chrome/browser/extensions/api/omnibox/omnibox_api.h" #include "chrome/comm...
null
null
null
null
55,971
14,618
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
179,613
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * OpenRISC time.c * * Linux architectural port borrowing liberally from similar works of * others. All original copyrights apply as per the original source * declaration. * * Modifications for the OpenRISC architecture: * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> * * This program is fre...
null
null
null
null
87,960
64,947
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,947
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_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_ #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_ #include <string> #include "base/callb...
null
null
null
null
61,810
118
null
train_val
31e986bc171719c9e6d40d0c2cb1501796a69e6c
259,073
php-src
0
https://github.com/php/php-src
2016-10-24 10:37:20+01:00
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +---------...
null
null
null
null
118,994
16,601
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
181,596
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_HIGHMEM_H #define _ASM_HIGHMEM_H #include <asm/cacheflush.h> #include <asm/kmap_types.h> #include <asm/fixmap.h> /* * Right now we initialize only a single pte table. It can be extended * easily, subsequent pte tables have to be allocated in one physical * chunk of RAM. */ /* * Ordering is (from low...
null
null
null
null
89,943
69,827
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,827
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 <stdint.h> #include <utility> #include "base/bind.h" #include "base/macros.h" #include "base/run_loop.h" #include "base/test/bind_test_util.h" #...
null
null
null
null
66,690
19,957
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,952
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2015-2017 Netronome Systems, Inc. * * This software is dual licensed under the GNU General License Version 2, * June 1991 as shown in the file COPYING in the top-level directory of this * source tree or the BSD 2-Clause License provided below. You have the * option to license this software und...
null
null
null
null
93,299
1,366
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
154,423
FFmpeg
0
https://github.com/FFmpeg/FFmpeg
2018-06-01 01:23:12+05:30
/** * @file * Vorbis I decoder * @author Denes Balatoni ( dbalatoni programozo hu ) * * 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 * versio...
null
null
null
null
70,478
56,160
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,160
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/chromeos/file_manager/open_with_browser.h" #include <stddef.h> #include "base/bind.h" #include "base/command_line.h" #include "...
null
null
null
null
53,023
32,279
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,274
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * pata_cmd640.c - CMD640 PCI PATA for new ATA layer * (C) 2007 Red Hat Inc * * Based upon * linux/drivers/ide/pci/cmd640.c Version 1.02 Sep 01, 1996 * * Copyright (C) 1995-1996 Linus Torvalds & authors (see driver) * * This drives only the PCI version of the controller. If you have a * VLB one th...
null
null
null
null
105,621
34,621
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,621
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2009, 2011, 2012 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 ...
null
null
null
null
31,484
10,486
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,481
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2014 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/cpuidle.h> #include <linux/module.h> #include <asm/cpu...
null
null
null
null
83,828
4,972
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,967
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Digital Beep Input Interface for HD-audio codec * * Author: Matt Ranostay <mranostay@gmail.com> * Copyright (c) 2008 Embedded Alley Solutions Inc * * This driver 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 Soft...
null
null
null
null
78,314
3,619
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,619
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_WEB_PUBLIC_WEB_STATE_WEB_STATE_USER_DATA_H_ #define IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_USER_DATA_H_ #include "base/logging.h" #include "base/...
null
null
null
null
482
35,680
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
200,675
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * VFIO platform driver specialized for AMD xgbe reset * reset code is inherited from AMD xgbe native driver * * Copyright (c) 2015 Linaro Ltd. * www.linaro.org * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public L...
null
null
null
null
109,022
19,504
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,504
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/sessions/core/persistent_tab_restore_service.h" #include <stddef.h> #include <stdint.h> #include <string.h> #include <utility> #incl...
null
null
null
null
16,367
53,349
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,349
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 "media/remoting/rpc_broker.h" #include <utility> #include "base/logging.h" #include "media/base/bind_to_current_loop.h" namespace media { name...
null
null
null
null
50,212
54,670
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,670
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_NETWORK_CONDITIONS_OVERRIDE_MANAGER_H_ #define CHROME_TEST_CHROMEDRIVER_CHROME_NETWORK_CONDITIONS_OVERRIDE_MAN...
null
null
null
null
51,533
5,019
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,014
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef AU88X0_EQ_H #define AU88X0_EQ_H /*************************************************************************** * au88x0_eq.h * * Definitions and constant data for the Aureal Hardware EQ. * * Sun Jun 8 18:23:38 2003 * Author: Manuel Jander (mjander@users.sourceforge.net) ********************...
null
null
null
null
78,361
1,647
6,7
train_val
7cb8e1ae121cf6b14aa0a59cc708de630c0ef965
1,647
Chrome
1
https://github.com/chromium/chromium
2015-08-17 10:23:42+00:00
void CachingPermutedEntropyProvider::UpdateLocalState() const { std::string serialized; cache_.SerializeToString(&serialized); std::string base64_encoded; base::Base64Encode(serialized, &base64_encoded); local_state_->SetString(prefs::kVariationsPermutedEntropyCache, base64_encoded); }
null
null
https://github.com/chromium/chromium/commit/7cb8e1ae121cf6b14aa0a59cc708de630c0ef965
null
1,647
29,806
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,806
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2012-02-08 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *************************...
null
null
null
null
26,669