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
30,044
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,044
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2015-06-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,907
381
null
train_val
c536b6be1a72aefd632d5530106a67c516cb9f4b
256,768
openssl
0
https://github.com/openssl/openssl
2016-09-22 23:12:38+01:00
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
null
null
null
null
118,213
67,225
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,225
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 <utility> #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" #include "chrome/browser/profiles/profile_attributes_...
null
null
null
null
64,088
55,518
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
55,518
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_UTILITY_IMPORTER_NSS_DECRYPTOR_SYSTEM_NSS_H_ #define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_SYSTEM_NSS_H_ #include <secmodt.h> #include...
null
null
null
null
52,381
13,533
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,528
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * mcfmmu.h -- definitions for the ColdFire v4e MMU * * (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org> * * 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. */ #ifndef MCFMMU_H #define MC...
null
null
null
null
86,875
8,549
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
173,544
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* Null profiling driver * * Copyright (C) 2003 Paul Mundt * * This file is subject to the terms and conditions of the GNU General Public * Licence. See the file "COPYING" in the main directory of this archive * for more details. */ #include <linux/kernel.h> #include <linux/oprofile.h> #include <linux/init.h> ...
null
null
null
null
81,891
62,322
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
62,322
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/task_manager/providers/render_process_host_task_provider.h" #include "base/process/process.h" #include "chrome/browser/task_mana...
null
null
null
null
59,185
6,047
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,042
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Intel Haswell Lynxpoint SST Audio * * Copyright (C) 2013, Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 as published by the Free Software Foundation. * * This program is di...
null
null
null
null
79,389
7,331
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,326
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * IOSF-SB MailBox Interface Driver * Copyright (c) 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. * * This program is distribute...
null
null
null
null
80,673
19,489
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
184,484
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/net/team/team_mode_activebackup.c - Active-backup mode for team * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ve...
null
null
null
null
92,831
18,925
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
183,920
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright (c) 2015 Linaro Ltd. * Copyright (c) 2015 Hisilicon Limited. * * 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 la...
null
null
null
null
92,267
7,820
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
172,815
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * * This file is part of the Linux kernel, and is made available under * ...
null
null
null
null
81,162
20,450
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
185,445
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/******************************************************************************* Intel(R) 82576 Virtual Function Linux driver Copyright(c) 2009 - 2012 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, ...
null
null
null
null
93,792
41,087
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,087
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
null
null
null
null
37,950
23,738
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
188,733
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200 and G400 * * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> * * Portions Copyright (c) 2001 Matrox Graphics Inc. * * Version: 1.65 2002/08/14 * * MTRR stuff: 1998 Tom Rini <trini@kernel.crashing.org> * * Contributors: "menion?" <m...
null
null
null
null
97,080
58,207
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
58,207
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/permissions/permission_request_impl.h" #include "build/build_config.h" #include "chrome/browser/permissions/permission_util.h" #...
null
null
null
null
55,070
24,185
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,180
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Freescale Semiconductor, Inc. * * Freescale DCU drm device driver * * 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 opt...
null
null
null
null
97,527
14,051
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
14,051
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/offline_pages/core/prefetch/import_archives_task.h" #include <string> #include <vector> #include "base/strings/utf_string_conversio...
null
null
null
null
10,914
54,121
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
54,121
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/installer/util/util_constants.h" namespace installer { namespace switches { // Run the installer for Chrome SxS. const char kChrom...
null
null
null
null
50,984
2,947
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,515
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU I/O channels memory buffer driver * * Copyright (c) 2015 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your o...
null
null
null
null
123,639
42,576
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,571
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _NET_IPCOMP_H #define _NET_IPCOMP_H #include <linux/types.h> #define IPCOMP_SCRATCH_SIZE 65400 struct crypto_comp; struct ipcomp_data { u16 threshold; struct crypto_comp * __percpu *tfms; }; struct ip_comp_hdr; struct sk_buff; struct xfrm_state; int ipcomp_input(struct xfrm_state *x, struct sk_buff ...
null
null
null
null
115,918
30,278
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
30,278
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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_FULLSCREEN_VIDEO_STATUS_H_ #define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_FULLSCREEN_VIDEO_STATUS_H_ namespa...
null
null
null
null
27,141
29,727
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,722
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/** * host.c - DesignWare USB3 DRD Controller Host Glue * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com * * Authors: Felipe Balbi <balbi@ti.com>, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 o...
null
null
null
null
103,069
35,084
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
35,084
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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
null
null
null
null
31,947
42,630
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
42,630
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 "base/i18n/string_compare.h" #include "base/logging.h" #include "base/strings/utf_string_conversions.h" #include "third_party/icu/source/com...
null
null
null
null
39,493
10,112
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,112
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 "chromecast/browser/renderer_prelauncher.h" #include <memory> #include "base/command_line.h" #include "base/macros.h" #include "base/run_loop.h...
null
null
null
null
6,975
30,314
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
195,309
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Samsung SoC USB 1.1/2.0 PHY driver - Exynos 4210 support * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * Author: Kamil Debski <k.debski@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publishe...
null
null
null
null
103,656
21,280
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,280
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ #define CONTENT_RENDERER_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_H_ #include <map> #include <memory> ...
null
null
null
null
18,143
38,049
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
203,044
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Mapping of DWARF debug register numbers into register names. * * Copyright (c) 2015 Cadence Design Systems Inc. * * 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 ...
null
null
null
null
111,391
25,717
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,712
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2016 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, m...
null
null
null
null
99,059
33,715
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
198,710
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Realtek RTL2830 DVB-T demodulator driver * * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> * * 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 Lice...
null
null
null
null
107,057
37,703
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
202,698
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef _PERF_PARSE_REGS_OPTIONS_H #define _PERF_PARSE_REGS_OPTIONS_H 1 struct option; int parse_regs(const struct option *opt, const char *str, int unset); #endif /* _PERF_PARSE_REGS_OPTIONS_H */
null
null
null
null
111,045
5,607
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
5,607
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 CHROMEOS_BINDER_IPC_THREAD_H_ #define CHROMEOS_BINDER_IPC_THREAD_H_ #include <memory> #include "base/macros.h" #include "base/message_loop/messa...
null
null
null
null
2,470
29,475
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,475
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* ** 2017 April 09 ** ** 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,338
67,099
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,099
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_BANNERS_APP_BANNER_METRICS_H_ #define CHROME_BROWSER_BANNERS_APP_BANNER_METRICS_H_ #include "chrome/browser/installable/installabl...
null
null
null
null
63,962
25,600
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,600
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_EXTENSION_ERROR_TEST_UTIL_H_ #define EXTENSIONS_BROWSER_EXTENSION_ERROR_TEST_UTIL_H_ #include <memory> #include <string> nam...
null
null
null
null
22,463
1,939
1,2
train_val
62b8b6e168a12263aab6b88dbef0b900cc37309f
1,939
Chrome
1
https://github.com/chromium/chromium
2016-08-24 20:38:53+00:00
bool PartialMagnificationController::IsPartialMagnified() const { return scale_ >= kMinPartialMagnifiedScaleThreshold; }
null
null
https://github.com/chromium/chromium/commit/62b8b6e168a12263aab6b88dbef0b900cc37309f
null
1,939
3,434
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
3,434
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 STORAGE_BROWSER_BLOB_BLOB_READER_H_ #define STORAGE_BROWSER_BLOB_BLOB_READER_H_ #include <stddef.h> #include <stdint.h> #include <map> #include ...
null
null
null
null
297
52,070
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
52,070
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 MEDIA_GPU_ANDROID_MOCK_DEVICE_INFO_H_ #define MEDIA_GPU_ANDROID_MOCK_DEVICE_INFO_H_ #include "media/gpu/android/device_info.h" #include "testing/...
null
null
null
null
48,933
33,278
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
33,278
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights * reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Gen...
null
null
null
null
30,141
4,620
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,620
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 IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_COORDINATOR_H_ #define IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_COORDINATOR_H_ #import <UIKit/UIKi...
null
null
null
null
1,483
67,704
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,704
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 IPC_PARAM_TRAITS_READ_MACROS_H_ #define IPC_PARAM_TRAITS_READ_MACROS_H_ // Null out all the macros that need nulling. #include "ipc/ipc_messa...
null
null
null
null
64,567
2,714
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
265,282
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
/* * QEMU VNC display driver: palette hash table * * From libvncserver/libvncserver/tight.c * Copyright (C) 2000, 2001 Const Kaplinsky. All Rights Reserved. * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. * * Copyright (C) 2010 Corentin Chary <corentin.chary@gmail.com> * * Permission i...
null
null
null
null
123,406
60,113
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
60,113
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ntp_snippets/download_suggestions_provider.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/observ...
null
null
null
null
56,976
12,346
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,346
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_NACL_RENDERER_MANIFEST_DOWNLOADER_H_ #define COMPONENTS_NACL_RENDERER_MANIFEST_DOWNLOADER_H_ #include <stddef.h> #include <stdint.h> ...
null
null
null
null
9,209
24,595
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
189,590
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __NVKM_PWR_OS_H__ #define __NVKM_PWR_OS_H__ /* Process names */ #define PROC_KERN 0x52544e49 #define PROC_IDLE 0x454c4449 #define PROC_HOST 0x54534f48 #define PROC_MEMX 0x584d454d #define PROC_PERF 0x46524550 #define PROC_I2C_ 0x5f433249 #define PROC_TEST 0x54534554 /* KERN: message identifiers */ #define KMS...
null
null
null
null
97,937
13,417
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,412
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/***************************************************************************/ /* * pit.c -- Freescale ColdFire PIT timer. Currently this type of * hardware timer only exists in the Freescale ColdFire * 5270/5271, 5282 and 5208 CPUs. No doubt newer ColdFire * family members will probably use it too. *...
null
null
null
null
86,759
9,183
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,183
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2010 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/http/http_auth_handler_factory.h" #include "base/memory/ptr_util.h" #include "base/stl_util.h" #include "base/strings/string_util.h" #i...
null
null
null
null
6,046
31,992
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
196,987
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * GPIO driver for AMD 8111 south bridges * * Copyright (c) 2012 Dmitry Eremin-Solenikov * * Based on the AMD RNG driver: * Copyright 2005 (c) MontaVista Software, Inc. * with the majority of the code coming from: * * Hardware driver for the Intel/AMD/VIA Random Number Generators (RNG) * (c) Copyright 2003 ...
null
null
null
null
105,334
17,018
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,018
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_VIZ_SERVICE_DISPLAY_EMBEDDER_GL_OUTPUT_SURFACE_H_ #define COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_GL_OUTPUT_SURFACE_H_ #include <memor...
null
null
null
null
13,881
25,339
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
25,339
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_CONTENT_HASH_TREE_H_ #define EXTENSIONS_BROWSER_CONTENT_HASH_TREE_H_ #include <string> #include <vector> namespace extensions...
null
null
null
null
22,202
22,062
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
22,062
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/common/service_manager/child_connection.h" #include <stdint.h> #include <utility> #include "base/macros.h" #include "content/common/ch...
null
null
null
null
18,925
18,182
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
18,182
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_POLICY_CORE_COMMON_REMOTE_COMMANDS_REMOTE_COMMAND_JOB_H_ #define COMPONENTS_POLICY_CORE_COMMON_REMOTE_COMMANDS_REMOTE_COMMAND_JOB_H_ #...
null
null
null
null
15,045
31,259
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
31,259
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_MESSAGING_BLINK_CLONEABLE_MESSAGE_STRUCT_TRAITS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_MESSAGING_BLINK_CLONEAB...
null
null
null
null
28,122
43,312
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,307
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* atmdev.h - ATM device driver declarations and various related items */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #ifndef _UAPILINUX_ATMDEV_H #define _UAPILINUX_ATMDEV_H #include <linux/atmapi.h> #include <linux/atm.h> #include <linux/atmioc.h> #define ESI_LEN 6 #define ATM_OC3_PCR (15552...
null
null
null
null
116,654
5,124
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
170,119
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/**************************************************************************** Copyright Echo Digital Audio Corporation (c) 1998 - 2004 All rights reserved www.echoaudio.com This file is part of Echo Digital Audio's generic driver library. Echo Digital Audio's generic driver library is free software; ...
null
null
null
null
78,466
1,907
3,29
train_val
d30a8bd191f17b61938fc87890bffc80049b0774
1,907
Chrome
1
https://github.com/chromium/chromium
2016-06-30 16:04:45+00:00
void WebstoreStandaloneInstaller::OnInstallPromptDone( ExtensionInstallPrompt::Result result) { if (result == ExtensionInstallPrompt::Result::USER_CANCELED) { CompleteInstall(webstore_install::USER_CANCELLED, kUserCancelledError); return; } if (result == ExtensionInstallPrompt::Result::ABORTED || !CheckRequestorAl...
null
null
https://github.com/chromium/chromium/commit/d30a8bd191f17b61938fc87890bffc80049b0774
null
1,907
40,360
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
40,360
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
/* Copyright 2014 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Library for converting WOFF2 format font files to their TTF versions. */ #include <woff2/decode.h> #include <stdlib.h> #include <algorithm> #includ...
null
null
null
null
37,223
37,163
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
37,163
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 THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_METRICS_HELPER_H_ #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_METRICS_HELPER_H_ ...
null
null
null
null
34,026
9,355
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
9,355
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/http/http_request_headers.h" #include <memory> #include "base/values.h" #include "net/log/net_log_capture_mode.h" #include "testing/gt...
null
null
null
null
6,218
3,949
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,944
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Persistent Storage - platform driver interface parts. * * Copyright (C) 2007-2008 Google, Inc. * Copyright (C) 2010 Intel Corporation <tony.luck@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publi...
null
null
null
null
77,291
43,642
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
208,637
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __LINUX_TC_EM_CMP_H #define __LINUX_TC_EM_CMP_H #include <linux/types.h> #include <linux/pkt_cls.h> struct tcf_em_cmp { __u32 val; __u32 mask; __u16 off; __u8 align:4; __u8 flags:4; __u8 layer:4; __u8 opnd:4; }; enum { TCF_EM_ALIGN_U8 = 1, TCF_EM_ALIGN_U16 = 2, TCF_EM_ALIGN_U32 = 4 }; #def...
null
null
null
null
116,984
703
null
train_val
1b0d3845b454eaaac0b2064c78926ca4d739a080
263,271
qemu
0
https://github.com/bonzini/qemu
2016-10-18 11:40:27+01:00
#include <stdio.h> #include <stdlib.h> #include <unistd.h> static inline int mystrlen(char *s) { int i = 0; while (s[i]) i++; return i; } void pass(void) { char s[] = "passed.\n"; write (1, s, sizeof (s) - 1); exit (0); } void _fail(char *reason) { char s[] = "\nfailed: "; int len = mystrlen(reason); writ...
null
null
null
null
121,395
56,504
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
56,504
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_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_STORAGE_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_STORAGE_H_ #in...
null
null
null
null
53,367
51,467
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
51,467
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_X_EVENTS_X_UTILS_H_ #define UI_EVENTS_X_EVENTS_X_UTILS_H_ #include <stdint.h> #include <memory> #include "base/time/tick_clock.h"...
null
null
null
null
48,330
17,386
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
17,386
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/content/browser/key_press_handler_manager.h" namespace autofill { KeyPressHandlerManager::KeyPressHandlerManager(Delegate*...
null
null
null
null
14,249
41,933
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
206,928
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Defining registers address and its bit definitions of MAX77620 and MAX20024 * * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as publishe...
null
null
null
null
115,275
21,623
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
21,623
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 "content/renderer/pepper/ppb_broker_impl.h" #include "base/logging.h" #include "base/metrics/histogram_macros.h" #include "content/common/fr...
null
null
null
null
18,486
39,072
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
39,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. #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_BACKGROUND_FETCH_BACKGROUND_FETCH_MANAGER_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_BACKGROUND_FETCH_BACKGR...
null
null
null
null
35,935
67,191
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
67,191
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/profiles/incognito_mode_policy_handler.h" #include "base/logging.h" #include "base/strings/string_number_conversions.h" #include...
null
null
null
null
64,054
42,909
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
207,904
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __SOUND_UTIL_MEM_H #define __SOUND_UTIL_MEM_H #include <linux/mutex.h> /* * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> * * Generic memory management routines for soundcard memory allocation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
null
null
null
null
116,251
6,843
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
171,838
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include <asm-generic/irq_regs.h>
null
null
null
null
80,185
12,257
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,257
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 COMPONENTS_CERTIFICATE_TRANSPARENCY_MOCK_LOG_DNS_TRAFFIC_H_ #define COMPONENTS_CERTIFICATE_TRANSPARENCY_MOCK_LOG_DNS_TRAFFIC_H_ #include <stdint....
null
null
null
null
9,120
10,030
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
10,030
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 CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_ #define CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_ #include <memory> #include <vector> #i...
null
null
null
null
6,893
13,390
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
178,385
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * linux/arch/m68k/kernel/setup.c * * Copyright (C) 1995 Hamish Macdonald */ /* * This file handles the architecture-dependent parts of system setup */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/sched.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/fs.h> #inclu...
null
null
null
null
86,732
22,481
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,476
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> * Horst Hummel <Horst.Hummel@de.ibm.com> * Carsten Otte <Cotte@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Bugreports.to..: <Linux390@de.ibm.com> * Copyright IBM Corp. 1999, 2001 * * i/o controls for the dasd dri...
null
null
null
null
95,823
28,724
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
193,719
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * drivers/irqchip/irq-crossbar.c * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com * Author: Sricharan R <r.sricharan@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by ...
null
null
null
null
102,066
27,060
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
192,055
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "bcache.h" #include "btree.h" #include <linux/blktrace_api.h> #include <linux/module.h> #define CREATE_TRACE_POINTS #include <trace/events/bcache.h> EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start); EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end); EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential); ...
null
null
null
null
100,402
4,738
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
4,738
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 IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_COORDINATOR_H_ #define IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_COORDINATOR_H_ #import <UIKit/UIKit.h> #impor...
null
null
null
null
1,601
63,014
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
63,014
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/tabs/window_finder.h" WindowFinder::WindowFinder() {} WindowFinder::~WindowFinder() {}
null
null
null
null
59,877
40,894
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
205,889
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * DNS Resolver upcall management for CIFS DFS and AFS * Handles host name to IP address resolution and DNS query for AFSDB RR. * * Copyright (c) International Business Machines Corp., 2008 * Author(s): Steve French (sfrench@us.ibm.com) * Wang Lei (wang840925@gmail.com) * * This librar...
null
null
null
null
114,236
34,137
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
34,137
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/ng/inline/ng_offset_mapping.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blin...
null
null
null
null
31,000
705
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,833
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
null
null
null
null
73,126
3,524
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
168,519
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#include "ubifs.h" static int ubifs_crypt_get_context(struct inode *inode, void *ctx, size_t len) { return ubifs_xattr_get(inode, UBIFS_XATTR_NAME_ENCRYPTION_CONTEXT, ctx, len); } static int ubifs_crypt_set_context(struct inode *inode, const void *ctx, size_t len, void *fs_data) { return ubifs_xatt...
null
null
null
null
76,866
25,818
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
190,813
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2015 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, m...
null
null
null
null
99,160
27,946
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
27,946
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
null
null
null
null
24,809
41,223
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
41,223
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 TOOLS_BATTOR_AGENT_SERIAL_UTILS_H_ #define TOOLS_BATTOR_AGENT_SERIAL_UTILS_H_ #include <string> #include <vector> namespace battor { // Prints ...
null
null
null
null
38,086
12,780
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
177,775
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * mediabay.h: definitions for using the media bay * on PowerBook 3400 and similar computers. * * Copyright (C) 1997 Paul Mackerras. */ #ifndef _PPC_MEDIABAY_H #define _PPC_MEDIABAY_H #ifdef __KERNEL__ #define MB_FD 0 /* media bay contains floppy drive (automatic eject ?) */ #define MB_FD1 1 /* media bay con...
null
null
null
null
86,122
29,203
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
29,203
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2009-2017 The OTS 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 OTS_HEAD_H_ #define OTS_HEAD_H_ #include "ots.h" namespace ots { class OpenTypeHEAD : public Table { public: explicit OpenTypeHEAD(Font ...
null
null
null
null
26,066
64,738
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
64,738
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_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_COCOA_H_ #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_COCOA_H_ #import <...
null
null
null
null
61,601
22,697
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
187,692
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* drivers/atm/tonga.h - Efficient Networks Tonga (PCI bridge) declarations */ /* Written 1995 by Werner Almesberger, EPFL LRC */ #ifndef DRIVER_ATM_TONGA_H #define DRIVER_ATM_TONGA_H #define PCI_TONGA_CTRL 0x60 /* control register */ #define END_SWAP_DMA 0x80 /* endian swap on DMA */ #define END_SWAP_BYTE 0x40 ...
null
null
null
null
96,039
44,470
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
209,465
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
#ifndef __ACPI_NUMA_H #define __ACPI_NUMA_H #ifdef CONFIG_ACPI_NUMA #include <linux/kernel.h> /* Proximity bitmap length */ #if MAX_NUMNODES > 256 #define MAX_PXM_DOMAINS MAX_NUMNODES #else #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */ #endif extern int pxm_to_node(int); extern int node_to_pxm(in...
null
null
null
null
117,812
235
null
train_val
a6802e21d824e786d1e2a8440cf749a6e1a8d95f
160,363
ImageMagick
0
https://github.com/ImageMagick/ImageMagick
2017-07-18 18:28:29-04:00
/* Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. You may not use this file except in compliance with the License. obtain a copy of the License at https://www.imagemagick.org/script/license.php Unless required...
null
null
null
null
72,656
525
null
train_val
04b570817b2b38e35675b17328239746212f4c3f
153,582
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
69,637
66,863
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
66,863
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/...
null
null
null
null
63,726
32,092
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
32,092
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/properties/longhands/text_size_adjust.h" #include "third_party/blink/renderer/core/css/parser/css_property_...
null
null
null
null
28,955
2,076
14
train_val
d27468a832d5316884bd02f459cbf493697fd7e1
2,076
Chrome
1
https://github.com/chromium/chromium
2017-04-04 22:01:18+00:00
AXObjectInclusion AXLayoutObject::defaultObjectInclusion( IgnoredReasons* ignoredReasons) const { // The following cases can apply to any element that's a subclass of // AXLayoutObject. if (!m_layoutObject) { if (ignoredReasons) ignoredReasons->push_back(IgnoredReason(AXNotRendered)); return IgnoreObject; } if (m_lay...
CVE-2015-1274
CWE-254
https://github.com/chromium/chromium/commit/d27468a832d5316884bd02f459cbf493697fd7e1
Medium
2,076
12,792
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
12,792
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/version_info/android/channel_getter.h" #include "jni/VersionConstantsBridge_jni.h" namespace version_info { Channel GetChannel() {...
null
null
null
null
9,655
11,104
null
train_val
796a0e014bc3985709c0a35538d606ef1da31e1b
11,104
Chrome
0
https://github.com/chromium/chromium
2018-04-07 23:43:03+00:00
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ #include <stddef.h> #include <stdint.h> ...
null
null
null
null
7,967
29,106
null
train_val
e4311ee51d1e2676001b2d8fcefd92bdd79aad85
194,101
linux
0
https://github.com/torvalds/linux
2017-05-12 08:32:58+10:00
/* * Copyright 2016 Broadcom * * 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 (the "GPL"). * * This program is distributed in the hope that it will be useful, but * WITHOUT A...
null
null
null
null
102,448