repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
normanrink/cfdlang | src/include/CodeGen/IdCopier.h |
#ifndef __ID_COPIER_H__
#define __ID_COPIER_H__
#include <functional>
#include <list>
#include <string>
#include "CodeGen/CodeGen.h"
#include "CodeGen/ExprTree.h"
namespace CFDlang {
// This class lifts identifiers out of expression trees if they appear on
// both the 'lhs' and the 'rhs' in conflicting ways (i.e... |
Jan-E/pecl-text-ereg | ereg.c | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
+---------... |
Tobias-Fischer/dreyeve | dreyeve-tobii/EyeX/eyexgazeacquisition.h | <filename>dreyeve-tobii/EyeX/eyexgazeacquisition.h
#pragma once
#include <Windows.h>
#include <stdio.h>
#include <conio.h>
#include <assert.h>
#include <eyex\EyeX.h>
#include <mutex>
extern TX_HANDLE g_hGlobalInteractorSnapshot; // Declared
class EyeXGazeData{
public:
EyeXGazeData();
EyeXGazeData(double x, doubl... |
EvanFabry/cython_numpy_to_cpp | c_func.h | #ifndef C_FUNC
#define C_FUNC
int c_func( int N, const double a[], double z[] );
#endif |
pcsc-for-php/pcsc | pcsc_legacy_arginfo.h | <reponame>pcsc-for-php/pcsc<gh_stars>1-10
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 676b86ff0a1ee4d762d86126e8068f4cb6805272 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_scard_establish_context, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_scard_release_context, 0, 0, 1)
ZEND_AR... |
pcsc-for-php/pcsc | php_pcsc.h | <gh_stars>1-10
#ifndef PHP_PCSC_H
#define PHP_PCSC_H
extern zend_module_entry pcsc_module_entry;
#define phpext_pcsc_ptr &pcsc_module_entry
#define PHP_PCSC_VERSION "0.6.0"
#ifdef PHP_WIN32
#define PHP_PCSC_API __declspec(dllexport)
#else
#define PHP_PCSC_API
#endif
#ifdef ZTS
#include "TSRM.h"
#end... |
pcsc-for-php/pcsc | pcsc_arginfo.h | <reponame>pcsc-for-php/pcsc
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 676b86ff0a1ee4d762d86126e8068f4cb6805272 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_scard_establish_context, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_scard_release_context, 0, 1, _IS_BOOL... |
pcsc-for-php/pcsc | pcsc.c | <reponame>pcsc-for-php/pcsc<filename>pcsc.c
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of t... |
ThuisApp/dsmr2mqtt | dsmr2mqtt.c | #include <signal.h>
#include <mosquitto.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include "dsmr-p1-parser/logmsg.h"
#include "dsmr-p1-parser/p1-lib.h"
#define VERSION "0.2"
#define GIT_VERSION "n/a"
#define DSMR_EQUIPMENT_ID "Thuis/smartMeter/reading/id"
#d... |
aldot/xdotool | cmd_mousedown.c | #include "xdo_cmd.h"
#include <string.h>
int cmd_mousedown(context_t *context) {
int ret = 0;
int button;
char *cmd = *context->argv;
charcodemap_t *active_mods = NULL;
int active_mods_n;
int clear_modifiers = 0;
char *window_arg = NULL;
int c;
static struct option longopts[] = {
{ "clearmodifie... |
aldot/xdotool | cmd_exec.c | <filename>cmd_exec.c
#include "xdo_cmd.h"
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
int cmd_exec(context_t *context) {
char *cmd = *context->argv;
char **command = NULL;
int command_count = 0;
int ret = EXIT_SUCCESS;
int opsync = 0;
int arity = -1;
char *terminat... |
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/All_Tracks.h | #ifndef _ALL_TRACKS_H
#define _ALL_TRACKS_H
#include "Imperial_March.h"
#include "Amazing_Grace.h"
#include "Mario_Bros.h"
#include "Mario_Bros_Underwater.h"
#include "Silent_Night_Holy_Night.h"
#endif
|
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/Mario_Bros.h | <reponame>leon-anavi/eduArdu<gh_stars>10-100
#ifndef _MARIO_BROS_H
#define _MARIO_BROS_H
int MB1_Tempo = 200;
const int MB1_Note[] = {_e7, _e7, _P, _e7, _P, _c7, _e7, _P, _g7, _P, _P, _P, _g6, _P, _P, _P, _c7, _P, _P, _g6, _P, _P, _e6, _P, _P, _a6, _P, _b6, _P, _bB6, _a6, _P, _END};
const float MB1_Dura... |
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/Imperial_March.h | <filename>SOFTWARE/2_eduArdu_Buzzer/Tracks/Imperial_March.h
//Imperial march melody based on the data from Willyboielectro: https://forum.arduino.cc/index.php?topic=259450.0
#ifndef _IMPERIAL_MARCH_H
#define _IMPERIAL_MARCH_H
int IM1_Tempo = 120;
const int IM1_Note[] = {_a4, _a4, _a4, _f4, _c5, _a4, _f4... |
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/Mario_Bros_Underwater.h | // Mario Bros underwater theme based on the notes: https://www.musicnotes.com/sheetmusic/mtd.asp?ppn=MN0109707
#ifndef _MARIO_BROS_UNDERWATER_H
#define _MARIO_BROS_UNDERWATER_H
int MBU1_Tempo = 132;
const int MBU1_Note[] = {_e5, _c5, _g4, _a4, _fS4, _g4, _g4, _a4, _b4, _END};
const float MBU1_Duration[... |
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/Silent_Night_Holy_Night.h | // Silent night holy night based on the notes: https://www.8notes.com/scores/6363.asp
#ifndef _SILENT_NIGHT_HOLY_NIGHT_H
#define _SILENT_NIGHT_HOLY_NIGHT_H
int SNHN1_Tempo = 82;
const int SNHN1_Note[] = {_f4, _g4, _f4, _d4, _f4, _g4, _f4, _d4, _c5, _c5, _a4, _bB4, _bB4, _f4, _P, _END};
const float SN... |
leon-anavi/eduArdu | SOFTWARE/2_eduArdu_Buzzer/Tracks/Amazing_Grace.h | <gh_stars>10-100
// Amazing grace based on the notes: https://upload.wikimedia.org/wikipedia/commons/archive/b/bf/20111224005603%21AmazingGraceFamiliarStyle.PNG
#ifndef _AMAZING_GRACE_H
#define _AMAZING_GRACE_H
int AG1_Tempo = 76;
const int AG1_Note[] = {_g4, _c5, _e5, _c5, _e5, _d5, _c5, _a4, _g4, _g... |
kuyer/kuyer.github.com | doc/lang/c/file/fcntl2.c | #include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
char MSG_TRY[] = "try again!\n";
int main() {
char buffer[10];
int len;
int fd;
// 获取原来的flags的值
int flags = fcntl(STDIN_FILENO, F_GETFL)... |
kuyer/kuyer.github.com | doc/lang/c/hello.c | <reponame>kuyer/kuyer.github.com
/**
* gcc hello.c
* ./a.out
*/
#include <stdio.h>
int main() {
printf("hello, kuyer!\n");
return 0;
}
|
kuyer/kuyer.github.com | doc/lang/c/double_link.c | <reponame>kuyer/kuyer.github.com
#include <stdio.h>
#include <malloc.h>
// 双向链表的节点
typedef struct double_node {
struct double_node* prev;
struct double_node* next;
void* value;
} node;
// 表头。注意,表头不存放元素值
static node* head = NULL;
// 节点大小
static int size = 0;
// 创建节点。成功返回节点指针,否则返回NULL
static node* create_node(void*... |
kuyer/kuyer.github.com | doc/lang/c/double_link_test.c | <gh_stars>0
#include <stdio.h>
#include "double_link.h"
void test_int() {
printf("%s start.\n", __func__);
int arr[4] = {1, 2, 3, 4};
create();
insert(0, &arr[0]);
insert_first(&arr[1]);
insert_last(&arr[2]);
insert(1, &arr[3]);
printf("int is_empty=%d\n", is_empty());
printf("int size=%d\n", size());
//... |
kuyer/kuyer.github.com | doc/lang/c/double_link.h | #ifndef _DOUBLE_LINK_H
#define _DOUBLE_LINK_H
// 新建双向链表。成功,返回表头;否则,返回NULL
extern int create();
// 撤销双向链表。成功,返回0;否则,返回-1
extern int destory();
// 判断双向链表是否为空,为空,返回1;否则,返回0
extern int is_empty();
// 返回双向链表的大小
extern int size();
// 获取双向链表第index个位置。成功,返回节点指针;否则,返回-1
extern void* get(int index);
// 获取双向链表第0个位置。成功,返回节点指针;否... |
kuyer/kuyer.github.com | doc/lang/c/static/main.c | #include <stdio.h>
int add(int x, int y);
int sub(int x, int y);
int main() {
printf("5+2=%d\n", add(5, 2));
printf("5-2=%d\n", sub(5, 2));
return 0;
}
|
kuyer/kuyer.github.com | doc/lang/c/make/hello.h | void say(void);
|
kuyer/kuyer.github.com | doc/lang/c/file/fstat.c | <reponame>kuyer/kuyer.github.com<filename>doc/lang/c/file/fstat.c
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
int main() {
struct stat st;
int r = stat("test.txt", &st);
if(r) {
perror("stat error.\n");
return -1;
}
printf("st_dev=%lld\n", st.... |
kuyer/kuyer.github.com | doc/lang/c/file/block.c | <filename>doc/lang/c/file/block.c<gh_stars>0
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
int main() {
char buf[100];
int len;
while(1) {
//STDIN_FILENO 是标准输入描述符,值为0
printf("in. %s\n", buf);
len = read(STDIN_FILENO, buf, 10);... |
kuyer/kuyer.github.com | doc/lang/c/file/fcntl1.c | <reponame>kuyer/kuyer.github.com
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
if(argc != 2) {
printf("usage: fcntl1 [fd]\n");
exit(1);
}
int fd = atoi(argv[1]);
int flags = fcntl(fd, F_GETFL);
if(flags == -1) {
perror("fcntl err... |
kuyer/kuyer.github.com | doc/lang/c/file/copy.c | <filename>doc/lang/c/file/copy.c
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#define BUFFERSIZE 4096
int main(int argc, char* argv[]) {
if(argc != 3) {
printf("useage: copy srcfile dstfile\n");
return 1;
}
printf("argv[0]=%s\n", a... |
kuyer/kuyer.github.com | doc/lang/c/file/seek.c | #include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
if(argc <= 1) {
printf("useage: seek file_path.\n");
return 1;
}
int fd = open(argv[1], O_RDONLY);
if(fd<0) {
printf("open %s fail.\n", argv[... |
kuyer/kuyer.github.com | doc/lang/cpp/DoubleLink.h | <reponame>kuyer/kuyer.github.com<filename>doc/lang/cpp/DoubleLink.h
#ifndef DOUBLE_LINK_HPP
#define DOUBLE_LINK_HPP
#include <iostream>
using namespace std;
template<class T>
struct Node {
public:
T value;
Node* prev;
Node* next;
public:
Node() {}
Node(T value, Node* prev, Node* next) {
this->value = v... |
kuyer/kuyer.github.com | doc/lang/c/file/noblock.c | <gh_stars>0
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <errno.h> // errno变量的头文件
#include <stdlib.h>
char MSG_TRY[] = "try again!\n";
int main() {
char buffer[10];
int len;
int fd;
fd = open("/dev/tty", O_RDONLY |... |
kuyer/kuyer.github.com | doc/lang/c/make/hello.c | <reponame>kuyer/kuyer.github.com
#include <stdio.h>
#include <hello.h>
void say(void) {
printf("hello, make!\n");
return;
}
|
ordonezf/algo2 | 3 - Pila/prueba_pila.c | #include "pila.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
* PRUEBAS UNITARIAS *
******************************************************************/
/* Función auxiliar para imprimi... |
ordonezf/algo2 | 10 - TP 2/entrada.h | <filename>10 - TP 2/entrada.h
#ifndef ENTRADA_H
#define ENTRADA_H
#include <stdbool.h>
#include <stdlib.h>
/* ******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS
* *****************************************************************/
typedef struct entr... |
ordonezf/algo2 | 10 - TP 2/entrada.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include "entrada.h"
#define TAMANIO_INICIAL_BUFFER 20
#define FIN_LINEA '\n'
#define FIN_STRING '\0'
#define TAM_INICIAL_PARAMETROS 10
#define ARG_DELIM "\a\b\r\n \r\v\t\f"
/* *************************************************************... |
ordonezf/algo2 | 4 - Cola/prueba_cola.c | #include "cola.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
* PRUEBAS UNITARIAS *
******************************************************************/
/* Función auxiliar para imprimi... |
ordonezf/algo2 | 10 - TP 2/tp2.c | #include "entrada.h"
#include "sistema.h"
#define POS_COMANDO 0
/* Programa principal */
int main(void)
{
entrada_t* entrada = entrada_crear(POS_COMANDO);
if (!entrada) return 1;
sistema_t* sistema = sistema_crear();
if (!sistema)
{
entrada_destruir(entrada);
return 1;
}
while (entrada_leer(entrada, cant... |
ordonezf/algo2 | 10 - TP 2/twitter.h | <gh_stars>0
#ifndef TWITTER_H
#define TWITTER_H
#include <stdbool.h>
#include <stdlib.h>
/* ******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS
* *****************************************************************/
typedef struct twitter twitter_t;
/*... |
ordonezf/algo2 | 6 - TP 1/lista.h | #ifndef LISTA_H
#define LISTA_H
#include <stdbool.h>
#include <stddef.h>
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
******************************************************************/
/* La lista está planteada como una l... |
ordonezf/algo2 | 8 - Abb/abb.c | <gh_stars>0
#include <stdlib.h>
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include "abb.h"
#include "pila.h"
char *strdup(const char *s);
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
***********************... |
ordonezf/algo2 | 10 - TP 2/hash.c | <reponame>ordonezf/algo2
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stddef.h>
#include "hash.h"
#include "lista.h"
char *strdup(const char *s);
#define TAM_INICIAL 97
#define PROMEDIO_IDEAL 0.8
#define MAX_FACTOR_CARGA 2.0
#define MIN_FACTOR_CARGA 0.4
/*************************************... |
ordonezf/algo2 | 6 - TP 1/lectura.c | #include <stdio.h>
#include <stdlib.h>
#include "lectura.h"
#define TAMANIO_INICIAL_BUFFER 10
#define FIN_LINEA '\n'
#define FIN_STRING '\0'
char* leer_linea(){
char c;
size_t tam = TAMANIO_INICIAL_BUFFER;
int i;
char* buffer = malloc(sizeof(char)*(tam));
if (!buffer) return NULL;
for(i = 0;... |
ordonezf/algo2 | 4 - Cola/cola.c | #include "cola.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
*Nombre: <NAME> *
*Padron: 96478 *
**************************************************************... |
ordonezf/algo2 | 3 - Pila/pila.c | <filename>3 - Pila/pila.c<gh_stars>0
#include "pila.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
*Nombre: <NAME> *
*Padron: 96478 *
*************************... |
ordonezf/algo2 | 6 - TP 1/participante.c | <filename>6 - TP 1/participante.c
#include "participante.h"
#include "pila.h"
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
**********************... |
ordonezf/algo2 | 7 - Hash/prueba_hash.c | /*
* prueba_hash.c
* Pruebas para el tipo de dato abstracto Tabla de Hash
* Copyright: (2011) <NAME>, <NAME>
* Licencia: CC-BY-SA 2.5 (ar) ó CC-BY-SA 3.0
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <time.h>
#include "hash.h"
/* *************************************... |
ordonezf/algo2 | 6 - TP 1/tp1.c | <reponame>ordonezf/algo2<gh_stars>0
#include "tp1.h"
#include "participante.h"
#include "lectura.h"
#include "cola.h"
#include "pila.h"
#include "lista.h"
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#define DONAR "donar"
#define NOMINAR "nominar"
#define TIRAR_BALDE "tirar_balde"
/*... |
ordonezf/algo2 | 8 - Abb/abb.h | #ifndef ABB_H
#define ABB_H
#include <stdbool.h>
#include <stddef.h>
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
******************************************************************/
typedef struct abb abb_t;
typedef struct ... |
ordonezf/algo2 | 6 - TP 1/participante.h | <reponame>ordonezf/algo2
#ifndef PARTICIPANTE_H
#define PARTICIPANTE_H
#include <stdbool.h>
#include <stddef.h>
#include "pila.h"
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
************************************************... |
ordonezf/algo2 | 9 - Heap/heap.c | <reponame>ordonezf/algo2
#include "heap.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#define TAM_INICIAL 50
#define FACTOR_MAX 0.9
#define FACTOR_MIN 0.3
#define HIJO_IZQ(padre) (size_t)((padre * 2) + 1)
#define HIJO_DER(padre) (size_t)((padre * 2) + 2)
#define PADRE(hijo) (size_... |
ordonezf/algo2 | 8 - Abb/prueba_abb.c | /*
* Gracias a <NAME> y <NAME>
* por las pruebas de hash, en las cuales estan
* basadas las siguientes pruebas de ABB.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include "abb.h"
/* ******************************************************... |
ordonezf/algo2 | 10 - TP 2/sistema.h | #ifndef SISTEMA_H
#define SISTEMA_H
#include <stdbool.h>
#include <stdlib.h>
/* ******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS
* *****************************************************************/
typedef struct sistema sistema_t;
/* ***********... |
ordonezf/algo2 | 6 - TP 1/tp1.h | #ifndef TP1_H
#define TP1_H
#include <stdbool.h>
#include <stddef.h>
#include "cola.h"
#include "pila.h"
#include "lista.h"
#include "participante.h"
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
****************************... |
ordonezf/algo2 | 6 - TP 1/lista.c | <reponame>ordonezf/algo2
#include "lista.h"
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
*Nombre: <NAME> *
*Padron: 96478 *
*Ayudante: <NAME> ... |
ordonezf/algo2 | 10 - TP 2/sistema.c | <reponame>ordonezf/algo2
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sistema.h"
#include "twitter.h"
/* ******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS
* ************************************************... |
ordonezf/algo2 | 1 - TP 0/tp0.c | <gh_stars>0
#include <stdio.h>
#include <stdbool.h>
/* ******************************************************************
* FUNCIONES A COMPLETAR
* *****************************************************************/
/* La funcion swap intercambia dos valores enteros. */
void swap (int* x, int* y... |
ordonezf/algo2 | 7 - Hash/hash.h | <filename>7 - Hash/hash.h
#ifndef HASH_H
#define HASH_H
#include <stdbool.h>
#include <stddef.h>
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
******************************************************************/
typedef struc... |
ordonezf/algo2 | 8 - Abb/pila.c | <reponame>ordonezf/algo2
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "pila.h"
#define TAM_MIN 50 // Tamanio minimo e inicial de la pila
/* *****************************************************************
* DEFINICION DE LOS TIPOS DE DATOS
* **********************************... |
ordonezf/algo2 | 10 - TP 2/tweet.c | <filename>10 - TP 2/tweet.c
#include <stdlib.h>
#include <stdio.h>
#include "tweet.h"
char *strdup(const char *s);
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
*****************************************************************... |
ordonezf/algo2 | 10 - TP 2/twitter.c | <reponame>ordonezf/algo2<filename>10 - TP 2/twitter.c
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "twitter.h"
#include "tweet.h"
#include "heap.h"
#include "hash.h"
#include "lista.h"
#define TAM_INICIAL 100
/* **************************************************************... |
ordonezf/algo2 | 10 - TP 2/tweet.h | #ifndef TWEET_H
#define TWEET_H
#include <stdlib.h>
/*******************************************************************
* DEFINICION DE LOS TIPOS DE DATOS *
******************************************************************/
typedef struct tweet tweet_t;
/**************************... |
ordonezf/algo2 | 5 - Lista/prueba_lista.c | <gh_stars>0
#include "lista.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*******************************************************************
* AUXILIARES *
******************************************************************/
void destruir_punto(... |
ordonezf/algo2 | 9 - Heap/prueba_heap.c | #include "heap.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
/* ******************************************************************
* FUNCIONES AUXILIARES
* ***************************************************************... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Catalog/CatalogPromoData+Core.h | #import "CatalogPromoData.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface CatalogPromoData (Core)
- (instancetype)initWithCityGallery:(promo::CityGallery const &)cityGallery;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Viewability/MPViewabilityAdapter.h | //
// MPViewabilityAdapter.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
@protocol MPViewabilityAdapter <NSObject>
@property (nonatomic, readonly) BOOL isTracking;
- (instancetype)initWit... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MRProperty.h | //
// MRProperty.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "MRConstants.h"
@interface MRProperty : NSObject
- (NSString *)description;
- (NSS... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGContentStreamAdView.h | <reponame>vicpopov/omim<filename>iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGContentStreamAdView.h<gh_stars>1000+
//
// MTRGContentStreamAdView.h
// myTargetSDK 4.6.15
//
// Created by <NAME> on 05.12.14.
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
//
#import <UIKit/UIKit.h>
#import... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPMoPubAdPlacer.h | <reponame>vicpopov/omim<filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPMoPubAdPlacer.h
//
// MPMoPubAdPlacer.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPMoPubAd.h... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeVideo/Internal/MOPUBAVPlayer.h | <filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeVideo/Internal/MOPUBAVPlayer.h
//
// MOPUBAVPlayer.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <AVFoundation/AVFoundation.h>
@class MOPUBAVPlayer;... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGInstreamAdPlayer.h | //
// MTRGInstreamAdPlayer.h
// myTarget
//
// Created by <NAME> on 21.09.16.
// Copyright © 2016 Mail.ru. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol MTRGInstreamAdPlayerDelegate <NSObject>
- (void)onAdVideoStart;
- (void)onAdVideoPause;
- (void)onAdVideoResume;
- (void)onAdVideoStop;... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/Categories/NSString+MPAdditions.h | <filename>iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/Categories/NSString+MPAdditions.h
//
// NSString+MPAdditions.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
@int... |
vicpopov/omim | iphone/Maps/UI/Search/Filters/MWMHotelParams.h | <filename>iphone/Maps/UI/Search/Filters/MWMHotelParams.h
#include "map/booking_filter_params.hpp"
#include "map/place_page_info.hpp"
#include "search/hotels_filter.hpp"
#include "indexer/ftypes_matcher.hpp"
#include <memory>
enum class Price {
Any,
One,
Two,
Three
};
@class PlacePageData;
@interface MWMHo... |
vicpopov/omim | iphone/Maps/Categories/UIColor+MapsMeColor.h | #import "UIColor+PartnerColor.h"
NS_ASSUME_NONNULL_BEGIN
@interface UIColor (MapsMeColor)
+ (UIColor *)blackPrimaryText __attribute__ ((deprecated));
+ (UIColor *)blackSecondaryText __attribute__ ((deprecated));
+ (UIColor *)blackHintText __attribute__ ((deprecated));
+ (UIColor *)red __attribute__ ((deprecated));
+... |
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/Tags/MWMTagGroup.h | #import "MWMTag.h"
@interface MWMTagGroup : NSObject
@property(copy, nonatomic) NSString * name;
@property(copy, nonatomic) NSArray<MWMTag *> * tags;
@end
|
vicpopov/omim | iphone/Maps/Classes/CustomAlert/SearchAlert/MWMSearchNoResultsAlert.h | <gh_stars>1000+
#import "MWMAlert.h"
@interface MWMSearchNoResultsAlert : MWMAlert
+ (instancetype)alert;
- (void)update;
@end
|
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/MWMBookmarksManager.h | #import "MWMTypes.h"
#import "MWMBookmarksObserver.h"
#import "MWMCatalogCommon.h"
#import "MWMUTM.h"
#import "PlacePageBookmarkData.h"
@class CLLocation;
@class MWMBookmark;
@class MWMBookmarkGroup;
@class MWMBookmarksSection;
@class MWMCarPlayBookmarkObject;
@class MWMTagGroup;
@class MWMTag;
@class MWMTrack;
NS_A... |
vicpopov/omim | iphone/CoreApi/CoreApi/InappPurchase/Impl/MWMTrialEligibility.h | <filename>iphone/CoreApi/CoreApi/InappPurchase/Impl/MWMTrialEligibility.h<gh_stars>1000+
#import "IMWMTrialEligibility.h"
NS_ASSUME_NONNULL_BEGIN
@interface MWMTrialEligibility : NSObject <IMWMTrialEligibility>
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithVendorId:(NSString *)vendorId;
@end
NS_ASSU... |
vicpopov/omim | iphone/Maps/3party/MyTarget/MyTargetSDK.framework/Headers/MTRGInterstitialSliderAd.h | //
// MTRGInterstitialSliderAd.h
// MyTargetSDK
//
// Created by <NAME> on 10.11.16.
// Copyright © 2016 Mail.ru Group. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGCustomParams.h>
@class MTRGInterstitialSliderAd;
@protocol MTRGInterstitialSliderAdDel... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Ad/CoreBanner+Core.h | #import "CoreBanner.h"
#include <CoreApi/Framework.h>
NS_ASSUME_NONNULL_BEGIN
@interface CoreBanner (Core)
- (instancetype)initWithAdBanner:(ads::Banner const &)banner;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTResource.h | //
// MPVASTResource.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPVASTModel.h"
/**
Per VAST 3.0 spec, section 2.3.3.2 "Companion Resource Elements":
Companion reso... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/MPCollectionViewAdPlacerDelegate.h | //
// MPCollectionViewAdPlacerDelegate.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import "MPMoPubAdPlacer.h"
@class MPCollectionViewAdPlacer;
@protocol MPCollectionViewAdPlacerDelegate <MPMoPubAdPlacerDelega... |
vicpopov/omim | iphone/CoreApi/CoreApi/DeepLink/Data/DeepLinkData.h | #import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, DeeplinkParsingResult) {
DeeplinkParsingResultIncorrect = 0,
DeeplinkParsingResultMap,
DeeplinkParsingResultRoute,
DeeplinkParsingResultSearch,
DeeplinkParsingResultLead,
DeeplinkParsingResultCatalogue,
DeeplinkParsing... |
vicpopov/omim | iphone/Maps/Core/Notifications/CoreNotificationWrapper+Core.h | #import "CoreNotificationWrapper.h"
#include "map/notifications/notification_manager.hpp"
@interface CoreNotificationWrapper (Core)
- (instancetype)initWithNotificationCandidate:(notifications::NotificationCandidate const &)notification;
- (notifications::NotificationCandidate)notificationCandidate;
@end
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/Utility/Categories/MoPub+Utility.h | <gh_stars>1-10
//
// MoPub+Utility.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MoPub.h"
NS_ASSUME_NONNULL_BEGIN
@interface MoPub (Utility)
/**
This is a simplified ... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/NativeAds/Internal/MPTableViewAdPlacerCell.h | <reponame>vicpopov/omim
//
// MPTableViewAdPlacerCell.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
@interface MPTableViewAdPlacerCell : UITableViewCell
@end
|
vicpopov/omim | iphone/CoreApi/CoreApi/Promo/PromoDiscoveryCampaignAdapter.h | <reponame>vicpopov/omim
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface PromoDiscoveryCampaignAdapter : NSObject
@property(nonatomic, retain, nullable) NSURL *url;
@property(nonatomic) NSInteger type;
- (instancetype)init;
- (BOOL)canShowTipButton;
@end
NS_ASSUME_NONNULL_END
|
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MRBridge.h | //
// MRBridge.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <UIKit/UIKit.h>
#import "MRConstants.h"
#import "MPWebView.h"
@class MRProperty;
@protocol MRBridgeDelegate;
/**
* The `MRBridge` class is an... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MRAID/MRConstants.h | //
// MRConstants.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
enum {
MRAdViewStateHidden,
MRAdViewStateDefault,
MRAdViewStateExpanded,
MRAdViewStateResized
};
typedef NSUInteger MRAdViewState;
e... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/VAST/MPVASTLinearAd.h | //
// MPVASTLinearAd.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPVASTModel.h"
@class MPVASTDurationOffset;
@class MPVASTIndustryIcon;
@class MPVASTMediaFile;
@inter... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/Internal/MPHTTPNetworkTaskData.h | <reponame>vicpopov/omim
//
// MPHTTPNetworkTaskData.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
/**
Provides an easy encapsulation of a HTTP networking task's data because we ... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcData.h | <filename>iphone/CoreApi/CoreApi/PlacePageData/UGC/UgcData.h
#import <Foundation/Foundation.h>
@class UgcSummaryRating;
NS_ASSUME_NONNULL_BEGIN
@interface UgcStarRating : NSObject
@property(nonatomic, readonly) NSString *title;
@property(nonatomic, readonly) float value;
@end
@interface UgcReview : NSObject
@pro... |
vicpopov/omim | iphone/Maps/UI/Discovery/MWMDiscoveryMapObjects.h | #include "map/search_product_info.hpp"
#include "search/result.hpp"
#include "geometry/point2d.hpp"
#include <vector>
NS_ASSUME_NONNULL_BEGIN
@interface MWMDiscoveryMapObjects : NSObject
- (instancetype)initWithSearchResults:(search::Results const &)results
productInfos:(std::vector<searc... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRoom.h | <filename>iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRoom.h
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, HotelRoomDealType) {
HotelRoomDealTypeSmart,
HotelRoomDealTypeLastMinute
};
NS_ASSUME_NONNULL_BEGIN
@interface HotelRoomDeal : NSObject
@property(nonatomic, readonly) NSUInteger discou... |
vicpopov/omim | iphone/Maps/Pods/mopub-ios-sdk/MoPubSDK/MPImpressionTrackedNotification.h | //
// MPImpressionTrackedNotification.h
//
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
/**
Notification fired when an impression is tracked. The adunit ID will always be
included ... |
vicpopov/omim | iphone/Maps/Common/Statistics/MWMCustomFacebookEvents.h | <filename>iphone/Maps/Common/Statistics/MWMCustomFacebookEvents.h
// Special logic for custom Facebook events to optimize marketing campaigns.
@interface MWMCustomFacebookEvents : NSObject
+ (void)optimizeExpenses;
@end
|
vicpopov/omim | android/jni/com/mapswithme/util/crashlytics.h | <gh_stars>1000+
#ifndef __CRASHLYTICS_H__
#define __CRASHLYTICS_H__
/* Copyright (C) 2015 Twitter, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-... |
vicpopov/omim | iphone/CoreApi/CoreApi/PlacePageData/Booking/HotelRooms.h | #import <Foundation/Foundation.h>
@class HotelRoom;
NS_ASSUME_NONNULL_BEGIN
@interface HotelRooms : NSObject
@property(nonatomic, readonly) double minPrice;
@property(nonatomic, readonly) NSString *currency;
@property(nonatomic, readonly) NSUInteger discount;
@property(nonatomic, readonly) BOOL isSmartDeal;
@proper... |
vicpopov/omim | iphone/CoreApi/CoreApi/Bookmarks/Catalog/MWMCatalogCommon.h | <reponame>vicpopov/omim<gh_stars>1000+
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, MWMCategoryProgress)
{
MWMCategoryProgressDownloadStarted,
MWMCategoryProgressDownloadFinished,
MWMCategoryProgressImportStarted,
MWMCategoryProgressImportFinished,
MWMCategoryProgressUploadStarted
};
typedef... |
vicpopov/omim | iphone/Maps/UI/Discovery/View Models/MWMDiscoverySearchViewModel.h | <reponame>vicpopov/omim
#import <CoreApi/UgcSummaryRatingType.h>
NS_ASSUME_NONNULL_BEGIN
@interface MWMDiscoverySearchViewModel : NSObject
@property(nonatomic, readonly) NSString *title;
@property(nonatomic, readonly) NSString *subtitle;
@property(nonatomic, readonly) NSString *distance;
@property(nonatomic, readonl... |
vicpopov/omim | iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/MWMTaxiCollectionLayout.h | <reponame>vicpopov/omim
@interface MWMTaxiCollectionLayout : UICollectionViewFlowLayout
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.