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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
36,791 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,791 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | null | null | null | null | 33,654 |
189 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,246 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
* Copyright (c) 2007 Mans Rullgard
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versi... | null | null | null | null | 69,301 |
30,699 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,694 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb/input.h>
#include <asm/unaligned.h>
/*
* Version Information
* v0.0.1 - Original, extremely basic version, 2.4.xx only
* v0.0.2 - Updated, works with 2.5.62 and 2.4.20;
* - added pressure-threshold modules par... | null | null | null | null | 104,041 |
46,639 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,639 | 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 ASH_SYSTEM_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_
#define ASH_SYSTEM_SESSION_LOGOUT_CONFIRMATION_DIALOG_H_
#include "base/macros.h"
#include "base... | null | null | null | null | 43,502 |
26,546 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,546 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright 2010 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* A (forgetful) hash table to the data seen by the compressor, to
help create backward references to previous data. */
#ifndef BROTLI_ENC_HASH_H_
#... | null | null | null | null | 23,409 |
42,334 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,334 | 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/version.h"
#include <stddef.h>
#include <algorithm>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#i... | null | null | null | null | 39,197 |
601 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,658 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2017 Paul B Mahol
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any late... | null | null | null | null | 69,713 |
15,545 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,545 | 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/gcm_driver/gcm_desktop_utils.h"
#include <utility>
#include "base/command_line.h"
#include "base/sequenced_task_runner.h"
#include ... | null | null | null | null | 12,408 |
31 | 42,51,53,55,56,58,59 | train_val | 0f6fc2d5bf8f500820c3dbcf0d23ee14f2d9f734 | 160,159 | ImageMagick | 1 | https://github.com/ImageMagick/ImageMagick | 2015-05-30 00:49:11+00:00 | MagickExport MemoryInfo *AcquireVirtualMemory(const size_t count,
const size_t quantum)
{
MemoryInfo
*memory_info;
size_t
length;
length=count*quantum;
if ((count == 0) || (quantum != (length/count)))
{
errno=ENOMEM;
return((MemoryInfo *) NULL);
}
memory_info=(MemoryInfo *) MagickAssumeAligned(AcquireAlignedMemory(1,... | CVE-2015-8896 | CWE-189 | https://github.com/ImageMagick/ImageMagick/commit/0f6fc2d5bf8f500820c3dbcf0d23ee14f2d9f734 | Medium | 2,608 |
43,492 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,492 | 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 "base/process/memory.h"
#include <windows.h> // Must be in front of other Windows header files.
#include <new.h>
#include <psapi.h>
#inclu... | null | null | null | null | 40,355 |
4,201 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,196 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2000-2002 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | null | null | null | null | 77,543 |
39,018 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,018 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 35,881 |
3,810 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,805 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* fs/bfs/inode.c
* BFS superblock and inode operations.
* Copyright (C) 1999-2006 Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
* From fs/minix, Copyright (C) 1991, 1992 Linus Torvalds.
*
* Made endianness-clean by Andrew Stribblehill <ads@wompom.org>, 2005.
*/
#include <linux/module.h>
#include <linux/... | null | null | null | null | 77,152 |
12,744 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,739 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Machine check exception header file.
*
* 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 ... | null | null | null | null | 86,086 |
33,518 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,518 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* (C) 2006 Allan Sandfeld Jensen (kde@carewolf.com)
* (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
* Copyright (C) 2003, 2004, 2005, 20... | null | null | null | null | 30,381 |
390 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,777 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-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,222 |
3,633 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,628 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
*
* Copyright (c) International Business Machines Corp., 2000,2002
* Modified by Steve French (sfrench@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 Foundation; either ... | null | null | null | null | 76,975 |
1,057 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,901 | 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/os/changepw.c */
/*
* Copyright 1990,1999,2001,2008 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 State... | null | null | null | null | 74,209 |
27,910 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,910 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
#ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
#define PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3003000
... | null | null | null | null | 24,773 |
13,508 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,508 | 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/strings/string16.h"
#include "printing/buildflags/buildflags.h"
#include "ui/gfx/geometry/size.h"
// Generating implementations for al... | null | null | null | null | 10,371 |
34,428 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,423 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2016 MediaTek Inc.
* Author: Daniel Hsiao <daniel.hsiao@mediatek.com>
* Jungchang Tsao <jungchang.tsao@mediatek.com>
* Tiffany Lin <tiffany.lin@mediatek.com>
*
* This program is free software; you can redistribute it and/or
* modify
* it under the terms of the GNU General Public License versi... | null | null | null | null | 107,770 |
58,466 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,466 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SAVED_INFOBAR_DELEGATE_ANDROID_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_GENERATED_PASSWORD_SA... | null | null | null | null | 55,329 |
72,288 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,288 | 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 "services/network/throttling/throttling_network_transaction.h"
#include <utility>
#include "base/callback_helpers.h"
#include "net/base/load_ti... | null | null | null | null | 69,151 |
29,158 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,153 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* fsa9480.c - FSA9480 micro USB switch device driver
*
* Copyright (C) 2010 Samsung Electronics
* Minkyu Kang <mk7.kang@samsung.com>
* Wonguk Jeong <wonguk.jeong@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License versio... | null | null | null | null | 102,500 |
10,171 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,171 | 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 CHROMECAST_BROWSER_CAST_WEB_VIEW_H_
#define CHROMECAST_BROWSER_CAST_WEB_VIEW_H_
#include <cstdint>
#include <string>
#include "base/macros.h"
#i... | null | null | null | null | 7,034 |
31,423 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,418 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
* Marvell NFC-over-SPI driver: SPI interface related functions
*
* Copyright (C) 2015, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistri... | null | null | null | null | 104,765 |
51,436 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,436 | 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/events/gestures/blink/web_gesture_curve_impl.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blin... | null | null | null | null | 48,299 |
128 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,696 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Common CPU TLB handling
*
* Copyright (c) 2003 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any ... | null | null | null | null | 120,820 |
16,254 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,249 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H
#define cpu_has_tlb 1
#define cpu_has_4kex 1
#define cpu_has_3k_cache 0
#define cpu_has_4k_cache 1
#define cpu_has_tx39_cache 0
#define cpu_has_fpu 0
#define cpu_has_32fpr 0
#define cpu_has_counter 1
#if ... | null | null | null | null | 89,596 |
1,925 | 1,2,3,5,6,7 | train_val | 62b8b6e168a12263aab6b88dbef0b900cc37309f | 1,925 | Chrome | 1 | https://github.com/chromium/chromium | 2016-08-24 20:38:53+00:00 | void PartialMagnificationController::OnMouseMove(
const gfx::Point& location_in_root) {
gfx::Point origin(location_in_root);
origin.Offset(-kMagnifierWidth / 2, -kMagnifierHeight / 2);
if (zoom_widget_) {
zoom_widget_->SetBounds(
gfx::Rect(origin.x(), origin.y(), kMagnifierWidth, kMagnifierHeight... | null | null | https://github.com/chromium/chromium/commit/62b8b6e168a12263aab6b88dbef0b900cc37309f | null | 1,925 |
17,570 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,570 | 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SCANNER_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SCANNER_H_
#include <stddef.h>
#include <... | null | null | null | null | 14,433 |
16,975 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,970 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* include/asm-sh/cpu-sh2a/freq.h
*
* Copyright (C) 2006 Yoshinori Sato
*
* 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.
*/
#ifndef __ASM_CPU_SH2A_FREQ_H
#define __ASM_CPU_SH2A_FREQ_H
#... | null | null | null | null | 90,317 |
787 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,355 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include<stdio.h>
#include<assert.h>
int main()
{
int rd, rt;
int result;
rt = 0x12345678;
result = 0x00001E6A;
__asm
("bitrev %0, %1\n\t"
: "=r"(rd)
: "r"(rt)
);
assert(rd == result);
return 0;
}
| null | null | null | null | 121,479 |
69,387 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,387 | 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.
#define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString)
#define END_INTERFACE(BaseClass, PPInterface)
#define METHOD0(Class, ReturnType, Meth... | null | null | null | null | 66,250 |
68,741 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,741 | 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 REMOTING_BASE_AUTO_THREAD_TASK_RUNNER_H_
#define REMOTING_BASE_AUTO_THREAD_TASK_RUNNER_H_
#include <memory>
#include "base/callback.h"
#incl... | null | null | null | null | 65,604 |
12,582 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,577 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Global definition of all the bootwrapper operations.
*
* Author: Mark A. Greer <mgreer@mvista.com>
*
* 2006 (c) MontaVista Software, Inc. 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 expres... | null | null | null | null | 85,924 |
14,278 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,278 | 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_BIDIRECTIONAL_STREAM_ADAPTER_H_
#define COMPONENTS_CRONET_ANDROID_CRONET_BIDIRECTIONAL_STREAM_ADAPTER_H_
#includ... | null | null | null | null | 11,141 |
21,690 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,690 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/pepper/v8object_var.h"
#include "base/logging.h"
#include "content/public/renderer/pepper_plugin_instance.h"
#include "content... | null | null | null | null | 18,553 |
1,520 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,515 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/ceph/ceph_debug.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/ceph/types.h>
#include <linux/ceph/decode.h>
#include <linux/ceph/libceph.h>
#include <linux/ceph/messenger.h>
#include "auth_none.h"
#include "auth_x.h"
/*
* get protocol handler
*/
static ... | null | null | null | null | 74,863 |
13,806 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,801 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _H8300_SEGMENT_H
#define _H8300_SEGMENT_H
/* define constants */
#define USER_DATA (1)
#ifndef __USER_DS
#define __USER_DS (USER_DATA)
#endif
#define USER_PROGRAM (2)
#define SUPER_DATA (3)
#ifndef __KERNEL_DS
#define __KERNEL_DS (SUPER_DATA)
#endif
#define SUPER_PROGRAM (4)
#ifndef __ASSEMBLY__... | null | null | null | null | 87,148 |
19,506 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,501 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* CAN bus driver for Bosch C_CAN controller
*
* Copyright (C) 2010 ST Microelectronics
* Bhupesh Sharma <bhupesh.sharma@st.com>
*
* Borrowed heavily from the C_CAN driver originally written by:
* Copyright (C) 2007
* - Sascha Hauer, Marc Kleine-Budde, Pengutronix <s.hauer@pengutronix.de>
* - Simon Kallweit,... | null | null | null | null | 92,848 |
27,328 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,323 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* comedi/drivers/jr3_pci.c
* hardware driver for JR3/PCI force sensor board
*
* COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2007 Anders Blomdell <anders.blomdell@control.lth.se>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | null | null | null | null | 100,670 |
39,642 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,642 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
* Copyright (C) 2011 Ericsson AB. 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 t... | null | null | null | null | 36,505 |
14,555 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,555 | 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 "base/bind.h"
#include "base/bind_helpers.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#includ... | null | null | null | null | 11,418 |
42,667 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,667 | 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 "base/sampling_heap_profiler/sampling_heap_profiler.h"
#include <stdlib.h>
#include <cinttypes>
#include "base/allocator/allocator_shim.h"
#inc... | null | null | null | null | 39,530 |
16,190 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,185 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation
*
* 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.... | null | null | null | null | 89,532 |
30,090 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,085 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
*
* Copyright (C) 2001 REINER SCT
* Author: Matthias Bruestle
*
* Contact: support@reiner-sct.com (see MAINTAINERS)
*
* This program is largely derived from work by the linux-usb group
* and associated source files. Please see the usb/se... | null | null | null | null | 103,432 |
29,070 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,070 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* HTMLtree.c : implementation of access function for an HTML tree.
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
*/
#define IN_LIBXML
#include "libxml.h"
#ifdef LIBXML_HTML_ENABLED
#include <string.h> /* for memset() only ! */
#ifdef HAVE_CTYPE_H
#include <ctype.h>
#endif
#ifde... | null | null | null | null | 25,933 |
10,792 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,787 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Sparc SS1000/SC2000 SMP support.
*
* Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*
* Based on sun4m's smp.c, which is:
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/profile.h>
#include <linux/delay.h>
#... | null | null | null | null | 84,134 |
27,064 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,059 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _BCACHE_BTREE_H
#define _BCACHE_BTREE_H
/*
* THE BTREE:
*
* At a high level, bcache's btree is relatively standard b+ tree. All keys and
* pointers are in the leaves; interior nodes only have pointers to the child
* nodes.
*
* In the interior nodes, a struct bkey always points to a child btree node, and... | null | null | null | null | 100,406 |
38,466 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,461 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright © International Business Machines Corp., 2006-2008
*
* 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 Soft... | null | null | null | null | 111,808 |
64,589 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,589 | 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_BROWSER_UI_COCOA_JAVASCRIPT_APP_MODAL_DIALOG_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_JAVASCRIPT_APP_MODAL_DIALOG_COCOA_H_
#include <m... | null | null | null | null | 61,452 |
41,492 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,487 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) ST-Ericsson 2013
* Author: Hongbo Zhang <hongbo.zhang@linaro.com>
* License terms: GNU General Public License v2
*/
#ifndef PWR_AB8500_H
#define PWR_AB8500_H
extern const struct abx500_res_to_temp ab8500_temp_tbl_a_thermistor[];
extern const int ab8500_temp_tbl_a_size;
extern const struct abx5... | null | null | null | null | 114,834 |
57,209 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,209 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/first_run/first_run_controller.h"
#include "ash/first_run/first_run_helper.h"
#include "ash/public/cpp/shelf_prefs.h"
#... | null | null | null | null | 54,072 |
38,137 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,137 | 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_GRAPHICS_PAINT_GEOMETRY_MAPPER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_GEOMETRY_MAPPER_H... | null | null | null | null | 35,000 |
3,140 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,140 | 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 CHROME_CLEANER_CLEANER_CLEANER_H_
#define CHROME_CLEANER_CLEANER_CLEANER_H_
#include <vector>
#include "base/callback.h"
#include "chrome_cl... | null | null | null | null | 3 |
40,757 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,757 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 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,620 |
28,963 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,963 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 Google Inc.
//
// 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 applicable law or agreed to in... | null | null | null | null | 25,826 |
6,794 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,789 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IBM System z Huge TLB Page Support for Kernel.
*
* Copyright IBM Corp. 2008
* Author(s): Gerald Schaefer <gerald.schaefer@de.ibm.com>
*/
#ifndef _ASM_S390_HUGETLB_H
#define _ASM_S390_HUGETLB_H
#include <asm/page.h>
#include <asm/pgtable.h>
#define is_hugepage_only_range(mm, addr, len) 0
#define hug... | null | null | null | null | 80,136 |
17,100 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,100 | 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/viz/host/server_gpu_memory_buffer_manager.h"
#include <utility>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#i... | null | null | null | null | 13,963 |
28,505 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,500 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 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 ... | null | null | null | null | 101,847 |
13,428 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,423 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /***************************************************************************/
/*
* vectors.c -- high level trap setup for ColdFire
*
* Copyright (C) 1999-2007, Greg Ungerer <gerg@snapgear.com>
*/
/***************************************************************************/
#include <linux/kernel.h>
#include <li... | null | null | null | null | 86,770 |
35,396 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,396 | 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_SET_SELECTION_OPTIONS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_SET_SELECTION_OPTIONS_H_
#includ... | null | null | null | null | 32,259 |
43,060 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,060 | 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 "base/android/throw_uncaught_exception.h"
#include "base/android/jni_android.h"
#include "jni/ThrowUncaughtException_jni.h"
namespace base {
n... | null | null | null | null | 39,923 |
39,683 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,678 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* kernel/locking/mutex.c
*
* Mutexes: blocking mutual exclusion locks
*
* Started by Ingo Molnar:
*
* Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
*
* Many thanks to Arjan van de Ven, Thomas Gleixner, Steven Rostedt and
* David Howells for suggestions and improvements.
*
... | null | null | null | null | 113,025 |
23,800 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,795 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* LCD panel support for the TI OMAP1510 Innovator board
*
* Copyright (C) 2004 Nokia Corporation
* Author: Imre Deak <imre.deak@nokia.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 Founda... | null | null | null | null | 97,142 |
11,470 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,470 | 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 "gpu/ipc/service/gpu_memory_manager.h"
#include <algorithm>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/message_lo... | null | null | null | null | 8,333 |
64,098 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,098 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/signin/signin_email_confirmation_ui.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/pr... | null | null | null | null | 60,961 |
125 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,080 | 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 | 119,001 |
44,089 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,089 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ppapi/cpp/resource.h"
#include <algorithm>
#include "ppapi/cpp/logging.h"
#include "ppapi/cpp/module.h"
namespace pp {
Resource::Resourc... | null | null | null | null | 40,952 |
59,624 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,624 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/page_capture/page_capture_api.h"
#include <limits>
#include <memory>
#include "base/bind.h"
#include "base/b... | null | null | null | null | 56,487 |
25,988 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,983 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GFX_7_2 Register documentation
*
* Copyright (C) 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 limita... | null | null | null | null | 99,330 |
37,182 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,177 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | null | null | null | null | 110,524 |
280 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,667 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2005-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,112 |
3,705 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,705 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_WEB_STATE_JS_PAGE_SCRIPT_UTIL_H_
#define IOS_WEB_WEB_STATE_JS_PAGE_SCRIPT_UTIL_H_
#import <Foundation/Foundation.h>
namespace web {
cl... | null | null | null | null | 568 |
62,512 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,512 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/browser_tabrestore.h"
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/browser/profiles/profile.h"
#inc... | null | null | null | null | 59,375 |
13,683 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,683 | 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 COMPONENTS_ABOUT_HANDLER_URL_REQUEST_ABOUT_JOB_H_
#define COMPONENTS_ABOUT_HANDLER_URL_REQUEST_ABOUT_JOB_H_
#include <string>
#include "base... | null | null | null | null | 10,546 |
28,123 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,123 | 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,986 |
7,074 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,069 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_M32R_SWAB_H
#define _ASM_M32R_SWAB_H
#include <linux/types.h>
#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
# define __SWAB_64_THRU_32__
#endif
#endif /* _ASM_M32R_SWAB_H */
| null | null | null | null | 80,416 |
28,738 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,733 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the... | null | null | null | null | 102,080 |
2,286 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,343 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (a... | null | null | null | null | 71,398 |
27,358 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,358 | 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,221 |
23,838 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,838 | 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 CONTENT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
#include <stdint.h>
#include <map>
#include <m... | null | null | null | null | 20,701 |
27,564 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,564 | 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 Chromium LICENSE file.
/*
* qcms is not built on this port: see http://crbug.com/577155
*/
| null | null | null | null | 24,427 |
2,263 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,831 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/sh4/sh.h"
#include "hw/loader.h"
#include "sysemu/qtest.h"
#include "qemu/error-report.h"
#define CE1 0x0100
#define CE2 0x0200
#define RE 0x0400
#define WE 0x0800
#define ALE 0x1000
#define CLE 0x2000
#define RDY1 0x4000
#define RDY2 0x8000
#define RDY(n... | null | null | null | null | 122,955 |
21,803 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,798 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 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 Foundation.
... | null | null | null | null | 95,145 |
36,203 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,198 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2008-2009 Nuvoton technology corporation.
*
* Wan ZongShun <mcuos.com@gmail.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;version 2 of the License.
*
*/
#inc... | null | null | null | null | 109,545 |
37,251 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,251 | 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.
// Provides a minimal wrapping of the Blink image decoders. Used to perform
// a non-threaded, memory-to-memory image decode using micro second accuracy
/... | null | null | null | null | 34,114 |
10,934 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,929 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _SPARC_VADDRS_H
#define _SPARC_VADDRS_H
#include <asm/head.h>
/*
* asm/vaddrs.h: Here we define the virtual addresses at
* which important things will be mapped.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 2000 Anton Blanchard (anton@samba.org)
*... | null | null | null | null | 84,276 |
6,706 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,701 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Dynamic function tracer architecture backend.
*
* Copyright IBM Corp. 2009,2014
*
* Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>,
* Martin Schwidefsky <schwidefsky@de.ibm.com>
*/
#include <linux/moduleloader.h>
#include <linux/hardirq.h>
#include <linux/uaccess.h>
#include <linux/ftrace.h>
#inc... | null | null | null | null | 80,048 |
30,862 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,862 | 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/bindings/core/v8/dictionary_iterator.h"
#include "third_party/blink/renderer/bindings/core/v8/dictionary.h"
#include... | null | null | null | null | 27,725 |
62,257 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,257 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/macros.h"
#include "chrome/browser/sync/test/integration/bookmarks_helper.h"
#include "chrome/browser/sync/test/integration/performance... | null | null | null | null | 59,120 |
38,734 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,729 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Example wrapper around BPF macros.
*
* Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org>
* Author: Will Drewry <wad@chromium.org>
*
* The code may be used by anyone for any purpose,
* and can serve as a starting point for developing
* applications using prctl(PR_SET_SECCOMP, 2, ...)... | null | null | null | null | 112,076 |
53,663 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,663 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BLINK_KEY_SYSTEM_CONFIG_SELECTOR_H_
#define MEDIA_BLINK_KEY_SYSTEM_CONFIG_SELECTOR_H_
#include <memory>
#include <string>
#include <vector>... | null | null | null | null | 50,526 |
3,215 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,783 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Virtio Serial / Console Support
*
* Copyright IBM, Corp. 2008
* Copyright Red Hat, Inc. 2009, 2010
*
* Authors:
* Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
* Amit Shah <amit.shah@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-... | null | null | null | null | 123,907 |
20,168 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,163 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sou... | null | null | null | null | 93,510 |
1,060 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,015 | 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 | 119,936 |
61,579 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,579 | 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_PLUGINS_PLUGINS_FIELD_TRIAL_H_
#define CHROME_BROWSER_PLUGINS_PLUGINS_FIELD_TRIAL_H_
#include "base/macros.h"
#include "components... | null | null | null | null | 58,442 |
61,674 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,674 | 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_CLIENT_HINTS_CLIENT_HINTS_H_
#define CHROME_BROWSER_CLIENT_HINTS_CLIENT_HINTS_H_
#include <memory>
#include "base/memory/ref_coun... | null | null | null | null | 58,537 |
44,129 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,129 | 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 PPAPI_CPP_IMAGE_DATA_H_
#define PPAPI_CPP_IMAGE_DATA_H_
#include <stdint.h>
#include "ppapi/c/ppb_image_data.h"
#include "ppapi/cpp/point.h"... | null | null | null | null | 40,992 |
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.