repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
anji-plus/flutter_plugin
aj_flutter_scan/ios/Classes/FlashButton.h
// // FlashButton.h // aj_flutter_scan // // Created by kean_qi on 2019/7/18. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface FlashButton : UIButton - (void)setNeedsDrawColor:(UIColor *)drawColor; @end NS_ASSUME_NONNULL_END
anji-plus/flutter_plugin
aj_flutter_plugin/ios/Classes/AjFlutterPlugin.h
#import <Flutter/Flutter.h> #import <CoreLocation/CoreLocation.h> @interface AjFlutterPlugin : NSObject<FlutterPlugin,CLLocationManagerDelegate> //@property(nonatomic, retain) FlutterResult result; @end
Reiqy/sudoku-solver
src/memory.h
<reponame>Reiqy/sudoku-solver // // Created by Reiqy on 01.07.2021. // #ifndef SUDOKUSOLVER_MEMORY_H #define SUDOKUSOLVER_MEMORY_H #include <stdlib.h> void *allocate(size_t size); void *deallocate(void *ptr); void *reallocate(void *ptr, size_t new_size); size_t growCapacity(size_t oldCapacity); #endif //SUDOKUSOLV...
Reiqy/sudoku-solver
src/main.c
#include <stdio.h> #include <stdlib.h> #include "sudoku.h" #include "solver.h" int main(int argc, char *argv[]) { if (argc != 2) { printf("Usage: '%s <sudoku>'\n", argv[0]); exit(1); } else { Sudoku s = readSudokuFromFile(argv[1]); printSudoku(&s); solveSudok...
Reiqy/sudoku-solver
src/memory.c
// // Created by Reiqy on 01.07.2021. // #include "memory.h" #include <stdio.h> void *allocate(size_t size) { void *ptr = malloc(size); if (ptr == NULL) { fprintf(stderr, "Error: Out of memory!\n"); exit(EXIT_FAILURE); } return ptr; } void *deallocate(void *ptr) { free(ptr)...
Reiqy/sudoku-solver
src/solver.h
<filename>src/solver.h // // Created by Reiqy on 01.07.2021. // #ifndef SUDOKUSOLVER_SOLVER_H #define SUDOKUSOLVER_SOLVER_H #include "sudoku.h" typedef struct PossibleNumbers { size_t count; uint8_t numbers[SUDOKU_SQUARE_SIZE]; } PossibleNumbers; void initPossibleNumbers(PossibleNumbers *p_nums); void addPo...
Reiqy/sudoku-solver
src/sudoku.c
// // Created by Reiqy on 01.07.2021. // #include "sudoku.h" #include <stdio.h> #include <ctype.h> #include "memory.h" void initSudoku(Sudoku *s) { s->numbers = allocate(sizeof(uint8_t) * SUDOKU_ARRAY_LENGTH); } void freeSudoku(Sudoku *s) { s->numbers = deallocate(s->numbers); } Sudoku readSudokuFromFile(...
Reiqy/sudoku-solver
src/sudoku.h
// // Created by Reiqy on 01.07.2021. // #ifndef SUDOKUSOLVER_SUDOKU_H #define SUDOKUSOLVER_SUDOKU_H #include <stdint.h> #include <stdbool.h> #define SUDOKU_SQUARE_SIZE (9) #define SUDOKU_SMALL_SQUARE_SIZE (3) #define SUDOKU_ARRAY_LENGTH (SUDOKU_SQUARE_SIZE * SUDOKU_SQUARE_SIZE) typedef struct Sudoku { uint8_t ...
Reiqy/sudoku-solver
src/solver.c
// // Created by Reiqy on 01.07.2021. // #include <stdio.h> #include "solver.h" #include "memory.h" void initPossibleNumbers(PossibleNumbers *p_nums) { p_nums->count = 0; } void addPossibleNumber(PossibleNumbers *p_nums, uint8_t number) { p_nums->numbers[p_nums->count] = number; p_nums->count++; } bo...
markrad/eps32-ADXL355
components/ADXL355/include/ADXL355.h
<gh_stars>1-10 #ifndef _ADXL355_H #define _ADXL355_H #include <cstdint> #include <string> #include <driver/i2c.h> class ADXL355 { private: static const uint8_t DEVID_AD = 0x00; static const uint8_t DEVID_MST = 0x01; static const uint8_t PARTID = 0x02; static const uint8_t REVID = 0x03; static con...
functionpointer/Pico-DMX
src/DmxInput.h
<gh_stars>0 /* * Copyright (c) 2021 <NAME> * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef DMX_INPUT_H #define DMX_INPUT_H #include <dma.h> #include <pio.h> #define DMX_UNIVERSE_SIZE 512 #define DMX_SM_FREQ 1000000 #define DMXINPUT_BUFFER_SIZE(start_channel, num_channels) ((start_channel+num_channels+1)+...
functionpointer/Pico-DMX
src/DmxOutput.pio.h
// -------------------------------------------------- // // This file is autogenerated by pioasm; do not edit! // // -------------------------------------------------- // #if !PICO_NO_HARDWARE #include "hardware/pio.h" #endif // --------- // // DmxOutput // // --------- // #define DmxOutput_wrap_target 3 #define Dmx...
riturajshakti/SuperEasyInAppPurchase
ios/Classes/SuperEasyInAppPurchasePlugin.h
<reponame>riturajshakti/SuperEasyInAppPurchase<filename>ios/Classes/SuperEasyInAppPurchasePlugin.h<gh_stars>1-10 #import <Flutter/Flutter.h> @interface SuperEasyInAppPurchasePlugin : NSObject<FlutterPlugin> @end
y-okudera/Tony
App/Sandbox/SandboxCore/Sources/Resources/SandboxCore.h
// // SandboxCore.h // SandboxCore // // Created by <NAME> on 2022/03/22. // Copyright © 2022 yuoku. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for SandboxCore. FOUNDATION_EXPORT double SandboxCoreVersionNumber; //! Project version string for SandboxCore. FOUNDATION_EXPO...
y-okudera/Tony
App/TonyCore/Sources/Resources/TonyCore.h
<reponame>y-okudera/Tony // // TonyCore.h // TonyCore // // Created by <NAME> on 2022/03/13. // #import <Foundation/Foundation.h> //! Project version number for TonyCore. FOUNDATION_EXPORT double TonyCoreVersionNumber; //! Project version string for TonyCore. FOUNDATION_EXPORT const unsigned char TonyCoreVersionS...
y-okudera/Tony
App/Feature/SplashFeatures/Sources/Resources/SplashFeatures.h
// // SplashFeatures.h // SplashFeatures // // Created by <NAME> on 2022/03/14. // #import <Foundation/Foundation.h> //! Project version number for SplashFeatures. FOUNDATION_EXPORT double SplashFeaturesVersionNumber; //! Project version string for SplashFeatures. FOUNDATION_EXPORT const unsigned char SplashFeatu...
y-okudera/Tony
App/SharedResource/SharedResource.h
// // SharedResource.h // SharedResource // // Created by <NAME> on 2022/03/24. // Copyright © 2022 yuoku. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for SharedResource. FOUNDATION_EXPORT double SharedResourceVersionNumber; //! Project version string for SharedResource. ...
y-okudera/Tony
App/Feature/SearchRepoFeatures/Sources/Resources/SearchRepoFeatures.h
<reponame>y-okudera/Tony<filename>App/Feature/SearchRepoFeatures/Sources/Resources/SearchRepoFeatures.h // // SearchRepoFeatures.h // SearchRepoFeatures // // Created by <NAME> on 2022/03/13. // #import <Foundation/Foundation.h> //! Project version number for SearchRepoFeatures. FOUNDATION_EXPORT double SearchRepo...
septimomend/The-Snake
The Snake/The Snake/stdafx.h
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #include <iostream> #include <conio.h> #include <windows.h> #include <ctime> #include <cstdlib> // Keys // #define KEY_U...
septimomend/The-Snake
The Snake/The Snake/The Snake Dec.h
// The Snake Dec.h >> func declaration #include "stdafx.h" void Setup(); void Draw(); void GameOver(); void Input(); void Logic();
septimomend/The-Snake
The Snake/The Snake/Global.h
<filename>The Snake/The Snake/Global.h #ifndef GLOBAL_H #define GLOBAL_H #include "stdafx.h" // Global variables // extern bool gameOver; // end of game extern bool isHard; // true if difficulty of game is hard extern bool escape; // true if exit from game extern const int width; // width of game window extern const i...
JPWatson/Aeron
aeron-client/src/main/cpp/command/Flyweight.h
<filename>aeron-client/src/main/cpp/command/Flyweight.h /* * Copyright 2014 - 2016 Real Logic Ltd. * * 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/LI...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/ringbuffer/RecordDescriptor.h
<gh_stars>0 /* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 applicabl...
JPWatson/Aeron
aeron-driver/src/main/cpp/media/SendChannelEndpoint.h
/* * Copyright 2015 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-driver/src/main/cpp/DriverConductorProxy.h
/* * Copyright 2016 Real Logic Ltd. * * 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 agreed to ...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/AtomicCounter.h
/* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-driver/src/main/cpp/PublicationImage.h
<gh_stars>0 /* * Copyright 2016 Real Logic Ltd. * * 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 o...
JPWatson/Aeron
aeron-driver/src/main/cpp/media/InterfaceLookup.h
/* * Copyright 2015 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/logbuffer/DataFrameHeader.h
<gh_stars>0 /* * Copyright 2015 - 2016 Real Logic Ltd. * * 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 applicabl...
JPWatson/Aeron
aeron-driver/src/main/cpp/MediaDriver.h
/* * Copyright 2016 Real Logic Ltd. * * 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 agreed to ...
JPWatson/Aeron
aeron-driver/src/main/cpp/concurrent/OneToOneConcurrentArrayQueue.h
<reponame>JPWatson/Aeron /* * Copyright 2015 - 2016 Real Logic Ltd. * * 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...
JPWatson/Aeron
aeron-client/src/main/cpp/CncFileDescriptor.h
/* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-driver/src/main/cpp/status/SystemCounters.h
<filename>aeron-driver/src/main/cpp/status/SystemCounters.h /* * Copyright 2016 Real Logic Ltd. * * 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/LICEN...
JPWatson/Aeron
aeron-driver/src/main/cpp/media/NetworkInterface.h
// // Created by <NAME> on 06/10/15. // #ifndef INCLUDED_AERON_DRIVER_NETWORKINTERFACE__ #define INCLUDED_AERON_DRIVER_NETWORKINTERFACE__ #include <memory> #include "InetAddress.h" namespace aeron { namespace driver { namespace media { class NetworkInterface { public: NetworkInterface(std::unique_ptr<InetAddre...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/status/UnsafeBufferPosition.h
<reponame>JPWatson/Aeron /* * Copyright 2015 - 2016 Real Logic Ltd. * * 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...
JPWatson/Aeron
aeron-driver/src/main/cpp/FeedbackDelayGenerator.h
<reponame>JPWatson/Aeron /* * Copyright 2016 Real Logic Ltd. * * 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 app...
JPWatson/Aeron
aeron-driver/src/main/cpp/media/UdpChannelTransport.h
/* * Copyright 2015 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-driver/src/main/cpp/DataPacketDispatcher.h
<reponame>JPWatson/Aeron<gh_stars>0 /* * Copyright 2016 Real Logic Ltd. * * 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 requ...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/logbuffer/LogBufferPartition.h
<filename>aeron-client/src/main/cpp/concurrent/logbuffer/LogBufferPartition.h<gh_stars>0 /* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 * * ...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/CountersManager.h
/* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-driver/src/test/cpp/Mocks.h
#ifndef INCLUDED_AERON_DRIVER_MOCKS__ #define INCLUDED_AERON_DRIVER_MOCKS__ #define COND_MOCK 1 #include <gmock/gmock.h> #include <media/ReceiveChannelEndpoint.h> #include <PublicationImage.h> #include <Receiver.h> #include <DriverConductorProxy.h> #include <FeedbackDelayGenerator.h> namespace aeron { namespace dr...
JPWatson/Aeron
aeron-client/src/main/cpp/command/ImageMessageFlyweight.h
/* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-client/src/main/cpp/command/CorrelatedMessageFlyweight.h
/* * Copyright 2014 - 2016 Real Logic Ltd. * * 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 agr...
JPWatson/Aeron
aeron-client/src/main/cpp/concurrent/logbuffer/TermScanner.h
<filename>aeron-client/src/main/cpp/concurrent/logbuffer/TermScanner.h // // Created by <NAME> on 25/09/15. // #ifndef INCLUDED_AERON_CONCURRENT_LOGBUFFER_TERMSCANNER__ #define INCLUDED_AERON_CONCURRENT_LOGBUFFER_TERMSCANNER__ #include <util/BitUtil.h> #include "FrameDescriptor.h" namespace aeron { namespace concurr...
lojikil/29
src/carmlc.c
<reponame>lojikil/29 /* * @(#) the main carml/C compiler source code * @(#) defines the REPL, some compiler stuff, and * @(#) coördinates the general flow of the system */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <gc.h> #include <carmlc.h> /* probab...
CoollRock/ecflow
ACore/src/ecflow_version.h
#ifndef ecflow_version_config_h #define ecflow_version_config_h #define ECFLOW_VERSION "5.7.3" #define ECFLOW_RELEASE "5" #define ECFLOW_MAJOR "7" #define ECFLOW_MINOR "3" // available but not used //PROJECT_VERSION=5.7.3 //PROJECT_VERSION_MAJOR=5 //PROJECT_VERSION_MINOR=7 //PROJECT_VERSION_PATCH=3 #end...
HamedKh99/git-workshop
temp/b.c
<reponame>HamedKh99/git-workshop #include <stdio.h> int main(){ printf("%d",9); }
HamedKh99/git-workshop
a.c
#include <stdio.h> int main(){ int a; a = 5; a = 6; printf("salam"); }
victor-shepardson/av-turing-machines
src/ofApp.h
#pragma once #include "ofMain.h" #include "ofxXmlSettings.h" #include "ofxVideoRecorder.h" #include "ofxAVTuringMachine.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void close(); void audioOut(float * output, int bufferSize, int nChannels); void keyPressed(...
Cybegon/SMA
src/memoryheaders.h
<reponame>Cybegon/SMA<filename>src/memoryheaders.h // // Created by Limaaron on 08.09.2020. // #ifndef SMA_MEMORY_HEADERS_H #define SMA_MEMORY_HEADERS_H #include "datatypes.h" PACKED_BEGIN typedef enum { PS_Free = 0x00, PS_Allocated = 0x3F, PS_Root = 0x7F } PACKED PageStatus; typedef...
Cybegon/SMA
src/smalib.c
<filename>src/smalib.c #include "smalib.h" POINTER moveRight( POINTER ptr, dsize offset ) { return POINTER_CAST( POINTER, POINTER_CAST( dpchar, ptr ) + offset ); } POINTER moveLeft( POINTER ptr, dsize offset ) { return POINTER_CAST( POINTER, POINTER_CAST( dpchar, ptr ) - offset ); }
Cybegon/SMA
src/public/datatypes.h
#ifndef DATATYPE_GLOBAL_HPP #define DATATYPE_GLOBAL_HPP #define KB(VALUE) VALUE * 1024; #define MB(VALUE) VALUE * 1024 * 1024; #define GB(VALUE) VALUE * 1024 * 1024 * 1024; // If the build system not defined macros // we try to get them using pre-processor methods #if !defined(ARCH_64BITS) && !defined(ARCH_32BITS) # ...
Cybegon/SMA
src/public/smalib.h
<filename>src/public/smalib.h #ifndef SMA_LIB_HPP #define SMA_LIB_HPP #include "datatypes.h" #ifdef __cplusplus # include <cstdio> # define POINTER_CAST(TYPE, POINTER) ( reinterpret_cast<TYPE>(POINTER) ) #else # include <stdio.h> # define POINTER_CAST(TYPE, POINTER) ( (TYPE) POINTER ) #endif #define SMA_PRIN...
Cybegon/SMA
src/public/smallocator.h
<reponame>Cybegon/SMA // // Created by Limaaron on 08.09.2020. // #ifndef SMA_SMA_LLOCATOR_H #define SMA_SMA_LLOCATOR_H #include "smalib.h" #include "datatypes.h" typedef MEMORY (*AllocFunc)( dsize size ); typedef MEMORY (*ReAllocFunc)( MEMORY mem, dsize size ); typedef void (*FreeFunc)( MEMORY mem ); typedef enu...
Cybegon/SMA
src/smallocator.c
// // Created by Limaaron on 08.09.2020. // #include "smallocator.h" #include "memoryheaders.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define SMA_ErrorMessage( TEXT ) "[SMA] Error: %s", TEXT static dsize m_uiAllocated = 0; static duint *errorPtr = NULL; static AllocFunc allocMem = NUL...
ClubNix/man-terminal
Exemple/gcc/chat.c
<gh_stars>0 #include <stdio.h> int main(){ printf("oh, un çhat\n"); return 0; }
SpriteOvO/SchemaResolver
Source/Utils.h
#pragma once #include <string> #include <Windows.h> #include <assert.h> #include "Config.h" #define SR_TO_STRING_INTERNAL(v) # v #define SR_TO_STRING(v) SR_TO_STRING_INTERNAL(v) #if defined _DEBUG # define SR_ASSERT(condition) while(!(condition)) { __debugbreak(); } #else # define SR_ASSERT...
SpriteOvO/SchemaResolver
Source/Native.h
<reponame>SpriteOvO/SchemaResolver<filename>Source/Native.h<gh_stars>1-10 #pragma once #include "Utils.h" #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) using FnRtlGetVersionT = NTSTATUS(NTAPI*)(RTL_OSVERSIONINFOW *pVersionInformation); struct PebT { void* ApiSetMap() { #if defined _WIN64 return ...
SpriteOvO/SchemaResolver
Source/Config.h
#pragma once #define SR_VERSION_STRING "0.1.0"
SpriteOvO/SchemaResolver
Source/IResolver.h
#pragma once #include <string> #include <vector> #include <list> class IResolver { public: static IResolver& GetInstance(); IResolver(); bool ResolveSchemaModule(const std::wstring &SchemaModuleName, std::vector<std::wstring> &RedirectedModuleName); private: std::list<std::pair<std::wstring, std::...
SpriteOvO/SchemaResolver
Source/Logger.h
<filename>Source/Logger.h #pragma once #include <cstdint> #include <string> #include <Windows.h> enum class ConCol : uint16_t { Bright = FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY, Yellow = FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY, Purple = FOREGROUND_BLUE...
end2endzone/libMidi
src/common/varlength.h
/********************************************************************************** * MIT License * * Copyright (c) 2018 <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 Softwa...
end2endzone/libMidi
include/libmidi/notes.h
/********************************************************************************** * MIT License * * Copyright (c) 2018 <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 with...
end2endzone/libMidi
include/libmidi/instruments.h
<filename>include/libmidi/instruments.h /********************************************************************************** * MIT License * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
end2endzone/libMidi
include/libmidi/libmidi.h
/********************************************************************************** * MIT License * * Copyright (c) 2018 <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 with...
end2endzone/libMidi
include/libmidi/pitches.h
/********************************************************************************** * MIT License * * Copyright (c) 2018 <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 with...
jbdallastx/level-zero
include/extensions/ze_graph_ext.h
/* * * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "ze_api.h" /////////////////////////////////////////////////////////////////////////////// /// @brief Handle of driver's graph object typedef struct _ze_graph_handle_t *ze_graph_handle_t; /////////////////////////...
jbdallastx/level-zero
include/extensions/ze_fence_ext.h
<reponame>jbdallastx/level-zero /* * * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "ze_api.h" /////////////////////////////////////////////////////////////////////////////// /// @brief Function-pointer for zeFenceDeviceSignal_ext typedef ze_result_t (ZE_APICALL *ze...
baolanlequang/jcamp-viewer-ios
JcampViewer/Pods/JcampConverter/JcampConverter/JcampConverter/JcampConverter.h
// // JcampConverter.h // JcampConverter // // Created by <NAME> on 02.02.22. // #import <Foundation/Foundation.h> //! Project version number for JcampConverter. FOUNDATION_EXPORT double JcampConverterVersionNumber; //! Project version string for JcampConverter. FOUNDATION_EXPORT const unsigned char JcampConverte...
novaELLIAS/HYAsstSTM32
Core/Inc/MPU6050/MPU6050.h
#include "main.h" #define MPU_SELF_TESTX_REG 0X0D #define MPU_SELF_TESTY_REG 0X0E #define MPU_SELF_TESTZ_REG 0X0F #define MPU_SELF_TESTA_REG 0X10 #define MPU_SAMPLE_RATE_REG 0X19 #define MPU_CFG_REG 0X1A #define MPU_GYRO_CFG_REG 0X1B #define MPU_ACCEL_CFG_REG 0X1C #define MPU_MOTION_DET_REG 0X1F #define...
novaELLIAS/HYAsstSTM32
Core/Inc/LED_Functions/LED_OUTPUT.h
<reponame>novaELLIAS/HYAsstSTM32<filename>Core/Inc/LED_Functions/LED_OUTPUT.h void LED_PC13_INIT (); void LED_PC13_BLINK (register int); void LED_PC13_BREATHE (register int); void LED_OUTPUT_INIT (); #define LED_TEST_Toggle() HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_13) #define LED_TEST_OFF() HAL_GPIO_WritePin(GPIOC...
novaELLIAS/HYAsstSTM32
Core/Inc/MPU6050/Kalman.h
#include "main.h" void getAccelgyroData(double *tagX, double *tagY, double *tagZ, double *Acc);
novaELLIAS/HYAsstSTM32
Core/Src/MPU6050/MPU6050.c
#include "MPU6050/MPU6050.h" u8 MPU_Init(void) { u8 res; extern I2C_HandleTypeDef hi2c1; HAL_I2C_Init(&hi2c1); MPU_Write_Byte(MPU_PWR_MGMT1_REG, 0X80); MPU_Write_Byte(MPU_PWR_MGMT1_REG, 0X00); MPU_Set_Gyro_Fsr(3); MPU_Set_Accel_Fsr(0); MPU_Set_Rate(50); MPU_Write_Byte(MPU_INT_EN_REG, 0X00); MPU_Write_Byte(M...
novaELLIAS/HYAsstSTM32
Core/Src/MPU6050/Accident_Alert.c
#include "main.h" #include "MPU6050/Kalman.h" #include "MPU6050/MPU6050.h" #include "GPS_Decoder/GPSdecode.h" #include "LED_Functions/LED_OUTPUT.h" #define ACCIDENT_ACCE 2 //Minimal acceleration to trigger accident report #define ACCIDENT_ANGLE 90 //Minimal dip angle to trigger acc...
novaELLIAS/HYAsstSTM32
Core/Src/MQTT/AT.c
<reponame>novaELLIAS/HYAsstSTM32<gh_stars>1-10 #include "MQTT/AT.h" #include "MQTT/utility.h" #include <stdio.h> #include <string.h> #include "main.h" struct tok tok; struct at_cmd_hanld_t at_cmd_hanld[] = { {"AT+CFUN", AT_Send, AT_Return}, {"AT+CPIN", AT_Send, AT_Return}, {"AT+CSQ", AT_Send, AT_Return}, ...
novaELLIAS/HYAsstSTM32
Core/Src/MPU6050/Kalman.c
#include "MPU6050/Kalman.h" #include "MPU6050/MPU6050.h" #include <math.h> unsigned long now, lastTime = 0; double dt; int16_t ax, ay, az, gx, gy, gz; double aax=0, aay=0,aaz=0, agx=0, agy=0, agz=0; double accx, accy, accz; long axo = 0, ayo = 0, azo = 0, gxo = 0, gyo = 0, gzo = 0; double pi = 3.1415926, AcceRatio ...
novaELLIAS/HYAsstSTM32
Core/Inc/MQTT/utility.h
<filename>Core/Inc/MQTT/utility.h #include "main.h" typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; void intToString (u16 n, u8 *str); int stringToInt (char *str); int getIntLen (int a); void stringCapitalize (char *dest, char *str); void strToHex (char *dst, char *src);
novaELLIAS/HYAsstSTM32
Core/Src/MQTT/utility.c
<gh_stars>1-10 #include <MQTT/utility.h> #include <stdio.h> #include <string.h> void intToString (u16 n, u8 *str) { u8 len = 0; u16 tmp = n; while (tmp/=10) {++ len;} do {str[len --] = n%10+'0';} while (n/=10); return; } int stringToInt (char *str) { int ret = 0; while (*str ^ '\0') { ret = (ret<<1) + (ret<<...
novaELLIAS/HYAsstSTM32
Core/Src/GPS_Decoder/GPSdecode.c
<reponame>novaELLIAS/HYAsstSTM32 #include <stdio.h> #include <string.h> #include "GPS_Decoder/GPSdecode.h" typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; u8 NMEA_Comma_Pos (u8 *buf, u8 cx) { u8 *p = buf; while (cx) { if (*buf=='*' || *buf<' ' || *buf>'z') return 0xFF; if (*buf==',') {-- c...
novaELLIAS/HYAsstSTM32
Core/Src/MQTT/general_command.c
<reponame>novaELLIAS/HYAsstSTM32<gh_stars>1-10 #include "MQTT/general_command.h" #include "MQTT/AT.h" #include "MQTT/utility.h" #include <string.h> #include <stdio.h> #include "main.h" extern struct tok tok; extern char Buff[2048]; void Restart_Module(void) { strcpy(tok.name,"AT+CFUN"); tok.num = 2; strcpy(tok.se...
novaELLIAS/HYAsstSTM32
Core/Inc/GPS_Decoder/GPSdecode.h
<gh_stars>1-10 #include "main.h" typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef struct { u8 num; //Satellite code u8 eledeg; //Satellite elevation u16 azideg; //Satellite azimuth u8 sn; //Signal to nois...
novaELLIAS/HYAsstSTM32
Core/Src/LED_Functions/LED_OUTPUT.c
/** ****************************************************************************** * @file : LED_OUTPUT.c * @author : ElliasKiriStuart * @brief : LED_CONTROL_FUNCTIONS ****************************************************************************** * @attention * * Designed for ...
novaELLIAS/HYAsstSTM32
Core/Inc/MQTT/AT.h
#include "main.h" #include <stdio.h> typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; struct tok { char name[32]; char num; char sendstr[20][256]; char ret[256]; }; struct at_cmd_hanld_t { char *atcmd; int (*send_hanld) (char *atcmd, struct tok *tok); int (*return_hanld) (char *str, int fla...
novaELLIAS/HYAsstSTM32
Core/Src/MQTT/MQTT.c
<gh_stars>1-10 #include "MQTT/MQTT.h" #include "MQTT/utility.h" #include "MQTT/general_command.h" #include "MQTT/at.h" #include "LED_Functions/LED_OUTPUT.h" #include <stdio.h> #include <string.h> extern struct tok tok; extern char Buff[256]; char ClientID[20] = "\"653000696\""; char UserNAME[20] = "387253"; char Pas...
novaELLIAS/HYAsstSTM32
Core/Src/main.c
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention designed for STM32F411CEU6 ****************************************...
novaELLIAS/HYAsstSTM32
Core/Inc/MQTT/general_command.h
<filename>Core/Inc/MQTT/general_command.h void Restart_Module(void); int Query_Signal_Quality(void); int Read_SIM_Card(void); int GET_LNW_State(void); int GET_LNW_Adhere(void); int lte_init(void);
novaELLIAS/HYAsstSTM32
Core/Inc/MPU6050/Accident_Alert.h
<reponame>novaELLIAS/HYAsstSTM32 void accidentMonitorSetup (void); int accidentJudge (gps_data *GPSdata);
novaELLIAS/HYAsstSTM32
Core/Inc/MQTT/MQTT.h
extern int SIM7020_state; typedef struct { float latitude; float longitude; float speed; float pdop; int flag; } __attribute__((packed)) dataPoints; int CONNECT_Server(void); int SUB_Topic(void); int PUB_Messag(char *Messag); int UNSUB_Topic(void); int Close_Server(void); int HEX_Mode_Enable(void); void M...
udaypatial/FrankZappaUd
FrankZappaUd/FrankZappaUd.h
<gh_stars>0 // // FrankZappaUd.h // FrankZappaUd // // Created by <NAME> on 2022-03-22. // #import <Foundation/Foundation.h> //! Project version number for FrankZappaUd. FOUNDATION_EXPORT double FrankZappaUdVersionNumber; //! Project version string for FrankZappaUd. FOUNDATION_EXPORT const unsigned char FrankZapp...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455_src/inc/cslr_cache.h
/* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied. * =============...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c64xplus_intc_src/src/intc/_csl_intcResource.c
/* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found ...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/FB_Example/irq.c
#include <csl.h> #include <cslr_tmr.h> #include <cslr_gpio.h> #include <cslr_chip.h> #include <cslr_edma3cc.h> #include <soc.h> #include <c6x.h> #include "main.h" #include "irq.h" #include "MEA21_lib.h" int num_tr_cross[HS1_CHANNELS/2]; int last_tr_cross[HS1_CHANNELS/2]; Uint32 reg_written; Uint32 re...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455/example/pwrdwn/src/Pwrdwn_example.c
<reponame>adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback /* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455_src/src/srio/csl_srioClose.c
<gh_stars>0 /* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied. * ==========...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455_src/src/mcbsp/csl_mcbspGetHwSetup.c
<filename>DSP/TI-Header/csl_c6455_src/src/mcbsp/csl_mcbspGetHwSetup.c<gh_stars>0 /* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * l...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455_src/inc/csl_i2cAux.h
<reponame>adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback /* =========================================================================== * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under ...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/FB_W2100_SCU_MEA256/Stimulation.h
<reponame>adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback /* * Stimulation.h * * Created on: 14.05.2018 * Author: jesinger */ #ifndef STIMULATION_H_ #define STIMULATION_H_ #define REGISTER_OFFSET 1 #define MEMPOINT_OFFSET (8 * REGISTER_OFFSET) #define TIGGER_PER_HS 18 #define ELEC...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/FB_W2100_SCU_MEA256/Common/MCS_USB_def.h
<reponame>adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback // public //--------------------------------------------------------------------------- // // Project: MCS_USB_LIB // Copyright (c) 2007 Multi Channel Systems. All rights reserved // // $Header: /MCS_USB_Lib/DLL/MCS_USB_def.h 94 13.07.12 13:18 Jesing...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c64xplus_intc_src/inc/_csl_intc.h
/* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found ...
adildahlan/BE-thesis-Repo-McsDspRealtimeFeedback
DSP/TI-Header/csl_c6455_src/src/edma/csl_edma3GetHwSetup.c
/* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied. * =============...