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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,165 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,733 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Wacom PenPartner USB tablet emulation.
*
* Copyright (c) 2006 Openedhand Ltd.
* Author: Andrzej Zaborowski <balrog@zabor.org>
*
* Based on hw/usb-hid.c:
* Copyright (c) 2005 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated ... | null | null | null | null | 122,857 |
31,117 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,112 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) Maxime Coquelin 2015
* Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>
* License terms: GNU General Public License (GPL), version 2
*/
#include <linux/init.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "pinctrl-stm32.h"
static const struct stm32_desc_pin stm32f429_p... | null | null | null | null | 104,459 |
24,744 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,739 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use... | null | null | null | null | 98,086 |
25,815 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,810 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,157 |
28,139 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,134 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 Texas Instruments Inc
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOU... | null | null | null | null | 101,481 |
1,763 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 264,331 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Rocker switch hardware register and descriptor definitions.
*
* Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com>
* Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
*
*/
#ifndef ROCKER_HW_H
#define ROCKER_HW_H
#define __le16 uint16_t
#define __le32 uint32_t
#define __le64 uint64_t
/*
* Return codes
*... | null | null | null | null | 122,455 |
24,501 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,496 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/pagemap.h>
#include <linux/slab.h>
#include "nouveau_drv.h"
#include "nouveau_ttm.h"
struct nouveau_sgdma_be {
/* this has to be the first field so populate/unpopulated in
* nouve_bo.c works properly, otherwise have to move them here
*/
struct ttm_dma_tt ttm;
struct nvkm_mem *node;
};
static v... | null | null | null | null | 97,843 |
41,778 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,778 | 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 "class_requires_finalization_field.h"
namespace blink {
void NeedsFinalizer::Trace(Visitor* visitor)
{
visitor->Trace(m_as);
A::Trace(v... | null | null | null | null | 38,641 |
7,273 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,268 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* mmconfig.c - Low-level direct PCI config space access via MMCONFIG
*
* This is an 64bit optimized version that always keeps the full mmconfig
* space mapped. This allows lockless config space operation.
*/
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/bitmap.h>
#inclu... | null | null | null | null | 80,615 |
33,173 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,168 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* I2C driver for PKUnity-v3 SoC
* 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 License version 2 a... | null | null | null | null | 106,515 |
49,216 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,216 | 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/gfx/font_list.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include ... | null | null | null | null | 46,079 |
16,785 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,780 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/sh/mm/cache-j2.c
*
* Copyright (C) 2015-2016 Smart Energy Instruments, Inc.
*
* Released under the terms of the GNU GPL v2.0.
*/
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/cpumask.h>
#include <asm/cache.h>
#include <asm/addrspace.h>
#include <asm/processor.h>
#include <asm/cacheflus... | null | null | null | null | 90,127 |
2,656 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,713 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2009 Mans Rullgard <mans@mansr.com>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | null | null | null | null | 71,768 |
61,580 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,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_PLUGINS_PLUGIN_METADATA_H_
#define CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_
#include <map>
#include <memory>
#include "base/... | null | null | null | null | 58,443 |
28,985 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,980 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* drivers/hwmon/wm831x-hwmon.c - Wolfson Microelectronics WM831x PMIC
* hardware monitoring features.
*
* Copyright (C) 2009 Wolfson Microelectronics plc
*
* 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 | 102,327 |
20,547 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,547 | 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.
// Fuzzer for content/renderer
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "content/test/fuzzer/fuzzer_support.h"
namespace cont... | null | null | null | null | 17,410 |
36,137 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,137 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* (C) 2000 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
* reserved.
* Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
*
* This... | null | null | null | null | 33,000 |
31,450 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,450 | 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 | 28,313 |
64,085 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,085 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
#define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
#include <memory>... | null | null | null | null | 60,948 |
208 | null | train_val | b09a65ece69306a70044ac99ca6928eda58d7c79 | 270,515 | tcpdump | 0 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-14 11:59:38-07:00 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions
* retain the above copyright notice and this ... | null | null | null | null | 124,123 |
22,517 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,512 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/char/ttyprintk.c
*
* Copyright (C) 2010 Samo Pogacnik
*
* This program is free software; you can redistribute it and/or modify
* it under the smems of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*/
/*
* This pseudo device allow... | null | null | null | null | 95,859 |
65,636 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,636 | 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/ui/search/instant_uitest_base.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chrome_notification_t... | null | null | null | null | 62,499 |
16,911 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,911 | 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_VIZ_SERVICE_DISPLAY_OVERLAY_STRATEGY_UNDERLAY_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_OVERLAY_STRATEGY_UNDERLAY_H_
#include "base/ma... | null | null | null | null | 13,774 |
1,121 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,508 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2006-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,953 |
3,718 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,718 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_
#define IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_
#import <Foundation/Foundation.h>
#include "base/macros.h"
#in... | null | null | null | null | 581 |
20,634 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,629 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
* Copyright 2007 Nuova Systems, Inc. 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... | null | null | null | null | 93,976 |
67,657 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,657 | 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 IPC_IPC_MESSAGE_H_
#define IPC_IPC_MESSAGE_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include "base/gtest_prod_util.h"
#... | null | null | null | null | 64,520 |
58,946 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,946 | 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 <map>
#include <utility>
#include "base/values.h"
#include "chrome/browser/extensions/active_tab_permission_granter.h"
#inc... | null | null | null | null | 55,809 |
15,450 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,450 | 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.
// Get basic type definitions.
#define IPC_MESSAGE_IMPL
#include "components/network_hints/common/network_hints_message_generator.h"
// Generate construc... | null | null | null | null | 12,313 |
11,276 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,271 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __UM_BUGS_H
#define __UM_BUGS_H
void check_bugs(void);
#endif
| null | null | null | null | 84,618 |
44,692 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,692 | 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 PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_
#define PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_
#include <string>
#include <vector>
#include "build/build_config... | null | null | null | null | 41,555 |
13,289 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,284 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_ALPHA_BITSPERLONG_H
#define __ASM_ALPHA_BITSPERLONG_H
#define __BITS_PER_LONG 64
#include <asm-generic/bitsperlong.h>
#endif /* __ASM_ALPHA_BITSPERLONG_H */
| null | null | null | null | 86,631 |
27,895 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,890 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | null | null | null | null | 101,237 |
40,980 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,980 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | null | null | null | null | 37,843 |
57,890 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,890 | 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_LOCK_SCREEN_APPS_FAKE_LOCK_SCREEN_PROFILE_CREATOR_H_
#define CHROME_BROWSER_CHROMEOS_LOCK_SCREEN_APPS_FAKE_LOCK_SCREEN_PRO... | null | null | null | null | 54,753 |
33,314 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,314 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2007, 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2014 Samsung Electronics. All rights reserved.
*
* This librar... | null | null | null | null | 30,177 |
32,841 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,836 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TI LP8788 MFD - ADC driver
*
* Copyright 2012 Texas Instruments
*
* Author: Milo(Woogyom) Kim <milo.kim@ti.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.
*/
#in... | null | null | null | null | 106,183 |
9,851 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,851 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_MEDIA_CMA_TEST_FRAME_SEGMENTER_FOR_TEST_H_
#define CHROMECAST_MEDIA_CMA_TEST_FRAME_SEGMENTER_FOR_TEST_H_
#include <stddef.h>
#include ... | null | null | null | null | 6,714 |
15 | 22 | train_val | 28a6ed9f9a36b9c517e4a8a429baf4dd382fc5d5?w=1 | 258,970 | php-src | 1 | https://github.com/php/php-src | null | SPL_METHOD(SplDoublyLinkedList, offsetSet)
{
zval *zindex, *value;
spl_dllist_object *intern;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &zindex, &value) == FAILURE) {
return;
}
intern = Z_SPLDLLIST_P(getThis());
if (Z_TYPE_P(zindex) == IS_NULL) {
/* $obj[] = ... */
spl_ptr_llist_push(inte... | CVE-2016-3132 | CWE-415 | https://github.com/php/php-src/commit/28a6ed9f9a36b9c517e4a8a429baf4dd382fc5d5?w=1 | Low | 4,173 |
12,251 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,251 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_CERTIFICATE_TRANSPARENCY_STH_OBSERVER_H_
#define COMPONENTS_CERTIFICATE_TRANSPARENCY_STH_OBSERVER_H_
#include <set>
namespace net {
n... | null | null | null | null | 9,114 |
7,827 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,827 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/cert/sct_status_flags.h"
namespace net {
namespace ct {
bool IsValidSCTStatus(uint32_t status) {
switch (status) {
case net::ct::SC... | null | null | null | null | 4,690 |
48,987 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,987 | 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 UI_GL_GL_SURFACE_STUB_H_
#define UI_GL_GL_SURFACE_STUB_H_
#include "ui/gl/gl_export.h"
#include "ui/gl/gl_surface.h"
namespace gl {
// A GL... | null | null | null | null | 45,850 |
20,699 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,694 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2003 - 2009 NetXen, Inc.
* Copyright (C) 2009 - QLogic Corporation.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the ... | null | null | null | null | 94,041 |
24,719 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,719 | 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 EXTENSIONS_SHELL_BROWSER_FEEDBACK_SYSTEM_LOGS_SHELL_SYSTEM_LOGS_FETCHER_H_
#define EXTENSIONS_SHELL_BROWSER_FEEDBACK_SYSTEM_LOGS_SHELL_SYSTEM_LOGS... | null | null | null | null | 21,582 |
16,884 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,879 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Shared SH3 Setup code
*
* Copyright (C) 2008 Magnus Damm
*
* 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.
*/
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/io.h>
/*... | null | null | null | null | 90,226 |
8,321 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 8,321 | 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_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_CONFIG_H_
#define NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_CONFIG_H_
#include <string>
#i... | null | null | null | null | 5,184 |
11,975 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,970 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* udbg serial input/output routines for the Marvell MV64x60 (Discovery).
*
* Author: Dale Farnsworth <dale@farnsworth.org>
*
* 2007 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of an... | null | null | null | null | 85,317 |
34,926 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,926 | 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 | 31,789 |
10,428 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,423 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2004-2007, 2010-2015 Freescale Semiconductor, Inc.
* Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either vers... | null | null | null | null | 83,770 |
10,911 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,911 | 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 DBUS_STRING_UTIL_H_
#define DBUS_STRING_UTIL_H_
#include <string>
#include "dbus/dbus_export.h"
namespace dbus {
// Returns true if the sp... | null | null | null | null | 7,774 |
53,943 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,943 | 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 "android_webview/browser/net/aw_network_change_notifier_factory.h"
#include "android_webview/browser/net/aw_network_change_notifier.h"
namespac... | null | null | null | null | 50,806 |
17,738 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 182,733 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Based on arch/arm/kernel/armksyms.c
*
* Copyright (C) 2000 Russell King
* Copyright (C) 2012 ARM Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program ... | null | null | null | null | 91,080 |
5,087 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,082 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* ALSA driver for ICEnsemble ICE1712 (Envy24)
*
* Lowlevel functions for Hoontech STDSP24
*
* Copyright (c) 2000 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 Fr... | null | null | null | null | 78,429 |
51,611 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,611 | 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 "ui/accessibility/ax_role_properties.h"
#include "build/build_config.h"
namespace ui {
namespace {
#if defined(OS_WIN)
static bool kExposeLayou... | null | null | null | null | 48,474 |
848 | 21,38 | train_val | 45f6fad84cc305103b28d73482b344d7f5b76f39 | 165,843 | linux | 1 | https://github.com/torvalds/linux | 2015-12-02 23:37:16-05:00 | static int dccp_v6_send_response(const struct sock *sk, struct request_sock *req)
{
struct inet_request_sock *ireq = inet_rsk(req);
struct ipv6_pinfo *np = inet6_sk(sk);
struct sk_buff *skb;
struct in6_addr *final_p, final;
struct flowi6 fl6;
int err = -1;
struct dst_entry *dst;
memset(&fl6, 0, sizeof(fl6));
fl6.flowi... | CVE-2016-3841 | CWE-416 | https://github.com/torvalds/linux/commit/45f6fad84cc305103b28d73482b344d7f5b76f39 | Low | 3,737 |
62,786 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,786 | 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 "chrome/browser/ui/views/conflicting_module_view_win.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#i... | null | null | null | null | 59,649 |
38,870 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,865 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Functions related to generic helpers functions
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/scatterlist.h>
#include "blk.h"
static struct bio *next_bio(struct bio *bio, unsigned int nr_pages,
gfp_t gfp)
{
struct bio *new = bio_alloc(... | null | null | null | null | 112,212 |
66,299 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,299 | 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_MEDIA_ROUTER_PRESENTATION_PRESENTATION_MEDIA_SINKS_OBSERVER_H_
#define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_PRESENTATION_MEDIA_... | null | null | null | null | 63,162 |
8,615 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,610 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_SCORE_USER_H
#define _ASM_SCORE_USER_H
struct user_regs_struct {
unsigned long regs[32];
unsigned long cel;
unsigned long ceh;
unsigned long sr0; /* cnt */
unsigned long sr1; /* lcr */
unsigned long sr2; /* scr */
unsigned long cp0_epc;
unsigned long cp0_ema;
unsigned long cp0_psr;
unsigned l... | null | null | null | null | 81,957 |
59,913 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,913 | 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 "chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h"
#include <string>
#include "base/bind.h"
#include "base/command_line.h"
... | null | null | null | null | 56,776 |
3,708 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,703 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Inode operations for Coda filesystem
* Original version: (C) 1996 P. Braam and M. Callahan
* Rewritten for Linux 2.1. (C) 1997 Carnegie Mellon University
*
* Carnegie Mellon encourages users to contribute improvements to
* the Coda project. Contact Peter Braam (coda@cs.cmu.edu).
*/
#include <linux/types.h... | null | null | null | null | 77,050 |
58,777 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,777 | 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/extensions/global_shortcut_listener_x11.h"
#include <stddef.h>
#include "base/macros.h"
#include "content/public/browser/browse... | null | null | null | null | 55,640 |
28,219 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,214 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Greybus Bridged-Phy Bus driver
*
* Copyright 2016 Google Inc.
*
* Released under the GPLv2 only.
*/
#ifndef __GBPHY_H
#define __GBPHY_H
struct gbphy_device {
u32 id;
struct greybus_descriptor_cport *cport_desc;
struct gb_bundle *bundle;
struct list_head list;
struct device dev;
};
#define to_gbphy_dev... | null | null | null | null | 101,561 |
6,151 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,151 | 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 CHROMEOS_COMPONENTS_TETHER_FAKE_CONNECTION_PRESERVER_H_
#define CHROMEOS_COMPONENTS_TETHER_FAKE_CONNECTION_PRESERVER_H_
#include <string>
#inclu... | null | null | null | null | 3,014 |
18,508 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,503 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
* QLOGIC LINUX SOFTWARE
*
* QLogic QLA1280 (Ultra2) and QLA12160 (Ultra3) SCSI driver
* Copyright (C) 2000 Qlogic Corporation (www.qlogic.com)
* Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc.
* Copyright (C)... | null | null | null | null | 91,850 |
1,083 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,140 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2014 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or... | null | null | null | null | 70,195 |
9,280 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,275 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_MACH_MMP2_H
#define __ASM_MACH_MMP2_H
#include <linux/platform_data/pxa_sdhci.h>
extern void mmp2_timer_init(void);
extern void __init mmp2_init_icu(void);
extern void __init mmp2_init_irq(void);
extern void mmp2_clear_pmic_int(void);
#include <linux/i2c.h>
#include <linux/i2c/pxa-i2c.h>
#include <linu... | null | null | null | null | 82,622 |
1,862 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,817 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | #ifndef READDIR_H
#define READDIR_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Structures and types used to implement opendir/readdir/closedir
* on Windows 95/NT.
*/
#include <config.w32.h>
#include <stdlib.h>
#include <sys/types.h>
#define php_readdir_r readdir_r
/* struct dirent - same as Unix */
struct di... | null | null | null | null | 120,738 |
39,239 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,239 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_INSTALLEDAPP_RELATED_APPLICATION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_INSTALLEDAPP_RELATED_APPLICATION... | null | null | null | null | 36,102 |
5,029 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,024 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Manuel Jander.
*
* Based on the work of:
* Vojtech Pavlik
* Raymond Ingles
*
* 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 | 78,371 |
2,312 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,307 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* FDDI-type device handling.
*
* Version: @(#)fddi.c 1.0.0 08/12/96
*
* Authors: Lawrence V. Stefani, <stefan... | null | null | null | null | 75,655 |
13,801 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,796 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _H8300_IRQFLAGS_H
#define _H8300_IRQFLAGS_H
#ifdef CONFIG_CPU_H8300H
typedef unsigned char h8300flags;
static inline h8300flags arch_local_save_flags(void)
{
h8300flags flags;
__asm__ volatile ("stc ccr,%w0" : "=r" (flags));
return flags;
}
static inline void arch_local_irq_disable(void)
{
__asm__ volat... | null | null | null | null | 87,143 |
11,261 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,261 | 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 GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_
#define GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_
#include <memory>
#include "base/memory/re... | null | null | null | null | 8,124 |
53,053 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,053 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BASE_MEDIA_UTIL_H_
#define MEDIA_BASE_MEDIA_UTIL_H_
#include <stdint.h>
#include <vector>
#include "media/base/encryption_scheme.h"
#inclu... | null | null | null | null | 49,916 |
18,921 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,921 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SERVICES_LEVELDB_LEVELDB_MOJO_PROXY_H_
#define COMPONENTS_SERVICES_LEVELDB_LEVELDB_MOJO_PROXY_H_
#include <map>
#include <memory>
#inc... | null | null | null | null | 15,784 |
24,233 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,233 | 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 <stddef.h>
#include "base/callback.h"
#include "base/strings/string16.h"
#include "build/build_config.h"
#include "content/browser/frame_host/re... | null | null | null | null | 21,096 |
2,115 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,172 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Floating point AAN IDCT
* Copyright (c) 2008 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ver... | null | null | null | null | 71,227 |
71,590 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,590 | 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 SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_
#define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_
#include "services/... | null | null | null | null | 68,453 |
21,640 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,635 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | null | null | null | null | 94,982 |
43,979 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,979 | 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 PPAPI_TESTS_TEST_MOUSE_LOCK_H_
#define PPAPI_TESTS_TEST_MOUSE_LOCK_H_
#include <string>
#include "ppapi/cpp/mouse_lock.h"
#include "ppapi/cp... | null | null | null | null | 40,842 |
18,270 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,265 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2006, 2007, 2008, 2009 QLogic Corporation. All rights reserved.
* Copyright (c) 2005, 2006 PathScale, 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)... | null | null | null | null | 91,612 |
40,492 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,492 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 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,355 |
53,827 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,827 | 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 ANDROID_WEBVIEW_BROWSER_AW_PICTURE_H_
#define ANDROID_WEBVIEW_BROWSER_AW_PICTURE_H_
#include <memory>
#include "base/android/jni_weak_ref.h"
#in... | null | null | null | null | 50,690 |
9,608 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,608 | 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 CHROMECAST_NET_FAKE_CONNECTIVITY_CHECKER_H_
#define CHROMECAST_NET_FAKE_CONNECTIVITY_CHECKER_H_
#include "base/macros.h"
#include "chromecast/net... | null | null | null | null | 6,471 |
40,682 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,677 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2008 IBM Corporation
* Author: Mimi Zohar <zohar@us.ibm.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2 of the License.
*/
#ifndef _LINUX_IMA_H
#defin... | null | null | null | null | 114,024 |
43,451 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,446 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _UAPI_LINUX_PERSONALITY_H
#define _UAPI_LINUX_PERSONALITY_H
/*
* Flags for bug emulation.
*
* These occupy the top three bytes.
*/
enum {
UNAME26 = 0x0020000,
ADDR_NO_RANDOMIZE = 0x0040000, /* disable randomization of VA space */
FDPIC_FUNCPTRS = 0x0080000, /* userspace function ptrs poi... | null | null | null | null | 116,793 |
65,672 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,672 | 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_UI_PASSWORDS_PASSWORD_ACCESS_AUTHENTICATOR_H_
#define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_ACCESS_AUTHENTICATOR_H_
#include <memor... | null | null | null | null | 62,535 |
33,778 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,773 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* videobuf2-memops.c - generic memory handling routines for videobuf2
*
* Copyright (C) 2010 Samsung Electronics
*
* Author: Pawel Osciak <pawel@osciak.com>
* Marek Szyprowski <m.szyprowski@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | null | null | null | null | 107,120 |
69,294 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,294 | 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 LIBRARIES_NACL_IO_DEVFS_JSPIPE_NODE_H_
#define LIBRARIES_NACL_IO_DEVFS_JSPIPE_NODE_H_
#include <ppapi/c/pp_var.h>
#include <string>
#include "na... | null | null | null | null | 66,157 |
35,274 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,274 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 32,137 |
10,628 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,628 | 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 "mojo/public/cpp/base/process_id_mojom_traits.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "mojo/public/mojom/base/process_id... | null | null | null | null | 7,491 |
14,323 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,323 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_NTP_SNIPPETS_MOCK_CONTENT_SUGGESTIONS_PROVIDER_OBSERVER_H_
#define COMPONENTS_NTP_SNIPPETS_MOCK_CONTENT_SUGGESTIONS_PROVIDER_OBSERVER_H... | null | null | null | null | 11,186 |
38,407 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,402 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #define _GNU_SOURCE
#include <sched.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/wait.h>
#include <sys/vfs.h>
#include <sys/statvfs.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <grp.h>
#include <stdbool.h>
#include <st... | null | null | null | null | 111,749 |
27,804 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,804 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2017 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,667 |
37,022 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,022 | 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/wtf/text/string_view.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "t... | null | null | null | null | 33,885 |
44,130 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,130 | 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 "ppapi/cpp/vpn_provider.h"
#include "ppapi/c/ppb_vpn_provider.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/instance_handle.h"
#include... | null | null | null | null | 40,993 |
20,050 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,050 | 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_COMMON_MEDIA_STREAM_REQUEST_H_
#define CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_
#include <stddef.h>
#include <map>
#incl... | null | null | null | null | 16,913 |
68,265 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,265 | 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 "remoting/host/mouse_cursor_monitor_proxy.h"
#include <utility>
#include "base/bind.h"
#include "base/macros.h"
#include "base/message_loop/mes... | null | null | null | null | 65,128 |
37,160 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,155 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2013 Broadcom Corporation
* Copyright 2013 Linaro Limited
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT A... | null | null | null | null | 110,502 |
29,809 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,809 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2011-09-11
**
** 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,672 |
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.