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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6,034 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,034 | 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 "chromeos/components/tether/tether_connector_impl.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_lo... | null | null | null | null | 2,897 |
45,066 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,066 | 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 <stdint.h>
#include "ppapi/c/dev/ppb_audio_input_dev.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include ... | null | null | null | null | 41,929 |
59,666 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,666 | 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.
// Constants used for the Page Actions API.
#ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_API_CONSTANTS_H_
#define CH... | null | null | null | null | 56,529 |
3,458 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,458 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_BACKEND_H_
#define IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_BACKEND_H_
#include <map>
#include <memory>
#include <st... | null | null | null | null | 321 |
68,016 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,016 | 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 <memory>
#include <utility>
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/numerics/math_const... | null | null | null | null | 64,879 |
48,680 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,680 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_IMPL_TEST_API_H_
#define UI_VIEWS_ANIMATION_TEST_INK_DROP_IMPL_TEST_API_H_
#include <memory>
#include <vector>
... | null | null | null | null | 45,543 |
52,137 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,137 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_AUDIO_AUDIO_DEVICE_INFO_ACCESSOR_FOR_TESTS_H_
#define MEDIA_AUDIO_AUDIO_DEVICE_INFO_ACCESSOR_FOR_TESTS_H_
#include <string>
#include "medi... | null | null | null | null | 49,000 |
13,858 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 13,858 | 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 "components/offline_pages/core/offline_page_test_archiver.h"
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/location.h"... | null | null | null | null | 10,721 |
51,220 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,220 | 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/events/test/events_test_utils_x11.h"
#include <stddef.h>
#include "base/logging.h"
#include "base/macros.h"
#include "ui/events/devices/x11... | null | null | null | null | 48,083 |
4,927 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,927 | 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 IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_ACTION_CELL_H_
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_... | null | null | null | null | 1,790 |
12,059 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,059 | 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_BOOKMARKS_BROWSER_TITLED_URL_NODE_H_
#define COMPONENTS_BOOKMARKS_BROWSER_TITLED_URL_NODE_H_
#include "url/gurl.h"
namespace bookmark... | null | null | null | null | 8,922 |
28,918 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,913 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic driver for the OLPC Embedded Controller.
*
* Author: Andres Salomon <dilinger@queued.net>
*
* Copyright (C) 2011-2012 One Laptop per Child Foundation.
*
* Licensed under the GPL v2 or later.
*/
#include <linux/completion.h>
#include <linux/debugfs.h>
#include <linux/spinlock.h>
#include <linux/mute... | null | null | null | null | 102,260 |
1,045 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,432 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,877 |
39,894 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,889 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* AppArmor security module
*
* This file contains AppArmor ipc mediation
*
* Copyright (C) 1998-2008 Novell/SUSE
* Copyright 2009-2010 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free So... | null | null | null | null | 113,236 |
23,827 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,827 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_INTERNALS_UI_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_INTERNALS_UI_H_
#include <stdint.h>
#include <list>
... | null | null | null | null | 20,690 |
19,585 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,585 | 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/safe_browsing/db/v4_get_hash_protocol_manager.h"
#include <utility>
#include "base/base64url.h"
#include "base/macros.h"
#include "... | null | null | null | null | 16,448 |
40,608 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 205,603 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2006 PathScale, Inc. All Rights Reserved.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
... | null | null | null | null | 113,950 |
19,123 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,118 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2017 Broadcom. All Rights Reserved. The term *
* “Broadcom” refers to Broadcom Limited and... | null | null | null | null | 92,465 |
8,775 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,770 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Samsung's S3C64XX generic DMA support using amba-pl08x driver.
*
* Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
... | null | null | null | null | 82,117 |
5,176 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,171 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef WM8766_H_INCLUDED
#define WM8766_H_INCLUDED
#define WM8766_LDA1 0x00
#define WM8766_RDA1 0x01
#define WM8766_DAC_CTRL 0x02
#define WM8766_INT_CTRL 0x03
#define WM8766_LDA2 0x04
#define WM8766_RDA2 0x05
#define WM8766_LDA3 0x06
#define WM8766_RDA3 0x07
#define WM8766_MASTDA 0x08
#define WM8766_DAC_CTRL... | null | null | null | null | 78,518 |
19,804 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,799 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | null | null | null | null | 93,146 |
43,361 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,356 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright by Hannu Savolainen 1993-1997
*
* 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 and the following ... | null | null | null | null | 116,703 |
17,212 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,212 | 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.
#include "components/viz/common/quads/compositor_frame.h"
#include "base/containers/adapters.h"
namespace viz {
CompositorFrame::CompositorFrame() = de... | null | null | null | null | 14,075 |
828 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,215 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 118,660 |
47,301 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,301 | 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 "cc/input/scrollbar_animation_controller.h"
#include "cc/layers/solid_color_scrollbar_layer_impl.h"
#include "cc/test/fake_impl_task_runner_prov... | null | null | null | null | 44,164 |
26,936 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,931 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2008
* Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
*
* Copyright (C) 2005-2007 Freescale Semiconductor, 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 version 2 as
* p... | null | null | null | null | 100,278 |
13,597 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,592 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _M68KNOMMU_CACHEFLUSH_H
#define _M68KNOMMU_CACHEFLUSH_H
/*
* (C) Copyright 2000-2010, Greg Ungerer <gerg@snapgear.com>
*/
#include <linux/mm.h>
#include <asm/mcfsim.h>
#define flush_cache_all() __flush_cache_all()
#define flush_cache_mm(mm) do { } while (0)
#define flush_cache_dup_mm(mm) do { } while ... | null | null | null | null | 86,939 |
177 | null | train_val | b09a65ece69306a70044ac99ca6928eda58d7c79 | 270,484 | tcpdump | 0 | https://github.com/the-tcpdump-group/tcpdump | 2017-09-14 11:59:38-07:00 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000
* 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 ab... | null | null | null | null | 124,092 |
41,915 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,915 | 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 TOOLS_IPC_FUZZER_REPLAY_REPLAY_PROCESS_H_
#define TOOLS_IPC_FUZZER_REPLAY_REPLAY_PROCESS_H_
#include <stddef.h>
#include <memory>
#include "bas... | null | null | null | null | 38,778 |
65,767 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,767 | 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/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h"
#include "base/logging.h"
#include "base/macros.h"
class TestToolbarActi... | null | null | null | null | 62,630 |
36,170 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,165 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2007-2009 ST-Ericsson AB
* License terms: GNU General Public License (GPL) version 2
* RTC clock driver for the AB3100 Analog Baseband Chip
* Author: Linus Walleij <linus.walleij@stericsson.com>
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platfo... | null | null | null | null | 109,512 |
37,208 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,203 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the h... | null | null | null | null | 110,550 |
58,161 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,161 | 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_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
#define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_IO_DATA_H_
#... | null | null | null | null | 55,024 |
24,165 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 189,160 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Hisilicon Kirin SoCs drm master driver
*
* Copyright (c) 2016 Linaro Limited.
* Copyright (c) 2014-2016 Hisilicon Limited.
*
* Author:
* Xinliang Liu <z.liuxinliang@hisilicon.com>
* Xinliang Liu <xinliang.liu@linaro.org>
* Xinwei Kong <kong.kongxinwei@hisilicon.com>
*
* This program is free software; yo... | null | null | null | null | 97,507 |
16,780 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,780 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/translate/core/browser/translate_url_util.h"
#include "components/translate/core/browser/translate_download_manager.h"
#include "goo... | null | null | null | null | 13,643 |
62,744 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,744 | 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 <memory>
#include <string>
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chooser_controller... | null | null | null | null | 59,607 |
17,252 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,252 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_METADATA_H_
#define COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_METADATA_H_
#include "components/viz/common... | null | null | null | null | 14,115 |
35,113 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,108 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* upd6408x - NEC Electronics 3-Dimensional Y/C separation driver
*
* 2003 by T.Adachi (tadachi@tadachi-net.com)
* 2003 by Takeru KOMORIYA <komoriya@paken.org>
* 2006 by Hans Verkuil <hverkuil@xs4all.nl>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU G... | null | null | null | null | 108,455 |
22,487 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 187,482 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* zcrypt 2.1.0
*
* Copyright IBM Corp. 2001, 2012
* Author(s): Robert Burroughs
* Eric Rossman (edrossma@us.ibm.com)
*
* Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com)
* Major cleanup & driver split: Martin Schwidefsky <schwidefsky@de.ibm.com>
* Ralph Wuerthner <rwuerthn... | null | null | null | null | 95,829 |
38,289 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,289 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved.
* Copyright (C) 2012 Research In Motion Limited. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistr... | null | null | null | null | 35,152 |
34,050 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,045 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for the NXP SAA7164 PCIe bridge
*
* Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the L... | null | null | null | null | 107,392 |
41,124 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,119 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_TRACE_H
#define _LINUX_TRACE_H
#ifdef CONFIG_TRACING
/*
* The trace export - an export of Ftrace output. The trace_export
* can process traces and export them to a registered destination as
* an addition to the current only output of Ftrace - i.e. ring buffer.
*
* If you want traces to be sent to s... | null | null | null | null | 114,466 |
4,736 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,736 | 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 IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_INTERFACE_H_
#define IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_INTERFACE_H_
#import <Foun... | null | null | null | null | 1,599 |
20,603 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,598 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Applied Micro X-Gene SoC Ethernet Driver
*
* Copyright (c) 2014, Applied Micro Circuits Corporation
* Authors: Iyappan Subramanian <isubramanian@apm.com>
* Keyur Chudgar <kchudgar@apm.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | null | null | null | null | 93,945 |
64,937 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,937 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/app_list/arc/arc_app_icon_loader.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/arc... | null | null | null | null | 61,800 |
25,015 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,010 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | null | null | null | null | 98,357 |
63 | 62,67 | train_val | e95c9a493a5a8d6f969e86c9f19f80ffe6587e19 | 262,631 | qemu | 1 | https://github.com/bonzini/qemu | 2016-10-17 14:13:58+02:00 | static void v9fs_read(void *opaque)
{
int32_t fid;
uint64_t off;
ssize_t err = 0;
int32_t count = 0;
size_t offset = 7;
uint32_t max_count;
V9fsFidState *fidp;
V9fsPDU *pdu = opaque;
V9fsState *s = pdu->s;
err = pdu_unmarshal(pdu, offset, "dqd", &fid, &off, &max_count);
if (err < 0) {
goto out_nofid;
}
trace_v9fs_read... | CVE-2016-8577 | CWE-399 | https://git.qemu.org/?p=qemu.git;a=commit;h=e95c9a493a5a8d6f969e86c9f19f80ffe6587e19 | Medium | 4,304 |
25,655 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,655 | 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 "extensions/browser/value_store/value_store_change.h"
#include <utility>
#include "base/json/json_writer.h"
#include "base/logging.h"
#include ... | null | null | null | null | 22,518 |
60 | 2,3 | train_val | ea3d1d84be3d6f97bf50e76511c9e26af6895533 | 60 | Chrome | 1 | https://github.com/chromium/chromium | 2010-01-29 22:35:33+00:00 | bool WebPluginImpl::InitiateHTTPRequest(unsigned long resource_id,
WebPluginResourceClient* client,
const char* method, const char* buf,
int buf_len,
const GURL& url,
const char* range_info,
Referrer referrer_flag) {
if (!client) {
NOTREACH... | null | null | https://github.com/chromium/chromium/commit/ea3d1d84be3d6f97bf50e76511c9e26af6895533 | null | 60 |
30,532 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 195,527 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Driver for EETI eGalax Multiple Touch Controller
*
* Copyright (C) 2011 Freescale Semiconductor, Inc.
*
* based on max11801_ts.c
*
* 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 Fou... | null | null | null | null | 103,874 |
34,524 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,524 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Google 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 Software Foundation; either
* version 2 of the License, or (at your option) any later version.... | null | null | null | null | 31,387 |
25,265 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,265 | 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 "extensions/common/features/feature_provider.h"
#include <algorithm>
#include <set>
#include <string>
#include <utility>
#include "base/memory/... | null | null | null | null | 22,128 |
65,067 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,067 | 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_EXTENSIONS_APP_LAUNCH_PARAMS_H_
#define CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_
#include <string>
#include "base... | null | null | null | null | 61,930 |
1,787 | 32,33,34,35,36,37,38 | train_val | 7f3d85b096f66870a15b37c2f40b219b2e292693 | 1,787 | Chrome | 1 | https://github.com/chromium/chromium | 2015-12-01 00:50:29+00:00 | png_write_destroy(png_structp png_ptr)
{
#ifdef PNG_SETJMP_SUPPORTED
jmp_buf tmp_jmp; /* Save jump buffer */
#endif
png_error_ptr error_fn;
png_error_ptr warning_fn;
png_voidp error_ptr;
#ifdef PNG_USER_MEM_SUPPORTED
png_free_ptr free_fn;
#endif
png_debug(1, "in png_write_destroy");
/* Free any memory zlib uses */
de... | CVE-2015-8126 | CWE-119 | https://github.com/chromium/chromium/commit/7f3d85b096f66870a15b37c2f40b219b2e292693 | Low | 1,787 |
22,467 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,467 | 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 CONTENT_BROWSER_PERMISSIONS_PERMISSION_SERVICE_IMPL_H_
#define CONTENT_BROWSER_PERMISSIONS_PERMISSION_SERVICE_IMPL_H_
#include "base/callback.h"
... | null | null | null | null | 19,330 |
70,513 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,513 | 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 "device/fido/fido_ble_frames.h"
#include <algorithm>
#include <limits>
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#i... | null | null | null | null | 67,376 |
42,748 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,748 | 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 BASE_METRICS_SINGLE_SAMPLE_METRICS_H_
#define BASE_METRICS_SINGLE_SAMPLE_METRICS_H_
#include <string>
#include "base/base_export.h"
#include "ba... | null | null | null | null | 39,611 |
21,327 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,322 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2003 Aurelien Alleaume <slts@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License
*
* This program is distributed in the hope... | null | null | null | null | 94,669 |
55,769 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,769 | 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/font_family_cache.h"
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/test/base/testin... | null | null | null | null | 52,632 |
28,977 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,972 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* w83793.c - Linux kernel driver for hardware monitoring
* Copyright (C) 2006 Winbond Electronics Corp.
* Yuan Mu
* Rudolf Marek <r.marek@assembler.cz>
* Copyright (C) 2009-2010 Sven Anders <anders@anduras.de>, ANDURAS AG.
* Watchdog driver part
* (Based partially on fschmd driver,
* Copyrigh... | null | null | null | null | 102,319 |
5,589 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,589 | 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 CHROMEOS_CERT_LOADER_H_
#define CHROMEOS_CERT_LOADER_H_
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "ba... | null | null | null | null | 2,452 |
12,275 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,275 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_UPLOAD_LIST_TEXT_LOG_UPLOAD_LIST_H_
#define COMPONENTS_UPLOAD_LIST_TEXT_LOG_UPLOAD_LIST_H_
#include <vector>
#include "base/files/fil... | null | null | null | null | 9,138 |
25,621 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,616 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) STMicroelectronics SA 2014
* Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
* License terms: GNU General Public License (GPL), version 2
*/
#ifndef _STI_DRV_H_
#define _STI_DRV_H_
#include <drm/drmP.h>
struct sti_compositor;
struct sti_tvout;
/**
* STI drm priv... | null | null | null | null | 98,963 |
14,479 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,474 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* Autogenerated Changes here will be lost!
* generated by ./gen_sw.pl Wed Feb 14 09:27:48 2007 iop_sw.cfg
*/
#define regi_iop_version (regi_iop + 0)
#define regi_iop_fifo_in_extra (regi_iop + 64)
#define regi_iop_fifo_out_extra (regi_iop + 128)
#define regi_iop_trigger_grp0 (regi_iop + 192)
#define regi_iop_trigger... | null | null | null | null | 87,821 |
46,202 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,202 | 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 ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_
#define ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_
#include <memory>
#include "ash/ash_expo... | null | null | null | null | 43,065 |
41,683 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,683 | 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.
namespace blink {
void genThing();
class GenClass {
virtual void genMethod() {}
};
}
| null | null | null | null | 38,546 |
4,723 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,723 | 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_CHROME_BROWSER_UI_MAIN_CONTENT_MAIN_CONTENT_COORDINATOR_H_
#define IOS_CHROME_BROWSER_UI_MAIN_CONTENT_MAIN_CONTENT_COORDINATOR_H_
#import <UI... | null | null | null | null | 1,586 |
19,663 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,658 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* ======================================================================
*
* A PCMCIA ethernet driver for the 3com 3c589 card.
*
* Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net
*
* 3c589_cs.c 1.162 2001/10/13 00:08:50
*
* The network driver code is based on Donald Becker's 3c589 code:
*
... | null | null | null | null | 93,005 |
39,588 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,588 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_CACHESTORAGE_CACHE_STORAGE_ERROR_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_CACHESTORAGE_CACHE_STORAGE_ERROR... | null | null | null | null | 36,451 |
26,827 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,827 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2003, 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 condi... | null | null | null | null | 23,690 |
8,532 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,527 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <asm-generic/siginfo.h>
| null | null | null | null | 81,874 |
19,112 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,107 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2017 Broadcom. All Rights Reserved. The term *
* “Broadcom” refers to Broadcom Limited and... | null | null | null | null | 92,454 |
38,100 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,100 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/graphics/paint/paint_chunker.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
... | null | null | null | null | 34,963 |
11,501 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,501 | 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 GPU_IPC_SERVICE_GPU_WATCHDOG_THREAD_H_
#define GPU_IPC_SERVICE_GPU_WATCHDOG_THREAD_H_
#include "base/atomicops.h"
#include "base/macros.h"
#i... | null | null | null | null | 8,364 |
13,422 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,417 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* dma_timer.c -- Freescale ColdFire DMA Timer.
*
* Copyright (C) 2007, Benedikt Spranger <b.spranger@linutronix.de>
* Copyright (C) 2008. Sebastian Siewior, Linutronix
*
*/
#include <linux/clocksource.h>
#include <linux/io.h>
#include <asm/machdep.h>
#include <asm/coldfire.h>
#include <asm/mcfpit.h>
#include... | null | null | null | null | 86,764 |
61,366 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,366 | 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 <string>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include ... | null | null | null | null | 58,229 |
323 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,891 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* Alpha specific CPU ABI and functions for linux-user
*
* Copyright (c) 2007 Jocelyn Mayer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License,... | null | null | null | null | 121,015 |
29,212 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,207 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* SN Platform GRU Driver
*
* KERNEL SERVICES THAT USE THE GRU
*
* Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwa... | null | null | null | null | 102,554 |
26,449 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,449 | 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 "jingle/notifier/communicator/single_login_attempt.h"
#include <stdint.h>
#include <limits>
#include <string>
#include "base/logging.h"
#i... | null | null | null | null | 23,312 |
16,368 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,363 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* This file has definitions for the hub and snac interfaces.
*
* Copyright (C) 1992 - 1997, 1999, 2000 Silcon Graphics, Inc.
* Copyright ... | null | null | null | null | 89,710 |
23,634 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,629 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation;
* either version 2, or (at your option) any later version.
*
* ... | null | null | null | null | 96,976 |
6,631 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,626 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright IBM Corp. 2011
* Author(s): Jan Glauber <jang@linux.vnet.ibm.com>
*/
#include <linux/hugetlb.h>
#include <linux/mm.h>
#include <asm/cacheflush.h>
#include <asm/facility.h>
#include <asm/pgtable.h>
#include <asm/page.h>
static inline unsigned long sske_frame(unsigned long addr, unsigned char skey)
{
... | null | null | null | null | 79,973 |
9,296 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,291 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/arm/mach-mmp/flint.c
*
* Support for the Marvell Flint Development Platform.
*
* Copyright (C) 2009 Marvell International 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
* publishhed by the F... | null | null | null | null | 82,638 |
36,700 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,695 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
*
* Module Name: dsfield - Dispatcher field routines
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2017, Intel Corp.
* All rights reserved.
*
* Redistribution and use in ... | null | null | null | null | 110,042 |
20,612 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,607 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2015 - 2016 Amazon.com, Inc. or its affiliates.
*
* 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 t... | null | null | null | null | 93,954 |
1,074 | 24,25,26,27 | train_val | 146cc8a17a3b4996f6805ee5c080e7101277c410 | 166,069 | linux | 1 | https://github.com/torvalds/linux | 2017-01-10 16:42:26+01:00 | static int klsi_105_get_line_state(struct usb_serial_port *port,
unsigned long *line_state_p)
{
int rc;
u8 *status_buf;
__u16 status;
dev_info(&port->serial->dev->dev, "sending SIO Poll request\n");
status_buf = kmalloc(KLSI_STATUSBUF_LEN, GFP_KERNEL);
if (!status_buf)
return -ENOMEM;
status_buf[0] = 0xff;
status_bu... | CVE-2017-5549 | CWE-532 | https://github.com/torvalds/linux/commit/146cc8a17a3b4996f6805ee5c080e7101277c410 | Low | 3,963 |
2,456 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,451 | 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.
*
* This file implements the various access functions for the
* PROC file system. This is very similar to the I... | null | null | null | null | 75,799 |
65,195 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,195 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_DUPLICATE_DOWNLOAD_INFOBAR_H_
#define CHROME_BROWSER_UI_ANDROID_INFOBARS_DUPLICATE_DOWNLOAD_INFOBAR_H_
#includ... | null | null | null | null | 62,058 |
37,473 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,473 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2005, 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2006 Alexey Proskuryakov
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain t... | null | null | null | null | 34,336 |
3,409 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,409 | 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 STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_FACTORY_H_
#define STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_FACTORY_H_
#include <memory>
#include... | null | null | null | null | 272 |
27,274 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,269 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* comedi/drivers/cb_pcimdas.c
* Comedi driver for Computer Boards PCIM-DAS1602/16 and PCIe-DAS1602/16
*
* COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the term... | null | null | null | null | 100,616 |
31,260 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 31,260 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/messaging/blink_cloneable_message.h"
namespace blink {
BlinkCloneableMessage::BlinkCloneableMessage() = defaul... | null | null | null | null | 28,123 |
10,416 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,416 | 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 MOJO_PUBLIC_CPP_BINDINGS_ARRAY_TRAITS_H_
#define MOJO_PUBLIC_CPP_BINDINGS_ARRAY_TRAITS_H_
#include "mojo/public/cpp/bindings/lib/template_util.h"... | null | null | null | null | 7,279 |
42,382 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,377 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef LINUX_BCMA_H_
#define LINUX_BCMA_H_
#include <linux/pci.h>
#include <linux/mod_devicetable.h>
#include <linux/bcma/bcma_driver_arm_c9.h>
#include <linux/bcma/bcma_driver_chipcommon.h>
#include <linux/bcma/bcma_driver_pci.h>
#include <linux/bcma/bcma_driver_pcie2.h>
#include <linux/bcma/bcma_driver_mips.h>
#in... | null | null | null | null | 115,724 |
28,628 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,628 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | #include "rar.hpp"
RarVM::RarVM()
{
Mem=NULL;
}
RarVM::~RarVM()
{
delete[] Mem;
}
void RarVM::Init()
{
if (Mem==NULL)
Mem=new byte[VM_MEMSIZE+4];
}
void RarVM::Execute(VM_PreparedProgram *Prg)
{
memcpy(R,Prg->InitR,sizeof(Prg->InitR));
Prg->FilteredData=NULL;
if (Prg->Type!=VMSF_NONE)
{
boo... | null | null | null | null | 25,491 |
26,379 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 26,379 | 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 PRINTING_BACKEND_CUPS_DELETERS_H_
#define PRINTING_BACKEND_CUPS_DELETERS_H_
#include <cups/cups.h>
#include "base/macros.h"
namespace printing ... | null | null | null | null | 23,242 |
43,677 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,677 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/profiler/native_stack_sampler.h"
#include <dlfcn.h>
#include <libkern/OSByteOrder.h>
#include <libunwind.h>
#include <mach-o/compact_unwin... | null | null | null | null | 40,540 |
6,937 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,937 | 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 <cinttypes>
#include "base/format_macros.h"
#include "net/quic/platform/api/quic_ptr_util.h"
#include "net/quic/platform/api/quic_str_cat.h"... | null | null | null | null | 3,800 |
30,627 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,627 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_WEBKIT_PUBLIC_COMMON_ORIGIN_MANIFEST_ORIGIN_MANIFEST_H_
#define THIRD_PARTY_WEBKIT_PUBLIC_COMMON_ORIGIN_MANIFEST_ORIGIN_MANIFEST_H_
#... | null | null | null | null | 27,490 |
31,073 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,068 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Marvell Dove pinctrl driver based on mvebu pinctrl core
*
* Author: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... | null | null | null | null | 104,415 |
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.