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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23,687 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,682 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Sony ACX565AKM LCD Panel driver
*
* Copyright (C) 2010 Nokia Corporation
*
* Original Driver Author: Imre Deak <imre.deak@nokia.com>
* Based on panel-generic.c by Tomi Valkeinen <tomi.valkeinen@nokia.com>
* Adapted to new DSS2 framework: Roger Quadros <roger.quadros@nokia.com>
*
* This program is free sof... | null | null | null | null | 97,029 |
45,707 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,707 | 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 "ash/components/shortcut_viewer/views/keyboard_shortcut_item_view.h"
#include <memory>
#include <vector>
#include "ash/components/shortcut_view... | null | null | null | null | 42,570 |
23,592 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,587 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/video/bt455.h
*
* Copyright 2003 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* Copyright 2016 Maciej W. Rozycki <macro@linux-mips.org>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
* archive f... | null | null | null | null | 96,934 |
37,837 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,837 | 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/platform/graphics/static_bitmap_image.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/... | null | null | null | null | 34,700 |
14,808 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,803 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Blackfin architecture-dependent process handling
*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later
*/
#include <linux/module.h>
#include <linux/unistd.h>
#include <linux/user.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/sched/... | null | null | null | null | 88,150 |
48,672 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,672 | 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 UI_VIEWS_ANIMATION_SQUARE_INK_DROP_RIPPLE_H_
#define UI_VIEWS_ANIMATION_SQUARE_INK_DROP_RIPPLE_H_
#include <memory>
#include <string>
#include "... | null | null | null | null | 45,535 |
69,684 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,684 | 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 <stdio.h>
#include <string.h>
#include <sstream>
#include "echo_server.h"
#include "ppapi/cpp/host_resolver.h"
#include "ppapi/cpp/instance... | null | null | null | null | 66,547 |
46,572 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,572 | 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 "ash/system/power/video_activity_notifier.h"
#include <memory>
#include "ash/test/ash_test_base.h"
#include "ash/wm/video_detector.h"
#include ... | null | null | null | null | 43,435 |
8,021 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,021 | 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 <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "net/cert/internal/cert_errors.h"
#include "net/cert/internal/parsed_certificat... | null | null | null | null | 4,884 |
35,735 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,730 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) Nokia Corporation
*
* Written by Timo Kokkonen <timo.t.kokkonen at nokia.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
* (... | null | null | null | null | 109,077 |
51,159 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,159 | 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/events/devices/device_data_manager.h"
#include "base/at_exit.h"
#include "base/bind.h"
#include "base/logging.h"
#include "ui/display/types/... | null | null | null | null | 48,022 |
51,492 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,492 | 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 "ui/events/blink/blink_features.h"
namespace features {
// Enables VSync aligned input for GestureScroll/Pinch on compositor thread.
// Trackin... | null | null | null | null | 48,355 |
53,796 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,796 | 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 ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_
#define ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_
#include <stddef.h>
#inc... | null | null | null | null | 50,659 |
15,223 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,218 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* setup.c, Setup for the IBM WorkPad z50.
*
* Copyright (C) 2002-2006 Yoichi Yuasa <yuasa@linux-mips.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 | 88,565 |
28,697 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,692 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Meta External interrupt code.
*
* Copyright (C) 2005-2012 Imagination Technologies Ltd.
*
* External interrupts on Meta are configured at two-levels, in the CPU core and
* in the external trigger block. Interrupts from SoC peripherals are
* multiplexed onto a single Meta CPU "trigger" - traditionally it has... | null | null | null | null | 102,039 |
34,026 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,026 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/ng/ng_positioned_float.h"
#include "third_party/blink/renderer/core/layout/ng/ng_layout_result.h"
names... | null | null | null | null | 30,889 |
64,315 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,315 | 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_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_
#in... | null | null | null | null | 61,178 |
43,817 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,812 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Internal Header for the Direct Rendering Manager
*
* Copyright 2016 Intel Corporation
*
* Author: Daniel Vetter <daniel.vetter@ffwll.ch>
*
* 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... | null | null | null | null | 117,159 |
13,354 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,349 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/module.h>
#include <linux/string.h>
void *memmove(void *dest, const void *src, size_t n)
{
void *xdest = dest;
size_t temp... | null | null | null | null | 86,696 |
26,084 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,084 | 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.
//
// DeclarativeRule<>, DeclarativeConditionSet<>, and DeclarativeActionSet<>
// templates usable with multiple different declarativeFoo systems. The... | null | null | null | null | 22,947 |
30,942 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,942 | 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/bindings/core/v8/script_module.h"
#include "third_party/blink/renderer/bindings/core/v8/exception_state.h"
#include ... | null | null | null | null | 27,805 |
38,808 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,808 | 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/modules/remoteplayback/remote_playback.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/inc... | null | null | null | null | 35,671 |
14,386 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,381 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __rt_trace_defs_asm_h
#define __rt_trace_defs_asm_h
/*
* This file is autogenerated from
* file: ../../inst/rt_trace/rtl/rt_regs.r
* id: rt_regs.r,v 1.18 2005/02/08 15:45:00 stefans Exp
* last modfied: Mon Apr 11 16:09:14 2005
*
* by /n/asic/design/tools/rdesc/src/rdes2c -... | null | null | null | null | 87,728 |
213 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,341 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required... | null | null | null | null | 72,634 |
13,169 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,164 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* include/asm-alpha/cache.h
*/
#ifndef __ARCH_ALPHA_CACHE_H
#define __ARCH_ALPHA_CACHE_H
/* Bytes per L1 (data) cache line. */
#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6)
# define L1_CACHE_BYTES 64
# define L1_CACHE_SHIFT 6
#else
/* Both EV4 and EV5 are write-through, read-allocate,
... | null | null | null | null | 86,511 |
15,643 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,638 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Carsten Langgaard, carstenl@mips.com
* Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved.
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
* published by the Free Software Foundation.
*
* This... | null | null | null | null | 88,985 |
58,347 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,347 | 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/data_use_measurement/chrome_data_use_ascriber_service_factory.h"
#include "base/bind.h"
#include "chrome/browser/data_use_measur... | null | null | null | null | 55,210 |
43,862 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,857 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 Intel Corporation
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, co... | null | null | null | null | 117,204 |
9,767 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,762 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Support for HTC Magician PDA phones:
* i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110
* and T-Mobile MDA Compact.
*
* Copyright (c) 2006-2007 Philipp Zabel
*
* Based on hx4700.c, spitz.c and others.
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | null | null | null | null | 83,109 |
1,879 | 36 | train_val | 2400ef7b592c31c9883fd1cd60bdea0622e69db3 | 1,879 | Chrome | 1 | https://github.com/chromium/chromium | 2016-04-21 08:16:26+00:00 | void SerializedScriptValue::transferArrayBuffers(v8::Isolate* isolate, const ArrayBufferArray& arrayBuffers, ExceptionState& exceptionState)
{
if (!arrayBuffers.size())
return;
for (size_t i = 0; i < arrayBuffers.size(); ++i) {
if (arrayBuffers[i]->isNeutered()) {
exceptionState.throwDOMException(DataCloneError, "Arra... | CVE-2016-1663 | null | https://github.com/chromium/chromium/commit/2400ef7b592c31c9883fd1cd60bdea0622e69db3 | Medium | 1,879 |
430 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,274 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | // **************************************************************************************
// File: KrbEditRealm.cpp
// By: Arthur David Leather
// Created: 12/02/98
// Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
// Description: CPP file for KrbEditRealm.h. Contains variables and ... | null | null | null | null | 73,582 |
2,994 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,051 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* FITS muxer
* Copyright (c) 2017 Paras Chadha
*
* 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 op... | null | null | null | null | 72,106 |
23,843 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,838 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Fujitsu MB862xx Graphics Controller Registers/Bits
*/
#ifndef _MB862XX_REG_H
#define _MB862XX_REG_H
#define MB862XX_MMIO_BASE 0x01fc0000
#define MB862XX_MMIO_HIGH_BASE 0x03fc0000
#define MB862XX_I2C_BASE 0x0000c000
#define MB862XX_DISP_BASE 0x00010000
#define MB862XX_CAP_BASE 0x00018000
#define MB862XX_DRAW_BA... | null | null | null | null | 97,185 |
55,641 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,641 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chrome_browser_field_trials_desktop.h"
#if defined(OS_WIN)
#include <windows.h>
#endif
#include <map>
#include <string>
#inclu... | null | null | null | null | 52,504 |
34,313 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,313 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_TEXT_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_TEXT_PAINTER_H_
#include "third_party... | null | null | null | null | 31,176 |
54,285 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,285 | 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/installer/setup/user_hive_visitor.h"
#include <vector>
#include "base/bind.h"
#include "base/macros.h"
#include "base/strings/string16.... | null | null | null | null | 51,148 |
823 | 5 | train_val | 54a20552e1eae07aa240fa370a0293e006b5faed | 165,818 | linux | 1 | https://github.com/torvalds/linux | 2015-11-10 12:06:24+01:00 | static void update_exception_bitmap(struct kvm_vcpu *vcpu)
{
u32 eb;
eb = (1u << PF_VECTOR) | (1u << UD_VECTOR) | (1u << MC_VECTOR) |
(1u << NM_VECTOR) | (1u << DB_VECTOR);
if ((vcpu->guest_debug &
(KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP)) ==
(KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP))
eb |= 1u << BP_V... | CVE-2015-5307 | CWE-399 | https://github.com/torvalds/linux/commit/54a20552e1eae07aa240fa370a0293e006b5faed | Low | 3,712 |
34,272 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,272 | 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/paint/box_paint_invalidator.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "th... | null | null | null | null | 31,135 |
6,312 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,312 | 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 CHROMEOS_SERVICES_ASSISTANT_PLATFORM_AUDIO_INPUT_PROVIDER_IMPL_H_
#define CHROMEOS_SERVICES_ASSISTANT_PLATFORM_AUDIO_INPUT_PROVIDER_IMPL_H_
#incl... | null | null | null | null | 3,175 |
15,820 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,815 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Machine dependent access functions for RTC registers.
*
* Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle
* Copyright (C) 2002 Macie... | null | null | null | null | 89,162 |
19,489 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,489 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_
#define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_
#include <memory>
#include... | null | null | null | null | 16,352 |
35,831 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,826 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Watchdog driver for CSR SiRFprimaII and SiRFatlasVI
*
* Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/moduleparam.h>
#include <linux/o... | null | null | null | null | 109,173 |
36,895 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,895 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | null | null | null | null | 33,758 |
7,915 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,915 | 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_CERT_X509_UTIL_NSS_H_
#define NET_CERT_X509_UTIL_NSS_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "net/base/net_... | null | null | null | null | 4,778 |
54,665 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,665 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_CHROMEDRIVER_CHROME_RECORDER_DEVTOOLS_CLIENT_H_
#define CHROME_TEST_CHROMEDRIVER_CHROME_RECORDER_DEVTOOLS_CLIENT_H_
#include <vec... | null | null | null | null | 51,528 |
8,020 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,015 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_IOMMU_H
#define _ASM_X86_IOMMU_H
extern const struct dma_map_ops nommu_dma_ops;
extern int force_iommu, no_iommu;
extern int iommu_detected;
extern int iommu_pass_through;
/* 10 seconds */
#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
#endif /* _ASM_X86_IOMMU_H */
| null | null | null | null | 81,362 |
27,094 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,094 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (C) 2007-2009 Xiph.Org Foundation
Copyright (C) 2003-2008 Jean-Marc Valin
Copyright (C) 2007-2008 CSIRO */
/**
@file fixed_generic.h
@brief Generic fixed-point operations
*/
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... | null | null | null | null | 23,957 |
56,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,709 | 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/chromeos/power/renderer_freezer.h"
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/logging.h"
#inclu... | null | null | null | null | 53,572 |
39,502 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,502 | 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 36,365 |
1,282 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,339 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Bink DSP routines
* Copyright (c) 2009 Konstantin Shishkov
*
* 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, ... | null | null | null | null | 70,394 |
29,540 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,540 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2014-09-08
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
**************************... | null | null | null | null | 26,403 |
36,837 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,837 | 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 33,700 |
12,585 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,585 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h"
#include "base/test/gtest_util.h"
#include "content/... | null | null | null | null | 9,448 |
29,536 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,531 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in t... | null | null | null | null | 102,878 |
36,038 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,033 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Support for virtual IRQ subgroups.
*
* Copyright (C) 2010 Paul Mundt
*
* 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.
*/
#define pr_fmt(fmt) "intc: " fmt
#include <linux/slab.h>
#inc... | null | null | null | null | 109,380 |
925 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,880 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* This program was generated by testconv.rb.
*/
#include<stdio.h>
#ifdef POSIX_TEST
#include "onigposix.h"
#else
#include "oniguruma.h"
#endif
static int nsucc = 0;
static int nfail = 0;
static int nerror = 0;
static FILE* err_file;
#ifndef POSIX_TEST
static OnigRegion* region;
static OnigEncoding ENC;
#endi... | null | null | null | null | 119,801 |
16,641 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,636 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ALPHAPROJECT AP-SH4AD-0A Support.
*
* Copyright (C) 2010 ALPHAPROJECT Co.,Ltd.
* Copyright (C) 2010 Matt Fleming
* Copyright (C) 2010 Paul Mundt
*
* 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 m... | null | null | null | null | 89,983 |
1,081 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,925 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/rcache/rc_none.c */
/*
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government... | null | null | null | null | 74,233 |
30,221 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,216 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the Atmel USBA high speed USB device controller
*
* Copyright (C) 2005-2007 Atmel Corporation
*
* 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 <lin... | null | null | null | null | 103,563 |
3,364 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,359 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/fs/nfs/dir.c
*
* Copyright (C) 1992 Rick Sladkey
*
* nfs directory handling functions
*
* 10 Apr 1996 Added silly rename for unlink --okir
* 28 Sep 1996 Improved directory cache --okir
* 23 Aug 1997 Claus Heine claus@momo.math.rwth-aachen.de
* Re-implemented silly rename for unli... | null | null | null | null | 76,706 |
3,728 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,723 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2004 Erez Zadok
* Copyright (C) 2001-2004 Stony Brook University
* Copyright (C) 2004-2007 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
* Michael C. Thompsion <mcthomps@us.ibm.co... | null | null | null | null | 77,070 |
63,208 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,208 | 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/ui/views/fullscreen_control/fullscreen_control_popup.h"
#include "base/bind.h"
#include "chrome/browser/ui/views/fullscreen_cont... | null | null | null | null | 60,071 |
66,243 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,243 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/providers/cast/cast_media_route_provider_metrics.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/... | null | null | null | null | 63,106 |
35,305 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,305 | 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_CORE_RESIZE_OBSERVER_RESIZE_OBSERVER_CONTROLLER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_RESIZE_OBSERVER_RESIZE_OBSER... | null | null | null | null | 32,168 |
16,295 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,290 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* Copyright (C) 2010 John Crispin <john@phrozen.org>
*/
#ifndef _LANTIQ_H__
#define _LANTIQ_H__
#include <linux/irq.h>
#... | null | null | null | null | 89,637 |
1,144 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,531 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,976 |
34,314 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,314 | 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_PAINT_BOX_CLIPPER_BASE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_BOX_CLIPPER_BASE_H_
#include "third_party... | null | null | null | null | 31,177 |
7,179 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,179 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/core/quic_packets.h"
#include "net/quic/core/quic_utils.h"
#include "net/quic/core/quic_versions.h"
#include "net/quic/platform/ap... | null | null | null | null | 4,042 |
14,473 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,473 | 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/ntp_snippets/contextual/contextual_json_request.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "base/json/js... | null | null | null | null | 11,336 |
36,493 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,488 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Simple USB RGB LED driver
*
* Copyright 2016 Heiner Kallweit <hkallweit1@gmail.com>
* Based on drivers/hid/hid-thingm.c and
* drivers/usb/misc/usbled.c
*
* 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... | null | null | null | null | 109,835 |
63,209 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,209 | 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 "chrome/browser/ui/views/proximity_auth/proximity_auth_error_bubble_view.h"
#include "base/lazy_instance.h"
#include "base/strings/string_util.h... | null | null | null | null | 60,072 |
33,225 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,220 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* NVMe over Fabrics loopback device.
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
*
* 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 p... | null | null | null | null | 106,567 |
61,086 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,086 | 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/android/download/download_controller_base.h"
#include "chrome/common/chrome_content_client.h"
#include "content/public/browser/re... | null | null | null | null | 57,949 |
45,553 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,553 | 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_LOGIN_UI_LOGIN_KEYBOARD_TEST_BASE_H_
#define ASH_LOGIN_UI_LOGIN_KEYBOARD_TEST_BASE_H_
#include <memory>
#include "ash/test/ash_test_base.h"
... | null | null | null | null | 42,416 |
52,158 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,158 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/audio/audio_thread_impl.h"
#include "base/threading/thread_task_runner_handle.h"
namespace media {
AudioThreadImpl::AudioThreadImpl() :... | null | null | null | null | 49,021 |
29,838 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,838 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 |
/*
** This program attempts to test the correctness of some facets of the
** LSM database library. Specifically, that the contents of the database
** are maintained correctly during a series of inserts and deletes.
*/
#include "lsmtest_tdb.h"
#include "lsm.h"
#include "lsmtest.h"
#include <stdlib.h>
#include <stri... | null | null | null | null | 26,701 |
6,975 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,975 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/chromium/quic_proxy_client_socket.h"
#include <cstdio>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#... | null | null | null | null | 3,838 |
41,360 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,355 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* System Trace Module (STM) infrastructure apis
* Copyright (C) 2014 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 i... | null | null | null | null | 114,702 |
54,210 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,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.
//
// This file contains helper functions for getting strings that are included in
// our DLL for all languages (i.e., does not come from our language ... | null | null | null | null | 51,073 |
15,306 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,301 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 Imagination Technologies
* Author: Paul Burton <paul.burton@imgtec.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 ... | null | null | null | null | 88,648 |
1,312 | 2 | train_val | 36773850210becda3d76f27285ecd899fafdfc72 | 1,312 | Chrome | 1 | https://github.com/chromium/chromium | 2013-10-22 20:01:13+00:00 | static v8::Handle<v8::Value> getNamedProperty(HTMLDocument* htmlDocument, const AtomicString& key, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
if (!htmlDocument->hasNamedItem(key.impl()) && !htmlDocument->hasExtraNamedItem(key.impl()))
return v8Undefined();
RefPtr<HTMLCollection> items = htmlDo... | CVE-2013-6624 | CWE-399 | https://github.com/chromium/chromium/commit/36773850210becda3d76f27285ecd899fafdfc72 | Low | 1,312 |
7,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,779 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/url_request/test_url_request_interceptor.h"
#include "base/files/file_util.h"
#include "base/macros.h"
#include "base/task_runner.h"
#i... | null | null | null | null | 4,642 |
11,459 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,459 | 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 "gpu/ipc/gpu_in_process_thread_service.h"
#include "base/lazy_instance.h"
#include "base/threading/thread_task_runner_handle.h"
namespace gpu {... | null | null | null | null | 8,322 |
47,568 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,568 | 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 CC_RESOURCES_DISPLAY_RESOURCE_PROVIDER_H_
#define CC_RESOURCES_DISPLAY_RESOURCE_PROVIDER_H_
#include "build/build_config.h"
#include "cc/output/o... | null | null | null | null | 44,431 |
43,628 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,628 | 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 BASE_FILES_FILE_DESCRIPTOR_WATCHER_POSIX_H_
#define BASE_FILES_FILE_DESCRIPTOR_WATCHER_POSIX_H_
#include <memory>
#include "base/base_export.h"
... | null | null | null | null | 40,491 |
58,566 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,566 | 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_EXTENSIONS_CHROME_TEST_EXTENSION_LOADER_H_
#define CHROME_BROWSER_EXTENSIONS_CHROME_TEST_EXTENSION_LOADER_H_
#include <string>
#i... | null | null | null | null | 55,429 |
23,695 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,695 | 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_BROWSER_SSL_SSL_MANAGER_H_
#define CONTENT_BROWSER_SSL_SSL_MANAGER_H_
#include <memory>
#include <string>
#include "base/macros.h"
#... | null | null | null | null | 20,558 |
3,044 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,612 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* constants for pcie configurations space from pci express spec.
*
* TODO:
* Those constants and macros should go to Linux pci_regs.h
* Once they're merged, they will go away.
*/
#ifndef QEMU_PCIE_REGS_H
#define QEMU_PCIE_REGS_H
/* express capability */
#define PCI_EXP_VER1_SIZEOF 0x14 /* expres... | null | null | null | null | 123,736 |
14,611 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,611 | 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_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_
#include "base/macros.h"
nam... | null | null | null | null | 11,474 |
7,980 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,975 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_WORD_AT_A_TIME_H
#define _ASM_WORD_AT_A_TIME_H
#include <linux/kernel.h>
/*
* This is largely generic for little-endian machines, but the
* optimal byte mask counting is probably going to be something
* that is architecture-specific. If you have a reliably fast
* bit count instruction, that might be ... | null | null | null | null | 81,322 |
5,565 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,565 | 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 PDF_PDFIUM_PDFIUM_ENGINE_H_
#define PDF_PDFIUM_PDFIUM_ENGINE_H_
#include <stddef.h>
#include <stdint.h>
#include <map>
#include <memory>
#in... | null | null | null | null | 2,428 |
68,146 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,146 | 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 "base/test/simple_test_tick_clock.h"
#include "remoting/codec/video_encoder_vpx.h"
#include "remoting/proto/video.pb.h"
#include "remoting/test/c... | null | null | null | null | 65,009 |
11,087 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,087 | 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 is auto-generated from
// gpu/command_buffer/build_gles2_cmd_buffer.py
// It's formatted by clang-format using chromium coding style:
// c... | null | null | null | null | 7,950 |
2,281 | 23,24,25 | train_val | 6ed26f014f76f10e76e80636027a2db9dcbe1664 | 2,281 | Chrome | 1 | https://github.com/chromium/chromium | 2017-12-07 00:36:02+00:00 | void BaseRenderingContext2D::setFillStyle(
const StringOrCanvasGradientOrCanvasPattern& style) {
DCHECK(!style.IsNull());
ValidateStateStack();
String color_string;
CanvasStyle* canvas_style = nullptr;
if (style.IsString()) {
color_string = style.GetAsString();
if (color_string == GetState().UnparsedFillColor())
return... | CVE-2018-6077 | CWE-200 | https://github.com/chromium/chromium/commit/6ed26f014f76f10e76e80636027a2db9dcbe1664 | Medium | 2,281 |
668 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,236 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Simple example of use of vm86: launch a basic .com DOS executable
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <signal.h>
#include <linux/unistd.h>
#include <asm/vm86.h>
extern int vm86 (unsigned long i... | null | null | null | null | 121,360 |
9,345 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,340 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2012, NVIDIA Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope ... | null | null | null | null | 82,687 |
71,174 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,174 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_METRICS_PUBLIC_CPP_DELEGATING_UKM_RECORDER_H_
#define SERVICES_METRICS_PUBLIC_CPP_DELEGATING_UKM_RECORDER_H_
#include <set>
#include "b... | null | null | null | null | 68,037 |
28,596 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,591 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | null | null | null | null | 101,938 |
34,176 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,176 | 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/fetch/blob_bytes_consumer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/rendere... | null | null | null | null | 31,039 |
30,981 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,976 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 IBM Corp.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include <linux/bitops.h>
... | null | null | null | null | 104,323 |
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.