text
stringlengths
9
948k
// Copyright (C) 2016-2021 Yixuan Qiu <yixuan.qiu@cos.name> // // 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 https://mozilla.org/MPL/2.0/. #ifndef SPECTRA_DENSE_GEN_MAT_PROD_H #define SPECTRA_D...
#ifndef _GSP_NODE_HREAD_H__ #define _GSP_NODE_HREAD_H__ 1 #include "node_visitor.h" #include "gsp_base.h" #include "gsp_node.h" #include "gsp_list.h" #include "gsp_sourcetoken.h" #include "gsp_sqlparser.h" #include "lua.h" #include "lauxlib.h" #include "lualib.h" static const char* NodeMetatable = "sqlparser.Node"; ...
/* * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (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/licens...
/* ** $Id: lmathlib.c,v 1.67.1.1 2007/12/27 13:02:25 roberto Exp $ ** Standard mathematical library ** See Copyright Notice in lua.h */ #include <stdlib.h> #include <stdint.h> // For RadioGatun[32] #include <math.h> #define lmathlib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" #und...
#include <stdio.h> #include <SDL/SDL.h> #include <SDL/SDL_mixer.h> #include <assert.h> #include <emscripten.h> static Mix_Chunk *sound = NULL; static Mix_Music *music = NULL; static int soundChannel = 0; void one_iter(); void one_iter() { static int frames = 0; frames++; switch( frames ) { case 1: ...
/** @file TCG2 SMM driver that updates TPM2 items in ACPI table and registers SMI2 callback functions for Tcg2 physical presence, ClearMemory, and sample for dTPM StartMethod. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs data in SM...
// // UIViewController+KRSNavigationBarTransition.h // KRSFakeNavigationBar // // Created by Karos on 16/5/14. // Copyright © 2016年 karosli. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (KRSFakeNavigationBar) - (UINavigationBar *)krs_FakeNavigationBar; - (void)setKrs_EnableFakeNavi...
/* Copyright (c) 2015 Arduino LLC. All right reserved. Copyright (c) 2015 Atmel Corporation/Thibaut VIARD. All right reserved. 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; eithe...
/* * @brief LPC15xx DMA chip driver * * @note * Copyright(C) NXP Semiconductors, 2013 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This software is supplied "AS IS" w...
/* 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 may not...
// Copyright 2021 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_TRACE_EVENT_BASE_TRACING_FORWARD_H_ #define BASE_TRACE_EVENT_BASE_TRACING_FORWARD_H_ // Proxy header that provides //base code access to for...
/* **============================================================================== ** ** Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009 ** Michael Brasher, Karl Schopmeyer ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and associated documen...
/* This file was generated by KreMLin <https://github.com/FStarLang/kremlin> F* version: 74c6d2a5 KreMLin version: 1bd260eb */ #include "kremlib.h" #ifndef __Sha256_H #define __Sha256_H #include "LowParse.h" #include "kremlin/internal/compat.h" typedef FStar_Bytes_bytes Sha256_sha256; uint32_t Sha256_sha256...
/* Copyright (c) 2017 TOSHIBA Digital Solutions Corporation This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This...
// Copyright 2015 the V8 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. #ifndef V8_COMPILER_CONTROL_FLOW_OPTIMIZER_H_ #define V8_COMPILER_CONTROL_FLOW_OPTIMIZER_H_ #include "src/compiler/node-marker.h" #include "src/zone-co...
/*--------------------------------------------------------------------------*\ * -----===== HashTable =====----- * * Author: Keith Pomakis (pomakis@pobox.com) * Date: August, 1998 * Released to the public domain. * *-------------------------------------------------------------------------- *...
#pragma once #define GLFW_INCLUDE_VULKAN #include <GLFW/glfw3.h> #include <optional> #include <vector> #include "DebugMessenger.h" struct QueueFamilyIndices { std::optional<uint32_t> graphicsFamily; std::optional<uint32_t> presentFamily; bool isComplete() { return graphicsFamily.has_value() && presentFamily.h...
#include <avr/interrupt.h> #include "cond.h" void cond_init(cond_t *c) { QUEUE_INIT(&c->waiting); } // Assume the mutex is held by the caller. // It is too expensive to do run-time integrity checks on this processor. void cond_wait(cond_t *c, mutex_t *m) { uint8_t sreg; sreg = SREG; cli(); // Unlocking a...
/** * @file * * Written by Jae Hyeong Hwang * Modified by Øystein Solbø * Copyright (c) 2021 Manta AUV, Vortex NTNU. * All rights reserved. * * * Module connecting the DP-controller to the joystick_guidance and * the dp_guidance */ #ifndef DP_REFERENCE_MODEL_H #define DP_REFERENCE_MODEL_H #include <Eigen/De...
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #pragma once #include "BsCorePrerequisites.h" #include "Reflection/Bs...
/* * 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...
inherit ITEM; string* titles = ({ "大般涅磐经", }); void create() { set_name(titles[random(sizeof(titles))], ({ "shu", "book" })); set_weight(200); if( clonep() ) set_default_object(__FILE__); else { set("unit", "本"); set("long", "这是一册...
// // TRContactInfoViewController.h // day75_CoreData_Auto // // Created by hzxsdz0045 on 15/12/29. // Copyright © 2015年 SSF. All rights reserved. // #import <UIKit/UIKit.h> #import "Contact.h" @interface TRContactInfoViewController : UIViewController @property (nonatomic,strong) Contact* contact; @end
/* * Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation * * 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,...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2010 The University of Tennessee and The University * of Tennessee Resea...
#pragma once #include "CoreMinimal.h" #include "EnemyAnimInstance.h" #include "ShredderAnimInstance.generated.h" UCLASS(Blueprintable, NonTransient) class UShredderAnimInstance : public UEnemyAnimInstance { GENERATED_BODY() public: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) ...
/**************************************************************************** * arch/risc-v/src/esp32c3/esp32c3_serial.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 co...
// Copyright (c) 2019 The Bitstock developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PWIDGET_H #define PWIDGET_H #include <QObject> #include <QWidget> #include <QString> #include "qt/bitstock/prunnable.h" clas...
#include <librg.h>
/** * Logging functions * * @version $Revision:: 165 $$Date:: 2015-02-23 #$ * @copyright Copyright (c) 2004 to the present, Mauricio Villegas <mauvilsa@upv.es> */ #include "log.h" #include <stdarg.h> #include <string.h> void _proxy_log(FILE *log_file, int log_level, int level, const char *fmt, ...) { va_lis...
/* * $Id: authen.c,v 1.13 2009-04-10 18:46:43 heas Exp $ * * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved * Copyright (c) 1995-1998 by Cisco systems, Inc. * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that thi...
/* ============================================================================== This file is part of the juce_core module of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
/* * sigs.c * * Public-domain relatively quick-and-dirty implemenation of * ANSI library routine for System V Unix systems. * * It's written in old-style C for maximal portability. * * Arnold Robbins * January, February, 1991 * * Fixes from ado@elsie.nci.nih.gov * February 1991 *---------------------------...
// Copyright 2019 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 ASH_PUBLIC_CPP_FILE_ICON_UTIL_H_ #define ASH_PUBLIC_CPP_FILE_ICON_UTIL_H_ #include "ash/public/cpp/ash_public_export.h" #include "base/files/file...
//===== Copyright © 1996-2006, Valve Corporation, All rights reserved. ======// // // Purpose: particle system definitions // //===========================================================================// #ifndef PARTICLES_H #define PARTICLES_H #ifdef _WIN32 #pragma once #endif #include "mathlib/mathlib.h" #include ...
/* Linuxthreads - a simple clone()-based implementation of Posix */ /* threads for Linux. */ /* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr) */ /* */ /* This program is f...
/** * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA * * 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, th...
/* * linux/fs/affs/file.c * * (c) 1996 Hans-Joachim Widmaier - Rewritten * * (C) 1993 Ray Burr - Modified for Amiga FFS filesystem. * * (C) 1992 Eric Youngdale Modified for ISO 9660 filesystem. * * (C) 1991 Linus Torvalds - minix filesystem * * affs regular file handling primitives */ #include "a...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:44:03 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/ProVideo.framework/ProVideo * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
/* * 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...
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
#ifndef IIT_CT_INVERTEDPENDULUM_LINK_DATA_MAP_H_ #define IIT_CT_INVERTEDPENDULUM_LINK_DATA_MAP_H_ #include "declarations.h" namespace iit { namespace ct_InvertedPendulum { /** * A very simple container to associate a generic data item to each link */ template<typename T> class LinkDataMap { private: T data[lin...
// // HandshakeHandler.h // Stasis // // Created by Christian Fruth on 26.07.13. // Copyright (c) 2013 Boxx IT Solutions e.K. All rights reserved. // #import <Foundation/Foundation.h> @class RemoteConnection; @protocol HandshakeHandler <NSObject> - (BOOL)handleResponse:(NSURLResponse *)response withData:(NSData...
// // This file was automatically generated and should not be edited. // // OrchardwatchOSDevice.h // Orchard // // Created by Jeff Kelley on 7/17/18. // #import <Foundation/Foundation.h> #if TARGET_OS_WATCH #import <WatchKit/WatchKit.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, OrchardwatchOSDevice) ...
--- sendlib.c.orig 2021-09-10 20:09:44 UTC +++ sendlib.c @@ -1214,7 +1214,9 @@ static void mutt_set_encoding (BODY *b, if (b->type == TYPETEXT) { char *chsname = mutt_get_body_charset (send_charset, sizeof (send_charset), b); - if ((info->lobin && ascii_strncasecmp (chsname, "iso-2022", 8)) || info->linem...
/* Copyright (C) 2016, 2017, 2018 "IoT.bzh" author: José Bollo <jose.bollo@iot.bzh> 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 re...
// Copyright 2016 the V8 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. #include <algorithm> #include "src/base/iterator.h" #include "src/common/globals.h" #include "src/utils/memcopy.h" #include "src/zone/zone.h" #ifndef ...
/* * Read pediodically the temperature from the DS75LX sensor * then send to the LoRaWAN network in which the endpoint is registered. * The payload format is LPP Cayenne. * * Copyright (C) 2020 LIG Université Grenoble Alpes * * This file is subject to the terms and conditions of the GNU Lesser * General Public...
// Copyright 2015-2017 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 a...
/*#pragma once #include "CMazo.h" #include "CJugador.h" #include "CEscenario.h" #include <vector> using namespace std; using namespace System; using namespace System::Drawing; class CJuego { private: vector<CJugador*> jugadores; CEscenario* esc; CMazo* mazo; public: CJuego(vector<CJugador*> jugadores, CEscenario*...
/* * 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...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Users/eric/repos/360-j2objc/joda-convert/build/mainTranslationExtraction/org/joda/convert/ToString.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_ToString") #ifdef RESTRICT_ToString #define INCLUDE_ALL_ToString 0 #else #define I...
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "ifcpp/model/GlobalDefines.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingObject.h" #include "IfcEnergyConversionDevice.h" class IFCQUERY...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "NSSecureCoding-Protocol.h" @class CLPAccessoryMeta, NSString; @interface CLHarvestDataTracks : NSObject <NSSe...
// Copyright 2006, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
/* * Copyright (C) 2008 The Android Open Source Project * * 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...
// Copyright (c) 2020 HOOMD-TF Developers #ifndef m_IPC_ARRAY_COMM_ #define m_IPC_ARRAY_COMM_ #include <hoomd/ExecutionConfiguration.h> #include <hoomd/GlobalArray.h> #include <string.h> #include <sys/mman.h> #include <iostream> #include <stdexcept> #include <sstream> #include "CommStruct.h" #ifdef ENABLE_CUDA #inclu...
/* ----------------------------------------------------------------------------- The copyright in this software is being made available under the BSD License, included below. No patent rights, trademark rights and/or other Intellectual Property Rights other than the copyrights concerning the Software are granted unde...
/* See LICENSE file for copyright and license details. * * dynamic window manager is designed like any other X client as well. It is * driven through handling X events. In contrast to other X clients, a window * manager selects for SubstructureRedirectMask on the root window, to receive * events about window (dis-...
#ifndef _LINUX_TRACEPOINT_H #define _LINUX_TRACEPOINT_H /* * Kernel Tracepoint API. * * See Documentation/trace/tracepoints.txt. * * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> * * Heavily inspired from the Linux Kernel Markers. * * This file is released under the GPLv2. * See ...
// // Copyright 2014 Slack Technologies, 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 app...
/* * lmntal.h - global header file * * Copyright (c) 2008, Ueda Laboratory LMNtal Group * <lmntal@ueda.info.waseda.ac.jp> 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...
#include <std.h> inherit WEAPON; void create(){ ::create(); set_name("sword"); set_id(({ "sword" })); set_short("%^BOLD%^%^RED%^M%^BLACK%^e%^RED%^t%^YELLOW%^e%^RED%^or Sw%^CYAN%^o%^RED%^rd%^RESET%^"); set_obvious_short("%^RESET%^%^RED%^red colored%^RESET%^ sword"); set_long( @AVATAR %^BOLD%^%^RED%^This sword is ...
#ifndef DATAFORMATS_TCDS_BSTRECORD_H #define DATAFORMATS_TCDS_BSTRECORD_H //--------------------------------------------------------------------------- //! \class BSTRecord //! //! \brief Class representing the Beam Synchronous Timing (BST) //! information included in the TCDS record. //! Beam parameters provided by B...
// // AppDelegate.h // JFMediaEncoder // // Created by 黄鹏飞 on 2021/4/12. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (nonatomic, strong) UIWindow *window; @end
/*********************************************************************/ /* */ /* current processor time in seconds */ /* difference between two calls is processor time spent by your code */ /* needs: <sys/types.h>, <sys/ti...
//====== Copyright 1996-2013, Valve Corporation, All rights reserved. ======= // // Purpose: interface to display html pages in a texture // //============================================================================= #ifndef ISTEAMHTMLSURFACE_H #define ISTEAMHTMLSURFACE_H #ifdef _WIN32 #pragma once #endif #includ...
/** Copyright (c) Microsoft Corporation. All rights reserved. Create and destroy a singly-linked list. Example from SAS'07: Arithmetic Strengthening for Shape Analysis **/ #include "slayer.h" typedef struct _SLL_ENTRY { int Data; struct _SLL_ENTRY *Flink; } SLL_ENTRY, *PSLL_ENTRY; void SLL_destroy_seg(P...
/* * The Clear BSD License * Copyright (c) 2015 - 2016, Freescale Semiconductor, Inc. * Copyright 2016 NXP * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided * that the followin...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic...
/**************************************************************************** * pgm.h * * This module contains all defines, typedefs, and prototypes for PGM.CPP. * * from Persistence of Vision(tm) Ray Tracer version 3.6. * Copyright 1991-2003 Persistence of Vision Team * Copyright 2003-2004 Pers...
//================================================================================================= // Copyright (c) 2011, Johannes Meyer, TU Darmstadt // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are...
#pragma once constexpr const char* kUnkToken = "<unk>"; constexpr const char* kSilToken = "|"; constexpr const char* kBlankToken = "#"; constexpr const char* kCtcCriterion = "ctc"; constexpr const char* kAsgCriterion = "asg";
/** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * 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 ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:18:33 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/ActionK...
// Copyright (c) 2009-2010 Satoshi Nakamoto // 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_COMPAT_H #define BITCOIN_COMPAT_H #if defined(HAVE_CONFIG_H) #in...
// // YKShowDedailViewController.h // TicketApp // // Created by 葱花思鸡蛋 on 2017/4/14. // Copyright © 2017年 hangzhouzhulongkeji. All rights reserved. // #import <UIKit/UIKit.h> @interface YKShowDedailViewController : UIViewController @end
/* * "Copyright (c) 2006 Washington University in St. Louis. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice, the following * ...
/* Groestl hash from https://github.com/Groestlcoin/vanitygen * Trezor adaptation by Yura Pakhuchiy <pakhuchiy@gmail.com>. */ /* * Groestl implementation. * * ==========================(LICENSE BEGIN)============================ * * Copyright (c) 2007-2010 Projet RNRT SAPHIR * * Permission is hereby granted, f...
#include "vivacity/core/detector_tracker_frame.pb.h" #include <netinet/in.h> #include <pb.h> #include <pb_decode.h> #include <pb_encode.h> #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <unistd.h> #define UDP_LISTENER_PORT 8000 // This depends on how many sensors are sending here, and how man...
#ifndef BINARY_OP_H #define BINARY_OP_H #include "node.h" #include <memory> namespace cs225 { class binary_op : public node { public: binary_op(std::unique_ptr<node> left, std::unique_ptr<node> right); double value() const override; virtual double combine(double left, double right) const =0; protected: ...
// Copyright 2014 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
% % CWEB $VER: matrix.w 1.6 (13.01.2019) % % BESCHREIBUNG: % Dieses CWEB Programm soll als Beispiel für einige Erweiterungen % dienen, die erst mit der neuen Version 3 des CWEB-Systems verfügbar % sind. Es liest die Datei `Matrix.input', die in vier Zeilen jeweils % vier Einträge der Form `(Realteil,Imagin...
/* * Copyright (c) 2012-2016, The Linux Foundation. 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 o...
/******************************************************** * * * Copyright (C) Microsoft. All rights reserved. * * * ********************************************************/ #pragma once #include <function...
#import <UIKit/UIKit.h> //! Project version number for BraintreeCore. FOUNDATION_EXPORT double BraintreeCoreVersionNumber; //! Project version string for BraintreeCore. FOUNDATION_EXPORT const unsigned char BraintreeCoreVersionString[]; #import "BTAPIClient.h" #import "BTAppSwitch.h" #import "BTClientMetadata.h" #im...
#include <stdlib.h> #include <stdio.h> #include <time.h> #include <unistd.h> //getenv, execvp, fork static pid_t pcA=-1, pcB=-1; static char *arg[]={"",0}, *psA, *psB; static int nTime; char* envOr(char* deft, char* name) { char* s = getenv(name); return (s==NULL)? deft : s; } int ienvOr(int deft, char* name) { ...
#include <emote.h> EMOTE( "~Name ~verbsay `Ja, mata.'@@saying, `Whelp, later.'", "~Name ~verbsay `Ja, mata.' at ~targ.@@saying `Ja, mata.' at ~targ") EMOTE_ATTRIBUTE( ATT_AUDIBLE )
/** * @file uart.c * @author David.lin * @brief * @version 0.1 * @date 2021-06-04 * * @copyright Fanhai Data Tech. (c) 2021 * */ #include "sysc.h" #include "uart.h" #include "iom.h" /** * @brief uart init * * @param iUartNo :UART1,UART2,LPUART * @param * port:UART1_PORT_P00_P01,UART1_PORT_P16_P17,UART2_...
// MDSPEnumStorage.h : Declaration of the CMDSPEnumStorage #ifndef __MDSPENUMSTORAGE_H_ #define __MDSPENUMSTORAGE_H_ #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CMDSPEnumStorage class ATL_NO_VTABLE CMDSPEnumStorage : public CComObject...
/*************************************************************************************************/ /*! * \file * * \brief UART driver definition. * * Copyright (c) 2019-2020 Packetcraft, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
// // ViewController.h // calculator // // Created by serge 徐 on 16/6/27. // Copyright © 2016年 serge xu. All rights reserved. // /* 实例一个self的weak指针 */ #define WEAK_SELF(weakSelf) __weak __typeof(&*self)(weakSelf) = self; #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * ****/ /* mkmovie.c converts a movie file from the game engine to a collection of ...
/* * Copyright 2002-2010, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: * Mattias Sundblad * Andrew Bachmann */ #ifndef CONSTANTS_H #define CONSTANTS_H #include <GraphicsDefs.h> #include <SupportDefs.h> #define APP_SIGNATURE "application/x-vnd.Haiku-Styled...
$NetBSD: patch-unix_tclUnixPort.h,v 1.1 2014/03/10 14:20:44 taca Exp $ Always use <libmits.h> and <unistd.h>. --- unix/tclUnixPort.h.orig 2013-08-30 15:58:40.000000000 +0000 +++ unix/tclUnixPort.h @@ -131,19 +131,11 @@ typedef off_t Tcl_SeekOffset; #if HAVE_INTTYPES_H # include <inttypes.h> #endif -#ifdef NO_LI...
/******************************************************************************* * * Module Name: rscreate - Create resource lists/tables * ******************************************************************************/ /* * Copyright (C) 2000 - 2017, Intel Corp. * All rights reserved. * * Redistribution and u...
/* system.h: FR-V CPU control definitions * * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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 ...
/* * The MIT License (MIT) * * Copyright (c) Microsoft 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, cop...
// // c3dMaterial.h // HelloCpp // // Created by yang chao (wantnon) on 14-1-5. // // #ifndef __HelloCpp__c3dMaterial__ #define __HelloCpp__c3dMaterial__ #include <iostream> using namespace std; #include "cocos2d.h" using namespace cocos2d; #include "c3dCommonFunc.h" #include "c3dVector.h" class Cc3dMaterial:publi...