text stringlengths 9 948k |
|---|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8ClipboardEvent_h
#define V8ClipboardEvent_h
#include "bindings/co... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef GRAPH_SERVICE_AUTHENTICATOR_H_
#define GRAPH_SERVICE_AUTHENTICATOR_H_
#include "common/base/Base.h"
namespace nebula {
namespace graph {
class Authenticator {
public:
virtual ~Authentic... |
/*
* Copyright (c) 2015, Juniper Networks, Inc.
* All rights reserved.
* This SOFTWARE is licensed under the LICENSE provided in the
* ../Copyright file. By downloading, installing, copying, or otherwise
* using the SOFTWARE, you agree to be bound by the terms of that
* LICENSE.
* Phil Shafer, August 2015
*/
/... |
/*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain th... |
/* PR target/r84530 */
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -mfunction-return=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
struct s { _Complex unsigned short x; };
struct s gs = { 100 + 200i };
struct s __attribute__((noinline)) foo (void) { return gs; }
/* { dg-final { scan-assembler-tim... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class HoneyPayReceiverStatusViewController;
@protocol HoneyPayReceiverStatusViewControllerDelegate <NSObject>
- (void)receiverStatusVCDidClickGetCard:(HoneyP... |
/*
* sqMacServices.h
* SqueakServices
*
* Created by John M McIntosh on 12/06/05.
*
*/
#include <Carbon/Carbon.h> |
/*
* main.c
*
* Bart's SECOND
* for ATmega 8A
* Ver 1.1.4
* Created on: 31 sty 2017
* Author: Bart
*
*/
// #define F_CPU 1000000UL (no use in eclipse- go to properties)
#include <avr/io.h>
#include <avr/eeprom.h>
#include <util/delay.h>
#define fire (1<<PC2)
#define plus (1<<PC1)
#define minus (1<<PC0)
#def... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:33:03 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/AccessibilityBundles/UIKit.axbundle/UIKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim... |
#include "common/parent.h"
int main(int argc, char* argv[]) {
setup_parent("signal", argc, argv);
} |
#ifndef OR_32
#define OR_32
#include <systemc.h>
//#pragma region OR_32bit
SC_MODULE(Or_32){
//
//Ports
//
sc_in < sc_lv<32> > a;
sc_in < sc_lv<32> > b;
sc_out < sc_lv<32> > result;
//
//Processes
//
void exec(){
int i;
sc_lv <32> aTemp, bTemp, resultTemp;
//Read input
aTemp = a.read();
bTemp = b.re... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/*
*/
#define DATA_STATION 1
#define SPECTROMETER 2
#define IMAGER 3... |
//
// NViewController.h
// NEvent
//
// Created by Naithar on 04/18/2015.
// Copyright (c) 2014 Naithar. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NViewController : UIViewController
@end |
#pragma once
#include "enum.h"
#include "mpr.h"
#include "spl-cast.h"
struct bolt;
class dist;
void setup_fire_storm(const actor *source, int pow, bolt &beam);
spret cast_fire_storm(int pow, bolt &beam, bool fail);
bool cast_smitey_damnation(int pow, bolt &beam);
spret cast_chain_spell(spell_type spell_cast, int pow... |
#include "/d/attaya/newseneca/seneca.h"
inherit ROOM;
void create(){
object ob;
:: create();
set_terrain(WOOD_BUILDING);
set_travel(DIRT_ROAD);
set_property("indoors",1);
set_property("light",2);
set_short("%^BOLD%^%^BLUE%^This is within the Seneca Thiefs Guild.%^RESET%^");
set_long(
... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/netwerk/base/public/nsINestedURI.idl
*/
#ifndef __gen_nsINestedURI_h__
#define __gen_nsINestedURI_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL file... |
#ifndef _CLOCK_H_
#define _CLOCK_H_
#include <windows.h>
typedef struct {
LARGE_INTEGER start_time, end_time;
LARGE_INTEGER frequency;
} Clock;
void start_clock(Clock* clock) {
QueryPerformanceFrequency(&clock->frequency);
QueryPerformanceCounter(&clock->start_time);
};
float get_clock_delta_s(Clock* clock)... |
/*
* tclParseExpr.c --
*
* This file contains procedures that parse Tcl expressions. They
* do so in a general-purpose fashion that can be used for many
* different purposes, including compilation, direct execution,
* code analysis, etc.
*
* Copyright (c) 1997 Sun Microsystems, Inc.
* Copyright (c) 1998-2000 b... |
/*
* Copyright 2010-2017 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 "license" fil... |
/*
* Copyright (c) 2015-2016 Los Alamos National Security, LLC. All
* rights reserved.
* Copyright (c) 2015-2016 Cray Inc. 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) ... |
/*ckwg +29
* Copyright 2018, 2020 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this l... |
/*-
* Copyright (c) 2010 Varnish Software AS
* All rights reserved.
*
* Author: Cecilie Fritzvold <cecilihf@linpro.no>
*
* 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 ... |
#pragma once
// Name: S, Version: b
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// Blueprin... |
#pragma once
#include <iostream>
#include <fstream>
#include <barzer_question_parm.h>
namespace barzer {
class GlobalPools;
class StoredUniverse;
class Barz;
struct BarzerShell;
struct QuestionParm;
class BatchProcessorSettings_Base {
protected:
const StoredUniverse* d_universe;
QuestionParm d_qparm;... |
/*
Copyright (c) 2016 ServiceNow, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribut... |
//===-- llvm/InstrTypes.h - Important Instruction subclasses ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include <assert.h>
#include <encin.h>
#include <errno.h>
#include <limits.h>
#include <pthread.h>
#include <sched.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include <threads.h>
#include <ucontext.h>
#include <unistd.h>
static thread_local encin_stack_size stack_size_to_be_released = 0;
static ... |
// 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_ON_WORKER_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_ON_WO... |
/*
* Copyright 2003-2004 The Apache Software 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 req... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkAbstractPolygonalHandleRepresentation3D.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for deta... |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2016, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
#include"cserver.h"
/* ============================================
* global variables
* ============================================ */
pthread_t thread;
/* ============================================
* entrance of the main thread
* ============================================ */
int main(void)
{
printf... |
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <complex.h>
#ifdef complex
#undef complex
#endif
#ifdef I
#undef I
#endif
#if defined(_WIN64)
typedef long long BLASLONG;
typedef unsigned long long BLASULONG;
#else
typedef long BLASLONG;
typedef unsigned long BLASULONG;
#endif
#if... |
// amstrong number
#include <stdio.h>
#include <conio.h>
int main()
{
int i = 2, temp, rem, sum = 0, n;
int clrscr();
printf("Enter n : ");
scanf("%d", &n);
temp = n;
while (n > 0)
{
rem = n % 10;
sum = sum + (rem * rem * rem);
n = n / 10;
}
if (temp == su... |
#include <stdbool.h>
#include <string.h>
#include <caml/alloc.h>
#include <caml/mlvalues.h>
#include <caml/memory.h>
#include <caml/callback.h>
void startup (char** argv) {
caml_startup(argv);
}
bool blank (const char* string) {
CAMLparam0();
CAMLlocal1(ostring);
static value* closure = NULL;
if (closure ==... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define MAX_SIZE 500
int main() {
int i, cursor = 0, len;
char str[MAX_SIZE];
char op = 0, tmp;
fgets(str, MAX_SIZE, stdin);
str[strcspn(str, "\n")] = 0;
while (op != '\n') {
len = strlen(str);
op = getchar();
... |
/****************************************************************************
*
* Copyright (c) 2020 Vivante Corporation
*
* 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 ... |
/**
********************************************************************************
\file dllknode.c
\brief Implementation of DLL kernel node functions
This file contains the implementation of the DLL kernel node functions.
It is part of the DLL kernel module.
\ingroup module_dllk
*******************************... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSString;
@interface MsgType0x211SubMsgType0x7_GenericSubCmd_MsgItem : NSObject
{
unsigned int _type;
NSString *_text;
}
- (void).cxx_destruct... |
/*-
* Copyright (c) 2001 Jake Burkholder.
* 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 co... |
/* $NetBSD: bt_split.c,v 1.20 2011/06/20 09:11:17 mrg Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Mike Olson.
*
* Redistribution and use in source and binary forms, with or ... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2016 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014-2015 Artem Y. Polyakov <art... |
/*
* Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __STD_SVC_H__
#define __STD_SVC_H__
/* SMC function IDs for Standard Service queries */
#define ARM_STD_SVC_CALL_COUNT 0x8400ff00
#define ARM_STD_SVC_UID 0x8400ff01
/* 0x84... |
/*! @file ExactSolution.c
@author Debojyoti Ghosh
@brief Read in exact solution, if available.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <basic.h>
#include <arrayfunctions.h>
#include <io.h>
#include <mpivars.h>
#include <hypar.h>
/*! Read in the exact solution, if available. */
i... |
/*
* Copyright (c) 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... |
/**
* Z-Wave Certified Application Power Strip
*
* @copyright 2018 Silicon Laboratories Inc.
*/
/****************************************************************************/
/* INCLUDE FILES */
/************************************************************... |
/*
* Copyright(c) 2007 Intel Corporation. All rights reserved.
* Copyright(c) 2008 Red Hat, Inc. All rights reserved.
* Copyright(c) 2008 Mike Christie
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as ... |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... |
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
#ifndef WIREPROTOCOL_RECEIVERTHREAD_H
#define WIREPROTOCOL_RECEIVERTHREAD_H
// declaration of RTOS thread
void ReceiverThread(void const *argument);
#endif //WIREPROTOCOL_RECEIVERTHREAD_H |
/***************************************************************************************
* @file va416xx_hal_gpio.h
* @version V0.1
* @date 06 February 2019
*
* @note
* VORAGO Technologies
*
* @note
* Copyright (c) 2013-2019 VORAGO Technologies.
*
* @par
* BY DOWNLOADING, INSTALLING OR USING THIS S... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
/* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* dosinst.c: Install program for Vim on... |
/******************************************************/
//
// ProjectName: ZXLSXReader
// FileName : ZContent.h
// Author : Casanova.Z/朱静宁 16/8/25.
// E-mail : casanova.z@qq.com
// Blog : http://blog.sina.com.cn/casanovaZHU
//
// Copyright © 2016年 casanova. All rights reserved.
/*****************... |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
#pragma once
#include <SFML/Graphics.hpp>
#include <bq/event/event.h>
namespace bq {
class sprite;
enum class colour {
BLACK
};
class window {
sf::RenderWindow m_window;
public:
window(unsigned,unsigned,const std::string& title);
void draw(const bq::sprite&);
bool open();
bq::event poll_event();
... |
// Copyright 2017 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.
#ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_
#define V8_BUILTINS_BUILTINS_DEFINITIONS_H_
#include "builtins-generated/bytecodes-builtins-list.h"
// inc... |
/* ksdk_port.h
*
* Copyright (C) 2006-2020 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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 opt... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "AIController.h"
#include "MultiPointPatrollingAI.generated.h"
/**
*
*/
UCLASS()
class CPPAI_API AMultiPointPatrollingAI : public AAIController
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere)
int Curren... |
/*
* Copyright (c) 2012, 2013, 2014, 2015, 2016 Nicira, 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
*
* Unless required b... |
#ifndef _PM_CONFIG_H
#define _PM_CONFIG_H
/*
* Copyright (c) 2011-2015 yanggq.young@allwinnertech.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 "uapi/linux/const.h... |
/* main.c - Foundation blowfish tests - Public Domain - 2013 Mattias Jansson
*
* This library provides a cross-platform foundation library in C11 providing basic support
* data types and functions to write applications and games in a platform-independent fashion.
* The latest source code is always available a... |
#pragma once
#include <string>
#include <map>
#include <common/Types.h>
namespace DB
{
/** Parse address from string, that can contain host with or without port.
* If port was not specified and default_port is not zero, default_port is used.
* Otherwise, an exception is thrown.
*
* Examples:
* yandex.ru ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <fcntl.h>
#include <pthread.h>
#include <sys/wait.h> /* sockets */
#include <sys/types.h> /* sockets */
#include <sys/socket.h> /* sockets */
#include <netinet/in.h> /* internet sockets */
#include <netdb.h> ... |
// Copyright Heikki Berg 2017.
// 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 FIXED_POINT_SAFFT_H
#define FIXED_POINT_SAFFT_H
#include <type_traits>
#include <cmath>
#include <... |
#include "leet.h"
bool isChild(struct TreeNode *root, struct TreeNode *n) {
if (root == NULL) {
return false;
}
return root == n || isChild(root->left, n) || isChild(root->right, n);
}
struct TreeNode *lowestCommonAncestor(struct TreeNode *root,
struct TreeNode... |
#include <std.h>
#include "../defs.h"
inherit INH+"chasm";
void create(){
::create();
set_long("%^MAGENTA%^Within the Wailing Chasm%^RESET%^\n"+ ::query_long() +"\n");
set_exits(([
"northwest":MID"chasm11",
"southeast":MID"chasm13",
]));
set_pre_exit_functions(({"northwest","southeast"}),({"G... |
/*
$Id$
*/
#include <stdio.h>
#include <string.h>
#include <math.h>
#if defined(CRAY) && !defined(__crayx1)
#define FATR
#include <fortran.h>
#endif
#include "typesf2c.h"
#include "ecce_print.h"
#include "macommon.h"
#define FORTRAN_TRUE ((logical) 1)
#define FORTRAN_FALSE ((logical) 0)
Integer MA_sizeof(Integer,... |
//
// SwiftAA-Bridging-Header.h
// SwiftAA
//
// Created by Cédric Foellmi on 03/07/15.
// Licensed under the MIT License (see LICENSE file)
//
#import <SwiftAA/KPCAASwiftAdditions.h>
#import <SwiftAA/KPCAA2DCoordinate.h>
#import <SwiftAA/KPCAA3DCoordinate.h>
#import <SwiftAA/KPCAAAberration.h>
#import <SwiftAA/K... |
/**
* Copyright (c) 2017-present, Facebook, 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
*
* Unless required by applicable ... |
// Copyright (C) 2013 INRIA - Sophia Antipolis (France).
// Copyright (c) 2017 GeometryFactory Sarl (France).
//
//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 3 of the License, ... |
// Copyright 2016 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.
#ifndef V8_HEAP_REMEMBERED_SET_INL_H_
#define V8_HEAP_REMEMBERED_SET_INL_H_
#include "src/common/ptr-compr-inl.h"
#include "src/heap/remembered-set.h"
... |
//节点管理
#ifndef SKYNET_HARBOR_H
#define SKYNET_HARBOR_H
#include <stdint.h>
#include <stdlib.h>
#define GLOBALNAME_LENGTH 16
#define REMOTE_MAX 256
// reserve high 8 bits for remote id
// 保留高8位用于远程ID
#define HANDLE_MASK 0xffffff
#define HANDLE_REMOTE_SHIFT 24
struct remote_name {
char name[GLOBALNAME_LENGTH];
uint... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the Apache License... |
/* MIT License
*
* Copyright (c) 2016-2020 INRIA, CMU and Microsoft Corporation
*
* 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 r... |
#pragma once
#include "Core.h"
#include "Engine.h"
DECLARE_STATS_GROUP(TEXT("KINECT"), STATGROUP_Kinect, STATCAT_Advanced);
DECLARE_CYCLE_STAT(TEXT("Kinect sensor Run Time"), STAT_KINECT_SENSOR_RunTime, STATGROUP_Kinect);
DECLARE_CYCLE_STAT(TEXT("Kinect Color Process Time"), STAT_KINECT_SENSOR_ColorProcessTime, ST... |
//
// UISegmentedControl+Extension.h
// NursingHome
//
// Created by Allen Brubaker on 10/05/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UISegmentedControl(CustomTintExtension)
-(void)setTag:(NSInteger)tag forSegmentAtIndex:(NSUInteger)segment;
-(void)... |
#ifndef EM_PORT_API
#if defined(__EMSCRIPTEN__)
#include <emscripten.h>
#if defined(__cplusplus)
#define EM_PORT_API(rettype) extern "C" rettype EMSCRIPTEN_KEEPALIVE
#else
#define EM_PORT_API(rettype) rettype EMSCRIPTEN_KEEPALIVE
#endif
#else
#if defined(__cplusplus)
#define EM_PORT_API(rettype) extern "C" rettype
#els... |
#include "w_io.h"
EIF_INTEGER posix_access(EIF_POINTER path, EIF_INTEGER mode)
{
return _access (path, mode);
}
EIF_INTEGER posix_close(EIF_INTEGER fildes)
{
return close(fildes);
}
EIF_INTEGER posix_create(EIF_POINTER path, EIF_INTEGER oflag, EIF_INTEGER mode)
{
return open(path, oflag, mode);
}
EIF_INTEGER ... |
// Copyright (c) 2022 PaddlePaddle 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... |
#ifndef _zduiMessage_h
#define _zduiMessage_h
#pragma pack (push, 8)
#pragma once
typedef enum {
kZdUiNotify_Nothing,
kZdUiNotify_Generic,
kZdUiNotify_AppMainWindow,
kZdUiNotify_AppResourceInstance,
kZdUiNotify_AutoLoad,
kZdUiNotify_Reload,
kZdUiNotify_GetTipSupport,
kZdUiNotify_GetTi... |
/******************************************************************************
* Copyright (C) 2014-2020 Zhifeng Gong <gozfree@163.com>
*
* 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... |
#ifndef COS256_H_
#define COS256_H_
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include <avr/pgmspace.h>
#define COS256_NUM_CELLS 256
#define COS256_SAMPLERATE 256
const int8_t __attribute__((section(".progmem.data"))) COS256_DATA [] =
{
-128, -128, -128, -1... |
/*
+----------------------------------------------------------------------+
| JONJ Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The JONJ Group |
+-------... |
#ifndef PHP_STRINGCASE_H
#define PHP_STRINGCASE_H
extern zend_module_entry stringcase_module_entry;
#define phpext_stringcase_ptr &stringcase_module_entry
#define PHP_STRINGCASE_VERSION "0.1.0" /* Replace with version number for your extension */
#ifdef PHP_WIN32
# define PHP_STRINGCASE_API __declspec(dllexport)
#el... |
/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... |
//
// ReadServiceVC.h
// ZQBelLibrary
//
// Created by 李志权 on 2017/6/22.
// Copyright © 2017年 李志权. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZQBle.h"
@interface ReadServiceVC : UIViewController
/**外界设备*/
@property (nonatomic,strong)CBPeripheral *peripheral;
@property (nonatomic,strong)ZQBle *bel;
@e... |
// Copyright (c) 1997 ETH Zurich (Switzerland).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Bounding_volumes/include/CGAL/Min_sphere_d.h $
// $Id: Min_sphere_d.h 0779373 2020-03-26T13:31:46+01:00 Sébastien Loriot
// SPDX-License-Identifier:... |
// liuhe6.c
// Date: Nov.1997 by Java
#include <room.h>
inherit ROOM;
void create()
{
set("short", "六和塔");
set("long", @LONG
這裏是六和塔的六層。窗(window)外是濃粧淡抹的西子湖,塔
中玲瓏八角,青磚砌地,雕欄飛檐間粘連了些許蛛網。
LONG);
set("exits", ([
"down" : __DIR__"liuhe5",
"up" : __DIR__"liuhe7",
]));
... |
/**
* @file CTimedObject.h
*
*/
#ifndef _INC_CTIMEDOBJECT_H
#define _INC_CTIMEDOBJECT_H
#include "../sphere/ProfileData.h"
class CTimedObject
{
friend class CWorldTicker;
private:
THREAD_CMUTEX_DEF;
int64 _iTimeout;
PROFILE_TYPE _profileType;
bool _fIsSleeping;
/**
* @brief clears the ... |
/*-
* Copyright (c) 2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>
* 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
* no... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_listen_socket_popen_18.c
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-18.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data using a listen ... |
// Copyright 2009-2021 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2021, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory... |
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright (c) 2018-2019 Mutant Industries ltd. */
#ifndef _TEST_DRIVER_TIMER_MULTIPLE_H_
#define _TEST_DRIVER_TIMER_MULTIPLE_H_
#include <test/common.h>
#include <test/driver/common.h>
void test_driver_timer_multiple(void);
#endif /* _TEST_DRIVER_TIMER_MULTIPLE_H_ */ |
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... |
/*
* Copyright (c) 2014-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.
*
*/
#im... |
/**
* @file
* @brief
*
* @date 11.01.2017
* @author Alex Kalmuk
*/
#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#include <pthread.h>
#include <framework/mod/options.h>
#include <libs/nrf24.h>
#include <drivers/sensors/gy_30.h>
#include <libs/stepper_motor.h>
#include <libs/ir... |
#include "../headerFiles/keyValueList.h"
int getKVPairLength(kvNode_t* node) {
return node->key.length + 2 + node->value.length;
} |
/*
The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.org
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 th... |
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_SignInDemoTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SignInDemoTestsVersionString[]; |
//
// BRBCashAddr.c
// breadwallet-core
//
// Created by Aaron Voisine on 1/20/18.
// Copyright (c) 2018 breadwallet LLC
//
// 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 r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.