repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMHTTPBasicAuthenticationService.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMAuthenticationService.h"
#import "OMHTTPBasicConfiguration.h"
@interface OMHTTPBasicAuthenticationService : OMAuthenticationService
... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMOAMOAuthConfiguration.h | <gh_stars>10-100
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMOAuthConfiguration.h"
#import "OMMobileSecurityService.h"
#import "OMToken.h"
@interface OMOAMOAuthConfiguration : OMOAuthConfiguration
@property (nonatomic, strong) NSURL *... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/SecureStorage/OMDataSerializationHelper.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMDataSerializationHelper : NSObject
+ (BOOL)serializeData:(id)data toFile:(NSString*)filePath;
+ (id)deserializeDataFromFile:(NSString*)filePath;
+ (id)s... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMFedAuthAuthenticationService.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMAuthenticationService.h"
@class OMFedAuthConfiguration;
@interface OMFedAuthAuthenticationService : OMAuthenticationService
@property(nonatomic, weak) OMFedAuthConfiguration *configuration;... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/CredentialStoreService/OMCredential.h | <gh_stars>10-100
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMCredential : NSObject
@property (nonatomic, strong) NSString *userName;
@property (nonatomic, strong) NSString *userPassword;
@property ... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/Common/OMJSONUtlity.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMJSONUtlity : NSObject
+ (NSString *)getJSONRepresentation:(id)jsonObj prettyPrint:(BOOL)prettyPrint ;
@end
|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/KeyManager/OMKeyManager.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@class OMKeyStore;
@interface OMKeyManager : NSObject
+ (OMKeyManager *)sharedManager;
- (OMKeyStore*)createKeyStore:(NSString *)keyStoreId kek:(NSData*)kek
... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMServiceDiscoveryHandler.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMAuthenticationService.h"
typedef void (^OMServiceDiscoveryCallback)(NSDictionary * propertiesJSON,
NSError * discoveryError);
@interface OMServiceDiscoveryHandler : OMAuthenticationService
... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMOIDCAuthenticationService.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMOAuthAuthenticationService.h"
@interface OMOIDCAuthenticationService : OMOAuthAuthenticationService
@property (nonatomic, strong) NSString *idToken;
@end
|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/LocalAuthentication/OMAuthData.h | <gh_stars>10-100
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMAuthData : NSObject
- (instancetype)initWithData:(NSData*)data;
- (NSData *)data;
- (NSString*)authDataStr;
@end
|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMIDCSClientRegistrationService.h | <filename>src/ios/sdk/IDMMobileSDKv2/OMIDCSClientRegistrationService.h
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMOAuthAuthenticationService.h"
@interface OMIDCSClientRegistrationService : OMOAuthAuthenticationService
@property (no... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/BaseClass/OMErrorCodes.h | <reponame>x-and/cordova-plugin-oracle-idm-auth
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
///////////////////////////////////////////////////////////////////////////////
// Define all error codes here. It shall be of the format given below. Assi... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/SecureStorage/OMSecureStorage.h | <filename>src/ios/sdk/IDMMobileSDKv2/SecureStorage/OMSecureStorage.h
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@class OMKeyStore;
@interface OMSecureStorage : NSObject
- (id)initWithKeyStore:(OMKeyStore*)key... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/IDMMobileSDKv2.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <UIKit/UIKit.h>
//! Project version number for IDMMobileSDKv2.
FOUNDATION_EXPORT double IDMMobileSDKv2VersionNumber;
//! Project version string for IDMMobileSDKv2.
FOUNDATION_EXPORT const uns... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMOAMUserAssertionService.h | <reponame>x-and/cordova-plugin-oracle-idm-auth
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMAuthenticationService.h"
@interface OMOAMUserAssertionService : OMAuthenticationService
@end
|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMAuthorizationCodeGrant.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMAuthorizationGrant.h"
#import "OMOAuthWebViewHandler.h"
@interface OMAuthorizationCodeGrant : OMAuthorizationGrant
@property (nonatomic, strong) NSString *authCode;
@property (nonatomic) vol... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/Common/OMASN1Node.h | <gh_stars>10-100
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMASN1Node : NSObject
{
@private
NSMutableArray *_childList;
NSString *_tag;
NSString *_value;
}
@property(nonatomic, retain) N... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/LocalAuthentication/OMLocalAuthenticationManager.h | <reponame>x-and/cordova-plugin-oracle-idm-auth
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@class OMAuthenticator;
@interface OMLocalAuthenticationManager : NSObject
+ (OMLocalAuthenticationManager *)sharedMana... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMOpenIDCServiceDiscovery.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMDefinitions.h"
#import "OMErrorCodes.h"
typedef void (^OMOpenIDCDiscoveryCallback)(NSMutableDictionary *_Nullable propertiesJSON,
... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/CredentialStoreService/OMClassicCredential.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface OMClassicCredential : NSObject
- (id)getCredentialForKey:(NSString*)key;
@end
NS_ASSUME_NONNULL_END
|
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMCertInfo.h | <reponame>x-and/cordova-plugin-oracle-idm-auth<filename>src/ios/sdk/IDMMobileSDKv2/OMCertInfo.h
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMCertInfo : NSObject
{
@private
NSString *_commonName;
... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMAuthenticationContext.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMCredential.h"
enum
{
OMLocal = 1,
OMRemote = 2
};
typedef NSUInteger OMAuthenticationMode;
enum
{
OMSessionTimer,
OMIdleTimer
};
typedef NS... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMAuthenticationDelegate.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@protocol OMAuthenticationDelegate <NSObject>
- (void)didFinishCurrentStep: (id)object
nextStep: (NSUInteger)nextStep
authResponse... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMClientCertConfiguration.h | /**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMMobileSecurityConfiguration.h"
@interface OMClientCertConfiguration : OMMobileSecurityConfiguration
@property (nonatomic, retain) NSSet *requiredTokens;
@p... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/CredentialStoreService/OMKeyChain.h | <filename>src/ios/sdk/IDMMobileSDKv2/CredentialStoreService/OMKeyChain.h
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
@interface OMKeyChain : NSObject
+ (void)setItem:(id)item forKey:(NSString*)key
accessGro... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMCSRFRequestHandler.h | //
// OMCSRFRequestHandler.h
// IDMMobileSDKv2
//
// Created by <NAME> on 17/02/20.
// Copyright © 2020 Oracle. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OMFedAuthConfiguration.h"
NS_ASSUME_NONNULL_BEGIN
typedef void (^TokenRelayHandler)(id response, NSError *error);
@interface OMCSRFRe... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/Common/OMOTPService.h | <reponame>x-and/cordova-plugin-oracle-idm-auth<filename>src/ios/sdk/IDMMobileSDKv2/Common/OMOTPService.h
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import <Foundation/Foundation.h>
#import "OMObject.h"
#import "OMCryptoService.h"
@interface ... |
x-and/cordova-plugin-oracle-idm-auth | src/ios/sdk/IDMMobileSDKv2/OMIDCSClientRegistrationToken.h | <gh_stars>10-100
/**
* Copyright (c) 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
#import "OMToken.h"
@interface OMIDCSClientRegistrationToken : OMToken
@property (nonatomic, strong) NSString *clientID;
@property (nonatomic, strong) NSString *clientName;
@property ... |
JasonDeras/Proyecto2_CTJ_EDD1 | Arista.h | #ifndef ARISTA_H
#define ARISTA_H
#include "Object.h"
#include <string>
using namespace std;
class Arista : public Object{
public:
Arista();
Arista(int, int, int);
~Arista();
int getOrigen();
int getDireccion();
int get... |
JasonDeras/Proyecto2_CTJ_EDD1 | TDA_Tree.h | <reponame>JasonDeras/Proyecto2_CTJ_EDD1
#ifndef TDA_TREE_H
#define TDA_TREE_H
#include <vector>
#include "Tree_Node.h"
using std::vector;
class TDA_Tree{
public:
TDA_Tree(int n_Nodos);
TDA_Tree(vector<Tree_Node*> arbol);
Tree_Node* Padre(Tree_Node* t_Node);
Tr... |
JasonDeras/Proyecto2_CTJ_EDD1 | Grafo.h | <gh_stars>0
#ifndef GRAFO_H
#define GRAFO_H
#include <vector>
#include <iostream>
#include <climits>
using namespace std;
class Grafo
{
public:
Grafo(string nombrearchivo);
Grafo(int nodos);
void Crear_Aristas(int origen, int destino, int peso);
vector<string> Split(string linea, char deliminator... |
JasonDeras/Proyecto2_CTJ_EDD1 | Object.h | #ifndef OBJECT_H
#define OBJECT_H
#include <string>
using std::string;
class Object{
public:
Object();
virtual int Comparar(Object*) = 0;
virtual string toString() = 0;
virtual ~Object() {}
};
#endif |
JasonDeras/Proyecto2_CTJ_EDD1 | Tree_Node.h | <gh_stars>0
#ifndef TREE_NODE_H
#define TREE_NODE_H
#include "Object.h"
class Tree_Node : public Object{
public:
Tree_Node(Tree_Node* padre, Tree_Node* hijo_izquierdo, Tree_Node* hijo_derecho, string etiqueta);
Tree_Node* getPadre();
void setPadre(Tree_Node* padre);
Tree_N... |
cogniteam/cogniteam_ros2 | include/cognitao_ros2/runner/Ros2Runner.h | /**
* @brief ROS 2 cognitao runner
*
* @file Ros2Runner.h
*
* @author <NAME> (<EMAIL>)
* @date 2020-03-15
* @copyright Cogniteam (c) 2020
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the 'So... |
cogniteam/cogniteam_ros2 | include/cognitao_ros2/server/Ros2ActionContext.h | <reponame>cogniteam/cogniteam_ros2
/**
* @brief ROS 2Action Wait Server
*
* @file Ros2ActionContext.h
*
* @author <NAME> (<EMAIL>)
* @date 2020-03-15
* @copyright Cogniteam (c) 2020
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software ... |
cogniteam/cogniteam_ros2 | include/cognitao_ros2/data_source/Ros2DataSource.h | /*
* RosDataSource.h
* @author <NAME> (<EMAIL>)
* @date 2020-03-15
* @copyright Cogniteam (c) 2020
*
*
* Cogniteam LTD CONFIDENTIAL
*
* Unpublished Copyright (c) 2010-2020 Cogniteam, All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains the property
* of Cogniteam. ... |
cogniteam/cogniteam_ros2 | include/cognitao_ros2/server/Ros2ActionServer.h | <filename>include/cognitao_ros2/server/Ros2ActionServer.h
/**
* @brief ROS 2 Action Server
*
* @file Ros2ActionServer.h
*
* @author <NAME> (<EMAIL>)
* @date 2020-03-15
* @copyright Cogniteam (c) 2020
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
*... |
graphicsfuzz/get-image-hlsl | get-image-hlsl/stdafx.h | <gh_stars>0
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define _WIN32_WINNT 0x600
#undef NDEBUG
#define DEBUG
#define NOMINMAX
#include <Windows.h>
#include "targetver.h"
#include <iost... |
renatoferrarezi/keyboard_isr_routine | keyboard.h | <gh_stars>0
#ifndef KEYBOARD_h
#define KEYBOARD_h
#include <avr/interrupt.h>
#include <Arduino.h>
#define KBD_BUFFER_SIZE 0x14
class keyboard
{
public:
keyboard(uint8_t kbl1, uint8_t kbl2, uint8_t kbl3, uint8_t kbl4, uint8_t kbr1, uint8_t kbr2, uint8_t kbr3, uint8_t kbr4);
void timer_set(unsign... |
orrinjelo/AdventOfCode2019 | cpp/include/utils.h | <reponame>orrinjelo/AdventOfCode2019
#pragma once
#include <vector>
#include <sstream>
template<class T>
std::string vectorToString(std::vector<T> v)
{
bool first = true;
std::stringstream ss;
for (auto x: v)
{
if (!first)
{
ss << ", ";
}
ss << x;
fi... |
orrinjelo/AdventOfCode2019 | cpp/include/operators.h | #pragma once
#include <vector>
#include <functional>
typedef int64_t big_int;
typedef std::vector<big_int> vector_big_int;
class Operators
{
public:
Operators() {};
~Operators() {};
void add(
vector_big_int &program,
int &pc,
int offset=0
);
v... |
orrinjelo/AdventOfCode2019 | cpp/include/vm.h | <gh_stars>1-10
#pragma once
#include <functional>
#include <string>
#include <vector>
#include <fstream>
#include "operators.h"
class VM
{
public:
enum OpCode {
ADD = 1,
MUL = 2,
INP = 3,
PRT = 4,
JMP = 5,
JMF = 6,
LTN = 7,
EQL = 8,
REL = 9,... |
toiletsnakes/DATReaderC | C/fileheader.c | <filename>C/fileheader.c<gh_stars>0
#include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "fileheader.h"
#include "byteswap.h"
#define KNRM "\x1B[0m"
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
#define KBLU "\x1B[34m"
#define KMAG... |
toiletsnakes/DATReaderC | C/byteswap.c | <reponame>toiletsnakes/DATReaderC
#include <inttypes.h>
#include "byteswap.h"
#include <stdio.h>
// int main(int argc, char const *argv[])
// {
// littleEndian();
// return 0;
// }
uint32_t byteswap32(uint32_t num32) {
if (littleEndian()) {
return ((num32>>3*8)&0x000000ff)| // move byte 3 to byte 0
... |
toiletsnakes/DATReaderC | C/fileheader.h | struct FileHeader
{
uint32_t fileSize;
uint32_t pointerTableOffset;
uint32_t pointerCount;
uint32_t rootNodeCount;
uint32_t referenceNodeCount;
char unknownString[4];
uint32_t unknownPadding1;
uint32_t unknownPadding2;
};
typedef struct FileHeader FileHeader;
struct FileHeader *FileH... |
toiletsnakes/DATReaderC | C/bonestructure.c | #include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "byteswap.h"
#include "inttypes.h"
#include "rootnodes.h"
#include "bonestructure.h"
#define DATA_BLOCK 0x20
#define KNRM "\x1B[0m"
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
... |
toiletsnakes/DATReaderC | C/pointertable.h | typedef uint32_t PointerTable;
PointerTable* GetPointersFromPointerTable(FILE *datFile, uint32_t pointerTableOffset, uint32_t count);
void PointerTable_print(PointerTable *pointerTable, uint32_t count);
void PointerTable_destroy(PointerTable *pointerTable); |
toiletsnakes/DATReaderC | C/rootnodes.c | <reponame>toiletsnakes/DATReaderC<filename>C/rootnodes.c<gh_stars>0
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "rootnodes.h"
#include "byteswap.h"
#define DATA_BLOCK 0x20
struct RootNode *RootNodes_create (uint32_t count) {
RootNode *rootNodes = m... |
toiletsnakes/DATReaderC | C/galereader.c | #include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
#include "fileheader.h"
#include "rootnodes.h"
#include "pointertable.h"
#include "byteswap.h"
#include "bonestructure.h"
#include "object.h"
#define DATA_BLOCK 0x20
int main(int argc, char const *argv[])
{
FILE *datFile = fopen("PlFcGr.dat", "rb");
... |
toiletsnakes/DATReaderC | C/rgba565.c | <reponame>toiletsnakes/DATReaderC<gh_stars>0
#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
void printRBGFromRGB365(uint16_t color);
struct Pixel
{
uint8_t red;
uint8_t green;
uint8_t blue;
};
typedef struct Pixel Pixel;
int main(int argc, char const *argv[])
{
/* code */
printRBG... |
toiletsnakes/DATReaderC | C/rootnodes.h | struct RootNode {
uint32_t dataOffset;
uint32_t stringOffset;
char *string;
};
typedef struct RootNode RootNode;
struct RootNode *RootNodes_create (uint32_t count);
void GetRootNodes(RootNode *rootNodes, FILE *fp, uint32_t offset, uint32_t count);
void RootNodes_destroy(RootNode *rootNodes);
void RootNodes_... |
toiletsnakes/DATReaderC | C/byteswap.h | uint32_t byteswap32(uint32_t num32);
uint16_t byteswap16(uint16_t num16);
float floatSwap(float floatIn);
int littleEndian(void); |
toiletsnakes/DATReaderC | C/bonestructure.h | struct BoneStructureRoot
{
//http://wiki.tockdom.com/wiki/HAL_DAT_(File_Format)#Bone_Structures_.28Root_Structure.29
uint32_t stringOffset;
uint32_t unknownFlags;
uint32_t childBoneStructOffset;
uint32_t nextBoneStructOffset;
uint32_t objectStructOffset;
float rotation_x;
float rotation_... |
toiletsnakes/DATReaderC | C/pointertable.c | #include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <inttypes.h>
#include "byteswap.h"
#include "pointertable.h"
#define DATA_BLOCK 0x20
#define KNRM "\x1B[0m"
#define KRED "\x1B[31m"
#define KGRN "\x1B[32m"
#define KYEL "\x1B[33m"
#define KBLU "\x1B[34m"
#define KMAG "\x1B[35m"
#define KCYN "\... |
toiletsnakes/DATReaderC | C/object.h | <reponame>toiletsnakes/DATReaderC
struct ObjectStruct
{
uint32_t stringOffset;
uint32_t nextObjectOffset;
uint32_t materialStructOffset;
uint32_t meshStructOffset;
};
typedef struct ObjectStruct ObjectStruct;
struct ObjectStruct *ObjectStruct_create(void);
void GetObjectStruct(ObjectStruct *objectStru... |
toiletsnakes/DATReaderC | C/object.c | <reponame>toiletsnakes/DATReaderC<gh_stars>0
#include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "byteswap.h"
#include "inttypes.h"
#include "rootnodes.h"
#include "bonestructure.h"
#include "object.h"
#define DATA_BLOCK 0x20
#define KNRM "\x1B[0m"
#define KR... |
NJasp/netwerkmesh | sniffer/main.c | /*
* Copyright (C) 2015-18 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup app_sniffer
* @brief Sniffer application based on the new net... |
NJasp/netwerkmesh | meshdemo/main.c | #define Q_SZ 64
#include <stdio.h>
#include "shell.h"
#include "msg.h"
#include "thread.h"
#include "net/gnrc.h"
#include "net/gnrc/netif.h"
#include "net/gnrc/netreg.h"
#include "net/gnrc/ipv6.h"
#define MAIN_QUEUE_SIZE (8)
extern int udp_cmd(int argc, char **argv);
extern void start_server(char *port_str);
... |
NJasp/netwerkmesh | stm32_test/send_test/main.c | <gh_stars>0
#include <stdio.h>
#include <mrf24j40.h>
#include <mrf24j40_params.h>
mrf24j40_t sender;
uint8_t data = 8;
int main(void)
{
/* init mrf24j40 */
mrf24j40_setup(&sender, mrf24j40_params);
mrf24j40_reset(&sender);
/* init for sending */
mrf24j40_tx_prepare(&sender);
mrf24j40_tx_load(&s... |
NJasp/netwerkmesh | stm32_test/recv_test/main.c | <filename>stm32_test/recv_test/main.c<gh_stars>0
#include <stdio.h>
#include <mrf24j40.h>
#include <mrf24j40_internal.h>
#include <mrf24j40_params.h>
int main(void)
{
/* init mrf24j40 */
mrf24j40_t dev;
mrf24j40_setup(&dev, mrf24j40_params);
mrf24j40_reset(&dev);
while(1) {
uint8_t buf;
mrf24j40_r... |
fpfis/vmod-drupal7 | src/vmod_drupal7.c | #include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
//#include "vrt.h"
#include "vsha256.h"
#include "cache/cache.h"
#include "vcc_if.h"
int
init_function(struct vmod_priv *priv, const struct VCL_conf *conf)
{
return 0;
}
/*
* Given a HTTP Host and a base path, return the resulting Drup... |
SearyBlue/st | colors/base16-chalk-theme.h | <gh_stars>0
/*
* base16-chalk-theme.h
*
* Base16: (https://github.com/chriskempson/base16)
*
* Authors:
*
* Scheme: <NAME> (http://chriskempson.com)
* Template: <NAME> <<EMAIL>>
*
*/
static const char *colorname[] = {
"#202020", /* base00 */
"#fb9fb1", /* base08 */
"#acc267", /* base0B */
"#ddb26f", /* base0A... |
SearyBlue/st | colors/base16-zenburn-theme.h | /*
* base16-zenburn-theme.h
*
* Base16: (https://github.com/chriskempson/base16)
*
* Authors:
*
* Scheme: elnawe
* Template: <NAME> <<EMAIL>>
*
*/
static const char *colorname[] = {
"#3f3f3f", /* base00 */
"#dca3a3", /* base08 */
"#5f7f5f", /* base0B */
"#e0cf9f", /* base0A */
"#7cb8bb", /* base0D */
"#dc... |
shaonianzhentan/raspberry-xunfei | include/msp_cmn.h | <reponame>shaonianzhentan/raspberry-xunfei
/**
* @file msp_cmn.h
* @brief Mobile Speech Platform Common Interface Header File
*
* This file contains the quick common programming interface (API) declarations
* of MSP. Developer can include this file in your project to build applications.
* For more infor... |
shaonianzhentan/raspberry-xunfei | include/msp_types.h | <reponame>shaonianzhentan/raspberry-xunfei
#ifndef __MSP_TYPES_H__
#define __MSP_TYPES_H__
#if !defined(MSPAPI)
#if defined(WIN32)
#define MSPAPI __stdcall
#else
#define MSPAPI
#endif /* WIN32 */
#endif /* MSPAPI */
/**
* MSPSampleStatus indicates how the sample buffer should be handled
* MSP_AUDIO_SAMPLE_FIRS... |
rcr/libgrapheme | data/grapheme_boundary.c | <reponame>rcr/libgrapheme
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "datautil.h"
static struct {
char *enumname;
char *identifier;
struct range *table;
size_t tablelen;
} properties[] = {
{
/* carriage re... |
rcr/libgrapheme | src/grapheme.c | /* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdlib.h>
#include "../grapheme.h"
size_t
grapheme_bytelen(const char *str)
{
uint32_t cp0, cp1;
size_t ret, len = 0;
int state = 0;
if (str == NULL) {
return 0;
}
/*
* grapheme_cp_decode, when it encounters an unexpec... |
rcr/libgrapheme | test/utf8-encode.c | <reponame>rcr/libgrapheme
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "../grapheme.h"
#define LEN(x) (sizeof(x) / sizeof(*x))
static const struct {
uint32_t cp; /* input code point */
uint8_t *exp_arr; /* exp... |
rcr/libgrapheme | grapheme.h | /* See LICENSE file for copyright and license details. */
#ifndef GRAPHEME_H
#define GRAPHEME_H
#include <stddef.h>
#include <stdint.h>
#define GRAPHEME_CP_INVALID UINT32_C(0xFFFD)
int grapheme_boundary(uint32_t, uint32_t, int *);
size_t grapheme_bytelen(const char *);
size_t grapheme_cp_decode(uint32_t *, const ui... |
rcr/libgrapheme | data/emoji.c | <filename>data/emoji.c
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "datautil.h"
static struct {
char *enumname;
char *identifier;
struct range *table;
size_t tablelen;
} properties[] = {
{
/* extended picto... |
rcr/libgrapheme | src/codepoint.c | /* See LICENSE file for copyright and license details. */
#include "../grapheme.h"
#include <stdio.h>
#define BETWEEN(c, l, u) (c >= l && c <= u)
#define LEN(x) (sizeof(x) / sizeof(*x))
/* lookup-table for the types of sequence first bytes */
static const struct {
uint8_t lower; /* lower bound of sequence first byt... |
rcr/libgrapheme | data/datautil.h | /* See LICENSE file for copyright and license details. */
#ifndef DATAUTIL_H
#define DATAUTIL_H
#include <stddef.h>
#include <stdint.h>
#define LEN(x) (sizeof (x) / sizeof *(x))
struct range {
uint32_t lower;
uint32_t upper;
};
void parse_input(int (*process_line)(char **, size_t, char *));
int cp_parse(const cha... |
rcr/libgrapheme | data/datautil.c | <reponame>rcr/libgrapheme<filename>data/datautil.c<gh_stars>0
/* See LICENSE file for copyright and license details. */
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "datautil.h"
void
parse_input(int (*process_line)(char **, size_t, char *))
{
char *line =... |
rcr/libgrapheme | src/util.h | <gh_stars>0
/* See LICENSE file for copyright and license details. */
#ifndef UTIL_H
#define UTIL_H
#include <stddef.h>
#include <stdint.h>
#define LEN(x) (sizeof (x) / sizeof *(x))
struct range {
uint32_t lower;
uint32_t upper;
};
struct range_list {
struct range *data;
size_t len;
};
/* 16-slot (0,...,15) op... |
rcr/libgrapheme | test/grapheme_boundary.c | /* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "../grapheme.h"
#include "../data/grapheme_boundary_test.h"
#define LEN(x) (sizeof(x) / sizeof(*x))
int
main(void)
{
int state;
size_t i, j, k, len, failed;
/* graphem... |
rcr/libgrapheme | test/utf8-decode.c | /* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "../grapheme.h"
#define LEN(x) (sizeof(x) / sizeof(*x))
static const struct {
uint8_t *arr; /* UTF-8 byte sequence */
size_t len; /* length of UTF-8 byte seque... |
rcr/libgrapheme | src/util.c | <filename>src/util.c
/* See LICENSE file for copyright and license details. */
#include "util.h"
int
heisenstate_get(struct heisenstate *h, int slot)
{
if (h == NULL || slot >= 16 || slot < 0 ||
!(h->determined & (1 << slot))) {
/* no state given, slot out of range or undetermined */
return -1;
} else {
/... |
rcr/libgrapheme | src/boundary.c | <reponame>rcr/libgrapheme
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include "../data/emoji.h"
#include "../data/grapheme_boundary.h"
enum {
GRAPHEME_STATE_RI_ODD = 1 << 0, /* odd number of RI's before the seam */
GRAPHEME_STATE_EMOJI = 1 ... |
rcr/libgrapheme | data/grapheme_boundary_test.c | <reponame>rcr/libgrapheme
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "datautil.h"
struct break_test {
uint32_t *cp;
size_t cplen;
size_t *len;
size_t lenlen;
char *descr;
};
static struct br... |
zclfly/radhat-trie | src/hat-trie/misc.c | <reponame>zclfly/radhat-trie
/*
Copyright (c) 2013 Hyperbotics, Inc. <http://www.hyperbotics.com>
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.... |
zclfly/radhat-trie | src/hat-trie/murmurhash3.h | <gh_stars>1-10
#ifndef MURMURHASH3_H
#define MURMURHASH3_H
#include <stdlib.h>
#ifndef _CONFIG_H
#define _CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#include "pstdint.h"
#endif
uint32_t hash(const char* data, size_t len);
#endif
|
zclfly/radhat-trie | src/trie/trie.c | /*
Copyright (c) 2013 Hyperbotics, Inc. <http://www.hyperbotics.com>
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 appli... |
ddrown/asymmetric-ntp-client | shm_offsets.c | <reponame>ddrown/asymmetric-ntp-client
#include <time.h>
#include <stdio.h>
// structure from ntp-4.2.6p5/ntpd/refclock_shm.c
struct shmTime {
int mode; /* 0 - if valid set
* use values,
* clear valid
* 1 - if valid set
* if count before and after read of values ... |
GabrielAlva/Swift-Prompts | SwiftPrompts/SwiftPrompts.h | //
// SwiftPrompts.h
// SwiftPrompts
//
// Created by <NAME> on 23.03.16.
//
//
#import <UIKit/UIKit.h>
//! Project version number for SwiftPrompts.
FOUNDATION_EXPORT double SwiftPromptsVersionNumber;
//! Project version string for SwiftPrompts.
FOUNDATION_EXPORT const unsigned char SwiftPromptsVersionString[];
... |
h5tube/h5tube-kakasi-ruby | kakasi.c | /*
* kakasi.c -- Kakasi module
* Copyright (c) 1999-2002 <NAME>
*/
#include <string.h>
#include "ruby.h"
#include "libkakasi.h"
#define OPTMAX 1024
#define min(x,y) ((x)<(y) ? (x) : (y))
static char const rcsid[] =
"$kNotwork: kakasi.c,v 1.3 2002/09/28 05:21:37 gotoken Exp $";
static int dic_closed = 1, le... |
muukii/Realm-EasyBackground | Example/Pods/Target Support Files/Pods-Realm-EasyBackground_Tests/Pods-Realm-EasyBackground_Tests-umbrella.h | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_Realm_EasyBackground_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_Realm_EasyBackground_TestsVersionString[];
|
muukii/Realm-EasyBackground | Example/Pods/Target Support Files/Realm-EasyBackground/Realm-EasyBackground-umbrella.h | <reponame>muukii/Realm-EasyBackground
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Realm_EasyBackgroundVersionNumber;
FOUNDATION_EXPORT const unsigned char Realm_EasyBackgroundVersionString[];
|
eyantra/CS308_DRAWOID---Android-Touch-Controlled-Bot_2012 | codes/Drawoid_firebird/drawoid/drawoid.c | <reponame>eyantra/CS308_DRAWOID---Android-Touch-Controlled-Bot_2012
/********************************************************************************
*!
* Drawoid.c
*
* General Description:
*
*
* @author <NAME>
* @author <NAME>
* @author <NAME>
* @author <NAME>
*
******************************************... |
eyantra/CS308_DRAWOID---Android-Touch-Controlled-Bot_2012 | codes/Drawoid_firebird/drawoid/bluetooth.c | <gh_stars>0
/********************************************************************************
Written by: <NAME>, NEX Robotics Pvt. Ltd.
Edited by: <NAME>, NEX Robotics Pvt. Ltd.
AVR Studio Version 4.17, Build 666
Date: 26th December 2010
Application example: Robot control over serial port
Concepts covered: ... |
eyantra/CS308_DRAWOID---Android-Touch-Controlled-Bot_2012 | codes/Drawoid_firebird/drawoid/Motion.c | /*!
* @file
* Drawoid -
*
* General Description:
*
* @author <NAME>
* @author <NAME>
* @author <NAME>
* @author <NAME>
*
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "globalVar.h"
/*!
* Function to configure INT4 (PORTE 4) pin as input for the left position enco... |
eyantra/CS308_DRAWOID---Android-Touch-Controlled-Bot_2012 | codes/Drawoid_firebird/drawoid/servo.c | <filename>codes/Drawoid_firebird/drawoid/servo.c
/********************************************************************************
Written by: <NAME>, NEX Robotics Pvt. Ltd.
Edited by: <NAME>, NEX Robotics Pvt. Ltd.
AVR Studio Version 4.17, Build 666
Date: 26th December 2010
This experiment demonstrates Servo m... |
Liceti-Rapallo/ExBohLib | Motore.h | #ifndef LIB_MOTORE_H
#define LIB_MOTORE_H
#if defined(ARDUINO) && ARDUINO >= 100
#include <Arduino.h>
#else
#include <WProgram.h>
#endif
#include <inttypes.h>
#include "tools.h"
class Motore
{
public:
float x[5];
float v[4];
float a[3];
float t[5];
int pIN1;
int pIN2;
int pPWM;
int pENC1;
int pENC2... |
Liceti-Rapallo/ExBohLib | Motori.h | <reponame>Liceti-Rapallo/ExBohLib<filename>Motori.h
#ifndef LIB_MOTORI_H
#define LIB_MOTORI_H
#if defined(ARDUINO) && ARDUINO >= 100
#include <Arduino.h>
#else
#include <WProgram.h>
#endif
#include <inttypes.h>
#include "Motore.h"
class Motori
{
public:
Motore *dx, *sx;
int stby; //Il pin stby
int pos; ... |
Liceti-Rapallo/ExBohLib | tools.h | <filename>tools.h
//
// Created by Giotino on 12/03/2016.
//
#ifndef LIB_TOOLS_H
#define LIB_TOOLS_H
extern int netxPos(int &pos, int a[]);
extern void shiftArray(float *a);
#endif //LIB_TOOLS_H
|
NEKERAFA/Advent-of-Code-2021 | day-6/part-one.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define FILENAME "input.txt"
unsigned long long* loadinput() {
unsigned long long* lanternfish = (unsigned long long*)malloc(sizeof(unsigned long long) * 9);
FILE* input = fopen(FILENAME, "r");
char* line = NULL;
size_t len = 0;
while (ge... |
xiaochonzi/amap-location-flutter | ios/Classes/AmapFlutterStreamManager.h | <gh_stars>100-1000
//
// AmapFlutterStreamManager.h
// amap_location_flutter_plugin
//
// Created by ldj on 2018/10/30.
//
#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@class AmapFlutterStreamHandler;
@interface AmapFlutterStreamManager : NSObject
+ (instancetype)sharedInst... |
leathalman/Sticky-Notes | Pods/Target Support Files/ChromaColorPicker/ChromaColorPicker-umbrella.h | <reponame>leathalman/Sticky-Notes
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double ChromaColorPickerVersionNumber;
FOUNDATION_EXPORT const unsigned ... |
leathalman/Sticky-Notes | Pods/Target Support Files/BottomPopup/BottomPopup-umbrella.h | <reponame>leathalman/Sticky-Notes<filename>Pods/Target Support Files/BottomPopup/BottomPopup-umbrella.h
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT do... |
leathalman/Sticky-Notes | Jotify/Receipt/pkcs7_union_accessors.c | <gh_stars>100-1000
//
// pkcs7_union_accessors.c
// SwiftyReceiptValidatorDemo
//
// Created by <NAME> on 10/26/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
#include "pkcs7_union_accessors.h"
inline char *pkcs7_d_char(PKCS7 *ptr) {
return ptr->d.ptr;
}
inline ASN1_OCTET_STRING *pkcs7_d_data(PKCS7 ... |
leathalman/Sticky-Notes | Jotify/Jotify-Bridging-Header.h | //
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#include "pkcs7_union_accessors.h"
#import <openssl/pkcs7.h>
#import <openssl/objects.h>
#import <openssl/sha.h>
#import <openssl/x509.h>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.