seq_id string | text string | repo_name string | sub_path string | file_name string | file_ext string | file_size_in_byte int64 | program_lang string | lang string | doc_type string | stars int64 | dataset string | pt string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
24273146392 | //
// DNTCoreDataStack.h
// DNTUtilities
//
// Created by Daniel Thorpe on 06/05/2013.
// Copyright (c) 2013 Daniel Thorpe. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
// Exception names
extern NSString * const DNTCoreDataStack_FailedToMigrateExceptionName;
extern NSStr... | danthorpe/DNTUtilities | DNTUtilities/Classes/DNTCoreDataStack.h | DNTCoreDataStack.h | h | 2,877 | c | en | code | 0 | github-code | 54 |
29951080092 | #ifndef DOOR_SWITCH_H
#define DOOR_SWITCH_H
#include "light_switch.h"
class DoorSwitch : public LightSwitch
{
public:
DoorSwitch(Sprite door, Sprite doorOff, glm::vec4 doorRect, int doorLineIndex, bool on, int switchLineIndex, glm::vec4 switchRect, Sprite onSprite, Sprite offSprite)
: LightSwitch(on, switchLine... | NoamZeise/TrailsOfThePharaoh | src/game/map/elements/door_switch.h | door_switch.h | h | 1,680 | c | en | code | 1 | github-code | 54 |
3112667708 | /*
* TI DaVinci AEMIF support
*
* Copyright 2010 (C) Texas Instruments, Inc. http://www.ti.com/
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#ifndef _MACH_DAVINCI_AEMIF... | andreimironenko/linux-davinci | include/linux/mfd/davinci_aemif.h | davinci_aemif.h | h | 1,048 | c | en | code | 1 | github-code | 54 |
4799878624 | #ifndef __FM_VSP_EXT_H
#define __FM_VSP_EXT_H
#include "ncsw_ext.h"
#include "fm_ext.h"
#include "net_ext.h"
typedef struct t_fm_vsp_params {
t_handle h_fm;
/**< A handle to the FM object this VSP related to */
t_fm_ext_pools ext_buf_pools;
/**< Which external buffer pools are used (up to
* FM_PORT_MAX_NUM... | F-Stack/f-stack | dpdk/drivers/net/dpaa/fmlib/fm_vsp_ext.h | fm_vsp_ext.h | h | 3,964 | c | en | code | 3,600 | github-code | 54 |
29449556426 | ;/* compleximage.c - program to show the use of a complex Intuition Image.
lc -b1 -cfist -v -y -j73 compleximage.c
blink FROM LIB:c.o compleximage.o TO compleximage LIB LIB:lc.lib LIB:amiga.lib
quit
*/
/*
Copyright (c) 1992 Commodore-Amiga, Inc.
This example is provided in electronic form by Commodore-Amiga, Inc. for... | aros-development-team/AROS | developer/demos/compleximage.c | compleximage.c | c | 7,029 | c | en | code | 332 | github-code | 54 |
72386918560 | #ifndef MATRIX_H
#define MATRIX_H
#include<fstream>
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<sstream>
#include<utility>
#include<omp.h>
using namespace std;
template<class T>
class Matrix;
template<class T>
ostream& operator<< (ostream &out, Matrix<T> & M);... | gizemcaylak/Potpourri | cpp/src/cpp/ET/Matrix.h | Matrix.h | h | 17,591 | c | en | code | 1 | github-code | 54 |
27780478680 | #ifndef COLA_P
#define COLA_P
#include <string>
#include <iostream>
using namespace std;
struct nodo {
string info;
int prioridad;
};
class colaPrioritaria {
private:
int tam;
int indice;
int i;
nodo inser;
nodo *arreglo;
public:
//inicializando
colaPrioritaria (int tama){
... | isa9906/proyecto-listas | Colas/colaPrioritaria.h | colaPrioritaria.h | h | 2,534 | c | es | code | 0 | github-code | 54 |
32699471991 | #include <stdio.h>
#include "shm.h"
int main()
{
int shmid;
char *shmadd;
key_t key;
key=ftok(".",'a');
shmid=shm_get(key);
shmadd=shm_at(shmid);
shm_dt(shmadd);
shm_ctl(shmid);
return 0;
}
| wilsonfly/test_module | origin_c/naive_code/process/shm_no2/main.c | main.c | c | 216 | c | en | code | 1 | github-code | 54 |
18684507367 | #ifndef TZONEPROCSEA_H
#define TZONEPROCSEA_H
#include "HSea.h"
#include "TGeneralTrackSea.h"
#include "UZone.h"
using namespace COMMON::_ZONE_;
#include "point_in_zone_checker.h"
namespace PTPV
{
namespace sea
{
// Программа расчёта попаданий объекта в зоны.
class TZoneProc
{
private:
... | VladimirTsoy/poligon | POLIGON02/Surface/TZoneProcSea.h | TZoneProcSea.h | h | 980 | c | ru | code | 0 | github-code | 54 |
38369518484 | #ifndef HDC_OPERH_TYPE_H
#define HDC_OPERH_TYPE_H
#include "PrimitiveType.h"
#include "../../token/Token.h"
namespace hdc {
class OPERType : public PrimitiveType {
private:
Token token;
public:
OPERType();
OPERType(Token& token);
public:
vi... | hadley-siqueira/hdc | include/ast/types/OPERType.h | OPERType.h | h | 374 | c | en | code | 1 | github-code | 54 |
14088564355 | #include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <stdbool.h>
#define NUM_SUITS 4
#define NUM_RANKS 13
int main()
{
bool a[4][13] = {false}; // 4行 13列
int num_cards, rank, suit;
const char rank_code[] = {'2','3','4','5','6','7','8','9','t','j','q','k','a'};
const char suit_code... | Shangxin666/Cpp-try | deal.c | deal.c | c | 753 | c | en | code | 0 | github-code | 54 |
34459372143 | #include "common.h"
#include "kernel_user_pot.h"
volatile u16 ADC_Buf[ADC_CHANNELS];
#define edge 2
volatile float offsetValue=(float)edge/(float)ADC_MAX;
volatile float shortLength=(float)edge/(float)ADC_MAX;
volatile float pauseSize=(float)edge/(float)ADC_MAX;
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* p_hdma... | zhou-peter/Tesla | Lab1.1/Src/kernel_user_pot.c | kernel_user_pot.c | c | 854 | c | en | code | 0 | github-code | 54 |
37518760255 | #ifndef CONSTANTS_H
#define CONSTANTS_H
// Number of channel and index in tab DIRECTION, SPEED, RATIO
#define RC_NUM_CHANNELS 3
#define RC_CH1 0
#define RC_CH2 1
#define RC_CH3 2
// RC channel INPUT PIN
#define RC_CH1_PIN A0
#define RC_CH2_PIN A1
#define RC_CH3_PIN A2
// Servo INPUT PIN
#define SERVO_PIN 10
// Moto... | jferdelyi/rc-car | src/constants.h | constants.h | h | 1,659 | c | en | code | 0 | github-code | 54 |
32699383221 | #include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/stat.h>
int main()
{
int src_fd,dest_fd;
char buff[1024];
int read_len;
src_fd=open("src_file",O_RDONLY);
dest_fd=open("dest_file",O_WRONLY|O_CREAT|O_TRUNC,0644);
if(src_fd<0||dest_fd<0)
{
print... | wilsonfly/test_module | origin_c/naive_code/io/lseek/lseek.c | lseek.c | c | 516 | c | en | code | 1 | github-code | 54 |
28509436526 | #include "Common.h"
#include <time.h>
#include <sys/types.h>
#include <sys/timeb.h>
int printTime(char *ampm)
{
char buff[128];//, ampm[] = "AM";
__time64_t lgtime;
struct __timeb64 timstruct;
struct tm *today, *thegmt, xmas = { 0, 0, 12, 25, 11, 90 };
/* set time zone from TZ environment variable.... | tommybee-dev/win32A | AboutTime.c | AboutTime.c | c | 2,164 | c | en | code | 0 | github-code | 54 |
20528265576 | /*
* tiny_uart.c
*
* Created: 16/07/2015 6:32:52 PM
* Author: Esposch
*/
#include "tiny_uart.h"
#include "globals.h"
void tiny_uart_setup(void){
PR.PRPC &= 0b11101111;
//PR.PRPE &= 0b11111110; ???
PORTC.DIR |= 0b10101010;
PORTC.OUT = 0xff;
PORTC.PIN2CTRL = PORT_INVEN_bm | PORT_OPC_PULLUP_gc;
//PORTC.... | EspoTek/Labrador | AVR_Code/USB_BULK_TEST/src/tiny_uart.c | tiny_uart.c | c | 1,379 | c | en | code | 1,062 | github-code | 54 |
29450132086 | /***************************************************************************
openurl.library - universal URL display and browser launcher library
Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
Copyright (C) 2005-2013 by openurl.library Open Source Team
This library is free software; it has been placed i... | aros-development-team/AROS | external/openurl/library/base.h | base.h | h | 2,276 | c | en | code | 332 | github-code | 54 |
27341164081 | /*
hud Class (hud.h, hud.cpp)
Created: Jan 29, 2017
Author: Matthew Chiborak
Description:
Class the stores information related to the HUD. This includes the sprites for rendering the menu and the cost of a unit and the display of how much resources a unit has.
Interface controller determines if a menu option has been... | matthewchiborak/CrystalCombatRTS | include/hud.h | hud.h | h | 3,663 | c | en | code | 0 | github-code | 54 |
43061206604 | #pragma once
#include <iostream>
using namespace std;
long w = 1;
long h = 1;
int chan = 3;
/**
* Param filename: name of file to be read
* Return: pixel information in file in the form of an array of chars
* Use: reads image
*/
unsigned char* ReadBMP(const char* filename)
{
int i;
FILE* f = fopen(filename,... | SUITS-teams/UBALT_Astrobees | Neural/Project1/Reader.h | Reader.h | h | 3,712 | c | en | code | 2 | github-code | 54 |
31652494332 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* board.c :+: :+: :+: ... | nkouris/zappy | src/board/board.c | board.c | c | 3,528 | c | en | code | 0 | github-code | 54 |
74597571361 | /**
* Copyright (c) 2014-2016 Dallin Wellington
*
*/
#ifndef _MONSOON_AABB_H_
#define _MONSOON_AABB_H_
#include <Platform/Export.h>
namespace Monsoon {
namespace Math {
/**
* An Axis-Aligned Bounding Box
*/
class DYNLIB AABB
{
public:
/**
* Default constructor.
*/
AABB();
/**
*... | dead1ock/monsoon | Engine/Include/Math/AABB.h | AABB.h | h | 1,928 | c | en | code | 2 | github-code | 54 |
10252212782 | #pragma once
#include "property_value.h"
#include "MessagePackAddition.h"
#include "NlohmannJsonAddition.h"
#include <sstream>
namespace twin_pack
{
class ISerializableObject
{
public:
virtual ~ISerializableObject() = default;
bool unserialize(const std::stringstream& stream, std::string& msg_error)
{
t... | aint-no-programmer/twin_pack | include/ISerializableObject.h | ISerializableObject.h | h | 3,765 | c | en | code | 0 | github-code | 54 |
18033933490 | #include <stdlib.h>
#include <stdio.h>
void func(int *p,int n){
p=malloc(n);
if(p == NULL){
exit(1);
}
}
void test(){
int *p=NULL;
p=malloc(sizeof(int));
if(p==NULL){
printf("malloc() error!\n");
exit(1);
}
*p=10;
printf("%p=%d\n", p, *p);
free(p);
... | qinchunabng/c_learning | malloc/test.c | test.c | c | 525 | c | uk | code | 0 | github-code | 54 |
8527820498 | #import <UIKit/UIKit.h>
@class LSSlider;
@protocol LSSliderDelegate <NSObject>
@optional
- (void)sliderValueChanging:(LSSlider *)slider;
- (void)sliderEndValueChanged:(LSSlider *)slider;
@end
@interface LSSlider : UIControl
@property (nonatomic,strong) UIColor * minimumTrackTintColor;
@property (nonatomic,strong) UICol... | xiaoniuniuaihenai/shandao | ZTMXFShanDao/Main/Reinforce/BorrowMoney/View/LSSlider.h | LSSlider.h | h | 905 | c | en | code | 0 | github-code | 54 |
73010038883 | #include <stddef.h>
#include <avr/io.h>
#include <avr/sfr_defs.h> /* loop_until_bit_is_set */
/*****************************************************************/
/* PROTOTYPES */
/**************/
size_t our_strlen(const char *s);
char *ul_to_str(char *buf, size_t len, unsigned long z);
void serial_print_str(const char... | ericherman/raw-c-arduino | src/hello-serial.c | hello-serial.c | c | 4,158 | c | en | code | 0 | github-code | 54 |
35161470217 | #pragma once
#define _USE_MATH_DEFINES
#include <cmath>
#include <WindingNumber/UT_SolidAngle.h>
#include "UniformSampleNBall.h"
#include <Eigen/Core>
#include <AABB_tree/AABB_tree.h>
#include "ExportSemantics.h"
#include "MeshReference.h"
namespace SDFSampler
{
class EXPORT PointSampler
{
public:
PointSample... | nathanrgodwin/overfit-shapes | SDFSampler/include/SDFSampler/PointSampler.h | PointSampler.h | h | 1,159 | c | es | code | 33 | github-code | 54 |
16677043817 | // fishroom.c
// 4/16/2000 by lag
#include <ansi.h>
inherit ROOM;
void create()
{
set("short", "钓鱼台");
set("long", @LONG
你走进这里,哇,有好多的人在这里钓鱼呀!不时的传来兴
奋的喊叫声,这肯定又是有谁钓到了大鱼,看到他们忙忙碌碌、
兴奋的样子,你还有什么值得犹豫的,赶快收拾好你的鱼杠开始
钓鱼(diao)吧?里面是一间休息室。
LONG );
set("exits", ([
// "enter" : __DIR__"xiuxi",
... | MudRen/HYLib | quest/newbie/fishroom.c | fishroom.c | c | 5,143 | c | zh | code | 2 | github-code | 54 |
71843667682 | /*
Name: MD Haque <haquem@uindy.edu>
Date: Sept, 2019
Desc: Singly-linked-list implementation in C.
*/
# include <stdio.h>
# include <stdlib.h>
struct slinklist
{
int data;
struct slinklist *next;
};
typedef struct slinklist node;
//and create a node for the link list
node* getnode(int data)
{
... | fuzzpault/UIndy-CSCI155-2019 | Sunny/singlelinklist.c | singlelinklist.c | c | 6,271 | c | en | code | 2 | github-code | 54 |
2931299837 | #pragma once
#include <vector>
namespace noisepage::common {
class Graph;
} // namespace noisepage::common
namespace noisepage::common::graph {
/**
* Determine if graph `lhs` is isomorphic to graph `rhs`.
* @param lhs Input graph
* @param rhs Input graph
* @return `true` if the graphs are isomorphic, `false` o... | cmu-db/noisepage | src/include/common/graph_algorithm.h | graph_algorithm.h | h | 784 | c | en | code | 1,715 | github-code | 54 |
34792563610 | /** -*-objc-*-
EODeprecated.h
Copyright (C) 2003,2004,2005 Free Software Foundation, Inc.
Author: Stephane Corthesy <stephane@sente.ch>
Date: March 2003
This file is part of the GNUstep Database Library.
This library is free software; you can redistribute it and/or
modify it under the terms of ... | gnustep/libs-gdl2 | EOControl/EODeprecated.h | EODeprecated.h | h | 2,331 | c | en | code | 7 | github-code | 54 |
20062882135 | #include <stdio.h>
//Compara caracteres até encontrar uma diferença, o fim de uma ou de ambas as strings
//Em caso do fim de ambas as strings, retorna 0
//Ao encontrar uma diferença, retorna o valor do caractere da str1 subtraido do caractere da str2
int func_strcmp(const char *str1, const char *str2){
while(*str... | Thiago-Mtt/Programas-C | Funcoes_stringlib/func_strcmp.c | func_strcmp.c | c | 771 | c | pt | code | 0 | github-code | 54 |
26707187515 | #include "inc/hw_types.h"
#include "inc/hw_flash_ctrl.h"
#include "inc/hw_memmap.h"
#include "inc/hw_ints.h"
#include "inc/hw_gprcm.h"
#include "inc/hw_hib1p2.h"
#include "inc/hw_hib3p3.h"
#include "inc/hw_common_reg.h"
#include "inc/hw_stack_die_ctrl.h"
#include "debug.h"
#include "flash.h"
#include "utils.h"
#include... | FreeRTOS/FreeRTOS | FreeRTOS/Demo/CORTEX_M4_SimpleLink_CC3220SF_CCS/ti/devices/cc32xx/driverlib/flash.c | flash.c | c | 24,350 | c | en | code | 4,181 | github-code | 54 |
42087765665 | //
// USCSceneManage.h
// nlu&asr
//
// Created by yunzhisheng-zy on 14-12-10.
// Copyright (c) 2014年 usc. All rights reserved.
//
#import <Foundation/Foundation.h>
@class USCRecoginizerParam,USCScene;
// @class - 场景管理类
// @brief - 负责管理场景相关内容
@interface USCSceneManage : NSObject
/**
* 上传场景
*
* @param sceneN... | pxhmeiyangyang/USC_SDK_PXH | sourcecode(occode)/Scene/USCSceneManage.h | USCSceneManage.h | h | 889 | c | zh | code | 0 | github-code | 54 |
37913913116 | #include "main.h"
/**
*_strncat - function that concatenates two strings, will use at most n bytes
*from src and src does not need to be null terminated
*@dest: The string to be appended
*@n: the number of bytes from src to append to dest
*@src: the string to append to dest
*Return: Pointer to string dest
*/
char *_str... | Hesemu/alx-low_level_programming | 0x06-pointers_arrays_strings/1-strncat.c | 1-strncat.c | c | 502 | c | en | code | 0 | github-code | 54 |
41145248780 | //
// MenuBarViewController.h
// SayHi
//
// Created by weidongcao on 2020/8/24.
// Copyright © 2020 weidongcao. All rights reserved.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@protocol MenuBarDelegate <NSObject>
-(void)eventFromMenuBarView:(NSDictionary *)event;
@end
@interface MenuBarViewController... | detaili/SayHi | SayHi/MainViewController/MenuBarViewController/MenuBarViewController.h | MenuBarViewController.h | h | 638 | c | en | code | 0 | github-code | 54 |
71784196643 | /*
* ---------------------------------
* Student Name: Levi Van Veen
* Student ID: 200852490
* Student Email: vanv2490@mylaurier.ca
* ---------------------------------
*/
#include <stdio.h>
# include <string.h>
# include <ctype.h>
# include <math.h>
# include <stdlib.h>
# include "A4.h"
//-------... | levivanveen/CP264 | A4/A4.c | A4.c | c | 5,884 | c | en | code | 0 | github-code | 54 |
74322169121 | Action()
{
lr_start_transaction("Tran1");
web_url("52.39.153.71",
"URL=http://52.39.153.71/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_end_transaction("Tran1", LR_AUTO);
lr_start_transaction("Tran2");
web_url("second... | Rogozai/SRL-Script | Peace_web_2Trans_52.39.153.71/Action.c | Action.c | c | 569 | c | en | code | 0 | github-code | 54 |
5963298369 | #include "uintN_t.h"
// LEDs for debug/output
#include "leds/leds_port.c"
#include "buttons/buttons.c"
// Include logic for Xilinx Memory Interface Generator w/ AXI interface
#include "axi_xil_mem.c"
// Example memory test that writes a test pattern
// and then reads the same data back
#define TEST_DATA_SIZE 4 // S... | JulianKemmerer/PipelineC | examples/axi/axi_ddr_host.c | axi_ddr_host.c | c | 3,343 | c | en | code | 498 | github-code | 54 |
72976909920 | $NetBSD: patch-src_tcpconns.c,v 1.5 2015/08/11 13:19:21 he Exp $
Include <sys/param.h>
--- src/tcpconns.c.orig 2015-05-20 12:04:47.191035542 +0000
+++ src/tcpconns.c
@@ -948,6 +948,7 @@ static int conn_init (void)
return (0);
} /* int conn_init */
+#include <sys/param.h>
static int conn_read (void)
{
struc... | NetBSD/pkgsrc-wip | stackdriver-collectd/patches/patch-src_tcpconns.c | patch-src_tcpconns.c | c | 340 | c | en | code | 61 | github-code | 54 |
13222397872 | /*
* StepperDM542 class
*
* Control a DM542 to move a Stepper Motor implemented with a home sensor
* and position control after homed.
*
* Author: Speed Muller, 2023.05.14
*/
#define BOTPOS 1300
#define MAXPOS 24000
class StepperDM542 {
private:
uint8_t u8StepOutputPin;
uint8_t u8DirOutputPin;
uin... | nambabwe/other | ML202301_RMCCoalDump/StepperDM542.h | StepperDM542.h | h | 6,267 | c | en | code | 1 | github-code | 54 |
74761715362 | #pragma once
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0501 // Cha... | hotbreakb/Game-Programing | HW2/stdafx.h | stdafx.h | h | 3,486 | c | en | code | 1 | github-code | 54 |
30002332726 | #include "lstf-stringtype.h"
#include "data-structures/iterator.h"
#include "data-structures/ptr-list.h"
#include "lstf-codevisitor.h"
#include "lstf-codenode.h"
#include "lstf-datatype.h"
#include "lstf-sourceref.h"
#include "lstf-uniontype.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdli... | Prince781/lstf | src/compiler/lstf-stringtype.c | lstf-stringtype.c | c | 2,409 | c | zh | code | 2 | github-code | 54 |
9401925244 | #pragma once
class CBitMap
{
private:
HDC m_hdc;
HDC m_MemDC;
HBITMAP m_Bitmap;
HBITMAP m_OldBitmap;
public:
CBitMap* LoadBmp(TCHAR* pFilename);
HDC GetMemDC(void);
void Release(void);
public:
CBitMap(void);
~CBitMap(void);
};
| Erikares/maplestory_imitation | BitMap.h | BitMap.h | h | 265 | c | en | code | 0 | github-code | 54 |
70834645603 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* b_cd.c :+: :+: :+: ... | LcntJulien/minishell | srcs/builtin/b_cd.c | b_cd.c | c | 2,544 | c | en | code | 0 | github-code | 54 |
26628701379 | /***********************************************************************
* This is a JUCE based computer realization of the Hangman game. *
* 17-28 June 2016 *
* Copyright (C) 2016 by Andrey N. Kuznetsov, Almaty, Kazakhstan. *
* E-mail: linmedsoft@gma... | ankuznetsov/jucegames | jbhangman/0.7.1/src/Source/TAboutJuceComponent.h | TAboutJuceComponent.h | h | 2,556 | c | en | code | 2 | github-code | 54 |
74334765281 | /*************************************************************************
> File Name: solution-6.c
> Author:
> Mail:
> Created Time: Sat 30 Mar 2019 02:39:14 AM CST
************************************************************************/
#include<stdio.h>
/* Write a program that prints a table with each line... | Firkraag/c_primer_plus_solution | chapter6/exercise/solution-6.c | solution-6.c | c | 767 | c | en | code | 0 | github-code | 54 |
42061920024 | #ifndef MURO_H
#define MURO_H
//#include <irrlicht.h>
#include "IDibujable.h"
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
class Muro : public IDibujable
{
public:
Muro(int posicionX,int posicionY);
~Muro() override;
/*ITexture* getTextura() const {
return textura;
}*/
void Pint... | Calintial/MortalVillager | include/muro.h | muro.h | h | 577 | c | es | code | 1 | github-code | 54 |
12558156044 | #ifndef VSPEGRAY_H
#define VSPEGRAY_H
#include "VSPostEffectFunction.h"
namespace VSEngine2
{
class VSPEGray : public VSPostEffectFunction
{
//RTTI
DECLARE_RTTI;
DECLARE_INITIAL
public:
VSPEGray (const VSUsedName & ShowName,VSPostEffectSet * pPostEffectSet);
~VSPEGray ();
virtual VSPostEffectSceneRender ... | 79134054/VSEngine2 | VSGraphic/VSPEGray.h | VSPEGray.h | h | 550 | c | en | code | 131 | github-code | 54 |
5761507888 | #include <stdio.h>
int mem[31][31] = {0};
long long sol(int n, int m){
if(!n || n>m) return 0;
if(n==1) return m;
if(n==m) return 1;
if(mem[n][m]) return mem[n][m];
mem[n][m] = sol(n, m-1) + sol(n-1, m-1);
return mem[n][m];
}
int main(void){
int t;
scanf("%d", &t);
while(t--){
int n, m;
... | qilip/ACMStudy | baekjoon/1010/source.c | source.c | c | 434 | c | uk | code | 2 | github-code | 54 |
3245927491 | /* Copyright (C) 2023 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
SPDX-License-Identifier: GPL-3.0-only
Authors: Felix Weiglhofer [committer] */
#ifndef CBM_ALGO_BASE_SUBCHAIN_H
#define CBM_ALGO_BASE_SUBCHAIN_H
#include <gsl/pointers>
#include "ChainContext.h"
namespace cbm::algo
{
class ... | fweig/cbmroot | algo/base/SubChain.h | SubChain.h | h | 660 | c | en | code | 0 | github-code | 54 |
11824574276 | #ifndef _SEQ_FILE_TMPL_H_
#define _SEQ_FILE_TMPL_H_
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/syscall.h>
// for ret2dir
#define PHYS_OFFSET 0xffff880000000000
#define PFN_MIN 0
#define PAGE_SIZE 0x1000
#define U... | chenyueqi/SLAKE | templates/victim/seq_file_tmpl.h | seq_file_tmpl.h | h | 5,119 | c | en | code | 31 | github-code | 54 |
72499557923 | #include <stdio.h>
#define MAXR 50
typedef struct coordinate {
int i;
int j;
} coordinate;
typedef struct output {
coordinate estremo;
int base;
int altezza;
int area;
} output;
int switch_function (int a1, int a2);
void leggiMatrice(int region[][MAXR], int max, int *nr, int *nc);
void spamp... | lorenzobuompane/Algoritmi-e-programmazione | Labs/03_1/main.c | main.c | c | 4,284 | c | it | code | 0 | github-code | 54 |
17756914668 | #include<iostream>
#include<fstream>
#include <algorithm>
using namespace std;
#define SPLITLISTSIZE 7
//define GenericReader class
template<typename T>
class GenericReader{
private:
fstream source;
string strings[SPLITLISTSIZE];
string sourcePath;
map<string, vector<T>> orderbooks;... | kazimagircan/Derivatives-Parser-and-Finder | genericReader.h | genericReader.h | h | 4,213 | c | en | code | 0 | github-code | 54 |
2110314531 | //
// DefConst.h
// EndlessGrid
//
// Created by Natasha on 28.09.12.
// Copyright (c) 2012 Natasha. All rights reserved.
//
#ifndef EndlessGrid_DefConst_h
#define EndlessGrid_DefConst_h
typedef enum {
kAddNone,
kAddPoint,
kAddLine,
kAddSegment,
kAddCustomPoint,
kAddCustomLine,
kAddCu... | pingwinator-archive/ios-bilogrud | EndlessGrid/EndlessGrid/DefConst.h | DefConst.h | h | 865 | c | en | code | 0 | github-code | 54 |
44460897054 | /**
* @file MatrixOps
* @description Bu program bazi matematiksel fonksiyonlarin gerceklesmesini saglar.
* @assignment 1.Odev
* @date 28.11.2022
* @author Ahmed Muaz Atik - ahmedmuaz.atik@stu.fsm.edu.tr
*/
#include "matrixLib.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
//Girilen size boyutunda vektor ... | AhmedMuazAtik/MatrixOps | matrixLib.c | matrixLib.c | c | 7,136 | c | tr | code | 0 | github-code | 54 |
15468149681 | //
// Created by dido-ubuntu on 12/02/16.
//
#ifndef PARALLELSTREAMCLUSTER_COLLECTOR_H
#define PARALLELSTREAMCLUSTER_COLLECTOR_H
#include <ff/node.hpp>
#include "Points.h"
#include "UtilClusters.h"
using namespace ff;
class Collector: public ff_minode_t<Points> {
public:
long clustersize;
Points * finalCen... | dido18/ParallelStreamCluster | src/Collector.h | Collector.h | h | 1,039 | c | en | code | 2 | github-code | 54 |
22690998683 | #include<stdio.h>
int main(){
double a=1.0,s=0;
int n,i;
printf("N?");
scanf("%d",&n);
for(i=0;i<=n;i++){
s += a;
printf("s%d = %f\n",i,s);
a /= 2.0;
}
}
| t180067/nc-t180047 | kadai4-4.c | kadai4-4.c | c | 205 | c | en | code | 0 | github-code | 54 |
10601915408 | #pragma once
#include "Vector3.h"
#include <glew.h>
struct Color
{
GLubyte r;
GLubyte g;
GLubyte b;
GLubyte a;
};
struct UV {
float u;
float v;
};
struct Vertex
{
Vector3 position;
Color color;
//UV texture coordinates
UV uv;
//Vector3 normals;
void setPosition(int _x, int _y, int _z)
{
position.x =... | AZielinsky95/HanZoloEngine | ZoloEngine/ZoloEngine/Vertex.h | Vertex.h | h | 570 | c | pl | code | 0 | github-code | 54 |
35749221766 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_pushswap.c :+: :+: :+: ... | celomary/push_swap | ft_pushswap/srcs/ft_pushswap.c | ft_pushswap.c | c | 13,865 | c | en | code | 2 | github-code | 54 |
72973490080 | $NetBSD: patch-src_Png.h,v 1.1 2013/02/16 11:16:33 thomasklausner Exp $
Fix build with png-1.6.
--- src/Png.h.orig 2012-06-19 21:12:46.000000000 +0000
+++ src/Png.h
@@ -19,6 +19,7 @@
#include <istream>
#include <ostream>
#include <string>
+#include <string.h>
#include <png.h>
namespace PieDock
| NetBSD/pkgsrc-wip | piedock/patches/patch-src_Png.h | patch-src_Png.h | h | 304 | c | en | code | 61 | github-code | 54 |
25487181054 | /*
TASK: Intro04
LANG: C
AUTHOR: Dragon
SCHOOL: PCSHS
*/
#include<stdio.h>
int main()
{
double d,vr,vt,vf;
scanf("%lf %lf %lf %lf",&d,&vr,&vt,&vf);
printf("%.2lf\n",vf*d/(vt-vr));
return 0;
}
| apkmew/Code | Nong/Intro04.c | Intro04.c | c | 224 | c | en | code | 2 | github-code | 54 |
882458582 | #pragma once
/*
Iterate over LHE (generator) particles, count number of leptons per flavour and set Z.
*/
namespace Artus
{
typedef GlobalProductProducerBase<ZJetEventData, ZJetProduct, ZJetPipelineSettings>
ZJetGlobalProductProducerBase;
class LHEProducer: public ZJetGlobalProductProducerBase
{
public:
LHEProduc... | dhaitz/CalibFW | src/ZJetProducer/LHEProducer.h | LHEProducer.h | h | 1,094 | c | en | code | 0 | github-code | 54 |
69904365602 | /*题目:假设有一个数组A,长度为N,其中每个元素都是一个整数。
* 请编写一个程序,创建M个线程,
* 每个线程计算数组A的一个子数组的和,并把结果累加到一个全局变量S中。
* 当所有线程结束后,主线程输出S的值。*/
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
#define MaxSize 1000
#define M 10
int arr[MaxSize]; //定义数组大小,大小为1000
int s = 0; // 数组总和
pthread_mutex_t mutex; // 互斥锁
void... | Scholar618/UNIX_Codings | Practice/进程线程/pthread_add.c | pthread_add.c | c | 1,448 | c | zh | code | 2 | github-code | 54 |
8529399528 | typedef enum : NSUInteger {
XL_LOGINVC_VERIFICATION_CODE,
XL_LOGINVC_PASSWORD,
} XL_VERIFICATION_OR_PASSWORD;
typedef void(^ActionBlock)(void);
typedef void(^CallBackBlock)(id obj);
#import <UIKit/UIKit.h>
@class JKCountDownButton;
@class LSInputTextField;
/*登录页面布局*/
@interface ZTMXFVerificationCodeLoginView ... | xiaoniuniuaihenai/shandao | ZTMXFShanDao/Main/Reinforce/LoginRegiter/Controller/ZTMXFVerificationCodeLoginView.h | ZTMXFVerificationCodeLoginView.h | h | 1,271 | c | en | code | 0 | github-code | 54 |
6251644783 | /* LICENSE
*
* Copyright © 2022 Blue-Maned_Hawk. All rights reserved.
*
* You may freely use this work for any purpose, freely make this work available to others by any means, freely modify this work in any way, and freely make works derived from this work available to others by any means.
*
* Should you choose t... | BlueManedHawk/splashtext | Include/splashtext.h | splashtext.h | h | 3,082 | c | en | code | 0 | github-code | 54 |
295479063 | #include <stdio.h>
#include <rte_ether.h>
#include <rte_memzone.h>
#include "stats.h"
#include "init.h"
#include "vport.h" /* for MAX_VPORTS */
#define NO_FLAGS 0
#define MZ_STATS_INFO "MProc_stats_info"
#define VPORT_STATS_SIZE (sizeof(struct vport_statistics) * MAX_VPORTS + \
s... | cookingkode/nfv_platform | platform/hub/stats.c | stats.c | c | 5,602 | c | en | code | 0 | github-code | 54 |
28564282878 | //
// Created by ward on 12/9/19.
//
#ifndef SPACEINVADERS_WAVE_H
#define SPACEINVADERS_WAVE_H
#include "../models/wave.h"
#include "enemy.h"
/**
* Space Invaders namespace for views
*/
namespace SI::view {
/**
* view class for the wave model that draws the wave title
*/
class Wave : public Entity
{
public:
... | WardGauderis/SpaceInvaders | src/views/wave.h | wave.h | h | 1,347 | c | en | code | 0 | github-code | 54 |
2097641812 | #include "mesg.h"
void
server(int readfd, int writefd)
{
FILE *fp;
char *ptr;
pid_t pid;
ssize_t n;
struct mymesg mesg;
for ( ; ; ) {
/* 4read pathname from IPC channel */
mesg.mesg_type = 1;
if ( (n = Mesg_recv(readfd, &mesg)) == 0) {
err_msg("pathname missing");
continue;
}
mesg.mesg_data[n] ... | zzu-andrew/linux-sys | NETWORK/UNIX_TCP_IP_SOURCE/unpv22e/svmsgmpx1q/server.c | server.c | c | 1,253 | c | en | code | 46 | github-code | 54 |
31462747049 | #include "sxr_ops.h"
#include "sxs_io.h"
#include "cs_types.h"
#include "sxr_tls.h"
#include "tsdp_debug.h"
#include "tsd_config.h"
#include "tsd_m.h"
//#include "tgt_tsd_cfg.h"
#include "tsdp_calib.h"
#include "opal.h"
#include "dsm_dev_driver.h"
#include "hal_host.h"
#include "hal_ana_gpadc.h"
#include "assert.h"
#i... | AlfredChengcxy/rda5856_test | IoT-RDA5836_3.3/platform/edrv/tsd/tsd_5856/src/tsd.c | tsd.c | c | 54,509 | c | en | code | null | github-code | 54 |
5270437633 | #include <stdio.h>
#include <stdlib.h>
#include "holberton.h"
/**
* fill_array - Fill the array with 0
* @arr: array to fill
* @width: Width of the array
* @height: Height of the array
*/
void fill_array(int **arr, int width, int height)
{
int i, j;
for (i = 0 ; i < height ; i++)
for (j = 0 ; j < width ; j++... | andresdiaz10/holbertonschool-low_level_programming | 0x0B-malloc_free/3-alloc_grid.c | 3-alloc_grid.c | c | 1,144 | c | en | code | 0 | github-code | 54 |
14126958722 | #include <ansidecl.h>
#include <localeinfo.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
/* Compare S1 and S2, returning less than, equal to or
greater than zero if the collated form of S1 is lexiographically
less than, equal to or greater than the collated form of S2. */
int
DEFUN(strcoll, (s... | rdebath/SLS-1.02 | usr/src/libc/string/strcoll.c | strcoll.c | c | 1,410 | c | en | code | 68 | github-code | 54 |
35807565111 | #import <UIKit/UIKit.h>
@class FirstView;
@protocol FirstViewBtnClickedDelegate <NSObject>
-(void)FirstViewBtnClicked:(NSString *)firstView;
@end
@interface FirstView : UIView{
id<FirstViewBtnClickedDelegate>delegate;
}
@property(nonatomic,retain)UILabel *locationLabel;
@property(nonatomic,retain)UILabel *lineLabel... | ios-plugin/uexCityListView | EUExCityListView/EUExCityListView/EUExCityListView/FirstView.h | FirstView.h | h | 513 | c | en | code | 0 | github-code | 54 |
22773509054 | #include <stdio.h>
#define W 8
#define H 8
enum direction {UU, UR, RR, DR, DD, DL, LL, UL};
static const signed char grid[] = {
DD, DR, RR, DR, DD, DR, LL, DL,
UR, DD, DR, DR, DR, RR, UR, DD,
RR, UR, UU, UR, LL, DL, RR, LL,
UR, UR, DL, UL, DR, LL, UU, UL,
UU, DR, DD, UR, LL, UL, DR, UL,
UR, RR,... | skeeto/mazelog | mazelog-2017-02.c | mazelog-2017-02.c | c | 1,545 | c | en | code | 6 | github-code | 54 |
4999191540 | #include "python.h"
#include <sys/types.h>
#include <sys/syscall.h>
#include <unistd.h>
#include "../lib/errors.h"
#include "../lib/hptime.h"
#include "rotdir_object.h"
#include "passover_object.h"
PyObject * ErrorObject = NULL;
PyFunctionObject * _passover_logfunc = NULL;
PyCodeObject * _passover_logfunc_code = NU... | tomerfiliba/passover | module/tracer/_passover.c | _passover.c | c | 4,913 | c | en | code | 3 | github-code | 54 |
9083292055 | // -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:nil -*-
//
// Copyright (C) 2000-2005 by Roger Rene Kommer / artefaktur, Kassel, Germany.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License (LGPL).
//
//
// This ... | huangyt/foundations.github.com | build/pc/ACDK_4_14_0/acdk/acdk_core/src/acdk/io/AbstractCharWriter.h | AbstractCharWriter.h | h | 3,018 | c | en | code | 1 | github-code | 54 |
1582100620 | //
// MHConvMessage.h
// Convore
//
// Created by Mikael Hallendal on 2011-02-15.
// Copyright 2011 Mikael Hallendal. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MHConvoreUser;
@class MHConvoreTopic;
@interface MHConvoreMessage : NSObject {
@private
MHConvoreUser *user;
MHConvoreTopi... | hallski/mhconvore | MHConvore/MHConvoreMessage.h | MHConvoreMessage.h | h | 866 | c | en | code | 8 | github-code | 54 |
33064628727 | #include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
#include "bfdlink.h"
#include "coff/quatro.h"
#include "coff/internal.h"
#include "libcoff.h"
#define BADMAG(x) QUATROBADMAG(x)
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (4)
#define COFF_LONG_FILENAMES
#define COFF_LONG_SECTION_NAMES
#ifndef false
#define f... | SleepyRabbit/binutils-gdb | bfd/coff-quatro.c | coff-quatro.c | c | 10,553 | c | en | code | 0 | github-code | 54 |
70583987363 | #include <stdio.h>
/**
* main - Entry point of the program
*
* Return: 0 on success
*/
int main(void)
{
/* Print the message using puts */
puts("\"Programming is like building a multilingual puzzle");
return (0);
}
| Victarr75/alx-low_level_programming | 0x00-hello_world/4-puts.c | 4-puts.c | c | 222 | c | en | code | 0 | github-code | 54 |
74128263842 | #ifndef SDL_UTILS_CONTAINERS_CONFIG_SOUNDCONTAINERCONFIG_H_
#define SDL_UTILS_CONTAINERS_CONFIG_SOUNDCONTAINERCONFIG_H_
// C/C++ system includes
#include <cstdint>
#include <unordered_map>
// Third-party includes
// Own includes
#include "utils/Defines.h"
#include "sdl_utils/Defines.h"
#include "utils/string/String.... | damyan94/SDL2_Engine_Project | source/sdl_utils/containers/config/SoundContainerConfig.h | SoundContainerConfig.h | h | 642 | c | en | code | 0 | github-code | 54 |
29470288256 | #include <config.h>
#undef __USE_INLINE__
#include <proto/expansion.h>
#include <libraries/ahi_sub.h>
#include <proto/exec.h>
#include <stddef.h>
#include "library.h"
#include "regs.h"
#include "interrupt.h"
#include "pci_wrapper.h"
#define min(a,b) ((a)<(b)?(a):(b))
/***********************************************... | aros-development-team/AROS | workbench/devs/AHI/Drivers/Envy24/interrupt.c | interrupt.c | c | 7,707 | c | en | code | 332 | github-code | 54 |
9003407186 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ast_free_utils.c :+: :+: :+: ... | suedadam/42sh | src/ast_construction/ast_free_utils.c | ast_free_utils.c | c | 1,709 | c | en | code | 0 | github-code | 54 |
22388096606 | #pragma once
#ifndef LOAD_MODEL_H
#define LOAD_MODEL_H
#include "tinyGLTF/tiny_gltf.h"
#include "tinyGLTF/stb_image.h"
#include "glm/ext.hpp"
#include "glm/gtx/string_cast.hpp"
#include <iostream>
#include <cstring>
#include <string>
#include <map>
#define BUFFER_OFFSET(i) ((char *)NULL + (i))
const unsigned int IN... | juww/OpenGL-GLTF | OpenGLTutorial/OpenGLTutorial/loadModel.h | loadModel.h | h | 17,557 | c | en | code | 0 | github-code | 54 |
23139819862 | #include <Adafruit_NeoPixel.h>
#define PIN_NEOPIX 2 // input pin Neopixel is attached to
#define PIN_TRIG_CAPTEUR_ULTRA 3
#define PIN_ECHO_CAPTEUR_ULTRA 3
#define PIN_POTENTIOMETRE 5
#define NUMPIXELS 12 // number of neopixels in strip
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN_NEOPIX, NEO_GRB + NEO... | Her0iik/BlindyBands | prototype/main.c | main.c | c | 3,800 | c | en | code | 0 | github-code | 54 |
70276147361 | #include <boost/optional/optional.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/positional_options.hpp>
#include <boost/program_options/variables_map.hpp>
#include "common/command_line.h"
namespace wallet_args
{
command_line::arg_descriptor<std::string> arg_generate_fro... | ryo-currency/ryo-libre | src/wallet/wallet_args.h | wallet_args.h | h | 1,268 | c | en | code | 4 | github-code | 54 |
71109905442 | #include <stdio.h>
#include <dirent.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <string.h>
void syncronize_directory(char *original_folder, char *backup_folder);
int create_backup_file(char *original_folder, char *backup_folder);... | karin-jpg/file-synchronize | dropbox.c | dropbox.c | c | 4,882 | c | en | code | 0 | github-code | 54 |
24432058141 | #include <hal/msxhal.h>
#ifdef LINUX
#include <SDL2/SDL.h>
#include <stdio.h>
#include <string.h>
////////////////////////////////////////////////////////////////////////
// VIDEO EMULATOR
#include <tms99X8.h>
typedef struct { uint8_t r,g,b; } RGB;
static RGB framebuffer [TEX_HEIGHT][TEX_WIDTH];
static RGB frame... | MartinezTorres/z80_babel | src/hal/msxhal_sdl.c | msxhal_sdl.c | c | 9,795 | c | en | code | 31 | github-code | 54 |
41616356554 | /*
Day::::2018. 02 27
작성자:JongHunBeak
*/
#include <stdio.h>
int main(void) {
//문제 1.
printf("Programmng! It's fun \n");
//문제2.
printf("%10s %s %s \n %9s %5d %5d \n %8s %5d %5d \n","item","count","price","pen",5,1000,"note",25,950);
//문제 3.
printf("\"너 자신을 알라 \" 라고 소크라 테스는 말했다.\n... | baekjonghun/PythonBasic | 20180227_beakjonghun/operatorTet_01.c | operatorTet_01.c | c | 813 | c | ko | code | 0 | github-code | 54 |
11824122415 | //
// ViewController.h
// PhotoCommentSystem
//
// Created by CSIE on 2015/9/20.
// Copyright © 2015年 CSIE. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import <Photos/Photos.h>
#import <ImageIO/ImageIO.h>
#import "FontSetViewController... | YI-YING/PhotoCommentSystem | PhotoCommentSystem/ViewController.h | ViewController.h | h | 6,967 | c | en | code | 0 | github-code | 54 |
29675252939 | /*
* Copyright (c) 2007 QLogic Corporation. All rights reserved.
*
* This software is available to you under the OpenIB.org BSD license
* below:
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
... | lucasz93/WinOFED | ulp/qlgcvnic/kernel/vnic_controlpkt.h | vnic_controlpkt.h | h | 9,079 | c | en | code | 0 | github-code | 54 |
1067003277 | #ifndef _ROS_shape_msgs_Plane_h
#define _ROS_shape_msgs_Plane_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace shape_msgs
{
class Plane : public ros::Msg
{
public:
float coef[4];
virtual int serialize(unsigned char *outbuffer) const
{
int offse... | spiralray/stm32f1_rosserial | lib/ros_lib/shape_msgs/Plane.h | Plane.h | h | 2,017 | c | en | code | 85 | github-code | 54 |
71885401761 | #pragma once
#include "../Functionality/RenderResource/RenderResourceManager.h"
namespace paperback::coordinator
{
//-----------------------------------
// Scene
//-----------------------------------
scene::scene(const std::string& Name, const std::string& Path, const std::string& Info, const std::stri... | RJDG97/Paperback-2.0 | src/Details/paperback_statemgr_inline.h | paperback_statemgr_inline.h | h | 3,258 | c | en | code | 0 | github-code | 54 |
15495004020 | #pragma once
#include "BaseOwner.h"
#include "Position.h"
///////////////////////////////////////
/// WorldObject
///////////////////////////////////////
class Map;
class InstanceMap;
class Encounter;
class MapArea;
class WorldObject;
struct WorldObjectHandle
{
using Stored = WorldObject;
WorldObjectHandle(... | andryus/Risen-Gods-Leak | src/server/script/owner/Entities/WorldObjectOwner.h | WorldObjectOwner.h | h | 831 | c | en | code | 2 | github-code | 54 |
19015135325 | #pragma once
#include <vector>
#include "basevalue.h"
namespace bvp
{
// GATT_Specification_Supplement_v8.pdf
// 3.113.1 Flags field
constexpr uint8_t HRS_FLAG_VALUE_FORMAT = 1 << 0;
constexpr uint8_t HRS_FLAG_CONTACT_STATUS = 1 << 1;
constexpr uint8_t HRS_FLAG_CONTACT_SUPPORT = 1 << 2;
constexpr uint8_t HRS_F... | eisaev/blevalueparser | include/blevalueparser/heartratemeasurement.h | heartratemeasurement.h | h | 5,088 | c | en | code | 0 | github-code | 54 |
28274134028 | //
// RCXinFangCell.h
// RCFang
//
// Created by xuzepei on 3/19/13.
// Copyright (c) 2013 xuzepei. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RCXinFangCellContentView.h"
@interface RCXinFangCell : UITableViewCell
@property(nonatomic,retain)RCXinFangCellContentView* myContentView;
@property(assign)... | xuzepei/fang2 | RCListen/RCXinFangCell.h | RCXinFangCell.h | h | 383 | c | en | code | 0 | github-code | 54 |
26696465175 | //*-----------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*-----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, eit... | FreeRTOS/FreeRTOS | FreeRTOS/Demo/ARM7_AT91FR40008_GCC/ebi.h | ebi.h | h | 4,221 | c | en | code | 4,181 | github-code | 54 |
3306702724 | #include "ftpAPI.c"
#include "parser.c"
int main(int argc, char **argv) {
struct hostent *host;
char *host_name, *file_path;
// TODO: Not working the parameteres are null
// parse(argc, argv, host_name, file);
/* Parser code */
char *addr = argv[1];
char cmp[] = "ftp://";
... | pedrorc12/RCOM-projs | part2/download.c | download.c | c | 4,013 | c | en | code | 0 | github-code | 54 |
36655660372 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* stack.c :+: :+: :+: ... | BlueFlare011/Cub3d | src/stack/stack.c | stack.c | c | 1,669 | c | en | code | 0 | github-code | 54 |
34874678550 | #ifndef MENU_H
#define MENU_H
#include "charpic.h"
class Menu
{
public:
Menu();
virtual ~Menu();
virtual void show() {}
protected:
private:
};
// ---------
class ConsoleMenu: public Menu
{
public:
ConsoleMenu(CharPic* charPic);
virtual ~ConsoleMenu();
virtual void show();
private:
Ch... | Ynjxsjmh/Monopoly | Mine/02MyCharpic/Q5/对象适配器/menu.h | menu.h | h | 359 | c | en | code | 0 | github-code | 54 |
13623226701 | #include <stdio.h>
#include <stdlib.h>
void Add_player(FILE* fp){
}
int main(int argc, char* argv[]){
FILE* fp=NULL;//file pointer 초기화
char c;
char inputName[20];
char ch;
while(c!='3'){//종료를 선택할 때까지
printf("1. 플레이어 정보 기록\n2. 플레이어 정보 확인\n3. 종료\n");
printf("입력하세요> ");
scanf("%c",&c);
ch=getchar(); //공... | osj1405/c_projects | DB_binary.c | DB_binary.c | c | 651 | c | ko | code | 0 | github-code | 54 |
2717425941 | #ifndef _NODO_
#define _NODO_
#include<math.h>
#include<iostream>
using namespace std;
class Nodo{
private:
int *key; //claves
Nodo **child;
bool leaf;
int n; // para saber cuantas claves hay en el nodo
public:
Nodo();
Nodo(int);
//setters
void se... | AngelAnconeyra/Base-de-datos-II | BTree/Nodo.h | Nodo.h | h | 13,268 | c | es | code | 0 | github-code | 54 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.