repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
enduro2d/enduro2d
sources/3rdparty/imicons/fa_solid.bin.h
<gh_stars>10-100 version https://git-lfs.github.com/spec/v1 oid sha256:93d5aafc0ec150a96e6ffcf3eecdc5d80d33c7fa8d6c49a01abb005b084c1aef size 426846
liuyazhou/trafodion
core/sql/executor/HBaseClient_JNI.h
// ********************************************************************** // @@@ START COPYRIGHT @@@ // // 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....
liuyazhou/trafodion
core/sqf/monitor/linux/trafconfig.h
<reponame>liuyazhou/trafodion<filename>core/sqf/monitor/linux/trafconfig.h /********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed wi...
liuyazhou/trafodion
core/sql/exp/ExpSeqGen.h
<reponame>liuyazhou/trafodion /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 // re...
liuyazhou/trafodion
core/sql/executor/sql_buffer.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
win-odbc64/odbcclient/drvr35adm/drvr35adm.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 owners...
liuyazhou/trafodion
core/sql/optimizer/RelSequence.h
<reponame>liuyazhou/trafodion<filename>core/sql/optimizer/RelSequence.h /********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with ...
liuyazhou/trafodion
core/sql/common/DatetimeType.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/optimizer/Triggers.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/exp/exp_clause.h
<gh_stars>0 /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 ...
liuyazhou/trafodion
core/sql/exp/exp_datetime.h
<gh_stars>0 /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 ...
liuyazhou/trafodion
core/sql/exp/ExpLOBinterface.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/executor/ExTranspose.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/comexe/ComTdbFastTransport.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/comexe/ComTdbBlockingHdfsScan.h
<filename>core/sql/comexe/ComTdbBlockingHdfsScan.h // ********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for addit...
liuyazhou/trafodion
core/sqf/monitor/linux/replicate.h
/////////////////////////////////////////////////////////////////////////////// // // @@@ START COPYRIGHT @@@ // // 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 o...
liuyazhou/trafodion
core/sql/executor/ExExeUtil.h
<reponame>liuyazhou/trafodion /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 // re...
liuyazhou/trafodion
core/sql/exp/ExpLOBenums.h
<reponame>liuyazhou/trafodion /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 // re...
liuyazhou/trafodion
core/sql/sqlcomp/CmpSeabaseDDLincludes.h
<reponame>liuyazhou/trafodion // @@@ START COPYRIGHT @@@ // // 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...
liuyazhou/trafodion
core/sql/common/ComResWords.h
<reponame>liuyazhou/trafodion<gh_stars>0 /********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional inform...
liuyazhou/trafodion
core/sql/comexe/ComTdb.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/ustat/hs_globals.h
<reponame>liuyazhou/trafodion /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 // re...
liuyazhou/trafodion
core/sql/runtimestats/SqlStats.h
<filename>core/sql/runtimestats/SqlStats.h /********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional info...
liuyazhou/trafodion
core/sql/executor/ex_ddl.h
<filename>core/sql/executor/ex_ddl.h<gh_stars>0 /********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional...
liuyazhou/trafodion
core/sqf/monitor/linux/tcdb.h
<reponame>liuyazhou/trafodion /////////////////////////////////////////////////////////////////////////////// // // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional inform...
liuyazhou/trafodion
core/sql/sqlcomp/PrivMgrCommands.h
//***************************************************************************** // @@@ START COPYRIGHT @@@ // // 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 owne...
liuyazhou/trafodion
core/sql/common/OperTypeEnum.h
/* -*-C++-*- */ /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 copyri...
liuyazhou/trafodion
core/sqf/monitor/linux/clusterconf.h
/////////////////////////////////////////////////////////////////////////////// // // @@@ START COPYRIGHT @@@ // // 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 o...
liuyazhou/trafodion
core/sql/runtimestats/rts_msg.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sqf/monitor/linux/montrace.h
/////////////////////////////////////////////////////////////////////////////// // // @@@ START COPYRIGHT @@@ // // 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 o...
liuyazhou/trafodion
core/sql/qmscommon/QRLogger.h
<filename>core/sql/qmscommon/QRLogger.h<gh_stars>0 // ********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for addit...
liuyazhou/trafodion
core/sql/common/NAWinNT.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
liuyazhou/trafodion
core/sql/parser/ParKeyWords.h
<reponame>liuyazhou/trafodion /********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 // re...
SteveCooling/MidiKeys
Arduino/MidiKeys/velocity.h
<filename>Arduino/MidiKeys/velocity.h<gh_stars>1-10 /** * !! AUTOGENERATED !! * * Generated by tools/genlookup.py - do not modify this file, it might be overwritten * */ static const char velocity_log[256] = { 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 1...
SteveCooling/MidiKeys
Arduino/MidiKeys/KeyboardMux.h
/** * KeyboardMux * - Keyboard scanner for Arduino Leonardo (ATMEGA32U4) * * Scan 16 banks (High nybble of PORTF) and read PORTB for each bank. * * For velocity sensitive keyboards, PORTF bit 4 selects the second switch for each key. * Put another way: Bank 1 will be the secondary switches of bank 0. * ...
xxxAIRINxxx/VHUD
Sources/VHUD.h
// // VHUD.h // VHUD // // Created by xxxAIRINxxx on 2016/07/19. // Copyright © 2016 xxxAIRINxxx. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for VHUD. FOUNDATION_EXPORT double VHUDVersionNumber; //! Project version string for VHUD. FOUNDATION_EXPORT const unsigned char VHUDVersion...
starcoinorg/move-tools
resources/grammar/src/parser.c
<filename>resources/grammar/src/parser.c #include <tree_sitter/parser.h> #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #ifdef _MSC_VER #pragma optimize("", off) #elif defined(__clang__) #pragma clang optimize off #elif defi...
algorand/c-sumhash
tests/create_matrix.c
<gh_stars>1-10 #include <stdint.h> #include <stdio.h> #include <string.h> #include "fips202.h" #include "include/sumhash512.h" #include "src/matrix.h" static inline uint64_t load64_le(const uint8_t src[8]) { uint64_t w = (uint64_t) src[0]; w |= (uint64_t) src[1] << 8; w |= (uint64_t) src[2] << 16; w ...
algorand/c-sumhash
src/sumhash512.c
#include <stdint.h> #include <stdio.h> #include <string.h> #include "util.h" #include "include/sumhash512.h" #include "matrix.h" #include "algorand_matrix.h" #define Q_t uint64_t typedef Q_t matrix[SUMHASH512_N_ROWS][SUMHASH512_M_BITS]; static void hash_bytes(const matrix A, const uint8_t *msg, Q_t *result) { ...
algorand/c-sumhash
tests/tests.c
<reponame>algorand/c-sumhash #include <stdint.h> #include <stdio.h> #include <string.h> #include "include/sumhash512.h" #include "fips202.h" void encode_hex(char *dst, uint8_t *data, int len) { char *ptr = dst; for (int i = 0; i < len; i++) { ptr += sprintf(ptr, "%02x", data[i]); } } void print_h...
ryhoh/reversiBot
system.h
<reponame>ryhoh/reversiBot<filename>system.h // Copyright (c) 2017 <NAME> // Released under the MIT license // https://opensource.org/licenses/mit-license.php // Created by <NAME> on 2017/06/02. // Copyright © 2017年 <NAME>. All rights reserved. // リバーシBOTのゲーム進行用のシステムを記述 #define BOARDSIZE 8 // 1辺のマスの数 #define BLA...
ryhoh/reversiBot
main.c
// Copyright (c) 2017 <NAME> // Released under the MIT license // https://opensource.org/licenses/mit-license.php // Created by <NAME> on 2017/06/02. // Copyright © 2017年 <NAME>. All rights reserved. // リバーシには必勝法がある(はずだ)が、人間の相手をするBOTを作ることが目的なので、必勝法のプログラム化はしない // 学習機能(AI)は持たず、一定の手順に従って操作するだけ #include <stdio.h> #incl...
ryhoh/reversiBot
system.c
<gh_stars>0 // Copyright (c) 2017 <NAME> // Released under the MIT license // https://opensource.org/licenses/mit-license.php // Created by <NAME> on 2017/06/02. // Copyright © 2017年 <NAME>. All rights reserved. // リバーシBOTのゲーム進行用のシステムを記述 #include <stdio.h> #include "system.h" // 色反転操作用の配列 // flip[BLACK]はWHITEを、fl...
ryhoh/reversiBot
search.c
<gh_stars>0 // Copyright (c) 2017 <NAME> // Released under the MIT license // https://opensource.org/licenses/mit-license.php // Created by <NAME> on 2017/06/02. // Copyright © 2017年 <NAME>. All rights reserved. // リバーシBOTの、石を置く場所を選ぶ動作を記述 #include <stdio.h> #include "system.h" #include "search.h" // コンピュータに操作させる場...
ryhoh/reversiBot
search.h
// Copyright (c) 2017 <NAME> // Released under the MIT license // https://opensource.org/licenses/mit-license.php // Created by <NAME> on 2017/06/02. // Copyright © 2017年 <NAME>. All rights reserved. // リバーシBOTの、BOTの振る舞いを記述 #define SIZE 1000 // 打つ手の座標、何手先かを記録する構造体 typedef struct _method{ int grid[2]; // 座標 int...
temcgraw/ImguiVR
imgui_draw_3d.h
<filename>imgui_draw_3d.h //Draws a single quad ui using imgui_impl_vr. #ifndef __IMGUI_DRAW_3D_H__ #define __IMGUI_DRAW_3D_H__ #include "glm/glm.hpp" void SetQuadTexture(int i); void Draw3dGui(glm::mat4& Pvr, glm::mat4& Vvr, glm::mat4& Mvr); void Draw3dGuiQuad(glm::mat4& Pvr, glm::mat4& Vvr, glm::mat4& Mvr...
temcgraw/ImguiVR
Raycast.h
#ifndef __RAYCAST_H__ #define __RAYCAST_H__ #include "glm/glm.hpp" void DrawRaycast(glm::mat4& Pvr, glm::mat4& Vvr, glm::mat4& Mvr); void Draw2dGui(); void InitRaycast(); void ReloadShader(); #endif
temcgraw/ImguiVR
CGLRenderModel.h
//Edited by <NAME> (<EMAIL>) //This class was stripped from openvr sample hellovr_opengl_main.cpp. #ifndef __CGLRENDERMODEL_H__ #define __CGLRENDERMODEL_H__ #include <string> #include <GL/glew.h> #include <openvr.h> class CGLRenderModel { public: CGLRenderModel( const std::string & sRenderModelName ); ...
temcgraw/ImguiVR
imgui_impl_vr.h
// ImGui in OpenVR // Modified from ImGui SDL2 binding with OpenGL3 // In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp. // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. ...
Rcvisual/xuperunion
contractsdk/cpp/xchain/contract.pb.h
<filename>contractsdk/cpp/xchain/contract.pb.h // Generated by the protocol buffer compiler. DO NOT EDIT! // source: contract.proto #ifndef PROTOBUF_INCLUDED_contract_2eproto #define PROTOBUF_INCLUDED_contract_2eproto #include <limits> #include <string> #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION <...
Rcvisual/xuperunion
contractsdk/cpp/xchain/account.h
#ifndef XCHAIN_ACCOUNT_H #define XCHAIN_ACCOUNT_H namespace xchain { class Account { public: Account(); Account(const std::string& name); virtual ~Account(); const std::string& get_name(); bool transfer(const std::string& to, const std::string& amount); private: std::string _name; }; } // n...
malwarezone/libpeconv
libpeconv/include/peconv/load_config_defs.h
<filename>libpeconv/include/peconv/load_config_defs.h<gh_stars>1-10 /** * @file * @brief Definitions of various versions of Load Config Directory (different for different versions for Windows). */ #pragma once #include <windows.h> #include <pshpack4.h> namespace peconv { /** IMAGE_LOAD_CONFIG_CODE_INTEGRIT...
snykiotcubedev/arangodb-3.7.6
lib/Basics/ResourceUsage.h
<gh_stars>0 //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this...
snykiotcubedev/arangodb-3.7.6
arangod/Aql/Function.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
snykiotcubedev/arangodb-3.7.6
arangod/Cluster/AgencyCache.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2020 ArangoDB GmbH, Cologne, Germany /// /// 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...
snykiotcubedev/arangodb-3.7.6
arangod/Network/Methods.h
<gh_stars>0 //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018-2019 ArangoDB GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may...
snykiotcubedev/arangodb-3.7.6
arangod/Aql/AllRowsFetcher.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018 ArangoDB GmbH, Cologne, Germany /// /// 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...
snykiotcubedev/arangodb-3.7.6
arangod/Aql/Expression.h
<reponame>snykiotcubedev/arangodb-3.7.6 //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License...
snykiotcubedev/arangodb-3.7.6
arangod/IResearch/IResearchView.h
<reponame>snykiotcubedev/arangodb-3.7.6<gh_stars>0 //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (t...
snykiotcubedev/arangodb-3.7.6
arangod/Pregel/OutgoingCache.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
snykiotcubedev/arangodb-3.7.6
arangod/Aql/SharedQueryState.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018-2020 ArangoDB GmbH, Cologne, Germany /// /// 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 co...
snykiotcubedev/arangodb-3.7.6
arangod/Cluster/HeartbeatThread.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
snykiotcubedev/arangodb-3.7.6
tests/IResearch/IResearchQueryCommon.h
<filename>tests/IResearch/IResearchQueryCommon.h //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017 ArangoDB GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in complian...
snykiotcubedev/arangodb-3.7.6
arangod/IResearch/IResearchLinkMeta.h
////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017 EMC 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 //...
snykiotcubedev/arangodb-3.7.6
arangod/Cluster/ActionDescription.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
snykiotcubedev/arangodb-3.7.6
arangod/GeneralServer/VstCommTask.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2019 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
snykiotcubedev/arangodb-3.7.6
tests/IResearch/AgencyMock.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2018 ArangoDB GmbH, Cologne, Germany /// /// 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...
nefrock/suika-board-sdk
src/suika_board/suika_board.h
enum suika_mode{ PLAY, DRINK }; enum suika_state{ TONE, FEVER, BELL, SILENT }; // Sound #define BZR 8 // Sound output #define SP_EN 4 // Sound Amp-IC enable // LED #define LED_R1 14 // LED-RED1 Control #define LED_R2 15 // LED-RED2 Control #define LED_R3 16 // LED-RED3 Control #define LED...
nefrock/suika-board-sdk
src/suika_board/pitches.h
<filename>src/suika_board/pitches.h /************************************************* * Public Constants *************************************************/ // ドレミの周波数設定 #define NOTE_B0 31 // シ #define NOTE_C1 33 #define NOTE_CS1 35 #define NOTE_D1 37 #define NOTE_DS1 39 #define NOTE_E1 41 #define NOTE_F1 44 #de...
jianyuyanyu/processhacker
ProcessHacker/main.c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2009-2016 * dmex 2017-2022 * */ #include <phapp.h> #include <colorbox.h> #include <hexedit.h> #include <hndlinfo.h> #include <kphuser...
RPallas92/ArchitectureKit
ArchitectureKit/ArchitectureKit.h
// // ArchitectureKit.h // ArchitectureKit // // Created by <NAME> on 12/14/17. // Copyright © 2017 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for ArchitectureKit. FOUNDATION_EXPORT double ArchitectureKitVersionNumber; //! Project version string for ArchitectureKit. FOUNDA...
uozuAho/doit_helpers
examples/simple_c_proj/src/thing.h
<gh_stars>1-10 #ifndef THING_H #define THING_H void thingo(void); #endif
uozuAho/doit_helpers
examples/simple_c_proj/src/main.c
<filename>examples/simple_c_proj/src/main.c #include <stdio.h> #include "thing.h" int main() { printf("Yo!\n"); thingo(); return 0; }
uozuAho/doit_helpers
examples/simple_c_proj/src/thing.c
<filename>examples/simple_c_proj/src/thing.c #include <stdio.h> void thingo() { printf("thingo is set to %d\n", THINGO_VAL); }
sci-bots/cookiecutter-base-node-rpc-platformio-template
{{cookiecutter.project_slug}}/src/Node.h
<reponame>sci-bots/cookiecutter-base-node-rpc-platformio-template #ifndef ___NODE__H___ #define ___NODE__H___ #include <math.h> #include <string.h> #include <stdint.h> #include <Arduino.h> #include <NadaMQ.h> #include <CArrayDefs.h> #include "RPCBuffer.h" // Define packet sizes #include "{{cookiecutter.project_camelc...
sci-bots/cookiecutter-base-node-rpc-platformio-template
{{cookiecutter.project_slug}}/src/RPCBuffer.h
#ifndef ___RPC_BUFFER__H___ #define ___RPC_BUFFER__H___ #include <stdint.h> #ifdef __AVR_ATmega328P__ /* ## uno settings ## */ #ifndef I2C_PACKET_SIZE #define I2C_PACKET_SIZE PACKET_SIZE #endif // #ifndef I2C_PACKET_SIZE #ifndef PACKET_SIZE #define PACKET_SIZE 80 #endif // #ifndef PACKET_SIZE #ifndef COM...
Tomographer/QPtomographer
cxx/pyutils.h
<gh_stars>1-10 #ifndef RELIABLEDIAMONDNORM_PYUTILS_H #define RELIABLEDIAMONDNORM_PYUTILS_H template<typename IterCountIntType> struct CtrlConvergedParams { CtrlConvergedParams() : enabled(false), check_frequency_sweeps(-1), max_allowed_unknown(-1), max_allowed_unknown_notisolated(-1), ...
Tomographer/QPtomographer
cxx/utils.h
<reponame>Tomographer/QPtomographer #ifndef RELIABLEDIAMONDNORM_UTILS_H #define RELIABLEDIAMONDNORM_UTILS_H #include <cmath> // std::abs #include <random> #include <Eigen/Eigen> #include <unsupported/Eigen/KroneckerProduct> #include <tomographer/tools/cxxutil.h> #include <tomographer/tools/eigenutil.h> #include <...
Tomographer/QPtomographer
cxx/qptomo_use_scs.h
<filename>cxx/qptomo_use_scs.h #ifndef QPTOMO_USE_SCS #define QPTOMO_USE_SCS // // NOTE: INSTRUCTIONS FOR COMPILING SCS CAN BE FOUND IN OUR MAIN "README.TXT" // //namespace SCS { extern "C" { # include <scs.h> # include <linsys.h> # include <linsys/amatrix.h> } //} // namespace SCS namespace tomo_inte...
Tomographer/QPtomographer
cxx/channelspace.h
<filename>cxx/channelspace.h #ifndef CHANNELSPACE_H #define CHANNELSPACE_H #include <random> #include <unsupported/Eigen/MatrixFunctions> // matrix exponential #include <tomographer/tomographer_version.h> #include <tomographer/mhrw.h> #include <tomographer/densedm/param_herm_x.h> #include <tomographer/densedm/indep...
Tomographer/QPtomographer
cxx/worstentglfidelity_figofmerit.h
#ifndef WORST_ENTANGLEMENT_FIDELITY_FIGOFMERIT_H #define WORST_ENTANGLEMENT_FIDELITY_FIGOFMERIT_H #include <iostream> #include <string> #include <sstream> #include <boost/math/constants/constants.hpp> #include <Eigen/Eigen> #include <Eigen/SparseCore> #include <tomographer/tools/loggers.h> #include <tomographer/to...
Tomographer/QPtomographer
test/testutils.h
<filename>test/testutils.h #ifndef RELIABLEDIAMONDNORM_TESTUTILS_H #define RELIABLEDIAMONDNORM_TESTUTILS_H #include <Eigen/Eigen> #include <boost/test/unit_test.hpp> #include <boost/test/floating_point_comparison.hpp> #include <boost/test/output_test_stream.hpp> template<typename RealScalarType = double> inline voi...
Tomographer/QPtomographer
cxx/diamond_norm_figofmerit.h
#ifndef DIAMOND_NORM_FIGOFMERIT_H #define DIAMOND_NORM_FIGOFMERIT_H #include <Eigen/Eigen> #include <tomographer/tools/loggers.h> #include <tomographer/tools/needownoperatornew.h> #include "utils.h" // // ValueCalculator for "naive" bipartite state sampling version // template<typename DMTypes_, typename DiamondN...
Tomographer/QPtomographer
cxx/entglfidelity_figofmerit.h
<filename>cxx/entglfidelity_figofmerit.h #ifndef ENTANGLEMENT_FIDELITY_FIGOFMERIT_H #define ENTANGLEMENT_FIDELITY_FIGOFMERIT_H #include <Eigen/Eigen> #include <tomographer/tools/loggers.h> #include <tomographer/tools/needownoperatornew.h> #include "utils.h" template<typename DMTypes_> class EntglFidelityValueCalc...
Tomographer/QPtomographer
cxx/diamond_norm_scs.h
<gh_stars>1-10 #ifndef DIAMOND_NORM_SCS_H #define DIAMOND_NORM_SCS_H #include <iostream> #include <Eigen/Eigen> #include <Eigen/SparseCore> #include <boost/math/constants/constants.hpp> #include <tomographer/tools/cxxutil.h> #include "qptomo_use_scs.h" template<typename RealScalarType_, typename BaseLoggerTy...
Biz4Solutions/cordova-zoomplugin
src/ios/ZoomPlugin.h
// // zoom.h // zoomplugin // // Created by Biz4Solutions on 04/02/15. // // #ifndef zoomplugin_zoom_h #define zoomplugin_zoom_h #endif #import <Cordova/CDV.h> @interface ZoomPlugin : CDVPlugin <ZoomSDKAuthDelegate, ZoomSDKMeetingServiceDelegate> //used to create Zoom window. Required by Zoom API @prope...
mohamed-abdelhameed/voroffset
src/vor2d/DistanceTransform.h
#pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include "vor2d/Image.h" #include <vector> #include <array> //////////////////////////////////////////////////////////////////////////////// namespace voroffset { // // @brief Compute the dis...
mohamed-abdelhameed/voroffset
src/vor2d/MorphologyOperators.h
<gh_stars>10-100 #pragma once #include "vor2d/Common.h" // Dealing with the operation on the same sweepline, such as union segments, negate ray, append segment to the line and so on namespace voroffset { // Appends segment [a,b] to the given sorted line void appendSegment(std::vector<double> &nl, double a, double b...
mohamed-abdelhameed/voroffset
src/vor2d/Voronoi.h
<reponame>mohamed-abdelhameed/voroffset #pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include "vor2d/Image.h" #include <vector> #include <array> #include <set> //////////////////////////////////////////////////////////////////////////////// na...
mohamed-abdelhameed/voroffset
src/vor2d/Image.h
<filename>src/vor2d/Image.h #pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include <vector> #include <array> #include <Eigen/Dense> //////////////////////////////////////////////////////////////////////////////// namespace voroffset { // Thin ...
mohamed-abdelhameed/voroffset
src/vor3d/Voronoi2D.h
#pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor3d/Common.h" #include "vor3d/Morpho2D.h" #include <iostream> #include <vector> #include <array> #include <set> //////////////////////////////////////////////////////////////////////////////// namespace voroffset...
mohamed-abdelhameed/voroffset
src/vor3d/Common.h
<reponame>mohamed-abdelhameed/voroffset #pragma once //////////////////////////////////////////////////////////////////////////////// #include <vector> #include <array> #include <Eigen/Dense> //////////////////////////////////////////////////////////////////////////////// #ifndef EPS #define EPS 1e-8 #endif namespace...
mohamed-abdelhameed/voroffset
src/vor3d/MorphologyOperators.h
#pragma once #include "vor3d/Common.h" // Dealing with the operation on the same sweepline, such as union segments, negate ray, append segment to the line and so on namespace voroffset3d { // Appends segment [a,b] to the given sorted line void appendSegment(std::vector<double> &nl, double a, double b); void append...
mohamed-abdelhameed/voroffset
src/vor3d/Voronoi.h
#pragma once #include "vor3d/Common.h" #include "vor3d/CompressedVolumeBase.h" #include "vor3d/CompressedVolume.h" #include "vor3d/CompressedVolumeWithRadii.h" #include <iostream> #include <vector> #include <array> #include <set> namespace voroffset3d { class VoronoiMorpho { public: virtual ~VoronoiMorpho() = de...
mohamed-abdelhameed/voroffset
src/vor2d/Dexelize.h
#pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include "vor2d/DoubleCompressedImage.h" #include <set> #include <limits> #include <cassert> #include <vector> //////////////////////////////////////////////////////////////////////////////// namesp...
mohamed-abdelhameed/voroffset
src/vor2d/CompressedImage.h
<reponame>mohamed-abdelhameed/voroffset<filename>src/vor2d/CompressedImage.h #pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include "vor2d/Image.h" #include <set> #include <limits> #include <cassert> #include <vector> ///////////////////////////...
mohamed-abdelhameed/voroffset
src/vor2d/Common.h
<reponame>mohamed-abdelhameed/voroffset #pragma once //////////////////////////////////////////////////////////////////////////////// #include <vector> #include <array> #include <Eigen/Dense> //////////////////////////////////////////////////////////////////////////////// namespace voroffset { // 2D index coordinate...
mohamed-abdelhameed/voroffset
src/vor2d/DoubleVoronoi.h
#pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor2d/Common.h" #include "vor2d/Image.h" #include <iostream> #include <vector> #include <array> #include <set> //////////////////////////////////////////////////////////////////////////////// namespace voroffset { ...
mohamed-abdelhameed/voroffset
src/vor3d/SeparatePower2D.h
<reponame>mohamed-abdelhameed/voroffset<gh_stars>10-100 #pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor3d/Common.h" #include "vor3d/Morpho2D.h" #include <iostream> #include <vector> #include <array> #include <set> /////////////////////////////////////////////...
mohamed-abdelhameed/voroffset
src/vor3d/Dexelize.h
<reponame>mohamed-abdelhameed/voroffset #pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor3d/Common.h" #include "vor3d/CompressedVolume.h" #include <set> #include <limits> #include <cassert> #include <vector> /////////////////////////////////////////////////////...