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
kernel/kernel/io/shared_buffer/shared_buffer.c
nimelehin/oneOS
90
4740903
/* * Copyright (C) 2020-2021 The opuntiaOS Project Authors. * + Contributed by <NAME> <<EMAIL>> * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <algo/bitmap.h> #include <io/shared_buffer/shared_buffer.h> #include <libkern/bits/errno.h> #include...
c
Notepad/Class/Database/Class/ClassData+CoreDataProperties.h
WangDeshuai/Notbook
3
7767185
// // ClassData+CoreDataProperties.h // Notepad // // Created by feijiu_1 on 2017/11/28. // Copyright © 2017年 Mac. All rights reserved. // // #import "ClassData+CoreDataClass.h" NS_ASSUME_NONNULL_BEGIN @interface ClassData (CoreDataProperties) + (NSFetchRequest<ClassData *> *)fetchRequest; @property (nullable...
c
pxr/base/lib/tf/diagnostic.h
marsupial/USD
9
5049145
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
c
atreyu/include/interface/planlibrarianmodule.h
AiRT-Software/ocs
1
7756173
#pragma pack(push, 1) /* The plan librarian is in charge of storing and providing missions from the database in the server. Each mission is identified using a GUID created in the client. A GUID has this format: 123e4567-e89b-12d3-a456-426655440000 A mission is made of: -a json file with ...
c
compression-2.0/huffman_tree.h
theodedeken/huffman-compression
0
4171679
#pragma once #ifndef HUFFMAN_TREE #define HUFFMAN_TREE #include "datastructs.h" HuffmanNode* tree_connect(HuffmanNode* left, HuffmanNode* right); void tree_set_codes(HuffmanNode* root, int depth, int value); void tree_write_buffer(HuffmanNode* root, FileBuffer* fbuffer); HuffmanNode* tree_reconstruct(HuffmanNode* ...
c
src/utils/utils.c
UniveLE/x-tetris
0
5491590
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <termios.h> #include <string.h> struct termios save; /** * Funzione utilizzata per pulire il terminale. */ void clearScreen() { printf("\e[1;1H\e[2J"); } /** * Funzione utilizzata per allineare il testo al centro. * * @param text testo da allinea...
c
FileWatcherDemo/file_activity/file_notify_info.h
pvthuyet/file-watcher-demo
0
1435498
#pragma once #include "std_filesystem.h" #include <chrono> namespace died { class file_notify_info { public: file_notify_info() = default; template<typename StringAble> explicit file_notify_info(StringAble&& s, unsigned long action = 0ul, unsigned long size = 0ul); explicit operator bool() const noexc...
c
NewStock/ThirdParties/TKFMWK/TKWebViewApp.framework/Headers/TKPlugin50271.h
JiangYongKang/NewStock-iOS
0
698826
// // TKPlugin50271.h // TKAppBase_V1 // // Created by liubao on 15-6-23. // Copyright (c) 2015年 liubao. All rights reserved. // #import <Foundation/Foundation.h> #import "TKBasePlugin.h" /** * @Author 刘宝, 2015-06-17 11:06:49 * * 弹出扫描图片二维码组件 */ @interface TKPlugin50271 : TKBasePlugin @end
c
src/glio.h
SteelPangolin/fracture
0
5180187
#ifndef TEXTUREIO_H #define TEXTUREIO_H #include <stdlib.h> #include <OpenGL/OpenGL.h> typedef struct texInfo { GLuint tex; size_t w; size_t h; size_t aW; size_t aH; size_t aC; } texInfo; texInfo* createTextureFromPath(CGLContextObj cgl_ctx, char* pathBytes); texInfo* createEmptyTexture(CGLC...
c
software/src/8.1/src/kernel/Vsa_VEvaluation.h
c-kuhlman/vision
30
3220384
#ifndef Vsa_VEvaluation_Interface #define Vsa_VEvaluation_Interface /********************* ***** Library ***** *********************/ #include "Vsa.h" /************************ ***** Components ***** ************************/ #include "Vca_VActivity.h" #include "Vsa_VPathQuery.h" #include "Vsa_IEvaluation...
c
Airship/AirshipMessageCenter/Source/Inbox/Data/UAJSONValueTransformer+Internal.h
andreinagy/ios-library
188
1008949
/* Copyright Airship and Contributors */ #import <Foundation/Foundation.h> @interface UAJSONValueTransformer : NSValueTransformer @end
c
common/redis_cmd.h
david-pp/tinyworld
4
218753
// Copyright (c) 2017 david++ // // 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, distr...
c
util/circular_queue.h
KarenEnfield/flowmill-collector
63
7772635
// // Copyright 2021 Splunk 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 agreed to i...
c
src/search_agent/sa_client_conn.h
jdisearch/isearch1
3
4084245
#ifndef __SA_CLIENT_CONN_H__ #define __SA_CLIENT_CONN_H__ #include "sa_conn.h" #include "sa_error.h" #include <queue> #include <map> class CClientConn : public ConnectionInterface { public: CClientConn(uint32_t iConnectionId):ConnectionInterface(iConnectionId){}; int Recieve(CSearchAgentCore *pCoreCtx); v...
c
src/ncursespp/view.h
amirbawab/ncursespp
0
3941464
#ifndef NPP_VIEW_H_ #define NPP_VIEW_H_ namespace npp { #define INVISIBLE_VIEW npp::View{0, 0, 0, 0}; struct View { View(int x, int y, int rows, int cols) : x(x), y(y), rows(rows), cols(cols) {} View() : View(0, 0, 0, 0) {} int x; int y; int rows; int cols; }; /** * Create an intersection view from two...
c
Container/DataField.h
farmatholin/mdp-sequence-0303
0
1523578
#pragma once #ifndef DATAFIELD_H #define DATAFIELD_H #include <string> #include "Field.h" using namespace std; template<class Type> class DataField : public Field { private: Type value; public: explicit DataField(string id, Type val); ~DataField(); public: Type getValue(); void setValue(Ty...
c
src/serializer/json.c
twoporeguys/librpc
7
6191600
/* * Copyright 2015-2017 <NAME>ys, Inc. * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of cond...
c
src/tools/vrad_dll/lightmap.h
vxsd/refraction
14
8328065
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $Log: $ // // $NoKeywords: $ //====================================================================...
c
SimpleReminder/RJEvent.h
Hopreeeenjust/SimpleReminder
0
2753365
// // RJEvent.h // SimpleReminder // // Created by Hopreeeeenjust on 01.04.15. // Copyright (c) 2015 Hopreeeeenjust. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @interface RJEvent : NSManagedObject @property (nonatomic, retain) NSDate * date; @property (nonatomic, ret...
c
Example/LJKit/LJKit/Classes/Utils/LJAlertViewController/CustomAlertView/LJGoodsSpecsView/LJGoodsSpecsCountView.h
liujingCode/LJKit
1
155277
// // LJGoodsSpecsCountView.h // LJKit_Example // // Created by developer on 2019/10/9. // Copyright © 2019 liujing. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN /// 数量选择视图 @interface LJGoodsSpecsCountView : UIView /// 当前数量 @property (nonatomic, assign) int currentCount; /// 最大数量 @prop...
c
platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c
pavel-krivanek/opensmalltalk-vm
110
1524677
/* * * This file is part of libmpeg3 * * LibMPEG3 * Author: <NAME> <<EMAIL>> * Page: heroine.linuxbox.com * Page: http://www.smalltalkconsulting.com/html/mpeg3source.html (for Squeak) * LibMPEG3 was originally licenced under GPL. It was relicensed by the author under the LGPL and the Squeak license o...
c
MonkeyMapConfig/MMKLocationConfig.h
junhaiyang/MonkeyMapConfig
0
965386
#import <Foundation/Foundation.h> #define __MAP_USE_AMAP_NOT_BMP__ #开启即切换到高德地图API模式 #ifdef __MAP_USE_AMAP_NOT_BMP__ //使用高德地图检索 #import <AMapFoundationKit/AMapFoundationKit.h> #import <AMapLocationKit/AMapLocationKit.h> #import <AMapSearchKit/AMapSearchKit.h> #define __MMKReverseGeoCodeResult AMapReGeoco...
c
Modules/USUI/Qmitk/QmitkUSControlsCustomVideoDeviceWidget.h
zhaomengxiao/MITK
1
4236280
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
c
include/third_party/blink/renderer/modules/sms/sms_receiver.h
ispysoftware/spitfire
1
7529380
// Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_MODULES_SMS_SMS_RECEIVER_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_SMS_SMS_RECEIVER_H_ #include "base/macros.h" #i...
c
include/linux/mfd/wm97xx.h
fergy/aplit_linux-5
11
3122336
/* * wm97xx client interface * * Copyright (C) 2017 <NAME> * * 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 the License, or * (at your option) any later version. */...
c
ARHandlingChains/ARHandlingChains/PropertiesDescriptors/Tools/PropertiesAdapter/RuntimeTools/CPropertyInfosForProtocol.h
equil/handling.chains
0
7503055
// // Created by <NAME> on 04.06.14. // #import <Foundation/Foundation.h> @interface CPropertyInfosForProtocol : NSObject<NSFastEnumeration> - (instancetype)initWithProtocol:(Protocol *)protocol; @end
c
wsearch.h
privet56/qDesktopSearch
10
7488357
#ifndef WSEARCH_H #define WSEARCH_H #include <QFrame> #include "searcher.h" #include "logger.h" #include "indexer.h" namespace Ui { class wSearch; } class wSearch : public QFrame { Q_OBJECT public: explicit wSearch(QWidget *parent = 0); void setEnv(logger* pLog, indexer* pIndexer); ~wSearch(); prot...
c
ios/RNMapboxAR/TerrainService.h
KevinHu2014/react-native-mapbox-ar
226
7120666
// // TerrainService.h // RNLocateTest // // Created by <NAME> on 5/1/18. // Copyright © 2018 Facebook. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface TerrainService : NSObject - (instancetype)initWithX:(float)x andY:(float)y andZoom:(float)zoom completion:(void (^)(...
c
modules/cvutil/include/cvchamfer.h
liangfu/lightdnn
12
2516981
/** * @file cvchamfer.h * @author <NAME> <<EMAIL>> * @date Mon Jan 14 16:38:12 2013 * * @brief * * */ #ifndef __CV_EXT_CHAMFER_H__ #define __CV_EXT_CHAMFER_H__ #include "cvext_c.h" // #include "cvaux.hpp" class CV_EXPORTS CvChamfer { int m_ntemplates; int m_initialized; public: CvMat ** m_ori...
c
src/matching/detail/graphimpl.h
dragoniye/bbpPairings
0
6229275
#ifndef GRAPHIMPL_H #define GRAPHIMPL_H #include <cassert> #include <stdexcept> #include "graphsig.h" #include "parentblossomsig.h" #include "rootblossomsig.h" #include "vertexsig.h" namespace matching { namespace detail { template <typename edge_weight> inline Graph<edge_weight>::Graph( const ty...
c
R/WawaRefresh/UIScrollView+WawaFootRefresh.h
rongtian/WawaRefresh
0
8271556
// // UIScrollView+WawaFootRefresh.h // R // // Created by 荣守振 on 2018/1/19. // Copyright © 2018年 Shengshui. All rights reserved. // #import <UIKit/UIKit.h> @class WawaFootRefreshView; static const CGFloat WAWAFOOTVIEWHEIGHT = 60.0f; NS_ASSUME_NONNULL_BEGIN #pragma mark - @interface UIScrollView (WawaFootRefr...
c
src/elements/merged.c
Michael137/nfv-benchmark
1
1626778
#include "checksum.h" #include "element.h" #include "log.h" #include "memory.h" #include "murmur3.h" #include "packets.h" #include "rte_prefetch.h" #include "types.h" #include "util.h" #include "elements/routing.h" #include "elements/measurement.h" #include "elements/merged.h" #define MP_SIZE 32 #define MP_SIZE_HALF...
c
HCSinaWeibo/HCSinaWeibo/Classes/Home/Model/HCPhoto.h
tunnyios/HCSinaWeibo
0
7810513
// // HCPhoto.h // HCSinaWeibo // // Created by tunny on 15/6/21. // Copyright (c) 2015年 tunny. All rights reserved. // #import <Foundation/Foundation.h> @interface HCPhoto : NSObject /** 微博配图url */ @property (nonatomic, copy) NSString *thumbnail_pic; @end
c
fallen/Headers/briefing.h
jordandavidson/MuckyFoot-UrbanChaos
188
3692658
// // briefing.h // mission selection, briefings // 14 dec 98 // #include "MFStdLib.h" extern CBYTE BRIEFING_mission_filename[_MAX_PATH]; SBYTE BRIEFING_select(void); SBYTE BRIEFING_next_mission(); // 0 = run out of missions //#define OBEY_SCRIPT
c
Code/Marching_Cubes/src/Editing/Brushes/CubicBezierBrush.h
JC-G/Marching-Cubes
0
3056528
#ifndef CUBICBEZIERBRUSH_H #define CUBICBEZIERBRUSH_H #include "Brush.h" class CubicBezierBrush : public Brush { public: CubicBezierBrush(glm::vec3 A, glm::vec3 B, glm::vec3 C, glm::vec3 D, float radius, BrushMode mode = 0); BrushBoundingBox getBoundingBox() override; BrushParams getBrushPar...
c
Wilddog.framework/Headers/WDataSnapshot.h
WildDogTeam/demo-ios-Wildfeed
5
8326123
// // WDataSnapshot.h // Wilddog // // Created by Garin on 15/7/7. // Copyright (c) 2015年 Wilddog. All rights reserved. // #import <Foundation/Foundation.h> @class Wilddog; /** * */ @interface WDataSnapshot : NSObject /** @name 检索快照 */ /** * 根据指定的相对路径,来获取当前节点下的WDataSnapshot。 * * childPathString为相对路径 *...
c
TPC/TPCbase/AliTPCCalibPulser.h
AllaMaevskaya/AliRoot
52
2751126
#ifndef ALITPCCALIBPULSER_H #define ALITPCCALIBPULSER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /// \class AliTPCCalibPulser /// \brief Iplementation of the TPC pulser calibration #include <TVectorT.h> #in...
c
Medallia Survey iOS/Medallia Survey iOS/MLHomeViewController.h
mrlynn/Medallia-Survey-iOS
1
8184692
// // MLHomeViewController.h // Medallia Feedback // // Created by <NAME> on 7/21/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> @interface MLHomeViewController : UIViewController <CLLocationManagerDelegate> { CLGeocoder *_geocoder; ...
c
Sample/ClientSource/samples/Cpp/TestCpp/Classes/ExtensionsTest/ComponentsTest/ProjectileController.h
wenhulove333/ScutServer
2
452189
#ifndef __CC_PROJECTILECONTROLLER_H__ #define __CC_PROJECTILECONTROLLER_H__ #include "cocos2d.h" #include "cocos-ext.h" class ProjectileController : public cocos2d::extension::CCComController { protected: ProjectileController(void); virtual ~ProjectileController(void); public: virtual bool init(...
c
src/brook/prog/apps/timing/sparse.h
darwin/inferno
2
2793422
#ifndef __SPARSE_H__ #define __SPARSE_H__ extern void SpMatVec_Time(int streamLength); extern void ConjGrad_Time(int streamLength); #endif
c
chrome/browser/page_info/chrome_about_this_site_service_client.h
chromium/chromium
14,668
7767698
// Copyright 2021 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_PAGE_INFO_CHROME_ABOUT_THIS_SITE_SERVICE_CLIENT_H_ #define CHROME_BROWSER_PAGE_INFO_CHROME_ABOUT_THIS_SITE_SERVICE_CLIENT_H_ #incl...
c
tests/CompileTests/C_tests/test2013_88.c
maurizioabba/rose
488
5518533
// Test a pragma (Beata's bug report) #pragma pragma test 7; #pragma pragma test 8 int foo() // #pragma pragma test 9 { #pragma pragma test 10 #pragma pragma test 11 int x = 42; #pragma pragma test 19 // #pragma pragma test 34 return x; #pragma pragma test 35 } #pragma pragma test 36 #pragma pragma te...
c
src/math/public/aeon/math/ray3d_stream.h
aeon-engine/libaeon
7
2750973
// Distributed under the BSD 2-Clause License - Copyright 2012-2021 <NAME> #pragma once #include <aeon/math/ray3d.h> #include <aeon/math/vector3_stream.h> #include <ostream> namespace aeon::math { template <common::concepts::arithmetic_convertible T> inline auto operator<<(std::ostream &os, const ray3d<T> &ray) -> ...
c
include/RSE/abi.h
Nax/RSE
0
1082325
#if defined(__cplusplus) # define RSE_EXTERN extern "C" #else # define RSE_EXTERN #endif #if !(defined(RSE_STATIC)) && (defined(WIN32) || defined(_WIN32)) # if defined(RSE_DLL) # define RSE_DECLSPEC __declspec(dllexport) # else # define RSE_DECLSPEC __declspec(dllimport) # endif #else # define RSE_DECLSPEC #endif #...
c
Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/vector-subscript-2.c
djamal2727/Main-Bearing-Analytical-Model
0
7109718
/* { dg-do compile } */ /* Check that subscripting of vectors work with register storage class decls. */ #define vector __attribute__((vector_size(16) )) float vf(int i) { register vector float a; // { dg-warning "ISO C\\+\\+17 does not allow 'register' storage class specifier" "" { target c++17 } } return a[0...
c
tools/freplace.c
harkaitz/c-types
0
7611338
#include "../include/io/freplace.h" #include "../include/str/strarray.h" #include <errno.h> int main (int _argc, char *_argv[]) { char *map[_argc*2+1]; streq2map(_argv+1, _argc*2+1, map); int res = freplace_a(stdin, stdout, (const char **)map); if (res==-1) { fprintf(stderr, "%s", strerror(errn...
c
common/libraries/hpm_sdk/middleware/tinyusb/src/portable/hpm/hcd_hpm.c
hpmicro/rtt-bsp-hpm6750evkmini
8
4143327
/* * The MIT License (MIT) * * Copyright (c) 2019 <NAME> (tinyusb.org) * * 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 *...
c
herothrust.h
SleepingSoul/EmptySpace
0
4690676
#ifndef HEROTHRUST_H #define HEROTHRUST_H #include <QObject> #include <QGraphicsItem> #include "gameplayitem.h" class QTimer; class QPixmap; class HeroThrust : public QObject, public GameplayItem { Q_OBJECT Q_INTERFACES(QGraphicsItem) public: explicit HeroThrust(QObject *parent = 0); ~HeroThrust(); ...
c
Simulator/SimulatorBase/Target.h
tomcool420/SimulatorSWTOR
0
2517198
#pragma once #include "Buff.h" #include "DOT.h" #include "Debuff.h" #include "Energy.h" #include "constants.h" #include "detail/units.h" #include "types.h" #include "utility.h" #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <map> #include <optional> #include <unordered_map> namespace...
c
SDTheme/Classes/UIKit/CAShapeLayer+SDTheme.h
SlashDevelopers/SDTheme
154
1786407
// // CAShapeLayer+SDTheme.h // Pods // // Created by SlashDevelopers on 2018/06/07. // Copyright (c) 2018 SlashDevelopers. All rights reserved. // #import <QuartzCore/QuartzCore.h> @interface CAShapeLayer (SDTheme) @property (nonatomic, copy) NSString *theme_fillColor; @property (nonatomic, copy) NSString *them...
c
remoting/protocol/socket_reader_base.h
meego-tablet-ux/meego-app-browser
1
3642519
// Copyright (c) 2011 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 REMOTING_PROTOCOL_SOCKET_READER_BASE_H_ #define REMOTING_PROTOCOL_SOCKET_READER_BASE_H_ #include "base/memory/ref_counted.h" #include "net/ba...
c
test/common_test.h
gdmsl/QG8-C
1
5668638
/* * common_test.h * Common test suite defines. * * Author : <NAME> <<EMAIL>> * Date created : 25/03/2021 */ /* * BSD 3-Clause License * * Copyright (c) 2021, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
c
src/logger.h
abc123lzf/flyingsocks-router
0
3904710
// // Created by lzf on 2021/2/20. // #ifndef FS_LOGGER_H #define FS_LOGGER_H #ifdef __cplusplus extern "C" { #endif #include "misc.h" #include <stdio.h> #include <stdbool.h> #include <string.h> #define FS_LOGGER_LEVEL_NONE (-1) #define FS_LOGGER_LEVEL_ERROR 0 #define FS_LOGGER_LEVEL_WARN 1 #define FS_LOGGER_LEVEL_...
c
system_info/system_info_sim.h
ricardotk/tizen-extensions-crosswalk
1
4126695
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SYSTEM_INFO_SYSTEM_INFO_SIM_H_ #define SYSTEM_INFO_SYSTEM_INFO_SIM_H_ #if defined(TIZEN_MOBILE) #include <errno.h> #include <sim.h> #include <st...
c
Source/PAZ/Public/Player/PAZCharacter.h
ElectriZFX/PAZ
0
3999039
// Project made by ElectriZ #pragma once #include "CoreMinimal.h" #include "Player/CharacterBase.h" #include "PAZCharacter.generated.h" /** * */ UCLASS() class PAZ_API APAZCharacter : public ACharacterBase { GENERATED_BODY() public: APAZCharacter(); protected: FTimerHandle TInteractTimerHandle; protected: v...
c
api/datum/atom/area.h
donk-project/donk
8
4640185
// Generated by Donk Transpiler. Changes may be overwritten. // Template: transformer_declaration.h.tmpl // Filename: datum/atom/area.h #ifndef __DONK_API_DATUM_ATOM_AREA_H__ #define __DONK_API_DATUM_ATOM_AREA_H__ #include "donk/api/datum/atom.h" #include "donk/core/procs.h" namespace donk::api::datum::atom::a...
c
FelezMain/Felez.h
matti-logiko/FE-shell-mesh-parser
0
4371785
// Felez.h
c
src/dosinst.h
superjer/vim
2
2861600
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by <NAME> * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * dosinst.h: Common code for dosinst.c and unins...
c
libraries/hpm_sdk/drivers/src/hpm_can_drv.c
jiadingxu/rtt-bsp-hpm6750evkmini
0
4127183
/* * Copyright (c) 2021 hpmicro * * SPDX-License-Identifier: BSD-3-Clause * */ #include "hpm_can_drv.h" #include <assert.h> /*********************************************************************************************************************** * * Definitions * *********************************************...
c
YAxis/INST.h
TaylorCoons/CPrinter
0
2234145
#ifndef INST_h #define INST_h /* Packet structures for sending data across mcus */ // Enum to define the operations enum OPT { NOOP, MOVE, HOME }; // Enum to define specified flags enum OPT_FLAG { NONE = 0, // No flags DRIVE = 2 // Specifies the axis is to be driven by step signal }; // Structure to hol...
c
InteractiveNotifications/socketapi.h
psamit/windows-interactive-notifications
0
3185301
/* Copyright (c) Microsoft Corporation. All rights reserved. Module Name: socketapi.h Abstract: Prototypes and Definitions for Socket API */ #ifndef _SOCKETAPI_H #define _SOCKETAPI_H #ifdef _MSC_VER #pragma once #endif // _MSC_VER #ifdef __cplusplus extern "C" { #endif #include <winapifamily.h> #prag...
c
imgproc.h
AI-MD/assignments
1
1390173
#pragma once #include <iostream> #include "opencv2/core/core.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" namespace IPCVL { namespace IMG_PROC { void calcHist(cv::InputArray src, int* histogram); void calcHist_hs(cv::InputArray src, double hi...
c
Artsy/Views/Utilities/ARArtworkThumbnailMetadataView.h
TribeMedia/eigen
0
2830163
#import "ARPostAttachment.h" @interface ARArtworkThumbnailMetadataView : UIView + (CGFloat)heightForView; - (void)configureWithArtwork:(Artwork *)artwork; - (void)resetLabels; @property (nonatomic, readonly) ARSerifLabel *primaryLabel; @property (nonatomic, readonly) ARArtworkTitleLabel *secondaryLabel; @end
c
src/apps/BenchingBall/SystemMove.h
ShredEagle/aunteater
2
5961916
// // SystemMove.h // // Created by <NAME>. // // #ifndef BenchingBall_SystemMove_h #define BenchingBall_SystemMove_h #include <aunteater/System.h> namespace BenchingBall { class SystemMove : public aunteater::System<> { public: SystemMove(aunteater::EntityManager &aEntityManager); virtual void update(con...
c
api-gateway/grpc/grpc_inference_service.h
intel/cloud-client-ai-service-framework
3
5216906
/* Copyright (C) 2020 Intel Corporation */ #ifndef GRPC_INFERENCE_SERVICE_H #define GRPC_INFERENCE_SERVICE_H #include <opencv2/opencv.hpp> #ifndef DEBUG #define DEBUG 0 #endif #define UNIFIED_LOG #ifdef UNIFIED_LOG #include <ccai_log.h> #define debug_log(fmt, ...) do { if (DEBUG) \ CCAI_DEBUG("AI-Service-Framewo...
c
plugin_III/game_III/TxdDef.h
gta-chaos-mod/plugin-sdk
368
852343
/* Plugin-SDK (Grand Theft Auto 3) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "PluginBase.h" #include "RenderWare.h" class TxdDef { public: RwTexDictionary *m_pRwDictionary; ...
c
src/screen.c
SebastianKunz/RTv1
0
2340242
#include "screen.h" void update_screen(t_rt *rt, float distance) { rt->screen.distance = distance; rt->screen.center = add_vector3(rt->camera.pos, scale_vector3(rt->camera.view_dir, distance)); rt->screen.top_left = add_vector3(rt->screen.center, init_vector3(-1, 1, 0)); rt->screen.top_right = add_vector3(rt->scr...
c
src/krex/include/krex/sensory/mpu9250.h
kisom/krex-ros
1
5278313
#ifndef __KREX_HARDWARE_MPU9250_H #define __KREX_HARDWARE_MPU9250_H #include <stdint.h> #include <krex/hardware/i2c.h> namespace krex { namespace sensory { class MPU9250 { public: MPU9250(); MPU9250(uint8_t addr); bool Healthy() { return this->healthy; } bool Reset(); bool Temperature(double *temp); bool W...
c
printf/ft_printf.h
cykjamie/42
0
5150524
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_printf.h :+: :+: :+: ...
c
source/extern.h
nebiun/rogueWii
0
1493704
/* * Defines for things used in mach_dep.c * * @(#)extern.h 4.35 (Berkeley) 02/05/99 * * Rogue: Exploring the Dungeons of Doom * Copyright (C) 1980-1983, 1985, 1999 <NAME>, <NAME> and <NAME> * All rights reserved. * * See the file LICENSE.TXT for full copyright and licensing information. */ /* * Don't chang...
c
lib/GotoStatement.h
tsehon/basic.cpp
0
4989521
#include "Statement.h" #include "ProgramState.h" class GotoStatement: public Statement { public: GotoStatement(int linenum); virtual void execute(ProgramState * state, std::ostream &outf); private: int m_linenum; };
c
Basic/5.6-Ponteiros_SCANF_Multi_Strings_FOR.c
raphael-monteiro/C-Review
0
6593551
#include <stdio.h> #include <stdlib.h> #include <string.h> /* Algoritmo para imprimir o resto da string após o primeiro espaço encontrado nela. */ int main() { char string[30]; char *point; int i; printf("Digite uma frase:\n"); scanf("%30[^\n]s", string); /* formato para scan da string que na verdade é um arra...
c
src/mayaToLux/src/shaders/layeredMaterial.h
haggi/OpenMaya
42
5892141
#include <maya/MPxNode.h> #include <maya/MTypeId.h> #ifdef HAS_OVERRIDE #include "layeredMaterialOverride.h" #endif // Plugin layered Shader Class // // This class will create a new shader. Shaders are custom dependency // graph objects so we will derive this class from the basic DG node // type MPxNode // class l...
c
include/IteratedCapacityPropagationStrategy.h
samuelgerber/ITKOptimalTransport
1
988006
#ifndef ITERATEDCAPACITYPROPAGATIONSTRATEGY_H #define ITERATEDCAPACITYPROPAGATIONSTRATEGY_H #include "NeighborhoodPropagationStrategy.h" #include "Random.h" #include <ctime> template <typename TPrecision> class IteratedCapacityPropagationStrategy : public NeighborhoodPropagationStrategy<TPrecision>{ public: ...
c
third-party/casadi/external_packages/DSDP/src/solver/dsdprescone.c
dbdxnuliba/mit-biomimetics_Cheetah
8
4247479
#include "dsdpcone_impl.h" #include "dsdpsys.h" #include "dsdpbasictypes.h" /*! \file dsdprescone.c \brief Variable r must be nonnegative. */ struct RDCone{ double primalr,dualr,x,logr; DSDPPenalty UsePenalty; DSDP dsdp; /* Really only need the Penalty flag, which is here. */ }; typedef struct RDCone RCone; #...
c
release/src/router/ffmpeg/libavcodec/mpegaudio.h
ghsecuritylab/tomato_egg
278
7623365
/* * copyright (c) 2001 <NAME> * * This file is part of FFmpeg. * * FFmpeg 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 your option) any later vers...
c
sqr_error_010.h
shtty/cppcnn
6
252154
//////////////////////////////////////////////////////////////////////////////////// //// This code is written by <NAME> //// //////////////////////////////////////////////////////////////////////////////////// #pragma once #include "layer.h" class sqr_error_010 : public layer { public:...
c
sim/mmalloc.c
rhudson2802/sunflower-simulator
7
6645979
/* Copyright (c) 1999-2008, <NAME> (author) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions an...
c
core/contrib/oonf_api/common/bitmap256.h
luisan00/turpial-firmware
17
3554646
/* * The olsr.org Optimized Link-State Routing daemon version 2 (olsrd2) * Copyright (c) 2004-2015, the olsr.org team - see HISTORY file * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
c
package/cpp/api/JsiSkData.h
sbearben/react-native-skia
1
647442
#pragma once #include <ReactCommon/TurboModuleUtils.h> #include <map> #include "JsiSkHostObjects.h" #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" #include <SkFont.h> #include <SkStream.h> #pragma clang diagnostic pop #include <jsi/jsi.h> namespace RNSkia { using namespace...
c
Pods/Target Support Files/Pods-lunbo/Pods-lunbo-umbrella.h
wanminny/lunbo
0
1692776
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_lunboVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_lunboVersionString[];
c
Applications/TVIdleScreen/TVIUtilities.h
lechium/tvOS135Headers
2
927211
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @interface TVIUtilities : NSObject { } + (id)_assetDirectoryForMode:(id)arg1 relativeToURL:(id)arg2; // IMP=0x00000001000188f...
c
YYB_iOSComponent/YYB_iOSComponent/Views/SPStorageTextInputView.h
bassamyan/YYBCategory
2
5703312
// // SPStorageTextInputView.h // SavingPot365 // // Created by Sniper on 2018/11/30. // Copyright © 2018 Tree,Inc. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SPStorageTextInputView : UIView @property (nonatomic,copy) void (^ textValueChangeHandler)(NSString *text); @prop...
c
spl/include/mmc_boot0.h
tao-eternal/d1-nezha-baremeta
26
6229435
/* * (C) Copyright 2013-2016 * SPDX-License-Identifier: GPL-2.0+ * Allwinner Technology Co., Ltd. <www.allwinnertech.com> * */ #ifndef _SUNXI_MMC_BOOT0_H #define _SUNXI_MMC_BOOT0_H #define CARD_TYPE_MMC 0x8000000 #define CARD_TYPE_SD 0x8000001 void set_mmc_para(int smc_no, void *sdly_addr, phys_addr_t uboot_base)...
c
lib/Collector/Collector.h
JDuchniewicz/BIBoP
0
3411676
#pragma once #include "Defines.h" #include "MAX30105.h" class Collector { public: Collector(); ~Collector(); int init(TwoWire& i2c); int getData(); int readData(Batch& batch); int getLastData(Batch& batch); void collectorOff(); void collectorOn(); private: uint32_t redBuffer[B...
c
memory_one.c
aitva/c_tutorial
0
315900
#include "stdio.h" #include "stdlib.h" int *allocOnes(int nmemb) { int *tab = malloc(nmemb); if (tab == NULL) { return tab; } for (int i = 0; i < nmemb; i++) { tab[i] = 1; } return tab; } int main() { const int tab_size = 10; int *tab = NULL; // allocated memory ...
c
openair1/PHY/INIT/nr_parms.c
MCNL-HGU/OAI5G
0
6081512
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
c
src/ueum/time/timer.h
swasun/LibUnknownEchoUtilsModule
1
4743628
/******************************************************************************* * Copyright (C) 2018 <NAME> * * * * This file is part of LibUnknownEchoUtilsModule. * * ...
c
game/client/cstrike15/cs_player_rank_mgr.h
DannyParker0001/Kisak-Strike
252
7212699
//====== Copyright Valve Corporation, All rights reserved. ================= // // Achievements (aka Medals) are divided into categories. Progress towards // completing a category of medals gives the player a higher 'rank'. Player // rank is sent to the server for display on the scoreboard. // // Ranks, Medals and med...
c
src/runtime/os_windows.h
hongwozai/go-src-1.4.3
290
2940860
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. extern void *runtime·LoadLibrary; extern void *runtime·GetProcAddress; extern void *runtime·GetQueuedCompletionStatusEx; // Call a Windows function with stdcal...
c
Code/Core/Utility/FNVHash.h
NathanSaidas/LiteForgeMirror
0
3350105
// ******************************************************************** // Copyright (c) 2019 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files(the "Software"), // to deal in the Software without restriction, including wit...
c
source/example/template/project/vc/lib/awtk/include/tkc/buffer.h
xsjames/vsf
170
2968846
/** * File: buffer.h * Author: AWTK Develop Team * Brief: buffer * * Copyright (c) 2018 - 2019 <NAME>AN Electronics Co.,Ltd. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR...
c
d/dagger/road/tsrroom.c
Dbevan/SunderingShadows
13
5947038
#include <std.h> inherit ROOM; void create(){ ::create(); set_property("no teleport",1); set_terrain(BARREN); set_travel(DIRT_ROAD); set_short("Thorby's room"); set_long( "This is thorby's room. You aren't supposed to be here, so if you are, leave." ); set_exits( (["down" : "/d/shad...
c
HDU/2010/10737275_AC_0ms_1820kB.c
BakaErii/ACM_Collection
0
1486192
#include <stdio.h> int main(void) { int m, n, isnum, i, g, s, b; while (scanf("%d %d", &m, &n) != EOF) { isnum = 0; for (i = m; i < n + 1 ; i++) { g = i % 10; s = i / 10 % 10; b = i / 100; if (i == g * g * g + b * b * b + s * s * s) { if (isnum != 0) { printf(" "); } printf...
c
isode++/code/iso/itu/osi/als/nsap/user/Responder.h
Kampbell/ISODE
3
540985
#include "als/base/user/Indication.h" using ALS::BASE::USER::Indication; /* * Responder.h * * Created on: 28 juil. 2014 * Author: FrancisANDRE */ #ifndef ALS_NSAP_USER_RESPONDER_H_ #define ALS_NSAP_USER_RESPONDER_H_ #include "als/base/user/Indication.h" using ALS::BASE::USER::Indication; #include "als/nsa...
c
Example/Pods/Headers/Private/PWImagePickerController/PWAssetModel.h
wangweicheng7/PWImagePickerController
4
3050463
// // PWAssetModel.h // Pods // // Created by <NAME> on 16/4/7. // // #import <Photos/Photos.h> @interface PWAssetModel : NSObject @property (nonatomic, strong) id asset; @property (nonatomic, copy) NSString *name; @property (nonatomic, assign,getter=selected) BOOL isSelected; /** * @author <NAME>, 16-...
c
fib.c
Rebaya17/fibonacci
0
5897201
#include <stdlib.h> #include <stdio.h> typedef struct { unsigned long long *val; size_t size; } num_t; void num_init (num_t *num, const unsigned long long x) { num->val = (unsigned long long *) malloc(sizeof(unsigned long long)); num->val[0] = x; num->size = 1; } void add (num_t *a, num_t *b) { const unsigned ...
c
ScoreBoard/global.c
fymfym/ScoreBoard
0
5243647
#include "global.h" unsigned int PwmSegmentValue; unsigned char SettingSwitch; unsigned char Button1Pressed; unsigned char Button2Pressed; unsigned char Button3Pressed; unsigned int InputSignal1; unsigned int InputSignal2; unsigned int InputSignal3; int BlinkCount; unsigned char BlinkState; unsigned int BlinkKeep...
c
src/initctl.c
tokiclover/supervision
13
647529
/* * Utility providing an interface to SysVinit's halt, reboot, shutdown, * poweroff utilities. * * Copyright (c) 2016-2018 tokiclover <<EMAIL>> * This file is part of Supervision * * Supervision is free software; you can redistribute * it and/or modify it under the terms of the 2-clause, simplified, * new BSD...
c
Ch2/converttemp.c
valinkrai/learningc
0
7201640
/* Converts a temperture to celsius */ #include <stdio.h> #define FREEZING_PT 32.0f #define SCALE_FACTOR (5.0f / 9.0f) int main (void) { float fahrenheit, celsius; printf("Enter fahrenheit temperture: "); scanf("%f", &fahrenheit); celsius = (fahrenheit - FREEZING_PT) * SCALE_FACTOR; printf("Celsius equivalent...
c