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
32,668
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,668
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> * Copyright (C) 2007 Eric Seidel <eric@webkit.org> * Copyright (C) 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify i...
null
null
null
null
29,531
70,260
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,260
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 "device/usb/usb_ids.h" #include <stdlib.h> namespace device { namespace { static int CompareVendors(const void* a, const void* b) { con...
null
null
null
null
67,123
27,329
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,329
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retai...
null
null
null
null
24,192
2,843
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
155,900
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
71,955
36,394
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,394
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/public/platform/web_mouse_event.h" #include "third_party/blink/public/platform/web_gesture_event.h" namespace blink { WebMo...
null
null
null
null
33,257
2,261
44,46
train_val
01c9a7e71ca435651723e8cbcab0b3ad4c5351e2
2,261
Chrome
1
https://github.com/chromium/chromium
2017-11-09 01:56:02+00:00
bool PDFiumEngine::HandleEvent(const pp::InputEvent& event) { DCHECK(!defer_page_unload_); defer_page_unload_ = true; bool rv = false; switch (event.GetType()) { case PP_INPUTEVENT_TYPE_MOUSEDOWN: rv = OnMouseDown(pp::MouseInputEvent(event)); break; case PP_INPUTEVENT_TYPE_MOUSEUP: rv = OnMouseUp(pp::MouseInputEvent(ev...
CVE-2018-6031
CWE-416
https://github.com/chromium/chromium/commit/01c9a7e71ca435651723e8cbcab0b3ad4c5351e2
Medium
2,261
31,028
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,023
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * SH7720 Pinmux * * Copyright (C) 2008 Magnus Damm * * 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. */ #include <linux/kernel.h> #include <linux/gpio.h> #include <cpu/sh7720.h> #incl...
null
null
null
null
104,370
11,486
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,481
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Tilera Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will ...
null
null
null
null
84,828
20,978
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,973
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef B43_RADIO_2057_H_ #define B43_RADIO_2057_H_ #include <linux/types.h> #include "tables_nphy.h" #define R2057_DACBUF_VINCM_CORE0 0x000 #define R2057_IDCODE 0x001 #define R2057_RCCAL_MASTER 0x002 #define R2057_RCCAL_CAP_SIZE 0x003 #define R2057_RCAL_CONFIG 0x004 #define R2057_GPAIO_CONFIG 0x005 #def...
null
null
null
null
94,320
33,007
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,007
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
29,870
56,823
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,823
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ #include <memory> #include ...
null
null
null
null
53,686
19,122
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
19,122
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_FEATURE_ENGAGEMENT_TEST_TEST_TRACKER_H_ #define COMPONENTS_FEATURE_ENGAGEMENT_TEST_TEST_TRACKER_H_ #include <memory> namespace featur...
null
null
null
null
15,985
54,441
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,441
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 "base/command_line.h" #include "base/test/launcher/test_launcher.h" #include "build/build_config.h" #include "chrome/test/base/chrome_test_launch...
null
null
null
null
51,304
46,674
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,674
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/public/cpp/config.h" #include "ash/shell.h" #include "ash/shell_test_api.h" #include "ash/system/palette/mock_palette_too...
null
null
null
null
43,537
29,342
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,337
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Intel Management Engine Interface (Intel MEI) Linux driver * Copyright (c) 2012-2013, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. ...
null
null
null
null
102,684
40,280
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,280
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the <ansidecl.h> header file. */ /* #undef HAVE_ANSIDECL_H */ /* Define to 1 if you have the `clock_gettime' function. */ /* Define to 1 if you have the <dlfcn.h> hea...
null
null
null
null
37,143
15,240
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
180,235
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) 2008 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/platform_device...
null
null
null
null
88,582
23,931
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,926
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * lms501kf03 TFT LCD panel driver. * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * Author: Jingoo Han <jg1.han@samsung.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; e...
null
null
null
null
97,273
69,933
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,933
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 "device/bluetooth/bluetooth_adapter_win.h" #include <memory> #include <string> #include <utility> #include "base/location.h" #include "base...
null
null
null
null
66,796
26,418
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
26,418
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdint.h> #include "base/bind.h" #include "base/threading/thread_task_runner_handle.h" #include "jingle/glue/task_pump.h" namespace jingle...
null
null
null
null
23,281
45,318
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
45,318
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 ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ #include <vector> #include "ash/ash_export.h" #i...
null
null
null
null
42,181
31,588
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,583
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* $Id: b1pci.c,v 1.1.2.2 2004/01/16 21:09:27 keil Exp $ * * Module for AVM B1 PCI-card. * * Copyright 1999 by Carsten Paeth <calle@calle.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * */ #include <linux/module....
null
null
null
null
104,930
11,423
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
176,418
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ASM_WORD_AT_A_TIME_H #define _ASM_WORD_AT_A_TIME_H #include <asm/byteorder.h> struct word_at_a_time { /* unused */ }; #define WORD_AT_A_TIME_CONSTANTS {} /* Generate 0x01 byte values for zero bytes using a SIMD instruction. */ static inline unsigned long has_zero(unsigned long val, unsigned long *data, ...
null
null
null
null
84,765
30,268
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,263
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * bdc_udc.c - BRCM BDC USB3.0 device controller gagdet ops * * Copyright (C) 2014 Broadcom Corporation * * Author: Ashwini Pahuja * * Based on drivers under drivers/usb/gadget/udc/ * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public Licens...
null
null
null
null
103,610
35,530
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,530
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/editing/state_machines/forward_code_point_state_machine.h" #include "testing/gtest/include/gtest/gtest.h" name...
null
null
null
null
32,393
39,113
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,108
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Kernel module for testing copy_to/from_user infrastructure. * * Copyright 2013 Google Inc. All Rights Reserved * * Authors: * Kees Cook <keescook@chromium.org> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundati...
null
null
null
null
112,455
4,298
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,298
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 IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_REMOVAL_CONTROLLER_H_ #define IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_REMOVAL_...
null
null
null
null
1,161
53,028
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
53,028
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 MEDIA_BASE_CHANNEL_MIXER_H_ #define MEDIA_BASE_CHANNEL_MIXER_H_ #include <vector> #include "base/macros.h" #include "media/base/channel_layo...
null
null
null
null
49,891
10,661
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,656
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * arch/arm/plat-spear/restart.c * * SPEAr platform specific restart functions * * Copyright (C) 2009 ST Microelectronics * Viresh Kumar <vireshk@kernel.org> * * 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 an...
null
null
null
null
84,003
60,052
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,052
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_PREFETCH_BACKGROUND_TASK_HANDLER_IMPL_H_ #define CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_PREFETCH_BACKGROUND_T...
null
null
null
null
56,915
49,412
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
49,412
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 "ui/gfx/codec/vector_wstream.h" namespace gfx { bool VectorWStream::write(const void* buffer, size_t size) { const unsigned char* ptr = r...
null
null
null
null
46,275
43,026
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,021
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _UAPI_ASM_GENERIC_SIGINFO_H #define _UAPI_ASM_GENERIC_SIGINFO_H #include <linux/compiler.h> #include <linux/types.h> typedef union sigval { int sival_int; void __user *sival_ptr; } sigval_t; /* * This is the size (including padding) of the part of the * struct siginfo that is before the union. */ #ifnde...
null
null
null
null
116,368
23,209
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
23,209
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 CONTENT_BROWSER_BACKGROUND_FETCH_MOCK_BACKGROUND_FETCH_DELEGATE_H_ #define CONTENT_BROWSER_BACKGROUND_FETCH_MOCK_BACKGROUND_FETCH_DELEGATE_H_ #in...
null
null
null
null
20,072
32,305
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
197,300
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Promise PATA TX2/TX4/TX2000/133 IDE driver for pdc20268 to pdc20277. * * 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
105,647
1,314
null
train_val
83ed75feba32e46f736fcce0d96a0445f29b96c2
163,158
krb5
0
https://github.com/krb5/krb5
2016-01-27 15:43:28-05:00
/* lib/rpc/svc_run.c */ /* * 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 the above copyr...
null
null
null
null
74,466
65,500
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
65,500
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_TASK_MANAGER_TASK_MANAGER_TABLE_MODEL_H_ #define CHROME_BROWSER_UI_TASK_MANAGER_TASK_MANAGER_TABLE_MODEL_H_ #include <stdint.h>...
null
null
null
null
62,363
70,799
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,799
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 <windows.h> #include "base/files/file_path.h" #include "base/scoped_native_library.h" namespace { //-------------------------------------------...
null
null
null
null
67,662
24,596
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,591
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
static uint32_t gf100_pmu_data[] = { /* 0x0000: proc_kern */ 0x52544e49, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,...
null
null
null
null
97,938
33,439
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,434
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * CAAM Protocol Data Block (PDB) definition header file * * Copyright 2008-2016 Freescale Semiconductor, Inc. * */ #ifndef CAAM_PDB_H #define CAAM_PDB_H #include "compat.h" /* * PDB- IPSec ESP Header Modification Options */ #define PDBHMO_ESP_DECAP_SHIFT 28 #define PDBHMO_ESP_ENCAP_SHIFT 28 /* * Encap and ...
null
null
null
null
106,781
2,502
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,070
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * Initial TCG Implementation for aarch64 * * Copyright (c) 2013 Huawei Technologies Duesseldorf GmbH * Written by Claudio Fontana * * This work is licensed under the terms of the GNU GPL, version 2 or * (at your option) any later version. * * See the COPYING file in the top-level directory for details. */ ...
null
null
null
null
123,194
71,492
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
71,492
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_RESOURCE_COORDINATOR_PUBLIC_CPP_RESOURCE_COORDINATOR_INTERFACE_H_ #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_RESOURCE_COORDINATOR_I...
null
null
null
null
68,355
38,245
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,240
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Measure nanosleep timer latency * by: john stultz (john.stultz@linaro.org) * (C) Copyright Linaro 2013 * Licensed under the GPLv2 * * To build: * $ gcc nsleep-lat.c -o nsleep-lat -lrt * * This program is free software: you can redistribute it and/or modify * it under the term...
null
null
null
null
111,587
46,538
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
46,538
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 "ash/system/overview/overview_button_tray.h" #include "ash/metrics/user_metrics_recorder.h" #include "ash/resources/vector_icons/vector_icons.h"...
null
null
null
null
43,401
27,852
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,847
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
null
null
null
null
101,194
30,138
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,138
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and...
null
null
null
null
27,001
28,864
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,859
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2010 Intel Corporation * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but W...
null
null
null
null
102,206
39,570
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,570
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2011 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
36,433
44,095
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
44,095
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/cpp/view.h" #include "ppapi/c/ppb_view.h" #include "ppapi/cpp/module_impl.h" namespace pp { namespace { template <> const char* in...
null
null
null
null
40,958
55,068
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,068
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/common/chrome_content_client.h" #if defined(GOOGLE_CHROME_BUILD) const char ChromeContentClient::kNotPresent[] = "internal-not-yet-prese...
null
null
null
null
51,931
17,087
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,087
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_VIZ_TEST_TEST_LATEST_LOCAL_SURFACE_ID_LOOKUP_DELEGATE_H_ #define COMPONENTS_VIZ_TEST_TEST_LATEST_LOCAL_SURFACE_ID_LOOKUP_DELEGATE_H_ #...
null
null
null
null
13,950
12,669
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,664
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. All rights reserved. * * Author: Yu Liu, <yu.liu@freescale.com> * * Description: * This file is derived from arch/powerpc/kvm/44x_emulate.c, * by Hollis Blanchard <hollisb@us.ibm.com>. * * This program is free software; you can redistribute it and/or m...
null
null
null
null
86,011
70,585
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
70,585
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 SKIA_EXT_FONTMGR_DEFAULT_ANDROID_H_ #define SKIA_EXT_FONTMGR_DEFAULT_ANDROID_H_ #include "third_party/skia/include/core/SkTypes.h" class SkFontM...
null
null
null
null
67,448
43,250
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,250
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 BASE_MEMORY_READ_ONLY_SHARED_MEMORY_REGION_H_ #define BASE_MEMORY_READ_ONLY_SHARED_MEMORY_REGION_H_ #include <utility> #include "base/macros.h" ...
null
null
null
null
40,113
58,570
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,570
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/extensions/extension_apitest.h" IN_PROC_BROWSER_TEST_F(ExtensionApiTest, BackgroundScripts) { ASSERT_TRUE(RunExtensionTest...
null
null
null
null
55,433
3,540
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,535
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * file.c * * Copyright (c) 1999 Al Smith * * Portions derived from work (c) 1995,1996 Christian Vogelgsang. */ #include <linux/buffer_head.h> #include "efs.h" int efs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) { int error = -EROFS; long phys; if (create...
null
null
null
null
76,882
3,294
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,862
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU Crypto XTS cipher mode * * Copyright (c) 2015-2016 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option)...
null
null
null
null
123,986
30,513
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,513
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
null
null
null
null
27,376
371
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
262,939
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * ARM AArch64 specific CPU ABI and functions for linux-user * * Copyright (c) 2013 Alexander Graf <agraf@suse.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ver...
null
null
null
null
121,063
1,942
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
264,510
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU 8253/8254 - common bits of emulated and KVM kernel model * * Copyright (c) 2003-2004 Fabrice Bellard * Copyright (c) 2012 Jan Kiszka, Siemens AG * * 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
122,634
30,730
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,730
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. // This file has been auto-generated from the Jinja2 template // third_party/blink/renderer/bindings/templates/union_container.cpp.tmpl // by the script c...
null
null
null
null
27,593
2,649
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,217
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU Crypto block device encryption * * Copyright (c) 2015-2016 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your...
null
null
null
null
123,341
14,404
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,404
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 "components/ntp_snippets/remote/remote_suggestion.h" #include <limits> #include "base/memory/ptr_util.h" #include "base/strings/string_number_c...
null
null
null
null
11,267
24,987
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,987
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/renderer/bindings/api_binding_hooks_delegate.h" namespace extensions { APIBindingHooksDelegate::~APIBindingHooksDelegate() {} bool...
null
null
null
null
21,850
4,166
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,161
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be ...
null
null
null
null
77,508
42,323
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,323
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 BASE_SYS_INFO_INTERNAL_H_ #define BASE_SYS_INFO_INTERNAL_H_ #include "base/macros.h" namespace base { namespace internal { template<typename T...
null
null
null
null
39,186
54,910
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,910
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/extensions/extension_hooks_delegate.h" #include "content/public/renderer/v8_value_converter.h" #include "extensions/common/api/...
null
null
null
null
51,773
36,091
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
201,086
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Real Time Clock interface for XScale PXA27x and PXA3xx * * Copyright (C) 2008 Robert Jarzmik * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * ...
null
null
null
null
109,433
46
7
train_val
60253ed1e6ec6d8e5ef2efe7bf755f475dce9956
262,614
qemu
1
https://github.com/bonzini/qemu
2016-03-03 17:42:26+05:30
void rng_backend_request_entropy(RngBackend *s, size_t size, EntropyReceiveFunc *receive_entropy, void *opaque) { RngBackendClass *k = RNG_BACKEND_GET_CLASS(s); if (k->request_entropy) { k->request_entropy(s, size, receive_entropy, opaque); } }
CVE-2016-2858
CWE-119
https://git.qemu.org/?p=qemu.git;a=commit;h=60253ed1e6ec6d8e5ef2efe7bf755f475dce9956
Medium
4,287
69,243
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,243
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 LIBRARIES_NACL_IO_OSSTAT_H_ #define LIBRARIES_NACL_IO_OSSTAT_H_ #include <sys/stat.h> #if defined(WIN32) #define S_IFCHR _S_IFCHR #define...
null
null
null
null
66,106
3,704
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,704
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 IOS_WEB_WEB_STATE_JS_CRW_JS_POST_REQUEST_LOADER_H_ #define IOS_WEB_WEB_STATE_JS_CRW_JS_POST_REQUEST_LOADER_H_ #import <WebKit/WebKit.h> @class C...
null
null
null
null
567
59,392
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
59,392
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h" #include <string> #include "base/bind.h" #include "...
null
null
null
null
56,255
60,072
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,072
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/offline_pages/prefetch/prefetch_background_task_handler_impl.h" #include "base/time/time.h" #include "chrome/browser/offline_pag...
null
null
null
null
56,935
29,791
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,791
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2014 May 31 ** ** 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,654
12,126
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,121
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <linux/types.h> #include <linux/errno.h> #include <linux/uaccess.h> #include <asm/sfp-machine.h> #include <math-emu/soft-fp.h> #include <math-emu/double.h> #include <math-emu/single.h> int frsp(void *frD, void *frB) { FP_DECL_D(B); FP_DECL_EX; #ifdef DEBUG printk("%s: D %p, B %p\n", __func__, frD, frB); ...
null
null
null
null
85,468
36,262
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,262
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 "third_party/blink/renderer/core/page/scrolling/scroll_state.h" #include <memory> #include "testing/gtest/include/gtest/gtest.h" #include "third...
null
null
null
null
33,125
15,889
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
15,889
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_SYNC_TEST_FAKE_SERVER_FAKE_SERVER_HTTP_POST_PROVIDER_H_ #define COMPONENTS_SYNC_TEST_FAKE_SERVER_FAKE_SERVER_HTTP_POST_PROVIDER_H_ #in...
null
null
null
null
12,752
34,133
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
199,128
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates. * All rights reserved. * * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * THE SOFTW...
null
null
null
null
107,475
39,952
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
204,947
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* System trusted keyring for trusted public keys * * Copyright (C) 2012 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 S...
null
null
null
null
113,294
67,676
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,676
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. // Multiply-included file, hence no include guard. #include "ipc/ipc_test_messages.h"
null
null
null
null
64,539
43,798
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,798
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 "base/trace_event/heap_profiler_allocation_register.h" #include <algorithm> #include <limits> namespace base { namespace trace_event { size_t ...
null
null
null
null
40,661
36,559
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
36,559
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 "third_party/blink/renderer/platform/geometry/geometry_as_json.h" #include "third_party/blink/renderer/platform/transforms/transformation_matrix...
null
null
null
null
33,422
44,551
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,546
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? * Released under the terms of the GNU GPL v2.0. * * Derived from menuconfig. * */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <string.h> #include <stdlib.h> #include "lkc.h" #include "nconf.h" #include <ctype.h> static const char nconf_glob...
null
null
null
null
117,893
50,921
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
50,921
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_WM_CORE_WINDOW_UTIL_H_ #define UI_WM_CORE_WINDOW_UTIL_H_ #include <memory> #include <utility> #include <vector> #include "base/callback_f...
null
null
null
null
47,784
3,174
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,174
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ #include <stdint.h> #include "base/m...
null
null
null
null
37
43,152
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
43,152
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2009 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_conversion_utils.h" #include "base/third_party/icu/icu_utf.h" #include "build/build_config.h" namespace base { //...
null
null
null
null
40,015
13,231
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
13,231
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_PASSWORD_MANAGER_CORE_BROWSER_SUPPRESSED_FORM_FETCHER_H_ #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_SUPPRESSED_FORM_FETCHER_H_ #...
null
null
null
null
10,094
402
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,530
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
null
null
null
null
72,823
29,830
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,830
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
#include "lsmtest.h" int do_work(int nArg, char **azArg){ struct Option { const char *zName; } aOpt [] = { { "-nmerge" }, { "-nkb" }, { 0 } }; lsm_db *pDb; int rc; int i; const char *zDb; int nMerge = 1; int nKB = (1<<30); if( nArg==0 ) goto usage; zDb = azArg[nArg-1]; for(i...
null
null
null
null
26,693
7,309
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,304
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Intel Merrifield FLIS platform device initialization file * * Copyright (C) 2016, Intel Corporation * * Author: Andy Shevchenko <andriy.shevchenko@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 * as published...
null
null
null
null
80,651
41,002
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,997
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef _MV64XXX_I2C_H_ #define _MV64XXX_I2C_H_ #incl...
null
null
null
null
114,344
24,003
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
24,003
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 CONTENT_BROWSER_MEDIA_URL_PROVISION_FETCHER_H_ #define CONTENT_BROWSER_MEDIA_URL_PROVISION_FETCHER_H_ #include "base/macros.h" #include "media/ba...
null
null
null
null
20,866
10,397
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
175,392
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _ARM_FCNTL_H #define _ARM_FCNTL_H #define O_DIRECTORY 040000 /* must be a directory */ #define O_NOFOLLOW 0100000 /* don't follow links */ #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ #define O_LARGEFILE 0400000 #include <asm-generic/fcntl.h> #endif
null
null
null
null
83,739
66,231
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,231
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_DESKTOP_H_ #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTER_DESKTOP_H_ #include "base/gtest_pr...
null
null
null
null
63,094
3,233
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,233
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ #include <stdint.h> #include...
null
null
null
null
96
37,133
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,128
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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warran...
null
null
null
null
110,475
21,036
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,036
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_ #define CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_CACHED_AREA_H_ #include <stddef.h> #...
null
null
null
null
17,899
4,936
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
169,931
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * The driver for the Yamaha's DS1/DS1E cards * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
null
null
null
null
78,278
55,561
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,561
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/services/printing/pdf_to_pwg_raster_converter.h" #include <limits> #include <string> #include <utility> #include "components/pwg_encode...
null
null
null
null
52,424
69,934
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
69,934
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 "device/bluetooth/bluetooth_local_gatt_service.h" #include "build/build_config.h" namespace device { #if !defined(OS_LINUX) || defined(LINUX_W...
null
null
null
null
66,797
63,716
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,716
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_ #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_ #include "base/compiler_specific.h" #in...
null
null
null
null
60,579