repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
dsnet/mario-doorbell
mikroc/hex_convert/hex_convert.c
// Copyright 2009, <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE.md file. #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <ctype.h> #include <string.h> /* Helper macros */ #define FUNC_RETURN(fn,...
dsnet/mario-doorbell
mikroc/door_ringer/door_ringer.c
<reponame>dsnet/mario-doorbell // Copyright 2009, <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE.md file. /* Project name: Mario Doorbell Project - Door ringer Description: As the counterpart to the doorbell button part of this pro...
dsnet/mario-doorbell
mikroc/door_button/door_button.c
<gh_stars>1-10 // Copyright 2009, <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE.md file. /* Project name: Mario Doorbell Project - Door button Description: This firmware code implements the button for the doorbell. The idea is to ...
Tomp0801/Micro-RTSP-Audio
src/RTSPSession.h
/* * Author: <NAME> * github: https://github.com/Tomp0801/Micro-RTSP-Audio * * Based on Micro-RTSP library for video streaming by Kevin Hester: * * https://github.com/geeksville/Micro-RTSP * * Copyright 2018 <NAME>, <EMAIL> (MIT License) */ #pragma once #include "AudioStreamer.h" #include "pl...
Tomp0801/Micro-RTSP-Audio
src/RTSPServer.h
<gh_stars>1-10 /* * Author: <NAME> * github: https://github.com/Tomp0801/Micro-RTSP-Audio * * Based on Micro-RTSP library for video streaming by Kevin Hester: * * https://github.com/geeksville/Micro-RTSP * * Copyright 2018 <NAME>, <EMAIL> (MIT License) */ #pragma once #include "AudioStreamer.h" /** * Cre...
Tomp0801/Micro-RTSP-Audio
src/AudioStreamer.h
<reponame>Tomp0801/Micro-RTSP-Audio /* * Author: <NAME> * github: https://github.com/Tomp0801/Micro-RTSP-Audio * * Based on Micro-RTSP library for video streaming by Kevin Hester: * * https://github.com/geeksville/Micro-RTSP * * Copyright 2018 <NAME>, <EMAIL> (MIT License) */ #pragma once #include "platglu...
Tomp0801/Micro-RTSP-Audio
src/IAudioSource.h
/* * Author: <NAME> * github: https://github.com/Tomp0801/Micro-RTSP-Audio * * Based on Micro-RTSP library for video streaming by Kevin Hester: * * https://github.com/geeksville/Micro-RTSP * * Copyright 2018 <NAME>, <EMAIL> (MIT License) */ #pragma once /** * Interface for an audio source for an RTP strea...
Tomp0801/Micro-RTSP-Audio
test/AudioTestSource.h
<reponame>Tomp0801/Micro-RTSP-Audio<filename>test/AudioTestSource.h #pragma once #include "IAudioSource.h" #include <stdint.h> class AudioTestSource : public IAudioSource { private: int index = 0; const int testDataSamples = 1024; static bool converted; public: static int16_t ...
sss22213/hifive1-revb-led-blink
blink.c
<reponame>sss22213/hifive1-revb-led-blink #include <metal/machine.h> #include <metal/led.h> #define DELAY for(int delay = 0; delay < 1000000; delay++); int main() { struct metal_led *led0_blue; // initial cpu struct metal_cpu *cpu = metal_cpu_get(0); struct metal_interrupt *cpu_int = metal_cpu_interrupt...
George-Ayad/TM4C123G-GPIO-library
main.c
#include "gpio.h" /// written by : <NAME> /// void delay_ms(int nCount){ /* Wait function */ nCount=nCount*16000; while (nCount--); } int main() { pinmode(RLED, OUTPUT); pinmode(GLED, OUTPUT); pinmode(BLED, OUTPUT); pinmode(PushButton2, PULLUP); pinmode(PushButton1, PULLUP); ...
George-Ayad/TM4C123G-GPIO-library
gpio.c
#include "gpio.h" /// Written by : <NAME> /// // Define pin as input, output, input with pullup or input with pulldown void pinmode(uint8_t inPortPin, uint8_t dir){ // GET PORT uint8_t port = inPortPin/10; // GET OFFSET uint32_t offset = port>3 ? port+0x1C : port; offset = offse...
George-Ayad/TM4C123G-GPIO-library
gpio.h
<reponame>George-Ayad/TM4C123G-GPIO-library<gh_stars>0 #include <stdint.h> #include "tm4c123gh6pm.h" /// Written by : <NAME> - <NAME> - <NAME> - <NAME> /// #define RLED 51 #define BLED 52 #define GLED 53 #define PushButton1 50 #define PushButton2 54 #define PA0 ...
markedwardmurray/Starlight
Starlight/Pods/Target Support Files/Pods-Starlight/Pods-Starlight-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_StarlightVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_StarlightVersionString[];
markedwardmurray/Starlight
Starlight/Pods/Target Support Files/Hex/Hex-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double HexVersionNumber; FOUNDATION_EXPORT const unsigned char HexVersionString[];
markedwardmurray/Starlight
Starlight/Pods/Target Support Files/Pods-StarlightTests/Pods-StarlightTests-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_StarlightTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_StarlightTestsVersionString[];
markedwardmurray/Starlight
Starlight/Pods/Target Support Files/Down/Down-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif #import "Down.h" FOUNDATION_EXPORT double DownVersionNumber; FOUNDATION_EXPORT const unsigned char DownVersionString[];
tehtechguy/tsp
TSP_GA/TSP_GA/ga_cpu.h
/* ga_cpu.h Author : <NAME> Date Created : 11/07/14 Description : Header for GA implementation for the CPU License : MIT License http://opensource.org/licenses/mit-license.php Copyright : (c) 2014 <NAME> */ #ifndef __GA_CPU_H__ #define __GA_CPU_H__ // Program inclu...
tehtechguy/tsp
TSP_GA/TSP_GA/log.h
<reponame>tehtechguy/tsp /* log.h Author : <NAME> Date Created : 11/07/14 Description : Header for all logging License : MIT License http://opensource.org/licenses/mit-license.php Copyright : (c) 2014 <NAME> */ #ifndef __LOG_H__ #define __LOG_H__ // Native includes ...
tehtechguy/tsp
TSP_GA/TSP_GA/world.h
<gh_stars>10-100 /* world.h Author : <NAME> Date Created : 11/07/14 Description : Header file for dealing with the 2D world. License : MIT License http://opensource.org/licenses/mit-license.php Copyright : (c) 2014 <NAME> */ #ifndef __WORLD_H__ #define __WORLD_H__ ...
tehtechguy/tsp
TSP_GA/TSP_GA/ga_gpu.h
<filename>TSP_GA/TSP_GA/ga_gpu.h /* ga_gpu.h Author : <NAME> Date Created : 11/07/14 Description : Header for GA implementation for the GPU License : MIT License http://opensource.org/licenses/mit-license.php Copyright : (c) 2014 <NAME> */ #ifndef __GA_GPU_H__ #define...
tehtechguy/tsp
TSP_GA/TSP_GA/common.h
/* common.h Author : <NAME> Date Created : 11/07/14 Description : Header for all shared functions License : MIT License http://opensource.org/licenses/mit-license.php Copyright : (c) 2014 <NAME> */ #ifndef __COMMON_H__ #define __COMMON_H__ // Native Includes #incl...
b593771943/XLLReader
XLLReader/XLLReader/ViewController.h
<gh_stars>0 // // ViewController.h // XLLReader // // Created by xiaoll on 2019/5/15. // Copyright © 2019 iOSCoder. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
laroche/arm-trusted-firmware
plat/arm/css/drivers/scpi/css_scpi.c
/* * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <string.h> #include <arch_helpers.h> #include <common/debug.h> #include <lib/utils.h> #include <plat/common/platform.h> #include <platform_def.h> #include ".....
laroche/arm-trusted-firmware
plat/arm/css/sgm/sgm_mmap_config.c
/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> #include <common/bl_common.h> #include <common/debug.h> #include <plat_arm.h> #include <sgm_variant.h> /* * Table of regions for different BL stages to map using th...
laroche/arm-trusted-firmware
plat/arm/css/drivers/scp/css_pm_scmi.c
<reponame>laroche/arm-trusted-firmware<filename>plat/arm/css/drivers/scp/css_pm_scmi.c /* * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <string.h> #include <arch_helpers.h> #include <common/debug.h> #include ...
laroche/arm-trusted-firmware
plat/arm/board/fvp/fvp_bl2u_setup.c
/* * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <plat/common/platform.h> #include <platform_def.h> #include <plat_arm.h> #include "fvp_private.h" void bl2u_early_platform_setup(struct meminfo *mem_layout, void *plat_info) { a...
laroche/arm-trusted-firmware
include/arch/aarch64/arch.h
<gh_stars>1-10 /* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ARCH_H #define ARCH_H #include <lib/utils_def.h> /******************************************************************************* * MIDR bit definitions *********...
laroche/arm-trusted-firmware
plat/arm/common/arm_tzc400.c
/* * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> #include <common/debug.h> #include <drivers/arm/tzc400.h> #include <plat_arm.h> /* Weak definitions may be overridden in specific ARM standard platform */ #prag...
laroche/arm-trusted-firmware
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
/* * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <lib/bakery_lock.h> #include <lib/mmio.h> #include <platform_def.h> #include <plat_arm.h> #include "../../fvp_private.h" #include "fvp_pwrc.h" /* * TODO: Someday there will be a...
laroche/arm-trusted-firmware
plat/arm/board/juno/include/platform_def.h
/* * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PLATFORM_DEF_H #define PLATFORM_DEF_H /* Enable the dynamic translation tables library. */ #ifdef AARCH32 # if defined(IMAGE_BL32) && RESET_TO_SP_MIN # define PLAT_XLAT_TABLES_DYN...
laroche/arm-trusted-firmware
plat/arm/css/drivers/mhu/css_mhu_doorbell.c
<filename>plat/arm/css/drivers/mhu/css_mhu_doorbell.c /* * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> #include <arch_helpers.h> #include "css_mhu_doorbell.h" #include "../scmi/scmi.h" void mhu_ring_doorbell(s...
laroche/arm-trusted-firmware
plat/arm/common/arm_image_load.c
<filename>plat/arm/common/arm_image_load.c /* * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <common/bl_common.h> #include <common/desc_image_load.h> #include <plat/common/platform.h> #include <plat_arm.h> #p...
torsteingrindvik/fw-nrfconnect-zephyr
arch/x86_64/include/kernel_arch_func.h
<reponame>torsteingrindvik/fw-nrfconnect-zephyr /* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef _KERNEL_ARCH_FUNC_H #define _KERNEL_ARCH_FUNC_H #include <irq.h> #include <xuk-switch.h> static inline void z_arch_kernel_init(void) { /* This is a noop, we already took ca...
torsteingrindvik/fw-nrfconnect-zephyr
arch/x86/include/intel64/kernel_arch_func.h
/* * Copyright (c) 2019 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_ARCH_X86_INCLUDE_INTEL64_KERNEL_ARCH_FUNC_H_ #define ZEPHYR_ARCH_X86_INCLUDE_INTEL64_KERNEL_ARCH_FUNC_H_ #include <kernel_structs.h> #ifndef _ASMLANGUAGE extern void z_x86_switch(void *switch_to, void **switched_fro...
torsteingrindvik/fw-nrfconnect-zephyr
drivers/sensor/lsm6dso/lsm6dso_trigger.c
<reponame>torsteingrindvik/fw-nrfconnect-zephyr /* ST Microelectronics LSM6DSO 6-axis IMU sensor driver * * Copyright (c) 2019 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 * * Datasheet: * https://www.st.com/resource/en/datasheet/lsm6dso.pdf */ #include <kernel.h> #include <sensor.h> #include <gp...
torsteingrindvik/fw-nrfconnect-zephyr
subsys/net/lib/lwm2m/ipso_accelerometer.c
/* * Copyright (c) 2019 Foundries.io * * SPDX-License-Identifier: Apache-2.0 */ /* * Source material for IPSO Accelerometer object (3313): * http://www.openmobilealliance.org/tech/profiles/lwm2m/3313.xml */ #define LOG_MODULE_NAME net_ipso_accel #define LOG_LEVEL CONFIG_LWM2M_LOG_LEVEL #include <logging/log.h...
torsteingrindvik/fw-nrfconnect-zephyr
samples/drivers/CAN/src/main.c
<gh_stars>0 /* * Copyright (c) 2018 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <kernel.h> #include <sys/printk.h> #include <device.h> #include <drivers/can.h> #include <drivers/gpio.h> #include <misc/byteorder.h> #define RX_THREAD_STACK_SIZE 512 #define RX_THREAD_PRIORITY 2 #de...
torsteingrindvik/fw-nrfconnect-zephyr
drivers/sensor/lps22hh/lps22hh_i2c.c
/* ST Microelectronics LPS22HH pressure and temperature sensor * * Copyright (c) 2019 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 * * Datasheet: * https://www.st.com/resource/en/datasheet/lps22hh.pdf */ #include <string.h> #include <drivers/i2c.h> #include <logging/log.h> #include "lps22hh.h" ...
torsteingrindvik/fw-nrfconnect-zephyr
soc/arm/st_stm32/stm32g4/dts_fixup.h
/* * Copyright (c) 2019 <NAME> <<EMAIL>> * * SPDX-License-Identifier: Apache-2.0 */ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_GPIO_STM32_GPIOA_BASE_ADDRESS DT_ST_STM32_GPIO_48000000_BASE_ADDRESS #define DT_GPIO_STM32_GPIOA_CLOCK_BI...
torsteingrindvik/fw-nrfconnect-zephyr
arch/x86/include/ia32/kernel_arch_thread.h
<reponame>torsteingrindvik/fw-nrfconnect-zephyr<filename>arch/x86/include/ia32/kernel_arch_thread.h<gh_stars>0 /* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Per-arch thread definition * * This file contains definitions for * * struct _thread_arch ...
torsteingrindvik/fw-nrfconnect-zephyr
lib/updatehub/updatehub.c
<reponame>torsteingrindvik/fw-nrfconnect-zephyr /* * Copyright (c) 2018, 2019 O.S.Systems * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> LOG_MODULE_REGISTER(updatehub); #include <zephyr.h> #include <logging/log_ctrl.h> #include <net/socket.h> #include <net/net_mgmt.h> #include <net/net_ip.h...
torsteingrindvik/fw-nrfconnect-zephyr
kernel/include/kernel_internal.h
<gh_stars>0 /* * Copyright (c) 2010-2012, 2014-2015 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Architecture-independent private kernel APIs * * This file contains private kernel APIs that are not architecture-specific. */ #ifndef ZEPHYR_KERNEL_INCLUDE_KERNEL_INTE...
torsteingrindvik/fw-nrfconnect-zephyr
tests/lib/timeutil/src/test_s64.c
/* * Copyright (c) 2019 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ /* Tests where time_t requires a 64-bit value */ #include <errno.h> #include <ztest.h> #include "timeutil_test.h" static const struct timeutil_test_data tests[] = { /* 32-bit, but algorithm subtraction underflows */ { .unix = -2147483648...
torsteingrindvik/fw-nrfconnect-zephyr
drivers/timer/cortex_m_systick.c
<gh_stars>1-10 /* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <drivers/timer/system_timer.h> #include <sys_clock.h> #include <spinlock.h> #include <arch/arm/cortex_m/cmsis.h> void z_arm_exc_exit(void); #define COUNTER_MAX 0x00ffffff #define TIMER_STOPPED 0xff000000 ...
torsteingrindvik/fw-nrfconnect-zephyr
arch/x86/core/intel64/cpu.c
/* * Copyright (c) 2019 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ #include <kernel.h> #include <kernel_arch_data.h> #include <kernel_arch_func.h> #include <kernel_structs.h> #include <arch/x86/multiboot.h> #include <drivers/interrupt_controller/loapic.h> /* * Map of CPU logical IDs to CPU local A...
torsteingrindvik/fw-nrfconnect-zephyr
drivers/sensor/lis2dw12/lis2dw12_i2c.c
/* ST Microelectronics LIS2DW12 3-axis accelerometer driver * * Copyright (c) 2019 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 * * Datasheet: * https://www.st.com/resource/en/datasheet/lis2dw12.pdf */ #include <string.h> #include <drivers/i2c.h> #include <logging/log.h> #include "lis2dw12.h" #...
torsteingrindvik/fw-nrfconnect-zephyr
drivers/can/can_stm32.c
<filename>drivers/can/can_stm32.c /* * Copyright (c) 2018 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ #include <clock_control/stm32_clock_control.h> #include <drivers/clock_control.h> #include <sys/util.h> #include <string.h> #include <kernel.h> #include <soc.h> #include <errno.h> #include <stdbool.h> #inclu...
torsteingrindvik/fw-nrfconnect-zephyr
soc/arm/st_stm32/stm32l4/dts_fixup.h
<filename>soc/arm/st_stm32/stm32l4/dts_fixup.h<gh_stars>1-10 /* SPDX-License-Identifier: Apache-2.0 */ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_GPIO_STM32_GPIOA_BASE_ADDRESS DT_ST_STM32_GPIO_48000000_BASE_ADDRESS #define DT_GPIO_STM32_G...
torsteingrindvik/fw-nrfconnect-zephyr
include/arch/arc/v2/irq.h
<filename>include/arch/arc/v2/irq.h /* * Copyright (c) 2014 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief ARCv2 public interrupt handling * * ARCv2 kernel interrupt handling interface. Included by arc/arch.h. */ #ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_IRQ_H_ #define ZEPH...
torsteingrindvik/fw-nrfconnect-zephyr
samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/no_transition_work_handler.c
<filename>samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/no_transition_work_handler.c /* Bluetooth: Mesh Generic OnOff, Generic Level, Lighting & Vendor Models * * Copyright (c) 2018 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ #include "common.h" #include "ble_mesh.h" #include "device_compo...
torsteingrindvik/fw-nrfconnect-zephyr
arch/x86/include/kernel_arch_data.h
<gh_stars>1-10 /* * Copyright (c) 2019 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_ARCH_X86_INCLUDE_KERNEL_ARCH_DATA_H_ #define ZEPHYR_ARCH_X86_INCLUDE_KERNEL_ARCH_DATA_H_ /* * Exception/interrupt vector definitions: vectors 20 to 31 are reserved * for Intel; vectors 32 to 255 are u...
torsteingrindvik/fw-nrfconnect-zephyr
include/arch/x86_64/arch.h
<filename>include/arch/x86_64/arch.h /* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef _X86_64_ARCH_H #define _X86_64_ARCH_H #include <arch/common/sys_io.h> #include <arch/common/ffs.h> #define STACK_ALIGN 8 #define DT_INST_0_INTEL_HPET_BASE_ADDRESS 0xFED00000U #define ...
torsteingrindvik/fw-nrfconnect-zephyr
tests/benchmarks/timing_info/src/thread_bench.c
/* * Copyright (c) 2013-2015 Wind River Systems, Inc. * Copyright (c) 2016 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Measure time * */ #include <kernel.h> #include <zephyr.h> #include <tc_util.h> #include <ksched.h> #include "timing_info.h" char sline[256]; /* FILE *ou...
torsteingrindvik/fw-nrfconnect-zephyr
tests/subsys/settings/nvs/src/settings_test_nvs.c
/* * Copyright (c) 2019 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <stdlib.h> #include <string.h> #include "settings_priv.h" #include "settings_test.h" u8_t val8; u8_t val8_un; u32_t val32; u64_t val64; int test_get_called; int test_set_called; int test_commit_called; int test_e...
torsteingrindvik/fw-nrfconnect-zephyr
subsys/net/lib/socks/socks.c
<reponame>torsteingrindvik/fw-nrfconnect-zephyr /* * Copyright (c) 2019 Antmicro Ltd * * Copyright (c) 2019 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> LOG_MODULE_REGISTER(net_socks, CONFIG_SOCKS_LOG_LEVEL); #include <zephyr.h> #include <net/socket.h> #include <net/sock...
jnpkrn/wlroots
include/wlr/types/wlr_gtk_primary_selection.h
/* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H #define WLR_TYPES_WLR_GTK_PRIMARY_SELECTION_H #incl...
jnpkrn/wlroots
include/wlr/types/wlr_seat.h
/* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_TYPES_WLR_SEAT_H #define WLR_TYPES_WLR_SEAT_H #include <time.h> #include <wayland-ser...
jnpkrn/wlroots
include/xwayland/selection.h
#ifndef XWAYLAND_SELECTION_H #define XWAYLAND_SELECTION_H #include <xcb/xfixes.h> #define INCR_CHUNK_SIZE (64 * 1024) #define XDND_VERSION 5 struct wlr_xwm_selection; struct wlr_xwm_selection_transfer { struct wlr_xwm_selection *selection; bool incr; bool flush_property_on_delete; bool property_set; struct w...
VladimirDinic/WDSimplexMethod
WDSimplexMethod/WDSimplexMethod/WDSimplexMethod.h
// // WDSimplexMethod.h // WDSimplexMethod // // Created by <NAME> on 10/13/17. // Copyright © 2017 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for WDSimplexMethod. FOUNDATION_EXPORT double WDSimplexMethodVersionNumber; //! Project version string for WDSimplexMethod. FOUNDA...
thierryH91200/TFDate
TFDate/TFDate.h
// // TFDate.h // TFDate // // Created by <NAME> on 21/01/2020. // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for TFDate. FOUNDATION_EXPORT double TFDateVersionNumber; //! Project version string for TFDate. FOUNDATION_EXPORT const unsigned char T...
thierryH91200/TFDate
TFDate/TFDatePicker.h
// // DatePickerTextField.h // ShootStudio // // Created by <NAME> on 16/06/2010. // Copyright 2010 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TFDatePicker : NSDatePicker <NSDatePickerCellDelegate, NSPopoverDelegate> /*! Class default timezone accessors. - timeZone defaults to this...
Jenner4S/Turbo
Turbo/Classes/External/Calendar/KalViewController.h
<filename>Turbo/Classes/External/Calendar/KalViewController.h /* * Copyright (c) 2009 <NAME> * License: http://www.opensource.org/licenses/mit-license.html */ #import "KalView.h" // for the KalViewDelegate protocol #import "KalDataSource.h" // for the KalDataSourceCallbacks protocol @class KalLogic, KalDate...
Jenner4S/Turbo
Turbo/Classes/Shared/XML/TRBXMLElement.h
<filename>Turbo/Classes/Shared/XML/TRBXMLElement.h /* The MIT License (MIT) Copyright (c) 2014 <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, including without l...
Jenner4S/Turbo
Turbo/Classes/Movies/TRBRottenTomatoesClient.h
<gh_stars>1-10 /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, ...
Jenner4S/Turbo
Turbo/Classes/Torrents/Shared/TRBHost.h
<reponame>Jenner4S/Turbo<gh_stars>1-10 /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation th...
Jenner4S/Turbo
Turbo/Classes/TVShows/Model/TRBTVShowSeason.h
<gh_stars>1-10 /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, ...
Jenner4S/Turbo
Turbo/Classes/External/Tapku/AlertCenter/TKAlertCenter.h
// // TKAlertCenter.h // Created by <NAME> on 9/29/10. // /* tapku.com || http://github.com/devinross/tapkulibrary 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, in...
Jenner4S/Turbo
Turbo/Classes/Shared/TRBGlobals.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/Shared/TRBPioneerReceiverManager.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/Movies/TMDb/TRBTMDbClient.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/Shared/XML/TRBRSSFeed.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/MainContainer/TRBRevealingViewController.h
<filename>Turbo/Classes/MainContainer/TRBRevealingViewController.h /* The MIT License (MIT) Copyright (c) 2014 <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, inc...
Jenner4S/Turbo
Turbo/Classes/TVShows/Model/TRBTVShowsStorage.h
<reponame>Jenner4S/Turbo<gh_stars>1-10 /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation th...
Jenner4S/Turbo
Turbo/Classes/Torrents/Releases/TRBReleaseFilters.h
<filename>Turbo/Classes/Torrents/Releases/TRBReleaseFilters.h /* The MIT License (MIT) Copyright (c) 2014 <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, includin...
Jenner4S/Turbo
Turbo/Classes/Library/TRBLibraryMovieDetailsViewController.h
<reponame>Jenner4S/Turbo /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to u...
Jenner4S/Turbo
Turbo/Classes/External/Tapku/Categories/NSDate+TKCategory.h
<reponame>Jenner4S/Turbo<gh_stars>1-10 // // NSDateAdditions.h // Created by <NAME> on 7/28/09. // /* tapku.com || http://github.com/devinross/tapkulibrary Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
Jenner4S/Turbo
Turbo/Classes/Movies/TRBMovie.h
<reponame>Jenner4S/Turbo /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to u...
Jenner4S/Turbo
Turbo/Classes/Torrents/Shared/TRBTorrent.h
<reponame>Jenner4S/Turbo<filename>Turbo/Classes/Torrents/Shared/TRBTorrent.h /* The MIT License (MIT) Copyright (c) 2014 <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 restri...
Jenner4S/Turbo
Turbo/Classes/Shared/URLSession/TRBHTTPSession.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/External/Categories/UIColor-HSVAdditions.h
<gh_stars>1-10 // // UIColor-HSVAdditions.h // // Created by <NAME> (br<EMAIL>) on 12/31/09. // // #import "UIColor-Expanded.h" #define MIN3(x,y,z) ((y) <= (z) ? \ ((x) <= (y) ? (x) : (y)) \ : \ ((x) <= (z) ? (x) : (z))) #define MAX3(x,y,z) ((y) >= (z) ? \ ((x) >= (y) ? (x) : (y)) \ : \ ((x) >= (z) ? (x) : (z...
Jenner4S/Turbo
Turbo/Classes/External/Calendar/KalDataSource.h
<gh_stars>1-10 /* * Copyright (c) 2009 <NAME> * License: http://www.opensource.org/licenses/mit-license.html */ /* * KalDataSource protocol * ---------------------- * * The KalDataSource's protocol has 2 responsibilities: * 1) Vend UITableViewCells as part of the UITableViewDataSource protocol. * ...
Jenner4S/Turbo
Turbo/Classes/Library/TRBLibraryManager.h
<filename>Turbo/Classes/Library/TRBLibraryManager.h /* The MIT License (MIT) Copyright (c) 2014 <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, including without ...
Jenner4S/Turbo
Turbo/Classes/Categories/NSString+TRBUnits.h
/* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation the rights to use, copy, modify, merge, ...
Jenner4S/Turbo
Turbo/Classes/External/Calendar/KalDate.h
<filename>Turbo/Classes/External/Calendar/KalDate.h<gh_stars>1-10 /* * Copyright (c) 2009 <NAME> * License: http://www.opensource.org/licenses/mit-license.html */ @interface KalDate : NSObject { struct { NSUInteger month : 4; NSUInteger day : 5; NSUInteger year : 15; } a; } + (KalDate *)dateForDay...
Jenner4S/Turbo
Turbo/Classes/Torrents/Shared/TRBTorrentClient.h
<reponame>Jenner4S/Turbo<gh_stars>1-10 /* The MIT License (MIT) Copyright (c) 2014 <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, including without limitation th...
Jenner4S/Turbo
Turbo/Classes/External/Categories/NSString+Levenshtein.h
// // NSString+Levenshtein.h // // Created by <NAME> on Sat Aug 09 2003. // <EMAIL> @interface NSString (Levenshtein) // calculate the smallest distance between all words in stringA and stringB - (float) compareWithString: (NSString *) stringB; // calculate the distance between two string treating them each as ...
393385724/DDMISDKDemo
DDMISDK/DDMIDownLoader.h
<gh_stars>1-10 // // DDMIDownLoader.h // HMLoginDemo // // Created by lilingang on 15/8/5. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <Foundation/Foundation.h> typedef void(^DDMIDownLoaderEventHandler) (NSData *data, NSError *error); @interface DDMIDownLoader : NSObject - (void)loadLoginC...
393385724/DDMISDKDemo
DDMISDK/DDMIBaseViewController.h
// // DDMIBaseViewController.h // HMLoginDemo // // Created by lilingang on 15/8/5. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <UIKit/UIKit.h> #import "DDMIDefines.h" #import "DDMITypeDefines.h" @protocol DDMICancelDelegate <NSObject> - (void)viewControllerCanceled:(UIViewController *)view...
393385724/DDMISDKDemo
DDMISDK/DDMIRequestHandle.h
// // DDMIRequestHandle.h // HMLoginDemo // // Created by lilingang on 15/8/3. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSUInteger, DDMIErrorType) { DDMIErrorUnkwon, //**未知错误*/ DDMIErrorNetworkNotConnected, //**网络未连接*/ ...
393385724/DDMISDKDemo
DDMISDK/DDMIUserInfoItem.h
<reponame>393385724/DDMISDKDemo // // DDMIUserInfoItem.h // midong // // Created by lilingang on 16/2/1. // Copyright © 2016年 HM IOS Team. All rights reserved. // #import <Foundation/Foundation.h> @interface DDMIUserInfoItem : NSObject @property (nonatomic, copy, readonly) NSString *userId; @property (nonatomic,...
393385724/DDMISDKDemo
DDMISDK/DDMIVerifyLoginViewController.h
<reponame>393385724/DDMISDKDemo // // DDMIVerifyLoginViewController.h // HMLoginDemo // // Created by lilingang on 15/8/5. // Copyright (c) 2015年 lilingang. All rights reserved. // #import "DDMIBaseViewController.h" @class DDMIVerifyLoginViewController; @class DDMIRequestHandle; @protocol DDMIVerifyLoginViewCont...
393385724/DDMISDKDemo
DDMISDK/XMPassport.framework/Headers/MPEnDecryptCoder.h
// // MPEnDecryptCoder.h // MiPassportFoundation // // Created by <NAME> on 13-12-3. // Copyright (c) 2013年 Xiaomi. All rights reserved. // #import <Foundation/Foundation.h> @protocol MPEnDecryptCoder <NSObject> - (NSString *)encryptString:(NSString *)plainString; - (NSString *)decryptString:(NSString *)cipherSt...
393385724/DDMISDKDemo
DDMISDK/DDMICircleIndicator.h
<gh_stars>1-10 // // DDMICircleIndicator.h // HMLoginDemo // // Created by lilingang on 15/8/5. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <UIKit/UIKit.h> @interface DDMICircleIndicator : UIView - (instancetype)initWithFrame:(CGRect)frame; - (instancetype)initWithFrame:(CGRect)frame imageN...
393385724/DDMISDKDemo
DDMISDK/DDMILoginViewController.h
// // DDMILoginViewController.h // HMLoginDemo // // Created by lilingang on 15/8/4. // Copyright (c) 2015年 lilingang. All rights reserved. // #import "DDMIBaseViewController.h" #import "DDMIRequestHandle.h" typedef NS_ENUM(NSUInteger, DDMILoginType) { DDMILoginTypeDefault, DDMILoginTypeImageVerification...
393385724/DDMISDKDemo
DDMISDK/UIButton+DDHitTestEdgeInsets.h
<reponame>393385724/DDMISDKDemo // // UIButton+DDHitTestEdgeInsets.h // HMLoginDemo // // Created by lilingang on 15/8/6. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <UIKit/UIKit.h> @interface UIButton (DDHitTestEdgeInsets) @property(nonatomic, assign) UIEdgeInsets hitTestEdgeInsets; @end
393385724/DDMISDKDemo
DDMISDK/XMPassport.framework/Headers/XMPassportRequest.h
<reponame>393385724/DDMISDKDemo // // XMPassportRequest.h // MiPassportFoundation // // Created by <NAME> on 13-10-29. // Copyright (c) 2013年 Xiaomi. All rights reserved. // #import <Foundation/Foundation.h> #import "MPEnDecryptCoder.h" @protocol XMPassportRequestDelegate; @interface XMPassportRequest : NSObject...
393385724/DDMISDKDemo
DDMISDK/UIView+DDAction.h
// // UIView+DDAction.h // HMLoginDemo // // Created by lilingang on 15/8/5. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (DDAction) - (void)ddAddTarget:(id)target tapAction:(SEL)action; @end
393385724/DDMISDKDemo
DDMISDK/UIView+DDFrame.h
// // UIView+DDFrame.h // HMLoginDemo // // Created by lilingang on 15/8/4. // Copyright (c) 2015年 lilingang. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (DDFrame) @property (nonatomic, readwrite) CGFloat ddTop; @property (nonatomic, readwrite) CGFloat ddBottom; @property (nonatomic, readwr...
393385724/DDMISDKDemo
DDMISDK/XMPassport.framework/Headers/XMPassportConstants.h
// // XMPassportConstans.h // MiPassportFoundation // // Created by <NAME> on 13-10-23. // Copyright (c) 2013年 Xiaomi. All rights reserved. // #define kXMPassportErrorDomain @"XMPassportErrorDomain" #define ERROR_CODE @"code" #define ERROR_REASON ...
393385724/DDMISDKDemo
DDMISDK/XMPassport.framework/Headers/XMPassport.h
// // XMPassport.h // MiPassportFoundation // // Created by <NAME> on 13-10-23. // Copyright (c) 2013年 Xiaomi. All rights reserved. // #import <Foundation/Foundation.h> #import "XMPassportRequest.h" @protocol MPSessionDelegate; @interface XMPassport : NSObject <XMPassportRequestDelegate> @property (nonatomic, s...