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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55,522 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,522 | 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/utility/importer/profile_import_impl.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/memory/ref_counted.h"
#incl... | null | null | null | null | 52,385 |
5,414 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,409 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __OPL3_VOICE_H
#define __OPL3_VOICE_H
/*
* Copyright (c) 2000 Uros Bizjak <uros@kss-loka.si>
*
* 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 Licens... | null | null | null | null | 78,756 |
18,735 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,730 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/acorn/scsi/msgqueue.h
*
* Copyright (C) 1997 Russell King
*
* 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.
*
* message queue handling
*/
#ifndef MSGQUE... | null | null | null | null | 92,077 |
9,249 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,244 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
*
* Copyright (C) 2013 Texas Instruments Incorporated
*
* Hwmod common for AM335x and AM43x
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distribut... | null | null | null | null | 82,591 |
10,282 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,282 | 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 "headless/public/util/expedited_dispatcher.h"
#include <memory>
#include <string>
#include <vector>
#include "base/message_loop/message_loop.h"... | null | null | null | null | 7,145 |
37,757 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,757 | 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_PLATFORM_HEAP_SPARSE_HEAP_BITMAP_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_SPARSE_HEAP_BITMAP_H_
#include <b... | null | null | null | null | 34,620 |
35,314 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,309 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
tda18271-priv.h - private header for the NXP TDA18271 silicon tuner
Copyright (C) 2007, 2008 Michael Krufky <mkrufky@linuxtv.org>
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 Foundatio... | null | null | null | null | 108,656 |
38,195 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,190 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <sys/mman.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#ifndef MCL_ONFAULT
#define MCL_ONFAULT (MCL_FUTURE << 1)
#endif
static int test_limit(void)
{
int ret = 1;
struct rlimit lims;
void *map;
if (getrlimit(RLIMIT_MEMLOCK, &lims)) {
per... | null | null | null | null | 111,537 |
118 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,175 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* linear least squares model
*
* Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | null | null | null | null | 69,230 |
5,166 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,166 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_LEGACY_TOOLBAR_CONTROLLER_CONSTANTS_H_
#define IOS_CHROME_BROWSER_UI_TOOLBAR_LEGACY_TOOLBAR_CONTROLLER_CONSTANTS_H_
... | null | null | null | null | 2,029 |
21,440 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,435 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
* Copyright(c) 2015 - 2016 Intel Deutschland GmbH
*
* Portions of this file are derived from the ipw3945 project.
*
* This program is free software; you can redistr... | null | null | null | null | 94,782 |
55,323 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,323 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
#include <memory>
#include "base/command_line.h"
#include "base/lazy_instance.h"... | null | null | null | null | 52,186 |
27,340 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,335 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* pcl724.c
* Comedi driver for 8255 based ISA and PC/104 DIO boards
*
* Michal Dobes <dobes@tesnet.cz>
*/
/*
* Driver: pcl724
* Description: Comedi driver for 8255 based ISA DIO boards
* Devices: [Advantech] PCL-724 (pcl724), PCL-722 (pcl722), PCL-731 (pcl731),
* [ADLink] ACL-7122 (acl7122), ACL-7124 (acl... | null | null | null | null | 100,682 |
46,601 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,601 | 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 ASH_SYSTEM_POWER_POWER_EVENT_OBSERVER_TEST_API_H_
#define ASH_SYSTEM_POWER_POWER_EVENT_OBSERVER_TEST_API_H_
#include "base/macros.h"
namespace u... | null | null | null | null | 43,464 |
24,626 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,626 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_oauth2_token_service.h"
#include "base/memory/ptr_util.h"
#include "extensions/browser/extensions_test.h"
names... | null | null | null | null | 21,489 |
38,961 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,956 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/mm/mmu_notifier.c
*
* Copyright (C) 2008 Qumranet, Inc.
* Copyright (C) 2008 SGI
* Christoph Lameter <cl@linux.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*/
#include <linux/rculist.h>
#include <linu... | null | null | null | null | 112,303 |
12,134 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,129 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Glue code for SHA-256 implementation for SPE instructions (PPC)
*
* Based on generic implementation. The assembler module takes care
* about the SPE registers so it can run from interrupt context.
*
* Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de>
*
* This program is free software; you ca... | null | null | null | null | 85,476 |
3,039 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,607 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU PCI bridge
*
* Copyright (c) 2004 Fabrice Bellard
*
* 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.
*... | null | null | null | null | 123,731 |
34,188 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,183 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Framework for ISA radio drivers.
* This takes care of all the V4L2 scaffolding, allowing the ISA drivers
* to concentrate on the actual hardware operation.
*
* Copyright (C) 2012 Hans Verkuil <hans.verkuil@cisco.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the te... | null | null | null | null | 107,530 |
41,039 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,034 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_BITOPS_H
#define _LINUX_BITOPS_H
#include <asm/types.h>
#ifdef __KERNEL__
#define BIT(nr) (1UL << (nr))
#define BIT_ULL(nr) (1ULL << (nr))
#define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
#define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
#define BIT_ULL_MASK(nr) (1ULL << ((nr) % BITS_PER_LONG_LONG))
... | null | null | null | null | 114,381 |
22,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,330 | 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/browser/utility_process_host.h"
#include <utility>
#include "base/base_switches.h"
#include "base/bind.h"
#include "base/bind_help... | null | null | null | null | 19,193 |
22,815 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,815 | 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 "content/browser/renderer_host/media/peer_connection_tracker_host.h"
#include "base/power_monitor/power_monitor.h"
#include "content/browser... | null | null | null | null | 19,678 |
25,962 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,962 | 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 EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
#define EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
#include <s... | null | null | null | null | 22,825 |
12,343 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,343 | 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 "components/nacl/renderer/histogram.h"
#include <algorithm>
#include "base/metrics/histogram.h"
namespace nacl {
void HistogramCustomCounts(c... | null | null | null | null | 9,206 |
51,914 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,914 | 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/gpu/vp9_decoder.h"
#include <memory>
#include "base/bind.h"
#include "base/logging.h"
#include "media/base/limits.h"
#include "media/gpu... | null | null | null | null | 48,777 |
70,452 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,452 | 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 DEVICE_FIDO_MAKE_CREDENTIAL_TASK_H_
#define DEVICE_FIDO_MAKE_CREDENTIAL_TASK_H_
#include <stdint.h>
#include <vector>
#include "base/callback.h... | null | null | null | null | 67,315 |
59,210 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,210 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h"
#include <stdint.h>
#include <memory>
#include "base/strings/string_numbe... | null | null | null | null | 56,073 |
53,742 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,742 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "android_webview/renderer/aw_content_renderer_client.h"
#include <memory>
#include <vector>
#include "android_webview/common/aw_switches.h"
#in... | null | null | null | null | 50,605 |
19,578 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,573 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* JMicron JMC2x0 series PCIe Ethernet Linux Device Driver
*
* Copyright 2008 JMicron Technology Corporation
* http://www.jmicron.com/
* Copyright (c) 2009 - 2010 Guo-Fu Tseng <cooldavid@cooldavid.org>
*
* Author: Guo-Fu Tseng <cooldavid@cooldavid.org>
*
* This program is free software; you can redistribute ... | null | null | null | null | 92,920 |
12,963 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,958 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_POWERPC_PGALLOC_64_H
#define _ASM_POWERPC_PGALLOC_64_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 versio... | null | null | null | null | 86,305 |
10,086 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,086 | 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 CHROMECAST_DEVICE_BLUETOOTH_LE_LE_SCAN_MANAGER_IMPL_H_
#define CHROMECAST_DEVICE_BLUETOOTH_LE_LE_SCAN_MANAGER_IMPL_H_
#include <list>
#include <m... | null | null | null | null | 6,949 |
26,968 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,968 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2007, 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,831 |
24,960 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,955 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 98,302 |
11,872 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,872 | 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_OMNIBOX_BROWSER_CONTEXTUAL_SUGGESTIONS_SERVICE_H_
#define COMPONENTS_OMNIBOX_BROWSER_CONTEXTUAL_SUGGESTIONS_SERVICE_H_
#include <memor... | null | null | null | null | 8,735 |
5,615 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,615 | 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 "chromeos/binder/transaction_data_reader.h"
#include <stddef.h>
#include <stdint.h>
#include "base/logging.h"
#include "chromeos/binder/binder_... | null | null | null | null | 2,478 |
16,212 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,212 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/base/get_session_name_win.h"
#include <windows.h>
#include "base/logging.h"
#include "base/macros.h"
#include "base/string... | null | null | null | null | 13,075 |
37,995 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,995 | 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_PLATFORM_GRAPHICS_TEST_FAKE_GLES2_INTERFACE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_TEST_FAKE_GLES2_INT... | null | null | null | null | 34,858 |
42,483 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,478 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NET_PKT_CLS_H
#define __NET_PKT_CLS_H
#include <linux/pkt_cls.h>
#include <net/sch_generic.h>
#include <net/act_api.h>
/* Basic packet classifier frontend definitions. */
struct tcf_walker {
int stop;
int skip;
int count;
int (*fn)(struct tcf_proto *, unsigned long node, struct tcf_walker *);
};
int r... | null | null | null | null | 115,825 |
21,431 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,431 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_UMA_HISTOGRAMS_H_
#define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_UMA_HISTOGRAMS_H_
#include "base/macros.h... | null | null | null | null | 18,294 |
60,192 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,192 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <utility>
#include "base/memory/ref_counted.h"
#include "chrome/browser/chrome_content_browser_client.h"
#in... | null | null | null | null | 57,055 |
36,326 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,321 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* governor.h - internal header for devfreq governors.
*
* Copyright (C) 2011 Samsung Electronics
* MyungJoo Ham <myungjoo.ham@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
* published by the Free Softw... | null | null | null | null | 109,668 |
21,820 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,815 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2010 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | null | null | null | null | 95,162 |
62,141 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,141 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/macros.h"
#include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
#include "chrome/browser/sync/test/integration... | null | null | null | null | 59,004 |
38,547 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,542 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* This program 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 S... | null | null | null | null | 111,889 |
33,207 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,202 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters
* Copyright (C) 2004 Arcom Control Systems
* Copyright (C) 2008 Pengutronix
*
* 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 ... | null | null | null | null | 106,549 |
57,893 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,893 | 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_LOCK_SCREEN_APPS_LOCK_SCREEN_PROFILE_CREATOR_H_
#define CHROME_BROWSER_CHROMEOS_LOCK_SCREEN_APPS_LOCK_SCREEN_PROFILE_CREAT... | null | null | null | null | 54,756 |
9,202 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,197 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* omap-pm-noop.c - OMAP power management interface - dummy version
*
* This code implements the OMAP power management interface to
* drivers, CPUIdle, CPUFreq, and DSP Bridge. It is strictly for
* debug/demonstration use, as it does nothing but printk() whenever a
* function is called (when DEBUG is defined, ... | null | null | null | null | 82,544 |
42,046 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,041 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* include/linux/mfd/wm831x/watchdog.h -- Watchdog for WM831x
*
* Copyright 2009 Wolfson Microelectronics PLC.
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as p... | null | null | null | null | 115,388 |
2,977 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,545 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /* Declarations for use by hardware emulation. */
#ifndef QEMU_HW_H
#define QEMU_HW_H
#ifdef CONFIG_USER_ONLY
#error Cannot include hw/hw.h from user emulation
#endif
#include "exec/cpu-common.h"
#include "qom/object.h"
#include "exec/memory.h"
#include "hw/irq.h"
#include "migration/vmstate.h"
#include "qemu/module... | null | null | null | null | 123,669 |
50,733 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,733 | 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 "ui/arc/notification/arc_notification_delegate.h"
#include "ui/arc/notification/arc_notification_content_view.h"
#include "ui/arc/notification/a... | null | null | null | null | 47,596 |
30,555 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,550 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _TSC200X_CORE_H
#define _TSC200X_CORE_H
/* control byte 1 */
#define TSC200X_CMD 0x80
#define TSC200X_CMD_NORMAL 0x00
#define TSC200X_CMD_STOP 0x01
#define TSC200X_CMD_12BIT 0x04
/* control byte 0 */
#define TSC200X_REG_READ 0x01 /* R/W access */
#define TSC200X_REG_PND0 0x02 /* Power Not Down Control ... | null | null | null | null | 103,897 |
41,256 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,251 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
Copyright (C) 2004 - 2006 rt2x00 SourceForge Project
<http://rt2x00.serialmonkey.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any... | null | null | null | null | 114,598 |
59,453 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,453 | 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.
// Unit tests for helper functions for the Chrome Extensions Proxy Settings API.
#include "chrome/browser/extensions/api/proxy/proxy_api_helpers.h"
... | null | null | null | null | 56,316 |
71,848 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,848 | 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 SERVICES_UI_COMMON_UTIL_H_
#define SERVICES_UI_COMMON_UTIL_H_
#include <stdint.h>
#include "services/ui/common/types.h"
namespace ui {
inline ... | null | null | null | null | 68,711 |
9,380 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,380 | 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 "net/reporting/reporting_test_util.h"
#include <memory>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/json/json_rea... | null | null | null | null | 6,243 |
30,468 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,468 | 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 conditio... | null | null | null | null | 27,331 |
24,052 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,047 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright © 2006-2007 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, bu... | null | null | null | null | 97,394 |
17,206 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,201 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_SH_SE7724_H
#define __ASM_SH_SE7724_H
/*
* linux/include/asm-sh/se7724.h
*
* Copyright (C) 2009 Renesas Solutions Corp.
*
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Hitachi UL SolutionEngine 7724 Support.
*
* Based on se7722.h
* Copyright (C) 2007 Nobuhiro Iwamatsu
*
* This file... | null | null | null | null | 90,548 |
30,890 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,890 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_ITERABLE_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_ITERABLE_H_
#include "third_party/bli... | null | null | null | null | 27,753 |
10,383 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,378 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/include/asm/mach/arch.h
*
* Copyright (C) 2000 Russell King
*
* 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/types.h>
#ifndef __ASSEMBLY__... | null | null | null | null | 83,725 |
21,289 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,289 | 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 CONTENT_RENDERER_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_
#define CONTENT_RENDERER_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_
#include <strin... | null | null | null | null | 18,152 |
22,758 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,753 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
*
* Digianswer Bluetooth USB driver
*
* Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
*
*
* 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 th... | null | null | null | null | 96,100 |
1,073 | 17,18 | train_val | c4e490cf148e85ead0d1b1c2caaba833f1d5b29f | 166,068 | linux | 1 | https://github.com/torvalds/linux | 2017-01-10 18:31:55-08:00 | static bool freelist_state_initialize(union freelist_init_state *state,
struct kmem_cache *cachep,
unsigned int count)
{
bool ret;
unsigned int rand;
/* Use best entropy available to define a random shift */
rand = get_random_int();
/* Use a random state if the pre-computed list is not available */
if (!cachep->rando... | CVE-2017-5546 | null | https://github.com/torvalds/linux/commit/c4e490cf148e85ead0d1b1c2caaba833f1d5b29f | Low | 3,962 |
12,364 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,364 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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 PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_
#define PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_
#include "ppapi... | null | null | null | null | 9,227 |
10,786 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,781 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* leon_smp.c: Sparc-Leon SMP support.
*
* based on sun4m_smp.c
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 2009 Daniel Hellstrom (daniel@gaisler.com) Aeroflex Gaisler AB
* Copyright (C) 2009 Konrad Eisele (konrad@gaisler.com) Aeroflex Gaisler AB
*/
#include <asm/head.h>
#inclu... | null | null | null | null | 84,128 |
5,471 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,466 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* kirkwood-dma.c
*
* (c) 2010 Arnaud Patard <apatard@mandriva.com>
* (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
*
* 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; eithe... | null | null | null | null | 78,813 |
10,241 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,236 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ARM KGDB support
*
* Author: Deepak Saxena <dsaxena@mvista.com>
*
* Copyright (C) 2002 MontaVista Software Inc.
*
*/
#ifndef __ARM_KGDB_H__
#define __ARM_KGDB_H__
#include <linux/ptrace.h>
#include <asm/opcodes.h>
/*
* GDB assumes that we're a user process being debugged, so
* it will send us an SWI co... | null | null | null | null | 83,583 |
42,887 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,887 | 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/test/test_mock_time_task_runner.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/gtest_util.h"
#incl... | null | null | null | null | 39,750 |
61,627 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,627 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media_galleries/win/mtp_device_operations_util.h"
#include <objbase.h>
#include <portabledevice.h>
#include <stdint.h>
#inc... | null | null | null | null | 58,490 |
49,044 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,044 | 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 UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_
#define UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_
namespace ui {
namespace ime {
// We'll use ... | null | null | null | null | 45,907 |
63,742 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,742 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_
#define CHROME_BROWSER_UI_WEBUI_POLICY_UI_H_
#include <string>
#include "base/macros.h"
#include "conte... | null | null | null | null | 60,605 |
25,365 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,360 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NVIF_CL507E_H__
#define __NVIF_CL507E_H__
struct nv50_disp_overlay_channel_dma_v0 {
__u8 version;
__u8 head;
__u8 pad02[6];
__u64 pushbuf;
};
#define NV50_DISP_OVERLAY_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
#endif
| null | null | null | null | 98,707 |
30,901 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,896 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* U300 GPIO module.
*
* Copyright (C) 2007-2012 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* COH 901 571/3 - Used in DB3210 (U365 2.0) and DB3350 (U335 1.0)
* Author: Linus Walleij <linus.walleij@linaro.org>
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*/
#include <linu... | null | null | null | null | 104,243 |
57,842 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,842 | 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 CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_
#define CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_
#includ... | null | null | null | null | 54,705 |
9,978 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,978 | 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 CHROMECAST_MEDIA_CMA_BACKEND_ANDROID_AUDIO_DECODER_ANDROID_H_
#define CHROMECAST_MEDIA_CMA_BACKEND_ANDROID_AUDIO_DECODER_ANDROID_H_
#include <mem... | null | null | null | null | 6,841 |
57,307 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,307 | 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_ARC_AUTH_ARC_FETCHER_BASE_H_
#define CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_FETCHER_BASE_H_
namespace arc {
// Base class ... | null | null | null | null | 54,170 |
37,953 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,953 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 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 condit... | null | null | null | null | 34,816 |
39,420 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,415 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cryptographic API.
*
* RNG operations.
*
* Copyright (c) 2008 Neil Horman <nhorman@tuxdriver.com>
* Copyright (c) 2015 Herbert Xu <herbert@gondor.apana.org.au>
*
* 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 th... | null | null | null | null | 112,762 |
23,752 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,752 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_BROWSER_HANDLER_H_
#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_BROWSER_HANDLER_H_
#include "base/macros.h"
#inclu... | null | null | null | null | 20,615 |
32,380 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,380 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_TYPED_ARRAYS_DOM_ARRAY_BUFFER_BASE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_TYPED_ARRAYS_DOM_ARRAY_BUFFER_BASE_H... | null | null | null | null | 29,243 |
18,027 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,022 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef DEF_RVTMAD_H
#define DEF_RVTMAD_H
/*
* Copyright(c) 2016 Intel Corporation.
*
* 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
*
* This program is free software; you can redistribute it and/or ... | null | null | null | null | 91,369 |
30,797 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,797 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/origin_trial_features_for_core.h.tmpl
// by... | null | null | null | null | 27,660 |
6,460 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,455 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Merisc exports
*
* Copyright (C) 2008 Martinsson Elektronik AB
*
* 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 __ARCH_AVR32_BOARDS_MERISC_MERISC_H
#define __A... | null | null | null | null | 79,802 |
41,196 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,191 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic binary BCH encoding/decoding library
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHO... | null | null | null | null | 114,538 |
29,953 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,953 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2007 May 05
**
** 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,816 |
63,105 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,105 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/infobars/infobar_background.h"
#include "cc/paint/paint_canvas.h"
#include "cc/paint/paint_flags.h"
#include "chrom... | null | null | null | null | 59,968 |
40,031 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,031 | 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/media_controls/elements/media_control_picture_in_picture_button_element.h"
#include "third_party/blink/publi... | null | null | null | null | 36,894 |
46,109 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,109 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_MRU_WINDOW_TRACKER_H_
#define ASH_WM_MRU_WINDOW_TRACKER_H_
#include <list>
#include <vector>
#include "ash/ash_export.h"
#include "base/m... | null | null | null | null | 42,972 |
52,116 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,116 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_
#define MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_
#include "base/callback.h"
#include "base/macro... | null | null | null | null | 48,979 |
2,197 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,254 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* rectangle filling function
* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ... | null | null | null | null | 71,309 |
8,610 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,610 | 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/base/proxy_server.h"
#include <algorithm>
#include "base/strings/string_util.h"
#include "base/trace_event/memory_usage_estimator.h"
#... | null | null | null | null | 5,473 |
12,932 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,927 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Definitions for using the procedures in btext.c.
*
* Benjamin Herrenschmidt <benh@kernel.crashing.org>
*/
#ifndef __PPC_BTEXT_H
#define __PPC_BTEXT_H
#ifdef __KERNEL__
extern int btext_find_display(int allow_nonstdout);
extern void btext_update_display(unsigned long phys, int width, int height,
int depth... | null | null | null | null | 86,274 |
15,541 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,536 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2003-2013 Broadcom 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) Version 2, available from the file
* COPYING in the main directory of this ... | null | null | null | null | 88,883 |
35,799 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,799 | 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/editing/ime/ime_text_span.h"
#include <algorithm>
#include "third_party/blink/public/web/web_ime_text_span.h"
... | null | null | null | null | 32,662 |
43,828 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,828 | 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 BASE_TRACE_EVENT_SHARDED_ALLOCATION_REGISTER_H_
#define BASE_TRACE_EVENT_SHARDED_ALLOCATION_REGISTER_H_
#include <memory>
#include <unordered_map... | null | null | null | null | 40,691 |
19,354 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,354 | 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.
// Constants used for the WebView API.
#ifndef COMPONENTS_GUEST_VIEW_COMMON_GUEST_VIEW_CONSTANTS_H_
#define COMPONENTS_GUEST_VIEW_COMMON_GUEST_VIEW_CONST... | null | null | null | null | 16,217 |
25,716 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,711 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 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 limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,058 |
49,551 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,551 | 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 "ui/app_list/app_list_features.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "ui/app_list/app_list_swi... | null | null | null | null | 46,414 |
3,831 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,831 | 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 IOS_WEB_VIEW_SHELL_SHELL_TRANSLATION_DELEGATE_H_
#define IOS_WEB_VIEW_SHELL_SHELL_TRANSLATION_DELEGATE_H_
#import <ChromeWebView/ChromeWebView.h>... | null | null | null | null | 694 |
1,906 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,901 | 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.
*
* Routing netlink socket interface: protocol independent part.
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.... | null | null | null | null | 75,249 |
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.