text
stringlengths
9
948k
// This file is part of Sophus. // // Copyright 2011 Hauke Strasdat (Imperial College London) // // 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 limi...
/* * Copyright (c) 2020, AT&T Intellectual Property. All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-only */ /* * SIP parse. * * sip_alg_parse will parse a SIP packet (Invite or Response) looking for an * SDP message contained in it. If found, a sip_alg_request is allocated and * returned. * * ...
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrTexture_DEFINED #define GrTexture_DEFINED #include "include/core/SkImage.h" #include "include/core/SkPoint.h" #include "include/core/SkRefCnt.h" #include "include/g...
/** * @file flash_blob.c * @brief Flash algorithm for the k64f * * DAPLink Interface Firmware * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in complian...
/* * APEI Generic Hardware Error Source support * * Generic Hardware Error Source provides a way to report platform * hardware errors (such as that from chipset). It works in so called * "Firmware First" mode, that is, hardware errors are reported to * firmware firstly, then reported to Linux by firmware. This wa...
// https://youtu.be/krtTy-mRaNk // https://repl.it/student/assignments/484784/model_solution?fromSubmissionId=1817075 // http://www.geeksforgeeks.org/quick-sort/ #include <stdio.h> void swap(int* a, int* b) { int temp = *a; *a = *b; *b = temp; } int partition(int arr[], int low, int high) { int pivot = arr[...
/* * Copyright (C) 2016 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 conditions a...
/* $KAME: des_enc.c,v 1.1 2001/09/10 04:03:58 itojun Exp $ */ /* crypto/des/des_enc.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with N...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:51:45 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PersonalizationPortraitInternals.framework/PersonalizationPortraitInternals * classdump-dyld is lice...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "X2AP-PDU-Descriptions" * found in "/home/vesh/openairinterface5g/openair2/X2AP/MESSAGES/ASN1/R14/x2ap-14.6.0.asn1" * `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -gen-OER -no-gen-example -D /home/vesh/openairinterface5g/...
#include <iostream> #include <set> #include <string> #include <deque> #include <algorithm> using namespace std; class Alphabet { deque<char> standard = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; public: deque<char> ...
/* $OpenBSD: morse.c,v 1.22 2016/03/07 12:07:56 mestre Exp $ */ /* * Copyright (c) 1988, 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:...
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_FlickrSearchVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_FlickrSearchVersionString[];
/* * Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * motion_service.h * * Created on: Feb 03, 2022 11:42 * Description: * * Copyright (c) 2021 Ruixiang Du (rdu) */ #ifndef MOTION_SERVICE_H #define MOTION_SERVICE_H #include <stdbool.h> #include <stdint.h> #include <zephyr.h> #include <device.h> #include "coordinator/coordinator_service.h" #include "actuato...
// Lean compiler output // Module: Lean.Data.Lsp.InitShutdown // Imports: Init Lean.Data.Lsp.Capabilities Lean.Data.Lsp.Workspace Lean.Data.Json #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) &...
/* * view_gen.h * ---------- * Purpose: General tab, lower panel. * Notes : (currently none) * Authors: Olivier Lapicque * OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #pragma once #include "openmpt/all/BuildSettings.hpp" #include "Colo...
#import <UIKit/UIKit.h> #import <MessageUI/MessageUI.h> #import <PBFrameworkUIStreamDetails/ContactViewController.h> @interface PhotoStreamSharing : UIViewController <ContactViewControllerDelegate,MFMailComposeViewControllerDelegate,MFMessageComposeViewControllerDelegate> { IBOutlet UIImageView *imgConfetti; } @p...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
/* cobyla : contrained optimization by linear approximation */ /* * Copyright (c) 1992, Michael J. D. Powell (M.J.D.Powell@damtp.cam.ac.uk) * Copyright (c) 2004, Jean-Sebastien Roy (js@jeannot.org) * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated d...
/* Copyright (c) 2013, Ben Noordhuis <info@bnoordhuis.nl> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
/* * Copyright (c) 2017 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 ...
#include <stdio.h> #include <git2.h> int list_refs(git_repository* repo) { git_strarray ref_list; git_reference_list(&ref_list, repo); const char *refname; git_reference *ref; char out[41]; out[40] = '\0'; int i; for (i = 0; i < ref_list.count; ++i) { refname = ref_list.strings[i]; git_...
// // ZDCrmManager.h // CodeGeass // // Created by ec on 2017/4/5. // Copyright © 2017年 Code Geass. All rights reserved. // #import <Foundation/Foundation.h> #import "ZDCrmModel.h" @interface ZDCrmManager : NSObject SINGLETON_INTERFACE(Manager) - (YTKRequest *)requestCrmListWithType:(NSInteger)type ...
// // This file was copied from //depot/rs1_xbox_rel_1610/xbox/drivers/Graphics/Pix3/PixEvt/inc/PIXEventsGenerated.h#5 // // To refresh: run 'UpdateFromXbox -latest' // //This is a generated file. #pragma once #ifndef _PIXEventsGenerated_H_ #define _PIXEventsGenerated_H_ #ifndef _PIX3_H_ #error Don't include this fi...
/* Copyright (c) <2003-2021> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/DataDetectorsUI.framework/DataDetectorsUI */ @interface DDTTYCallAction : DDAssistedCallAction - (long long)TTYType; - (id)localizedName; @end
/********************************************************************** Audacity: A Digital Audio Editor Project.h Dominic Mazzoni **********************************************************************/ #ifndef __AUDACITY_PROJECT__ #define __AUDACITY_PROJECT__ #include "Identifier.h" #include "ClientData.h...
#pragma once #include "global.h" #include "Level/LevelDynamicTile.h" #include "World/MovableGameObject.h" #include "Structs/DamageOverTimeData.h" // skins: // 0: piranha // 1: fireball // 2: shadow piranha // 3: toxic ball class JumpingTile final : public LevelDynamicTile, public MovableGameObject { public: JumpingT...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid comm...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:17:53 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/CoreSpeec...
//===-- SBTypeCategoryBinding.h ----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
#ifndef _ROS_trajectory_msgs_JointTrajectoryPoint_h #define _ROS_trajectory_msgs_JointTrajectoryPoint_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "ros/duration.h" namespace trajectory_msgs { class JointTrajectoryPoint : public ros::Msg { public: uint32_t ...
#if __ARMEB__ || __thumb__ #include "../memcpy.c" #endif
#ifndef _BLESCAN_H #define _BLESCAN_H #include "globals.h" // Bluetooth specific includes #include <esp_bt.h> #include <esp_bt_main.h> #include <esp_gap_ble_api.h> #include <esp_blufi_api.h> // needed for BLE_ADDR types, do not remove #include <esp_coexist.h> void start_BLE_scan(uint16_t blescantime, uint16_t blesca...
/*========================================================================= Program: Visualization Toolkit Module: vtkSimpleCellTessellator.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 so...
#ifndef _fefas_h #define _fefas_h #include <petscdm.h> #include <stdint.h> #include "op/fefas-op.h" typedef struct Grid_private *Grid; typedef enum {DOMAIN_INTERIOR=0x1,DOMAIN_EXTERIOR=0x2,DOMAIN_CLOSURE=0x3} DomainMode; PetscErrorCode GridCreate(MPI_Comm comm,const PetscInt M[3],const PetscInt p[3],PetscInt cmax,G...
<<<<<<< HEAD /* Copyright (c) 2013 Google Inc. ======= /* Copyright (c) 2016 Google Inc. >>>>>>> 0a3d6d635b9db2198f03ed062a7b85824d2930bd * * 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 ...
// SoftEther VPN Source Code - Developer Edition Master Branch // Cedar Communication Module // NullLan.h // Header of NullLan.c #ifndef NULLLAN_H #define NULLLAN_H #include "CedarType.h" #include "Mayaqua/MayaType.h" #define NULL_PACKET_GENERATE_INTERVAL 100000000 // Packet generation interval // NULL device ...
#define _GNU_SOURCE #include <stdio.h> #include <fcntl.h> #include <pthread.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <mqueue.h> #define QUEUE_NAME "/test_queue" #define MAX_SIZE 1024 #define MSG_STOP "exit" mqd_t mq; void cleanup(voi...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* * GtkPlacesSidebar - sidebar widget for places in the filesystem * * This code comes from Nautilus, GNOME’s file manager. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
#pragma once namespace YoloDetectionHoloLensUnity { ref class App sealed : public Windows::ApplicationModel::Core::IFrameworkView, public Windows::ApplicationModel::Core::IFrameworkViewSource { public: virtual void Initialize(Windows::ApplicationModel::Core::CoreApplicationView^ ap...
/** * @file Animation.h * * Defintion for a class that encapsulates creating animated images from a * set of PNG object frames. * * @author Wade Fagen-Ulmschneider * @date Fall 2017 * * @author Jack Toole * @date Fall 2011 */ #pragma once #include <string> #include <vector> #include "cs225/PNG.h" using nam...
// 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 MEDIA_GPU_TEST_VIDEO_TEST_HELPERS_H_ #define MEDIA_GPU_TEST_VIDEO_TEST_HELPERS_H_ #include <memory> #include <string> #include <vector> #include...
/* Copyright 2016 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...
/* u8x8_d_max7219.c Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2017, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistri...
/* * Copyright (c) 2016 Cisco and/or its affiliates. * 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...
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Copyright(c) 2020, Du Huanpeng<548708880@qq.com> * */ #include <rtthread.h> #include <rtdevice.h> #include <ls2k1000.h> #ifdef RT_USING_PWM #define PWM0_BASE (0xFFFFFFFFBFe02000) #define PWM1_BASE (0xFFFFF...
#ifndef __c4_Copy_of_ARP_02_RPSsmile_KinectGloveAtomicBradImitateSmile_h__ #define __c4_Copy_of_ARP_02_RPSsmile_KinectGloveAtomicBradImitateSmile_h__ /* Include files */ #include "sf_runtime/sfc_sf.h" #include "sf_runtime/sfc_mex.h" #include "rtwtypes.h" #include "multiword_types.h" /* Type Definitions */ #ifndef typ...
/* Copyright 2019 Jason Williams (Wilba) * * 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 di...
/** @file Timer Library functions built upon local APIC on IA32/x64. This library uses the local APIC library so that it supports x2APIC mode. Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms ...
/* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * Modified from mach-omap/omap2/board-generic.c * * 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. ...
/* * S390 kdump implementation * * Copyright IBM Corp. 2011 * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #include <linux/crash_dump.h> #include <asm/lowcore.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/gfp.h> #include <linux/slab.h> #include <linux/bootmem.h> #include <li...
#pragma once #include "EnemiesStructures.h" #include "Enemy.h" class Wave { private: char waveName; int numberenemies; int startingHealth; float enemyMoney; public: char getWaveName() { return waveName; } void setWaveName(char name) { waveName = name; } int getNumberEnemies() { return numberenemies; ...
/** * \file ssl_internal.h * * \brief Internal functions shared by the SSL modules */ /* * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance wit...
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 120000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 120100 #import "Xcode_10_0_XCTAutomationSupport_CDStructures.h" #import "Xcode_10_0_SharedHeader.h" #import <Foundation/Foundation.h> // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "../thnets.h" static const char *source_o0 = "__kernel void softmax(__global const float *in, __global float *out)\n" "{\n" " int x = get_global_id(0);\n" " int y = get_global_id(1);\n" " int i;\n" " float max = -THInf, sum = 0;\n" " in += x + y * iW;...
// // LibraryTableSource.h // qtum wallet // // Created by Sharaev Vladimir on 17.07.17. // Copyright © 2017 QTUM. All rights reserved. // #import <Foundation/Foundation.h> #import "LibraryTableSourceOutput.h" @interface LibraryTableSource : NSObject <LibraryTableSourceOutput> @property (nonatomic) TemplateModel...
/* * Copyright (c) 2013, Roland Bock * 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 con...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "PackageCatalogReference.g.h" #include <optional> namespace winrt::Microsoft::Management::Deployment::implementation { struct PackageCatalogReference : PackageCatalogReferenceT<PackageCatalogReference> { Pa...
// This needs to be re-ordered when TAG_MAJOR_VERSION changes! static const vector<spell_type> spellbook_templates[] = { { // Book of Minor Magic SPELL_MAGIC_DART, SPELL_BLINK, SPELL_CALL_IMP, SPELL_SLOW, SPELL_CONJURE_FLAME, SPELL_MEPHITIC_CLOUD, }, { // Book of Conjurations SPELL_MAG...
#include <ansi.h> #include "/kungfu/skill/eff_msg.h"; #define PO "「" HIW "破九域" NOR "」" inherit F_SSERVER; int perform(object me, object target) { int ap, dp, damage, p; string pmsg; string msg; object weapon, weapon2; if (userp(me) && ! me->query("can_perform/tanzhi-shentong/...
#include "interp.h" int interp_switch(unsigned char *code, int initval) { int pc = 0; int val = initval; while (1) { switch (code[pc++]) { case OP_HALT: return val; case OP_INC: val++; break; case OP_DEC: val--; break; case OP_MUL2: val *= 2; break; case OP_DIV2: val /= 2; ...
#ifndef MATERIAL_FILE_BUILDER_H #define MATERIAL_FILE_BUILDER_H #include "../MeshMediator.h" #include "../Builder.h" class MaterialFileBuilder : public Builder { private: MeshMediator* mediator; public: MaterialFileBuilder(MeshMediator* mediator); ~MaterialFileBuilder(); void process(stringstream& li...
int rename(from, to) char *from, *to; { (void) unlink(to); if (link(from, to) < 0) return -1; (void) unlink(from); return 0; }
/** * 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. */ // Copyright 2004-present Facebook. All Rights Reserved // -*- c++ -*- // I/O code for indexes #ifndef FAISS_INDEX_IO_C_H #defi...
/* FreeRTOS V8.2.1 - 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...
// 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 UI_BASE_IME_MOCK_INPUT_METHOD_H_ #define UI_BASE_IME_MOCK_INPUT_METHOD_H_ #include <string> #include "base/compiler_specific.h" #include "ba...
#ifndef HUAWEICLOUD_SDK_VOD_V1_MODEL_UpdateAssetCategoryRequest_H_ #define HUAWEICLOUD_SDK_VOD_V1_MODEL_UpdateAssetCategoryRequest_H_ #include <huaweicloud/vod/v1/VodExport.h> #include <huaweicloud/core/utils/ModelBase.h> #include <huaweicloud/core/http/HttpResponse.h> #include <huaweicloud/vod/v1/model/UpdateCatego...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @interface BSCFBundle : NSObject { struct __CFBundle *_cfBundle; } - (struct __CFBundle *)cfBundle; - (id)localizedInfoDictionary; - (id)infoDictionary; -...
/* * Copyright (C) 2018 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...
/* Vis5D version 5.2 */ /* Vis5D system for visualizing five dimensional gridded data sets Copyright (C) 1990 - 2000 Bill Hibbard, Johan Kellum, Brian Paul, Dave Santek, and Andre Battaiola. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "TAGFunctionCallImplementation.h" @interface TAGOsVersion : TAGFunctionCallImplementation { } + (id)functionId; - (id)evaluate:(id)arg1; - (_Bool)isCacheable; - (id)init; ...
#if defined(_WIN32) || defined(__CYGWIN__) #include <windows.h> #elif !defined(__EMSCRIPTEN__) || defined(__EMSCRIPTEN_PTHREADS__) #include <pthread.h> #endif #include <cpuinfo.h> #include <cpuinfo/internal-api.h> #include <cpuinfo/log.h> #ifdef __APPLE__ #include "TargetConditionals.h" #endif #if defined(_WIN32...
// // TrendPic.h // TLChat // // Created by 戴王炯 on 4/28/16. // Copyright © 2016 李伯坤. All rights reserved. // #import <Foundation/Foundation.h> @interface TrendPic : NSObject @property (nonatomic, strong) NSString *picPath; + (TrendPic *) createMenuWithPicPath:(NSString *)picPath; @end
// Copyright (c) Darrell Wright // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/beached/header_libraries // #pragma once #include "cpp_17.h" #include <ciso646> #include <c...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CParseHandlerStatistics.h // // @doc: // SAX parse handler class for parsing statistics from a DXL document. // // @owner: // // // @test: // // //----------------...
/** * This is the board file for particle computer communication board 232 * * file version: 000 (2005-08-24, sabin) * identical to pc230.c 000 * */ #ifndef __PC232_C__ #define __PC232_C__ 000 #inline void RFSetModeSleep(); #inline void RFPowerModuleOn(); enum analog_settings {ANALOG_ALL_DIGITAL...
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #ifndef NATIVE_EXTENSION_VTK_VTKDSPFILTERGROUPWRAP_H #define NATIVE_EXTENSION_VTK_VTKDSPFILTERGROUPWRAP_H #include <nan.h> #include <vtkSmartPointer.h> #include <vtkDSPFilterGroup.h> #include "vtkObjectWrap.h" #include ".....
/* ****************************** * * Titanium_CCA_med * * Implemented by Raymond K. ZHAO * * * * CPA Encryption * * ****************************** */ #include "encrypt.h" #include "param.h" #include "fastrandombytes.h" #include "sampler.h" #include "nt...
#pragma once #include "jevmachopp/Common.h" #include <cstring> template <bool EmptyStringTerminated = false> class PackedCStrIteratorBase { public: using iterator_category = std::forward_iterator_tag; using difference_type = std::ptrdiff_t; using value_type = const char *; using pointer ...
/* $Id$ */ /* * %PSC_START_COPYRIGHT% * ----------------------------------------------------------------------------- * Copyright (c) 2006-2015, Pittsburgh Supercomputing Center (PSC). * * Permission to use, copy, modify, and distribute this software * for any purpose with or without fee is hereby granted, provid...
// // MBOcrLayoutSubview.h // MicroblinkDev // // Created by Dino Gustin on 02/05/2018. // #import "MBOcrLayout.h" /** * Protocol for processing MBCOcrLayout. Subviews implementing this protocol process and draw layout data on the screen (e.g. dots or OCR characters) */ @protocol MBCOcrLayoutSubview <NSObject> ...
#ifndef _LIBREG_RULE_H_ #define _LIBREG_RULE_H_ #define UNDEFINED 0 #define FREE_MOVE '\0' #define MAX_STATES 100 #define STATE(R, O) ((unsigned int)(R) + (O)) struct Rulebook_s; typedef struct FARule_s { unsigned int state; char character; unsigned int next_state; } FARule; FARule* FARule_create(struct Ruleb...
#include "daisy.h" #include "daisysp.h" #include <cmath> using namespace daisy; // taken from https://kferg.dev/posts/2020/audio-reactive-programming-envelope-followers/ //public: //EnvelopeFollower(double attack, double decay) : // attack_(attack), decay_(decay), output_(0) {} // maybe swap back to double and...
/** * Copyright 2020 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...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 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 * ...
/* Copyright (c) 2019, Ameer Haj Ali (UC Berkeley), and Intel Corporation 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 ...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:48:47 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/Frameworks/Contacts.framework/Contacts * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos....
#ifndef _SCSI_DISK_H #define _SCSI_DISK_H /* * More than enough for everybody ;) The huge number of majors * is a leftover from 16bit dev_t days, we don't really need that * much numberspace. */ #define SD_MAJORS 16 /* * Time out in seconds for disks and Magneto-opticals (which are slower). */ #define SD_TIMEO...
/* GIO - GLib Input, Output and Streaming Library * * Copyright (C) 2008 Red Hat, Inc. * * 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 of the License, or (at ...
//================================================================================================= /*! // \file blazemark/flens/TMat3Mat3Mult.h // \brief Header file for the FLENS 3D transpose matrix/matrix multiplication kernel // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file is...
// // 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 <ManagedConfiguration/MCNetworkUsageRulesPayload.h> @interface MCNetworkUsageRulesPayload (Daemon) - (id)handlerWithProfileHandler:(id)arg...
#pragma once #include <queue> namespace utils { /** * @brief Queue - TODO implement own queue */ template <typename T> class Queue : public std::queue<T> {}; }
// Copyright 2015-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 a...
#pragma once #include <torch/data/detail/queue.h> #include <torch/types.h> #include <c10/util/Exception.h> #include <c10/util/Optional.h> #include <chrono> #include <utility> namespace torch { namespace data { namespace detail { /// Encapsulates the full life cycle of DataLoader jobs. /// /// When a new job is enq...
#ifndef _MEX_TOOLS_H_ #define _MEX_TOOLS_H_ /* mex_tools.h - MEX utility functions Author: Stefan Roth, Department of Computer Science, TU Darmstadt Contact: sroth@cs.tu-darmstadt.de $Date$ $Revision$ * Copyright 2004-2007, Brown University, Providence, RI. USA * Copyright 2007-2010 TU Darmstadt, Darm...
// Copyright (c) 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_UI_WEBUI_NET_EXPORT_UI_H_ #define CHROME_BROWSER_UI_WEBUI_NET_EXPORT_UI_H_ #include "content/public/browser/web_ui_controller....