repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
manas0522/sci-cpy | C/Trapezoidal Rule/Trapezoidal.c | <filename>C/Trapezoidal Rule/Trapezoidal.c
# include <stdio.h>
# include <stdlib.h>
#include<math.h>
#define f(x) 1/(1+pow(x,2))//change it depending on the input function
int main ()
{
float a,b,n,h,area,sum=0;
int i;
printf("**** Trapezoidal Method of Numerical Integration **** \n\n\n");
printf("Ente... |
manas0522/sci-cpy | C/Runge Kutta Method/runge_kutta_method_4.c | <reponame>manas0522/sci-cpy
#include<stdio.h>
float fun(float x, float y)
{
return (x+(y*y)); // dy/dx = (x + y*y)
}
float rungeKutta(float x0, float y0, float xn, float h)
{
int n = (int)((xn - x0) / h);
float k1, k2, k3, k4, k5, y = y0;
for(int itr=1; itr<=n; itr++)
{
// Runge Kutt... |
manas0522/sci-cpy | C/Jacobi's Iteration/Jacobi's Iteration.c | # include <stdio.h>
# include <stdlib.h>
# include <math.h>
int main()
{
int n,i,j,iter=1;
float div, HighestErr, next, sum;
printf ("Enter the number of unknowns: ");
scanf("%d",&n);
float AugM[n][n+1], Soln[n], tempSoln[n];
for (i=0;i<n;i++) {
Soln[i]=0.0;
printf ("Enter the coefficients of... |
pyth/physics_sim | vec2.h | <filename>vec2.h
#ifndef __VEC2_H__
#define __VEC2_H__
#include <cmath>
#include <memory>
#if defined(__SSE4_1__)
#include <smmintrin.h>
#elif defined(__SSE2__)
#include <emmintrin.h>
#endif
#ifdef __SSE2__
typedef union {
__m128d v;
double xy[2];
} vector;
#endif //__SSE2__
class Vec2 {
#ifdef __SSE2__
vector... |
pyth/physics_sim | object.h | #ifndef __OBJECT_H__
#define __OBJECT_H__
#include "vec2.h"
#include <QGraphicsScene>
#include <QGraphicsEllipseItem>
class Object {
static int cnt;
static QGraphicsScene *scene;
QGraphicsEllipseItem *pic;
public:
int id;
bool solid;
double mass;
double size;
Vec2 pos;
Vec2 vel;
static void set_scene(Q... |
pyth/physics_sim | view.h | #ifndef __VIEW_H__
#define __VIEW_H__
#include "object.h"
#include <random>
#include <vector>
#include <chrono>
#include <thread>
#include <QApplication>
#include <QGraphicsView>
#include <QKeyEvent>
#include <QMouseEvent>
class View : public QGraphicsView {
double dt;
bool running;
bool reset_velocity;
double o... |
haogege617/speexdsp | libspeexdsp/testdenoise.c | #ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "speex/speex_preprocess.h"
#include <stdio.h>
#define NN 320
int main()
{
short in[NN];
int i;
SpeexPreprocessState *st;
int count=0;
float f;
FILE *file_clean=NULL, *file_noise =NULL;
file_clean = fopen("G:\\pesq_test_sequences\\orginal_... |
harmon25/roygbiv_node | src/main.h | <filename>src/main.h
#ifndef __MAIN_H
#define __MAIN_H
#include <ArduinoOTA.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ArduinoJson.h>
#include <Automaton.h>
#include <Atm_esp8266.h>
#include <NeoPixelBus.h>
#include <WiFiUdp.h>
char magicPacket[] = "ESP8266 DISCOVERY";
// Set to the number of LEDs... |
MohomedShalik/Firmware | boards/px4/fmu-v3/src/board_config.h | <filename>boards/px4/fmu-v3/src/board_config.h
/****************************************************************************
*
* Copyright (c) 2013-2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
PacktPublishing/Delphi-High-Performance | Chapter 8/StaticLib1/StaticLib1/CppClass.h | <reponame>PacktPublishing/Delphi-High-Performance
#pragma once
class CppClass
{
int data;
public:
CppClass();
~CppClass();
void setData(int);
int getSquare();
};
|
Brett-z/Syntax-Analyse | rdparser.c | <gh_stars>0
/**
*******************************************************************************************************************
*******************************************************************************************************************
* 作者: 曾彬芮 王云青
*
* 日期: 2021-11-17
*
* 版本: V1.0
*
* 说明: ... |
Brett-z/Syntax-Analyse | rdcheck.c | <gh_stars>0
/**
*******************************************************************************************************************
*******************************************************************************************************************
* 作者: 曾彬芮 王云青
*
* 日期: 2021-11-17
*
* 版本: V1.0
*
* 说明: ... |
AlexHsieh/ButtonAppearance | Example/ButtonAppearance/AHBAppDelegate.h | <gh_stars>1-10
//
// AHBAppDelegate.h
// ButtonAppearance
//
// Created by <NAME> on 03/09/2016.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
@import UIKit;
@interface AHBAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
AlexHsieh/ButtonAppearance | Pod/Classes/AHButton.h | //
// AHButton.h
// Pods
//
// Created by <NAME> on 3/9/16.
//
//
#import <UIKit/UIKit.h>
#import "UIButton+Appearance.h"
@interface AHButton : UIButton
- (void)setShadowColor:(UIColor *)color offset:(CGSize)size opacity:(float)opacity radius:(float)radius forState:(UIControlState)state UI_APPEARANCE_SELECTOR;
-... |
AlexHsieh/ButtonAppearance | Example/Pods/Headers/Private/ButtonAppearance/UIButton+Appearance.h | <gh_stars>1-10
//
// UIButton+Appearance.h
//
// Created by <NAME> on 3/3/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIButton (Appearance)
- (void)setBackgroundColor:(UIColor *)color forState:(UIControlState)state UI_APPEARANCE_SELECTOR;
- (void)setBackgroundGradie... |
AlexHsieh/ButtonAppearance | Example/Pods/Target Support Files/Pods-ButtonAppearance_Example/Pods-ButtonAppearance_Example-umbrella.h | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_ButtonAppearance_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_ButtonAppearance_ExampleVersionString[];
|
AlexHsieh/ButtonAppearance | Example/ButtonAppearance/AHBViewController.h | <filename>Example/ButtonAppearance/AHBViewController.h
//
// AHBViewController.h
// ButtonAppearance
//
// Created by <NAME> on 03/09/2016.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
@import UIKit;
@interface AHBViewController : UIViewController
@end
|
AlexHsieh/ButtonAppearance | Example/Pods/Target Support Files/ButtonAppearance/ButtonAppearance-umbrella.h | #import <UIKit/UIKit.h>
#import "AHButton.h"
#import "UIButton+Appearance.h"
FOUNDATION_EXPORT double ButtonAppearanceVersionNumber;
FOUNDATION_EXPORT const unsigned char ButtonAppearanceVersionString[];
|
AlexHsieh/ButtonAppearance | Example/Pods/Target Support Files/Pods-ButtonAppearance_Tests/Pods-ButtonAppearance_Tests-umbrella.h | <filename>Example/Pods/Target Support Files/Pods-ButtonAppearance_Tests/Pods-ButtonAppearance_Tests-umbrella.h
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_ButtonAppearance_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_ButtonAppearance_TestsVersionString[];
|
surpher/pact-swift-mock-server | Sources/include/shim.h | <filename>Sources/include/shim.h
#ifndef shim_h
#define shim_h
#include <PactMockServer/PactMockServer.h>
#endif /* shim_h */ |
surpher/pact-swift-mock-server | Sources/include/PactMockServer/PactMockServer.h | <filename>Sources/include/PactMockServer/PactMockServer.h
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
/**
* Request or Response enum
*/
typedef enum {
/**
* Request part
*/
Request,
/**
* Response part
*/
Response,
} InteractionPart;
/**
* An enum representi... |
UldisRinkevichs/lib1cserialscanner | lib1cserialscanner/lib1cserialscanner/IInitDone.h | <reponame>UldisRinkevichs/lib1cserialscanner
/*
* Project name: lib1cserialscanner
*
* File name: IInitDone.h
* Created on: Sep 30, 2021
* Modified on: Oct 3, 2021
*
*/
#pragma once
#include <Windows.h>
#include <initguid.h>
#ifndef IINITDONE_H
#define IINITDONE_H
DEFINE_GUID(... |
UldisRinkevichs/lib1cserialscanner | lib1cserialscanner/lib1cserialscanner/ILanguageExtender.h | /*
* Project name: lib1cserialscanner
*
* File name: ILanguageExtender.h
* Created on: Sep 30, 2021
* Modified on: Oct 3, 2021
*
*/
#pragma once
#include <Windows.h>
#include <initguid.h>
#include "IInitDone.h"
#ifndef ILANGUAGEEXTENDER_H
#define ILANGUAGEEXTENDER_H
#define N... |
UldisRinkevichs/lib1cserialscanner | lib1cserialscanner/lib1cserialscanner/IClassFactory.h | /*
* Project name: lib1cserialscanner
*
* File name: IClassFactory.h
* Created on: Sep 30, 2021
* Modified on: Oct 3, 2021
*
*/
#pragma once
#include <Windows.h>
#include <initguid.h>
#ifndef ICLASSFACTORY_H
#define ICLASSFACTORY_H
DEFINE_GUID(CLSID_lib1CSerialScanner, 0x5c344... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Scenes/Background.h | #ifndef __BACKGROUND_H__
#define __BACKGROUND_H__
#include "cocos2d.h"
/**
* Classe responsavel pelo plano de fundo da tela.
*
* Atributo:
* -> node do tipo cocos2d::Node: representa o
* no na arvore principal.
* */
class Background
{
private:
/**
* NÓ que sera adiocionado na Ar... |
alissonads/cocos2d-c-plus-plus | Exemplos/Classes/scenes/Scene1.h | <reponame>alissonads/cocos2d-c-plus-plus
#ifndef __SCENE1_H__
#define __SCENE1_H__
#include "cocos2d.h"
class Scene1 : public cocos2d::Scene
{
public:
static cocos2d::Scene *createScene();
virtual bool init();
virtual void update(float delta);
void menuCloseCallback(cocos2d::Ref *sender);
... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Scenes/GameScene.h | <gh_stars>0
#ifndef __GAME_SCENE_H__
#define __GAME_SCENE_H__
#include "Base/SceneBase.h"
#include <string>
class GameScene : public SceneBase
{
private:
std::string kitName;
void close();
protected:
virtual void config();
public:
GameScene();
~GameScene();
CREATE_FUNC(GameScene);
... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/MenuScene.h | <reponame>alissonads/cocos2d-c-plus-plus
#ifndef __MENU_SCENE_H__
#define __MENU_SCENE_H__
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
class SceneSettings;
class MenuScene : public cocos2d::Scene
{
private:
cocos2d::Director *director;
SceneSettings *settings;
public:
CREATE_FUNC(MenuScene);
... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Scenes/Base/SceneBase.h | #ifndef __SCENE_BASE_H__
#define __SCENE_BASE_H__
#include "cocos2d.h"
#include "FairyGUI.h"
class Background;
/**
* SceneBase
*
* Classe base para todas as cenas do jogo.
*
* Todas as classes do jogo devem herdar desta classe, pois ela
* possui algumas configurações iniciais.
*
* Ao herda-la, a cena de im... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/settings/MenuSceneSettings.h | #ifndef __MESNU_SCENE_SETTINGS_H__
#define __MESNU_SCENE_SETTINGS_H__
#include "base/SceneSettings.h"
class MenuSceneSettings : public SceneSettings
{
public:
MenuSceneSettings();
~MenuSceneSettings();
virtual void config() override;
};
#endif//__MESNU_SCENE_SETTINGS_H__ |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Custom/FileRequestListener.h | <reponame>alissonads/cocos2d-c-plus-plus
#ifndef __FILE_REQUEST_LISTENER_H__
#define __FILE_REQUEST_LISTENER_H__
#include "external/json/document.h"
#include <vector>
class FileRequestListener
{
public:
virtual ~FileRequestListener() {}
virtual void applyData(const std::vector<char> &buffer) = 0;
};
#endif/... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/custom/ListVerticalOrder.h | <filename>SimplePads/Classes/custom/ListVerticalOrder.h
#ifndef __LIST_VERTICAL_ORDER_H__
#define __LIST_VERTICAL_ORDER_H__
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
class ListVerticalOrder : public cocos2d::extension::TableViewDataSource,
public cocos2d::extension::TableViewDe... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/settings/GameSceneSettings.h | #ifndef __GAME_SCENE_SETTINGS_H__
#define __GAME_SCENE_SETTINGS_H__
#include "base/SceneSettings.h"
class GameSceneSettings : public SceneSettings
{
private:
void configMenu();
public:
GameSceneSettings();
virtual void config() override;
};
#endif//__GAME_SCENE_SETTINGS_H__ |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/custom/GridTiles.h | #ifndef __GRID_TILES_H__
#define __GRID_TILES_H__
#include "cocos2d.h"
#include <vector>
#include <string>
class GridTiles
{
private:
std::vector<std::string> images;
int *map;
int lines, columns;
cocos2d::Vec2 iniPos;
cocos2d::Vec2 offset;
cocos2d::Size sizeTiles;
cocos2d::Vec2 point;
... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/settings/Background.h | #ifndef __BACKGROUND_H__
#define __BACKGROUND_H__
#include "cocos2d.h"
class Background
{
private:
cocos2d::Node *node;
private:
void setNode(cocos2d::Node *node);
Background();
public:
~Background();
static Background *createBgSolidColor(const cocos2d::... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/custom/ItemList.h | <reponame>alissonads/cocos2d-c-plus-plus<filename>SimplePads/Classes/custom/ItemList.h
#ifndef __ITEM_LIST_H__
#define __ITEM_LIST_H__
#include "cocos2d.h"
#include <unordered_map>
#include <string>
class ItemList
{
private:
typedef std::unordered_map<std::string, cocos2d::Node*> Components;
Components compon... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/GameScene.h | <filename>SimplePads/Classes/scenes/GameScene.h
#ifndef __GAME_SCENE_H__
#define __GAME_SCENE_H__
#include "cocos2d.h"
#include <vector>
#include <string>
class SceneSettings;
class GameScene : public cocos2d::Scene
{
private:
SceneSettings *settings;
std::vector<std::string> imageFilesNames;
private:
v... |
alissonads/cocos2d-c-plus-plus | SimplePads/Classes/scenes/settings/base/SceneSettings.h | #ifndef __SCENE_SETTINGS_H__
#define __SCENE_SETTINGS_H__
#define PATH_IMAGE "images/"
#include "cocos2d.h"
#include <string>
class Background;
class SceneSettings
{
protected:
std::string title;
std::string subtitle;
Background *background;
cocos2d::Menu *menu;
public:
SceneSettings(const std:... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Custom/CustomFileRequest.h | #ifndef __CUSTOM_FILE_REQUEST_H__
#define __CUSTOM_FILE_REQUEST_H__
#include "cocos2d.h"
#include "network/HttpRequest.h"
#include <string>
#include <vector>
class FileRequestListener;
class CustomFileRequest
{
private:
cocos2d::network::HttpRequest *request;
std::vector<FileRequestListener*> listeners;
pub... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Ex/BagScene.h | #ifndef __BAG_SCENE_H__
#define __BAG_SCENE_H__
#include "cocos2d.h"
#include "DemoScene.h"
#include "BagWindow.h"
USING_NS_FGUI;
class BagScene : public DemoScene
{
public:
//BagScene();
~BagScene();
// implement the "static create()" method manually
CREATE_FUNC(BagScene);
protec... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Custom/EspecialistLoader.h | #ifndef __ESPECIALIST_LOADER_H__
#define __ESPECIALIST_LOADER_H__
#include "FairyGUI.h"
#include "network/CCDownloader.h"
class EspecialistLoader : public fairygui::GLoader
{
private:
std::unique_ptr<cocos2d::network::Downloader> downloader;
cocos2d::Texture2D *texture;
protected:
virtual void loadExter... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Scenes/MenuScene.h | #ifndef __MENU_SCENE_H__
#define __MENU_SCENE_H__
#include "Base/SceneBase.h"
#include "Custom/FileRequestListener.h"
#include <string>
class CustomFileRequest;
/**
* Classe da Cena que representa o Menu do Jogo.
*
* Extende da Classe SceneBase
* Implementa a FileRequestListener para se tornar ouvinte de uma
*... |
alissonads/cocos2d-c-plus-plus | FairyGUIExemple/Classes/Custom/ItemListBuilder.h | <gh_stars>0
#ifndef __ITENS_LIST_BUILDER_H__
#define __ITENS_LIST_BUILDER_H__
#include "FairyGUI.h"
#include <string>
class ItemListBuilder
{
private:
fairygui::GComponent *item;
private:
ItemListBuilder();
public:
static ItemListBuilder builder(const std::string &pkgName,
... |
alissonads/cocos2d-c-plus-plus | SimpleGame_Android/SimpleGame_Android/Classes/HelloWorldScene.h | <reponame>alissonads/cocos2d-c-plus-plus<filename>SimpleGame_Android/SimpleGame_Android/Classes/HelloWorldScene.h
/****************************************************************************
Copyright (c) 2017-2018 <NAME> Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any pe... |
alissonads/cocos2d-c-plus-plus | Exemplos/Classes/utils/OptionalObject.h | #ifndef __OPTIONAL_OBJECT_H__
#define __OPTIONAL_OBJECT_H__
template<typename T>
class OptionalObject
{
private:
T *item;
private:
OptionalObject(T *_item);
public:
static OptionalObject create(T *item);
static OptionalObject createNull();
bool isPresent();
bool isNull();
T *get();
};
#... |
lunixbochs/rainbowmux | cmd-find.c | <reponame>lunixbochs/rainbowmux
/* $OpenBSD$ */
/*
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE ... |
lunixbochs/rainbowmux | cmd-set-buffer.c | <gh_stars>10-100
/* $OpenBSD$ */
/*
* Copyright (c) 2007 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PRO... |
lunixbochs/rainbowmux | options.c | /* $OpenBSD$ */
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND... |
lunixbochs/rainbowmux | colour.c | <reponame>lunixbochs/rainbowmux<filename>colour.c
/* $OpenBSD$ */
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all ... |
lunixbochs/rainbowmux | grid-cell.c | <reponame>lunixbochs/rainbowmux
/* $OpenBSD$ */
/*
* Copyright (c) 2012 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE ... |
lunixbochs/rainbowmux | cmd-respawn-pane.c | /* $OpenBSD$ */
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>
* Copyright (c) 2011 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
... |
lunixbochs/rainbowmux | compat.h | <gh_stars>1-10
/*
* Copyright (c) 2007 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... |
cocoahuke/coBlue-iOS | coBlue_iOS/coBlue_iOS/AppDelegate.h | //
// AppDelegate.h
// coBlue_iOS
//
// Created by huke on 2/14/17.
// Copyright (c) 2017 com.cocoahuke. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
cocoahuke/coBlue-iOS | coBlue_iOS/coBlue_iOS/coblue_control.h | //
// coblue_control.h
// coblue-control
//
// Created by huke on 2/4/17.
// Copyright (c) 2017 com.cocoahuke. All rights reserved.
//
#ifndef coblue_control_h
#define coblue_control_h
#include <pthread/pthread.h>
#import <Foundation/Foundation.h>
#import "ViewController.h"
#include <sys/stat.h>
#define ASYNC_TH... |
cocoahuke/coBlue-iOS | coBlue_iOS/coBlue_iOS/ViewController.h | //
// ViewController.h
// coBlue_iOS
//
// Created by huke on 2/14/17.
// Copyright (c) 2017 com.cocoahuke. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#include "coblue_control.h"
extern void objc_msgSend1( id self, SEL op, ... );
extern BOOL execute_done;
#define DEBUG_IN_... |
yabdelgh/minishell-1 | allocate_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* allocate_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | libft/ft_split.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_split.c :+: :+: :+: ... |
yabdelgh/minishell-1 | cmd_ex.c | <gh_stars>1-10
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* cmd_ex.c :+: ... |
yabdelgh/minishell-1 | start_parsing_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* start_parsing_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | init_nodes_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* init_nodes_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | minishell.c | <filename>minishell.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minishell.c :+... |
yabdelgh/minishell-1 | free_pa.c | <reponame>yabdelgh/minishell-1
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* free_pa.c ... |
yabdelgh/minishell-1 | libft/ft_strlcat.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlcat.c :+: :+: :+: ... |
yabdelgh/minishell-1 | redirection_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* redirections_bonus.c :+: :+: :+: ... |
yabdelgh/minishell-1 | parsing_pa.c | <reponame>yabdelgh/minishell-1
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parsing_pa.c ... |
yabdelgh/minishell-1 | get_filepath_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_filepath_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | parsing.h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parsing.h :+: :+: :+: ... |
yabdelgh/minishell-1 | exec.h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* exec.h :+: :+: :+: ... |
yabdelgh/minishell-1 | pwd_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pwd.c :+: :+: :+: ... |
yabdelgh/minishell-1 | envp_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* envp.c :+: :+: :+: */... |
yabdelgh/minishell-1 | ambigous_redir_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ambigous_redir_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | redirection_pa.c | <reponame>yabdelgh/minishell-1
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* redirection_pa.c ... |
yabdelgh/minishell-1 | libft/ft_substr.c | <filename>libft/ft_substr.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_substr.c ... |
yabdelgh/minishell-1 | builtin_ex.c | <filename>builtin_ex.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* builtins.c ... |
yabdelgh/minishell-1 | exec_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* exec_ex.c :+: :+: :+: ... |
yabdelgh/minishell-1 | path_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* path.c :+: :+: :+: ... |
yabdelgh/minishell-1 | env_variable_pa.c | <reponame>yabdelgh/minishell-1<gh_stars>1-10
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* env_variable_pa.c ... |
yabdelgh/minishell-1 | libft/ft_strtrim.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strtrim.c :+: :+: :+: ... |
yabdelgh/minishell-1 | set_env_pa.c | <reponame>yabdelgh/minishell-1
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* set_env_pa.c ... |
yabdelgh/minishell-1 | chdir_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* chdir.c :+: :+: :+: ... |
yabdelgh/minishell-1 | redir_syntax_errors_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* redir_syntax_errors_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | extra_args_pa.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* extra_args_pa.c :+: :+: :+: ... |
yabdelgh/minishell-1 | check_syntax_pa.c | <reponame>yabdelgh/minishell-1<filename>check_syntax_pa.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* check_syntax_p... |
yabdelgh/minishell-1 | heredoc_ex.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* heredoc_ex.c :+: :+: :+: ... |
yabdelgh/minishell-1 | unset_ex.c | <filename>unset_ex.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* unset_ex.c ... |
HardinScott/rockPaperScissors | rockPaperScissors.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ROCK 1
#define PAPER 2
#define SCISSORS 3
int main(void){
int ownHand, theirHand, wins, loses;
char usrInput[10];
char* cmpOutput;
ownHand = rand();
ownHand = ownHand%3 + 1;
if(ownHand == ROCK){
cmpOutput = "Rock";
}
... |
rleschiera/jada | 1.0.0a/src/jadalib/dll.c | #include "jada.h"
BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved)
{
BOOL result = TRUE;
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
... |
rleschiera/jada | 1.0.0a/src/jadalib/libsess-vnc.c | <reponame>rleschiera/jada
#include "jada.h"
#include "jada_internal.h"
#include "jada_messages.h"
#include "jada_events.h"
/******************************************************************************
*
* V N C S E R V I C E S
*
*****************************************************************************... |
rleschiera/jada | 1.0.0a/src/server-support/supp-objects.c | <gh_stars>0
#include "jada.h"
#include "server.h"
/******************************************************************************
*
* R E Q U E S T S
*
*****************************************************************************/
//ASRV_Request *ASRV_CreateRequest(char *szFile, int iLine, ASRV_Session *sesPt... |
rleschiera/jada | 1.0.0a/include/server.h | <reponame>rleschiera/jada
#ifndef _SERVER_H_
#define _SERVER_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/******************************************************************************/
/* */
/* G e n e r a l I n c l u d ... |
rleschiera/jada | 1.0.0a/src/agent/callback.c | <filename>1.0.0a/src/agent/callback.c
#include "jada.h"
#include "jada_messages.h"
#include "agent.h"
static int iRequestId = 0;
static JADA_ReqId iReqId;
CORE_Callback AAGT_MnuOpenConnection(int iAutoLogin)
{
int iRet;
ShortString szMyName, szMyPhone, szMyCustomer;
AAGT_Connection = JADA... |
rleschiera/jada | 1.0.0a/src/manager/thread.c | <reponame>rleschiera/jada
#include "jada.h"
#include "jada_internal.h"
#include "jada_events.h"
static void *JADA_ManageEventThread(void *FuncArg);
int JADA_ManageEvents(JADA_Connection connSelf)
{
int iRet;
pthread_t pThreadId;
pthread_attr_t attr;
pthread_attr_init(&attr);
p... |
rleschiera/jada | 1.0.0a/include/jada_events.h | <filename>1.0.0a/include/jada_events.h
#ifndef _JADA_EVENTS_H_
#define _JADA_EVENTS_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/******************************************************************************/
/* */
/* M a c ... |
rleschiera/jada | 1.0.0a/src/jadalib/libhandler.c | #include "jada.h"
#include "jada_internal.h"
#include "jada_messages.h"
#include "jada_events.h"
//static int JADA_StartDesktopServer(JADA_Request reqSelf)
//{
// int iRet;
// JADA_ReqSelf *reqPtr = (JADA_ReqSelf *) reqSelf;
//
// reqPtr->dskSelf = JADA_DskNew(__FILE__, __LINE__, reqSe... |
rleschiera/jada | 1.0.0a/src/jadalib/libsess-support.c | #include "jada.h"
#include "jada_internal.h"
#include "jada_messages.h"
#include "jada_events.h"
DllExport JADA_Support __stdcall JADA_SuppNew(char *szFile, int iLine, JADA_Connection connSelf)
{
JADA_SuppSelf *suppPtr;
JADA_ConnSelf *connPtr = (JADA_ConnSelf *) connSelf;
JADA_ReturnValIfInvalidConne... |
rleschiera/jada | 1.0.0a/include/server2-dabuttare.h | #ifndef _SERVER_H_
#define _SERVER_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/******************************************************************************/
/* */
/* G e n e r a l I n c l u d e F i l e s ... |
rleschiera/jada | 1.0.0a/src/server-common/handler.c | #include "jada.h"
#include "jada_internal.h"
#include "server.h"
/******************************************************************************
*
* C O M M O N S E R V I C E S
*
*****************************************************************************/
int ASRV_ForwardMessage(JADA_Message msgIn, JADA... |
rleschiera/jada | 1.0.0a/include/jada.h | <gh_stars>0
#ifndef _JADA_H_
#define _JADA_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define ANSI_C 1
/******************************************************************************/
/* */
/* G e n e r... |
rleschiera/jada | 1.0.0a/src/server-vnc/vnc-handler.c | <reponame>rleschiera/jada
#include "jada.h"
#include "jada_internal.h"
#include "server.h"
/******************************************************************************
*
* H I G H L E V E L H A N D L E R S
*
*****************************************************************************/
/* VNC Mess... |
rleschiera/jada | 1.0.0a/src/server-media/media-log.c | #include "jada.h"
#include "server.h"
void ASRV_LogOpenCall(ASRV_Session *sesPtr, JADA_ReqId iId, ASRV_DbRichiesta *reqPtr)
{
int iRet;
ASRV_DbAgent myAgent;
ASRV_DbManager myManager;
iRet = LogGetSessionPartners(sesPtr, &myAgent, &myManager);
if (iRet == 0) {
//LogSessionMess... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.