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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12,062 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,057 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au)
* and Cort Dougan (PReP) (cort@cs.nmt.edu)
* Copyright (C) 1996 Paul Mackerras
*
* Derived from "arch/i386/mm/init.c"
* Copyright (C) 1991, 1992, 1993... | null | null | null | null | 85,404 |
15,031 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,026 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* BRIEF MODULE DESCRIPTION
* Serial port initialisation.
*
* Copyright 2004 IDT Inc. (rischelp@idt.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 ... | null | null | null | null | 88,373 |
757 | 60,61,62,63,64,81,82,83,84,85,86 | train_val | 0f2af21aae11972fa924374ddcf52e88347cf5a8 | 165,752 | linux | 1 | https://github.com/torvalds/linux | 2015-04-03 00:09:13-04:00 | static long ext4_zero_range(struct file *file, loff_t offset,
loff_t len, int mode)
{
struct inode *inode = file_inode(file);
handle_t *handle = NULL;
unsigned int max_blocks;
loff_t new_size = 0;
int ret = 0;
int flags;
int credits;
int partial_begin, partial_end;
loff_t start, end;
ext4_lblk_t lblk;
struct address_sp... | CVE-2015-0275 | CWE-17 | https://github.com/torvalds/linux/commit/0f2af21aae11972fa924374ddcf52e88347cf5a8 | Low | 3,646 |
170 | null | train_val | 6614a6c1194b3ff84ce20b9d1166ae22ec938f67 | 161,699 | jasper | 0 | https://github.com/mdadams/jasper | 2016-11-12 15:42:24-08:00 | /*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2002 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image P... | null | null | null | null | 73,227 |
8,872 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,867 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-omap1/board-palmtt.c
*
* Modified from board-palmtt2.c
*
* Modified and amended for Palm Tungsten|T
* by Marek Vasut <marek.vasut@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* p... | null | null | null | null | 82,214 |
21,845 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,845 | 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 CONTENT_COMMON_GIN_JAVA_BRIDGE_MESSAGES_H_
#define CONTENT_COMMON_GIN_JAVA_BRIDGE_MESSAGES_H_
// IPC messages for injected Java objects (Gin-base... | null | null | null | null | 18,708 |
43,485 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,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.
#include "base/macros.h"
#include "base/process/process_handle.h"
#include <stddef.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <unistd... | null | null | null | null | 40,348 |
12,913 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,913 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SPELLCHECK_BROWSER_SPELLING_SERVICE_CLIENT_H_
#define COMPONENTS_SPELLCHECK_BROWSER_SPELLING_SERVICE_CLIENT_H_
#include <map>
#inc... | null | null | null | null | 9,776 |
7,565 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,560 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cryptographic API.
*
* Glue code for the SHA1 Secure Hash Algorithm assembler implementation using
* Supplemental SSE3 instructions.
*
* This file is based on sha1_generic.c
*
* Copyright (c) Alan Smithee.
* Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
* Copyright (c) Jean-Francois Dive <jef@li... | null | null | null | null | 80,907 |
37,468 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,463 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* x86_energy_perf_policy -- set the energy versus performance
* policy preference bias on recent X86 processors.
*/
/*
* Copyright (c) 2010, Intel Corporation.
* Len Brown <len.brown@intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the... | null | null | null | null | 110,810 |
5,743 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,738 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* rl6347a.c - RL6347A class device shared support
*
* Copyright 2015 Realtek Semiconductor Corp.
*
* Author: Oder Chiou <oder_chiou@realtek.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | null | null | null | null | 79,085 |
6,178 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,178 | 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 "chromeos/components/tether/fake_ad_hoc_ble_advertiser.h"
namespace chromeos {
namespace tether {
FakeAdHocBleAdvertiser::FakeAdHocBleAdvertis... | null | null | null | null | 3,041 |
10,995 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,990 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _SPARC64_STACKTRACE_H
#define _SPARC64_STACKTRACE_H
void stack_trace_flush(void);
#endif /* _SPARC64_STACKTRACE_H */
| null | null | null | null | 84,337 |
53 | 123 | train_val | 30eec879c8b446b0ea9a3bb0da1a441cc8482bc4 | 160,181 | ImageMagick | 1 | https://github.com/ImageMagick/ImageMagick | 2016-02-02 21:03:24+01:00 | static ssize_t DecodePSDPixels(const size_t number_compact_pixels,
const unsigned char *compact_pixels,const ssize_t depth,
const size_t number_pixels,unsigned char *pixels)
{
#define CheckNumberCompactPixels \
if (packets == 0) \
return(i); \
packets--
#define CheckNumberPixels(count) \
if (((ssize_t) i + count) > (s... | CVE-2016-7521 | CWE-125 | https://github.com/ImageMagick/ImageMagick/commit/30eec879c8b446b0ea9a3bb0da1a441cc8482bc4 | Medium | 2,630 |
21,925 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,920 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is part of wl1271
*
* Copyright (C) 2009 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.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 Foundati... | null | null | null | null | 95,267 |
42,645 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,640 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _BR_NETFILTER_H_
#define _BR_NETFILTER_H_
#include "../../../net/bridge/br_private.h"
static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb)
{
skb->nf_bridge = kzalloc(sizeof(struct nf_bridge_info), GFP_ATOMIC);
if (likely(skb->nf_bridge))
atomic_set(&(skb->nf_bridge->use), 1);
retur... | null | null | null | null | 115,987 |
31,240 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,235 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Thunderbolt Cactus Ridge driver - NHI driver
*
* Copyright (c) 2014 Andreas Noever <andreas.noever@gmail.com>
*/
#ifndef DSL3510_H_
#define DSL3510_H_
#include <linux/mutex.h>
#include <linux/workqueue.h>
/**
* struct tb_nhi - thunderbolt native host interface
*/
struct tb_nhi {
struct mutex lock; /*
... | null | null | null | null | 104,582 |
1,207 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,162 | 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,083 |
1,684 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,639 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
zip_rename.c -- rename file in zip archive
Copyright (C) 1999-2014 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | null | null | null | null | 120,560 |
5,629 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,624 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* tosa.c -- SoC audio for Tosa
*
* Copyright 2005 Wolfson Microelectronics PLC.
* Copyright 2005 Openedhand Ltd.
*
* Authors: Liam Girdwood <lrg@slimlogic.co.uk>
* Richard Purdie <richard@openedhand.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the ... | null | null | null | null | 78,971 |
6,113 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,108 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IMG parallel output controller driver
*
* Copyright (C) 2015 Imagination Technologies Ltd.
*
* Author: Damien Horsley <Damien.Horsley@imgtec.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as ... | null | null | null | null | 79,455 |
39,929 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,924 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* AppArmor security module
*
* This file contains AppArmor filesystem definitions.
*
* Copyright (C) 1998-2008 Novell/SUSE
* Copyright 2009-2010 Canonical Ltd.
*
* 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 t... | null | null | null | null | 113,271 |
3,904 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,904 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_SEARCH_WIDGET_EXTENSION_UI_UTIL_H_
#define IOS_CHROME_SEARCH_WIDGET_EXTENSION_UI_UTIL_H_
namespace ui_util {
// The spacing to use be... | null | null | null | null | 767 |
54,394 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,394 | 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/test/logging/win/mof_data_parser.h"
namespace logging_win {
MofDataParser::MofDataParser(const EVENT_TRACE* event)
: scan_(rein... | null | null | null | null | 51,257 |
18,008 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,003 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2014 Chelsio, Inc. All rights reserved.
* Copyright (c) 2014 Intel Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from ... | null | null | null | null | 91,350 |
5,759 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,759 | 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 "chromeos/dbus/dbus_clients_browser.h"
#include "base/logging.h"
#include "chromeos/dbus/arc_midis_client.h"
#include "chromeos/dbus/arc_obb_mou... | null | null | null | null | 2,622 |
8,158 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,153 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_KMAP_TYPES_H
#define _ASM_X86_KMAP_TYPES_H
#if defined(CONFIG_X86_32) && defined(CONFIG_DEBUG_HIGHMEM)
#define __WITH_KM_FENCE
#endif
#include <asm-generic/kmap_types.h>
#undef __WITH_KM_FENCE
#endif /* _ASM_X86_KMAP_TYPES_H */
| null | null | null | null | 81,500 |
465 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,852 | 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,297 |
791 | 2 | train_val | e9372a1bfd3588a80fcf49aa07321f0971dd6091 | 791 | Chrome | 1 | https://github.com/chromium/chromium | 2012-05-21 07:08:21+00:00 | v8::Handle<v8::Value> V8Proxy::throwNotEnoughArgumentsError()
{
return throwError(TypeError, "Not enough arguments");
}
| CVE-2011-3055 | null | https://github.com/chromium/chromium/commit/e9372a1bfd3588a80fcf49aa07321f0971dd6091 | Medium | 791 |
5,302 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,297 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Helper functions for jack-detection kcontrols
*
* Copyright (c) 2011 Takashi Iwai <tiwai@suse.de>
*
* 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, o... | null | null | null | null | 78,644 |
3,212 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,780 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Virtio Accessor Support: In case your target can change endian.
*
* Copyright IBM, Corp. 2013
*
* Authors:
* Rusty Russell <rusty@au.ibm.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 Softw... | null | null | null | null | 123,904 |
31,919 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,914 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2011 LAPIS Semiconductor Co., Ltd.
*
* 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 of the License.
*
* This program is distributed in the hope that it will ... | null | null | null | null | 105,261 |
537 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,105 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Copyright IBM, Corp. 2009
* Copyright (c) 2013, 2015 Red Hat Inc.
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
* Markus Armbruster <armbru@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.
*
*/
... | null | null | null | null | 121,229 |
32,481 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,481 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 29,344 |
3,340 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,908 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef _LINUX_VIRTIO_RNG_H
#define _LINUX_VIRTIO_RNG_H
/* This header is BSD licensed so anyone can use the definitions to implement
* compatible drivers/servers. */
#include "standard-headers/linux/virtio_ids.h"
#include "standard-headers/linux/virtio_config.h"
#endif /* _LINUX_VIRTIO_RNG_H */
| null | null | null | null | 124,032 |
40,899 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,894 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
drbd_limits.h
This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
*/
/*
* Our current limitations.
* Some of them are hard limits,
* some of them are arbitrary range limits, that make it easier to provide
* feedback about nonsense settings for certain configurable values.
*/
#ifndef DRBD_LIMI... | null | null | null | null | 114,241 |
13,037 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,037 | 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/assist_ranker/generic_logistic_regression_inference.h"
#include <cmath>
#include "base/logging.h"
#include "components/assist_ranke... | null | null | null | null | 9,900 |
8,319 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,319 | 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/test/spawned_test_server/remote_test_server_config.h"
#include "base/base_paths.h"
#include "base/environment.h"
#include "base/files/file_... | null | null | null | null | 5,182 |
53,151 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,151 | 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 MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_
#define MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_
#include "base/single_thread_task_runner.h"
#in... | null | null | null | null | 50,014 |
58,092 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,092 | 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 <string>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir... | null | null | null | null | 54,955 |
50,816 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,816 | 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 "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "mojo/edk/embedder/embedder.h"
#include "ui/compositor/test/test_su... | null | null | null | null | 47,679 |
2,198 | 69 | train_val | 39595f8d4dffcb644d438106dcb64a30c139ff0e | 2,198 | Chrome | 1 | https://github.com/chromium/chromium | 2017-08-31 20:35:07+00:00 | void WallpaperManagerBase::LoadWallpaper(
const AccountId& account_id,
const WallpaperInfo& info,
bool update_wallpaper,
MovableOnDestroyCallbackHolder on_finish) {
base::FilePath wallpaper_dir;
base::FilePath wallpaper_path;
// Do a sanity check that file path information is not empty.
if (info.type == ONLINE || info... | CVE-2015-1285 | CWE-200 | https://github.com/chromium/chromium/commit/39595f8d4dffcb644d438106dcb64a30c139ff0e | Low | 2,198 |
1,469 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,037 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Xor Based Zero Run Length Encoding
*
* Copyright 2013 Red Hat, Inc. and/or its affiliates
*
* Authors:
* Orit Wasserman <owasserm@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#i... | null | null | null | null | 122,161 |
67,278 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,278 | 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/profiles/incognito_mode_policy_handler.h"
#include "base/memory/ptr_util.h"
#include "chrome/browser/prefs/incognito_mode_prefs.... | null | null | null | null | 64,141 |
10,064 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,059 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/delay.h>
#include <linux/init.h>
#include <linux/smp.h>
#include "smc.h"
static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
tango_set_aux_boot_addr(__pa_symbol(secondary_startup));
tango_start_aux_core(cpu);
return 0;
}
#ifdef CONFIG_HOTPLUG_CPU
/*
* cpu_kill() and cpu_d... | null | null | null | null | 83,406 |
62,025 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,025 | 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/memory/swap_thrashing_monitor_delegate_win.h"
#include <windows.h>
#include <winternl.h>
#include "base/files/file_path.h"
#inc... | null | null | null | null | 58,888 |
1,395 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,239 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/crypto/builtin/des/des_int.h */
/*
* Copyright 1987, 1988, 1990, 2002 by the Massachusetts Institute of
* Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from th... | null | null | null | null | 74,547 |
15,310 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,305 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* prom.c:
*
* Copyright 2008 NXP Semiconductors
* Chris Steel <chris.steel@nxp.com>
* Daniel Laird <daniel.j.laird@nxp.com>
*
* Based on software written by:
* Nikita Youshchenko <yoush@debian.org>, based on PNX8550 code.
*
* This program is free software; you can redistribute it and/or modify
* ... | null | null | null | null | 88,652 |
31,940 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,935 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPIO Driver for Dialog DA9052 PMICs.
*
* Copyright(c) 2011 Dialog Semiconductor Ltd.
*
* Author: David Dajun Chen <dchen@diasemi.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 F... | null | null | null | null | 105,282 |
58,607 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,607 | 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_EXTENSIONS_EXTENSION_ERROR_CONTROLLER_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_CONTROLLER_H_
#include <memory>
#inclu... | null | null | null | null | 55,470 |
27,075 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,070 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2011 Red Hat, Inc.
*
* This file is released under the GPL.
*/
#include "dm-space-map.h"
#include "dm-space-map-common.h"
#include "dm-space-map-metadata.h"
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/device-mapper.h>
#define DM_MSG_PREFIX "space map metadata"
/*----------... | null | null | null | null | 100,417 |
37,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,709 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/text/hyphenation/hyphenation_minikin.h"
#include <algorithm>
#include <utility>
#include <vector>
#include... | null | null | null | null | 34,572 |
39,858 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,853 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Access vector cache interface for object managers.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
#ifndef _SELINUX_AVC_H_
#define _SELINUX_AVC_H_
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/kdev_t.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#i... | null | null | null | null | 113,200 |
44,320 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,320 | 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_url_response_info.idl modified Mon Nov 14 10:36:01 2011. */
#ifndef PPAPI_C_PPB_URL_RESPONSE_INFO_H_
#define PPAPI_C_PPB_URL_RESPONSE... | null | null | null | null | 41,183 |
34,371 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,366 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2007-2010 Texas Instruments Inc
* Copyright (C) 2007 MontaVista Software, Inc.
*
* Andy Lowe (alowe@mvista.com), MontaVista Software
* - Initial version
* Murali Karicheri (mkaricheri@gmail.com), Texas Instruments Ltd.
* - ported to sub device interface
*
* This program is free software; you... | null | null | null | null | 107,713 |
8,254 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,254 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/tools/transport_security_state_generator/huffman/huffman_builder.h"
#include <algorithm>
#include "base/logging.h"
namespace net {
n... | null | null | null | null | 5,117 |
2,458 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,515 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* VC-1 and WMV3 decoder - DSP functions AltiVec-optimized
* Copyright (c) 2006 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; ... | null | null | null | null | 71,570 |
37,244 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,239 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-spear13xx/spear1340_clock.c
*
* SPEAr1340 machine clock framework source file
*
* Copyright (C) 2012 ST Microelectronics
* Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
... | null | null | null | null | 110,586 |
56,809 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,809 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_HATS_HATS_NOTIFICATION_CONTROLLER_H_
#define CHROME_BROWSER_CHROMEOS_HATS_HATS_NOTIFICATION_CONTROLLER_H_
#include "b... | null | null | null | null | 53,672 |
43,063 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,058 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */
/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
#ifndef _LINUX_ATMARP_H
#define _LINUX_ATMARP_H
#include <linux/types.h>
#include <linux/atmapi.h>
#include <linux/atmioc.h>
#define ATMARP_RETRY_DELAY 30 /* request next resolut... | null | null | null | null | 116,405 |
38,946 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,941 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* mm/percpu-vm.c - vmalloc area based chunk allocation
*
* Copyright (C) 2010 SUSE Linux Products GmbH
* Copyright (C) 2010 Tejun Heo <tj@kernel.org>
*
* This file is released under the GPLv2.
*
* Chunks are mapped into vmalloc areas and populated page by page.
* This is the default chunk allocator.
*/
... | null | null | null | null | 112,288 |
20,751 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,746 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2005 - 2016 Broadcom
* 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 version 2
* as published by the Free Software Foundation. The full GNU General
* Public License is included in this distr... | null | null | null | null | 94,093 |
4,593 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,593 | 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 IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_MODEL_PRIVATE_H_
#define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_MODEL_PRIVATE_H_
#import... | null | null | null | null | 1,456 |
31,776 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,771 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Id: jade.c,v 1.9.2.4 2004/01/14 16:04:48 keil Exp $
*
* JADE stuff (derived from original hscx.c)
*
* Author Roland Klabunde
* Copyright by Roland Klabunde <R.Klabunde@Berkom.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated... | null | null | null | null | 105,118 |
49,696 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,696 | 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_AURA_WINDOW_TREE_HOST_H_
#define UI_AURA_WINDOW_TREE_HOST_H_
#include <stdint.h>
#include <memory>
#include "base/containers/flat_set.h"... | null | null | null | null | 46,559 |
34,187 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,187 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_REQUEST_INIT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_REQUEST_INIT_H_
#include "base/memory/scoped_... | null | null | null | null | 31,050 |
44,477 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,477 | 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 "ppapi/host/host_message_context.h"
namespace ppapi {
namespace host {
ReplyMessageContext::ReplyMessageContext()
: sync_reply_msg(NULL... | null | null | null | null | 41,340 |
33,545 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,545 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
* (http://www.torchmobile.com/)
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published ... | null | null | null | null | 30,408 |
37,180 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,180 | 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_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_WEB_SCHEDULER_IMPL_H_
#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER... | null | null | null | null | 34,043 |
46,719 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,719 | 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 ASH_SYSTEM_TRAY_TRAY_POPUP_UTILS_H_
#define ASH_SYSTEM_TRAY_TRAY_POPUP_UTILS_H_
#include <memory>
#include "ash/login_status.h"
#include "ash/sy... | null | null | null | null | 43,582 |
34,411 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,406 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2016 MediaTek Inc.
* Author: Daniel Hsiao <daniel.hsiao@mediatek.com>
* Jungchang Tsao <jungchang.tsao@mediatek.com>
* Tiffany Lin <tiffany.lin@mediatek.com>
*
* This program is free software; you can redistribute it and/or
* modify
* it under the terms of the GNU General Public License versi... | null | null | null | null | 107,753 |
20,280 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,275 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* stmmac_pcs.h: Physical Coding Sublayer Header File
*
* Copyright (C) 2016 STMicroelectronics (R&D) Limited
* Author: Giuseppe Cavallaro <peppe.cavallaro@st.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
* ... | null | null | null | null | 93,622 |
27,182 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,182 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2011 Xiph.Org Foundation
Written by Jean-Marc Valin */
/*
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 ... | null | null | null | null | 24,045 |
70,456 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,456 | 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 "device/fido/u2f_sign.h"
#include <utility>
#include "components/apdu/apdu_command.h"
#include "components/apdu/apdu_response.h"
#include "serv... | null | null | null | null | 67,319 |
288 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,345 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2006 Luca Barbato <lu_zero@gentoo.org>
*
* 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 ... | null | null | null | null | 69,400 |
2,523 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,518 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.u... | null | null | null | null | 75,866 |
32,809 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,809 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Samsung Electronics. 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... | null | null | null | null | 29,672 |
22,911 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,911 | 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/pepper/pepper_printing_host.h"
#include <utility>
#include "ppapi/c/dev/pp_print_settings_dev.h"
#include "p... | null | null | null | null | 19,774 |
11,150 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,150 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/gl_utils.h"
#include <unordered_set>
#include "base/metrics/histogram.h"
#include "gpu/command_buffer/common/ca... | null | null | null | null | 8,013 |
31,378 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,373 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* CE4100's SPI device is more or less the same one as found on PXA
*
* Copyright (C) 2016, Intel Corporation
*/
#include <linux/clk-provider.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/spi/pxa2xx_spi.h>
#include <linux/dmaen... | null | null | null | null | 104,720 |
37,791 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,791 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | null | null | null | null | 34,654 |
33,913 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,913 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /**
* Copyright (C) 2003, 2006 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
... | null | null | null | null | 30,776 |
66 | 38,39 | train_val | 698a691724c0a949295991e5df091ce16f899e02?w=1 | 259,021 | php-src | 1 | https://github.com/php/php-src | null | static void php_wddx_pop_element(void *user_data, const XML_Char *name)
{
st_entry *ent1, *ent2;
wddx_stack *stack = (wddx_stack *)user_data;
HashTable *target_hash;
zend_class_entry **pce;
zval *obj;
zval *tmp;
TSRMLS_FETCH();
/* OBJECTS_FIXME */
if (stack->top == 0) {
return;
}
if (!strcmp(name, EL_... | CVE-2016-7130 | CWE-476 | https://github.com/php/php-src/commit/698a691724c0a949295991e5df091ce16f899e02?w=1 | Low | 4,224 |
62,315 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,315 | 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/task_manager/task_manager_browsertest_util.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/locat... | null | null | null | null | 59,178 |
757 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,814 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2003 Daniel Moreno <comac AT comac DOT darktech DOT org>
* Copyright (c) 2010 Baptiste Coudurier
* Copyright (c) 2012 Loren Merritt
*
* This file is part of FFmpeg, ported from MPlayer.
*
* FFmpeg is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | null | null | null | null | 69,869 |
5,140 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,135 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /************************************************************************
This file is part of Echo Digital Audio's generic driver library.
Copyright Echo Digital Audio Corporation (c) 1998 - 2005
All rights reserved
www.echoaudio.com
This library is free software; you can redistribute it and/or
modify it under the t... | null | null | null | null | 78,482 |
32,050 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,050 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/css/properties/longhands/image_orientation.h"
#include "third_party/blink/renderer/core/css/css_primitive_value... | null | null | null | null | 28,913 |
23,668 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,668 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/compositor/reflector_texture.h"
#include "components/viz/common/gl_helper.h"
#include "content/browser/compositor/owned_mailbox... | null | null | null | null | 20,531 |
22 | 44 | train_val | 0da8b8b801f9276359262f1ef8274c7812d3dfda?w=1 | 258,977 | php-src | 1 | https://github.com/php/php-src | null | PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC)
{
size_t cursor, maxlen, len;
char *replaced;
enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC);
int doctype = flags & ENT_HTML_DOC... | CVE-2016-5094 | CWE-190 | https://github.com/php/php-src/commit/0da8b8b801f9276359262f1ef8274c7812d3dfda?w=1 | Low | 4,180 |
8,450 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,445 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* MN10300 cache management registers
*
* 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 Foun... | null | null | null | null | 81,792 |
8,736 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,731 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-netx/include/mach/uncompress.h
*
* Copyright (C) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
*
* 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 | 82,078 |
6,406 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,401 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* HD-audio controller helpers
*/
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/hdaudio.h>
#include <sound/hda_register.h>
/* clear CORB read pointer properly */
static void azx_clear_corbrp(struct hdac_bus *bus)
{
int timeout;
for (timeout... | null | null | null | null | 79,748 |
64,948 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,948 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_TEST_H_
#define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_TEST_H_
#include <memory>
#include <string>
#includ... | null | null | null | null | 61,811 |
2,997 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,054 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* RTP packetization for H.263 video
* Copyright (c) 2009 Luca Abeni
* Copyright (c) 2009 Martin Storsjo
*
* 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 Founda... | null | null | null | null | 72,109 |
2,189 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,246 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* quarterpel DSP functions
* Copyright (c) 2000, 2001 Fabrice Bellard
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publis... | null | null | null | null | 71,301 |
59,739 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,739 | 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 "base/bind.h"
#include "base/run_loop.h"
#include "base/test/scoped_task_environment.h"
#include "chrome/browser/extensions/... | null | null | null | null | 56,602 |
4,995 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,990 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
AudioScience HPI driver
Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public L... | null | null | null | null | 78,337 |
10,390 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,390 | 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 "headless/lib/browser/headless_browser_impl.h"
#include <string>
#include <utility>
#include <vector>
#include "base/callback_helpers.h"
#inclu... | null | null | null | null | 7,253 |
68,481 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,481 | 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 "remoting/host/host_change_notification_listener.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "ba... | null | null | null | null | 65,344 |
49,070 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,070 | 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 UI_GFX_GPU_FENCE_HANDLE_H_
#define UI_GFX_GPU_FENCE_HANDLE_H_
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "ui/gfx/... | null | null | null | null | 45,933 |
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.