text
stringlengths
9
948k
//@ ltl invariant negative: ( ([] ( (! ( AP((s0_l1 != 0)) && (! AP((s0_l0 != 0))))) || (<> ( (! AP((s0_l0 != 0))) && (! AP((s0_l1 != 0))))))) || (! ([] (<> AP((1.0 <= _diverge_delta)))))); extern float __VERIFIER_nondet_float(void); extern int __VERIFIER_nondet_int(void); char __VERIFIER_nondet_bool(void) { return ...
// 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 NET_URL_REQUEST_CERTIFICATE_REPORT_SENDER_H_ #define NET_URL_REQUEST_CERTIFICATE_REPORT_SENDER_H_ #include <memory> #include <set> #include <stri...
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2013-2014 Freescale Semiconductor, Inc. */ #ifndef __ASM_ARCH_IMX_REGS_H__ #define __ASM_ARCH_IMX_REGS_H__ #define ARCH_MXC #define IRAM_BASE_ADDR 0x3F000000 /* internal ram */ #define IRAM_SIZE 0x00080000 /* 512 KB */ #define AIPS0_BASE_ADDR 0x40000000 #d...
// // BAKTableViewController.h // BackchannelSDK // // Created by Soroush Khanlou on 7/6/15. // Copyright (c) 2015 Backchannel. All rights reserved. // #import <UIKit/UIKit.h> #import "BAKRemoteDataSource.h" @interface BAKTableViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, BAKRemot...
#include <asn_application.h> #include <asn_internal.h> #include <per_encoder.h> static int _uper_encode_flush_outp(asn_per_outp_t *po); static int _aper_encode_flush_outp(asn_per_outp_t *po); static int ignore_output(const void *data, size_t size, void *app_key) { (void)data; (void)size; (void)app_key; ...
/* Locale dependent transformation for comparison of Unicode strings. Copyright (C) 2009-2018 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2009. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as p...
/* * Density * * Copyright (c) 2013, Guillaume Voirin * 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 2008 Search Solution Corporation * Copyright 2016 CUBRID 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-...
#ifndef IMAGEVIEW_H #define IMAGEVIEW_H #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsEllipseItem> #include <QMouseEvent> #include <QRubberBand> enum Operation {noop,ellipse,rectangle,line}; class ImageView : public QGraphicsView { Q_OBJECT public: // http://en.cppreference.co...
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
#pragma once #include <SDL_FontCache/SDL_FontCache.h> #include <windows.h> #include <string> #include "XBRenderer.h" class CXBFont { public: CXBFont() = default; ~CXBFont(); HRESULT Create(XBRenderer *renderer, const char *font_path); HRESULT Destroy(); SDL_Rect Draw(LPCSTR str, float x, float y) const...
// Copyright 2016 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 IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_VIEW_CONTROLLER_H_ #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGEST...
#ifndef UPDATERRELATIVEFORCE_H #define UPDATERRELATIVEFORCE_H #include <cmath> #include "particle_system/DgParticleData.h" #include "particle_system/DgParticleUpdater.h" //! Updates relative force template<typename Real> class UpdaterRelativeForce : public Dg::ParticleUpdater<Real> { public: UpdaterRelativeForce()...
// // MyFirstClass.h // Pods // // Created by Ryan Cleeton on 12/11/16. // // #import <Foundation/Foundation.h> @interface MyFirstClass : NSObject + (void)myFirstMethod; @end
/* * 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...
// ******************************************************* // // buttons4.c // // Support for a set of FOUR specific buttons on the Tiva/Orbit. // ENCE361 sample code. // The buttons are: UP and DOWN (on the Orbit daughterboard) plus // LEFT and RIGHT on the Tiva. // // Note that pin PF0 (the pin for the RIGHT pushbu...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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...
/**************************************************************************** * net/procfs/netdev_statistics.c * * Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are pe...
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/*- * Copyright (c) 2021 Ribose 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 conditi...
/* -*- C++ -*- ------------------------------------------------------------ @@COPYRIGHT@@ *-----------------------------------------------------------------------*/ /** @file */ #pragma once #ifndef cml_common_mpl_is_reshapeable_h #define cml_common_mpl_is_reshapeable_h namespace cml { /** Helper that defines @c...
#include "websocket.h" #include "stdio.h" #include "stdlib.h" #include "string.h" #include "pthread.h" #include "cJSON.h" #include "signal.h" #include <curl/curl.h> #include "discord-c.h" // Global thread variables pthread_t serviceThread; pthread_t heartbeatThread; //struct messages *getMessagesInChannel(uint64_t ...
/* ****************************************************************************** * @file multi_read_fifo.c * @author Sensors Software Solution Team * @brief LIS3DE driver file * ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. //#include "VRExpansionPlugin.h" //#include "EngineMinimal.h" //#include "VRBPDatatypes.h" //#include "GripMotionControllerComponent.h" //#include "VRExpansionFunctionLibrary.h" //#include "ReplicatedVRCameraComponent.h" //#include "ParentRelativeAttachmentC...
#pragma once #include <Roaring.h> #include <filesystem.h> #include <string> #include <vector> #include <memory> #include <stdint.h> class PruneList { public: static std::shared_ptr<PruneList> Load(const fs::path& filePath); void Flush(); // Adds the node to the prune list. // Compacts if pruning the node means...
#include <citro2d.h> #include <assert.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <rendering/AeroCrunch.h> #define WIDTH 400 #define HEIGHT 200 int weapon_rotate = 0; int weapon_speed = 4; int max_weapons = 6; int max_enemy = 20; int player_hearts = 3; bool ...
#ifndef __MASS_CONTACT_H__ #define __MASS_CONTACT_H__ #include "dart/dart.hpp" #include <deque> #include <map> using namespace dart::dynamics; using namespace dart::simulation; namespace MASS { class Contact { public: Contact(const WorldPtr& wPtr); ~Contact(); void Initialize(const SkeletonPtr& skel, do...
/* Signal handling: This header file defines macros that allow your code to handle interrupts received during processing. Interrupts that could reasonably be handled: SIGINT, SIGABRT, SIGALRM, SIGSEGV ****Warning*************** Do not allow code that creates temporary memory or increases reference counts of Python...
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * pspusbstor.h - Prototypes for the sceUsbStor and sceUsbStorBoot libraries * * Copyright (c) 2005 John K...
/* Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ #include <stdarg.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <setjmp.h> #include <cmocka.h> #include "azure_iot.h" #include "azure_iot_private.h" #include <azure/core/internal/az_log_internal....
#include <stdio.h> int main() { printf("%s\n", "Hello, world!"); return 0; }
/* ---------- * pgstat.c * * All the statistics collector stuff hacked up in one big, ugly file. * * TODO: - Separate collector, postmaster and backend stuff * into different files. * * - Add some automatic call for pgstat vacuuming. * * - Add a pgstat config column to pg_database, so this * enti...
// See LICENSE file for the license details of MIT // Copyright 2020 Marno van der Maas #ifndef PRAESIDIO_PAGE_HEADER #define PRAESIDIO_PAGE_HEADER #define PAGE_BIT_SHIFT (12) #endif
#pragma once #ifndef DARKPHY2DBPRO #define DARKPHY2DBPRO // ************************* Dark Physics 2 ************************** // // DBPro Header file, creates global function pointers for dbPro commands // to match GDK commands. Exports DarkPhysics2 functions when compiling // as dll. //#include "DBOData.h" #includ...
#pragma once #include "Commands/CAssemblerCommand.h" #include "ThumbOpcodes.h" #include "Arm.h" #include "Core/Expression.h" #include "ThumbOpcodes.h" struct ThumbOpcodeVariables { ArmRegisterValue rd; ArmRegisterValue rs; ArmRegisterValue rn; ArmRegisterValue ro; Expression ImmediateExpression; int Immediate; ...
/* ----------------------------------------------------------- */ /* */ /* ___ */ /* |_| | |_/ SPEECH */ /* | | | | \ RECOGNITION ...
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
/* $Id$ */ /* * Copyright (c) 2016--2018 Kristaps Dzonsons <kristaps@bsd.lv> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS P...
#pragma once #include "BeginPrivate.h" struct AdjustorPool; /* N.B. the adjustor assembler snippets rely on the layout of this structure */ struct AdjustorContext { StgStablePtr hptr; StgFunPtr wptr; }; typedef void (*mk_adjustor_code_fn)(uint8_t *exec_code, const struct AdjustorContext *context, void *use...
/* * The Minimal snprintf() implementation * * Copyright (c) 2013,2014 Michal Ludvig <michal@logix.cz> * 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...
/**************************************************************************** * libs/libc/unistd/lib_setregid.c * * 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 o...
//----------------------------------------------------------------------------- // Project : VST SDK // // Category : Helpers // Filename : public.sdk/source/vst/utility/test/ringbuffertest.h // Created by : Steinberg, 03/2018 // Description : Test ringbuffer // Flags : clang-format SMTGSequencer // //...
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
/* * Copyright 2015 Advanced Micro Devices, Inc. * * 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, m...
/***************************************************************************//** * @file em_qspi.c * @brief QSPI Octal-SPI Flash Controller API * @version 5.2.1 ******************************************************************************* * # License * <b>Copyright 2016 Silicon Laboratories, Inc. http://www.sil...
#ifndef SPHERICALCAMERA_H #define SPHERICALCAMERA_H #include "Camera.h" class SphericalCamera : public OrbitingCamera { protected: float m_azimuth, m_altitude; float m_altitudeLimit; int m_cardinalUp; // 0 for x, 1 for y, 2 for z public: SphericalCamera(cml::vector3f...
/** * @class Args * * This is a data object that contains all of the arguments for kleuren. * * @author Cole Lyman * * @date 2017/6/22 * */ #ifndef ARGS_H #define ARGS_H #include <string> #include <stdint.h> using std::string; class Args { public: /// Returns a string representation of the arg...
/* Copyright 2017, Esteban Volentini - Facet UNT, Fi UNER * Copyright 2014, 2015 Mariano Cerdeiro * Copyright 2014, Pablo Ridolfi * Copyright 2014, Juan Cecconi * Copyright 2014, Gustavo Muro * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
// Copyright 1997-2005 Omni Development, Inc. All rights reserved. // // This software may only be used and reproduced according to the // terms in the file OmniSourceLicense.html, which should be // distributed with this project and can also be found at // <http://www.omnigroup.com/developer/sourcecode/sourcelicense/...
#include <u.h> #include <sys/stat.h> #include <libc.h> #define rmdir p9rmdir char errbuf[ERRMAX]; int ignerr = 0; static void err(char *f) { if(!ignerr){ errbuf[0] = '\0'; errstr(errbuf, sizeof errbuf); fprint(2, "rm: %s: %s\n", f, errbuf); } } int issymlink(char *name) { struct stat s; return lstat(name,...
// This file is made available under Elastic License 2.0. // This file is based on code available under the Apache license here: // https://github.com/apache/incubator-doris/blob/master/be/src/exprs/utility_functions.h // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agree...
#ifndef COPLUS_SOCKET_H_ #define COPLUS_SOCKET_H_ #include "port.h" // WIN_PORT #include "colog.h" // colog #include "util.h" #include <iostream> #include <istream> #include <ostream> #include <vector> #include <future> #include <thread> #ifdef POSIX_PORT #error "posix socket not implemented" #endif // assume WIN_P...
/** * FreeRDP: A Remote Desktop Protocol Implementation * Security Support Provider Interface (SSPI) * * Copyright 2012-2014 Marc-Andre Moreau <marcandre.moreau@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
/* * Copyright © 2016 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, pub...
#include <std.h> #include "../defs.h" inherit INC+"forest"; void create() { ::create(); set_exits( ([ "east" : ROOMS+"f41", "west" : ROOMS+"f39", "north" : ROOMS+"f32", "south" : ROOMS+"f43" ]) ); }
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:32:02 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/Frameworks/CoreServices.fram...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1998-2009 Oracle. All rights reserved. * * $Id$ */ #include "db_config.h" #include "db_int.h" /* * __os_openhandle -- * Open a file, using BREW open flags. */ int __os_openhandle(env, name, flags, mode, fhpp) ENV *env; cons...
#include <jansson.h> #include <string> #include <google/protobuf/descriptor.h> #include <google/protobuf/message.h> //using namespace google::protobuf; char *pb2json(const google::protobuf::Message &msg, bool pretty = false); char *pb2json(google::protobuf::Message *msg,const char *buf,int len); json_t *parse_msg(const...
/** * (C) Copyright 2015, 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.0 * * Unless required by applicable ...
/*************************************** $Header: /home/amb/CVS/routino/src/types.c,v 1.10 2010-11-28 15:12:41 amb Exp $ Functions for handling the data types. Part of the Routino routing software. ******************/ /****************** This file Copyright 2008-2010 Andrew M. Bishop This program is free softw...
#pragma once #if __ARM_NEON #include <arm_neon.h> #endif #include <cstdio> #include <math.h> #include <algorithm> int yuv420sp2rgb_half(const unsigned char* yuv, const int w, const int h, unsigned char* rgb);
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Commercium developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef COMMERCIUM_TEST_RANDOM_H #define COMMERCIUM_TEST_RANDOM_H #include "random...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2016 - 2017 Xilinx, Inc. * * Michal Simek <michal.simek@xilinx.com> */ #include <common.h> #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> /* * atfhandoffparams * Parameter bitfield encoding * -------------------------------...
/* Simple DirectMedia Layer Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
/* * Copyright (c) 2016, NVIDIA CORPORATION. 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...
/*- * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" static int __session_checkpoint(WT_SESSION *, const char *); static int __session_rollback_transaction(WT_SESSION *, ...
//Classification: #default/p/IVO/IVV/aA/D(A(v))/fr/cd //Written by: Sergey Pomelov //Reviewed by: Igor Eremeev //Comment: #include <stdio.h> int func(int a[]) { int b; scanf("%d",&b); if (b<0) { *(a+16) = b; printf("%d ",*(a+16)); } else { *(a+16) = b; printf("%d ",*(a+16)); } return 0; } int main(voi...
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/memory_manager/graphics_allocation.h" #include <mutex> namespace NEO { class MultiGraphicsAllocation { public: MultiGraphicsAllocation(uint32_t maxRootDeviceIndex); MultiGraphicsAlloc...
#ifndef BAYESMIX_MIXINGS_LOAD_MIXINGS_H_ #define BAYESMIX_MIXINGS_LOAD_MIXINGS_H_ #include <functional> #include <memory> #include "abstract_mixing.h" #include "dirichlet_mixing.h" #include "logit_sb_mixing.h" #include "mixture_finite_mixing.h" #include "pityor_mixing.h" #include "src/runtime/factory.h" #include "tru...
/************************************************************************** * * Copyright 2007-2008 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "S...
#include <time.h> #include <string.h> #include <math.h> #include <nrf.h> #include "nrf_gpio.h" #include "nrf_delay.h" #include "sys/debug.h" #include "sys/saveram.h" #include "sys/acc.h" #include "sys/heart.h" #include "sys/touch.h" #include "sys/battery.h" #include "sys/lcd.h" #include "sys/clock.h" #include "sys/...
// Copyright (c) 2010 Marshall A. Greenblatt. 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 ...
//Cx86HLAssembler.h // Copyright Querysoft Limited 2015 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the S...
#ifndef TENSORSTACK_BACKEND_BASE_BASE_WINOGRAD_TRANSFORM_KERNEL_H #define TENSORSTACK_BACKEND_BASE_BASE_WINOGRAD_TRANSFORM_KERNEL_H #include "operator_on_device.h" #include "backend/common_structure.h" namespace ts { namespace base { class WinogradTransKernel : public OperatorOnDevice { public: ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class MMBizFileMatchNode; @interface MMDiskBizUsageHandler : NSObject { MMBizFileMatchNode *_appRootMatchNode; } + (struct MMBizMatchInfo)fileMatchedBiz...
/* -*- linux-c -*- * * (C) Copyright IBM Corp. 2005-2006 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This * file and program are licensed under a BSD style license...
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NETBASE_H #define BITCOIN_NETBASE_H #if defined(HAVE_CONFIG_H) #include "config/digitslate-config.h" #endif ...
#ifndef __MPU6050_INCLUDED__ #define __MPU6050_INCLUDED__ #include <string> // For string #define Device_Address 0x68 /* Device Address/Identifier for MPU6050 */ #define PWR_MGMT_1 0x6B #define SMPLRT_DIV 0x19 #define CONFIG 0x1A #define GYRO_CONFIG 0x1B #define INT_ENABLE 0x38 #define ACCEL_XOUT_H 0x3B...
#include <ansi.h> inherit ITEM; void create() { set_weight(100); set_name(RED "赤蠍粉" NOR, ({"chixie fen", "chixie", "fen"})); if (clonep()) set_default_object(__FILE__); else { set("unit", "瓶"); set("long", RED "這是一瓶血紅色的劇毒粉末,可殺人於無形。\n" NOR)...
#include "src/collection/Collector.h" #include "src/collection/Collector.cpp" #include "writer_test.h" class CollectorTest : public ::testing::Test { public: collection::PerformanceCollector* performance_collector {nullptr}; collection::LatencyCollector* latency_collector {nullptr}; collection::QueueCollec...
/* * Copyright (c) 2011-2019, Triad National Security, LLC. * All rights Reserved. * * CLAMR -- LA-CC-11-094 * * Copyright 2011-2019. Triad National Security, LLC. This software was produced * under U.S. Government contract 89233218CNA000001 for Los Alamos National * Laboratory (LANL), which is operated...
// Generated by the protocol buffer compiler. DO NOT EDIT! #import <ProtocolBuffers/ProtocolBuffers.h> #import "UnittestImportLite.pb.h" @class ForeignMessageLite; @class ForeignMessageLite_Builder; @class ImportMessageLite; @class ImportMessageLite_Builder; @class OptionalGroup_extension_lite; @class OptionalGroup...
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
// EXAM #ifndef __EXAM_H_ #define __EXAM_H_ #include <iostream> #include <stack> #include <vector> #include "qstnode.h" #include "rndqst.h" void View(QuestionNode &node); #endif
/** ****************************************************************************** * @file stm32l1xx_ll_iwdg.h * @author MCD Application Team * @brief Header file of IWDG LL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
// // CardIOViewDelegate.h // See the file "LICENSE.md" for the full license governing this code. // #import <Foundation/Foundation.h> @class CardIOCreditCardInfo; @class CardIOView; /// The receiver will be notified when the CardIOView completes it work. @protocol CardIOViewDelegate<NSObject> @required /// This...
/** * \file * Copyright 2018 Microsoft * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #ifndef __MONO_SGEN_MONO_ILGEN_H__ #define __MONO_SGEN_MONO_ILGEN_H__ #include "config.h" MONO_API void mono_sgen_mono_ilgen_init (void); #endif
#include "maze.h" bool noPassages(Grid* maze, int nx, int ny) { for (int i = 0; i < NUM_DIRECTIONS; ++i) { int dx, dy; directionToDelta(CARDINAL[i], &dx, &dy); if (maze->data[ny + dy][nx + dx] != WALL) { return false; } } return true; } void backtrackMaze(Grid* maze, regions_t regions, int...
#include "hongyulib.h" /****************************************************************** * This is a c script to read in sac file and return a xy array * we manually convert the sampling rate to 0.025 here * * Input: * sac_file * double begin_time relative to phase * double length the length we...
/** * \class CSCTFCandidateBuilder * \author L. Gray (UF) * * Takes sorts csc::L1Tracks and turns them into L1MuRegionalCands */ #ifndef CSCTrackFinder_CSCTFCandidateBuilder_h #define CSCTrackFinder_CSCTFCandidateBuilder_h #include <DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h> #include <DataFor...
#include "../wasm_libc_wrapper/stdint.h" #include "../wasm_libc_wrapper/stdlib.h" #include "../wasm_libc_wrapper/float.h" #include "screen.h" uint32_t *pixels = 0; float *zbuffer = 0; void ScreenInit() { if (pixels == 0) { pixels = malloc(sizeof(int32_t) * SCREEN_WIDTH * SCREEN_HEIGHT); zbuffer =...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
// k2/python/csrc/tensor.h // Copyright (c) 2020 Fangjun Kuang (csukuangfj@gmail.com) // See ../../../LICENSE for clarification regarding multiple authors #ifndef K2_PYTHON_CSRC_TENSOR_H_ #define K2_PYTHON_CSRC_TENSOR_H_ #include "k2/python/csrc/dlpack.h" #include "k2/python/csrc/k2.h" namespace k2host { enum c...
/* G C V . C P P * BRL-CAD * * Copyright (c) 2015-2019 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as...
/* * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2007 Cameron Zwarich (cwzwarich@uwaterloo.ca) * Copyright (C) 2007 Maks Orlovich * * This library is free software; you can redistribute it and/or * modify it un...
/* Copyright (c) 2020-2021 Sibi Siddharthan Distributed under the MIT license. Refer to the LICENSE file at the root directory for details. */ #include <unistd.h> #include <internal/misc.h> #include <Windows.h> #include <internal/error.h> #include <errno.h> int common_rmdir(const wchar_t *wpath) { if (!Rem...
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
// Meridian 59, Copyright 1994-2012 Andrew Kirmse and Chris Kirmse. // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // Meridian is a registered trademark. //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // ...