repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
Crowntium/crowntium | src/cpp-ethereum/libethereum/BasicGasPricer.h | <gh_stars>1-10
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <array>
#include "GasPricer.h"
namespace dev
{
namespace eth
{
class BasicGasPricer: public GasPricer
{
public:
explicit BasicG... |
Crowntium/crowntium | src/cpp-ethereum/libethereum/BlockChainImporter.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/// @file
/// Class for importing blocks into the blockchain.
#pragma once
#include <libdevcore/Common.h>
#include <memory>
namespace dev
{
class RLP;
namespace et... |
Crowntium/crowntium | src/cpp-ethereum/libweb3jsonrpc/AdminEthFace.h | /**
* This file is generated by jsonrpcstub, DO NOT CHANGE IT MANUALLY!
*/
#ifndef JSONRPC_CPP_STUB_DEV_RPC_ADMINETHFACE_H_
#define JSONRPC_CPP_STUB_DEV_RPC_ADMINETHFACE_H_
#include "ModularServer.h"
namespace dev {
namespace rpc {
class AdminEthFace : public ServerInterface<AdminEthFace>
{
... |
Crowntium/crowntium | src/cpp-ethereum/libevm/VMFace.h | <reponame>Crowntium/crowntium
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "ExtVMFace.h"
#include <libdevcore/Exceptions.h>
#include <memory>
namespace dev
{
namespace eth
{
struct VMExcept... |
Crowntium/crowntium | src/cpp-ethereum/test/tools/libtesteth/Options.h | <gh_stars>1-10
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2017-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/// @file
/// Class for handling testeth custom options
#pragma once
#include <libdevcore/Exceptions.h>
#include <libethereum/StandardTrace.h>
#include <... |
Crowntium/crowntium | src/cpp-ethereum/libdevcore/dbfwd.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "vector_ref.h"
namespace dev
{
namespace db
{
using Slice = vector_ref<char const>;
class WriteBatchFace;
class DatabaseFace;
}
}
|
Crowntium/crowntium | src/cpp-ethereum/libdevcore/db.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "Exceptions.h"
#include "dbfwd.h"
#include <memory>
#include <string>
namespace dev
{
namespace db
{
// WriteBatchFace implements database writ... |
Crowntium/crowntium | src/cpp-ethereum/test/tools/libtestutils/TestLastBlockHashes.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/**
* Test implementation for LastBlockHahsesFace
*/
#pragma once
#include <libethereum/LastBlockHashesFace.h>
namespace dev
{
namespace test
{
class TestLastBloc... |
Crowntium/crowntium | src/cpp-ethereum/libweb3jsonrpc/UnixSocketServer.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "IpcServerBase.h"
#include <sys/un.h>
#include <atomic>
namespace dev
{
class UnixDomainSocketServer : public IpcServerBase<int>
{
public:
e... |
Crowntium/crowntium | src/cpp-ethereum/aleth/buildinfo.h | /* Cable: CMake Bootstrap Library.
* Copyright 2018 <NAME>.
* Licensed under the Apache License, Version 2.0. See the LICENSE file.
*/
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
struct buildinfo
{
const char* project_name;
const char* project_version;
const char* project_name_with_version;
... |
Crowntium/crowntium | src/cpp-ethereum/libethereum/ClientTest.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <tuple>
#include <libethereum/Client.h>
#include <boost/filesystem/path.hpp>
namespace dev
{
namespace eth
{
DEV_SIMPLE_EXCEPTION(ChainParamsI... |
Crowntium/crowntium | src/cpp-ethereum/libethcore/Precompiled.h | <gh_stars>1-10
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <unordered_map>
#include <functional>
#include <libdevcore/CommonData.h>
#include <libdevcore/Exceptions.h>
namespace dev
{
name... |
Crowntium/crowntium | src/cpp-ethereum/libethereum/BlockChainSync.h | <filename>src/cpp-ethereum/libethereum/BlockChainSync.h
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <mutex>
#include <unordered_map>
#include <libdevcore/Guards.h>
#include <libethcore/Com... |
Crowntium/crowntium | src/cpp-ethereum/libdevcore/LevelDB.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2017-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "db.h"
#include <boost/filesystem.hpp>
#include <leveldb/db.h>
#include <leveldb/write_batch.h>
namespace dev
{
namespace db
{
class LevelDB : ... |
Crowntium/crowntium | src/cpp-ethereum/libweb3jsonrpc/Web3.h | #pragma once
#include "Web3Face.h"
namespace dev
{
namespace rpc
{
class Web3: public Web3Face
{
public:
Web3(std::string _clientVersion = "C++ (cpp-ethereum)"): m_clientVersion(std::move(_clientVersion)) {}
virtual RPCModules implementedModules() const override
{
return RPCModules{RPCModule{"web3", "1.0"}};
}
... |
Crowntium/crowntium | src/cpp-ethereum/libweb3jsonrpc/IpcServer.h | <filename>src/cpp-ethereum/libweb3jsonrpc/IpcServer.h
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#if _WIN32
#include "WinPipeServer.h"
#else
#include "UnixSocketServer.h"
#endif
namespace dev
{
#if... |
Crowntium/crowntium | src/cpp-ethereum/test/tools/libtesteth/TestUtils.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <functional>
#include <string>
#include <json/json.h>
#include <libdevcore/TransientDirectory.h>
#include <libethereum/BlockChain.h>
#include <li... |
Crowntium/crowntium | src/cpp-ethereum/libethereum/VerifiedBlock.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#include <libdevcore/Common.h>
#include <libethcore/BlockHeader.h>
#pragma once
namespace dev
{
namespace eth
{
class Transaction;
/// @brief Verified block info,... |
Crowntium/crowntium | src/cpp-ethereum/libethcore/ABI.h | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... |
Crowntium/crowntium | src/cpp-ethereum/libp2p/UPnP.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <set>
#include <string>
#include <memory>
#include <thread>
struct UPNPUrls;
struct IGDdatas;
namespace dev
{
namespace p2p
{
class UPnP
{
pu... |
Crowntium/crowntium | src/cpp-ethereum/libp2p/Host.h | <filename>src/cpp-ethereum/libp2p/Host.h
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "Common.h"
#include "ENR.h"
#include "Network.h"
#include "NodeTable.h"
#include "Peer.h"
#include "RLPX... |
Crowntium/crowntium | src/cpp-ethereum/libethereum/BlockDetails.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <unordered_map>
#include <libdevcore/Log.h>
#include <libdevcore/RLP.h>
#include "TransactionReceipt.h"
namespace dev
{
namespace eth
{
// TOD... |
Crowntium/crowntium | src/cpp-ethereum/aleth/MinerAux.h | // Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/// @file
/// CLI module for mining.
#pragma once
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <libethcore/E... |
Crowntium/crowntium | src/cpp-ethereum/libethcore/BlockHeader.h | <gh_stars>1-10
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include "ChainOperationParams.h"
#include "Common.h"
#include "Exceptions.h"
#include <libdevcore/Common.h>
#include <libdevcore/Guards.h... |
Crowntium/crowntium | src/cpp-ethereum/test/tools/jsontests/TransactionTests.h | <filename>src/cpp-ethereum/test/tools/jsontests/TransactionTests.h
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/// @file
/// Transaction test functions.
#pragma once
#include <test/tools/libtesteth/TestSuite.h>
#... |
Crowntium/crowntium | src/cpp-ethereum/utils/libscrypt/crypto_scrypt-check.c | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include "b64.h"
#include "slowequals.h"
#include "libscrypt.h"
#if defined(_WIN32)
/* On windows, strtok uses a thread-local static variable in strtok to
* make strtok thread-safe. It also neglects to provide a strtok_r. */
#define strtok... |
Crowntium/crowntium | src/cpp-ethereum/libweb3jsonrpc/NetFace.h | /**
* This file is generated by jsonrpcstub, DO NOT CHANGE IT MANUALLY!
*/
#ifndef JSONRPC_CPP_STUB_DEV_RPC_NETFACE_H_
#define JSONRPC_CPP_STUB_DEV_RPC_NETFACE_H_
#include "ModularServer.h"
namespace dev {
namespace rpc {
class NetFace : public ServerInterface<NetFace>
{
public:
... |
Crowntium/crowntium | src/cpp-ethereum/libdevcrypto/Hash.h | <gh_stars>1-10
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2014-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
/**
* The FixedHash fixed-size "hash" container type.
*/
#pragma once
#include "libdevcore/FixedHash.h"
#include "libdevcore/vector_ref.h"
namespace ... |
Crowntium/crowntium | src/cpp-ethereum/aleth/AccountManager.h | <reponame>Crowntium/crowntium<filename>src/cpp-ethereum/aleth/AccountManager.h
// Aleth: Ethereum C++ client, tools and libraries.
// Copyright 2015-2019 Aleth Authors.
// Licensed under the GNU General Public License, Version 3.
#pragma once
#include <libethcore/KeyManager.h>
/**
* Add account management functionna... |
aydinmercan/coven | src/daemon/main.c | #include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include "daemon/log.h"
#include "daemon/supervisor.h"
static _Noreturn void usage(const int status)
{
// clang-format off
printf(
"covend: naive service supervisor\n"
"Usage:\n"
" covend [SVDIR]\n"
" covend [--help]\n"
"Options:\n"
" -h, --h... |
aydinmercan/coven | include/daemon/log.h | <gh_stars>0
#pragma once
#include <stddef.h>
#include <stdint.h>
struct daemon_event;
struct daemon_supervisor;
struct signalfd_siginfo;
#ifndef NDEBUG
#define DAEMON_DEBUG(...) daemon_log_debug(__VA_ARGS__)
// clang-format off
#define DAEMON_DEBUG_DESERIALIZE(X) \
_Gene... |
aydinmercan/coven | include/common/net.h | #pragma once
#include <stddef.h>
#include <stdint.h>
int bind_unix_socketfd(const char *path) __attribute__((access(read_only, 1), nonnull));
|
aydinmercan/coven | src/daemon/log/deserialize.c | <reponame>aydinmercan/coven
#include <inttypes.h>
#include <stdio.h>
#include <sys/signalfd.h>
#include <unistd.h>
#include "daemon/event.h"
#include "daemon/log.h"
#include "daemon/supervisor.h"
static inline void __attribute__((always_inline))
log_event_signal(const struct daemon_event *const ev)
{
// clang-format... |
aydinmercan/coven | include/daemon/instance.h | #pragma once
#include <signal.h>
#include <stddef.h>
#include <stdint.h>
struct daemon_instance {
uint64_t id;
int pidfd;
};
struct daemon_instance_map {
struct daemon_instance instance[32];
};
int daemon_instance_signal(struct daemon_instance *ins, const int sig, siginfo_t *const info)
__attribute__((nonnul... |
aydinmercan/coven | src/common/util/signal.c | <filename>src/common/util/signal.c
#include <signal.h>
#include <unistd.h>
#include "common/util.h"
static inline int __attribute__((access(write_only, 1), always_inline, nonnull))
sigset_populate_common_signals(sigset_t *const mask)
{
if (sigemptyset(mask) != 0) {
return -1;
}
if (sigaddset(mask, SIGTERM) != 0... |
aydinmercan/coven | src/common/net/socket.c | <filename>src/common/net/socket.c
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include "common/net.h"
// The function is too small to deduplicate errors
int bind_unix_socketfd(const char *path)
{
int fd;
struct sockaddr_un un = {
.sun_family = AF_UNIX,
.sun_path =... |
aydinmercan/coven | src/daemon/instance/signal.c | #include "common/linux.h"
#include "daemon/instance.h"
int daemon_instance_signal(struct daemon_instance *ins, const int sig, siginfo_t *const info)
{
return pidfd_send_signal(ins->pidfd, sig, info, 0x00);
}
|
aydinmercan/coven | include/common/linux.h | <filename>include/common/linux.h
#pragma once
#include <signal.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
struct clone_args;
pid_t clone3(struct clone_args *cl_args, size_t size);
int pidfd_send_signal(int pidfd, int sig, siginfo_t *info, unsigned int flags);
|
aydinmercan/coven | include/common/util.h | <filename>include/common/util.h<gh_stars>0
#pragma once
#include <signal.h>
#include <stddef.h>
#include <stdint.h>
int block_common_signals(sigset_t *const mask) __attribute__((access(write_only, 1), nonnull));
int unblock_common_signals(void);
|
aydinmercan/coven | src/daemon/supervisor/core.c | <gh_stars>0
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/signalfd.h>
#include <sys/socket.h>
#include <unistd.h>
#include "common/net.h"
#include "common/util.h"
#include "daemon/event.h"
#include "daemon/log.h"
#include "daemon/supervisor.h"
stat... |
aydinmercan/coven | src/common/linux/syscall.c | #include <linux/sched.h>
#include <sys/syscall.h>
#include <unistd.h>
#include "common/linux.h"
pid_t clone3(struct clone_args *cl_args, size_t size)
{
return (pid_t) syscall(SYS_clone3, cl_args, size);
}
int pidfd_send_signal(int pidfd, int sig, siginfo_t *info, unsigned int flags)
{
return (int) syscall(SYS_pidf... |
aydinmercan/coven | src/daemon/supervisor/watch.c | <reponame>aydinmercan/coven
#include <inttypes.h>
#include <sys/epoll.h>
#include "daemon/event.h"
#include "daemon/log.h"
#include "daemon/supervisor.h"
int daemon_supervisor_get_free_event_index(struct daemon_supervisor *const sv,
uint64_t *const index)
{
uint64_t i;
fo... |
aydinmercan/coven | src/daemon/log/core.c | <reponame>aydinmercan/coven
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
#include "daemon/log.h"
// TODO: Make this less stupid
static void (*log_ok_function)(const char *restrict fmt, va_list args) = NULL;
static void (*log_info_function)(const char *restrict fmt, va_list args) = NULL;
static void (... |
aydinmercan/coven | src/daemon/supervisor/ipc.c | <reponame>aydinmercan/coven
#include <sys/epoll.h>
#include <sys/socket.h>
#include "daemon/event.h"
#include "daemon/supervisor.h"
|
aydinmercan/coven | src/daemon/event/signal.c | <filename>src/daemon/event/signal.c
#include <inttypes.h>
#include <signal.h>
#include <stdio.h>
#include <sys/signalfd.h>
#include <unistd.h>
#include "daemon/event.h"
#include "daemon/log.h"
#include "daemon/supervisor.h"
void daemon_event_signal_handle(struct daemon_supervisor *const sv)
{
struct signalfd_siginfo... |
aydinmercan/coven | src/daemon/event/ipc.c | #include <sys/socket.h>
#include "daemon/event.h"
void daemon_event_ipc_accept_handle(struct daemon_supervisor *const sv)
{
int fd = accept(sv->unix_fd, NULL, 0U);
if (fd == -1) {
return;
}
sv->ipc_conn_len++;
if (sv->ipc_conn_len == 8) {
return;
}
if (daemon_supervisor_poll_ipc_accept(sv) != 0) {
re... |
aydinmercan/coven | include/daemon/supervisor.h | <gh_stars>0
#pragma once
#include <stddef.h>
#include <stdint.h>
#include "daemon/event.h"
#define DAEMON_SUPERVISOR_EVENT_LOOP_SIZE (32)
struct daemon_supervisor {
int epoll_fd;
int signal_fd;
int unix_fd;
_Bool running;
char *unix_path;
size_t ipc_conn_len;
size_t instance_len;
struct daemon_event events[... |
aydinmercan/coven | src/daemon/supervisor/loop.c | #include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/epoll.h>
#include "daemon/event.h"
#include "daemon/log.h"
#include "daemon/supervisor.h"
void daemon_supervisor_loop(struct daemon_supervisor *const sv)
{
struct epoll_event polled[DAEMON_SUPERVISOR_EVENT_LOOP_SIZE];
uint64_t index;
int i,... |
aydinmercan/coven | include/daemon/event.h | #pragma once
#include <stddef.h>
#include <stdint.h>
#define DAEMON_EVENT_NONE (0x00)
#define DAEMON_EVENT_SERVICE (0x01)
#define DAEMON_EVENT_SIGNAL (0x02)
#define DAEMON_EVENT_IPC_ACCEPT (0x03)
#define DAEMON_EVENT_IPC_CONN (0x04)
// Events are essentially tagged unions
struct daemon_supervisor;
s... |
ChopinDavid/UpsellViewController | UpsellViewController/UpsellViewController.h | //
// UpsellViewController.h
// UpsellViewController
//
// Created by <NAME> on 2/11/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for UpsellViewController.
FOUNDATION_EXPORT double UpsellViewControllerVersionNumber;
//! Project version strin... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/TreeViewerAppDelegate.h | <reponame>inovaeg/UI-Hierarchy-View<filename>Project/TreeViewer/TreeViewer/TreeViewerAppDelegate.h
//
// TreeViewerAppDelegate.h
// TreeViewer
//
// Created by <NAME> on 12/31/14.
// Copyright (c) 2014 Inova. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TreeViewerAppDelegate : UIResponder <UIApplica... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/Node.h | <filename>Project/TreeViewer/TreeViewer/Node.h
//
// Node.h
// TreeModel
//
// Created by <NAME> on 1/1/15.
// Copyright (c) 2015 Inova. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TreeViewerDelegate.h"
@interface Node : NSObject <TreeViewerDelegate>
@property (nonatomic, assign) id deleg... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/TreeViewer.h | <filename>Project/TreeViewer/TreeViewer/TreeViewer.h
//
// TreeViewer.h
// TreeViewer
//
// Created by <NAME> on 12/31/14.
// Copyright (c) 2014 Inova. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TreeViewerDelegate.h"
@interface TreeViewer : UIView
@property (strong,nonatomic) id<TreeViewerDelegate>... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/TreeViewerViewController.h | <reponame>inovaeg/UI-Hierarchy-View<gh_stars>10-100
//
// TreeViewerViewController.h
// TreeViewer
//
// Created by <NAME> on 12/31/14.
// Copyright (c) 2014 Inova. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Node.h"
#import "CustomNodeView.h"
#import "HierarchyScrollView.h"
@interface TreeViewerView... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/TreeViewerDelegate.h | <reponame>inovaeg/UI-Hierarchy-View
//
// TreeViewerDelegate.h
// TreeViewer
//
// Created by <NAME> on 1/14/15.
// Copyright (c) 2015 Inova. All rights reserved.
//
#ifndef TreeViewer_TreeViewerDelegate_h
#define TreeViewer_TreeViewerDelegate_h
@protocol TreeViewerDelegate
#pragma mark - view parameters:
// a c... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/CustomNodeView.h | <reponame>inovaeg/UI-Hierarchy-View
//
// CustomNodeView.h
// TreeViewer
//
// Created by <NAME> on 1/21/15.
// Copyright (c) 2015 Inova. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Node.h"
@interface CustomNodeView : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *customView;
-(void)cr... |
inovaeg/UI-Hierarchy-View | Project/TreeViewer/TreeViewer/HierarchyScrollView.h | //
// HierarchyScrollView.h
// TreeViewer
//
// Created by <NAME> on 1/11/15.
// Copyright (c) 2015 Inova. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TreeViewer.h"
@interface HierarchyScrollView : UIScrollView
// init the scroll view that contains the treeview.
- (id)initWithFrame:(CGRect)frame and... |
tung2744/authgear-sdk-js | packages/authgear-react-native/ios/RCTAuthgearManager.h | <reponame>tung2744/authgear-sdk-js
#import <UIKit/UIKit.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
@interface RCTAuthgearManager : RCTEventEmitter <RCTBridgeModule>
@end
|
tung2744/authgear-sdk-js | example/reactnative/ios/reactNativeExample/RCTWeChatAuthModule.h | #import <React/RCTBridgeModule.h>
static NSString *const kWechatAuthResultNotification = @"ReactNativeExampleWechatAuthNotification";
@interface RCTWechatAuthModule : NSObject <RCTBridgeModule>
@end
|
nadhir/Amc | Pods/AWSCore/AWSCore/Service/AWSService.h | /*
Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
A copy of the License is located at
http://aws.amazon.com/apache2.0
or in the "license" file accompany... |
nadhir/Amc | Onus/HomeViewController.h | //
// HomeViewController.h
// Onus
//
// Created by User on 2016-02-12.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HomeViewController : UIViewController<UIPageViewControllerDataSource,UIPageViewControllerDelegate,UIScrollViewDelegate>
@property (strong, nonatomic) UIPa... |
nadhir/Amc | Pods/Headers/Public/iOS-blur/JCRBlurView.h | <gh_stars>0
../../../iOS-blur/blur/blur/JCRBlurView.h |
nadhir/Amc | Onus/Utils.h | <reponame>nadhir/Amc<gh_stars>0
//
// Utils.h
// Swig
//
// Created by macbook air on 07/06/2015.
// Copyright (c) 2015 w-dig. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface Utils : NSObject
+ (UIImage *)imageWithColor:(UIColor *)color;
+(CGFloat)pixelToPoints:(CGFlo... |
nadhir/Amc | Onus/AppDelegate.h | //
// AppDelegate.h
// Onus
//
// Created by User on 2016-02-12.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AWSCore/AWSCore.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, assign) int f... |
nadhir/Amc | Onus/UIImage+BezierPath.h | <reponame>nadhir/Amc<filename>Onus/UIImage+BezierPath.h
#import <UIKit/UIKit.h>
@interface UIImage (BezierPath)
- (UIImage *)imageWithBezierPathFill:(UIBezierPath *)bezierPath;
- (UIImage *)imageWithBezierPathStroke:(UIBezierPath *)bezierPath;
@end
|
nadhir/Amc | Onus/STextField.h | //
// STextField.h
// Swig
//
// Created by macbook air on 27/05/2015.
// Copyright (c) 2015 w-dig. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface STextField : UITextField
@property (nonatomic, strong) UIColor *placeHolderColor;
@property (nonatomic, strong) UIFont *placeHolderFont;
@property NSTextA... |
nadhir/Amc | Pods/AWSCore/AWSCore/Bolts/AWSBoltsVersion.h | <reponame>nadhir/Amc
#define AWS_BOLTS_VERSION @"1.5.0"
|
nadhir/Amc | Pods/AWSCore/AWSCore/Bolts/AWSBolts.h | /*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#import <AW... |
nadhir/Amc | Onus/company.h | //
// company.h
// Onus
//
// Created by User on 2016-02-13.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface company : NSObject
@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSString *nom;
@property (strong, nonatomic) NSString *price;... |
nadhir/Amc | Onus/UIImage+Rotation.h | <filename>Onus/UIImage+Rotation.h
//
// UIImage+Rotation.h
// Miranda
//
// Created by Mehdi on 03/03/14.
// Copyright (c) 2014 Mehdi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Rotation)
- (UIImage *)scaleAndRotateImage:(UIImage *)image;
@end
|
nadhir/Amc | Onus/RDActionSheet.h | //
// RDActionSheet.h
// RDActionSheet v1.1.0
//
// Created by <NAME> on 12/01/2012.
// Copyright (c) 2012 Riot. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RDActionSheet;
@protocol RDActionSheetDelegate;
typedef enum RDActionSheetResult {
RDActionSheetButtonResultSelected,
RDActionSheetResult... |
nadhir/Amc | Onus/CollectionCell.h | //
// CollectionCell.h
// Onus
//
// Created by User on 2016-02-14.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CollectionCell : UICollectionViewCell
@end
|
nadhir/Amc | Onus/ChildViewController.h | <reponame>nadhir/Amc<filename>Onus/ChildViewController.h<gh_stars>0
//
// ChildViewController.h
// Onus
//
// Created by User on 2016-02-12.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ChildViewController : UIViewController
@property (strong, nonatomic) id dataObject;
... |
nadhir/Amc | Onus/SendToCompanyViewController.h | <gh_stars>0
//
// SendToCompanyViewController.h
// challenge
//
// Created by User on 2016-02-13.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SendToCompanyViewController : UIViewController
@end
|
nadhir/Amc | Onus/question.h | //
// question.h
// Onus
//
// Created by User on 2016-02-13.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface question : NSObject
@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSString *libelé;
-(id)initWithJson:(NSDictionary*)json... |
nadhir/Amc | Onus/image-color.h | //
// image-color.h
// ClonePikicast
//
// Created by User on 2015-08-08.
// Copyright (c) 2015 IdeaLump. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (JTColor)
+ (UIImage *)imageWithColor:(UIColor *)color;
@end |
nadhir/Amc | Onus/SecondContentViewController.h | //
// SecondContentViewController.h
// Onus
//
// Created by User on 2016-02-12.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SecondContentViewController : UIViewController
@end
|
nadhir/Amc | Onus/survay.h | <gh_stars>0
//
// survay.h
// Onus
//
// Created by User on 2016-02-13.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface survay : NSObject
@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSString *title;
@property (strong, nonatomic) NSMuta... |
frankpolte/UBIA | TlsrSrc/my_ble_usb_i2c_adc/include/i2cbus.h | /*
* ina2xx.h
*
* Created on: 14.01.2020
* Author: pvvx
*/
#ifndef _I2CBUS_H_
#define _I2CBUS_H_
/* Universal I2C/SMBUS read-write transaction struct */
typedef struct _i2c_utr_t {
unsigned char mode; // bit0..6: number wr_byte for new START (bit7: =1 - generate STOP/START)
unsigned char rdlen; // bit0.... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/vendor/common/common_emi.h | <filename>TlsrSrc/tl_pvvx_ble_sdk/vendor/common/common_emi.h
/********************************************************************************************************
* @file common_emi.h
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semicon... |
frankpolte/UBIA | TlsrSrc/my_ble_usb_i2c_adc/include/dac.h | /*
* dac.h
*
* Created on: 17.02.2020
* Author: pvvx
*/
#ifndef DAC_H_
#define DAC_H_
extern dev_dac_cfg_t cfg_dac;
extern const dev_dac_cfg_t def_cfg_dac;
inline void sdm_set_buf(signed short* pbuff, unsigned int size_buff)
{
reg_aud_base_adr = (unsigned short)((u32)pbuff);
reg_aud_buff_size = (size_b... |
frankpolte/UBIA | TlsrSrc/my_ble_usb_i2c_adc/source/i2c_dev.c | /*
* i2c_dev.c
*
* Created on: 22.02.2020
* Author: pvvx
*/
#include "proj/tl_common.h"
#if (USE_I2C_DEV)
#include "i2c_dev.h"
// I2C DEV flags
volatile u8 timer_flg = 0; // flag временного отключения чтения I2C regs по irq
u32 t_rd_us = 0; // flag и время в us работы опроса без таймера
// I2C DEV read buff... |
frankpolte/UBIA | TlsrSrc/my_ble_usb_i2c_adc/source/cmd_decode.c | /*
* cmd_decode.c
*
* Created on: 14.01.2020
* Author: pvvx
*/
#include "proj/tl_common.h"
#include "app.h"
#if (USE_BLE)
#include "ble.h"
#endif
#include "flash_eep.h"
#include "eep_id.h"
#if (USE_USB_CDC)
#include "usb.h"
#endif
#if (USE_I2C_DEV)
#include "i2c_dev.h"
#endif
#if (USE_ADC_DEV)
#include "adc... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/emi.h | <gh_stars>10-100
/********************************************************************************************************
* @file emi.h
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
* All rights... |
frankpolte/UBIA | OpenWrt/package/uina219/src/ubia_blk.h | <filename>OpenWrt/package/uina219/src/ubia_blk.h<gh_stars>10-100
/*
* cmd_cfg.h
*
* Created on: 14.01.2020
* Author: pvvx
*/
#ifndef _CMD_CFG_H_
#define _CMD_CFG_H_
//#include "proj/common/types.h"
///
#define MCU_CORE_8266 1
#define MCU_CORE_TYPE MCU_CORE_8266
#define USE_USB_CDC 1
///
#define MIN_TS... |
frankpolte/UBIA | TlsrSrc/my_ble_usb_i2c_adc/include/inits.h | /*
* inits.h
*
* Created on: 14.10.2019
* Author: pvvx
*/
#ifndef _INITS_H_
#define _INITS_H_
#pragma once
typedef struct TBLCMDSET32 {
unsigned short cmd;
unsigned short adr;
unsigned int dat;
} TBLCMDSET32;
// TBLCMDSET32 cmd :
enum{
TCMD_SWR32 = 1,
TCMD_SWR16,
TCMD_SWR8,
TCMD_SSET32,
TCMD_SOR1... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/phy/phy_test.h | <reponame>frankpolte/UBIA<filename>TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/phy/phy_test.h
/*
* phy_test.h
*
* Created on: 2017-8-17
* Author: Administrator
*/
#ifndef BLE_PHY_H_
#define BLE_PHY_H_
#ifndef PHYTEST_MODE_DISABLE
#define PHYTEST_MODE_DISABLE 0
#endif
#ifndef PHYTEST_MODE_THROUGH_2_WIR... |
frankpolte/UBIA | PowerProfiler/STM32F103/Main/main.c | <filename>PowerProfiler/STM32F103/Main/main.c<gh_stars>10-100
/**
******************************************************************************
* @file main.c
* @author MCD Application Team
* @version V4.0.0
* @date 21-January-2013
* @brief Virtual Com Port Demo main file
***********************************... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/mcu/gpio.h | <gh_stars>10-100
/********************************************************************************************************
* @file gpio.h
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
* All right... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/service/ble_ll_ota.h | /*
* ble_ll_ota.h
*
* Created on: 2015-7-20
* Author: Administrator
*/
#ifndef BLE_LL_OTA_H_
#define BLE_LL_OTA_H_
#ifndef BLE_OTA_ENABLE
#define BLE_OTA_ENABLE 0
#endif
#ifndef BLE_OTA_FW_CHECK_EN
#define BLE_OTA_FW_CHECK_EN 1
#endif
#define CMD_OTA_FW_VERSION 0xff00
#define CMD_OTA_START ... |
frankpolte/UBIA | TlsrSrc/UsbFloader/Include/spi_i.h | <reponame>frankpolte/UBIA
// use static inline, because, spi flash code must reside in memory..
// these code may be embedd in flash code
#if USE_EXT_FLASH
_attribute_ram_code_ static inline void mspi_high(void){
BM_SET(reg_gpio_out(CS_EXT_FLASH), (unsigned char)(CS_EXT_FLASH & 0xff));
}
_attribute_ram_code_ static... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/vendor/common/myprintf.c | <filename>TlsrSrc/tl_pvvx_ble_sdk/vendor/common/myprintf.c
/********************************************************************************************************
* @file myprintf.c
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semiconduct... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/spi.h | <filename>TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/spi.h
/********************************************************************************************************
* @file spi.h
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semiconductor (Shangha... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/mcu_spec/gpio_8267.c | <filename>TlsrSrc/tl_pvvx_ble_sdk/proj/mcu_spec/gpio_8267.c
/********************************************************************************************************
* @file gpio_8267.c
*
* @brief for TLSR chips
*
* @author BLE Group
* @date May. 12, 2018
*
* @par Copyright (c) Telink Semicondu... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/hci/hci.h | #pragma once
#include "../ble_common.h"
typedef int (*blc_hci_rx_handler_t) (void);
typedef int (*blc_hci_tx_handler_t) (void);
typedef int (*blc_hci_handler_t) (unsigned char *p, int n);
typedef int (*blc_hci_app_handler_t) (unsigned char *p);
extern blc_hci_handler_t blc_master_handler;
#define HCI_FLAG_EV... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/mcu_spec/gpio_default_8269.h | <reponame>frankpolte/UBIA
/********************************************************************************************************
* @file gpio_default_8269.h
*
* @brief for TLSR chips
*
* @author telink
*
* @par Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
* All rights reser... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj/common/log.h | /********************************************************************************************************
* @file log.h
*
* @brief for TLSR chips
*
* @author <EMAIL>;
* @date Sep. 30, 2010
*
* @par Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
* All rights reserved.
* ... |
frankpolte/UBIA | TlsrSrc/Uartfloader/Source/crc.c | <gh_stars>10-100
/**********************************************************************
*
* Filename: crc.c
*
* Description: Slow and fast implementations of the CRC standards.
*
* Notes: The parameters for each supported CRC standard are
* defined in the header file crc.h. The implementations
* ... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/uuid.h | <reponame>frankpolte/UBIA
#pragma once
/** @addtogroup GATT_Common_Module GATT UUID
* @{
*/
/** @addtogroup GATT_UUID GATT 16 bit UUID definition
* @{
* https://www.bluetooth.com/specifications/gatt/services/
*/
#define GATT_UUID_PRIMARY_SERVICE 0x2800 //!< Primary Service
#define GATT_UUID_SECOND... |
frankpolte/UBIA | TlsrSrc/tl_pvvx_ble_sdk/proj_lib/ble/ll/ll_init.h | /*
* ll_init.h
*
* Created on: 2017-3-9
* Author: Administrator
*/
#ifndef LL_INIT_H_
#define LL_INIT_H_
typedef struct {
u8 init_en;
u8 conn_policy;
u8 conn_advType;
u8 conn_established;
u32 create_conn_startTick;
u8 conn_mac[6];
}st_ll_init_t;
extern u32 blm_timeout_connectDevice;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.