repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
nevzatseferoglu/boulder-dash
src/headers/common.h
<filename>src/headers/common.h #include <stdio.h> #include <stdlib.h> #include "SDL2/SDL.h" #include "SDL2/SDL_image.h" #include "SDL2/SDL_ttf.h" #include "SDL2/SDL_mixer.h" #include "defs.h" #include "structs.h"
nevzatseferoglu/boulder-dash
src/headers/fileOperation.h
<gh_stars>1-10 #include "common.h" extern struct levelTools levels[LEVEL_NUMBER];
nevzatseferoglu/boulder-dash
src/stage.c
<filename>src/stage.c #include "headers/stage.h" static void logic(void); static void draw(void); void initStage(void) { gameTools.gameParts.logic = logic; gameTools.gameParts.draw = draw; initMap(); } static void logic(void) { doPlayer(); doCamera(); } static void draw(void) { if(state.startScreen) startSc...
nevzatseferoglu/boulder-dash
src/drawIssue.c
#include "headers/drawIssue.h" void prepareWindow() { SDL_RenderClear(gameTools.renderer); if(!state.endGame) loadBackground(); } void presentWindow() { SDL_RenderPresent(gameTools.renderer); } void blit(SDL_Texture *texture, int xPos, int yPos , int w , int h) { SDL_Rect dest; dest.x...
nevzatseferoglu/boulder-dash
main.c
#include "src/headers/main.h" int main() { initSDL(); initGame(); initStage(); loadMedia(); oldTime = SDL_GetTicks(); while(quit) { prepareWindow(); doInput(); gameTools.gameParts.logic(); gameTools.gameParts.draw(); presentWindow(); ...
jebr224/keyboard
demo_src/app_led_usb_status.c
<reponame>jebr224/keyboard<filename>demo_src/app_led_usb_status.c /******************************************************************************* Copyright 2016 Microchip Technology Inc. (www.microchip.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance ...
SuperSency/who_exp
who_exp.c
/*achieve who order *currently login username :ut_name *port name :ut_line *time :ut_time */ #include<stdio.h> #include<stdlib.h> #include<utmp.h> #include<fcntl.h> #include<unistd.h> void show_info(struct utmp *utm) { printf("%-8.8s\t",utm->ut_name); printf("%-8.8s\t",utm->ut_line); show_time(utm->ut_time); ...
laurelkeys/tev
include/tev/SharedQueue.h
// This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Common.h> #include <deque> #include <mutex> #include <condition_variable> TEV_NAMESPACE_BEGIN template <typename T> class SharedQueue { public: bool empty() cons...
laurelkeys/tev
include/tev/imageio/EmptyImageLoader.h
// This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Image.h> #include <tev/imageio/ImageLoader.h> #include <istream> TEV_NAMESPACE_BEGIN class EmptyImageLoader : public ImageLoader { public: bool canLoadFile(std::...
laurelkeys/tev
src/imageio/QoiImplementation.c
<filename>src/imageio/QoiImplementation.c // This file was developed by <NAME> & <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #define QOI_IMPLEMENTATION #include <qoi.h> // Since qoi.h uses C99 features not present in C++17 (designated initializers) // QOI_IMPLEMENTATIO...
laurelkeys/tev
include/tev/imageio/ImageLoader.h
<reponame>laurelkeys/tev // This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Channel.h> #include <tev/Image.h> #include <Eigen/Dense> #include <istream> #include <string> TEV_NAMESPACE_BEGIN class ImageLoader { publi...
laurelkeys/tev
include/tev/Lazy.h
<filename>include/tev/Lazy.h // This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Common.h> #include <tev/ThreadPool.h> #include <chrono> #include <functional> #include <future> TEV_NAMESPACE_BEGIN // Encapsulates a la...
laurelkeys/tev
include/tev/ImageButton.h
// This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Common.h> #include <nanogui/widget.h> #include <string> TEV_NAMESPACE_BEGIN class ImageButton : public nanogui::Widget { public: ImageButton(nanogui::Widget* pa...
laurelkeys/tev
include/tev/Image.h
<gh_stars>0 // This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Channel.h> #include <tev/SharedQueue.h> #include <tev/ThreadPool.h> #include <nanogui/texture.h> #include <Eigen/Dense> #include <atomic> #include <istre...
laurelkeys/tev
include/tev/Channel.h
// This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Common.h> #include <nanogui/vector.h> #include <Eigen/Dense> #include <future> #include <string> #include <vector> TEV_NAMESPACE_BEGIN class Channel { public: ...
laurelkeys/tev
include/tev/Ipc.h
// This file was developed by <NAME> <<EMAIL>>. // It is published under the BSD 3-Clause License within the LICENSE file. #pragma once #include <tev/Common.h> #include <filesystem/path.h> #include <list> #include <vector> TEV_NAMESPACE_BEGIN struct IpcPacketOpenImage { std::string imagePath; std::string ...
laurelkeys/tev
include/tev/MultiGraph.h
<reponame>laurelkeys/tev // This file was adapted from the nanogui::Graph class, which was developed // by <NAME> <<EMAIL>> and based on the NanoVG demo application // by <NAME>. Modifications were developed by <NAME> <<EMAIL>>. // This file is published under the BSD 3-Clause License within the LICENSE file. #pragma ...
WildElf/flicks
flickFinder/Pods/Target Support Files/Pods-Flick Finder/Pods-Flick Finder-umbrella.h
<gh_stars>0 #import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_Flick_FinderVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Flick_FinderVersionString[];
julthomas/luasnmp
src/nm_util.h
/* * nm_util.h */ #ifndef nm_util_h #define nm_util_h #include "snmp.h" #include "nm_varbind.h" #include "lua.h" #define lua_Object int #ifndef NULL #define NULL 0 #endif #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #define NMAX_SUBID 64 #define FULL_NAME 1 #define LAST_NAME ...
julthomas/luasnmp
src/snmp.h
#ifndef _SNMP_H_ #define _SNMP_H_ #define snmp_mib_tree tree /* LuaMan: added snmp_errno and Mib definitions */ extern int snmp_errno; extern struct snmp_mib_tree *Mib; #endif /* _SNMP_H_ */
julthomas/luasnmp
src/nm_init.c
/*----------------------------------------------------------------------------- * nm_init.c * * Inicializacao e registro das funcoes "C" utilizadas pelos conjuntos * de primitivas da API de gerenciamento. * *----------------------------------------------------------------------------*/ #include <stdio.h> #includ...
julthomas/luasnmp
src/nm_varbind.h
<reponame>julthomas/luasnmp /* * nm_varbind.h * * Definicoes relativas a varbinds * utilizados pelas primitivas MIB e SNMP * * ATENCAO : MANTER CONSISTENCIA COM LUA !!! * */ #ifndef nm_varbind_h #define nm_varbind_h /* * Data Types */ #define NM_TYPE_OTHER 0 #define NM_TYPE_OBJID 1 #de...
julthomas/luasnmp
src/nm_util.c
/*----------------------------------------------------------------------------- * nm_util.c * * Helper functions * Funcoes auxiliares *-----------------------------------------------------------------------------*/ #include <net-snmp/net-snmp-config.h> #include <net-snmp/mib_api.h> #if 0 /* CMU compatablity was r...
julthomas/luasnmp
src/except.c
/*=========================================================================*\ * Simple exception support * LuaSocket toolkit * * RCS ID: $Id: except.c,v 1.1 2006/05/16 19:05:34 leuwer Exp $ \*=========================================================================*/ #include <stdio.h> #include "lua.h" #include "lauxl...
julthomas/luasnmp
src/nm_mibdefs.h
<reponame>julthomas/luasnmp<filename>src/nm_mibdefs.h /* * nm_mibdefs.h * * Definicoes utilizados pelas primitivas MIB * * ATENCAO : MANTER CONSISTENCIA COM LUA !!! * */ #ifndef nm_mibdefs_h #define nm_mibdefs_h #include <net-snmp/library/parse.h> /* * Codigos de erro */ #define NM_MIB_NOERROR 200 #defin...
julthomas/luasnmp
src/nm_mib.c
<reponame>julthomas/luasnmp<filename>src/nm_mib.c /*----------------------------------------------------------------------------- * nm_mib.c * * Funcoes "C" utilizadas pelo conjunto de primitivas MIB. * Estas funcoes sao responsaveis pela interface com a biblioteca CMU-SNMP2 * *-----------------------------------...
julthomas/luasnmp
src/nm_snmpdefs.h
<gh_stars>1-10 /* * nm_snmpdefs.h * * Definicoes utilizados pelas primitivas SNMP * * ATENCAO : MANTER CONSISTENCIA COM LUA !!! * */ #ifndef nm_snmpdefs_h #define nm_snmpdefs_h /* * Parametros de configuracao de uma sessao SNMP */ #define NM_SNMPv1 1 #define NM_SNMPv2C 2 #define NM_SNMPv2 3 #define NM_SNMP...
julthomas/luasnmp
src/nm_snmp.h
<filename>src/nm_snmp.h /* * nm_snmp.h */ #ifndef nm_snmp_h #define nm_snmp_h #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/library/snmp_client.h> #include <net-snmp/library/snmpusm.h> #includ...
julthomas/luasnmp
straps/straps.c
/* * straps.c -- * * A simple SNMP trap-sink. Mainly for scotty's snmp code, but also * usable by other clients. The straps demon listens to the snmp-trap * port 162/udp and forwards the received event to connected clients * (like scotty). Because the port 162 needs root access and the port * can be opened only ...
julthomas/luasnmp
src/nm_trap.h
<reponame>julthomas/luasnmp<filename>src/nm_trap.h /* * nm_trap.h */ #ifndef nm_trap_h #define nm_trap_h /* * Prototipos das funcoes definidas por nm_trap */ #ifdef USE_SNMPTRAPD #define NM_SNMP_TRAP_PORT 6000 #define NM_SNMP_TRAP_BUFLEN 4096 void nm_trap_open(const char *name, int port); void nm_trap_close(void)...
julthomas/luasnmp
src/nm_mib.h
<gh_stars>1-10 /* * nm_mib.h */ #ifndef nm_mib_h #define nm_mib_h #include "nm_util.h" #include "nm_mibdefs.h" int nm_mib_register(lua_State *L, char *modulename); #endif
julthomas/luasnmp
src/nm_c64.c
<reponame>julthomas/luasnmp #include <stdio.h> #include <math.h> #include "lua.h" #include "lauxlib.h" #include "nm_c64.h" #define MASK32 0x00000000ffffffffULL static unsigned long long _pow(double base, double exp) { unsigned long long _base = (unsigned long long) base; unsigned long long _exp = (unsigned long ...
julthomas/luasnmp
src/nm_trap.c
<filename>src/nm_trap.c /*----------------------------------------------------------------------------- * nm_trap.c * * Funcoes auxiliares para recepcao de TRAPS * * A recepcao de traps, em ambientes "UNIX" e' realizada atraves * do uso do daemon "straps" (recebe e reencaminha traps SNMP enviadas * para a porta ...
julthomas/luasnmp
src/nm_c64.h
#ifndef nm_c64_h #define nm_c64_h #ifndef WIN32 #include <sys/types.h> #endif #include <net-snmp/net-snmp-config.h> #include <net-snmp/library/asn1.h> #include "lua.h" #include "lauxlib.h" #define C64NAME "counter64" #define C64TYPE "snmp counter64" typedef enum c64_ops { C64_ADD, C64_SUB, C64_EQ, C64_LT, ...
julthomas/luasnmp
straps/config.h
/* config.h. Generated automatically by configure. */ /* config.h.in. Handcrafted version -- autoheader is too magic. */ /* LUAMAN : this file should be manually updated, if needed, until we implement an automatic configuration tool */ /* Define if you have IP multicast support. */ /*#define HAVE_MULTIC...
julthomas/luasnmp
src/compat-5.1r5/compat-5.1.h
/* ** Compat-5.1 ** Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat/) ** $Id: compat-5.1.h,v 1.1 2006/04/09 19:51:39 leuwer Exp $ */ #ifndef COMPAT_H LUALIB_API void luaL_module(lua_State *L, const char *libname, const luaL_reg *l, int nup); #define luaL_...
ProjectCeleste/libsquish-mirror
squish_export.h
<reponame>ProjectCeleste/libsquish-mirror // empty export definitions to be overidden by cmake #ifndef SQUISH_EXPORT # define SQUISH_EXPORT #endif
RekGRpth/powa-archivist
powa.c
<reponame>RekGRpth/powa-archivist /*------------------------------------------------------------------------- * * powa.c: PoWA background worker * * This program is open source, licensed under the PostgreSQL license. * For license terms, see the LICENSE file. * *--------------------------------------------------...
smokyonion/VSWToolkit
VSWToolkit/NSArray+VSWRangeExceptionFreeAdditions.h
<gh_stars>1-10 // // NSArray+VSWRangeExceptionFreeAdditions.h // VSWToolkit // // Created by <NAME> on 10/18/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface NSArray (VSWRangeExceptionFreeAdditions) - (BOOL)vsw_containsIndex:(NSUInteger)index; /** * Retur...
smokyonion/VSWToolkit
VSWToolkit/NSArray+VSWSortingAdditions.h
<filename>VSWToolkit/NSArray+VSWSortingAdditions.h // // NSArray+VSWSortingAdditions.h // VSWToolkit // // Created by <NAME> on 10/18/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface NSArray (VSWSortingAdditions) /** * This returns a reversed ordered array ...
smokyonion/VSWToolkit
VSWToolkit/NSImage+VSWAppKitAdditions.h
// // NSImage+VSWAppKitAdditions.h // VSWToolkit // // Created by <NAME> on 10/18/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface NSImage (VSWAppKitAdditions) /** * Simply a shorter version of -CGImageForProposedRect:NULL context:nil hints:nil; * * @return The CG...
smokyonion/VSWToolkit
VSWToolkit/VSWToolkit.h
// // VSWToolkit.h // VSWToolkit // // Created by <NAME> on 10/18/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import "NSArray+VSWRangeExceptionFreeAdditions.h" #import "NSArray+VSWSortingAdditions.h" #if TARGET_OS_IPHONE // iOS only #endif #if TARGET_OS_MAC && !TARGET_OS_IPHONE // OS X only #impo...
vohuydan/EEP_520-Final_Project
src/wanderer.h
<filename>src/wanderer.h #ifndef __WANDERER_AGENT__H #define __WANDERER_AGENT__H #include <string> #include <math.h> #include "enviro.h" #include <string.h> namespace { using namespace enviro; class Forward : public State, public AgentInterface { public: void entry(const Event &e) { ...
vohuydan/EEP_520-Final_Project
src/omni.h
<gh_stars>0 #ifndef __OMNI_AGENT__H #define __OMNI_AGENT__H #include "enviro.h" using namespace enviro; class FindWall : public State, public AgentInterface { public: void entry(const Event &e) { std:: cout << "Find Wall : \n "; std:: cout << "Initial Position : \n "; ...
aadrian/seafile-client
src/shib/shib-login-dialog.h
<filename>src/shib/shib-login-dialog.h #ifndef SEAFILE_CLIENT_SHIB_LOGIN_DIALOG_H #define SEAFILE_CLIENT_SHIB_LOGIN_DIALOG_H #include <QDialog> #include <QUrl> #include <QNetworkCookieJar> #include "account.h" template<typename T> class QList; #if defined(SEAFILE_USE_WEBKIT) class QWebView; #else class QWebEngineVi...
aadrian/seafile-client
src/ui/starred-files-list-view.h
#ifndef SEAFILE_CLIENT_UI_STARRED_FILES_LIST_VIEW_H #define SEAFILE_CLIENT_UI_STARRED_FILES_LIST_VIEW_H #include <QListView> class QAction; class QContextMenuEvent; class QMenu; class QModelIndex; class QStandardItem; class StarredFileItem; class StarredItem; class StarredFilesListView : public QListView { Q_OB...
Boringboys/MD5Boom
mythread.h
#ifndef MYTHREAD_H #define MYTHREAD_H #include <QThread> #include <QFile> #include <QByteArray> #include <QCryptographicHash> class MyThread : public QThread { Q_OBJECT public slots: void receiveData(QString str); signals: void sendProgress(int num1); void boomSuccess(QString str); public: MyThr...
Boringboys/MD5Boom
mainwindow.h
<gh_stars>0 #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QDebug> #include <QMainWindow> #include <QWidget> #include <QLabel> #include <QLineEdit> #include <QPushButton> #include <QGridLayout> #include <QProgressBar> #include <mythread.h> class MainWindow : public QMainWindow { Q_OBJECT public slots: v...
freepvps/httpclient
helpers.h
<gh_stars>0 #pragma once #define clean(x) memset(&x, 0, sizeof(x)) #define try ssize_t _try_error_code = 0; if (1) #define catch _try_catch_mark: if (0) {/* clion intent fix */} if (_try_error_code) #define throw(x) do { _try_error_code = x; goto _try_catch_mark; } while(0) #define empty_creator(typename, varname)...
freepvps/httpclient
http/writer.h
<gh_stars>0 #pragma once #include <unistd.h> #include <sys/malloc.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include "types.h" #include "../buffer.h" #include "../helpers.h" int open_tcp_connection(char *host, int port) { struct hostent *hostent = gethostbyname(host); if (!hostent...
freepvps/httpclient
http/reader.h
<reponame>freepvps/httpclient<gh_stars>0 #pragma once #include <stdio.h> #include <unistd.h> #include <sys/malloc.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include "types.h" #include "../buffer.h" #include "../helpers.h" enum { BUFFER_DEFAULT_SIZE = 16384 }; typedef struct { Buf...
freepvps/httpclient
main.c
#include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include "http/client.h" #include "http/uri.h" #include "http/types.h" int main(int argc, char **argv) { Uri uri = empty_uri(); HttpSession session = empty_http_session(); size_t download_size = 0; try { // parse args i...
freepvps/httpclient
buffer.h
#pragma once #include <stdlib.h> #include <sys/malloc.h> #include <memory.h> #include "helpers.h" #include <ctype.h> typedef struct { char* data; size_t size; } Buffer; empty_creator(Buffer, buffer) typedef struct { Buffer buffer; size_t offset; size_t capacity; } IOBuffer; empty_creator(IOBuffer...
freepvps/httpclient
http/client.h
<filename>http/client.h #pragma once #include "uri.h" #include "types.h" #include "writer.h" #include "reader.h" #include "../buffer.h" int http_send_get(HttpSession* session, Uri uri, IOBuffer* dynamic_buffer) { if (!session) { return -1; } HttpHeader headers[2] = { make_http_heade...
freepvps/httpclient
http/types.h
#pragma once #include "../buffer.h" #include "../helpers.h" #include <sys/malloc.h> #include <unistd.h> #include <ctype.h> typedef enum { HTTP_UNKNOWN = 0, HTTP_OK = 200, HTTP_NOT_FOUND = 404 } HttpCode; typedef struct { char *key, *value; } HttpHeader; empty_creator(HttpHeader, http_header) typedef...
freepvps/httpclient
http/uri.h
<filename>http/uri.h #pragma once #include "../buffer.h" #include <stdio.h> #include <string.h> typedef enum { SCHEME_UNKNOWN, SCHEME_HTTP, SCHEME_HTTPS, SCHEMES_COUNT } UriScheme; typedef struct { UriScheme scheme; char *host; int port; char *path; } Uri; static const char* _http_st...
orbea/Play-
Source/ee/DMAC.h
<reponame>orbea/Play- #pragma once #include "Types.h" #include "zip/ZipArchiveWriter.h" #include "zip/ZipArchiveReader.h" #include "Dmac_Channel.h" class CMIPS; class CDMAC { public: friend class Dmac::CChannel; enum CHANNEL_ID { CHANNEL_ID_VIF0, CHANNEL_ID_VIF1, CHANNEL_ID_GIF, CHANNEL_ID_FROM_IPU, CH...
Noah-Huppert/Rain
Help.h
<gh_stars>0 #ifndef HELP_H #define HELP_H #include <iostream> #include "Command.h" #include "Utils.h" class Help : public Command { public: Help() : Command("help") {} void run() { coutFile("help.txt"); } }; #endif
Noah-Huppert/Rain
Command.h
#ifndef COMMAND_H #define COMMAND_H #include <string> class Command { public: std::string command; Command(std::string command): command(command) {} virtual void run() = 0; }; #endif
Noah-Huppert/Rain
Utils.h
#ifndef UTILS_H #define UTILS_H #include <iostream> #include <sstream> #include <fstream> void coutFile(const char* filePath) { std::string line; std::ifstream file; file.open(filePath); if (file.is_open()) { while (std::getline(file, line)) { std::cout << line << "\n"; } } } #endif
Noah-Huppert/Rain
Die.h
#ifndef DIE_H #define DIE_H #include <stdlib.h> class Die { int value; void roll(); }; #endif
Noah-Huppert/Rain
Game.h
#ifndef GAME_H #define GAME_H #include <iostream> #include <vector> class Game { public: std::vector<Die> rollPool; std::vector<Die> storePool; std::vector<Command*> commands; Game(); Command* getCommand(std::string command); void loop(); }; #endif
Heather/Salsa
Foreign/Salsa/salsa.c
/****************************************************************************** -- | -- Licence : BSD-style (see LICENSE) -- -- Salsa low level requirements. -- *****************************************************************************/ #ifdef __cplusplus extern "C" { #endif #ifdef MONO #include <stdint.h> #...
fgitty017/procmap-utility-for-compilation
procmap_kernel/procmap.c
/* * procmap.c *************************************************************** * Brief Description: * This kernel module forms the kernel component of the 'procmap' project. * * The procmap project's intention is, given a process's PID, it will display * (in a CLI/console output format only for now) a complete '...
Pedrous/ueye
include/ueye/StereoNode.h
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012-2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Pedrous/ueye
include/ueye/Camera.h
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012-2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Pedrous/ueye
include/ueye/CameraNode.h
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012-2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
mooredan/OpenROAD
src/TritonRoute/src/frBaseTypes.h
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code m...
mooredan/OpenROAD
src/OpenDB/src/swig/common/swig_common.h
<reponame>mooredan/OpenROAD /* * Copyright (c) 2021, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
mooredan/OpenROAD
src/mpl2/src/shape_engine.h
<filename>src/mpl2/src/shape_engine.h<gh_stars>0 /////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2021, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without ...
mooredan/OpenROAD
src/gui/src/tclCmdInputWidget.h
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
mooredan/OpenROAD
src/TritonRoute/test/fixture.h
<reponame>mooredan/OpenROAD<gh_stars>0 /* Author: <NAME> */ /* * Copyright (c) 2020, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redis...
mooredan/OpenROAD
src/OpenDB/src/db/dbMTerm.h
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus Inc // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
mooredan/OpenROAD
src/stt/src/pdr/src/graph.h
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
mooredan/OpenROAD
src/grt/src/RoutingTracks.h
<reponame>mooredan/OpenROAD<filename>src/grt/src/RoutingTracks.h ///////////////////////////////////////////////////////////////////////////// // // BSD 3-Clause License // // Copyright (c) 2019, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms,...
mooredan/OpenROAD
src/TritonRoute/src/io/io.h
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code m...
mooredan/OpenROAD
src/TritonRoute/src/db/grObj/grVia.h
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code m...
mooredan/OpenROAD
src/TritonRoute/src/db/obj/frInst.h
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code m...
mooredan/OpenROAD
src/grt/src/fastroute/include/DataType.h
<reponame>mooredan/OpenROAD //////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018, Iowa State University All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that ...
mooredan/OpenROAD
src/TritonRoute/src/db/grObj/grFig.h
<reponame>mooredan/OpenROAD /* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redi...
mooredan/OpenROAD
src/gui/src/tclCmdHighlighter.h
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
mooredan/OpenROAD
src/replace/src/nesterovPlace.h
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018-2020, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that...
FoneG/FGIAPService
Example/FGIAPService/FGViewController.h
// // FGViewController.h // FGIAPService // // Created by <EMAIL> on 05/08/2021. // Copyright (c) 2021 <EMAIL>. All rights reserved. // @import UIKit; @interface FGViewController : UIViewController @end
FoneG/FGIAPService
Example/FGIAPService/FGIAPVerifyTransactionObj.h
// // FGIAPVerifyTransactionObj.h // FGIAPService_Example // // Created by FoneG on 2021/5/10. // Copyright © 2021 <EMAIL>. All rights reserved. // #import <Foundation/Foundation.h> #import <FGIAPVerifyTransaction.h> NS_ASSUME_NONNULL_BEGIN @interface FGIAPVerifyTransactionObj : NSObject <FGIAPVerifyTransaction>...
FoneG/FGIAPService
FGIAPService/Classes/FGIAPService.h
// // FGIAPManager.h // MaltBaby // // Created by FoneG on 2020/5/7. // #import <Foundation/Foundation.h> #import <StoreKit/StoreKit.h> #import "FGIAPVerifyTransaction.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, FGIAPManagerPurchaseRusult) { FGIAPManagerPurchaseRusultSuccess = 0, //内购成功 ...
FoneG/FGIAPService
FGIAPService/Classes/FGIAPProductsFilter.h
// // FGIAPProductsFilter.h // MaltBaby // // Created by FoneG on 2021/5/8. // #import <Foundation/Foundation.h> #import <StoreKit/StoreKit.h> NS_ASSUME_NONNULL_BEGIN typedef void(^FGIAPManagerResponseBlock)(NSArray<SKProduct *> * products); @interface FGIAPProductsFilter : NSObject /// 获取苹果内购商品列表 /// @param pr...
FoneG/FGIAPService
FGIAPService/Classes/FGIAPServiceUtility.h
// // FGIAPServiceUtility.h // Pods // // Created by FoneG on 2021/5/10. // #ifndef FGIAPServiceUtility_h #define FGIAPServiceUtility_h #define FGDEBUG #if defined (FGDEBUG) && defined (DEBUG) #define FGLog(...) NSLog(__VA_ARGS__) #else #define FGLog(...) #endif #define WS(wSelf) __weak typeof(self) wSel...
FoneG/FGIAPService
FGIAPService/Classes/NSObject+FGIsNullOrEmpty.h
// // NSObject+FGIsNullOrEmpty.h // FGIAPService // // Created by FoneG on 2021/5/10. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSObject (FGIsNullOrEmpty) - (BOOL)isNSStringAndNotEmpty; - (BOOL)isNSArrayAndNotEmpty; @end NS_ASSUME_NONNULL_END
FoneG/FGIAPService
FGIAPService/Classes/FGIAPVerifyTransaction.h
// // FGIAPVerifyTransaction.h // MaltBaby // // Created by FoneG on 2021/5/8. // #import <Foundation/Foundation.h> #import <StoreKit/StoreKit.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, FGIAPVerifyTransactionRusult) { FGIAPManagerVerifyRusultCREATED = 0, FGIAPManagerVerifyRusultFail, FGIAPM...
FoneG/FGIAPService
FGIAPService/Classes/FGIAPManager.h
<reponame>FoneG/FGIAPService // // FGIAPManager.h // MaltBaby // // Created by FoneG on 2020/5/11. // #import <Foundation/Foundation.h> #import "FGIAPService.h" NS_ASSUME_NONNULL_BEGIN @interface FGIAPManager : NSObject /// FGIAPService @property (nonatomic, strong, readonly) FGIAPService *iap; /// Initialize +...
ckhsponge/ObjectiveWMM
ObjectiveWMM/ObjectiveWMM.h
// // ObjectiveWMM.h // ObjectiveWMM // // Created by <NAME> on 12/15/14. // Copyright (c) 2014 Crookneck Consulting LLC. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for ObjectiveWMM. FOUNDATION_EXPORT double ObjectiveWMMVersionNumber; //! Project version string for ObjectiveWMM. F...
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/httpd/cgi/cgi_ssi.c
/* cgi_ssi.c Author: <NAME><<EMAIL>> Date: April 12, 2020 */ #include "../http_cgi.h" ///////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////// //get a nu...
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/httpd/http_fs.c
<filename>straight-httpd/straight-httpd/httpd/http_fs.c<gh_stars>1-10 /* http_fs.c Author: <NAME><<EMAIL>> Date: June 28, 2020 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "arch/sys_arch.h" #include "http_fs.h" #define FAKE_FS 1 #ifdef _WIN32 #pragma warning(disable:...
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/httpd/cgi/cgi_files.c
<reponame>straight-coding/straight-httpd-lwip-mbedtls-simulator /* cgi_files.c Author: <NAME><<EMAIL>> Date: May 30, 2020 */ #include "arch/sys_arch.h" #include "../http_cgi.h" #define FOLDER_TO_LIST "D:/straight/straight-httpd/straight-httpd/straight-httpd/httpd/cncweb/app/cache/" ///////////////...
straight-coding/straight-httpd-lwip-mbedtls-simulator
lwip-port/win32/netif/ethernetif.c
/* ethernetif.c Author: <NAME><<EMAIL>> Date: April 12, 2020 */ #include "lwip/opt.h" #include "lwip/sys.h" #include "netif/etharp.h" #include "ethernetif.h" #include "arch/port.h" //NIC interfaces static err_t low_level_init(struct netif *netif) { u8_t* pMac; struct ethernetif *ethernetif ...
straight-coding/straight-httpd-lwip-mbedtls-simulator
mbedtls/include/mbedtls/config_user.h
<gh_stars>1-10 /////////////////////////////////////////////////////////////////////////////////////// // in order to overwrite definitions, include this file at the end of config.h /////////////////////////////////////////////////////////////////////////////////////// // disable MICRO ///////////////////////////...
straight-coding/straight-httpd-lwip-mbedtls-simulator
lwip-port/win32/lwip_api.c
<gh_stars>1-10 /* lwip_api.c Author: <NAME><<EMAIL>> Date: April 12, 2020 */ #include <stdlib.h> #include <stdio.h> #include <string.h> #ifdef _WIN32 #include <time.h> #endif #include "lwip/sys.h" #include "lwip/arch.h" #include "lwip/init.h" #include "lwip/tcpip.h" #include "lwip/timeouts.h"...
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/httpd/cgi/cgi_upload.c
/* cgi_upload.c Author: <NAME><<EMAIL>> Date: May 04, 2020 */ #include "../http_cgi.h" #define UPLOAD_TO_FOLDER "D:/straight/straight-httpd/straight-httpd/straight-httpd/httpd/cncweb/app/cache/" ///////////////////////////////////////////////////////////////////////////////////////////////////// e...
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/ssdp/ssdp.h
<filename>straight-httpd/straight-httpd/ssdp/ssdp.h /* ssdp.h Author: <NAME><<EMAIL>> Date: April 12, 2020 */ #ifndef _SSDP_H #define _SSDP_H void ssdpInit(struct netif *net); void ssdpDown(void); #endif
straight-coding/straight-httpd-lwip-mbedtls-simulator
straight-httpd/straight-httpd/httpd/fs_data.c
<gh_stars>1-10 const unsigned char g_szWebRoot[] = { 0x00,0x00,0x00,0x00,0x4A,0x02,0x00,0x00,0x42,0x00,0x00,0x00,0x8C,0x02,0x00,0x00, 0xCA,0x71,0xDD,0x5E,0x00,0x00,0x00,0x00,0x2F,0x61,0x70,0x70,0x2F,0x70,0x6C,0x75, 0x67,0x69,0x6E,0x2F,0x66,0x69,0x6C,0x65,0x54,0x72,0x61,0x6E,0x73,0x66,0x65,0x72, 0x2F,0x66,0x...