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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,392 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,392 | 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 "content/browser/speech/speech_recognizer_impl.h"
#include <stdint.h>
#include <algorithm>
#include "base/bind.h"
#include "base/macros.h"... | null | null | null | null | 19,255 |
79 | 49,118,120,122,125 | train_val | 0474237508f39c4f783208123431815f1ededb76 | 160,207 | ImageMagick | 1 | https://github.com/ImageMagick/ImageMagick | null | static Image *ReadLABELImage(const ImageInfo *image_info,
ExceptionInfo *exception)
{
char
geometry[MaxTextExtent],
*property;
const char
*label;
DrawInfo
*draw_info;
Image
*image;
MagickBooleanType
status;
TypeMetric
metrics;
size_t
height,
width;
/*
Initialize Image structure.
*/
assert(image_info != (const Im... | CVE-2016-10067 | CWE-119 | https://github.com/ImageMagick/ImageMagick/commit/0474237508f39c4f783208123431815f1ededb76 | Low | 2,656 |
33,457 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,452 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* caam - Freescale FSL CAAM support for hw_random
*
* Copyright 2011 Freescale Semiconductor, Inc.
*
* Based on caamalg.c crypto API driver.
*
* relationship between job descriptors to shared descriptors:
*
* --------------- --------------
* | JobDesc #0 |-------------------->| ShareDe... | null | null | null | null | 106,799 |
55,589 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,589 | 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/services/media_gallery_util/public/cpp/safe_audio_video_checker.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"... | null | null | null | null | 52,452 |
13,764 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,759 | 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.
*
* Amit Bhor, Sameer Dhavale: Codito Technolog... | null | null | null | null | 87,106 |
24,873 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,868 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NV40_FB_RAM_H__
#define __NV40_FB_RAM_H__
#define nv40_ram(p) container_of((p), struct nv40_ram, base)
#include "ram.h"
struct nv40_ram {
struct nvkm_ram base;
u32 ctrl;
u32 coef;
};
int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64, u32,
struct nvkm_ram **);
#endif
| null | null | null | null | 98,215 |
1,490 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,445 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* gd_gd2.c
*
* Implements the I/O and support for the GD2 format.
*
* Changing the definition of GD2_DBG (below) will cause copious messages
* to be displayed while it processes requests.
*
* Designed, Written & Copyright 1999, Philip Warner.
*
*/
#include <stdio.h>
#include <errno.h>
#i... | null | null | null | null | 120,366 |
10,304 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,299 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/include/asm/procinfo.h
*
* Copyright (C) 1996-1999 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_PROCINFO_H
#define __ASM_PROC... | null | null | null | null | 83,646 |
9,621 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,621 | 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 CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_
#define CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_
#include <stdint.h>
#include <string>
#include <vector>
#in... | null | null | null | null | 6,484 |
54,760 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,760 | 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 "base/files/file_path.h"
#include "base/files/file_util.h"
#include "chrome/test/remoting/remote_desktop_browsertest.h"
#include "chrome/test/rem... | null | null | null | null | 51,623 |
17,223 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,223 | 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/viz/common/quads/surface_draw_quad.h"
#include "base/logging.h"
#include "base/optional.h"
#include "base/trace_event/trace_event_ar... | null | null | null | null | 14,086 |
24,375 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,370 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GTT virtualization
*
* Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limi... | null | null | null | null | 97,717 |
22,118 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,118 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_CONTENT_SECURITY_POLICY_CONTENT_SECURITY_POLICY_H_
#define CONTENT_COMMON_CONTENT_SECURITY_POLICY_CONTENT_SECURITY_POLICY_H_
#incl... | null | null | null | null | 18,981 |
37,508 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,503 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #if defined(__i386__) || defined(__x86_64__)
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdint.h>
#include <pci/pci.h>
#include "helpers/helpers.h"
#define MSR_AMD_PSTATE_STATUS 0xc0010063
#define MSR_AMD_PSTATE 0xc0010064
#define MSR_AMD_PSTATE_LIMIT 0xc0010061
union msr_pstate {
struct ... | null | null | null | null | 110,850 |
39,697 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,692 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __CGROUP_INTERNAL_H
#define __CGROUP_INTERNAL_H
#include <linux/cgroup.h>
#include <linux/kernfs.h>
#include <linux/workqueue.h>
#include <linux/list.h>
/*
* A cgroup can be associated with multiple css_sets as different tasks may
* belong to different cgroups on different hierarchies. In the other
* dire... | null | null | null | null | 113,039 |
41,956 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,951 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2009-2010 Pengutronix
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#ifndef __LINUX_MFD_MC13XXX_H
#def... | null | null | null | null | 115,298 |
25,660 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,655 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 99,002 |
29,513 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,513 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2016-06-29
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
**************************... | null | null | null | null | 26,376 |
40,770 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,770 | 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,633 |
7,677 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,672 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file contains work-arounds for x86 and x86_64 platform bugs.
*/
#include <linux/pci.h>
#include <linux/irq.h>
#include <asm/hpet.h>
#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP) && defined(CONFIG_PCI)
static void quirk_intel_irqbalance(struct pci_dev *dev)
{
u8 config;
u16 word;
/* BIOS may ... | null | null | null | null | 81,019 |
53,522 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,522 | 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 MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_
#define MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_
#include <stddef.h>
#include <stdint.h>
#include... | null | null | null | null | 50,385 |
26,283 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,278 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Etnaviv Project
*
* 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 | 99,625 |
38,785 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,785 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/permissions/navigator_permissions.h"
#include "third_party/blink/renderer/core/frame/navigator.h"
#include "... | null | null | null | null | 35,648 |
7,648 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,648 | 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/dns/dns_hosts.h"
#include "net/base/ip_address.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
struct ... | null | null | null | null | 4,511 |
22,938 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,938 | 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_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_TEST_H_
#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_TEST_H_
#incl... | null | null | null | null | 19,801 |
14,704 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,704 | 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_ZOOM_ZOOM_OBSERVER_H_
#define COMPONENTS_ZOOM_ZOOM_OBSERVER_H_
#include "components/zoom/zoom_controller.h"
namespace zoom {
// ... | null | null | null | null | 11,567 |
18,725 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,725 | 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/language/content/browser/language_code_locator.h"
#include "base/strings/string_split.h"
#include "third_party/s2cellid/src/s2/s2cel... | null | null | null | null | 15,588 |
52,168 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,168 | 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 MEDIA_AUDIO_AUDIO_SYNC_READER_H_
#define MEDIA_AUDIO_AUDIO_SYNC_READER_H_
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include ... | null | null | null | null | 49,031 |
57,334 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,334 | 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/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h"
#include <string.h>
#include <algorithm>
#include "base/files/... | null | null | null | null | 54,197 |
15,903 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,903 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/test/engine/test_syncable_utils.h"
#include "components/sync/syncable/directory.h"
#include "components/sync/syncable/entry.h"
... | null | null | null | null | 12,766 |
1,018 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,973 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| Zend Engine, Func Info |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2016 The PHP Group |
+---------... | null | null | null | null | 119,894 |
14,470 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,470 | 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/ntp_snippets/contextual/contextual_json_request.h"
#include <utility>
#include "base/json/json_reader.h"
#include "base/memory/ptr_... | null | null | null | null | 11,333 |
65,196 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,196 | 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_UI_ANDROID_INFOBARS_PREVIEWS_INFOBAR_H_
#define CHROME_BROWSER_UI_ANDROID_INFOBARS_PREVIEWS_INFOBAR_H_
#include "base/android/scop... | null | null | null | null | 62,059 |
3,195 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,252 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* AST demuxer
* Copyright (c) 2012 Paul B Mahol
*
* 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 o... | null | null | null | null | 72,307 |
9,073 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,068 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* omap-secure.h: OMAP Secure infrastructure header.
*
* Copyright (C) 2011 Texas Instruments, Inc.
* Santosh Shilimkar <santosh.shilimkar@ti.com>
* Copyright (C) 2012 Ivaylo Dimitrov <freemangordon@abv.bg>
* Copyright (C) 2013 Pali Rohár <pali.rohar@gmail.com>
*
* This program is free software; you can redis... | null | null | null | null | 82,415 |
24,834 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,834 | 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 EXTENSIONS_RENDERER_WORKER_SCRIPT_CONTEXT_SET_H_
#define EXTENSIONS_RENDERER_WORKER_SCRIPT_CONTEXT_SET_H_
#include <memory>
#include <vector>
#i... | null | null | null | null | 21,697 |
25,311 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,306 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NVBIOS_PERF_H__
#define __NVBIOS_PERF_H__
u32 nvbios_perf_table(struct nvkm_bios *, u8 *ver, u8 *hdr,
u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
struct nvbios_perfE {
u8 pstate;
u8 fanspeed;
u8 voltage;
u32 core;
u32 shader;
u32 memory;
u32 vdec;
u32 disp;
u32 script;
u8 pcie_speed;
u8 pcie... | null | null | null | null | 98,653 |
17,068 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,068 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_TEST_FAKE_COMPOSITOR_FRAME_SINK_CLIENT_H_
#define COMPONENTS_VIZ_TEST_FAKE_COMPOSITOR_FRAME_SINK_CLIENT_H_
#include <vector>
#inc... | null | null | null | null | 13,931 |
40,514 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,514 | 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,377 |
64,450 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,450 | 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/window_sizer/window_sizer.h"
// This doesn't matter for aura, which has different tiling.
// static
const int WindowSizer... | null | null | null | null | 61,313 |
1,370 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,325 | 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,246 |
1,768 | 6,7,10 | train_val | e5c298b780737c53fa9aae44d6fef522931d88b0 | 1,768 | Chrome | 1 | https://github.com/chromium/chromium | 2015-11-21 00:43:17+00:00 | AppCacheUpdateJob::~AppCacheUpdateJob() {
if (service_)
service_->RemoveObserver(this);
if (internal_state_ != COMPLETED)
Cancel();
DCHECK(!manifest_fetcher_);
DCHECK(pending_url_fetches_.empty());
DCHECK(!inprogress_cache_.get());
DCHECK(pending_master_entries_.empty());
DCHECK(master_entry_fetches_.empty());
... | CVE-2015-6765 | null | https://github.com/chromium/chromium/commit/e5c298b780737c53fa9aae44d6fef522931d88b0 | Low | 1,768 |
12,568 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,563 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Old U-boot compatibility for 8xx
*
* Author: Scott Wood <scottwood@freescale.com>
*
* Copyright (c) 2007 Freescale Semiconductor, Inc.
*
* 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 Softwa... | null | null | null | null | 85,910 |
1,932 | 1,2,3,4,5,6,7,8,9,10,11 | train_val | 62b8b6e168a12263aab6b88dbef0b900cc37309f | 1,932 | Chrome | 1 | https://github.com/chromium/chromium | 2016-08-24 20:38:53+00:00 | void PartialMagnificationController::OnMouseEvent(ui::MouseEvent* event) {
if (IsPartialMagnified() && event->type() == ui::ET_MOUSE_MOVED) {
aura::Window* target = static_cast<aura::Window*>(event->target());
aura::Window* current_root = target->GetRootWindow();
// TODO(zork): Handle the case where the e... | null | null | https://github.com/chromium/chromium/commit/62b8b6e168a12263aab6b88dbef0b900cc37309f | null | 1,932 |
254 | null | train_val | b09a65ece69306a70044ac99ca6928eda58d7c79 | 270,561 | tcpdump | 0 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-14 11:59:38-07:00 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions
* retain the above co... | null | null | null | null | 124,169 |
10,708 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,703 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/module.h>
#include "libgcc.h"
word_type __ucmpdi2(unsigned long long a, unsigned long long b)
{
const DWunion au = {.ll = a};
const DWunion bu = {.ll = b};
if ((unsigned int) au.s.high < (unsigned int) bu.s.high)
return 0;
else if ((unsigned int) au.s.high > (unsigned int) bu.s.high)
return 2;... | null | null | null | null | 84,050 |
34,195 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,190 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* drivers/media/radio/radio-si476x.c -- V4L2 driver for SI476X chips
*
* Copyright (C) 2012 Innovative Converged Devices(ICD)
* Copyright (C) 2013 Andrey Smirnov
*
* Author: Andrey Smirnov <andrew.smirnov@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the term... | null | null | null | null | 107,537 |
50,613 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,613 | 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/ozone/platform/drm/host/drm_cursor.h"
#include "base/trace_event/trace_event.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/... | null | null | null | null | 47,476 |
10,530 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,530 | 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 MOJO_PUBLIC_CPP_BINDINGS_LIB_FIXED_BUFFER_H_
#define MOJO_PUBLIC_CPP_BINDINGS_LIB_FIXED_BUFFER_H_
#include <cstddef>
#include "base/component_ex... | null | null | null | null | 7,393 |
31,728 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,723 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Id: capidrv.c,v 1.1.2.2 2004/01/12 23:17:24 keil Exp $
*
* ISDN4Linux Driver, using capi20 interface (kernelcapi)
*
* Copyright 1997 by Carsten Paeth <calle@calle.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*... | null | null | null | null | 105,070 |
33,109 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,109 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_GLOBAL_SCOPE_CREATION_PARAMS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_GLOBAL_SCOPE_CREATION_PARA... | null | null | null | null | 29,972 |
40,363 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,363 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright 2014 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* Output buffer for WOFF2 decompression. */
#include <woff2/output.h>
using std::string;
namespace woff2 {
WOFF2StringOut::WOFF2StringOut(string* b... | null | null | null | null | 37,226 |
16,353 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,353 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_ENGINE_CYCLE_TYPE_DEBUG_INFO_OBSERVER_H_
#define COMPONENTS_SYNC_ENGINE_CYCLE_TYPE_DEBUG_INFO_OBSERVER_H_
#include "components/sy... | null | null | null | null | 13,216 |
19,144 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,139 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* osd_uld.c - OSD Upper Layer Driver
*
* A Linux driver module that registers as a SCSI ULD and probes
* for OSD type SCSI devices.
* It's main function is to export osd devices to in-kernel users like
* osdfs and pNFS-objects-LD. It also provides one ioctl for running
* in Kernel tests.
*
* Copyright (C) 2... | null | null | null | null | 92,486 |
24 | 35 | train_val | 3ab016764c7f787829d9065440d86f5609765110 | 160,152 | ImageMagick | 1 | https://github.com/ImageMagick/ImageMagick | null | static MagickBooleanType SkipRGBMipmaps(Image *image,DDSInfo *dds_info,
int pixel_size,ExceptionInfo *exception)
{
MagickOffsetType
offset;
register ssize_t
i;
size_t
h,
w;
/*
Only skip mipmaps for textures and cube maps
*/
if (EOFBlob(image) != MagickFalse)
{
ThrowFileException(exception,CorruptImageError,"Unexpect... | CVE-2015-8959 | CWE-399 | https://github.com/ImageMagick/ImageMagick/commit/3ab016764c7f787829d9065440d86f5609765110 | Medium | 2,601 |
30,400 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,395 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Register cache access API - flat caching support
*
* Copyright 2012 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.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
* publi... | null | null | null | null | 103,742 |
29,375 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,370 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Broadcom BCM590xx regulator driver
*
* Copyright 2014 Linaro Limited
* Author: Matt Porter <mporter@linaro.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2... | null | null | null | null | 102,717 |
22,133 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,128 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Atheros CARL9170 driver
*
* Basic HW register/memory/command access functions
*
* Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | null | null | null | null | 95,475 |
33,465 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,465 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | null | null | null | null | 30,328 |
53,845 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,845 | 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 "android_webview/browser/aw_permission_manager.h"
#include <memory>
#include <string>
#include <utility>
#include "android_webview/browser/aw_b... | null | null | null | null | 50,708 |
1,882 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,939 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* ELS (Entropy Logarithmic-Scale) decoder
*
* Copyright (c) 2013 Maxim Poliakovski
*
* 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
* versi... | null | null | null | null | 70,994 |
57,899 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,899 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/lock_screen_apps/lock_screen_profile_creator_impl.h"
#include <memory>
#include <string>
#include <utility>
#include "... | null | null | null | null | 54,762 |
27,309 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,304 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* comedi/drivers/adl_pci8164.c
*
* Hardware comedi driver for PCI-8164 Adlink card
* Copyright (C) 2004 Michel Lachine <mike@mikelachaine.ca>
*
* 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 Fou... | null | null | null | null | 100,651 |
26,745 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,745 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2009 Google Inc. All Rights Reserved.
// Author: sanjay@google.com (Sanjay Ghemawat)
#include "raw_printer.h"
#include <stdio.h>
#include <string>
#include "base/logging.h"
using std::string;
#define TEST(a, b) void TEST_##a##_##b()
#define RUN_TEST(a, b) TEST_##a##_##b()
TEST(RawPrinter, Empty) {
... | null | null | null | null | 23,608 |
23,936 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,931 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* drivers/video/backlight/ili9320.h
*
* ILI9320 LCD controller driver core.
*
* Copyright 2007 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://armlinux.simtec.co.uk/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ve... | null | null | null | null | 97,278 |
2,325 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,893 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Exynos4210 I2C Bus Serial Interface Emulation
*
* Copyright (C) 2012 Samsung Electronics Co Ltd.
* Maksim Kozlov, <m.kozlov@samsung.com>
* Igor Mitsyanko, <i.mitsyanko@samsung.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Pub... | null | null | null | null | 123,017 |
36,901 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,896 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will... | null | null | null | null | 110,243 |
8,049 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,044 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <asm-generic/local64.h>
| null | null | null | null | 81,391 |
9,107 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,107 | 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 NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_
#define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PARAMETERS_H_
#include <stdint.h>
#include <string>
#in... | null | null | null | null | 5,970 |
13,382 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,382 | 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/ntp_tiles/metrics.h"
#include <string>
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#in... | null | null | null | null | 10,245 |
54,240 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,240 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file defines helper methods used to schedule files for deletion
// on next reboot. The code here is heavily borrowed and simplified from
// ... | null | null | null | null | 51,103 |
41,334 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,334 | 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 "tools/gn/xcode_object.h"
#include <iomanip>
#include <memory>
#include <sstream>
#include <utility>
#include "base/logging.h"
#include "base/m... | null | null | null | null | 38,197 |
1,518 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,086 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Xtensa gdb server stub
*
* Copyright (c) 2003-2005 Fabrice Bellard
* Copyright (c) 2013 SUSE LINUX Products GmbH
*
* This library 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
* v... | null | null | null | null | 122,210 |
15,444 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,444 | 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.
// A RendererDnsPrefetch instance is maintained for each RenderThread.
// URL strings are typically added to the embedded queue during rendering.
// T... | null | null | null | null | 12,307 |
4,375 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,370 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* blockcheck.h
*
* Checksum and ECC codes for the OCFS2 userspace library.
*
* Copyright (C) 2004, 2008 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | null | null | null | null | 77,717 |
3,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,330 | 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_
#define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_
#include <stdint.h>
#inc... | null | null | null | null | 193 |
28,066 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,061 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* API bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature
* sensor, ADC and DAC
*
* Copyright 2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/spi/spi.h>
#inclu... | null | null | null | null | 101,408 |
13,256 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,251 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ALPHA_FCNTL_H
#define _ALPHA_FCNTL_H
#define O_CREAT 01000 /* not fcntl */
#define O_TRUNC 02000 /* not fcntl */
#define O_EXCL 04000 /* not fcntl */
#define O_NOCTTY 010000 /* not fcntl */
#define O_NONBLOCK 00004
#define O_APPEND 00010
#define O_DSYNC 040000 /* used to be O_SYNC, see below */
#def... | null | null | null | null | 86,598 |
9,336 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,336 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/http/mock_sspi_library_win.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
MockSSPILibrary::MockSSPILibrary() {
}
... | null | null | null | null | 6,199 |
39,571 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,566 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #undef TRACE_SYSTEM
#define TRACE_SYSTEM test
#if !defined(_TRACE_TEST_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_TEST_H
#include <linux/tracepoint.h>
TRACE_EVENT(ftrace_test_filter,
TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h),
TP_ARGS(a, b, c, d, e, f, g, h),
TP_STRUCT__entry(
... | null | null | null | null | 112,913 |
2,500 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,495 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2011 Patrick McHardy <kaber@trash.net>
* Copyright (c) 2012 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
*/
#inclu... | null | null | null | null | 75,843 |
5,634 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,629 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2010-2011,2013-2015 The Linux Foundation. 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distri... | null | null | null | null | 78,976 |
27,501 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,496 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* IEEE 802.11 SoftMAC layer
* Copyright (c) 2005 Andrea Merello <andrea.merello@gmail.com>
*
* Mostly extracted from the rtl8180-sa2400 driver for the
* in-kernel generic ieee802.11 stack.
*
* Few lines might be stolen from other part of the ieee80211
* stack. Copyright who own it's copyright
*
* WPA code sto... | null | null | null | null | 100,843 |
59,176 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,176 | 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/extensions/api/messaging/native_message_process_host.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include... | null | null | null | null | 56,039 |
7,003 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,003 | 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/quic/chromium/quic_chromium_connection_helper.h"
namespace net {
QuicChromiumConnectionHelper::QuicChromiumConnectionHelper(
const... | null | null | null | null | 3,866 |
44,956 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,956 | 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 <stdint.h>
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_flash_file.h"
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/p... | null | null | null | null | 41,819 |
10,989 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,989 | 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 "gpu/tools/compositor_model_bench/forward_render_model.h"
#include <stddef.h>
#include <cstdlib>
#include <vector>
#include "gpu/tools/com... | null | null | null | null | 7,852 |
23,548 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,548 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/android/content_view_core.h"
#include "base/android/jni_android.h"
#include "base/macros.h"
#include "base/metrics/user_metrics... | null | null | null | null | 20,411 |
1,129 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,973 | 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 -*- */
/*
* Copyright 1995, 2003, 2008, 2012 by the Massachusetts Institute of Technology. All
* Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is ... | null | null | null | null | 74,281 |
49,895 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,895 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ANDROID_ANIMATION_UTILS_H_
#define UI_ANDROID_ANIMATION_UTILS_H_
namespace ui {
template <typename T>
T Lerp(T a, T b, T t) {
return a + (b... | null | null | null | null | 46,758 |
31,863 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,863 | 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/flex_shrink.h"
#include "third_party/blink/renderer/core/css/parser/css_property_parse... | null | null | null | null | 28,726 |
2,810 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,378 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* vhost-user.h
*
* Copyright (c) 2013 Virtual Open Systems Sarl.
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
*/
#ifndef VHOST_USER_H
#define VHOST_USER_H
struct vhost_net;
struct vhost_net *vhost_user_get_vhost_net(NetCl... | null | null | null | null | 123,502 |
66,016 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,016 | 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/media/webrtc/desktop_media_list_base.h"
#include <set>
#include "chrome/browser/media/webrtc/desktop_media_list_observer.h"
#in... | null | null | null | null | 62,879 |
47,744 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,744 | 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 CC_ANIMATION_TRANSFORM_OPERATIONS_H_
#define CC_ANIMATION_TRANSFORM_OPERATIONS_H_
#include <memory>
#include <vector>
#include "base/logging.h"
... | null | null | null | null | 44,607 |
52,899 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,899 | 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 MEDIA_BASE_AUDIO_BUFFER_H_
#define MEDIA_BASE_AUDIO_BUFFER_H_
#include <stddef.h>
#include <stdint.h>
#include <list>
#include <memory>
#include... | null | null | null | null | 49,762 |
28,221 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,216 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Greybus operations
*
* Copyright 2014-2015 Google Inc.
* Copyright 2014-2015 Linaro Ltd.
*
* Released under the GPLv2 only.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include "greybus.h"
#inc... | null | null | null | null | 101,563 |
58,169 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,169 | 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/net/nqe/ui_network_quality_estimator_service.h"
#include <string>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#inc... | null | null | null | null | 55,032 |
71,726 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,726 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_UI_WS_DRAG_SOURCE_H_
#define SERVICES_UI_WS_DRAG_SOURCE_H_
namespace ui {
namespace ws {
class DragTargetConnection;
class ServerWindow... | null | null | null | null | 68,589 |
462 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,030 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU BOOTP/DHCP server
*
* Copyright (c) 2004 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | null | null | null | null | 121,154 |
417 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,985 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU System Emulator
*
* Copyright (c) 2003-2008 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | null | null | null | null | 121,109 |
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.