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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,072 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,067 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_NMI_H
#define _ASM_X86_NMI_H
#include <linux/irq_work.h>
#include <linux/pm.h>
#include <asm/irq.h>
#include <asm/io.h>
#ifdef CONFIG_X86_LOCAL_APIC
extern int avail_to_resrv_perfctr_nmi_bit(unsigned int);
extern int reserve_perfctr_nmi(unsigned int);
extern void release_perfctr_nmi(unsigned int);
e... | null | null | null | null | 81,414 |
62,580 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,580 | 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_BROWSER_OTR_STATE_H_
#define CHROME_BROWSER_UI_BROWSER_OTR_STATE_H_
namespace chrome {
bool IsIncognitoSessionActive();
}... | null | null | null | null | 59,443 |
41,494 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,494 | 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 <algorithm>
#include <sstream>
#include "testing/gtest/include/gtest/gtest.h"
#include "tools/gn/ninja_copy_target_writer.h"
#include "tools... | null | null | null | null | 38,357 |
12,408 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,403 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013, Michael (Ellerman|Neuling), IBM 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 | 85,750 |
22,026 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,021 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2008-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | null | null | null | null | 95,368 |
27,461 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,461 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* inflate.c -- zlib decompression
* Copyright (C) 1995-2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/*
* Change history:
*
* 1.2.beta0 24 Nov 2002
* - First version -- complete rewrite of inflate to simplify code, avoid
* creation of window when not needed, ... | null | null | null | null | 24,324 |
37,635 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,635 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* (C) 1999 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights
* reserved.
* Copyright (C) 2007-2009 Torch Mobile, Inc.
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the... | null | null | null | null | 34,498 |
71,089 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,089 | 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 SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_
#define SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_
#include "mojo/public/c... | null | null | null | null | 67,952 |
37,758 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,758 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2014 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 | 34,621 |
71,424 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,424 | 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 "services/service_manager/sandbox/linux/bpf_gpu_policy_linux.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/... | null | null | null | null | 68,287 |
5,664 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,664 | 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 "chromeos/login/auth/cryptohome_authenticator.h"
#include <stdint.h>
#include <vector>
#include "base/bind.h"
#include "base/files/file_path.h... | null | null | null | null | 2,527 |
17,360 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,355 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/unicore32/kernel/puv3-core.c
*
* Code specific to PKUnity SoC and UniCore ISA
*
* Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn>
* Copyright (C) 2001-2010 Guan Xuetao
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | null | null | null | null | 90,702 |
55,046 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,046 | 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.
//
// This class is used by the RenderView to interact with a PhishingClassifier.
#ifndef CHROME_RENDERER_SAFE_BROWSING_PHISHING_CLASSIFIER_DELEGATE_H... | null | null | null | null | 51,909 |
28,022 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,017 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Cryptographic API.
*
* Skein256 Hash Algorithm.
*
* Derived from cryptoapi implementation, adapted for in-place
* scatterlist interface.
*
* Copyright (c) Eric Rost <eric.rost@mybabylon.net>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | null | null | null | null | 101,364 |
571 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,526 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is ... | null | null | null | null | 119,447 |
13,002 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,997 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_POWERPC_BYTEORDER_H
#define _ASM_POWERPC_BYTEORDER_H
/*
* 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 | 86,344 |
15,050 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,045 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology
* Author: Fuxin Zhang, zhangfx@lemote.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2... | null | null | null | null | 88,392 |
39,853 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,853 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | null | null | null | null | 36,716 |
27,904 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,904 | 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,767 |
5,853 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,848 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* PCM179X ASoC SPI driver
*
* Copyright (c) Amarula Solutions B.V. 2013
*
* Michael Trimarchi <michael@amarulasolutions.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; eit... | null | null | null | null | 79,195 |
38,988 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,988 | 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_MODULES_GEOLOCATION_GEO_NOTIFIER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_GEOLOCATION_GEO_NOTIFIER_H_
#include "t... | null | null | null | null | 35,851 |
2,576 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,633 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* SIMD optimized JPEG 2000 DSP functions
* Copyright (c) 2015 James Almer
*
* 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 ... | null | null | null | null | 71,688 |
51,547 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,547 | 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 "ui/keyboard/keyboard_switches.h"
namespace keyboard {
namespace switches {
const char kDisableInputView[] = "disable-input-view";
const ch... | null | null | null | null | 48,410 |
127 | null | train_val | 6614a6c1194b3ff84ce20b9d1166ae22ec938f67 | 161,656 | jasper | 0 | https://github.com/mdadams/jasper | 2016-11-12 15:42:24-08:00 | /*
* Copyright (c) 2001-2003 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image Power, Inc.
* Copyright (c) 1999-2000 The University of British Columbia
*
* All rights... | null | null | null | null | 73,184 |
43,507 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,502 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $Revision: 3.0 $$Date: 1998/11/02 14:20:59 $
* linux/include/linux/cyclades.h
*
* This file was initially written by
* Randolph Bentson <bentson@grieg.seaslug.org> and is maintained by
* Ivan Passos <ivan@cyclades.com>.
*
* This file contains the general definitions for the cyclades.c driver
*$Log: cyclades.... | null | null | null | null | 116,849 |
57,465 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,465 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/certificate_provider/certificate_info.h"
namespace chromeos {
namespace certificate_provider {
CertificateInfo::Certif... | null | null | null | null | 54,328 |
28,668 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,663 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright (C) 2014 Oleksij Rempel <linux@rempel-privat.de>
* Add Alphascale ASM9260 support.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | null | null | null | null | 102,010 |
67,082 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,082 | 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_NOTIFICATIONS_NOTIFICATION_LAUNCH_ID_H_
#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_LAUNCH_ID_H_
#include "chrome/browser/no... | null | null | null | null | 63,945 |
29,171 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,166 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is provided under a GPLv2 license. When using or
* redistributing this file, you may do so under that license.
*
* GPL LICENSE SUMMARY
*
* Copyright (C) 2016 T-Platforms. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the ter... | null | null | null | null | 102,513 |
2,002 | 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 | train_val | eea3300239f0b53e172a320eb8de59d0bea65f27 | 2,002 | Chrome | 1 | https://github.com/chromium/chromium | 2016-12-29 02:22:24+00:00 | std::string SanitizeFrontendQueryParam(
const std::string& key,
const std::string& value) {
// Convert boolean flags to true.
if (key == "can_dock" || key == "debugFrontend" || key == "experiments" ||
key == "isSharedWorker" || key == "v8only" || key == "remoteFrontend")
return "true";
// Pass c... | CVE-2017-5011 | CWE-200 | https://github.com/chromium/chromium/commit/eea3300239f0b53e172a320eb8de59d0bea65f27 | Medium | 2,002 |
182 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,569 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,014 |
44,408 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,408 | 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.
*/
/* From private/pp_private_font_charset.idl,
* modified Fri Sep 07 12:50:35 2012.
*/
#ifndef PPAPI_C_PRIVATE_PP_PRIVATE_FONT_CHARSET_H_
#defi... | null | null | null | null | 41,271 |
52,200 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,200 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_
#define MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_SINK_H_
#include <stdint.h>
#include <string>
#include "base/co... | null | null | null | null | 49,063 |
27,893 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,893 | 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,756 |
31,604 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,599 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 |
/*
*
Copyright (c) Eicon Networks, 2002.
*
This source file is supplied for the use with
Eicon Networks range of DIVA Server Adapters.
*
Eicon File Revision : 2.1
*
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
th... | null | null | null | null | 104,946 |
10,293 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,293 | 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 HEADLESS_PUBLIC_INTERNAL_MESSAGE_DISPATCHER_H_
#define HEADLESS_PUBLIC_INTERNAL_MESSAGE_DISPATCHER_H_
#include <memory>
#include "base/callback_... | null | null | null | null | 7,156 |
6,746 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,741 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Disassemble s390 instructions.
*
* Copyright IBM Corp. 2007
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
*/
#ifndef __ASM_S390_DIS_H__
#define __ASM_S390_DIS_H__
/* Type of operand */
#define OPERAND_GPR 0x1 /* Operand printed as %rx */
#define OPERAND_FPR 0x2 /* Operand printed as %fx */
#defi... | null | null | null | null | 80,088 |
19,775 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,775 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_GPU_GPU_SANDBOX_HOOK_LINUX_H_
#define CONTENT_GPU_GPU_SANDBOX_HOOK_LINUX_H_
#include "services/service_manager/sandbox/linux/sandbox_linu... | null | null | null | null | 16,638 |
44,457 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 209,452 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2007 Cisco Systems. 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 source tre... | null | null | null | null | 117,799 |
71,521 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,521 | 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 SERVICES_RESOURCE_COORDINATOR_MEMORY_INSTRUMENTATION_QUEUED_REQUEST_H_
#define SERVICES_RESOURCE_COORDINATOR_MEMORY_INSTRUMENTATION_QUEUED_REQUEST... | null | null | null | null | 68,384 |
21,016 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,011 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
Broadcom B43 wireless driver
G PHY LO (LocalOscillator) Measuring and Control routines
Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>,
Copyright (c) 2005, 2006 Stefano Brivio <stefano.brivio@polimi.it>
Copyright (c) 2005-2007 Michael Buesch <m@bues.ch>
Copyright (c) 2005, 2006 Danny van Dyk <... | null | null | null | null | 94,358 |
57,092 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,092 | 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 "chrome/browser/chromeos/file_system_provider/operations/create_directory.h"
#include <string>
#include "chrome/common/extensions/api/file_syst... | null | null | null | null | 53,955 |
609 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,453 | 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 -*- */
/* plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | null | null | null | null | 73,761 |
70,254 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,254 | 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 DEVICE_USB_USB_DEVICE_HANDLE_ANDROID_H_
#define DEVICE_USB_USB_DEVICE_HANDLE_ANDROID_H_
#include "base/android/scoped_java_ref.h"
#include "base/... | null | null | null | null | 67,117 |
18,329 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,329 | 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/download/downloader/in_progress/in_progress_cache_impl.h"
#include <memory>
#include "base/bind.h"
#include "base/bind_helpers.h"
#... | null | null | null | null | 15,192 |
28,435 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,430 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR ... | null | null | null | null | 101,777 |
18,572 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,572 | 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/subresource_filter/core/common/indexed_ruleset.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
#include "bas... | null | null | null | null | 15,435 |
8,052 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,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.
#include "net/cert/internal/simple_path_builder_delegate.h"
#include "base/logging.h"
#include "net/cert/internal/cert_error_params.h"
#include "net/cert... | null | null | null | null | 4,915 |
71,092 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,092 | 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 SERVICES_SHAPE_DETECTION_DETECTION_UTILS_WIN_H_
#define SERVICES_SHAPE_DETECTION_DETECTION_UTILS_WIN_H_
#include <windows.storage.streams.h>
#inc... | null | null | null | null | 67,955 |
11,336 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,336 | 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.
// Tests for the BufferTracker.
#include "gpu/command_buffer/client/buffer_tracker.h"
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <std... | null | null | null | null | 8,199 |
3,547 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,547 | 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 IOS_WEB_PUBLIC_SYSTEM_COOKIE_STORE_UTIL_H_
#define IOS_WEB_PUBLIC_SYSTEM_COOKIE_STORE_UTIL_H_
#include <memory>
namespace net {
class SystemCook... | null | null | null | null | 410 |
8,810 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,810 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/ssl/ssl_platform_key_android.h"
#include <string>
#include "base/android/build_info.h"
#include "base/android/jni_android.h"
#include ... | null | null | null | null | 5,673 |
17,787 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,782 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Fault injection for both 32 and 64bit guests.
*
* Copyright (C) 2012,2013 - ARM Ltd
* Author: Marc Zyngier <marc.zyngier@arm.com>
*
* Based on arch/arm/kvm/emulate.c
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*
* This pro... | null | null | null | null | 91,129 |
66,974 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,974 | 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 "chrome/browser/push_messaging/push_messaging_service_impl.h"
#include <vector>
#include "base/barrier_closure.h"
#include "base/base64url.h"
#... | null | null | null | null | 63,837 |
6,867 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,862 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_S390_DMA_H
#define _ASM_S390_DMA_H
#include <asm/io.h>
/*
* MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated
* to DMA. It _is_ used for the s390 memory zone split at 2GB caused
* by the 31 bit heritage.
*/
#define MAX_DMA_ADDRESS 0x80000000
#ifdef CONFIG_PCI
extern int i... | null | null | null | null | 80,209 |
36,974 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,969 | 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 | 110,316 |
63,878 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,878 | 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/chromeos/mobile_setup_ui.h"
#include <stddef.h>
#include <memory>
#include <algorithm>
#include <map>
#include <s... | null | null | null | null | 60,741 |
55,057 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,057 | 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/renderer/safe_browsing/feature_extractor_clock.h"
namespace safe_browsing {
FeatureExtractorClock::~FeatureExtractorClock() {}
bas... | null | null | null | null | 51,920 |
9,233 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,233 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/http/http_cache_transaction.h"
#include "build/build_config.h" // For OS_POSIX
#if defined(OS_POSIX)
#include <unistd.h>
#endif
#inc... | null | null | null | null | 6,096 |
24,177 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,177 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors.All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/frame_host/frame_tree.h"
#include <stddef.h>
#include "base/macros.h"
#include "base/run_loop.h"
#include "base/strings/string_... | null | null | null | null | 21,040 |
33,763 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,763 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Sof... | null | null | null | null | 30,626 |
47,334 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,334 | 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 CC_TREES_DRAW_PROPERTY_UTILS_H_
#define CC_TREES_DRAW_PROPERTY_UTILS_H_
#include "cc/cc_export.h"
#include "cc/layers/layer_collections.h"
names... | null | null | null | null | 44,197 |
35,911 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,906 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/message/fusion/mptspi.c
* For use with LSI PCI chip/adapter(s)
* running LSI Fusion MPT (Message Passing Technology) firmware.
*
* Copyright (c) 1999-2008 LSI Corporation
* (mailto:DL-MPTFusionLinux@lsi.com)
*
*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | null | null | null | null | 109,253 |
34,131 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,126 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014-2015 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 SOFTW... | null | null | null | null | 107,473 |
722 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,677 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | null | null | null | null | 119,598 |
23,139 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,134 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2007-2008 Pierre Ossman
*
* 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.
*/
#include <linux/mmc... | null | null | null | null | 96,481 |
63,452 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,452 | 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_APPS_APP_WINDOW_NATIVE_WIDGET_MAC_H_
#define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_NATIVE_WIDGET_MAC_H_
#include "base/... | null | null | null | null | 60,315 |
67,809 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,809 | 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 REMOTING_IOS_DOMAIN_HOST_INFO_H_
#define REMOTING_IOS_DOMAIN_HOST_INFO_H_
#import <Foundation/Foundation.h>
namespace remoting {
struct HostInfo... | null | null | null | null | 64,672 |
34,250 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,250 | 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_CORE_PAINT_INLINE_FLOW_BOX_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_INLINE_FLOW_BOX_PAINTER_H_
#includ... | null | null | null | null | 31,113 |
137 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,524 | 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 | 117,969 |
1,113 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,068 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2016 The PHP Group |
+--------------... | null | null | null | null | 119,989 |
51,595 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,595 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_tree.h"
#include <stddef.h>
#include <set>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "ui/... | null | null | null | null | 48,458 |
32,246 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,246 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2014 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 | 29,109 |
47,111 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,111 | 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 "cc/test/fake_raster_buffer_provider.h"
#include "cc/resources/resource_pool.h"
namespace cc {
class StubGpuBacking : public ResourcePool::Gpu... | null | null | null | null | 43,974 |
8,445 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,445 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_
#define NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_
#include <stdint.h>
#include <vector>
... | null | null | null | null | 5,308 |
22,227 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,227 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/child_process_launcher_helper_posix.h"
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "base/posi... | null | null | null | null | 19,090 |
16,879 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,874 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/serial_sci.h>
#include <linux/serial_core.h>
#include <linux/io.h>
#include <cpu/serial.h>
#define PACR 0xa4050100
#define PBCR 0xa4050102
static void sh7710_sci_init_pins(struct uart_port *port, unsigned int cflag)
{
if (port->mapbase == 0xA4400000) {
__raw_writew(__raw_readw(PACR) & 0xffc0, PACR)... | null | null | null | null | 90,221 |
51,401 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,401 | 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/gesture_detection/gesture_listeners.h"
namespace ui {
bool SimpleGestureListener::OnDown(const MotionEvent& e) {
return false;
}
... | null | null | null | null | 48,264 |
68,807 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,807 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_CODEC_CAST_SOFTWARE_VIDEO_ENCODER_ADAPTER_H_
#define REMOTING_CODEC_CAST_SOFTWARE_VIDEO_ENCODER_ADAPTER_H_
#include <memory>
#include "... | null | null | null | null | 65,670 |
28,351 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,346 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* FB driver for the PCD8544 LCD Controller
*
* The display is monochrome and the video memory is RGB565.
* Any pixel value except 0 turns the pixel on.
*
* Copyright (C) 2013 Noralf Tronnes
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | null | null | null | null | 101,693 |
7,881 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,876 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* mmu_audit.c:
*
* Audit code for KVM MMU
*
* Copyright (C) 2006 Qumranet, Inc.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Authors:
* Yaniv Kamay <yaniv@qumranet.com>
* Avi Kivity <avi@qumranet.com>
* Marcelo Tosatti <mtosatti@redhat.com>
* Xiao Guangrong <xiaoguangrong@cn.fujit... | null | null | null | null | 81,223 |
30,963 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,963 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 27,826 |
1,608 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,603 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* net/atm/protocols.h - ATM protocol handler entry points */
/* Written 1995-1997 by Werner Almesberger, EPFL LRC */
#ifndef NET_ATM_PROTOCOLS_H
#define NET_ATM_PROTOCOLS_H
int atm_init_aal0(struct atm_vcc *vcc); /* "raw" AAL0 */
int atm_init_aal34(struct atm_vcc *vcc);/* "raw" AAL3/4 transport */
int atm_init_aal... | null | null | null | null | 74,951 |
26,186 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,181 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
* Copyright 2009 Jerome Glisse.
*
* 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, in... | null | null | null | null | 99,528 |
31,216 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,211 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* IPMMU VMSA
*
* Copyright (C) 2014 Renesas Electronics 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; version 2 of the License.
*/
#include <linux/delay.h>
#include <... | null | null | null | null | 104,558 |
18,625 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,625 | 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/feedback/feedback_uploader.h"
#include <string>
#include "base/macros.h"
#include "base/metrics/field_trial.h"
#include "base/run_l... | null | null | null | null | 15,488 |
8,390 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,385 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* 16550 serial driver for gdbstub I/O
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Fou... | null | null | null | null | 81,732 |
12,420 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,420 | 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_DOMAIN_RELIABILITY_UTIL_H_
#define COMPONENTS_DOMAIN_RELIABILITY_UTIL_H_
#include <map>
#include <memory>
#include "base/callback_for... | null | null | null | null | 9,283 |
24,833 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,833 | 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 EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_
#define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_
#include <memory>
#include <string>
#include <utility>
#inclu... | null | null | null | null | 21,696 |
22,198 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,193 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2005-2011 Atheros Communications Inc.
* Copyright (c) 2011-2013 Qualcomm Atheros, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... | null | null | null | null | 95,540 |
41,196 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,196 | 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 "tools/json_schema_compiler/test/additional_properties.h"
#include <memory>
#include <utility>
#include "testing/gtest/include/gtest/gtest.... | null | null | null | null | 38,059 |
27,984 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,979 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 1996, 2003 VIA Networking Technologies, 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; either version 2 of the License, or
* (at your opt... | null | null | null | null | 101,326 |
20,515 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,515 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_H_
#define CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_H_
#include <memory>
#include "base/memory/weak_p... | null | null | null | null | 17,378 |
32,542 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,542 | 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 "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/web_inp... | null | null | null | null | 29,405 |
44,503 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,503 | 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 "ppapi/proxy/truetype_font_singleton_resource.h"
#include <stddef.h>
#include "base/bind.h"
#include "ppapi/proxy/ppapi_messages.h"
#includ... | null | null | null | null | 41,366 |
38,470 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,470 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/network/mime/mime_type_registry.h"
#include "base/files/file_path.h"
#include "base/strings/string_util.h"
... | null | null | null | null | 35,333 |
56,275 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 56,275 | 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_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
#include <map>
#include <memory... | null | null | null | null | 53,138 |
19,222 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,222 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/consent_auditor/consent_auditor.h"
#include <memory>
#include "base/metrics/histogram_macros.h"
#include "base/values.h"
#include "... | null | null | null | null | 16,085 |
9,841 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,841 | 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 "chromecast/media/base/video_plane_controller.h"
#include <stddef.h>
#include <stdint.h>
#include <vector>
#include "base/bind.h"
#include "ba... | null | null | null | null | 6,704 |
41,647 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,647 | 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 OVERRIDDEN_METHODS_H_
#define OVERRIDDEN_METHODS_H_
// Should warn about overriding of methods.
class BaseClass {
public:
virtual ~BaseCla... | null | null | null | null | 38,510 |
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.