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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38,269 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,269 | 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 | 35,132 |
6,518 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,518 | 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/network/portal_detector/network_portal_detector_stub.h"
namespace chromeos {
NetworkPortalDetectorStub::NetworkPortalDetectorStub() =... | null | null | null | null | 3,381 |
32,397 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,397 | 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/leak_detector/blink_leak_detector.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_pa... | null | null | null | null | 29,260 |
19,842 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,842 | 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_PUBLIC_TEST_BROWSER_TEST_H_
#define CONTENT_PUBLIC_TEST_BROWSER_TEST_H_
// We only want to use InProcessBrowserTest in test targets w... | null | null | null | null | 16,705 |
14,764 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,764 | 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_EXO_SURFACE_OBSERVER_H_
#define COMPONENTS_EXO_SURFACE_OBSERVER_H_
namespace exo {
class Surface;
// Observers can listen to various ... | null | null | null | null | 11,627 |
33,971 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,966 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
Mantis VP-1034 driver
Copyright (C) Manu Abraham (abraham.manu@gmail.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 later vers... | null | null | null | null | 107,313 |
16,583 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,583 | 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_INVALIDATION_IMPL_OBJECT_ID_INVALIDATION_MAP_TEST_UTIL_H_
#define COMPONENTS_INVALIDATION_IMPL_OBJECT_ID_INVALIDATION_MAP_TEST_UTIL_H_
... | null | null | null | null | 13,446 |
53,760 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,760 | 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 "android_webview/common/aw_resource.h"
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/android/scope... | null | null | null | null | 50,623 |
13,668 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,668 | 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/metrics/net/network_metrics_provider.h"
#include <stdint.h>
#include <string>
#include <vector>
#include "base/bind_helpers.h"
#in... | null | null | null | null | 10,531 |
13,707 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,702 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fo... | null | null | null | null | 87,049 |
25,087 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,082 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2016 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,429 |
34,929 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,924 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the Auvitek USB bridge
*
* Copyright (c) 2008 Steven Toth <stoth@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 Foundation; either version 2 of the License, or
*... | null | null | null | null | 108,271 |
3,276 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,333 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Dynamic Adaptive Streaming over HTTP demux
* Copyright (c) 2017 samsamsam@o2.pl based on HLS demux
* Copyright (c) 2017 Steven Liu
*
* 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 publishe... | null | null | null | null | 72,388 |
562 | 9 | train_val | 58ffd25567098d8ce9443b7c977382929d163b3d | 562 | Chrome | 1 | https://github.com/chromium/chromium | 2012-01-10 19:50:40+00:00 | static void setPathFromConvexPoints(SkPath* path, size_t numPoints, const FloatPoint* points)
{
path->incReserve(numPoints);
path->moveTo(WebCoreFloatToSkScalar(points[0].x()),
WebCoreFloatToSkScalar(points[0].y()));
for (size_t i = 1; i < numPoints; ++i) {
path->lineTo(WebCoreFloatToSkScalar(points[i].x()),
WebCoreFlo... | CVE-2011-3927 | CWE-19 | https://github.com/chromium/chromium/commit/58ffd25567098d8ce9443b7c977382929d163b3d | Low | 562 |
32,704 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,699 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 1998-1999 Andrzej Krzysztofowicz, Author and Maintainer
* Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat
* Copyright (C) 2006-2007 MontaVista Software, Inc. <source@mvista.com>
*
* May be copied or modified under the terms of the GNU General Public... | null | null | null | null | 106,046 |
5,277 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,277 | 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 "ios/chrome/browser/translate/translate_service_ios.h"
#include "base/logging.h"
#include "components/translate/core/browser/translate_download_... | null | null | null | null | 2,140 |
5,614 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,614 | 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/command_broker.h"
#include <stddef.h>
#include <stdint.h>
#include "base/bind.h"
#include "base/logging.h"
#include "chromeos/... | null | null | null | null | 2,477 |
10,143 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,143 | 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 "chromecast/browser/cast_navigation_ui_data.h"
#include "content/public/browser/web_contents.h"
namespace chromecast {
namespace shell {
namesp... | null | null | null | null | 7,006 |
17,583 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,583 | 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 COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_
#include <v... | null | null | null | null | 14,446 |
4,237 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,232 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* Copyright (c) 2013 Red Hat, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is ... | null | null | null | null | 77,579 |
16,982 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,977 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1999 by Kaz Kojima
*
* Defitions for the address spaces of the SH-4 CPUs.
*/
#ifndef __ASM_CPU_SH4_ADDRSPACE_H
#define __... | null | null | null | null | 90,324 |
24,074 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,069 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2007, Intel 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 hop... | null | null | null | null | 97,416 |
3,043 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,611 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU Common PCI Host bridge configuration data space access routines.
*
* Copyright (c) 2006 Fabrice Bellard
*
* 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,... | null | null | null | null | 123,735 |
43,418 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,418 | 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/task_scheduler/task_scheduler_impl.h"
#include <stddef.h>
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
... | null | null | null | null | 40,281 |
23,680 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,680 | 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 "content/browser/compositor/software_browser_compositor_output_surface.h"
#include <utility>
#include "base/macros.h"
#include "base/memory/ptr... | null | null | null | null | 20,543 |
69,488 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,488 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* pthread_rwlock_trywrlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1... | null | null | null | null | 66,351 |
39,165 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,160 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This module provides an interface to trigger and test firmware loading.
*
* It is designed to be used for basic evaluation of the firmware loading
* subsystem (for example when validating firmware verification). It lacks
* any extra dependencies, and will not normally be loaded by the system
* unless explici... | null | null | null | null | 112,507 |
42,704 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,699 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NET_TC_SAMPLE_H
#define __NET_TC_SAMPLE_H
#include <net/act_api.h>
#include <linux/tc_act/tc_sample.h>
#include <net/psample.h>
struct tcf_sample {
struct tc_action common;
u32 rate;
bool truncate;
u32 trunc_size;
struct psample_group __rcu *psample_group;
u32 psample_group_num;
struct list_head tcfm... | null | null | null | null | 116,046 |
38,013 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,013 | 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_PLATFORM_GRAPHICS_COMPOSITING_PAINT_CHUNKS_TO_CC_LAYER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_COMPOSIT... | null | null | null | null | 34,876 |
35,499 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,499 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2004, 2008, 2009, 2010 Apple 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 li... | null | null | null | null | 32,362 |
5,506 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,501 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Au12x0/Au1550 PSC ALSA ASoC audio support.
*
* (c) 2007-2009 MSC Vertriebsges.m.b.H.,
* Manuel Lauss <manuel.lauss@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundat... | null | null | null | null | 78,848 |
31,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,330 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/origin_trials/origin_trial_context.h"
#include "third_party/blink/public/common/origin_trials/trial_token.h"
#i... | null | null | null | null | 28,193 |
26,021 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,016 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2016 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,363 |
15,755 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,750 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2002, 2004, 2007 by Ralf Baechle
* Copyright (C) 2007 Maciej W. Rozycki
*/
#ifndef _ASM_WAR_H
#define _ASM_WAR_H
#includ... | null | null | null | null | 89,097 |
42,877 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,872 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* HD-Audio helpers to sync with i915 driver
*/
#ifndef __SOUND_HDA_I915_H
#define __SOUND_HDA_I915_H
#include <drm/i915_component.h>
#ifdef CONFIG_SND_HDA_I915
int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
int snd_hdac_display_power(struct hdac_bus *bus, bool enable);
void snd_hdac_i915_set_b... | null | null | null | null | 116,219 |
2,893 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,461 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /**
* Summary: library of generic URI related routines
* Description: library of generic URI related routines
* Implements RFC 2396
*
* Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software ... | null | null | null | null | 123,585 |
19,622 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,617 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* bnx2x_stats.c: QLogic Everest network driver.
*
* Copyright (c) 2007-2013 Broadcom Corporation
* Copyright (c) 2014 QLogic Corporation
* All rights reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | null | null | null | null | 92,964 |
4,376 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,371 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* dlmconvert.c
*
* underlying calls for lock conversion
*
* Copyright (C) 2004 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* L... | null | null | null | null | 77,718 |
342 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,729 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2006-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,174 |
1,551 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,506 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+--------------... | null | null | null | null | 120,427 |
8,575 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,570 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_SCORE_PTRACE_H
#define _ASM_SCORE_PTRACE_H
#include <uapi/asm/ptrace.h>
struct task_struct;
/*
* Does the process account for user or for system time?
*/
#define user_mode(regs) ((regs->cp0_psr & 8) == 8)
#define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc)
#define profile_pc(regs) i... | null | null | null | null | 81,917 |
46,819 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,819 | 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 ASH_SYSTEM_NETWORK_VPN_LIST_H_
#define ASH_SYSTEM_NETWORK_VPN_LIST_H_
#include <string>
#include <vector>
#include "ash/ash_export.h"
#include "... | null | null | null | null | 43,682 |
569 | 6,90,91,92,93,94,95,96,97,98,99,100,101,115 | train_val | f3d3342602f8bcbf37d7c46641cb9bca7618eb1c | 165,564 | linux | 1 | https://github.com/torvalds/linux | 2013-11-20 21:52:30-05:00 | static int packet_recvmsg(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, size_t len, int flags)
{
struct sock *sk = sock->sk;
struct sk_buff *skb;
int copied, err;
struct sockaddr_ll *sll;
int vnet_hdr_len = 0;
err = -EINVAL;
if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT|MSG_ERRQUEUE))
g... | CVE-2013-7271 | CWE-20 | https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c | Low | 3,458 |
17,413 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,408 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/unicore32/include/asm/ptrace.h
*
* Code specific to PKUnity SoC and UniCore ISA
*
* Copyright (C) 2001-2010 GUAN Xue-tao
*
* 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 ... | null | null | null | null | 90,755 |
48,649 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,649 | 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/views/animation/ink_drop_host_view.h"
#include "base/memory/ptr_util.h"
#include "ui/events/event.h"
#include "ui/events/scoped_target_handl... | null | null | null | null | 45,512 |
7,138 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,133 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2007-2009 PetaLogix
* Copyright (C) 2007 John Williams <john.williams@petalogix.com>
*
* 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
... | null | null | null | null | 80,480 |
58,520 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,520 | 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/ntp_tiles/chrome_most_visited_sites_factory.h"
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/callb... | null | null | null | null | 55,383 |
6,677 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,672 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _PTRACE32_H
#define _PTRACE32_H
#include <asm/ptrace.h> /* needed for NUM_CR_WORDS */
#include "compat_linux.h" /* needed for psw_compat_t */
struct compat_per_struct_kernel {
__u32 cr9; /* PER control bits */
__u32 cr10; /* PER starting address */
__u32 cr11; /* PER ending address */
__u32 bits; ... | null | null | null | null | 80,019 |
60,345 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,345 | 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_HISTORY_HISTORY_TAB_HELPER_H_
#define CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_
#include "base/macros.h"
#include "base/mem... | null | null | null | null | 57,208 |
52,984 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,984 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/macros.h"
#include "base/numerics/math_constants.h"
#include "... | null | null | null | null | 49,847 |
20,977 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,977 | 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 "content/renderer/resizing_mode_selector.h"
#include "content/common/view_messages.h"
#include "content/renderer/render_thread_impl.h"
#include ... | null | null | null | null | 17,840 |
42,191 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,191 | 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 TESTING_LIBFUZZER_FUZZERS_COLOR_SPACE_DATA_H
#define TESTING_LIBFUZZER_FUZZERS_COLOR_SPACE_DATA_H
static const char kSRGBData[] = {
// sRGB p... | null | null | null | null | 39,054 |
66,950 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,950 | 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 CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_
#define CHROME_BROWSER_RECOVERY_RECOVERY_INSTALL_GLOBAL_ERROR_H_
#include <vector>
... | null | null | null | null | 63,813 |
25,369 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,369 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
#define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
#include <memory>
#include <set>
#include <string>
#include <... | null | null | null | null | 22,232 |
393 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,780 | 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,225 |
14,274 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,274 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_CRONET_ANDROID_IO_BUFFER_WITH_BYTE_BUFFER_H_
#define COMPONENTS_CRONET_ANDROID_IO_BUFFER_WITH_BYTE_BUFFER_H_
#include <jni.h>
#includ... | null | null | null | null | 11,137 |
19,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,709 | 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_SYNC_PREFERENCES_PREF_MODEL_ASSOCIATOR_CLIENT_H_
#define COMPONENTS_SYNC_PREFERENCES_PREF_MODEL_ASSOCIATOR_CLIENT_H_
#include <string>... | null | null | null | null | 16,572 |
40,946 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,946 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,809 |
43,931 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,926 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Shared async block cipher helpers
*/
#ifndef _CRYPTO_ABLK_HELPER_H
#define _CRYPTO_ABLK_HELPER_H
#include <linux/crypto.h>
#include <linux/kernel.h>
#include <crypto/cryptd.h>
struct async_helper_ctx {
struct cryptd_ablkcipher *cryptd_tfm;
};
extern int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *... | null | null | null | null | 117,273 |
21,946 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,946 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_SINGLE_REQUEST_URL_LOADER_FACTORY_H_
#define CONTENT_COMMON_SINGLE_REQUEST_URL_LOADER_FACTORY_H_
#include "services/network/public... | null | null | null | null | 18,809 |
31,488 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,488 | 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_CSS_FONT_FACE_SET_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_FACE_SET_H_
#include "base/macros.h"
#incl... | null | null | null | null | 28,351 |
38,658 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,658 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | null | null | null | null | 35,521 |
17,954 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,949 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 ARM Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANT... | null | null | null | null | 91,296 |
13,552 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,552 | 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_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_
#define COMPONENTS_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_
#include <vector>
#i... | null | null | null | null | 10,415 |
8,428 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,428 | 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 NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_VERSION_H_
#define NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_VERSION_H_
#include <stdint.h>
namespace disk_cache... | null | null | null | null | 5,291 |
19,090 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,085 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it un... | null | null | null | null | 92,432 |
23,216 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,211 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* cb710/cb710-mmc.h
*
* Copyright by Michał Mirosław, 2008-2009
*
* 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 LINUX_CB710_MMC_H
#define LINUX_CB710_MMC_H
#... | null | null | null | null | 96,558 |
21,787 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,782 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2014 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,129 |
48,280 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,280 | 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 "ui/views/test/test_widget_observer.h"
#include "base/logging.h"
#include "ui/views/widget/widget.h"
namespace views {
namespace test {
Te... | null | null | null | null | 45,143 |
20,234 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,234 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
#include "base/callback... | null | null | null | null | 17,097 |
42,429 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,424 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __LINUX_NET_AFUNIX_H
#define __LINUX_NET_AFUNIX_H
#include <linux/socket.h>
#include <linux/un.h>
#include <linux/mutex.h>
#include <net/sock.h>
void unix_inflight(struct user_struct *user, struct file *fp);
void unix_notinflight(struct user_struct *user, struct file *fp);
void unix_gc(void);
void wait_for_un... | null | null | null | null | 115,771 |
12,172 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,172 | 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 COMPONENTS_DRIVE_CHROMEOS_REMOVE_STALE_CACHE_FILES_H_
#define COMPONENTS_DRIVE_CHROMEOS_REMOVE_STALE_CACHE_FILES_H_
namespace drive{
namespac... | null | null | null | null | 9,035 |
24,821 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,821 | 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/renderer/scripts_run_info.h"
#include "base/metrics/histogram_macros.h"
#include "content/public/renderer/render_frame.h"
#include "... | null | null | null | null | 21,684 |
72,041 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,041 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LINUX_H_
#define SERVICES_DEVICE_GENERIC_SENSOR_PUBLIC_PLATFORM_SENSOR_PROVIDER_LIN... | null | null | null | null | 68,904 |
5,735 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,730 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* rt5514.h -- RT5514 ALSA SoC audio driver
*
* Copyright 2015 Realtek Microelectronics
* Author: Oder Chiou <oder_chiou@realtek.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software ... | null | null | null | null | 79,077 |
16,544 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,544 | 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.
//
// Simple system resources class that uses the current thread for scheduling.
// Assumes the current thread is already running tasks.
#ifndef COMPONENT... | null | null | null | null | 13,407 |
71,788 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,788 | 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 "services/ui/ws/event_dispatcher_impl.h"
#include "base/debug/debugger.h"
#include "services/ui/public/interfaces/window_tree_constants.mojom.h"... | null | null | null | null | 68,651 |
16,798 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,798 | 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/browsing_data/content/counters/site_settings_counter.h"
#include <set>
#include "build/build_config.h"
#include "components/browsing... | null | null | null | null | 13,661 |
5,831 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,831 | 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 CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_
#define CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_
#include <stdint.h>
#include <string>
#include "base/ca... | null | null | null | null | 2,694 |
16,017 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,012 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /***********************license start***************
* Author: Cavium Networks
*
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
* Copyright (c) 2003-2012 Cavium Networks
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | null | null | null | null | 89,359 |
7,999 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,994 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_MSR_INDEX_H
#define _ASM_X86_MSR_INDEX_H
/*
* CPU model specific register (MSR) numbers.
*
* Do not add new entries to this file unless the definitions are shared
* between multiple compilation units.
*/
/* x86-64 specific MSRs */
#define MSR_EFER 0xc0000080 /* extended feature register */
#def... | null | null | null | null | 81,341 |
36,332 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,327 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/devfreq/governor_simpleondemand.c
*
* 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 Softwar... | null | null | null | null | 109,674 |
2,025 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,593 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* OpenPIC emulation
*
* Copyright (c) 2004 Jocelyn Mayer
* 2011 Alexander Graf
*
* 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 withou... | null | null | null | null | 122,717 |
32,619 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,619 | 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_INPUT_GESTURE_MANAGER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_INPUT_GESTURE_MANAGER_H_
#include "base/macros.h... | null | null | null | null | 29,482 |
5,678 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,678 | 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 "chromeos/dbus/dbus_clients_common.h"
#include "base/command_line.h"
#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/biod/biod_c... | null | null | null | null | 2,541 |
45,133 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,133 | 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 <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <algorithm>
#include <cmath>
#include "ppapi/c/ppb_gamepad.h"... | null | null | null | null | 41,996 |
10,183 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,178 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-ep93xx/include/mach/irqs.h
*/
#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H
#define IRQ_EP93XX_COMMRX 2
#define IRQ_EP93XX_COMMTX 3
#define IRQ_EP93XX_TIMER1 4
#define IRQ_EP93XX_TIMER2 5
#define IRQ_EP93XX_AACINTR 6
#define IRQ_EP93XX_DMAM2P0 7
#define IRQ_EP93XX_DMAM2P1 8
#define I... | null | null | null | null | 83,525 |
15,801 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,801 | 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 COMPONENTS_SYNC_SYNCABLE_MODEL_NEUTRAL_MUTABLE_ENTRY_H_
#define COMPONENTS_SYNC_SYNCABLE_MODEL_NEUTRAL_MUTABLE_ENTRY_H_
#include <stddef.h>
#incl... | null | null | null | null | 12,664 |
7,894 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,894 | 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 intentionally does not have header guards, it's included
// inside a macro to generate enum values. The following line silences a
// presubmi... | null | null | null | null | 4,757 |
3,324 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,324 | 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 "storage/browser/fileapi/sandbox_file_system_backend_delegate.h"
#include <memory>
#include "base/files/file.h"
#include "base/files/file_util.... | null | null | null | null | 187 |
37,650 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,650 | 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/platform/text/character_property_data_generator.h"
#include <stdio.h>
#include <cassert>
#include <cstring>
#include... | null | null | null | null | 34,513 |
21,535 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,535 | 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_STREAM_MEDIA_STREAM_DEVICE_OBSERVER_H_
#define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_DEVICE_OBSERVER_H_
#include ... | null | null | null | null | 18,398 |
34,783 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,778 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* DVB USB compliant Linux driver for the Friio USB2.0 ISDB-T receiver.
*
* Copyright (C) 2009 Akihiro Tsukada <tskd2@yahoo.co.jp>
*
* This module is based off the the gl861 and vp702x modules.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public... | null | null | null | null | 108,125 |
23,771 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,766 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/video/fb_cmdline.c
*
* Copyright (C) 2014 Intel Corp
* Copyright (C) 1994 Martin Schaller
*
* 2001 - Documented with DocBook
* - Brad Douglas <brad@neruo.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main direc... | null | null | null | null | 97,113 |
67,029 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,029 | 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_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_
#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_
#include <set>
#include... | null | null | null | null | 63,892 |
44,795 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,795 | 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 "build/build_config.h"
// We need nacl_irt_start injection in SFI mode. Non-SFI has a different
// start up procedure so we just exclude it.
#if... | null | null | null | null | 41,658 |
2,808 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,865 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2016 Google Inc.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later... | null | null | null | null | 71,920 |
38,885 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,885 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | null | null | null | null | 35,748 |
61,891 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,891 | 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_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_
#in... | null | null | null | null | 58,754 |
33,684 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,684 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | null | null | null | null | 30,547 |
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.