text
stringlengths
4
6.14k
// StockODBC.h : Haupt-Header-Datei für die Anwendung STOCKODBC // #if !defined(AFX_STOCKODBC_H__39EDB6D8_4F0C_11D2_B3BF_006097A8F69A__INCLUDED_) #define AFX_STOCKODBC_H__39EDB6D8_4F0C_11D2_B3BF_006097A8F69A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 's...
#include <stdio.h> #include <string.h> #include <assert.h> #include "auz.h" #include "clutil.h" void usage(char *prog) { printf("usage: %s <img>\n", prog); exit(-1); } int main(int argc, char **argv) { bmat src, dst; char *ker_file, *img_file; if (argc != 2) usage(argv[0]); ...
// // CHZTCell.h // 吃货美食 // // Created by eric on 16/5/12. // Copyright © 2016年 赵天. All rights reserved. // #import <UIKit/UIKit.h> #import "CHCfaxian_list.h" @interface CHZTCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *titleLabel; @property (weak, nonatomic) IBOutlet UILabel *tagLanel; @pro...
// // MRISecondViewController.h // marin // // Created by 羽田 健太郎 on 2014/03/19. // Copyright (c) 2014年 羽田 健太郎. All rights reserved. // #import <UIKit/UIKit.h> @interface MRISecondViewController : UIViewController @end
/* $Xorg: dsimple.h,v 1.4 2001/02/09 02:05:54 xorgcvs Exp $ */ /* Copyright 1993, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both th...
// // M3U8SegmentInfo.h // M3U8Kit // // Created by Oneday on 13-1-11. // Copyright (c) 2013年 0day. All rights reserved. // #import <Foundation/Foundation.h> /*! @class M3U8SegmentInfo @abstract This is the class indicates #EXTINF:<duration>,<title> + media in m3u8 file @format #EXTINF:<duration>,<title> #...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.String struct String_t; // System.Type struct Type_t; // System.Object struct Il2CppObject; // System.Security.IPermission struct IPermission_t1411806254; // System.Reflecti...
// UIImage+Resize.h // Created by Trevor Harmon on 8/5/09. // Free for personal or commercial use, with or without modification. // No warranty is expressed or implied. // NOTE: FridayLunch modified to convert from Category to // new Class name since iPhone seems to have some issues with Categories // of built in Cla...
// // LoLStaticData.h // LoLAPI // // Created by Troy Stump on 4/29/14. // // #import "LoLStaticChampionList.h" #import "LoLStaticChampion.h" #import "LoLStaticChampionSpell.h" #import "LoLStaticImage.h" #import "LoLStaticInfo.h" #import "LoLStaticPassive.h" #import "LoLStaticRecommended.h" #import "LoLStaticSkin.h...
/* * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "soc/lcd_periph.h" #include "soc/gpio_sig_map.h" const lcd_signal_conn_t lcd_periph_signals = { .buses = { [0] = { .module = PERIPH_I2S0_MODULE, .irq_id = E...
// SPDX-License-Identifier: Apache-2.0 // Copyright 2021 Eotvos Lorand University, Budapest, Hungary #pragma once #include <rte_atomic.h> #include "stateful_memory_type.h" //============================================================================= // Registers typedef struct { volatile int8_t value; #if...
/** * FreeRDP: A Remote Desktop Protocol Implementation * FreeRDP Proxy Server * * Copyright 2019 Mati Shabtay <matishabtay@gmail.com> * Copyright 2019 Kobi Mizrachi <kmizrachi18@gmail.com> * Copyright 2019 Idan Freiberg <speidy@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
/* * Copyright (C) 2016 Texas Instruments Incorporated * * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are * granted through contract. * * The program may not be used without the written permission of * Texas Instrument...
/* * Copyright 2015 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 law or agreed to...
#ifndef ANIMATION_H #define ANIMATION_H #include <SFML/Graphics.hpp> using namespace sf; /* * A single sprite animation (such as walk south, attack north, etc.) */ class Animation { public: Sprite sprite; Animation(); Animation(Texture *t, float x, float y, int w, int h, int frameCount, float speed, ...
// Copyright 2010-2014, Google 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 list of condit...
// Copyright 2010-2021 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 in...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Attribute2523058482.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignore...
#ifndef __FBTOOL_H_ #define __FBTOOL_H_ #include <sys/ioctl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <linux/fb.h> #include <stddef.h> #include <string.h> #include <sys/mman.h> #include <math.h> #include <stdint.h> #include "page.h" typedef struct fbdev{ int fb; //fr...
/** * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * reproject.h * Authors: Yizhao Gao <ygao29@illinois.edu> * Date: {10/13/2017} */ #ifndef REPROH #define REPROH /** * NAME: nearestNeighborBlockIndex * DESCRIPTION: Find the nearest neighboring source cell's ID for each target cell using a irregular block indexing, faster but with higher memory requirement...
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
// // STConfig.h // STPhotoBrowser // // Created by https://github.com/STShenZhaoliang/STPhotoBrowser.git on 16/1/15. // Copyright © 2016年 ST. All rights reserved. // #ifndef STConfig_h #define STConfig_h #import "STConst.h" #import "STUI.h" #import "UIView+ST.h" #endif /* STConfig_h */
/** * 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...
#include "_cgo_export.h" #include <git2.h> #include <git2/sys/odb_backend.h> #include <git2/sys/refdb_backend.h> typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload); void _go_git_populate_remote_cb(git_clone_options *opts) { opts->remote_cb = (git_remote_create_cb)remoteCreateCallb...
/* Example application which uses testable component. This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or im...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class org_gamepad4j_desktop_GamepadJniWrapper */ #ifndef _Included_org_gamepad4j_desktop_GamepadJniWrapper #define _Included_org_gamepad4j_desktop_GamepadJniWrapper #ifdef __cplusplus extern "C" { #endif /* * Class: org_gamepad4j...
// // ZYMethod.h // ZYFoundationDemo // // Created by ZYSu on 2017/4/12. // Copyright © 2017年 ZYSu. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> typedef void(^ZYVoidBlock)(void); /** 开启异步线程 @param block 需要执行的代码 */ void ZYAsyncThread(ZYVoidBlock block); /** 回主线程 @para...
#include<algorithm> #include<numeric> #include<new> #include<deque> #include<functional> #include<hash_map> #include<hash_set> #include<iterator> #include<list> #include<map> #include<set> #include<stack> #include<vector> #include <slist> #ifndef __WATCOMC__ #include <rope> #endif #ifdef TEST_PTHREAD ...
// // random.h // Jasmine // // Created by Qiang Li on 12-10-10. // Copyright (c) 2012 Qiang Li. All rights reserved. // #include <math.h> #define ARC4RANDOM_MAX 0x100000000u #define ARC4RANDOM_MAX_HALF 0x80000000u /** UNIFORM DISTRIBUTION (CONTINUOUS) **/ #define RANDOM_0_1 (((float)arc4random() / ARC4RANDOM_MA...
/* +---------------------------------------------------------------------------+ | PHP Driver for MongoDB | +---------------------------------------------------------------------------+ | Copyright 2013-2014 MongoDB, Inc. ...
/* * \brief I2C LM75A temperature sensor library * * \author Quentin Comte-Gaz <quentin@comte-gaz.com> * \date 8 July 2016 & 14 January 2018 * \license MIT License (contact me if too restrictive) * \copyright Copyright (c) 2016 Quentin Comte-Gaz * \version 1.1 */ #ifndef LM75A_h #define LM75A_h #if defined(AR...
#pragma once #include "halley/core/api/movie_api.h" #include "halley/resources/resource_data.h" #include "halley/time/halleytime.h" #include "halley/core/graphics/texture.h" #include "halley/core/graphics/sprite/sprite.h" #include <halley/audio/audio_clip.h> #include "halley/core/graphics/movie/movie_player.h" #import ...
/******************************************************************************************[Heap.h] Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson Copyright (c) 2007-2010, Niklas Sorensson Copyright (c) 2013 Mario Alviano, Carmine Dodaro, and Francesco Ricca. Permission is hereby granted, free of charge, to any...
#include <stdlib.h> #include <string.h> #include <unistd.h> #include <ez_macro.h> #include <ez_net.h> #include <ez_log.h> #include "cust_sign.h" void signal_quit_handler(struct ez_signal *sig) { EZ_NOTUSED(sig); } int read_char_from_stdin(char *buf, size_t bufsize) { ssize_t nread; nread = read(STDIN_F...
// Expected expression void main() { if (); }
/* * Copyright (c) 2003-2017 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ /** \file fields...
/* * (C) 2018 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #ifndef BOTAN_MONTY_INT_H_ #define BOTAN_MONTY_INT_H_ #include <botan/bigint.h> namespace Botan { class Modular_Reducer; class Montgomery_Params; /* * Compute -input^-1 mod 2^MP_WORD_BITS. Throws an exception if i...
/* * Copyright (c) 2014 ASMlover. 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 ofconditions ...
// // pirates3d.h // IDKApp // // Created by Jacob Gordon on 4/6/15. // Copyright (c) 2015 Jacob Gordon. All rights reserved. // #ifndef __IDKApp__pirates3d__ #define __IDKApp__pirates3d__ #include <stdio.h> #include "pirates.h" typedef enum { pirates3d_copy_data = 1, pirates3d_dont_copy_data = 0, pirates3d_dont...
/* Copyright (c) 1996 Blake McBride 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 conditions and th...
#pragma once #include "ofMain.h" #include "ofxXmlSettings.h" #include "GUI.h" #include "LedManager.h" #ifdef _WIN32 #include "SpoutManager.h" // Spout SDK #elif MAC_OS_X_VERSION_10_6 #include "ofxSyphon.h" #endif class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void exit()...
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2021, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
/* @LICENSE(MUSLC_MIT) */ /* origin: FreeBSD /usr/src/lib/msun/src/s_rintf.c */ /* * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a...
/* * 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 * following disclaimer. * * 2. Redistribu...
#include <stdio.h> int main (void) { int a[5]; int i; for(i=0;i<5;i++) { i[a]=i; } for(i=0;i<5;i++) { printf("%d\n",a[i]); } ; return 0; }
#pragma once #include "Common.h" #include "Bitmap.h" extern "C" { EXPORT Bitmap * _createBitmap(); EXPORT void _destroyBitmap(Bitmap * bitmap); EXPORT void _initBitmap(Bitmap * bitmap,unsigned int width,unsigned int height); EXPORT unsigned int _bitmapGetWidth(Bitmap * bitmap); EXPORT unsigned int _bitmapGetHe...
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #pragma once #include "Core/STL/CompileTime/TypeListHelpers.h" #include "Core/STL/Types/Delegate.h" namespace GX_STL { namespace CompileTime { namespace _ctime_hidden_ { template <typename T> struct _FunctionInfo {}; template <typ...
/* * Copyright (c) 2014-2015, L3a, * Enrique Gámez Flores <egamez@edisson.com.mx> * 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 c...
#pragma once #include "config.h" #ifdef FRAMEWORK_SUPPORTS_OPENGL #if defined(__APPLE__) #include <OpenGL/gl.h> #include <OpenGL/glext.h> #else #define USE_GLEW #include <GL/glew.h> #endif #ifdef _WIN32 #pragma comment(lib, "glew32") #pragma comment(lib, "opengl32") #include <GL/wglew.h> #endif #endif
/* $Id: misc.h,v 1.2 2005/10/02 07:38:51 geni Exp $ * * Copyright (c) 2005 Huidae Cho * 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 ...
/* * spin_lock.h */ #ifndef CONCURRENCY_SPINLOCK_H_ #define CONCURRENCY_SPINLOCK_H_ #include <atomic> #include <cstdio> #include <pthread.h> namespace conc11 { static const uint_fast16_t SPIN_CYCLES_BEFORE_YIELD = 100; static const uint_fast16_t SPIN_CYCLES_BEFORE_YIELD_FAIR = 100; /** * A simple unfair spin lo...
/* * Copyright (C) 2013- Qiming Sun <osirpt.sun@gmail.com> */ #include <stdlib.h> #include "cint_bas.h" #include "g2e.h" #include "optimizer.h" #include "cint2e.h" #include "cart2sph.h" FINT CINTinit_int2e_coulerf_EnvVars(CINTEnvVars *envs, FINT *ng, FINT *shls, FINT *atm, FINT natm, FIN...
int testPlaImplied() { //no flags A = 0x00; push8(0x23); ram[0] = 0x68; instructions = 1; run(); if(!(A == 0x23 && !(SR&SR_ZERO) && !(SR&SR_NEG))) return -1; //zero flag A = 0x23; push8(0x00); ram[0] = 0x68; instructions = 1; run(); if(!(A == 0x00 && SR&SR_ZERO && !(SR&SR_NEG))) return -1; return 0; }
#ifndef OSC_HANDLER_H #define OSC_HANDLER_H #include "ofxOsc.h" class MadCam; class OscHandler { ofxOscReceiver receiver; MadCam *application = NULL; public: void registerHost(MadCam *app); void process(); }; #endif
#ifndef __LIBRARY_QCOM_TARGET_MMC_LIB_H__ #define __LIBRARY_QCOM_TARGET_MMC_LIB_H__ #include <Chipset/mmc_sdhci.h> typedef struct mmc_device* (*INIT_SLOT_CB)(struct mmc_config_data *config); VOID LibQcomTargetMmcSdhciInit(INIT_SLOT_CB InitSlot); #endif
/* * This file is part of synconv. * * © 2013 Fernando Tarlá Cardoso Lemos * * Refer to the LICENSE file for licensing information. * */ #import <Foundation/Foundation.h> #import "SCVDecoder.h" #import "SCVEncoder.h" #import "SCVPlugin.h" @interface SCVPluginManager : NSObject + (instancetype)sharedInstance;...
/* @LICENSE(MUSLC_MIT) */ #include <ctype.h> int isspace_l(int c, locale_t l) { return isspace(c); }
/* Generated by ./xlat/gen.sh from ./xlat/mbindflags.in; do not edit. */ #ifdef IN_MPERS # error static const struct xlat mbindflags in mpers mode #else static const struct xlat mbindflags[] = { #if defined(MPOL_MF_STRICT) || (defined(HAVE_DECL_MPOL_MF_STRICT) && HAVE_DECL_MPOL_MF_STRICT) XLAT(MPOL_MF_STRICT), #e...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__char_realloc_17.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-17.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: realloc Allocate data using realloc() * GoodSource: Allocate data on the ...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
// SDLPerformAudioPassThruResponse.h // #import "SDLRPCResponse.h" /** * Perform Audio Pass Thru Response is sent, when PerformAudioPassThru has been called * * Since SmartDeviceLink 2.0 */ NS_ASSUME_NONNULL_BEGIN @interface SDLPerformAudioPassThruResponse : SDLRPCResponse @end NS_ASSUME_NONNULL_END
// Copyright 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. #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_OAUTH_HELPER_H_ #define CHROME_BROWSER_SIGNIN_SIGNIN_OAUTH_HELPER_H_ #include <string> #include "base/memory/scoped...
#include <stdio.h> int main(int argc, char *argv[]) { FILE *fp; int a; if (argc != 2) { printf("Usage: %s [FILE]\n", argv[0]); return 1; } fp = fopen(*++argv, "r"); while (fscanf(fp, "%d", &a) != EOF) { int l = a, d, n, count = 0, s, t = 0, tx; fscanf(fp, "%d %d", &d, &n); tx = 6 - d; for (s = 6; s ...
/* $FreeBSD$ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. * * $FreeBSD$ * Id: ip_auth.h,v 2.16.2.2 2006/03/16 06:45:49 darrenr Exp $ * */ #ifndef __IP_AUTH_H__ #define __IP_AUTH_H__ #define FR_NUMAUTH 32 typedef struct frauth { int fra_age; in...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_64b.c Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml Template File: sources-sinks-64b.tmpl.c */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: fgets Read data from ...
/* $NetBSD: macho_machdep.c,v 1.2 2001/11/15 07:03:30 lukem Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Christos Zoulas. * * Redistribution and use in source and binary forms, with or withou...
/* $NetBSD: keywords.h,v 1.7 2003/07/19 01:36:47 jrf Exp $ */ /* WARNING! This file was generated by keywords.sh */ extern struct keytab { char *kt_cp; int kt_i; } keywords[]; #define K_ADD 1 #define K_ATALK 2 #define K_BLACKHOLE 3 #define K_CHANGE 4 #define K_CLONED 5 #define K_CLONING 6 #define K_DELETE 7 #de...
/*- * Copyright (c) 2012 Stephan Arts. 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 condi...
#pragma once #ifdef __cplusplus extern "C" { #endif double NumberLiteral(const char **in); #ifdef __cplusplus } #endif
/* Crown Copyright 2014 AWE. This file is part of TyphonIO. Released under the BSD 3-clause license. For more details see license.txt */ #ifndef _TYPHONIO #define _TYPHONIO #include "tio_error.h" #include "tio_global.h" #include "tio_access.h" #include "tio_vargroup.h" #include "tio_variable.h" #include "tio_...
#include <assert.h> #include "hash_fixed.h" #include "slist.h" #include "const_mem_pool.h" #include "miscdata.h" #include <stdio.h> #define DECL_FIXED_HASH_STRUCT(name) \ struct name {\ char hash_mem[hash_size];\ struct slist_allocator sa;\ } struct slist_allocator { slist *free; siz...
/* * Copyright (c) 2013, Alexander I. Mykyta * 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 conditi...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_memcpy_21.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE193.label.xml Template File: sources-sink-21.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate me...
// // Copyright 2016 The ANGLE 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. // // ProgramNULL.h: // Defines the class interface for ProgramNULL, implementing ProgramImpl. // #ifndef LIBANGLE_RENDERER_NULL_PROGRAMNULL_H_...
// Copyright 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. #ifndef QUICHE_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ #define QUICHE_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ #include "quic/core/quic_...
/* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Cisco Systems. All rights reserved. * Copyright (c) 2005 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2006 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #ifndef MPID_NEM_POST_H #define MPID_NEM_POST_H struct MPIDI_PG; union MPIDI_CH3_Pkt; /* if local_lmt_pending is true, local_lmt_progress will be called in the progress loop ...
#ifndef messagefacility_MessageLogger_MessageLoggerScribe_h #define messagefacility_MessageLogger_MessageLoggerScribe_h #include "cetlib/BasicPluginFactory.h" #include "cetlib/exempt_ptr.h" #include "fhiclcpp/ParameterSet.h" #include "messagefacility/MessageService/ELadministrator.h" #include "messagefacility/MessageS...
// 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_PRIVATE_WORKING_SET_SNAPSHOT_H_ #define CHROME_BROWSER_PRIVATE_WORKING_SET_SNAPSHOT_H_ #include "build/build_config.h" #if define...
/*---- license ----*/ /*------------------------------------------------------------------------- Coco.ATG -- Attributed Grammar Compiler Generator Coco/R, Copyright (c) 1990, 2004 Hanspeter Moessenboeck, University of Linz extended by M. Loeberbauer & A. Woess, Univ. of Linz with improvements by Pat Terry, ...
/** ****************************************************************************** * @file stm32f0xx_it.c * @author MCD Application Team * @version V1.0.0 * @date 23-March-2012 * @brief Main Interrupt Service Routines. * This file provides template for all exceptions handler and ...
// 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 CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ #define CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ #include <string> #include "base/compile...
/*ckwg +29 * Copyright 2014-2016 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 li...
/* $NetBSD: softintr.h,v 1.2 2004/03/25 18:46:27 matt Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Matt Thomas <matt@3am-software.com>. * * Redistribution and use in source and binary forms, ...
#ifndef MANIFOLD_MCPCACHE_COH_MEM_REQ_H #define MANIFOLD_MCPCACHE_COH_MEM_REQ_H #include "cache_types.h" #include "cache_req.h" //for paddr_t #include <iostream> namespace manifold { namespace mcp_cache_namespace { //! message sent to memory controller struct Mem_msg { enum {MEM_REQ, MEM_RPLY}; char type; ...
/* Copyright (c) 2013-2014 Dong Fang. 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 without limitation the rights to use, copy, modi...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkScalarContext_win_dw_DEFINED #define SkScalarContext_win_dw_DEFINED #include "SkScalar.h" #include "SkScalerContext.h" #include "SkTypeface_win_dw.h" #include "SkTy...
//========================================================================== // semaphore.h // Author: Juan Castillo, David Quijano // Date: lun dic 3 2007 // Description: //========================================================================== // The following code is derived, directly or indirectly, from SCoPE, ...
// // Debugger.h // Openbiz-RestModel // // Created by Jixian Wang on 14/12/21. // Copyright (c) 2014年 openbiz. All rights reserved. // #ifndef __Openbiz_RestModel__Debugger__ #define __Openbiz_RestModel__Debugger__ #include <stdio.h> namespace openbiz { class Debugger { public: static void se...
#pragma INPUT memReq16_128_t #pragma OUTPUT memRep128_t #pragma OFFLOAD (lPipe, uint32_t, uint32_t) #pragma OFFLOAD (data, memReq16_128_t, memRep128_t) GS_MEMOP() { memReq16_128_t dramReq; memRep128_t dramRep; dramReq = Input; dramRep = data(dramReq); Output = dramRep; State = GS_DELAY; } GS_DELAY() { ...
#include <stdlib.h> int main(int argc, char **argv) { int x; float r = argc; if (0 > r) { x = 7; } else { x = 42; } return x; }
#include "rs_tester_fec.h" void rs_fec_encode(void *encoder, uint8_t *msg, size_t msg_length, uint8_t *msg_out) { // XXX make sure that pad length used to build encoder corresponds to this // msg_length memcpy(msg_out, msg, msg_length); encode_rs_char(encoder, msg_out, msg_out + msg_l...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2007 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpi.h" #include <stdio.h> #include <string.h> #include "mpitest.h" /* Check that Communicators can be created from various subsets of the processes in the communicato...
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
#pragma once #include "IAsyncThreadPage.h" #include "ListenerArgs.h" #include "IListenerContext.h" #include "ClientArgs.h" #include "IClientContext.h" namespace OpenThreadTalk { class Factory { public: static IListenerContext^ CreateListenerContext(IAsyncThreadPage^, ListenerArgs^); stati...
#ifndef CLASSDEF_MESSAGE #define CLASSDEF_MESSAGE #include "Common.h" struct Msg { char *line; struct Msg *next, *prev; }; class Message { private: int fontsize; int x, y, w, h; int maxmessage, nowmessage, beginmessage; struct Msg *msg, *read, *last; // ‰¡‚É“ü‚é•¶Žš”Ac‚É“ü‚é•¶Žš”B int mw, mh; virtual ...
/* ** estimate false discovery rate based on histograms ** input histograms are generated by "vted" ** ** Ref: Lohmann et al (2016) PLoS One, 11(6):e0158185 ** ** G.Lohmann, MPI-KYB, Jan 2015 */ #include <viaio/VImage.h> #include <viaio/Vlib.h> #include <viaio/mu.h> #include <viaio/option.h> #include <stdio.h> #includ...
/***************************************************************************** Copyright (c) 2010, Intel Corp. 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 cod...