repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
kasshisatari/Kanade | file.h | <filename>file.h<gh_stars>1-10
/* Copyright 2020 oscillo
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, pu... |
kasshisatari/Kanade | vlc.h | <reponame>kasshisatari/Kanade<filename>vlc.h
/* Copyright 2020 oscillo
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, mod... |
kasshisatari/Kanade | vlcwrapper.c | <filename>vlcwrapper.c
/* Copyright 2020 oscillo
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, publish, d... |
kasshisatari/Kanade | player.h | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | favorite.c | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | history.c | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | favorite.h | /* Copyright 2020 oscillo
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, publish, distribute, subli... |
kasshisatari/Kanade | book.h | <reponame>kasshisatari/Kanade
/* Copyright 2020 oscillo
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, pub... |
kasshisatari/Kanade | omxplayer.h | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | history.h | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | main.c | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | omxplayer.c | <reponame>kasshisatari/Kanade
/* Copyright 2020 oscillo
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, pub... |
kasshisatari/Kanade | user.c | <filename>user.c
/* Copyright 2020 oscillo
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, publish, distrib... |
kasshisatari/Kanade | player.c | <gh_stars>1-10
/* Copyright 2020 oscillo
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, publish, distribut... |
kasshisatari/Kanade | file.c | <reponame>kasshisatari/Kanade
/* Copyright 2020 oscillo
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, pub... |
kasshisatari/Kanade | book.c | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
kasshisatari/Kanade | vlc.c | /* Copyright 2020 oscillo
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, publish, distribute, sublicense,
... |
schwehr/gdal-autotest2 | cpp/util/cpl_cstringlist.h | <reponame>schwehr/gdal-autotest2
// Copyright 2017 Google Inc. All Rights Reserved.
//
// 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
//... |
schwehr/gdal-autotest2 | cpp/util/cpl_memory_closer.h | <filename>cpp/util/cpl_memory_closer.h
// Wrap CPLStrdup to call CPLFree when an instance goes out of scope.
//
// Copyright 2014 Google Inc. All Rights Reserved.
//
// 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... |
schwehr/gdal-autotest2 | cpp/util/error_handler.h | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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... |
schwehr/gdal-autotest2 | cpp/util/ogr/ogrfeaturedefn.h | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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... |
schwehr/gdal-autotest2 | cpp/util/vsimem.h | #ifndef THIRD_PARTY_GDAL_AUTOTEST2_CPP_UTIL_VSIMEM_H_
#define THIRD_PARTY_GDAL_AUTOTEST2_CPP_UTIL_VSIMEM_H_
#include <string>
#include "logging.h"
#include "port/cpl_vsi.h"
namespace autotest2 {
// Writes a buffer to an in-memory filesystem and deletes the file when the
// instance goes out of scope.
class VsiMemTem... |
timwr/sigar | src/os/openbsd/openbsd_sigar.c | /*
* Copyright (c) 2004-2009 Hyperic, Inc.
* Copyright (c) 2009 SpringSource, Inc.
* Copyright (c) 2009-2010 VMware, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
timwr/sigar | src/os/aix/sigar_os.h | /*
* Copyright (c) 2004-2007, 2009 Hyperic, Inc.
* Copyright (c) 2009 SpringSource, Inc.
* Copyright (c) 2010 VMware, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
timwr/sigar | examples/sysinfo.c | /*
* Copyright (c) 2008 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
timwr/sigar | src/os/openbsd/sigar_os.h | /*
* Copyright (c) 2004-2006, 2008 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
timwr/sigar | examples/cpuinfo.c | /*
* Copyright (c) 2008 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
timwr/sigar | examples/sigar_ps.c | /*
* Copyright (c) 2006 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
timwr/sigar | include/sigar_log.h | <gh_stars>10-100
/*
* Copyright (c) 2004, 2006 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
timwr/sigar | src/sigar_rma.c | /*
* 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 in writing, software
* distributed u... |
timwr/sigar | src/os/darwin/if_types.h | <filename>src/os/darwin/if_types.h
/*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mus... |
timwr/sigar | src/os/freebsd/freebsd_sigar.c | /*
* Copyright (c) 2004-2009 Hyperic, Inc.
* Copyright (c) 2009 SpringSource, Inc.
* Copyright (c) 2009-2010 VMware, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
timwr/sigar | src/sigar_elf.c | #include <stdio.h>
#include <stdint.h>
#include <machine/endian.h>
#include "sigar.h"
#include "sigar_private.h"
#include "sigar_util.h"
#include "sigar_os.h"
#define EI_CLASS 4
#define ELFCLASS32 1
#define ELFCLASS64 2
#define EI_DATA 5
#define ELFDATA2LSB 1
#define ELFDATA2MSB 2
#define EI_NIDENT 16
uni... |
timwr/sigar | src/os/darwin/darwin_sigar.c | /*
* Copyright (c) 2004-2009 Hyperic, Inc.
* Copyright (c) 2009 SpringSource, Inc.
* Copyright (c) 2009-2010 VMware, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
timwr/sigar | examples/diskinfo.c | /*
* Copyright (c) 2008 Hyperic, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
imGit/OpenMV | src/omv/boards/OPENMV4/omv_boardconfig.h | <filename>src/omv/boards/OPENMV4/omv_boardconfig.h
/*
* This file is part of the OpenMV project.
* Copyright (c) 2013/2014 <NAME> <<EMAIL>>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* Board configuration and pin definitions.
*
*/
#ifndef __OMV_BOARDCONFIG_H__
#define __OM... |
imGit/OpenMV | src/omv/lepton.h | <filename>src/omv/lepton.h
/*
* This file is part of the OpenMV project.
* Copyright (c) 2013-2018 <NAME> <<EMAIL>>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* Lepton driver.
*
*/
#ifndef __LEPTON_H__
#define __LEPTON_H__
#include "sensor.h"
#define LEPTON_XCLK_FREQ 24000... |
jonayerdi/base64 | src/base64_file.c | <filename>src/base64_file.c
/***********************************************************************************
zlib License
Copyright (c) 2017 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this s... |
jonayerdi/base64 | src/base64_app.c | <filename>src/base64_app.c
/***********************************************************************************
zlib License
Copyright (c) 2017 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of ... |
jonayerdi/base64 | src/base64.h | <filename>src/base64.h
/***********************************************************************************
zlib License
Copyright (c) 2017 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this... |
jonayerdi/base64 | src/base64_file.h | /***********************************************************************************
zlib License
Copyright (c) 2017 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is gran... |
jonayerdi/base64 | src/base64.c | /***********************************************************************************
zlib License
Copyright (c) 2017 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permissio... |
hortont424/notebook | Notebook/NBUI/NBNotebookView.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBUI/NBTextView.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBCore/NBCell.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBSettings/NBTheme.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBCore/NSString-ranges.h | // Copyright (c) 2010-2011, <NAME>. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
@interface NSString (ranges)
- (NSRange)rangeOfCharactersFromSet:(NSCharacterSet*)charset
options:(NSStr... |
hortont424/notebook | Notebook/NBSettings/NBSettingsController.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBUI/NBCellView.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBCore/NBEngine.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBApplication/NBApplication.h | /*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
hortont424/notebook | Notebook/NBApplication/NBDocument.h | <reponame>hortont424/notebook
/*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... |
hortont424/notebook | Notebook/NBUI/NBUI.h | <reponame>hortont424/notebook<filename>Notebook/NBUI/NBUI.h
/*
* Copyright 2011 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the ab... |
jeffreyjb/Planet-Hopper | Source/PlanetHopper/SaveGameData.h | <gh_stars>0
// Copyright <NAME> 2020
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/SaveGame.h"
#include "SaveGameData.generated.h"
/**
*
*/
UCLASS()
class PLANETHOPPER_API USaveGameData : public USaveGame
{
GENERATED_BODY()
public:
USaveGameData();
UPROPERTY(VisibleAnywhere, Category = "Ba... |
jeffreyjb/Planet-Hopper | Source/PlanetHopper/Planet.h | <filename>Source/PlanetHopper/Planet.h<gh_stars>0
// Copyright <NAME> 2020
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Components/StaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "PlanetHopperGameMode.h"
#include "Planet.generated.h"
UCLASS()
class PLANETHOPPE... |
jeffreyjb/Planet-Hopper | Source/PlanetHopper/PlanetHopperGameMode.h | <filename>Source/PlanetHopper/PlanetHopperGameMode.h
// Copyright <NAME> 2020
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "SaveGameData.h"
#include "PlanetHopperGameMode.generated.h"
/**
*
*/
UCLASS()
class PLANETHOPPER_API APlanetHopperGameMode : public AGameModeBase
{
... |
huangzhiqiang2012/ZQCycleScrollView | Source/ZQCycleScrollView.h | //
// ZQCycleScrollView.h
// ZQCycleScrollView
//
// Created by Darren on 2019/5/21.
// Copyright © 2019 Darren. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for ZQCycleScrollView.
FOUNDATION_EXPORT double ZQCycleScrollViewVersionNumber;
//! Project version string for ZQCycleScrollV... |
MatthewA4/SHADERed | Options.h | <reponame>MatthewA4/SHADERed
#pragma once
#define PIPELINE_ITEM_NAME_LENGTH 64
// #define SEMANTIC_LENGTH 32
#define VARIABLE_NAME_LENGTH 256
#define MAX_RENDER_TEXTURES 16
#define MODEL_GROUP_NAME_LENGTH 64
#define SDL_GLSL_VERSION "#version 330"
#define IMGUI_INI_FILE "data/workspace.dat"
#define IMGUI_ERROR_COLOR... |
basaltex/aze | include/utf.h | <gh_stars>0
/* Copyright (c) 2018, <EMAIL>
*
* Distributed under the Boost Software License, Version 1.0 (found in the
* LICENSE file in the root directory of this source tree)
*/
/* this file has been automatically generated on 2018-11-26 18:00:16 and should not be edited manually. */
#pragma once
#in... |
kublaios/SwiftyOnboard | Example/Pods/Target Support Files/SwiftyOnboard/SwiftyOnboard-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "SwiftyOnboard.h"
FOUNDATION_EXPORT double SwiftyOnboardVersionNumber;
FOUNDATION_EXPORT const unsigned char SwiftyO... |
ChopinDavid/UpsellViewController | UpsellViewController/UpsellViewController.h | //
// UpsellViewController.h
// UpsellViewController
//
// Created by <NAME> on 2/11/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for UpsellViewController.
FOUNDATION_EXPORT double UpsellViewControllerVersionNumber;
//! Project version strin... |
varung2/raytracing.github.io | src/InOneWeekend/triangle.h | #ifndef TRIANGLE_H
#define TRIANGLE_H
#include "rtweekend.h"
#include "hittable.h"
class triangle : public hittable {
public:
triangle() : enable_vertex_norms(false) {}
triangle(const vec3& A, const vec3& B, const vec3& C,
const vec3& A_norm, const vec3& B_norm, const vec3& C_norm,
const ... |
q-barbar/esp-homekit-devices | libs/led_codes/led_codes.c | /*
* LED Codes
*
* Copyright 2018 <NAME> (@RavenSystem)
*
* 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... |
q-barbar/esp-homekit-devices | external_libs/homekit/src/json.h | #pragma once
#include <stdbool.h>
struct json_stream;
typedef struct json_stream json_stream;
typedef void (*json_flush_callback)(uint8_t *buffer, size_t size, void *context);
json_stream *json_new(size_t buffer_size, json_flush_callback on_flush, void *context);
void json_free(json_stream *json);
void json_flush(... |
q-barbar/esp-homekit-devices | external_libs/wolfssl/user_settings.h | #ifndef wolfcrypt_user_settings_h
#define wolfcrypt_user_settings_h
#include <esp/hwrand.h>
static inline int hwrand_generate_block(uint8_t *buf, size_t len) {
hwrand_fill(buf, len);
return 0;
}
#define FREERTOS
#define WC_NO_HARDEN
#define NO_WOLFSSL_DIR
#define SINGLE_THREADED
#define WOLFSSL_LWIP
#define ... |
q-barbar/esp-homekit-devices | devices/KellyTron/main.c | <filename>devices/KellyTron/main.c
/*
* KellyTron
*
* v0.0.1
*
* Copyright 2018 <NAME> (@RavenSystem)
*
* 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/lice... |
q-barbar/esp-homekit-devices | external_libs/wifi_config/src/form_urlencoded.h | #pragma once
typedef struct _form_param {
char *name;
char *value;
struct _form_param *next;
} form_param_t;
form_param_t *form_params_parse(const char *s);
form_param_t *form_params_find(form_param_t *params, const char *name);
void form_params_free(form_param_t *params);
|
q-barbar/esp-homekit-devices | external_libs/homekit/src/tlv.h | #ifndef __TLV_H__
#define __TLV_H__
typedef unsigned char byte;
typedef struct _tlv {
struct _tlv *next;
byte type;
byte *value;
size_t size;
} tlv_t;
typedef struct {
tlv_t *head;
} tlv_values_t;
tlv_values_t *tlv_new();
void tlv_free(tlv_values_t *values);
int tlv_add_value(tlv_values_t *v... |
q-barbar/esp-homekit-devices | external_libs/wifi_config/src/form_urlencoded.c | #include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "form_urlencoded.h"
char *url_unescape(const char *buffer, size_t size) {
int len = 0;
int ishex(int c) {
c = toupper(c);
return ('0' <= c && c <= '9') || ('A' <= c && c <= 'F');
}
int hexvalue(int c) {
c = t... |
q-barbar/esp-homekit-devices | external_libs/homekit/src/tlv.c | <gh_stars>1-10
#include <stdlib.h>
#include <string.h>
#include "tlv.h"
tlv_values_t *tlv_new() {
tlv_values_t *values = malloc(sizeof(tlv_values_t));
values->head = NULL;
return values;
}
void tlv_free(tlv_values_t *values) {
tlv_t *t = values->head;
while (t) {
tlv_t *t2 = t;
... |
q-barbar/esp-homekit-devices | libs/led_codes/led_codes.h | /*
* LED Codes
*
* Copyright 2018 <NAME> (@RavenSystem)
*
* 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... |
q-barbar/esp-homekit-devices | devices/RavenCore/main.c | /*
* RavenCore
*
* v0.5.4
*
* Copyright 2018 <NAME> (@RavenSystem)
*
* 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 r... |
numaru/hello-cortex-m | src/main.c | #include <stdbool.h>
#include <stdio.h>
#include "stm32f1xx_hal.h"
void SysTick_Handler(void)
{
}
int main(int argc, char *argv[])
{
HAL_Init();
printf("Hello World\n");
while (true)
{
}
return 0;
}
|
numaru/hello-cortex-m | src/retarget.c | <filename>src/retarget.c
#include <stdbool.h>
#include <stdint.h>
#include "stm32f1xx_hal.h"
#define USARTx USART2
#define USARTx_CLK_ENABLE() __HAL_RCC_USART2_CLK_ENABLE();
#define USARTx_RX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
#define USARTx_TX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
#define USART... |
vosdev/cilium-cli | vendor/github.com/petermattis/goid/goid_go1.3.c | // Copyright 2015 <NAME>.
//
// 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 in writ... |
aabmass/opentelemetry-operations-cpp | exporters/trace/gcp_exporter/recordable.h | #pragma once
#include "google/devtools/cloudtrace/v2/tracing.grpc.pb.h"
#include "opentelemetry/sdk/trace/recordable.h"
#include "opentelemetry/version.h"
#include "opentelemetry/nostd/variant.h"
constexpr char kProjectsPathStr[] = "projects/";
constexpr char kTracesPathStr[] = "/traces/";
constexpr char kSpansPathS... |
azadeh-afzar/CCN-IRIBU | src/ccnl-utils/src/ccnl-common.c | <gh_stars>10-100
/*
* @f util/ccnl-common.c
* @b common functions for the CCN-lite utilities
*
* Copyright (C) 2013-15, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright no... |
azadeh-afzar/CCN-IRIBU | src/ccnl-utils/include/ccnl-socket.h | /**
* @addtogroup CCNL-utils
* @{
*
* @file ccnl-socket.h
* @brief Request content: send an interest open socket etc
*
* Copyright (C) 2013-18, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided tha... |
azadeh-afzar/CCN-IRIBU | src/ccnl-utils/include/ccnl-overflow.h | /**
* @addtogroup CCNL-utils
* @{
*
* @file ccnl-overflow.h
* @brief Provides macros for detecting integer overflows
*
* Copyright (C) 2018 <NAME>, MSA Safety
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
... |
azadeh-afzar/CCN-IRIBU | src/ccnl-riot/include/ccn-lite-riot.h | /*
* Copyright (C) 2015, 2016 INRIA
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#ifndef CCN_LITE_RIOT_H
#define CCN_LITE_RIOT_H
/**
* @defgroup pkg_ccnlite CCN-Lite stack
* @ingr... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-sched.h | /*
* @f ccnl-sched.h
* @b CCN lite, core CCNx protocol logic
*
* Copyright (C) 2011-18 University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-pkt-util.h | /*
* @f ccnl-pkt-util.h
* @b Helper functions for identifying packets
*
* Copyright (C) 2011-18 University of Basel
* Copyright (C) 2018 Safety IO
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright... |
azadeh-afzar/CCN-IRIBU | test/ccnl-core/test_producer.c | /**
* @file test-producer.c
* @brief CCN lite - Tests for the local producer functions
*
* Copyright (C) 2018 MSA Safety
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
azadeh-afzar/CCN-IRIBU | test/ccnl-core/test_pkt-util.c | /**
* @file test_pkt-util.c
* @brief Tests for packet util functions
*
* Copyright (C) 2018 Safety IO
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all ... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/src/ccnl-pkt-util.c | <gh_stars>10-100
/*
* @f ccnl-pkt-util.c
*
* Copyright (C) 2011-15, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* T... |
azadeh-afzar/CCN-IRIBU | src/ccnl-android/native/include/ccn-lite-android.h | <filename>src/ccnl-android/native/include/ccn-lite-android.h
/*
* @f ccn-lite-android.h
* @b native code (library) for Android devices
*
* Copyright (C) 2017, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provide... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/src/ccnl-pkt.c | <reponame>azadeh-afzar/CCN-IRIBU<gh_stars>10-100
/*
* @f ccnl-pkt.c
* @b CCN lite, core CCNx protocol logic
*
* Copyright (C) 2011-18 University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyri... |
azadeh-afzar/CCN-IRIBU | src/ccnl-utils/src/ccn-lite-ccnb2xml.c | /*
* @f util/ccn-lite-ccnb2xml.c
* @b pretty print CCNB content to XML
*
* Copyright (C) 2013, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission ... |
azadeh-afzar/CCN-IRIBU | src/ccnl-android/native/include/ccn-lite-jni.h | <reponame>azadeh-afzar/CCN-IRIBU
#include <string.h>
#include <jni.h>
#ifndef CCN_LITE_JNI
#define CCN_LITE_JNI
static JavaVM *jvm;
static jclass ccnLiteClass;
static jobject ccnLiteObject;
#include "ccnl-core.h"
int jni_bleSend(unsigned char *data, int len);
JNIEXPORT jstring JNICALL
Java_ch_unibas_ccn_1lite_1and... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-frag.h | /*
* @f ccnl-frag.h
* @b CCN lite (CCNL), core header file (internal data structures)
*
* Copyright (C) 2011-17, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this p... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/src/ccnl-content.c | <gh_stars>10-100
/*
* @f ccnl-content.c
* @b CCN lite, core CCNx protocol logic
*
* Copyright (C) 2011-18 University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permissi... |
azadeh-afzar/CCN-IRIBU | src/ccnl-pkt/src/ccnl-pkt-ccntlv.c | <filename>src/ccnl-pkt/src/ccnl-pkt-ccntlv.c
/*
* @f pkt-ccntlv.c
* @b CCN lite - CCNx pkt parsing and composing (TLV pkt format Sep 22, 2014)
*
* Copyright (C) 2014-15, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereb... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/src/ccnl-logging.c | <gh_stars>10-100
/*
* @f ccnl-ext-logging.c
* @b CCNL logging
*
* Copyright (C) 2011-17, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear ... |
azadeh-afzar/CCN-IRIBU | src/ccnl-pkt/include/ccnl-pkt-builder.h | <reponame>azadeh-afzar/CCN-IRIBU
/*
* @f ccnl-pkt-bilder.h
* @b CCN lite - CCN packet builder
*
* Copyright (C) 2011-17, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice an... |
azadeh-afzar/CCN-IRIBU | src/ccnl-relay/ccn-lite-relay.c | <filename>src/ccnl-relay/ccn-lite-relay.c
/*
* @f ccn-lite-relay.c
* @b user space CCN relay
*
* Copyright (C) 2011-15, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright no... |
azadeh-afzar/CCN-IRIBU | src/ccnl-relay/ccn-lite-relay.h | <filename>src/ccnl-relay/ccn-lite-relay.h
/*
* @f ccn-lite-relay.c
* @b user space CCN relay
*
* Copyright (C) 2011-15, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright no... |
azadeh-afzar/CCN-IRIBU | src/ccnl-fwd/include/ccnl-echo.h | <gh_stars>10-100
/*
* @f ccnl-ext-echo.h
* @b CCN lite extension: echo/ping service - send back run-time generated data
*
* Copyright (C) 2015, <NAME>, University of Basel
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that t... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-http-status.h | <filename>src/ccnl-core/include/ccnl-http-status.h<gh_stars>10-100
/*
* @f ccn-http-status.h
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* ... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-prefix.h | <reponame>azadeh-afzar/CCN-IRIBU
/**
* @addtogroup CCNL-core
* @brief core library of CCN-Lite, contains important datastructures
* @{
* @file ccnl-prefix.h
* @brief CCN lite, core CCNx protocol logic
*
* @author <NAME> <<EMAIL>>
* @author <NAME> <<EMAIL>>
*
* @copyright (C) 2011-18 University of Basel
* Per... |
azadeh-afzar/CCN-IRIBU | src/ccnl-core/include/ccnl-producer.h | <filename>src/ccnl-core/include/ccnl-producer.h
/**
* @f ccnl-producer.h
* @b CCN lite, core CCNx protocol logic
*
* Copyright (C) 2011-18 University of Basel
* Copyright (C) 2015, 2016 INRIA
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby gra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.