text
stringlengths
8
99.9k
meta
dict
#include <cmath> #include "mex.h" #include "segment-image.h" #define UInt8 char /* * Segment an image * * Matlab Wrapper around the code of Felzenszwalb and Huttenlocher created * by Jasper Uijlings, 2012 * * Returns a color image representing the segmentation. * JASPER: Random is replaced by ...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @class NSArray, NSBundle, NSLock, NSMutableDictionary, NSString; @protocol WFApplicationContextProvider; @i...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CDStructures.h" @class IDEArchive, IDEDistributionItem, NSString; @protocol IDEDistributionAppleProvidedContent @property(readonly) NSString *mainAppStubCopySubpath; @prop...
{ "pile_set_name": "Github" }
/** @file Ray.h Ray class @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2002-07-12 @edited 2009-06-29 */ #ifndef G3D_Ray_h #define G3D_Ray_h #include "G3D/platform.h" #include "G3D/Vector3.h" #include "G3D/Triangle.h" namespace G3D { /** A 3D Ray. */ class Ray { private: fr...
{ "pile_set_name": "Github" }
/* 20021118-2.c from the execute part of the gcc torture suite. */ #include <testfwk.h> #ifdef __SDCC #pragma std_c99 #endif /* Since these tests use function pointers with multiple parameters */ /* we can only proceed if we are compiling reentrant functions. */ #ifdef __SDCC_STACK_AUTO /* Originally added to ...
{ "pile_set_name": "Github" }
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2012, Digium, Inc. * * Russell Bryant <russell@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the proje...
{ "pile_set_name": "Github" }
#define HAVE_GETENV 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIBPAPER 1 #define HAVE_LIBPNG 1 #define HAVE_STDINT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_TIMEZONE 1 #define HAVE_TM_GMTOFF 1 #define HAVE_ZLIB 1 #define HAVE_ZLIB_COMPRESS2 1 #define VERSION "20200926" #if defined(__gnu_li...
{ "pile_set_name": "Github" }
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class ibex_icache_core_back_line_seq extends ibex_icache_core_base_seq; `uvm_object_utils(ibex_icache_core_back_line_seq) `uvm_object_new bit req_phase = ...
{ "pile_set_name": "Github" }
// Copyright 2014 the V8 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. function Module(stdlib, foreign, heap) { "use asm"; var MEM64 = new stdlib.Float64Array(heap); function load(i) { i = i|0; return +MEM64[i...
{ "pile_set_name": "Github" }
// Copyright Peter Dimov 2001 // Copyright Aleksey Gurtovoy 2001-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // *Preprocessed* version of the main "bind.hpp" header // -- DO NOT modif...
{ "pile_set_name": "Github" }
/* Copyright 2019 The TensorFlow 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 applicable law or a...
{ "pile_set_name": "Github" }
/* * SH4 emulation * * Copyright (c) 2005 Samuel Tardieu * * 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 your option) any later versi...
{ "pile_set_name": "Github" }
// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master // Code generated by the command above; see README.md. DO NOT EDIT. // +build arm,netbsd package unix const ( SYS_EXIT = 1 // { void|sys||exit(int rval); } SYS_FORK = 2 // { int|sys...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. */ #include "xfs.h" #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" #include "xfs_log_format.h" #include "xfs_trans_resv.h" #include "xfs_mount.h" #include "xfs_defer.h" #include "xfs_da...
{ "pile_set_name": "Github" }
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
{ "pile_set_name": "Github" }
/* * URL Cache Tests * * Copyright 2008 Robert Shearman for CodeWeavers * * 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.1 of the License, or (at your option) ...
{ "pile_set_name": "Github" }
/* This file is part of Darling. Copyright (C) 2017 Lubos Dolezel Darling 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 3 of the License, or (at your option) any later version. Darling i...
{ "pile_set_name": "Github" }
// // impl/io_context.hpp // ~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef NET_TS_IMPL_IO_CONTEX...
{ "pile_set_name": "Github" }
// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 9D29BADA196C85A600A166C4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D29BAD9196C85A600A166C4 /* AppDelegate.swift */; }; 9D29BADC196C85A600A166C4 /* ViewController.swift...
{ "pile_set_name": "Github" }
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/Message.framework/Message */ #import <Message/MFMailDelivery.h> @class MFSMTPConnection; @interface MFSMTPDelivery : MFMailDelivery { MFSMTPConnection *_connection; // 52 = 0x34 } - (void)dealloc; // 0x39949 - (Cl...
{ "pile_set_name": "Github" }
// Copyright (C) 2012 von Karman Institute for Fluid Dynamics, Belgium // // This software is distributed under the terms of the // GNU Lesser General Public License version 3 (LGPLv3). // See doc/lgpl.txt and doc/gpl.txt for the license text. #ifndef COOLFluiD_Framework_Namespace_hh #define COOLFluiD_Framework_Namesp...
{ "pile_set_name": "Github" }
// MIT License - Copyright (c) Callum McGing // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package using System; using System.Runtime.InteropServices; namespace LibreLancer.ImUI { static class Gtk3 { public const string LIB="libgtk-3.so.0"; pu...
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -fsyntax-only -verify %s int *test1(int *a) { return a + 1; } int *test2(int *a) { return 1 + a; } int *test3(int *a) { return a - 1; } int test4(int *a, int *b) { return a - b; } int test5(int *a, int *b) { return a + b; } /* expected-error {{invalid operands}} */ int *te...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> __attribute__((visibility("hidden"))) @interface OAVColor : NSObject { } + (id)readColorFromAttribute:(id)a...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
{ "pile_set_name": "Github" }
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build linux // +build ppc64 ppc64le // +build !gccgo #include "textflag.h" // // System calls for ppc64, Linux // // Just jump to package syscall's imple...
{ "pile_set_name": "Github" }
#ifndef __MATROXFB_TI3026_H__ #define __MATROXFB_TI3026_H__ #include "matroxfb_base.h" #ifdef CONFIG_FB_MATROX_MILLENIUM extern struct matrox_switch matrox_millennium; #endif #endif /* __MATROXFB_TI3026_H__ */
{ "pile_set_name": "Github" }
#ifndef COOLFluiD_Numerics_SubSystemCoupler_FluidSolidHeatPostVariableTransformerFVMCC_hh #define COOLFluiD_Numerics_SubSystemCoupler_FluidSolidHeatPostVariableTransformerFVMCC_hh ////////////////////////////////////////////////////////////////////// #include "PostVariableTransformer.hh" ////////////////////////////...
{ "pile_set_name": "Github" }
// // ts/io_context.hpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef ASIO_TS_IO_CONTEXT_HPP #d...
{ "pile_set_name": "Github" }
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build arm,openbsd package unix func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: int32(nsec)} } func setTimeval(sec, usec int...
{ "pile_set_name": "Github" }
void foobar() { switch (1) { default: foobar(); case 1: break; } }
{ "pile_set_name": "Github" }
/* * Copyright (c) 2015, Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "fsl_flexio_i2s_edma.h" /* Component ID definition, used by tools. */ #ifndef FSL_COMPONENT_ID #define FSL_COMPONENT_ID "platform.drivers.flexio_i2s_edma"...
{ "pile_set_name": "Github" }
// // detail/impl/service_registry.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #if...
{ "pile_set_name": "Github" }
/* Benjamin DELPY `gentilkiwi` http://blog.gentilkiwi.com benjamin@gentilkiwi.com Licence : https://creativecommons.org/licenses/by/4.0/ Samba module for CVE-2017-7494 ( https://www.samba.org/samba/security/CVE-2017-7494.html ) cc -m32 -shared -o lib_smb_pipe_x86.so -fPIC lib_smb_pipe.c cc -m64 -shared -o lib_s...
{ "pile_set_name": "Github" }
/* IMPORTANT! This file is auto-generated each time you save your project - if you alter its contents, your changes may be overwritten! */ #include "AppConfig.h" #include <juce_audio_plugin_client/juce_audio_plugin_client_VST_utils.mm>
{ "pile_set_name": "Github" }
// 练习10.24:给定一个string,使用bind和check_size在一个int的vector中 // 查找第一个大于string长度的值。 #include <iostream> #include <string> #include <vector> #include <algorithm> #include <functional> using namespace std; using namespace std::placeholders; bool check_size(const string &s, string::size_type sz) { return s.size() < sz; } int...
{ "pile_set_name": "Github" }
/* vm.cc Jeremy Barnes, 22 February 2010 Copyright (c) 2010 Jeremy Barnes. All rights reserved. Virtual memory functions. */ #include "vm.h" #include "jml/arch/format.h" #include "jml/arch/exception.h" #include "jml/utils/guard.h" #include "jml/utils/info.h" #include <sys/types.h> #include <sys/stat.h> #in...
{ "pile_set_name": "Github" }
module Test.Internal.KernelConstants exposing (kernelConstants) {-| This module defines the mapping of optimized field name and enum values for kernel code in other packages the we depend on. -} {-| NOTE: this is duplicating constants also defined in src/Elm/Kernel/HtmlAsJson.js so if you make any changes here, be s...
{ "pile_set_name": "Github" }
// RUN: llvm-mc -triple aarch64-elf -filetype=obj %s -o - | llvm-objdump -d -r - | FileCheck %s .macro do_add sz add v0.\sz, v0.\sz, v0.\sz .endm do_add 8h // CHECK: add v0.8h, v0.8h, v0.8h
{ "pile_set_name": "Github" }
/* * Copyright (C) 2013 Politecnico di Torino, Italy * TORSEC group -- http://security.polito.it * * Author: Roberto Sassu <roberto.sassu@polito.it> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published b...
{ "pile_set_name": "Github" }
//===-------------- lib/Support/BranchProbability.cpp -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
//===- llvm/Analysis/DominanceFrontier.h - Dominator Frontiers --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
/* Area: ffi_call Purpose: Check structures. Limitations: none. PR: none. Originator: From the original ffitest.c */ /* { dg-do run } */ #include "ffitest.h" typedef struct { double d1; double d2; } test_structure_2; static test_structure_2 ABI_ATTR struct2(test_structure_2 ts) { ts.d1--; ts.d2...
{ "pile_set_name": "Github" }
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: CTRLA, #[doc = "0x01 - Reference Control"] pub refctrl: REFCTRL, #[doc = "0x02 - Average Control"] pub avgctrl: AVGCTRL, #[doc = "0x03 - Sampling Time Control"] pub sampctrl: SAMPCTRL,...
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0 armada-y := armada_crtc.o armada_drv.o armada_fb.o armada_fbdev.o \ armada_gem.o armada_overlay.o armada_trace.o armada-y += armada_510.o armada-$(CONFIG_DEBUG_FS) += armada_debugfs.o obj-$(CONFIG_DRM_ARMADA) := armada.o
{ "pile_set_name": "Github" }
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
{ "pile_set_name": "Github" }
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
{ "pile_set_name": "Github" }
#include <glm/vector_relational.hpp> #include <glm/mat2x2.hpp> #include <glm/mat2x3.hpp> #include <glm/mat2x4.hpp> #include <glm/mat3x2.hpp> #include <glm/mat3x3.hpp> #include <glm/mat3x4.hpp> #include <glm/mat4x2.hpp> #include <glm/mat4x3.hpp> #include <glm/mat4x4.hpp> #include <vector> static bool test_operators() {...
{ "pile_set_name": "Github" }
/* The PyObject_ memory family: high-level object memory interfaces. See pymem.h for the low-level PyMem_ family. */ #ifndef Py_OBJIMPL_H #define Py_OBJIMPL_H #include "pymem.h" #ifdef __cplusplus extern "C" { #endif /* BEWARE: Each interface exports both functions and macros. Extension modules should u...
{ "pile_set_name": "Github" }
softing-y := softing_main.o softing_fw.o obj-$(CONFIG_CAN_SOFTING) += softing.o obj-$(CONFIG_CAN_SOFTING_CS) += softing_cs.o ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
{ "pile_set_name": "Github" }
// Copyright 2013 Google Inc. 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 applicable...
{ "pile_set_name": "Github" }
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESCommitInfo; @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API ...
{ "pile_set_name": "Github" }
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !gccgo #include "textflag.h" TEXT ·use(SB),NOSPLIT,$0 RET
{ "pile_set_name": "Github" }
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
{ "pile_set_name": "Github" }
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Preprocessed version of "boost/mpl/or.hpp" header // -- DO NOT modify by hand! namespace boost { namespace mpl...
{ "pile_set_name": "Github" }
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build gccgo // +build !aix #include <errno.h> #include <stdint.h> #include <unistd.h> #define _STRINGIFY2_(x) #x #define _STRINGIFY_(x) _STRINGIFY2_(x) #d...
{ "pile_set_name": "Github" }
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard // Hinnant & John Maddock 2000. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // // See http://www.boo...
{ "pile_set_name": "Github" }
/* * Based on nios2-generic.c: * (C) Copyright 2005, Psyent Corporation <www.psyent.com> * Scott McNutt <smcnutt@psyent.com> * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <netdev.h> int board_early_init_f(void) { return 0; } int...
{ "pile_set_name": "Github" }
//------------------------------------------------------------------------------ // GB_assign_zombie5: delete entries in C for C_replace_phase //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved. // http://suite...
{ "pile_set_name": "Github" }
// RUN: llvm-tblgen -gen-disassembler -I %p/../../include %s | FileCheck %s // Check that we don't generate invalid code of the form "( && Cond2)" when // emitting AssemblerPredicate conditions. In the example below, the invalid // code would be: "return ( && (Bits & arch::AssemblerCondition2));". include "llvm/Targe...
{ "pile_set_name": "Github" }
/* Request key authorisation token key definition. * * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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 ...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
{ "pile_set_name": "Github" }
# This function splits the sources files up into their appropriate # subdirectories. This is especially useful for IDEs like Xcode and # Visual Studio, so that you can navigate into the libgit2_clar project, # and see the folders within the tests folder (instead of just seeing all # source and tests in a single folder...
{ "pile_set_name": "Github" }
/* * jpeglib.h * * Copyright (C) 1991-1998, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * Visit the website at: http://www.ijg.org/ * * This file defines the application interface for the JPEG library. ...
{ "pile_set_name": "Github" }
#ifndef TRISYCL_SYCL_DETAIL_LINEAR_ID_HPP #define TRISYCL_SYCL_DETAIL_LINEAR_ID_HPP /** \file Compute linearized array access Ronan at Keryell point FR This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details. */ #include <cstddef> namespace trisycl::de...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PLATFORM_DEF_H #define PLATFORM_DEF_H #include <lib/utils_def.h> #include <sgi_base_platform_def.h> #define PLAT_ARM_CLUSTER_COUNT U(4) #define CSS_SGI_MAX_CPUS_PER_CLUSTER U(1) #defi...
{ "pile_set_name": "Github" }
#ifndef BOOST_ARCHIVE_DETAIL_POLYMORPHIC_OARCHIVE_ROUTE_HPP #define BOOST_ARCHIVE_DETAIL_POLYMORPHIC_OARCHIVE_ROUTE_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // polymorphic_oarchive_ro...
{ "pile_set_name": "Github" }
# # WL#9263 Independent compress/decompress of BLOB pages # set global innodb_compression_level = 0; create table t1 (f1 int primary key, f2 longblob) row_format=compressed, engine=innodb; insert into t1 values (1, repeat('+', 40000)); set debug = '+d,lob_insert_single_zstream'; insert into t1 values (2, repeat('~', 4...
{ "pile_set_name": "Github" }