text
stringlengths
9
948k
/* crypto/rand/md_rand.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
/* * Argon2 reference source code package - reference C implementations * * Copyright 2015 * Daniel Dinu, Dmitry Khovratovich, Jean-Philippe Aumasson, and Samuel Neves * * You may use this work under the terms of a Creative Commons CC0 1.0 * License/Waiver or the Apache Public License 2.0, at your option. The te...
#pragma once #include "SVONNavigationPath.generated.h" UENUM(BlueprintType) enum class ESVONPathCostType : uint8 { Manhattan, Euclidean }; USTRUCT(BlueprintType) struct FSVONPathPoint { GENERATED_BODY() FSVONPathPoint() : myPosition(FVector()) , myLayer(-1) { } FSVONPathPoint(const FVector& aPosition, in...
#ifndef SYSTEM_H #define SYSTEM_H #include <string> #include <vector> #include "process.h" #include "processor.h" class System { public: Processor& Cpu(); std::vector<Process>& Processes(); float MemoryUtilization(); long UpTime(); int TotalProcesses()...
#ifndef GsfChi2MeasurementEstimator_H #define GsfChi2MeasurementEstimator_H // #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h" #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h" #include <utility> /** Class which calculates the chisquare of a predicted Gaussi...
#include "clar_libgit2.h" static git_repository *g_repo; void test_object_peel__initialize(void) { cl_git_pass(git_repository_open(&g_repo, cl_fixture("testrepo.git"))); } void test_object_peel__cleanup(void) { git_repository_free(g_repo); } static void assert_peel( const char *sha, git_otype requested_type, c...
// Copyright 2010-2018 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...
/****************************************************************************** * * Project: Parquet Translator * Purpose: Implements OGRParquetDriver. * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2022...
/* 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 ...
#pragma once #include "../../boilerplate/dispatcher.h" /** * Given a sha256 hash, requests the corresponding pre-image to the host. * * Returns a negative number on error, or the preimage length on success. This function validates * that the SHA256 of the data provided by the host does indeed match the expected h...
// This file is subject to the terms and conditions defined in 'LICENSE' in the source code package #ifndef JACTORIO_INCLUDE_PROTO_DETAIL_PROTOTYPE_TYPE_H #define JACTORIO_INCLUDE_PROTO_DETAIL_PROTOTYPE_TYPE_H #pragma once #include "jactorio.h" #include "core/coordinate_tuple.h" #include "core/data_type.h" #include ...
/* AUTOGENERATED FILE. DO NOT EDIT. */ #ifndef _MOCK_SMINITIALPSEUDOTESTACT_H #define _MOCK_SMINITIALPSEUDOTESTACT_H #include "smInitialPseudoTestAct.h" /* Ignore the following warnings, since we are copying code */ #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__) #if !defined(__clang__) #pragma GCC d...
/** * Program to exemplify the use of condition variables * with PThread library. * The program creates two threads and one of them * starts blocked. The other generates numbers randomly * and, when this number is 7, it unblocks the first * thread. * * Author: Andre Leon S. Gradvohl, Dr. */ #include <stdio.h...
#ifndef __Simulation_h__ #define __Simulation_h__ #include "Common.h" #include "FluidModel.h" #include "NonPressureForceBase.h" #include "ParameterObject.h" #include "NeighborhoodSearch.h" #include "BoundaryModel.h" #include "AnimationFieldSystem.h" /** Loop over the fluid neighbors of all fluid phases. * Simulatio...
/* PipeWire * * Copyright ยฉ 2018 Wim Taymans * * 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, merg...
/** @file Copyright 2006 - 2015 Unified EFI, Inc.<BR> Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of th...
# ifndef Orchid____application__system___guard_______ # define Orchid____application__system___guard_______ # include <Orchid/application/system/system.h> # endif // Orchid: (namespace); > application > system > guard
#include <stddef.h> #include <stdint.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <dirent.h> #include <signal.h> #include <string.h> #include <fcntl.h> #include <sys/stat.h> #include <pthread.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/resource.h> #includ...
#pragma once #include <vulkan/vulkan.h> #include <cuda.h> namespace unity { namespace webrtc { class CudaContext { public: CudaContext(); ~CudaContext() = default; CUresult Init(const VkInstance instance, VkPhysicalDevice physicalDevice); void Shutdown(); inline CUcontext GetContext() const; pri...
// // Copyright 2018 - 2021 (C). Alex Robenko. 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 requi...
#pragma once // These should migrate to the real GSI interfaces struct _GSI : public GSI { virtual BOOL getEnumSyms(EnumSyms **, PB) pure; };
/* * Systray handling * * Copyright 1999 Kai Morich <kai.morich@bigfoot.de> * Copyright 2004 Mike Hearn, for CodeWeavers * Copyright 2005 Robert Shearman * * 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 ...
/* * driver.c - device id matching, driver model, etc. * * Copyright 2002 Adam Belay <ambx1@neo.rr.com> */ #include <linux/string.h> #include <linux/list.h> #include <linux/module.h> #include <linux/ctype.h> #include <linux/slab.h> #include <linux/pnp.h> #include "base.h" static int compare_func(const char *ida, ...
#ifndef Envelope_h #define Envelope_h class Envelope { public: static const int MAX_SEGMENTS = 6; Envelope() {} void init(float sampleRate, int segmentCount = 2, float length = 1, bool repeat = false); void trigger(bool gate = true); float process(); void setSegment...
#ifndef SCREEN_SANDBOX_H #define SCREEN_SANDBOX_H #include "Screen.h" class ScreenSandbox : public Screen { public: ScreenSandbox( const CString &sName ); virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI ); virtual ...
// // Valve cycling code for Project Apollo v1 prototype // #include "apollo_board_pinout.h" #include "debug_console.h" // Min time for opening the 2-way valve const int min_timing_valve_2way_milliseconds = 100; // Min time for alternating the 5-way valve const int min_timing_valve_5way_milliseconds = 100; //...
/* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Haboki board-specific configuration */ #include "adc_chip.h" #include "button.h" #include "cbi_fw_config.h" #include "charge_manager.h" #includ...
#include "../../undead.h" inherit INH+"desert_one.c"; void create() { ::create(); set_exits(([ "north" :DES+"desert_8,1", "east" :DES+"desert_9,2", "south" :DES+"desert_10,1", "west" :DES+"desert_9,0" ])); }
// guard header #ifndef __ALGORITHM_H_INCLUDED__ #define __ALGORITHM_H_INCLUDED__ #define SUCCESS 1 #define ERROR 2 #define DEF_MODULE 64 // The bigger the module, the more spread(?) the message #define WAV_HEADER 44 #define MY_HEADER_MODULE 64 #define START_SPACE 0 // Space skipped in order to dont put a message at t...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
/* * VGMTrans (c) 2002-2019 * Licensed under the zlib license, * refer to the included LICENSE.txt file */ #pragma once #include "Scanner.h" class SonyPS2Scanner : public VGMScanner { public: SonyPS2Scanner(void) { USE_EXTENSION("sq") USE_EXTENSION("hd") USE_EXTENSION("bd") } ...
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http://l...
#pragma once #include <string> #include "ofMain.h" #include "ofAppGLFWWindow.h" #include "ofxGui.h" #include "RobotController.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x, int y ); vo...
/* Copyright (c) 2015, Apple 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
// // RankingListViewController.h // SurfNewsHD // // Created by jsg on 14-11-25. // Copyright (c) 2014ๅนด apple. All rights reserved. // #import <UIKit/UIKit.h> #import "PhoneSurfController.h" #import "RankingListCell.h" #import "RankingManager.h" #import "RankingInfoResponse.h" #import "NSString+Extensions.h" #imp...
#pragma once #include <Dictionaries/IDictionary.h> #include <Interpreters/Context_fwd.h> #include <Interpreters/ExternalLoader.h> #include <Common/quoteString.h> #include <memory> namespace DB { class IExternalLoaderConfigRepository; /// Manages user-defined dictionaries. class ExternalDictionariesLoader : public ...
/**************************************************************************** * * Copyright (C) 2013-2016 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...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:38:56 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright ยฉ 2013-2016 by Eli...
#ifndef JSON_SPIRIT_WRITER_TEMPLATE #define JSON_SPIRIT_WRITER_TEMPLATE // Copyright John W. Wilkinson 2007 - 2009. // Distributed under the MIT License, see accompanying file LICENSE.txt // json spirit version 4.03 #include "json_spirit_value.h" #include <cassert> #include <sstream> #include <iomanip> na...
/******************************************************************************* * Copyright (c) 2019-2020 The Khronos Group 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 * * ...
/* * PowerPC64 signal handling routines * * Copyright 2019 Timothy Pearson <tpearson@raptorengineering.com> * Copyright 2020 Andrรฉ Hentschel * * 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 ...
/** ***************************************************************************** * @file : user_esp32_wifi.c * @brief : ESP32 Wi-Fi Application * @author : Cao Jin * @date : 27-Oct-2021 * @version : 1.0.0 ***************************************************************************** */ #include <strin...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. #ifndef common_h #define common_h #include "comimpl.h" #include "avalonia-native.h" #include <stdio.h> #import <Foundation/Foundation.h> #import <AppKit/A...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:38:05 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/UIKitCore....
#pragma once #include "Object.h" class ActiveObject : public virtual Object { public: ActiveObject(); virtual ~ActiveObject(); virtual void step(double secondsPassed) = 0; virtual void registerSceneHooks(Scene &scene) override; virtual void deregisterSceneHooks(Scene &scene) override; };
#define MEXP 44497 #define POS1 304 #define SL1 19 #define MSK1 UINT64_C(0x000ff6dfffffffef) #define MSK2 UINT64_C(0x0007ffdddeefff6f) #define MSK32_1 0x000ff6df #define MSK32_2 0xffffffef #define MSK32_3 0x0007ffdd #define MSK32_4 0xdeefff6f #define FIX1 UINT64_C(0x75d910f235f6e10e) #define FIX2 UINT64_C(0x7b32158aed...
#pragma once #include "LLVMCompatibility.h" #include "Mangler.h" #include <utility> #include <vector> namespace mull { /// This class is heavily inspired by the LLVM's ORCv1 LocalCXXRuntimeOverrides class CXXRuntimeOverrides { public: explicit CXXRuntimeOverrides(mull::Mangler &mangler); llvm::JITSymbol search...
/* * 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 ...
#import <ToneLibrary/TLToneManager.h> #import <ToneLibrary/TLSystemApplication.h> #import <ToneLibrary/TLAttentionAwarenessEffectCoordinator.h> #import <ToneLibrary/TLPreferencesUtilities.h> #import <ToneLibrary/TLVibrationPersistenceUtilities.h> #import <ToneLibrary/TLAlertConfiguration.h> #import <ToneLibrary/TLITune...
#pragma once #include "../Easing.h" namespace cmd { namespace easing_internal { //-------------------------------------------------- class BounceIn : public Easing { public: BounceIn() : Easing("BounceIn") { }; virtual float calculate(float t, float b, float c, float d) const { t = d - t; ...
// // MMActionItem.h // MMPopupView // // Created by Ralph Li on 9/6/15. // Copyright ยฉ 2015 LJC. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> typedef void(^MMPopupItemHandler)(NSInteger index); @interface MMPopupItem : NSObject @property(nonatomic, assign) BOOL highlight; @...
// // Copyright (c) 2015, Paul R. Swan // 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 condit...
/* // Thanks to Huthar for this! // Bug in "here" option fixed by Pallando 93-05-26 // "cwd" option added by Pallando 93-05-30 */ /** * @file */ /** * Resolves relative path into absolute * * @param curr Directory to resolve from. Defaults to current directory of this_player(). * @param tet Relative path string....
//*************************************************************************** // // Copyright (c) 1997 by Microsoft Corporation // // bmof.c // // a-davj 14-April-97 Created. // // Structures and helper functions for naviagating a BMOF file. // //******************************************************************...
#pragma once #include <util/generic/fwd.h> Y_PURE_FUNCTION size_t GetHttpPrefixSize(const char* url, bool ignorehttps = false) noexcept; Y_PURE_FUNCTION size_t GetHttpPrefixSize(const wchar16* url, bool ignorehttps = false) noexcept; Y_PURE_FUNCTION size_t GetHttpPrefixSize(const TStringBuf url, bool ignorehttps = f...
๏ปฟ/////////////////////////////////////////////////////////////////////////////////////////////////////// // // // โ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘ // โ–ˆโ–ˆโ•‘โ–‘โ–ˆโ–ˆโ•”โ•โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•— // โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•โ•โ–‘โ–‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ // โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–‘โ–ˆโ–ˆโ•”...
/*************************************************************************** World Rally Video Hardware Functions to emulate the video hardware of the machine ***************************************************************************/ #include "driver.h" #include "tilemap.h" #include "vidhrdw/generic.h" data1...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:42:39 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/UserManagement.framework/UserManagement * classdump-dyld is licensed under GPLv3, Copyright ยฉ 2013-2...
/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (c) 2015, Linaro Limited */ #ifndef KERNEL_USER_TA_H #define KERNEL_USER_TA_H #include <assert.h> #include <kernel/tee_ta_manager.h> #include <user_ta_header.h> //#include <kernel/thread.h> //#include <mm/tee_mm.h> #include <tee_api_types.h> #include <types_...
/* * The MIT License (MIT) * * Copyright (c) 2018 Digital Strawberry LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
/** ****************************************************************************** * @file x_nucleo_iks01a2.h * @author MEMS Application Team * @version V4.0.0 * @date 1-May-2017 * @brief This file contains definitions for the x_nucleo_iks01a2.c ***************************************************...
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2021 Jean-David Gadina - www.xs-labs.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright (c) 2018-2020 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 a...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> /** ่ดชๅฟƒ็ฎ—ๆณ• ไพๆฌก้ๅކๆ•ฐ็ป„ไธญ็š„ๆฏไธ€ไธชไฝ็ฝฎ๏ผŒๅนถๅฎžๆ—ถ็ปดๆŠค ๆœ€่ฟœๅฏไปฅๅˆฐ่พพ็š„ไฝ็ฝฎ ็”จ x + nums[x] ๆ›ดๆ–ฐๆœ€่ฟœๅฏไปฅๅˆฐ่พพ็š„ไฝ็ฝฎใ€‚ */ bool canJump(int* nums, int numsSize){ int rightMost = 0; for (int i = 0; i < numsSize; i++) { printf("----- %d = %d %d < %d\n", i, nums[i], rightMost, i + nums[i])...
#ifndef LAB2_COMMANDEXEPTIONS_H #define LAB2_COMMANDEXEPTIONS_H #include <exception> class CommandExceptions : public std::exception { public: const char* what() const noexcept override = 0; }; class wrong_number_of_arguments : public CommandExceptions { public: const char* what() const noexcept override { ...
/* This file is part of Objective-Gtk. Copyright (C) 2008 Frederic-Gerald Morcos <fred.morcos@gmail.com> Objective-Gtk is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
//===- ASTBitCodes.h - Enum values for the PCH bitcode format ---*- 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 // //===---------------------------...
/*- * Copyright (c) 1995 Terrence R. Lambert * All rights reserved. * * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the Unive...
#ifndef ADLIK_SERVING_RUNTIME_BATCHING_BASIC_BATCH_SCHEDULER_H #define ADLIK_SERVING_RUNTIME_BATCHING_BASIC_BATCH_SCHEDULER_H #include "tensorflow/core/kernels/batching_util/basic_batch_scheduler.h" namespace adlik { namespace serving { template <typename T> using BasicBatchScheduler = tensorflow::serving::BasicBatc...
/* Include system headers that are โ€œknownโ€ to pull bits selectively from * other headers through magic macros, to check that the overlay is working * properly. */ #include <errno.h> #include <grp.h> #include <stdint.h> /* Include libbsd overlayed headers that might get partially included. */ #include <sys/cdefs.h> ...
#ifndef PROCESSMANAGER_H #define PROCESSMANAGER_H #include "sbspreset.h" #include <QObject> #include <QProcess> #include <QQueue> struct PresetRender { SBSPreset* preset; QString suffix; QSize size; bool modified; QProcess* process; }; Q_DECLARE_METATYPE(PresetRender) class ProcessManager: QObje...
/* Definitions of target machine for GNU compiler. HP-UX 68000/68020 version. Copyright (C) 1987, 1988, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
// This file is distributed under GPLv3 licence // Author: Gorelov Grigory (gorelov@grigory.info) // // Contacts and other info are on the WEB page: grigory.info/MPFDParser #ifndef _PARSER_H #define _PARSER_H #include <iostream> #include <string> #include <unordered_map> #include "Exception.h" #include "Field.h" #...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "../J2735_201603DA_with_PMM.ASN" * `asn1c -gen-PER -fcompound-names -fincludes-quoted -S/home/gmb/TMX-OAM/Build/asn1c/skeletons` */ #include "UUIDType.h" static int check_permitted_alphabet_1(const void *sptr) { /*...
๏ปฟ/* * 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...
template<typename divisor_type> void throughput_test( const int n, divisor_type d1, divisor_type d2, divisor_type d3, int dummy, int * buf) { #pragma omp target teams distribute parallel for thread_limit(256) \ map(to: n, d1, d2, d3, dummy) map(alloc: buf[0:1]) for (int x = 0; x < n; x++...
/* * Date: 07/07/2015 * Created by: Ton Chanh Le (chanhle@comp.nus.edu.sg) */ extern int __VERIFIER_nondet_int(); int f(int x); int g(int x); int f(int x) { if (x <= 0) return 0; else return g(x) + g(x + 1); } int g(int x) { if (x <= 0) return 0; else return f(x - 1) + f(x - 2); } int main() { ...
/* * Square matrix multiplication * A[N][N] * B[N][N] = C[N][N] * */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/timeb.h> #include <malloc.h> #define N 1024 //#define N 16 // read timer in second double read_timer() { struct timeb tm; ftime(&tm); return (double) tm.time + (d...
/*============================================================================= Copyright (c) 1998-2001 Microsoft Corporation Module Name: clfsw32.h Abstract: Declares the exported API set for the Common Log Win32 API dynamic link library and static library. Author: ...
#ifndef _GL_INTERN_H #define _GL_INTERN_H #include "r_defs.h" #include "c_cvars.h" #ifdef _MSC_VER #pragma warning(disable:4244) #endif EXTERN_CVAR(Bool, gl_warp_shader) EXTERN_CVAR(Bool, gl_fog_shader) EXTERN_CVAR(Bool, gl_colormap_shader) EXTERN_CVAR(Bool, gl_brightmap_shader) EXTERN_CVAR(Bool, gl_glow_shader) EX...
/* BSD 3-Clause License Copyright (c) 2018, KORG 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, th...
// // IMSFormSectionHeaderCPNStyle.h // IMSForm // // Created by cjf on 1/2/2021. // #import <IMSForm/IMSForm.h> NS_ASSUME_NONNULL_BEGIN @interface IMSFormSectionHeaderCPNStyle : IMSFormCPNStyle @end NS_ASSUME_NONNULL_END
/* * 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 distributed in the hope that it will be use...
#pragma once #include "Export.h" #include "OpaqueHandle.h" #include "dart_api_dl.h" #include <stdint.h> #ifdef __cplusplus extern "C" { #endif _GLUECODIUM_FFI_EXPORT void library_smoke_CalculatorListener_onCalculationResult__Double(FfiOpaqueHandle _self, int32_t _isolate_id, double calculationResult); _GLUECODIUM_FFI_E...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017 The Raven Core developers // Copyright (c) 2017-2019 The BLAST Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/license...
#include <unistd.h> #include <sys/stat.h> #include <sys/times.h> #include <signal.h> #include <syscall.h> #include <errmsg.h> #include <errno.h> #undef errno extern int errno; void _exit (int status) { Exit(); } int close (int file) { return -1; } char *__env[1] = { 0 }; char **environ = __env; int execve (...
#include "harness.h" #define FSEQ BND(__this, __auto) char (NT str)[] = "test"; char * FSEQ NT gnt; // Try to conflate a NT with a non NT char array[] = { 0, 1, 2, 3 }; char * FSEQ g; int main() { gnt = str; g = array; // This will generate a cast from NT to ordinary pointer return 0; }
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32f4xx_it.c * @brief Interrupt Service Routines. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#ifndef ERRORMESSAGE_H #define ERRORMESSAGE_H #include <string.h> #include <qstring.h> #include "errordialog.h" namespace ErrorHandling { class ErrorMessage { public: ErrorMessage(); ~ErrorMessage(); bool setErrorMessage(std::string sErrorMessage); private: ErrorDialog...
/* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * Created by: C:/Users/andrewm/Working/modelrealization/modelstocode/mtc_source/tools/windows/pycca.exe/lib/application/pycca.tcl * Created on: Sun Apr 16 10:53:11 PDT 2017 * This is pycca version 4.3 * -------------------------------------------------------...
#ifndef FOE2_H #define FOE2_H #include "enemy.h" /********************************************************************* ** Standard enemy for Level 2; shoots directed bullets *********************************************************************/ class Foe2 : public enemy { Q_OBJECT public: Foe2(); private...
/** * \file * \copyright * Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license */ #pragma once #include <vector> #include "B...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Users/antoniocortes/j2objcprj/relases/j2objc/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/dtm/DTMAxisIterator.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_OrgApacheXmlDtmDTMAxisIterator")...
// // EventInformationCoordinator.h // MAGE // // Created by William Newman on 1/29/19. // Copyright ยฉ 2019 National Geospatial Intelligence Agency. All rights reserved. // #import <Foundation/Foundation.h> #import "EventInformationController.h" #import <MaterialComponents/MDCContainerScheme.h> NS_ASSUME_NONNULL_...
#include <jni.h> #include <android/bitmap.h> #include <GLES2/gl2.h> JNIEXPORT void JNICALL Java_com_jdf_gpufilter_GPUImageNativeLibrary_YUVtoRBGA(JNIEnv *env, jobject obj, jbyteArray yuv420sp, ...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ASM_UACCESS_H #define __ASM_ASM_UACCESS_H #include <asm/alternative.h> #include <asm/kernel-pgtable.h> #include <asm/mmu.h> #include <asm/sysreg.h> #include <asm/assembler.h> /* * User access enabling/disabling macros. */ #ifdef CONFIG_ARM64_SW_TTBR0_PAN .macro ...
#pragma once #include "stdafx.h" #include "lyric_data.h" namespace parsers { namespace lrc { bool is_tag_line(std::string_view line); std::optional<double> try_parse_offset_tag(std::string_view line); void set_offset_tag(LyricData& lyrics, double offset_seconds); void remove_offset_tag(LyricData& ly...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35). // // Copyright (C) 1997-2019 Steve Nygard. // #import <ProOSC/POOnScreenControl.h> @interface OZOverlay : POOnScreenControl { } - (void)willDeactivate; - (void)didActivate; - (void)snapEnd; - (void)snappedTo:(const set_0c...
/* Emulate fdatasync on platforms that lack it. Copyright (C) 2011-2015 Free Software Foundation, Inc. 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...
//===- kernel.h -------------------------------------------------*- C++ -*-===// // // This file is licensed 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 // // (c) Copyright 2021 Xilinx Inc. //...