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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
805 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,373 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include<stdio.h>
#include<assert.h>
int main()
{
int rt, rs, ach, acl, dsp;
int result;
ach = 0x05;
acl = 0xB4CB;
dsp = 0x07;
rs = 0x03;
result = 0x00007FFF;
__asm
("wrdsp %1, 0x01\n\t"
"mthi %3, $ac1\n\t"
"mtlo %4, $ac1\n\t"
"extrv_s.h %0, $ac1, %... | null | null | null | null | 121,497 |
56,020 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,020 | 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_NOTE_TAKING_CONTROLLER_CLIENT_H_
#define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_CONTROLLER_CLIENT_H_
#include "ash/public/in... | null | null | null | null | 52,883 |
38,321 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,321 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Ericsson AB. All rights reserved.
* 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... | null | null | null | null | 35,184 |
57,833 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,833 | 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 CHROME_BROWSER_CHROMEOS_CRYPTAUTH_GCM_DEVICE_INFO_PROVIDER_IMPL_H_
#define CHROME_BROWSER_CHROMEOS_CRYPTAUTH_GCM_DEVICE_INFO_PROVIDER_IMPL_H_
#in... | null | null | null | null | 54,696 |
25,008 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,003 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 98,350 |
17,818 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,818 | 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 <stddef.h>
#include <stdint.h>
#include "base/base64url.h"
#include "base/logging.h"
#include "base/macros.h"
#include "components/webcrypto/alg... | null | null | null | null | 14,681 |
62,732 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,732 | 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_UI_VIEWS_TASK_MANAGER_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_
#include <vector>
#include "base/macros.h"
#in... | null | null | null | null | 59,595 |
39,159 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,154 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/bcd.h>
#include <linux/export.h>
unsigned _bcd2bin(unsigned char val)
{
return (val & 0x0f) + (val >> 4) * 10;
}
EXPORT_SYMBOL(_bcd2bin);
unsigned char _bin2bcd(unsigned val)
{
return ((val / 10) << 4) + val % 10;
}
EXPORT_SYMBOL(_bin2bcd);
| null | null | null | null | 112,501 |
15,865 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,860 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2005 MIPS Technologies, Inc.
*/
#ifndef _ASM_ABI_H
#define ... | null | null | null | null | 89,207 |
30,486 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,481 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Toradex Colibri VF50 Touchscreen driver
*
* Copyright 2015 Toradex AG
*
* Originally authored by Stefan Agner for 3.0 kernel
*
* 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; eithe... | null | null | null | null | 103,828 |
40,052 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,052 | 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_MODULES_MEDIA_CONTROLS_ELEMENTS_MEDIA_CONTROL_TIMELINE_ELEMENT_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONT... | null | null | null | null | 36,915 |
19,786 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,786 | 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_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
#define CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
#include <memory>
#include <string>
#include "base/met... | null | null | null | null | 16,649 |
65,743 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,743 | 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/toolbar/back_forward_menu_model.h"
#include "base/macros.h"
#include "base/run_loop.h"
#include "base/strings/string16.h"... | null | null | null | null | 62,606 |
6,538 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,538 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/spdy/chromium/http2_push_promise_index.h"
#include "net/base/host_port_pair.h"
#include "net/base/privacy_mode.h"
#include "net/socket/sock... | null | null | null | null | 3,401 |
61,020 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,020 | 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 "chrome/browser/android/compositor/scene_layer/scrolling_bottom_view_scene_layer.h"
#include "base/android/jni_android.h"
#include "base/android... | null | null | null | null | 57,883 |
1,903 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,960 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Header file for hardcoded mpegaudiodec tables
*
* Copyright (c) 2009 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
*
* 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 Soft... | null | null | null | null | 71,015 |
30,926 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,921 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPIO driver for AMD
*
* Copyright (c) 2014,2015 AMD Corporation.
* Authors: Ken Xue <Ken.Xue@amd.com>
* Wu, Jeff <Jeff.Wu@amd.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published ... | null | null | null | null | 104,268 |
34,082 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,077 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _AV7110_CA_H_
#define _AV7110_CA_H_
struct av7110;
extern void CI_handle(struct av7110 *av7110, u8 *data, u16 len);
extern void ci_get_data(struct dvb_ringbuffer *cibuf, u8 *data, int len);
extern int av7110_ca_register(struct av7110 *av7110);
extern void av7110_ca_unregister(struct av7110 *av7110);
extern i... | null | null | null | null | 107,424 |
3,009 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,066 | 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 | 72,121 |
1,748 | 1 | train_val | 870f3e99a1282023753fe8d8aed90879cbc6838f | 1,748 | Chrome | 1 | https://github.com/chromium/chromium | 2015-10-28 23:35:15+00:00 | bool IsTraceEventArgsWhitelisted(const char* category_group_name,
const char* event_name) {
if (base::MatchPattern(category_group_name, "benchmark") &&
base::MatchPattern(event_name, "whitelisted")) {
return true;
}
return false;
}
| CVE-2014-1742 | CWE-399 | https://github.com/chromium/chromium/commit/870f3e99a1282023753fe8d8aed90879cbc6838f | Low | 1,748 |
37,560 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,555 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_SCORE_BITSPERLONG_H
#define _ASM_SCORE_BITSPERLONG_H
#include <asm-generic/bitsperlong.h>
#endif /* _ASM_SCORE_BITSPERLONG_H */
| null | null | null | null | 110,902 |
801 | 53,79,116,138,147,157,158,159,169,179,192,193,194,195,198,205,218,238,259,276,296,297,298,308 | train_val | a6e544b0a88b53114bfa5a57e21b7be7a8dfc9d0 | 165,796 | linux | 1 | https://github.com/torvalds/linux | 2015-09-01 15:06:22-07:00 | bool __skb_flow_dissect(const struct sk_buff *skb,
struct flow_dissector *flow_dissector,
void *target_container,
void *data, __be16 proto, int nhoff, int hlen)
{
struct flow_dissector_key_control *key_control;
struct flow_dissector_key_basic *key_basic;
struct flow_dissector_key_addrs *key_addrs;
struct flow_dissector... | CVE-2017-13715 | CWE-20 | https://github.com/torvalds/linux/commit/a6e544b0a88b53114bfa5a57e21b7be7a8dfc9d0 | Low | 3,690 |
40,522 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,522 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 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,385 |
10,846 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,841 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _SPARC64_HEAD_H
#define _SPARC64_HEAD_H
#include <asm/pstate.h>
/* wrpr %g0, val, %gl */
#define SET_GL(val) \
.word 0xa1902000 | val
/* rdpr %gl, %gN */
#define GET_GL_GLOBAL(N) \
.word 0x81540000 | (N << 25)
#define KERNBASE 0x400000
#define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ)
#define RTRAP_PSTA... | null | null | null | null | 84,188 |
423 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,267 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | // **************************************************************************************
// File: KrbEditRealm.h
// By: Arthur David Leather
// Created: 12/02/98
// Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
// Description: H file for Krb4EditRealmHostList.cpp. Contains variabl... | null | null | null | null | 73,575 |
23,681 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,681 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/compositor/surface_utils.h"
#include "build/build_config.h"
#include "components/viz/host/host_frame_sink_manager.h"
#include "... | null | null | null | null | 20,544 |
1,200 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,044 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/krb/fast.h */
/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
... | null | null | null | null | 74,352 |
38,653 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,653 | 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 condit... | null | null | null | null | 35,516 |
31,846 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,841 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Id: isdn_audio.h,v 1.1.2.2 2004/01/12 22:37:18 keil Exp $
*
* Linux ISDN subsystem, audio conversion and compression (linklevel).
*
* Copyright 1994-1999 by Fritz Elfert (fritz@isdn4linux.de)
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporate... | null | null | null | null | 105,188 |
22,321 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,316 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef S390_BLACKLIST_H
#define S390_BLACKLIST_H
extern int is_blacklisted (int ssid, int devno);
#endif
| null | null | null | null | 95,663 |
41,835 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,830 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright © 2010 ST Microelectronics
* Shiraz Hashim <shiraz.linux.kernel@gmail.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#ifndef __MTD_SPEAR_SMI_H
#define... | null | null | null | null | 115,177 |
14,112 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,112 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/model/offline_page_upgrade_types.h"
namespace offline_pages {
StartUpgradeResult::StartUpgradeResult()
: sta... | null | null | null | null | 10,975 |
17,745 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,740 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ARM64 Specific Low-Level ACPI Boot Support
*
* Copyright (C) 2013-2014, Linaro Ltd.
* Author: Al Stone <al.stone@linaro.org>
* Author: Graeme Gregory <graeme.gregory@linaro.org>
* Author: Hanjun Guo <hanjun.guo@linaro.org>
* Author: Tomasz Nowicki <tomasz.nowicki@linaro.org>
* Author: Naresh Bhat <naresh... | null | null | null | null | 91,087 |
40,305 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,300 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Definitions for the 'struct sk_buff' memory handlers.
*
* Authors:
* Alan Cox, <gw4pts@gw4pts.ampr.org>
* Florian La Roche, <rzsfl@rz.uni-sb.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 Soft... | null | null | null | null | 113,647 |
1,294 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,138 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* @(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC */
/*
* Copyright (c) 2010, Oracle America, 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 r... | null | null | null | null | 74,446 |
1,552 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 163,396 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
*
*/
#include <k5-int.h>
#include <gssrpc/rpc.h>
#include <gssapi/gssapi_krb5.h> /* for gss_nt_krb5_name */
#include <syslog.h>
#include <kadm5/kadm_rpc.h>
#include <krb5.h>
#inclu... | null | null | null | null | 74,704 |
17,557 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,557 | 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_MANAGER_TEST_DELEGATE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_
nam... | null | null | null | null | 14,420 |
28,942 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,937 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for Linear Technology LTC2945 I2C Power Monitor
*
* Copyright (c) 2014 Guenter Roeck
*
* 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 | 102,284 |
35,557 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,557 | 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_RENDERER_CORE_EDITING_TESTING_EDITING_TEST_BASE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_TESTING_EDITING_TEST_BASE_H_
... | null | null | null | null | 32,420 |
7,725 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,725 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_URL_REQUEST_REDIRECT_UTIL_H_
#define NET_URL_REQUEST_REDIRECT_UTIL_H_
#include <string>
#include "net/base/net_export.h"
class GURL;
names... | null | null | null | null | 4,588 |
22,539 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,534 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* linux/drivers/char/scx200_gpio.c
National Semiconductor SCx200 GPIO driver. Allows a user space
process to play with the GPIO pins.
Copyright (c) 2001,2002 Christer Weinigel <wingel@nano-system.com> */
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/errno.h>
#in... | null | null | null | null | 95,881 |
44,848 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,848 | 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 "testing/gtest/include/gtest/gtest.h"
#include "base/compiler_specific.h"
#include "base/message_loop/message_loop.h"
#include "ppapi/shared... | null | null | null | null | 41,711 |
25,542 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,537 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Broadcom
* Copyright (c) 2014 The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as publ... | null | null | null | null | 98,884 |
63,602 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,602 | 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 CHROME_BROWSER_UI_TABS_TAB_UKM_TEST_HELPER_H_
#define CHROME_BROWSER_UI_TABS_TAB_UKM_TEST_HELPER_H_
#include <map>
#include "base/macros.h"
#inc... | null | null | null | null | 60,465 |
3,367 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,367 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_
#define STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_
#include <stddef.h>
#include <stdint.h>
#include <memory... | null | null | null | null | 230 |
41,861 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,856 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* The industrial I/O core, trigger handling functions
*
* Copyright (c) 2008 Jonathan Cameron
*
* 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.
*/
#include <linux/irq.h>
#inclu... | null | null | null | null | 115,203 |
2,049 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,617 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU PowerPC pSeries Logical Partition (aka sPAPR) hardware System Emulator
*
* PAPR Virtualized Interrupt System, aka ICS/ICP aka xics
*
* Copyright (c) 2010,2011 David Gibson, IBM Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | null | null | null | null | 122,741 |
8,924 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,919 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* SH-Mobile Timer
*
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2002 - 2009 Paul Mundt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This pr... | null | null | null | null | 82,266 |
31,022 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,022 | 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/bindings/modules/v8/module_bindings_initializer.h"
#include "third_party/blink/renderer/bindings/modules/v8/origin_t... | null | null | null | null | 27,885 |
9,999 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,994 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/kernel/smp_scu.c
*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/init.h>
#inc... | null | null | null | null | 83,341 |
41,402 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,397 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef LINUX_SSB_DRIVER_GIGE_H_
#define LINUX_SSB_DRIVER_GIGE_H_
#include <linux/ssb/ssb.h>
#include <linux/bug.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#ifdef CONFIG_SSB_DRIVER_GIGE
#define SSB_GIGE_PCIIO 0x0000 /* PCI I/O Registers (1024 bytes) */
#define SSB_GIGE_RESERVED 0x0400 /* Reserved (10... | null | null | null | null | 114,744 |
11,905 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,905 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/omnibox/browser/base_search_provider.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <memory>
#include "b... | null | null | null | null | 8,768 |
1,717 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,285 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU AMD PC-Net II (Am79C970A) emulation
*
* Copyright (c) 2004 Antony T Curtis
*
* 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... | null | null | null | null | 122,409 |
66,232 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,232 | 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 "chrome/browser/media/router/mojo/media_sink_service_status.h"
#include "base/json/json_string_value_serializer.h"
#include "base/strings/strcat... | null | null | null | null | 63,095 |
65,576 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,576 | 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/command_line.h"
#include "base/test/histogram_tester.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include... | null | null | null | null | 62,439 |
15,030 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,030 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_H_
#define COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_H_
#include "base/macros.h"
#inc... | null | null | null | null | 11,893 |
2,960 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,017 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* AVC helper functions for muxers
* Copyright (c) 2008 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
*... | null | null | null | null | 72,072 |
45,907 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,907 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_DETACHABLE_BASE_DETACHABLE_BASE_NOTIFICATION_CONTROLLER_H_
#define ASH_DETACHABLE_BASE_DETACHABLE_BASE_NOTIFICATION_CONTROLLER_H_
#include "a... | null | null | null | null | 42,770 |
57,559 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,559 | 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/input_method/accessibility.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "chro... | null | null | null | null | 54,422 |
43,476 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,476 | 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/process_handle.h"
#include <libproc.h>
#include <stddef.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include "base/logg... | null | null | null | null | 40,339 |
72,164 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 72,164 | 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 SERVICES_NETWORK_CROSS_ORIGIN_READ_BLOCKING_H_
#define SERVICES_NETWORK_CROSS_ORIGIN_READ_BLOCKING_H_
#include <string>
#include "base/component... | null | null | null | null | 69,027 |
13,853 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,848 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* ptrace.c: FRV specific parts of process tracing
*
* Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
* - Derived from arch/m68k/kernel/ptrace.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gener... | null | null | null | null | 87,195 |
26,625 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,625 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Windows CE backend for libusbx 1.0
* Copyright © 2011-2013 RealVNC Ltd.
* Portions taken from Windows backend, which is
* Copyright © 2009-2010 Pete Batard <pbatard@gmail.com>
* With contributions from Michael Plante, Orin Eman et al.
* Parts of this code adapted from libusb-win32-v1 by Stephan Meyer
* Majo... | null | null | null | null | 23,488 |
61,957 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,957 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SAFE_SEARCH_URL_REPORTER_H_
#define CHROME_BROWSER_SUPERVISED_USER_EXPERIMENTAL_SAFE_SEARCH_URL_REPORT... | null | null | null | null | 58,820 |
30,449 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,444 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Simple heartbeat STM source driver
* Copyright (c) 2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribu... | null | null | null | null | 103,791 |
20,291 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,291 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
#include <mem... | null | null | null | null | 17,154 |
22,751 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,751 | 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_TAP_SUPPRESSION_CONTROLLER_CLIENT_H_
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_TAP_SUPPRESSION_CONTROLLER_CL... | null | null | null | null | 19,614 |
53,923 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,923 | 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.
//
// The Safe Browsing service is responsible for downloading anti-phishing and
// anti-malware tables and checking urls against them. This is android... | null | null | null | null | 50,786 |
41,745 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,740 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _AS5011_H
#define _AS5011_H
/*
* Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.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.
*/
struct as501... | null | null | null | null | 115,087 |
20,250 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,250 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_CACHE_STORAGE_CONTEXT_H_
#define CONTENT_PUBLIC_BROWSER_CACHE_STORAGE_CONTEXT_H_
#include <vector>
#include "base/callbac... | null | null | null | null | 17,113 |
63,835 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,835 | 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/webui/version_ui.h"
#include <memory>
#include "base/command_line.h"
#include "base/i18n/message_formatter.h"
#include "... | null | null | null | null | 60,698 |
37,412 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,407 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2013 Emilio López <emilio@elopez.com.ar>
*
* 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.
*
* Adjustable factor-based clock implementation
*/
#include <lin... | null | null | null | null | 110,754 |
42,807 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,802 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __SOUND_AK4117_H
#define __SOUND_AK4117_H
/*
* Routines for Asahi Kasei AK4117
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>,
*
*
* 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 Softwar... | null | null | null | null | 116,149 |
16,990 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,985 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_SH7722_H__
#define __ASM_SH7722_H__
/* Boot Mode Pins:
*
* MD0: CPG - Clock Mode 0->3
* MD1: CPG - Clock Mode 0->3
* MD2: CPG - Reserved (L: Normal operation)
* MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10]
* MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3]
* MD8: Test Mode
*/
/* Pin ... | null | null | null | null | 90,332 |
66,492 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,492 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_UI_H_
#define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_UI_H_
#include "base/macros.h"
#include... | null | null | null | null | 63,355 |
614 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,742 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 73,035 |
13,789 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,789 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_CRASH_CONTENT_APP_CRASH_KEYS_WIN_H_
#define COMPONENTS_CRASH_CONTENT_APP_CRASH_KEYS_WIN_H_
#include <stddef.h>
#include <map>
#includ... | null | null | null | null | 10,652 |
58,447 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,447 | 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 "chrome/browser/importer/firefox_profile_lock.h"
#include "base/files/file_path.h"
#include "base/threading/thread_restrictions.h"
#include ... | null | null | null | null | 55,310 |
17,287 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,282 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2010-2011, 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 ... | null | null | null | null | 90,629 |
69,957 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,957 | 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 "device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/macros.h"
#include "ba... | null | null | null | null | 66,820 |
24,484 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,479 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2010 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 97,826 |
42,057 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,057 | 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 "google_apis/gcm/engine/gservices_switches.h"
namespace switches {
// Sets the checkin service endpoint that will be used for performing Google... | null | null | null | null | 38,920 |
9,483 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,478 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-dove/pcie.c
*
* PCIe functions for Marvell Dove 88AP510 SoC
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/p... | null | null | null | null | 82,825 |
269 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,837 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* MicroBlaze specific CPU ABI and functions for linux-user
*
* Copyright (c) 2009 Edgar E. Iglesias
*
* 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 ... | null | null | null | null | 120,961 |
50,860 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,860 | 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/compositor/test/test_layer_animation_observer.h"
#include <cstddef>
namespace ui {
TestLayerAnimationObserver::TestLayerAnimationObser... | null | null | null | null | 47,723 |
34,207 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,202 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 Cisco Systems, Inc. and/or its affiliates.
* All rights reserved.
*
* This program is free software; you may 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.
*
* THE SOFTWARE IS PROV... | null | null | null | null | 107,549 |
1,524 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,581 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* gsm 06.10 decoder, Microsoft variant
* Copyright (c) 2010 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
*
* 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 Foundat... | null | null | null | null | 70,636 |
236 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,191 | 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,112 |
1,655 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,610 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
zip_source_is_deleted.c -- was archive was removed?
Copyright (C) 2014 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are... | null | null | null | null | 120,531 |
15,318 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,313 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000, 05 by Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2000 by Silicon Graphics, Inc.
* Copyright (C) 2004 by Chri... | null | null | null | null | 88,660 |
8,021 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,016 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_KVM_CLOCK_H
#define _ASM_X86_KVM_CLOCK_H
extern struct clocksource kvm_clock;
#endif /* _ASM_X86_KVM_CLOCK_H */
| null | null | null | null | 81,363 |
55,053 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,053 | 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.
//
// PhishingTermFeatureExtractor handles computing term features from the text
// of a web page for the client-side phishing detection model. To do ... | null | null | null | null | 51,916 |
22,146 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,146 | 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.
// Get basic type definitions.
#define IPC_MESSAGE_IMPL
#include "content/common/media/media_stream_param_traits.h"
// Generate constructors.
#includ... | null | null | null | null | 19,009 |
34,987 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,982 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ImgTec IR Hardware Decoder found in PowerDown Controller.
*
* Copyright 2010-2014 Imagination Technologies Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of ... | null | null | null | null | 108,329 |
37,799 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,799 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_INVALIDATION_REASON_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_INVALIDATION_... | null | null | null | null | 34,662 |
29,529 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,529 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2017-08-10
**
** 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,392 |
24,082 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,082 | 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 "content/browser/media/session/media_session_service_impl.h"
#include "content/browser/media/session/media_metadata_sanitizer.h"
#include "conte... | null | null | null | null | 20,945 |
20,130 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,130 | 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/public/common/content_client.h"
#include "base/logging.h"
#include "base/strings/string_piece.h"
#include "build/build_config.h"
#i... | null | null | null | null | 16,993 |
19,031 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,026 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is part of the Chelsio FCoE driver for Linux.
*
* Copyright (c) 2009-2010 Chelsio Communications, Inc. 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) Versio... | null | null | null | null | 92,373 |
27,444 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,444 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/zlib/google/zip_reader.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <set>
#include <string>
#inclu... | null | null | null | null | 24,307 |
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.