text
stringlengths
9
948k
#include "threads.h" //#include <stdio.h> //#include <stdlib.h> #define NULL 0 lock_t mutex, tlock; cond_t cond; int data; void *thread_func(void *args) { lock_t *l = &mutex; lock_t *t = &tlock; cond_t *c = &cond; acquire((void*)l); data = 1; signalcond(c); release((void*)l); release2((void*)t); re...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strupcase.c :+: :+: :+: ...
/* * Copyright (c) 2005-2009 Brocade Communications Systems, Inc. * All rights reserved * www.brocade.com * * Linux driver for Brocade Fibre Channel Host Bus Adapter. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License (GPL) Version 2 a...
#ifndef H_include_mmap #define H_include_mmap #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include "../IPCBase.h" // Must ensure that this is same as in Memmap.java #define COUNT (1000) #define locQ (50) #define FILEPATH "pfile" namespace IPC { class Mmap:publi...
#include <std.h> inherit "/std/monster"; /** * Designed and described by Sierra. */ #define DELAY 5 int delay; void create() { object weapon; int level = 60; ::create(); set_name("wyvern"); set_id(({"wyvern","bone wyvern","undead", "bonewyvern"})); set_short("%^BOLD%^%^WHITE%^B%^BLACK%...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef __XMPP_CHANNEL_H__ #define __XMPP_CHANNEL_H__ #include <boost/asio/ip/tcp.hpp> #include <boost/scoped_ptr.hpp> #include <tbb/atomic.h> #include <tbb/spin_mutex.h> #include "base/timer.h" #include "base/lifetime.h" #include "net/address....
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" int16_t x1 = -493; static volatile int32_t t0 = -227864870; int16_t x6 = 9; volatile int32_t t2 = -69188917; ui...
/****************************************************************************/ /* */ /* TESTCODE */ /* Test Functions */ /* ...
/* * Copyright (c) 2013-2014 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief ARM Cortex-A, Cortex-M and Cortex-R interrupt management * * * Interrupt management: enabling/disabling and dynamic ISR * connecting/replacing. SW_ISR_TABLE_DYNAMIC has to be enabled for * ...
#pragma once #include "xcairo_helpers.h" #include "xsystemheaders.h" #include <cassert> #if defined(_WIN32) || defined(_WIN64) #include <cairo-win32.h> #endif #include "xpath.h" #include <iostream> #include <sstream> #include <iomanip> #include <magick/api.h> #include <system_error> #include <cstring> #include <chron...
// 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 COMPONENTS_CRONET_NATIVE_SAMPLE_SAMPLE_EXECUTOR_H_ #define COMPONENTS_CRONET_NATIVE_SAMPLE_SAMPLE_EXECUTOR_H_ // Cronet sample is expected to be ...
/* Auto-generated by generate-wrappers.py script. Do not modify */ #if defined(__arm__) || defined(__aarch64__) #include <q8avgpool/up8xm-neon.c> #endif /* defined(__arm__) || defined(__aarch64__) */
/* graphics.h -- graphics helpers header * * Copyright (C) 2017 Victor Vieux * * This software may be modified and distributed under the terms * of the Apache license. See the LICENSE file for details. */ #ifndef __GRAPHICS_H__ #include <stdio.h> #include <libdragon.h> void graphics_draw_box_with_border(displ...
/****************************************************************************** * Copyright (c) 2015 Simon Schreiberhuber * * 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 restri...
// Copyright 2013 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 EXTENSIONS_COMMON_MANIFEST_H_ #define EXTENSIONS_COMMON_MANIFEST_H_ #include <map> #include <set> #include <string> #include "base/memory/scoped...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_split.c :+: :+: :+: ...
/* ========================================================================== * Synopsys DesignWare Sensor and Control IP Subsystem IO Software Driver and * documentation (hereinafter, "Software") is an Unsupported proprietary work * of Synopsys, Inc. unless otherwise expressly agreed to in writing between * Synopsys a...
// /d/yixing/npc/shijian.c 侍劍 // Last Modified by winder on Jul. 12 2002 #include <ansi.h>; inherit NPC; void create() { set_name("侍劍", ({ "shijian" })); set("long","她是長樂幫主的小丫鬟,臉龐略作圓形,倒也嫵媚可喜。\n她頭髮略見蓬鬆,雪白的赤足踏在一雙繡花拖鞋中。\n"); set("gender", "女性"); set("age", 16); set("attitude", "fr...
/********************************************************************** Signetics 2636 video chip **********************************************************************/ #ifndef __S2636_H__ #define __S2636_H__ #include "devlegcy.h" #define S2636_IS_PIXEL_DRAWN(p) (((p) & 0x08) ? TRUE : FALSE) #define S263...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h> #include <aws/elasticloadbalancing/ElasticLoadBalancingRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #incl...
#ifndef WKWORMORDER_CTASKWORM_H #define WKWORMORDER_CTASKWORM_H #include "CGameTask.h" #include "../Constants.h" #include "../BitmapImage.h" #include "../BitmapTextbox.h" class CTaskWorm : public CGameTask { public: enum OrderState {OrderOff, OrderMy, OrderAll}; int unknownF0; // 0xF0 int unknownF4; // 0xF4 int...
#pragma once // Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved. #include <system/string.h> #include <system/shared_ptr.h> #include <system/object.h> #include <cstdint> #include "Presentation/Graphics/Core/SizeF.h" #include "aspose_pdf_api_defs.h" namespace Aspose { namespace Pdf { namespace Engine { na...
// Switch-threaded dispatch #define OP_BEGIN(op) case OP_##op: { #define OP_END INSN_END; goto _dispatch; } #define DISPATCH_PROLOGUE uint16_t _opCode = 0 #define DISPATCH_BEGIN _dispatch: _opCode = FETCH16; INSN_BEGIN((Opcode)_opCode); switch (_opCode) { #define DISPATCH_END default: CHI_BUG("I...
/******************************************************************************* System Tasks File File Name: tasks.c Summary: This file contains source code necessary to maintain system's polled tasks. Description: This file contains source code necessary to maintain system's polled tasks. It...
/* 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/. */ #pragma once #include <stdint.h> #include <stdlib.h> #include "macros.h" #if defined(__x86_64__) #include <x86...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:45 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/SafariSharedUI.framework/SafariSharedUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2...
#pragma once namespace Arkanoid { ///state of brick enum enum class BrickState { None = 0, Destroyed = 1, Cracked = 2, Solid = 3 }; }
#pragma once #include <Console3D/Source/Core/Application.h> #include <Console3D/Source/Gui/Widget.h> #include <LCN_Math/Source/Geometry/Vector.h> namespace LCN { class AppTestBasicPaint : public Application { #define APPWIDGET_SLOT(Method, ...) SLOT(AppTestBasicPaint, Method, __VA_ARGS__) public: AppTestBasic...
/* * $Id: json_object_private.h,v 1.4 2006/01/26 02:16:28 mclark Exp $ * * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. * Michael Clark <michael@metaparadigm.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. * */ ...
// Copyright (c) 2015 The Bitcoin Core developers // Copyright (c) 2015-2017 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef TRIPONE_REVERSELOCK_H #define TRIPONE_REVERSELOCK_H /** * An...
/* * MIT License * * Copyright (c) 2019-2020 Tskit Developers * Copyright (c) 2015-2018 University of Oxford * * 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, inc...
#include "Utils/ZEngineHelper.h" #include "Utils/PrimitiveTypes.h" #include "Memory/Handle.h" #include "Renderer/IRenderer.h" #include "Memory/MemoryManager.h" #include "ResourceManagers/BufferManager.h" #include "Renderer/DrawList.h" #include "Math/MathUtil.h" #include "Math/Matrix4x4.h" #include "Math/Vector3.h"...
/* linux/arch/arm/mach-msm/board-trout-mmc.c ** Author: Brian Swetland <swetland@google.com> */ #include <linux/gpio.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/mmc/host.h> #include <linux/mmc/sdio_ids.h> #include <linux/err.h> #includ...
#include "kernel/types.h" #include "user/user.h" #include "kernel/fcntl.h" struct perf { int ctime; // Process creation time int ttime; // Process termination time int stime; // The total time the process spent in the SLEEPING mode int retime; // The t...
/*- * Copyright 2009 Colin Percival * Copyright 2013-2018 Alexander Peslyak * 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 copy...
/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public Licen...
#define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), configIP_ADDR0, configIP_ADDR1, configIP_ADDR2, configIP_ADDR3 ) #define LWIP_PORT_INIT_GW(addr) IP4_ADDR((addr), configGW_IP_ADDR0, configGW_IP_ADDR1, configGW_IP_ADDR2, configGW_IP_ADDR3 ) #define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), configNET_MAS...
// // AlarmButton.h // LaoRenJi // // Created by RunHao on 2018/10/21. // Copyright © 2018年 西汉科技. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface AlarmButton : UIButton @property (nonatomic, readonly) UILabel *leftLabel; @property (nonatomic, readonly) UILabel *rightLabel; @e...
// // DEMOMenuViewController.h // REFrostedViewControllerStoryboards // // Created by Roman Efimov on 10/9/13. // Copyright (c) 2013 Roman Efimov. All rights reserved. // #import <UIKit/UIKit.h> #import "REFrostedViewController/REFrostedViewController.h" @interface MenuViewController : UITableViewController @end
/* * Canon DIGIC UART block declarations. * * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
//SPDX-FileCopyrightText: Schindar Ali //SPDX-License-Identifier: Apache-2.0 extern int __VERIFIER_nondet_int(); extern void __VERIFIER_error(); void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: __VERIFIER_error(); } return; } /*function declaration */ int worngMid(int x, int y, int z); int correctM...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:41:02 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ShareSheet.framework/ShareSheet * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
#include <stdio.h> #include <stdlib.h> #define MAX_BUFFER_OFFSET_DIVIDER 524288 typedef struct { unsigned long position; unsigned long offset; unsigned short formula; } SequenceResult; typedef struct binary_sequence_function { unsigned long position; unsigned long offset; unsigned short seque...
/** * Provides formatting support for GLM types */ #ifndef SHARED_FORMAT_GLMTYPES_H #define SHARED_FORMAT_GLMTYPES_H #include <glm/vec2.hpp> #include <glm/vec3.hpp> #include <glm/vec4.hpp> template <> struct fmt::formatter<glm::ivec2> { constexpr auto parse(format_parse_context& ctx) { auto it = ctx.beg...
#import <MediaServices/MSVLyricsTTMLParser.h> #import <MediaServices/MSVBidirectionalDictionary.h> #import <MediaServices/MSVMutableBidirectionalDictionary.h> #import <MediaServices/MSVArtworkServiceResizeOperation.h> #import <MediaServices/MSVArtworkServiceConversionOperation.h> #import <MediaServices/MSVArtworkServic...
/* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and...
/* Z88DK Z80 Macro Assembler Copyright (C) Gunther Strube, InterLogic 1993-99 Copyright (C) Paulo Custodio, 2011-2020 License: The Artistic License 2.0, http://www.perlfoundation.org/artistic_license_2_0 Repository: https://github.com/z88dk/z88dk Handle assembly listing and symbol table listing. */ #include "codeare...
// Copyright 2014 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_LIBADDRESSINPUT_CHROMIUM_STORAGE_TEST_RUNNER_H_ #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_STORAGE_TEST_RUNNER_H_ #include "third_p...
// Copyright (c) 2014-2019 The Dash Core Developers, The BiblePay Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SMARTCONTRACTCLIENT_H #define SMARTCONTRACTCLIENT_H #include "wallet/wallet.h" #include "h...
/* See LICENSE file for copyright and license details. */ /* * appearance * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "FiraCode Nerd Font:pixelsize=16:antialias=true:autohint=true"; static int borderpx = 3; /* * What program is execed by st depends of these...
#ifndef __EFFECTOR__ #define __EFFECTOR__ #include "SFLShierarchy.h" #include "../clangparser/coach_lang_comp.h" class SFLSEffector { public: // TIMO: SFLSEffector(void); /// the method that invokes the right methods void doAction (CM_Action* action); /*********** the object specific methods ******...
/******************************************************************************* * FILENAME: cymetadata.c * * PSoC Creator 3.0 Component Pack 7 * * DESCRIPTION: * This file defines all extra memory spaces that need to be included. * This file is automatically generated by PSoC Creator. * ******************************...
// vim: set ts=2 sw=2 tw=99 et: #ifndef emitter_h__ #define emitter_h__ #include "asmjs_ast.h" #include "wasm_ast.h" namespace emitter { wasm_ast::Module& emit_wasm(memory::Pool& pool, const asmjs_ast::Func& func); } // namespace emitter #endif // defined emitter_h__
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
// IDDN.FR.001.250001.005.S.P.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file Vector3.h * @author Clement Berthaud * @brief This file provides the definition for the TVector3 class. * @license ...
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import <ObjectiveDropboxOfficial/DBSerializableProtocol.h> @class DBSHARINGFileAction; @class DBSHARINGGetFileMetadataBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark -...
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // // 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...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DT_BINDINGS_POWER_RK3288_POWER_H__ #define __DT_BINDINGS_POWER_RK3288_POWER_H__ /** * RK3288 Power Domain and Voltage Domain Summary. */ /* VD_CORE */ #define RK3288_PD_A17_0 0 #define RK3288_PD_A17_1 1 #define RK3288_PD_A17_2 2 #define RK3288_PD_A17_3 3 #define ...
/* * * ZDKConfig+Private.h * ZendeskSDK * * Created by Zendesk on 29/10/2014. * * Copyright (c) 2014 Zendesk. All rights reserved. * * By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Terms * of Service https://www.zendesk.com/company/terms and Application Developer and API Licen...
// Copyright (c) 2012 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ #include <m...
/** Copyright 2018, 2021 He Hao<hehaoslj@sina.com> */ #include "opcda2_all.h" #define MIDL_DEFINE_GUID(type, name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, \ b8) \ const type name = {l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}} const IID II...
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
/* * Copyright (c) 2015-2017 François Tigeot * 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 unmodified, t...
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "BaseDao.h" __attribute__((visibility("hidden"))) @interface DAO_db_word030 : BaseDao { } - (void)Encryption; - (void)ExecuteQueryNoResult:(id)result; - (int...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/elasticache/ElastiCache_EXPORTS.h> #include <aws/elasticache/ElastiCacheErrors.h> #include <aws/core/client/AWSError.h> #include <aws/core/client/ClientConfiguration.h> #inc...
#ifndef __FCONSEND_H__ #define __FCONSEND_H__ #include <sync.h> #include <unk.h> #include <wbemcli.h> #include <comutl.h> #include <wstring.h> #include "wmimsg.h" /********************************************************************* CFwdConsSend - fwdcons senders handle issues with resolving logical target name...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_GUICONSTANTS_...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32l0xx_hal_timebase_TIM.c * @brief HAL time base based on the hardware TIM. ****************************************************************************** * @attention * * <h2><...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "QBJustButton.h" FOUNDATION_EXPORT double QBJustButtonVersionNumber; FOUNDATION_EXPORT const unsigned char QBJustBut...
/* * hmac_mbedtls.c * * Implementation of hmac srtp_auth_type_t that leverages Mbedtls * * YongCheng Yang */ /* * * Copyright(c) 2013-2017, Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <limits> #include <memory> #include <ReactABI33_0_0/attributedstring/ParagraphAttributes.h> #include <Reac...
// // LoginViewController.h // Signal // // Created by Sam Son on 2/3/16. // Copyright © 2016 zdzdz. All rights reserved. // #import <UIKit/UIKit.h> @interface LoginViewController : UIViewController @end
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "MOXPCProtocol-Protocol.h" @class NSString; @interface MOXPCServer : NSObject <MOXPCProtocol> { } + (id)share...
/*++ Copyright (c) 1993 Microsoft Corporation Module Name: dmx32.c Abstract: Author: Wesley Witt (wesw) 15-Aug-1992 Environment: NT 3.1 Revision History: --*/ #include "precomp.h" #pragma hdrstop #include "simpldis.h" #include "dmsql.h" #include "fiber.h" DBF *lpdbf; #undef LOCAL typedef enum...
/* * Author: Landon Fuller <landonf@plausiblelabs.com> * * Copyright (c) 2008-2013 Plausible Labs Cooperative, 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 Sof...
//------------------------------------------------------------------------------ // inject-emsc.c // Demonstrate usage of injected native GL buffer and image resources. //------------------------------------------------------------------------------ #define GL_GLEXT_PROTOTYPES #include <GLES2/gl2.h> #include <GLES2/g...
/* * MIT License * * Copyright (c) 2016-2019 xiongziliang <771730766@qq.com> * * This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
/** * 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...
#import <Flutter/Flutter.h> @interface Dargon2FlutterPlugin : NSObject<FlutterPlugin> @end
/** * Copyright (C) 2019 Xilinx, Inc * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/*----------------------------------------------------------------*/ /* PROJECT: Console View */ /*----------------------------------------------------------------*/ /** * CLASS: ConsoleCommandBaseInheritance * */ #ifndef ConsoleCommandBaseInheritance_H #define ConsoleCommand...
/* comedi/drivers/multiq3.c Hardware driver for Quanser Consulting MultiQ-3 board COMEDI - Linux Control and Measurement Device Interface Copyright (C) 1999 Anders Blomdell <anders.blomdell@control.lth.se> This program is free software; you can redistribute it and/or modify it under the terms of the...
/* * Copyright (c) 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/zephyr.h> #include <zephyr/logging/log.h> #include <zephyr/init.h> #include <mgmt/mgmt.h> #include <zephyr/mgmt/mcumgr/zephyr_groups.h> #include <zephyr/storage/flash_map.h> LOG_MODULE_REGISTER(mcumgr_zeph...
/* * hx711.h: * 24-Bit Analog-to-Digital Converter (ADC) for weight measure * Adaptation of https://github.com/pommoisel/HX711 * * Copyright (c) 2013 Gordon Henderson. *********************************************************************** * This file is part of wiringPi: * https://projects.drogon.net/raspberry...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:39:51 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/ContactsFoundation.framework/ContactsFoundation * classdump-dyld is licensed under GPLv3, Copyright © ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:20:42 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /usr/lib/libAWDSupportFramework.dylib ...
#pragma once namespace fast_io::details::ryu { template<char32_t decimal_point,std::floating_point F,typename It_First,typename It_Second> inline constexpr F input_floating(It_First iter,It_Second ed) { using char_type = std::remove_cvref_t<decltype(*iter)>; using floating_trait = floating_traits<F>; using mantiss...
// Replace all the placeholders (starting with "<" and ending in ">") with the correct values // Neopixel #define PIN <SET YOUR DATA PIN HERE> #define NUMPIXELS <SET THE NUMBER OF LIGHTS HERE> // Wifi char* SSID = "<SSID>"; char* WiFiPassword = "<SSID PASSWORD>"; char* WiFiHostname = "<HOSTNAME>"; //...
/************************ *File: dhcp_test.c * *Owner: Eran * *Reviewer: Danel * *************************/ #include <stddef.h> /* size_t */ #include <stdio.h> /* */ #include "dhcp.h" #include "utils_testing_eran.h" #include "utils_eran.h" /********************* Test Function Declarations ***********************/...
#define NRANSI #include "nrutil.h" #define SWAP(a,b) itemp=(a);(a)=(b);(b)=itemp; #define M 7 #define NSTACK 50 void iindexx(unsigned long n, long arr[], unsigned long indx[]) { unsigned long i,indxt,ir=n,itemp,j,k,l=1; int jstack=0,*istack; long a; istack=ivector(1,NSTACK); for (j=1;j<=n;j++) indx[j]=j; for (;...
/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy o...
/* Header file for minimum-cost maximal flow routines used to smooth basic block and edge frequency counts. Copyright (C) 2008-2018 Free Software Foundation, Inc. Contributed by Paul Yuan (yingbo.com@gmail.com) and Vinodha Ramasamy (vinodha@google.com). This file is part of GCC. GCC is free software; y...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018-2019 The ZEON Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-l...
/* * Direct3D wine internal private include file * * Copyright 2002-2003 The wine-d3d team * Copyright 2002-2003 Raphael Junqueira * Copyright 2002-2003, 2004 Jason Edmeades * Copyright 2005 Oliver Stieber * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
/** * Copyright (c) 2017-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 ...
// Copyright (c) 2013-2014 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 SHITCOIN_NOUI_H #define SHITCOIN_NOUI_H extern void noui_connect(); #endif // SHITCOIN_NOUI_H
/*++ /* NAME /* defer 3 /* SUMMARY /* defer service client interface /* SYNOPSIS /* #include <defer.h> /* /* int defer_append(flags, id, orig_rcpt, recipient, offset, relay, /* entry, format, ...) /* int flags; /* const char *id; /* const char *orig_rcpt; /* const char *recipient; /* long offset; /* const char *rela...
#pragma once void SetThreadNameOfCurrentThread(const char* threadName);
// // BUploadHandler.h // Pods // // Created by Benjamin Smiley-andrews on 07/03/2016. // // #ifndef PUploadHandler_h #define PUploadHandler_h #define bFilePath @"file-path" #define bFileName @"file-name" @class RXPromise; @protocol PUploadHandler <NSObject> -(RXPromise *) uploadFile:(NSData *)file withName: (N...
#include "os.h" #include <mp.h> #define iseven(a) (((a)->p[0] & 1) == 0) // extended binary gcd // // For a and b it solves, v = gcd(a,b) and finds x and y s.t. // ax + by = v // // Handbook of Applied Cryptography, Menezes et al, 1997, pg 608. void mpextendedgcd(mpint *a, mpint *b, mpint *v, mpint *x, mpint *y) { ...