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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,385 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,380 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/include/asm/mach/time.h
*
* Copyright (C) 2004 MontaVista Software, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARM_MACH_TIME_H
#defin... | null | null | null | null | 83,727 |
42,546 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,541 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Definitions for a generic INET TIMEWAIT sock
*
* From code originally in net/tcp.h
*
* This program is f... | null | null | null | null | 115,888 |
52,557 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,557 | 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 "media/capture/video_capture_types.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
namespace media {
names... | null | null | null | null | 49,420 |
14,214 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,214 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/downloads/download_ui_adapter.h"
#include <stdint.h>
#include <map>
#include <memory>
#include <string>
#include... | null | null | null | null | 11,077 |
8,844 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,844 | 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 NET_SSL_SSL_PLATFORM_KEY_UTIL_H_
#define NET_SSL_SSL_PLATFORM_KEY_UTIL_H_
#include <stddef.h>
#include "base/memory/ref_counted.h"
#include "bas... | null | null | null | null | 5,707 |
56,569 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,569 | 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_UI_LOGIN_DISPLAY_HOST_VIEWS_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_VIEWS_H_
#include <memor... | null | null | null | null | 53,432 |
10,465 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,460 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/err.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/slab.h>
#include <linux/sys_soc.h>
#include "hardware.h"
#include "common.h"
unsigned int __mxc_cpu_type;
static unsigned int imx_soc_revision;
void mxc_set_cpu_type(unsigned int... | null | null | null | null | 83,807 |
66,630 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,630 | 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_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
#define CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
#include <std... | null | null | null | null | 63,493 |
24,337 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,337 | 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 CONTENT_BROWSER_WEB_PACKAGE_MOCK_SIGNED_EXCHANGE_HANDLER_H_
#define CONTENT_BROWSER_WEB_PACKAGE_MOCK_SIGNED_EXCHANGE_HANDLER_H_
#include <string>... | null | null | null | null | 21,200 |
14,641 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,636 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* OpenRISC Linux
*
* Linux architectural port borrowing liberally from similar works of
* others. All original copyrights apply as per the original source
* declaration.
*
* OpenRISC implementation:
* Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
* Copyright (C) 2010-2011 Jonas Bonn <jonas@southpo... | null | null | null | null | 87,983 |
16,760 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,755 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2003 Richard Curnow, SuperH UK Limited
*
* 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.
*/
void
panic_handler(unsigned long panicPC, unsigned long panicSSR,
unsign... | null | null | null | null | 90,102 |
16,987 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,987 | 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_SOFTWARE_OUTPUT_DEVICE_OZONE_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_SOFTWARE_OUTPUT_DEVICE_OZO... | null | null | null | null | 13,850 |
11,096 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,091 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* System calls under the Sparc.
*
* Don't be scared by the ugly clobbers, it is the only way I can
* think of right now to force the arguments into fixed registers
* before the trap into the system call with gcc 'asm' statements.
*
* Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
*
* SunOS c... | null | null | null | null | 84,438 |
9,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-pxa/include/mach/mfp.h
*
* Multi-Function Pin Definitions
*
* Copyright (C) 2007 Marvell International Ltd.
*
* 2007-8-21: eric miao <eric.miao@marvell.com>
* initial version
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | null | null | null | null | 83,168 |
203 | 2 | train_val | fc3c351a3d995f73ead5c92354396a7ec2b14e3f | 203 | Chrome | 1 | https://github.com/chromium/chromium | 2011-02-01 01:10:04+00:00 | void SaveCCInfoConfirmInfoBar::ButtonPressed(views::Button* sender,
const views::Event& event) {
InfoBar::ButtonPressed(sender, event);
if (sender == save_button_) {
if (GetDelegate()->Accept())
RemoveInfoBar();
} else if (sender == dont_save_button_) {
if (GetDelegate()->Cancel())
RemoveInfoBar();
}
}
| null | null | https://github.com/chromium/chromium/commit/fc3c351a3d995f73ead5c92354396a7ec2b14e3f | null | 203 |
26,907 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,907 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2009, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condi... | null | null | null | null | 23,770 |
11,313 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,313 | 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 "gpu/command_buffer/client/raster_cmd_helper.h"
namespace gpu {
namespace raster {
RasterCmdHelper::RasterCmdHelper(CommandBuffer* command_buff... | null | null | null | null | 8,176 |
32,238 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,233 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* pata_ali.c - ALI 15x3 PATA for new ATA layer
* (C) 2005 Red Hat Inc
*
* based in part upon
* linux/drivers/ide/pci/alim15x3.c Version 0.17 2003/01/02
*
* Copyright (C) 1998-2000 Michel Aubry, Maintainer
* Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer
* Copyright (C) 1999-2000 CJ, cjt... | null | null | null | null | 105,580 |
63,563 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,563 | 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/ui/views/profiles/user_manager_view.h"
#include "base/callback.h"
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
... | null | null | null | null | 60,426 |
59,669 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,669 | 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 <memory>
#include "base/threading/sequenced_task_runner_handle.h"
#include "base/values.h"
#include "chrome/browser/browser_process_impl.h"
... | null | null | null | null | 56,532 |
18,944 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,944 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/services/filesystem/shared_temp_dir.h"
#include "base/files/scoped_temp_dir.h"
namespace filesystem {
SharedTempDir::SharedTempDir... | null | null | null | null | 15,807 |
41,439 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,439 | 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 <stddef.h>
#include <algorithm>
#include "base/command_line.h"
#include "base/containers/hash_tables.h"
#include "base/strings/stringprintf.h"
... | null | null | null | null | 38,302 |
8,557 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,552 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/score/lib/libgcc.h
*
* 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.
*
* This program is distributed i... | null | null | null | null | 81,899 |
35,997 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,997 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/animation/css_image_slice_interpolation_type.h"
#include <memory>
#include <utility>
#include "base/memory/ptr... | null | null | null | null | 32,860 |
47,175 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,175 | 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 CC_TEST_PIXEL_TEST_H_
#define CC_TEST_PIXEL_TEST_H_
#include "base/files/file_util.h"
#include "cc/test/pixel_comparator.h"
#include "cc/trees/la... | null | null | null | null | 44,038 |
14,262 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,262 | 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_CRONET_ANDROID_URL_REQUEST_ERROR_H_
#define COMPONENTS_CRONET_ANDROID_URL_REQUEST_ERROR_H_
namespace cronet {
// Error codes for the ... | null | null | null | null | 11,125 |
26,354 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,349 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2014 Texas Instruments
* Author: Tomi Valkeinen <tomi.valkeinen@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
* the Free Software Foundation.
*
* This program is distributed in ... | null | null | null | null | 99,696 |
4,171 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,171 | 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_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_
#define IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_
#includ... | null | null | null | null | 1,034 |
54,068 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,068 | 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/service/cloud_print/cloud_print_auth.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/metrics/histogram_macros.h"... | null | null | null | null | 50,931 |
51,862 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,862 | 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 contains an implementation of an H264 Annex-B video stream parser.
#ifndef MEDIA_VIDEO_H264_PARSER_H_
#define MEDIA_VIDEO_H264_PARSER_H_
... | null | null | null | null | 48,725 |
23,425 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,425 | 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 <utility>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
#include "b... | null | null | null | null | 20,288 |
18,185 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,180 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*******************************************************************************
*
* Copyright (c) 2015-2016 Intel Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Ve... | null | null | null | null | 91,527 |
26,000 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,000 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/macros.h"
#include "extensions/browser/api/document_scan/document_scan_interface.h"
namespace {
const char kScanFunctionNotImplementedErr... | null | null | null | null | 22,863 |
30,991 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,991 | 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 THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_SERIALIZATION_V8_SCRIPT_VALUE_SERIALIZER_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_SERIAL... | null | null | null | null | 27,854 |
29,050 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,045 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* i5500_temp - Driver for Intel 5500/5520/X58 chipset thermal sensor
*
* Copyright (C) 2012, 2014 Jean Delvare <jdelvare@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eith... | null | null | null | null | 102,392 |
43,398 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,393 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Definitions for talking to the PMU. The PMU is a microcontroller
* which controls battery charging and system power on PowerBook 3400
* and 2400 models as well as the RTC and various other things.
*
* Copyright (C) 1998 Paul Mackerras.
*/
#ifndef _UAPI_LINUX_PMU_H
#define _UAPI_LINUX_PMU_H
#define PMU_DRI... | null | null | null | null | 116,740 |
71,533 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,533 | 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 "services/resource_coordinator/memory_instrumentation/coordinator_impl.h"
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
#in... | null | null | null | null | 68,396 |
71,876 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,876 | 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 <utility>
#include "base/message_loop/message_loop.h"
#include "components/viz/common/display/renderer_settings.h"
#include "mojo/public/cpp/bin... | null | null | null | null | 68,739 |
14,664 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,664 | 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_CAPTIVE_PORTAL_CAPTIVE_PORTAL_METRICS_H_
#define COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_METRICS_H_
#include "base/macros.h"
#include... | null | null | null | null | 11,527 |
31,977 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,972 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPIO driver for NXP LPC18xx/43xx.
*
* Copyright (C) 2015 Joachim Eastwood <manabian@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include <linux/clk... | null | null | null | null | 105,319 |
5,018 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,013 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /***************************************************************************
* au88x0_cxtalk.c
*
* Wed Nov 19 16:29:47 2003
* Copyright 2003 mjander
* mjander@users.sourceforge.org
****************************************************************************/
/*
* This program is free software; ... | null | null | null | null | 78,360 |
12,852 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,847 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Definition of platform feature hooks for PowerMacs
*
* 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) 1998 Paul Mackerras &
* Ben. Herrenschmidt.
*
... | null | null | null | null | 86,194 |
41,343 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,343 | 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 "tools/gn/value_extractors.h"
#include <stddef.h>
#include "tools/gn/build_settings.h"
#include "tools/gn/err.h"
#include "tools/gn/label.h... | null | null | null | null | 38,206 |
46,101 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,101 | 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 ASH_WM_TEST_SESSION_STATE_ANIMATOR_H_
#define ASH_WM_TEST_SESSION_STATE_ANIMATOR_H_
#include <stddef.h>
#include <map>
#include <vector>
#inclu... | null | null | null | null | 42,964 |
22,694 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,689 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
he.h
ForeRunnerHE ATM Adapter driver for ATM on Linux
Copyright (C) 1999-2001 Naval Research Laboratory
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.1 o... | null | null | null | null | 96,036 |
71,579 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,579 | 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 SERVICES_VIDEO_CAPTURE_DEVICE_MEDIA_TO_MOJO_ADAPTER_H_
#define SERVICES_VIDEO_CAPTURE_DEVICE_MEDIA_TO_MOJO_ADAPTER_H_
#include "base/threading/th... | null | null | null | null | 68,442 |
11,237 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,237 | 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.
#ifndef GPU_COMMAND_BUFFER_SERVICE_PASSTHROUGH_PROGRAM_CACHE_H_
#define GPU_COMMAND_BUFFER_SERVICE_PASSTHROUGH_PROGRAM_CACHE_H_
#include "base/macros... | null | null | null | null | 8,100 |
40,617 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,617 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,480 |
44,938 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,938 | 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 PPAPI_SHARED_IMPL_PPB_INSTANCE_SHARED_H_
#define PPAPI_SHARED_IMPL_PPB_INSTANCE_SHARED_H_
#include "base/compiler_specific.h"
#include "ppapi... | null | null | null | null | 41,801 |
1,183 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,240 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | null | null | null | null | 70,295 |
43,473 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,473 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/process/process_metrics.h"
#include <fdio/limits.h>
namespace base {
size_t GetMaxFds() {
return FDIO_MAX_FD;
}
size_t GetSystemCommi... | null | null | null | null | 40,336 |
55,034 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,034 | 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_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
#define CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
#include <stdint.h>
#inclu... | null | null | null | null | 51,897 |
2,476 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,471 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IPv6 raw table, a port of the IPv4 raw table to IPv6
*
* Copyright (C) 2003 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
*/
#include <linux/module.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/slab.h>
#define RAW_VALID_HOOKS ((1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_OUT))
static int ... | null | null | null | null | 75,819 |
40,667 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,667 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,530 |
34,456 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,451 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/media/platform/s5p-mfc/s5p_mfc_dec.h
*
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
* http://www.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; ... | null | null | null | null | 107,798 |
58,011 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,011 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/settings/device_settings_cache.h"
#include <string>
#include "base/base64.h"
#include "base/bind.h"
#include "chro... | null | null | null | null | 54,874 |
32,340 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,340 | 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_SCRIPT_WORKLET_MODULATOR_IMPL_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_WORKLET_MODULATOR_IMPL_H_
#includ... | null | null | null | null | 29,203 |
11,396 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,396 | 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 GPU_COMMAND_BUFFER_COMMON_ID_TYPE_H_
#define GPU_COMMAND_BUFFER_COMMON_ID_TYPE_H_
#include <stdint.h>
#include <cstddef>
#include <ostream>
#incl... | null | null | null | null | 8,259 |
858 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,813 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | null | null | null | null | 119,734 |
21,251 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,251 | 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_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_
#define CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_
#include <memory>
#include "... | null | null | null | null | 18,114 |
39,227 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,227 | 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/modules/xr/xr_presentation_frame.h"
#include "third_party/blink/renderer/modules/xr/xr_coordinate_system.h"
#include... | null | null | null | null | 36,090 |
67,046 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,046 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_DISPLAY_SERVICE_H_
#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_DISPLAY_SERVICE_H_
#include <map>
... | null | null | null | null | 63,909 |
49,051 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,051 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/chromeos/ime/candidate_window_view.h"
#include <stddef.h>
#include <string>
#include "base/macros.h"
#include "base/strings/stringprintf.h... | null | null | null | null | 45,914 |
21,948 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,948 | 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 CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
#define CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
#include <string>
#include "content/common... | null | null | null | null | 18,811 |
34,753 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,753 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Fo... | null | null | null | null | 31,616 |
68,939 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,939 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/at_exit.h"
#include "base/compiler_specific.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "remoting/client/plug... | null | null | null | null | 65,802 |
56,786 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,786 | 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/chromeos/smb_client/temp_file_manager.h"
#include <string>
#include <vector>
#include "base/files/file_util.h"
#include "testin... | null | null | null | null | 53,649 |
52,481 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,481 | 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 "media/cdm/simple_cdm_buffer.h"
#include <limits>
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
namespace media {
// ... | null | null | null | null | 49,344 |
48,425 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,425 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
#define UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
#include <stddef.h>
#include <stdint.h>
#include "base/macros.... | null | null | null | null | 45,288 |
13,226 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,221 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Trivial implementations of basic i/o routines. Assumes that all
of the hard work has been done by ioremap and ioportmap, and that
access to i/o space is linear. */
/* This file may be included multiple times. */
#if IO_CONCAT(__IO_PREFIX,trivial_io_bw)
__EXTERN_INLINE unsigned int
IO_CONCAT(__IO_PREFIX,io... | null | null | null | null | 86,568 |
66,087 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,087 | 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/media/webrtc/tab_desktop_media_list.h"
#include "base/hash.h"
#include "base/task_scheduler/post_task.h"
#include "chrome/browse... | null | null | null | null | 62,950 |
42,700 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,695 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NET_TC_CSUM_H
#define __NET_TC_CSUM_H
#include <linux/types.h>
#include <net/act_api.h>
struct tcf_csum {
struct tc_action common;
u32 update_flags;
};
#define to_tcf_csum(a) ((struct tcf_csum *)a)
#endif /* __NET_TC_CSUM_H */
| null | null | null | null | 116,042 |
63,027 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,027 | 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_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
#define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
#include <stddef.h>
#include... | null | null | null | null | 59,890 |
6,750 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,750 | 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 NET_PROXY_RESOLUTION_NETWORK_DELEGATE_ERROR_OBSERVER_H_
#define NET_PROXY_RESOLUTION_NETWORK_DELEGATE_ERROR_OBSERVER_H_
#include <memory>
#i... | null | null | null | null | 3,613 |
58,757 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,757 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_CHROME_APP_ICON_DELEGATE_H_
#define CHROME_BROWSER_EXTENSIONS_CHROME_APP_ICON_DELEGATE_H_
namespace extensions {
class... | null | null | null | null | 55,620 |
10,480 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,480 | 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 <utility>
#include "base/message_loop/message_loop.h"
#include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
#include "testing/gt... | null | null | null | null | 7,343 |
45,921 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,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.
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/session/session_controller.h"
#include "ash/shell.h"
#include "ash/shell/example_factory.h"... | null | null | null | null | 42,784 |
42,858 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,858 | 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 <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define HAVE_SYMBOLIZE 1
#define ATTRIBUTE_NOINLINE __attribute__ ((... | null | null | null | null | 39,721 |
40,539 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,534 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Universal power supply monitor class
*
* Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
* Copyright © 2004 Szabolcs Gyurko
* Copyright © 2003 Ian Molton <spyro@f2s.com>
*
* Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/
#ifndef __LINUX_POWER_SUPPLY_H_... | null | null | null | null | 113,881 |
2,091 | 7,8 | train_val | d27468a832d5316884bd02f459cbf493697fd7e1 | 2,091 | Chrome | 1 | https://github.com/chromium/chromium | 2017-04-04 22:01:18+00:00 | bool isNodeAriaVisible(Node* node) {
if (!node)
return false;
if (!node->isElementNode())
return false;
return equalIgnoringCase(toElement(node)->getAttribute(aria_hiddenAttr),
"false");
}
| CVE-2015-1274 | CWE-254 | https://github.com/chromium/chromium/commit/d27468a832d5316884bd02f459cbf493697fd7e1 | Medium | 2,091 |
19,977 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,972 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright(c) 2007 Atheros Corporation. All rights reserved.
* Copyright(c) 2007 xiong huang <xiong.huang@atheros.com>
*
* Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under th... | null | null | null | null | 93,319 |
5,271 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,271 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/chrome/browser/translate/translate_ranker_metrics_provider.h"
#include "components/translate/core/browser/translate_ranker.h"
#include "ios... | null | null | null | null | 2,134 |
56,157 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,157 | 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 <stddef.h>
#include <stdint.h>
#include <limits>
#include <map>
#include <string>
#include <vector>
#include "base/macros.h"
#include "base/mem... | null | null | null | null | 53,020 |
14,253 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,248 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _PARISC_ERRNO_H
#define _PARISC_ERRNO_H
#include <asm-generic/errno-base.h>
#define ENOMSG 35 /* No message of desired type */
#define EIDRM 36 /* Identifier removed */
#define ECHRNG 37 /* Channel number out of range */
#define EL2NSYNC 38 /* Level 2 not synchronized */
#define EL3HLT 39 /* Level 3 halte... | null | null | null | null | 87,595 |
11,682 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,677 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_IA64_MODULE_H
#define _ASM_IA64_MODULE_H
#include <asm-generic/module.h>
/*
* IA-64-specific support for kernel module loader.
*
* Copyright (C) 2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
struct elf64_shdr; /* forward declration */
struct mod_arch_specific {
struct el... | null | null | null | null | 85,024 |
25,894 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,889 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* BIF_4_1 Register documentation
*
* Copyright (C) 2014 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limita... | null | null | null | null | 99,236 |
36,012 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,007 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2009, Microsoft 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,... | null | null | null | null | 109,354 |
69,639 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,639 | 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 "goose.h"
namespace {
// The maximum speed of a goose. Measured in meters/second.
const double kMaxSpeed = 2.0;
// The maximum force that ca... | null | null | null | null | 66,502 |
1,496 | 1 | train_val | ee7579229ff7e9e5ae28bf53aea069251499d7da | 1,496 | Chrome | 1 | https://github.com/chromium/chromium | 2014-06-06 05:21:42+00:00 | FramebufferInfoTest()
: manager_(1, 1),
feature_info_(new FeatureInfo()),
renderbuffer_manager_(NULL, kMaxRenderbufferSize, kMaxSamples,
kDepth24Supported) {
texture_manager_.reset(new TextureManager(NULL,
feature_info_.get(),
kMaxTextureSize,
kMaxCubemapSize,
kUseDefaultTextures));
}
| CVE-2014-3173 | CWE-119 | https://github.com/chromium/chromium/commit/ee7579229ff7e9e5ae28bf53aea069251499d7da | Low | 1,496 |
19,336 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,331 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Linux ARCnet driver - RFC1201 (standard) packet encapsulation
*
* Written 1994-1999 by Avery Pennarun.
* Derived from skeleton.c by Donald Becker.
*
* Special thanks to Contemporary Controls, Inc. (www.ccontrols.com)
* for sponsoring the further development of this driver.
*
* **********************
*
... | null | null | null | null | 92,678 |
22,483 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,478 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Block driver for s390 storage class memory.
*
* Copyright IBM Corp. 2012
* Author(s): Sebastian Ott <sebott@linux.vnet.ibm.com>
*/
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <asm/eadm.h>
#in... | null | null | null | null | 95,825 |
46,986 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,986 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/tiles/software_image_decode_cache.h"
#include "cc/paint/draw_image.h"
#include "cc/paint/paint_image_builder.h"
#include "cc/test/fake_paint... | null | null | null | null | 43,849 |
20,997 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,992 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef B43_PHY_AC_H_
#define B43_PHY_AC_H_
#include "phy_common.h"
#define B43_PHY_AC_BBCFG 0x001
#define B43_PHY_AC_BBCFG_RSTCCA 0x4000 /* Reset CCA */
#define B43_PHY_AC_BANDCTL 0x003 /* Band control */
#define B43_PHY_AC_BANDCTL_5GHZ 0x0001
#define B43_PHY_AC_TABLE_ID 0x00d
#define B43_PHY_AC_TABLE_OFFS... | null | null | null | null | 94,339 |
468 | 1,2,3,4,5,6,7,8,9,10,11,12,13,14 | train_val | 19190765882e272a6a2162c89acdb29110f7e3cf | 468 | Chrome | 1 | https://github.com/chromium/chromium | 2011-09-21 22:56:29+00:00 | void ExpectTimes(const MetahandlesIndex& index,
const std::map<int64, base::Time>& expected_times) {
for (MetahandlesIndex::const_iterator it = index.begin();
it != index.end(); ++it) {
int64 meta_handle = (*it)->ref(META_HANDLE);
SCOPED_TRACE(meta_handle);
std::map<int64, base::Ti... | null | null | https://github.com/chromium/chromium/commit/19190765882e272a6a2162c89acdb29110f7e3cf | null | 468 |
35,082 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,077 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* avermedia.h - Keytable for avermedia Remote Controller
*
* keymap imported from ir-keymaps.c
*
* Copyright (c) 2010 by Mauro Carvalho Chehab
*
* 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 Foun... | null | null | null | null | 108,424 |
6,442 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,437 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for Sound Core PDAudioCF soundcard
*
* Copyright (c) 2003 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 L... | null | null | null | null | 79,784 |
4,468 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,463 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* QNX6 file system, Linux implementation.
*
* Version : 1.0.0
*
* History :
*
* 01-02-2012 by Kai Bankett (chaosman@ontika.net) : first release.
*
*/
#include <linux/buffer_head.h>
#include <linux/slab.h>
#include <linux/crc32.h>
#include "qnx6.h"
static void qnx6_mmi_copy_sb(struct qnx6_super_block *qsb,... | null | null | null | null | 77,810 |
70,818 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,818 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2006-2008 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 <Tlhelp32.h>
#include "sandbox/win/sandbox_poc/pocdll/exports.h"
#include "sandbox/win/sandbox_poc/pocdll/utils.h"
... | null | null | null | null | 67,681 |
19,518 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,513 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* CAN driver for PEAK System PCAN-USB FD / PCAN-USB Pro FD adapter
*
* Copyright (C) 2013-2014 Stephane Grosjean <s.grosjean@peak-system.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 Foun... | null | null | null | null | 92,860 |
29,574 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,569 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2012 Intel Corporation. All rights reserved.
* Copyright (C) 2015 EMC Corporation. All Rights Reserved.
*
* This program i... | null | null | null | null | 102,916 |
Subsets and Splits
Top Projects by Commit Count
Reveals the most active projects based on the number of unique commits, highlighting which projects have the most development activity.
SQL Console for realvul/RealVul
Identifies the most frequent commit hashes for projects with a target value of 1, revealing key commits that may be significant for further analysis.
Top Vulnerable Commits by Project
Identifies the most frequently occurring vulnerable commit hashes for each project, providing insights into common vulnerabilities across different projects.
Project-wise Vulnerability Count
Counts the occurrences of each target value (0 and 1) per project, providing insight into the distribution of targets within different projects.
CWE Frequency in Train Set
Provides a count of vulnerabilities grouped by CWE ID, highlighting the most frequent types of vulnerabilities in the dataset.
SQL Console for realvul/RealVul
Counts the number of unique commits per project, providing a basic overview of project activity.