text
stringlengths
9
948k
#ifndef __TIMER_H__ #define __TIMER_H__ #include "Globals.h" #include "SDL\include\SDL.h" class Timer { public: // Constructor Timer(); void Start(); void Stop(); Uint32 GetStartTime(); Uint32 Read(); private: bool running; Uint32 started_at = 0; Uint32 stopped_at = 0; }; #endif //__TIMER_H__
/* * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/***************************************************************** ** ** @(#) log.c -- The ZKT error logging module ** ** Copyright (c) June 2008, Holger Zuleger HZnet. All rights reserved. ** ** This software is open source. ** ** Redistribution and use in source and binary forms, with or without ** modification, are ...
int main() { int x = 0; int y = 0; while (1) { /* invariant: 102 + -1 * x + -1 * y >= 0 y >= 0 x + -1 * y >= 0 */ if (x <= 50) y++; else y--; if (y < 0) break; x++; } }
#ifndef INCLUDED_ENGINE_SYSTEM_FACTORY_H #define INCLUDED_ENGINE_SYSTEM_FACTORY_H #include "platform/factory.h" #include "platform/singleton.h" #include "platform/id_storage.h" #include <memory> #include "engine/system.h" namespace engine { class SystemFactory : public platform::Factory<System>, public platform::Sing...
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Memory-to-memory device framework for Video for Linux 2. * * Helper functions for devices that use memory buffers for both source * and destination. * * Copyright (c) 2009 Samsung Electronics Co., Ltd. * Pawel Osciak, <pawel@osciak.com> * Marek Szyprowski, <m...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019-2021 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
/* liblinphone_tester - liblinphone test suite Copyright (C) 2013 Belledonne Communications SARL 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, ...
#include <platform/httpd.h> #include <platform/memory.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <string.h> #include <stdio.h> #include <stdint.h> #include <pthread.h> pthread_t httpdTaskHandle; #define HTTPD_CLIENT_BUFF_LENGTH 256 static char *defaultRespo...
#include "site_loader.h" int load_themes(configuration_struct* configuration, site_content_struct* site_content) { dstring_struct base_dir; dstring_lazy_init(&base_dir); if(!dstring_append(&base_dir, configuration->content_base_dir) || !dstring_append(&base_dir, "/themes/bright")) { fprintf(stderr, "Error loa...
// // DTOACCOUNTLEADProcess.h // OfficeOneStudy // // Created by ADMIN on 11/13/14. // // #import "BaseDataProcess.h" #define FIX_LEADTYPE_PERSON @"0" #define FIX_LEADTYPE_BUSSINESS @"1" #define SELECT_TEXT_ADD_PERSON @"Khách hàng cá nhân" #define SELECT_TEXT_ADD_BUSSINESS @"Khách hàng doanh nghiệp" /* * Khách ...
//Compare String #include <stdio.h> #include <string.h> int main() { char a[100], b[100]; printf("Enter the first string\n"); gets(a); printf("Enter the second string\n"); gets(b); if( strcmp(a,b) == 0 ) printf("Entered strings are equal.\n"); else printf("Entered strings are not equal.\n"); retur...
#ifndef _DC_CTRL_H_ #define _DC_CTRL_H_ #include "mapledev.h" #define MCFG_DC_CONTROLLER_ADD(_tag, _host_tag, _host_port, d0, d1, a0, a1, a2, a3, a4, a5) \ MCFG_MAPLE_DEVICE_ADD(_tag, DC_CONTROLLER, 0, _host_tag, _host_port) \ dc_controller_device::static_set_port_tag(*device, 0, d0); \ dc_controller_device::stati...
/*!The Treasure Box Library * * 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...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkColorSpaceXform_Base_DEFINED #define SkColorSpaceXform_Base_DEFINED #include "SkColorSpace.h" #include "SkColorSpace_Base.h" #include "SkColorSpaceXform.h" #include...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
#include <stdio.h> #include <string.h> #include "utils/tsh.h" #define SIZE 10000 int main() { char out[SIZE], err[SIZE]; int ret; memset(out, 0, SIZE); memset(err, 0, SIZE); ret = tsh_run_output("/bin/ls /", 5, out, SIZE, err, SIZE); printf("ret: %d; out: %s; err: %s\...
/*************************************************************************/ /* root_motion_editor_plugin.h */ /*************************************************************************/ /* This file is part of: */ /* ...
#pragma once #include <QTest> #include <QDebug> #include <QString> namespace qtestbdd { class Scenario { public: Scenario(const QString &description) : mDescription(description) { printScenario(); } virtual ~Scenario() { if (!mGi...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "TEST-SM-IEs" * found in "../v1/test_sm.asn1" * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.` */ #ifndef _ConstrainedChoice4_H_ #define _ConstrainedChoice4_H_ #include "asn_a...
/*++ Copyright (c) 1991-2000 Microsoft Corporation Module Name: ntdisp.c Abstract: NT specific routines for dispatching and handling IRPs. Author: Mike Massa (mikemas) Aug 13, 1993 Revision History: Who When What -------- -------- ----------------------------...
#ifndef __cy_input_h #define __cy_input_h typedef struct { int a; }cy_input_type; extern cy_input_type cy_input_; void cy_input_init(void); void cy_input_polling(void); #endif //__cy_input_h
/**************************************************************************** ** ** Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holdin...
#ifndef MenuLayer_h__ #define MenuLayer_h__ #include "cocos2d.h" #include "ChapterLayer.h" #include "ui/CocosGUI.h" USING_NS_CC; using namespace ui; class MenuLayer:public Layer { public: static Scene* createScene(); virtual bool init(); virtual void onKeyReleased(EventKeyboard::KeyCode keyCode, Event* event); CRE...
#ifndef _MFnNonExtendedLight #define _MFnNonExtendedLight //- // ========================================================================== // Copyright (C) 1995 - 2006 Autodesk, Inc., and/or its licensors. All // rights reserved. // // The coded instructions, statements, computer programs, and/or related // material ...
// Copyright (c) 1994-2006 Sun Microsystems 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 ...
// // DZYProductController.h // DZYInsurance // // Created by 周永超 on 2017/8/3. // Copyright © 2017年 zhouyongchao. All rights reserved. // #import "ZYCBaseViewController.h" typedef NS_ENUM(NSInteger, InsuranceType) { InsuranceTypeXianZhong, InsuranceTypeRenQun, InsuranceTypePinPai, }; @interface ...
// Copyright (c) 2016 Surya Suluh and contributors. All rights reserved. // Licensed under the MIT License. See included LICENSE in the project root for license information. #pragma once #include "..\OsrmFwdDecl.h" #include "..\Waypoint.h" namespace Osrmnet { ref class Coordinate; namespace TripService { publ...
#ifndef LANGUAGE_H #define LANGUAGE_H #define TEXT_INITIALIZING "Inicializando..." #define TEXT_INIT_DONE "Listo!" #define TEXT_SOFTWARE_VERSION "Ver " #define TEXT_LIST_SENSORS_SENSOR_ROW "Sensor #" #define TEXT_LIST_SENSORS_STATUS_TEXT ", estado: " #define TEXT_LIST_SENSORS_STATUS_ON "on" #define TEXT_LIST_SENSORS...
/* * * Copyright (C) 2015-2017, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Joerg Ri...
/* * Generated by class-dump 3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard. */ #import "NSObject.h" #import "IDERefactoringResult.h" @class DVTFilePath, NSArray, NSMutableArray, NSString; @interface IDERefactoringFileChangeSet : NSObject <IDERefactoringRes...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017 ArangoDB GmbH, Cologne, Germany /// /// 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...
#pragma once // ===========================================================================| // INCLUDES | // ===========================================================================| #include <Windows.h> #include "Action.h" #include "AppConsole.h" #...
/* * DTLS - heavily based on: * https://bitbucket.org/tiebingzhang/tls-psk-server-client-example/src/783092f802383421cfa1088b0e7b804b39d3cf7c (Tiebing Zhang) */ #include "dtls.h" #define MAX_PAYLOAD_SIZE 1350 static int dtls_ctx_index; static void debug(struct dtls_ctx *ctx, int level, char *fmt, ...) { va_l...
/* 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 required by applicable law or agr...
/* * ZSTD Library Python bindings * Copyright (c) 2015-2020, Sergey Dryabzhinsky * All rights reserved. * * BSD License * * 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...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #ifndef AZ_HEAP_ALLOCATION_SCHEME_ALLOCATOR_H #define AZ_HEAP_ALLOCATION_SCHEME_ALLOCATOR_H #inclu...
#ifndef _ZPREREQUISITES_H #define _ZPREREQUISITES_H #include "winsock2.h" #include "MXml.h" #include <windows.h> #include "RNameSpace.h" #include "MUtil.h" #include "RTypes.h" #include "RealSpace2.h" _USING_NAMESPACE_REALSPACE2 #include "RBspObject.h" #include "RMeshMgr.h" #include "RVisualMeshMgr.h" #include "RMate...
#pragma once #include "../robusto_packet.h" #include "../chat_info.h" namespace core { namespace tools { class http_request_simple; } } namespace core { namespace wim { class get_chat_home: public robusto_packet { virtual int32_t init_request(std::shared_ptr<...
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT License. Abstract: The per UDP binding (local IP/port and optionally remote IP) state. This includes the lookup state for processing a received packet and the list of listeners registered. --*/ #include "precomp.h" #ifdef QUIC_LO...
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <string.h> #include "esp_types.h" #include "esp_attr.h" #include "esp_intr_alloc.h" #include "esp_log.h" #include "esp_err.h" #include "esp_check.h" #include "malloc.h" #include "freertos/F...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageOpenClose3D.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwar...
/* * Ioctl interface to Cronyx serial drivers. * * Copyright (C) 1997-2002 Cronyx Engineering. * Author: Serge Vakulenko, <vak@cronyx.ru> * * Copyright (C) 2001-2003 Cronyx Engineering. * Author: Roman Kurakin, <rik@cronyx.ru> * * This software is distributed with NO WARRANTIES, not even the implied * warrant...
/*++ Copyright (c) 1990 Microsoft Corporation Module Name: extsect.c Abstract: This module contains the routines which implement the NtExtendSection service. Author: Lou Perazzoli (loup) 8-May-1990 Landy Wang (landyw) 02-June-1997 Revision History: --*/ #include "mi.h" #ifdef ALLOC_PRAGMA...
#ifndef __SYSTEM_SYSTEM_H__ #define __SYSTEM_SYSTEM_H__ #include "System+Defines.h" #include "System+Includes.h" #include "System+Assert.h" #include "System+Types.h" //#include "System+Intrinsics.h" // namespace Sys { /// <summary> /// Exception /// </summary> static const int Exception_MAX_ERROR_LEN = 2048; __de...
#ifndef _BPL_HEADERS_ #define _BPL_HEADERS_ #include <tndo_assert.h> typedef struct { unsigned char type, typeb; unsigned short w, h; unsigned short FILL; unsigned char data[1]; } t_bpl_head; // Data // 0 -> pal R G B //[256 * 3] -> bitplanes #define MODE_BPL (100) #define MODE_SPR4 (101) #define MODE_SPR16...
/* * Copyright (C) 2020 Southern Storm Software, Pty Ltd. * * 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, ...
/* * Copyright (c) Facebook, Inc. and its 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 applic...
#ifndef __STASIS_LOG_FILE_POOL_H #define __STASIS_LOG_FILE_POOL_H #include <stasis/common.h> #include <stasis/logger/logger2.h> BEGIN_C_DECLS stasis_log_t* stasis_log_file_pool_open(const char* dirname, int filemode, int fileperm); END_C_DECLS #endif
/* * AIFF/AIFF-C demuxer * Copyright (c) 2006 Patrick Guimond * * This file is part of FFmpeg. * * FFmpeg 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, o...
/* * (C) 2015,2017 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #ifndef BOTAN_FFI_UTILS_H_ #define BOTAN_FFI_UTILS_H_ #include <cstdint> #include <memory> #include <stdexcept> #include <functional> #include <botan/exceptn.h> #include <botan/mem_ops.h> namespace Botan_FFI { ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "MMObject.h" #import "CBCentralManagerDelegate.h" #import "CBPeripheralDelegate.h" @class CBCentralManager, NSMutableDictionary, NSObject<OS_dispatch_queue>, NSRecursiveLo...
/* Copyright (c) 2019, Ameer Haj Ali (UC Berkeley), and Intel 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: 1. Redistributions of source code must retain the above copyright notice, this ...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
// Copyright 2016 The Draco Authors. // // 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 agree...
/* ============================================================================== This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers. See LICENSE.txt for more info. ============================================================================== */ #pragma once #include <windows.h> #...
/* * See the file LICENSE for redistribution information. * * Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved. * */ /* * This compilation unit contains functions related to generating the * storage layer implementation in "C". */ #include "generation.h" static int header_indent_lev...
/* * bandpass.c * * Created on: Sep 7, 2013 * Author: Pablo */ /* FIR filter designed with http://t-filter.appspot.com sampling frequency: 22000 Hz fixed point precision: 31 bits * 0 Hz - 500 Hz gain = 0 desired attenuation = -40 dB actual attenuation = -50.91 dB * 900 Hz - 1100 Hz gain = 1 d...
/** * Copyright (C) 2011, 2012, 2013 CentecNetworks, 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 * ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:42:50 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PassKitUI.framework/PassKitUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli...
// // CYXDownloadManager.h // CYXDownload // // Created by wangqichao on 2018/12/8. // Copyright © 2018年 wangqichao. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "DownLoadCenterManager.h" typedef NS_ENUM(NSUInteger, CYXOperationType) { kCYXOperationType_startAll, ...
/* * PCI Backend Common Data Structures & Function Declarations * * Author: Ryan Wilson <hap9@epoch.ncsc.mil> */ #ifndef __XEN_PCIBACK_H__ #define __XEN_PCIBACK_H__ #include <linux/pci.h> #include <linux/interrupt.h> #include <xen/xenbus.h> #include <linux/list.h> #include <linux/spinlock.h> #include <linux/work...
/* * Copyright 2014-2019 Real Logic 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 agree...
/* This file is part of GDBM test suite. Copyright (C) 2011 Free Software Foundation, Inc. GDBM 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, or (at your option) any later versi...
#include <stdio.h> #include <unistd.h> #include <assert.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_partition.h" #include "esp_flash.h" #include "esp_system.h" /* utility functions */ static void die(const char* msg) __attribute__ ((noreturn)); static const char* get_...
/***************************************************************************** * $Id$ * * Project: MapServer * Purpose: OGC Web Services (WMS, WFS, WCS) support function definitions * Author: Daniel Morissette, DM Solutions Group (morissette@dmsolutions.ca) * *************************************************...
// // Bridging-Header.h // Apptivator // #ifndef Bridging_Header_h #define Bridging_Header_h #import <Cocoa/Cocoa.h> #import <MASShortcut/Shortcut.h> #import <AXSwift/AXSwift.h> #endif /* Bridging_Header_h */
//-------------------------------------------------------------------------------------- // File: DXUTMisc.h // // Helper functions for Direct3D programming. // // Copyright (c) Microsoft Corporation. All rights reserved //-------------------------------------------------------------------------------------- #pragma on...
#include "posixc.h" int main() { printf("PosixC Asynchronous Logging Server\n"); posixc_asynclogsvr server; posixc_asynclogsvr_init(&server, "/tmp/wjplog", 1024, 3000); while(true); return 0; }
main(c,n,i){ scanf("%d",&n); while(n--){scanf("%d",&i);c+=i?1:-1;} if(c-1>0)puts("Junhee is cute!"); else puts("Junhee is not cute!"); }
////////////////////////////////////////////////////////////////////// // Name: wxMD5.h // Purpose: wxMD5 Class // Author: Casey O'Donnell // Creator: Derived from the RSA Data Security, Inc. // MD5 Message-Digest Algorithm // ...
// Shell. #include "types.h" #include "user.h" #include "fcntl.h" // Parsed command representation #define EXEC 1 #define REDIR 2 #define PIPE 3 #define LIST 4 #define BACK 5 #define MAXARGS 10 struct cmd { int type; }; struct execcmd { int type; char *argv[MAXARGS]; char *eargv[MAXARGS]; }; struct re...
#ifndef __CelShading_H__ #define __CelShading_H__ #include "SdkSample.h" using namespace Ogre; using namespace OgreBites; class _OgreSampleClassExport Sample_CelShading : public SdkSample { public: Sample_CelShading() { mInfo["Title"] = "Cel-shading"; mInfo["Description"] = "A demo of cel-sh...
/* 来源:iso11898_2_dwcan * 说明: 本代码段只做下位机接口调用和实现proBase相关抽象方法,具体实现放在下位机中. * 作者: Thomas * 时间: 20180604 */ #pragma once #include <atomic> #include "../../../FcarPdudll/public/proBase.h" class proISO11898_2_DWCAN : public proBase { public: proISO11898_2_DWCAN(); virtual ~proISO11898_2_DWCAN(); void OnEvent(UNUM3...
#pragma once #include <Render/Sampler.h> // A Direct3D9 implementation of a sampler state object // NB: this implementation stores all the relevant D3D9 sampler states in each sampler object. // To save space, keys are stored only once in a static array D3DStates[], and values are stored per-object // in D3DStateValue...
// // BRTDirectionalHint.h // BRTMapProject // // Created by thomasho on 2018/4/18. // Copyright © 2018年 thomasho. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreLocation/CoreLocation.h> #import <Mapbox/Mapbox.h> #import "IPVector.h" #define INITIAL_EMPTY_ANGLE 1000 /** 相对方向类型,用于导航提示 */...
/* * Copyright (c) 2021, 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, publis...
/* linux/arch/arm/mach-msm/board-trout.c * * Copyright (C) 2009 Google, Inc. * Author: Brian Swetland <swetland@google.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified und...
/* ################################################################### ** This component module is generated by Processor Expert. Do not modify it. ** Filename : WAIT1.h ** Project : FlaskScreen ** Processor : MK22FN256VLH12 ** Component : Wait ** Version : Component 01.067, Drive...
/* ws_pow2.h * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __WS_POW2_H__ #define __WS_POW2_H__ /* * Macros to calculate pow2^M, for various power-of-2 values and positive * integer value...
#ifndef Magnum_GL_AbstractTexture_h #define Magnum_GL_AbstractTexture_h /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2017-2019 The Uzlocoin Developers // Distributed under the MIT software license, see the accompanying // file COPYI...
/* gpg-error.h or gpgrt.h - Common code for GnuPG and others. -*- c -*- * Copyright (C) 2001-2019 g10 Code GmbH * * This file is part of libgpg-error (aka libgpgrt). * * libgpg-error is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as publ...
/* v3_akey.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
// ----------------------------------------------------------------------------- // Fern © Geoneric // // This file is part of Geoneric Fern which is available under the terms of // the GNU General Public License (GPL), version 2. If you do not want to // be bound by the terms of the GPL, you may purchase a proprietary...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is d...
int my_compute_factorial_rec(int nb) { int i; int result; i = nb; if (result <= 1) result = 1; if (i == 0 || i == 1) return (1); result = i * my_compute_factorial_rec(i - 1); return (result); }
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:13:13 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/Frameworks/EventKit.framewo...
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #pragma once #include <AzCore/Memory/Memory.h> #include <AzCore/RTTI/RTTI.h> #include <AzCore/RTTI/...
/* Copyright (C) 2017 haniu (niuhao.cn@gmail.com) * * 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...
// // Serpent.h // Serpent // // Created by Chris Combs on 09/02/16. // Copyright © 2016 Nodes. All rights reserved. // @import Foundation; //! Project version number for Serializable. FOUNDATION_EXPORT double SerializableVersionNumber; //! Project version string for Serializable. FOUNDATION_EXPORT const unsigned...
/* * This file is part of the 65816 Emulator Library. * Copyright (c) 2018 Francesco Rigoni. * * https://github.com/FrancescoRigoni/Lib65816 * * 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 Foundat...
/* * This header is generated by classdump-dyld 1.0 * on Monday, September 28, 2020 at 5:58:23 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/AppStoreK...
/* Mantis VP-2040 driver Copyright (C) Manu Abraham (abraham.manu@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later vers...
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE 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 app...
/* * generated by CSeq [ 0000 / 0000 ] * * 2C9F merger-0.0-2015.07.09 * FB59 parser-0.0-2015.06.26 * AB0B module-0.0-2015.07.16 ] * * 2015-07-22 17:36:20 * * params: * -i svcomp2015_unsafe/pthread-wmm/safe026_pso.opt_false-unreach-call.c, -...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:35:37 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/ScoreBoard...
/****************************************************************** * * Copyright 2014 Samsung Electronics 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 * ...
#ifndef WBCOMPVARIABLEMAP_H #define WBCOMPVARIABLEMAP_H #include "wbcomponent.h" #include "wbevent.h" class WBCompVariableMap : public WBComponent { public: WBCompVariableMap(); virtual ~WBCompVariableMap(); DEFINE_WBCOMP(VariableMap, WBComponent); virtual int GetTickOrder() { return ETO_NoTick; } virtu...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:10:17 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/TVMLKit.framework...