repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
kelvin943/ZQFoundation | ZQCommon/Category/Other/NSObject+ZQAdd.h | <filename>ZQCommon/Category/Other/NSObject+ZQAdd.h
//
// NSObject+ZQAdd.h
// ZQDemoApp
//
// Created by macro on 2018/8/24.
// Copyright © 2018年 张泉. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <objc/runtime.h>
typedef IMP* IMPPointer;
#define ZQExchangeInstanceMethod(__oriSel__,__newSel__,_... |
kelvin943/ZQFoundation | ZQCommon/Category/Other/NSString+ZQAdd.h | //
// NSString+ZQSafe.h
// ZQDemoApp
//
// Created by macro on 2018/8/24.
// Copyright © 2018年 张泉. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (ZQSafe)
@end
@interface NSMutableString (ZQSafe)
@end
@interface NSDateFormatter (Static)
@end
@interface NSString (NSDate)
/* 从日期... |
kelvin943/ZQFoundation | ZQUIKit/ZQBaseViewController/BaseViewController.h | <reponame>kelvin943/ZQFoundation<filename>ZQUIKit/ZQBaseViewController/BaseViewController.h<gh_stars>1-10
//
// BaseViewController.h
// MJRefresh
//
// Created by macro on 2019/9/6.
//
#import <UIKit/UIKit.h>
@protocol BaseViewControllerProtocol <NSObject>
@optional
//default is no
- (BOOL)disableInteractiveGestu... |
kelvin943/ZQFoundation | ZQCommon/Category/View/UIViewController+ZQAdd.h | <gh_stars>1-10
//
// UIViewController+ZQAdd.h
// ZQFoundation
//
// Created by 张泉(macro) on 2019/9/25.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, UIViewExceptionType) {
UIViewExceptionTypeServiceError = 1, // 服务出错
UIViewExceptionTypeNetworkError = 2, // 网络出错
/*空数据的情况放在 UI... |
kelvin943/ZQFoundation | ZQCommon/Category/View/UIView+ZQExten.h | //
// UIView+ZQExten.h
// ZQDemoApp
//
// Created by 张泉(macro) on 2018/8/17.
// Copyright © 2018年 张泉. All rights reserved.
//
#import <UIKit/UIKit.h>
#pragma mark - UIView 布局
@interface UIView (Layout)
@property (nonatomic) CGFloat left; ///< Shortcut for frame.origin.x.
@property (nonatomic) CGFloat to... |
kelvin943/ZQFoundation | ZQUIKit/Common/ZQToastUtil.h | //
// ZQToastUtil.h
// ZQFoundation
//
// Created by macro on 2019/9/26.
//
#import <Foundation/Foundation.h>
typedef enum : NSUInteger {
ToastUtilPositionCenter,
ToastUtilPositionBottom,
ToastUtilPositionTop,
} ToastUtilPosition;
@interface ZQToastUtil : NSObject
// 显示提示信息, s代表提示内容,view为要展示信息得view,... |
kelvin943/ZQFoundation | ZQUIKit/ZQTableViewController/BaseTableViewController.h | <reponame>kelvin943/ZQFoundation
//
// BaseTableViewController.h
// MJRefresh
//
// Created by macro on 2019/9/6.
//
#import "BaseViewController.h"
#import "BaseTableViewAdaptor.h"
typedef void(^TableViewDidScrollAction)(UIScrollView* scrollView);
NS_ASSUME_NONNULL_BEGIN
@interface BaseTableViewController : Base... |
kelvin943/ZQFoundation | ZQCommon/Category/Other/NSArray+ZQAdd.h | <filename>ZQCommon/Category/Other/NSArray+ZQAdd.h
//
// NSArray+ZQAdd.h
// ZQFoundation
//
// Created by macro on 2019/9/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSArray (ZQPrint)
@end
@interface NSDictionary(ZQPrint)
@end
NS_ASSUME_NONNULL_END
|
kelvin943/ZQFoundation | ZQCommon/Category/Other/NSTimer+ZQBlock.h | //
// NSTimer+ZQBlock.h
// ZQDemoApp
//
// Created by macro on 2018/8/17.
// Copyright © 2018年 张泉. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSTimer (ZQBlock)
+ (NSTimer *)zq_scheduledTimerWithTimeInterval:(NSTimeInterval)interval
... |
kelvin943/ZQFoundation | ZQUIKit/ZQBaseTabBarVC/BaseTabBarVC.h | //
// BaseTabBarVC.h
// ZQDemoApp
//
// Created by 张泉(macro) on 2019/9/24.
// Copyright © 2019 张泉. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UITabBar (Category)
@property (nonatomic, strong, readonly) NSMutableArray<UIView*> *imageViewArray;
@end
@interface UITabBar (Badge)
- (void)showBadgeOnI... |
kelvin943/ZQFoundation | ZQCommon/Category/Other/UIColor+ZQAdd.h | <filename>ZQCommon/Category/Other/UIColor+ZQAdd.h
//
// UIColor+ZQHex.h
// ZQFoundation
//
// Created by macro on 2019/9/10.
//
#import <UIKit/UIKit.h>
/*
hex
e.g: with alpha fully opaque: UIColorHex(0xFFFFFF)
or with alpha no fully : UIColorHex(0xFFFFFFFF)
*/
#define ZQColorHex(_hex_) [UIColor color... |
kelvin943/ZQFoundation | ZQUIKit/ZQHoverViewController/HoverTableViewController.h | <filename>ZQUIKit/ZQHoverViewController/HoverTableViewController.h
//
// HoverTableViewController.h
// ZQFoundation
//
// Created by 张泉(Macro) on 2019/10/16.
//
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface HoverTableView : UITableView
@end
@interface HoverTableViewController : BaseViewCont... |
Newton-Kim/mycurl | src/curl/mc-curl.h | <reponame>Newton-Kim/mycurl<gh_stars>0
#pragma once
#include "mc-types.h"
#include "mc-curl-header.h"
#include <map>
#include <string>
#include <iostream>
#include <curl/curl.h>
using namespace std;
class mcCurl {
private:
// map<string, curl_slist*> m_headers;
map<string, vector<string> > m_headers;
map<str... |
Newton-Kim/mycurl | src/curl/mc-curl-file.h | <gh_stars>0
#pragma once
#include <cstdio>
class mcCurlFile {
private:
FILE* m_fd;
size_t m_chunk;
public:
mcCurlFile(const char* path, const char* mode, size_t chunk);
~mcCurlFile();
size_t fread(void* buffer, size_t size, size_t nmemb);
size_t fwrite(void* buffer, size_t size, size_t nmemb);
size_t ... |
Newton-Kim/mycurl | src/performer/mc-curl-performer-context.h | <filename>src/performer/mc-curl-performer-context.h
#pragma once
#include "stackframe/mc-curl-stack-frame.h"
#include <vector>
using namespace std;
enum mcContextState {
MC_CURL_CONTEXT_ROOT = 0,
MC_CURL_CONTEXT_CONNECT
};
class mcICurlPerformerContext {
public:
virtual void set_context(mcContextState state,... |
Newton-Kim/mycurl | src/performer/stackframe/mc-curl-stack-frame.h | #pragma once
#include <string>
using namespace std;
class mcIStackFrame {
public:
virtual mcIStackFrame* open(string url, string alias) = 0;
virtual void verbose(bool onoff) = 0;
virtual bool verbose(void) = 0;
virtual void follow(bool onoff) = 0;
virtual bool follow(void) = 0;
virtual void list(ostream&... |
Newton-Kim/mycurl | src/performer/mc-curl-performer-factory.h | <gh_stars>0
#pragma once
#include "mc-types.h"
class mcCurlPerformerFactory {
public:
static mcIPerformer* create(void);
};
|
Newton-Kim/mycurl | include/mc-scan.h | <reponame>Newton-Kim/mycurl<filename>include/mc-scan.h
#pragma once
#include <string>
using namespace std;
typedef enum {
//General commands
MC_TOKEN_NONE,
MC_TOKEN_LIST,
MC_TOKEN_RUN,
MC_TOKEN_OPEN,
MC_TOKEN_CLOSE,
MC_TOKEN_LEAVE,
MC_TOKEN_QUIT,
MC_TOKEN_HELP,
//CURL commands
MC_TOKEN_GET,
MC... |
Newton-Kim/mycurl | include/mc-cmd.h | #pragma once
#include "mc-scan.h"
#include "mc-types.h"
#include "mc-scan.h"
#include <string>
using namespace std;
class mcCommand {
public:
virtual string command(void) = 0;
virtual void help(void) = 0;
virtual mcLanguageState parse(mcScanner& scanner,
mcIPerformer* performer... |
Newton-Kim/mycurl | src/curl/mc-curl-header.h | <filename>src/curl/mc-curl-header.h
#pragma once
#include <map>
#include <vector>
#include <string>
#include <iostream>
using namespace std;
class mcCurlHeader {
private:
map<string, vector<string> >& m_header;
public:
mcCurlHeader(map<string, vector<string> >& header);
void add(string key, string value);
... |
Newton-Kim/mycurl | src/performer/stackframe/mc-curl-performer-connection.h | #pragma once
#include "mc-curl-stack-frame.h"
#include "mc-curl.h"
#include <iostream>
class mcCurlPerformerConnection : public mcIStackFrame {
private:
mcCurl* m_curl;
public:
mcCurlPerformerConnection(string url, string alias);
~mcCurlPerformerConnection();
mcIStackFrame* open(string url, string alias);
... |
Newton-Kim/mycurl | src/performer/mc-curl-performer-state-root.h | #pragma once
#include "mc-types.h"
#include "mc-curl-performer-context.h"
#include "stackframe/mc-curl-stack-frame.h"
#include <vector>
#include <map>
using namespace std;
class mcCurlPerformerStateRoot : public mcIPerformer {
private:
mcICurlPerformerContext* m_context;
map<string, vector<mcIStackFrame*> > m_po... |
Newton-Kim/mycurl | include/mc-types.h | <filename>include/mc-types.h
#pragma once
#include <string>
using namespace std;
typedef enum {
MC_LANG_END, //quit is called
MC_LANG_ERROR, //an error has happened
MC_LANG_CONTINUE, //continue to the next line
MC_LANG_HANG //end of the process but more input is expected
} mcLanguageState;
... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generator_core/GridMask.h | <filename>Source/MultiDimensionMaze/maze_generator_core/GridMask.h
// maze algorithm from:
// https://github.com/sbj42/maze-generator
#pragma once
#include <vector>
#include "Position.h"
#include "CoreMinimal.h"
struct GridMaskOptions { bool interior; bool exterior; };
/**
*
*/
class MULTIDIMENSIONMAZE... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generator_core/dirs.h | // maze algorithm from:
// https://github.com/sbj42/maze-generator
#pragma once
#include "CoreMinimal.h"
enum Direction { U_PLUS, U_MINUS, V_PLUS, V_MINUS, W_PLUS, W_MINUS, UP_ /* z increase */, DOWN_ /* z decrease */, SOUTH /* y increase */, NORTH /* y decrease */, EAST /* x increase */, WEST /* x decrease *... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/MazeBuild.h | #pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Components/StaticMeshComponent.h"
#include "UObject/UObjectGlobals.h"
#include "maze_generator_core/dirs.h"
#include <vector>
#include <string>
#include <set>
#include "Kismet/GameplayStatics.h"
#include "GameFramework/Characte... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/TouchBlueprintFunctionLibrary.h | #pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "maze_generator_core/Maze.h"
#include "MazeBuild.h"
#include "Components/CapsuleComponent.h"
#include "Engine/SkyLight.h"
#include "Components/SkyLightComponent.h"
#include "GameFramework/Character.h"
#include "GameFr... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generator_core/Maze.h | <reponame>sentamugo7/MultiDimensionalMaze
// maze algorithm from:
// https://github.com/sbj42/maze-generator
#pragma once
#include <vector>
#include "Cell.h"
#include "dirs.h"
#include "Position.h"
#include "CoreMinimal.h"
static const Position START(0, 0, 0, 0, 0, 0);
/**
*
*/
class MULTIDIMENSI... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generator_core/Position.h | <gh_stars>0
#pragma once
#include "dirs.h"
#include "CoreMinimal.h"
/**
*
*/
class MULTIDIMENSIONMAZE_API Position
{
public:
Position();
Position(int u, int v, int w, int z, int y, int x);
~Position();
int getU();
int getV();
int getW();
int getZ();
int getY();
int getX();
Position ... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generators/BacktrackGenerator.h | // maze algorithm from:
// https://github.com/sbj42/maze-generator
#pragma once
#include <vector>
#include <array>
#include "../maze_generator_core/dirs.h"
#include "../maze_generator_core/Position.h"
#include "../maze_generator_core/Maze.h"
#include "../maze_generator_core/GridMask.h"
#include <cmath>
#i... |
sentamugo7/MultiDimensionalMaze | Source/MultiDimensionMaze/maze_generator_core/Cell.h | <reponame>sentamugo7/MultiDimensionalMaze<filename>Source/MultiDimensionMaze/maze_generator_core/Cell.h
// maze algorithm from:
// https://github.com/sbj42/maze-generator
#pragma once
#include "dirs.h"
#include "CoreMinimal.h"
/**
*
*/
class MULTIDIMENSIONMAZE_API Cell
{
public:
Cell();
~Ce... |
andrekandore/C-With-Classes | test-oo/main.c | //
// main.c
// test-oo
//
// Created by アンドレ on 2018/02/26.
// Copyright © 2018年 アンドレ. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "class.h"
void _class_open(void);
void _class_close(void);
typedef struct _classFunctions {
void (* const volatile open)(void);
... |
andrekandore/C-With-Classes | test-oo/class.h | <filename>test-oo/class.h
//
// class.h
// test-oo
//
// Created by アンドレ on 2018/02/26.
// Copyright © 2018年 アンドレ. All rights reserved.
//
#ifndef class_h
#define class_h
struct Class;
struct ClassFunctions;
#endif /* class_h */
|
RootCyberjet/Jacobi-s_Method | NRSM.c |
/* ****************************************************************************
(MAIN PROGRAM FILE)
JACOBI METHOD TO FIND ALL EIGEN VALUES OF A REAL SYMMETRIC MATRIX
Author- <NAME>
Designation- M.Sc (Mathematics) Student at University of North Bengal
gmail- <EMAIL>
INDIA
**********... |
RootCyberjet/Jacobi-s_Method | Function.h |
/* ****************************************************************************
(FUNCTION HEADER FILE)
JACOBI METHOD TO FIND ALL EIGEN VALUES OF A REAL SYMMETRIC MATRIX
Author- <NAME>
Designation- M.Sc (Mathematics) Student at University of North Bengal
gmail- <EMAIL>
INDIA
**********************... |
mt-caret/io_uring | src/io_uring_stubs.c | <gh_stars>1-10
#include "io_uring_stubs.h"
#include <fcntl.h>
CAMLprim value io_uring_sizeof_io_uring_cqe(value __unused v_unit)
{
return Val_int(sizeof(struct io_uring_cqe));
}
CAMLprim value io_uring_offsetof_user_data(value __unused v_unit)
{
return Val_int(offsetof(struct io_uring_cqe, user_data));
}
CAMLpri... |
mt-caret/io_uring | src/io_uring_stubs.h | #include "config.h"
#define _FILE_OFFSET_BITS 64
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <poll.h>
#ifndef ENOATTR
# define ENOATTR ENODATA
#endif
#include <arpa/inet.h>
#include <assert.h>
#include <sys/un.h>
// TOIMPL: move this to jst-config?
#inc... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/BridgeInterface/Thread.h | #pragma once
class __declspec(dllexport) Thread {
private:
HANDLE thread_handle;
unsigned int thread_id;
public:
Thread();
virtual ~Thread();
void Start();
void Join();
bool Join(int milliseconds);
void Suspend();
void Resume();
// void Interrupt();
static void Sleep(int milliseconds);
void Dispose();
... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/exporter/include/OgreMayaExporter.h | <filename>tools/MayaExport/exporter/include/OgreMayaExporter.h
/*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
Thi... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/shared/include/OgreMayaSkeleton.h | /*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This program is free software; you can redistribute it and/or
modi... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/SessionState.h | /* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND VIVOX DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFT... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/psy.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | tools/ethereal/packet-rudp-mv.c | <filename>tools/ethereal/packet-rudp-mv.c
/* packet-rudp.c
* Routines for Reliable UDP Protocol.
* Copyright 2004, <NAME> <<EMAIL>>
*
* $Id: packet-rudp-mv.c 792 2005-02-17 20:05:09Z mccollum $
*
* Ethereal - Network traffic analyzer
*
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <gmodule.h>
#... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/Vxc.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND V... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/shared/include/OgreMayaCommon.h | /*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This program is free software; you can redistribute it and/or
modi... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/SessionGroupState.h | <filename>lib/Vivox/mvVoice/mvVoiceCBL/SessionGroupState.h
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/analysis.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | tools/ClientInterfaceEditor/MultiverseInterfaceStudioUI/VsDbgCmd.h | // PkgCmdID.h
// Command IDs used in defining command bars
//
#ifndef _VSDBGCMD_H_INCLUDED
#define _VSDBGCMD_H_INCLUDED
#define MULTIPLE_WATCH_WINDOWS 1
///////////////////////////////////////////////////////////////////////////////
// Menu IDs
// menus
#define IDM_DEBUG_MENU 0x0401
#define IDM_... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/VxcEvents.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND V... |
AustralianDisabilityLimited/MultiversePlatform | server/src/native/fadvise.c |
#include <errno.h> /* errno */
#include <fcntl.h> /* fcntl, open */
#include <stdio.h> /* perror, fprintf, stderr, printf */
#include <stdlib.h> /* exit, calloc, free */
#include <string.h> /* strerror */
#include <sys/stat.h> /* stat, fstat */
#include <sys/types.h> /* size_t */
#include <unistd.h> /* sysconf, close... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/maya2ogre/include/OgreMayaScene.h | /*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This program is free software; you can redistribute it and/or
modi... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/BridgeInterface/MessageException.h | <reponame>AustralianDisabilityLimited/MultiversePlatform<filename>lib/BridgeInterface/BridgeInterface/MessageException.h<gh_stars>10-100
#pragma once
class __declspec(dllexport) MessageException {
private:
std::string msg;
public:
MessageException(const char *message) {
msg = message;
}
MessageException(const Me... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/exporter/include/MayaGetFolder.h | /*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This program is free software; you can redistribute it and/or
modi... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/vq/vqgen.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/StateManager.h | <gh_stars>10-100
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND VIVOX DISCLAIMS
* ALL WARRANTIES WITH RE... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/modes/setup_22.h | <reponame>AustralianDisabilityLimited/MultiversePlatform<filename>lib/vorbis/lib/modes/setup_22.h
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DIST... |
AustralianDisabilityLimited/MultiversePlatform | lib/OggVorbisWrapper/OggVorbisWrapper.h | // OggVorbisWrapper.h
#pragma once
using namespace System;
public value struct OggVorbisSoundData {
public:
int format;
int size;
int frequency;
int error_code;
};
public ref class OggVorbisWrapper {
public:
// Read the ogg data from the ogg file, and write the PCM data to the pcmStream
static OggVorbisSoundDa... |
AustralianDisabilityLimited/MultiversePlatform | lib/SpeedWind/PIDController.h | <filename>lib/SpeedWind/PIDController.h
///////////////////////////////////////////////////////////////////////
// PIDContoller.h
//
// (c) 2002 IDV, Inc.
//
// This file contains a simple discrete PID contoller class.
//
//
// *** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION ***
//
// This software i... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/vivox-config.h | /*
This file is generated by CMake, changes made to this file will be lost.
If you wish to modify this file, edit "config.h.in" instead.
*/
#ifndef __VIVOX_CONFIG_H__
#define __VIVOX_CONFIG_H__
#define SUBVERSION_CHANGE 2341
#define SUBVERSION_DATE "2007-09-19 16:41:55 -0400 (Wed, 19 Sep 2007)"
#define SDK_VERSI... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/BridgeInterface/Session.h | #pragma once
#include "Socket.h"
#include "Message.h"
#include "Thread.h"
enum MessageCode {
SUBSCRIBE = 0,
UNSUBSCRIBE = 1,
SUBSCRIBE_RESPONSE = 2,
SERVER_MESSAGE = 3
};
enum MessageFilterType {
TOPIC = 0,
OID = 1,
RESPONSE = 2
};
class __declspec(dllexport) MessageFilter {
public:
// Write our message to ... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/highlevel.h | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/VxcResponses.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND V... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/vq/latticebuild.c | <filename>lib/vorbis/vq/latticebuild.c
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
... |
AustralianDisabilityLimited/MultiversePlatform | lib/SpeedTreeWrapper/SpeedTreeWrapper.h | // SpeedTreeWrapper.h
#pragma once
#using <mscorlib.dll>
using namespace System;
using System::Runtime::InteropServices::Marshal;
#include "SpeedTreeRT.h"
#include "SpeedWind.h"
namespace Multiverse {
public __value enum WindMethod
{
WindGPU, WindCPU, WindNone
};
enum LodMethod
{
... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/lsp.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | lib/FastDXT/FastDXT/FastDXT.h | <gh_stars>10-100
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the FASTDXT_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any ot... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/ResponseManager.h | /* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND VIVOX DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFT... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/shared/include/OgreMayaMaterial.h | <filename>tools/MayaExport/shared/include/OgreMayaMaterial.h
/*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This ... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/BridgeInterface/Socket.h | <filename>lib/BridgeInterface/BridgeInterface/Socket.h
#pragma once
#include <winsock.h>
class __declspec(dllexport) Socket {
private:
static int wsa_error;
public:
static int Startup();
static void Cleanup();
private:
SOCKET sd;
protected:
unsigned int ResolveHostname(const char *hostname);
public:
Socket();
... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/BridgeInterface/Message.h | <filename>lib/BridgeInterface/BridgeInterface/Message.h
#pragma once
#include "MessageException.h"
class __declspec(dllexport) Vector {
public:
Vector() { x = 0; y = 0; z = 0; }
float x;
float y;
float z;
};
class __declspec(dllexport) IntVector {
public:
IntVector() { x = 0; y = 0; z = 0; }
int x;
int y;
in... |
AustralianDisabilityLimited/MultiversePlatform | lib/SpeedWind/SpeedWind.h | ///////////////////////////////////////////////////////////////////////
// SpeedWind.h
//
// (c) 2004 IDV, Inc.
//
// This class computes wind matrices, leaf angles, and leaf angle matrices
// suitable for use with SpeedTreeRT.
//
//
// *** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION ***
//
// This s... |
AustralianDisabilityLimited/MultiversePlatform | lib/BridgeInterface/SampleBridgeClient/OA_Messages.h | #pragma once
#include "MessageException.h"
#include "Message.h"
/** Add by JWT, should be the message that is called when hotloadbehaviors is called */
class HotLoadBehaviorMessage : public BaseMessage {
public:
static std::string GetMessageType();
virtual std::string GetTopic() const;
virtual void ParseMessage(Me... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/RequestManager.h | /* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox Inc.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND VIVOX DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFT... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/VxcExports.h | #ifndef __VXCEXPORTS_H
#define __VXCEXPORTS_H
#ifdef _MSC_VER
// Note: this has been disabled so no-one tries to export C++ classes.
//#ifdef BUILDING_VIVOXSDK
// #define VIVOXSDK_DLLEXPORT __declspec(dllexport)
//#else
// #define VIVOXSDK_DLLEXPORT __declspec(dllimport)
//#endif
#define VIVOXSDK_DLLEX... |
AustralianDisabilityLimited/MultiversePlatform | tools/ClientInterfaceEditor/MultiverseInterfaceStudioUI/vsdebugguids.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
#define guidVSDebugPackage { 0xC9DD4A57, 0x47FB, 0x11D2, { 0x83, 0xE7, 0x00, 0xC0, 0x4F, 0x99, 0x02, 0xC1 } }
#define guidVSDebugGroup { 0xC9DD4A58, 0x47FB, 0x11D2, { 0x83, 0xE7, 0x00, 0xC0, 0x4F, 0x99, 0x02, 0xC1 } }
#define guidVSDebugCommand ... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/VxcRequests.h | <reponame>AustralianDisabilityLimited/MultiversePlatform<filename>lib/Vivox/mvVoice/include/VxcRequests.h
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in writing from Vivox ... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCLR/mvVoiceCLR.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
// mvVoiceCLR.h
#pragma once
using namespace System;
namespace mvVoiceCLR {
public ref class VoiceCLR
{
public:
static System::String^ GetConnectorID();
static System::String^ GetAccountID();
static System::String^ GetSessionID();
static int Init(S... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/VxcErrors.h | <reponame>AustralianDisabilityLimited/MultiversePlatform
#ifndef __VXCERRORS_H
#define __VXCERRORS_H
#include "VxcExports.h"
/* Copyright (c) 2007 by Vivox Inc.
*
* Permission to use, copy, modify or distribute this software in binary or source form
* for any purpose is allowed only under explicit prior consent in... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/vq/latticehint.c | <filename>lib/vorbis/vq/latticehint.c
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
*... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/modes/setup_44.h | <reponame>AustralianDisabilityLimited/MultiversePlatform<filename>lib/vorbis/lib/modes/setup_44.h
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DIST... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/lib/smallft.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/shared/include/OgreMayaOptions.h | /*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Bytelords
This program is free software; you can redistribute it and/or
modi... |
AustralianDisabilityLimited/MultiversePlatform | tools/MayaExport/shared/include/OgreMayaMesh.h | <reponame>AustralianDisabilityLimited/MultiversePlatform<gh_stars>10-100
/*
============================================================================
This source file is part of the Ogre-Maya Tools.
Distributed as part of Ogre (Object-oriented Graphics Rendering Engine).
Copyright (C) 2003 Fifty1 Software Inc., Byte... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/mvVoiceCBL/mvVoiceCBL.h | <filename>lib/Vivox/mvVoice/mvVoiceCBL/mvVoiceCBL.h
// mvVoiceDLL.h
#include <string>
using namespace std;
namespace mvVoiceCBL
{
class VoiceCBL
{
public:
static __declspec(dllexport) std::string GetConnectorID();
static __declspec(dllexport) std::string GetAccountID();
static __declspec(dllexport) std::str... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/vq/bookutil.c | <gh_stars>10-100
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-ST... |
AustralianDisabilityLimited/MultiversePlatform | lib/SpeedWind/SpeedWindParser.h | <filename>lib/SpeedWind/SpeedWindParser.h
///////////////////////////////////////////////////////////////////////
// SpeedWindParser.h
//
// (c) 2004 IDV, Inc.
//
//
// *** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION ***
//
// This software is supplied under the terms of a license agreement or
// non... |
AustralianDisabilityLimited/MultiversePlatform | lib/Vivox/mvVoice/include/vxplatform/VxcPlatform.h | <gh_stars>10-100
#ifndef __VXCPLATFORM_H
#define __VXCPLATFORM_H
#ifdef _MSC_VER
#ifdef BUILDING_VIVOX_PLATFORM
#define VXPLATFORM_DLLEXPORT __declspec(dllexport)
#else
#define VXPLATFORM_DLLEXPORT __declspec(dllimport)
#endif
#else
#define VXPLATFORM_DLLEXPORT __attribute__ ((visibility("default")))
#... |
AustralianDisabilityLimited/MultiversePlatform | tools/ethereal/packet-rudp.c | /* Packet-rudp.c
* Routines for Reliable UDP Protocol.
* Copyright 2004, <NAME> <<EMAIL>>
*
* $Id: packet-rudp.c 792 2005-02-17 20:05:09Z mccollum $
*
* Ethereal - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* Modified to use the Multiverse modified version of RDP over UDP
* <NAM... |
AustralianDisabilityLimited/MultiversePlatform | lib/vorbis/examples/seeking_example.c | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
YTJVDCM/PracticeRepository | main.c | <gh_stars>0
/* main.c
* Git practice (RPG battle)
*
* How to compile
* gcc -Wall -o main main.c
*
* Code written by YTJVDCM
*
*
* This code licensed by MIT License
* https://opensource.org/licenses/MIT
* Japanese
* https://licenses.opensource.jp/MIT/MIT.html
*
*/
#include <stdio.h>
#include <stdlib.h>
... |
Deadpikle/TDDbyE-Objective-C | TDDByExample/TDDByExample/Expression.h | //
// Expression.h
// TDDByExample
//
// Created by School of Computing Macbook on 1/1/17.
// Copyright © 2017 CIRC. All rights reserved.
//
#ifndef Expression_h
#define Expression_h
@class Money;
@class Bank;
@protocol Expression <NSObject>
@required
-(Money*)reduceWithBank:(Bank*)bank toCurrency:(NSString*)c... |
Deadpikle/TDDbyE-Objective-C | TDDByExample/TDDByExample/Bank.h | //
// Bank.h
// TDDByExample
//
// Created by School of Computing Macbook on 1/1/17.
// Copyright © 2017 CIRC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Money.h"
#import "Expression.h"
@interface Bank : NSObject
-(Money*)reduce:(id<Expression>)expression toCurrency:(NSString*)currency;
-... |
Deadpikle/TDDbyE-Objective-C | TDDByExample/TDDByExample/Sum.h | <gh_stars>0
//
// Sum.h
// TDDByExample
//
// Created by School of Computing Macbook on 1/1/17.
// Copyright © 2017 CIRC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Money.h"
#import "Expression.h"
@interface Sum : NSObject <Expression>
@property id<Expression> augend;
@property id<Express... |
Deadpikle/TDDbyE-Objective-C | TDDByExample/TDDByExample/Money.h | //
// Money.h
// TDDByExample
//
// Created by Deadpikle on 7/31/16.
// Copyright © 2016 CIRC. All rights reserved.
//
// Benefits of instance variables over properties: http://stackoverflow.com/a/9086811/3938401
// I chose to use protected properties using a shared header because, syntacically,
// it is much cl... |
sunnygkp10/hhvm | hphp/runtime/ext_zend_compat/hhvm/zend-request-local.h | <reponame>sunnygkp10/hhvm
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2015 Facebook, Inc. (http://www.faceboo... |
sunnygkp10/hhvm | hphp/runtime/ext/stream/ext_stream.h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... |
sunnygkp10/hhvm | hphp/runtime/ext/libxml/ext_libxml.h | <gh_stars>1-10
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) ... |
starmuse/PROJBASEClasses | PROJBASEClasses/Classes/BaseTableViewController/PROJBaseTableViewHeaderFooterView.h | <reponame>starmuse/PROJBASEClasses
//
// PROJBaseTableViewHeaderFooterView.h
// PROJProjectA
//
// Created by 1 on 10/1/20.
// Copyright © 2020 hausinTec. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PROJTableViewModel.h"
NS_ASSUME_NONNULL_BEGIN
///--------------------------------------------
/// @n... |
starmuse/PROJBASEClasses | PROJBASEClasses/Classes/BaseTableViewController/PROJBaseTableViewCell.h | //
// PROJBaseTableViewCell.h
// PROJProjectA
//
// Created by 1 on 10/1/20.
// Copyright © 2020 hausinTec. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PROJTableViewModel.h"
NS_ASSUME_NONNULL_BEGIN
///--------------------------------------------
/// @name PROJBaseTableViewCell
///-------------------... |
starmuse/PROJBASEClasses | PROJBASEClasses/Classes/BaseTableViewController/PROJBaseTableViewController.h | //
// PROJBaseTableViewController.h
// PROJProjectA
//
// Created by 1 on 10/1/20.
// Copyright © 2020 hausinTec. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PROJBaseViewController.h"
#import "PROJTableViewModel.h"
#import "PROJBaseTableViewHeaderFooterView.h"
#import "PROJBaseTableViewCell.h"
NS_ASS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.