text
stringlengths
9
948k
/* * Copyright (c) 2015-2025 Industrial Technology Research Institute. * * 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 ...
/* * 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 distributed in the hope that it will be use...
#ifndef CRAWLER_H #define CRAWLER_H #define LRU_CRAWLER_CAP_REMAINING -1 typedef struct { uint64_t histo[61]; uint64_t ttl_hourplus; uint64_t noexp; uint64_t reclaimed; uint64_t seen; rel_time_t start_time; rel_time_t end_time; bool run_complete; } crawlerstats_t; struct crawler_expir...
#pragma once #include "util.h" namespace oengine2d { class LogicalDevice; class Surface; class SwapChain { public: SwapChain(const Surface& surface, const LogicalDevice& device) : _surface(surface), _device(device) {} ~SwapChain(); bool Create(); bool AcquireNextImage(VkSemaphore waitSemaphore, VkFence ...
/* ** $Id: lauxlib.c,v 1.159.1.3 2008/01/21 13:20:51 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #include <ctype.h> #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* This file uses only the official API of Lua...
/* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int borderpx = 0; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pi...
#ifndef __RROAM_H #define __RROAM_H #include "RNameSpace.h" _NAMESPACE_REALSPACE2_BEGIN typedef struct _LITVERTEX { float x, y, z; // world position DWORD Diffuse; // diffuse color DWORD Specular; // specular color float tu1, tv1; // texture coordinates } LITVERTEX, *LPLITVERTEX; #define RSLFVF ( D3...
/* * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "../LanguageClient.h" #include <AK/LexicalPath.h> #include <DevTools/HackStudio/LanguageServers/LanguageClientEndpoint.h> #include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoin...
/* * myPWM.h * * Created on: Dec 2, 2019 * Author: JacobFaseler */ #ifndef SOURCECODE_MYPWM_H_ #define SOURCECODE_MYPWM_H_ #include <Debug/syscfg/ti_drivers_config.h> #include <ti/drivers/PWM.h> #include <xdc/runtime/System.h> /* HW Resource Abstractions */ PWM_Handle pwm; PWM_Params pwm_params; uint32_t ...
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
/* * 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...
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
#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 "UIButton+Tool.h" #import "UIControl+TimeInterVal.h" #import "UILabel+Tool.h" #import "UIScrollView+Tool.h" #import "...
#include <png.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> void open_png_file(const char* file_name_ptr); #if !defined(emscripten) int main(int argc, char** argv){ printf("[%s", *argv); for(int32_t i=1; i<argc; i++){ printf(", %s", *(argv+i)); } printf("]\n"); int8_t* file_name_ptr; ...
#ifndef __WIIUSE_H__ #define __WIIUSE_H__ #if defined(_WIN32) /* windows */ #include <windows.h> #elif defined(GEKKO) /* wii */ #include <bte/bte.h> #elif defined(__linux__) /* nix */ #include <bluetooth/bluetooth.h> #endif #ifdef WIIUSE_INTERNAL_H_INCLUDED #define WCONST #else #define WCONST const #endif /...
/* Copyright 2019-2021 Adrian L Lange <legal@p3lim.net> 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 distri...
// // AppDelegate.h // HelloSensorsAnalytics // // Created by 曹犟 on 15/7/4. // Copyright © 2015-2018 Sensors Data Inc. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) UINavi...
/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FPDFAPI_PAGE_CPDF_CONTENTMARK_H_ #define CORE_FPDFAPI_PAGE_CPDF_C...
// // QZoneActivity.h // Sharepai // // Created by Snaill on 15/7/13. // Copyright (c) 2015年 Snaill. All rights reserved. // #import <UIKit/UIKit.h> #import "QQApiActivity.h" @interface QZoneActivity : QQApiActivity @end
/* * Copyright (c) 2022 Mesh4all <mesh4all.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 applicable l...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "SampleRateBitRateConfiguration.h" @interface AACSampleRateBitRateConfiguration : SampleRateBitRateConfiguration { } + (id)sh...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageClip.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is di...
#ifndef TkDetLayers_TOBRod_h #define TkDetLayers_TOBRod_h #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" #include "TrackingTools/DetLayers/interface/DetRod.h" #include "TrackingTools/DetLayers/interface/PeriodicBinFinderInZ.h" #include "SubLayerCrossings.h" /** A concrete implementation for TOB R...
#ifndef DSANLS_TIMER_H #define DSANLS_TIMER_H #ifndef NULL #define NULL 0 #endif void timer_start(); double timer_stop(); #endif
/* * Copyright (c) 2005, 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 * no...
/* spinlock.h: 64-bit Sparc spinlock support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC64_SPINLOCK_H #define __SPARC64_SPINLOCK_H #ifndef __ASSEMBLY__ #include <asm/processor.h> #include <asm/barrier.h> #include <asm/qrwlock.h> #include <asm/qspinlock.h> #define arch_read...
#ifndef ObjectScript_ImportDatabase_H #define ObjectScript_ImportDatabase_H #include <Reflection/ObjectDatabase.h> #include <Core/SmartPtr.h> #include <string> #include <unordered_map> #include <unordered_set> namespace sg { class FilePath; } namespace sg { namespace objectscript { //===============================...
// Copyright 2012 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...
#include <sl_iterator.h> #include <sl_list.h> #include <stdio.h> #include <stdlib.h> struct iterator_s { list_node *current; }; iterator_s * sl_iter_create(list_root *list) { iterator_s *iter = NULL; if (list->head != NULL) { iter = (iterator_s *) malloc(sizeof(iterator_s)); iter->current = list->head; } r...
/* * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2021-12-10 Meco Man first version */ #ifndef Pins_Arduino_h #define Pins_Arduino_h /* pins alias. Must keep in sequence */ #define D0 (0) #define D1...
// // Copyright (c) 2014-2020, Mirego // 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 condition...
/* // solvers for Algebraic Riccati equation // - Iteration (continuous) // - Iteration (discrete) // - Arimoto-Potter // // author: Horibe Takamasa */ #pragma once #include <Eigen/Dense> #include <iostream> #include <time.h> #include <vector> /* Itereation method for continuous model */ bool solveRiccatiItera...
#ifndef __UTILS_H__ #define __UTILS_H__ #define FOREVER for (;;) void set_signal_handlers (void); #endif /* __UTILS_H__ */
// // ReqManager.h // IODemo // // Created by LiuTao on 16/5/11. // Copyright © 2016年 ZhiYou. All rights reserved. // #import <Foundation/Foundation.h> #import "Command.h" /// 对请求做处理 @interface ReqManager : NSObject /// 处理请求 +(void) doRequest:(Command*) cmd; @end
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commer...
/*- * Copyright (c) 2008-2012 Michihiro NAKAJIMA * 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 lis...
/* * * Copyright 2015, 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 condi...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
// // ControllerSingleLeaderboard.h // GooglePlayGameServices // // Created by NSS on 4/7/14. // // #ifndef __PLAY_GAME_SINGLETON_H__ #define __PLAY_GAME_SINGLETON_H__ /* Copyright (c) 2014 Carlos Eduardo Piñan Indacochea Permission is hereby granted, free of charge, to any person obtaining a copy of this sof...
/* -*- coding: utf-8-unix -*- */ #include <cparsec2.h> PARSER(Node) expr; // expr = addsub PARSER(Node) addsub; // addsub = muldiv { ("+" | "-") muldiv } PARSER(Node) muldiv; // muldiv = unary { ("*" | "/") unary } PARSER(Node) unary; // unary = ["+" | "-"] term PARSER(Node) term; // term = number | "(" exp...
/* * Copyright (C) 2018 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup cpu_esp32 * @{ * * @file * @brief Implementation of some tools * * @a...
#include <flipper/gpio.h> int gpio_configure(void) { /* Enable the PIOA clock in the PMC. */ PMC->PMC_PCER0 = (1 << ID_PIOA); return lf_success; } void gpio_enable(uint32_t enable, uint32_t disable) { PIOA->PIO_PER |= enable; PIOA->PIO_OER |= enable; PIOA->PIO_ODR |= disable; } void gpio_write(uint32_t set, ui...
/* * crypto_box/try.c version 20090118 * D. J. Bernstein * Public domain. */ #include "crypto_box.h" extern unsigned char *alignedcalloc(unsigned long long); const char *primitiveimplementation = crypto_box_IMPLEMENTATION; #define MAXTEST_BYTES 10000 #define CHECKSUM_BYTES 4096 #define TUNE_BYTES 1536 static u...
// SPDX-License-Identifier: GPL-2.0+ /* * Utility functions needed for (some) EABI conformant tool chains. * * (C) Copyright 2009 Wolfgang Denk <wd@denx.de> */ #include <common.h> int raise (int signum) { /* Even if printf() is available, it's large. Punt it for SPL builds */ #if !defined(CONFIG_SPL_BUILD) prin...
// // UdeskSDKStyle.h // UdeskSDK // // Created by Udesk on 16/8/29. // Copyright © 2016年 Udesk. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UIColor+UdeskSDK.h" #import "UIImage+UdeskSDK.h" #import "UdeskFoundationMacro.h" typedef NS_ENUM(NSUInteger, UDChatViewStyleT...
/*! \class StRedoTracks StRedoTracks redoes the space charge correction for tracks */ #ifndef STAR_StRedoTracks #define STAR_StRedoTracks #ifndef StMaker_H #include "StMaker.h" #endif class StMagUtilities; class StTpcDbMaker; class StRedoTracks : public StMaker { private: protected: StMagUtilities* m...
/* $KAME: ah_input.c,v 1.91 2004/11/11 22:34:45 suz Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE 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. Redistributi...
/* html.c -- HTML writer (c) 2013-2016 Fletcher T. Penney (http://fletcherpenney.net/). Derived from peg-multimarkdown, which was forked from peg-markdown, which is (c) 2008 John MacFarlane (jgm at berkeley dot edu), and licensed under GNU GPL or MIT. This program is free software; you can redistribute it an...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
/* * Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2003 S3 Graphics, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software witho...
#ifndef _UTF8TOMATRIX_H_ #define _UTF8TOMATRIX_H_ #include <cstdint> #ifdef ARDUINO #include <avr/pgmspace.h> #endif // static const size_t _UTF_CODES_LEN = 3490; #define _UTF_CODES_LEN 3490 #ifdef ARDUINO static const uint32_t _UTF8_CODES[_UTF_CODES_LEN] PROGMEM #else static const uint32_t _UTF8_CODES[_UTF_CODES_L...
/***********************************************************************/ /* */ /* Objective Caml */ /* */ /* Xavier Ler...
/* * 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...
/* Modified version of CBMC's string.c where memset doesn't set anything. Temporary hack until the normal CBMC implementation's bugs are fixed. */ /* FUNCTION: memset */ #ifndef __CPROVER_STRING_H_INCLUDED #include <string.h> #define __CPROVER_STRING_H_INCLUDED #endif #undef memset void *memset(void *s, int c, s...
#include <stdio.h> #include <stdbool.h> int main() { int i, j, n = 5, d[n][n], x; bool found; for (size_t i = 0; i < n; i++) { for (size_t j = 0; j < n; j++) { printf("Digite um valor para D(%d,%d): ", i, j); scanf("%d", &d[i][j]); } } printf("D...
// Copyright 2019 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 applic...
#include "operations.h" #include <stdlib.h> #include <stdio.h> #include <string.h> /* Given a path, fills pointers with strings for the parent path and child * file name * Input: * - path: the path to split. ATENTION: the function may alter this parameter * - parent: reference to a char*, to store parent path *...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2013 Red Hat Inc. * * Authors: Jérôme Glisse <jglisse@redhat.com> */ /* * Refer to include/linux/hmm.h for information about heterogeneous memory * management or HMM for short. */ #include <linux/mm.h> #include <linux/hmm.h> #include <linux/init.h> #inc...
#ifndef DEFINES #define DEFINES #define MAX_ROWS 8 #define MAX_COLUMNS 8 #define MAX_INDEX (MAX_ROWS * MAX_COLUMNS) #endif // DEFINES
/******************************************************************************* * (c) 2019 ZondaX GmbH * * 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/lice...
// SPDX-License-Identifier: GPL-2.0-only /* * linux/kernel/exit.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #include <linux/mm.h> #include <linux/slab.h> #include <linux/sched/autogroup.h> #include <linux/sched/mm.h> #include <linux/sched/stat.h> #include <linux/sched/task.h> #include <linux/sched/task_sta...
#ifndef _AIRCON_H_ #define _AIRCON_H_ #include <Arduino.h> #include <Udp.h> #include "echonet.h" class Aircon { public: inline long getPower() { return _power; }; inline void setPower(long power) { _power = power; }; inline long getTempRoom() { return _tempRoom; }; inline void setTempRoom(long temp) { _tempRoo...
// // hexgraph - turtle graphics for generating paths // #pragma once #include "hex.h" typedef struct _hexgraph HexGraph; typedef struct _hexpoint HexPoint; struct _hexpoint { double x; double y; }; #define HEXGRAPH_NUMBER_BUF_SIZE 50 //static double PI = 3.1415926535897932384626433832795; //#define TO_R...
// 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 CHROME_BROWSER_ASH_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_H_ #define CHROME_BROWSER_ASH_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_H_ #include <string> ...
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s // RUN: 3c --addcr --alltypes %s -- | %clang_cc1 -fcheckedc-extension -x c - // // 3c -alltypes -output-postfix=checked %s // 3c -alltypes %S/typedefs.checked.c -- | diff %S/typedefs.checked.c - // rm %S/typedefs.che...
/* * PwStreamUtilsV3.h * * Copyright (c) 2014-2016 Andrei Popleteev. * Licensed under the MIT license. */ #ifndef PWSTREAMUTILSV3_H_ #define PWSTREAMUTILSV3_H_ #include <QDataStream.h> #include <QDateTime.h> struct PwStreamUtilsV3 { /** Reads a 5-byte V3-specific timestamp from the stream */ static QDat...
/**------------------------------------------------------------------------- @file iopinctrl.h @brief General I/O pin control implementation specific This file must be named iopinctrl.h no matter which target This is nRF5x implementation @author Hoang Nguyen Hoan @date June. 2, 2014 @license Copyright (c) 2014, ...
// 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...
/** * * \brief Default mbedTLS configuration options for esp-idf * * This set of compile-time options may be used to enable * or disable features selectively, and reduce the global * memory footprint. * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * *...
#pragma once #include "Resources.h" #include "D3D11Platform.h" #include "RHIException.h" #include <variant> namespace RHI { class CImageD3D11 : public CImage { public: typedef std::shared_ptr<CImageD3D11> Ref; CImageD3D11(CDeviceD3D11& parent, ComPtr<ID3D11Texture1D> p); CImageD3D11(CDeviceD3D11& paren...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:13:37 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/UIKitCore....
/* * * Copyright (c) 2005-2021 Imperas Software Ltd., All Rights Reserved. * * THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS * OF IMPERAS SOFTWARE LTD. USE, DISCLOSURE, OR REPRODUCTION IS PROHIBITED * EXCEPT AS MAY BE PROVIDED FOR IN A WRITTEN AGREEMENT WITH * IMPERAS SOFTWARE LTD. * */ //...
/* * server_example1.c * * Copyright 2013 Michael Zillgith * * This file is part of libIEC61850. * * libIEC61850 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 3 of the License, or ...
/*############################################################################### # # MODULE: BDB # # COMPONENT: bdb_fb_api.c # # AUTHOR: # # DESCRIPTION: BDB Find & Bind interface # # # $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Projects/Components/BDB/Trunk/Source/FindAndBind/b...
// Copyright 2015-2016 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 app...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file contains an implementation of a VP9 bitstream parser. The main // purpose of this parser is to support hardware decode acceleration. Some /...
/* OpenGL loader generated by glad 0.1.34 on Sat Aug 21 11:37:56 2021. Language/Generator: C/C++ Specification: gl APIs: gl=4.6 Profile: core Extensions: Loader: True Local files: False Omit khrplatform: False Reproducible: False Commandline: --profile="co...
#ifndef NYX_INTERPRETER_H #define NYX_INTERPRETER_H #include "../bytecode/Bytecode.h" #include "../bytecode/Opcode.h" #include "../runtime/Global.h" #include "../runtime/NObject.h" #include "Frame.h" //===----------------------------------------------------------------------===// // Simple C++ bytecode interpreter //...
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "Light.h" namespace ospray { /*! a QuadLight is a virtual area light uniformly emitting from a rectangular * area into the positive half space */ struct OSPRAY_SDK_INTERFACE QuadLight : public Light { QuadLight(...
/* * Copyright (c) 2019 Microchip Technology Inc. * Copyright (c) 2016 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <sys/sys_io.h> #include <sys/__assert.h> #include <power/power.h> #include <soc.h> /* * CPU will spin up to DEEP_SLEEP_WAIT_SPIN_CLK_REQ times * wait...
/** ****************************************************************************** * @file stm32l4xx_hal_conf.h * @brief HAL configuration file. ****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT(c) 2018 STMicroele...
/*------------------------------------------------------------------------- * * tlist.c * Target list manipulation routines * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/backend/op...
#import <Foundation/Foundation.h> #import "PBObject.h" /** * Precisely APIs * Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs. * * OpenAPI spec version: 11.8.0 * * * NOTE: This class is auto generated by the swagger code generator program....
/** * @file * Hier ist die Datenhaltung und Programmlogik * * @author Tilman Nedele, Maurice Tollmien */ /* ---- System Header einbinden ---- */ #include <stdio.h> #include <stddef.h> #include <stdlib.h> #include <math.h> #include <stringOutput.h> #include <assert.h> #ifdef MACOSX #include <GLUT/glut.h> #else #i...
/** * Copyright (c) 2015-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <R...
// 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 InterpolableValue_h #define InterpolableValue_h #include "core/animation/animatable/AnimatableValue.h" #include "platform/heap/Handle.h" #include...
#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 FOUNDATION_EXPORT double Pods_SLCategory_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_SLCategory_Example...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-IEs" * found in "asn.1/Information Element Definitions.asn1" * `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src` */ #ifndef _Ngap_CellIdListforMDT_EUTRA_H_ #define _Ngap_CellIdListforMDT_EUTRA...
/****************************************************************************** * Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * HYPRE Project Developers. See the top-level COPYRIGHT file for details. * * SPDX-License-Identifier: (Apache-2.0 OR MIT) **************************************...
#pragma once #include <chrono> #include <cstdint> #include <iterator> #include <list> #include <map> #include <memory> #include <regex> #include <string> #include <vector> #include "envoy/config/core/v3/base.pb.h" #include "envoy/config/route/v3/route.pb.h" #include "envoy/config/route/v3/route_components.pb.h" #incl...
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
// 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 DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_H_ #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_H_ #include <stdint.h> #include <list> #include <memory> #i...
// Copyright (c) 2017-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
#ifndef __MNIST_H #define __MNIST_H #include <stdint.h> void read_labels(uint8_t **labels, char *filename); void read_images(uint8_t ***pixels, double ***pixels_normalize, char *filename, int flag); #endif /* __MNIST_H */
#include <stdint.h> #include <stdio.h> #include <stdlib.h> struct Vector; // { } // typedef int *createArray(unsigned int length, int value) { int *data = (int *)malloc(length * sizeof(int)); if (data == NULL) { return NULL; } for (unsigned int i = 0; i < length; i++) { data...
/* * Parser (Base for parsers and splitters) * * Copyright 2003 Robert Shearman * Copyright 2004-2005 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 * v...
/* * Copyright (c) 2016 Sean Parkinson (sparkinson@iprimus.com.au) * * 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 us...
#ifndef JANOMEDECODEMSG_H #define JANOMEDECODEMSG_H #include <metacommlib/MetaCommLib_global.h> #include <string> #include <vector> #include <stdexcept> #include <QByteArray> using namespace std; namespace mtcl { class Janome; class METACOMMLIB_EXPORT JanomeDecodeMsg { public: JanomeDecodeMsg(Janome *robot); ...