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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,855 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,855 | 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_UI_COMMON_ACCELERATOR_UTIL_H_
#define SERVICES_UI_COMMON_ACCELERATOR_UTIL_H_
#include "services/ui/public/interfaces/event_matcher.mojom... | null | null | null | null | 68,718 |
22,728 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,728 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_
#include "cc/input/touch_action.h... | null | null | null | null | 19,591 |
25,046 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,046 | 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 EXTENSIONS_COMMON_URL_PATTERN_SET_H_
#define EXTENSIONS_COMMON_URL_PATTERN_SET_H_
#include <stddef.h>
#include <iosfwd>
#include <memory>
#i... | null | null | null | null | 21,909 |
2,819 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,814 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Interface handling
*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright (c) 2006 Jiri Benc <jbenc@suse.cz>
* Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
* Copyright 2013-2014 Intel Mobile Communications GmbH
* Copyright (c) 2016 ... | null | null | null | null | 76,162 |
39,626 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,621 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic wait-for-completion handler;
*
* It differs from semaphores in that their default case is the opposite,
* wait_for_completion default blocks whereas semaphore default non-block. The
* interface also makes it easy to 'complete' multiple waiting threads,
* something which isn't entirely natural for sem... | null | null | null | null | 112,968 |
72,152 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,152 | 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 "services/network/upload_progress_tracker.h"
#include "base/logging.h"
#include "net/base/upload_progress.h"
#include "net/url_request/url_reque... | null | null | null | null | 69,015 |
31,703 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,703 | 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_CSS_CSSOM_CSS_STYLE_IMAGE_VALUE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_STYLE_IMAGE_VALUE_H_
#in... | null | null | null | null | 28,566 |
33,266 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,266 | 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_DOM_DOCUMENT_SHUTDOWN_NOTIFIER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_DOM_DOCUMENT_SHUTDOWN_NOTIFIER_H_
#incl... | null | null | null | null | 30,129 |
3,052 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,109 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /**
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård
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... | null | null | null | null | 72,164 |
14,038 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,038 | 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/offline_pages/core/prefetch/stale_entry_finalizer_task.h"
#include <array>
#include "base/bind.h"
#include "base/metrics/histogram_... | null | null | null | null | 10,901 |
46,105 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,105 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/drag_window_controller.h"
#include <algorithm>
#include <memory>
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/shell.h... | null | null | null | null | 42,968 |
9,538 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,538 | 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 "net/nqe/network_quality_store.h"
#include "base/location.h"
#include "base/threading/thread_task_runner_handle.h"
#include "net/base/network_ch... | null | null | null | null | 6,401 |
9,601 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,596 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
NetWinder Floating Point Emulator
(c) Rebel.COM, 1998,1999
(c) Philip Blundell, 2001
Direct questions, comments to Scott Bambrough <scottb@netwinder.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... | null | null | null | null | 82,943 |
21,822 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,822 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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 "content/renderer/accessibility/aom_content_ax_tree.h"
#include <string>
#include "content/common/ax_content_node_data.h"
#include "content... | null | null | null | null | 18,685 |
1,115 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,683 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long rt, ach, acl, dsp;
long long result;
ach = 0x05;
acl = 0xB4CB;
dsp = 0x07;
result = 0x000C;
__asm
("wrdsp %1, 0x01\n\t"
"mthi %2, $ac1\n\t"
"mtlo %3, $ac1\n\t"
"extp %0, $ac1, 0x03\n\t"
"rddsp %1\n\t"
... | null | null | null | null | 121,807 |
57,648 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,648 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/temp_certs_cache_nss.h"
#include <cert.h>
#include <certdb.h>
#include <secitem.h>
#include <string>
#include <... | null | null | null | null | 54,511 |
61,763 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,763 | 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/themes/theme_service.h"
#include "base/macros.h"
#include "base/task_scheduler/task_scheduler.h"
#include "base/threading/th... | null | null | null | null | 58,626 |
29,262 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,262 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2009-2017 The OTS 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 "ots.h"
#include <sys/types.h>
#include <zlib.h>
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <map... | null | null | null | null | 26,125 |
26,179 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,174 | 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,521 |
39,806 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,801 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Manage a process's keyrings
*
* Copyright (C) 2004-2005, 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 ... | null | null | null | null | 113,148 |
32,480 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,475 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* JZ4780 BCH controller
*
* Copyright (c) 2015 Imagination Technologies
* Author: Alex Smith <alex.smith@imgtec.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 | 105,822 |
1,341 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,398 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | null | null | null | null | 70,453 |
36,407 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,407 | 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 33,270 |
11,271 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,271 | 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 "gpu/command_buffer/service/vertex_attrib_manager.h"
#include <stdint.h>
#include <list>
#include "base/logging.h"
#include "base/strings/... | null | null | null | null | 8,134 |
25,026 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,026 | 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 EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_PIPELINE_H_
#define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIF... | null | null | null | null | 21,889 |
45,798 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,798 | 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 "ash/metrics/task_switch_time_tracker.h"
#include <string>
#include "ash/metrics/task_switch_time_tracker_test_api.h"
#include "base/test/histo... | null | null | null | null | 42,661 |
38,982 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,977 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Access kernel memory without faulting.
*/
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
/**
* probe_kernel_read(): safely attempt to read from a location
* @dst: pointer to the buffer that shall take the data
* @src: address to read from
* @size: size of the data chunk
*
* Saf... | null | null | null | null | 112,324 |
31,475 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,470 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Disk Array driver for Compaq SMART2 Controllers
* Copyright 1998 Compaq Computer 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 Free Software Foundation; either version 2 of the L... | null | null | null | null | 104,817 |
19,167 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,167 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_INIT_AWARE_EVENT_MODEL_H_
#define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_INIT_AWARE_EVENT_MODEL_H_
#includ... | null | null | null | null | 16,030 |
8,066 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,061 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generate .byte code for some instructions not supported by old
* binutils.
*/
#ifndef X86_ASM_INST_H
#define X86_ASM_INST_H
#ifdef __ASSEMBLY__
#define REG_NUM_INVALID 100
#define REG_TYPE_R32 0
#define REG_TYPE_R64 1
#define REG_TYPE_XMM 2
#define REG_TYPE_INVALID 100
.macro R32_NUM opd r32
\opd = RE... | null | null | null | null | 81,408 |
35,049 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,044 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* evga-indtube.h - Keytable for evga_indtube Remote Controller
*
* keymap imported from ir-keymaps.c
*
* Copyright (c) 2010 by Mauro Carvalho Chehab
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar... | null | null | null | null | 108,391 |
1,552 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,609 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* SVQ1/SVQ3 decoder common code
*
* 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 | 70,664 |
9,399 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,394 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TI DA830/OMAP L137 chip specific setup
*
* Author: Mark A. Greer <mgreer@mvista.com>
*
* 2009 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.... | null | null | null | null | 82,741 |
528 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,372 | 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 -*- */
/* plus/tls/k5tls/none.c - Stub TLS module implementation */
/*
* Copyright (C) 2014 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | null | null | null | null | 73,680 |
20,191 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,186 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* ldmvsw.c: Sun4v LDOM Virtual Switch Driver.
*
* Copyright (C) 2016 Oracle. All rights reserved.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/highmem.h>
#include <linux/if_vlan.h>
#include <linux/init.h>
#include... | null | null | null | null | 93,533 |
2,510 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,567 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | null | null | null | null | 71,622 |
20,319 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,319 | 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.
#ifndef CONTENT_PUBLIC_BROWSER_URL_DATA_SOURCE_H_
#define CONTENT_PUBLIC_BROWSER_URL_DATA_SOURCE_H_
#include <string>
#include "base/callback.h"
#in... | null | null | null | null | 17,182 |
20,832 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,827 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**********************************************************************
* Author: Cavium, Inc.
*
* Contact: support@cavium.com
* Please include "LiquidIO" in the subject.
*
* Copyright (c) 2003-2016 Cavium, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms... | null | null | null | null | 94,174 |
2,812 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,380 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef QEMU_NET_H
#define QEMU_NET_H
#include "qemu/queue.h"
#include "qemu-common.h"
#include "qapi/qmp/qdict.h"
#include "qemu/option.h"
#include "net/queue.h"
#include "migration/vmstate.h"
#include "qapi-types.h"
#define MAC_FMT "%02X:%02X:%02X:%02X:%02X:%02X"
#define MAC_ARG(x) ((uint8_t *)(x))[0], ((uint8_t *)... | null | null | null | null | 123,504 |
42,005 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,000 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __LINUX_PMIC_DA903X_H
#define __LINUX_PMIC_DA903X_H
/* Unified sub device IDs for DA9030/DA9034/DA9035 */
enum {
DA9030_ID_LED_1,
DA9030_ID_LED_2,
DA9030_ID_LED_3,
DA9030_ID_LED_4,
DA9030_ID_LED_PC,
DA9030_ID_VIBRA,
DA9030_ID_WLED,
DA9030_ID_BUCK1,
DA9030_ID_BUCK2,
DA9030_ID_LDO1,
DA9030_ID_LDO2,
D... | null | null | null | null | 115,347 |
1,105 | 8,9 | train_val | ad103a1564365c95f4ee4f10261f9604f91f686a | 1,105 | Chrome | 1 | https://github.com/chromium/chromium | 2012-11-15 07:27:55+00:00 | bool PPB_ImageData_Impl::Init(PP_ImageDataFormat format,
int width, int height,
bool init_to_zero) {
// TODO(brettw) this should be called only on the main thread!
if (!IsImageDataFormatSupported(format))
return false; // Only support this one format for now.
if (width <= 0 || height <= 0)
return false;
if (static_c... | CVE-2012-5143 | CWE-190 | https://github.com/chromium/chromium/commit/ad103a1564365c95f4ee4f10261f9604f91f686a | Low | 1,105 |
1,680 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,737 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* MPEG-4 Part 2 HW decode acceleration through NVDEC
*
* Copyright (c) 2017 Philip Langdale
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either... | null | null | null | null | 70,792 |
66,898 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,898 | 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_INTERNAL_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_... | null | null | null | null | 63,761 |
14,063 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,058 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2011 Texas Instruments Incorporated
* Author: Mark Salter <msalter@redhat.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.
*/
#ifndef _ASM_C6X_SWAB... | null | null | null | null | 87,405 |
14,044 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,044 | 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/offline_pages/core/prefetch/get_operation_task.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/callba... | null | null | null | null | 10,907 |
39,188 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,188 | 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/modules/mediacapturefromelement/on_request_canvas_draw_listener.h"
#include "third_party/skia/include/core/SkImage.h... | null | null | null | null | 36,051 |
27,692 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,692 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2005 Google Inc. 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 applicable... | null | null | null | null | 24,555 |
7,966 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,966 | 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 NET_CERT_X509_UTIL_H_
#define NET_CERT_X509_UTIL_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "bas... | null | null | null | null | 4,829 |
4,180 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,175 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2008-2010, 2013 Dave Chinner
* 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 distributed in the hope that it would be usef... | null | null | null | null | 77,522 |
33,551 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,546 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
STV0900/0903 Multistandard Broadcast Frontend driver
Copyright (C) Manu Abraham <abraham.manu@gmail.com>
Copyright (C) ST Microelectronics
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; ei... | null | null | null | null | 106,893 |
264 | 4,48 | train_val | 87c48fa3b4630905f98268dde838ee43626a060c | 165,259 | linux | 1 | https://github.com/torvalds/linux | 2011-07-21 21:25:58-07:00 | static inline int ip6_ufo_append_data(struct sock *sk,
int getfrag(void *from, char *to, int offset, int len,
int odd, struct sk_buff *skb),
void *from, int length, int hh_len, int fragheaderlen,
int transhdrlen, int mtu,unsigned int flags)
{
struct sk_buff *skb;
int err;
/* There is support for UDP large send off... | CVE-2011-2699 | null | https://github.com/torvalds/linux/commit/87c48fa3b4630905f98268dde838ee43626a060c | Low | 3,153 |
1,739 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,734 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* net/sched/act_meta_mark.c IFE skb->mark metadata module
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.... | null | null | null | null | 75,082 |
42,929 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,929 | 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/test/test_discardable_memory_allocator.h"
#include <cstdint>
#include <cstring>
#include "base/logging.h"
#include "base/memory/discardab... | null | null | null | null | 39,792 |
20,983 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,983 | 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 <tuple>
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "content/common/frame_messages.h"
#include "conte... | null | null | null | null | 17,846 |
1,721 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,778 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Interplay MVE Video Decoder
* Copyright (C) 2003 The FFmpeg project
*
* 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 ... | null | null | null | null | 70,833 |
35,684 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,684 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2009 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... | null | null | null | null | 32,547 |
27,299 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,294 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* addi_apci_1516.c
* Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
* Project manager: Eric Stolz
*
* ADDI-DATA GmbH
* Dieselstrasse 3
* D-77833 Ottersweier
* Tel: +19(0)7223/9493-0
* Fax: +49(0)7223/9493-92
* http://www.addi-data.com
* info@addi-data.com
*
* This program is... | null | null | null | null | 100,641 |
279 | 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 | train_val | 6e5714eaf77d79ae1c8b47e3e040ff5411b717ec | 165,274 | linux | 1 | https://github.com/torvalds/linux | 2011-08-06 18:33:19-07:00 | u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
__be16 sport, __be16 dport)
{
u64 seq;
__u32 hash[4];
struct keydata *keyptr = get_keyptr();
hash[0] = (__force u32)saddr;
hash[1] = (__force u32)daddr;
hash[2] = ((__force u16)sport << 16) + (__force u16)dport;
hash[3] = keyptr->secret[11];
seq = ... | CVE-2011-3188 | null | https://github.com/torvalds/linux/commit/6e5714eaf77d79ae1c8b47e3e040ff5411b717ec | Medium | 3,168 |
26,825 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,825 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2006, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | null | null | null | null | 23,688 |
17,219 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,219 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 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 "components/viz/common/quads/render_pass_draw_quad.h"
#include "base/trace_event/trace_event_argument.h"
#include "base/values.h"
#include "cc/b... | null | null | null | null | 14,082 |
44,235 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,235 | 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.
#ifndef PPAPI_CPP_PRIVATE_VIDEO_FRAME_PRIVATE_H_
#define PPAPI_CPP_PRIVATE_VIDEO_FRAME_PRIVATE_H_
#include <string.h>
#include "ppapi/c/pp_time.h"
#... | null | null | null | null | 41,098 |
5,531 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,531 | 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 "pdf/document_loader.h"
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "base/logging.h"
#include "pdf/url_... | null | null | null | null | 2,394 |
694 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,649 | 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 | 119,570 |
2,388 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,445 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2001-2003 The FFmpeg project
*
* 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 optio... | null | null | null | null | 71,500 |
46,503 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,503 | 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 "ash/system/night_light/time_of_day.h"
#include "base/i18n/rtl.h"
#include "base/test/icu_test_util.h"
#include "base/time/time.h"
#include "tes... | null | null | null | null | 43,366 |
330 | 1 | train_val | dc7b094a338c6c521f918f478e993f0f74bbea0d | 330 | Chrome | 1 | https://github.com/chromium/chromium | 2011-06-15 06:45:53+00:00 | virtual size_t GetNumActiveInputMethods() {
scoped_ptr<InputMethodDescriptors> descriptors(GetActiveInputMethods());
return descriptors->size();
}
| CVE-2011-2804 | CWE-399 | https://github.com/chromium/chromium/commit/dc7b094a338c6c521f918f478e993f0f74bbea0d | Low | 330 |
64,316 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,316 | 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 CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_SMB_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_SMB_HANDLER_H_
#include "base/macros.h... | null | null | null | null | 61,179 |
17,147 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,142 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_UNWINDER_H
#define _LINUX_UNWINDER_H
#include <asm/stacktrace.h>
struct unwinder {
const char *name;
struct list_head list;
int rating;
void (*dump)(struct task_struct *, struct pt_regs *,
unsigned long *, const struct stacktrace_ops *, void *);
};
extern int unwinder_init(void);
extern int... | null | null | null | null | 90,489 |
35,110 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,110 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
* Copyright (C) 2012, 2013 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:
*
* * Redistributions of source code mu... | null | null | null | null | 31,973 |
61,420 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,420 | 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_FAVICON_LARGE_ICON_SERVICE_FACTORY_H_
#define CHROME_BROWSER_FAVICON_LARGE_ICON_SERVICE_FACTORY_H_
#include "base/macros.h"
#inclu... | null | null | null | null | 58,283 |
19,440 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,440 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_ACTIVE_GROUP_ID_PROVIDER_H_
#define COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_ACTIVE_GROUP_ID_PROVIDER_H_
#in... | null | null | null | null | 16,303 |
3,245 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,813 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef HW_ACPI_AML_BUILD_H
#define HW_ACPI_AML_BUILD_H
#include "hw/acpi/acpi-defs.h"
#include "hw/acpi/bios-linker-loader.h"
/* Reserve RAM space for tables: add another order of magnitude. */
#define ACPI_BUILD_TABLE_MAX_SIZE 0x200000
#define ACPI_BUILD_APPNAME6 "BOCHS "
#define ACPI_BUILD_APPNAME4 "BXPC"... | null | null | null | null | 123,937 |
12,887 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,887 | 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.
// Implements a custom word iterator used for our spellchecker.
#include "components/spellcheck/renderer/spellcheck_worditerator.h"
#include <map>
#... | null | null | null | null | 9,750 |
66,799 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,799 | 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/sync_file_system/local/local_file_sync_context.h"
#include <stdint.h>
#include <utility>
#include <vector>
#include "base/bind.... | null | null | null | null | 63,662 |
53,233 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,233 | 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 MEDIA_FILTERS_OPUS_CONSTANTS_H_
#define MEDIA_FILTERS_OPUS_CONSTANTS_H_
#include <stdint.h>
#include "media/base/media_export.h"
namespace medi... | null | null | null | null | 50,096 |
888 | 1,2,3,4,5,6,7,8,9,10,11,12 | train_val | baef1ffd73db183ca50c854e1779ed7f6e5100a8 | 888 | Chrome | 1 | https://github.com/chromium/chromium | 2012-06-29 23:27:41+00:00 | std::vector<FilePath> GDataCache::GetCachePaths(
const FilePath& cache_root_path) {
std::vector<FilePath> cache_paths;
// The order should match GDataCache::CacheSubDirectoryType enum.
cache_paths.push_back(cache_root_path.Append(kGDataCacheMetaDir));
cache_paths.push_back(cache_root_path.Append(kGDataCache... | CVE-2012-2895 | CWE-119 | https://github.com/chromium/chromium/commit/baef1ffd73db183ca50c854e1779ed7f6e5100a8 | Medium | 888 |
41,285 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,280 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_AUXVEC_H
#define _LINUX_AUXVEC_H
#include <uapi/linux/auxvec.h>
#define AT_VECTOR_SIZE_BASE 20 /* NEW_AUX_ENT entries in auxiliary table */
/* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */
#endif /* _LINUX_AUXVEC_H */
| null | null | null | null | 114,627 |
55,788 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,788 | 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_CHROME_CONTENT_BROWSER_CLIENT_H_
#define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
#include <stddef.h>
#include <memory... | null | null | null | null | 52,651 |
16,048 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,043 | 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 <ralf@linux-mips.org>
*/
#ifndef __ASM_MIPS_MACH_MIPS_WAR_H
#define __ASM_MIPS_MACH_MIPS_W... | null | null | null | null | 89,390 |
21,606 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,606 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MUS_MUS_EMBEDDED_FRAME_DELEGATE_H_
#define CONTENT_RENDERER_MUS_MUS_EMBEDDED_FRAME_DELEGATE_H_
namespace viz {
class FrameSinkId... | null | null | null | null | 18,469 |
49 | 1,2,3,4,5,6,7,8,9,11,12,13,14,15 | train_val | ea3d1d84be3d6f97bf50e76511c9e26af6895533 | 49 | Chrome | 1 | https://github.com/chromium/chromium | 2010-01-29 22:35:33+00:00 | WebPluginResourceClient* WebPluginDelegateImpl::CreateResourceClient(
unsigned long resource_id, const GURL& url, bool notify_needed,
intptr_t notify_data, intptr_t existing_stream) {
// Stream already exists. This typically happens for range requests
// initiated via NPN_RequestRead.
if (existing_stream)... | null | null | https://github.com/chromium/chromium/commit/ea3d1d84be3d6f97bf50e76511c9e26af6895533 | null | 49 |
32,256 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,251 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Freescale QorIQ AHCI SATA platform driver
*
* Copyright 2015 Freescale, Inc.
* Tang Yuantian <Yuantian.Tang@freescale.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... | null | null | null | null | 105,598 |
22,110 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,110 | 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 "content/common/cache_storage/cache_storage_mojom_traits.h"
#include "base/logging.h"
#include "content/public/common/referrer_struct_traits.h"
... | null | null | null | null | 18,973 |
33,722 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,722 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the te... | null | null | null | null | 30,585 |
26,518 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,513 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* 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, distribute, sublicense,
* and/or s... | null | null | null | null | 99,860 |
35,817 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,812 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* MOXA ART SoCs watchdog driver.
*
* Copyright (C) 2013 Jonas Jensen
*
* Jonas Jensen <jonas.jensen@gmail.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#incl... | null | null | null | null | 109,159 |
34,787 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,782 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Frontend part of the Linux driver for the WideView/ Yakumo/ Hama/
* Typhoon/ Yuan DVB-T USB2.0 receiver.
*
* Copyright (C) 2005 Patrick Boettcher <patrick.boettcher@posteo.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | null | null | null | null | 108,129 |
65,048 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,048 | 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/ui/app_list/search/common/url_icon_source.h"
#include <string>
#include <utility>
#include "content/public/browser/browser_cont... | null | null | null | null | 61,911 |
14,458 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,453 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __reg_map_h
#define __reg_map_h
/*
* This file is autogenerated from
* file: reg.rmap
*
* by ../../../tools/rdesc/bin/rdes2c -base 0xb0000000 -map marb_bar.r marb_foo.r ccd_top.r ccd_stat.r ccd_tg.r ccd_dp.r ccd.r iop_sap_in.r iop_sap_out.r iop_sw_cfg.r iop_sw_cpu.r iop_sw_mpu.r iop_sw_spu.... | null | null | null | null | 87,800 |
31,298 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,293 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* SH RSPI driver
*
* Copyright (C) 2012, 2013 Renesas Solutions Corp.
* Copyright (C) 2014 Glider bvba
*
* Based on spi-sh.c:
* Copyright (C) 2011 Renesas Solutions Corp.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... | null | null | null | null | 104,640 |
29,182 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,182 | 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 "third_party/libaddressinput/src/cpp/src/util/json.h"
#include <map>
#include <memory>
#include "base/json/json_reader.h"
#include "base/loggin... | null | null | null | null | 26,045 |
28,240 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,240 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | null | null | null | null | 25,103 |
68,373 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,373 | 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 REMOTING_HOST_HOST_WINDOW_H_
#define REMOTING_HOST_HOST_WINDOW_H_
#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h... | null | null | null | null | 65,236 |
2,583 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,151 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/arch_init.h"
#include "qapi/qmp/qerror.h"
CpuModelCompareInfo *arch_query_cpu_model_comparison(CpuModelInfo *modela,
CpuModelInfo *modelb,
Error **... | null | null | null | null | 123,275 |
38,989 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,989 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved.
* Copyright 2010, The Android Open Source Project
*
* 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 mu... | null | null | null | null | 35,852 |
34,775 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,775 | 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 31,638 |
52,203 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,203 | 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 <stdint.h>
#include <limits>
#include <utility>
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/memory/ptr_util.h"
#incl... | null | null | null | null | 49,066 |
65,701 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,701 | 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_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_H_
#define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_H_
#include <memory>
#in... | null | null | null | null | 62,564 |
8,491 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,486 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* MN10300 bit operations
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; eith... | null | null | null | null | 81,833 |
1,343 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,911 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU Audio subsystem
*
* Copyright (c) 2003-2005 Vassili Karpov (malc)
*
* 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 righ... | null | null | null | null | 122,035 |
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.