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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27,481 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,481 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | null | null | null | null | 24,344 |
2,729 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,724 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* xfrm_policy.c
*
* Changes:
* Mitsuru KANDA @USAGI
* Kazunori MIYAZAWA @USAGI
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* IPv6 support
* Kazunori MIYAZAWA @USAGI
* YOSHIFUJI Hideaki
* Split up af-specific portion
* Derek Atkins <derek@ihtfp.com> Add the post_input processor
*
*/
#include ... | null | null | null | null | 76,072 |
5,163 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,163 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_LEGACY_TOOLBAR_UTILS_H_
#define IOS_CHROME_BROWSER_UI_TOOLBAR_LEGACY_TOOLBAR_UTILS_H_
#import <UIKit/UIKit.h>
// R... | null | null | null | null | 2,026 |
31,263 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,258 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Amlogic eFuse Driver
*
* Copyright (c) 2016 Endless Computers, Inc.
* Author: Carlo Caione <carlo@endlessm.com>
*
* 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 Foundation.
*
* ... | null | null | null | null | 104,605 |
68,345 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,345 | 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 "remoting/host/server_log_entry_host.h"
#include <memory>
#include "base/strings/stringize_macros.h"
#include "build/build_config.h"
#include "... | null | null | null | null | 65,208 |
32,323 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,318 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*******************************************************************************
* Filename: target_core_stat.c
*
* Modern ConfigFS group context specific statistics based on original
* target_core_mib.c code
*
* (c) Copyright 2006-2013 Datera, Inc.
*
* Nicholas A. Bellinger <nab@linux-iscsi.org>
*
* This pr... | null | null | null | null | 105,665 |
50,044 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,044 | 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 UI_BASE_WIN_ATL_MODULE_H_
#define UI_BASE_WIN_ATL_MODULE_H_
#include <atlbase.h>
#include <atlcom.h>
#include "base/compiler_specific.h"
#in... | null | null | null | null | 46,907 |
54,475 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,475 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_BASE_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_
#define CHROME_TEST_BASE_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_
#include <functio... | null | null | null | null | 51,338 |
26,307 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,302 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* drivers/gpu/drm/omapdrm/omap_connector.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
* ... | null | null | null | null | 99,649 |
52,965 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,965 | 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.
// Contains limit definition constants for the media subsystem.
#ifndef MEDIA_BASE_LIMITS_H_
#define MEDIA_BASE_LIMITS_H_
#include "build/build_conf... | null | null | null | null | 49,828 |
1,393 | 3 | train_val | 1161a49d663dd395bd639549c2dfe7324f847938 | 1,393 | Chrome | 1 | https://github.com/chromium/chromium | 2014-01-13 18:22:22+00:00 | int HomeButton::OnPerformDrop(const ui::DropTargetEvent& event) {
GURL new_homepage_url;
base::string16 title;
if (event.data().GetURLAndTitle(&new_homepage_url, &title) &&
new_homepage_url.is_valid()) {
PrefService* prefs = browser_->profile()->GetPrefs();
bool old_is_ntp = prefs->GetBoolean(prefs::kHomePageIsNewTab... | null | null | https://github.com/chromium/chromium/commit/1161a49d663dd395bd639549c2dfe7324f847938 | null | 1,393 |
26,125 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,125 | 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 "extensions/browser/api/feedback_private/feedback_service.h"
#include <utility>
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#i... | null | null | null | null | 22,988 |
21,664 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,664 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/pepper/ppb_video_decoder_impl.h"
#include <string>
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
... | null | null | null | null | 18,527 |
69,822 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,822 | 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 "device/bluetooth/bluetooth_socket_thread.h"
#include "base/lazy_instance.h"
#include "base/message_loop/message_loop.h"
#include "base/sequence... | null | null | null | null | 66,685 |
17,581 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,576 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/xtensa/kernel/signal.c
*
* Default platform functions.
*
* 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) 2005, 2006 Tensilica Inc.
* Copyright (C) 1991, 1992 L... | null | null | null | null | 90,923 |
59,940 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,940 | 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/metrics/tab_reactivation_tracker.h"
#include "base/stl_util.h"
#include "content/public/browser/web_contents_observer.h"
namesp... | null | null | null | null | 56,803 |
40,780 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,775 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* BSD Process Accounting for Linux - Definitions
*
* Author: Marco van Wieringen (mvw@planets.elm.net)
*
* This header file contains the definitions needed to implement
* BSD-style process accounting. The kernel accounting code and all
* user-level programs that try to do something useful with the
* pr... | null | null | null | null | 114,122 |
31,800 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,800 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/css/properties/shorthands/border_color.h"
#include "third_party/blink/renderer/core/css/parser/css_property_par... | null | null | null | null | 28,663 |
20,018 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,018 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/web_preferences.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build... | null | null | null | null | 16,881 |
4,443 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,438 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) International Business Machines Corp., 2000-2004
* Copyright (C) Christoph Hellwig, 2002
*
* 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 o... | null | null | null | null | 77,785 |
43,247 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,242 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* nilfs2_ondisk.h - NILFS2 on-disk structures
*
* Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either ve... | null | null | null | null | 116,589 |
41,327 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,327 | 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 "tools/gn/source_file_type.h"
#include "tools/gn/filesystem_utils.h"
#include "tools/gn/source_file.h"
SourceFileType GetSourceFileType(const S... | null | null | null | null | 38,190 |
22,562 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,562 | 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 "cursor_manager.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
namespace content {
CursorManager::CursorManage... | null | null | null | null | 19,425 |
31,691 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,691 | 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 "third_party/blink/renderer/core/css/css_custom_property_declaration.h"
#include "third_party/blink/renderer/core/css/cssom/css_unparsed_value.h"... | null | null | null | null | 28,554 |
13 | 4 | train_val | c94f9e854228e0ea00e1de8769d8d3f7cab84a55 | 153,070 | FFmpeg | 1 | https://github.com/FFmpeg/FFmpeg | 2013-08-09 13:47:10+02:00 | int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
{
void **ptrptr = ptr;
*ptrptr = av_realloc_f(*ptrptr, nmemb, size);
if (!*ptrptr && !(nmemb && size))
return AVERROR(ENOMEM);
return 0;
}
| CVE-2013-4265 | null | https://github.com/FFmpeg/FFmpeg/commit/c94f9e854228e0ea00e1de8769d8d3f7cab84a55 | Low | 2,522 |
37,414 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,409 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 Emilio López
*
* Emilio López <emilio@elopez.com.ar>
*
* 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 late... | null | null | null | null | 110,756 |
9,519 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,519 | 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 "net/socket/tcp_socket.h"
#include <errno.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include "base/atomicops.h"
#include "base/bind.h... | null | null | null | null | 6,382 |
35,900 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,895 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/message/fusion/mptfc.c
* For use with LSI PCI chip/adapter(s)
* running LSI Fusion MPT (Message Passing Technology) firmware.
*
* Copyright (c) 1999-2008 LSI Corporation
* (mailto:DL-MPTFusionLinux@lsi.com)
*
*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | null | null | null | null | 109,242 |
35,587 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,587 | 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_EDITING_MARKERS_MARKER_TEST_UTILITIES_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_MARKER_TEST_UTILI... | null | null | null | null | 32,450 |
44,166 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,161 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
* licensing only applies to this file, and not this project as a
* whole.
*
* a) This file is free ... | null | null | null | null | 117,508 |
23,059 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,059 | 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/browser/service_worker/service_worker_context_core.h"
#include <limits>
#include <set>
#include <utility>
#include "base/barrier_closu... | null | null | null | null | 19,922 |
31,994 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,989 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Support for the GPIO/IRQ expander chips present on several HTC phones.
* These are implemented in CPLD chips present on the board.
*
* Copyright (c) 2007 Kevin O'Connor <kevin@koconnor.net>
* Copyright (c) 2007 Philipp Zabel <philipp.zabel@gmail.com>
*
* This file may be distributed under the terms of the G... | null | null | null | null | 105,336 |
49,721 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,721 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_AURA_TEST_AURA_TEST_UTILS_H_
#define UI_AURA_TEST_AURA_TEST_UTILS_H_
#include <memory>
#include "base/macros.h"
namespace gfx {
class Point;... | null | null | null | null | 46,584 |
26,652 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,647 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2011 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,994 |
31,861 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,856 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Id: isdn_concap.c,v 1.1.2.2 2004/01/12 22:37:19 keil Exp $
*
* Linux ISDN subsystem, protocol encapsulation
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
*/
/* Stuff to support the concap_proto by isdn4linux. isd... | null | null | null | null | 105,203 |
14,135 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,130 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* sys_parisc32.c: Conversion between 32bit and 64bit native syscalls.
*
* Copyright (C) 2000-2001 Hewlett Packard Company
* Copyright (C) 2000 John Marvin
* Copyright (C) 2001 Matthew Wilcox
* Copyright (C) 2014 Helge Deller <deller@gmx.de>
*
* These routines maintain argument size conversion between 32bit a... | null | null | null | null | 87,477 |
9,238 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,233 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file contains the processor specific definitions of the TI OMAP34XX.
*
* Copyright (C) 2007 Texas Instruments.
* Copyright (C) 2007 Nokia Corporation.
*
* 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 F... | null | null | null | null | 82,580 |
14,168 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,163 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_IO_H
#define _ASM_IO_H
#include <linux/types.h>
#include <asm/pgtable.h>
#define virt_to_phys(a) ((unsigned long)__pa(a))
#define phys_to_virt(a) __va(a)
#define virt_to_bus virt_to_phys
#define bus_to_virt phys_to_virt
static inline unsigned long isa_bus_to_virt(unsigned long addr) {
BUG();
return 0;... | null | null | null | null | 87,510 |
47,367 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,367 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/trees/layer_tree_host.h"
#include <stdint.h>
#include <climits>
#include "base/bind.h"
#include "cc/animation/animation_curve.h"
#include "... | null | null | null | null | 44,230 |
30,594 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,594 | 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_PUBLIC_PLATFORM_MODULES_PAYMENTS_WEB_CAN_MAKE_PAYMENT_EVENT_DATA_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_PAYMENTS_W... | null | null | null | null | 27,457 |
407 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,794 | 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,239 |
23 | 2,3,4,5,6,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,32,33,34 | train_val | 83c64fce3a5226b080e535f5131a8a318f30e79b | 270,330 | tcpdump | 1 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-13 12:25:44+01:00 | rpki_rtr_print(netdissect_options *ndo, register const u_char *pptr, register u_int len)
{
u_int tlen, pdu_type, pdu_len;
const u_char *tptr;
const rpki_rtr_pdu *pdu_header;
tptr = pptr;
tlen = len;
if (!ndo->ndo_vflag) {
ND_PRINT((ndo, ", RPKI-RTR"));
return;
}
while (tlen >= sizeof(rpki_rtr_pd... | CVE-2017-13050 | CWE-125 | https://github.com/the-tcpdump-group/tcpdump/commit/83c64fce3a5226b080e535f5131a8a318f30e79b | Low | 4,329 |
14,349 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,344 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_CRIS_ARCH_TIMEX_H
#define _ASM_CRIS_ARCH_TIMEX_H
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/timer_defs.h>
/*
* The clock runs at 100MHz, we divide it by 1000000. If you change anything
* here you must check time.c as well.
*/
#define CLOCK_TICK_RATE 100000000 /* Underly... | null | null | null | null | 87,691 |
23,531 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,531 | 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 "content/browser/android/app_web_message_port.h"
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/androi... | null | null | null | null | 20,394 |
994 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,051 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* copyright (c) 2013 Andrew Kelley
*
* 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 lat... | null | null | null | null | 70,106 |
40,470 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,465 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef LINUX_QUICKLIST_H
#define LINUX_QUICKLIST_H
/*
* Fast allocations and disposal of pages. Pages must be in the condition
* as needed after allocation when they are freed. Per cpu lists of pages
* are kept that only contain node local pages.
*
* (C) 2007, SGI. Christoph Lameter <cl@linux.com>
*/
#include <l... | null | null | null | null | 113,812 |
27,109 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,104 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __RPROC_QCOM_COMMON_H__
#define __RPROC_QCOM_COMMON_H__
#include <linux/remoteproc.h>
#include "remoteproc_internal.h"
struct qcom_rproc_subdev {
struct rproc_subdev subdev;
struct device *dev;
struct device_node *node;
struct qcom_smd_edge *edge;
};
struct resource_table *qcom_mdt_find_rsc_table(struct... | null | null | null | null | 100,451 |
22,723 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,718 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TI SYSCON regmap reset driver
*
* Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
* Andrew F. Davis <afd@ti.com>
* Suman Anna <afd@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as... | null | null | null | null | 96,065 |
9,332 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,332 | 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 "net/http/bidirectional_stream_request_info.h"
namespace net {
BidirectionalStreamRequestInfo::BidirectionalStreamRequestInfo()
: priority(... | null | null | null | null | 6,195 |
35,468 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,463 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Driver for Realtek PCI-Express card reader
*
* Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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; either version 2... | null | null | null | null | 108,810 |
49,004 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,004 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GL_ANDROID_SURFACE_TEXTURE_H_
#define UI_GL_ANDROID_SURFACE_TEXTURE_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#include "b... | null | null | null | null | 45,867 |
29,520 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,515 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* thermal.c - sysfs interface of thermal devices
*
* Copyright (C) 2016 Eduardo Valentin <edubezval@gmail.com>
*
* Highly based on original thermal_core.c
* Copyright (C) 2008 Intel Corp
* Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com>
* Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com>
*... | null | null | null | null | 102,862 |
26,302 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,302 | 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.
#include "printing/printing_context_win.h"
#include <stddef.h>
#include <stdint.h>
#include "base/bind.h"
#include "base/message_loop/message_loop.h... | null | null | null | null | 23,165 |
52,491 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,491 | 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 <stdint.h>
#include <memory>
#include "base/macros.h"
#include "media/base/video_frame.h"
#include "media/cdm/api/content_decryption_module.h"
#... | null | null | null | null | 49,354 |
26,591 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,586 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2011 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,933 |
41,698 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,698 | 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 "scoped_refptr.h"
struct Foo {
int dummy;
};
struct HasAScopedRefptr {
scoped_refptr<Foo> member;
const scoped_refptr<Foo>& GetMembe... | null | null | null | null | 38,561 |
65,291 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,291 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_MEDIA_ROUTER_MEDIA_CAST_MODE_H_
#define CHROME_BROWSER_UI_MEDIA_ROUTER_MEDIA_CAST_MODE_H_
#include <set>
#include <string>
nam... | null | null | null | null | 62,154 |
8,639 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,634 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_SCORE_MMAN_H
#define _ASM_SCORE_MMAN_H
#include <asm-generic/mman.h>
#endif /* _ASM_SCORE_MMAN_H */
| null | null | null | null | 81,981 |
30,160 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,155 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* u_ether_configfs.h
*
* Utility definitions for configfs support in USB Ethernet functions
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it... | null | null | null | null | 103,502 |
13,800 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,800 | 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/crash/content/app/fallback_crash_handler_launcher_win.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.... | null | null | null | null | 10,663 |
71,199 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,199 | 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_PREFERENCES_PERSISTENT_PREF_STORE_IMPL_H_
#define SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_IMPL_H_
#include <memory>
#include <set>
#i... | null | null | null | null | 68,062 |
1,422 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,266 | 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/crypto/crypto_tests/t_combine.c - krb5int_c_combine_keys tests */
/*
* Copyright (C) 2014 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification... | null | null | null | null | 74,574 |
580 | 4 | train_val | b8573aa643b03a59f4e2c99c72d3511a11cfb0b6 | 580 | Chrome | 1 | https://github.com/chromium/chromium | 2012-02-17 21:26:36+00:00 | bool GesturePoint::IsSecondClickInsideManhattanSquare(
const TouchEvent& event) const {
int manhattanDistance = abs(event.x() - last_tap_position_.x()) +
abs(event.y() - last_tap_position_.y());
return manhattanDistance < kMaximumTouchMoveInPixelsForClick;
}
| CVE-2011-3094 | CWE-20 | https://github.com/chromium/chromium/commit/b8573aa643b03a59f4e2c99c72d3511a11cfb0b6 | Low | 580 |
2,020 | 67,68 | train_val | 04ff52bb66284467ccb43d90800013b89ee8db75 | 2,020 | Chrome | 1 | https://github.com/chromium/chromium | 2017-02-16 12:36:17+00:00 | void RenderProcessHostImpl::CreateMessageFilters() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
AddFilter(new ResourceSchedulerFilter(GetID()));
MediaInternals* media_internals = MediaInternals::GetInstance();
// Add BrowserPluginMessageFilter to ensure it gets the first stab at messages
// from guests.
scoped_refptr<Brow... | CVE-2015-1265 | null | https://github.com/chromium/chromium/commit/04ff52bb66284467ccb43d90800013b89ee8db75 | Low | 2,020 |
17,993 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,993 | 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_POLICY_POLICY_EXPORT_H_
#define COMPONENTS_POLICY_POLICY_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(POLIC... | null | null | null | null | 14,856 |
37,644 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,644 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* Copyright (C) 2003, 2004, 2006, 2007, 2008 Apple Inc. All right reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; ei... | null | null | null | null | 34,507 |
55,761 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,761 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chrome_process_singleton.h"
#include <utility>
ChromeProcessSingleton::ChromeProcessSingleton(
const base::FilePath& us... | null | null | null | null | 52,624 |
176 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,131 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 |
/* $Id: fpm_status.h 312263 2011-06-18 17:46:16Z felipe $ */
/* (c) 2009 Jerome Loyet */
#ifndef FPM_SCOREBOARD_H
#define FPM_SCOREBOARD_H 1
#include <sys/time.h>
#ifdef HAVE_TIMES
#include <sys/times.h>
#endif
#include "fpm_request.h"
#include "fpm_worker_pool.h"
#include "fpm_atomic.h"
#define FPM_SCOREBOARD_A... | null | null | null | null | 119,052 |
36,312 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,312 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2005 Frerich Raabe <raabe@kde.org>
* Copyright (C) 2006, 2009 Apple Inc.
*
* 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... | null | null | null | null | 33,175 |
1,904 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,961 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* AMR wideband decoder
* Copyright (c) 2010 Marcelo Galvao Povoa
*
* 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 Licen... | null | null | null | null | 71,016 |
30,111 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,106 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* USB Cypress M8 driver
*
* Copyright (C) 2004
* Lonnie Mendez (dignome@gmail.com)
* Copyright (C) 2003,2004
* Neil Whelchel (koyama@firstlight.net)
*
* 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
* ... | null | null | null | null | 103,453 |
40,385 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,380 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT
extern int __initdata init_ohci1394_dma_early;
extern void __init init_ohci1394_dma_on_all_controllers(void);
#endif
| null | null | null | null | 113,727 |
68,184 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,184 | 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 "base/bind.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include ... | null | null | null | null | 65,047 |
30 | 91,92,101,125 | train_val | 2a05c8f813de6f2278827734bf8102291e7484aa | 153,087 | FFmpeg | 1 | https://github.com/FFmpeg/FFmpeg | 2016-12-05 16:15:10-05:00 | static int process_line(URLContext *h, char *line, int line_count,
int *new_location)
{
HTTPContext *s = h->priv_data;
const char *auto_method = h->flags & AVIO_FLAG_READ ? "POST" : "GET";
char *tag, *p, *end, *method, *resource, *version;
int ret;
/* end of header */
if (line[0] == '\0') {
s->end_header = 1;
return ... | CVE-2016-10190 | CWE-119 | https://github.com/FFmpeg/FFmpeg/commit/2a05c8f813de6f2278827734bf8102291e7484aa | Low | 2,539 |
34,956 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,951 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* driver for ENE KB3926 B/C/D/E/F CIR (also known as ENE0XXX)
*
* Copyright (C) 2010 Maxim Levitsky <maximlevitsky@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 v... | null | null | null | null | 108,298 |
317 | 6,7 | train_val | dc7b094a338c6c521f918f478e993f0f74bbea0d | 317 | Chrome | 1 | https://github.com/chromium/chromium | 2011-06-15 06:45:53+00:00 | virtual void SetImePropertyActivated(const std::string& key,
bool activated) {
if (!initialized_successfully_)
return;
DCHECK(!key.empty());
chromeos::SetImePropertyActivated(
input_method_status_connection_, key.c_str(), activated);
}
| CVE-2011-2804 | CWE-399 | https://github.com/chromium/chromium/commit/dc7b094a338c6c521f918f478e993f0f74bbea0d | Low | 317 |
57,702 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,702 | 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 <stddef.h>
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base... | null | null | null | null | 54,565 |
22,401 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,396 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* zcore module to export memory content and register sets for creating system
* dumps on SCSI disks (zfcpdump). The "zcore/mem" debugfs file shows the same
* dump format as s390 standalone dumps.
*
* For more information please refer to Documentation/s390/zfcpdump.txt
*
* Copyright IBM Corp. 2003, 2008
* Aut... | null | null | null | null | 95,743 |
46,160 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,160 | 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 "ash/wm/overview/window_grid.h"
#include <algorithm>
#include <functional>
#include <memory>
#include <set>
#include <utility>
#include <vector>... | null | null | null | null | 43,023 |
2,768 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,336 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /* Decimal context module for the decNumber C Library.
Copyright (C) 2005, 2007 Free Software Foundation, Inc.
Contributed by IBM Corporation. Author Mike Cowlishaw.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public Licen... | null | null | null | null | 123,460 |
19,836 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,836 | 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 "content/public/test/fake_download_item.h"
#include "base/bind.h"
#include "base/callback.h"
#include "net/http/http_response_headers.h"
namesp... | null | null | null | null | 16,699 |
39,394 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,389 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ECB: Electronic CodeBook mode
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (a... | null | null | null | null | 112,736 |
22,842 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,842 | 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 "content/browser/renderer_host/media/render_frame_audio_input_stream_factory.h"
#include <utility>
#include "base/feature_list.h"
#include "bas... | null | null | null | null | 19,705 |
38,741 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,736 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ucon.c
*
* Copyright (c) 2004+ Evgeniy Polyakov <zbr@ioremap.net>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any la... | null | null | null | null | 112,083 |
72,269 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,269 | 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 SERVICES_NETWORK_PUBLIC_CPP_CORS_PREFLIGHT_CACHE_H_
#define SERVICES_NETWORK_PUBLIC_CPP_CORS_PREFLIGHT_CACHE_H_
#include <map>
#include <memory>
... | null | null | null | null | 69,132 |
5,206 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,206 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_PRIVACY_COLLECTION_VIEW_CONTROLLER_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_PRIVACY_COLLECTION_VIEW_CONTROLLER_H_
... | null | null | null | null | 2,069 |
18,954 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,949 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*******************************************************************************
* This file contains tcm implementation using v4 configfs fabric infrastructure
* for QLogic target mode HBAs
*
* (c) Copyright 2010-2013 Datera, Inc.
*
* Author: Nicholas A. Bellinger <nab@daterainc.com>
*
* tcm_qla2xxx_parse_wwn(... | null | null | null | null | 92,296 |
47,869 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,869 | 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/web_dialogs/test/test_web_dialog_delegate.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
using content::... | null | null | null | null | 44,732 |
2,361 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,929 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* graphics passthrough
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "xen_pt.h"
#include "xen-host-pci-device.h"
#include "hw/xen/xen_backend.h"
static unsigned long igd_guest_opregion;
static unsigned long igd_host_opregion;
#define XEN_PCI_INTEL_OPREGION_MASK 0xfff
typedef struct VGARegion {
... | null | null | null | null | 123,053 |
15,161 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,156 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2004, 2006 MIPS Technologies, Inc. All rights reserved.
* Author: Maciej W. Rozycki <macro@mips.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 versi... | null | null | null | null | 88,503 |
22,378 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,378 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/tracing/file_tracing_provider_impl.h"
#include "base/files/file_path.h"
#include "base/trace_event/trace_event.h"
namespace co... | null | null | null | null | 19,241 |
65,083 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,083 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/extensions/accelerator_priority.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/accelerator_utils.h... | null | null | null | null | 61,946 |
10,770 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,765 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* pci_psycho.c: PSYCHO/U2P specific PCI controller support.
*
* Copyright (C) 1997, 1998, 1999, 2007 David S. Miller (davem@davemloft.net)
* Copyright (C) 1998, 1999 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 1999 Jakub Jelinek (jakub@redhat.com)
*/
#include <linux/kernel.h>
#include <linux/types.h>
#incl... | null | null | null | null | 84,112 |
24,026 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,026 | 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/media/capture/web_contents_audio_muter.h"
#include <memory>
#include <set>
#include "base/bind.h"
#include "base/bind_helpers.... | null | null | null | null | 20,889 |
47,478 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,478 | 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 <vector>
#include "base/memory/ptr_util.h"
#include "cc/base/region.h"
#include "cc/raster/raster_source.h"
#include "cc/test/fake_content_layer... | null | null | null | null | 44,341 |
18,405 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,405 | 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/download/internal/background_service/client_set.h"
#include "components/download/internal/background_service/debugging_client.h"
nam... | null | null | null | null | 15,268 |
11,114 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,114 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file contains the GLES2DecoderPassthroughImpl class.
#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
#define GPU_COMMAND_... | null | null | null | null | 7,977 |
948 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,792 | 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/gssapi/generic/oid_ops.c */
/*
* Copyright 1995 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 Governm... | null | null | null | null | 74,100 |
1,152 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,209 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* H.263 parser
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... | null | null | null | null | 70,264 |
28,176 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,171 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TI OMAP4 ISS V4L2 Driver - Generic video node
*
* Copyright (C) 2012 Texas Instruments, Inc.
*
* Author: Sergio Aguirre <sergio.a.aguirre@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 So... | null | null | null | null | 101,518 |
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.