text
stringlengths
9
948k
/** *********************************************************************************************************************** * 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...
// Copyright 2019 The Fuchsia 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 SRC_UI_INPUT_LIB_INPUT_REPORT_INSTANCE_DRIVER_INSTANCE_H_ #define SRC_UI_INPUT_LIB_INPUT_REPORT_INSTANCE_DRIVER_INSTANCE_H_ #include <array> #inc...
#include <std.h> #include "/d/stella/short.h" inherit ROOM; void init(){ ::init(); if (interactive(TP)) { do_random_encounters(({MPATH"mund.c"}),5,1); do_random_encounters(({OPATH"nova.c"}),5,1); } } void create(){ ::create(); set_name("Star Maze"); set_short("%^YELLOW%^Sta...
/* * Replacement for a missing getnameinfo. * * This is an implementation of getnameinfo for systems that don't have one so * that networking code can use a consistent interface without #ifdef. It is * a fairly minimal implementation, with the following limitations: * * - IPv4 support only. IPv6 is not suppo...
// -*- mode: ObjC -*- // This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files. // Copyright (C) 1997-1998, 2000-2001, 2004-2013 Steve Nygard. @interface CDDataCursor : NSObject - (id)initWithData:(NSData *)data; @property (readonly) NSData *data; - (const void *)bytes; ...
#ifndef TANKGAMESTRUCTURE_H #define TANKGAMESTRUCTURE_H #include <string> #include "tankgamemain.h" #include "minimalGame.h" #include "classicMode.h" using namespace std; class tankGameStructure { public: void gamemode5Stats(int death05,int moveAtimes05,int moveDtimes05,int moveStimes05,int shootingTimes0...
#ifndef C0P_PARAM_POST_OBJECTS_SURFER__US_0O4__SURFTIMECONST_0O0_POS_GROUP_MEMBER_PASSIVE_POSITION_PARAMETERS_H #define C0P_PARAM_POST_OBJECTS_SURFER__US_0O4__SURFTIMECONST_0O0_POS_GROUP_MEMBER_PASSIVE_POSITION_PARAMETERS_H #pragma once // app include #include "core/post/objects/object/post/passive/position/prop.h" n...
#include <stdio.h> #include <errno.h> #include <string.h> #include "weather.h" #define SUCCESS 0 #define ARG_ERR -1 int main(int argc, char **argv) { if (argc != 3) { fprintf(stderr, "%s\n", "Icorrect arguments!"); return ARG_ERR; } if (argv[1][0] != '-' || argv[1][1] != 'i') { ...
/* * Copyright (c) 2017, 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 the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this so...
#pragma once #include <KatherineTpx3.h> #ifdef __SIMULATION__ #include "TpxSimulation.h" #endif #ifdef __USE_OPENCL__ #include "OpenCLTypes.h" #include "OpenCLExecutor.h" #endif #include "SegmentDataProcessingThread.h" #include <functional> #include "opencv2/opencv.hpp" #include "MultiplattformTypes.h" #include <...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2018 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 UNITE_POLICY_FEERATE_H #define UNITE_POLICY_FEERATE_H #include <amount.h...
#pragma once namespace qif191 { namespace t { class CListDoubleType : public TypeBase { public: QIF191_EXPORT CListDoubleType(xercesc::DOMNode* const& init); QIF191_EXPORT CListDoubleType(CListDoubleType const& init); void operator=(CListDoubleType const& other) { m_node = other.m_node; } static altova::meta:...
// Copyright 2020 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_IS_INPUT_PENDING_OPTIONS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_IS_INPUT_PENDING_OPTIONS_H_ #incl...
/*========================================================================= Program: Visualization Toolkit Module: vtkEllipsoidalGaussianKernel.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Thi...
#if !defined(AFX_BCGSHELLTREE_H__3791A756_78B8_4EEA_8520_849389480AB1__INCLUDED_) #define AFX_BCGSHELLTREE_H__3791A756_78B8_4EEA_8520_849389480AB1__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 //******************************************************************************* // COPYRIGHT NOTES ...
// // UITabBarController+BaseVC.h // DearyPet // // Created by Aesir Titan on 2016-08-19. // Copyright © 2016 Titan Studio. All rights reserved. // #import <UIKit/UIKit.h> @interface UITabBarController (BaseVC) #pragma mark - self class // bar style typedef NS_ENUM(NSUInteger, ATBarStyle){ ATBarStyleLight...
// Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com // // Part of "Nuitka", an optimizing Python compiler that is compatible and // integrates with CPython, but also works on its own. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
#ifndef __LIB_INTTYPES_H #define __LIB_INTTYPES_H #include <stdint.h> #define PRId8 "hhd" #define PRIi8 "hhi" #define PRIo8 "hho" #define PRIu8 "hhu" #define PRIx8 "hhx" #define PRIX8 "hhX" #define PRId16 "hd" #define PRIi16 "hi" #define PRIo16 "ho" #define PRIu16 "hu" #define PRIx16 "hx" #define PRIX16 "hX" #defin...
/* printer1.c */ #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-variable" #include <stdio.h> #include "poly/thread.h" #include "poly/passing/entry.h" #include "poly/passing/interface.h" static atomic(bool) done; THREAD_TYPE(Printer1) END_TYPE THREAD_BODY(Printer1) print...
/* Copyright 2016 The TensorFlow 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 a...
// // UMTools.h // URLManagerDemo // // Created by jiajun on 8/8/12. // Copyright (c) 2012 jiajun. All rights reserved. // #define PROTOCOL @"PROTOCOL" #define HOST @"HOST" #define PARAMS @"PARAMS" #define URI @"URI" @interface NSURL (UMURL) - (NSURL *)addParams:(NSDictiona...
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "GDKTestGyms/GDKTestGymsCharacter.h" #include "RPCTimeoutCharacter.generated.h" UCLASS() class GDKTESTGYMS_API ARPCTimeoutCharacter : public AGDKTestGymsCharacter { GENERAT...
// 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_UI_VIEWS_PROXIMITY_AUTH_PROXIMITY_AUTH_ERROR_BUBBLE_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_PROXIMITY_AUTH_PROXIMITY_AUTH_ERROR_BUB...
/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
#pragma once #include <QPushButton> #include <QSoundEffect> #include "selfdrive/hardware/hw.h" #include "selfdrive/ui/qt/widgets/controls.h" #include "selfdrive/ui/ui.h" #include <QComboBox> #include <QAbstractItemView> class SwitchOpenpilot : public ButtonControl { Q_OBJECT public: SwitchOpenpilot(); private:...
/** Copyright (c) 2013, Sean Kasun */ #ifndef CHUNKCACHE_H_ #define CHUNKCACHE_H_ #include <QObject> #include <QCache> #include "chunk.h" #include "chunkid.h" enum class CacheState { uncached, uncached_loading, cached // still can be nullptr when empty }; class ChunkCache : public QObject { Q_OBJECT public...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "/home/lixh/v0.1.0/openair-cn/src/s1ap/messages/asn1/r10.5/S1AP-IEs.asn" * `asn1c -gen-PER` */ #ifndef _S1ap_ENB_StatusTransfer_TransparentContainer_H_ #define _S1ap_ENB_StatusTransfer_TransparentContainer_H_ #...
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Port on Texas Instruments TMS320C6x architecture * * Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) * * Updated for 2.6.3x: Mark Salter <msalter@redhat.com> */ #ifndef _ASM_C6X_THR...
/* * replay-time.c * * Copyright (c) 2010-2015 Institute for System Programming * of the Russian Academy of Sciences. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include "...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // #ifndef __CLRHOST_H__ #define __CLRHOST_H__ #include "windows.h" // worth to include before mscoree.h so we are guaranteed to pick few definitions #ifdef CreateSemaphore #un...
/**************************************************************************/ /** * @file os_systick.c * @brief CMSIS OS Tick SysTick ...
/* THIS CHUNK OF BYTES IS AUTOMATICALLY GENERATED */ 0x04, 0x00, 0x00, 0x00
/* -------------------------------------------------------------------------- * Name: destroy.c * Purpose: Associative array implemented as a digital search tree * ----------------------------------------------------------------------- */ #include <stdlib.h> #include "base/memento/memento.h" #include "base/typ...
/************************************************************************** * * Copyright 2009 VMware, Inc. * 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 wit...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
#include <nanafy.h> #include <stddef.h> nanafy_status set_nanafy_offset_manually (nanafy_section section, size_t offsetfrom, size_t offsetto, size_t size, nanafy *nana){ size_t offset = tell_nanafy_section(section, nana); if (offsetto < offset){ nanafy_local_relocation relocation; init_nanafy_local_relocation(se...
// // FMDictManager.h // TreasureChest // // Created by xiao ming on 2020/1/8. // Copyright © 2020 xiao ming. All rights reserved. // #import "FMDBManager.h" #import <FMDB.h> #import "DictionaryMainModel.h" NS_ASSUME_NONNULL_BEGIN @interface FMDictManager : NSObject @property(nonatomic, strong)NSMutableArray<Di...
/**************************************************************************** * graphics/nxglib/nxglib_circletraps.c * * Copyright (C) 2011 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...
#pragma once #include "Config.h" #include <stdexcept> namespace AdressFamilly { enum Enum { AppleTalk = 0x10, Atm = 0x16, Banyan = 0x15, Ccitt = 10, Chaos = 5, Cluster = 0x18, DataKit = 9, DataLink = 13, DecNet = 12, Ecma = 8, FireFox = 0x13, HyperChannel = 15, Ieee12844 = 0x19, ImpLink =...
/* * Eurotech CPU-1220/1410 on board WDT driver * * (c) Copyright 2001 Ascensit <support@ascensit.com> * (c) Copyright 2001 Rodolfo Giometti <giometti@ascensit.com> * (c) Copyright 2002 Rob Radez <rob@osinvestor.com> * * Based on wdt.c. * Original copyright messages: * * (c) Copyright 1996-1997 Alan Cox ...
/* * Copyright (c) [2019] Huawei Technologies Co.,Ltd.All rights reverved. * * OpenArkCompiler is licensed under the Mulan PSL v1. * You can use this software according to the terms and conditions of the Mulan PSL v1. * You may obtain a copy of Mulan PSL v1 at: * * http://license.coscl.org.cn/MulanPSL * * T...
// Copyright 2018 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. #ifndef DIAGNOSTICS_DIAGNOSTICSD_MOJO_TEST_UTILS_H_ #define DIAGNOSTICS_DIAGNOSTICSD_MOJO_TEST_UTILS_H_ #include <memory> #include <string> #include ...
//===- LLVMContextImpl.h - The LLVMContextImpl opaque class -----*- 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 2019 Huawei Technologies Co., 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...
#ifndef SWO_H #define SWO_H #include <arm_etm.h> namespace SWO { struct T { static bool trace_enabled; static void init(void) { if (!(CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) || !(DBGMCU->CR & DBGMCU_CR_TRACE_IOEN)) { // Some (all?) STM32s don't allow writes to DBGMCU register until // C_DEBU...
// Copyright 2018 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 BASE_WIN_REFERENCE_H_ #define BASE_WIN_REFERENCE_H_ #include <windows.foundation.collections.h> #include <wrl/implements.h> #include <type_trait...
/* * MIT License * * Copyright (c) 2020 Tiago Vasconcelos * * 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...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file app_lorawan.c * @author MCD Application Team * @brief Application of the LRWAN Middleware ****************************************************************************** * @attention ...
// // ViewController.h // XMGdemo // // Created by 周小帅 on 16/12/1. // Copyright © 2016年 xiaomage. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
/* * Copyright 2019-2021 OARC, Inc. * Copyright 2017-2018 Akamai Technologies * Copyright 2006-2016 Nominum, 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 a...
/* sleep() - Sleep for a number of seconds. Author: Erik van der Kouwe * 25 July 2009 * (Avoids interfering with alarm/setitimer by using select, like usleep) */ #include <lib.h> #define sleep _sleep #include <unistd.h> #include <errno.h> #include <time.h> #include <sys/select.h> #include <sys/time.h> unsig...
// // FLNavigationPopProtocol.h // MiniVcDemo // // Created by 孔凡列 on 2017/10/30. // Copyright © 2017年 YY Inc. All rights reserved. // #ifndef FLNavigationPopProtocol_h #define FLNavigationPopProtocol_h typedef NS_ENUM(NSUInteger, FLNavigationPopType) { FLNavigationPopTypeNone, FLNavigationPopTypeTap, ...
/* * Copyright (c) 2020-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
/* * Copyright © 2006-2009 Intel Corporation * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, bu...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef EIGEN_SPQRSUPPORT_...
// Copyright 2020 The Fuchsia 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 SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_GAP_LOW_ENERGY_CONNECTION_REQUEST_H_ #define SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_GAP_LOW_ENERGY_CONNECT...
//---------------------------------------------------------------------------- // Name : main.h // Author : John Greenwell // Purpose : QDSP-6064 Bubble 7-Segment Display Test Project Main // Description : // This header file accompanies main.cpp. // // Platform : Teensy 3.1 // Languag...
/** ****************************************************************************** * @file stm32f7xx_ll_sdmmc.h * @author MCD Application Team * @version V1.0.1 * @date 25-June-2015 * @brief Header file of SDMMC HAL module. *************************************************************************...
/************************************************************************************************** Phyplus Microelectronics Limited confidential and proprietary. All rights reserved. IMPORTANT: All rights of this software belong to Phyplus Microelectronics Limited ("Phyplus"). Your use of this Software is...
/* * win_if_list - Display network interfaces with description (for Windows) * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation....
#ifndef KADAI4_H_ #define KADAI4_H_ #include "array_graph.h" int calc_earliest_node_times(int *g[GRAPH_ITEM_NUM], int es[][EDGE_PROPERTY], int vs[][VERTEX_PROPERTY], int vmax); int calc_latest_node_times(int *g[GRAPH_ITEM_NUM], int es[][EDGE_PROPERTY], int vs[][VERTEX_PROPERTY], int vmax); int trace_critical_path(in...
using System; using Microsoft.AnalysisServices.AdomdClient;
#pragma once //********************* // 3th party includes: //********************* // * SDL * #include <SDL.h> #include <SDL_image.h> #include <SDL_ttf.h> // * GLFW * #include <GLFW/glfw3.h> #ifdef APIENTRY #undef APIENTRY #endif // * Box2D * #include <box2d/box2d.h> // * VLD * #include <vld.h> // * DearIMGUI * #...
// // SettingsViewController.h // Bomb Voyage // // Created by Eric Dufresne on 2015-05-27. // Copyright (c) 2015 Eric Dufresne. All rights reserved. // #import <UIKit/UIKit.h> //View controller that is reponsible for optionally switching between tap and tilt controls as well as deleting stored high score. Stores...
/* * Bullet OSG Framework. * Part module. * * Copyright (c) 2015 Jérémie Decock <jd.jdhp@gmail.com> * * www.jdhp.org */ #ifndef BOTSIM_PART_H #define BOTSIM_PART_H #include "joint_slot.h" #include <map> #include <string> #include <osg/Group> #include <osg/PositionAttitudeTransform> #include <Eigen/Dense> ...
//===----------- TokenSyntax.h - Swift Token Interface ----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
/**************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* */ /* Thi...
/*************************************************************************** snes.c File to handle the sound emulation of the Nintendo Super NES. By R. Belmont, adapted from OpenSPC 0.3.99 by Brad Martin with permission. Thanks to Brad and also to Charles Bilyu? of SNeESe. OpenSPC's license terms (the LGP...
#ifndef _ASM_C6X_SECTIONS_H #define _ASM_C6X_SECTIONS_H #include <asm-generic/sections.h> extern char _vectors_start[]; extern char _vectors_end[]; extern char _data_lma[]; extern char _fdt_start[], _fdt_end[]; #endif /* _ASM_C6X_SECTIONS_H */
#ifndef GUILITE_CORE_INCLUDE_WORD_H #define GUILITE_CORE_INCLUDE_WORD_H class c_surface; class c_word { public: static void draw_string(c_surface* surface, int z_order, const char *s, int x, int y, const FONT_INFO* font, unsigned int font_color, unsigned int bg_color, unsigned int align_type = ALIGN_LEFT); static vo...
/* ** Splint - annotation-assisted static program checker ** Copyright (C) 1994-2003 University of Virginia, ** Massachusetts Institute of Technology ** ** 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 Sof...
/* Driver template for the LEMON parser generator. ** The author disclaims copyright to this source code. */ /* First off, code is included that follows the "include" declaration ** in the input grammar file. */ #include <stdio.h> /* Next is all token values, in a form suitable for use by makeheaders. ** This section w...
// Copyright 2018 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. #ifndef CECSERVICE_CEC_FD_MOCK_H_ #define CECSERVICE_CEC_FD_MOCK_H_ #include <base/macros.h> #include <gmock/gmock.h> #include "cecservice/cec_fd.h" ...
// Copyright (c) 2015-2018 The PIVX developers // Copyright (c) 2019 The Mobinode developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef Mobinode_ZMOBITRACKER_H #define Mobinode_ZMOBITRACKER_H #include "primitives/z...
/* * Copyright (c) 2018 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) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
#pragma once #ifndef SERIALIZER_H #define SERIALIZER_H #include <algorithm> #include <optional> #include <map> #include <string> #include <vector> /** A utility class for serializing labeled values. */ class Serializer { public: /** Serialize a set of labeled value pairs to a char buffer. @note Input values must b...
// // SWeakTimerObject.h // SListViewDemo // // Created by x5 on 17/5/1. // Copyright © 2017年 Xcution. All rights reserved. // // 避免 Timer 强引用,无法释放的问题 #import <Foundation/Foundation.h> @interface SWeakTimerObject : NSObject + (nonnull NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(nonnull ...
#ifndef TESTSPIMASTER_H_ #define TESTSPIMASTER_H_ #include "AVRHardware/Communication/SPI.h" #include "genericCommonStuff.h" void testSPIMaster() { // testSPI_MasterInit(); // // uint32_t count = 0; // while(true) // { // testB1->blink(5, 100); // testSPI_MasterTransmit(('a' + (count % ('x' - 'a')))); // c...
/* Fast Artificial Neural Network Library (fann) Copyright (C) 2003 Steffen Nissen (lukesky@diku.dk) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at y...
/** *Copyright (c) 2000-2001, Jim Crafton *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 conditions and the fol...
/*------------------------------------------------------------------------- * ic_udpifc.c * Interconnect code specific to UDP transport. * * Portions Copyright (c) 2005-2011, Greenplum Inc. * Portions Copyright (c) 2012-Present Pivotal Software, Inc. * Copyright (c) 2011-2012, EMC Corporation * * * IDENTIFI...
#pragma once #include <engine/ecs/base/containers/isystemcontainer.h> namespace puma { class IRenderQueue; class SystemContainer final : public ISystemContainer { public: void uninit(); void prePhysicsUpdate( float _deltaTime ); void update( float _deltaTime ); void ...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2016 Francois Beaune, The appleseedhq Organization // /...
extern zend_class_entry *phalcon_di_exception_ce; ZEPHIR_INIT_CLASS(Phalcon_Di_Exception);
/**************************************************************************** * * Copyright 2016 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...
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
// SPDX-License-Identifier: GPL-2.0-only /* * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> */ #include <linux/module.h> #include <linux/netfilter_ipv4/ip_t...
/** * This header is generated by class-dump-z 0.2-0. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "ModelAction.h" @class VKGroup, StatsUploadHelper, NSNumber, NSString; __attribute__((visibility("hidden"))) @interface ModelActionGroup : ModelAction { BO...
/* * ModSBIT.h: Interface file for ModSBIT.c - Written by Louise Pathe * * Copyright 1990-1997. Microsoft Corporation. * */ #ifndef MODSBIT_DOT_H_DEFINED #define MODSBIT_DOT_H_DEFINED [System::Security::SecurityCritical] int16 ModSbit( CONST_TTFACC_FILEBUFFERINFO * pInputBufferInfo, ...
/* * Copyright 2018-present 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 a...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:52:54 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/WorkflowKit.framework/WorkflowKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by...
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2016, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/lightsail/Lightsail_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/lightsail/model/Operation.h> #include <utility> namespace Aws { template<typen...
/*ckwg +29 * Copyright 2013-2014 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...
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BITS_BPF_H #define __BITS_BPF_H static __always_inline u64 log2(u32 v) { u32 shift, r; r = (v > 0xFFFF) << 4; v >>= r; shift = (v > 0xFF) << 3; v >>= shift; r |= shift; shift = (v > 0xF) << 2; v >>= shift; r |= shift; shift = (v > 0x3) << 1; v >...
/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /********************************************************** * Copyright 2012-2019 VMware, 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 Soft...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "../../../rrc_15.5.1_asn.asn1" * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` */ #include "SRS-TPC-PDCCH-Config.h" #include "SRS-CC-SetIndex.h...
/* * Copyright (c) 2020 Nordic Semiconductor ASA * Copyright (c) 2020 Demant * * SPDX-License-Identifier: Apache-2.0 */ #include "zephyr/types.h" #include "ztest.h" #include <bluetooth/hci.h> #include <sys/byteorder.h> #include <sys/slist.h> #include <sys/util.h> #include "hal/ccm.h" #include "util/util.h" #in...