repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
hansel163/miniweb | miniweb/revision.h | #define BUILD_NO 19
#define BUILD_DATE "Mon Dec 12 09:59:44 2005"
|
hansel163/miniweb | miniweb/httpint.h | /////////////////////////////////////////////////////////////////////////////
//
// httpint.h
//
// http implementation internal header file
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _HTTPINT_H_
#define _HTTPINT_H_
#include "httpapi.h"
///////////////////////... |
hansel163/miniweb | miniweb/httpmin.c | #include <stdio.h>
#include <string.h>
#include "httppil.h"
#include "httpapi.h"
int MyUrlHandler(UrlHandlerParam* param);
int MyUrlHandlerInit(HttpParam* hp, int uninit);
//URL handler list
UrlHandler urlHandlerList[]={
{"cfg.htm",MyUrlHandler,MyUrlHandlerInit},
{NULL},
};
HttpParam httpParam;
st... |
hansel163/miniweb | miniweb/httppil.c | <gh_stars>0
/////////////////////////////////////////////////////////////////////////////
//
// httppil.c
//
// MiniWeb Platform Independent Layer
//
/////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <sys/types.h>
#... |
hansel163/miniweb | miniweb/vod.c | #include "httppil.h"
#include "httpapi.h"
#define MAX_SESSIONS 2
#define PRE_ALLOC_UNIT 16
#define LOOP_VIDEO "vodloop.mp4"
typedef struct _PL_ENTRY {
struct _PL_ENTRY *next;
void* data;
} PL_ENTRY;
typedef enum {
ACT_NOTHING=0,
ACT_SKIP,
} VOD_CLIENT_ACTIONS;
typedef int (*PL_ENUM_CALLBACK)(PL... |
hansel163/miniweb | miniweb/httppil.h | ///////////////////////////////////////////////////////////////////////
//
// httpapi.h
//
// Header file for Miniweb Platform Independent Layer
//
///////////////////////////////////////////////////////////////////////
#ifndef _HTTPPIL_H_
#define _HTTPPIL_H_
#ifdef WIN32
#include <windows.h>
#include <i... |
hansel163/miniweb | miniweb/mpd.c | #ifdef _MPD
#include "httppil.h"
#include "httpapi.h"
#include "procpil.h"
int mpState=0;
static SHELL_PARAM mpx;
int mpRead(char* buf, int bufsize)
{
int bytes=0;
#ifdef WIN32
ReadFile((HANDLE)mpx.fdRead,buf,bufsize-1,&bytes,NULL);
#else
bytes=read(mpx.fdRead,buf,bufsize-1);
#endif
*(buf+bytes)=0... |
hansel163/miniweb | miniweb/httppost.c | /////////////////////////////////////////////////////////////////////////////
//
// http.c
//
// MiniWeb HTTP POST implementation for
//
/////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "htt... |
hansel163/miniweb | miniweb/http.c | /////////////////////////////////////////////////////////////////////////////
//
// http.c
//
// MiniWeb - mini webserver implementation
//
/////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fcn... |
hansel163/miniweb | miniweb/procpil.h | <reponame>hansel163/miniweb
#define SHELL_ALLOC 0x1
#define SHELL_SHOW_WINDOW 0x2
#define SHELL_REDIRECT_STDIN 0x4
#define SHELL_REDIRECT_STDOUT 0x8
typedef struct {
char *pchCommandLine;
char *pchCurDir;
char *pchPath;
#ifdef WIN32
HANDLE fdRead;
HANDLE fdWrite;
PROCESS_INFORMATION piProcInfo;
#els... |
aredev/aawsome-wpa_supplicant | src/eap_peer/eap_aba.c | /*
* EAP peer method: EAP-ABA
* 2016 Bachelorthesis <NAME>
* <NAME>
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eap_i.h"
static void * eap_aba_init(struct eap_sm *sm)
{
/* No need for private data. However, must return non-NULL to indicate
* success. */
//return 1... |
TCatshoek/STMLearn-benchmarks | rers/verifier_patched.c | #include <stdio.h>
#include <stdlib.h>
extern void reset();
void __VERIFIER_error(int);
void __VERIFIER_error(int i) {
fprintf(stderr, "error_%d ", i);
reset();
}
|
lukaszog/haskell-rest | .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/RESTAPI/autogen/cabal_macros.h | /* DO NOT EDIT: This file is automatically generated by Cabal */
/* package RESTAPI-0.1.0.0 */
#ifndef VERSION_RESTAPI
#define VERSION_RESTAPI "0.1.0.0"
#endif /* VERSION_RESTAPI */
#ifndef MIN_VERSION_RESTAPI
#define MIN_VERSION_RESTAPI(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 1 || ... |
egor43/redis-roaring | src/type.h | <gh_stars>1-10
#ifndef REDIS_ROARING_TYPE_H
#define REDIS_ROARING_TYPE_H
#define BITMAP_ENCODING_VERSION 1
void BitmapRdbSave(RedisModuleIO* rdb, void* value);
void* BitmapRdbLoad(RedisModuleIO* rdb, int encver);
void BitmapAofRewrite(RedisModuleIO* aof, RedisModuleString* key, void* value);
size_t BitmapMemUsage(con... |
egor43/redis-roaring | src/type.c | <reponame>egor43/redis-roaring<filename>src/type.c
#include "redismodule.h"
#include "data-structure.h"
#include "type.h"
/* === Bitmap type methods === */
void BitmapRdbSave(RedisModuleIO* rdb, void* value) {
Bitmap* bitmap = value;
size_t serialized_max_size = roaring_bitmap_size_in_bytes(bitmap);
char* serial... |
egor43/redis-roaring | tests/performance.c | <reponame>egor43/redis-roaring<filename>tests/performance.c<gh_stars>0
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <assert.h>
#include "hiredis.h"
#include "benchmarks/numbersfromtextfiles.h"
/*
* macros
*/
//#define debug(fmt, ...) printf(fmt, ##__VA_ARGS__)
#define debug(fmt... |
radimkohout/v8-new | src/ic/binary-op-assembler.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_SRC_IC_BINARY_OP_ASSEMBLER_H_
#define V8_SRC_IC_BINARY_OP_ASSEMBLER_H_
#include "src/code-stub-assembler.h"
namespace v8 {
namespace intern... |
radimkohout/v8-new | src/wasm/streaming-decoder.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_WASM_STREAMING_DECODER_H_
#define V8_WASM_STREAMING_DECODER_H_
#include <vector>
#include "src/isolate.h"
#include "src/wasm/decoder.h"
#inc... |
radimkohout/v8-new | src/objects/string-table.h | <reponame>radimkohout/v8-new
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_STRING_TABLE_H_
#define V8_OBJECTS_STRING_TABLE_H_
#include "src/objects/hash-table.h"
// Has to be th... |
radimkohout/v8-new | src/asmjs/asm-js.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_ASMJS_ASM_JS_H_
#define V8_ASMJS_ASM_JS_H_
// Clients of this interface shouldn't depend on lots of asmjs internals.
// Do not include anyth... |
radimkohout/v8-new | test/inspector/isolate-data.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_TEST_INSPECTOR_PROTOCOL_ISOLATE_DATA_H_
#define V8_TEST_INSPECTOR_PROTOCOL_ISOLATE_DATA_H_
#include <map>
#include "include/v8-inspector.h"... |
radimkohout/v8-new | src/objects/map-inl.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_MAP_INL_H_
#define V8_OBJECTS_MAP_INL_H_
#include "src/field-type.h"
#include "src/objects/map.h"
// Has to be the last include (do... |
radimkohout/v8-new | src/heap/sequential-marking-deque.h | <reponame>radimkohout/v8-new
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_SEQUENTIAL_MARKING_DEQUE_
#define V8_HEAP_SEQUENTIAL_MARKING_DEQUE_
#include <deque>
#include "src/base/p... |
radimkohout/v8-new | src/ast/context-slot-cache.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_CONTEXT_SLOT_CACHE_H_
#define V8_AST_CONTEXT_SLOT_CACHE_H_
#include "src/allocation.h"
#include "src/ast/modules.h"
namespace v8 {
name... |
radimkohout/v8-new | src/visitors.h | <reponame>radimkohout/v8-new
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_VISITORS_H_
#define V8_VISITORS_H_
#include "src/allocation.h"
namespace v8 {
namespace internal {
class Obje... |
radimkohout/v8-new | test/cctest/wasm/wasm-run-utils.h | <reponame>radimkohout/v8-new
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WASM_RUN_UTILS_H
#define WASM_RUN_UTILS_H
#include <setjmp.h>
#include <stdint.h>
#include <stdlib.h>
#include <st... |
radimkohout/v8-new | src/inspector/v8-injected-script-host.h | <gh_stars>10-100
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_
#define V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_
#include "include/v8.h"
namespace v8_inspec... |
radimkohout/v8-new | test/cctest/compiler/function-tester.h | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
#define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
#include "src/handles.h"
#include "test/cctest/cctest.h"
n... |
radimkohout/v8-new | src/heap/concurrent-marking-deque.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_CONCURRENT_MARKING_DEQUE_
#define V8_HEAP_CONCURRENT_MARKING_DEQUE_
#include <deque>
#include "src/base/platform/mutex.h"
namespace v... |
radimkohout/v8-new | src/compiler/graph-assembler.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_GRAPH_ASSEMBLER_H_
#define V8_COMPILER_GRAPH_ASSEMBLER_H_
#include "src/compiler/js-graph.h"
#include "src/compiler/node.h"
#includ... |
radimkohout/v8-new | src/heap/objects-visiting.h | <gh_stars>1-10
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_VISITING_H_
#define V8_OBJECTS_VISITING_H_
#include "src/allocation.h"
#include "src/heap/embedder-tracing.h"
#includ... |
radimkohout/v8-new | src/objects/object-macros.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Note 1: Any file that includes this one should include object-macros-undef.h
// at the bottom.
// Note 2: This file is deliberately missing the incl... |
radimkohout/v8-new | src/objects/compilation-cache-inl.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_COMPILATION_CACHE_INL_H_
#define V8_OBJECTS_COMPILATION_CACHE_INL_H_
#include "src/objects/compilation-cache.h"
// Has to be the la... |
radimkohout/v8-new | src/objects/map.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_MAP_H_
#define V8_OBJECTS_MAP_H_
#include "src/objects.h"
#include "src/globals.h"
// Has to be the last include (doesn't have inc... |
radimkohout/v8-new | test/cctest/ast-types-fuzz.h | <filename>test/cctest/ast-types-fuzz.h<gh_stars>1-10
// Copyright 2014 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must reta... |
radimkohout/v8-new | src/heap/workstealing-marking-deque.h | <filename>src/heap/workstealing-marking-deque.h
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_WORKSTEALING_MARKING_DEQUE_
#define V8_HEAP_WORKSTEALING_MARKING_DEQUE_
#include <cstdd... |
radimkohout/v8-new | src/asmjs/asm-types.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_ASMJS_ASM_TYPES_H_
#define V8_ASMJS_ASM_TYPES_H_
#include <string>
#include "src/base/compiler-specific.h"
#include "src/base/macros.h"
#in... |
radimkohout/v8-new | src/crankshaft/arm64/delayed-masm-arm64-inl.h | <filename>src/crankshaft/arm64/delayed-masm-arm64-inl.h<gh_stars>1-10
// Copyright 2013 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_
#define V8_CRANKSHAFT_ARM64_... |
radimkohout/v8-new | src/heap/concurrent-marking.h | <reponame>radimkohout/v8-new<filename>src/heap/concurrent-marking.h
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_CONCURRENT_MARKING_
#define V8_HEAP_CONCURRENT_MARKING_
#include "s... |
radimkohout/v8-new | src/heap/mark-compact.h | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_HEAP_MARK_COMPACT_H_
#define V8_HEAP_MARK_COMPACT_H_
#include <deque>
#include "src/base/bits.h"
#include "src/base/platform/condition-vari... |
radimkohout/v8-new | src/compiler/graph-reducer.h | <filename>src/compiler/graph-reducer.h
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_GRAPH_REDUCER_H_
#define V8_COMPILER_GRAPH_REDUCER_H_
#include "src/base/compiler-specific.h... |
radimkohout/v8-new | src/compiler/escape-analysis-reducer.h | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
#define V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
#include "src/base/compiler-specific.h"
#include "src/bit... |
radimkohout/v8-new | src/libsampler/sampler.h | <reponame>radimkohout/v8-new
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_LIBSAMPLER_SAMPLER_H_
#define V8_LIBSAMPLER_SAMPLER_H_
#include "include/v8.h"
#include "src/base/atomicops.h"... |
radimkohout/v8-new | src/find-and-replace-pattern.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_FIND_AND_REPLACE_PATTERN_H_
#define V8_FIND_AND_REPLACE_PATTERN_H_
#include "src/handles.h"
namespace v8 {
namespace internal {
class Map;... |
radimkohout/v8-new | src/builtins/builtins-constructor.h | <reponame>radimkohout/v8-new
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_BUILTINS_BUILTINS_CONSTRUCTOR_H_
#define V8_BUILTINS_BUILTINS_CONSTRUCTOR_H_
#include "src/contexts.h"
#include... |
radimkohout/v8-new | src/ast/ast-numbering.h | <filename>src/ast/ast-numbering.h<gh_stars>10-100
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_AST_NUMBERING_H_
#define V8_AST_AST_NUMBERING_H_
#include <stdint.h>
namespace v8 {
n... |
radimkohout/v8-new | src/compiler-dispatcher/compiler-dispatcher.h | <reponame>radimkohout/v8-new<gh_stars>1-10
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_
#define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_
... |
radimkohout/v8-new | src/accessors.h | <filename>src/accessors.h<gh_stars>10-100
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_ACCESSORS_H_
#define V8_ACCESSORS_H_
#include "include/v8.h"
#include "src/allocation.h"
#include ... |
radimkohout/v8-new | src/managed.h | <reponame>radimkohout/v8-new
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_MANAGED_H_
#define V8_MANAGED_H_
#include "src/factory.h"
#include "src/global-handles.h"
#include "src/handles... |
radimkohout/v8-new | src/objects/code-cache.h | <gh_stars>1-10
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_CODE_CACHE_H_
#define V8_OBJECTS_CODE_CACHE_H_
#include "src/objects/hash-table.h"
// Has to be the last include (do... |
radimkohout/v8-new | src/objects/code-cache-inl.h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_CODE_CACHE_INL_H_
#define V8_OBJECTS_CODE_CACHE_INL_H_
#include "src/objects/code-cache.h"
// Has to be the last include (doesn't h... |
radimkohout/v8-new | src/compilation-cache.h | <filename>src/compilation-cache.h<gh_stars>1-10
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILATION_CACHE_H_
#define V8_COMPILATION_CACHE_H_
#include "src/allocation.h"
#include "s... |
radimkohout/v8-new | src/heap/array-buffer-tracker-inl.h | <gh_stars>10-100
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/conversions-inl.h"
#include "src/heap/array-buffer-tracker.h"
#include "src/heap/heap.h"
#include "src/objects.h"
namesp... |
radimkohout/v8-new | src/compiler/operation-typer.h | <reponame>radimkohout/v8-new
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_OPERATION_TYPER_H_
#define V8_COMPILER_OPERATION_TYPER_H_
#include "src/base/flags.h"
#include "src/co... |
radimkohout/v8-new | src/compiler/escape-analysis.h | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_ESCAPE_ANALYSIS_H_
#define V8_COMPILER_ESCAPE_ANALYSIS_H_
#include "src/compiler/graph.h"
#include "src/globals.h"
namespace v8 {
... |
radimkohout/v8-new | test/inspector/inspector-impl.h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_
#define V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_
#include <map>
#include <vector>
#include "i... |
pritesh9/true-rms-library | true-rms-library.h | <filename>true-rms-library.h<gh_stars>0
/*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the right... |
mikiec84/webvfx | webvfx/image.h | // Copyright (c) 2011 Hewlett-Packard Development Company, L.P. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBVFX_IMAGE_H_
#define WEBVFX_IMAGE_H_
namespace WebVfx
{
/*!
* @brief Lightweight class for passing around a referenc... |
mikiec84/webvfx | webvfx/content_context.h | // Copyright (c) 2011 Hewlett-Packard Development Company, L.P. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBVFX_CONTENT_CONTEXT_H_
#define WEBVFX_CONTENT_CONTEXT_H_
#include <QHash>
#include <QImage>
#include <QMap>
#include <... |
Tap-Payments/BlockUIViewControllerV2 | BlockUIViewController/BlockUIViewController.h | //
// BlockUIViewController.h
// BlockUIViewController
//
// Created by <NAME> on 12/10/17.
// Copyright © 2017 Tap Payments. All rights reserved.
//
@import Foundation.NSObjCRuntime;
//! Project version number for BlockUIViewController.
FOUNDATION_EXPORT double BlockUIViewControllerVersionNumber;
//! Project ve... |
MatthewHallberg/MapboxGPSHeading | Assets/GameSparks/Plugins/iOS/GSExternal.h | //
// GSExternal.h
//
#if __cplusplus
extern "C" {
#endif
void GSGetProxySettings();
#if __cplusplus
}
#endif
|
xnuxer/android-screenshot-library | native/fbshot.c | /*
* fbshot.c -- FrameBuffer Screen Capture Utility
* (C)opyright 2002 <EMAIL>
*
* Originally Written by: <NAME> <<EMAIL>>
* Further changes by: <NAME> <<EMAIL>>
* Rewriten and maintained by: <NAME> <<EMAIL>>
* Modular version by: <NAME> <<EMAIL>>
*
* This is a simple program that generates a
* screenshot of... |
xnuxer/android-screenshot-library | native/main.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/select.h>
#include <errno.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#define _GNU_SOURCE
#include <getopt.h>
#include "common.h"
#define PORT 42380
#define BUF_SIZE 256
#... |
linclip/M5Chorder | src/MenuItemScale.h | #ifndef _MENUITEMSCALE_H_
#define _MENUITEMSCALE_H_
/*
MenuItemScale is based on MenuItemNumeric.
https://github.com/lovyan03/M5Stack_TreeView/blob/master/src/MenuItemNumeric.h
*/
#include <MenuItemSpinner.h>
#include <Scale.h>
class MenuItemScale : public MenuItemSpinner {
public:
MenuItemScale(const String& titl... |
linclip/M5Chorder | src/MidiNote.h | <reponame>linclip/M5Chorder
#ifndef _MIDINOTE_H_
#define _MIDINOTE_H_
#include <stdint.h>
typedef struct {
uint8_t status;
uint8_t noteNo;
uint8_t velocity;
} MidiNote;
#endif |
linclip/M5Chorder | src/MenuItemSpinner.h | #ifndef _MENUITEMSPINNER_H_
#define _MENUITEMSPINNER_H_
/*
MenuItemSpinner is based on MenuItemNumeric.
https://github.com/lovyan03/M5Stack_TreeView/blob/master/src/MenuItemNumeric.h
*/
#include <MenuItem.h>
#include <WString.h>
class MenuItemSpinner : public MenuItem {
public:
int value = 0;
bool canLoop = true... |
linclip/M5Chorder | src/BLEMidi.h | #ifndef _BLEMIDI_H_
#define _BLEMIDI_H_
#include <string>
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include <BLE2902.h>
#define MIDI_SERVICE_UUID "03b80e5a-ede8-4b33-a751-6ce34ec4c700"
#define MIDI_CHARACTERISTIC_UUID "7772e5db-3868-4112-a1a9-f2669d106bf3"
class BLEMidi {
public:
... |
linclip/M5Chorder | src/MenuItemKey.h | /*
MenuItemKey is based on MenuItemNumeric.
https://github.com/lovyan03/M5Stack_TreeView/blob/master/src/MenuItemNumeric.h
*/
#ifndef _MENUITEMKEY_H_
#define _MENUITEMKEY_H_
#include "MenuItemSpinner.h"
#include "Chord.h"
class MenuItemKey : public MenuItemSpinner {
public:
MenuItemKey(const String& title, int va... |
linclip/M5Chorder | src/Scale.h | <reponame>linclip/M5Chorder<gh_stars>1-10
#ifndef _SCALE_H_
#define _SCALE_H_
#include <stdint.h>
#include <vector>
#include <memory>
#include <map>
#include <WString.h>
#include <functional>
#include "Chord.h"
class ScaleBase;
//Chordクラスと同様に現在使っているスケールを管理するためのクラス
class Scale {
protected:
static std::vector<std:... |
CiscoDevNet/flare | swift/Flare/Flare/Flare.h | <gh_stars>10-100
//
// Flare.h
// Flare
//
// Created by <NAME> on 8/14/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
//! Project version number for Flare.
FOUNDATION_EXPORT double FlareVersionNumber;
//! Project version string f... |
MalaGaM/glftpd-installer-1 | packages/scripts/rud-filedone/rud-filedone.c | <gh_stars>0
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#define PROCESS_MKV 1
#define PROCESS_MP4 1
#define PROCESS_RAR 0
#define ZIPSCRIPT "/bin/zipscript-c"
#defi... |
sahandKashani/CUDA-multiprecision-arithmetic-code-generator | operations.h | #ifndef OPERATIONS_H
#define OPERATIONS_H
#define MIN_BIGNUM_NUMBER_OF_WORDS (5)
#define MAX_BIGNUM_NUMBER_OF_WORDS (9)
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////// BIGNUM /////////////////////////////////////
////////////////////////////////////... |
nicmcd/libcolhash | src/colhash/tuplehash.h | /*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* - Redistributions in binar... |
s6530085/SMFoundation | SMFoundation/UIBarButtonItem+SMFoundation.h | <gh_stars>1-10
//
// UIBarButtonItem+SMFoundation.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 15/6/30.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIBarButtonItem (SMFoundation)
+ (instancetype)itemWithImageName:(NSString *)... |
s6530085/SMFoundation | SMFoundation/SMPath.h | //
// SMPath.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 15/7/27.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
UIKIT_EXTERN NSString *kPathTemp();
UIKIT_EXTERN NSString *kPathDocument();
UIKIT_EXTERN... |
s6530085/SMFoundation | SMFoundation/UITableView+SMFoundation.h | //
// UITableView+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITableView (SMFoundation)
- (NSIndexPath *)lastIndexPath;
- (void)scrollToLastRowAnimated:(BOOL)animated;... |
s6530085/SMFoundation | SMFoundation/UIImage+SMFoundation.h | //
// UIImage+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (SMFoundation)
- (CGFloat)width;
- (CGFloat)height;
// 如果参数比原image的size小,是截取原image相应的rect里的部分,如果参数比原i... |
s6530085/SMFoundation | SMFoundation/UITextView+SMFoundation.h | <filename>SMFoundation/UITextView+SMFoundation.h
//
// UITextView+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITextView (SMFoundation)
- (BOOL)isEmptyAfterTrimmingWhit... |
s6530085/SMFoundation | SMFoundation/SMBlock.h | //
// SMBlock.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^SMBaseBlock)();
typedef void (^SMSelectIndexBlock)(NSInteger selectedIndex);
typedef v... |
s6530085/SMFoundation | SMFoundation/NSTimer+SMFoundation.h | //
// NSTimer+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSTimer (SMFoundation)
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)interval block:(v... |
s6530085/SMFoundation | SMFoundation/UIDevice+SMFoundation.h | <reponame>s6530085/SMFoundation<gh_stars>1-10
//
// UIDevice+SMFoundation.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 16/7/11.
// Copyright © 2016年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIDevice (SMFoundation)
// 因为不太可能有除了currentDevice之外的设备,所... |
s6530085/SMFoundation | SMFoundation/NSBundle+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// NSBundle+SMFoundation.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 16/7/11.
// Copyright © 2016年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSBundle (SMFoundation)
// 这里为何显示出mainBundle了呢,因为bundle可能确实有很多实例,而且其他... |
s6530085/SMFoundation | SMFoundation/NSString+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// NSString+SMFoundation.h
// SMFoundation
//
// Created by study_sun on 15/1/29.
//
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSString (SMFoundation)
- (instancetype)sm_md5String;
- (BOOL)isEmptyAfterTrimmingWhitespaceAndNew... |
s6530085/SMFoundation | SMFoundation/NSMutableArray+SMFoundation.h | //
// NSMutableArray+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSMutableArray (SMFoundation)
+ (NSMutableArray *)nullArrayWithCapacity:(NSUInteger)capacity;... |
s6530085/SMFoundation | SMFoundation/NSObject+SMFoundation.h | <filename>SMFoundation/NSObject+SMFoundation.h
//
// NSObject+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSObject (SMFoundation)
// 判断实际类型,处理了NSNull,和NSStrin... |
s6530085/SMFoundation | SMFoundation/NSArray+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// NSArray+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSArray (SMFoundation)
- (nullable id)firstObject;
- (NSArray *)arr... |
s6530085/SMFoundation | SMFoundation/SMFoundation.h | <gh_stars>1-10
//
// SMFoundation.h
// SMFoundation
//
// Created by study_sun on 15/1/29.
//
//
#ifndef SMFoundation_SMFoundation_h
#define SMFoundation_SMFoundation_h
#import "NSObject+SMFoundation.h"
#import "NSString+SMFoundation.h"
#import "NSArray+SMFoundation.h"
#import "NSMutableArray+SMFoundation.h"
#imp... |
s6530085/SMFoundation | SMFoundation/UIImageView+SMFoundation.h | <gh_stars>1-10
//
// UIImageView+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImageView (SMFoundation)
+ (instancetype)imageViewWithImageName:(NSString *)imageName;
/... |
s6530085/SMFoundation | SMFoundation/UIView+SMFoundation.h | //
// UIView+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIView (SMFoundation)
- (void)removeAllGestureRecognizer;
- (void)removeAllSubviews;
// 只移除特定类型的子控件
- (void)re... |
s6530085/SMFoundation | SMFoundation/NSDictionary+SMFoundation.h | //
// NSDictionary+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSDictionary (SMFoundation)
- (NSMutableDictionary *)mutableDeepCopy;
- (NSString *)stringRepre... |
s6530085/SMFoundation | SMFoundation/UIApplication+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// UIApplication+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIApplication (SMFoundation)
- (BOOL)isPushOpened;
- (void)openPushSetti... |
s6530085/SMFoundation | SMFoundation/NSDate+SMFoundation.h | //
// NSDate+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSDate (SMFoundation)
//若format为nil ,默认为 yyyy-MM-dd HH:mm:ss 格式
- (NSDate *)sm_dateRepresentationWith... |
s6530085/SMFoundation | SMFoundation/UIButton+SMFoundation.h | <gh_stars>1-10
//
// UIButton+SMFoundation.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 15/6/30.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIButton (SMFoundation)
+ (instancetype)buttonWithImageName:(NSString *)imageName hi... |
s6530085/SMFoundation | SMFoundation/UITextField+SMFoundation.h | <reponame>s6530085/SMFoundation<gh_stars>1-10
//
// UITextField+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITextField (SMFoundation)
- (BOOL)isEmptyAfterTrimmingWhite... |
s6530085/SMFoundation | SMFoundation/SMAlertView.h | <filename>SMFoundation/SMAlertView.h<gh_stars>1-10
//
// SMBlockView.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 15/7/4.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^SMTouchBlock)(NSInteger);
typedef BOOL (^SMAlertValidat... |
s6530085/SMFoundation | SMFoundation/UIScreen+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// UIScreen+SMFoundation.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 16/8/3.
// Copyright © 2016年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
// 这里主要是一些屏幕尺寸的便捷方法
@interface UIScreen (SMFoundation)
- (NSInteger)sm_integerSca... |
s6530085/SMFoundation | SMFoundation/UIColor+SMFoundation.h | //
// UIColor+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIColor (SMFoundation)
+ (UIColor *)colorWithIntegerRed:(NSInteger)r green:(NSInteger)g blue:(NSInteger)b;
+ (... |
s6530085/SMFoundation | SMFoundation/NSFileManager+SMFoundation.h | <reponame>s6530085/SMFoundation
//
// NSFileManager+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSFileManager (SMFoundation)
+ (void)setExcludedFromBackup:(BO... |
s6530085/SMFoundation | SMFoundation/UILabel+SMFoundation.h | <gh_stars>1-10
//
// UILabel+SMFoundation.h
// SMFoundationTest
//
// Created by study_sun on 15/6/8.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UILabel (SMFoundation)
- (void)setFontSize:(NSInteger)size;
- (void)setTextWithDate:(NSDate *)d... |
s6530085/SMFoundation | SMFoundation/SMSize.h | //
// SMSize.h
// SMFoundationTest
//
// Created by GongpingjiaNanjing on 15/7/27.
// Copyright (c) 2015年 study_sun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
UIKIT_EXTERN CGFloat kStatusBarMaxY();
UIKIT_EXTERN CGFloat kStandardTableViewCellHeight()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.