max_stars_repo_path
stringlengths
4
186
max_stars_repo_name
stringlengths
7
73
max_stars_count
float64
0
14.7k
id
stringlengths
5
7
text
stringlengths
10
753k
lang
stringclasses
1 value
MyFitness/Utils/Views/HomeStepperView.h
PandaQQ/MyFitness
51
7129071
// // DistanceStepperView.h // MyFitness // // Created by <NAME> on 2018/12/24. // Copyright © 2018 KMZJ. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, AlertTypeEnum){ AlertTypeEnumDistance = 1, AlertTypeEnumTime }; NS_ASSUME_NONNULL_BEGIN @interface HomeStepperView : UIView - (v...
c
include/game/scenes/game_scene.h
senior-sigan/WHY_CPP_arkanoid
7
8227868
#pragma once #include <game/levels/i_level_creator.h> #include <game/scenes/ecs_scene.h> #include <game/scenes/game_scene.h> #include <lib/matlib/vec2.h> #include <whycpp/drawing.h> #include <whycpp/palette.h> #include <memory> class ILevelCreator; template<typename LevelCreator> class GameScene : public ECSScene { ...
c
src/PortaCOM.h
ViniciosSilva811/CosmosNV2-Library
0
4382640
#include <Arduino.h> #include <SoftwareSerial.h> #include "Pinagem.h" // ------------------------------------ Classe PortaCOM ------------------------------------- // class PortaCOM { public: PortaCOM(); void iniciar(long velocidade); int disponivel(); int ler(); void enviar(const char caractere...
c
Unreal/Plugins/AirSim/Source/Multirotor/SimModeWorldBoth.h
sennykim/airsim_for_car_and_multirotor
0
6549318
#pragma once #include "CoreMinimal.h" #include "FlyingPawn.h" #include "common/Common.hpp" #include "MultiRotorConnector.h" #include "vehicles/multirotor/MultiRotorParams.hpp" #include "SimMode/SimModeWorldBase.h" #include "VehiclePawnWrapper.h" #include "common/StateReporterWrapper.hpp" #include "SimModeWorldBoth.ge...
c
gnucge.h
quinngrier/gnucge
0
3854543
/* * This header file defines six macros for testing the GNU C version. * * GNU C is the normal C language along with the extensions provided by * the GNU Compiler Collection (GCC). These extensions can be useful in * otherwise portable code. For example, we can specify that a function * cannot return a null poin...
c
diffrelax_seq.c
adjl/DifferentialRelaxation
0
6382483
#include <math.h> #include <stdio.h> #include <stdlib.h> #define NUM_PARAMS 5 #define DISP_WIDTH 12 #define DISP_PRECN 8 double** malloc_array(int); void load_values_to_array(double **, int, FILE *); void fill_boundary_cells(double **, double **, int); int calc_avg_and_diff(double **, double **, int, double); int ma...
c
Release/Frameworks/APSLogServer.framework/Headers/APSDDLog.h
apusapps/xal-frameworks-ios
0
4304278
#import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, APSLoggerLevel) { APSLoggerLevelALL = 0, APSLoggerLevelDEBUG, APSLoggerLevelINFO, APSLoggerLevelWARN, APSLoggerLevelERROR, APSLoggerLevelOFF }; typedef NS_ENUM(NSUInteger, APSWebDisplay) { APSWebDisplayAL...
c
include/game/gui/dialog.h
mrannanj/openomf
0
4317149
#ifndef DIALOG_H #define DIALOG_H #include "utils/vector.h" #include "video/surface.h" #include "game/gui/component.h" typedef enum dialog_style_t { DIALOG_STYLE_YES_NO, DIALOG_STYLE_OK } dialog_style; typedef enum dialog_result_t { DIALOG_RESULT_CANCEL, DIALOG_RESULT_YES_OK, DIALOG_RESULT_NO } d...
c
lib/libvcc/vcc_acl.c
gquintard/varnish-cache-1
0
4143541
/*- * Copyright (c) 2006 Verdens Gang AS * Copyright (c) 2006-2010 Varnish Software AS * All rights reserved. * * Author: <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
c
ompi/mca/osc/rdma/osc_rdma_peer.c
tkordenbrock/ompi
0
2823558
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved....
c
core/Component/GuideViewController.h
ArminZhang/Core_IOS
0
5490111
// // GuideViewController.h // 初次使用时的新手指引界面组件 // // Created by apple on 16/1/5. // Copyright © 2016年 armin. All rights reserved. // #import <UIKit/UIKit.h> @interface GuideViewController : UIViewController { BOOL _animating; UIScrollView *_pageScroll; } @property (nonatomic, assign) BOOL animating; ...
c
TFG Api/main.h
MathiasGarnier/RandomProject
0
40061
#ifndef MAIN_H #define MAIN_H #include <map> typedef std::map<std::basic_string<char>, float> Position; #endif
c
tools/xuoi/shards.h
Patuti/crossuo
0
381242
// AGPLv3 License // Copyright (c) 2019 <NAME> #pragma once struct shard_data { const char *loginserver; const char *clienttype; const char *clientversion; }; bool shard_getter(void *data, int idx, const char **out_text); void load_shards(); int shard_index_by_loginserver(const char *login_server); shard...
c
src/depress_image.c
plzombie/depress
0
1223886
/* BSD 2-Clause License Copyright (c) 2021, <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 a...
c
Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/input_hw/input.h
werminghoff/Provenance
2
1082352
/*************************************************************************************** * Genesis Plus * Input peripherals support * * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 <NAME> (original code) * Copyright (C) 2007-2013 Eke-Eke (Genesis Plus GX) * * Redistribution and use of this code or any...
c
xmega-template/xmega-template/telit_gl865.h
milosdavidovic/xmega-template
1
8446865
/* * telit_gl865.h * * Created: 22/7/2015 1:06:53 PM * Author: milos.davidovic */ #ifndef TELIT_GL865_H_ #define TELIT_GL865_H_ #include <avr/pgmspace.h> #include <avr/io.h> #include "Usart.h" #include <util/delay.h> #include "timers.h" #include <stdlib.h> #include <string.h> //Telit command timeouts #defin...
c
4.1/MultiWindowDLLLoad/myopengl.h
JackeyLea/VAPS_XT
4
6894579
#ifndef MYOPENGL_H #define MYOPENGL_H #include <QObject> #include <QWidget> #include <QOpenGLWidget> #include <QOpenGLWindow> #include <QGLWidget> #include <QGLFunctions> #include <QOpenGLFunctions> #include <QtOpenGL> #include <QOpenGLBuffer> #include <QOpenGLShaderProgram> #include <QMatrix4x4> #include <QMenu> #in...
c
src/loader/print/lprintf.c
zhengruohuang/toddler
80
215464
#include "common/include/data.h" #include "loader/include/arg.h" #include "loader/include/print.h" /* * Arch-specific draw char */ extern void draw_char(char ch); /* * Print */ static void print_char(char ch) { draw_char(ch); } static void print_string(char *str) { char *s = str; while (*s) { ...
c
vendor/bundle/ruby/2.5.0/gems/cbor-0.5.9.6/ext/cbor/unpacker.c
angry-boss/rodauth
0
6268524
/* * CBOR for Ruby * * Copyright (C) 2013 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"). * * Based on: ***********/ /* * MessagePack for Ruby * * Copyright (C) 2008-2013 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
c
Plugins/SilvervineUE4Lua/Source/SilvervineUE4Lua/Public/Bindings/LuaStructBinding.h
myevan/SilvervineUE4Lua
0
7441189
// SilvervineUE4Lua / devCAT studio // Copyright 2016 - 2019. Nexon Korea Corporation. All rights reserved. #pragma once #include "LuaBindingRegistry.h" #include "LuaStructBinding.generated.h" // // UStruct에 대한 lua 바인딩 // UCLASS(NotBlueprintType) class SILVERVINEUE4LUA_API USUE4LuaStructBinding : public USUE4LuaBi...
c
SwpToolsDemo/Pods/Headers/Private/SwpTools/SwpWeakifyHeader.h
swp-song/SwpTools
2
5049276
// // SwpWeakifyHeader.h // swp_song // // Created by swp_song on 16/1/9. // Copyright © 2016年 swp_song. All rights reserved. // #ifndef SwpWeakifyHeader_h #define SwpWeakifyHeader_h #ifndef swpWeakify #if __has_feature(objc_arc) #define swpWeakify( object ) \ _Pragma("...
c
src/game/server/hl2/ai_behavior_police.h
cstom4994/SourceEngineRebuild
6
6635133
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #ifndef AI_BEHAVIOR_POLICE_H #define AI_BEHAVIOR_POLICE_H #ifdef _WIN32 #pragma once #endif #include "ai_behavior.h" #include "ai_goal_polic...
c
System/Library/PrivateFrameworks/NeutrinoCore.framework/_NUGLIOSurfaceTexture.h
lechium/iPhoneOS_12.1.1_Headers
12
5098724
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:46:15 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/NeutrinoCore.framework/NeutrinoCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 b...
c
src/util/base36.c
stm2/server
0
3112589
/* Copyright (c) 1998-2015, <NAME> <<EMAIL>> <NAME> <<EMAIL> <NAME> <<EMAIL>> 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. THE SOFTWARE IS PROVIDED "AS I...
c
include/types.h
RdlP/alas
0
7503339
typedef unsigned char BYTE; typedef unsigned short SHORT; typedef int WORD;
c
RecipesFTW/Theming.h
zhukov-ever/RecipesFTW
0
6842478
// // Theming.h // RecipesFTW // // Created by Zhn on 13/02/2015. // Copyright (c) 2015 Zhn. All rights reserved. // #import <Foundation/Foundation.h> @class UINavigationBar; @class UIView; @class UITableView; @class UITableViewCell; @class UIButton; @class UILabel; @class UIImageView; @class UITextView; @class A...
c
Programas em C/JOELSON12.c
noemiacintia/ProgramandoEmC
1
7810028
/* ​Leia a, b, c e calcule as raízes da equação de 2º grau. ● A variável a tem que ser diferente de zero. Caso seja igual, imprima a mensagem “Não é equação de segundo grau”. ● Se ∆ < 0, nao existe real. Imprima a mensagem “Não existe raiz”. ● Se ∆ = 0, existe uma raiz real. Imprima a raiz e a mensagem “Raiz única”. ● ...
c
design-examples/sobel/systemc/sobel_frontend.h
dnshp/rapid-design-methods-for-developing-hardware-accelerators
90
4659155
// See LICENSE for license details. /*[[[cog import cog from cog_acctempl import * from dut_params import dut if "module_nm" not in globals(): lst = cog.previous.lstrip('/').rstrip('\n').split('=') assert( lst[0]=="module_nm") assert( len(lst)==2) global module_nm ...
c
challenges/No_Paper._Not_Ever._NOPE/src/cgc_comms.h
pingjuiliao/cb-multios
473
1887458
/* * Copyright (C) <NAME> <<EMAIL>> * * 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...
c
Pin.h
eilims/RaspberryPiMotor
0
2239221
#ifndef PIN_H #define PIN_H class Pin { private: int pin; int state; //0 = input, 1 = output; int output; public: Pin(int pin); int getPin(); int getState(); int getOutput(); void setState(int state); void setOutput(int output); }; #endif
c
import_embed/umka_runtime_src.h
ProkopRandacek/umka-lang
0
7404654
#ifndef UMKA_RUNTIME_SRC_H_INCLUDED #define UMKA_RUNTIME_SRC_H_INCLUDED static const char *rtlSrc = "// Umka standard library\n" "\n" "// Memory\n" "\n" "fn rtlmemcpy(dest, src: ^void, count: int)\n" "\n" "fn tobytes*(buf: interface{}): []uint8 {\n" " if buf.__self == null {\n" " error(\"Buffer is null\")\...
c
mame/src/mame/includes/funkyjet.h
clobber/MAME-OS-X
15
7756107
/************************************************************************* Funky Jet *************************************************************************/ class funkyjet_state : public driver_device { public: funkyjet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device...
c
tm_ig_glb/plugins/loader/glb_loader.c
infosia/themachinery-plugins
6
7612006
#include "glb_loader.h" #include "glb.h" #include <foundation/api_registry.h> #include <foundation/asset_io.h> #include <foundation/buffer_format.h> #include <foundation/carray.inl> #include <foundation/error.h> #include <foundation/image_loader.h> #include <foundation/job_system.h> #include <foundation/localizer.h> #...
c
Code/CmLib/Illustration/CmEvaluation.h
JessicaGiven/SalBenchmark_Analysis_Given
1
3088761
#pragma once /************************************************************************/ /* For educational and research use only; commercial use are forbidden. */ /* Download more source code from: http://mmcheng.net/ */ /* If you use any part of the source code, please cite related papers: */ /* [1] SalientShape:...
c
Advance/j_OOPExercises/c_Extractor/Skeleton/ExtractorInitialization.h
KaPrimov/cpp-courses
0
7394674
#ifndef EXTRACTORINITIALIZATION_H_ #define EXTRACTORINITIALIZATION_H_ #include <string> #include <vector> #include <memory> #include "DigitsExtractor.h" #include "Extractor.h" #include "NumbersExtractor.h" #include "QuotesExtractor.h" std::shared_ptr<Extractor> getExtractor(const std::string& extractType, std::istr...
c
examples/ccs811_sample.c
luhuadong/rtt-ccs811
1
382790
/* * Copyright (c) 2020, RudyLo <<EMAIL>> * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-06-21 luhuadong the first version */ #include <rtthread.h> #include <rtdevice.h> #include <board.h> #include "ccs811.h" #define CCS811_I2C_BUS_NAME "i2c1" ...
c
src/backend/utils/adt/adam_retrieval_minkowski.c
dbisUnibas/adam
6
2261737
/* * ADAM - Minkowski distance functions * name: adam_retrieval_minkowski * description: functions for calculating the Minkowski distances * * developed in the course of the MSc thesis at the University of Basel * * author: <NAME> * email: <EMAIL> * * src/backend/utils/adt/adam_retrieval_minkowski.c * * * ...
c
gltextures.h
Vanzanz/TerraFirma
203
8039192
/** @Copyright 2015 seancode */ #pragma once #include <QOpenGLTexture> #include <QSharedPointer> #include <QHash> class TextureException { public: explicit TextureException(QString reason) : reason(reason) {} QString reason; }; class GLTextures { public: enum TextureType { WallOutline = 0x000, Shro...
c
app/BlackHoleVis_2/bhv_app.h
brosefine/BlackHoleVis
0
1773473
#pragma once #include <iostream> #include <app/app.h> #include <helpers/uboBindings.h> #include <helpers/json_helper.h> #include <rendering/shader.h> #include <rendering/schwarzschildCamera.h> #include <rendering/window.h> #include <rendering/texture.h> #include <rendering/mesh.h> #include <rendering/bloom.h> #inclu...
c
Device/Silvaco/CZTS_Recomb.c
sidihamady/SLALOM
7
6107463
/* (C) <NAME> */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> #include <malloc.h> #include <string.h> #include "CZTS_Parameters.h" /* * Electron SRH lifetime as a function of position * Statement: MATERIAL * Parameter: F.TAUN * Arguments: * x location x (microns) * y ...
c
tf_request.c
wheelswang/tf
10
4317006
/* +----------------------------------------------------------------------+ | TF | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
c
exec/cnex/framestack.h
gitlarryf/simple-lang
0
6448536
#ifndef FRAMESTACK_H #define FRAMESTACK_H #include <stdint.h> typedef struct tagTFrame { struct tagTCell *locals; uint32_t frame_size; int stack_depth; } TFrame; typedef struct tagTFrameStack { int top; int capacity; int max; TFrame **data; } TFrameStack; struct tagTFrameStack *framestack...
c
test/wsclient.h
chensongpoixs/cmediasoupclient
0
4834828
#ifndef __WSCLIENT_HPP_ #define __WSCLIENT_HPP_ #include <string> #include <vector> namespace wsclient { class WebSocketCallback { public: virtual void OnMessage(const std::string& message) {} virtual void OnMessage(const std::vector<uint8_t>& message) {} virtual void OnClose() {} }; class WebSocket { public: ...
c
release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/vfs_gpfs.h
afeng11/tomato-arm
4
4740803
/* Unix SMB/CIFS implementation. Wrap gpfs calls in vfs functions. Copyright (C) <NAME> <<EMAIL>> 2006 Major code contributions by <NAME> <<EMAIL>> and <NAME> <<EMAIL>> This program is free software; you can redistribute it and/or modify it under the terms of the ...
c
examples/cpp/qt/shadertoy/Shadertoy.h
jzitelli/OculusRiftInAction
135
7115642
/************************************************************************************ Authors : <NAME> <<EMAIL>> Copyright : Copyright <NAME>. 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 ...
c
windows/include/ITXLiteAVLocalRecord.h
changleibox/tencent_trtc_cloud
0
4320847
#ifndef _ILITEAV_LOCAL_RECORD_H_ #define _ILITEAV_LOCAL_RECORD_H_ /* * Module: ILiteAVLocalRecord @ TXLiteAVSDK * * Function: 腾讯云本地录制功能的主要接口类. * * Note: 本地录制模块是启动一个单独进程来实现录制功能,依赖以下模块: * - 录制进程 TXCloudRecord.exe. * - 提供录制功能的 SDK(liteav.dll、TRAE.dll、LiteAvAudioHook.dll、LiteAvAudioHookService.dll...
c
usr/src/sys/kern/sys_socket.c
sizeofvoid/ifconfigd
2
4741884
/* $OpenBSD: sys_socket.c,v 1.14 2009/02/22 07:47:22 otto Exp $ */ /* $NetBSD: sys_socket.c,v 1.13 1995/08/12 23:59:09 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or witho...
c
Sailbot18_19Strategy/Endurance Challenge/enduranceTest.h
wpisailbot/boat
4
7502734
double time; // elapsed time in seconds double endRaceTime = 25200; // number of seconds in 7 hours double R; // the radius from the buoy centroid to the outer point of the buoy float waypoints[2][3]; float obstacleGate[4][3]; void clockTimer(); bool buoyDetect(); void findCentroid(); void setObstacleGate(); void sai...
c
source/rendering/pipes/ArealightsPipe.h
RaygenEngine/Raygen
2
1223842
#pragma once #include "rendering/pipes/StaticPipeBase.h" namespace vl { struct ArealightsPipe : public StaticRaytracingPipeBase { vk::UniquePipelineLayout MakePipelineLayout() override; vk::UniquePipeline MakePipeline() override; // DOC: parameters void RecordCmd(vk::CommandBuffer cmdBuffer, const SceneRenderDesc...
c
zeromq/czmq/src/czmq_selftest.c
mgiorgio/coast
8
4382133
/* ========================================================================= czmq_tests.c - run selftests Runs all selftests. ------------------------------------------------------------------------- Copyright (c) 1991-2014 iMatix Corporation <www.imatix.com> Copyright other contributors as noted...
c
JSBinding/UIKit/NSNotificationCenter+JSBinding.h
qianhongqiang/JSBinding
0
7503461
// // NSNotificationCenter+JSBinding.h // Pods // // Created by qianhongqiang on 2017/7/11. // // #import <Foundation/Foundation.h> #import <JavaScriptCore/JavaScriptCore.h> @protocol NSNotificationCenterJSBindingProtocol <NSObject,JSExport> + (NSNotificationCenter *)defaultCenter; @end @interface NSNotification...
c
SPiCall/SPiCall/syscall.h
MoePus/SPiCall
15
58761
#pragma once #include <iostream> extern "C" void* asm_syscall(); namespace SPiCall { bool init(); // not thread safe namespace syscall { inline constexpr uint32_t fnv1a_32(const char* str, uint32_t hash = 2166136261) { while (*str) { hash = (*(char*)str++ ^ hash) * 16777619; } return hash; } ...
c
build-VisionProject-Desktop-Debug/ui_DawgmaVision.h
Dawgma-1712/vision-atp
0
1093698
/******************************************************************************** ** Form generated from reading UI file 'DawgmaVision.ui' ** ** Created by: Qt User Interface Compiler version 4.8.7 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
c
chrome/browser/media/router/discovery/discovery_network_info.h
zealoussnow/chromium
14,668
4741745
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_INFO_H_ #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_INFO_H_ #incl...
c
vowpalwabbit/multilabel.h
alinabi/vowpal_wabbit
1
4659733
/* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD license as described in the file LICENSE. */ #pragma once #include "label_parser.h" struct example; struct vw; namespace MULTILABEL { struct labels { v_array<uint32_t> labe...
c
HebcaLog/HebcaLog/include/HBMiddleWare.h
qizdyyt/CPLogProgram
0
8185107
//// //// HBMiddleWare.h //// hbmiddleware //// //// Created by hebca on 13-11-21. //// Copyright (c) 2013年 hebca. All rights reserved. //// // //#import <Foundation/Foundation.h> //#import "HBEnumType.h" //#include "HBErrorCode.h" //#import "HBDevice.h" //#import "HBCert.h" // ////设置错误 //#define HB_SET_ERROR(error...
c
native/jni/external/busybox/e2fsprogs/lsattr.c
Joyoe/Magisk-nosbin_magisk-nohide
4
1787780
/* vi: set sw=4 ts=4: */ /* * lsattr.c - List file attributes on an ext2 file system * * Copyright (C) 1993, 1994 <NAME> <<EMAIL>> * Laboratoire MASI, Institut Blaise Pascal * Universite Pierre et <NAME> (Paris VI) * * This file can be redistributed under the...
c
src/httpd.c
jamesrobb/naouz
0
4864372
#include <errno.h> #include <glib.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> #include <unistd.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <sys/select.h> #include <sys/socket.h> #include <sys/time.h> #include <time.h> #include "client_connection.h" #include "consta...
c
release/src/router/iptables/extensions/libipt_multiport.c
ghsecuritylab/tomato_egg
278
3642336
/* Shared library add-on to iptables to add multiple TCP port support. */ #include <stdio.h> #include <netdb.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include <iptables.h> /* To ensure that iptables compiles with an old kernel */ #include "../include/linux/netfilter_ipv4/ipt_multiport.h" /* Funct...
c
ANCore/Classes/Router/ANMatchProperty.h
ANDONG11/ANCore
0
1493514
// // ANMatchProperty.h // ANCore // // Created by andong on 2020/12/25. // Copyright © 2020 andong. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface ANMatchProperty : NSObject /// 运行时匹配属性并赋值 /// @param obj 对该对象进行属性赋值 /// @param params 要赋值的参数 + (void)matchProperty:(i...
c
deps/museum/7.1.2/art/runtime/entrypoints/entrypoint_utils-inl.h
simpleton/profilo
0
3554142
/* * Copyright (C) 2012 The Android Open Source Project * * 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...
c
funcoes/q_2.c
suehtamCruz/FUP_2020
0
2555610
#include<stdio.h> #include<math.h> int isPrime(int n){ int prime = 0; if(n%1==0 && n%n==0) { if(n==2 ||n==3 ||n==5){ prime=1; return prime; }else{ if( n % 2 == 0 || n % 3 == 0 || n % 5 == 0 ){ prime=0; return prime; ...
c
includes/canvas/stroke.h
floppyMike/Notebook
1
5961411
#pragma once #include <algorithm> #include <CustomLibrary/IO.h> #include <CustomLibrary/Collider.h> #include "window.h" #include "event.h" #include "layout.h" using namespace ctl; /** * @brief Shrink texture to draw area * * @param r Generate new texture * @param c Access lines array * * @return Shrunk textu...
c
include/il2cpp/Dpr/UI/PokemonModelView/__c__DisplayClass14_0.h
martmists-gh/BDSP
1
6107378
#pragma once #include "il2cpp.h" void Dpr_UI_PokemonModelView___c__DisplayClass14_0___ctor (Dpr_UI_PokemonModelView___c__DisplayClass14_0_o* __this, const MethodInfo* method_info); void Dpr_UI_PokemonModelView___c__DisplayClass14_0___Setup_b__0 (Dpr_UI_PokemonModelView___c__DisplayClass14_0_o* __this, Pml_PokePara_Po...
c
third_party/subzero/src/IceTargetLoweringX86.h
sunnycase/swiftshader
1,570
2218272
//===---- subzero/src/IceTargetLoweringX86.h - x86 lowering -*- C++ -*---===// // // The Subzero Code Generator // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------------...
c
Ortelius/Source/ORTObjectMapper.h
exsortis/Ortelius
0
1048733
// // ORTObjectMapper.h // Ortelius // // Created by <NAME> on 10/27/13. // Copyright (c) 2013 Pilgrimage Software. All rights reserved. // #import <Foundation/Foundation.h> #import "ORTObjectMapping.h" #import "ORTErrors.h" @interface ORTObjectMapper : NSObject /** * Initialize a mapper. */ - (instancetype)i...
c
XADMaster/PDF/PDFParser.h
d4rkie/Simple-Comic
1
7394931
/* * PDFParser.h * * Copyright (c) 2017-present, MacPaw Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at you...
c
CXFoundation/Classes/Category/NSString+CXFoundation.h
ishaolin/CXFoundation
0
6408782
// // NSString+CXFoundation.h // Pods // // Created by wshaolin on 2018/12/21. // #import <Foundation/Foundation.h> #import "CXFoundationDefines.h" @interface NSString (CXFoundation) - (NSString *)cx_phoneNumber; - (NSString *)cx_pinyinFirstLetter; - (NSString *)cx_pinyin; - (NSString *)cx_URLStringByAppending...
c
macosxcocoa/lesson31/Lesson31_OSXCocoa/Lesson31Controller.h
neozhou2009/nehe-opengl
177
3405866
/* * Original Windows comment: * "This Code Was Created By <NAME> For NeHe Productions 2000 * Visit NeHe Productions At http://nehe.gamedev.net * * Visit Brett Porter's Web Page at * http://www.geocities.com/brettporter/programming" * * Cocoa port by <NAME> 2002; www.withay.com */ /* Lesson31Controller.h */ ...
c
kosession/crc32.h
mustafakemalgilor/ko-mfc-launcher
2
1069174
/** * ______________________________________________________ * This file is part of ko-ascension-launcher project. * * @author <NAME> <<EMAIL>> (2015) * . * SPDX-License-Identifier: MIT * ______________________________________________________ */ /* crc32.h Author: <NAME> <<EMAIL>> Copyright (c) 1992...
c
_KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/variable/glu_types.h
MorphingDev/karamay_engine
0
2831210
#pragma once #include "public/opengl.h" using glu_bvec1 = glm::bvec1; using glu_bvec2 = glm::bvec2; using glu_bvec3 = glm::bvec3; using glu_bvec4 = glm::bvec4; // bool using glu_f32vec1 = glm::vec1; using glu_f32vec2 = glm::vec2; using glu_f32vec3 = glm::vec3; using glu_f32vec4 = glm::vec4; // float using glu_f64ve...
c
src/include/optimizer/var.h
shaunstoltz/kunlun
2,080
7518518
/*------------------------------------------------------------------------- * * var.h * prototypes for optimizer/util/var.c. * * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/optimizer/var.h * *...
c
tests/test_event.h
mikepyne/RotaGenerator
1
3024683
#ifndef TEST_EVENT_H #define TEST_EVENT_H #include "event.h" #endif // TEST_EVENT_H
c
src/codec_utils/RRC/SSB-MTC.c
wineslab/colosseum-scope-e2
1
6840434
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "../../../rrc_15.5.1_asn.asn1" * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` */ #include "SSB-MTC.h" static int memb_sf5_constraint_2(const a...
c
JGTL/include/JGTL_Range.h
LMBernardo/HyperNEAT
85
1793983
#ifndef JGTL_RANGE_H_INCLUDED #define JGTL_RANGE_H_INCLUDED #include <iostream> #include <algorithm> #include <cmath> namespace JGTL { template<class T> class RangeSet; template<class T> class Range { public: friend class RangeSet<T>; T low,high; bool nullRange; ...
c
archive/swap/main.c
senior-sigan/omsu_cpp_course
1
2367640
#include "test.h" /** * Меняет местами два символа. * * @param a указатель на один символ. * @param b указатель на один символ. */ void swap(char* a, char* b) { // TODO: напиши меня! } void test(void) { // Это тесты. НЕ УДАЛЯЙТЕ ИХ! // Преподаватель будет грустить, если вы удалите тесты T_T. // Тесты про...
c
src/sdream.c
curious-attempt-bunny/clio-mud2-client-osx-fix
0
4354038
/* Clio MUD2 Client. Copyright (c) 2003 <NAME>. All rights reserved. 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, modi...
c
Dimensio/scenemanagerclass.h
arttu94/DimensioLegacy
0
7518545
#ifndef _SCENEMANAGERCLASS_H_ #define _SCENEMANAGERCLASS_H_ #include "d3dclass.h" #include "cameraclass.h" #include "modelclass.h" #include "lightshaderclass.h" #include "celmodelclass.h" #include "lightclass.h" #include "bitmapclass.h" #include "textureshaderclass.h" #include "celshaderclass.h" #include "textclass.h"...
c
modules/drivers/lidar/lidar_robosense/lib/data_type.h
pkuwangjia/apollo
0
2610698
/****************************************************************************** * Copyright 2021 The Apollo Authors. 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 ...
c
battle_tank/Source/battle_tank/Public/TankPlayerController.h
infinityplusb/battle_tank
0
4928763
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/PlayerController.h" #include "TankPlayerController.generated.h" class UTankAimingComponent ; /** * */ UCLASS() class BATTLE_TANK_API ATankPlayerController : public APlayerCo...
c
library/MattsAudioTools.h
tommmmudd/cpp-cli-audio-tools
0
6448963
#ifndef CliAudioTools_h #define CliAudioTools_h //============================================================================== #ifdef __APPLE__ #include "TargetConditionals.h" #ifdef TARGET_OS_MAC #include "AudioPlayerOsX.hpp" #endif #endif #include "AudioPlayerOpenAL.hpp" #include "WavCodec.hpp" //==================...
c
SOURCES/japanese/tacref.h
IsraelyFlightSimulator/Negev-Storm
1
6876550
#ifndef _UI_TACREF_H_ #define _UI_TACREF_H_ #pragma warning ( disable: 4200 ) // Prevent the zero length array warning #pragma pack(1) enum { _ENTITY_=1, _STATS_, _CATEGORY_, _DESCRIPTION_, _RWR_DATA_, _TEXT_, }; struct Header { short type; short size; char Data[]; }; struct Entity { // UI Ids long Grou...
c
bsp/apm32f030r8/Library/APM32F0xx_StdPeriphDriver/src/apm32f0xx_spi.c
GorgonMeducer/pikascript
228
6742601
/*! * @file apm32f0xx_spi.c * * @brief This file contains all the functions for the SPI peripheral * * @version V1.0.1 * * @date 2021-07-01 * */ #include "apm32f0xx_spi.h" #include "apm32f0xx_rcm.h" /** @addtogroup Peripherals_Library Standard Peripheral Library @{ */ /** @addtogro...
c
libsrc/_DEVELOPMENT/EXAMPLES/sms/AstroForce/src/bank11.h
jpoikela/z88dk
640
4126495
extern const unsigned char spaceshooter_psgcompr[]; #define spaceshooter_psgcompr_size 324 #define spaceshooter_psgcompr_bank 11 extern const unsigned char stage5_psg[]; #define stage5_psg_size 7367 #define stage5_psg_bank 11 extern const unsigned char stage7_psg[]; #define stage7_psg_size 7712 #define...
c
src/signal_channel.c
DengYiping/dots_client
1
5708218
// // Created by <NAME> on 4/9/20. // #include <coap2/coap.h> #include "log.h" #include <stdlib.h> #include <coap2/coap_dtls.h> #include "preconditions.h" #include "signal_channel_handlers.h" #include "task_env.h" #include "utils.h" #include "heartbeat.h" #include "mitigation.h" static coap_dtls_pki_t* load_pki_setup...
c
src/base/oneview.h
mmrwizard/RenderMatch-1
0
1524030
/* * @Author: Han * @Date: 2018-05-05 20:49:50 * 影像单视几何操作 */ #pragma once #include <base/camera.h> namespace h2o { std::tuple<cv::Mat, cv::Mat> get_distortion_mappings(const FrameCamera &camera); Vector2d project(const FrameCamera &camera, const Vector3d &point); std::vector<Vector2d> project(const FrameCamera &...
c
include/matrix_operations.h
rrkarim/Algorithms-data-structues
1
2239347
#ifndef __MATRIX_OPERATIONS__ #define __MATRIX_OPERATIONS__ #include <inc_libs.h> #include <vector> namespace math { template <typename T> class Matrix { private: T a[][] int n, m; public: Matrix(T g[][], int n, int m) { this->n = n; this->m = m; for(int i = 0; i < n; ++i) for(int j =...
c
third-party/qthread/qthread-src/src/shepherds.c
jhh67/chapel
1,602
7450381
#ifdef HAVE_CONFIG_H # include "config.h" #endif /* The API */ #include "qthread/qthread.h" /* System Headers */ #include <stdlib.h> /* for random(), according to P2001 */ /* Internal Headers */ #include "qt_visibility.h" #include "qt_debug.h" #include "qt_asserts.h" #include "qthread_innards.h" #include "qt_initial...
c
vendorpar.h
yokochi47/xyza2pipe
1
706744
/* xyza2pipe - a cross conversion environment of NMR spectra Copyright 2017 <NAME> https://github.com/yokochi47/xyza2pipe forked from http://fermi.pharm.hokudai.ac.jp/olivia/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Licens...
c
RACSample/RACSample/FMDatabaseQueue+Extension.h
chinsyo/iossample
2
8292955
// // FMDatabaseQueue+Extension.h // RACSample // // Created by 王晨晓 on 16/5/17. // Copyright © 2016年 chinsyo. All rights reserved. // #import <FMDB/FMDB.h> @interface FMDatabaseQueue (Extension) + (instancetype)sharedInstance; @end
c
iOS/Neurolog/Pods/Headers/Private/Signature/HYPSignatureView.h
martrik/Neurolog
0
6876249
@import UIKit; @import GLKit; @interface HYPSignatureView : GLKView @property (nonatomic) UIColor *strokeColor; @property (nonatomic, readonly) BOOL hasSignature; - (void)erase; - (UIImage *)signatureImage; @end
c
core/include/mmcore/thecam/rotate_manipulator.h
sellendk/megamol
0
4371519
#ifndef THE_GRAPHICS_CAMERA_ROTATE_MANIPULATOR_H_INCLUDED #define THE_GRAPHICS_CAMERA_ROTATE_MANIPULATOR_H_INCLUDED #if (defined(_MSC_VER) && (_MSC_VER > 1000)) # pragma once #endif /* (defined(_MSC_VER) && (_MSC_VER > 1000)) */ #if defined(_WIN32) && defined(_MANAGED) # pragma managed(push, off) #endif /* define...
c
sketching/frequent.h
rmitra/google-research
1
8328116
// Copyright 2019 The Google Research Authors. // // 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...
c
private/shell/comdlg32/tlog.h
King0987654/windows2000
17
5407518
/*++ Copyright (c) 1990-1998, Microsoft Corporation All rights reserved. Module Name: tlog.h Abstract: This module implements the travel log functionality for file open and save as dialogs. Revision History: 02-20-98 arulk created --*/ #ifndef _TLOG_H_ #define _TLOG_H_ ...
c
triangle-injection/d3d11_test_app/simple_app.h
khalladay/triangle-injection
4
7212826
#pragma once #include <string> #include "common_header.h" class SimpleApplication { public: static SimpleApplication* GetInstance(); void Initialize(HWND wndHdl, HINSTANCE instance, const char* pathToExe); void Tick(); void Draw(); bool ShouldExit(); uint32_t GetScreenW() const { return screenW; } uint32_t Ge...
c
sdk/include/tinyX4A/utils.h
QUANTUM-Inc/ai_mini_4wd_2017
1
1432885
/* * Copyright (c) 2017 Quantum.inc. All rights reserved. * This software is released under the MIT License, see LICENSE.txt. */ #ifndef UTILS_H_ #define UTILS_H_ #include <stdint.h> #include <avr/io.h> /*---------------------------------------------------------------------------*/ /*---------------------------...
c
src/api/TKBalance.h
tokenio/sdk-objc
2
6003734
// // TKBalance.h // TokenSdk // // Created by <NAME> on 11/3/17. // Copyright © 2017 Token Inc. All rights reserved. // #import <Foundation/Foundation.h> #import "Money.pbobjc.h" @class Money; /** * A bank account's balance. */ @interface TKBalance : NSObject /// Current balance. @property Money *current; /...
c
api/hdf5_impl/hdf5Common.h
Nheyer/hal
75
8227998
/* * Copyright (C) 2012 by <NAME> (<EMAIL>) * Copyright (C) 2012-2019 by UCSC Computational Genomics Lab * * Released under the MIT license, see LICENSE.txt */ #ifndef _HDF5COMMON_H #define _HDF5COMMON_H #include <H5Cpp.h> /* Class to disable HDF5 exception printing. It is re-enabled when the * class is destroy...
c
hamonize-admin/plugins/platform/linux/LinuxPlatformPlugin.h
bdh1993/hamonize
1
1425857
/* * LinuxPlatformPlugin.h - declaration of LinuxPlatformPlugin class * * Copyright (c) 2017-2019 <NAME> <<EMAIL>> * * This file is part of Veyon - https://veyon.io * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by ...
c
nvblox/tests/include/nvblox/tests/projective_tsdf_integrator_cuda_components.h
Isarm/nvblox
83
2752692
/* Copyright 2022 NVIDIA CORPORATION 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, softw...
c