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,212 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,207 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2010-2011 Atheros Communications Inc.
* Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... | null | null | null | null | 95,554 |
2,429 | 1,2,3,4,5,6,7,8,9 | train_val | 9fe6e9f89a1c78b8b38e806d35651a15858b053b | 2,429 | Chrome | 1 | https://github.com/chromium/chromium | 2018-02-06 01:02:04+00:00 | bool InitSkBitmapFromData(SkBitmap* bitmap,
const char* pixels,
size_t pixels_size) const {
if (!bitmap->tryAllocPixels(
SkImageInfo::Make(width, height, color_type, alpha_type)))
return false;
if (pixels_size != bitmap->computeByteSize()... | CVE-2018-6067 | CWE-125 | https://github.com/chromium/chromium/commit/9fe6e9f89a1c78b8b38e806d35651a15858b053b | Medium | 2,429 |
35,085 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,085 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google, Inc. All Rights Reserved.
* Copyright (C) 2011 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... | null | null | null | null | 31,948 |
577 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,634 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2001 Heikki Leinonen
* Copyright (c) 2001 Chris Bagwell
* Copyright (c) 2003 Donnie Smith
* Copyright (c) 2014 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 ... | null | null | null | null | 69,689 |
20,870 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,870 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/render_thread_impl.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/callback.h... | null | null | null | null | 17,733 |
16,584 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,579 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2010 Imagination Technologies
*/
#ifndef __ASM_METAG_USER_GATEWAY_H
#define __ASM_METAG_USER_GATEWAY_H
#include <asm/page.h>
/* Page of kernel code accessible to userspace. */
#define USER_GATEWAY_PAGE 0x6ffff000
/* Offset of TLS pointer array in gateway page. */
#define USER_GATEWAY_TLS 0x100
... | null | null | null | null | 89,926 |
28,002 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,002 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | null | null | null | null | 24,865 |
29,787 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,787 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2015 May 30
**
** 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,650 |
50,575 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,575 | 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 "ui/ozone/platform/drm/gpu/drm_window.h"
#include <drm_fourcc.h>
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#i... | null | null | null | null | 47,438 |
51,905 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,905 | 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_GPU_VT_VIDEO_DECODE_ACCELERATOR_MAC_H_
#define MEDIA_GPU_VT_VIDEO_DECODE_ACCELERATOR_MAC_H_
#include <stdint.h>
#include <map>
#include <m... | null | null | null | null | 48,768 |
68,784 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,784 | 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 "remoting/codec/video_encoder_vpx.h"
#include <utility>
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#inc... | null | null | null | null | 65,647 |
12,884 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,879 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* c 2001 PPC 64 Team, IBM Corp
*
* 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.
*/
#ifnde... | null | null | null | null | 86,226 |
65,320 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,320 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "ash/shell.h"
#include "ash/system/cast/tray_cast_test_api.h"
#include "ash/system/tray/system_tray.h"
#include "ash/system/tr... | null | null | null | null | 62,183 |
40,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_BH_H
#define _LINUX_BH_H
#include <linux/preempt.h>
#ifdef CONFIG_TRACE_IRQFLAGS
extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
#else
static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt)
{
preempt_count_add(cnt);
barrier();
}
#endif
static inl... | null | null | null | null | 114,168 |
7,355 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,355 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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.
// TCP cubic send side congestion algorithm, emulates the behavior of TCP cubic.
#ifndef NET_QUIC_CORE_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BYTES_H_
#... | null | null | null | null | 4,218 |
2,052 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,620 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* ARM GICv3 emulation: Redistributor
*
* Copyright (c) 2015 Huawei.
* Copyright (c) 2016 Linaro Limited.
* Written by Shlomo Pongratz, Peter Maydell
*
* This code is licensed under the GPL, version 2 or (at your option)
* any later version.
*/
#include "qemu/osdep.h"
#include "qemu/log.h"
#include "trace.h... | null | null | null | null | 122,744 |
16,451 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,446 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* PROM library initialisation code.
*
* Copyright (C) 1996 David S. Miller (davem@davemloft.net)
*/
#include <linux/init.h>
#include <lin... | null | null | null | null | 89,793 |
35,623 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,623 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_SORTED_DOCUMENT_MARKER_LIST_EDITOR_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_SORT... | null | null | null | null | 32,486 |
10,725 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,725 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/edk/test/multiprocess_test_helper.h"
#include <stddef.h>
#include <utility>
#include "base/logging.h"
#include "build/build_config.h"
#i... | null | null | null | null | 7,588 |
20,007 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,007 | 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 CONTENT_PUBLIC_COMMON_MOJO_CHANNEL_SWITCHES_H_
#define CONTENT_PUBLIC_COMMON_MOJO_CHANNEL_SWITCHES_H_
#include "content/common/content_export.h"
... | null | null | null | null | 16,870 |
22,814 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,814 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/media/in_process_launched_video_capture_device.h"
#include "base/bind_helpers.h"
#include "base/metrics/histogram... | null | null | null | null | 19,677 |
29,095 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,090 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Hardware monitoring driver for ucd9200 series Digital PWM System Controllers
*
* Copyright (C) 2011 Ericsson AB.
*
* 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... | null | null | null | null | 102,437 |
35,387 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,387 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 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 | 32,250 |
56,351 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,351 | 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 "chrome/browser/chromeos/login/easy_unlock/easy_unlock_auth_attempt.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/macros... | null | null | null | null | 53,214 |
28,766 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,766 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | null | null | null | null | 25,629 |
1,247 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,815 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Copyright (c) 2013 Kevin Wolf <kwolf@redhat.com>
*
* 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, modi... | null | null | null | null | 121,939 |
3,101 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,096 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* fs/eventpoll.c (Efficient event retrieval implementation)
* Copyright (C) 2001,...,2009 Davide Libenzi
*
* 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 ... | null | null | null | null | 76,444 |
11,600 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,600 | 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/vulkan/vulkan_image_view.h"
#include "base/logging.h"
#include "gpu/vulkan/vulkan_device_queue.h"
namespace gpu {
namespace {
const V... | null | null | null | null | 8,463 |
32,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@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.
*
* This is the driver for the imx25 GCQ (Generi... | null | null | null | null | 106,168 |
17,371 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,371 | 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_AUTOFILL_CONTENT_RENDERER_HTML_BASED_USERNAME_DETECTOR_VOCABULARY_H_
#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_HTML_BASED_USERNAME_D... | null | null | null | null | 14,234 |
37,464 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,459 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Slabinfo: Tool to get reports about slabs
*
* (C) 2007 sgi, Christoph Lameter
* (C) 2011 Linux Foundation, Christoph Lameter
*
* Compile with:
*
* gcc -o slabinfo slabinfo.c
*/
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <dirent.h>
#include <strings.h>
#include <string.h>
#inclu... | null | null | null | null | 110,806 |
21,770 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,765 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* 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 Foundati... | null | null | null | null | 95,112 |
66,810 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,810 | 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_CANNED_SYNCABLE_FILE_SYSTEM_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_CANNED_SYNCABLE_FILE_SYSTEM_H_
... | null | null | null | null | 63,673 |
22,846 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,841 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IBM eServer Hypervisor Virtual Console Server Device Driver
* Copyright (C) 2003, 2004 IBM Corp.
* Ryan S. Arnold (rsa@us.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 Software Foundatio... | null | null | null | null | 96,188 |
46,627 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,627 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_MODEL_UPDATE_MODEL_H_
#define ASH_SYSTEM_MODEL_UPDATE_MODEL_H_
#include "ash/public/interfaces/update.mojom.h"
#include "base/macros.h... | null | null | null | null | 43,490 |
10,028 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,028 | 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 CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_
#define CHROMECAST_MEDIA_CMA_PIPELINE_MEDIA_PIPELINE_CLIENT_H_
#include "base/callback.h"
... | null | null | null | null | 6,891 |
54,513 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,513 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_CHROMEDRIVER_SESSION_H_
#define CHROME_TEST_CHROMEDRIVER_SESSION_H_
#include <list>
#include <memory>
#include <string>
#include ... | null | null | null | null | 51,376 |
18,504 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,499 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic Macintosh NCR5380 driver
*
* Copyright 1998, Michael Schmitz <mschmitz@lbl.gov>
*
* derived in part from:
*/
/*
* Generic Generic NCR5380 driver
*
* Copyright 1995, Russell King
*/
#include <linux/types.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linu... | null | null | null | null | 91,846 |
29,638 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,638 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2001 September 15
**
** 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,501 |
26,187 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,187 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_UPDATER_EXTENSION_UPDATE_DATA_H_
#define EXTENSIONS_BROWSER_UPDATER_EXTENSION_UPDATE_DATA_H_
#include <map>
#include <stri... | null | null | null | null | 23,050 |
54,424 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,424 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_BASE_SCOPED_BUNDLE_SWIZZLER_MAC_H_
#define CHROME_TEST_BASE_SCOPED_BUNDLE_SWIZZLER_MAC_H_
#include <memory>
#include "base/macros.h"... | null | null | null | null | 51,287 |
8,257 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,257 | 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 NET_TEST_CT_TEST_UTIL_H_
#define NET_TEST_CT_TEST_UTIL_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <vector>
#include ... | null | null | null | null | 5,120 |
14,213 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,213 | 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 COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
#define COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NO... | null | null | null | null | 11,076 |
49,490 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,490 | 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 "ui/gfx/animation/linear_animation.h"
#include <math.h>
#include <stdint.h>
#include <algorithm>
#include "ui/gfx/animation/animation_cont... | null | null | null | null | 46,353 |
47,318 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,318 | 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.
#ifndef CC_TREES_LAYER_TREE_IMPL_H_
#define CC_TREES_LAYER_TREE_IMPL_H_
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include... | null | null | null | null | 44,181 |
4,588 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,588 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_TABLE_VIEW_CELLS_TABLE_VIEW_HEADER_FOOTER_ITEM_H_
#define IOS_CHROME_BROWSER_UI_TABLE_VIEW_CELLS_TABLE_VIEW_HEADER_FOOTER_IT... | null | null | null | null | 1,451 |
9,534 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,534 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/network_error_logging/network_error_logging_delegate.h"
#include <memory>
namespace net {
namespace {
class NetworkErrorLoggingDelegateI... | null | null | null | null | 6,397 |
3,435 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,492 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* RTSP definitions
* Copyright (c) 2002 Fabrice Bellard
*
* 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 (a... | null | null | null | null | 72,547 |
47,879 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,879 | 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 "ui/display/display_change_notifier.h"
#include <stdint.h>
#include "ui/display/display.h"
#include "ui/display/display_observer.h"
namespace ... | null | null | null | null | 44,742 |
60,080 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,080 | 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/offline_pages/android/prefetch_background_task_android.h"
#include <memory>
#include "base/logging.h"
#include "base/time/time.h... | null | null | null | null | 56,943 |
47,533 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,533 | 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 CC_LAYERS_NINE_PATCH_GENERATOR_H_
#define CC_LAYERS_NINE_PATCH_GENERATOR_H_
#include <string>
#include <vector>
#include "base/macros.h"
#includ... | null | null | null | null | 44,396 |
68,785 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,785 | 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 REMOTING_CODEC_ENCODER_BITRATE_FILTER_H_
#define REMOTING_CODEC_ENCODER_BITRATE_FILTER_H_
#include "remoting/base/weighted_samples.h"
namespace ... | null | null | null | null | 65,648 |
60,030 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,030 | 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/offline_pages/background_loader_offliner.h"
#include <utility>
#include "base/bind.h"
#include "base/json/json_writer.h"
#inclu... | null | null | null | null | 56,893 |
41,771 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,766 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _CAN_PLATFORM_CC770_H
#define _CAN_PLATFORM_CC770_H
/* CPU Interface Register (0x02) */
#define CPUIF_CEN 0x01 /* Clock Out Enable */
#define CPUIF_MUX 0x04 /* Multiplex */
#define CPUIF_SLP 0x08 /* Sleep */
#define CPUIF_PWD 0x10 /* Power Down Mode */
#define CPUIF_DMC 0x20 /* Divide Memory Clock */
#define C... | null | null | null | null | 115,113 |
26,470 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,465 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* mga_drv.h -- Private header for the Matrox G200/G400 driver -*- linux-c -*-
* Created: Mon Dec 13 01:50:01 1999 by jhartmann@precisioninsight.com
*
* Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
* Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
* All rights reserved.
*
* Permission... | null | null | null | null | 99,812 |
37,152 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,147 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Synopsys AXS10X SDP I2S PLL clock driver
*
* Copyright (C) 2016 Synopsys
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/platform_device.h>
#include ... | null | null | null | null | 110,494 |
38,362 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,362 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_ANIMATION_COMPOSITOR_ANIMATION_HOST_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_ANIMATION_COMPOSITOR_ANIMAT... | null | null | null | null | 35,225 |
38,292 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,292 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_WEBORIGIN_REPORTING_SERVICE_PROXY_PTR_HOLDER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_WEBORIGIN_REPO... | null | null | null | null | 35,155 |
6,876 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,876 | 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 NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
#define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
#include "base/macros.h"
#include "net/quic/core/quic_con... | null | null | null | null | 3,739 |
27,321 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,321 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... | null | null | null | null | 24,184 |
633 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,588 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is ... | null | null | null | null | 119,509 |
18,899 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,899 | 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 COMPONENTS_CRYPTAUTH_BLE_BLUETOOTH_LOW_ENERGY_WEAVE_DEFINES_H_
#define COMPONENTS_CRYPTAUTH_BLE_BLUETOOTH_LOW_ENERGY_WEAVE_DEFINES_H_
#include <s... | null | null | null | null | 15,762 |
51,767 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,767 | 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 "media/mojo/services/media_metrics_provider.h"
#include "media/mojo/services/video_decode_stats_recorder.h"
#include "media/mojo/services/watch_... | null | null | null | null | 48,630 |
2,375 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,432 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* H.26L/H.264/AVC/JVT/14496-10/... reference picture handling
* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Fre... | null | null | null | null | 71,487 |
39,716 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,716 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
*
* 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 co... | null | null | null | null | 36,579 |
11,844 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,844 | 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/omnibox/browser/answers_cache.h"
#include "base/i18n/case_conversion.h"
#include "base/strings/string_util.h"
AnswersQueryData::Ans... | null | null | null | null | 8,707 |
58,711 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,711 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 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_NTP_OVERRIDDEN_BUBBLE_DELEGATE_H_
#define CHROME_BROWSER_EXTENSIONS_NTP_OVERRIDDEN_BUBBLE_DELEGATE_H_
#include <std... | null | null | null | null | 55,574 |
45,311 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,311 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/display/cursor_window_controller.h"
#include "ash/accessibility/accessibility_controller.h"
#include "ash/display/display_util.h"
#include ... | null | null | null | null | 42,174 |
18,943 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,943 | 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 COMPONENTS_SERVICES_FILESYSTEM_FILE_IMPL_H_
#define COMPONENTS_SERVICES_FILESYSTEM_FILE_IMPL_H_
#include <stdint.h>
#include "base/files/file.h"... | null | null | null | null | 15,806 |
38,653 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,648 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef BUG_H
#define BUG_H
#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
#define BUILD_BUG_ON(x)
#define BUG() abort()
#endif /* BUG_H */
| null | null | null | null | 111,995 |
11,653 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,653 | 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 "gpu/config/gpu_control_list.h"
#include <utility>
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/numerics/safe... | null | null | null | null | 8,516 |
55,197 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,197 | 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/common/origin_trials/chrome_origin_trial_policy.h"
#include <memory>
#include "base/command_line.h"
#include "base/macros.h"
#include "... | null | null | null | null | 52,060 |
12,595 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,595 | 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/data_reduction_proxy/content/browser/data_reduction_proxy_pingback_client_impl.h"
#include <stdint.h>
#include <list>
#include <mem... | null | null | null | null | 9,458 |
38,999 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,994 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/mm/vmalloc.c
*
* Copyright (C) 1993 Linus Torvalds
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
* SMP-safe vmalloc/vfree/ioremap, Tigran Aivazian <tigran@veritas.com>, May 2000
* Major rework to support vmap/vunmap, Christoph Hellwig, SGI, August 2002
* Numa awareness, Ch... | null | null | null | null | 112,341 |
14,375 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,375 | 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/remote/cached_image_fetcher.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h"
#include... | null | null | null | null | 11,238 |
11,517 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,512 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will ... | null | null | null | null | 84,859 |
62,753 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,753 | 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 <stddef.h>
#include "base/macros.h"
#include "base/strings/pattern.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scope... | null | null | null | null | 59,616 |
26,293 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,288 | 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,635 |
12,082 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,077 | 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.
*
* This program is distributed in the hope that it will be use... | null | null | null | null | 85,424 |
51,967 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,967 | 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 "media/gpu/vaapi/vaapi_picture_tfp.h"
#include "media/gpu/vaapi/va_surface.h"
#include "media/gpu/vaapi/vaapi_wrapper.h"
#include "ui/gfx/x/x11_... | null | null | null | null | 48,830 |
62,085 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,085 | 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_MAC_EXCEPTION_PROCESSOR_H_
#define CHROME_BROWSER_MAC_EXCEPTION_PROCESSOR_H_
#include <stddef.h>
@class NSException;
namespace c... | null | null | null | null | 58,948 |
44,311 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,311 | 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 "native_client/src/include/elf32.h"
#include "native_client/src/include/elf_auxv.h"
#include "native_client/src/u... | null | null | null | null | 41,174 |
1,206 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,050 | 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/krb5/krb/authdata_dec.c */
/*
* Copyright 1990 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 Governme... | null | null | null | null | 74,358 |
33,754 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,754 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006, 2007, 2008, 2009, 2010 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 Publicw
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in th... | null | null | null | null | 30,617 |
1,571 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,415 | 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 -*- */
/* include/k5-err.h */
/*
* Copyright 2006, 2007 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 ... | null | null | null | null | 74,723 |
21,634 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,629 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek 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 F... | null | null | null | null | 94,976 |
68,088 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,088 | 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 "remoting/protocol/mouse_input_filter.h"
#include "remoting/proto/event.pb.h"
namespace remoting {
namespace protocol {
MouseInputFilter::... | null | null | null | null | 64,951 |
36,405 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,400 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* pdt.c: OF PROM device tree support code.
*
* Paul Mackerras August 1996.
* Copyright (C) 1996-2005 Paul Mackerras.
*
* Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner.
* {engebret|bergner}@us.ibm.com
*
* Adapted for sparc by David S. Miller davem@davemloft.net
* Adapted for multiple ar... | null | null | null | null | 109,747 |
27,390 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,385 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for KeyStream wireless LAN
*
* Copyright (C) 2005-2008 KeyStream Corp.
* Copyright (C) 2009 Renesas Technology Corp.
*
* 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 | 100,732 |
19,969 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,969 | 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_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
#define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
#include "base/compiler_specific.h"
#... | null | null | null | null | 16,832 |
27,046 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,046 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | null | null | null | null | 23,909 | |
19,295 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,295 | 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_ZUCCHINI_MAIN_UTILS_H_
#define COMPONENTS_ZUCCHINI_MAIN_UTILS_H_
#include <iosfwd>
#include "base/files/file_path.h"
#include "compon... | null | null | null | null | 16,158 |
21,094 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,089 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2010 Broadcom Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... | null | null | null | null | 94,436 |
3,089 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,146 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* copyright (c) 2001 Fabrice Bellard
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any l... | null | null | null | null | 72,201 |
850 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,694 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/gssapi/krb5/prf.c */
/*
* Copyright 2009 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.
*... | null | null | null | null | 74,002 |
22,203 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,203 | 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 <memory>
#include <string>
#include <utility>
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "base/pi... | null | null | null | null | 19,066 |
361 | 6,21 | train_val | abbd2f4b36da8c89e6f3002eb84f60064a6ff067 | 361 | Chrome | 1 | https://github.com/chromium/chromium | 2011-07-05 18:53:18+00:00 | void FaviconSource::StartDataRequest(const std::string& path,
bool is_incognito,
int request_id) {
FaviconService* favicon_service =
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);
if (favicon_service) {
FaviconService::Handle handle;
if (path.empty()) {
SendDefaultResponse(request_id);
return;
}
if (path.s... | CVE-2011-2828 | CWE-119 | https://github.com/chromium/chromium/commit/abbd2f4b36da8c89e6f3002eb84f60064a6ff067 | Low | 361 |
5,089 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,089 | 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_READING_LIST_READING_LIST_TOOLBAR_H_
#define IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_TOOLBAR_H_
#import <UIKit/UIKi... | null | null | null | null | 1,952 |
7,636 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,631 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/export.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/i8253.h>
#include <linux/slab.h>
#include <linux/hpet.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/pm.h>
#include <li... | null | null | null | null | 80,978 |
7,012 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,012 | 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_http_stream.h"
#include <utility>
#include "base/auto_reset.h"
#include "base/callback_helpers.h"
#include "base/me... | null | null | null | null | 3,875 |
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.