repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/ProgramInformation.h
// // ProgramInformation.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @interface ProgramInformation : NSObject @property (nonatomic, strong) NSString *title; @property (nonatomic, strong) NSString *source;...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANDrawingPlayerView.h
<reponame>mlvhub/MPEGDASH-iOS-Player // // ANGLKPlayerView.h // DASH Player // // Created by DataArt Apps on 03.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <UIKit/UIKit.h> #import <GLKit/GLKit.h> #import "ANVideoDecoder.h" #pragma mark - renderer protocol @protocol ANMovieGLRenderer...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANPacketQueue.h
// // ANPacketQueue.h // DASH Player // // Created by DataArt Apps on 18.08.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #include "libavformat/avformat.h" #include "libswscale/swscale.h" @interface ANPacketQueue : NSObject { } - (int) putPacket:(AVPacket ...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/SegmentTemplate.h
<filename>DASH Player/DASH Player/Model/SegmentTemplate.h // // SegmentTemplate.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "SegmentTimeline.h" @interface SegmentTemplate : NSObject @property (non...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANHistoryViewController.h
// // ANHistoryViewController.h // DASH Player // // Created by DataArt Apps on 20.10.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <UIKit/UIKit.h> @protocol ANHistoryViewControllerDelegate; @interface ANHistoryViewController : UIViewController @property (nonatomic, weak) id <ANHistoryVie...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANVideoPicturesList.h
<gh_stars>10-100 // // ANVideoPicturesList.h // DASH Player // // Created by DataArt Apps on 20.08.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" @class ANPicturesListElement; @class ANVideoFrameYU...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANMultimediaData.h
<filename>DASH Player/DASH Player/ANMultimediaData.h // // ANMultimediaData.h // DASH Player // // Created by DataArt Apps on 05.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #include "libavutil/rational.h" @interface ANMultimediaData : NSObject @property (n...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANSupport.h
// // ANSupport.h // DASH Player // // Created by DataArt Apps on 06.08.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^ANSuccessWithResponseCompletionBlock)(id response); typedef void (^ANCompletionBlockWithData)(BOOL success, NSError* error, id d...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/ANXsdDurationParser.h
// // ANXsdDurationParser.h // DASH Player // // Created by DataArt Apps on 29.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> typedef enum { ANXsdStateBegin = 0, ANXsdStateDigit, ANXsdStateYear, ANXsdStateMonth, ANXsdStateDay, ANXsdState...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANDownloadOperation.h
// // ANDownloadOperation.h // DASH Player // // Created by DataArt Apps on 07.08.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "ANOperation.h" @interface ANDownloadOperation : NSObject -(id)initWithUrl:(NSURL *)url; @property (nonatomic, strong) ANSuc...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANVideoDecoder.h
<reponame>mlvhub/MPEGDASH-iOS-Player<filename>DASH Player/DASH Player/ANVideoDecoder.h #import <Foundation/Foundation.h> #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libswscale/swscale.h" #include "libavutil/time.h" @class ANVideoPicturesList; @class ANVideoData; @protocol ANVideoDecod...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANOperation.h
<filename>DASH Player/DASH Player/ANOperation.h // // ANOperation.h // DASH Player // // Created by DataArt Apps on 07.08.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @interface ANOperation : NSOperation { BOOL finished; BOOL executing; } - (void)compl...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/Representation.h
<reponame>mlvhub/MPEGDASH-iOS-Player // // Representation.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "SegmentTemplate.h" #import "SegmentBase.h" @interface Representation : NSObject @property (no...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANAudioData.h
<filename>DASH Player/DASH Player/ANAudioData.h // // ANAudioData.h // DASH Player // // Created by DataArt Apps on 05.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import "ANMultimediaData.h" @interface ANAudioData : ANMultimediaData // on this value in seconds decoder should shift video de...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/Period.h
<gh_stars>10-100 // // Period.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "AdaptationSet.h" @interface Period : NSObject @property (nonatomic, assign) NSTimeInterval duration; @property (nonatomic...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANVideoData.h
// // ANVideoData.h // DASH Player // // Created by DataArt Apps on 05.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import "ANMultimediaData.h" @interface ANVideoData : ANMultimediaData @property (nonatomic, assign, readonly) NSInteger expectedFramesNumber; @property (nonatomic, assign) A...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/ContentComponent.h
// // ContentComponent.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @interface ContentComponent : NSObject @property (nonatomic, strong) NSString *id; @property (nonatomic, strong) NSString *contentType; @...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANVideoPicture.h
<filename>DASH Player/DASH Player/ANVideoPicture.h<gh_stars>10-100 // // ANVideoPicture.h // DASH Player // // Created by DataArt Apps on 24.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @interface ANVideoPicture : NSObject { // SDL_Surface* screen; // SDL...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANSourceInputView.h
<reponame>mlvhub/MPEGDASH-iOS-Player // // ANSourceInputView.h // DASH Player // // Created by DataArt Apps on 29.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // // http://rdmedia.bbc.co.uk/dash/ondemand/bbb/avc1/1/client_manifest.mpd // http://yt-dash-mse-test.commondatastorage.googleapis.com/...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/SegmentTimeline.h
// // SegmentTimeline.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "Segment.h" @interface SegmentTimeline : NSObject @property (nonatomic, strong) NSArray *segmentArray; - (void)addSegmentElement:...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/Segment.h
// // Segment.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @interface Segment : NSObject @property (nonatomic, assign) NSUInteger t; @property (nonatomic, assign) NSUInteger d; - (void)setTimeFromString:(...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/AdaptationSet.h
<gh_stars>10-100 // // AdaptationSet.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "ContentComponent.h" #import "Representation.h" #import "SegmentTemplate.h" #import "AudioChannelConfiguration.h" ...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/ANMpdManager.h
// // ANSegmentLoader.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @class MPD; @class ANHttpClient; @protocol ANMpdManagerDelegate; @interface ANMpdManager : NSObject @property (nonatomic, weak) id<ANMp...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANControlPanelView.h
// // ANControlPanelView.h // DASH Player // // Created by DataArt Apps on 29.09.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <UIKit/UIKit.h> #import "ANSourceInputView.h" @protocol ANControlPanelViewDelegate; @interface ANControlPanelView : UIView <ANSourceInputViewDelegate> @propert...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Sidx.h
<reponame>mlvhub/MPEGDASH-iOS-Player<gh_stars>10-100 // // sidx.h // DASH Player // // Created by DataArt Apps on 09.11.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> static NSString *const ANSidxConstantSize = @"size"; static NSString *const ANSidxConstantT...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/MainViewController.h
// // MainViewController.h // RawAudioDataPlayer // // Created by SamYou on 12-8-18. // Copyright (c) 2012 SamYou. All rights reserved. // #import <UIKit/UIKit.h> #import <AudioToolbox/AudioToolbox.h> #define QUEUE_BUFFER_SIZE 4 // #define EVERY_READ_LENGTH 10000 // #define MIN_SIZE_PER_FRAME 20000 // @interface...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/ANHistoryTableViewCell.h
<gh_stars>10-100 // // ANHistoryTableViewCell.h // DASH Player // // Created by DataArt Apps on 20.10.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <UIKit/UIKit.h> @interface ANHistoryTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *urlLabel; - (NSString *)re...
mlvhub/MPEGDASH-iOS-Player
DASH Player/DASH Player/Model/MPD.h
// MPD.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> #import "ANDashMultimediaManager.h" #import "ProgramInformation.h" #import "Period.h" @interface MPD : NSObject @property (nonatomic, strong) NSString *...
clean-code-craft-tcq-2/well-named-in-c-MohaseenaAkbar
ColorCodeMain.h
<reponame>clean-code-craft-tcq-2/well-named-in-c-MohaseenaAkbar #ifndef COLORCODEMAIN_H #define COLORCODEMAIN_H #include <stdio.h> #include <assert.h> enum MajorColor {WHITE, RED, BLACK, YELLOW, VIOLET}; enum MinorColor {BLUE, ORANGE, GREEN, BROWN, SLATE}; extern const char* MajorColorNames[]; extern const char* Mino...
clean-code-craft-tcq-2/well-named-in-c-MohaseenaAkbar
ColorCodeRefManual.c
<reponame>clean-code-craft-tcq-2/well-named-in-c-MohaseenaAkbar #include "ColorCodeMain.h" void ColorCodeReferenceManual() { int Pair_Num=1; printf("\nColorCode\tMajorColor\tMinorColor"); for(int MajorColor=0;MajorColor<numberOfMajorColors;MajorColor++) { for(int MinorColor=0;MinorColor<numberO...
ayushmankumar7/Write-a-Arduino-Library
src/first.h
<reponame>ayushmankumar7/Write-a-Arduino-Library #ifndef first_h #define first_h #include <Arduino.h> #define ON true #define OFF false class First{ public: First(int pin); void blink(bool value); private: uint8_t pinNumber; }; #endif
Bogdacutu/android_device_nvidia_shieldtablet_twrp
multirom/mr_hooks.c
#include <unistd.h> #include <log.h> #include <trampoline/devices.h> #include <stdio.h> #include <stdlib.h> #include <sys/mount.h> #include <pthread.h> #include <fcntl.h> #include <linux/watchdog.h> #define WATCHDOG_INTERVAL 1 #define WATCHDOG_MARGIN 20 #define PID_TOUCH "/touch.pid" static void write_pid(const char...
fecaridade/Teimoso
lib/Galaxias/Cronometro.h
<reponame>fecaridade/Teimoso<filename>lib/Galaxias/Cronometro.h #include <Arduino.h> class Cronometro { public: Cronometro(); ~Cronometro(); void configurarTempo(unsigned int ms); void iniciarContagem(); bool finalizouContagem(); unsigned int obtertempoRestante(); unsigned int obterTempo...
fecaridade/Teimoso
lib/Galaxias/Galaxias.h
<filename>lib/Galaxias/Galaxias.h #ifndef Galaxias_h #define Galaxias_h #include "Cabecalhos.h" #include "Motor.h" #include "SensoresDeFaixa.h" #include "Cronometro.h" Cronometro cronometro_1; SensoresDeFaixa sensoresDeFaixa; SensorDeToque sensorToqueFrontal(B); SensorDeDistancia sensorDistanciaEsquerdo (L1); Sen...
fecaridade/Teimoso
lib/Galaxias/SensoresDeFaixa.h
<reponame>fecaridade/Teimoso<filename>lib/Galaxias/SensoresDeFaixa.h #include "Arduino.h" #include "CosmosNV2.h" #define CRUZAMENTO_TOTAL 1 #define CRUZAMENTO_COM_PRETO_NA_ESQUERDA 2 #define CRUZAMENTO_COM_PRETO_NA_DIREITA 3 #define CRUZAMENTO_T 4 #...
fecaridade/Teimoso
lib/Galaxias/Cabecalhos.h
<gh_stars>1-10 void irParaFrente(); void irParaTras(); void virarParaEsquerda(); void virarParaDireita(); void girarNoventaGrausParaEsquerda(); void girarNoventaGrausParaDireita(); void retornarParaLinhaPelaEsquerda(); void retornarParaLinhaPelaDireita(); void parar(); void configurarVelocidadeDosMotores(byte...
rirwin/sandbox
scratch/cython-scratch/sort_phonebook.c
#include <stdio.h> #include <stdlib.h> #include <stdint.h> const int DEBUG = 0; void read_file_create_bit_vector(uint32_t* bvp, FILE* ifp); int main() { FILE *ifp; // in file pointer FILE *ofp; // out file pointer char infile_name[] = "unsorted_phonebook.txt"; char outfile_name[] = "sorted_phonebook_c.txt";...
jimgrundy/s2n-tls
tls/s2n_cipher_preferences.c
<filename>tls/s2n_cipher_preferences.c /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/ap...
Brandon2255p/EM4100_Tx
src/Manchester.h
#ifndef MANCHESTER_h #define MANCHESTER_h //timer scaling factors for different transmission speeds #define MAN_300 0 #define MAN_600 1 #define MAN_1200 2 #define MAN_2400 3 #define MAN_4800 4 #define MAN_9600 5 #define MAN_19200 6 #define MAN_38400 7 #define SYNC_PULSE_DEF 9 //setup timing for receiver #define...
enzow13/carlos
carlosmain.c
#include <cs50.h> #include <stdio.h> #include <stdin.h> int main(void){ printf('Hello World'); }
bs135/i2c_keypad
firmware/i2ckeypad/i2c_keymatrix/i2c_keymatrix.c
/* * i2c_keymatrix.c * * Created: 19/10/2016 1:34:18 AM * Author: Hai */ #include <avr/io.h> #include "i2c_keymatrix.h" #include "../i2c/i2c_master.h" uint8_t i2c_keymatrix_write(uint8_t port0, uint8_t port1) { if (i2c_start(I2C_SLAVE_ADDR | I2C_WRITE)) return 1; if (i2c_write(port0)) return 1; if (i2c_write(port...
bs135/i2c_keypad
firmware/i2ckeypad/config.h
/* * config.h * * Created: 15/10/2016 12:51:23 AM * Author: Hai */ #ifndef F_CPU #define F_CPU 16000000UL #endif #ifndef BAUD #define BAUD 19200UL #endif #ifndef F_SCL #define F_SCL 100000UL // SCL frequency #endif #define UART_DEBUG
bs135/i2c_keypad
firmware/i2ckeypad/main.c
<gh_stars>0 /* * i2ckeypad.c * * Created: 29/08/2016 4:07:06 PM * Author : BS135 */ #include "config.h" #include <avr/io.h> #include <util/delay.h> #include <stdio.h> #include "main.h" #include "uart/uart.h" #include "i2c/i2c_master.h" #include "i2c_keymatrix/i2c_keymatrix.h" int main(void) { uart_init(); i2c_in...
bs135/i2c_keypad
firmware/i2ckeypad/uart/uart.c
/* * uart.c * * Created: 09/10/2016 10:43:47 AM * Author: BS135 */ #include "../config.h" #include <avr/io.h> #include <util/setbaud.h> #include "uart.h" #ifdef UART_DEBUG FILE uart_output = FDEV_SETUP_STREAM(uart_stream_putchar, NULL, _FDEV_SETUP_WRITE); FILE uart_input = FDEV_SETUP_STREAM(NULL, uart_stream_getchar...
bs135/i2c_keypad
firmware/i2ckeypad/uart/uart.h
/* * uart.h * * Created: 09/10/2016 10:41:35 AM * Author: BS135 */ #include <stdio.h> #ifndef UART_H_ #define UART_H_ void uart_init(); void uart_putchar(char c); char uart_getchar(void); #ifdef UART_DEBUG int uart_stream_putchar(char c, FILE *stream); int uart_stream_getchar(FILE *stream); extern FILE uar...
bs135/i2c_keypad
firmware/i2ckeypad/i2c_keymatrix/i2c_keymatrix.h
/* * i2c_keymatrix.h * * Created: 19/10/2016 1:34:28 AM * Author: Hai */ #ifndef I2C_KEYMATRIX_H_ #define I2C_KEYMATRIX_H_ // PCF8575 address #define I2C_SLAVE_ADDR 0x40 uint8_t i2c_keymatrix_write(uint8_t port0, uint8_t port1); uint16_t i2c_keymatrix_read(void); void i2c_keymatrix_unselect_rows(void); void...
bs135/i2c_keypad
firmware/i2ckeypad/main.h
/* * main.h * * Created: 15/10/2016 1:39:59 AM * Author: Hai */ #ifndef MAIN_H_ #define MAIN_H_ int main(void); #endif /* MAIN_H_ */
bitzenyPlus/BitZenyPlus
src/crypto/yespower-bitzeny.c
/*- * Copyright 2018 bitzenyPlus Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
sda-ab/lab-03-tasks
src/main.c
#include "list.h" #include "utils.h" int main() { }
sda-ab/lab-03-tasks
src/cerinta3.c
<gh_stars>0 #include "list.h" #include "utils.h" /** * @brief Functie ce creaza un nod prin alocare dinamica * si returneaza pointerul nodului creat. * * @param number - numarul pe care il are copilul * @param name - numele copilului * @param next - adresa urmatorului nod * @return childNode* - nou nod cr...
sda-ab/lab-03-tasks
src/cerinta2.c
#include "list.h" #include "utils.h" /** * @brief Functie ce elimina elementele cu informatii duplicate * Hint: * * parcurgeti lista si modificati nodurile a.i sa elimi- * nati duplicatele * * daca capul listei nu se modifica va trebuii * sa il returnati * * @param list - capul listei...
sda-ab/lab-03-tasks
src/cerinta1.c
<reponame>sda-ab/lab-03-tasks #include "list.h" #include "utils.h" /** * @brief Functie ce creaza un nod prin alocare dinamica * si returneaza pointerul nodului creat. * * @param data - informatia nodului respectiv * @param next - adresa urmatorului nod * @return node* nou nod creat */ node *makeNode(int dat...
sda-ab/lab-03-tasks
src/libs/list.h
#pragma once #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> typedef struct node { int data; struct node *next; } node; typedef struct child { char *name; int number; struct child *next; } childNode; /** * @brief Functie ce creaza un nod prin alocare dinamica * si returneaza ...
BlakeBoxberger/SendSeparately
Interfaces.h
<filename>Interfaces.h #import "UIBackdropView.h" @interface CKComposeRecipientSelectionController : UIViewController - (void)addRecipient:(id)arg1; - (void)removeRecipient:(id)arg1; @end @interface CKComposition : NSObject @end @interface CKChatController : UIViewController @property (nonatomic,retain) CKCompositio...
vapier/liblzw
tests/uncompress.c
<reponame>vapier/liblzw<filename>tests/uncompress.c<gh_stars>1-10 /* Simple app to show how to uncompress an entire file. Same thing * as running: uncompress -d -c file * * Written by <NAME> <<EMAIL>> * Released into the public domain. */ #include "tests.h" int main(int argc, char *argv[]) { size_t numread; u...
vapier/liblzw
lzw.c
<reponame>vapier/liblzw /* * Original code was ripped from ncompress: * https://github.com/vapier/ncompress * It is all public domain code, so have fun. * * Librarification by <NAME> <<EMAIL>> * * (N)compress42.c - File compression ala IEEE Computer, Mar 1992. * * Authors: * <NAME> (decvax!harpo!utah-cs...
vapier/liblzw
lzw_internal.h
<reponame>vapier/liblzw /* * Written by <NAME> <<EMAIL>> * Released into the public domain. */ #ifndef _LIBLZW_INTERNAL_H #define _LIBLZW_INTERNAL_H #include "headers.h" #define __IN_LIBLZW #include <lzw.h> #include "helpers.h" #endif /* _LIBLZW_INTERNAL_H */
vapier/liblzw
tests/simple2.c
/* * Written by <NAME> <<EMAIL>> * Released into the public domain. */ #include "tests.h" int main(int argc, char *argv[]) { size_t cnt; size_t numread; char buf[1024]; lzwFile *lzw = lzw_open(argc == 2 ? argv[1] : "simple2.Z", O_RDONLY | O_BINARY); if (lzw == NULL) err("could not open file"); for (cnt=0...
vapier/liblzw
headers.h
/* * Written by <NAME> <<EMAIL>> * Released into the public domain */ #ifndef _LIBLZW_HEADERS_H #define _LIBLZW_HEADERS_H #include "config.h" #if defined(HAVE_STDINT_H) # include <stdint.h> #endif #if defined(HAVE_INTTYPES_H) # include <inttypes.h> #endif #if defined(HAVE_SYS_TYPES_H) # include <sys/types.h> #end...
vapier/liblzw
tests/tests.h
/* * Written by <NAME> <<EMAIL>> * Released into the public domain. */ #include "headers.h" #include "helpers.h" #include <lzw.h> #define err(fmt, args...) do { warn(fmt "\n", ## args); exit(-1); } while (0) #define errp(fmt, args...) err(fmt ": %s", strerror(errno), ## args)
vapier/liblzw
helpers.h
/* * Written by <NAME> <<EMAIL>> * Released into the public domain */ #ifndef _LIBLZW_HELPERS_H #define _LIBLZW_HELPERS_H #define _warn(fmt, args...) fprintf(stderr, fmt , ## args) #define warn(fmt, args...) _warn("liblzw: " fmt "\n" , ## args) #define warnf(fmt, args...) warn("%s(): " fmt, __FUNCTION__ , ## a...
vapier/liblzw
tests/lot.c
<reponame>vapier/liblzw /* * Written by <NAME> <<EMAIL>> * Released into the public domain. */ #include "tests.h" int main(int argc, char *argv[]) { size_t cnt; size_t numread; char buf[1024]; lzwFile *lzw = lzw_open(argc == 2 ? argv[1] : "lot.Z", O_RDONLY | O_BINARY); if (lzw == NULL) err("could not open ...
tomoyuki-nakabayashi/CppDesignPatternCatalog
behavioral/active_object/src/command.h
<gh_stars>0 #ifndef DESIGN_PATTERN_CATALOG_BEHAVIORAL_ACTIVE_OBJECT_COMMAND_H_ #define DESIGN_PATTERN_CATALOG_BEHAVIORAL_ACTIVE_OBJECT_COMMAND_H_ namespace active_object { class Command { public: Command() = default; virtual ~Command() = default; virtual void Execute() = 0; }; } // namespace active_obje...
tomoyuki-nakabayashi/CppDesignPatternCatalog
behavioral/active_object/src/active_object_engine.h
// Copyright <2018> Tomoyuki-Nakabayashi // This software is released under the MIT License, see LICENSE. #ifndef DESIGN_PATTERN_CATALOG_BEHAVIORAL_ACTIVE_OBJECT_ENGINE_H_ #define DESIGN_PATTERN_CATALOG_BEHAVIORAL_ACTIVE_OBJECT_ENGINE_H_ #include <vector> #include <command.h> namespace active_object { class ActiveOb...
tomoyuki-nakabayashi/CppDesignPatternCatalog
behavioral/active_object/src/sleep_command.h
// Copyright <2018> Tomoyuki-Nakabayashi // This software is released under the MIT License, see LICENSE. #ifndef BEHAVIORAL_ACTIVE_OBJECT_SLEEP_COMMAND_H_ #define BEHAVIORAL_ACTIVE_OBJECT_SLEEP_COMMAND_H_ #include <command.h> #include <active_object_engine.h> #include <chrono> #include <functional> namespace active...
bbessemer/little-programs
commentize.c
/* * This software is hereby released into the public domain. * You are free to use it in any way whatsoever. */ #include <stdio.h> #include <stdlib.h> #include <string.h> enum comment_style { STYLE_C, STYLE_C_ALT, STYLE_PYTHON }; struct options { const char *inpath; const char *outpath; /* s...
lshdfp726/TransitionAnimation
OCNavigation/SecondViewController.h
// // SecondViewController.h // OCNavigation // // Created by 刘松洪 on 2020/7/13. // Copyright © 2020 刘松洪. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SecondViewController : UIViewController @end NS_ASSUME_NONNULL_END
lshdfp726/TransitionAnimation
OCNavigation/VCAnimationManager.h
// // VCAnimationManager.h // OCNavigation // // Created by 刘松洪 on 2020/7/13. // Copyright © 2020 刘松洪. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "LshInterActive.h" NS_ASSUME_NONNULL_BEGIN /** * 专场动画处理manager,从VC剥离专场动画到此类 */ @interface VCAnimationManager : NSObject...
lshdfp726/TransitionAnimation
OCNavigation/LshInterActive.h
<reponame>lshdfp726/TransitionAnimation<filename>OCNavigation/LshInterActive.h // // LshInterActive.h // OCNavigation // // Created by 刘松洪 on 2020/7/14. // Copyright © 2020 刘松洪. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN /** * 重写系统的交互处理类,为了把交互代码从VC里面剥离到这里 */ @interface LshInterActiv...
cabustillo13/Control-Robot-by-AVR
Robot/UART.c
<reponame>cabustillo13/Control-Robot-by-AVR /* Biblioteca de funciones basicas de UART y manejo de interrupcion por recepcion de dato. */ #include "main.h" #include "UART.h" //Declara un parametro tipo stream de E/S: FILE uart_io = FDEV_SETUP_STREAM(mi_putchar, mi_getchar, _FDEV_SETUP_RW); void configura...
cabustillo13/Control-Robot-by-AVR
Robot/Timers.h
<filename>Robot/Timers.h /* Define tipos y declara funciones para configurar los modulos de timer del Atmega328 y sus interrupciones: El Atmega328 tiene dos timers de 8 bits (TIMER0 y TIMER2) y un timer de 16 (TIMER1) Los modos de trabajo de TIMER0 y TIMER2 son iguales entre si, pero difieren respecto a los del T...
cabustillo13/Control-Robot-by-AVR
Robot/main.h
<reponame>cabustillo13/Control-Robot-by-AVR #ifndef MAIN_H_ #define MAIN_H_ #define F_CPU 16000000 // para biblioteca delay y funcion de usuario de UART #include <math.h> // #include <stdio.h> // para UART como dispositivo estandar (printf(""), etc.) #include <stdlib.h> // para atoi(), etc. #include <ut...
cabustillo13/Control-Robot-by-AVR
Robot/InterrupcionesINT.h
<gh_stars>0 #ifndef INTERRUPCIONESINT_H_ #define INTERRUPCIONESINT_H_ #define INT0_ON (EIMSK |= (1<<INT0)) //Habilita la interrupcion externa en INT0 (Pin Digital 2) #define INT0_OFF (EIMSK &=~ (1<<INT0)) //- #define flagINT0_OFF (EIFR &=~ (1<<INTF0)) //Apaga el Flag de la interrupcion externa en INT0 ...
cabustillo13/Control-Robot-by-AVR
Robot/InterrupcionesINT.c
<reponame>cabustillo13/Control-Robot-by-AVR #include "main.h" #include "InterrupcionesINT.h" void configurarINT0(void) { INT0_flancoSubida; //Elige el evento 'Flanco de Subida' para la activacion del flag de INT0. flagINT0_OFF; //Es una buena practica apagar el flag de la interrupcion antes de habilitarla. IN...
cabustillo13/Control-Robot-by-AVR
Robot/Timers.c
<reponame>cabustillo13/Control-Robot-by-AVR #include "main.h" #include "Timers.h" //Incializa estructura Tcfg de forma que T0_Init configure //al TIMER0 con los valores de Reset (no modifica registros): void T0_deInit(tT0config * Tcfg) { Tcfg->modo=Normal; Tcfg->pre=des; Tcfg->OCA=sNo; Tcfg->OCB=sNo; } ...
junohkubo/Koopman_from_equations
dual_computation.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> //--- The following constants can be changed to obtain more accurate results while a longer computational time is needed. #define MAX_STATE_RANGE 30 // Perform cutoff for the state over MAX_STATE_RANGE for each dimension. #d...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/nanopb.build/DerivedSources/nanopb_vers.c
extern const unsigned char nanopbVersionString[]; extern const double nanopbVersionNumber; const unsigned char nanopbVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:nanopb PROJECT:Pods-1" "\n"; const double nanopbVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Geofirestore.build/DerivedSources/Geofirestore_vers.c
extern const unsigned char GeofirestoreVersionString[]; extern const double GeofirestoreVersionNumber; const unsigned char GeofirestoreVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Geofirestore PROJECT:Pods-1" "\n"; const double GeofirestoreVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/gRPC-Core.build/DerivedSources/grpc_vers.c
<gh_stars>1-10 extern const unsigned char grpcVersionString[]; extern const double grpcVersionNumber; const unsigned char grpcVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:grpc PROJECT:Pods-1" "\n"; const double grpcVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/gRPC-RxLibrary.build/DerivedSources/RxLibrary_vers.c
extern const unsigned char RxLibraryVersionString[]; extern const double RxLibraryVersionNumber; const unsigned char RxLibraryVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:RxLibrary PROJECT:Pods-1" "\n"; const double RxLibraryVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/FirebaseDatabase.build/DerivedSources/FirebaseDatabase_vers.c
extern const unsigned char FirebaseDatabaseVersionString[]; extern const double FirebaseDatabaseVersionNumber; const unsigned char FirebaseDatabaseVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:FirebaseDatabase PROJECT:Pods-1" "\n"; const double FirebaseDatabaseVersionNumber __attribute__ ((used)) = (doubl...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Geofirestore_Example.build/DerivedSources/Pods_Geofirestore_Example_vers.c
<filename>Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Geofirestore_Example.build/DerivedSources/Pods_Geofirestore_Example_vers.c extern const unsigned char Pods_Geofirestore_ExampleVersionString[]; extern const double Pods_Geofirestore_ExampleVersionNumber; const unsigned char Pods_Geofirestor...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/gRPC.build/DerivedSources/GRPCClient_vers.c
extern const unsigned char GRPCClientVersionString[]; extern const double GRPCClientVersionNumber; const unsigned char GRPCClientVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:GRPCClient PROJECT:Pods-1" "\n"; const double GRPCClientVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/gRPC-ProtoRPC.build/DerivedSources/ProtoRPC_vers.c
<gh_stars>1-10 extern const unsigned char ProtoRPCVersionString[]; extern const double ProtoRPCVersionNumber; const unsigned char ProtoRPCVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:ProtoRPC PROJECT:Pods-1" "\n"; const double ProtoRPCVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Geofirestore_Tests.build/DerivedSources/Pods_Geofirestore_Tests_vers.c
extern const unsigned char Pods_Geofirestore_TestsVersionString[]; extern const double Pods_Geofirestore_TestsVersionNumber; const unsigned char Pods_Geofirestore_TestsVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_Geofirestore_Tests PROJECT:Pods-1" "\n"; const double Pods_Geofirestore_TestsVersionNum...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Quick.build/DerivedSources/Quick_vers.c
extern const unsigned char QuickVersionString[]; extern const double QuickVersionNumber; const unsigned char QuickVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Quick PROJECT:Pods-1" "\n"; const double QuickVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/Protobuf.build/DerivedSources/Protobuf_vers.c
<gh_stars>1-10 extern const unsigned char ProtobufVersionString[]; extern const double ProtobufVersionNumber; const unsigned char ProtobufVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Protobuf PROJECT:Pods-1" "\n"; const double ProtobufVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/Pods/BoringSSL/crypto/fipsmodule/modes/ccm.c
/* ==================================================================== * Copyright (c) 2011 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of ...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/BoringSSL.build/DerivedSources/openssl_vers.c
<filename>Example/build/Intermediates/Pods.build/Debug-iphonesimulator/BoringSSL.build/DerivedSources/openssl_vers.c extern const unsigned char opensslVersionString[]; extern const double opensslVersionNumber; const unsigned char opensslVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:openssl PROJECT:Pods-1" ...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/GeoFire.build/DerivedSources/GeoFire_vers.c
extern const unsigned char GeoFireVersionString[]; extern const double GeoFireVersionNumber; const unsigned char GeoFireVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:GeoFire PROJECT:Pods-1" "\n"; const double GeoFireVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/Pods/FirebaseFirestore/Firestore/Source/Remote/FSTOnlineStateTracker.h
/* * Copyright 2018 Google * * 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 applicable law or agreed to in w...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/DerivedSources/GoogleToolboxForMac_vers.c
extern const unsigned char GoogleToolboxForMacVersionString[]; extern const double GoogleToolboxForMacVersionNumber; const unsigned char GoogleToolboxForMacVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:GoogleToolboxForMac PROJECT:Pods-1" "\n"; const double GoogleToolboxForMacVersionNumber __attribute__ ((...
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/leveldb-library.build/DerivedSources/leveldb_vers.c
extern const unsigned char leveldbVersionString[]; extern const double leveldbVersionNumber; const unsigned char leveldbVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:leveldb PROJECT:Pods-1" "\n"; const double leveldbVersionNumber __attribute__ ((used)) = (double)1.;
harrisonsj/GeoFirestore-iOS
Example/build/Intermediates/Pods.build/Debug-iphonesimulator/FirebaseFirestore.build/DerivedSources/FirebaseFirestore_vers.c
extern const unsigned char FirebaseFirestoreVersionString[]; extern const double FirebaseFirestoreVersionNumber; const unsigned char FirebaseFirestoreVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:FirebaseFirestore PROJECT:Pods-1" "\n"; const double FirebaseFirestoreVersionNumber __attribute__ ((used)) = (...
harrisonsj/GeoFirestore-iOS
Example/Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/local/local_serializer.h
<reponame>harrisonsj/GeoFirestore-iOS /* * Copyright 2018 Google * * 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 requir...
anji-plus/flutter_plugin
aj_flutter_appsp/ios/Classes/AjFlutterAppspPlugin.h
<reponame>anji-plus/flutter_plugin #import <Flutter/Flutter.h> @interface AjFlutterAppspPlugin : NSObject<FlutterPlugin> @end
anji-plus/flutter_plugin
image_picker/ios/Classes/UIImage+AJScale.h
// // UIImage+AJScale.h // image_picker // // Created by Black on 2019/9/4. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIImage (AJScale) //图片调整方向 - (UIImage *)fixOrientation; //偏转 - (UIImage *)rotate:(CGFloat)rotate; - (UIImage *)scaleWithMinWidth:(CGFloat)minWidth minHeight:(CGFloat)minHeight;...
anji-plus/flutter_plugin
aj_flutter_scan/ios/Classes/QRHelper.h
// // QRHelper.h // aj_flutter_scan // // Created by kean_qi on 2019/7/17. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface QRHelper : NSObject + (void)playAudioWithSoundName:(NSString *)soundName; @end NS_ASSUME_NONNULL_END
anji-plus/flutter_plugin
aj_flutter_scan/ios/Classes/BackButton.h
<filename>aj_flutter_scan/ios/Classes/BackButton.h<gh_stars>0 // // BackButton.h // aj_flutter_scan // // Created by kean_qi on 2019/7/18. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface BackButton : UIButton @end NS_ASSUME_NONNULL_END
anji-plus/flutter_plugin
image_picker/ios/Classes/FLTImagePickerImageUtil.h
<filename>image_picker/ios/Classes/FLTImagePickerImageUtil.h // Copyright 2019 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. #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interfac...