repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
smithgoo/KPengUtils | Example/KPengUtils/KPengAppDelegate.h | <reponame>smithgoo/KPengUtils
//
// KPengAppDelegate.h
// KPengUtils
//
// Created by <EMAIL> on 05/26/2019.
// Copyright (c) 2019 <EMAIL>. All rights reserved.
//
@import UIKit;
@interface KPengAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
duybang140494/STMF1_RTCBackup_RFID | main.h | #include "stm32f10x.h"
#ifdef __GNUC__
/* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
set to 'Yes') calls __io_putchar() */
#define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
#else
#define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f)
#endif /* __GNUC__ */
PUTCHAR_PROTOTYPE... |
duybang140494/STMF1_RTCBackup_RFID | LRFID.c | /**
* |----------------------------------------------------------------------
* | Edited by DUYBANG 2018
* | Copyright (C) <NAME>, 2014
* |
* | This program 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 Fou... |
duybang140494/STMF1_RTCBackup_RFID | main.c | #include "stm32f10x.h"
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include "main.h"
#include "delay.h"
#include "lcd16x2.h"
#include "LRFID.h"
#include <string.h>
#define Bitband(diachi, bitso) *(unsigned long *)((diachi & 0xF0000000) + 0x2000000 + (diachi & 0xFFFFF) * 32 + bitso * 4)
#define WKUP Bitband... |
lprot/telxcc | telxcc.c | /*!
(c) 2011-2014 Forers, s. r. o.: telxcc
telxcc conforms to ETSI 300 706 Presentation Level 1.5: Presentation Level 1 defines the basic Teletext page,
characterised by the use of spacing attributes only and a limited alphanumeric and mosaics repertoire.
Presentation Level 1.5 decoder responds as Level 1 but the... |
scificrypto/CubitsV3 | src/qt/qtipcserver.h | <filename>src/qt/qtipcserver.h
#ifndef QTIPCSERVER_H
#define QTIPCSERVER_H
// Define Cubits-Qt message queue name
#define BOUNTYCOINURI_QUEUE_NAME "CubitsURI"
void ipcScanRelay(int argc, char *argv[]);
void ipcInit(int argc, char *argv[]);
#endif // QTIPCSERVER_H
|
Lypheo/Color-Layout-Descriptor-for-VapourSynth | CLD.c | <reponame>Lypheo/Color-Layout-Descriptor-for-VapourSynth<filename>CLD.c<gh_stars>1-10
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "VapourSynth.h"
#include "VSHelper.h"
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
typedef struct {
VSNodeRef *node;
c... |
OpenSageTV/sagetv | native/ax/FileSource/FilterProperties.h | <gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_video.h | <filename>third_party/SiliconDust/libhdhomerun/hdhomerun_video.h
/*
* hdhomerun_video.h
*
* Copyright © 2006 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Fre... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_device.h | /*
* hdhomerun_device.h
*
* Copyright © 2006-2008 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License... |
OpenSageTV/sagetv | native/so/SageLinux/sage_Sage.c | <gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
OpenSageTV/sagetv | native/ax/Native2.0/NativeCore/PSIParser.c | <reponame>OpenSageTV/sagetv
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... |
OpenSageTV/sagetv | third_party/Microsoft/AudioSampling/MusicVisFilter.h | <reponame>OpenSageTV/sagetv
//------------------------------------------------------------------------------
// Copyright 2015 The SageTV Authors. All Rights Reserved.
//
// Desc: DirectShow sample code - header file for audio oscilloscope filter.
//
// Copyright (c) 1992-2001 Microsoft Corporation. All rights res... |
OpenSageTV/sagetv | native/ax/Channel-2/ChannelDataMng.c | <reponame>OpenSageTV/sagetv<gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.... |
OpenSageTV/sagetv | native/so/PVR150Tuning/PVR150Tuner.c | <gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
OpenSageTV/sagetv | native/so/FirewireCapture/sage_FirewireCaptureDevice.c | <gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
OpenSageTV/sagetv | native/so/DVBCapture2.0/sage_DVBCaptureDevice.c | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
OpenSageTV/sagetv | third_party/SageTV-LGPL/Pushreader/pushreadertest.c | <filename>third_party/SageTV-LGPL/Pushreader/pushreadertest.c
/*
* Copyright 2015 The SageTV Authors. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundat... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_channelscan.h | <reponame>OpenSageTV/sagetv<gh_stars>1-10
/*
* hdhomerun_channelscan.h
*
* Copyright © 2007-2008 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software F... |
OpenSageTV/sagetv | native/ax/TSnative/TSnative.h | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
OpenSageTV/sagetv | native/dll/DShowCapture-2/TunerPlugin.h | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
OpenSageTV/sagetv | native/crosslibs/Freetype/sage_FreetypeFont.c | <filename>native/crosslibs/Freetype/sage_FreetypeFont.c
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apa... |
OpenSageTV/sagetv | native/dll/DShowCapture-2/DShowCapture.h | <filename>native/dll/DShowCapture-2/DShowCapture.h
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://ww... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_sock.h | /*
* hdhomerun_sock.h
*
* Copyright © 2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (a... |
OpenSageTV/sagetv | native/ax/TSnative/SIParser.h | <gh_stars>1-10
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
OpenSageTV/sagetv | native/ax/TSnative/SIParser.c | <filename>native/ax/TSnative/SIParser.c
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.or... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_os_windows.h | <gh_stars>1-10
/*
* hdhomerun_os_windows.h
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version... |
OpenSageTV/sagetv | native/so/PVR150Input/sage_PVR150Input.c | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_video.c | /*
* hdhomerun_video.c
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License,... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_channels.h | <filename>third_party/SiliconDust/libhdhomerun/hdhomerun_channels.h
/*
* hdhomerun_channels.h
*
* Copyright © 2007-2008 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published... |
OpenSageTV/sagetv | native/dll/DShowCapture-2/CAMCtrl.h | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
OpenSageTV/sagetv | native/so/SageLinux/sage_UIManager.c | <filename>native/so/SageLinux/sage_UIManager.c
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_os_posix.c | <reponame>OpenSageTV/sagetv
/*
* hdhomerun_os_posix.c
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_os_windows.c | <gh_stars>1-10
/*
* hdhomerun_os_windows.c
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version... |
OpenSageTV/sagetv | third_party/codecs/faac/libfaac/frame.h | /*
* FAAC - Freeware Advanced Audio Coder
* Copyright (C) 2001 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any... |
OpenSageTV/sagetv | native/dll/DShowPlayer-2/DShowPlayer.h | /*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
OpenSageTV/sagetv | native/so/Mpeg2Transcoder/Mpeg2Transcoder.c | <reponame>OpenSageTV/sagetv
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_device.c | /*
* hdhomerun_device.c
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_control.c | <filename>third_party/SiliconDust/libhdhomerun/hdhomerun_control.c
/*
* hdhomerun_control.c
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published b... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_os_posix.h | <filename>third_party/SiliconDust/libhdhomerun/hdhomerun_os_posix.h
/*
* hdhomerun_os_posix.h
*
* Copyright © 2006-2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published... |
OpenSageTV/sagetv | native/so/PVR150Tuning/PVR150Tuner.h | <filename>native/so/PVR150Tuning/PVR150Tuner.h
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_sock_posix.c | /*
* hdhomerun_sock_posix.c
*
* Copyright © 2010 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License,... |
OpenSageTV/sagetv | native/ax/TSnative/TSSplitter.c | <filename>native/ax/TSnative/TSSplitter.c
/*
* Copyright 2015 The SageTV Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.... |
OpenSageTV/sagetv | third_party/SiliconDust/libhdhomerun/hdhomerun_discover.h | <filename>third_party/SiliconDust/libhdhomerun/hdhomerun_discover.h
/*
* hdhomerun_discover.h
*
* Copyright © 2006-2007 Silicondust USA Inc. <www.silicondust.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published... |
abouzek/ABSlidingWebImageViewController | Example/Pods/Target Support Files/Pods-ABSlidingWebImageViewController/Pods-ABSlidingWebImageViewController-environment.h | <reponame>abouzek/ABSlidingWebImageViewController
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// ABSlidingWebImageViewController
#define ... |
abouzek/ABSlidingWebImageViewController | Pod/Classes/ABSlidingWebImageViewCell.h | <gh_stars>1-10
//
// ABSlidingWebImageViewCell.h
// Test
//
// Created by <NAME> on 2/13/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <ASMediaFocusManager.h>
@interface ABSlidingWebImageViewCell : UICollectionViewCell
-(void)loadImageWithURL:(NSString *)urlString;
-(v... |
abouzek/ABSlidingWebImageViewController | Example/Pods/Headers/Public/ASMediaFocusManager/ASMediaFocusController.h | <gh_stars>1-10
//
// ASMediaFocusViewController.h
// ASMediaFocusManager
//
// Created by <NAME> on 21/12/12.
// Copyright (c) 2012 AutreSphere. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ASImageScrollView.h"
@interface ASMediaFocusController : UIViewController
@property (strong, nonatomic) ASImage... |
abouzek/ABSlidingWebImageViewController | Example/Pods/Headers/Public/ABSlidingWebImageViewController/ABSlidingWebImageViewController.h | <filename>Example/Pods/Headers/Public/ABSlidingWebImageViewController/ABSlidingWebImageViewController.h<gh_stars>1-10
//
// ABSlidingImageViewController.h
//
// Created by <NAME> on 2/13/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol ABSlidingWebImageViewControllerDeleg... |
abouzek/ABSlidingWebImageViewController | Example/ABSlidingWebImageViewController/ABViewController.h | //
// ABViewController.h
// ABSlidingWebImageViewController
//
// Created by abouzek on 02/20/2015.
// Copyright (c) 2014 abouzek. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ABViewController : UIViewController
@end
|
mcgrew/FamiStudio | ThirdParty/Vorbis/DllWrapper.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <vorbis/vorbisenc.h>
#define READ 1024
signed char readbuffer[READ * 4 + 44]; /* out of the data segment, not the stack */
#ifdef LINUX
#define __stdcall
#endif
int __stdcall VorbisOggEncode(int wav_... |
mcgrew/FamiStudio | Setup/MacLauncher/FamiStudio.c | #include <mono/jit/jit.h>
#include <mono/metadata/assembly.h>
#include <mono/metadata/mono-config.h>
int main(int argc, char *argv[])
{
MonoDomain* domain = NULL;
MonoAssembly* assembly = NULL;
if (argc < 2)
{
printf("Missing assembly name.\n");
return -1;
}
int retval;
... |
mcgrew/FamiStudio | SoundEngine/famistudio_cc65.h | <filename>SoundEngine/famistudio_cc65.h
#ifndef FAMISTUDIO_H
#define FAMISTUDIO_H
// Workaround for code analyzers that don't know about fastcall
#ifndef __fastcall__
#define __fastcall__
#endif
/**
* =================================================================================================================... |
MikeNeilson/libds | test/test_list.c | <filename>test/test_list.c
#include "tinytest.h"
#include "list.h"
TINYTEST_DECLARE_SUITE(listsuite);
void copy_int( void **to, void *from, ds_allocator_t *alloc ){
int **to_int = (int**)to;
int *from_int = from;
*to = alloc->malloc(sizeof(int));
**to_int = *from_int;
}
void* simple_traverse_function(vo... |
MikeNeilson/libds | src/array.c | <filename>src/array.c
#include <string.h>
#include <stdarg.h>
#include "common.h"
#include "array.h"
struct ds_array_s{
void *data;
size_t elem_size;
size_t size; /* total used size */
size_t capacity; /* total capacity */
ds_ctor_f ctor;
ds_dtor_f dtor;
ds_copy_f copy;
ds_move_f move;
ds_error_f err;
ds_all... |
MikeNeilson/libds | src/array.h | /*
* Array
*
* A simple array that keeps track of it's total size and the high element (may not match)
*
* you can:
* create
* get
* set
* apply a function with foreach
*
*
*
*/
#ifndef DS_ARRAY_H
#define DS_ARRAY_H
#include "common.h"
typedef struct ds_array_s *ds_array_t;
/*
* parameters
* ele... |
MikeNeilson/libds | src/list.c | <reponame>MikeNeilson/libds
#include "list.h"
#include "common.h"
#include <string.h>
#include <stdarg.h>
struct ds_list_node_s{
struct ds_list_node_s *next;
void *data;
};
struct ds_list_s{
ds_list_node_t head;
ds_list_node_t tail;
ds_copy_f copy;
ds_move_f move;
ds_ctor_f ctor;
ds_dtor_f dtor;
ds_allocator... |
MikeNeilson/libds | src/common.c | <reponame>MikeNeilson/libds
#include "common.h"
#include <stdarg.h>
ds_allocator_t ds_default_allocator = {
malloc,
realloc,
calloc,
free
};
void ds_error_stderr( const char *fmt, ...){
va_list args;
va_start( args, fmt );
vfprintf( stderr, fmt, args );
va_end( args );
}
void ds_error_null( const char *fmt,... |
MikeNeilson/libds | test/tinytest.h | <gh_stars>0
/*!
Simple unit testing for c/c++
Copyright 2012, <NAME>.
Licence: Apache 2.0
Purpose: facilitate the unit testing for programs written in c/c++
Use:
Define your tests as functions that don't take any arguments
but return "int". They should return 1 if successful otherwise, 0.... |
MikeNeilson/libds | test/test_array.c | #include <stdlib.h>
#include <string.h>
#include <memory.h>
#include "tinytest.h"
#include "array.h"
TINYTEST_DECLARE_SUITE(arraysuite);
/***********
*
* Units tests
*
**********/
void int_copy( void **_to, void *_from ){
int *to = *(int**)_to;
int *from = (int*)_from;
*to = *from;
}
int test_array_create( c... |
MikeNeilson/libds | src/common.h | <gh_stars>0
#ifndef DS_COMMON_H
#define DS_COMMON_H
#include <stdlib.h>
#include <stdio.h>
/* memory handling */
typedef void* (*ds_malloc_t)( size_t size );
typedef void* (*ds_realloc_t)( void *ptr, size_t newsize );
typedef void* (*ds_calloc_t)( size_t num_elem, size_t elem_size);
typedef void (*ds_free_t)( void *p... |
MikeNeilson/libds | test/test.c | <reponame>MikeNeilson/libds<gh_stars>0
#include "tinytest.h"
#include "libds.h"
TINYTEST_START_MAIN();
TINYTEST_RUN_SUITE(arraysuite);
TINYTEST_RUN_SUITE(listsuite);
TINYTEST_END_MAIN();
|
MikeNeilson/libds | src/libds.h | #pragma once
#include "array.h"
#include "list.h"
|
MikeNeilson/libds | src/list.h | <filename>src/list.h
#ifndef DS_LIST_H
#define DS_LIST_H
#include "common.h"
typedef struct ds_list_s* ds_list_t;
typedef struct ds_list_node_s* ds_list_node_t;
/**
*
*/
ds_list_t ds_list_create( size_t elem_size, ... );
/**
*
*
*
*/
void ds_list_destroy( ds_list_t *list );
/*void ds_list_free_elem(... |
kronihias/DarwiinRemoteOSC | OSCInPort.h | //
// OSCInPort.h
// PEAM
//
// Created by <NAME> on 07.10.04.
// Copyright 2004 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include "OSC-timetag.h"
#include "OSC-address-space.h"
@interface OSCInPort : NSObject {
// internal state
int _socket;
BOOL _ownsSocket;
short _port; // ... |
kronihias/DarwiinRemoteOSC | WidgetsEnableTransformer2.h | <gh_stars>10-100
//
// WidgetsEnableTransformer2.h
// DarwiinRemote
//
// Created by <NAME> on 06/12/20.
// Copyright 2006 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface WidgetsEnableTransformer2 : NSValueTransformer {
}
@end
|
kronihias/DarwiinRemoteOSC | WidgetsEnableTransformer.h | //
// WidgetsEnableTransformer.h
// DarwiinRemote
//
// Created by <NAME> on 06/12/20.
// Copyright 2006 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface WidgetsEnableTransformer : NSValueTransformer {
}
@end
|
kronihias/DarwiinRemoteOSC | KeyConfiguration_AppDelegate.h | <gh_stars>10-100
//
// KeyConfiguration_AppDelegate.h
// KeyConfiguration
//
// Created by <NAME> on 06/12/16.
// Copyright <NAME> 2006 . All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface KeyConfiguration_AppDelegate : NSObject
{
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSMa... |
kronihias/DarwiinRemoteOSC | GraphView.h | /* GraphView */
#import <Cocoa/Cocoa.h>
#define SAMPLETIME 10.0
@interface GraphView : NSOpenGLView
{
NSMutableArray* datax;
NSMutableArray* datay;
NSMutableArray* dataz;
NSTimer* animTimer;
NSLock* lock;
float _x;
float _y;
BOOL _freshGrid;
IBOutlet NSTextField* scaleField; //enables scaling of live wi... |
kronihias/DarwiinRemoteOSC | OSC-Kit-Mac/NetworkUDP.h | <gh_stars>10-100
#ifdef __sgi
#include <netinet/in.h>
#endif
#if defined (__APPLE__) && (__GNUC__)
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
struct NetworkReturnAddressStruct {
struct sockaddr_in cl_addr;
int clilen;
int sockfd;
};
|
kronihias/DarwiinRemoteOSC | GridView.h | /* GraphView */
#import <Cocoa/Cocoa.h>
#define DEFAULT_SAMPLETIME 10.0
@interface GridView : NSOpenGLView
{
NSMutableArray* data;
NSTimer* animTimer;
NSLock* lock;
float _x;
float _y;
BOOL _freshGrid;
BOOL _dataChanged;
float _sampleTime;
IBOutlet NSTextField* scaleField; //enables scaling of live win... |
kronihias/DarwiinRemoteOSC | GraphPoint.h | <reponame>kronihias/DarwiinRemoteOSC
//
// GraphPoint.h
// DarwiinRemote
//
// Created by <NAME> on 06/05/29.
// Copyright 2006 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface GraphPoint : NSObject {
struct timeval tval;
//float tval;
float value;
float x;
float y;
}
- (id)initWithCoo... |
kronihias/DarwiinRemoteOSC | WiiRemote.framework/Versions/A/Headers/WiiRemote.h | <gh_stars>10-100
//
// WiiRemote.h
// DarwiinRemote
//
// Created by <NAME> on 06/12/04.
// Copyright 2006 <NAME>. All rights reserved.
//
#import "Mii.h"
#import <Cocoa/Cocoa.h>
#import <IOBluetooth/objc/IOBluetoothDevice.h>
#import <IOBluetooth/objc/IOBluetoothL2CAPChannel.h>
// useful logging macros
#ifndef N... |
kronihias/DarwiinRemoteOSC | OSCPort.h | <gh_stars>10-100
//
// OSCPort.h
// ObjCOSC
//
// Created by <NAME> on Tue Oct 01 2002.
// Copyright (c) 2002 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OSC-client.h"
@interface OSCPort : NSObject {
int _sock;
char* _types;
OSCbuf* _oscBuffer;
void* ... |
kronihias/DarwiinRemoteOSC | PreferenceWindow.h | <filename>PreferenceWindow.h
/* PreferenceWindow */
#import <Cocoa/Cocoa.h>
@interface PreferenceWindow : NSWindow
{
}
- (IBAction)cancel:(id)sender;
- (IBAction)ok:(id)sender;
@end
|
kronihias/DarwiinRemoteOSC | AppController.h | <filename>AppController.h
/* AppController */
#import <Cocoa/Cocoa.h>
#import <ApplicationServices/ApplicationServices.h>
#import <QuartzComposer/QCView.h>
// #import <WiiRemote/Mii.h>
#import <OSCPort.h>
#import <OSCInPort.h>
#import <OSC-string-help.h>
#import <WiiRemote/WiiRemote.h>
#import <WiiRemote/WiiRemoteDisc... |
RekGRpth/pgcopydb | src/bin/pgcopydb/filtering.h | <reponame>RekGRpth/pgcopydb<filename>src/bin/pgcopydb/filtering.h
/*
* src/bin/pgcopydb/filtering.h
* Implementation of a CLI which lets you run individual routines
* directly
*/
#ifndef FILTERING_H
#define FILTERING_H
#include <errno.h>
#include <getopt.h>
#include <inttypes.h>
#include "cli_common.h"
#... |
RekGRpth/pgcopydb | src/bin/pgcopydb/filtering.c | <gh_stars>1-10
/*
* src/bin/pgcopydb/filtering.c
* Implementation of a CLI which lets you run individual routines
* directly
*/
#include <errno.h>
#include <getopt.h>
#include <inttypes.h>
#include "env_utils.h"
#include "ini.h"
#include "log.h"
#include "filtering.h"
#include "parsing.h"
#include "string... |
RekGRpth/pgcopydb | src/bin/pgcopydb/cli_copy.c | /*
* src/bin/pgcopydb/cli_copy.c
* Implementation of a CLI which lets you run individual routines
* directly
*/
#include <errno.h>
#include <getopt.h>
#include <inttypes.h>
#include "cli_common.h"
#include "cli_root.h"
#include "copydb.h"
#include "commandline.h"
#include "env_utils.h"
#include "log.h"
#i... |
RekGRpth/pgcopydb | src/bin/pgcopydb/schema.c | /*
* src/bin/pgcopydb/schema.c
* SQL queries to discover the source database schema
*/
#include <inttypes.h>
#include <limits.h>
#include <sys/select.h>
#include <time.h>
#include <unistd.h>
#include "defaults.h"
#include "env_utils.h"
#include "filtering.h"
#include "log.h"
#include "parsing.h"
#include "pg_depe... |
jianglong0156/chromium.src | content/public/test/test_browser_context.h | // Copyright (c) 2012 The Chromium 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 CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_
#define CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_
#include "base/compiler_specific.h"
#include ... |
jianglong0156/chromium.src | cc/tiled_layer_impl.h | <gh_stars>1-10
// Copyright 2011 The Chromium 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 CCTiledLayerImpl_h
#define CCTiledLayerImpl_h
#include "cc/layer_impl.h"
#include <public/WebTransformationMatrix.h>
namespace cc... |
jianglong0156/chromium.src | cc/stubs/Region.h | // Copyright (c) 2012 The Chromium 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 CC_STUBS_REGION_H_
#define CC_STUBS_REGION_H_
#include "IntRect.h"
#if INSIDE_WEBKIT_BUILD
#include "Source/WebCore/platform/graphics/Region.... |
jianglong0156/chromium.src | cc/layer_impl.h | // Copyright 2011 The Chromium 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 CCLayerImpl_h
#define CCLayerImpl_h
#include "FloatSize.h"
#include "Region.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#inc... |
jianglong0156/chromium.src | ui/aura/remote_root_window_host_win.h | <gh_stars>1-10
// Copyright (c) 2012 The Chromium 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 UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
#define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
#include <vector>
#include "base/compil... |
jianglong0156/chromium.src | cc/layer_updater.h | <reponame>jianglong0156/chromium.src
// Copyright 2011 The Chromium 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 LayerUpdater_h
#define LayerUpdater_h
#include "base/memory/ref_counted.h"
#include "cc/prioritized_texture.... |
jianglong0156/chromium.src | webkit/compositor_bindings/web_content_layer_impl.h | <reponame>jianglong0156/chromium.src<gh_stars>1-10
// Copyright 2011 The Chromium 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 WebContentLayerImpl_h
#define WebContentLayerImpl_h
// FIXME: WebContentLayer should forward d... |
jianglong0156/chromium.src | net/android/network_change_notifier_factory_android.h | <gh_stars>1-10
// Copyright (c) 2012 The Chromium 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 NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_
#define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_
#include... |
jianglong0156/chromium.src | content/renderer/webplugin_delegate_proxy.h | <filename>content/renderer/webplugin_delegate_proxy.h
// Copyright (c) 2012 The Chromium 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 CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
#define CONTENT_RENDERER_WEBPLUGIN_DELEGATE... |
jianglong0156/chromium.src | cc/io_surface_layer.h | // Copyright 2012 The Chromium 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 IOSurfaceLayerChromium_h
#define IOSurfaceLayerChromium_h
#include "cc/layer.h"
namespace cc {
class IOSurfaceLayer : public Layer {
public:
... |
jianglong0156/chromium.src | ash/wm/toplevel_window_event_handler.h | // Copyright (c) 2012 The Chromium 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 ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
#define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
#include <set>
#include "ash/ash_export.h"
#include ... |
jianglong0156/chromium.src | net/base/test_data_directory.h | // Copyright (c) 2012 The Chromium 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 NET_BASE_TEST_DATA_DIRECTORY_H_
#define NET_BASE_TEST_DATA_DIRECTORY_H_
#include "base/file_path.h"
namespace net {
// Returns the FilePath... |
jianglong0156/chromium.src | cc/font_atlas.h | <reponame>jianglong0156/chromium.src
// Copyright 2012 The Chromium 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 CCFontAtlas_h
#define CCFontAtlas_h
#include <string>
#include "base/basictypes.h"
#include "base/memory/sc... |
jianglong0156/chromium.src | cc/resource_update_controller.h | <filename>cc/resource_update_controller.h
// Copyright 2012 The Chromium 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 CCResourceUpdateController_h
#define CCResourceUpdateController_h
#include "base/basictypes.h"
#include... |
jianglong0156/chromium.src | cc/scoped_texture.h | // Copyright 2012 The Chromium 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 CCScopedTexture_h
#define CCScopedTexture_h
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "... |
jianglong0156/chromium.src | ash/test/multi_display_manager_test_api.h | // Copyright (c) 2012 The Chromium 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 ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_
#define ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_
#include <string>
#include "base/basictypes.h"... |
jianglong0156/chromium.src | cc/stubs/int_size.h | // Copyright (c) 2012 The Chromium 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 CC_STUBS_INTSIZE_H_
#define CC_STUBS_INTSIZE_H_
#if INSIDE_WEBKIT_BUILD
#include "Source/WebCore/platform/graphics/IntSize.h"
#else
#include ... |
jianglong0156/chromium.src | cc/video_layer.h | <gh_stars>1-10
// Copyright 2010 The Chromium 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 VideoLayerChromium_h
#define VideoLayerChromium_h
#include "base/callback.h"
#include "cc/layer.h"
namespace WebKit {
class WebVi... |
jianglong0156/chromium.src | chrome/browser/google_apis/gdata_util.h | <filename>chrome/browser/google_apis/gdata_util.h
// Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_GOOGLE_APIS_GDATA_UTIL_H_
#define CHROME_BROWSER_GOOGLE_APIS_GDATA_UTIL_H_
#... |
jianglong0156/chromium.src | cc/math_util.h | // Copyright 2012 The Chromium 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 CCMathUtil_h
#define CCMathUtil_h
#include "base/logging.h"
#include "ui/gfx/point_f.h"
#include "ui/gfx/point3_f.h"
namespace WebKit {
class We... |
jianglong0156/chromium.src | content/browser/gpu/gpu_surface_tracker.h | <reponame>jianglong0156/chromium.src
// Copyright (c) 2012 The Chromium 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 CONTENT_BROWSER_GPU_GPU_SURFACE_TRACKER_H_
#define CONTENT_BROWSER_GPU_GPU_SURFACE_TRACKER_H_
#include <... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.