repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
hoplik/DronAutoPilotSystem | Arduino_New_Sketches/AeroQuad.h | /*
AeroQuad v3.0.1 - February 2012
www.AeroQuad.com
Copyright (c) 2012 <NAME>. All rights reserved.
An Open Source Arduino based multicopter.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Fou... |
hoplik/DronAutoPilotSystem | Arduino_New_Sketches/FlightCommandProcessor.h | <gh_stars>0
/*
AeroQuad v3.0.1 - February 2012
www.AeroQuad.com
Copyright (c) 2012 <NAME>. All rights reserved.
An Open Source Arduino based multicopter.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Sof... |
hoplik/DronAutoPilotSystem | Arduino_New_Sketches/OnBoardPilotSystem.h | // OnBoardPilotSystem.h
/***********************************
* HOPLIK SYSTEMS 24.02.2015 *
* Welcome http://hoplik.ru/ *
***********************************/
/*
Система подключения бортового автопилота. Функциязамены данных шести каналов с передатчика на данные из
ком-порта.
*/
#ifndef _ONBOARDPILOTSYSTEM_h
#defi... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/src/generated/serializer/CatalogVersionsSerializer.h | <gh_stars>10-100
/*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by ap... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/include/olp/core/thread/Continuation.h | <filename>olp-cpp-sdk-core/include/olp/core/thread/Continuation.h
/*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-write/src/CatalogSettings.h | /*
* Copyright (C) 2020-2021 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/src/cache/ProtectedKeyList.h | /*
* Copyright (C) 2020 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-authentication/src/TokenEndpointImpl.h | <gh_stars>10-100
/*
* Copyright (C) 2021 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by ap... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/include/olp/core/thread/ExecutionContext.h | <gh_stars>10-100
/*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by ap... |
heremaps/here-olp-edge-sdk-cpp | tests/common/mocks/NetworkMock.h | <filename>tests/common/mocks/NetworkMock.h<gh_stars>10-100
/*
* Copyright (C) 2019-2022 HERE Europe B.V.
*
* 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/l... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/src/repositories/PartitionsRepository.h | /*
* Copyright (C) 2019-2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/include/olp/dataservice/read/model/VersionsResponse.h | /*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/src/TaskSink.h | /*
* Copyright (C) 2020-2021 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/include/olp/core/thread/TaskContinuation.h | /*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-authentication/src/ResponseFromJsonBuilder.h | /*
* Copyright (C) 2020-2021 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-authentication/include/olp/authentication/TokenProvider.h | <reponame>heremaps/here-olp-edge-sdk-cpp<gh_stars>10-100
/*
* Copyright (C) 2019-2021 HERE Europe B.V.
*
* 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/lic... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/src/CatalogClientImpl.h | /*
* Copyright (C) 2019-2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/include/olp/dataservice/read/model/VersionsResponseEntry.h | /*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-dataservice-read/include/olp/dataservice/read/CompatibleVersionsRequest.h | /*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/include/olp/core/thread/TypeHelpers.h | /*
* Copyright (C) 2022 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
heremaps/here-olp-edge-sdk-cpp | olp-cpp-sdk-core/include/olp/core/logging/Format.h | /*
* Copyright (C) 2019 HERE Europe B.V.
*
* 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-2.0
*
* Unless required by applicable law or a... |
InTeach/react-native-spotlight | example/example/ios/Build/Products/Release-iphonesimulator/example.app/Frameworks/XCTest.framework/Headers/XCAbstractTest.h | //
// Copyright (c) 2013-2015 Apple Inc. All rights reserved.
//
// Copyright (c) 1997-2005, Sen:te (Sente SA). All rights reserved.
//
// Use of this source code is governed by the following license:
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided tha... |
InTeach/react-native-spotlight | example/example/ios/Build/Products/Release-iphonesimulator/example.app/Frameworks/XCTest.framework/Headers/XCUIElementTypeQueryProvider.h | //
// Copyright (c) 2015 Apple Inc. All rights reserved.
//
#import <XCTest/XCTestDefines.h>
#if XCT_UI_TESTING_AVAILABLE
NS_ASSUME_NONNULL_BEGIN
@class XCUIElementQuery;
@protocol XCUIElementTypeQueryProvider
@property (readonly, copy) XCUIElementQuery *groups;
@property (readonly, copy) XCUIElementQuery *windo... |
InTeach/react-native-spotlight | ios/RCTSpotlightSearch/RCTSpotlightSearch/RCTSpotlightSearch.h | //
// RCTSpotlightSearch.h
// RCTSpotlightSearch
//
// Created by James (Home) on 21/06/2016.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
@interface RCTSpotlightSearch : NSObject <RCTBridgeModule>
+ (void)handleContinueUserActivity:(NSUse... |
joho/sorbet | main/lsp/TimeTravelingGlobalState.h | #ifndef RUBY_TYPER_LSP_TIMETRAVELINGGLOBALSTATE_H
#define RUBY_TYPER_LSP_TIMETRAVELINGGLOBALSTATE_H
#include "common/common.h"
#include "common/concurrency/WorkerPool.h"
#include "common/kvstore/KeyValueStore.h"
#include "core/NameHash.h"
#include "core/core.h"
#include "main/lsp/LSPConfiguration.h"
#include "main/lsp... |
Lazauya/cuberite | src/Blocks/BlockBed.h |
// BlockBed.h
#pragma once
#include "BlockEntity.h"
#include "Mixins.h"
#include "ChunkInterface.h"
class cEntity;
class cPlayer;
class cWorldInterface;
class cBlockBedHandler :
public cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>
{
using super = cYawRotator<cBlockEntityHandler, 0x03, 0x02, ... |
Lazauya/cuberite | src/Blocks/BlockBrewingStand.h |
#pragma once
#include "../BlockEntities/BrewingstandEntity.h"
#include "Mixins.h"
class cBlockBrewingStandHandler :
public cBlockEntityHandler
{
using super = cBlockEntityHandler;
public:
cBlockBrewingStandHandler(BLOCKTYPE a_BlockType):
super(a_BlockType)
{
}
virtual cItems ConvertToPickups(NIBBL... |
Lazauya/cuberite | src/Blocks/BlockFenceGate.h |
#pragma once
#include "BlockHandler.h"
#include "Mixins.h"
#include "../EffectID.h"
class cBlockFenceGateHandler :
public cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>>
{
using super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>>;
public:
cBlockFenceG... |
Lazauya/cuberite | src/Entities/FallingBlock.h |
#pragma once
#include "Entity.h"
// tolua_begin
class cFallingBlock :
public cEntity
{
// tolua_end
using super = cEntity;
public: // tolua_export
CLASS_PROTODEF(cFallingBlock)
/** Creates a new falling block.
a_Position is expected in world coords */
cFallingBlock(Vector3d a_Position, BLOCKTYPE a_Bl... |
Lazauya/cuberite | src/Blocks/BlockObserver.h |
#pragma once
#include "BlockHandler.h"
#include "Mixins.h"
class cBlockObserverHandler:
public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>
{
using super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>;
public:
cBlockObserverHandler(BLOCKTYPE a_BlockType) : super(a_BlockType)
{
}
};
|
Lazauya/cuberite | src/Blocks/BlockComparator.h |
#pragma once
#include "BlockHandler.h"
#include "BlockRedstoneRepeater.h"
#include "Mixins.h"
class cBlockComparatorHandler :
public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>
{
using super = cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>;
public:
cBlockComparatorHandler(BLOCKTYPE a_... |
Lazauya/cuberite | src/Blocks/BlockRedstoneRepeater.h | <filename>src/Blocks/BlockRedstoneRepeater.h
#pragma once
#include "BlockHandler.h"
#include "Mixins.h"
#include "ChunkInterface.h"
#include "BlockSlab.h"
#include "../Chunk.h"
class cBlockRedstoneRepeaterHandler:
public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>
{
using super = cYawRotator<cBloc... |
Lazauya/cuberite | src/Blocks/BlockFurnace.h | <gh_stars>0
#pragma once
#include "../Blocks/BlockPiston.h"
#include "../BlockEntities/FurnaceEntity.h"
#include "Mixins.h"
class cBlockFurnaceHandler :
public cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05>
{
using super = cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05>;
public:
... |
Lazauya/cuberite | src/Blocks/BlockAnvil.h |
#pragma once
#include "BlockHandler.h"
#include "Mixins.h"
#include "../Entities/Player.h"
#include "../UI/AnvilWindow.h"
class cBlockAnvilHandler :
public cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>
{
public:
using super = cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>;
cBlockAnvilHan... |
Lazauya/cuberite | src/Mobs/ZombieVillager.h | <reponame>Lazauya/cuberite<filename>src/Mobs/ZombieVillager.h
#pragma once
#include "AggressiveMonster.h"
#include "Villager.h"
class cZombieVillager :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
cZombieVillager(cVillager::eVillagerType a_Profession);
CLASS_PROTODEF(cZombieVillager... |
Lazauya/cuberite | src/Blocks/BlockHopper.h |
// BlockHopper.h
// Declares the cBlockHopperHandler class representing the handler for the Hopper block
#include "Mixins.h"
class cBlockHopperHandler :
public cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>>
{
using super = cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>>;
public:
... |
Lazauya/cuberite | src/Blocks/BlockDropSpenser.h |
// BlockDropSpenser.h
// Declares the cBlockDropSpenserHandler class representing the BlockHandler for Dropper and Dispenser blocks
#pragma once
#include "../Blocks/BlockPiston.h"
#include "../BlockEntities/DropSpenserEntity.h"
#include "Mixins.h"
class cBlockDropSpenserHandler :
public cPitchYawRotator<cBloc... |
jarubank/imu_calib | include/imu_calib/accel_calib.h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... |
jingjiey/picoCTF | ansible/roles/pico-shell/files/no_aslr_wrapper.c | #include <stdlib.h>
#include <sys/personality.h>
int main(int argc, char *argv[], char *envp[]) {
personality(ADDR_NO_RANDOMIZE);
argv[0] = BINARY_PATH;
execve(argv[0], argv, envp);
}
|
jingjiey/picoCTF | problems/testing/compiled_sources_url/mybinary.c | <filename>problems/testing/compiled_sources_url/mybinary.c
#include <stdio.h>
#include <stdlib.h>
char input_buf[1024];
char *secret = "test\n";
void be_nice_to_people(){
gid_t gid = getegid();
setresgid(gid, gid, gid);
}
int main(){
be_nice_to_people();
puts("Welcome to my echo server!");
fflush... |
vldud/nginx_http_recaptcha_module | ngx_http_recaptcha_module.c | <reponame>vldud/nginx_http_recaptcha_module
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
ngx_uint_t body_index;
} ngx_http_recaptcha_conf_t;
static ngx_int_t ngx_http_recaptcha_form_variable(ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data);
stat... |
rondiamond/Reduxion-iOS | Sample app/Reduxion-iOS sample app/Reduxion_iOS.h | <filename>Sample app/Reduxion-iOS sample app/Reduxion_iOS.h
//
// Reduxion_iOS.h
// Reduxion-iOS
//
// Created by <NAME> on 8/25/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for Reduxion_iOS.
FOUNDATION_EXPORT double Reduxion_iOSVersionNumber;
//! Pro... |
DSarceno/2022LabSimu201900109 | SegundoParcial/problema1.c | <gh_stars>0
// mié 27 abr 2022 22:31:14 CST
// problema1.c
// <NAME> (<EMAIL>)
// Fit de la recta que mejor se aproxime a un conjunto de datos.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c1... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema5.c | // jue 21 abr 2022 18:28:36 CST
// problema5.c
// <NAME> (<EMAIL>)
// Función factorial recursiva
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o problema5.o problema5.c
// gcc -o prob... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema1.c | // mié 20 abr 2022 15:52:22 CST
// problema1.c
// <NAME> (<EMAIL>)
// Este programa crea y muestra una lista de 10 elementos de numeros pares
// y solicita al usuario en que orden desea que se ordene
// (ascendente/descendente). Para el ordenamiento se utiliza el algoritmo
// merge-sort.
// Codificado del texto: U... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema2.c | // jue 21 abr 2022 18:28:27 CST
// problema2.c
// <NAME> (<EMAIL>)
// Ordenamiento de números dados por un usuario.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o problema2.o problema... |
DSarceno/2022LabSimu201900109 | EXAMENFINAL/problema1.c | <reponame>DSarceno/2022LabSimu201900109
// lun 16 may 2022 07:55:08 CST
// problema1.c
// <NAME> (<EMAIL>)
// Simulación de diversos cohetes.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 ... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema3.c | // jue 21 abr 2022 17:01:06 CST
// problema3.c
// <NAME> (<EMAIL>)
// Este problema recibe dos vectores en R3 al usuario y calcula
// algunas operaciones con dichos vectores.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada ma... |
DSarceno/2022LabSimu201900109 | SegundoParcial/problema2.c | // jue 28 abr 2022 23:17:08 CST
// problema2.c
// <NAME> (<EMAIL>)
// Resumen
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o problema2.o problema2.c
// gcc -o problema2.x problema2.o ... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema4.c | // jue 21 abr 2022 18:28:43 CST
// problema4.c
// <NAME> (<EMAIL>)
// Prorama que implementa diferentes operaciones con matrices.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o proble... |
DSarceno/2022LabSimu201900109 | Practicas/Practica3/ejercicio_docker/haber.c | <reponame>DSarceno/2022LabSimu201900109
// Wed Mar 2 02:29:38 UTC 2022
// haber.c
// <NAME> (<EMAIL>)
// Resumen
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o haber.o haber.c... |
DSarceno/2022LabSimu201900109 | Laboratorio4/mergeSort.c | <gh_stars>0
// mié 20 abr 2022 18:30:27 CST
// mergeSort.c
// <NAME> (<EMAIL>)
// Funciones del algoritmo MERGE SORT
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o mergeSort.o mergeSo... |
DSarceno/2022LabSimu201900109 | Laboratorio4/pruebas.c | // vie 22 abr 2022 17:12:18 CST
// pruebas.c
// <NAME> (<EMAIL>)
// Resumen
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std=c11 -c -o pruebas.o pruebas.c
// gcc -o pruebas.x pruebas.o
//Librer... |
DSarceno/2022LabSimu201900109 | Practicas/Practica3/ejercicio_docker/ej2.c | <filename>Practicas/Practica3/ejercicio_docker/ej2.c
/*
Autor: <NAME>
Compilador: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
Compilado: gcc -Wall -pedantic -std=c11 -c -o ej2.o ej2.c
gcc -o ej2.x ej2.o
Fecha: Wed Mar 2 02:47:08 UTC 2022
Librerias: stdio, (otras)
Resumen: (ingrese)
Entrada: (ingrese)
Salida: (I... |
DSarceno/2022LabSimu201900109 | Laboratorio4/problema6.c | // jue 21 abr 2022 18:10:47 CST
// problema6.c
// <NAME> (<EMAIL>)
// Calculo de diversas sumatorias con limite superior ingresado por el usuario.
// Codificado del texto: UTF8
// Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0
// Instruciones de Compilacion: no requiere nada mas
// gcc -Wall -pedantic -std... |
Mitron57/Setters | cpp/Platform.Setters/Setter[TResult, TDecision].h | namespace Platform::Setters
{
template <typename ...> class Setter;
template <typename TResult, typename TDecision> class Setter<TResult, TDecision> : public SetterBase<TResult>
{
private: TDecision _trueValue = 0;
private: TDecision _falseValue = 0;
public: Setter(TDecision tr... |
kakkun61/haskell-invokes-rust | main.c | <gh_stars>1-10
// This is not necessary for the FFI from Haskell to Rust.
void hello_rust(void);
int main (void) {
hello_rust();
return 0;
}
|
lazear/lass | assembler.c | <reponame>lazear/lass<gh_stars>10-100
/*
GNU nano 2.7.0 File: LICENSE
MIT License
Copyright (c) 2016 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... |
lazear/lass | elf.h | /*
elf.h
===============================================================================
MIT License
Copyright (c) 2007-2016 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... |
ufosky/USRuntimeHelper | USRuntimeHelper/USRuntimeHelper.h | <gh_stars>1-10
//
// USRuntimeHelper.h
// USRuntimeHelper
//
// Created by <NAME> on 9/25/14.
// Copyright (c) 2014 ufosky.<EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
void US_invokeInstanceMethod(id obj, NSString *selectorName, NSArray *arguments, void *returnValue);
void US_invokeClassMeth... |
jehung/universal_portfolio | universal_portfolio/rrl_trading/04_cython_cppwraper/tradingrrl_.h | <gh_stars>10-100
#ifndef TRADINGRRL_H
#define TRADINGRRL_H
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <math.h>
#include <ctime>
using namespace std;
namespace tradingrrl{
class cppTradingRRL{
public:
int T;
int M;
... |
jehung/universal_portfolio | universal_portfolio/rrl_trading/02_cython/tradingrrl.c | /* Generated by Cython 0.25.2 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
#error Cython ... |
jehung/universal_portfolio | universal_portfolio/rrl_trading/04_cython_cppwraper/test/cpp_test_sum_.h | <reponame>jehung/universal_portfolio
#ifndef CPPTESTSUM_H
#define CPPTESTSUM_H
#include <vector>
using namespace std;
namespace cpp_test_sum{
class cppTestSum{
public:
int n_iter;
vector<double> sum;
// Constructor
cppTestSum(int n_iter);
// Dest... |
wosta/Music | QQMusic/Classes/Tool/ZWMusicTool.h | <reponame>wosta/Music
//
// ZWMusicTool.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ZWMusicModel.h"
@interface ZWMusicTool : NSObject
/*
因为音乐播放不仅仅在当前控制器会使用,还会在其他控制器中进行切换,所以要封装成工具类
*/
/**
所有音乐
*/
+ (NSArray *)music... |
wosta/Music | QQMusic/Classes/C/ZWPlayViewController.h | //
// ZWPlayViewController.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZWPlayViewController : UIViewController
@end
|
wosta/Music | QQMusic/Classes/V/ZWLrcCell.h | //
// ZWLrcCell.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZWLrcLabel.h"
@interface ZWLrcCell : UITableViewCell
@property(nonatomic,strong)ZWLrcLabel *lrcLabel;
+ (instancetype)lrcCellWithTableView:(UITableView *)tableView;
@... |
wosta/Music | QQMusic/Classes/M/ZWMusicModel.h | <reponame>wosta/Music<filename>QQMusic/Classes/M/ZWMusicModel.h<gh_stars>0
//
// ZWMusicModel.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZWMusicModel : NSObject
@property (nonatomic, copy) NSString *name;
@propert... |
wosta/Music | QQMusic/Classes/NSString+ZWTime.h | <gh_stars>0
//
// NSString+ZWTime.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (ZWTime)
+ (NSString *)stringWithTime:(NSTimeInterval)time;
@end
|
wosta/Music | QQMusic/Classes/V/ZWLrcLabel.h | //
// ZWLrcLabel.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/30.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZWLrcLabel : UILabel
/*当前播放的进度*/
@property(nonatomic,assign)CGFloat progress;
@end
|
wosta/Music | QQMusic/Classes/V/ZWLrcScrollView.h | <filename>QQMusic/Classes/V/ZWLrcScrollView.h<gh_stars>0
//
// ZWLrcScrollView.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZWLrcLabel.h"
@interface ZWLrcScrollView : UIScrollView<UITableViewDelegate,UITableViewDataSource>
/*歌词... |
wosta/Music | QQMusic/Classes/Tool/ZWLrcTool.h | //
// ZWLrcTool.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZWLrcTool : NSObject
+(NSArray *)lrcToolWithLrcName:(NSString *)lrcName;
@end
|
wosta/Music | QQMusic/Classes/Tool/ZWAudioTool.h | //
// ZWAudioTool.h
// 02-播放音效
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface ZWAudioTool : NSObject
// 播放音乐 fileName:音乐文件
+ (AVAudioPlayer *)playMusicWithFileName:(NSString *)fileName;
// 暂... |
wosta/Music | QQMusic/Classes/M/ZWLrcModel.h | //
// ZWLrcModel.h
// QQMusic
//
// Created by 郑亚伟 on 2016/12/29.
// Copyright © 2016年 郑亚伟. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZWLrcModel : NSObject
@property(nonatomic,copy)NSString *text;
@property(nonatomic,assign)NSTimeInterval time;
- (instancetype)initWithLrcLineString:(N... |
wosta/Music | QQMusic/Classes/CALayer+PauseAimate.h | <gh_stars>0
//
// CALayer+PauseAimate.h
// QQ
//
// Created by apple on 16/8/14.
// Copyright (c) 2016年 郑亚伟. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
@interface CALayer (PauseAimate)
// 暂停动画
- (void)pauseAnimate;
// 恢复动画
- (void)resumeAnimate;
@end
|
imastio/shoc | assets/samples-mpi/quad.c | # include <math.h>
# include <mpi.h>
# include <stdio.h>
# include <stdlib.h>
# include <time.h>
int main ( int argc, char *argv[] );
double f ( double x );
void timestamp ( );
/******************************************************************************/
int main ( int argc, char *argv[] )
/*********************... |
houxinbing/WZFPSKit | Example/WZFPSKit/SGViewController.h | //
// SGViewController.h
// WZFPSKit
//
// Created by <EMAIL> on 03/17/2020.
// Copyright (c) 2020 <EMAIL>. All rights reserved.
//
@import UIKit;
@interface SGViewController : UIViewController
@end
|
houxinbing/WZFPSKit | WZFPSKit/Classes/SGAlertSheet.h | //
// SGAlertSheet.h
// FPS
//
// Created by sungrow on 2020/3/17.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
SGAlertSheetTypeNormal = 0,
SGAlertSheetTypeCancelButton,//默认有取消按钮且在最下面
} SGAlertSheetType;
@class SGAlertSheet;
typedef void(^SGAlertSheetHandler) (SGAlertShe... |
sethcoder/cc65 | testcode/lib/strnicmp-test.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <conio.h>
static int do_test(const char *s1, const char *s2, size_t n)
{
printf("strnicmp(\"%s\", \"%s\", %d): ", s1, s2, (int)n);
return strncasecmp(s1, s2, n);
}
int main(void)
{
int ret;
ret = do_test("Wurzl", "wURZL", 5);
if... |
sethcoder/cc65 | src/cc65/function.c | /*****************************************************************************/
/* */
/* function.c */
/* */
... |
sethcoder/cc65 | src/cc65/reginfo.c | /*****************************************************************************/
/* */
/* reginfo.c */
/* */
... |
sethcoder/cc65 | src/cc65/stmt.c | /*****************************************************************************/
/* */
/* stmt.c */
/* */
... |
sethcoder/cc65 | src/cc65/loadexpr.c | <reponame>sethcoder/cc65
/*****************************************************************************/
/* */
/* loadexpr.c */
/* ... |
sethcoder/cc65 | libsrc/common/_afailed.c | /*
** _afailed.c
**
** 1998-06-06, <NAME>
** 2015-03-13, <NAME>
*/
#include <stdio.h>
#include <stdlib.h>
void __fastcall__ _afailed (char* file, unsigned line)
{
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
exit (2);
}
|
sethcoder/cc65 | include/em.h | /*****************************************************************************/
/* */
/* em.h */
/* */
... |
sethcoder/cc65 | src/ld65/xex.c | <filename>src/ld65/xex.c
/*****************************************************************************/
/* */
/* xex.c */
/* ... |
sethcoder/cc65 | testcode/lib/clock-test.c | <gh_stars>1-10
/* Clock test program
*
* 25-Sep-2018, <EMAIL>
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#ifdef __CC65__
#include <conio.h>
#include <cc65.h>
#endif /* #ifdef __CC65__ */
static void print_time(void)
{
struct tm *cur_tm;
time_t cur_ti... |
sethcoder/cc65 | samples/enumdevdir.c | <gh_stars>1-10
/*
** Enumerate devices, directories and files.
**
** 2012-10-15, <NAME> (<EMAIL>)
**
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <device.h>
#include <dirent.h>
#include <cc65.h>
void printdir (char *newdir)
{
char olddir[FILENAME_MAX];
char cur... |
sethcoder/cc65 | src/cc65/funcdesc.c | <gh_stars>1-10
/*****************************************************************************/
/* */
/* funcdesc.c */
/* ... |
sethcoder/cc65 | include/atari5200.h | /*****************************************************************************/
/* */
/* atari5200.h */
/* */
... |
sethcoder/cc65 | src/cc65/shiftexpr.c | <filename>src/cc65/shiftexpr.c
/*****************************************************************************/
/* */
/* shiftexpr.c */
/* ... |
sethcoder/cc65 | test/val/binlit.c | <filename>test/val/binlit.c
static unsigned char small[256];
static unsigned big[256];
int main() {
unsigned i;
small[0] = 0b0;
small[1] = 0b1;
small[2] = 0b10;
small[3] = 0b11;
small[4] = 0b100;
small[5] = 0b101;
small[6] = 0b110;
small[7] = 0b000111;
small[8] = 0b1000;
small[9] = 0b1001;
small[10] = 0b... |
sethcoder/cc65 | testcode/lib/atari/sys.c | <filename>testcode/lib/atari/sys.c
/*
** testprogram for _sys() function on Atari
**
** 17-Sep-2013, <EMAIL>
**
** uses PUTCHR IOCB function to display a string
*/
#include <atari.h>
#include <6502.h>
#include <conio.h>
static struct regs regs;
static struct __iocb *iocb = &IOCB; /* use IOCB #0 */
static char messa... |
sethcoder/cc65 | testcode/lib/pce/conio.c | #include <pce.h>
#include <conio.h>
#include <time.h>
#include <joystick.h>
#include <string.h>
#include <stdlib.h>
static int datavar = 10;
void main(void)
{
int stackvar = 42;
int i, j;
clock_t clk;
char* p;
unsigned char xsize, ysize, n, nn;
joy_install(&joy_static_... |
sethcoder/cc65 | testcode/lib/shift-test.c | <reponame>sethcoder/cc65<filename>testcode/lib/shift-test.c
#include <stdio.h>
#include <stdlib.h>
static unsigned UnsignedShiftLeft1 (unsigned Val)
/* Shift an unsigned left by 1 */
{
__AX__ = Val;
asm ("stx tmp1");
asm ("asl a");
asm ("rol tmp1");
asm ("ldx tmp1");
return __AX__;
}
stat... |
sethcoder/cc65 | src/common/tgttrans.c | <filename>src/common/tgttrans.c<gh_stars>1-10
/*****************************************************************************/
/* */
/* tgttrans.c */
/* ... |
sethcoder/cc65 | samples/geos/geosver.c | <reponame>sethcoder/cc65
#include <geos.h>
#include <conio.h>
// Let's define the window we're operating
struct window wholeScreen = {0, SC_PIX_HEIGHT-1, 0, SC_PIX_WIDTH-1};
void main (void)
{
unsigned char os = get_ostype();
unsigned char *machine = NULL;
unsigned char *version = NULL;
unsigned char... |
sethcoder/cc65 | testcode/compiler/pptest1.c | <gh_stars>1-10
#define hash_hash # ## #
#define mkstr(a) # a
#define in_between(a) mkstr(a)
#define join(c, d) in_between(c hash_hash d)
char p[] = join(x, y); // Comment
|
sethcoder/cc65 | include/geos/gstruct.h | /*
GEOS structs
by Maciej 'YTM/Elysium' Witkowiak
*/
/*
apart from initializing data, structures below can be used to
speed up access to data and let cc65 to generate better code
e.g. if you have menu defined as TopMenu and you want to change the number of
menu items use:
((struct menu*)&TopMenu)-... |
sethcoder/cc65 | testcode/compiler/pptest3.c | <reponame>sethcoder/cc65<gh_stars>1-10
#define str(s) # s
#define xstr(s) str(s)
#define debug(s, t) printf("x" # s "= %d, x" # t "= %s", \
x ## s, x ## t)
#define INCFILE(n) vers ## n // Comment
#define glue(a,b) a ## b
#define xglue(a,b) glue(a... |
sethcoder/cc65 | test/val/rotate6.c | /*
!!DESCRIPTION!! Shift bytes left and right by a variable.
!!ORIGIN!! SDCC regression tests
!!LICENCE!! GPL, read COPYING.GPL
*/
#include <stdio.h>
#include <limits.h>
unsigned char success=0;
unsigned char failures=0;
unsigned char dummy=0;
#ifdef SUPPORT_BIT_TYPES
bit bit0 = 0;
#endif
#ifdef SIZEO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.