text stringlengths 9 948k |
|---|
/*
* Copyright 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" file ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: httpServerRemoteFunc.h
* Author: brehm
*
* Created on April 19, 2018, 1:19 PM
*/
#ifndef HTTPSERVERREMOTEFUNC_H
#d... |
#pragma once
const int bSize = 7;
class Board;
class State {
public:
char b[7] = { 'B','B', 'B', ' ','W','W','W' };
int cost = 0;
float f = FLT_MAX, g = FLT_MAX, h = FLT_MAX;
State* parent = NULL;
State() { };
};
bool operator < (const State& obj, const State& obj2) {
return (obj.f < obj2.f);
}
class Boar... |
// C++/WinRT v2.0.201201.7
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef WINRT_Windows_Data_Pdf_H
#define WINRT_Windows_Data_Pdf_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.201201.7"), "Mismatched C++/WinRT headers.");
#... |
/*
* Copyright (c) 2004-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.
*
*/
#pra... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018-2019 The Dilithium Core developers
// Copyright (c) 2019 The Kahsh Core developers
// Distributed under the MIT software license, see the accompanying
// file CO... |
#pragma once
#include <iostream>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <string>
#include <sstream>
#include <vector>
#include <Core/Logger.h>
#include <SFML\System.hpp>
#include <SFML\Window.hpp>
#include <SFML\Graphics.hpp>
#include <SFML\Audio.hpp>
#include <SFML\... |
/*
--------------------------------------------------------------------
Author: Blayze F Millward
This header file contains global configuration settings for
everything in the RoboPad ecosystem, hopefully easing transition
from arduino to ESP and back.
------------------------------------------------------------------... |
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ZGALECONTROLDIALOG_H
#define ZGALECONTROLDIALOG_H
#include <QDialog>
#include <QTreeWidgetItem>
#include "zgale/zerocoin... |
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2019 The ECODOLLAR developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_LIMITEDMAP_H
#define BITCOIN_LIMITEDMAP_H
#include <assert.h>
#inc... |
// 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 REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
#define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
#include "base/macros.h"
#include "remoting/host/desk... |
#ifndef __HG_DEF_H__
#define __HG_DEF_H__
/************************************************************************/
/* http://en.wikipedia.org/wiki/Windows_NT#Releases
========================================================================================
Windows NT releases
=============================... |
/**
* generated using metalibm 1.1
* sha1 git: b'"44931432e12dbbda32ae5520e55557ff367a96bb"'(clean)
*
* INFO: git status was clean when file was generated.
*
* command used for generation:
* metalibm_functions/ml_vectorizable_log.py --log-radix e --language c \
* --accuracy cr --precision float --target... |
/*
* Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <jansson.h>
#include <string.h>
#include "util.h"
int main()
{
json_t *json;
char *result;
... |
#ifndef SERVER_INFO__H
#define SERVER_INFO__H
#include <stdint.h>
#include <stdbool.h>
#include "tf2_dem_py/char_array_wrapper/char_array_wrapper.h"
#ifndef NO_PYTHON
# define PY_SSIZE_T_CLEAN
# include "Python.h"
#endif
typedef struct ServerInfo_s {
uint16_t version;
uint32_t server_count;
bool stv;
bool... |
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 Simon Howard
//
// 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... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_UTIL_HISTOGRAM_H_
#define STORAGE_LEVELDB_UTIL_HISTOGRAM_H_
#include <string>
... |
/*******************************************************************************
System Definitions
File Name:
definitions.h
Summary:
project system definitions.
Description:
This file contains the system-wide prototypes and definitions for a project.
*******************************************... |
/**
* \file QryWzemUsgMNUser.h
* job handler for job QryWzemUsgMNUser (declarations)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 1 Dec 2020
*/
// IP header --- ABOVE
#ifndef QRYWZEMUSGMNUSER_H
#define QRYWZEMUSGMNUSER_H
// IP include.spec... |
/*-------------------------------------------------------------------------
*
* indxpath.c
* Routines to determine which indexes are usable for scanning a
* given relation, and create Paths accordingly.
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, R... |
//
// ClayPathMaker.h
// objcvoronoi
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class Edge;
@class Vertex;
@interface ClayPathMaker : NSObject {
NSMutableArray *solution;
NSMutableArray *edges;
NSMutableArray *newEdges;
CGPoint startPoint;
CGPoint endPoint;
Vertex *start... |
/* Copyright 2012 Brian Ellis
*
* 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 agreed to in ... |
/*
* Copyright 2010 Jacek Caban 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) any later version.
*
* T... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
/*
* FreeRTOS V202112.00
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 ... |
// MIT License
//
// Copyright (c) 2020 ADCIRC Development Group
//
// 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, ... |
//
// Downloader.h
// SCSDEnterprise
//
// Created by YangShengchao on 14-2-14.
// Copyright (c) 2014年 YangShengchao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AFNetworking/AFHTTPRequestOperation.h>
#import "FileUtils.h"
#import "StringUtils.h"
typedef void (^DownloadCallback)(BOOL succ... |
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "ItemAggregator.generated.h"
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class UItemAggregator : public UActorComponent {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, Edit... |
#ifndef __LAST_INTERPRETER_H__
#define __LAST_INTERPRETER_H__
#include "node_ast.h"
class Parser;
class Interpreter : public NodeVisitor {
public:
Interpreter();
virtual ~Interpreter();
virtual int visit(NodeBinaryOperator* node) override; // NodeVisitor
virtual int visit(NodeNumber* node) overrid... |
#include <stdio.h>
int main()
{
fprintf(stdout, "Hello world! fprintf=%p, stdout=%p\n", fprintf, stdout);
return 0;
} |
// The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.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 without restriction, including without limitation the r... |
/*
* Declarations for IMAGEHLP
*
* Copyright (C) 1998 Patrik Stridvall
*
* 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) a... |
/*-------------------------------------------------------------------------
*
* jsonapi.h
* Declarations for JSON API support.
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/utils/jsonapi.h
*
*-... |
#define _CRT_SECURE_NO_WARNINGS
// we represent * as -2 //
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
#define stack_size 100
#define memory_size 100
#define variable_memory_start 8
#define const_variable_size 0
#define instruction_length 6
#define parametes_length 25
#define line_size 2... |
#pragma once
#include "il2cpp-config.h"
namespace il2cpp
{
namespace icalls
{
namespace mscorlib
{
namespace System
{
class LIBIL2CPP_CODEGEN_API Math
{
public:
static double Acos (double val);
static double Asin (double val);
static double Atan (double val);
static double Atan2 (double y, double x);
static doub... |
//
// FPMediaInfo.h
// FPPicker
//
// Created by Ruben Nine on 14/08/14.
// Copyright (c) 2014 Filepicker.io. All rights reserved.
//
#import <Foundation/Foundation.h>
@class PHAsset;
@class FPSource;
@interface FPMediaInfo : NSObject
@property (nonatomic, strong) NSString *mediaType;
@property (nonatomic, stro... |
#include "main.h"
volatile uint8_t recive_timeout;
int main(void){
clk_init();
ini_timer();
GPIO_sSPI_init();
usart_ini();
_spi_init();
uint32_t caliper_data = 0;
uint8_t caliper_data_mm[3];
uint32_t out_data = 0;
uint8_t sign_data = 0;
while(1)
{
caliper_data ... |
#ifndef _MFWORKER_H_
#define _MFWORKER_H_
#include <pthread.h>
#include <sched.h>
#include "xpu.h"
#include "ps/ps.h"
#include "mfdata.h"
#include "utils.h"
namespace MF {
class MFWorker {
public:
MFWorker() {}
~MFWorker() {PostProcess();}
void PreProcess();
void PostProcess();
void Pull();
void Push();
void ... |
/*
* Control Interface - local header file
* Copyright (c) 2000 by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 o... |
//
// BHInfiniteScrollView.h
// BHInfiniteScrollView
//
// Created by libohao on 16/3/6.
// Copyright © 2016年 libohao. All rights reserved.
//
/*
*********************************************************************************
*
* 如果您使用轮播图库的过程中遇到Bug,请联系我,我将会及时修复Bug,为你解答问题。
* QQ讨论群 : 206177395 (BHInfiniteScro... |
/*
* Copyright (c) 2015 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 contribut... |
/* Copyright 2018 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... |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... |
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... |
/**
* Copyright 2020-2021 Huawei Technologies Co., Ltd
*
* 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 applicabl... |
/**
* Copyright (c) 2019, Nordic Semiconductor ASA
*
* 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
* ... |
#ifndef PNGSTRUCT_H
#define PNGSTRUCT_H
/* pngstruct.h - header file for PNG reference library
*
* Copyright (c) 2018-2019 Cosmin Truta
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
* Copyright (c) 1996-1997 Andreas Dilger
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
*
* This cod... |
#pragma once
#include "oxygine_include.h"
#include "EventDispatcher.h"
#include "pthread.h"
#include "core/ThreadDispatcher.h"
#include <functional>
namespace oxygine
{
DECLARE_SMART(ThreadLoader, spThreadLoader);
class Resources;
class Resource;
class ThreadLoader: public EventDispatcher
{
pu... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <WebKit/WebKit.h>
@interface ABI45_0_0RNCWKProcessPoolManager : NSObject
+ (instancetype) sharedManager;
- (WKProcessPool *)sh... |
/* $FreeBSD: src/sys/cam/scsi/scsi_dvcfg.h,v 1.1 2000/10/23 12:55:27 non Exp $ */
/* $NecBSD: scsi_dvcfg.h,v 1.4 1998/03/14 07:05:06 kmatsuda Exp $ */
/* $NetBSD$ */
/*
* [NetBSD for NEC PC-98 series]
* Copyright (c) 1994, 1995, 1996, 1997, 1998
* NetBSD/pc98 porting staff. All rights reserved.
* Copyright (c) 1... |
//
// BQMineTopView.h
// BeeQuick
//
// Created by 郭选 on 2016/12/22.
// Copyright © 2016年 Mac. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BQMineTopView : UIView
@end |
#include "disp_tv.h"
#if defined(SUPPORT_TV)
#define TVE_COUNT 1
static spinlock_t g_tv_data_lock;
static struct disp_device *g_ptv_devices = NULL;
static struct disp_device_private_data *g_ptv_private = NULL;
static bool g_tv_used = 0;
disp_bsp_init_para g_init_para;
struct disp_device* disp_get_tv(u32 disp)
{
u... |
#include <user_interface.h>
#include <ets_sys.h>
#include <osapi.h>
#include <mem.h>
#include <user_config.h>
#include <gpio.h>
#include "driver/ws2812gpio.h"
#ifdef WS2812GPIO
uint8_t* ws2812buffer;
uint16_t amount;
static uint32_t theport = WS2812PIN;
/*void ICACHE_FLASH_ATTR SEND_WS_0()
{
uint8_t t... |
/*
Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
See the accompanying file LICENSE, version 2004-May-22 or later
(the contents of which are also included in zip.h) for terms of use.
If, for some reason, both of these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.... |
/* Copyright 2017 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... |
/*
* Copyright 2010-2016 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" file... |
// interface.h
//
// $Id: interface.h,v 1.7 2004/05/13 13:52:24 sdennis Exp $
//
#include "copyright.h"
#ifndef __INTERFACE__H
#define __INTERFACE__H
#include <sys/types.h>
#ifndef WIN32
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif // HAVE... |
//
// 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"
__attribute__((visibility("hidden")))
@interface APCCodecFactory : NSObject
{
}
+ (id)createBestConfigForCapability:(id)arg1;
+ (float)evaluateCarrierWithConf... |
// 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 CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_CONNECTION_H_
#define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY... |
//@ ltl invariant negative: ( ( ([] (<> ( (! AP((p0_l3 != 0))) && ( AP((p0_l2 != 0)) && ( AP((p0_l1 != 0)) && (! AP((p0_l0 != 0)))))))) || (! ([] (<> AP((v1 == 1)))))) || (! ([] (<> AP((1.0 <= _diverge_delta))))));
extern float __VERIFIER_nondet_float(void);
extern int __VERIFIER_nondet_int(void);
char __VERIFIER_non... |
#ifndef CORE_INCLUDES_IOS_H
#define CORE_INCLUDES_IOS_H
//#include <Accelerate/Accelerate.h>
//TODO: Clean Up
//#import <OpenGLES/ES2/gl.h>
//#import <OpenGLES/ES2/glext.h>
#endif |
/****************************************************************************
*
* Copyright (c) 2016-2022 PX4 Development Team. 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. Red... |
/**
* Copyright (c) 2006-2010 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* includ... |
#ifndef STOPWATCH_H_
#define STOPWATCH_H_
#include <ctime>
class Stopwatch
{
public:
Stopwatch();
void start();
void stop();
float getTimeElapsed();
bool isRunning() const;
private:
float startTime_;
float elapsedTime_;
float finalTime_;
bool running_;
float getProcessTime();
};
#endif |
/* Re-export stable Python API */
#ifdef _M_IX86
#define DECORATE "_"
#else
#define DECORATE
#endif
#define EXPORT_FUNC(name) \
__pragma(comment(linker, "/EXPORT:" DECORATE #name "=" PYTHON_DLL_NAME "." #name))
#define EXPORT_DATA(name) \
__pragma(comment(linker, "/EXPORT:" DECORATE #name "=" PYTHON_DLL_NAME ... |
#ifndef TOKENKEYS
#define TOKENKEYS
//Special
#define EMPTY 1
#define LINE_NO 2
//Identifier
#define ID 4
#define TYPEID 5
#define TYPEID_PRIMITIVE_INT 6
#define TYPEID_PRIMITIVE_BOOL 7
#define TYPEID_PRIMITIVE_CHAR 8
#define TYPEID_PRIMITIVE_FLOAT 9
//Type Parameter Token
#define TPARAM 10
//()[]{}
... |
/*
* Copyright 2014-present IVK JSC. 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 appl... |
/****************************************************************************
* libc/math/lib_fmodl.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
*
* It derives from the Rhombs OS math library by Nick Johnson which has
* a compatibile,... |
//
// HttpRequestWithCache.h
// AFNetWorking
//
// Created by 李世飞 on 2018/4/8.
// Copyright © 2018年 李世飞. All rights reserved.
//
#import <Foundation/Foundation.h>
#define urlStr @"https:www.baidu.com/app/" //这边随意写的,到时候换成公司的
#define Disconnect @"网络连接超时,请检查网络设置"
@protocol HttpRequestCacheDelegate <NSObject>
@op... |
#ifndef __gl_glext_h_
#define __gl_glext_h_ 1
#ifdef __cplusplus
extern "C" {
#endif
/*
** Copyright (c) 2013-2018 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Ma... |
#include "ssh.h"
static void
recv_ssh_smsg_public_key(Conn *c)
{
Msg *m;
m = recvmsg(c, SSH_SMSG_PUBLIC_KEY);
memmove(c->cookie, getbytes(m, COOKIELEN), COOKIELEN);
c->serverkey = getRSApub(m);
c->hostkey = getRSApub(m);
c->flags = getlong(m);
c->ciphermask = getlong(m);
c->authmask = getlong(m);
free(m);
}
... |
NP[thr]
(S[dcl]\NP[thr])/NP
NP/N
N
((S\NP)\(S\NP))/NP
NP/N
N/N
N
((S[ng]\NP)/PP)/NP
N
PP/NP
NP/N
N |
/*
* DRBG: Deterministic Random Bits Generator
* Based on NIST Recommended DRBG from NIST SP800-90A with the following
* properties:
* * CTR DRBG with DF with AES-128, AES-192, AES-256 cores
* * Hash DRBG with DF with SHA-1, SHA-256, SHA-384, SHA-512 cores
* * HMAC DRBG with DF with SHA-1, SHA-256,... |
OP(illegal,2)
{
logerror("Z180 '%s' ill. opcode $ed $%02x\n",
cpustate->device->tag, memory_decrypted_read_byte(cpustate->program, (cpustate->_PCD-1)&0xffff));
}
/**********************************************************
* special opcodes (ED prefix)
**********************************************************/
O... |
// example/C/demo.c
// Copyright 2017 KITT.AI (author: Guoguo Chen)
#include <assert.h>
#include <pa_ringbuffer.h>
#include <pa_util.h>
#include <portaudio.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include "snowboy-detect-c-wrapper.h"
// Pointer to the ring buffer memory.
char* g_ringbuffer;
/... |
/*=========================================================================
Copyright (c) Remi Cresson (IRSTEA). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright ... |
#pragma once
#include <string>
struct SDL_Window;
namespace GW {
namespace RenderEngine {
class Window {
public:
Window();
~Window();
//creates the initial window
void create(std::string name, int width, int height, unsigned int flags);
//set window fullscreen state
void setFullscreen(bool va... |
/* 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... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004-2020 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:56 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/MediaServic... |
// This is a part of the Active Template Library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the library.
// See these sources for detailed infor... |
/*
* Copyright 2010, Lloyd Hilaiel.
*
* 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 conditions and the follow... |
/* Generated by Cython 0.19 on Thu Sep 3 21:52:10 2015 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTERNA... |
/******************************************************************************/
/*!
\file M5ComponentFactory.h
\author Matt Casanova
\par email: lazersquad\@gmail.com
\par Mach5 Game Engine
\date 2016/08/18
Class for instantiating components based on a regiestered name/type.
*/
/***************************... |
/*
* Copyright (C) by Argonne National Laboratory
* See COPYRIGHT in top-level directory
*/
#ifndef ADIO_CB_CONFIG_LIST_H_INCLUDED
#define ADIO_CB_CONFIG_LIST_H_INCLUDED
/* I have no idea what the "D" stands for; it's how things are done in adio.h
*/
struct ADIO_cb_name_arrayD {
int refct;
int namect;... |
//*****************************************************************************
//
// timer.h - Prototypes for the timer module
//
// Copyright (c) 2005-2012 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
//... |
/**
* Copyright (C) Mellanox Technologies Ltd. 2020. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "config.h"
#include "ucc_team.h"
#include "ucc_lib.h"
#include "components/cl/ucc_cl.h"
#include "components/tl/ucc_tl.h"
#include "ucc_service_coll.h"
static ucc_status_t ucc_team_alloc_id(ucc_team... |
#include <stdint.h>
#include "meta_macro.h"
#include "string_util.h"
#include "irq.h"
#include "uart.h"
#include "timer.h"
#include "schedule.h"
#include "signal.h"
#include "task.h"
#include "sys.h"
void irq_int_enable(void)
{
// Clear interrupt mask for d, a, (i), f
asm volatile("msr daifclr, #0x2");
}
void irq... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The Bithost developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:24:10 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/PhotoLibra... |
//baguafu.c 八卦弟子服
#include <armor.h>
inherit CLOTH;
void create()
{
set_name("八卦服", ({ "baguafu" }));
set("long", "這是八卦弟子練功服。\n");
set_weight(2000);
if (clonep())
set_default_object(__FILE__);
else {
set("material", "cloth");
set("... |
// Auto-generated file. Do not edit!
// Template: src/f32-igemm/MRx2c4-sse.c.in
// Generator: tools/xngen
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xmmintrin.h... |
//*****************************************************************************
//
// CTS_Layer.h - Capacative Sense API Layer Header file definitions.
//
// Copyright (c) 2012-2015 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this softwa... |
/**********************************************************************
Audacity: A Digital Audio Editor
CrashReport.h
Paul Licameli
split from AudacityApp.h
**********************************************************************/
#ifndef __AUDACITY_CRASH_REPORT__
#define __AUDACITY_CRASH_REPORT__
#undef ... |
/*
* Copyright (c) 2016, 2017 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*/
#include <string.h>
#include <stdio.h>
size_t strlen(const char *string)
{
size_t result = 0;
while (string[result])
result++;
r... |
#ifndef __GAME_ANIMATEDGUI_H__
#define __GAME_ANIMATEDGUI_H__
class hhAnimatedGui : public hhAnimatedEntity {
public:
CLASS_PROTOTYPE(hhAnimatedGui);
void Spawn(void);
hhAnimatedGui();
virtual ~hhAnimatedGui();
virtual void Think();
void Save( idSaveGame *savefile ) const;
void Restore( idRestor... |
/*==========================================================
* Copyright 2020 QuickLogic Corporation
*
* 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/licens... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_fromFile_w32CreateFile_54c.c
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-54c.tmpl.c
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: fromFile Read input from a file
... |
//
// TBloaderURLConnection.h
// avplayerSavebufferData
//
// Created by qianjianeng on 15/9/15.
// Copyright (c) 2015年 qianjianeng. All rights reserved.
//
//// github地址:https://github.com/suifengqjn/TBPlayer
/// 这个connenction的功能是把task缓存到本地的临时数据根据播放器需要的 offset和length去取数据并返回给播放器
/// 如果视频文件比较小,就没有必要存到本地,直接用一个变量存储即可... |
/* Copyright 2017 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.