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
TESTGAME/redblock.h
NMDWSM0/Test-Game
0
4535113
#pragma once #ifndef REDBLOCK_H #define REDBLOCK_H #include "entity.h" class RedBlock : public Entity { public: RedBlock(): Entity("assets/prefabs/redblock.txt", "assets/images/redblock.png") { AddTag("blockers"); AddTag("canonwall"); } }; class RedBlock_A : public RedBlock { public: RedBlock_A(): RedBloc...
c
third party/openRTMFP-Cumulus/CumulusServer/sources/Server.h
Patrick-Bay/SocialCastr
5
4690727
/* Copyright 2010 OpenRTMFP This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in t...
c
sw/device/lib/testing/test_framework/FreeRTOSConfig.h
y-srini/opentitan
0
7494992
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_FREERTOSCONFIG_H_ #define OPENTITAN_SW_DEVICE_LIB_TESTING_TEST_FRAMEWORK_FREERTOSCONFIG_H_ #include "sw/device/li...
c
src/hp_inkjet.c
Hejsil/dlvm-lang
0
1276234
#include <stdio.h> #include <assert.h> #include "hp_inkjet.h" #include "ast.h" void print_ast(ast_node_t *ast, int64_t depth) { if (ast->kind & DLVM_LANG_IS_BINARY) { print_ast_binary(ast, depth); } else if (ast->kind & DLVM_LANG_IS_UNARY) { print_ast_unary(ast, depth); } else { pri...
c
use-the-fork/Player.h
greenbeltdude/wierdo-owns-fly
1
2368808
/* * Player.h * * Created on: Oct 20, 2018 * Author: george */ #ifndef PLAYER_H_ #define PLAY_ #include "SpaceObject.h" #include <SFML/Graphics.hpp> #include <memory> class Player : public sf::CircleShape, public virtual SpaceObject { public: Player( int radius = 5 ); virtual ~Player(); void fire()...
c
exporters/jaeger/thrift-gen/zipkincore_types.h
steve-madden/opentelemetry-cpp
284
5057943
/** * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #ifndef zipkincore_TYPES_H #define zipkincore_TYPES_H #include <iosfwd> #include <thrift/Thrift.h> #include <thrift/TApplicationException.h> #include <thrift/TBase.h> #include <th...
c
src/CHR Interface/CHR Interface/ProgressView.h
slgrobotics/TrackRoamer
5
7913129
#pragma once using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; namespace CHRInterface { /// <summary> /// Summary for ProgressView /// /// WARNING: If you cha...
c
L1Trigger/TrackFindingTMTT/interface/SimpleLR.h
djcranshaw/cmssw
3
7934022
///=== This is the simple linear regression with 4 helix parameters (qOverPt, phiT, z0, tanLambda) track fit algorithm. ///=== Written by: <NAME> (<EMAIL>) #ifndef __SIMPLELR__ #define __SIMPLELR__ #include "L1Trigger/TrackFindingTMTT/interface/TrackFitGeneric.h" #include "L1Trigger/TrackFindingTMTT/interface/Settin...
c
cpp_project/employe.h
pnavaro/irmar-git-project
0
7545191
// Class automatically generated by Dev-C++ New Class wizard #ifndef EMPLOYE_H #define EMPLOYE_H #include "Personne.h" // inheriting class's header file // No description class Employe : public Personne { public: // class constructor Employe(const char* unNom, const char* uneRue, int unCodePostal, const ch...
c
public/platform/WebServiceWorkerResponse.h
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
7
3378378
// Copyright 2014 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 WebServiceWorkerResponse_h #define WebServiceWorkerResponse_h #include "WebCommon.h" #include "public/platform/WebPrivatePtr.h" #include "public/...
c
upgrade/patch/lro-14.0/patch-usr-sbin-bhyve-net_backends.c
dfr/cbsd
422
1309369
--- net_backends.c.orig 2021-04-01 10:37:00.509421000 +0300 +++ net_backends.c 2021-04-02 10:37:27.292961000 +0300 @@ -619,8 +619,7 @@ netmap_get_cap(struct net_backend *be) { - return (netmap_has_vnet_hdr_len(be, VNET_HDR_LEN) ? - NETMAP_FEATURES : 0); + return 0; } static int
c
Example/Pods/Target Support Files/DrawVCUtil/DrawVCUtil-umbrella.h
josco007/DrawVCUtil
1
3941462
#import <UIKit/UIKit.h> #import "DrawVC.h" FOUNDATION_EXPORT double DrawVCUtilVersionNumber; FOUNDATION_EXPORT const unsigned char DrawVCUtilVersionString[];
c
TsApartment/TsApartment/Controller/Home/View/DistributedCell.h
WTGrim/TsApartment
0
3476430
// // DistributedCell.h // TsApartment // // Created by SandClock on 2018/5/28. // Copyright © 2018年 PmMaster. All rights reserved. // #import <UIKit/UIKit.h> @interface DistributedCell : UITableViewCell @end
c
src/geom_util/util.h
buddhi1/mpigis-lb-gpu
4
6269111
#ifndef __UTIL_H_INCLUDED__ #define __UTIL_H_INCLUDED__ //#include<geos.h> #include<geos/geom/Geometry.h> #include<geos/geom/Polygon.h> #include<list> #include<map> #include<vector> #include<mpi.h> using namespace geos::geom; using namespace std; //using namespace geos::operation; class GeometryUtility { public: ...
c
C/08/plus_moins.c
Pantoofle/Language-Practice
0
4742230
#include<stdio.h> #include<stdlib.h> #include<time.h> int main (){ srand(time(NULL)); int MAX = 100; int MAX_PLAYER = 2; int MAX_MANCHE = 5; int cont = 1; int chance_manche[] = {5, 10, 25, 50, 100}; printf("### PLUS-OU-MOINS ### \n"); printf("Pas besoin de rappeler les regles, \n Vous les connais...
c
header6.6.1/CdnUploadTaskInfo.h
CrackerCat/iWeChat
1,694
7788427
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> @class CDNUploadMsgImgPrepareResponse, NSString; @interface CdnUploadTaskInfo : NSObject { NSString *m_nsClie...
c
xmhf/third-party/libtomcrypt/notes/etc/whirltest.c
lxylxy123456/uberxmhf
0
199745
#include <stdio.h> int main(void) { char buf[4096]; int x; while (fgets(buf, sizeof(buf)-2, stdin) != NULL) { for (x = 0; x < 128; ) { printf("0x%c%c, ", buf[x], buf[x+1]); if (!((x += 2) & 31)) printf("\n"); } } } /* $Source: /cvs/libtom/libtomcrypt/notes/etc/whi...
c
clang/test/3C/liberal_itypes_ptr.c
microsoft/checkedc-clang
250
7427631
// RUN: rm -rf %t* // RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s // RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s // RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -fcheckedc-extensi...
c
src/presentation/qtgui/SetupAutoSplitColumn.h
kcris/qxAdm
0
4316755
/* * Copyright (c) 2018, Kware, Timisoara * All rights reserved. * * Acquisition and use of this software and related materials for any * purpose requires a written licence agreement from Kware, * or a written licence from an organisation licenced by Kware * to grant such a licence. */ #ifndef SETUPAUTOSPLITCO...
c
fennel/exec/ErrorTarget.h
alexavila150/luciddb
14
4327496
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
c
Elevation/Route.h
akashmudubagilu/Elevation
0
8099747
// // Route.h // Elevation // // Created by <NAME> on 4/1/16. // Copyright © 2016 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreLocation/CoreLocation.h> @interface Route : NSObject @property(nonatomic, strong) NSMutableArray *userDefinedPoints; @property(nonatomic, strong) NSMuta...
c
src/gameplay/save/Mods.h
rodri042/piugba
37
1124538
#ifndef MODS_H #define MODS_H #include <libgba-sprite-engine/gba/tonc_core.h> enum StageBreakOpts : u8 { sON, sOFF, sSUDDEN_DEATH }; enum PixelateOpts : u8 { pOFF, pLIFE, pFIXED, pBLINK_IN, pBLINK_OUT, pRANDOM }; enum JumpOpts : u8 { jOFF, jLINEAR, jRANDOM }; enum ReduceOpts : u8 { rOFF, rLINEAR, rFIXED, rRANDOM, rMI...
c
src/client/usrint/recursive-remove.h
dschwoerer/orangefs
44
734345
/* * (C) 2014 Clemson University * * See COPYING in top-level directory. */ #ifndef RECURSIVE_REMOVE_H #define RECURSIVE_REMOVE_H #include <dirent.h> #include <stdio.h> #include <errno.h> /* ------------------ Uncomment to turn on debug info. ----------------------*/ //#define ENABLE_RR_PFI //#define ENABLE_RR_P...
c
Compilador/Programa5.c
Exequetor/Compilador
0
2354754
/* * Programa 5 de apuntadores con varias variables, varios apuntadores y matrices. */ char *d[2][4], **e;
c
Embedded/common/src/b_ImageEm/HistoEq.h
CatalinVoss/neven
32
5722362
/* * Copyright (C) 2008 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
transport/PublisherImpl.h
ybatrakov/ybtrep
0
6770573
#pragma once #include <string> #include <mama/types.h> #include "TransportImpl.h" struct Publisher { std::string root; std::string source; std::string topic; Transport* transport; mamaPublisher parent; mamaPublisherCallbacks callbacks; void* callbackClosure; Publisher() : call...
c
lib/rbcodec/codecs/libasap/anylang.h
Rockbox-Chinese-Community/Rockbox-RCC
24
5407944
/* * anylang.h - C/Java/C#/JavaScript/ActionScript abstraction layer * * Copyright (C) 2007-2010 <NAME> * * This file is part of ASAP (Another Slight Atari Player), * see http://asap.sourceforge.net * * ASAP is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public...
c
arch/x86_64/pthread_arch.h
omeranson/musl
0
4825861
void abort(void); extern struct pthread * __pthread_arch_pthread_self_p; extern struct pthread __pthread_arch_pthread_self_i; static inline struct pthread *__pthread_self() { if (!__pthread_arch_pthread_self_p) { __pthread_arch_pthread_self_p = &__pthread_arch_pthread_self_i; } return __pthread_arch_pthread_self...
c
src/algorithms/kruskal.h
cs498/mazegenerator
1,013
6736280
#ifndef KRUSKAL_H #define KRUSKAL_H #include "spanningtreealgorithm.h" #include <vector> class Kruskal : public SpanningtreeAlgorithm { public: std::vector<std::pair<int, int>> SpanningTree(int, const Graph&); private: std::vector<int> parent_; int GetParent(int); }; #endif /* end of include guard: KRUSKAL...
c
src/xenia/cpu/xex_module.h
ankleman/xenia
0
7611374
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2020 <NAME>. All rights reserved. *...
c
LearnSocket/25_msgqueue/msg_recv.c
zyuanming/LearnSocket
0
4252398
// // msg_recv.c // LearnSocket // // Created by <NAME> on 3/24/18. // Copyright © 2018 HansonStudio. All rights reserved. // #include <unistd.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #define ERR_EXIT(m) \ do \ { \ perror(m); ...
c
watt32-2.2dev.rel.11/src/bind.c
SuperIlu/jSH
30
4841256
/*!\file bind.c * BSD bind(). */ /* BSD sockets functionality for Watt-32 TCP/IP * * Copyright (c) 1997-2002 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of sou...
c
ProjectTimeConeLib/src/ProjectTimeCone/Interpolation/OpticalFlow.h
HellicarAndLewis/ProjectTimeCone
3
386618
#pragma once #include "../Profiling/Timer.h" #include "Base.h" #include "ofxCv.h" namespace ProjectTimeCone { namespace Interpolation { class OpticalFlow : public Base { public: OpticalFlow(int width, int height); void Interpolate(float x, ofPixels & A, ofPixels & B, ofPixels & result) override; ...
c
src/Snapshot.h
leiradel/CheevosTool
0
2043193
#pragma once #include "Set.h" #include <stddef.h> #include <stdint.h> class Snapshot { public: enum class Size { _8, _16, _24, _32 }; enum class Format { UIntLittleEndian, UIntBigEndian, BCDLittleEndian, BCDBigEndian }; enum class Operator { LessThan, LessEqu...
c
apps/spp_and_le/examples/multi_conn/ble_multi_peripheral.c
tomorrow56/fw-AC63_BT_SDK
76
6594508
/********************************************************************************************* * Filename : le_server_module.c * Description : * Author : * Email : <EMAIL> * Last modifiled : 2017-01-17 11:14 * Copyright:(c)JIELI 2011-2016 @ , All...
c
gamelib/include/renderlib_api.h
mateun/game_engine_glfw
0
5026148
#ifdef _WIN32 #ifdef RENDERLIB_EXPORTS #define RENDERLIB_API __declspec( dllexport ) #else #define RENDERLIB_API __declspec( dllexport ) #endif #endif
c
include/template_tensors/geometry/transform/Translation.h
fferflo/template_tensors
0
1493293
namespace template_tensors { namespace geometry { namespace transform { template <typename TScalar, size_t TRank> class Translation { public: __host__ __device__ Translation() : m_translation(0) { } __host__ __device__ Translation(const template_tensors::VectorXT<TScalar, TRank>& translation) : ...
c
scipy/special/cephes/besselpoly.c
Ennosigaeon/scipy
9,095
8082218
#include "mconf.h" #define EPS 1.0e-17 double besselpoly(double a, double lambda, double nu) { int m, factor=0; double Sm, relerr, Sol; double sum=0.0; /* Special handling for a = 0.0 */ if (a == 0.0) { if (nu == 0.0) return 1.0/(lambda + 1); else return 0.0; } /* Special handling for negative...
c
Compiler/WhileStatement.h
acbarrentine/Mika
0
5057884
#pragma once #include "Statement.h" class Expression; class Label; class WhileStatement : public Statement { protected: Expression* mExpression; Statement* mLoop; Label* mLoopLabel; Label* mEndLabel; public: WhileStatement(int rootToken) : Statement(rootToken) , mExpression(nullptr) , mLoop(nullptr) , ...
c
carport/carport/EditorInfoTableViewCell.h
wgziOS/TestCarPort
0
4252434
// // EditorInfoTableViewCell.h // carport // // Created by 吴桂钊 on 2016/12/7. // Copyright © 2016年 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> static NSString * const kEditorInfoTableViewCell = @"EditorInfoTableViewCell"; @interface EditorInfoTableViewCell : UITableViewCell @property (weak, nonatomic...
c
src/liquid/maths.h
LeonardVollmann/liquid
0
2234115
#pragma once #include <math.h> #include "common.h" #define sqrtf32(x) sqrtf(x) #define sinf32(x) sinf(x) #define cosf32(x) cosf(x) #define MATH_PI 3.1415926535897932384626433832795 /* Types */ typedef union { struct { f32 x, y; }; f32 v[2]; } vec2; typedef union { struct { f32 x, y, z; }; f32 v[3]; } vec3; ...
c
linux-socfpga/drivers/staging/media/omap4iss/iss_video.h
AlbandeCrevoisier/ldd-athens
0
4659549
/* * TI OMAP4 ISS V4L2 Driver - Generic video node * * Copyright (C) 2012 Texas Instruments, Inc. * * Author: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either v...
c
src/vm/cardinal_debugger.c
TheAxeC/Cardinal
6
7505569
#include "cardinal_debugger.h" #include "cardinal_debug.h" #include <stdio.h> #include <stdlib.h> #include <string.h> /////////////////////////////////////////////////////////////////////////////////// //// STRUCTS /////////////////////////////////////////////////////////////////////////////////// // DEBUGGER #defi...
c
headers/FGSporeFlower.h
ficsit/source-data
0
2968723
// Copyright 2016-2019 Coffee Stain Studios. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "FGSaveInterface.h" #include "FGSignificanceInterface.h" #include "FGExplosiveDestroyableInterface.h" #include "FGSporeFlower.generated.h" /** todo: (a bigish one) this is...
c
src/bin/en%/en%.c
dragonmaus/home
3
5490027
#include <unistd.h> #define SIZE 4096 #define SIZEB 12288 static int special(char c) { if (c == '\n') return 0; if (c == '-') return 0; if (c == '_') return 0; if (c >= '0' && c <= '9') return 0; if (c >= 'A' && c <= 'Z') return 0; if (c >= 'a' && c <= 'z') return 0; return 1; } static int enhex(char c...
c
arch/alpha/kernel/rtc.c
fergy/aplit_linux-5
31
2871406
// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/alpha/kernel/rtc.c * * Copyright (C) 1991, 1992, 1995, 1999, 2000 <NAME> * * This file contains date handling. */ #include <linux/errno.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/param.h> #include <linux/string.h> #include <linux/mc1...
c
common/dwr.h
mcgrew/dwrandomizer
84
6833445
#ifndef _DWR_H_ #define _DWR_H_ #include <stdint.h> #include <stdarg.h> #include "build.h" #include "sprites.h" #define DWR_VERSION "2.2.1" #ifdef DWR_RELEASE #define VERSION DWR_VERSION #elif DWR_ALPHA #define VERSION DWR_VERSION " alpha " BUILD #else #define VERSION DWR_VERSION " beta " BUILD #endif #define DEF...
c
include/ionlang/type_system/type_factory.h
ionlang/ionlang
13
2369086
#pragma once #include <ionlang/construct/type/integer_type.h> #include <ionlang/construct/type/boolean_type.h> #include <ionlang/construct/type/void_type.h> namespace ionlang::type_factory { [[nodiscard]] std::shared_ptr<IntegerType> typeInteger( IntegerKind integerKind, bool isSigned = true )...
c
src/mof/MOF_Parameter.h
kkaempf/konkretcmpi
0
6803325
/* **============================================================================== ** ** Copyright (c) 2003, 2004, 2005, 2006, <NAME>, <NAME> ** Copyright (c) 2008, <NAME> ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and associated documentation files (the "So...
c
SSTableView/SSTableView/objc/SSColorButtonCell.h
scrumsnail/SSTableView
2
2652089
// // SSColorButtonCell.h // SSTableView // // Created by allthings_LuYD on 2016/12/29. // Copyright © 2016年 scrum_snail. All rights reserved. // #import <UIKit/UIKit.h> #import "SSCommonTableViewCell.h" typedef NS_ENUM(NSInteger, ColorButtonCellStyle){ ColorButtonCellStyleRed, ColorButtonCellStyleBlue, };...
c
release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/wl12xx/wl1271_ini.h
afeng11/tomato-arm
4
5216375
/* * This file is part of wl1271 * * Copyright (C) 2010 Nokia Corporation * * Contact: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is...
c
tests/runtime/test_clEnqueueNativeKernel.c
ucb-bar/pocl
1
987952
/* Tests clEnqueueNativeKernel Copyright (c) 2013 Kalray 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, co...
c
code/AssetLib/3DS/3DSLoader.h
kirillsurkov/assimp
0
2012098
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2021, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
c
Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.h
woxtu/google-api-objectivec-client-for-rest
1
2855738
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Container Analysis API (containeranalysis/v1beta1) // Description: // An implementation of the Grafeas API, which stores, and enables querying // and retrieval of c...
c
Poodle/NSObject+PDLImplementationInterceptor/NSObject+PDLImplementationInterceptor.h
iOS-Developer-Sun/Poodle
4
2861628
// // NSObject+PDLImplementationInterceptor.h // Poodle // // Created by Poodle on 2017/11/4. // Copyright © 2019 Poodle. All rights reserved. // #import <Foundation/Foundation.h> #import <objc/message.h> #import <objc/runtime.h> struct PDLImplementationInterceptorData { // copied from struct objc_method in <...
c
replserver_iphone/ReplServer/Classes/ComEvocomputingReplserverModule.h
jolby/TiREPL
1
4495726
/** * Your Copyright Here * * Appcelerator Titanium is Copyright (c) 2009-2010 by Appcelerator, Inc. * and licensed under the Apache Public License (version 2) */ #import "TiModule.h" @interface ComEvocomputingReplserverModule : TiModule { NSString *exampleProp; } -(id)createReplServer:(id)args; @property(no...
c
WeatherApp/WAConditionDetailTVC.h
cooper/weatherapp
0
5952560
// // WAConditionDetailTVC.h // Weather // // Created by <NAME> on 1/22/14. // Copyright (c) 2014 <NAME>. All rights reserved. // @interface WAConditionDetailTVC : UITableViewController { UIImage *background; // the current background image UIBarButtonItem *refreshButton;...
c
medialibrary/src/main/cpp/include/libyuv/compare_row.h
zd938780519/CainCamera-master
2,564
987746
/* * Copyright 2013 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing p...
c
Example/Pods/Target Support Files/TransferTest/TransferTest-umbrella.h
vilanovi/transfer-repo-test
0
8073389
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif #import "TransferTest.h" FOUNDATION_EXPORT double TransferTestVersionNumber; FOUNDATION_EXPORT const unsigned char TransferTestVersionString[];
c
ugene/src/corelibs/U2View/src/phyltree/TreeSettingsDialog.h
iganna/lspec
0
1187306
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <<EMAIL>> * http://ugene.unipro.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of...
c
Homework_9/Package_Yiming_Bi.h
markblitz/RU_503_HW
0
2160826
#include "Customer_Yiming_Bi.h" #ifndef _PACKAGE_ #define _PACKAGE_ class Package { public: Package(); Package(const Customer&, const Customer&, double, double); ~Package(); void Set_Weight(double); void Set_Cost(double); void Set_Sender(const Customer&); void Set_Recipient(const Customer&); double Get_Weight()...
c
stratum/lib/security/certificate.h
evanjack2002/stratum
0
5227642
// Copyright 2021-present Open Networking Foundation // SPDX-License-Identifier: Apache-2.0 #ifndef STRATUM_LIB_SECURITY_CERTIFICATE_H_ #define STRATUM_LIB_SECURITY_CERTIFICATE_H_ #include <memory> #include <string> #include "absl/time/time.h" #include "openssl/evp.h" #include "openssl/x509.h" #include "stratum/glue...
c
Arduino/struct_test.c
kruschk/etc
0
4230533
struct led { int pin; int state; } led_table[2][3]; //struct led led_table[2][3]; int table[3][3] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; struct board { int table[3][3]; int state[3][3]; }; struct window { const int pin_number[2][3]; int pin_state[2][3]; }; struct window game_window = { { 6, 7, ...
c
enduser/netmeeting/av/nac/vidutils.h
npocmaka/Windows-Server-2003
17
4171867
/*++ Copyright (c) 1995-1996 Microsoft Corporation Module Name: utils.h Abstract: Assorted support and debugging routines used by the Network Audio Controller. --*/ #ifndef _VIDUTILS_H_ #define _VIDUTILS_H_ #include <pshpack8.h> /* Assume 8 byte packing throughout */ #ifdef __cplusplus extern "C" { #endif...
c
libft/str/ft_colorize.c
BenjaminRepingon/fdf
0
521748
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_colorize.c :+: :+: :+: ...
c
include/mecab/writer.h
jeongukjae/python-mecab
33
1864402
#ifndef _MECAB_WRITER_H_ #define _MECAB_WRITER_H_ #include <string> #include "mecab/common.h" #include "mecab/utils/param.h" #include "mecab/utils/scoped_ptr.h" #include "mecab/utils/string_buffer.h" namespace MeCab { class Writer { public: Writer() : write_(&Writer::writeLattice), temp_buffer(new StringBuffer) ...
c
src/mbbeagle.h
streammy2013/mrbayes_3.2.6_parallel
1
2036339
#ifndef __MBBEAGLE_H__ #define __MBBEAGLE_H__ void BeaglePrintResources (void); void BeaglePrintFlags (long inFlags); void BeagleNotLinked (void); void BeagleThreadsNotLinked (void); int BeagleCheckFlagCompatability (long inFlags); void BeagleAddGPUDevicesToList (int **beagleResource, int *beagleResourceC...
c
sandbox/ardupilot/libraries/AP_HAL/Scheduler.h
prabhu-dev/LineDetectorLengthFix
0
7793013
#ifndef __AP_HAL_SCHEDULER_H__ #define __AP_HAL_SCHEDULER_H__ #include "AP_HAL_Namespace.h" #include <stdint.h> #include <AP_Progmem.h> class AP_HAL::Scheduler { public: Scheduler() {} virtual void init(void* implspecific) = 0; virtual void delay(uint16_t ms) = 0; virtual uint32_t millis() = ...
c
Cheetah_mPaaSSDK/Frameworks/APMultimedia.framework/Headers/APFileManager.h
hyissogood/Cheetah_mPaaSSDK
0
7071359
// // APFileManager.h // APMultimedia // // Created by Monster on 15/4/11. // Copyright (c) 2015年 Alipay. All rights reserved. // #import <Foundation/Foundation.h> #import "APMMConst.h" #import "APBaseUploadRequest.h" #import "APBaseDownloadRequest.h" @class APFileDownloadResponse; typedef void (^APFileUploadCo...
c
include/util/timing.h
mfournial/Faasm
1
6332826
#pragma once #include <util/clock.h> #include <string> #ifdef TRACE_ALL #define PROF_START(name) const util::TimePoint name = util::startTimer(); #define PROF_END(name) util::logEndTimer(#name, name); #else #define PROF_START(name) #define PROF_END(name) #endif namespace util { util::TimePoint startTimer(); ...
c
client/src/echo_error.c
khantkyawkhaung/robot-monitor
1
2861482
/** * @file echo_error.c * @brief Prints regular output messages * * The 'echo' command is usually to print normal output messages other than * attribute changes and functional callbacks. * * @copyright Copyright (c) 2021 <NAME> * * @license{This project is released under the MIT License.} */ #include "r...
c
HISSTools_IR_Toolbox_Dependencies/HISSTools_Multichannel_Convolution/partition_convolve.h
hiddedejong/HISSTools_Impulse_Response_Toolbox
1
8020052
#include "convolve_errors.h" #include <AH_VectorOps.h> #include <HISSTools_FFT.h> #include <AH_Types.h> #ifndef __PARTCONVOLVE_STRUCT__ #define __PARTCONVOLVE_STRUCT__ typedef struct _partition_convolve { // FFT variables FFT_SETUP_F fft_setup_real; AH_UIntPtr max_fft_size; AH_UIntPtr max_f...
c
libs/pbmap/include/mrpt/pbmap/SubgraphMatcher.h
lasdasdas/mrpt
9
5721454
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
c
Engine/Src/Engine/Render/Shader/HSurfaceShader.h
helluvamesh/OpenGLRenderer
0
6129396
#pragma once #include "HShaderBase.h" #include "HShadowDepthShader.h" struct DDirLightLocations { int32 Direction = -1; int32 Color = -1; }; struct DPointLightLocations { int32 Position = -1; int32 Color = -1; }; struct DSpotLightLocations { int32 Position = -1; int32 Direction = -1; int32 Color = -1; in...
c
base/ocelot/vtss_ocelot_regs_twi.h
arktrin/mesa
21
5256837
// Copyright (c) 2004-2020 Microchip Technology Inc. and its subsidiaries. // SPDX-License-Identifier: MIT #ifndef _VTSS_OCELOT_REGS_TWI_H_ #define _VTSS_OCELOT_REGS_TWI_H_ #include "vtss_ocelot_regs_common.h" /*********************************************************************** * * Target: \a TWI * * Two-W...
c
test/x509_check_cert_pkey_test.c
gtbX/openssl
32
7772834
/* * Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
c
src/pixels.c
jauntywunderkind/neatvnc
71
7373418
/* * Copyright (c) 2019 - 2021 <NAME> * * 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 IS" AND THE AUTHOR DISCL...
c
software/example-remapper/remapper.c
U007D/freedom-e-sdk
530
4321451
/* Copyright 2021 SiFive, Inc */ /* SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <inttypes.h> #include <metal/machine/platform.h> #include <metal/remapper.h> #define VALID_REGS_NUM 7 /* rom_data should be placed in ROM section, total...
c
src/parser.c
aubreymcleod/.V20-generator
2
7109721
// // Created by <NAME> on 2020-12-19. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include "parser.h" static cmd_flag_t *cli_arguments; static unsigned int num_arguments; /* begin a new parser session */ int init_parser(){ free(cli_arguments); cli_arguments = NULL; num_arguments = 0; ...
c
FParticleDesigner/src/widget/MpPropertyWidget.h
FSource/FParticle-Designer
1
3056538
#ifndef _MP_PROPERTY_WIDGET_H_ #define _MP_PROPERTY_WIDGET_H_ #include <QTreeView> class MpPropertyWidget:public QTreeView { }; #endif /*_MP_PROPERTY_WIDGET_H_*/
c
Pods/Headers/Public/pointzi/PushDataForApplication.h
pedu19/SideMenu-master
0
7647679
/* * Copyright (c) StreetHawk, 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 3.0 of the License, or (at your option) any later version. * ...
c
src/gui/win/dialog/wire_attribute_editor.h
lbz007/rectanglequery
0
6850232
#ifndef OPEN_EDI_GUI_WIRE_PROPERTY_DLG_H_ #define OPEN_EDI_GUI_WIRE_PROPERTY_DLG_H_ #include <QDialog> #include <QLabel> #include <QLineEdit> #include "attribute_editor_base.h" namespace open_edi { namespace gui { class WirePropertyDlg : public AttributeEditorBase { Q_OBJECT public: WirePropertyDlg(open_ed...
c
linux-2.6.16-unmod/arch/ia64/kernel/setup.c
ut-osa/syncchar
0
5765431
/* * Architecture-specific setup. * * Copyright (C) 1998-2001, 2003-2004 Hewlett-Packard Co * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Copyright (C) 2000, 2004 Intel Corp * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 <NAME> <<EMAIL>> * *...
c
include/NormalMapGenerator.h
SuperIzzo/Vroom3D
2
6412998
/*ZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZNZ*\ Z| |Z Z| Copyright (c) 2013 <NAME> |Z Z| |Z Z| Permissio...
c
usr/lib/libcoreroutine.dylib/RTPredictionTableEntryMO.h
lechium/tvOS124Headers
4
7522127
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:49:25 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /usr/lib/libcoreroutine.dylib * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #import <CoreData/NSManaged...
c
SimMuon/MCTruth/test/testReader.h
PKUfudawei/cmssw
1
7792466
#ifndef testReader_h #define testReader_h #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/InputTag.h" #include <memory> c...
c
ResponsibilityChainSample/IApprover.h
killvxk/DesignPatternInC
3
5174991
#include "PurchaseRequest.h" #ifndef IAPPROVER_H #define IAPPROVER_H typedef struct IApprover IApprover; struct IApprover { void *pImplicit; void (* SetSuccessor)(IApprover *pApprover, IApprover *pSuccessor); void (* ProcessRequest)(IApprover *pApprover, PurchaseRequest *pRequest); void (* Free)(IApp...
c
src/transfile/transfile.h
mischievousboy/cloud_disk
2
302071
// // Created by huihu on 2022/3/4. // #ifndef CLOUD_DISK_TRANSFILE_H #define CLOUD_DISK_TRANSFILE_H #include "transfile.grpc.pb.h" #define MODULE_NAME "transfile" class TranFileServiceImpl : public cloudDisk::fileServer::TransFileService::Service { public: ::grpc::Status Upload(::grpc::ServerContext *context, ...
c
Source/Backend/gtr/core/gtr_core.h
L1MeN9Yu/GTR
4
2722214
// // gtr_core.h // GTR // // Created L1MeN9Yu on 2018/9/1. // Copyright © 2018 <EMAIL>. All rights reserved. // #ifndef gtr_core_h #define gtr_core_h #include <stdio.h> #include "gtr_race.h" /** * 初始化,!!!非线程安全!!!,全局应该只执行一次 * @param user_agent user_agent * @param log_callback log回调函数 */ void gtr_core_init(co...
c
ncia/day01_03_picker/day01_03_picker/ViewController.h
aucd29/ios-study
0
6913900
// // ViewController.h // day01_03_picker // // Created by 최철동 on 2016. 8. 17.. // Copyright © 2016년 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController<UIPickerViewDataSource, UIPickerViewDelegate> { NSArray* mNames; NSArray* mColors; NSArray* mPairs; ...
c
lib/libcurses/lib_twait.c
aaliomer/exos
1
4951812
/* $OpenBSD: lib_twait.c,v 1.4 1998/07/23 21:19:45 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * * * * Permission is ...
c
EmulatorPkg/Sec/Sec.h
KrzysztofKoch1/edk2
2,757
4271982
/*++ @file Stub SEC that is called from the OS appliation that is the root of the emulator. The OS application will call the SEC with the PEI Entry Point API. Copyright (c) 2011, Apple Inc. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and con...
c
sources/include/tao/geometry/geometry.h
greati/tao
1
5722431
#ifndef _TAO_GEOMETRY_ #define _TAO_GEOMETRY_ namespace tao { namespace geometry { /** * Convert degress to radians. * * @param degress * @return radians * */ float radians(float degrees); }; }; #endif
c
Scanner.h
pompeiifreckles/crafting_interpreter
0
2348089
// // Created by slimsi on 1/14/22. // #ifndef CRAFTING_INTERPRETER_SCANNER_H #define CRAFTING_INTERPRETER_SCANNER_H #include <string> #include <vector> #include <memory> #include <unordered_map> #include "Token.h" class Scanner { int start = 0; int current = 0; int line = 0; const std::string sourc...
c
include/Tools/Math/EFloat.h
Jerry-Shen0527/SimpleRayTracer
0
7623349
#pragma once //This is used for error handling. Most code comes from pbrt-v3; #include <complex> #include <config.h> inline uint32_t FloatToBits(float f) { uint32_t ui; memcpy(&ui, &f, sizeof(float)); return ui; } inline float BitsToFloat(uint32_t ui) { float f; memcpy(&f, &ui, sizeof(uint32_t)); return f; } ...
c
src/rx/core/traits/is_function.h
DethRaid/rex
2
4327512
#ifndef RX_CORE_TRAITS_IS_FUNCTION_H #define RX_CORE_TRAITS_IS_FUNCTION_H #include "rx/core/config.h" // __has_feature namespace rx::traits { #if __has_feature(__is_function) // use compiler proxy for faster compilation if supported template<typename T> inline constexpr const bool is_function{__is_function(T)}; #else...
c
examples/omp/HydroC/hydro_numa.h
byu-vv-lab/civl
0
1692224
/* NUMA helper functions (C) <NAME> : CAPS */ /* This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software. You can use, modify and/ or redistribute the software under the terms of the CeCILL license as circulated by CEA, CNRS and INRIA at the fol...
c
code/engine.vc2008/xrRender/xrRenderDX10/StateManager/dx10ShaderResourceStateCache.h
Rikoshet-234/xray-oxygen
7
7000844
#pragma once class dx10ShaderResourceStateCache { public: dx10ShaderResourceStateCache(); void ResetDeviceState(); void Apply(); void SetPSResource( u32 uiSlot, ID3DShaderResourceView *pRes ); void SetGSResource( u32 uiSlot, ID3DShaderResourceView *pRes ); void SetVSResource( u32 uiSlot, ID3DShaderResourceVie...
c
01_lottery_01/01_lottery/UIImage+Extension.h
xiaomianbao/WangYiLottery
0
5721430
// // UIImage+Extension.h // 01_lottery // // Created by 李伟豹 on 15/4/4. // Copyright (c) 2015年 李伟豹. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Extension) + (UIImage *) resizeIamgeWithName : (NSString *)imageName ; + (UIImage *) screenShotWithView :(UIView *)view ; @end
c
src/plugins/ethernet/io.h
syzygyzer/simpleRPC
0
2000448
#ifndef SIMPLE_RPC_ETHERNET_IO_H_ #define SIMPLE_RPC_ETHERNET_IO_H_ #include <Arduino.h> #include <Ethernet.h> class EthernetIO { public: EthernetIO(void) {} void begin(EthernetServer&); size_t available(void); size_t read(byte*, size_t); size_t write(byte*, size_t); private: EthernetServe...
c