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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
138 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,525 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | null | null | null | null | 117,970 |
61,285 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,285 | 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_SIGNIN_CHROME_SIGNIN_STATUS_METRICS_PROVIDER_DELEGATE_H_
#define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_STATUS_METRICS_PROVIDER_DELEGA... | null | null | null | null | 58,148 |
40,910 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,910 | 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,773 |
27,391 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,391 | 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.
// This is a stub. The preprocessor macros that are usually defined here are
// supplied by BUILD.gn instead.
| null | null | null | null | 24,254 |
41,483 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,483 | 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 "tools/gn/bundle_file_rule.h"
#include "tools/gn/output_file.h"
#include "tools/gn/settings.h"
#include "tools/gn/substitution_pattern.h"
#inclu... | null | null | null | null | 38,346 |
5,254 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,254 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_CARD_MULTILINE_ITEM_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_CARD_MULTILINE_ITEM_H_
#import <UIKit/UI... | null | null | null | null | 2,117 |
64,960 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,960 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/app_list/crostini/crostini_app_item.h"
#include "base/bind.h"
#include "chrome/browser/chromeos/crostini/crostini_manager.h"
... | null | null | null | null | 61,823 |
1,017 | 43 | train_val | ded89912156b1a47d940a0c954c43afbabd0c42c | 166,012 | linux | 1 | https://github.com/torvalds/linux | 2016-09-07 16:43:50+03:00 | brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_ap_settings *settings)
{
s32 ie_offset;
struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy);
struct brcmf_if *ifp = netdev_priv(ndev);
const struct brcmf_tlv *ssid_ie;
const struct brcmf_tlv *country_ie;
struct brcmf_ssid_le ssid_le... | CVE-2016-8658 | CWE-119 | https://github.com/torvalds/linux/commit/ded89912156b1a47d940a0c954c43afbabd0c42c | Low | 3,906 |
64,697 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,697 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
#define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_ITEM_APPLESCRIPT_H_
#im... | null | null | null | null | 61,560 |
18,665 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,660 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Serial Attached SCSI (SAS) Port class
*
* Copyright (C) 2005 Adaptec, Inc. All rights reserved.
* Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
*
* This file is licensed under GPLv2.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gene... | null | null | null | null | 92,007 |
42,410 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 207,405 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/include/asm-arm/hardware/amba_kmi.h
*
* Internal header file for AMBA KMI ports
*
* Copyright (C) 2000 Deep Blue Solutions Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Found... | null | null | null | null | 115,752 |
37,226 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,226 | 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_WEBKIT_SOURCE_PLATFORM_SCHEDULER_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_UTI... | null | null | null | null | 34,089 |
67,768 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,768 | 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 "remoting/ios/persistence/mock_keychain.h"
using ::testing::Return;
using ::testing::SaveArg;
using ::testing::_;
namespace remoting {
MockKey... | null | null | null | null | 64,631 |
933 | 6,11,15 | train_val | 9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 | 165,928 | linux | 1 | https://github.com/torvalds/linux | 2016-03-11 22:09:09-08:00 | void ion_free(struct ion_client *client, struct ion_handle *handle)
{
bool valid_handle;
BUG_ON(client != handle->client);
mutex_lock(&client->lock);
valid_handle = ion_handle_validate(client, handle);
if (!valid_handle) {
WARN(1, "%s: invalid handle passed to free.\n", __func__);
mutex_unlock(&client->lock);
ret... | CVE-2016-9120 | CWE-416 | https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 | Medium | 3,822 |
29,766 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,766 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2011 Jan 27
**
** 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,629 |
43,193 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,193 | 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/synchronization/waitable_event_watcher.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/threading/sequenced_task_runner... | null | null | null | null | 40,056 |
43,152 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,147 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* VLAN An implementation of 802.1Q VLAN tagging.
*
* Authors: Ben Greear <greearb@candelatech.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 Lic... | null | null | null | null | 116,494 |
30,474 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,474 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 27,337 |
39,051 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,046 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
* lib/minmax.c: windowed min/max tracker
*
* Kathleen Nichols' algorithm for tracking the minimum (or maximum)
* value of a data stream over some fixed time interval. (E.g.,
* the minimum RTT over the past five minutes.) It uses constant
* space and constant time per update yet almost always delivers
* the ... | null | null | null | null | 112,393 |
35,868 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,863 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* WUSB Wire Adapter: Radio Control Interface (WUSB[8])
* Notification and Event Handling
*
* Copyright (C) 2005-2006 Intel Corporation
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publi... | null | null | null | null | 109,210 |
47,579 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 47,579 | 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 CC_RESOURCES_RETURN_CALLBACK_H_
#define CC_RESOURCES_RETURN_CALLBACK_H_
#include "base/callback.h"
#include "components/viz/common/resources/retu... | null | null | null | null | 44,442 |
32,793 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,793 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eith... | null | null | null | null | 29,656 |
29,487 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,482 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* LP8755 High Performance Power Management Unit : System Interface Driver
* (based on rev. 0.26)
* Copyright 2012 Texas Instruments
*
* Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | null | null | null | null | 102,829 |
28,313 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 193,308 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* speakup_soft.c - speakup driver to register and make available
* a user space device for software synthesizers. written by: Kirk
* Reiser <kirk@braille.uwo.ca>
*
* Copyright (C) 2003 Kirk Reiser.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | null | null | null | null | 101,655 |
43,085 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,085 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/android/library_loader/library_loader_hooks.h"
#include "base/file... | null | null | null | null | 39,948 |
13,330 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 178,325 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/m68k/bvme6000/config.c
*
* Copyright (C) 1997 Richard Hirst [richard@sleepie.demon.co.uk]
*
* Based on:
*
* linux/amiga/config.c
*
* Copyright (C) 1993 Hamish Macdonald
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file README.legal in the m... | null | null | null | null | 86,672 |
8,084 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,079 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_MSI_H
#define _ASM_X86_MSI_H
#include <asm/hw_irq.h>
#include <asm/irqdomain.h>
typedef struct irq_alloc_info msi_alloc_info_t;
int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
msi_alloc_info_t *arg);
void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *des... | null | null | null | null | 81,426 |
34,751 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,751 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 31,614 |
31,702 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,697 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* dsp_hwec.c:
* builtin mISDN dsp pipeline element for enabling the hw echocanceller
*
* Copyright (C) 2007, Nadi Sarrar
*
* Nadi Sarrar <nadi@beronet.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... | null | null | null | null | 105,044 |
50,426 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,426 | 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 "ui/base/ime/win/on_screen_keyboard_display_manager_tab_tip.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "bas... | null | null | null | null | 47,289 |
20,210 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,210 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/site_isolation_policy.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#... | null | null | null | null | 17,073 |
1,826 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,821 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* TFRC library initialisation
*
* Copyright (c) 2007 The University of Aberdeen, Scotland, UK
* Copyright (c) 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
*/
#include <linux/moduleparam.h>
#include "tfrc.h"
#ifdef CONFIG_IP_DCCP_TFRC_DEBUG
bool tfrc_debug;
module_param(tfrc_debug, bool, 0644);
MODULE_PARM_D... | null | null | null | null | 75,169 |
66,822 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,822 | 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_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATI... | null | null | null | null | 63,685 |
19,630 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,630 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing/password_protection/password_protection_service.h"
#include <stddef.h>
#include <memory>
#include <string>
#include ... | null | null | null | null | 16,493 |
62,826 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,826 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/login_view.h"
#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "chrome/browser/ui/views... | null | null | null | null | 59,689 |
9,142 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,142 | 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 "base/macros.h"
#include "net/cookies/cookie_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
TEST(CookieConstantsTe... | null | null | null | null | 6,005 |
63,773 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,773 | 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/webui/browsing_history_handler.h"
#include <stdint.h>
#include <memory>
#include <set>
#include <utility>
#include "base... | null | null | null | null | 60,636 |
371 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,428 | 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 | 69,483 |
18,998 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,998 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/services/heap_profiling/heap_profiling_service.h"
#include "base/logging.h"
#include "mojo/public/cpp/system/platform_handle.h"
#inc... | null | null | null | null | 15,861 |
49,345 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,345 | 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_GFX_WIN_HWND_UTIL_H_
#define UI_GFX_WIN_HWND_UTIL_H_
#include <windows.h>
#include "base/strings/string16.h"
#include "ui/gfx/gfx_export.... | null | null | null | null | 46,208 |
1,886 | 16 | train_val | 1948aefa8901dca0ccb993753fca00b15d2a6e25 | 1,886 | Chrome | 1 | https://github.com/chromium/chromium | 2016-05-26 18:44:10+00:00 | void FrameLoader::startLoad(FrameLoadRequest& frameLoadRequest, FrameLoadType type, NavigationPolicy navigationPolicy)
{
ASSERT(client()->hasWebView());
if (m_frame->document()->pageDismissalEventBeingDispatched() != Document::NoDismissal)
return;
NavigationType navigationType = determineNavigationType(type, frameLoad... | CVE-2016-1697 | CWE-284 | https://github.com/chromium/chromium/commit/1948aefa8901dca0ccb993753fca00b15d2a6e25 | Medium | 1,886 |
39,375 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,375 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_SERVICEWORKERS_SERVICE_WORKER_INSTALLED_SCRIPTS_MANAGER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_SERVICEWO... | null | null | null | null | 36,238 |
14,653 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,653 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_
#define COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_
#include <stddef.h>
#include <string>
names... | null | null | null | null | 11,516 |
26,447 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,442 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Silicon Image SiI8620 HDMI/MHL bridge driver
*
* Copyright (C) 2015, Samsung Electronics Co., Ltd.
* Andrzej Hajda <a.hajda@samsung.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 Softw... | null | null | null | null | 99,789 |
55,852 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,852 | 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 "chrome/browser/prefs/browser_prefs.h"
#include <string>
#include "base/metrics/histogram_macros.h"
#include "base/trace_event/trace_event.h"
#... | null | null | null | null | 52,715 |
19,974 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,969 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright(c) 2007 Atheros Corporation. All rights reserved.
*
* Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel 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 t... | null | null | null | null | 93,316 |
23,941 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,941 | 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 "content/browser/streams/stream_registry.h"
#include "content/browser/streams/stream.h"
namespace content {
namespace {
// The maximum siz... | null | null | null | null | 20,804 |
11,665 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,665 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// A tree of name value pairs that report contain DirectX diagnostic
// information.
#ifndef GPU_CONFIG_DX_DIAG_NODE_H_
#define GPU_CONFIG_DX_DIAG_... | null | null | null | null | 8,528 |
62,137 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,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.
#include "chrome/browser/sync/test/integration/printers_helper.h"
#include <algorithm>
#include <string>
#include <unordered_map>
#include <utility>
#inc... | null | null | null | null | 59,000 |
7,370 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,365 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <sys/ucontext.h>
#define __FRAME_OFFSETS
#include <asm/ptrace.h>
#include <sysdep/ptrace.h>
void get_regs_from_mc(struct uml_pt_regs *regs, mcontext_t *mc)
{
#ifdef __i386__
#define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y]
#define COPY(X) regs->gp[X] = mc->gregs[REG_##X]
#define COPY_SEG(X) regs->gp[X] = m... | null | null | null | null | 80,712 |
8,151 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,146 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_HWEIGHT_H
#define _ASM_X86_HWEIGHT_H
#include <asm/cpufeatures.h>
#ifdef CONFIG_64BIT
/* popcnt %edi, %eax */
#define POPCNT32 ".byte 0xf3,0x0f,0xb8,0xc7"
/* popcnt %rdi, %rax */
#define POPCNT64 ".byte 0xf3,0x48,0x0f,0xb8,0xc7"
#define REG_IN "D"
#define REG_OUT "a"
#else
/* popcnt %eax, %eax */
#de... | null | null | null | null | 81,493 |
41,473 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 206,468 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_UNALIGNED_LE_BYTESHIFT_H
#define _LINUX_UNALIGNED_LE_BYTESHIFT_H
#include <linux/types.h>
static inline u16 __get_unaligned_le16(const u8 *p)
{
return p[0] | p[1] << 8;
}
static inline u32 __get_unaligned_le32(const u8 *p)
{
return p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24;
}
static inline u64 __g... | null | null | null | null | 114,815 |
5,737 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,732 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* wm8996.c - WM8996 audio codec interface
*
* Copyright 2011-2 Wolfson Microelectronics PLC.
* Author: Mark Brown <broonie@opensource.wolfsonmicro.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
* ... | null | null | null | null | 79,079 |
19,687 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,687 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/pairing/bluetooth_pairing_constants.h"
namespace pairing_chromeos {
const char* kPairingServiceUUID = "f035ff16-c025-468e-bb16-9677... | null | null | null | null | 16,550 |
63,710 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,710 | 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_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
#define CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
#include <strin... | null | null | null | null | 60,573 |
64,234 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,234 | 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 <stdint.h>
#include <memory>
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/compiler_specific.... | null | null | null | null | 61,097 |
14,662 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,657 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2014 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#ifndef __ASM_OPENRISC_CMPXCHG_H
#define __... | null | null | null | null | 88,004 |
50,212 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,212 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
#define UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
namespace ui {
class MenuModelDelegate {
public:
// I... | null | null | null | null | 47,075 |
25,252 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,252 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_
#define EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_
#include <stddef.h>
#include <initializer_list... | null | null | null | null | 22,115 |
39,623 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,623 | 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/modules/payments/payment_address.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#incl... | null | null | null | null | 36,486 |
37,890 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 202,885 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef PERF_UTIL_CLANG_C_H
#define PERF_UTIL_CLANG_C_H
#include <stddef.h> /* for size_t */
#include <util-cxx.h> /* for __maybe_unused */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_LIBCLANGLLVM_SUPPORT
extern void perf_clang__init(void);
extern void perf_clang__cleanup(void);
extern int test__clang_to_IR(... | null | null | null | null | 111,232 |
38,048 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,043 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifdef DEFINE_DWARF_REGSTR_TABLE
/* This is included in perf/util/dwarf-regs.c */
const char * const sh_regstr_tbl[] = {
"r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
"r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
"pc",
"pr",
};
#endif
| null | null | null | null | 111,390 |
25,392 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,392 | 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 "extensions/browser/extension_request_limiting_throttle.h"
#include "base/logging.h"
#include "extensions/browser/extension_throttle_entry.h"
#i... | null | null | null | null | 22,255 |
59,324 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,324 | 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 CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_ID_MAPPING_HELPER_H__
#define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_ID_MAPPING_HELPE... | null | null | null | null | 56,187 |
16,023 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,023 | 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 "components/sync/engine_impl/debug_info_event_listener.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
using DebugInf... | null | null | null | null | 12,886 |
15,397 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,392 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Thomas Horsten <thh@lasat.com>
* Copyright (C) 2000 LASAT Networks A/S.
*
* This program is free software; you can distribute 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 is distributed in the hope i... | null | null | null | null | 88,739 |
33,111 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,106 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* i2c-versatile.c
*
* Copyright (C) 2006 ARM Ltd.
* written by Russell King, Deep Blue Solutions 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.
*/
#include <linu... | null | null | null | null | 106,453 |
19,877 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,872 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*****************************************************************************
* *
* File: espi.c *
* $Revision: 1.14 $ *
* $... | null | null | null | null | 93,219 |
36,342 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 201,337 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Windfarm PowerMac thermal control
*
* Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
*
* Released under the term of the GNU GPL v2.
*/
#ifndef __WINDFARM_MPU_H
#define __WINDFARM_MPU_H
typedef unsigned short fu16;
typedef int fs32;
typedef short fs16;
/* Definition of the MPU data structure which contai... | null | null | null | null | 109,684 |
149 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 153,206 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (C) 2007 Michael Niedermayer <michaelni@gmx.at>
* Copyright (C) 2009 Konstantin Shishkov
* based on public domain SHA-1 code by Steve Reid <steve@edmweb.com>
* and on BSD-licensed SHA-2 code by Aaron D. Gifford
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it ... | null | null | null | null | 69,261 |
39,274 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,269 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* mpihelp-sub.c - MPI helper functions
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | null | null | null | null | 112,616 |
70,631 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,631 | 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 SK_REF_CNT_EXT_DEBUG_H_
#define SK_REF_CNT_EXT_DEBUG_H_
#ifdef SK_REF_CNT_EXT_RELEASE_H_
#error Only one SkRefCnt should be used.
#endif
#includ... | null | null | null | null | 67,494 |
2,319 | 4,5,9 | train_val | 673ce95d481ea9368c4d4d43ac756ba1d6d9e608 | 2,319 | Chrome | 1 | https://github.com/chromium/chromium | 2018-01-18 20:59:24+00:00 | void ClientDiscardableSharedMemoryManager::AllocateCompletedOnIO(
base::SharedMemoryHandle* handle,
base::ScopedClosureRunner closure_runner,
mojo::ScopedSharedBufferHandle mojo_handle) {
size_t memory_size = 0;
bool read_only = false;
if (!mojo_handle.is_valid())
return;
auto result = mojo::UnwrapSharedMemoryHandl... | CVE-2018-6063 | CWE-787 | https://github.com/chromium/chromium/commit/673ce95d481ea9368c4d4d43ac756ba1d6d9e608 | Medium | 2,319 |
352 | 23 | train_val | adee11b2085bee90bd8f4f52123ffb07882d6256 | 165,347 | linux | 1 | https://github.com/torvalds/linux | 2012-06-28 19:30:58+02:00 | static int udf_load_logicalvol(struct super_block *sb, sector_t block,
struct kernel_lb_addr *fileset)
{
struct logicalVolDesc *lvd;
int i, j, offset;
uint8_t type;
struct udf_sb_info *sbi = UDF_SB(sb);
struct genericPartitionMap *gpm;
uint16_t ident;
struct buffer_head *bh;
int ret = 0;
bh = udf_read_tagged(sb, block... | CVE-2012-3400 | CWE-119 | https://github.com/torvalds/linux/commit/adee11b2085bee90bd8f4f52123ffb07882d6256 | High | 3,241 |
2,345 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,402 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* TAK parser
* Copyright (c) 2012 Michael Niedermayer
*
* 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 ... | null | null | null | null | 71,457 |
22,129 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 22,129 | 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_COMMON_MAC_FONT_LOADER_H_
#define CONTENT_COMMON_MAC_FONT_LOADER_H_
#include <CoreGraphics/CoreGraphics.h>
#include <stdint.h>
#incl... | null | null | null | null | 18,992 |
33,637 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,632 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
TDA10023 - DVB-C decoder
(as used in Philips CU1216-3 NIM and the Reelbox DVB-C tuner card)
Copyright (C) 2005 Georg Acher, BayCom GmbH (acher at baycom dot de)
Copyright (c) 2006 Hartmut Birr (e9hack at gmail dot com)
Remotely based on tda10021.c
Copyright (C) 1999 Convergence Integrated ... | null | null | null | null | 106,979 |
27,581 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 192,576 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /******************************************************************************
* rtl871x_io.c
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
* Linux device driver for RTL8192SU
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of t... | null | null | null | null | 100,923 |
5,586 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,586 | 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 CHROMEOS_CHROMEOS_PREF_NAMES_H_
#define CHROMEOS_CHROMEOS_PREF_NAMES_H_
#include "chromeos/chromeos_export.h"
namespace chromeos {
namespace pre... | null | null | null | null | 2,449 |
68,447 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,447 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_HOST_REMOTE_INPUT_FILTER_H_
#define REMOTING_HOST_REMOTE_INPUT_FILTER_H_
#include <list>
#include "base/compiler_specific.h"
#inclu... | null | null | null | null | 65,310 |
65,071 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,071 | 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/extensions/extension_message_bubble_bridge.h"
#include <utility>
#include "chrome/browser/extensions/extension_message_bubbl... | null | null | null | null | 61,934 |
33,495 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,490 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
STB0899 Multistandard Frontend driver
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
Copyright (C) ST Microelectronics
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 ... | null | null | null | null | 106,837 |
34,134 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,129 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates.
* All rights reserved.
*
* This program is free software; you may redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* THE SOFTW... | null | null | null | null | 107,476 |
20,639 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,634 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/if.h>
#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <linux/netdevice.h>
#include <linux/in.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <net/flow_dissector.h>
#include "enic_res.h"
#include "enic_clsf.h"
/* enic_addfltr_5t - Add ipv4 5tuple filter
* @enic: enic stru... | null | null | null | null | 93,981 |
43,443 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,443 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/process/kill.h"
#include <errno.h>
#include <signal.h>
#include <sys/event.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "... | null | null | null | null | 40,306 |
14,347 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,342 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __ASM_CRIS_ARCH_IRQFLAGS_H
#define __ASM_CRIS_ARCH_IRQFLAGS_H
#include <linux/types.h>
#include <asm/ptrace.h>
static inline unsigned long arch_local_save_flags(void)
{
unsigned long flags;
asm volatile("move $ccs,%0" : "=rm" (flags) : : "memory");
return flags;
}
static inline void arch_local_irq_disable... | null | null | null | null | 87,689 |
6,942 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,937 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/arch/m32r/platforms/opsput/setup.c
*
* Setup routines for Renesas OPSPUT Board
*
* Copyright (c) 2002-2005
* Hiroyuki Kondo, Hirokazu Takata,
* Hitoshi Yamamoto, Takeo Takahashi, Mamoru Sakugawa
*
* This file is subject to the terms and conditions of the GNU General
* Public License. Se... | null | null | null | null | 80,284 |
25,657 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,652 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2013 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,999 |
45,470 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 45,470 | 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 ASH_SHELF_SHELF_CONTEXT_MENU_MODEL_H_
#define ASH_SHELF_SHELF_CONTEXT_MENU_MODEL_H_
#include <memory>
#include <vector>
#include "ash/ash_export... | null | null | null | null | 42,333 |
1,518 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,473 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 |
#include <stdio.h>
#include "gd.h"
/* If palette is true, we convert from truecolor to palette at the end,
to test gdImageTrueColorToPalette and see file size/
quality tradeoffs. */
void testDrawing (
gdImagePtr im_in,
double scale,
int blending,
int palette,
char *filename);
int
main... | null | null | null | null | 120,394 |
18,441 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,441 | 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_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_ANDROID_BATTERY_STATUS_LISTENER_ANDROID_H_
#define COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE... | null | null | null | null | 15,304 |
48,223 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,223 | 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTIOP_DROP_TARGET_WIN_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTIOP_DROP_TARGET_WIN_H_
#include <memory>
... | null | null | null | null | 45,086 |
40,266 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 40,266 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | #ifndef __gl3platform_h_
#define __gl3platform_h_
/*
** Copyright (c) 2017 The Khronos Group Inc.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses... | null | null | null | null | 37,129 |
32,019 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,019 | 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/css/properties/longhands/webkit_perspective_origin_x.h"
#include "third_party/blink/renderer/core/css/parser/cs... | null | null | null | null | 28,882 |
266 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 256,653 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2008-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,098 |
39,584 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,579 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* kdb helper for dumping the ftrace buffer
*
* Copyright (C) 2010 Jason Wessel <jason.wessel@windriver.com>
*
* ftrace_dump_buf based on ftrace_dump:
* Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
* Copyright (C) 2008 Ingo Molnar <mingo@redhat.com>
*
*/
#include <linux/init.h>
#include <linu... | null | null | null | null | 112,926 |
2,334 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,329 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* net/tipc/link.h: Include file for TIPC link code
*
* Copyright (c) 1995-2006, 2013-2014, Ericsson AB
* Copyright (c) 2004-2005, 2010-2011, Wind River Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | null | null | null | null | 75,677 |
678 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,806 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 73,099 |
30,128 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,128 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 26,991 |
2,172 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 167,167 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Shared Memory Communications over RDMA (SMC-R) and RoCE
*
* Generic netlink support functions to configure an SMC-R PNET table
*
* Copyright IBM Corp. 2016
*
* Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
*/
#include <linux/module.h>
#include <linux/list.h>
#include <linux/ctype.h>
#include... | null | null | null | null | 75,515 |
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.