repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Mikescher/Serpilicum
src/OptionMenu.h
#pragma once #include "menu.h" #include "ListenerCollection.h" #include "Label.h" #include "Button.h" #include "Edit.h" #include "Game.h" class OptionMenu : public Menu { private: Edit* nameEdt; virtual void createMenu(ActionListener * optiontListener, std::string playername); public: OptionMenu(ActionListener * o...
Mikescher/Serpilicum
src/IntroMenu.h
<filename>src/IntroMenu.h #pragma once #include "menu.h" #include "ListenerCollection.h" #include "Label.h" #include "Button.h" #include "Edit.h" class IntroMenu : public Menu { private: Edit* nameEdt; virtual void createMenu(ActionListener* mainMenuListener); public: IntroMenu(ActionListener* mainMenuListener); ...
Mikescher/Serpilicum
src/GameOverDisplayMenu.h
#pragma once #include "displayimagetextmenu.h" class GameOverDisplayMenu : public DisplayImageTextMenu { private: int cpoints; public: GameOverDisplayMenu(int pid, AbstractConsole* console, ActionListener * quitListener, int resourceID, int points); virtual void onKeyDown(int keycode); };
Mikescher/Serpilicum
src/MenuElement.h
<gh_stars>0 #pragma once #include "AbstractConsole.h" class MenuElement { private: int x; int y; int width; int height; bool focused; public: MenuElement(void); MenuElement(int nx, int ny, int nw, int nh); virtual ~MenuElement(void); virtual int getX(); virtual int getY(); virtual void setX(int x); virt...
Mikescher/Serpilicum
src/LevelObstacle.h
<gh_stars>0 #pragma once #include "AbstractConsole.h" class Level; class LevelObstacle { protected: int x; int y; public: LevelObstacle(int px, int py); virtual int getX(); virtual int getY(); virtual void init(AbstractConsole* pConsole) = 0; virtual void run(AbstractConsole* pConsole) = 0; virtual void r...
Mikescher/Serpilicum
src/Main.h
#pragma once #include <iostream> #include "Gamerules.h" #include "OGLConsole.h" #include "WindowsConsole.h" #include "CrazyConsole.h" #include "AbstractConsole.h" #include "Game.h" #include <windows.h> #include "Keycodes.h" #include <time.h> class Main : public ActionListener, public KeyEventListener { private: A...
Mikescher/Serpilicum
src/ZoomPowerUp.h
<filename>src/ZoomPowerUp.h #pragma once #include "powerup.h" #include "AbstractConsole.h" class ZoomPowerUp : public PowerUp { private: long ctime; AbstractConsole* console; public: ZoomPowerUp(AbstractConsole* pCons, int px, int py); ~ZoomPowerUp(void); virtual char getSymbol(); virtual PowerUpType getType()...
Mikescher/Serpilicum
src/MenuDisplay.h
<filename>src/MenuDisplay.h #pragma once #include "Menu.h" #include "AbstractConsole.h" class MenuDisplay { private: Menu *menu; public: MenuDisplay(void); virtual ~MenuDisplay(void); virtual Menu* getMenu(); virtual Menu* setMenu(Menu* pMenu); virtual void render(AbstractConsole* pConsole); virtual bool isMe...
strah19/VirtualMachine
src/vm.c
/** * @file vm.c * @author strah19 * @date June 16 2021 * @version 1.0 * * @section LICENSE * * 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 Foundation; either version 2 of * the License, or (at...
strah19/VirtualMachine
include/opcodes.h
<reponame>strah19/VirtualMachine #ifndef OPCODE_H #define OPCODE_H enum OpCodes { IADD, ISUB, IMUL, IDIV, IMOD, IEQ, INEQ, ILT, IGT, ILTE, IGTE, IAND, IOR, ICONST, POP, SYS_WRITE, STORE, GSTORE, LOAD, GLOAD, CHARCONST, HALT, JM...
strah19/VirtualMachine
include/vm.h
<filename>include/vm.h #ifndef VM_H #define VM_H #include <stdint.h> #include "../include/opcodes.h" enum ObjTypes { F_32BIT, I_32BIT, D_64BIT, V_PTR, I_8BIT, U_32BIT, U_8BIT }; struct Object { uint8_t type; //The object data type union { uint32_t u32; int32_t i32; uint8_t i8...
strah19/VirtualMachine
src/main.c
#include "../include/vm.h" static uint32_t program[] = { ICONST, 3, ICONST, 12, IADD, SYS_WRITE, HALT }; int main() { init_vm(); run_vm(0, program, 0); return 0; }
wlsy/HttpDNS-iOS
Example/Pods/Headers/Private/httpdns-ios/HttpDNS.h
<gh_stars>0 // // HttpDNS.h // Pods // // Created by wlsy on 16/1/22. // // #import <Foundation/Foundation.h> @interface HttpDNS : NSObject typedef void (^httpDNSNext)(NSError *error, NSString *ip); + (HttpDNS *)shareInstance; -(void)getIpByHost:(NSString *)host next:(httpDNSNext)next; @end
wlsy/HttpDNS-iOS
Example/httpdns-ios/ZZViewController.h
// // ZZViewController.h // httpdns-ios // // Created by zz on 01/22/2016. // Copyright (c) 2016 zz. All rights reserved. // @import UIKit; @interface ZZViewController : UIViewController @end
wlsy/HttpDNS-iOS
Example/Pods/Target Support Files/httpdns-ios/httpdns-ios-umbrella.h
<reponame>wlsy/HttpDNS-iOS #import <UIKit/UIKit.h> #import "HostModel.h" #import "HttpDNS.h" FOUNDATION_EXPORT double httpdns_iosVersionNumber; FOUNDATION_EXPORT const unsigned char httpdns_iosVersionString[];
wlsy/HttpDNS-iOS
Example/Pods/Target Support Files/Pods-httpdns-ios_Tests/Pods-httpdns-ios_Tests-umbrella.h
<gh_stars>0 #import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_httpdns_ios_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_httpdns_ios_TestsVersionString[];
wlsy/HttpDNS-iOS
Pod/Classes/HostModel.h
// // HostModel.h // Pods // // Created by wlsy on 16/1/22. // // #import <Foundation/Foundation.h> @interface HostModel : NSObject @property (strong, nonatomic) NSString *host; @property (strong, nonatomic) NSString *ip; @property (assign) BOOL isExpired; @end
wlsy/HttpDNS-iOS
Example/Pods/Target Support Files/Pods-httpdns-ios_Example/Pods-httpdns-ios_Example-umbrella.h
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_httpdns_ios_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_httpdns_ios_ExampleVersionString[];
E-PSN/particle-library-SensorBase
firmware/SensorBase.h
/* Sensor Base Class Refactored into C++ class: <NAME> Contribution: epierre Based on <NAME> http://davidegironi.blogspot.fr/2014/01/cheap-co2-meter-using-mq135-sensor-with.html License: Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) */ #ifndef Included_SensorBase_H #define Included...
bakhtiary/arduino-snappy-proto
src/pb.h
#include "proto/pb.h" #include "proto/pb_encode.h"
bakhtiary/arduino-snappy-proto
src/snappy/compat.h
<reponame>bakhtiary/arduino-snappy-proto<gh_stars>0 #ifdef __FreeBSD__ # include <sys/endian.h> #elif defined(__APPLE_CC_) || defined(__MACH__) /* MacOS/X support */ # include <machine/endian.h> #if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN # define htole16(x) (x) # define le32toh(x) (x) #elif __DARWIN_BY...
bakhtiary/arduino-snappy-proto
src/SnappyProto.h
<gh_stars>0 #ifndef snappyproto_h #define snappyproto_h #include "snappy.h" #include "pb.h" #endif
bakhtiary/arduino-snappy-proto
src/snappy.h
#include "snappy/snappy.h"
ZauJulio/LeaOperationalSystems
sync_problems/examples/binary_semaphore.c
#include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/types.h> #include <unistd.h> #include "../src/dijkstra.h" key_t KEY = 123; int main() { int sem = sem_create(KEY, 1); printf("A semaphore was created with the identifier %d\n", sem); if (fork() == 0) { ...
ZauJulio/LeaOperationalSystems
sync_problems/examples/buffer.c
<reponame>ZauJulio/LeaOperationalSystems<filename>sync_problems/examples/buffer.c #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include "../src/dijkstra.h" static int PRODUCERS_NUM = 5; static int BUF...
ZauJulio/LeaOperationalSystems
sync_problems/examples/rw.c
<filename>sync_problems/examples/rw.c #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include "../src/dijkstra.h" static int MAX_THREADS = 5; struct arg_struct { int mutex; int wrt; int sha...
ZauJulio/LeaOperationalSystems
sync_problems/src/dijkstra.h
int sem_create(key_t key, int initval) { int semid; union semun { int val; struct semid_ds *buf; ushort array[1]; } arg_ctl; semid = semget(ftok("/etc/issue", key), 1, IPC_CREAT | IPC_EXCL | 0666); if (semid == -1) { semid = semget(ftok("/etc/issue", key), 1, 0666);...
ZauJulio/LeaOperationalSystems
sync_problems/examples/philosophers.c
<reponame>ZauJulio/LeaOperationalSystems<filename>sync_problems/examples/philosophers.c #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include "../src/dijkstra.h" static int PHILO_NUM = 5; // General ...
davyjoneswang/FFMpegPlayer
app/src/main/jni/log.h
// // Created by Jonesx on 2015/10/23. // #ifndef _LOG_H #define _LOG_H #define LOGN (void) 0 #ifndef WIN32 #include <android/log.h> #define LOG_VERBOSE 1 #define LOG_DEBUG 2 #define LOG_INFO 3 #define LOG_WARNING 4 #define LOG_ERROR 5 #define LOG_FATAL 6 #define LOG_SILENT 7 #ifndef LOG...
zhuang-group/Mesa
mesa/cpp_extension/ext_common.h
<filename>mesa/cpp_extension/ext_common.h // Helper for type check #define CHECK_CUDA_TENSOR_DIM_TYPE(name, n_dim, type) \ TORCH_CHECK(name.device().is_cuda(), #name " must be a CUDA tensor!"); \ TORCH_CHECK(name.is_contiguous(), #name " must be contiguous!"); \ ...
reedloden/moloch
capture/detect.c
/* detect.c -- Functions for dealing with detection * * Copyright 2012-2013 AOL Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this Software except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
reedloden/moloch
capture/main.c
<reponame>reedloden/moloch<filename>capture/main.c /* main.c -- Initialization of components * * Copyright 2012-2013 AOL Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this Software except in compliance with the License. * You may obtain a copy of...
reedloden/moloch
capture/nids.c
<reponame>reedloden/moloch<gh_stars>1-10 /* nids.c -- Functions for dealing with libnids * * Copyright 2012-2013 AOL Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this Software except in compliance with the License. * You may obtain a copy of the...
sinan454/Sinan-opan
src/BuddyBox.c
// // BuddyBox.c // BuddyBox // // Created by <NAME> on 12/23/12. // Copyright (c) 2012 <NAME>. All rights reserved. // #include "BuddyBox.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> void initializeBuddyBox(BuddyBox *bb, unsigned int sampleRate) { int i; printf("BuddyB...
sinan454/Sinan-opan
src/main.c
<reponame>sinan454/Sinan-opan // // main.c // BuddyBox // // Created by <NAME> on 12/23/12. // Copyright (c) 2012 <NAME>. All rights reserved. // /* Modifications to integrate with foohid (c) 2016 by albhm */ #include "BuddyBoxThread.h" #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <stdi...
sinan454/Sinan-opan
src/BuddyBoxThread.h
<reponame>sinan454/Sinan-opan // // BuddyBoxThread.h // BuddyBox-PPM // // Created by <NAME> on 1/10/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #ifndef BuddyBox_PPM_BuddyBoxThread_h #define BuddyBox_PPM_BuddyBoxThread_h #include "PortAudioStream.h" #include "BuddyBox.h" #include <pthread.h> typed...
sinan454/Sinan-opan
src/PortAudioStream.c
// // PortAudioStream.c // BuddyBox // // Created by <NAME> on 12/23/12. // Copyright (c) 2012 <NAME>. All rights reserved. // #include "PortAudioStream.h" #include "pa_mac_core.h" #include <stdio.h> #include <stdlib.h> #include <string.h> void initializePortAudioStream(PortAudioStream *pas, unsigned int sampl...
sinan454/Sinan-opan
src/PortAudioStream.h
<gh_stars>10-100 // // PortAudio.h // BuddyBox // // Created by <NAME> on 12/23/12. // Copyright (c) 2012 <NAME>. All rights reserved. // // Sample Rate Notes: // (glitchy) Line In @ 192kHz -> resolution of ~154 per channel // (glitchy) Line In @ 176.4kHz -> resolution of ~143 per channel // (glitchy) Line In @...
Speqto-Technologies-pvt-ltd-public/BlockDX-master
src/xbridge/util/xutil.h
//***************************************************************************** //***************************************************************************** #ifndef UTIL_H #define UTIL_H #include "uint256.h" #include "logger.h" #include "xbridge/xbridgedef.h" #include <string> #include <boost/date_time/posix_time/...
Speqto-Technologies-pvt-ltd-public/BlockDX-master
src/xbridge/xbridgeapp.h
//***************************************************************************** //***************************************************************************** #ifndef XBRIDGEAPP_H #define XBRIDGEAPP_H #include "xbridgesession.h" #include "xbridgepacket.h" #include "uint256.h" #include "xbridgetransactiondescr.h" #in...
Speqto-Technologies-pvt-ltd-public/BlockDX-master
src/xbridge/bitcoinrpcconnector.h
//****************************************************************************** //****************************************************************************** #ifndef _BITCOINRPCCONNECTOR_H_ #define _BITCOINRPCCONNECTOR_H_ #include <vector> #include <string> #include <cstdint> //**********************************...
Speqto-Technologies-pvt-ltd-public/BlockDX-master
src/xbridge/xbridgeexchange.h
<reponame>Speqto-Technologies-pvt-ltd-public/BlockDX-master<gh_stars>0 //***************************************************************************** //***************************************************************************** #ifndef XBRIDGEEXCHANGE_H #define XBRIDGEEXCHANGE_H #include "uint256.h" #include "xbri...
jayesh15111988/JKEasyAFNetworking
JKEasyAFNetworking/NetworkingSourceGroup/JKURLConstants.h
// // JKURLConstants.h // JKEasyAFNetworking // // Created by <NAME> on 9/7/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #warning Keep Base URL, URL extension, authorization token and Timeout interval etc. parameters in this file \ They are kept blank for reason. //...
jayesh15111988/JKEasyAFNetworking
JKEasyAFNetworking/Networking Demo/JKNetworkActivityDemoController.h
<filename>JKEasyAFNetworking/Networking Demo/JKNetworkActivityDemoController.h // // JKNetworkActivityDemoController.h // JKEasyAFNetworking // // Created by <NAME> on 9/7/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface JKNetworkActivityDemoController : UIVie...
jayesh15111988/JKEasyAFNetworking
JKEasyAFNetworking/AppDelegate.h
// // AppDelegate.h // JKEasyAFNetworking // // Created by <NAME> on 9/7/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
jayesh15111988/JKEasyAFNetworking
JKEasyAFNetworking/NetworkingSourceGroup/JKNetworkActivity.h
// // JKNetworkActivity.h // // // Created by <NAME> on 09/07/14. // Copyright (c) 2014 <NAME> All rights reserved. // #import <Foundation/Foundation.h> @interface JKNetworkActivity : NSObject -(id)initWithData:(NSDictionary*)dataToSend andAuthorizationToken:(NSString*)authorizationToken; -(void)communicateWithSer...
drinking/DKLightSideScrollView
Example/DKLightSideScrollView/DKAppDelegate.h
// // DKAppDelegate.h // DKLightSideScrollView // // Created by CocoaPods on 04/30/2015. // Copyright (c) 2014 drinking. All rights reserved. // #import <UIKit/UIKit.h> @interface DKAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
drinking/DKLightSideScrollView
Example/DKLightSideScrollView/Classess/DKLightSideScrollItemView.h
// // DKLightSideScrollItemView.h // DKLightSideScrollView // // Created by drinking on 15/4/30. // Copyright (c) 2015年 drinking. All rights reserved. // #import <UIKit/UIKit.h> @interface DKLightSideScrollItemView : UIView @end
drinking/DKLightSideScrollView
Pod/Classes/DKLightSideScrollView.h
// // DKLightSideScrollView.h // DKLightSideScrollView // // Created by drinking on 15/4/30. // Copyright (c) 2015年 drinking. All rights reserved. // #import <UIKit/UIKit.h> #import "DKLightSideScrollItemView.h" @class DKLightSideScrollView; @protocol DKLightSideScrollViewDelegate @optional - (void)scrollView:(...
drinking/DKLightSideScrollView
Example/DKLightSideScrollView/DKViewController.h
// // DKViewController.h // DKLightSideScrollView // // Created by drinking on 04/30/2015. // Copyright (c) 2014 drinking. All rights reserved. // #import <UIKit/UIKit.h> @interface DKViewController : UIViewController @end
drinking/DKLightSideScrollView
Example/Pods/Headers/Public/DKLightSideScrollView/DKLightSideScrollItemView.h
// // DKLightSideScrollItemView.h // DKLightSideScrollView // // Created by drinking on 15/4/30. // Copyright (c) 2015年 drinking. All rights reserved. // #import <UIKit/UIKit.h> @interface DKLightSideScrollItemView : UIView -(void)triggerRemoveAnimation:(void (^)(void))animations completion:(void (^)(BOOL finish...
nguquen/react-native-paged-contacts
ios/RCTPagedContacts/WXContactsManager.h
<reponame>nguquen/react-native-paged-contacts<filename>ios/RCTPagedContacts/WXContactsManager.h<gh_stars>0 // // WXContactManager.h // ContactsTest // // Created by <NAME> (Wix) on 23/11/2016. // Copyright © 2016 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <Contacts/Contacts.h> NS_AS...
maxpowel/VoltMeter
VoltMeter.h
// // Created by alvaro on 26/07/15. // #ifndef PRUEBA_PLAT_VOLTMETER_H #define PRUEBA_PLAT_VOLTMETER_H #include "Arduino.h" class VoltMeter { private: int _readPin; float _r1; float _r2; float _referenceVoltage; public: VoltMeter(int readPin, float r1, float r2, float referenceVoltage=5); flo...
maxpowel/VoltMeter
examples/SimpleVolt/SimpleVolt.h
#include <VoltMeter.h> #define INPUT_PIN A0 #define R1 15000 #define R2 10000 #define REFERENCE 4.8 VoltMeter vm(INPUT_PIN, R1, R2, REFERENCE); void setup(){ Serial.begin(115200); } void loop() { Serial.println(vm.getVoltage()); }
d3cod3/FFTStream
src/ofApp.h
<filename>src/ofApp.h #pragma once #include "ofMain.h" #include "ofxImGui.h" #include "imgui_stdlib.h" #include "IconsFontAwesome5.h" #include "imgui_helpers.h" #include "AppTheme.h" #include "ofxOsc.h" #include <pwd.h> #include <unistd.h> #define PACKAGE "FFTStream" #define VERSION ...
d3cod3/FFTStream
src/imgui_helpers.h
/*============================================================================== Platype. Yet another commissioned custom made live audio-visual performer software. Copyright (c) 2020 <NAME> aka n3m3da <<EMAIL>> Platype is distributed under the MIT License. This gives everyone the freedoms to use Pla...
damirbecirbasic/vgaPeriph
SDK/SDK_Workspace/my_peripheral_test/src/helloworld.c
<reponame>damirbecirbasic/vgaPeriph<filename>SDK/SDK_Workspace/my_peripheral_test/src/helloworld.c /* * Copyright (c) 2009-2012 Xilinx, Inc. All rights reserved. * * Xilinx, Inc. * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION...
damirbecirbasic/vgaPeriph
drivers/vgaperiphmem_v1_00_a/src/vgaperiphmem.h
/***************************************************************************** * Filename: C:\Users\student\Desktop\ra68-2013\lprs\v04\vezba23_3_16/drivers/vgaperiphmem_v1_00_a/src/vgaperiphmem.h * Version: 1.00.a * Description: vgaperiphmem Driver Header File * Date: Thu Apr 07 11...
damirbecirbasic/vgaPeriph
drivers/my_peripheral_v1_00_a/src/my_peripheral.c
<reponame>damirbecirbasic/vgaPeriph /***************************************************************************** * Filename: C:\materija\RA96-2013\LPRS2\vezba23_3_16/drivers/my_peripheral_v1_00_a/src/my_peripheral.c * Version: 1.00.a * Description: my_peripheral Driver Source File * Date: ...
damirbecirbasic/vgaPeriph
drivers/vgaperiphmem_v1_00_a/src/vgaperiphmem.c
/***************************************************************************** * Filename: C:\Users\student\Desktop\ra68-2013\lprs\v04\vezba23_3_16/drivers/vgaperiphmem_v1_00_a/src/vgaperiphmem.c * Version: 1.00.a * Description: vgaperiphmem Driver Source File * Date: Thu Apr 07 11...
ChrisHughes24/lean4
stage0/stdlib/Lean/Compiler/IR/UnboxResult.c
<filename>stage0/stdlib/Lean/Compiler/IR/UnboxResult.c<gh_stars>1-10 // Lean compiler output // Module: Lean.Compiler.IR.UnboxResult // Imports: Init Lean.Data.Format Lean.Compiler.IR.Basic #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignor...
ChrisHughes24/lean4
stage0/stdlib/Lean/Meta/AbstractMVars.c
<filename>stage0/stdlib/Lean/Meta/AbstractMVars.c // Lean compiler output // Module: Lean.Meta.AbstractMVars // Imports: Init Lean.Meta.Basic #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !...
ChrisHughes24/lean4
stage0/stdlib/Lean/Meta/Reduce.c
<reponame>ChrisHughes24/lean4 // Lean compiler output // Module: Lean.Meta.Reduce // Imports: Init Lean.Meta.Basic Lean.Meta.FunInfo Lean.Util.MonadCache #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__...
ChrisHughes24/lean4
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
<filename>stage0/stdlib/Lean/Elab/Tactic/Rewrite.c<gh_stars>0 // Lean compiler output // Module: Lean.Elab.Tactic.Rewrite // Imports: Init Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Replace Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Tactic.Location #include <lean/lean.h> #if defined(__clang__) #pragma cl...
ChrisHughes24/lean4
stage0/stdlib/Lean/Server/FileWorker.c
<reponame>ChrisHughes24/lean4<gh_stars>0 // Lean compiler output // Module: Lean.Server.FileWorker // Imports: Init Init.System.IO Std.Data.RBMap Lean.Environment Lean.PrettyPrinter Lean.DeclarationRange Lean.Data.Lsp Lean.Data.Json.FromToJson Lean.Server.Snapshots Lean.Server.Utils Lean.Server.AsyncList Lean.Server.In...
ChrisHughes24/lean4
stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c
<filename>stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c // Lean compiler output // Module: Lean.Meta.Match.CaseArraySizes // Imports: Init Lean.Meta.Tactic.Assert Lean.Meta.Match.CaseValues #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic igno...
ChrisHughes24/lean4
stage0/stdlib/Lean/Elab/GenInjective.c
// Lean compiler output // Module: Lean.Elab.GenInjective // Imports: Init Lean.Elab.Command Lean.Meta.Injective #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG__) #pragma GC...
ChrisHughes24/lean4
stage0/stdlib/Lean/Data/Lsp/Extra.c
<reponame>ChrisHughes24/lean4 // Lean compiler output // Module: Lean.Data.Lsp.Extra // Imports: Init Lean.Data.Json Lean.Data.JsonRpc Lean.Data.Lsp.Basic #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(_...
ChrisHughes24/lean4
stage0/stdlib/Lean/Server/Utils.c
<gh_stars>1-10 // Lean compiler output // Module: Lean.Server.Utils // Imports: Init Lean.Data.Position Lean.Data.Lsp Init.System.FilePath #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !def...
ChrisHughes24/lean4
stage0/stdlib/Lean/Meta/UnificationHint.c
<filename>stage0/stdlib/Lean/Meta/UnificationHint.c // Lean compiler output // Module: Lean.Meta.UnificationHint // Imports: Init Lean.ScopedEnvExtension Lean.Util.Recognizers Lean.Meta.DiscrTree Lean.Meta.LevelDefEq Lean.Meta.SynthInstance #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored ...
ChrisHughes24/lean4
stage0/stdlib/Lean/Server/Snapshots.c
<reponame>ChrisHughes24/lean4 // Lean compiler output // Module: Lean.Server.Snapshots // Imports: Init Init.System.IO Lean.Elab.Import Lean.Elab.Command #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__...
ChrisHughes24/lean4
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
<filename>stage0/stdlib/Lean/Data/Lsp/Diagnostics.c // Lean compiler output // Module: Lean.Data.Lsp.Diagnostics // Imports: Init Lean.Data.Json Lean.Data.Lsp.Basic Lean.Data.Lsp.Utf16 Lean.Message #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnost...
ChrisHughes24/lean4
stage0/stdlib/Lean/Compiler/IR/EmitC.c
// Lean compiler output // Module: Lean.Compiler.IR.EmitC // Imports: Init Lean.Runtime Lean.Compiler.NameMangling Lean.Compiler.ExportAttr Lean.Compiler.InitAttr Lean.Compiler.IR.CompilerM Lean.Compiler.IR.EmitUtil Lean.Compiler.IR.NormIds Lean.Compiler.IR.SimpCase Lean.Compiler.IR.Boxing #include <lean/lean.h> #if de...
ChrisHughes24/lean4
stage0/stdlib/Lean/PrettyPrinter/Basic.c
// Lean compiler output // Module: Lean.PrettyPrinter.Basic // Imports: Init Lean.InternalExceptionId Lean.KeyedDeclsAttribute #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG...
ChrisHughes24/lean4
stage0/stdlib/Lean/Data/Lsp/TextSync.c
<filename>stage0/stdlib/Lean/Data/Lsp/TextSync.c // Lean compiler output // Module: Lean.Data.Lsp.TextSync // Imports: Init Lean.Data.Json Lean.Data.Lsp.Basic #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defin...
ChrisHughes24/lean4
stage0/stdlib/Lean/Elab/SyntheticMVars.c
<reponame>ChrisHughes24/lean4<gh_stars>0 // Lean compiler output // Module: Lean.Elab.SyntheticMVars // Imports: Init Lean.Util.ForEachExpr Lean.Elab.Term Lean.Elab.Tactic.Basic #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused...
itsbriany/Spire
Spire.h
// // Created by itsbriany on 04/02/17. // #ifndef PROJECT_SPIRE_H #define PROJECT_SPIRE_H class Spire { public: void start(); }; #endif //PROJECT_SPIRE_H
Xrysnow/lstgx_Video
VideoCommon.h
#pragma once #include "platform/CCPlatformConfig.h" #include <functional> #include <string> namespace video { void setLoggingFunction(const std::function<void(const std::string&)>& callback); void logging(const char* format, ...); std::string getErrorString(int errorCode); } #define VINFO(_str, ...) video::loggin...
Xrysnow/lstgx_Video
VideoDecoder.h
#pragma once #include "cocos2d.h" #include "VideoCommon.h" #include "VideoStream.h" #include <cstdint> namespace video { class Decoder : public cocos2d::Ref { friend class Player; public: static Decoder* create(const std::string& path); bool open(const std::string& path); bool open(VideoStream* stream, do...
Xrysnow/lstgx_Video
VideoStream.h
<filename>VideoStream.h #pragma once #include "base/CCRef.h" #include <mutex> namespace video { class VideoStream : public cocos2d::Ref { public: enum class SeekOrigin { /** Seek from the beginning. */ BEGINNING = 0, /** Seek from current position. */ CURRENT = 1, /** Seek from the end. */ END...
its-izhar/char-device-driver
asp_mycdev.h
/** * @Author: <NAME> <izhar> * @Date: 2017-03-20T19:24:05-04:00 * @Email: <EMAIL> * @Filename: asp_mycdev.h * @Last modified by: izhar * @Last modified time: 2017-03-22T01:27:58-04:00 * @License: MIT */ #ifndef __ASP_MYCDEV__ #define __ASP_MYCDEV__ #include <linux/mutex.h> #include <linux/device.h> /...
its-izhar/char-device-driver
asp_mycdev.c
<filename>asp_mycdev.c<gh_stars>1-10 /** * @Author: <NAME> <izhar> * @Date: 2017-03-20T19:44:34-04:00 * @Email: <EMAIL> * @Filename: asp_mycdev.c * @Last modified by: izhar * @Last modified time: 2017-03-26T23:24:24-04:00 * @License: MIT */ #include <linux/module.h> /* Needed by all modules */ #includ...
its-izhar/char-device-driver
lseek_test.c
/** * @Author: <NAME> <izhar> * @Date: 2017-03-21T14:54:14-04:00 * @Email: <EMAIL> * @Filename: ltest.c * @Last modified by: izhar * @Last modified time: 2017-03-21T15:20:55-04:00 * @License: MIT */ /* * Keeping track of file position. (Testing application) @*/ #include <stdio.h> #include <unistd.h> ...
its-izhar/char-device-driver
rw_test.c
/** * @Author: <NAME> <izhar> * @Date: 2017-03-21T14:54:08-04:00 * @Email: <EMAIL> * @Filename: ctest.c * @Last modified by: izhar * @Last modified time: 2017-03-21T15:30:14-04:00 * @License: MIT */ /* Basic read/write program @*/ #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/pdf_security_options.h
<gh_stars>0 /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" pdf_security_options.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, t...
aspose-cells-cloud/aspose-cells-cloud-cpp
tests/api/protect_test.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="protect_test.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person obtainin...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/workbook.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp<filename>include/aspose_cells_cloud/models/workbook.h /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="workbook.h"> * Copyright (c) 2022 Aspose.Cells for Clou...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/image_save_options.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" image_save_options.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person o...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/requests/post_document_save_as_request.h
<filename>include/aspose_cells_cloud/requests/post_document_save_as_request.h /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" post_document_save_as_request.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * <...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/pdf_save_options.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp<gh_stars>0 /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" pdf_save_options.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * ...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/link.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="link.h"> * Copyright (c) 2021 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby gra...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/mhtml_save_options.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp<filename>include/aspose_cells_cloud/models/mhtml_save_options.h /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" m_html_save_options.h"> * Copyright (c) 202...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/models/html_save_options.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file=" html_save_options.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person ob...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="aspose_cells_cloud.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person ob...
aspose-cells-cloud/aspose-cells-cloud-cpp
tests/api/batch_convert_test.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="batch_convert_test.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission ...
aspose-cells-cloud/aspose-cells-cloud-cpp
tests/api/folder_test.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="folder_test.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person obtaining...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/api/cells_api.h
<filename>include/aspose_cells_cloud/api/cells_api.h /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="cells_api.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is here...
aspose-cells-cloud/aspose-cells-cloud-cpp
tests/api/convert_test.h
<reponame>aspose-cells-cloud/aspose-cells-cloud-cpp /** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="convert_test.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is he...
aspose-cells-cloud/aspose-cells-cloud-cpp
include/aspose_cells_cloud/api_configuration.h
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="api_configuration.h"> * Copyright (c) 2022 Aspose.Cells for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person obt...
isshe/code-library
B.Operating-System/Linux/Application/B.lib/isshe_stdio.c
<gh_stars>1-10 #include <stdio.h> #include "isshe_stdio.h" #include "isshe_error.h" char *isshe_fgets(char *ptr, int n, FILE *stream) { char *rptr; if ( (rptr = fgets(ptr, n, stream)) == NULL && ferror(stream)) isshe_sys_error_exit("fgets error"); return (rptr); } void isshe_fputs(const ch...