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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14,322 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,317 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* IO interface mux allocator for ETRAX100LX.
* Copyright 2004-2007, Axis Communications AB
*/
/* C.f. ETRAX100LX Designer's Reference chapter 19.9 */
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/init.h>
#include <arch/svinto.h>
#include <asm... | null | null | null | null | 87,664 |
1,075 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,132 | 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,187 |
22,817 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,812 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Serial driver for the amiga builtin port.
*
* This code was created by taking serial.c version 4.30 from kernel
* release 2.3.22, replacing all hardware related stuff with the
* corresponding amiga hardware actions, and removing all irrelevant
* code. As a consequence, it uses many of the constants and names... | null | null | null | null | 96,159 |
47,650 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,650 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_PAINT_FRAME_METADATA_H_
#define CC_PAINT_FRAME_METADATA_H_
#include "base/time/time.h"
#include "cc/paint/paint_export.h"
namespace cc {
// ... | null | null | null | null | 44,513 |
28,683 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,683 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 |
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.6.32 [August 24, 2017]
* Copyright (c) 1998-2017 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is re... | null | null | null | null | 25,546 |
34,620 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,615 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #define XANBOO 0
#define BELKIN_VIDEOBUS_II 1
#define BELKIN_VIDEOBUS 2
#define BELKIN_USB_VIDEOBUS_II 3
#define ECHOFX_INTERVIEW_LITE 4
#define USBGEAR_USBG_V1 5
#define D_LINK... | null | null | null | null | 107,962 |
31,096 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,091 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Core driver for the imx pin controller in imx1/21/27
*
* Copyright (C) 2013 Pengutronix
* Author: Markus Pargmann <mpa@pengutronix.de>
*
* Based on pinctrl-imx.c:
* Author: Dong Aisheng <dong.aisheng@linaro.org>
* Copyright (C) 2012 Freescale Semiconductor, Inc.
* Copyright (C) 2012 Linaro Ltd.
*
* This... | null | null | null | null | 104,438 |
8,512 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,512 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/priority_queue.h"
#include <cstddef>
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
typedef Priori... | null | null | null | null | 5,375 |
56,377 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,377 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/lock/screen_locker_tester.h"
#include <string>
#include "base/macros.h"
#include "base/message_loop/message_loop... | null | null | null | null | 53,240 |
32,568 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,568 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LOADER_RESOURCE_LINK_FETCH_RESOURCE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LOADER_RESOURCE_LINK_FETCH_RESOURCE... | null | null | null | null | 29,431 |
44,064 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,064 | 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 PAPPI_TESTS_TEST_NET_ADDRESS_H_
#define PAPPI_TESTS_TEST_NET_ADDRESS_H_
#include <string>
#include "ppapi/tests/test_case.h"
class TestNetAddre... | null | null | null | null | 40,927 |
12,324 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,319 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cell Pervasive Monitor and Debug interface and HW structures
*
* (C) Copyright IBM Corporation 2005
*
* Authors: Maximino Aguilar (maguilar@us.ibm.com)
* David J. Erb (djerb@us.ibm.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | null | null | null | null | 85,666 |
25,314 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,314 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_ACTION_HANDLERS_HANDLER_H_
#define EXTENSIONS_COMMON_MANIFEST_HANDLERS_ACTION_HANDLERS_HANDLER_H_
#include <s... | null | null | null | null | 22,177 |
34,020 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,020 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/ng/ng_space_utils.h"
#include "third_party/blink/renderer/core/layout/ng/geometry/ng_bfc_offset.h"
#incl... | null | null | null | null | 30,883 |
6,594 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,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.
#include "net/spdy/chromium/spdy_log_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "net/http/http_log_uti... | null | null | null | null | 3,457 |
22,557 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,557 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/render_widget_helper.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/lazy_instance.h"... | null | null | null | null | 19,420 |
26,266 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,266 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_H_
#define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VI... | null | null | null | null | 23,129 |
44,342 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,342 | 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.
*/
/* From ppb_file_system.idl modified Thu Jun 13 14:30:40 2013. */
#ifndef PPAPI_C_PPB_FILE_SYSTEM_H_
#define PPAPI_C_PPB_FILE_SYSTEM_H_
#include... | null | null | null | null | 41,205 |
11,425 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,420 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will ... | null | null | null | null | 84,767 |
50,848 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,848 | 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 "ui/compositor/test/layer_animation_observer_test_api.h"
namespace ui {
namespace test {
LayerAnimationObserverTestApi::LayerAnimationObserverT... | null | null | null | null | 47,711 |
4,210 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,205 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2000,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | null | null | null | null | 77,552 |
10,776 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,776 | 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 "mojo/edk/system/data_pipe_producer_dispatcher.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include "base/bind.h"
#include "... | null | null | null | null | 7,639 |
28,343 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,343 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | #include "csutil.hxx"
/* fields: Unicode letter, toupper, tolower */
static struct unicode_info utf_lst[] = {
{ 0x0041, 0x0041, 0x0061 },
{ 0x0042, 0x0042, 0x0062 },
{ 0x0043, 0x0043, 0x0063 },
{ 0x0044, 0x0044, 0x0064 },
{ 0x0045, 0x0045, 0x0065 },
{ 0x0046, 0x0046, 0x0066 },
{ 0x0047, 0x0047, 0x0067 },
{ 0x0048, 0x00... | null | null | null | null | 25,206 |
35,280 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,275 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
* flexcop-i2c.c - flexcop internal 2Wire bus (I2C) and dvb i2c initialization
* see flexcop.c for copyright information
*/
#include "flexcop.h"
#define FC_MAX_I2C_RETRIES 100000
static int flexcop_i2c_operation(struct flexcop_device *fc,... | null | null | null | null | 108,622 |
21,007 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,002 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Broadcom B43 wireless driver
*
* SDIO over Sonics Silicon Backplane bus glue for b43.
*
* Copyright (C) 2009 Albert Herranz
* Copyright (C) 2009 Michael Buesch <m@bues.ch>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | null | null | null | null | 94,349 |
3,259 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,316 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* APNG demuxer
* Copyright (c) 2014 Benoit Fouet
*
* 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 ... | null | null | null | null | 72,371 |
70,795 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,795 | 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 "sandbox/win/tests/common/controller.h"
#include <string>
#include "base/memory/shared_memory.h"
#include "base/process/process.h"
#include... | null | null | null | null | 67,658 |
29,130 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,130 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Summary: interfaces for tree manipulation
* Description: this module describes the structures found in an tree resulting
* from an XML or HTML parsing, as well as the API provided for
* various processing on that tree
*
* Copy: See Copyright for the status of this software.
*
* Au... | null | null | null | null | 25,993 |
43,918 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,918 | 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 PPAPI_TESTS_TEST_TCP_SERVER_SOCKET_PRIVATE_H_
#define PPAPI_TESTS_TEST_TCP_SERVER_SOCKET_PRIVATE_H_
#include <stddef.h>
#include <cstddef>
#... | null | null | null | null | 40,781 |
27,798 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,793 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | null | null | null | null | 101,140 |
17,549 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,549 | 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 "components/autofill/core/browser/autofill_experiments.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/f... | null | null | null | null | 14,412 |
2,560 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,128 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QInt Module
*
* Copyright (C) 2009 Red Hat Inc.
*
* Authors:
* Luiz Capitulino <lcapitulino@redhat.com>
*
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "qapi/qmp/qint.h"
#include ... | null | null | null | null | 123,252 |
9,059 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,054 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-omap2/mcbsp.c
*
* Copyright (C) 2008 Instituto Nokia de Tecnologia
* Contact: Eduardo Valentin <eduardo.valentin@indt.org.br>
*
* 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 F... | null | null | null | null | 82,401 |
875 | 27,28,29,30 | train_val | 712f4aad406bb1ed67f3f98d04c044191f0ff593 | 165,870 | linux | 1 | https://github.com/torvalds/linux | 2016-01-11 00:05:30-05:00 | static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb)
{
int i;
unsigned char max_level = 0;
int unix_sock_count = 0;
for (i = scm->fp->count - 1; i >= 0; i--) {
struct sock *sk = unix_get_socket(scm->fp->fp[i]);
if (sk) {
unix_sock_count++;
max_level = max(max_level,
unix_sk(sk)->recursion_level);
}... | CVE-2013-4312 | CWE-119 | https://github.com/torvalds/linux/commit/712f4aad406bb1ed67f3f98d04c044191f0ff593 | Low | 3,764 |
27,353 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,353 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. 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 retai... | null | null | null | null | 24,216 |
37,800 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,795 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __PERF_MACHINE_H
#define __PERF_MACHINE_H
#include <sys/types.h>
#include <linux/rbtree.h>
#include "map.h"
#include "dso.h"
#include "event.h"
struct addr_location;
struct branch_stack;
struct perf_evsel;
struct perf_sample;
struct symbol;
struct thread;
union perf_event;
/* Native host kernel uses -1 as pi... | null | null | null | null | 111,142 |
10,633 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,628 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-footbridge/cats-hw.c
*
* CATS machine fixup
*
* Copyright (C) 1998, 1999 Russell King, Phil Blundell
*/
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/screen_info.h>
#include <linux/io.h>
#include <linux/spinlock.h>
#include <asm/hardware/dec2... | null | null | null | null | 83,975 |
38,259 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,254 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* alarmtimer suspend test
* John Stultz (john.stultz@linaro.org)
* (C) Copyright Linaro 2013
* Licensed under the GPLv2
*
* This test makes sure the alarmtimer & RTC wakeup code is
* functioning.
*
* To build:
* $ gcc alarmtimer-suspend.c -o alarmtimer-suspend -lrt
*
* This... | null | null | null | null | 111,601 |
12,258 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,258 | 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/certificate_transparency/features.h"
namespace certificate_transparency {
// Enables or disables auditing Certificate Transparency ... | null | null | null | null | 9,121 |
17,447 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,447 | 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 "components/autofill/core/browser/autofill_country.h"
#include <stddef.h>
#include "base/logging.h"
#include "base/stl_util.h"
#include "base/s... | null | null | null | null | 14,310 |
47,313 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,313 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_INPUT_SCROLL_SNAP_DATA_H_
#define CC_INPUT_SCROLL_SNAP_DATA_H_
#include <vector>
#include "cc/cc_export.h"
#include "ui/gfx/geometry/rect_f.h... | null | null | null | null | 44,176 |
34,308 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,303 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* vsp1_drm.c -- R-Car VSP1 DRM API
*
* Copyright (C) 2015 Renesas Electronics Corporation
*
* Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.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 ... | null | null | null | null | 107,650 |
281 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,409 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 72,702 |
14,793 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,788 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#define BITS_PER_UNIT 8
#define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT)
typedef unsigned int UQItype __attribute__ ((mode(QI)));
typedef int SItype __attribute__ ((mode(SI)));
typedef unsigned int USItype __attribute__ ... | null | null | null | null | 88,135 |
40,952 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,947 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Definitions for container bus type.
*
* Copyright (C) 2013, Intel Corporation
* Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Softwar... | null | null | null | null | 114,294 |
4,241 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,236 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 Oracle. All Rights Reserved.
*
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Li... | null | null | null | null | 77,583 |
42,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,709 | 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 "base/metrics/histogram_delta_serialization.h"
#include "base/logging.h"
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogr... | null | null | null | null | 39,572 |
53,456 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,456 | 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_CAST_LOGGING_LOG_EVENT_DISPATCHER_H_
#define MEDIA_CAST_LOGGING_LOG_EVENT_DISPATCHER_H_
#include <memory>
#include <vector>
#include "base... | null | null | null | null | 50,319 |
58,478 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,478 | 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_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
#incl... | null | null | null | null | 55,341 |
16,699 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,694 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/sh/boards/se/7780/setup.c
*
* Copyright (C) 2006,2007 Nobuhiro Iwamatsu
*
* Hitachi UL SolutionEngine 7780 Support.
*
* 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.
*/
#i... | null | null | null | null | 90,041 |
43,401 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,396 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _UAPI_LINUX_UTSNAME_H
#define _UAPI_LINUX_UTSNAME_H
#define __OLD_UTS_LEN 8
struct oldold_utsname {
char sysname[9];
char nodename[9];
char release[9];
char version[9];
char machine[9];
};
#define __NEW_UTS_LEN 64
struct old_utsname {
char sysname[65];
char nodename[65];
char release[65];
char vers... | null | null | null | null | 116,743 |
18,600 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,600 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/network_time/network_time_tracker.h"
#include <memory>
#include <stdint.h>
#include <string>
#include <utility>
#include "base/i18n... | null | null | null | null | 15,463 |
18,837 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,832 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* QLogic iSCSI HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla4xxx for copyright and licensing details.
*/
#include <scsi/iscsi_if.h>
#include "ql4_def.h"
#include "ql4_glbl.h"
#include "ql4_dbg.h"
#include "ql4_inline.h"
static void ql4xxx_set_mac_number(struct scsi_qla_host *ha)... | null | null | null | null | 92,179 |
23,865 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,865 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_QUOTA_CLIENT_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_QUOTA_CLIENT_H_
#include <map>
#include <memory>
... | null | null | null | null | 20,728 |
23,662 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,662 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/compositor/owned_mailbox.h"
#include "base/logging.h"
#include "components/viz/common/gl_helper.h"
#include "content/browser/co... | null | null | null | null | 20,525 |
37,854 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,854 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_COMPOSITOR_ANIMATORS_STATE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_COMPOSITOR_ANIMATO... | null | null | null | null | 34,717 |
16,158 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,153 | 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) 2011 Netlogic Microsystems.
*/
#ifndef __ASM_NETLOGIC_IRQ_H
#define __ASM_NETLOGIC_IRQ_H
#include <asm/mach-netlogic/multi... | null | null | null | null | 89,500 |
14,612 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,607 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* OpenRISC idle.c
*
* Linux architectural port borrowing liberally from similar works of
* others. All original copyrights apply as per the original source
* declaration.
*
* Modifications for the OpenRISC architecture:
* Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
* Copyright (C) 2010-2011 Jona... | null | null | null | null | 87,954 |
23,371 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,371 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/indexed_db/indexed_db_quota_client.h"
#include <stdint.h>
#include <vector>
#include "base/logging.h"
#include "content/b... | null | null | null | null | 20,234 |
33,397 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,392 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
This file is provided under a dual BSD/GPLv2 license. When using or
redistributing this file, you may do so under either license.
GPL LICENSE SUMMARY
Copyright(c) 2014 Intel Corporation.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU Gene... | null | null | null | null | 106,739 |
33,612 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,612 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/column_balancer.h"
#include "third_party/blink/renderer/core/layout/api/line_layout_block_flow.h"
#inclu... | null | null | null | null | 30,475 |
31,901 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,896 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2015 Verifone Int.
*
* Author: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
*
* This program is free software; you can redistribute it and/or modify i t
* under the terms of the GNU General Public License as published by th e
* Free Software Foundation; either version 2 of the License, or (... | null | null | null | null | 105,243 |
39,835 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,830 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* A hash table (hashtab) maintains associations between
* key values and datum values. The type of the key values
* and the type of the datum values is arbitrary. The
* functions for hash computation and key comparison are
* provided by the creator of the table.
*
* Author : Stephen Smalley, <sds@epoch.ncsc... | null | null | null | null | 113,177 |
65,118 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,118 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h"
CoreTabHelperDelegate::~CoreTabHelperDelegate() {
}
void CoreTabHelperDelegate:... | null | null | null | null | 61,981 |
1,691 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,259 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef MPTSAS_H
#define MPTSAS_H
#include "mpi.h"
#define MPTSAS_NUM_PORTS 8
#define MPTSAS_MAX_FRAMES 2048 /* Firmware limit at 65535 */
#define MPTSAS_REQUEST_QUEUE_DEPTH 128
#define MPTSAS_REPLY_QUEUE_DEPTH 128
#define MPTSAS_MAXIMUM_CHAIN_DEPTH 0x22
typedef struct MPTSASState MPTSASState;
typedef struct... | null | null | null | null | 122,383 |
63,485 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,485 | 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_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
#include <string>... | null | null | null | null | 60,348 |
70,200 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,200 | 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 DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_
#define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_
#include "base/macros.h"
#include "device/g... | null | null | null | null | 67,063 |
1,687 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,744 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* TwinVQ decoder
* Copyright (c) 2009 Vitor Sessak
*
* 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 you... | null | null | null | null | 70,799 |
36,716 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,711 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Module Name: psobject - Support for parse objects
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2017, Intel Corp.
* All rights reserved.
*
* Redistribution and use in... | null | null | null | null | 110,058 |
60,027 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,027 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_OFFLINE_PAGES_RESOURCE_LOADING_OBSERVER_H_
#define CHROME_BROWSER_OFFLINE_PAGES_RESOURCE_LOADING_OBSERVER_H_
#include <stdint.h>
... | null | null | null | null | 56,890 |
60,516 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,516 | 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_VR_ELEMENTS_OVAL_H_
#define CHROME_BROWSER_VR_ELEMENTS_OVAL_H_
#include "chrome/browser/vr/elements/rect.h"
namespace vr {
// An... | null | null | null | null | 57,379 |
1,144 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,099 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | null | null | null | null | 120,020 |
60,787 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,787 | 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_ANDROID_WEBAPPS_WEBAPP_REGISTRY_H_
#define CHROME_BROWSER_ANDROID_WEBAPPS_WEBAPP_REGISTRY_H_
#include "base/callback_forward.h"
#i... | null | null | null | null | 57,650 |
48,340 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,340 | 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 UI_VIEWS_WINDOW_CLIENT_VIEW_H_
#define UI_VIEWS_WINDOW_CLIENT_VIEW_H_
#include "ui/views/view.h"
namespace views {
class DialogClientView;
... | null | null | null | null | 45,203 |
23,350 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,345 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic PCI host driver common code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... | null | null | null | null | 96,692 |
67,454 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,454 | 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 <stdint.h>
#include <string.h>
#include "chrome/browser/safe_browsing/safe_browsing_store.h"
#include "components/safe_browsing/db/util.h"
... | null | null | null | null | 64,317 |
26,951 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,951 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2008, 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,814 |
2,183 | 23 | train_val | f1afce25b3f94d8bddec69b08ffbc29b989ad844 | 2,183 | Chrome | 1 | https://github.com/chromium/chromium | 2017-08-19 01:21:48+00:00 | bool ChromeContentBrowserClientExtensionsPart::ShouldAllowOpenURL(
content::SiteInstance* site_instance,
const GURL& to_url,
bool* result) {
DCHECK(result);
// Using url::Origin is important to properly handle blob: and filesystem:
// URLs.
url::Origin to_origin(to_url);
if (to_origin.scheme() != kExtensionScheme) {
/... | CVE-2017-15391 | null | https://github.com/chromium/chromium/commit/f1afce25b3f94d8bddec69b08ffbc29b989ad844 | Medium | 2,183 |
13,704 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,699 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* vineetg: June 2010
* -__clear_user( ) c... | null | null | null | null | 87,046 |
28,058 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,053 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* AD7190 AD7192 AD7195 SPI ADC driver
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#ifndef IIO_ADC_AD7192_H_
#define IIO_ADC_AD7192_H_
/*
* TODO: struct ad7192_platform_data needs to go into include/linux/iio
*/
/**
* struct ad7192_platform_data - platform/board specific informa... | null | null | null | null | 101,400 |
250 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,378 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 72,671 |
7,090 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,085 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_M32R_SEMBUF_H
#define _ASM_M32R_SEMBUF_H
/*
* The semid64_ds structure for m32r architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 64-bit time_t to solve y2038 problem
* - 2 miscellaneous 32-bit values
... | null | null | null | null | 80,432 |
40,518 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,518 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,381 |
1,431 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,488 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* CCITT Fax Group 3 and 4 decompression
* Copyright (c) 2008 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | null | null | null | null | 70,543 |
33,261 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,261 | 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) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
* rights reserved.
* Copyright (C) 2008, 2009 Torch Mobile Inc. All rights res... | null | null | null | null | 30,124 |
18,270 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,270 | 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 "components/download/public/common/download_save_info.h"
namespace download {
// static
const int64_t DownloadSaveInfo::kLengthFullContent = 0;... | null | null | null | null | 15,133 |
13,738 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,738 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/os_crypt/os_crypt.h"
#include <stddef.h>
#include <algorithm>
#include <iterator>
#include "base/lazy_instance.h"
#include "base/l... | null | null | null | null | 10,601 |
38,208 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,208 | 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 | 35,071 |
14,760 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,760 | 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 "components/exo/shared_memory.h"
#include <GLES2/gl2extchromium.h>
#include <stddef.h>
#include <utility>
#include "base/logging.h"
#include "... | null | null | null | null | 11,623 |
41,381 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,376 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* 10G controller driver for Samsung EXYNOS SoCs
*
* Copyright (C) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Siva Reddy Kallam <siva.kallam@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | null | null | null | null | 114,723 |
43,079 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,079 | 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 BASE_ANDROID_BASE_JNI_ONLOAD_H_
#define BASE_ANDROID_BASE_JNI_ONLOAD_H_
#include <jni.h>
#include <vector>
#include "base/base_export.h"
#includ... | null | null | null | null | 39,942 |
42,246 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,241 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 Invensense, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but ... | null | null | null | null | 115,588 |
1,754 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,811 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2017 Rostislav Pehlivanov <atomnuker@gmail.com>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License... | null | null | null | null | 70,866 |
41,315 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,315 | 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 <stdint.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "tools/gn/test_with_scope.h"
#include "tools/gn/value.h"
TEST(Value, ToStrin... | null | null | null | null | 38,178 |
12,356 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,356 | 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 COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
#define COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
#include "ppapi/cpp/module.h"
... | null | null | null | null | 9,219 |
446 | 5,6,28,41,69 | train_val | 6062a8dc0517bce23e3c2f7d2fea5e22411269a3 | 165,441 | linux | 1 | https://github.com/torvalds/linux | 2013-05-01 08:12:58-07:00 | static struct sem_undo *find_alloc_undo(struct ipc_namespace *ns, int semid)
{
struct sem_array *sma;
struct sem_undo_list *ulp;
struct sem_undo *un, *new;
int nsems;
int error;
error = get_undo_list(&ulp);
if (error)
return ERR_PTR(error);
rcu_read_lock();
spin_lock(&ulp->lock);
un = lookup_undo(ulp, semid);
spin_... | CVE-2013-4483 | CWE-189 | https://github.com/torvalds/linux/commit/6062a8dc0517bce23e3c2f7d2fea5e22411269a3 | Low | 3,335 |
4,600 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,600 | 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_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_
#define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_
#import <UI... | null | null | null | null | 1,463 |
64,084 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,084 | 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/ui/webui/usb_internals/usb_internals_ui.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/usb_in... | null | null | null | null | 60,947 |
322 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,709 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1999-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,154 |
28,982 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,977 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* lm90.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Copyright (C) 2003-2010 Jean Delvare <jdelvare@suse.de>
*
* Based on the lm83 driver. The LM90 is a sensor chip made by National
* Semiconductor. It reports up to two temperatures (its own plus up to
* one external one) ... | null | null | null | null | 102,324 |
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.