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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29,999 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,999 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2003 December 18
**
** 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,862 |
50,572 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,572 | 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 "ui/ozone/platform/drm/gpu/mock_scanout_buffer_generator.h"
#include "ui/ozone/platform/drm/common/drm_util.h"
#include "ui/ozone/platform/drm/g... | null | null | null | null | 47,435 |
4,289 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,289 | 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_STORE_KIT_STORE_KIT_TAB_HELPER_H_
#define IOS_CHROME_BROWSER_STORE_KIT_STORE_KIT_TAB_HELPER_H_
#include "base/macros.h"
#impor... | null | null | null | null | 1,152 |
666 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,053 | openssl | 0 | https://github.com/openssl/openssl | 2016-09-22 23:12:38+01:00 | /*
* Copyright 2001-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,498 |
299 | 2,3,4,5,6,7,8 | train_val | dc7b094a338c6c521f918f478e993f0f74bbea0d | 299 | Chrome | 1 | https://github.com/chromium/chromium | 2011-06-15 06:45:53+00:00 | static void IBusBusConnectedCallback(IBusBus* bus, gpointer user_data) {
LOG(WARNING) << "IBus connection is recovered.";
// ibus-daemon might be restarted, or the daemon was not running when Chrome
// started. Anyway, since |ibus_| connection is now ready, it's possible to
// create |ibus_config_| object b... | CVE-2011-2804 | CWE-399 | https://github.com/chromium/chromium/commit/dc7b094a338c6c521f918f478e993f0f74bbea0d | Low | 299 |
6,237 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,237 | 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 CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
#define CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
#include <stdint.h>
#include <map>
#include <memory>
#inc... | null | null | null | null | 3,100 |
51,085 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,085 | 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 UI_MESSAGE_CENTER_PUBLIC_CPP_FEATURES_H_
#define UI_MESSAGE_CENTER_PUBLIC_CPP_FEATURES_H_
#include "base/feature_list.h"
#include "ui/message_cen... | null | null | null | null | 47,948 |
1,081 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,036 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2016 The PHP Group |
+--------------... | null | null | null | null | 119,957 |
7,847 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,842 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include "misc.h"
#if CONFIG_EARLY_PRINTK || CONFIG_RANDOMIZE_BASE
static unsigned long fs;
static inline void set_fs(unsigned long seg)
{
fs = seg << 4; /* shift it back */
}
typedef unsigned long addr_t;
static inline char rdfs8(addr_t addr)
{
return *((char *)(fs + addr));
}
#include "../cmdline.c"
static unsig... | null | null | null | null | 81,189 |
37,567 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,567 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (c) 2008, 2009, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of c... | null | null | null | null | 34,430 |
6,831 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,826 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_S390_DMA_MAPPING_H
#define _ASM_S390_DMA_MAPPING_H
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/dma-debug.h>
#include <linux/io.h>
#define DMA_ERROR_CODE (~(dma_addr_t) 0x0)
extern const struct dma_map_ops s390_pci_dma_ops;
sta... | null | null | null | null | 80,173 |
70,753 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,753 | 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 SANDBOX_LINUX_SECCOMP_BPF_DIE_H__
#define SANDBOX_LINUX_SECCOMP_BPF_DIE_H__
#include "base/macros.h"
#include "sandbox/sandbox_export.h"
nam... | null | null | null | null | 67,616 |
37,968 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,968 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PLACEHOLDER_IMAGE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PLACEHOLDER_IMAGE_H_
#incl... | null | null | null | null | 34,831 |
16,308 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 16,308 | 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 COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_
#define COMPONENTS_SYNC_ENGINE_CONNECTION_STATUS_H_
namespace syncer {
// Status of the sync connect... | null | null | null | null | 13,171 |
12,244 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,244 | 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 <algorithm>
#include "base/debug/crash_logging.h"
#include "base/i18n/break_iterator.h"
#include "base/memory/ptr_util.h"
#include "base/strings... | null | null | null | null | 9,107 |
21,183 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,183 | 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_RENDERER_LOADER_WEB_DATA_CONSUMER_HANDLE_IMPL_H_
#define CONTENT_RENDERER_LOADER_WEB_DATA_CONSUMER_HANDLE_IMPL_H_
#include <stddef.h>
#i... | null | null | null | null | 18,046 |
46,083 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,083 | 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 "ash/wm/resize_shadow_controller.h"
#include <memory>
#include <utility>
#include "ash/wm/resize_shadow.h"
#include "ui/aura/window.h"
nam... | null | null | null | null | 42,946 |
4,729 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,729 | 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_HISTORY_CLEAR_BROWSING_BAR_H_
#define IOS_CHROME_BROWSER_UI_HISTORY_CLEAR_BROWSING_BAR_H_
#import <UIKit/UIKit.h>
// View ... | null | null | null | null | 1,592 |
39,361 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,361 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 36,224 |
10,359 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,354 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.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 Foundati... | null | null | null | null | 83,701 |
1,758 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,713 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
zip_fopen_index.c -- open file in zip archive for reading by index
Copyright (C) 1999-2015 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without... | null | null | null | null | 120,634 |
27,558 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,558 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* vim: set ts=8 sw=8 noexpandtab: */
// qcms
// Copyright (C) 2009 Mozilla Foundation
//
// 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 limitat... | null | null | null | null | 24,421 |
58,673 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,673 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/extensions/extension_assets_manager_chromeos.h"... | null | null | null | null | 55,536 |
38,839 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,839 | 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_WEBAUDIO_AUDIO_WORKLET_PROCESSOR_DEFINITION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBAUDIO_AUDIO_WORKLE... | null | null | null | null | 35,702 |
16,238 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 181,233 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __AU1X00_PROM_H
#define __AU1X00_PROM_H
extern int prom_argc;
extern char **prom_argv;
extern char **prom_envp;
extern void prom_init_cmdline(void);
extern char *prom_getenv(char *envname);
extern int prom_get_ethernet_addr(char *ethernet_addr);
#endif
| null | null | null | null | 89,580 |
25,688 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,683 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2014 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | null | null | null | null | 99,030 |
53,806 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 53,806 | 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 ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_
#define ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_
#include "base/macros.h"
#include "comp... | null | null | null | null | 50,669 |
35,154 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,154 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 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 conditi... | null | null | null | null | 32,017 |
343 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,911 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* i386 specific structures for linux-user
*
* Copyright (c) 2013 Fabrice Bellard
*
* 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, or (at you... | null | null | null | null | 121,035 |
69,574 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,574 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* -------------------------------------------------------------
*
* Module: sem_close.c
*
* Purpose:
* Semaphores aren't actually part of the PThreads standard.
* They are defined by the POSIX Standard:
*
* POSIX 1003.1b-1993 (POSIX.1b)
*
* -------------------------------------------------------------
*... | null | null | null | null | 66,437 |
5,789 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 5,789 | 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 "chromeos/dbus/blocking_method_caller.h"
#include <memory>
#include <string>
#include <utility>
#include "base/callback.h"
#include "base/l... | null | null | null | null | 2,652 |
44 | 17,18,19,20,21,22,23,24,25,26,27,28,29 | train_val | b51b33f2bc5d1497ddf5bd107f791c101695000d | 161,888 | krb5 | 1 | https://github.com/krb5/krb5 | 2015-10-26 12:38:24-04:00 | spnego_gss_delete_sec_context(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token)
{
OM_uint32 ret = GSS_S_COMPLETE;
spnego_gss_ctx_id_t *ctx =
(spnego_gss_ctx_id_t *)context_handle;
*minor_status = 0;
if (context_handle == NULL)
return (GSS_S_FAILURE);
if (*ctx == NULL)
return (GSS_S_C... | CVE-2015-2695 | CWE-18 | https://github.com/krb5/krb5/commit/b51b33f2bc5d1497ddf5bd107f791c101695000d | Medium | 2,849 |
54,708 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,708 | 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 "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/var.h"
class SimpleInstance : public pp::Instanc... | null | null | null | null | 51,571 |
12,402 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,397 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* PowerNV OPAL Dump Interface
*
* Copyright 2013,2014 IBM Corp.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later vers... | null | null | null | null | 85,744 |
51,038 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 51,038 | 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_MESSAGE_CENTER_MESSAGE_VIEW_FACTORY_H_
#define UI_MESSAGE_CENTER_MESSAGE_VIEW_FACTORY_H_
#include "ui/message_center/message_center_export.h"
... | null | null | null | null | 47,901 |
52,453 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,453 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
#define MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
#include <stddef.h>
#include <stdint.h>
#include <memory... | null | null | null | null | 49,316 |
57,982 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,982 | 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_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_
#include <memory>
#include "base/strings... | null | null | null | null | 54,845 |
15,225 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,225 | 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 COMPONENTS_PROFILE_METRICS_COUNTS_H_
#define COMPONENTS_PROFILE_METRICS_COUNTS_H_
#include "base/metrics/histogram_base.h"
namespace profile_met... | null | null | null | null | 12,088 |
41,155 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,155 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 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 | 38,018 |
29,363 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,358 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* VMware VMCI Driver
*
* Copyright (C) 2012 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation version 2 and no later version.
*
* This program is dis... | null | null | null | null | 102,705 |
6,163 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,158 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Generic AC97 sound support for SH7760
*
* (c) 2007 Manuel Lauss
*
* Licensed under the GPLv2.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <asm/io.h>
#define IPSEL 0xFE400034
st... | null | null | null | null | 79,505 |
10,164 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,164 | 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 CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_AURA_H_
#define CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_AURA_H_
#include "base/macros.h"
#include "chromeca... | null | null | null | null | 7,027 |
21,295 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 21,295 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_APPCACHE_APPCACHE_DISPATCHER_H_
#define CONTENT_RENDERER_APPCACHE_APPCACHE_DISPATCHER_H_
#include <memory>
#include <string>
#in... | null | null | null | null | 18,158 |
10,739 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,734 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Procedures for creating, accessing and interpreting the device tree.
*
* Paul Mackerras August 1996.
* Copyright (C) 1996-2005 Paul Mackerras.
*
* Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner.
* {engebret|bergner}@us.ibm.com
*
* Adapted for sparc32 by David S. Miller davem@daveml... | null | null | null | null | 84,081 |
71,610 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 71,610 | 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 "services/video_capture/test/mock_device.h"
namespace video_capture {
MockDevice::MockDevice() = default;
MockDevice::~MockDevice() = default;... | null | null | null | null | 68,473 |
58,976 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,976 | 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_EXTENSIONS_EXTENSION_ACTION_MANAGER_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_MANAGER_H_
#include <map>
#include <... | null | null | null | null | 55,839 |
38,836 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,836 | 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_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_BLUETOOTH_BLUETOOT... | null | null | null | null | 35,699 |
38,124 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 203,119 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /* $(CROSS_COMPILE)cc -Wall -Wextra -g -lpthread -o testusb testusb.c */
/*
* Copyright (c) 2002 by David Brownell
* Copyright (c) 2010 by Samsung Electronics
* Author: Michal Nazarewicz <mina86@mina86.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU G... | null | null | null | null | 111,466 |
70,723 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,723 | 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 SANDBOX_LINUX_SYSTEM_HEADERS_ARM64_LINUX_SYSCALLS_H_
#define SANDBOX_LINUX_SYSTEM_HEADERS_ARM64_LINUX_SYSCALLS_H_
#include <asm-generic/unistd.h>... | null | null | null | null | 67,586 |
66,012 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,012 | 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/media/protected_media_identifier_permission_context.h"
#include "base/test/scoped_command_line.h"
#include "chrome/common/chrome... | null | null | null | null | 62,875 |
15,982 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,982 | 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/sync/engine_impl/worker_entity_tracker.h"
#include "components/sync/base/hash_util.h"
#include "components/sync/base/model_type.h"
#... | null | null | null | null | 12,845 |
19,937 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,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.
#ifndef CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
#define CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
#include <vector>
#include "base/callb... | null | null | null | null | 16,800 |
48,693 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 48,693 | 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 "ui/views/animation/test/test_ink_drop_host.h"
#include "base/memory/ptr_util.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/animation/... | null | null | null | null | 45,556 |
7,630 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,625 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
*/
#include <linux/sched/debug.h>
#include <linux/kallsyms.h>
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/hardirq.h>
#include <linux/kdebug.h>
#include <linux/export.h>
#include <linux/ptr... | null | null | null | null | 80,972 |
12,112 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,112 | 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_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_
#define COMPONENTS_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_
#include "base/macros.h"
#include "base/mem... | null | null | null | null | 8,975 |
58,175 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,175 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_REQUEST_MANAGER_TEST_API_H_
#define CHROME_BROWSER_PERMISSIONS_PERMISSION_REQUEST_MANAGER_TEST_API_H_
#incl... | null | null | null | null | 55,038 |
39,355 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,355 | 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/modules/serviceworkers/service_worker_content_settings_proxy.h"
#include <memory>
namespace blink {
ServiceWorkerC... | null | null | null | null | 36,218 |
3,969 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,964 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* file.c - NTFS kernel file operations. Part of the Linux-NTFS project.
*
* Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc.
*
* This program/include file 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 | 77,311 |
20,388 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,388 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
#define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
#include <memory>
#include "base... | null | null | null | null | 17,251 |
18,043 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,043 | 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/policy/core/common/policy_scheduler.h"
#include <memory>
#include "base/bind.h"
#include "base/run_loop.h"
#include "base/test/scop... | null | null | null | null | 14,906 |
19,525 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 184,520 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2008-2010
*
* - Kurt Van Dijck, EIA Electronics
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the version 2 of the GNU General Public License
* as published by the Free Software Foundation
*
* This program is distributed in the hope that it ... | null | null | null | null | 92,867 |
33,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,779 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this ... | null | null | null | null | 30,642 |
35,438 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 35,438 | 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 THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_TEXT_OFFSET_MAPPING_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_TEXT_OFFSET_MAPPING_H_
#include "b... | null | null | null | null | 32,301 |
50,116 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,116 | 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 UI_BASE_COCOA_CONTROLS_IMAGEVIEW_UTILS_H_
#define UI_BASE_COCOA_CONTROLS_IMAGEVIEW_UTILS_H_
#include "ui/base/ui_base_export.h"
#include <Cocoa/... | null | null | null | null | 46,979 |
30,722 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,722 | 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/callback_function.cpp.tmpl
// by the script... | null | null | null | null | 27,585 |
32,610 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,605 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Common code to handle absent "placeholder" devices
* Copyright 2001 Resilience Corporation <ebrower@resilience.com>
*
* This map driver is used to allocate "placeholder" MTD
* devices on systems that have socketed/removable media.
* Use of this driver as a fallback preserves the expected
* registration of M... | null | null | null | null | 105,952 |
12,861 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 177,856 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright 2007 Sony Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
... | null | null | null | null | 86,203 |
37,924 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 37,924 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (C) 2013 Google Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions a... | null | null | null | null | 34,787 |
46,310 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,310 | 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_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H
#define ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H
#include "ash/ash_export.h"
namespace as... | null | null | null | null | 43,173 |
64,693 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,693 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_VIEWS_MAC_H_
#define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_VIEWS_MAC_H_
#import <... | null | null | null | null | 61,556 |
8,103 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,098 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_X86_NOPS_H
#define _ASM_X86_NOPS_H
/*
* Define nops for use with alternative() and for tracing.
*
* *_NOP5_ATOMIC must be a single instruction.
*/
#define NOP_DS_PREFIX 0x3e
/* generic versions from gas
1: nop
the following instructions are NOT nops in 64-bit mode,
for 64-bit mode use K8 or... | null | null | null | null | 81,445 |
15,752 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,747 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* include/asm-mips/txx9tmr.h
* TX39/TX49 timer controller definitions.
*
* 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.
*/
#ifndef __ASM_TXX9TMR_H
#define __ASM_TXX9TMR_H
#include <linux... | null | null | null | null | 89,094 |
18,005 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 18,005 | 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/policy/core/common/config_dir_policy_loader.h"
#include <stddef.h>
#include <algorithm>
#include <set>
#include <string>
#incl... | null | null | null | null | 14,868 |
32,420 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,415 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Swap block device support for MTDs
* Turns an MTD device into a swap device with block wear leveling
*
* Copyright © 2007,2011 Nokia Corporation. All rights reserved.
*
* Authors: Jarkko Lavinen <jarkko.lavinen@nokia.com>
*
* Based on Richard Purdie's earlier implementation in 2007. Background
* support a... | null | null | null | null | 105,762 |
58,000 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,000 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_
#define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_
#include <mem... | null | null | null | null | 54,863 |
66,526 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,526 | 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/policy/local_sync_policy_handler.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/values.h"
#include "chro... | null | null | null | null | 63,389 |
7,496 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 172,491 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #include <linux/string.h>
#include <linux/export.h>
#undef memcpy
#undef memset
__visible void *memcpy(void *to, const void *from, size_t n)
{
#ifdef CONFIG_X86_USE_3DNOW
return __memcpy3d(to, from, n);
#else
return __memcpy(to, from, n);
#endif
}
EXPORT_SYMBOL(memcpy);
__visible void *memset(void *s, int c, size_... | null | null | null | null | 80,838 |
138 | 2 | train_val | f6d8bd051c391c1c0458a30b2a7abcd939329259 | 165,133 | linux | 1 | https://github.com/torvalds/linux | 2011-04-28 13:16:35-07:00 | static struct ip_options *ip_options_get_alloc(const int optlen)
{
return kzalloc(sizeof(struct ip_options) + ((optlen + 3) & ~3),
GFP_KERNEL);
}
| CVE-2012-3552 | CWE-362 | https://github.com/torvalds/linux/commit/f6d8bd051c391c1c0458a30b2a7abcd939329259 | High | 3,027 |
54,385 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 54,385 | 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/test/nacl/nacl_browsertest_util.h"
#include <stdlib.h>
#include "base/command_line.h"
#include "base/json/json_reader.h"
#include "b... | null | null | null | null | 51,248 |
19,113 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,113 | 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/reading_list/features/reading_list_switches.h"
#include "base/command_line.h"
#include "build/build_config.h"
#include "components/r... | null | null | null | null | 15,976 |
60,996 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,996 | 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 CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_LAYER_H_
#define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_LAYER_H_
#include <memory>
#include "base/macro... | null | null | null | null | 57,859 |
62,485 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,485 | 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/hung_plugin_tab_helper.h"
#include <memory>
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/macr... | null | null | null | null | 59,348 |
35,491 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,486 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) ST-Ericsson SA 2010
*
* License Terms: GNU General Public License, version 2
* Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
*/
#ifndef __STMPE_H
#define __STMPE_H
#include <linux/device.h>
#include <linux/mfd/core.h>
#include <linux/mfd/stmpe.h>
#include <linux/printk.h... | null | null | null | null | 108,833 |
59,149 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 59,149 | 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 CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_
#define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_
#include <map... | null | null | null | null | 56,012 |
1,591 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 166,586 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/net/sunrpc/gss_mech_switch.c
*
* Copyright (c) 2001 The Regents of the University of Michigan.
* All rights reserved.
*
* J. Bruce Fields <bfields@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | null | null | null | null | 74,934 |
43,203 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,203 | 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.
// ConditionVariable wraps pthreads condition variable synchronization or, on
// Windows, simulates it. This functionality is very helpful for having... | null | null | null | null | 40,066 |
3,322 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 265,890 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* pci_regs.h
*
* PCI standard defines
* Copyright 1994, Drew Eckhardt
* Copyright 1997--1999 Martin Mares <mj@ucw.cz>
*
* For more information, please consult the following manuals (look at
* http://www.pcisig.com/ for how to get them):
*
* PCI BIOS Specification
* PCI Local Bus Specification
* PCI to PC... | null | null | null | null | 124,014 |
61,686 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,686 | 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/ssl/certificate_error_report.h"
#include <vector>
#include "base/stl_util.h"
#include "base/strings/strcat.h"
#include "base/st... | null | null | null | null | 58,549 |
9,465 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,460 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/mach-mv78x00/rd78x00-masa-setup.c
*
* Marvell RD-78x00-mASA Development Board Setup
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.... | null | null | null | null | 82,807 |
64,860 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 64,860 | 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_APP_LIST_EXTENSION_UNINSTALLER_H_
#define CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_
#include "base/macros.h"
#include... | null | null | null | null | 61,723 |
32,121 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 32,121 | 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/stroke_opacity.h"
#include "third_party/blink/renderer/core/css/parser/css_property_pa... | null | null | null | null | 28,984 |
67,964 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 67,964 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_PROTOCOL_CLIENT_VIDEO_STATE_DISPATCHER_H_
#define REMOTING_PROTOCOL_CLIENT_VIDEO_STATE_DISPATCHER_H_
#include <list>
#include "base/com... | null | null | null | null | 64,827 |
2,705 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,762 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
*
* 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, ... | null | null | null | null | 71,817 |
46,274 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 46,274 | 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 "ash/accelerators/debug_commands.h"
#include "ash/accelerators/accelerator_commands.h"
#include "ash/public/cpp/ash_switches.h"
#include "ash/ro... | null | null | null | null | 43,137 |
60,312 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 60,312 | 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 "chrome/browser/page_load_metrics/observers/no_state_prefetch_page_load_metrics_observer.h"
#include <memory>
#include "chrome/browser/prerende... | null | null | null | null | 57,175 |
800 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,755 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
*
* LICENSE NOTICES
*
* This file is part of "streamable kanji code filter and converter",
* which is distributed under the terms of GNU Lesser General Public
* License (version 2) as published by th... | null | null | null | null | 119,676 |
34,808 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,803 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
video capture devices
Copyright (C) 2005 Ludovico Cavedon <cavedon@sssup.it>
Markus Rechberger <mrechberger@gmail.com>
Mauro Carvalho Chehab <mchehab@infradead.org>
Sascha Sommer <saschasommer@freenet.de>
Copyright (C) 2... | null | null | null | null | 108,150 |
19,412 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 19,412 | 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/variations/variations_seed_store.h"
#include <memory>
#include <utility>
#include "base/base64.h"
#include "base/macros.h"
#include... | null | null | null | null | 16,275 |
35,331 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,326 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Elonics E4000 silicon tuner driver
*
* Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
*
* 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, o... | null | null | null | null | 108,673 |
25,040 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,040 | 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 EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_DISPATCHER_H_
#define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINE... | null | null | null | null | 21,903 |
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.