text stringlengths 8 99.9k | meta dict |
|---|---|
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMPOLICIESSharedFolderJoinPolicy;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `SharedFolderJoinPolicy`... | {
"pile_set_name": "Github"
} |
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED... | {
"pile_set_name": "Github"
} |
--- sandbox/linux/BUILD.gn.orig 2019-04-08 08:18:26 UTC
+++ sandbox/linux/BUILD.gn
@@ -12,12 +12,12 @@ if (is_android) {
}
declare_args() {
- compile_suid_client = is_linux
+ compile_suid_client = is_linux && !is_bsd
- compile_credentials = is_linux
+ compile_credentials = is_linux && !is_bsd
# On Androi... | {
"pile_set_name": "Github"
} |
#ifndef CREATE_EMPTY_DIRECTED_GRAPH_WITH_GRAPH_NAME_H
#define CREATE_EMPTY_DIRECTED_GRAPH_WITH_GRAPH_NAME_H
#include <boost/graph/adjacency_list.hpp>
boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS,
boost::no_property, boost::no_property,
boost::property<boost::graph_name_t, std::string>>
create_... | {
"pile_set_name": "Github"
} |
#if !defined(BOOST_PP_IS_ITERATING)
///// header body
#ifndef BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED
#define BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.tx... | {
"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 2004-present Facebook. All Rights Reserved.
#include "SamplingProfilerJniMethod.h"
#include <JavaScriptCore/JSProfilerPrivate.h>
#include <jschelpers/JSCHelpers.h>
#include <jni.h>
#include <string>
using namespace facebook::jni;
namespace facebook {
namespace react {
/* static */ jni::local_ref<Samp... | {
"pile_set_name": "Github"
} |
#include <bits/stdc++.h>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define se second
#define pb(x) push_back(x)
#define mp(x,y) make_pair(x,y)
#define LET(x, a) __typeof(a) x(a)
#define foreach(it, v) for(LET(it, v.begin()); it != v... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -emit-llvm -triple i386-apple-macosx10.7.2 < %s | FileCheck %s
// The preferred alignment for a long long on x86-32 is 8; make sure the
// alloca for x uses that alignment.
int test (long long x) {
return (int)x;
}
// CHECK-LABEL: define i32 @test
// CHECK: alloca i64, align 8
// Make sure we ho... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can ob... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2005-2006 The Trustees of Indiana University.
// Use, modification and distribution is 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
#i... | {
"pile_set_name": "Github"
} |
/** @file
Intel Processor Power Management ACPI Code.
Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPowerMgmt.h"
DefinitionBlock (
"CPU0PSD.aml",
"SSDT",
0x02,
"PmRef",
"Cpu0Psd",
0x3000
)
{
... | {
"pile_set_name": "Github"
} |
--- contrib/virt.te 2012-11-25 21:35:09.181247450 +0100
+++ contrib/virt.te 2012-11-25 21:34:09.223216815 +0100
@@ -281,7 +281,11 @@
userdom_search_user_home_dirs(virt_domain)
userdom_read_all_users_state(virt_domain)
-qemu_exec(virt_domain)
+ifdef(`distro_gentoo',`
+ optional_policy(`
+ qemu_exec(virt_domain)
+ '... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2018 Kohei Takahashi
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)
=============================================... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1995-2018 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... | {
"pile_set_name": "Github"
} |
#include "api_config.h"
#include "common.h"
#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/algorithm/string.hpp>
// === implementation of the api_config class ===
using namespace lsl;
using namespace lslboost::algorithm;
/// Helper function:... | {
"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/apply_wrap.hpp" header
// -- DO NOT modify by hand!
namespace boost { names... | {
"pile_set_name": "Github"
} |
--- a/pppd/sha1.c
+++ b/pppd/sha1.c
@@ -18,7 +18,7 @@
#include <string.h>
#include <netinet/in.h> /* htonl() */
-#include <net/ppp_defs.h>
+#include "pppd.h"
#include "sha1.h"
static void
| {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <memory.h>
#include <malloc.h>
#include <time.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <errno.h>
#include <sys/time.h>
#in... | {
"pile_set_name": "Github"
} |
//
// Created by Fabrice Aneche on 06/01/14.
// Copyright (c) 2014 Dailymotion. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSData (ImageContentType)
/**
* Compute the content type for an image data
*
* @param data the input data
*
* @return the content type as string (i.e. image/jpe... | {
"pile_set_name": "Github"
} |
#include "ExtractionOptionsJsonObject.h"
#include <regex>
namespace polycube {
namespace service {
namespace model {
ExtractionOptionsJsonObject::ExtractionOptionsJsonObject() {
m_swapOnRead = false;
m_swapOnReadIsSet = true;
m_emptyOnRead = false;
m_emptyOnReadIsSet = true... | {
"pile_set_name": "Github"
} |
/*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later v... | {
"pile_set_name": "Github"
} |
#include <elle/das/tuple.hh>
#include <elle/test.hh>
#include <elle/serialization/json.hh>
#include <elle/das/Symbol.hh>
#include <elle/das/serializer.hh>
ELLE_DAS_SYMBOL(foo);
ELLE_DAS_SYMBOL(bar);
static
void
basics()
{
auto t = elle::das::make_tuple(foo = 3, bar = "lol");
BOOST_CHECK_EQUAL(t.foo, 3);
BOO... | {
"pile_set_name": "Github"
} |
// Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
#pragma once
namespace Designer
{
class Model;
enum ECompilerFlag
{
eCompiler_CastShadow = BIT(1),
eCompiler_Physicalize = BIT(2),
eCompiler_General = eCompiler_CastShadow | eCompiler_Physicalize
};
//! This class plays a role of creati... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Giacomo Po <gpo@ucla.edu>
// Copyright (C) 2011 Gael Guennebaud <g.gael@free.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not dis... | {
"pile_set_name": "Github"
} |
#define YEAR 2013
#define STATUS "release"
#ifndef ROOT_DIR
#define ROOT_DIR ".."
#endif
#define BUILD_DIR ROOT_DIR + "/build/NetBox/
#ifndef SOURCE_DIR
#define SOURCE_DIR ROOT_DIR + "/src/NetBox"
#endif
#ifndef OUTPUT_DIR
#define OUTPUT_DIR ROOT_DIR + "/build"
#endif
#ifndef BINARIES_DIR_FAR2
#define BINA... | {
"pile_set_name": "Github"
} |
/* fre:ac - free audio converter
* Copyright (C) 2001-2020 Robert Kausch <robert.kausch@freac.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 version 2 of
* the Licens... | {
"pile_set_name": "Github"
} |
--- record.c.orig 2001-08-14 20:10:46.000000000 +0800
+++ record.c 2011-09-05 15:09:11.000000000 +0800
@@ -31,14 +31,18 @@
** May 25, 2000 Ver 1.0
*/
-#include<stdio.h>
-#include<fcntl.h>
-#include<sys/types.h>
-#include<pwd.h>
-#include<ctype.h>
-#include<errno.h>
+#include <sys/types.h>
+#include <stdio.h>
+#incl... | {
"pile_set_name": "Github"
} |
/*
* linux/fs/super.c
*
* (C) 1991 Linus Torvalds
*/
/*
* super.c contains code to handle the super-block tables.
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/system.h>
#include <errno.h>
#include <sys/stat.h>
int sync_dev(int dev);
void wait_for_keypress(voi... | {
"pile_set_name": "Github"
} |
//
// GDDropboxUploadStateWrapper.m
// GDFileManagerExample
//
// Created by Graham Dennis on 11/08/13.
// Copyright (c) 2013 Graham Dennis. All rights reserved.
//
#import "GDFileManagerUploadState.h"
@implementation GDFileManagerUploadState
@synthesize parentVersionID = _parentVersionID;
- (instancetype)initW... | {
"pile_set_name": "Github"
} |
/dts-v1/;
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "Sagem F@st 2404";
compatible = "sagem,fast-2404", "brcm,bcm6348";
chosen {
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
};
&pflash {
status = "okay";
partitio... | {
"pile_set_name": "Github"
} |
//
// TAPIResponse.m
// TwitterNetworkLayer
//
// Created on 10/17/14.
// Copyright © 2020 Twitter. All rights reserved.
//
#import "TAPIError.h"
#import "TAPIResponse.h"
#import "TNL_Project.h"
NS_INLINE BOOL _DataBeginsWithHTMLDocType(NSData *data)
{
static const char sDocType[] = "<!DOCTYPE html";
stat... | {
"pile_set_name": "Github"
} |
// 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.
//
// This implements a Clang tool to convert all instances of std::string("") to
// std::string(). The latter is more efficient (as std::string doesn'... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <X... | {
"pile_set_name": "Github"
} |
// 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 COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_SETTINGS_TEST_UTILS_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA... | {
"pile_set_name": "Github"
} |
//
// CSSlider.m
// AppSlate
//
// Created by Taehan Kim on 12. 01. 26..
// Copyright (c) 2012년 ChocolateSoft. All rights reserved.
//
#import "CSSlider.h"
@implementation CSSlider
-(id) object
{
return ((UISlider*)csView);
}
//===========================================================================
#pra... | {
"pile_set_name": "Github"
} |
// Copyright 2009 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"
//
// System call support for AMD64, OpenBSD
//
// Just jump to package syscall's implementation for all these functio... | {
"pile_set_name": "Github"
} |
SubDir HAIKU_TOP src tests system network posixnet ;
UsePrivateHeaders private shared ;
UnitTestLib posixnettest.so :
PosixNetTestAddon.cpp
GetAddrInfo.cpp
SocketTests.cpp
: be $(TARGET_NETWORK_LIBS) [ TargetLibstdc++ ]
;
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2011, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#ifndef _LIBROOT_MEMORY_PRIVATE_H
#define _LIBROOT_MEMORY_PRIVATE_H
#include <OS.h>
#include <sys/cdefs.h>
__BEGIN_DECLS
status_t get_memory_properties(team_id teamID, const void* address,
uint32* _protect... | {
"pile_set_name": "Github"
} |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_snprintf_53a.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml
Template File: sources-sink-53a.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2011 Eric Niebler
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)
===============================================... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include "../../../util/debug.h"
#include "../../../util/header.h"
static inline void
cpuid(unsigned int op, unsigned int *a, unsigned int *b,... | {
"pile_set_name": "Github"
} |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double QuickLayoutVersionNumber;
FOUNDATION_EXPORT const unsigned char QuickLayoutVersionString[];
| {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* ftlcdfil.h */
/* */
/* Fr... | {
"pile_set_name": "Github"
} |
/* (No Commment) */
"CFBundleName" = "餐厅";
| {
"pile_set_name": "Github"
} |
//
// LMJCalendarViewController.m
// PLMMPRJK
//
// Created by HuXuPeng on 2017/5/7.
// Copyright © 2017年 GoMePrjk. All rights reserved.
//
#import "LMJCalendarViewController.h"
#import "LMJEventTool.h"
@interface LMJCalendarViewController ()
@end
@implementation LMJCalendarViewController
- (void)viewDidLoad {
... | {
"pile_set_name": "Github"
} |
//
// detail/winrt_ssocket_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 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"
} |
%verify "executed"
%include "arm-vfp/funop.S" {"instr":"ftosizs s1, s0"}
| {
"pile_set_name": "Github"
} |
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <optional>
#include <vector>
#include "Common/CommonTypes.h"
class PointerWrap;
namespace DiscIO
{
struct Partition;
}
namespace DVDInterface
{
enum class ReplyType... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 Freescale Semiconductor
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __FSL_DPAA_FD_H
#define __FSL_DPAA_FD_H
/* Place-holder for FDs, we represent it via the simplest form that we need for
* now. Different overlays may be needed to support different options, etc. (It
* is impractical ... | {
"pile_set_name": "Github"
} |
// Copyright 2018 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 aix
// +build ppc
package unix
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
//sysnb Setrlimit(resource int, rlim *Rlimit)... | {
"pile_set_name": "Github"
} |
# /* **************************************************************************
# * *
# * (C) Copyright Edward Diener 2014. *
# * Distributed under the Boost Software License, Version 1.0. (See ... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2007-2016 Hartmut Kaiser
// Copyright (c) 2008-2009 Chirag Dekate, Anshul Tandon
// Copyright (c) 2012-2013 Thomas Heller
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... | {
"pile_set_name": "Github"
} |
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.jackett;
in
{
options = {
services.jackett = {
enable = mkEnableOption "Jackett";
dataDir = mkOption {
type = types.str;
default = "/var/lib/jackett/.config/Jackett";
description = "The directory where Jacket... | {
"pile_set_name": "Github"
} |
; RUN: opt < %s -instcombine -S | FileCheck %s
; <rdar://problem/10803154>
; There should be no transformation.
; CHECK: %a = trunc i32 %x to i8
; CHECK: %b = icmp ne i8 %a, 0
; CHECK: %c = and i32 %x, 16711680
; CHECK: %d = icmp ne i32 %c, 0
; CHECK: %e = and i1 %b, %d
; CHECK: ret i1 %e
define i1 @f1(i32 %x) {
%a... | {
"pile_set_name": "Github"
} |
//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- 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"
} |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ncdc_datasets.r
\name{ncdc_datasets}
\alias{ncdc_datasets}
\title{Search NOAA datasets}
\usage{
ncdc_datasets(
datasetid = NULL,
datatypeid = NULL,
stationid = NULL,
locationid = NULL,
startdate = NULL,
enddate = NULL,
sortfield... | {
"pile_set_name": "Github"
} |
#ifndef GRAPHICS_API_GLES3
#define NO_NATIVE_SHADOWMAP
#endif
#ifdef NO_NATIVE_SHADOWMAP
#define TEXTURE2D_SHADOW(textureName) uniform mediump sampler2D textureName
#define SAMPLE_TEXTURE2D_SHADOW(textureName, coord3) (texture2D(textureName,coord3.xy).r<coord3.z?0.0:1.0)
#define TEXTURE2D_SHADOW_PARAM(shadowMap) m... | {
"pile_set_name": "Github"
} |
/*
* Callbacks prototypes for FSM
*
* Copyright (C) 1996 Universidade de Lisboa
*
* Written by Pedro Roque Marques (roque@di.fc.ul.pt)
*
* This software may be used and distributed according to the terms of
* the GNU General Public License, incorporated herein by reference.
*/
#ifndef CALLBACKS_H
#define CALL... | {
"pile_set_name": "Github"
} |
/*
* GDevelop Core
* Copyright 2008-present Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#ifndef GDCORE_PROPERTYDESCRIPTOR
#define GDCORE_PROPERTYDESCRIPTOR
#include <vector>
#include "GDCore/String.h"
namespace gd {
class SerializerElement;
}
... | {
"pile_set_name": "Github"
} |
--- gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc.orig 2019-04-08 08:32:57 UTC
+++ gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc
@@ -562,7 +562,7 @@ class GLCopyTextureCHROMIUMES3Test : public GLCopyText
bool ShouldSkipNorm16() const {
DCHECK(!ShouldSkipTest());
-#if (defined(O... | {
"pile_set_name": "Github"
} |
#ifndef ABSTRACT_H
#define ABSTRACT_H
#ifdef PROFILE
#define printf(a, b) Serial.println(b)
#endif
#if defined ARDUINO_SAM_DUE || defined ADAFRUIT_GRAND_CENTRAL_M4
#define HostOS 0x01
#endif
#ifdef CORE_TEENSY
#define HostOS 0x04
#endif
#ifdef ESP32
#define HostOS 0x05
#endif
#ifdef _STM32_DEF_
#define HostOS 0x06
#e... | {
"pile_set_name": "Github"
} |
/**
* Copyright 1993-2013 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and relate... | {
"pile_set_name": "Github"
} |
--- src/client.c.org Tue Nov 30 13:49:23 2004
+++ src/client.c Wed Dec 1 12:42:01 2004
@@ -144,6 +144,7 @@
static size_t try_read_from_server PROTO ((char *, size_t));
+static void proxy_connect PROTO ((cvsroot_t *, int));
static void auth_server PROTO ((cvsroot_t *, struct buffer *, struct buffer *,
int, i... | {
"pile_set_name": "Github"
} |
/*
* Broadcom UniMAC MDIO bus controller driver
*
* Copyright (C) 2014-2017 Broadcom
*
* 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 opti... | {
"pile_set_name": "Github"
} |
/*
* This program 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.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty ... | {
"pile_set_name": "Github"
} |
--- a/sockd/sockd_io.c.old 2017-05-10 19:57:20.672000000 +0000
+++ b/sockd/sockd_io.c 2017-05-10 20:00:34.548000000 +0000
@@ -2912,7 +2912,7 @@ siginfo(sig, si, sc)
int src_so_rcvbuf, dst_so_rcvbuf;
#endif /* HAVE_RECVBUF_IOCTL */
-#if HAVE_SENDBUF_IOCTL
+#ifdef HAVE_SENDBUF_IOCTL
int src_so_sndb... | {
"pile_set_name": "Github"
} |
/* Copyright 2006-2015 Joaquin M Lopez Munoz.
* 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)
*
* See http://www.boost.org/libs/flyweight for library home page.
*/
#ifndef BOOST_FLYWEIGHT_SERIALIZE_HP... | {
"pile_set_name": "Github"
} |
/*****
* Tencent is pleased to support the open source community by making QMUI_iOS available.
* Copyright (C) 2016-2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of... | {
"pile_set_name": "Github"
} |
/* ___DISCLAIMER___ */
/* clock.c: PLL, CCLK, PCLK controls */
#include <arm/NXP/LPC17xx/LPC17xx.h>
#include "config.h"
#include "clock.h"
#include "bits.h"
#include "uart.h"
void clock_disconnect() {
disconnectPLL0();
disablePLL0();
}
void clock_init() {
/* set flash access time to 5 clks (80<f<=100MHz) */
... | {
"pile_set_name": "Github"
} |
#ifndef _NRF_DELAY_H
#define _NRF_DELAY_H
// #include "nrf.h"
/*lint --e{438, 522} "Variable not used" "Function lacks side-effects" */
#if defined ( __CC_ARM )
static __ASM void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
{
loop
SUBS R0, R0, #1
NOP
NOP
NOP
NOP
... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2017-2019 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_template_parameter.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
const char*... | {
"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 <AddressBookCore/ABCNPropertyDescription.h>
#import <AddressBookCore/ABCNAbstractPropertyDescription-Protocol.h>
@class NSStr... | {
"pile_set_name": "Github"
} |
#include <rose.h>
class SgVarSubstCopy : public SgCopyHelp
{
SgVariableSymbol *sourceSymbol;
SgExpression *replacementExpression;
public:
SgVarSubstCopy(SgVariableSymbol *sourceSymbol, SgExpression *replacementExpression)
: sourceSymbol(sourceSymbol), replacementExpression(replace... | {
"pile_set_name": "Github"
} |
Description:
Compute MD4 checksum.
Files:
lib/md4.h
lib/md4.c
m4/md4.m4
Depends-on:
byteswap
stdalign
stdint
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
gl_MD4
Makefile.am:
lib_SOURCES += md4.c
Include:
"md4.h"
License:
LGPLv2+
Maintainer:
Simon Josefsson
| {
"pile_set_name": "Github"
} |
# Copyright (c) Open Enclave SDK contributors.
# Licensed under the MIT License.
add_enclave_library(oehostfs STATIC hostfs.c)
maybe_build_using_clangw(oehostfs)
enclave_include_directories(oehostfs PRIVATE ${CMAKE_BINARY_DIR}/syscall
${PROJECT_SOURCE_DIR}/include/openenclave/corelibc)
e... | {
"pile_set_name": "Github"
} |
//
// KCSIBeaconTests.m
// KCSIBeaconTests
//
// Copyright 2015 Kinvey, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | {
"pile_set_name": "Github"
} |
/*
Author: aeroson
Description:
Sets the text on the dialog
Parameters:
None
Returns:
Nothing
*/
#define AGM_CrewInfo_TextIDC 11123
private["_text", "_ctrl"];
disableSerialization;
_text = _this select 0;
_ctrl = (uiNamespace getVariable "AGM_CrewInfo_dialog") displayCtrl AGM_CrewInfo_TextIDC;
_ct... | {
"pile_set_name": "Github"
} |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
EXTERN OPENSSL_ia32cap_P:NEAR
PUBLIC aesni_multi_cbc_encrypt
ALIGN 32
aesni_multi_cbc_encrypt PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_aesni_multi_cbc_encrypt::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
m... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* most_balanced_minimum_cuts.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef... | {
"pile_set_name": "Github"
} |
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Crashlytics
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Crashlytics/iOS" "${PODS_ROOT}/Fabric/iOS"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_LDFLAGS = $(inherited) -l"c++" -l"z" -framework "Security" -framework "SystemConfiguration" -... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_BIND_STORAGE_HPP_INCLUDED
#define BOOST_BIND_STORAGE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// bind/storage.hpp
//
// boost/bind.hpp support header, optimized storage
//
// Copyright (c) 2006 Peter Dimov
//
// ... | {
"pile_set_name": "Github"
} |
// StringUtils.cpp
#include "StdAfx.h"
#include "StringUtils.h"
void SplitStringToTwoStrings(const UString &src, UString &dest1, UString &dest2)
{
dest1.Empty();
dest2.Empty();
bool quoteMode = false;
int i;
for (i = 0; i < src.Length(); i++)
{
wchar_t c = src[i];
if (c == L'\"')
... | {
"pile_set_name": "Github"
} |
$NetBSD: patch-ac,v 1.2 2006/08/02 19:24:55 kristerw Exp $
--- xroads.c.orig 1999-06-30 20:25:02.000000000 +0200
+++ xroads.c 2006-08-02 21:14:27.000000000 +0200
@@ -282,13 +282,13 @@
}
/*************************************************************************************************/
-int trunc( float num ) { /*... | {
"pile_set_name": "Github"
} |
/*
* linux/sound/soc/ep93xx-i2s.c
* EP93xx I2S driver
*
* Copyright (C) 2010 Ryan Mallon <ryan@bluewatersys.com>
*
* Based on the original driver by:
* Copyright (C) 2007 Chase Douglas <chasedouglas@gmail>
* Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
*
* This program is free software; y... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019-2020 Hans-Kristian Arntzen
*
* 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 la... | {
"pile_set_name": "Github"
} |
/*
* Matrix test.
*/
#include "io/streams/cout.hh"
#include "lang/array.hh"
#include "math/matrices/matrix.hh"
#include "lang/exceptions/ex_index_out_of_bounds.hh"
using io::streams::cout;
using lang::array;
using math::matrices::matrix;
int main() {
try {
matrix<> m(3,2);
m(0,0) = 0.1;
m(0,1) = 0.02;
... | {
"pile_set_name": "Github"
} |
// RUN: %compile-run-and-check
#include <omp.h>
#include <stdio.h>
int main() {
int res = 0;
#pragma omp parallel num_threads(2) reduction(+:res)
{
int tid = omp_get_thread_num();
#pragma omp target teams distribute reduction(+:res)
for (int i = tid; i < 2; i++)
++res;
}
// The first thread mak... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2015 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
The EAGLView class is a UIView subclass that renders OpenGL scene.
*/
#import "EAGLView.h"
#import "ES2Renderer.h"
@interface EAGLView ()
{
ES2Renderer* _renderer;
EAGLContext* _contex... | {
"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 <UIFoundation/NSCollectionViewLayout.h>
@interface NSCollectionViewLayout (NSPrivateItemSequence)
+ (BOOL)itemLayoutIsSequenti... | {
"pile_set_name": "Github"
} |
name: rdev_get_ringparam
ID: 721
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:char wiphy_name[32]; of... | {
"pile_set_name": "Github"
} |
/*
* jccoefct.c
*
* Copyright (C) 1994-1997, 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.
*
* This file contains the coefficient buffer controller for compression.
* This controller is the top level of t... | {
"pile_set_name": "Github"
} |
/* Copyright 2015 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"
} |
#pragma once
#include <iterator> // random_access_iterator_tag
#include <nlohmann/detail/meta/void_t.hpp>
#include <nlohmann/detail/meta/cpp_future.hpp>
namespace nlohmann
{
namespace detail
{
template<typename It, typename = void>
struct iterator_types {};
template<typename It>
struct iterator_types <
It,
... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
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)
====================================... | {
"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 <NewsUI2/_TtC7NewsUI217NoopAudioAssembly.h>
@interface _TtC7NewsUI217NoopAudioAssembly (NewsUI2)
- (void)loadInRegistry:(id)ar... | {
"pile_set_name": "Github"
} |
#include <stdio.h>
#include <string.h>
int romanToInt(char *s) {
int len = strlen(s);
int ans = 0;
int i = 0;
while (i < len) {
switch (s[i]) {
case 'M':
ans += 1000;
break;
case 'D':
ans += 500;
break;
case ... | {
"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 <SAObjects/AceObject.h>
#import <SAObjects/SAAceSerializable-Protocol.h>
@class NSString;
@interface SAUITemplateEdgeInsets ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.