repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
skn123/penguinV
src/math/math_base.h
#pragma once #include <cmath> #include <vector> namespace pvmath { const double pi = std::acos(-1); const double epsilonDouble = 1e-9; const double epsilonFloat = 1e-5f; template <typename _Type> bool isEqual( const _Type & value1, const _Type & value2 ) { return ( value1 == value2 )...
skn123/penguinV
test/performance_tests/performance_test_filtering.h
<filename>test/performance_tests/performance_test_filtering.h #pragma once class PerformanceTestFramework; void addTests_Filtering( PerformanceTestFramework & framework );
skn123/penguinV
src/thread_pool.h
<filename>src/thread_pool.h<gh_stars>100-1000 #pragma once #include <atomic> #include <condition_variable> #include <cstdint> #include <list> #include <mutex> #include <thread> #include <vector> class ThreadPool; // General abstract class to work with thread pool class AbstractTaskProvider { public: friend class...
skn123/penguinV
test/unit_tests/unit_test_math.h
#pragma once class UnitTestFramework; void addTests_Math( UnitTestFramework & framework );
skn123/penguinV
test/unit_tests/unit_test_fft.h
#pragma once class UnitTestFramework; void addTests_FFT( UnitTestFramework & framework );
skn123/penguinV
src/parameter_validation.h
<reponame>skn123/penguinV #pragma once #include <limits> #include <utility> namespace Image_Function { template <typename TImage> uint8_t CheckCommonColorCount( const TImage & image1, const TImage & image2 ) { if ( image1.colorCount() != image2.colorCount() ) throw penguinVException( "...
skn123/penguinV
test/unit_tests/unit_test_blob_detection.h
#pragma once class UnitTestFramework; void addTests_Blob_Detection( UnitTestFramework & framework );
skn123/penguinV
test/performance_tests/performance_test_image_function.h
#pragma once class PerformanceTestFramework; void addTests_Image_Function( PerformanceTestFramework & framework );
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/5_Unip_for/main.c
#include <stdio.h> #include <stdlib.h> int main() { for (int i; i < 5; i++) { printf("UNIP! \n"); } return 0; }
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/Programa_Maior/main.c
#include <stdio.h> #include <stdlib.h> int main() { int a, b; printf("Digite o valor de A: "); scanf("%d", &a); printf("Digite o valor de B: "); scanf("%d", &b); if (a > b) { printf("O valor de A eh o maior!"); } else if (a < b) { printf("O valor de...
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/AritimeticaPonteiros/main.c
<filename>Aulas Estrutura de Dados/AritimeticaPonteiros/main.c #include <stdio.h> #include <stdlib.h> int main() { int i; int *p = &i; printf("Endereco em p: %x \n", p); printf("Endereco em p + 1 %d \n", p + 1); printf("Endereco em p + 2 %d \n", p + 2); return 0; }
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/Opcao_Switch/main.c
<filename>Aulas Estrutura de Dados/Opcao_Switch/main.c<gh_stars>0 #include <stdio.h> #include <stdlib.h> int main() { int opc; printf("Digite a opcao 1 -> A ou 2 -> B"); scanf("%d", &opc); switch (opc) { case 1: printf("A opcao escolhida foi A!"); break; case 2: p...
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/5_Unip/main.c
#include <stdio.h> #include <stdlib.h> int main() { int cont = 0; while (cont <= 4) { printf("UNIP! \n"); cont = cont + 1 ; } return 0; }
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/Programa_Raio_1/main.c
#include <stdio.h> #include <stdlib.h> int main() { float comprimento, raio; printf("Digite o valor do raio: "); scanf("%f", &raio); comprimento = 2 * 3.1416 * raio; printf("O comprimento da circunferencia eh: %f", comprimento); return 0; }
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/TrocaFuncao/main.c
<reponame>GuilhermeSbizero0804/Estrutura-de-Dados #include <stdio.h> #include <stdlib.h> void roca (int *a, int *b) { int aux; aux = *a; *a = *b; *b = aux; printf ("\n Na funcao \n Valor de a: %d \t Valor de b: %d", a, b); } int main() { int a = 7, b = 5; troca (&a, &b); p...
GuilhermeSbizero0804/Estrutura-de-Dados
Aulas Estrutura de Dados/VetorComPonteriro/main.c
<filename>Aulas Estrutura de Dados/VetorComPonteriro/main.c #include <stdio.h> #include <stdlib.h> int main() { int v[5] = (1, 2, 3, 4, 5); int *p = v; (for int i = 0; i < 5; i++ ){ printf("%d \t", p[1]); } return 0; }
jyz0309/nebula
src/storage/query/GetPropProcessor.h
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #ifndef STORAGE_QUERY_GETPROPPROCESSOR_H_ #define STORAGE_QUERY_GETPROPPROCESSOR_H_ #include "common/base/Base.h" #include "storage/exec/StoragePlan.h" #include "storage/query/QueryBaseProcessor.h" ...
jijo733/MyTests
puts.c
<gh_stars>0 #include<stdio.h> int main() { puts("Hello Jijo."); return 0; }
jijo733/MyTests
print.c
<reponame>jijo733/MyTests #include <stdio.h> int main(int argc, char* argv[]) { int age; int height; age=150; printf("age is %d , height is :%d \n",age,height); return 0; }
jijo733/MyTests
hello_world.c
<reponame>jijo733/MyTests #include<stdio.h> int main (int argc, char* argv[]) { puts("Hello world of puts \n"); fprintf(stdout, "hello this is jijo kick starting \n "); printf("The value i passed : %c ", *argv[0]); return 0; }
HPCGraphAnalysis/bicc
bcc-hipc14/util.h
#ifndef __util_h__ #define __util_h__ double timer(); #endif
HPCGraphAnalysis/bicc
bcc-dist-3/comms.h
/* //@HEADER // ***************************************************************************** // // HPCGraph: Graph Computation on High Performance Computing Systems // Copyright (2016) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government r...
HPCGraphAnalysis/bicc
bcc-ice/label_prop.h
<gh_stars>1-10 #ifndef __label_prop_h__ #define __label_prop_h__ #include<mpi.h> #include<omp.h> #include "dist_graph.h" #include<iostream> #include<vector> #include<queue> #include<set> #define FIRST 0 #define SECOND 2 #define FIRST_SENDER 1 #define SECOND_SENDER 3 #define BCC_NAME 4 extern int procid, nprocs; exte...
HPCGraphAnalysis/bicc
bcc-dist-3/reduce_graph.h
<reponame>HPCGraphAnalysis/bicc<filename>bcc-dist-3/reduce_graph.h #ifndef _REDUCE_GRAPH_H_ #define _REDUCE_GRAPH_H_ #include <mpi.h> #include <omp.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <fstream> #include "dist_graph.h" #include "comms.h" #include "util.h" #include "bfs.h" dist_graph...
HPCGraphAnalysis/bicc
bcc-dist/lca_comms.h
<gh_stars>1-10 /* //@HEADER // ***************************************************************************** // // XtraPuLP: Xtreme-Scale Graph Partitioning using Label Propagation // Copyright (2016) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U....
HPCGraphAnalysis/bicc
bcc-dist-3/wbter.h
#ifndef _WBTER_H_ #define _WBTER_H_ #include <cstdint> struct xs1024star_t { uint64_t s[16]; int64_t p; } ; uint64_t xs1024star_next(xs1024star_t* xs); double xs1024star_next_real(xs1024star_t* xs); void xs1024star_seed(uint64_t seed, xs1024star_t* xs); void xs1024star_seed(xs1024star_t* xs); int read_nd_cd(...
HPCGraphAnalysis/bicc
tcc/tcc_bfs.h
#ifndef _TCC_BFS_H_ #define _TCC_BFS_H_ #include "graph.h" void tcc_bfs_do_bfs(graph* g, int root, int* parents, int* levels, int**& level_queues, int* level_counts, int& num_levels); void tcc_bfs_find_separators(graph* g, int* parents, int* levels, int** level_queues, int* level_counts, int num_levels, ...
HPCGraphAnalysis/bicc
bcc-hipc14/thread.h
#ifndef __thread_h__ #define __thread_h__ #define THREAD_QUEUE_SIZE 1024 inline void add_to_queue(int* thread_queue, int& thread_queue_size, int* queue_next, int& queue_size_next, int vert); inline void empty_queue(int* thread_queue, int& thread_queue_size, int* queu...
HPCGraphAnalysis/bicc
bcc-dist/art_pt_heuristic.h
#ifndef __ART_PT_HEURISTIC_H__ #define __ART_PT_HEURISTIC_H__ #include "bicc_dist.h" #include "dist_graph.h" #include "comms.h" void art_pt_heuristic(dist_graph_t* g, mpi_data_t* comm, queue_data_t* q, uint64_t* parents, uint64_t* levels, uint64_t* art_pt_flags); #endif
HPCGraphAnalysis/bicc
bcc-dist-2/label_prop.h
#ifndef __label_prop_h__ #define __label_prop_h__ #include<mpi.h> #include<omp.h> #include "dist_graph.h" #include<iostream> #include<fstream> #include<vector> #include<queue> #include<set> #include<algorithm> extern int procid, nprocs; extern bool verbose, debug, verify, output; //do abbreviated LCA traversals to...
HPCGraphAnalysis/bicc
bcc-hipc14/graph.h
#ifndef __graph_h__ #define __graph_h__ typedef struct { int n; unsigned m; int* out_array; unsigned* out_degree_list; int max_degree_vert; double avg_out_degree; } graph; #define out_degree(g, n) (g->out_degree_list[n+1] - g->out_degree_list[n]) #define out_vertices(g, n) (&g->out_array[g->out_degree_list...
HPCGraphAnalysis/bicc
bcc-dist-3/fast_map.h
/* //@HEADER // ***************************************************************************** // // HPCGraph: Graph Computation on High Performance Computing Systems // Copyright (2016) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government r...
HPCGraphAnalysis/bicc
tcc/fast_ts_map.h
<filename>tcc/fast_ts_map.h #ifndef _FAST_TS_MAP_H_ #define _FAST_TS_MAP_H_ #include <omp.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #define NULL_KEY 0 struct entry { uint64_t key; bool val; } ; struct fast_ts_map { entry* arr; uint64_t capacity; } ; void init_map(fast_ts_map* map, uint6...
HPCGraphAnalysis/bicc
bcc-dist-2/dist_graph.h
/* //@HEADER // ***************************************************************************** // // XtraPuLP: Xtreme-Scale Graph Partitioning using Label Propagation // Copyright (2016) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government r...
HPCGraphAnalysis/bicc
bcc-hipc14/bcc_bfs.h
#ifndef __bcc_bfs_h__ #define __bcc_bfs_h__ #include "graph.h" void bcc_bfs(graph* g, int* bcc_maps, int max_levels); void bcc_bfs_do_bfs(graph* g, int root, int* parents, int* levels, int**& level_queues, int* level_counts, int& num_levels); void bcc_bfs_find_arts(graph* g, int* parents, int* levels, int**...
HPCGraphAnalysis/bicc
utils/fast_ts_map.h
<reponame>HPCGraphAnalysis/bicc<filename>utils/fast_ts_map.h #ifndef _FAST_TS_MAP_H_ #define _FAST_TS_MAP_H_ #define NULL_KEY 0 #define NULL_KEY32 4294967295U #define NULL_KEY64 18446744073709551615UL #include "stdint.h" struct entry { uint64_t key; uint64_t val; bool test; } ; struct fast_ts_map { entry* a...
HPCGraphAnalysis/bicc
bcc-hipc14/bcc_color.h
<reponame>HPCGraphAnalysis/bicc #ifndef __bcc_color_h__ #define __bcc_color_h__ #include "graph.h" void bcc_color(graph* g, int* bcc_maps); void bcc_color_do_bfs(graph* g, int root, int* parents, int* levels); int bcc_mutual_parent(graph* g, int* levels, int* parents, int vert, int out); void bcc_color_init_mut...
zheng-rong/vicon_mocap
vicon/include/vicon/ViconVelocity.h
<reponame>zheng-rong/vicon_mocap #ifndef __VICON_VELOCITY_H__ #define __VICON_VELOCITY_H__ #include <ros/ros.h> #include <tf/transform_datatypes.h> #include <geometry_msgs/Twist.h> #include <Eigen/Geometry> class ViconVelocity { public: ViconVelocity(); geometry_msgs::Twist getTwist(const tf::Pose &pose, const ...
zheng-rong/vicon_mocap
vicon/include/vicon/ViconSubjectPublisher.h
#ifndef __VICON_VICON_SUBJECT_PUBLISHER_H__ #define __VICON_VICON_SUBJECT_PUBLISHER_H__ #include <ros/ros.h> #include "vicon/Subject.h" #include <Eigen/Geometry> class ViconSubjectPublisher { public: ViconSubjectPublisher(ros::Publisher &pub); void publish(vicon::Subject &subject); void calcAndSetTwist(vicon:...
zheng-rong/vicon_mocap
libvicon_driver/include/ViconDriver.h
<gh_stars>1-10 #ifndef __VICON_DRIVER_H__ #define __VICON_DRIVER_H__ #include <stdint.h> #include <string> #include <vector> #include <pthread.h> namespace ViconDataStreamSDK { namespace CPP { class Client; } } class ViconDriver { public: typedef struct _Marker { std::string name; std::string subject_na...
zheng-rong/vicon_mocap
vicon_odom/include/vicon_odom/filter.h
<reponame>zheng-rong/vicon_mocap<filename>vicon_odom/include/vicon_odom/filter.h<gh_stars>1-10 #include <Eigen/Core> class KalmanFilter { public: static const int n_states = 6; static const int n_meas = 3; typedef Eigen::Matrix<double, n_states, 1> State_t; typedef Eigen::Matrix<double, n_states, n_states> Pr...
zheng-rong/vicon_mocap
libvicon_driver/include/ViconCalib.h
#ifndef __VICON_CALIB_H__ #define __VICON_CALIB_H__ #include <Eigen/Geometry> #include <vector> #include <map> namespace ViconCalib { bool loadZeroPoseFromFile(const std::string &filename, Eigen::Affine3d &zero_pose); bool saveZeroPoseToFile(const Eigen::Affine3d &zero_pose, const std::string &filename); bool...
Brandhoej/Y86-64-VM
src/writer.h
<filename>src/writer.h #ifndef cero_writer_h #define cero_writer_h #include "common.h" #include "value.h" /* Encodings */ #define REG_SPEC_ENC_RARB(rA, rB) ((rA << 4) | rB) #define REG_SPEC_ENC_RA(ra) (REG_SPEC_ENC_RARB(ra, REG_F)) #define REG_SPEC_ENC_RB(rb) (REG_SP...
Brandhoej/Y86-64-VM
src/vm.c
<reponame>Brandhoej/Y86-64-VM<gh_stars>0 #include <stdio.h> #include <inttypes.h> #include <math.h> #include "common.h" #include "vm.h" #include "memory.h" #include "writer.h" #include "printer.h" void initVM(VM* vm) { vm->registers = NULL; vm->memory = NULL; vm->registers = INIT_ARRAY(vm_quad_t, vm->r...
Brandhoej/Y86-64-VM
src/printer.c
#include "printer.h" void printRegisters(VM* vm) { const vm_quad_t columnCount = 3; const vm_quad_t rowCount = REG_COUNT / columnCount + 1; const vm_quad_t offset = rowCount * columnCount - REG_COUNT; for (vm_quad_t r = 0; r < rowCount; ++r) { CERO_TRACE(); for (vm_quad_t c = 0;...
Brandhoej/Y86-64-VM
src/memory.c
<filename>src/memory.c<gh_stars>0 #include <stdlib.h> #include "memory.h" /* Operation to perform based on the actual parameters: * /---------------------------------------------------------------\ * | oldSize | newSize | Operation | * |----------+----------------------+------------...
Brandhoej/Y86-64-VM
src/common.h
#ifndef cero_common_h #define cero_common_h #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <inttypes.h> #include "logger.h" #define DEBUG_TRACE_EXECUTION #endif
Brandhoej/Y86-64-VM
src/printer.h
<reponame>Brandhoej/Y86-64-VM #ifndef cero_printer_h #define cero_printer_h #include "common.h" #include "vm.h" #define DEBUG_TRACE_EXECUTION #include "printer.h" void printRegisters(VM* vm); void printFlagsAndStatusAndPc(VM* vm); void printStack(VM* vm); void printMemory(VM* vm); #endif
Brandhoej/Y86-64-VM
src/main.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "writer.h" #include "common.h" #include "vm.h" int main(int argc, const char* argv[]) { VM vm; initVM(&vm); Writer writer; initWriter(&writer, vm.memory, 0); irmovqWrite(&writer, REG_R10, 0); irmovqWrite(&writer, REG_R11, 0);...
Brandhoej/Y86-64-VM
src/vm.h
<gh_stars>0 #ifndef creo_vm_h #define creo_vm_h #include "value.h" /* This is the memory for the VM */ #define MEM_MAX (256) /* How to reserve memory: Expand the */ /* Conceptually, the stack is divided into two areas: * high addresses are all in use and reserved (you can't change these values!), * and ...
Brandhoej/Y86-64-VM
src/value.h
<gh_stars>0 #ifndef cero_value_h #define cero_value_h #include "common.h" typedef uint8_t vm_ubyte_t; typedef int8_t vm_byte_t; typedef int16_t vm_word_t; typedef int32_t vm_double_t; typedef int64_t vm_quad_t; #endif
Brandhoej/Y86-64-VM
src/writer.c
<reponame>Brandhoej/Y86-64-VM #include "writer.h" #include "vm.h" void initWriter(Writer* writer, vm_byte_t* destination, uint32_t offset) { writer->offset = offset; writer->destination = destination; } void freeWriter(Writer* writer) { initWriter(writer, NULL, 0); } static inline void writeBytes(Wr...
Brandhoej/Y86-64-VM
src/logger.h
#ifndef cero_logger_h #define cero_logger_h #include <stdio.h> #include <stdarg.h> #include <stdbool.h> #include <time.h> #include <string.h> #include <stdlib.h> #include "common.h" #define ANSI_COLOR_BLACK "\x1b[30m" #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" ...
JBlaschke/cctbx_project
iotbx/pdb/modified_rna_dna_names.h
/* This file contains all residue names for modified RNA/DNAs. This file is generated by the following procedure: phenix.python elbow/elbow/scripts/process_amino_acid_parentage_from_chemical_componts.py This file is intended to be generated monthly. The date of file generation: Fri Feb 28 14:23:03 2020 */ #include...
JBlaschke/cctbx_project
iotbx/detectors/display.h
/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ #ifndef DETECTORS_IMAGE_DISPV_H #define DETECTORS_IMAGE_DISPV_H #include <vector> #include <algorithm> #include <limits> #include <boost/python.hpp> #include <boost/shared_ptr.hpp> #include <scitbx/constants.h> #include <scitbx/array_fam...
sopig/PGNetworking
Classes/encryption/JXRSA.h
<reponame>sopig/PGNetworking<gh_stars>1-10 // // JXRSA.h // jiuxian // // Created by Dely on 15/9/11. // Copyright (c) 2015年 <EMAIL>. All rights reserved. // /** * 本类主要des加密的base64编码后的key进行加解密 */ #import <Foundation/Foundation.h> #import "CRSA.h" #import <Base64.h> @interface JXRSA : NSObject /** * 导入本地公钥是...
sopig/PGNetworking
Classes/PGLogs.h
// // PGLogs.h // Pods // // Created by 张正超 on 16/6/22. // // #import <Foundation/Foundation.h> #import "PGASLMessage.h" FOUNDATION_EXPORT NSString *const PGLogEnable; @interface PGLogs : NSObject + (void)log:(NSString *)content, ... ; + (NSMutableArray *)fetchLog; @end
sopig/PGNetworking
Classes/PGNetworking.h
<filename>Classes/PGNetworking.h // // PGNetworking.h // PGNetworking // // Created by 张正超 on 16/4/5. // Copyright © 2016年 张正超. All rights reserved. // #ifndef PGNetworking_h #define PGNetworking_h #import <ReactiveCocoa.h> #import <AFNetworking.h> #import <YTKKeyValueStore.h> #import <MJExtension.h> #import "PGN...
sopig/PGNetworking
Classes/encryption/JXUUID.h
<gh_stars>1-10 // // JXUUID.h // jiuxian // // Created by Dely on 15/9/11. // Copyright (c) 2015年 <EMAIL>. All rights reserved. // /** * 本类主要生成des加密的随机数 */ #import <Foundation/Foundation.h> #import <Base64.h> @interface JXUUID : NSObject /** * 获取uuid * * @return 获取uudid String */ + (NSString *)uuid; /*...
sopig/PGNetworking
Classes/PGNetwokingType.h
// // PGNetwokingType.h // PGNetworking // // Created by tolly on 16/4/5. // Copyright © 2016年 张正超. All rights reserved. // #ifndef PGNetwokingType_h #define PGNetwokingType_h ///////////////////////////////////////////////////////////////////// typedef NS_ENUM (NSUInteger, PGNetworkingServiceType){ PGNetwork...
sopig/PGNetworking
APILookUP.h
<reponame>sopig/PGNetworking // // APILookUP.h // PGNetworking // // Created by 张正超 on 16/7/6. // Copyright © 2016年 张正超. All rights reserved. // #import <PGNetworking/PGNetworking.h> @interface APILookUP : PGAPIBase @end
sopig/PGNetworking
Classes/encryption/JXEncryption.h
<gh_stars>1-10 // // JXEncryption.h // PGNetworking // // Created by tolly on 16/4/11. // Copyright © 2016年 张正超. All rights reserved. // #ifndef JXEncryption_h #define JXEncryption_h #import "CRSA.h" #import "JXDES.h" #import "JXRSA.h" #import "CRSA.h" #import "JXUUID.h" #endif /* JXEncryption_h */
sopig/PGNetworking
PGNetworking/APIRegion.h
<reponame>sopig/PGNetworking // // APIRegion.h // PGNetworking // // Created by 张正超 on 16/4/12. // Copyright © 2016年 张正超. All rights reserved. // #import "PGBaseAPIEntity.h" #import "PGAPIBase.h" @interface APIRegion : PGAPIBase @end
sopig/PGNetworking
PGNetworking/APIFunctionSwitch.h
// // APIFunctionSwitch.h // PGNetworking // // Created by 张正超 on 16/6/12. // Copyright © 2016年 张正超. All rights reserved. // #import <PGNetworking/PGNetworking.h> @interface APIFunctionSwitch : PGAPIBase @end
sopig/PGNetworking
Classes/PGBaseModel.h
<gh_stars>1-10 // // PGBaseModel.h // Pods // // Created by 张正超 on 16/4/14. // // #import <Foundation/Foundation.h> @interface PGBaseModel : NSObject @property (nonatomic , strong) NSString *errCode; @property (nonatomic , strong) NSString *errMsg; @property (nonatomic , strong) NSDictionary *result; @property (...
sopig/PGNetworking
Classes/encryption/JXDES.h
<gh_stars>1-10 // // JXDES.h // jiuxian // // Created by Dely on 15/9/10. // Copyright (c) 2015年 <EMAIL>. All rights reserved. // /** * 本类主要对传输数据进行加解密 */ #import <Foundation/Foundation.h> #import <CommonCrypto/CommonDigest.h> #import <CommonCrypto/CommonCryptor.h> #import <Security/Security.h> #import <Base64....
sopig/PGNetworking
Classes/PGNetworkingPrivate.h
// // PGNetworkingPrivate.h // Pods // // Created by 张正超 on 16/6/14. // // #import <Foundation/Foundation.h> @interface PGNetworkingPrivate : NSObject //+ (BOOL)checkJson:(id)json; + (BOOL)checkJson:(id)json withValidator:(id)validatorJson ; @end
sopig/PGNetworking
Classes/PGAPIResponse.h
<reponame>sopig/PGNetworking<filename>Classes/PGAPIResponse.h // // PGAPIResponse.h // PGNetworking // // Created by 张正超 on 16/4/6. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import "PGNetwokingType.h" @interface PGAPIResponse : NSObject @property (nonatomic, assign) PGAP...
sopig/PGNetworking
regionModel.h
<filename>regionModel.h // // regionModel.h // PGNetworking // // Created by tolly on 16/4/14. // Copyright © 2016年 张正超. All rights reserved. // #import <PGNetworking/PGNetworking.h> #import <PGBaseModel.h> @interface regionModel : PGBaseModel @end
sopig/PGNetworking
Classes/Assistants/NSString+urlEncoding.h
// // NSString+urlEncoding.h // PGNetworking // // Created by tolly on 16/4/8. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (urlEncoding) - (NSString *)trimLeftAndRight; - (NSString *)urlEncoding; - (NSString *)urlDecoding; @end
sopig/PGNetworking
Classes/Cache/JXCache.h
<filename>Classes/Cache/JXCache.h<gh_stars>1-10 // // JXCache.h // jiuxian // // Created by 张正超 on 15/12/10. // Copyright © 2015年 jiux<EMAIL>. All rights reserved. // #import <Foundation/Foundation.h> #import "YTKKeyValueStore.h" #import "PGNetworking.h" @interface JXCache : NSObject + (instancetype)cache; // ...
sopig/PGNetworking
lib/lib/lib.h
// // lib.h // lib // // Created by tolly on 16/4/16. // Copyright © 2016年 tolly. All rights reserved. // #import <Foundation/Foundation.h> @interface lib : NSObject + (void)copyRight; @end
sopig/PGNetworking
Classes/encryption/CRSA.h
// // CRSA.h // MGJH5ContainerDemo // // Created by xinba on 4/28/14. // Copyright (c) 2014年 juangua. All rights reserved. // #import <Foundation/Foundation.h> #include <openssl/rsa.h> #include <openssl/pem.h> #include <openssl/err.h> typedef enum { KeyTypePublic, KeyTypePrivate }KeyType; typedef enum { ...
sopig/PGNetworking
Classes/PGAPIEngine.h
<reponame>sopig/PGNetworking // // PGAPIEngine.h // PGNetworking // // Created by tolly on 16/4/6. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import "PGNetworking.h" FOUNDATION_EXPORT NSString * const rawDecryptString ; @interface PGAPIEngine : NSObject + (instancetype)...
sopig/PGNetworking
Classes/JXAppContext.h
// // JXAppContext.h // PGNetworking // // Created by 张正超 on 16/4/5. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import "PGNetworking.h" @interface JXAppContext : NSObject<PGCommonParams> @end
sopig/PGNetworking
PGNetworking/APIBestPay.h
// // APIBestPay.h // jiuxian // // Created by 张正超 on 16/6/12. // Copyright © 2016年 <EMAIL>. All rights reserved. // #import <PGNetworking/PGNetworking.h> #import <PGAPIBase.h> @interface APIBestPay : PGAPIBase @end
sopig/PGNetworking
Classes/PGMacros.h
// // PGMacros.h // PGNetworking // // Created by tolly on 16/4/6. // Copyright © 2016年 张正超. All rights reserved. // #ifndef PGMacros_h #define PGMacros_h #ifndef weakify #if __has_feature(objc_arc) #define weakify(x) autoreleasepool {} __weak __typeof__(x) __weak_ ## x ## __ = x; #else // #if __has_feature(objc_...
sopig/PGNetworking
Classes/PGNetworkingConfig.h
// // PGNetworkingConfig.h // PGNetworking // // Created by 张正超 on 16/4/5. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import "PGBaseAPIEntity.h" #define DATAKEY @"k1" //加密数据key #define ENCRPTYKEY @"k2" //密钥数据key #define HTTPTYPE @"k3" //系统型号参数 #define H...
sopig/PGNetworking
Classes/PGNetworkingReachability.h
// // PGNetworkingReachability.h // PGNetworking // // Created by tolly on 16/4/6. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import <AFNetworkReachabilityManager.h> #import <ReactiveCocoa.h> @interface PGNetworkingReachability : NSObject + (RACSignal *)openNetworkCheck...
sopig/PGNetworking
Classes/PGASLMessage.h
// // PGASLMessage.h // Pods // // Created by 张正超 on 16/6/27. // // #import <Foundation/Foundation.h> #import <asl.h> @interface PGASLMessage : NSObject @property (nonatomic , nullable , copy) NSString *ASL_TIME; @property (nonatomic , nullable , copy) NSString *ASL_SENDER; @property (nonatomic , nullable , copy)...
sopig/PGNetworking
Classes/PGBaseAPIEntity.h
// // PGBaseAPIManager.h // PGNetworking // // Created by tolly on 16/4/5. // Copyright © 2016年 张正超. All rights reserved. // #import <Foundation/Foundation.h> #import "PGNetwokingType.h" //调用成功之后的params里取出 requestId static NSString *_Nonnull const kPGBaseAPIEntityRequestID = @"kPGBaseAPIEntityRequestID"; @class ...
sopig/PGNetworking
Classes/PGAPIBase.h
<gh_stars>1-10 // // APIBase.h // PGNetworking // // Created by tolly on 16/4/12. // Copyright © 2016年 张正超. All rights reserved. // #import "PGBaseAPIEntity.h" #import "PGBaseModel.h" #define PGDeprecated(instead) NS_DEPRECATED_IOS(2_0, 2_0, instead) @interface PGAPIBase : PGBaseAPIEntity<PGAPIEntity,PGAPIRespon...
FabiSparbi/depth_nav_tools_cp
laserscan_kinect/include/laserscan_kinect/laserscan_kinect.h
/****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2016, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
FabiSparbi/depth_nav_tools_cp
cliff_detector/include/cliff_detector/cliff_detector_node.h
<reponame>FabiSparbi/depth_nav_tools_cp<filename>cliff_detector/include/cliff_detector/cliff_detector_node.h /****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2015, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution...
FabiSparbi/depth_nav_tools_cp
cliff_detector/include/cliff_detector/cliff_detector.h
/****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2015, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
FabiSparbi/depth_nav_tools_cp
laserscan_kinect/include/laserscan_kinect/laserscan_kinect_node.h
/****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2016, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
FabiSparbi/depth_nav_tools_cp
depth_sensor_pose/include/depth_sensor_pose/depth_sensor_pose.h
<filename>depth_sensor_pose/include/depth_sensor_pose/depth_sensor_pose.h /****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2016, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms...
FabiSparbi/depth_nav_tools_cp
nav_layer_from_points/include/nav_layer_from_points/costmap_layer.h
/****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2015, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
FabiSparbi/depth_nav_tools_cp
depth_sensor_pose/include/depth_sensor_pose/depth_sensor_pose_node.h
/****************************************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2015, <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
ahurta92/nwchem-1
src/tce/ccsd_t/hybrid.c
<filename>src/tce/ccsd_t/hybrid.c<gh_stars>1-10 /*------------------------------------------hybrid execution------------*/ /* $Id$ */ #include <assert.h> ///#define NUM_DEVICES 1 #define OLD_CUDA 1 static long long device_id=-1; #include <stdio.h> #include <stdlib.h> #ifdef TCE_HIP #include <hip/hip_runtime_api.h> #end...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/ControlProperty.h
#pragma once typedef void* interactive_session; namespace Microsoft { namespace Mixer { namespace MixPlay { public enum class PropertyType { interactive_unknown_t, interactive_int_t, interactive_bool_t, interactive_float_t, interactive_string_t, interactive_array_t, inter...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/InputEventArgs.h
<reponame>mscherotter/Microsoft.Mixer.MixPlay #pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class InputEventArgs sealed { public: InputEventArgs(); property Platform::String^ ControlId; property Platform::String^ ParticipantId; property bool IsDown;...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/Group.h
#pragma once struct interactive_group; namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class Group sealed { public: property Platform::String^ Id; property Platform::String^ SceneId; internal : Group(const interactive_group* pGroup); }; } } }
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/MoveEventArgs.h
#pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class MoveEventArgs sealed { public: MoveEventArgs(float x, float y, Platform::String^ participantId); property float X; property float Y; property Platform::String^ ParticipantId; property Platform::...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/StateChangedEventArgs.h
<filename>Microsoft.Mixer/StateChangedEventArgs.h #pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public enum class InteractiveState { interactive_disconnected, interactive_connecting, interactive_connected, interactive_ready }; public ref class StateChangedE...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/Interactive.h
<filename>Microsoft.Mixer/Interactive.h<gh_stars>0 #pragma once struct InteractiveImpl; struct interactive_input; enum interactive_state; typedef void* interactive_session; namespace Microsoft { namespace Mixer { namespace MixPlay { ref class InputEventArgs; ref class LaunchEventArgs; ref class MoveEv...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/Conversion.h
<gh_stars>0 #pragma once using namespace Platform; Platform::String^ ToPlatformString(const char* pString, size_t length); const std::string ToString(Platform::String^ pString); const std::string ToString(const std::wstring& string_to_convert); const std::wstring ToWString(const std::string& str);
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/LaunchEventArgs.h
<reponame>mscherotter/Microsoft.Mixer.MixPlay<filename>Microsoft.Mixer/LaunchEventArgs.h #pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class LaunchEventArgs sealed { public: LaunchEventArgs(Windows::Foundation::Uri^ uri); property Windows::Foundation::Uri^ ...
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/ErrorEventArgs.h
<reponame>mscherotter/Microsoft.Mixer.MixPlay<gh_stars>0 #pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class ErrorEventArgs sealed { public: ErrorEventArgs(); property int Error; property Platform::String^ Message; }; } } }
mscherotter/Microsoft.Mixer.MixPlay
Microsoft.Mixer/Control.h
<reponame>mscherotter/Microsoft.Mixer.MixPlay #pragma once namespace Microsoft { namespace Mixer { namespace MixPlay { public ref class Control sealed { public: Control(); property Platform::String^ Kind; property Platform::String^ Id; }; } } }