text
stringlengths
4
6.14k
#import <Foundation/Foundation.h> #import <CoreData/CoreData.h> NS_ASSUME_NONNULL_BEGIN @interface UploadEvent : NSManagedObject -(void)save; -(void)destroy; +(UploadEvent*)eventWithId:(NSString*)eventId; +(NSArray*)allEvents; +(void)setupStorage; +(UploadEvent*)create:(NSDictionary*)info; -(NSDictionary*)dataReprese...
#ifndef _MEMORY_H_ #define _MEMORY_H_ #include <stdint.h> struct memory; struct memory* memory_new(); void memory_read(struct memory* memory, uint32_t addr, int bytes, uint8_t *data); void memory_write(struct memory* memory, uint32_t addr, int bytes, uint8_t *data); #endif // _MEMORY_H_
/** * Appcelerator Titanium Mobile * Copyright (c) 2010 by opensauce, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ #impo...
/* Copyright 2015 Sindre Ilebekk Johansen and Andreas Sløgedal Løvland * 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 a...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #include <stdio.h> #include <tchar.h> #include <list> #include <fstream> using namespace std; static const double Pi = ...
/******************************************************************************/ /** @file gen_bench_relations.h @author Graeme Douglas @brief A quick and dirty program for creating test relations for benchmarking the database. @details @copyright Copyright 2013 Graeme Douglas @license Licensed under the Apache Li...
// LocatorAPI.h: interface for the CLocatorAPI class. // ////////////////////////////////////////////////////////////////////// #ifndef LocatorAPIH #define LocatorAPIH #pragma once #pragma warning(push) #pragma warning(disable:4995) #include <io.h> #pragma warning(pop) #include "LocatorAPI_defs.h" class XRCORE_API ...
/** * Copyright 2012 Batis Degryll Ludo * @file DaemonClickIH.h * @since 2018-01-22 * @date 2018-02-25 * @author Batis Degrill Ludo * @brief Input handler capable of run a daemon if given coords are inside a given area. */ #ifndef ZBE_EVENTS_HANDLERS_INPUT_DAEMONCLICKINPUTHANDLER_H #define ZBE_EVENTS_HANDLERS_I...
#import <Foundation/Foundation.h> // Represents a non-blocking future value. Products, functions, and actors, given to the methods on this class, are executed concurrently, and the // Promise serves as a handle on the result of the computation. @interface FKPromise : NSObject { } // Waits if necessary for the computa...
#ifndef PYIU_PACKED_H #define PYIU_PACKED_H #ifdef __cplusplus extern "C" { #endif #define PY_SSIZE_T_CLEAN #include <Python.h> #include "helpercompat.h" typedef struct { PyObject_HEAD PyObject *func; #if PyIU_USE_VECTORCALL vectorcallfunc vectorcall; #endif } PyIUObject_Packed; extern PyTypeObject PyIU...
// // ParseHelper.h // NinjaRunner // // Created by Nikola Bozhkov on 11/8/14. // Copyright (c) 2014 TeamOnaga. All rights reserved. // #import <Foundation/Foundation.h> #import <Parse/Parse.h> #import "Util.h" #import "PlayerScore.h" @interface ParseHelper : NSObject + (PlayerScore *) getPlayerScore; + (void) s...
/* * ===================================================================================== * * Filename: weixin.c * * Description: Function of weixin * * Version: 0.0.1 * Created: 2015/2/4 10:57:58 * Revision: none * * Author: Lin Hui (Link), linhui.568@1...
/****************¡¶51µ¥Æ¬»úÇáËÉÈëÃÅ-»ùÓÚSTC15W4KϵÁС·ÅäÌ×Àý³Ì ************* ¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï ¡¶51µ¥Æ¬»úÇáËÉÈëÃÅ-»ùÓÚSTC15W4KϵÁС· Ò»ÊéÒѾ­Óɱ±º½³ö°æÉçÕýʽ³ö°æ·¢ÐС£ ×÷ÕßÇ×ÊÖ´´×÷µÄÓë½Ì²ÄÅäÌ×µÄ51Ë«ºËʵÑé°å(2¸öMCU)¶Ô³ÌÐòÏÂÔØ¡¢µ÷ÊÔ¡¢·ÂÕæ·½±ã£¬²»ÐèÒªÍⲿ ·ÂÕæÆ÷Óë±à³ÌÆ÷£¬ÕâÖÖÉè¼Æ·½Ê½³¹...
#include <stdio.h> #include <setjmp.h> #include <coroutine.h> //#include <call_in_stack.h> #include <gc.h> #undef GC_LOG_BRIEF #define GC_LOG_BRIEF false static jmp_buf buf; void second(void) { xgc_debug("second\n"); longjmp(buf,1); // 跳回setjmp的调用处 - 使得setjmp返回值为1 } void first(void) { ...
/************************************************************************************************** * File name : test.h * Description : Perform the test cases here. * Creator : Frederick Hsu * Creation date: Wed. 28 Dec. 2016 * Copyright(C) 2016 All rights reserved. * ******************************...
#ifndef _STRUCT_H_ #define _STRUCT_H_ #include <stdlib.h> #include <cJSON.h> #include "str.h" typedef struct { str_t data; size_t capacity; } curl_data_t; #define empty_curl_data {empty_str, 0} extern void curl_data_free(curl_data_t* data); typedef struct pair_array_s curl_header_t; #define empty_curl_...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.Text.RegularExpressions.IntervalCollection/CostDelegate struct CostDelegate_t3008899218; // System.Object struct Il2CppObject; // Sy...
#include "nit.common.h" #define COLOR_nit__location__SourceFile___filename 0 extern const char FILE_nit__location[]; #define COLOR_nit__location__SourceFile___string 1 #define COLOR_nit__location__SourceFile___stream 2 val* standard___standard__BufferedIStream___IStream__read_all(val* self); #define COLOR_nit__location...
// // AppDelegate.h // Droider // // Created by Adam Jensen on 9/25/13. // Copyright (c) 2013 Adam Jensen. All rights reserved. // #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate> { NSOperationQueue *queue; NSStatusItem *statusItem; } - (void)deviceLis...
/* * Copyright (C) 2014 ZYYX, 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 law or agreed...
/* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited * * 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 require...
/* * Copyright (c), Recep Aslantas. * * MIT License (MIT), http://opensource.org/licenses/MIT * Full license can be found in the LICENSE file */ /*! * @brief SIMD like functions */ /* Functions: CGLM_INLINE void glm_vec3_broadcast(float val, vec3 d); CGLM_INLINE void glm_vec3_fill(vec3 v, float val); ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
/** * Appcelerator Titanium Mobile * Copyright (c) 2011 by ListAndPicker, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ #...
/* * @(#)dds_cpp_flowcontroller.h generated by: makeheader Mon Dec 3 23:08:33 2007 * * built from: flowcontroller.ifcxx */ #ifndef dds_cpp_flowcontroller_h #define dds_cpp_flowcontroller_h #ifndef dds_cpp_infrastructure_h #include "dds_cpp/dds_cpp_infrastructure.h" #endif #ifndef dds_c_flowcont...
#define alpha( i,j ) A[ (j)*ldA + (i) ] // map alpha( i,j ) to array A #define beta( i,j ) B[ (j)*ldB + (i) ] // map beta( i,j ) to array B #define gamma( i,j ) C[ (j)*ldC + (i) ] // map gamma( i,j ) to array C #include<immintrin.h> void Gemm_MRxNRKernel( int k, double *A, int ldA, double *B, int ldB, double...
/* * Copyright 2020 Google LLC * * 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 i...
/* This file is part of: NoahFrame https://github.com/ketoo/NoahGameFrame Copyright 2009 - 2018 NoahFrame(NoahGameFrame) File creator: lvsheng.huang NoahFrame is open-source software and you can redistribute it and/or modify it under the terms of the ...
/* $NetBSD: dsn_print.c,v 1.1.1.1 2009/06/23 10:08:45 tron Exp $ */ /*++ /* NAME /* dsn_print /* SUMMARY /* write DSN structure to stream /* SYNOPSIS /* #include <dsn_print.h> /* /* int dsn_print(print_fn, stream, flags, ptr) /* ATTR_PRINT_MASTER_FN print_fn; /* VSTREAM *stream; /* int flags; /* void *ptr; /* DESCRIPT...
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Joystick.rc // #define IDI_MAIN 102 #define IDD_JOYST_IMM 103 #define IDR_ACCELERATOR1 103 #define IDC_CLOSE 1001 #define IDC_X_AXIS 1...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Version History API (versionhistory/v1) // Description: // Version History API - Prod // Documentation: // https://developers.chrome.com/versionhistory #if SWIFT_P...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> /** * * create the files in batch * **/ int createWRFileInBatch (int fileHandlerArray[], int fileHandlerArraySize) { int retValue = 0; if (fileHandlerArray != NULL && fileHandlerArraySize > 0) { ...
/* main.c - Application main entry point */ /* * Copyright (c) 2016 Intel 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/licenses/LICENSE-2....
// // WMCommentViewController.h // 百思不得姐 // // Created by 王蒙 on 15/8/2. // Copyright (c) 2015年 wm. All rights reserved. // #import <UIKit/UIKit.h> @class WMWordToip; @interface WMCommentViewController : UIViewController /**帖子模型*/ @property (nonatomic,strong) WMWordToip *wordToip; @end
// TTTOrdinalNumberFormatter.h // // Copyright (c) 2011 Mattt Thompson (http://mattt.me) // // 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 limitati...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/core/client/AWSError.h> #include <aws/core/client/CoreErrors.h> #include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h> namespace Aws { namespace AmplifyUIBuilder { enu...
//===--- lib/CodeGen/DebugLocStream.h - DWARF debug_loc stream --*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#ifndef LIBWEBP_NO_SRC #include "../../libwebp_src/src/dsp/dsp.h" #endif
// // KLSubmitOrderViewController.h // siRuiLogistics // // Created by desunire on 2017/9/27. // Copyright © 2017年 desunire. All rights reserved. // #import <UIKit/UIKit.h> @interface KLSubmitOrderViewController : UIViewController @end
// bslstl_badweakptr.h -*-C++-*- #ifndef INCLUDED_BSLSTL_BADWEAKPTR #define INCLUDED_BSLSTL_BADWEAKPTR #include <bsls_ident.h> BSLS_IDENT("$Id: $") //@PURPOSE: Provide an exception class to indicate a weak_ptr has expired. // //@CLASSES: // bslstl::BadWeakPtr: exception...
// // AppDelegate.h // LZThreadPro04GCD // // Created by comst on 15/10/7. // Copyright (c) 2015年 com.comst1314. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType3507792607.h" // System.Collections.Generic.List`1<UnityEngine.EventSystems.IEventSystemHandler> struct List_1_t2110309450; // UnityEngine.EventSys...
#include <SFML/System.hpp> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #ifndef LIGHTH #define LIGHTH struct Wall { Wall (sf::Vector2f p1,sf::Vector2f p2) { pt1=p1; pt2=p2; } // Pt1 et Pt2 sont les deux extrémités du mur sf::Vector2f pt1; sf::Vector...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * 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 opti...
/* * Copyright (c) 1999-2000 Image Power, Inc. and the University of * British Columbia. * Copyright (c) 2001-2004 Michael David Adams. * All rights reserved. */ /* __START_OF_JASPER_LICENSE__ * * JasPer License Version 2.0 * * Copyright (c) 2001-2006 Michael David Adams * Copyright (c) 1999-2000 Image P...
#ifndef DEF_GLUT_MGT #define DEF_GLUT_MGT #include <iostream> #include <GL/gl.h> #include <GL/glut.h> #include <boost/thread/thread.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #define KEY_ESCAPE 27 #define CHKERR if (glGetError() != GL_NO_ERROR) printf("** I screwe...
/* * 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...
#ifndef LPC_INCL_H #define LPC_INCL_H #include "std.h" #include "include/function.h" #include "include/origin.h" #include "config.h" #include "applies.h" #include "main.h" #include "program.h" #include "buffer.h" #include "interpret.h" #include "simulate.h" #include "file.h" #include "stralloc.h" #endif
/* * 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...
// // MRDPCursor.h // MacFreeRDP // // Created by Laxmikant Rashinkar // Copyright (c) 2012 FreeRDP.org All rights reserved. // #import <Cocoa/Cocoa.h> #include "freerdp/graphics.h" @interface MRDPCursor : NSObject { @public rdpPointer *pointer; uint8 *cursor_data; // bitmapped pixel d...
/* * Copyright (c) 2018 Arm Limited * * 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...
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: ChunkServer.h 385 2010-05-27 15:58:30Z sriramsrao $ // // Created 2006/03/16 // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apach...
#pragma once #include <memory> #include "extensions/filters/http/jwt_authn/authenticator.h" #include "extensions/filters/http/jwt_authn/verifier.h" #include "test/mocks/upstream/mocks.h" #include "gmock/gmock.h" using ::google::jwt_verify::Status; namespace Envoy { namespace Extensions { namespace HttpFilters { n...
/** * Copyright 2016 BitTorrent 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 law or agreed to in wr...
/*! \brief Header for SPI.c. * \details Header for SPI communication library. * \author Raphael Lauber, NTB * \date 01.12.2015 */ #ifndef SPI_H_ #define SPI_H_ #include <avr/io.h> /* Prototypes */ void SPI_Write(uint8_t*, uint8_t); void SPI_Read(uint8_t*, uint8_t); void SPI_WriteRead(uint8_t*, uint8_t, uint8...
// // XJRLoginRegisterViewController.h // DSBuDeJie // // Created by 邢京荣 on 16/7/4. // Copyright © 2016年 邢京荣. All rights reserved. // #import <UIKit/UIKit.h> @interface XJRLoginRegisterViewController : UIViewController @end
//catalan数的应用 形如f(n) = f(n-1) + f(n-2)f(1) + f(n-3)f(2) + … + f(1)f(n-2) + f(n-1)的特征结构 int numTrees(int n) { int a = n+1; int b = n; long ret = 1; for(int i = 1; i <= b; i++) { ret = ret * a; ret = ret / i; a++; } return ret / (n+1); }
/* Copyright (c) 2017 TOSHIBA Digital Solutions 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/licenses/LICENSE-2.0 Unless required by appl...
#include "lunkwill.h" struct _fifo *Sighandler=NULL; struct module_info Modules[256]; /** * \brief Where it all begins */ int main(int argc, char** argv) { char *err=NULL; int pipe1[2]; int pipe2[2]; pid_t pid; int opt; int log_level=0; char *log_file=NULL; int conf; char *config_path=NULL; config_t con...
/** * Appcelerator Titanium Mobile * Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ /** This is generated, do not edit by hand. **/ #include <jni.h> #include "Proxy.h" ...
/* FreeRDP: A Remote Desktop Protocol client. Video Redirection Virtual Channel Copyright 2010-2011 Vic Lee 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.apac...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 ts=8 et ft=cpp : */ /* 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 obtain one at http://mozilla.org/MPL/2.0/. *...
/* * 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. */ #ifndef LINT #endif /* */ /* tndqcosy - double quantum filtered cosy exper...
/** * Copyright 2013 Yahoo! 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 law or agreed to in writing, sof...
// Copyright 2016 InnerFunction 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 applicable law or agreed to ...
// // TestIndexViewController.h // SimpleApp // // Created by 邬勇鹏 on 2018/5/10. // Copyright © 2018年 wuyp. All rights reserved. // #import <UIKit/UIKit.h> @interface TestIndexViewController : UIViewController @end
// // DoraemonMockApiCell.h // DoraemonKit // // Created by didi on 2019/11/15. // #import "DoraemonMockBaseCell.h" NS_ASSUME_NONNULL_BEGIN @interface DoraemonMockApiCell : DoraemonMockBaseCell @end NS_ASSUME_NONNULL_END
// -*- c++ -*- // // Copyright 2011 A.N.M. Imroz Choudhury // // NewCache.h #ifndef NEW_CACHE_H #define NEW_CACHE_H // #define USE_STRING_INFO // MTV headers. #include <Core/Dataflow/BlockStream/BlockStreamReader.h> #include <Core/Dataflow/TraceReader.h> #include <Core/Util/BoostPointers.h> #include <Tools/CacheSimu...
// FileRobotDlg.h : Header-Datei // #pragma once ///////////////////////////////////////////////////////////////////////////// // CFileRobotDlg Dialogfeld class CFileRobotDlg : public CDialog { // Konstruktion public: CFileRobotDlg(CWnd* pParent = NULL); // Standard-Konstructor ~CFileRobotDlg (); // Dialogfeldd...
#include <SFML/Graphics.hpp> #include <iostream> #pragma once /** *\file unit.h * *\brief deze library bevat de klasse unit * * \class unit * * \brief de klasse unit is de hoofd klasse van de verschillende eenheden * * \author Olaf van der Kruk * \author Ben Meulenberg * \author Peter Markotic...
#ifndef MISCELLANEOUS_H #define MISCELLANEOUS_H #if defined(_WIN32) #include <dirent.h> #else #include <sys/stat.h> #endif int createDirectory(string name) { #if defined(_WIN32) return mkdir(name.c_str()); #else return mkdir(name.c_str(), 0777); #endif } #endif // MISCELLANEOUS_H
// Copyright (c) 2018 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 requir...
/* * 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...
/* * fifo.h * * Created on: 2014-09-25 * Author: QiuWeibo */ #ifndef FIFO_H_ #define FIFO_H_ #ifdef __cplusplus extern "C" { #endif #ifdef FIFO_GLOBALS #define FIFO_EXT #else #define FIFO_EXT extern #endif #include "stm32f10x.h" typedef struct { u8 *write_ptr; // дָÕë u8 *read_ptr; ...
/* * 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...
#ifndef r_constantsH #define r_constantsH #pragma once #include "xrcore/xr_resource.h" #if defined(USE_DX10) || defined(USE_DX11) #include "../xrRenderDX10/dx10ConstantBuffer.h" #endif // USE_DX10 class ECORE_API R_constant_setup; enum { RC_float = 0, RC_int = 1, RC_bool = 2, RC_sampler = 99, /...
#ifndef BABYLON_MATHS_POSITION_NORMAL_VERTEX_H #define BABYLON_MATHS_POSITION_NORMAL_VERTEX_H #include <memory> #include <ostream> #include <babylon/babylon_api.h> #include <babylon/maths/vector3.h> namespace BABYLON { /** * @brief Contains position and normal vectors for a vertex */ class BABYLON_S...
/* $NetBSD: proforma.c,v 1.3 2012/06/05 00:42:14 christos Exp $ */ /* * Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is h...
// // CBJSONEncoder.h // CBJSON // // Created by Jens Alfke on 12/27/13. // Copyright (c) 2013 Couchbase. All rights reserved. // #import <Foundation/Foundation.h> /** Encodes Cocoa objects to JSON. Supports canonical encoding. */ @interface CBJSONEncoder : NSObject - (instancetype) init; - (BOOL) encode: (id)o...
/* * * ZDCFormCellSingleLine.h * ZDCChat * * Created by Zendesk on 29/01/2015. * * Copyright (c) 2016 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master * Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subs...
/*! \file main.c \brief master send and slave receive data use interrupt mode */ /* Copyright (C) 2016 GigaDevice 2014-12-26, V1.0.0, firmware for GD32F1x0(x=3,5) 2016-01-15, V2.0.0, firmware for GD32F1x0(x=3,5,7,9) 2016-04-30, V3.0.0, firmware update for GD32F1x0(x=3,5,7,9) */ #include "gd...
/* * 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...
#pragma once #include <exception> #include <string> #if defined DLL_EXPORT #define SILENCE_EXPORT __declspec(dllexport) #else #define SILENCE_EXPORT __declspec(dllimport) #endif #pragma warning(disable: 4290) #pragma warning(disable: 4275) #pragma warning(disable: 4251) enum class Component { Label, Textu...
/* * * Copyright (c) 2021 Project CHIP 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...
/* LzFind.h -- Match finder for LZ algorithms 2009-04-22 : Igor Pavlov : Public domain */ /* Modified by Felix Hanau*/ #ifdef __cplusplus extern "C" { #endif typedef unsigned char Byte; typedef unsigned UInt32; typedef struct _CMatchFinder { const Byte *buffer; const Byte *bufend; UInt32 pos; ...
#include <stdio.h> #include <stdlib.h> #include "../common/matrix.h" #include "../common/file_io.h" #include "../common/vector.h" #define FILENAME_IN "in.txt" // TODO: reuse it from lab6 double getA(Matrix *matrix, int ai) { return matrix->data[ai][matrix->w - 1]; } double getB(Matrix *matrix, int bj) { return ...
// // BakeMutton.h // Command // // Created by btw on 15/2/26. // Copyright (c) 2015年 Nihility. All rights reserved. // #import "Command.h" @interface BakeMutton : Command <Command> @end
// Protocol Buffers for Objective C // // Copyright 2010 Booyah Inc. // Copyright 2008 Google 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.or...
void a() { return 1; } void b() { return 2; } void c() { return 3; } void d() { return 4; } void e() { return 5; } void f() { return 6; } int main( int argc, char** argv ) { int i; motion_append_after_call( c, z ); motion_append_after_call( d, z ); motion_append_after_call( e, z ); ...
/* ------------------------------------------------------------------------- */ /* * Copyright 2007-2018 GRAHAM DUMPLETON * * 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:...
//#import <UIKit/UIKit.h> #import "ZMBaseViewController.h" #import "JHPopoverViewController.h" #import "UIExpandingTextView.h" @interface ZMMdlBbsVCtrl : ZMBaseViewController<UITableViewDataSource,UITableViewDelegate,UITextViewDelegate> { UIExpandingTextView * TV_Draft_Content ; UIScrollView * forumTitle...
#if !defined(AFX_PCXEXPORT_H__083C40D4_C400_4AAD_B145_5178DFACB86E__INCLUDED_) #define AFX_PCXEXPORT_H__083C40D4_C400_4AAD_B145_5178DFACB86E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the...
/* newmail, version 1.0 ©2006 Robert Lillack, burningsoda.com */ #include <dirent.h> #include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> #ifdef HAVE_NAMLEN #define NAMLEN(x) x->d_namlen #...
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIMEFIELDHANDLE_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIMEFIELDHANDLE_H #include <mscorlib/System/mscorlib_System_ValueType.h> #include <mscorlib/System/Runtime/Serialization/mscorlib_System_Runtime_Serialization_ISerializable.h> #include <mscorlib/System/mscorlib_System_O...
#include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <errno.h> #include <assert.h> #include <dirent.h> #include <cstdint> #include <math.h> #include <map> #include <queue> #include <set> #include <limits> #include <unistd.h> #include <unordered_set> #include <uno...
/* * Copyright (C) 2001-2003 by egnite Software GmbH. 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, thi...
/* Copyright (c) 2017, Palo Alto Research Center 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 list of...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "ActorFactories/ActorFactory.h" #include "ActorFactoryEmitter.generated.h" UCLASS(MinimalAPI, config=Editor, collapsecategories, hidecategories=Object) class UActorFactoryEmitter : public UActorFactory { GENERATED_UCLASS_BODY() // ...
#ifndef _TINYSRV_CONNECTION_H #define _TINYSRV_CONNECTION_H #include "project.h" #include "config.h" #include "http.h" struct ts_connection { const char *str; int length; int filefd; ps_http_request_header_t *request; ps_http_response_header_t *response; }; typedef struct ts_connection ps_connection_t; st...