repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
keystone-enclave/FreeRTOS-Kernel | lib/utils/lib/src/atol.c | /*
* atol.c --
*
* Source code for the "atol" library procedure.
*
* Copyright 1988 Regents of the University of California
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice ap... |
keystone-enclave/FreeRTOS-Kernel | main/src/commands.c | #include <stdint.h>
#include <string.h>
#include <stdlib.h>
/* FreeRTOS includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "FreeRTOS_IO.h"
#include "FreeRTOS_CLI.h"
/*-----------------------------------------------------------*/
/* Create the cli function */
/* This function implements the behaviour of a ... |
keystone-enclave/FreeRTOS-Kernel | sdk/lib/src/string.c | <gh_stars>1-10
#include "string.h"
/* TODO This is a temporary place to put libc functionality until we
* decide on a lib to provide such functionality to the runtime */
#include <stdint.h>
#include <ctype.h>
void* memcpy(void* dest, const void* src, size_t len)
{
const char* s = src;
char *d = dest;
if ((((... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/FreeRTOS-Plus-IO/src/FreeRTOS_IO.c |
/* Standard includes. */
#include <string.h>
#include <stdint.h>
#include <stdio.h>
/* FreeRTOS includes. */
#include "FreeRTOS.h"
#include "task.h"
/* Utils includes. */
#include "FreeRTOS_IO.h"
typedef struct xIO_INPUT_LIST
{
const IO_Device_Definition_t *pxDeviceDefinition;
struct xIO_INPUT_LIST *pxNext;
} IO... |
keystone-enclave/FreeRTOS-Kernel | sdk/lib/src/tiny-malloc.c | // https://github.com/32bitmicro/newlib-nano-1.0/blob/master/newlib/libc/machine/xstormy16/tiny-malloc.c
/* A replacement malloc with:
- Much reduced code size;
- Smaller RAM footprint;
- The ability to handle downward-growing heaps;
but
- Slower;
- Probably higher memory fragmentation;
- Doesn't ... |
keystone-enclave/FreeRTOS-Kernel | main/src/devices.c | <reponame>keystone-enclave/FreeRTOS-Kernel<filename>main/src/devices.c
#include "syscall.h"
#include "stdio.h"
#include "FreeRTOS_IO.h"
/*-----------------------------------------------------------*/
size_t
uart_read( void * const pvBuffer, const size_t xBytes )
{
// Lazy impl just to grab stdin.
char * buf... |
keystone-enclave/FreeRTOS-Kernel | sdk/rv8/primes/primes.c | // #include <stdio.h>
#include <stdint.h>
// #include <stdlib.h>
// #include <math.h>
#include "printf.h"
#include "malloc.h"
#include "eapp_utils.h"
#define test(p) (primes[p >> 6] & 1 << (p & 0x3f))
#define set(p) (primes[p >> 6] |= 1 << (p & 0x3f))
#define is_prime(p) !test(p)
void EAPP_ENTRY eapp_entry()
{
uint... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/FreeRTOS-Plus-CLI/src/register_CLI.c | // /* FreeRTOS includes. */
// #include "FreeRTOS.h"
// #include "FreeRTOS_CLI.h"
// BaseType_t FreeRTOS_CLIRegisterFunction( const char * taskName, const char * helpString, const void * prvFunction, size_t elfSize )
// {
// CLI_Command_Definition_t * pxNewCommandItem = ( CLI_Command_Definition_t * ) pvPortMalloc... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/FreeRTOS-Plus-CLI/src/CLI_functions.c |
/* Standard includes. */
#include <string.h>
#include <stdint.h>
#include <stdio.h>
/* FreeRTOS includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "enclave.h"
/* Utils includes. */
#include "CLI_functions.h"
#include "FreeRTOS_CLI.h"
typedef struct xFunction_INPUT_LIST
{
const Function_Definition_t *px... |
keystone-enclave/FreeRTOS-Kernel | lib/rtos/src/sbi.c | <reponame>keystone-enclave/FreeRTOS-Kernel
#include "sbi.h"
#include "csr.h"
int
sbi_putchar(int character) {
return SBI_CALL_1(SBI_CONSOLE_PUTCHAR, character);
}
int
sbi_getchar() {
return SBI_CALL_0(SBI_CONSOLE_GETCHAR);
}
void
sbi_set_timer(uint64_t stime_value) {
#if __riscv_xlen == 32
SBI_CALL_2(SBI_SET_T... |
keystone-enclave/FreeRTOS-Kernel | sdk/attest/attest.c | <filename>sdk/attest/attest.c
#include "eapp_utils.h"
#include "printf.h"
#define MDSIZE 64
#define SIGNATURE_SIZE 64
#define PRIVATE_KEY_SIZE 64 // includes public key
#define PUBLIC_KEY_SIZE 32
typedef unsigned char byte;
#define ATTEST_DATA_MAXLEN 1024
/* attestation reports */
struct enclave_report
{
byte ... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/elf/src/elf64.c | /*
* Copyright (c) 1999-2004 University of New South Wales
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <elf.h>
#include <elf64.h>
#include <inttypes.h>
#include <string.h>
/* ELF header functions */
int
elf64_checkFile(elf_t* elf) {
if (sizeof(uintptr_t) != sizeof(uint64_t)) {
return -1; /* not su... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/lib/include/ctype.h | int isspace(int c); |
keystone-enclave/FreeRTOS-Kernel | lib/utils/lib/include/stdio.h | <gh_stars>1-10
int getchar();
int putchar(int); |
keystone-enclave/FreeRTOS-Kernel | lib/rtos/include/sbi.h | <reponame>keystone-enclave/FreeRTOS-Kernel
#ifndef __SBI_H_
#define __SBI_H_
#include <stdint.h>
#define SBI_SET_TIMER 0
#define SBI_CONSOLE_PUTCHAR 1
#define SBI_CONSOLE_GETCHAR 2
#define SBI_SM_CREATE_ENCLAVE 101
#define SBI_SM_DESTROY_ENCLAVE 102
#define SBI_SM_ATTEST_ENCLAVE 103
#define SBI_SM_GET_SEALIN... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/lib/src/stdio.c | <filename>lib/utils/lib/src/stdio.c
#include "sbi.h"
int
getchar()
{
return sbi_getchar();
}
int
putchar(int character)
{
return sbi_putchar(character);
} |
keystone-enclave/FreeRTOS-Kernel | lib/utils/elf/include/elf64.h | <filename>lib/utils/elf/include/elf64.h
/*
* Copyright (c) 1999-2004 University of New South Wales
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <elf.h>
#include <stdint.h>
/* ELF header functions */
int
elf64_checkFile(elf_t* elf);
int
elf64_checkProgramHeaderTable(elf_t* elf);
int
elf64_... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/elf/src/elf.c | /*
* Copyright (c) 1999-2004 University of New South Wales
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <elf.h>
#include <elf32.h>
#include <elf64.h>
#include <stdio.h>
#include <string.h>
/* ELF header functions */
int
elf_newFile(void* file, size_t size, elf_t* res) {
return elf_newFile_maybe_unsafe(... |
keystone-enclave/FreeRTOS-Kernel | sdk/receiver/receiver.c | #include <stdint.h>
#include <timex.h>
#include "enclave_rl.h"
#include "printf.h"
#include "eapp_utils.h"
#include "msg_test.h"
char send_buf[DATA_SIZE] = "alex";
char recv_buf[DATA_SIZE] = {0};
void EAPP_ENTRY eapp_entry(int SENDER_TID){
// sbi_recv(SENDER_TID, recv_buf, DATA_SIZE, YIELD);
while(sbi_recv(... |
keystone-enclave/FreeRTOS-Kernel | lib/rtos/include/enclave.h | <gh_stars>1-10
#ifndef _ENCLAVE_H
#define _ENCLAVE_H
uintptr_t xTaskCreateEnclave(uintptr_t start, uintptr_t size,
const char * const pcName, /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
UBaseType_t uxPriority,
... |
keystone-enclave/FreeRTOS-Kernel | lib/rtos/include/regs.h | //******************************************************************************
// Copyright (c) 2018, The Regents of the University of California (Regents).
// All Rights Reserved. See LICENSE for license details.
//------------------------------------------------------------------------------
#ifndef _REGS_H_
#defi... |
keystone-enclave/FreeRTOS-Kernel | main/src/msg_tasks.c | <filename>main/src/msg_tasks.c
#include <FreeRTOS.h>
#include <task.h>
#include <printf.h>
#include <csr.h>
#include <sbi.h>
#include <syscall.h>
#include <enclave.h>
#include <elf.h>
#include <stdio.h>
#include <string.h>
#include <queue.h>
#include <rl.h>
#include <rl_config.h>
#include <timex.h> |
keystone-enclave/FreeRTOS-Kernel | lib/utils/lib/include/string.h | <reponame>keystone-enclave/FreeRTOS-Kernel
#ifndef __STRING_H__
#define __STRING_H__
#include <stddef.h>
#include <stdint.h>
void* memcpy(void* dest, const void* src, size_t len);
void* memset(void* dest, int byte, size_t len);
int memcmp(const void* ptr1, const void* ptr2, size_t len);
/* Received from https://code.w... |
keystone-enclave/FreeRTOS-Kernel | lib/utils/FreeRTOS-Plus-IO/include/FreeRTOS_IO.h | #include <stdlib.h>
#include <stdint.h>
#include "FreeRTOS.h"
#include "portmacro.h"
#ifndef FREERTOS_IO_H
#define FREERTOS_IO_H
/* The prototype to which callback functions used to process command line
commands must comply. pcWriteBuffer is a buffer into which the output from
executing the command can be written, ... |
keystone-enclave/FreeRTOS-Kernel | sdk/lib/include/eapp_utils.h | <reponame>keystone-enclave/FreeRTOS-Kernel
#ifndef __EAPP_H__
#define __EAPP_H__
#include <stdint.h>
#define SBI_CONSOLE_PUTCHAR 1
#define RET_EXIT 0
#define RET_YIELD 1
#define SBI_SWITCH_TASK 201
#define SBI_ATTEST_TASK 203
#define SBI_SEND_TASK 204
#define SBI_RECV_TASK 205
#define SBI_SM_UID ... |
keystone-enclave/FreeRTOS-Kernel | main/src/agent_task.c | #include <FreeRTOS.h>
#include <task.h>
#include <printf.h>
#include <csr.h>
#include <sbi.h>
#include <syscall.h>
#include <enclave.h>
#include <elf.h>
#include <stdio.h>
#include <string.h>
#include <queue.h>
#include <rl.h>
#include <rl_config.h>
#include <timex.h>
static unsigned long my_rand_state = 1;
long ... |
keystone-enclave/FreeRTOS-Kernel | sdk/fibonacci/fibonacci.c | //******************************************************************************
// Copyright (c) 2018, The Regents of the University of California (Regents).
// All Rights Reserved. See LICENSE for license details.
//------------------------------------------------------------------------------
#include "eapp_utils.h"... |
ctrl-shift-make/pypy | rpython/translator/c/src/support.c | <gh_stars>100-1000
#include "common_header.h"
#include <src/support.h>
#include <src/exception.h>
/************************************************************/
/*** C header subsection: support functions ***/
#include <stdio.h>
#include <stdlib.h>
/*** misc ***/
#define Sign_bit 0x80000000
#define NAN... |
ctrl-shift-make/pypy | rpython/translator/c/src/thread_gil.c | <filename>rpython/translator/c/src/thread_gil.c
/* Idea:
0. "The GIL" is a composite concept. There are two locks, and "the
GIL is locked" when both are locked.
1. The first lock is a simple global variable 'rpy_fastgil'. 0 means
unlocked, != 0 means unlocked (see point (3).
2. The second lock is ... |
Ozypher/VULKANHANDIN | src/vectors.c | <gh_stars>0
#include "vectors.h"
#include <cmath>
#include <cfloat>
vec2 operator+(const vec2& l, const vec2& r){
return{ l.x + r.x + l.y + r.y };
} |
Ozypher/VULKANHANDIN | src/game.c | <filename>src/game.c
#include <SDL.h>
#include "simple_logger.h"
#include "gfc_vector.h"
#include "gfc_matrix.h"
#include "gf3d_entity.h"
#include "gf3d_vgraphics.h"
#include "gf3d_pipeline.h"
#include "gf3d_swapchain.h"
#include "gf3d_model.h"
#include "gf3d_camera.h"
#include "gf3d_texture.h"
#include "... |
Ozypher/VULKANHANDIN | src/gf3d_entity.c | <reponame>Ozypher/VULKANHANDIN
#include <stdlib.h>
#include <string.h>
#include "gfc_list.h"
#include "simple_logger.h"
#include "gf3d_physics.h"
#include "gf3d_entity.h"
#include "gf3d_model.h"
#include "gf3d_collision.h"
typedef struct
{
Entity *entity_list;
Uint32 entity_max;
}EntityManager;
static EntityManage... |
smlckz/pl0c | pl0c.c | #include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static char __stdin[24];
static const char *__errstr;
static long __writestridx;
#ifndef HAVE_STRTONUM
#include "strtonum.c"
#endif
static const long CHECK_LHS = 0;
static const long CHECK_RHS = 1;
static const long CHECK_CALL = 2;
stati... |
smlckz/pl0c | original.c | /*
* Copyright (c) 2021 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
marceloburegio/mq135 | src/mgos_mq135.c | <gh_stars>0
#include "mgos.h"
#include "mgos_adc.h"
#include <math.h>
struct mgos_mq135 {
int pin;
float rload; // The load resistance on the board
float rzero; // Calibration resistance at atmospheric CO2 level
};
/// Parameters for calculating ppm of CO2 from sensor resistance
#define MGOS_MQ135_PARA 116.602... |
marceloburegio/mq135 | include/mgos_mq135.h | <gh_stars>0
#ifndef CS_MOS_LIBS_MQ135_INCLUDE_MGOS_MQ135_H_
#define CS_MOS_LIBS_MQ135_INCLUDE_MGOS_MQ135_H_
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
struct mgos_mq135;
/* Initialise MQ135 sensor. Return an opaque MQ135 handle, or `NULL` on error */
struct mgos_mq135 *mgos_mq135_create(int pin);
... |
RUB-crypto/RUBIK | src/llmq/quorums_blockprocessor.h | // Copyright (c) 2018 The Rubik Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef RUBIK_QUORUMS_BLOCKPROCESSOR_H
#define RUBIK_QUORUMS_BLOCKPROCESSOR_H
#include "llmq/quorums_commitment.h"
#include "ll... |
RUB-crypto/RUBIK | src/chainparamsseeds.h | #ifndef RUBIK_CHAINPARAMSSEEDS_H
#define RUBIK_CHAINPARAMSSEEDS_H
/**
* List of fixed seed nodes for the rubik network
* AUTOGENERATED by contrib/seeds/generate-seeds.py
*
* Each line contains a 16-byte IPv6 address and a port.
* IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.
*/
st... |
PeterSommerlad/PSBitField | psbitfield.h | #ifndef PSBITFIELD_H_
#define PSBITFIELD_H_
#include <cstdint>
#include <climits>
#include <type_traits>
#include <limits>
#include <cassert>
#include <ostream>
// this is a bitfield implementation to be used within unions for device registers
// where the bits are positioned absolutely with the least-significant-bi... |
NFAcz/RAWcooked | Source/Lib/ThirdParty/endianness.h | /**
* @file endianness.h
* @brief Convert Endianness of shorts, longs, long longs, regardless of architecture/OS
*
* Defines (without pulling in platform-specific network include headers):
* bswap16, bswap32, bswap64, ntoh16, hton16, ntoh32 hton32, ntoh64, hton64
*
* Should support linux / macos / solaris / windows... |
NFAcz/RAWcooked | Source/Lib/Transform/Transform.h | /* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#ifndef TransformH... |
NFAcz/RAWcooked | Source/CLI/Global.h | /* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#ifndef GlobalH
#... |
NFAcz/RAWcooked | Source/Lib/Compressed/RAWcooked/RAWcooked.h | <filename>Source/Lib/Compressed/RAWcooked/RAWcooked.h
/* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//-----------------------------------------... |
NFAcz/RAWcooked | Source/CLI/Output.h | /* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#ifndef OutputH
#... |
chronoxor/CppTemplate | include/template/version.h | <filename>include/template/version.h<gh_stars>10-100
/*!
\file version.h
\brief Version definition
\author <NAME>
\date 26.05.2016
\copyright MIT License
*/
#ifndef CPPTEMPLATE_VERSION_H
#define CPPTEMPLATE_VERSION_H
/*! \mainpage C++ Template Library
C++ Template Library contains initial templat... |
chronoxor/CppTemplate | include/template/function.h | /*!
\file function.h
\brief Template function definition
\author <NAME>
\date 26.05.2016
\copyright MIT License
*/
#ifndef CPPTEMPLATE_TEMPLATE_FUNCTION_H
#define CPPTEMPLATE_TEMPLATE_FUNCTION_H
namespace CppTemplate {
//! Template function
/*!
Template function details.
Thread-safe.
... |
chronoxor/CppTemplate | include/template/class.h | /*!
\file class.h
\brief Template class definition
\author <NAME>
\date 26.05.2016
\copyright MIT License
*/
#ifndef CPPTEMPLATE_TEMPLATE_CLASS_H
#define CPPTEMPLATE_TEMPLATE_CLASS_H
namespace CppTemplate {
//! Template class
/*!
Template class details.
Thread-safe.
*/
class Template
{
p... |
TheJamsh/UE4VoxelTerrain | UE4VoxelTerrain/Source/UE4VoxelTerrain/UE4VoxelTerrain.h | <reponame>TheJamsh/UE4VoxelTerrain
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#ifndef __UE4VOXELTERRAIN_H__
#define __UE4VOXELTERRAIN_H__
#include "EngineMinimal.h"
DECLARE_LOG_CATEGORY_EXTERN(LogUE4VoxelTerrain, Log, All);
#endif
|
TheJamsh/UE4VoxelTerrain | UE4VoxelTerrain/Source/UE4VoxelTerrain/UI/SystemInfoWidget.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Runtime/UMG/Public/UMG.h"
#include "Runtime/UMG/Public/UMGStyle.h"
#include "Runtime/UMG/Public/Slate/SObjectWidget.h"
#include "Runtime/UMG/Public/IUMGModule.h"
#include "Runtime/UMG/Public/Blueprint/UserWid... |
TheJamsh/UE4VoxelTerrain | UE4VoxelTerrain/Source/UE4VoxelTerrain/UE4VoxelTerrainPlayerController.h | <reponame>TheJamsh/UE4VoxelTerrain
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/PlayerController.h"
#include "SandboxPlayerController.h"
#include "UE4VoxelTerrainPlayerController.generated.h"
UCLASS()
class AUE4VoxelTerrainPlayerController : public ASandbox... |
TheJamsh/UE4VoxelTerrain | UE4VoxelTerrain/Source/UE4VoxelTerrain/TerrainController.h | <filename>UE4VoxelTerrain/Source/UE4VoxelTerrain/TerrainController.h
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "SandboxTerrainController.h"
#include "TerrainController.generated.h"
/**
*
*/
UCLASS()
class UE4VOXELTERRAIN_API ATerrainController ... |
particle-iot/CellularHelper | src/CellularHelper.h | <gh_stars>1-10
#ifndef __CELLULARHELPER_H
#define __CELLULARHELPER_H
#include "Particle.h"
#if Wiring_Cellular
// Class to hold results from getting network information
class CellularHelperNetworkInfo {
public:
String accessTechnology;
uint16_t mcc;
uint16_t mnc;
String band;
};
// Class for quering informati... |
byte-mug/tcphelper | tcpsrv.c | <gh_stars>0
/*
* Copyright (c) 2016 <NAME>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including ... |
byte-mug/tcphelper | unixsrv.c | <reponame>byte-mug/tcphelper<filename>unixsrv.c
/*
* Copyright (c) 2016 <NAME>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this sof... |
byte-mug/tcphelper | tcploop.c | <filename>tcploop.c<gh_stars>0
/*
* Copyright (c) 2016 <NAME>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any pur... |
MinhoTeam/MinhoUDPCOM | udpcom.h | <reponame>MinhoTeam/MinhoUDPCOM
#ifndef UDPCOM_H
#define UDPCOM_H
#include "mainwindow.h"
#include "QHostAddress"
#include <QUdpSocket>
#include <QNetworkInterface>
class UDPCOM
{
public:
UDPCOM(MainWindow *mainw, QString MyAddress1, QString DestineAddress1, int MyPort1, int DestinePort1);
~UDPCOM();
QStri... |
MinhoTeam/MinhoUDPCOM | serialport.h | <gh_stars>0
#ifndef SERIALPORT_H
#define SERIALPORT_H
#include "mainwindow.h"
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include <QDebug>
class SerialPort
{
private slots:
bool ConnectSerial();
MainWindow *myMain;
public:
QSerialPort serial;
QString readAll();
vo... |
MinhoTeam/MinhoUDPCOM | mainwindow.h | <filename>mainwindow.h
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
private slots:
void readPendingDatagrams();
//void on_btSendUDP_clicked();
void readResponse();
//void on_btSendSerial_click... |
atar-axis/fmi_adapter | fmi_adapter/include/fmi_adapter/FMUVariable.h | <filename>fmi_adapter/include/fmi_adapter/FMUVariable.h
/*
* Copyright (c) 2021 <NAME> - <EMAIL>
* All rights reserved.
*/
#pragma once
#include <memory>
#include <string>
#include <variant>
#include <ros/ros.h>
#include <fmilib.h>
#include <FMI2/fmi2_enums.h>
#include <FMI2/fmi2_functions.h>
#include <FMI2/... |
atar-axis/fmi_adapter | fmi_adapter/include/fmi_adapter/FMIMaster.h | <filename>fmi_adapter/include/fmi_adapter/FMIMaster.h
/*
* Copyright (c) 2021 <NAME> - <EMAIL>
* All rights reserved.
*/
#pragma once
#include <fstream>
#include <map>
#include <string>
#include <variant>
#include "FMU.h"
#include <ros/ros.h>
#include <nlohmann/json.hpp>
#include <boost/filesystem.hpp> // ... |
atar-axis/fmi_adapter | fmi_adapter/include/fmi_adapter/FMU.h | <gh_stars>0
/*
* Copyright (c) 2021 <NAME> - <EMAIL>
* All rights reserved.
*/
// Copyright (c) 2018 - for information on the respective copyright owner
// see the NOTICE file and/or the repository https://github.com/boschresearch/fmi_adapter.
//
// Licensed under the Apache License, Version 2.0 (the "License");... |
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBFMDBEncrypt/VBFMEncryptDatabase.h | //
// VBFMEncryptDatabase.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <FMDB/FMDB.h>
@interface VBFMEncryptDatabase : FMDatabase
/** 如果需要自定义encryptkey,可以调用这个方法修改(在使用之前)*/
+ (void)setEncryptKey:(NSString *)encryptKey;
@end
|
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHTTPManager/VBHTTPHelper.h | //
// VBHTTPHelper.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBHTTPHelper_h
#define VBHTTPHelper_h
#import "VBHTTPManager.h"
#import "VBHTTPErrorManager.h"
#import "VBFileConfig.h"
#endif /* VBHTTPHelper_h */
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBView.h | //
// VBView.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VBView : UIView
@end
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBFMDBEncrypt/VBFMEncryptDatabaseQueue.h | //
// VBFMEncryptDatabaseQueue.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <FMDB/FMDB.h>
@interface VBFMEncryptDatabaseQueue : FMDatabaseQueue
@end
|
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHTTPManager/VBHTTPErrorManager.h | //
// VBHTTPErrorManager.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBHTTPErrorManager : NSObject
@end
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBFoundation/VBFoundation.h | <gh_stars>0
//
// VBFoundation.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBFoundation_h
#define VBFoundation_h
#import "VBObject.h"
#import "VBLog.h"
#endif /* VBFoundation_h */
|
VisionBao/VBMusic | VBMusic/UI/Root/VBRootViewController.h | <gh_stars>0
//
// VBRootViewController.h
// VBMusic
//
// Created by Vision on 16/9/5.
// Copyright © 2016年 VisionBao. All rights reserved.
//
#import "VBViewController.h"
@interface VBRootViewController : VBViewController
@end
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBFoundation/VBObject.h | //
// VBObject.h
// VBMusic
//
// Created by Vision on 15/11/20.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBObject : NSObject
@end
@interface NSObject (VBObject)
/**
*
* performSelector 附带多参数
*
* @param aSelector Selector
* @param object 参数... |
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHTTPManager/VBFileConfig.h | <reponame>VisionBao/VBMusic
//
// VBFileConfig.h
// VBMusic
//
// Created by Vision on 15/12/22.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBFileConfig : NSObject
/**
* 文件数据
*/
@property (nonatomic, strong) NSData *fileData;
/**
* 服务器接收参数名
*/
@prop... |
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBTabBarController.h | //
// VBTabBarController.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VBTabBarController : UITabBarController
@end
|
VisionBao/VBMusic | VBMusic/3rd/Categories/UIKit/UIViewController/UIViewController+RecursiveDescription.h | //
// UIViewController+RecursiveDescription.h
// HLiPad
//
// Created by <NAME> on 07/01/2013.
//
//
#import <UIKit/UIKit.h>
@interface UIViewController (RecursiveDescription)
/**
* @brief 视图层级
*
* @return 视图层级字符串
*/
-(NSString*)recursiveDescription;
@end
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBUI.h | <reponame>VisionBao/VBMusic<filename>VBMusic/VBFrameworks/VBUI/Base/VBUI.h
//
// VBUI.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBUI_h
#define VBUI_h
#import "VBView.h"
#import "VBViewController.h"
#import "VBNavigationController.h"
#import "... |
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBNavigationController.h | //
// VBNavigationController.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VBNavigationController : UINavigationController
@end
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBFMDBEncrypt/VBFMDBEncryptConfig.h | //
// VBFMDBEncryptConfig.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBFMDBEncryptConfig_h
#define VBFMDBEncryptConfig_h
#define VBFMDBEncryptKey @"visionbao"
#endif /* VBFMDBEncryptConfig_h */
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBConfigDBManager.h | //
// VBConfigDBManager.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "VBDBManager.h"
@interface VBConfigDBManager : NSObject{
VBDBManager *_dbMgr;
}
+ (id)sharedManager;
@end
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBFMDBEncrypt/VBFMEncryptHelper.h | <reponame>VisionBao/VBMusic<gh_stars>0
//
// VBFMEncryptHelper.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBFMEncryptHelper : NSObject
/** 对数据库加密 */
+ (BOOL)encryptDatabase:(NSString *)path;
/** 对数据库解密 *... |
VisionBao/VBMusic | VBMusic/UI/Player/VBPlayerViewController.h | <reponame>VisionBao/VBMusic
//
// VBPlayerViewController.h
// VBMusic
//
// Created by Vision on 16/9/5.
// Copyright © 2016年 VisionBao. All rights reserved.
//
#import "VBViewController.h"
@interface VBPlayerViewController : VBViewController
@end
|
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHttpUrlManager.h | //
// VBHttpUrlManager.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBHttpUrlManager : NSObject
+ (id)defaultManager;
//判断是否为测试环境
- (BOOL)isInTestMode;
@end
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManagerFactory.h | //
// VBDBManagerFactory.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBDBManagerFactory : NSObject
+(id)sharedInstance;
@end
|
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHTTPModels.h | //
// VBHTTPModels.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface VBHTTPModels : NSObject
+ (void)fuck;
@end
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBTableViewCell.h | <reponame>VisionBao/VBMusic
//
// VBTableViewCell.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VBTableViewCell : UITableViewCell
@end
|
VisionBao/VBMusic | VBMusic/VBFrameworks/VBUI/Base/VBNavigationBar.h | <reponame>VisionBao/VBMusic
//
// VBNavigationBar.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VBNavigationBar : UINavigationBar
@end
|
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBFMDBEncrypt/VBFMDBEncrypt.h | //
// VBFMDBEncrypt.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBFMDBEncrypt_h
#define VBFMDBEncrypt_h
#import "VBFMEncryptDatabase.h"
#import "VBFMEncryptDatabaseQueue.h"
#import "VBFMEncryptHelper.h"
#endif /* VBFMDBEncrypt_h */
|
VisionBao/VBMusic | VBMusic/Managers/HTTPManager/VBHTTPManager/VBHTTPManager.h | //
// VBHTTPManager.h
// VBMusic
//
// Created by Vision on 15/12/5.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AFNetworking.h>
@class VBFileConfig;
/**
请求成功block
*/
typedef void (^requestSuccessBlock)(id responseObj);
/**
请求失败block
*/
typedef void (^re... |
VisionBao/VBMusic | VBMusic/Models/VBMusicModel.h | <filename>VBMusic/Models/VBMusicModel.h<gh_stars>0
//
// VBMusicModel.h
// VBMusic
//
// Created by Vision on 15/11/20.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import "VBObject.h"
@class Data,Url_List,Audition_List;
@interface VBMusicModel : VBObject
@property (nonatomic, assign) NSInteger code;... |
VisionBao/VBMusic | VBMusic/Managers/DBManager/VBDBManager/VBDBManager.h | <gh_stars>0
//
// VBDBManager.h
// VBMusic
//
// Created by Vision on 15/12/23.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "fmdb.h"
#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))
/**
* 数据库管理基类
*/
@interface VBDBManager : NSObject{
... |
VisionBao/VBMusic | VBMusic/Models/VBModelHeaders.h | //
// VBModelHeaders.h
// VBMusic
//
// Created by Vision on 15/12/24.
// Copyright © 2015年 VisionBao. All rights reserved.
//
#ifndef VBModelHeaders_h
#define VBModelHeaders_h
#import "VBMusicModel.h"
#endif /* VBModelHeaders_h */
|
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/Model/SegmentBase.h | <filename>DASH Player/DASH Player/Model/SegmentBase.h
//
// SegmentBase.h
// DASH Player
//
// Created by DataArt Apps on 04.11.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Initialization.h"
@interface SegmentBase : NSObject
@property (nonatomic, stron... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANAppDelegate.h | <filename>DASH Player/DASH Player/ANAppDelegate.h
//
// ANAppDelegate.h
// DASH Player
//
// Created by DataArt Apps on 24.07.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ANAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWind... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANPlayerViewController.h | //
// ANPlayer.h
// DASH Player
//
// Created by DataArt Apps on 05.08.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import "ANDashMultimediaManager.h"
#import "ANControlPanelView.h"
@class ANDrawing... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/Model/AudioChannelConfiguration.h | //
// AudioChannelConfiguration.h
// DASH Player
//
// Created by DataArt Apps on 28.07.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AudioChannelConfiguration : NSObject
@property (nonatomic, strong) NSString *schemeIdUri;
@property (nonatomic, assig... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANPlayerView.h | <reponame>mlvhub/MPEGDASH-iOS-Player<filename>DASH Player/DASH Player/ANPlayerView.h
//
// ANPlayerView.h
// DASH Player
//
// Created by DataArt Apps on 24.07.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <UIKit/UIKit.h>
@class VideoFrameExtractor;
@class MPD;
@interface ANPlayerView : ... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANDashMultimediaManager.h | <filename>DASH Player/DASH Player/ANDashMultimediaManager.h<gh_stars>10-100
//
// ANDashMultimediaManager.h
// DASH Player
//
// Created by DataArt Apps on 07.08.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
//#import "ANOperation.h"
typedef NS_ENUM(NSUInteger, A... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANRingBuffer.h | //
// ANRingBuffer.h
// DASH Player
//
// Created by DataArt Apps on 18.08.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ANRingBuffer : NSObject {
uint8_t* data;
int size;
int max_size;
int readIndex; // Read position
int writeIndex; // Writ... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANAudioDecoder.h | //
// AudioFrameExtractor.h
// DASH Player
//
// Created by DataArt Apps on 22.08.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
#include "libavutil/time.h"
#include... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANHttpClient.h | <reponame>mlvhub/MPEGDASH-iOS-Player<filename>DASH Player/DASH Player/ANHttpClient.h
//
// ANHttpClient.h
// DASH Player
//
// Created by DataArt Apps on 06.08.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ANHttpClient : NSObject
@property (nonatomi... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/Model/Initialization.h | //
// Initialization.h
// DASH Player
//
// Created by DataArt Apps on 04.11.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Initialization : NSObject
@property (nonatomic, strong) NSString *range;
@end
|
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/Model/ANSegmentsManager.h | <reponame>mlvhub/MPEGDASH-iOS-Player<filename>DASH Player/DASH Player/Model/ANSegmentsManager.h
//
// ANSegmentsManager.h
// DASH Player
//
// Created by DataArt Apps on 28.07.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
@class ANHttpClient;
@interface ANSegmen... |
mlvhub/MPEGDASH-iOS-Player | DASH Player/DASH Player/ANDashMultimediaManagerForRange.h | <filename>DASH Player/DASH Player/ANDashMultimediaManagerForRange.h
//
// ANDashMultimediaManagerForRange.h
// DASH Player
//
// Created by DataArt Apps on 04.11.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import "ANDashMultimediaManager.h"
@interface ANDashMultimediaManagerForRange : ANDashM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.