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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46,366 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,366 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/lock_screen_action/lock_screen_note_display_state_handler.h"
#include <utility>
#include "ash/lock_screen_action/lock_screen_note_launcher... | null | null | null | null | 43,229 |
772 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,829 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2012 Stefano Sabatini
*
* 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 ... | null | null | null | null | 69,884 |
28,400 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,395 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Host AP crypt: host-based WEP encryption implementation for Host AP driver
*
* Copyright (c) 2002-2004, Jouni Malinen <jkmaline@cc.hut.fi>
*
* 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 Soft... | null | null | null | null | 101,742 |
53,595 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,595 | 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_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_
#define MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_
#include <stddef.h>
#include <string>
#include "b... | null | null | null | null | 50,458 |
1,291 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,859 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* 9p
*
* Copyright IBM, Corp. 2010
*
* Authors:
* Gautham R Shenoy <ego@in.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "qemu-fsdev.h"
#include "qemu/queue.h"
#include "qemu-common.h... | null | null | null | null | 121,983 |
35,042 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,042 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/html/parser/html_preload_scanner.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "... | null | null | null | null | 31,905 |
18,678 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,678 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/pwg_encoder/pwg_encoder.h"
#include <limits.h>
#include <string.h>
#include <algorithm>
#include <memory>
#include "base/big_endia... | null | null | null | null | 15,541 |
1,974 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,542 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #ifndef HW_INTEL_HDA_DEFS_H
#define HW_INTEL_HDA_DEFS_H
/* qemu */
#define HDA_BUFFER_SIZE 256
/* --------------------------------------------------------------------- */
/* from linux/sound/pci/hda/hda_intel.c */
/*
* registers
*/
#define ICH6_REG_GCAP 0x00
#define ICH6_GCAP_6... | null | null | null | null | 122,666 |
41,277 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,277 | 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 "tools/android/forwarder2/forwarders_manager.h"
#include <stddef.h>
#include <sys/select.h>
#include <unistd.h>
#include <algorithm>
#include <u... | null | null | null | null | 38,140 |
1,819 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,387 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 |
/*
* QEMU OldWorld PowerMac (currently ~G3 Beige) hardware System Emulator
*
* Copyright (c) 2004-2007 Fabrice Bellard
* Copyright (c) 2007 Jocelyn Mayer
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to de... | null | null | null | null | 122,511 |
124 | 3,5,6,7 | train_val | c10688623b331e0c72c502b718cff5016de61f85 | 124 | Chrome | 1 | https://github.com/chromium/chromium | 2010-08-17 23:33:41+00:00 | bool SetVarImpl(const char* variable_name, const std::string& new_value) {
#if defined(OS_POSIX)
// On success, zero is returned.
return setenv(variable_name, new_value.c_str(), 1) == 0;
#elif defined(OS_WIN)
// On success, a nonzero is returned.
return ::SetEnvironmentVariable(ASCIIToWide(variable_name).c_... | null | null | https://github.com/chromium/chromium/commit/c10688623b331e0c72c502b718cff5016de61f85 | null | 124 |
13,947 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,947 | 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_OFFLINE_PAGES_CORE_PREFETCH_SENT_GET_OPERATION_CLEANUP_TASK_H_
#define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_SENT_GET_OPERATION_CLEANU... | null | null | null | null | 10,810 |
38,243 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,243 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | null | null | null | null | 35,106 |
35,622 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,617 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* DaVinci Voice Codec Core Interface for TI platforms
*
* Copyright (C) 2010 Texas Instruments, Inc
*
* Author: Miguel Aguilar <miguel.aguilar@ridgerun.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 F... | null | null | null | null | 108,964 |
65,646 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,646 | 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/ui/desktop_ios_promotion/sms_service.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "compone... | null | null | null | null | 62,509 |
4,341 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,336 | 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:
*
* inode.c
*
* vfs' aops, fops, dops and iops
*
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* Licens... | null | null | null | null | 77,683 |
22,832 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,827 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/tty.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/semaphore.h>
#include <linux/sched.h>
/* Legacy tty mutex glue */
/*
* Getting the big tty mutex.
*/
void tty_lock(struct tty_struct *tty)
{
if (WARN(tty->magic != TTY_MAGIC, "L Bad %p\n", tty))
return;
tty_kref_get(tt... | null | null | null | null | 96,174 |
612 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,669 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Dynamic Audio Normalizer
* Copyright (c) 2015 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;... | null | null | null | null | 69,724 |
1,095 | 16 | train_val | 7a7b5df84b6b4e5d599c7289526eed96541a0654 | 166,090 | linux | 1 | https://github.com/torvalds/linux | 2017-01-31 12:59:32+01:00 | static int cp2112_probe(struct hid_device *hdev, const struct hid_device_id *id)
{
struct cp2112_device *dev;
u8 buf[3];
struct cp2112_smbus_config_report config;
int ret;
dev = devm_kzalloc(&hdev->dev, sizeof(*dev), GFP_KERNEL);
if (!dev)
return -ENOMEM;
dev->in_out_buffer = devm_kzalloc(&hdev->dev, CP2112_REPORT_MA... | CVE-2017-8071 | CWE-404 | https://github.com/torvalds/linux/commit/7a7b5df84b6b4e5d599c7289526eed96541a0654 | Low | 3,984 |
26,169 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,164 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,511 |
43,629 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,629 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/files/file_path_watcher.h"
#include <errno.h>
#include <stddef.h>
#include <string.h>
#include <sys/inotify.h>
#include <sys/ioctl.h>
... | null | null | null | null | 40,492 |
6,071 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,071 | 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 CHROMEOS_COMPONENTS_TETHER_AD_HOC_BLE_ADVERTISER_IMPL_H_
#define CHROMEOS_COMPONENTS_TETHER_AD_HOC_BLE_ADVERTISER_IMPL_H_
#include <memory>
#incl... | null | null | null | null | 2,934 |
26,166 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,161 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #if !defined(_AMDGPU_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _AMDGPU_TRACE_H_
#include <linux/stringify.h>
#include <linux/types.h>
#include <linux/tracepoint.h>
#include <drm/drmP.h>
#undef TRACE_SYSTEM
#define TRACE_SYSTEM amdgpu
#define TRACE_INCLUDE_FILE amdgpu_trace
#define AMDGPU_JOB_GET_TIMELINE... | null | null | null | null | 99,508 |
932 | 6 | train_val | 9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 | 165,927 | linux | 1 | https://github.com/torvalds/linux | 2016-03-11 22:09:09-08:00 | static int ion_handle_put(struct ion_handle *handle)
{
struct ion_client *client = handle->client;
int ret;
mutex_lock(&client->lock);
ret = kref_put(&handle->ref, ion_handle_destroy);
mutex_unlock(&client->lock);
return ret;
}
| CVE-2016-9120 | CWE-416 | https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 | Medium | 3,821 |
71,720 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,720 | 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 "services/ui/ws/window_finder.h"
#include "base/containers/adapters.h"
#include "services/ui/ws/server_window.h"
#include "ui/gfx/geometry/point... | null | null | null | null | 68,583 |
12,783 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,778 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ARCH_POWERPC_UACCESS_H
#define _ARCH_POWERPC_UACCESS_H
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <linux/sched.h>
#include <linux/errno.h>
#include <asm/asm-compat.h>
#include <asm/ppc_asm.h>
#include <asm/processor.h>
#include <asm/page.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1
/*
* The fs val... | null | null | null | null | 86,125 |
65,683 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,683 | 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/ui/passwords/password_access_authenticator.h"
#include <utility>
#include "base/metrics/histogram_macros.h"
#include "base/time... | null | null | null | null | 62,546 |
51,832 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,832 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_MOJO_CLIENTS_MOJO_VIDEO_DECODER_H_
#define MEDIA_MOJO_CLIENTS_MOJO_VIDEO_DECODER_H_
#include "base/macros.h"
#include "base/memory/ref_coun... | null | null | null | null | 48,695 |
40,876 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,876 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 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,739 |
8,060 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,060 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/cert/internal/ocsp.h"
#include <algorithm>
#include "base/base64.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#inc... | null | null | null | null | 4,923 |
33,154 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,154 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 30,017 |
52,633 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,633 | 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 MEDIA_CAPTURE_VIDEO_CHROMEOS_CAMERA_BUFFER_FACTORY_H_
#define MEDIA_CAPTURE_VIDEO_CHROMEOS_CAMERA_BUFFER_FACTORY_H_
#include <memory>
#include <u... | null | null | null | null | 49,496 |
43,921 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,921 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PAPPI_TESTS_TEST_TRUETYPE_FONT_H_
#define PAPPI_TESTS_TEST_TRUETYPE_FONT_H_
#include <string>
#include "ppapi/c/dev/ppb_truetype_font_dev.h"... | null | null | null | null | 40,784 |
68,505 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,505 | 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 "remoting/host/linux/unicode_to_keysym.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include "base/macros.h"
#include "test... | null | null | null | null | 65,368 |
37,882 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,882 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2012 Rik Cabanier (cabanier@adobe.com)
*
* 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... | null | null | null | null | 34,745 |
64,005 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,005 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_UI_H_
#include ... | null | null | null | null | 60,868 |
30,340 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,340 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_DISTILLABILITY_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_DISTILLABILITY_H_
namespace blink {
struct... | null | null | null | null | 27,203 |
29,873 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,873 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2013-04-16
**
** 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,736 |
51,883 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,883 | 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_VIDEO_MOCK_VIDEO_DECODE_ACCELERATOR_H_
#define MEDIA_VIDEO_MOCK_VIDEO_DECODE_ACCELERATOR_H_
#include "video_decode_accelerator.h"
#include... | null | null | null | null | 48,746 |
36,709 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,709 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/mojo/bluetooth_struct_traits.h"
#include "mojo/public/cpp/bindings/string_traits_wtf.h"
namespace mojo {
... | null | null | null | null | 33,572 |
24,398 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,393 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* 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 limitation
* the rights to u... | null | null | null | null | 97,740 |
35,301 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,301 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_RESIZE_OBSERVER_RESIZE_OBSERVER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_RESIZE_OBSERVER_RESIZE_OBSERVER_H_
#in... | null | null | null | null | 32,164 |
60,891 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,891 | 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/android/vr/vr_shell_delegate.h"
#include <utility>
#include "base/android/jni_android.h"
#include "base/callback_helpers.h"
#in... | null | null | null | null | 57,754 |
57,031 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,031 | 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_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_REGISTRY_H_
#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_REGISTRY_H_
#include "chr... | null | null | null | null | 53,894 |
70,377 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,377 | 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 DEVICE_VR_OCULUS_DEVICE_PROVIDER_H
#define DEVICE_VR_OCULUS_DEVICE_PROVIDER_H
#include <memory>
#include "base/callback.h"
#include "base/macros... | null | null | null | null | 67,240 |
11,832 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,832 | 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/suggestion_answer.h"
#include <stddef.h>
#include <memory>
#include "base/i18n/rtl.h"
#include "base/strings/strin... | null | null | null | null | 8,695 |
1,292 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,247 | 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,168 |
24,339 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,334 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright © 2016 Intel Corporation
*
* 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, pub... | null | null | null | null | 97,681 |
12,773 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,768 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __CPM_H
#define __CPM_H
#include <linux/compiler.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/of.h>
#include <soc/fsl/qe/qe.h>
/*
* SPI Parameter RAM common to QE and CPM.
*/
struct spi_pram {
__be16 rbase; /* Rx Buffer descriptor base address */
__be16 tbase; /* Tx Buffer descript... | null | null | null | null | 86,115 |
38,502 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,502 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/sensor/sensor_error_event.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#i... | null | null | null | null | 35,365 |
66,155 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,155 | 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.
#include "chrome/browser/media/router/discovery/discovery_network_info.h"
namespace media_router {
DiscoveryNetworkInfo::DiscoveryNetworkInfo() {}
... | null | null | null | null | 63,018 |
433 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,820 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,265 |
1,941 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,936 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Linux network device link state notification
*
* Author:
* Stefan Rompf <sux@loplof.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or ... | null | null | null | null | 75,284 |
71,420 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,420 | 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 SERVICES_SERVICE_MANAGER_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H_
#define SERVICES_SERVICE_MANAGER_SANDBOX_LINUX_SANDBOX_SECCOMP_BPF_LINUX_H... | null | null | null | null | 68,283 |
4,294 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,289 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2016 Oracle. All Rights Reserved.
*
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Li... | null | null | null | null | 77,636 |
14,272 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,272 | 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_CRONET_ANDROID_CRONET_UPLOAD_DATA_STREAM_ADAPTER_H_
#define COMPONENTS_CRONET_ANDROID_CRONET_UPLOAD_DATA_STREAM_ADAPTER_H_
#include <j... | null | null | null | null | 11,135 |
24,523 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,518 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __NOUVEAU_BO_H__
#define __NOUVEAU_BO_H__
#include <drm/drm_gem.h>
struct nouveau_channel;
struct nouveau_fence;
struct nvkm_vma;
struct nouveau_bo {
struct ttm_buffer_object bo;
struct ttm_placement placement;
u32 valid_domains;
struct ttm_place placements[3];
struct ttm_place busy_placements[3];
bool... | null | null | null | null | 97,865 |
43,006 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,001 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* CXL Flash Device Driver
*
* Written by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>, IBM Corporation
* Matthew R. Ochs <mrochs@linux.vnet.ibm.com>, IBM Corporation
*
* Copyright (C) 2015 IBM Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms... | null | null | null | null | 116,348 |
7,995 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,990 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_SPINLOCK_TYPES_H
#define _ASM_X86_SPINLOCK_TYPES_H
#include <linux/types.h>
#ifdef CONFIG_PARAVIRT_SPINLOCKS
#define __TICKET_LOCK_INC 2
#define TICKET_SLOWPATH_FLAG ((__ticket_t)1)
#else
#define __TICKET_LOCK_INC 1
#define TICKET_SLOWPATH_FLAG ((__ticket_t)0)
#endif
#if (CONFIG_NR_CPUS < (256 / __T... | null | null | null | null | 81,337 |
43,743 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,738 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 Red Hat
* 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 limitation
* the rights to use, copy, modify... | null | null | null | null | 117,085 |
19,065 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,065 | 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 COMPONENTS_SYNC_SESSIONS_TEST_SYNCED_WINDOW_DELEGATES_GETTER_H_
#define COMPONENTS_SYNC_SESSIONS_TEST_SYNCED_WINDOW_DELEGATES_GETTER_H_
#include ... | null | null | null | null | 15,928 |
51,587 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,587 | 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 <vector>
namespace ui {
class AXTree;
// A class to create all possible trees with up to <n> nodes and the
// ids [1...n].
//
// There are two... | null | null | null | null | 48,450 |
58,795 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,795 | 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/extensions/policy_extension_reinstaller.h"
#include "base/bind.h"
#include "base/threading/thread_task_runner_handle.h"
#include... | null | null | null | null | 55,658 |
29,380 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,375 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Regulator Driver for Freescale MC13xxx PMIC
*
* Copyright 2010 Yong Shen <yong.shen@linaro.org>
*
* Based on mc13783 regulator driver :
* Copyright (C) 2008 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
* Copyright 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com>
*
* This program is free softwa... | null | null | null | null | 102,722 |
8,509 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,509 | 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 "net/base/request_priority.h"
#include "base/logging.h"
namespace net {
const char* RequestPriorityToString(RequestPriority priority) {
... | null | null | null | null | 5,372 |
64,865 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,865 | 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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
#include <stdint.h>... | null | null | null | null | 61,728 |
13 | 54,60,61 | train_val | 3290c948762c47292fb388de8318859ee22b6688 | 13 | Chrome | 1 | https://github.com/chromium/chromium | 2009-11-04 21:53:03+00:00 | void MenuGtk::BuildMenuIn(GtkWidget* menu,
const MenuCreateMaterial* menu_data,
GtkAccelGroup* accel_group) {
// We keep track of the last menu item in order to group radio items.
GtkWidget* last_menu_item = NULL;
for (; menu_data->type != MENU_END; ++menu_data) {
GtkWidget* menu_item = NULL;
std::string label;
if (me... | null | null | https://github.com/chromium/chromium/commit/3290c948762c47292fb388de8318859ee22b6688 | null | 13 |
59,979 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,979 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_METRICS_PERF_WINDOWED_INCOGNITO_OBSERVER_H_
#define CHROME_BROWSER_METRICS_PERF_WINDOWED_INCOGNITO_OBSERVER_H_
#include "base/macr... | null | null | null | null | 56,842 |
48,595 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,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.
#ifndef UI_VIEWS_MUS_CLIPBOARD_MUS_H_
#define UI_VIEWS_MUS_CLIPBOARD_MUS_H_
#include "services/ui/public/interfaces/clipboard.mojom.h"
#include "ui/base/... | null | null | null | null | 45,458 |
1,807 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,802 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* net/dccp/diag.c
*
* An implementation of the DCCP protocol
* Arnaldo Carvalho de Melo <acme@mandriva.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.
*/
#inclu... | null | null | null | null | 75,150 |
4,181 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,181 | 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 IOS_CHROME_BROWSER_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_
#define IOS_CHROME_BROWSER_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_
#include <mem... | null | null | null | null | 1,044 |
24,546 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,541 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013-2014 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, publi... | null | null | null | null | 97,888 |
33,918 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,913 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the Conexant CX23885 PCIe bridge
*
* Copyright (c) 2006 Steven Toth <stoth@linuxtv.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 of the Lice... | null | null | null | null | 107,260 |
27,172 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,172 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2008-2011 Octasic Inc.
Written by Jean-Marc Valin */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of... | null | null | null | null | 24,035 |
17,190 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,190 | 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_COMMON_GPU_CONTEXT_LOST_OBSERVER_H_
#define COMPONENTS_VIZ_COMMON_GPU_CONTEXT_LOST_OBSERVER_H_
namespace viz {
// Observers a Con... | null | null | null | null | 14,053 |
23,258 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,258 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/blob_storage/blob_url_loader_factory.h"
#include <stddef.h>
#include <utility>
#include "base/bind.h"
#include "base/logging.h"... | null | null | null | null | 20,121 |
8,451 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,451 | 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_DISK_CACHE_SIMPLE_SIMPLE_VERSION_UPGRADE_H_
#define NET_DISK_CACHE_SIMPLE_SIMPLE_VERSION_UPGRADE_H_
// Defines functionality to upgrade the f... | null | null | null | null | 5,314 |
7,080 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,080 | 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 NET_QUIC_CORE_TLS_SERVER_HANDSHAKER_H_
#define NET_QUIC_CORE_TLS_SERVER_HANDSHAKER_H_
#include "net/quic/core/crypto/quic_tls_adapter.h"
#inc... | null | null | null | null | 3,943 |
12,568 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,568 | 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_SEARCH_PROVIDER_LOGOS_SWITCHES_H_
#define COMPONENTS_SEARCH_PROVIDER_LOGOS_SWITCHES_H_
namespace search_provider_logos {
namespace swi... | null | null | null | null | 9,431 |
38,170 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,170 | 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 "third_party/blink/renderer/platform/graphics/paint/clip_display_item.h"
#include "third_party/blink/public/platform/web_display_item_list.h"
#i... | null | null | null | null | 35,033 |
67,689 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,689 | 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 "ipc/ipc_channel_reader.h"
#include <stddef.h>
#include <algorithm>
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
... | null | null | null | null | 64,552 |
44,426 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,421 | 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without ... | null | null | null | null | 117,768 |
1,276 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,333 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* RealVideo 3 decoder
* copyright (c) 2007 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License... | null | null | null | null | 70,388 |
36,222 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,222 | 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/page/plugins_changed_observer.h"
#include "third_party/blink/renderer/core/page/page.h"
namespace blink {
Plu... | null | null | null | null | 33,085 |
48,830 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,830 | 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 "ui/gl/scoped_make_current.h"
#include "base/logging.h"
#include "components/crash/core/common/crash_key.h"
#include "ui/gl/gl_context.h"
#i... | null | null | null | null | 45,693 |
14,409 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,409 | 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_snippets/remote/remote_suggestions_fetcher.h"
#include "components/ntp_snippets/features.h"
#include "components/ntp_snippets/nt... | null | null | null | null | 11,272 |
861 | 1,3,4,5,6,7 | train_val | 3b0d77670a0613f409110817455d2137576b485a | 861 | Chrome | 1 | https://github.com/chromium/chromium | 2012-06-22 19:24:11+00:00 | void PluginModule::InitAsProxiedNaCl(
scoped_ptr<PluginDelegate::OutOfProcessProxy> out_of_process_proxy,
PP_Instance instance) {
// TODO(bbudge) We need to switch the mode of the PluginModule on a
// per-instance basis. Fix this so out_of_process_proxy and other
// state is stored in a map, indexed by instan... | CVE-2012-2888 | CWE-399 | https://github.com/chromium/chromium/commit/3b0d77670a0613f409110817455d2137576b485a | Low | 861 |
15,237 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,237 | 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/arc/arc_bridge_host_impl.h"
#include <algorithm>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include ... | null | null | null | null | 12,100 |
49,299 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,299 | 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 <stddef.h>
#include <cmath>
#include <limits>
#include "base/macros.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtes... | null | null | null | null | 46,162 |
22,099 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,099 | 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 CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_
#define CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_
namespace content {
enum InputEventD... | null | null | null | null | 18,962 |
30,940 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,935 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the U300 pin controller
*
* Based on the original U300 padmux functions
* Copyright (C) 2009-2011 ST-Ericsson AB
* Author: Martin Persson <martin.persson@stericsson.com>
* Author: Linus Walleij <linus.walleij@linaro.org>
*
* The DB3350 design and control registers are oriented around pads rather... | null | null | null | null | 104,282 |
19,147 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,147 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_STORE_H_
#define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_STORE_H_
#include <string>
#include "base/callbac... | null | null | null | null | 16,010 |
25,440 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,435 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef DSI_XML
#define DSI_XML
/* Autogenerated file, DO NOT EDIT manually!
This file was generated by the rules-ng-ng headergen tool in this git repository:
http://github.com/freedreno/envytools/
git clone https://github.com/freedreno/envytools.git
The rules-ng-ng source files this header was generated from are:
-... | null | null | null | null | 98,782 |
43,537 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,537 | 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 BASE_MESSAGE_LOOP_MESSAGE_LOOP_TASK_RUNNER_H_
#define BASE_MESSAGE_LOOP_MESSAGE_LOOP_TASK_RUNNER_H_
#include "base/base_export.h"
#include "b... | null | null | null | null | 40,400 |
13,583 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,583 | 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_METRICS_ENABLED_STATE_PROVIDER_H_
#define COMPONENTS_METRICS_ENABLED_STATE_PROVIDER_H_
namespace metrics {
// An interface that provi... | null | null | null | null | 10,446 |
4,705 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,700 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/fs.h>
#include <linux/adfs_fs.h>
/* Internal data structures for ADFS */
#define ADFS_FREE_FRAG 0
#define ADFS_BAD_FRAG 1
#define ADFS_ROOT_FRAG 2
#define ADFS_NDA_OWNER_READ (1 << 0)
#define ADFS_NDA_OWNER_WRITE (1 << 1)
#define ADFS_NDA_LOCKED (1 << 2)
#define ADFS_NDA_DIRECTORY (1 << 3)
#de... | null | null | null | null | 78,047 |
21,642 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,642 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/pepper/ppb_graphics_3d_impl.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#inclu... | null | null | null | null | 18,505 |
22,384 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,379 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright IBM Corp. 2007
* Author(s): Frank Pavlic <fpavlic@de.ibm.com>,
* Thomas Spatzier <tspat@de.ibm.com>,
* Frank Blaschka <frank.blaschka@de.ibm.com>
*/
#include <linux/module.h>
#include <asm/cio.h>
#include "qeth_core_mpc.h"
unsigned char IDX_ACTIVATE_READ[] = {
0x00, 0x00, 0x80, 0x00, 0... | null | null | null | null | 95,726 |
21,456 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,451 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2007 - 2014 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 Fr... | null | null | null | null | 94,798 |
54,755 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,755 | 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/test/remoting/waiter.h"
#include "content/public/test/test_utils.h"
namespace remoting {
TimeoutWaiter::TimeoutWaiter(base::TimeDelta ... | null | null | null | null | 51,618 |
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.