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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
622 | null | train_val | a6802e21d824e786d1e2a8440cf749a6e1a8d95f | 160,750 | ImageMagick | 0 | https://github.com/ImageMagick/ImageMagick | 2017-07-18 18:28:29-04:00 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | null | null | null | null | 73,043 |
9,999 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 9,999 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_MEDIA_CMA_BACKEND_DESKTOP_AUDIO_DECODER_DESKTOP_H_
#define CHROMECAST_MEDIA_CMA_BACKEND_DESKTOP_AUDIO_DECODER_DESKTOP_H_
#include <mem... | null | null | null | null | 6,862 |
62,889 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,889 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/frame/browser_view_layout.h"
#include "base/macros.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include ... | null | null | null | null | 59,752 |
62,101 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 62,101 | 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.
#include "chrome/browser/sync/profile_sync_test_util.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/loca... | null | null | null | null | 58,964 |
21,892 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 186,887 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* This file is part of wl1251
*
* Copyright (C) 2008 Nokia Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it... | null | null | null | null | 95,234 |
11,248 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,243 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _LINUX_UML_INIT_H
#define _LINUX_UML_INIT_H
/* These macros are used to mark some functions or
* initialized data (doesn't apply to uninitialized data)
* as `initialization' functions. The kernel can take this
* as hint that the function is used only during the initialization
* phase and free up used memor... | null | null | null | null | 84,590 |
24,749 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 24,749 | 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/renderer/test_native_handler.h"
#include "extensions/renderer/wake_event_page.h"
namespace extensions {
TestNativeHandler::TestNat... | null | null | null | null | 21,612 |
5,399 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,394 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* MOTU Midi Timepiece ALSA Main routines
* Copyright by Michael T. Mayers (c) Jan 09, 2000
* mail: michael@tweakoz.com
* Thanks to John Galbraith
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | null | null | null | null | 78,741 |
14,086 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 14,086 | 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 "components/offline_pages/core/model/get_thumbnail_task.h"
#include <memory>
#include "base/bind_helpers.h"
#include "base/files/scoped_temp_di... | null | null | null | null | 10,949 |
38,330 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 38,330 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2011 Ericsson AB. All rights reserved.
* 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 ret... | null | null | null | null | 35,193 |
26,502 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 191,497 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Texas Instruments
* Author: Jyri Sarha <jsarha@ti.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
*/
#include <linux/component.h>
#include <li... | null | null | null | null | 99,844 |
3,249 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 156,306 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* SDX demuxer
* Copyright (c) 2017 Paul B Mahol
*
* 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 your o... | null | null | null | null | 72,361 |
61,729 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 61,729 | 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_SSL_SSL_ERROR_ASSISTANT_H_
#define CHROME_BROWSER_SSL_SSL_ERROR_ASSISTANT_H_
#include <string>
#include <unordered_set>
#include <... | null | null | null | null | 58,592 |
25,889 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,889 | 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_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_SERVICE_FACTORY_H_
#define EXTENSIONS_BROWSER_API_NETWORKING_CONFIG_NETWORKING_CONFIG_S... | null | null | null | null | 22,752 |
20,366 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,366 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_USER_DATA_H_
#define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_USER_DATA_H_
#include "base/logging.h"
#include ... | null | null | null | null | 17,229 |
39,786 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,781 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/ipc/shm.c
* Copyright (C) 1992, 1993 Krishna Balasubramanian
* Many improvements/fixes by Bruno Haible.
* Replaced `struct shm_desc' by `struct vm_area_struct', July 1994.
* Fixed the shm swap deallocation (shm_unuse()), August 1998 Andrea Arcangeli.
*
* /proc/sysvipc/shm support (c) 1999 Dragos Acos... | null | null | null | null | 113,128 |
2,903 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,960 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* Copyright (C) 2001-2011 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licens... | null | null | null | null | 72,015 |
34,951 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,951 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | null | null | null | null | 31,814 |
12,230 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 12,230 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/drive/chromeos/file_system/get_file_for_saving_operation.h"
#include <stdint.h>
#include "base/callback.h"
#include "base/files/fil... | null | null | null | null | 9,093 |
7,610 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,610 | 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 <stddef.h>
#include <stdint.h>
#include <memory>
#include <vector>
#include "base/bind.h"
#include "base/logging.h"
#include "base/run_loop.h"
... | null | null | null | null | 4,473 |
57,231 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,231 | 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_FIRST_RUN_STEPS_APP_LIST_STEP_H_
#define CHROME_BROWSER_CHROMEOS_FIRST_RUN_STEPS_APP_LIST_STEP_H_
#include "base/macros.h... | null | null | null | null | 54,094 |
6,081 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 171,076 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* sst_mfld_platform.h - Intel MID Platform driver header file
*
* Copyright (C) 2010 Intel Corp
* Author: Vinod Koul <vinod.koul@intel.com>
* Author: Harsha Priya <priya.harsha@intel.com>
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you... | null | null | null | null | 79,423 |
1,165 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 260,120 | php-src | 0 | https://github.com/php/php-src | 2016-10-24 10:37:20+01:00 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | null | null | null | null | 120,041 |
2,224 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 155,281 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* JPEG 2000 DSP functions
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.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... | null | null | null | null | 71,336 |
14,006 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 179,001 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Port on Texas Instruments TMS320C6x architecture
*
* Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated
* Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | null | null | null | null | 87,348 |
11,847 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 11,847 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_
#define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_
#include <stddef.h>
#include <memory>
... | null | null | null | null | 8,710 |
20,133 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 185,128 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (c) 2015, Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this so... | null | null | null | null | 93,475 |
27,095 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,095 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /* Copyright (c) 2002-2008 Jean-Marc Valin
Copyright (c) 2007-2008 CSIRO
Copyright (c) 2007-2009 Xiph.Org Foundation
Written by Jean-Marc Valin */
/**
@file mathops.h
@brief Various math functions
*/
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted p... | null | null | null | null | 23,958 |
313 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,157 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* tests/resolve/addrinfo-test.c */
/*
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Govern... | null | null | null | null | 73,465 |
57,845 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,845 | 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_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_UTIL_H_
#include "storage/com... | null | null | null | null | 54,708 |
3,725 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 3,725 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_CLIENT_H_
#define IOS_NET_COOKIES_COOKIE_STORE_IOS_CLIENT_H_
#include "base/macros.h"
#include "base/memory/ref_... | null | null | null | null | 588 |
6,811 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 6,811 | 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 NET_PROXY_RESOLUTION_PROXY_RESOLVER_V8_TRACING_WRAPPER_H_
#define NET_PROXY_RESOLUTION_PROXY_RESOLVER_V8_TRACING_WRAPPER_H_
#include <memory>
#i... | null | null | null | null | 3,674 |
28,039 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 28,039 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... | null | null | null | null | 24,902 |
25,692 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 190,687 | 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,034 |
69,460 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 69,460 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* ptw32_getprocessors.c
*
* Description:
* This translation unit implements routines which are private to
* the implementation and may be used throughout it.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyr... | null | null | null | null | 66,323 |
27,385 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,385 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | #ifndef _YASM_LIBYASM_STDINT_H
#define _YASM_LIBYASM_STDINT_H 1
#ifndef _GENERATED_STDINT_H
#define _GENERATED_STDINT_H "yasm 1.1.0"
/* generated using gcc -std=gnu99 */
#define _STDINT_HAVE_STDINT_H 1
#include <stdint.h>
#endif
#endif
| null | null | null | null | 24,248 |
9,236 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 174,231 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /**
* OMAP and TWL PMIC specific initializations.
*
* Copyright (C) 2010 Texas Instruments Incorporated.
* Thara Gopinath
* Copyright (C) 2009 Texas Instruments Incorporated.
* Nishanth Menon
* Copyright (C) 2009 Nokia Corporation
* Paul Walmsley
*
* This program is free software; you can redistribute it and/... | null | null | null | null | 82,578 |
25,632 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 25,632 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/browser/extension_prefs_factory.h"
#include <utility>
#include "base/command_line.h"
#include "components/keyed_service/content/bro... | null | null | null | null | 22,495 |
52,541 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 52,541 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CDM_LIBRARY_CDM_CLEAR_KEY_CDM_CDM_HOST_PROXY_H_
#define MEDIA_CDM_LIBRARY_CDM_CLEAR_KEY_CDM_CDM_HOST_PROXY_H_
#include "media/cdm/api/conte... | null | null | null | null | 49,404 |
267 | 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24 | train_val | 4ab22cfc619ee8ff17a8c50e289ec3b30731ceba | 267 | Chrome | 1 | https://github.com/chromium/chromium | 2011-06-09 21:20:19+00:00 | void InitChromeDriverLogging(const CommandLine& command_line) {
bool success = InitLogging(
FILE_PATH_LITERAL("chromedriver.log"),
logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG,
logging::LOCK_LOG_FILE,
logging::DELETE_OLD_LOG_FILE,
logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS... | CVE-2011-2802 | CWE-399 | https://github.com/chromium/chromium/commit/4ab22cfc619ee8ff17a8c50e289ec3b30731ceba | Medium | 267 |
3,165 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,160 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Procfs support for lockd
*
* Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com>
*/
#include <linux/fs.h>
#include <linux/proc_fs.h>
#include <linux/module.h>
#include <linux/nsproxy.h>
#include <net/net_namespace.h>
#include "netns.h"
#include "procfs.h"
/*
* We only allow strings that start with 'Y'... | null | null | null | null | 76,508 |
18,636 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 183,631 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Aic94xx SAS/SATA driver access to shared data structures and memory
* maps.
*
* Copyright (C) 2005 Adaptec, Inc. All rights reserved.
* Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
*
* This file is licensed under GPLv2.
*
* This file is part of the aic94xx driver.
*
* The aic94xx driver i... | null | null | null | null | 91,978 |
70,383 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 70,383 | 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 DEVICE_VR_OPENVR_DEVICE_H
#define DEVICE_VR_OPENVR_DEVICE_H
#include <memory>
#include "base/macros.h"
#include "base/single_thread_task_runner.... | null | null | null | null | 67,246 |
10,848 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 10,848 | 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 MOJO_EDK_SYSTEM_PORTS_USER_MESSAGE_H_
#define MOJO_EDK_SYSTEM_PORTS_USER_MESSAGE_H_
#include "base/component_export.h"
#include "base/macros.h"
... | null | null | null | null | 7,711 |
11,128 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 176,123 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2002 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <poll.h>
#include <pty.h>
#include <sched.h>
#include <signal.h>
#include <string.h>
#include <kern_util.h>
#include <init.h>
#include <os.h>
#inc... | null | null | null | null | 84,470 |
4,107 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 4,107 | 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_WEB_REPOST_FORM_TAB_HELPER_DELEGATE_H_
#define IOS_CHROME_BROWSER_WEB_REPOST_FORM_TAB_HELPER_DELEGATE_H_
#import <Foundation/F... | null | null | null | null | 970 |
23,929 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,924 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Backlight driver for Analog Devices ADP8870 Backlight Devices
*
* Copyright 2009-2011 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#incl... | null | null | null | null | 97,271 |
29,637 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 29,637 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
** 2001 September 15
**
** 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,500 |
920 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 263,488 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | #include "io.h"
int main(void)
{
long long achi, acli, rs, rt;
long long acho, aclo;
long long resulth, resultl;
rs = 0x00BBAACC;
rt = 0x0B1C3D2F;
achi = 0x00004433;
acli = 0xFFCC0011;
resulth = 0xFFFFFFFFFFF81F29;
resultl = 0xFFFFFFFFB355089D;
__asm
("... | null | null | null | null | 121,612 |
58,272 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 58,272 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/win/chrome_select_file_dialog_factory.h"
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/bind_helper... | null | null | null | null | 55,135 |
65,386 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 65,386 | 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_ASH_KSV_KEYBOARD_SHORTCUT_VIEWER_UTIL_H_
#define CHROME_BROWSER_UI_ASH_KSV_KEYBOARD_SHORTCUT_VIEWER_UTIL_H_
namespace keyboard_... | null | null | null | null | 62,249 |
31,931 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 196,926 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* MPC52xx gpio driver
*
* Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distri... | null | null | null | null | 105,273 |
55,920 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 55,920 | 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_TRACING_CRASH_SERVICE_UPLOADER_H_
#define CHROME_BROWSER_TRACING_CRASH_SERVICE_UPLOADER_H_
#include <stdint.h>
#include <memory>
... | null | null | null | null | 52,783 |
87 | null | train_val | 1b0d3845b454eaaac0b2064c78926ca4d739a080 | 262,655 | qemu | 0 | https://github.com/bonzini/qemu | 2016-10-18 11:40:27+01:00 | /*
* QEMU System Emulator
*
* Copyright (c) 2003-2008 Fabrice Bellard
*
* 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
* ... | null | null | null | null | 120,779 |
39,241 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 204,236 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2012 Intel Corporation
* Author: Jim Kukunas <james.t.kukunas@linux.intel.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License.
*/
#ifdef... | null | null | null | null | 112,583 |
23,091 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,091 | 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 <stdint.h>
#include <tuple>
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/optional.h... | null | null | null | null | 19,954 |
57,448 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,448 | 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/chromeos/attestation/enrollment_policy_observer.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#includ... | null | null | null | null | 54,311 |
15,036 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 180,031 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* RouterBoard 500 Platform devices
*
* Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2007 Florian Fainelli <florian@openwrt.org>
*
* 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 Fre... | null | null | null | null | 88,378 |
27,521 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 27,521 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | null | null | null | null | 24,384 |
41,663 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,663 | 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.
// Make sure things in namespace WTF are also renamed.
namespace WTF {
int g_making_globals_great_again = 0;
void RunTheThing(int chicken) {}
class Xml... | null | null | null | null | 38,526 |
35,843 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 200,838 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2015 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program ... | null | null | null | null | 109,185 |
43,536 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 208,531 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef __LINUX_BRIDGE_EBT_LIMIT_H
#define __LINUX_BRIDGE_EBT_LIMIT_H
#include <linux/types.h>
#define EBT_LIMIT_MATCH "limit"
/* timings are in milliseconds. */
#define EBT_LIMIT_SCALE 10000
/* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490
seconds, or one every 59 hours. */
struct ebt_limi... | null | null | null | null | 116,878 |
33,189 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 198,184 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* I2C adapter for the IMG Serial Control Bus (SCB) IP block.
*
* Copyright (C) 2009, 2010, 2012, 2014 Imagination Technologies 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 Foun... | null | null | null | null | 106,531 |
8,576 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 173,571 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | #ifndef _ASM_SCORE_KDEBUG_H
#define _ASM_SCORE_KDEBUG_H
#include <asm-generic/kdebug.h>
#endif /* _ASM_SCORE_KDEBUG_H */
| null | null | null | null | 81,918 |
20,292 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 20,292 | 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_NOTIFICATION_DATABASE_DATA_H_
#define CONTENT_PUBLIC_BROWSER_NOTIFICATION_DATABASE_DATA_H_
#include <stdint.h>
#include <s... | null | null | null | null | 17,155 |
44,323 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 44,323 | 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.
*/
/* From ppb_tcp_socket.idl modified Mon Dec 8 16:50:44 2014. */
#ifndef PPAPI_C_PPB_TCP_SOCKET_H_
#define PPAPI_C_PPB_TCP_SOCKET_H_
#include "ppapi... | null | null | null | null | 41,186 |
23,779 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 23,779 | 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 "content/browser/devtools/protocol/target_handler.h"
#include "base/json/json_reader.h"
#include "base/strings/stringprintf.h"
#include "base/va... | null | null | null | null | 20,642 |
34,712 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 34,712 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* This file is part of the WebKit project.
*
* Copyright (C) 2009 Michelangelo De Simone <micdesim@gmail.com>
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as publ... | null | null | null | null | 31,575 |
15,967 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 15,967 | 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/js_mutation_event_observer.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/locatio... | null | null | null | null | 12,830 |
730 | null | train_val | c536b6be1a72aefd632d5530106a67c516cb9f4b | 257,117 | 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,562 |
34,662 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,657 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* mxl111sf-phy.c - driver for the MaxLinear MXL111SF
*
* Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | null | null | null | null | 108,004 |
63,538 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 63,538 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/extensions/browser_action_test_util.h"
#include <stddef.h>
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#inclu... | null | null | null | null | 60,401 |
23,849 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 188,844 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* linux/drivers/video/mmp/common.c
* This driver is a common framework for Marvell Display Controller
*
* Copyright (C) 2012 Marvell Technology Group Ltd.
* Authors: Zhou Zhu <zzhu3@marvell.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General P... | null | null | null | null | 97,191 |
66,236 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 66,236 | 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_MEDIA_ROUTER_PROVIDERS_WIRED_DISPLAY_WIRED_DISPLAY_MEDIA_ROUTE_PROVIDER_H_
#define CHROME_BROWSER_MEDIA_ROUTER_PROVIDERS_WIRED_DISP... | null | null | null | null | 63,099 |
49,626 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 49,626 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/views/app_list_view.h"
#include <stddef.h>
#include <algorithm>
#include <map>
#include <string>
#include <utility>
#include <vect... | null | null | null | null | 46,489 |
4,533 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 169,528 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Copyright (C) 2008 Oracle. 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 v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | null | null | null | null | 77,875 |
796 | null | train_val | 31e986bc171719c9e6d40d0c2cb1501796a69e6c | 259,751 | 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,672 |
34,117 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 199,112 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
mailbox functions
Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
Copyright (C) 2004 Chris Kennedy <c@groovy.org>
Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gene... | null | null | null | null | 107,459 |
10,623 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 175,618 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* arch/arm/plat-iop/pci.c
*
* PCI support for the Intel IOP32X and IOP33X processors
*
* Author: Rory Bolt <rorybolt@pacbell.net>
* Copyright (C) 2002 Rory Bolt
*
* 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
* pub... | null | null | null | null | 83,965 |
1,101 | null | train_val | 04b570817b2b38e35675b17328239746212f4c3f | 154,158 | FFmpeg | 0 | https://github.com/FFmpeg/FFmpeg | 2018-06-01 01:23:12+05:30 | /*
* JPEG 2000 image decoder
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.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... | null | null | null | null | 70,213 |
17,235 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 17,235 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_COMMON_QUADS_RENDER_PASS_DRAW_QUAD_H_
#define COMPONENTS_VIZ_COMMON_QUADS_RENDER_PASS_DRAW_QUAD_H_
#include <stddef.h>
#include <... | null | null | null | null | 14,098 |
33,508 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 33,508 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* This file is part of the theme implementation for form controls in WebCore.
*
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
*
* 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 b... | null | null | null | null | 30,371 |
41,296 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 41,296 | 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 <stddef.h>
#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "tools/gn/pattern.h"
namespace {
struct Case {... | null | null | null | null | 38,159 |
29,591 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 194,586 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC
*
* Copyright (C) 2012 Samsung Electronics
* Donggeun Kim <dg77.kim@samsung.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 Soft... | null | null | null | null | 102,933 |
903 | 52,65 | train_val | be0726d33cb8f411945884664924bed3cb8c70ee | 165,898 | linux | 1 | https://github.com/torvalds/linux | 2016-02-22 11:56:38-05:00 | ext2_xattr_get(struct inode *inode, int name_index, const char *name,
void *buffer, size_t buffer_size)
{
struct buffer_head *bh = NULL;
struct ext2_xattr_entry *entry;
size_t name_len, size;
char *end;
int error;
ea_idebug(inode, "name=%d.%s, buffer=%p, buffer_size=%ld",
name_index, name, buffer, (long)buffer_size);
... | CVE-2015-8952 | CWE-19 | https://github.com/torvalds/linux/commit/be0726d33cb8f411945884664924bed3cb8c70ee | Low | 3,792 |
32,259 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 197,254 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* sata_nv.c - NVIDIA nForce SATA
*
* Copyright 2004 NVIDIA Corp. All rights reserved.
* Copyright 2004 Andrew Chew
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... | null | null | null | null | 105,601 |
42,968 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 42,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 BASE_TEST_FUZZED_DATA_PROVIDER_H_
#define BASE_TEST_FUZZED_DATA_PROVIDER_H_
#include <stdint.h>
#include <string>
#include "base/base_export.h"... | null | null | null | null | 39,831 |
7,817 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 7,817 | 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 NET_CERT_CERT_STATUS_FLAGS_H_
#define NET_CERT_CERT_STATUS_FLAGS_H_
#include <stdint.h>
#include "net/base/net_export.h"
namespace net {
/... | null | null | null | null | 4,680 |
50,607 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,607 | 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/host/drm_device_handle.h"
#include <fcntl.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <utility>
#include "... | null | null | null | null | 47,470 |
57,998 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 57,998 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/settings/shutdown_policy_handler.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/run_loop.h"
#i... | null | null | null | null | 54,861 |
341 | null | train_val | 83ed75feba32e46f736fcce0d96a0445f29b96c2 | 162,185 | krb5 | 0 | https://github.com/krb5/krb5 | 2016-01-27 15:43:28-05:00 | /* edit.c */
#include <windows.h>
#include <commdlg.h>
#include <ctype.h>
#include <assert.h>
#include "screen.h"
char *cInvertedArray;
int bMouseDown = FALSE;
int bSelection;
static int iLocStart;
static int iLocEnd;
void Edit_LbuttonDown(
HWND hWnd,
LPARAM lParam)
{
SCREEN *pScr;
HMENU hMenu;
... | null | null | null | null | 73,493 |
30,426 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 30,426 | 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_PUBLIC_PLATFORM_WEB_NATIVE_SCROLL_BEHAVIOR_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_NATIVE_SCROLL_BEHAVIOR_H_
namespace... | null | null | null | null | 27,289 |
5,296 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 170,291 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c
* which contain:
*
* Author: Nicolas Pitre
* Created: Dec 02, 2004
* Copyright: MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version ... | null | null | null | null | 78,638 |
154 | 1,2,3 | train_val | b3ae5db129f88dae153880e84bdabea8ce2ca89b | 154 | Chrome | 1 | https://github.com/chromium/chromium | 2010-12-23 18:32:38+00:00 | void CrosLibrary::TestApi::SetUpdateLibrary(
UpdateLibrary* library, bool own) {
library_->update_lib_.SetImpl(library, own);
}
| CVE-2011-1300 | CWE-189 | https://github.com/chromium/chromium/commit/b3ae5db129f88dae153880e84bdabea8ce2ca89b | Low | 154 |
3,176 | null | train_val | e4311ee51d1e2676001b2d8fcefd92bdd79aad85 | 168,171 | linux | 0 | https://github.com/torvalds/linux | 2017-05-12 08:32:58+10:00 | /*
* /proc/sys support
*/
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/printk.h>
#include <linux/security.h>
#include <linux/sched.h>
#include <linux/cred.h>
#include <linux/namei.h>
#include <linux/mm.h>
#include <linux/module.h>
#include "inter... | null | null | null | null | 76,519 |
68,308 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 68,308 | 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 "remoting/host/username.h"
#include <vector>
#include "base/logging.h"
#include "build/build_config.h"
#if defined(OS_POSIX)
#include <pwd.h>
... | null | null | null | null | 65,171 |
36,119 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 36,119 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | /*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* (C) 2000 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it ... | null | null | null | null | 32,982 |
39,714 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 39,714 | 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/canvas/canvas2d/base_rendering_context_2d.h"
#include "third_party/blink/renderer/bindings/core/v8/exception... | null | null | null | null | 36,577 |
50,047 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 50,047 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/win/open_file_name_win.h"
#include <stddef.h>
#include "base/files/file_path.h"
#include "base/macros.h"
#include "testing/gtest/i... | null | null | null | null | 46,910 |
43,996 | null | train_val | 796a0e014bc3985709c0a35538d606ef1da31e1b | 43,996 | Chrome | 0 | https://github.com/chromium/chromium | 2018-04-07 23:43:03+00:00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PPAPI_TESTS_TEST_GRAPHICS_2D_H_
#define PPAPI_TESTS_TEST_GRAPHICS_2D_H_
#include <string>
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/p... | null | null | null | null | 40,859 |
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.