text
stringlengths
9
948k
/* * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ // #define LOG_LOCAL_LEVEL ESP_LOG_DEBUG #include <stdlib.h> #include <string.h> #include <sys/cdefs.h> #include <sys/param.h> #include <sys/queue.h> #include "freertos/FreeRTOS.h" #include "freer...
/* * 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 <react/attributedstring/AttributedString.h> #include <react/attributedstring/ParagraphAttributes.h> #include...
/* * * arch/arm/mach-k3v2/include/mach/clock.h * * Copyright (C) 2011 Hisilicon * License terms: GNU General Public License (GPL) version 2 * Clock definitions and inline macros * */ #ifndef __MACH_CLOCK_H #define __MACH_CLOCK_H #include <linux/list.h> #include <linux/mutex.h> #include <linux/spinlock.h> #incl...
/* C/Fortran interface is different on different machines. * You may need to tweak this. */ #ifndef WTIME_H #define WTIME_H extern void wtime(double *t); #endif
#include "crypto_aead.h" #include "api.h" #include "tiaoxin-tablebased.h" int crypto_aead_encrypt( unsigned char *c,unsigned long long *clen, const unsigned char *m,unsigned long long mlen, const unsigned char *ad,unsigned long long adlen, const unsigned char *nsec, const unsigned char *npub, const unsign...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- * vim: ts=8 sts=4 sw=4 noexpandtab * * Copyright (C) 1997 University of Chicago. * See COPYRIGHT notice in top-level directory. */ #include "adio.h" #include "adio_extern.h" #include "ad_pvfs2.h" #include "ad_pvfs2_io.h" #include "ad_pvfs2_c...
#include "windows.h" #include <stdio.h> #include "lwow/lwow.h" #include "lwow/devices/lwow_device_ds18x20.h" #include "scan_devices.h" /* Create new 1-Wire instance */ extern const lwow_ll_drv_t lwow_ll_drv_win32; lwow_t ow; lwow_rom_t rom_ids[20]; size_t rom_found; /** * \brief Application entry point *...
// // MediatorMainViewController.h // MediatorRouter // // Created by iCocos on 2018/11/7. // Copyright © 2018年 iCocos. All rights reserved. // #import <UIKit/UIKit.h> @interface MediatorMainViewController : UITabBarController @end
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "AMPopUpButton.h" #import "IBDocumentArchiving-Protocol.h" @interface AMPopUpButton (IBDocumentArchivingGenerator) <IBDocumentArchiving> - (void)unarchiveWithDocumentUn...
#ifndef SYSTEMICONS_MAC_H #define SYSTEMICONS_MAC_H #include "systemicons.h" QIcon macWarningIcon(); #endif // SYSTEMICONS_MAC_H
/* ../netlib/csysv_rook.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at th...
/* * Copyright 1999-2016 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/l...
/* * Copyright (C) 2002-2009 XimpleWare, info@ximpleware.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, or * (at your option) any later version. * ...
/* This source file is part of the Tomviz project, https://tomviz.org/. It is released under the 3-Clause BSD License, see "LICENSE". */ #ifndef tomvizVariant_h #define tomvizVariant_h #ifdef IS_TOMVIZ_CORE_BUILD #include "tomvizcore_export.h" #else #define TOMVIZCORE_EXPORT #endif #include <iostream> #include <m...
/* * Test purpose: * to check against a variable or dump into the log * */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <stdint.h> #include "../sst/non_secure/ns_test_helpers.h" #include "psa/protected_storage.h" #include "test/framework/test_framework_helpers.h" #incl...
/* * Copyright 2014 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...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <PhotoPrintProduct/KHDBEntity.h> @interface KHConfigurationAttributeEntity : KHDBEntity { } - (id)loadModelFromResultSet:(id)arg1; - (void)persistModel:(id)arg1; - (id)ini...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <chrono> namespace mage { using hundred_nanoseconds = std::chrono::duration<int64_t, std::ratio<1, 10000000>>; }
/* * ALSA sequencer Timer * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl> * Jaroslav Kysela <perex@perex.cz> * * * 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 ...
// // Created by Bangtian Liu on 6/27/19. // #ifndef PROJECT_NNTREE_H #define PROJECT_NNTREE_H #include <vector> #include "config.h" namespace Sympiler{ namespace Internal{ /** * For nearest point search * **/ class NNtree { int depth; int n; std::vector<std::vector<int>> lids; // std::vector<...
/******************************************************************************** * ReactPhysics3D physics library, http://www.reactphysics3d.com * * Copyright (c) 2010-2016 Daniel Chappuis * **************************************************************************...
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the terms of...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2020 Baldur Karlsson * * 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...
/** * Copyright 2019-2022 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 applicabl...
#pragma once #ifndef DVDIALOG_INCLUDED #define DVDIALOG_INCLUDED // TnzCore includes #include "tcommon.h" #include "tmsgcore.h" // Qt includes #include <QDialog> #include <QVBoxLayout> #include <QString> #include <QProgressBar> #include <QFrame> #include <QSettings> #undef DVAPI #undef DVVAR #ifdef TOONZQT_EXPORTS ...
// // TestObserver.h // XCTestObserver // // Created by Ben Chatelain on 3/30/16. // Copyright © 2016 Ben Chatelain. All rights reserved. // #import <Foundation/Foundation.h> #import <XCTest/XCTest.h> @interface TestObserver : NSObject <XCTestObservation> @end
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2012 The PHP Group | +---------...
#ifndef BLADE_LIST_H #define BLADE_LIST_H #include "common.h" #include "native.h" #include "vm.h" #define DECLARE_LIST_METHOD(name) DECLARE_METHOD(list##name) /** * list.length() * * returns the length of a list */ DECLARE_LIST_METHOD(length); /** * list.append(item: any) * * adds an item to the top of a lis...
// Copyright (c) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #pragma once #include "Control.h" #include "Button.h" #include "Checkbox.h" #include "ComboBox.h" #include "EditBox.h" #include "GroupBox.h" #include "Label.h" #include "ListBox.h" #include "ListView....
#include "phyto/hash/hash.h" uint64_t phyto_hash_fnv1a(phyto_string_span_t s) { uint64_t hash = 0xcbf29ce484222325; for (size_t i = 0; i < s.size; i++) { hash ^= (uint8_t)s.begin[i]; hash *= 0x100000001b3; } return hash; } uint64_t phyto_hash_djb2(phyto_string_span_t s) { uint64_t ...
#ifndef __LIB_STDBOOL_H #define __LIB_STDBOOL_H #define bool _Bool #define true 1 #define false 0 #define __bool_true_false_are_defined 1 #endif /* lib/stdbool.h */
#ifndef _MAP_GENERATION_H_ #define _MAP_GENERATION_H_ #include <iostream> #include <fstream> #include <thread> #ifndef _SIMBASE_H_ #include "sim/simBase.h" #endif #ifndef SIMPLEX_H_ #include "perlinNoise/simplexnoise.h" #endif #ifndef _VECTOREXT_H #include "collection/vectorQueue.h" #endif #ifndef _SCENE_H_ #...
// 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 CHROME_BROWSER_ASH_PLATFORM_KEYS_KEY_PERMISSIONS_MOCK_KEY_PERMISSIONS_MANAGER_H_ #define CHROME_BROWSER_ASH_PLATFORM_KEYS_KEY_PERMISSIONS_MOCK_KEY...
/* Based on the Public Domain MaxRectsBinPack.cpp source by Jukka Jylänki https://github.com/juj/RectangleBinPack/ Ported to C# by Sven Magnus This version is also public domain - do whatever you want with it. Ported to C by huxingyi@msn.com This version is MIT Licensed. */ #include "maxrects.h" #include ...
// // syslogd.c // Firedrake // // Created by Sidney Just // Copyright (c) 2013 by Sidney Just // 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 li...
#include "syscall.h" #include "stdio.h" /* int creat(char *name); int open(char *name); int read(int fileDescriptor, void *buffer, int count); int write(int fileDescriptor, void *buffer, int count); int close(int fileDescriptor); int unlink(char *name); */ // test creat() and open() function void test1() { ...
/** * Copyright (C) Mellanox Technologies Ltd. 2001-2016. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #ifndef SM_IFACE_H_ #define SM_IFACE_H_ #include <uct/api/uct.h> #include <uct/base/uct_iface.h> #include <ucs/sys/math.h> #include <ucs/sys/iovec.h> #define UCT_SM_MAX_IOV 16 #def...
/* Copyright (c) 2002, Thomas Kurschel Part of Radeon driver Multi-Monitor Settings interface */ #ifndef _MULTIMON_H #define _MULTIMON_H #include <SupportDefs.h> class BScreen; status_t GetSwapDisplays( BScreen *screen, bool *swap ); status_t SetSwapDisplays( BScreen *screen, bool swap ); status_t GetUse...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
/* * HID driver for some cherry "special" devices * * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc * Copyright (c) 2006-2007 Jiri Kosina * Copyright (c) 2008 Jiri Slaby */ /* * This...
// Copyright 赛北智能车 // All rights reserved. // 除注明出处外,以下所有内容版权均中国计量大学赛北智能车所有,未经允许,不得用于商业用途, // 修改内容时必须保留赛北智能车的版权声明。 // file sup_math.h // brief 数学运算支持(高效算法) // author 赛北智能车 Rays(整理修改) // version v2.0 // date 2018-08-11 #ifndef _SUP_MATH_H_ #define _SUP_MATH_H_ #define _imax( x, y ) ( ((x) > ...
#pragma once // MESSAGE VIDEO_STREAM_STATUS PACKING #define MAVLINK_MSG_ID_VIDEO_STREAM_STATUS 270 MAVPACKED( typedef struct __mavlink_video_stream_status_t { float framerate; /*< [Hz] Frame rate*/ uint32_t bitrate; /*< [bits/s] Bit rate*/ uint16_t flags; /*< Bitmap of stream status flags*/ uint16_t resolution_h...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 6 2019 20:12:56). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <IDEKit/IDEStructureEditingAssistantContext.h> @class DVTObservingToken, IDEGroup, NSArray, NSString; @interface IDEAddContai...
/* * Copyright 2017 Google 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: commands/v1/commands.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_commands_2fv1_2fcommands_2eproto #define GOOGLE_PROTOBUF_INCLUDED_commands_2fv1_2fcommands_2eproto #include <limits> #include <string> #include <google/protobuf/port_def.inc> #if PROTOBU...
/* This file is part of SAIL (https://github.com/smoked-herring/sail) Copyright (c) 2020 Dmitry Baryshev The MIT License 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 with...
#include <string.h> #include <stdio.h> #include "ap_int.h" /***************************** * My defines */ #define CEILING(x,y) (((x) + (y) - 1) / (y)) #define HEADER_ADDRESS (0x00100000/8) #define SPONGE_WIDTH (1600) //in bits #define DIGEST_SIZE (256) //in bits #define HASH_SIZE (DIGEST_SIZE/64) /...
#ifndef CondFormats_DataRecord_RPCLBLinkMapRcd_h #define CondFormats_DataRecord_RPCLBLinkMapRcd_h #include "FWCore/Framework/interface/EventSetupRecordImplementation.h" class RPCLBLinkMapRcd : public edm::eventsetup::EventSetupRecordImplementation<RPCLBLinkMapRcd> {}; #endif // CondFormats_DataRecord_RPCLBLinkMa...
// // UdeskLinkMessage.h // UdeskSDK // // Created by xuchen on 2019/1/21. // Copyright © 2019 Udesk. All rights reserved. // #import "UdeskBaseMessage.h" @interface UdeskLinkMessage : UdeskBaseMessage //消息的文字 @property (nonatomic, copy , readonly) NSAttributedString *attributedString; //文本frame @property (nona...
/* ********************************************************************* _____ _ _ ___ ____ ____ |_ _|___ _| |_ _ _ __ _| | |_ _| _ \ / ___| | |/ _ \ \/ / __| | | |/ _` | | | || |_) | | | | __/> <| |_| |_| | (_| | | | || _ <| |___ |_|\___/_/\_\...
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #ifndef RUNTIME_VM_CONSTANTS_X64_H_ #define RUNTIME_VM_CONSTANTS_X64_H_ #ifndef RUNTIME_VM_CONSTANTS_H...
// Copyright (c) 2014-2018, The Monero Project // // 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 o...
/* * VControl Library, Copyright (c) 2003, Michael Martin * * VControl is distributed under the terms of the zlib license, and as * such has NO WARRANTY. See the LICENSE file for details. */ #ifndef KEYNAMES_H_ #define KEYNAMES_H_ char *VControl_code2name (int code); int VControl_name2code (char *code); #endif
/* mbed Microcontroller Library * SPDX-License-Identifier: BSD-3-Clause ****************************************************************************** * * Copyright (c) 2016-2021 STMicroelectronics. * All rights reserved. * * This software component is licensed by ST under BSD 3-Clause license, * the "License";...
/* * EFI support for Xen. * * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> * Copyright (C) 1999-2002 Hewlett-Packard Co. * David Mosberger-Tang <davidm@hpl.hp.com> * Stephane Eranian <eranian@hpl.hp.com> * Copyright (C) 2005-2008 Intel Co. * Fenghua Yu <fenghua....
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
#include <std.h> inherit "/std/armour"; #define COLORS ({"%^BOLD%^%^WHITE%^snow white%^RESET%^",\ "%^BOLD%^%^RED%^cardinal red%^RESET%^",\ "%^RESET%^%^RED%^burgundy red%^RESET%^",\ "%^BOLD%^%^GREEN%^lime green%^RESET%^",\ "%^RESET%^%^GREEN%^forest green%^RESET%^",\ "%^BOLD%^%^BLACK%^onyx black%^RESET%^",\ "%^BOLD%^%^BL...
#define ADDR_DEC_DATA 0x10000000 #define ADDR_GOLD_DATA 0x10003000
/*Copyright (c) 2018 The Paradox Game Converters Project 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, p...
/* Basic coff information for the PowerPC Based on coff/rs6000.h, coff/i386.h and others. Copyright (C) 2001-2017 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 as published by the Free Software...
#ifndef TOKEN_STRUCT_H #define TOKEN_STRUCT_H #include <stdio.h> #include <stdbool.h> /* ------------------------------------------------ */ /* Prototype definitions */ /* ------------------------------------------------ */ /* Token Node */ typedef struct strToken TokenNode; /* TokenList ...
// Raw memory manipulators -*- C++ -*- // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published ...
// generated from rosidl_generator_c/resource/idl__functions.h.em // with input from sensor_msgs:msg/PointCloud2.idl // generated code does not contain a copyright notice #ifndef SENSOR_MSGS__MSG__DETAIL__POINT_CLOUD2__FUNCTIONS_H_ #define SENSOR_MSGS__MSG__DETAIL__POINT_CLOUD2__FUNCTIONS_H_ #ifdef __cplusplus extern...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "MMObject.h" #import "WAIconHeadViewDelegate-Protocol.h" @class CContact, NSArray, NSMutableArray, NSString, UIButton, UIImag...
2D String Array Sub-String Search [ZOHO] 2D String Array Sub-String Search: Given a string S of length L, the program must store the characters of the string S in a two dimensional array and search for a given sub-string SUB in the two dimensional array both from left to right and from top to bottom. If found the prog...
/* * Copyright 2007, Hugo Santos, hugosantos@gmail.com. All Rights Reserved. * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All Rights Reserved. * Copyright 2004, Marcus Overhagen. All Rights Reserved. * * Distributed under the terms of the MIT License. */ #include "device.h" #include <stdio.h> #incl...
// 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 SANDBOX_LINUX_TESTS_UNIT_TESTS_H__ #define SANDBOX_LINUX_TESTS_UNIT_TESTS_H__ #include "base/basictypes.h" #include "build/build_config.h" #i...
/* * Copyright 2009-2010 Creative Product Design * Marc Reilly marc@cpdesign.com.au * * 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. */ #include <linux/slab.h> #include <linux...
/* inimgrSetString.c */ #include "inimgr_types.h" int inimgrSetString( InimgrUID uid, const char *name, const char *key, const char *str ) { return __inimgr_set_value( (struct inimgr_params *)uid, __inimgr_find_section( (struct inimgr_params *)uid, name ), key, str ); }
#pragma once #include "PyObject.h" #include <string> #include <cstdint> namespace PyExt::Remote { /// Represents a PyFloatObject in the debuggee's address space. class PYEXT_PUBLIC PyFloatObject : public PyObject { public: // Construction/Destruction. explicit PyFloatObject(Offset objectAddress); public: //...
#pragma once #include <vector> #include "lexer/lexer.h" namespace lexer { /// Read all the tokens from the lexer until EOF into a vector. /// Returns an error if one was generated at any time. ErrorOr<std::vector<Token>> consume_tokens(Lexer& lexer); /// Lex a string and return the tokens. /// Returns an error if o...
/** * SslConnected.h * * The actual tcp connection over SSL * * @copyright 2018 copernica BV */ /** * Include guard */ #pragma once /** * Dependencies */ #include "tcpoutbuffer.h" #include "tcpinbuffer.h" #include "wait.h" #include "sslwrapper.h" #include "sslshutdown.h" /** * Set up namespace */ nam...
/*************************************************************************/ /* object_type_db.h */ /*************************************************************************/ /* This file is part of: */ /* ...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.Resources.RuntimeResourceSet struct RuntimeResourceSet_t565351398; // System.IO.UnmanagedMemoryStream struct UnmanagedMemoryStream_t...
#pragma once #include <string> #include <iostream> #include <sstream> #include "../FileReading/JeffFile.h" #include "../Potatoes/Potatoes.h" #include "Lexy.h" //Meat of the interpreter. class Meat { public: Meat(); ~Meat(); void setScript(const std::string& fileName); void readFile(); private: void printA...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/portability/GMock.h> #include <proxygen/lib/http/session/ByteEventTra...
#ifndef _NUC1XX_LOWLAYER_H_ #define _NUC1XX_LOWLAYER_H_ //***************************************************************************** // //! \addtogroup NUC1xx_LowLayer //! @{ // //***************************************************************************** //*******************************************************...
/* * Copyright © 2008 Kristian Høgsberg * * 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...
/* statistical difference * * Copyright: 1990, N. Dessipris. * * Author: Nicos Dessipris * Written on: 02/05/1990 * Modified on : * 6/8/93 JC * - now works for odd window sizes * - ANSIfication * 25/5/95 JC * - new IM_ARRAY() macro * 25/1/96 JC * - im_lhisteq() adapted to make new im_stdif() * - now par...
/*********************************************************************************************************************************** Storage Helper ***********************************************************************************************************************************/ #include "build.auto.h" #include <stri...
/* This file is part of PyMesh. Copyright (c) 2016 by Qingnan Zhou */ #pragma once #include <string> #include <cmath> #include <TestBase.h> class FaceAspectRatioAttributeTest : public TestBase { protected: MeshPtr load_mesh(const std::string& filename) { MeshPtr r = TestBase::load_mesh(filena...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* print_prompt.c :+: :+: :+: ...
/* miscellaneous BIOS stuff */ #ifndef BIOS_H #define BIOS_H #include "config.h" #define INT2F_IDLE_MAGIC 0x1680 #define bios_base_address_com1 (*(unsigned short *) 0x400) #define bios_base_address_com2 (*(unsigned short *) 0x402) #define bios_base_address_com3 (*(unsigned short *) 0x404)...
// Copyright 2018 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_DEVELOPER_DEBUG_ZXDB_EXPR_FOUND_NAME_H_ #define SRC_DEVELOPER_DEBUG_ZXDB_EXPR_FOUND_NAME_H_ #include "src/developer/debug/zxdb/expr/found_memb...
//-***************************************************************************** // // Copyright (c) 2009-2012, // Sony Pictures Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with ...
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the Lic...
// // Created by Alex on 18.12.2020. // #include "log_mel_spectrogram.h" #include "stdlib.h" #include "nntoolkitcore/core/memory.h" #include "nntoolkitcore/core/ops.h" struct LogMelSpectrogramStruct { MelFilterBankConfig mel_filter_bank_config; Spectrogram spectrogram; MelFilterBank bank; int ts; ...
#ifndef BACKEND_COMMON_H #define BACKEND_COMMON_H #include "ast.h" #include "symbol.h" #include "expr.h" AST *BuildMethodPointer(AST *ast); void OutputAlignLong(Flexbuf *fb); void OutputDataBlob(Flexbuf *fb, Flexbuf *databuf, Flexbuf *relocbuf, const char *startLabel); void NormalizeVarOffsets(Function *f); void Co...
/* Copyright 2017 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...
#include <stdio.h> int main() { int a = 0; int b = 0; int c = 0; int max = 0; scanf("%d %d %d",&a,&b,&c); if( a>b ){ max = a; }else{ max = b; } if( c>max ){ max = c; } printf("max(%d,%d,%d) = %d\n",a,b,c,max); return 0; }
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:28:52 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/ATFoundati...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:38:41 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli...
/* * Copyright (c) 2018, NXP * Copyright (c) 2018, Nordic Semiconductor ASA * Copyright (c) 2018-2019, Linaro Limited * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <drivers/ipm.h> #include <sys/printk.h> #include <device.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #in...
// Copyright 2014 The Go 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 "runtime.h" #include "arch_GOARCH.h" #include "defs_GOOS_GOARCH.h" #include "os_GOOS.h" #pragma dynimport libc·fcntl fcntl "libc.so" #pragma dynimport...
/** * @file * lwIP network interface abstraction * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * 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. Redistr...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
/* 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" uint64_t x15 = 30LLU; uint32_t x33 = UINT32_MAX; uint8_t x35 = 1U; uint64_t x36 = 91664881LLU; volatile uint64_...
#pragma once #include "xo/system/xo_config.h" #include "xo/utility/sfinae_tools.h" #include "bounds.h" #include <random> // #todo: try to get rid of this header #include "xo/geometry/angle_type.h" namespace xo { struct XO_API random_number_generator { random_number_generator( unsigned int seed = 123 ) : engine( ...
#ifdef E_TYPEDEFS #else #ifndef E_EXEHIST_H #define E_EXEHIST_H typedef enum _E_Exehist_Sort { E_EXEHIST_SORT_BY_DATE, E_EXEHIST_SORT_BY_EXE, E_EXEHIST_SORT_BY_POPULARITY } E_Exehist_Sort; EINTERN int e_exehist_init(void); EINTERN int e_exehist_shutdown(void); E_API void e_exehist_startup_id_set(int id); E...
#pragma once // // временные функции, они будут удалены после того, // как метки будут иметь префикс с именем функции // #include <algorithm> #include <cctype> #include <set> #include <string> #include <shared_utils/assertion.h> #include <translation_module/aliases.h> namespace ayaz { namespace tofix { const std::s...