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
iriclib_bc.h
kskinoue0612/iriclib_v4
0
5892232
#ifndef IRICLIB_BC_H #define IRICLIB_BC_H #include "iriclib_global.h" #ifdef __cplusplus extern "C" { #endif void IRICLIBDLL cg_iRIC_Read_BC_Count_WithGridId(int fid, int gid, const char* type, int* num); int IRICLIBDLL cg_iRIC_Read_BC_IndicesSize_WithGridId(int fid, int gid, const char* type, int num, int* size); i...
c
src/mainlib/stream/synthetic/SyntheticStream.h
priera/aixa
0
5777739
#ifndef AIXA_SRC_MAINLIB_STREAM_SYNTHETIC_SYNTHETICSTREAM_H #define AIXA_SRC_MAINLIB_STREAM_SYNTHETIC_SYNTHETICSTREAM_H #include <mainlib/audio/note/Chord.h> #include <mainlib/math/SineGenerator.h> #include <mainlib/stream/Stream.h> #include <chrono> class SyntheticStream : public Stream { public: using Clock = ...
c
src/AFQMC/Numerics/detail/HIP/Kernels/get_diagonal.hip.h
djstaros/qmcpack
0
8228392
/////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source // License. See LICENSE file in top directory for details. // // Copyright (c) 2020 QMCPACK developers. // // File developed by: <NAME>, <EMAIL>, LLNL // // File...
c
AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/SPDynamicToastView.h
ceekay1991/AliPayForDebug
5
5494523
// // 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 <UIKit/UIView.h> @class NSString, UILabel; @interface SPDynamicToastView : UIView { NSString *_title; UILabel *_titleLabel;...
c
old versions/measurement_package.h
Hamidreza3252/Kalman-Filter
0
5489447
#ifndef MEASUREMENT_PACKAGE_H_ #define MEASUREMENT_PACKAGE_H_ // #include "Dense" #include "Dense" class MeasurementPackage { public: enum SensorType { LASER, RADAR } sensorType_; Eigen::VectorXd rawMeasurements_; int64_t timestamp_; }; #endif // MEASUREMENT_PACKAGE_H_
c
mdschism/MDSCHISMMeshProvider.h
schism-dev/schism_visit_plugin
1
8184609
#ifndef _MDSCHISMMESHPROVIDER_H_ #define _MDSCHISMMESHPROVIDER_H_ #include "MeshProvider10.h" #include "SCHISMFile10.h" class MDSCHISMMeshProvider: public MeshProvider10 { public : MDSCHISMMeshProvider(const std::string & a_ncfile,SCHISMFile10 * a_nc_ptr,const std::string & a_local_gloabl_file); virtu...
c
ios/versioned-react-native/ABI34_0_0/UMReactNativeAdapter/ABI34_0_0UMReactNativeAdapter/UMNativeModulesProxy/ABI34_0_0UMNativeModulesProxy.h
rudylee/expo
2
4247477
// Copyright 2018-present 650 Industries. All rights reserved. #import <ReactABI34_0_0/ABI34_0_0RCTBridgeModule.h> #import <ABI34_0_0UMCore/ABI34_0_0UMInternalModule.h> #import <ABI34_0_0UMCore/ABI34_0_0UMModuleRegistry.h> // ABI34_0_0RCTBridgeModule capable of receiving method calls from JS and forwarding them // to...
c
iOSDevelopSDK/ExampleTableRefreshView.h
WzhGoSky/iOSDevelopSDK
5
4677516
// // ExampleTableRefreshView.h // iOSDevelopSDK // // Created by Hayder on 2019/6/14. // Copyright © 2019 Hayder. All rights reserved. // #import "HHTableRefreshView.h" @interface ExampleTableRefreshView : HHTableRefreshView @end
c
Craft/src/Craft/Math/MathUtils.h
JillyMan/CraftEngine
1
2751380
#pragma once namespace Craft { #define PI 3.1415926f #define TWO_PI PI * 2 #define CERCLE_HALF_ANGLE 180.0f f32 ToRadians(f32 angle); f32 ToAngle(f32 radian); f32 Lerp(f32 v0, f32 v1, f32 t); f32 Claim01(f32 x); }
c
arch/arm/armv7m/kernel/syscall.c
raphui/rnk_light
26
4604088
#include <armv7m/thread.h> #include <kernel/syscall.h> int arch_syscall_is_elevation(unsigned int svc_number) { int ret = 0; unsigned char type; type = syscall_table[svc_number].type; if (type == SYSCALL_PRIVILEGE_ELEVATION) { arch_thread_switch_priv(); ret = 1; } return ret; }
c
include/nds/interrupts.h
asiekierka/libnds
212
647374
/*--------------------------------------------------------------------------------- Interrupt registers and vector pointers Copyright (C) 2005 <NAME> (dovoto) <NAME> (WinterMute) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any ...
c
tests/test-paillier.c
spring-epfl/tandem
0
965350
#include <gmp.h> #include "paillier.h" #include <stdio.h> #define MODULUS_BITS 2048 int main(int argc, char **argv) { paillier_pubkey_t *pk; paillier_prvkey_t *sk; paillier_keygen(MODULUS_BITS, &pk, &sk, &paillier_get_rand_devurandom); paillier_plaintext_t *m0, *m1; m0 = paillier_plaintext_from_...
c
include/RGBLEDMIDI.h
cechownia/TeensyMidiController
5
2807294
#include <Arduino.h> #include <config.h> #include <TM1638.h> #ifndef RGB_LED_H #define RGB_LED_H //TODO: i hate statics - get rid of those. static byte currentButtons = 0; static byte previousButtons = 0; static unsigned long pastRGBLedMilis = 0; static char LEDbuffer[8]; static int currentBank = 0; namespace RGBKey...
c
OACellType/ShowImageCollectionViewCell.h
Goooolden/CombancOACellType
0
5339590
// // ImageCollectionViewCell.h // ImagePicker // // Created by Golden on 2018/8/3. // Copyright © 2018年 Golden. All rights reserved. // #import <UIKit/UIKit.h> @interface ShowImageCollectionViewCell : UICollectionViewCell @property (nonatomic, strong) UIImageView *imageView; @end
c
src/Light.h
burz/v8
3
7695609
#pragma once #include "libs.h" #include "Vector.h" class Light { public: Vector3 diffuse; Vector3 specular; virtual void draw(GLuint light_handle) = 0; }; class DirectionalLight : public Light { public: Vector3 direction; void draw(GLuint light_handle); }; class PointLight : public Light {...
c
samples/include/misc/ocxl.h
yehudahs/silver-leaves
44
3645948
// SPDX-License-Identifier: GPL-2.0+ // Copyright 2017 IBM Corp. #ifndef _MISC_OCXL_H_ #define _MISC_OCXL_H_ #include <linux/pci.h> /* * Opencapi drivers all need some common facilities, like parsing the * device configuration space, adding a Process Element to the Shared * Process Area, etc... * * The ocxl modu...
c
challenges/Bloomy_Sunday/pov_1/pov.c
pingjuiliao/cb-multios
473
4992215
#include "libpov.h" int main(int cgc_argc, char *cgc_argv[]) { cgc_negotiate_type1(0x0, 0x0, 0); do { //*** writing data static unsigned char write_00000_00000[] = "\x31\x0a\x6e\x72\x69\x6e\x79\x6c\x6c\x64\x71\x63\x67\x6c\x64\x6c" "\x76\x6b\x6b\x63\x70\x63\x62\x64\x77\x74\x70\x64\x7...
c
trunk/third_party/libvpx/source/libvpx/vp9/common/vp9_seg_common.c
goddino/libjingle
7
2090576
/* * Copyright (c) 2010 The WebM 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 contributin...
c
Source/WebCore/page/CaptionUserPreferencesMediaAF.h
jacadcaps/webkitty
6
3589778
/* * Copyright (C) 2012-2015 Apple Inc. 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 conditi...
c
kernel/pm/include/tos_pm.h
umaru724/TencentOS_E53_IA1
1
4790013
/*---------------------------------------------------------------------------- * Tencent is pleased to support the open source community by making TencentOS * available. * * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * If you have downloaded a copy of the TencentOS binary from Tenc...
c
lj_mm.h
guanlan/luajit-mm
25
3797723
#ifndef _LJ_MM_H_ #define _LJ_MM_H_ #include <stdlib.h> /* for size_t */ #include <stdio.h> /* for FILE* */ #ifdef __cplusplus extern "C" { #endif typedef enum { /* lm_mmap() is done exclusively by the user mode mmap. */ LM_USER_MODE = 0, /* lm_mmap() is done exclusively by the mmap(2). */ LM_SYS_M...
c
falconn/src/include/falconn/ffht/fht_impl.h
bobpoekert/ocamlfalconn
0
519217
#ifdef __AVX__ #include <immintrin.h> #endif #include <math.h> inline int FHTFloatCombined(float *buffer, int len, int chunk); inline int FHTDoubleCombined(double *buffer, int len, int chunk); #ifdef __AVX__ inline int FHTFloatCombinedAVX(float *buffer, int len, int chunk); inline int FHTDoubleCombinedAVX(double *bu...
c
ZHCMessagesViewController/Models/ZHCMessagesBubbleImage.h
jacktator/ZHChat
146
4267231
// // ZHCMessagesBubbleImage.h // ZHChat // // Created by aimoke on 16/8/8. // Copyright © 2016年 zhuo. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "ZHCMessageBubbleImageDataSource.h" @interface ZHCMessagesBubbleImage : NSObject<NSCopying,ZHCMessageBubbleImageDataSour...
c
LIBS/PETSc/include/petsc/private/vieweradios2impl.h
PavelAlexandrovichM/CSFiltration
8
4084130
#ifndef __VIEWERADIOS2IMPL_H #define __VIEWERADIOS2IMPL_H typedef struct { char *filename; PetscFileMode btype; PetscInt timestep; } PetscViewer_ADIOS2; #endif
c
Labyrint/labyball/Classes/Native/UnityEngine_UnityEngine_HostData1286475231MethodDeclarations.h
mimietti/Labyball
0
5841911
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // UnityEngine.HostData struct HostData_t1286475231; struct HostData_t1286475231_marshaled_pinvoke; // System.String struct String_t; // System...
c
tnc/src/templ/tdf.c
Drahflow/tendra
0
3645678
/* * Copyright 2002-2011, The TenDRA Project. * Copyright 1997, United Kingdom Secretary of State for Defence. * * See doc/copyright/ for the full copyright terms. */ @special external @special token @special tokdec @special tokdef @special tagdec @special tagdef @special al_tagdef @special version @special toke...
c
CocoaSocketIM/CocoaSocketIM/CocoaSocketIM/NSDictionary+Serialization.h
GavinZw/CocoaSocketIM
0
5346809
// // NSDictionary+Serialization.h // CocoaSocketIM // // Created by Gavin on 2017/8/16. // Copyright © 2017年 Gavin. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (Serialization) - (NSString *)ca_jsonString; @end
c
ZXPagingScrollViewDemo/ZXPagingScrollViewDemo/Demo/DemoZXTableViewPaging/DemoZXTableViewPagingVC.h
SmileZXLee/ZXPagingScrollView
12
3944474
// // DemoZXTableViewPagingVC.h // ZXPagingScrollViewDemo // // Created by 李兆祥 on 2019/10/24. // Copyright © 2019 ZXLee. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface DemoZXTableViewPagingVC : UIViewController @end NS_ASSUME_NONNULL_END
c
Analysis/inc/AlJet.h
gganis/AlphappLite
0
1268032
////////////////////////////////////////////////////////// // // CLASS AlJet // Concrete class for Jet Objects, inherits from QvecBase // // Author : <NAME> // modified by <NAME>: // - added lock, unlock, clearObjects, sig2, // conversion constructors from protojets // - fixed assignement ...
c
src/goto-instrument/code_contracts.h
mina1604/cbmc
0
2563120
/*******************************************************************\ Module: Verify and use annotated invariants and pre/post-conditions Author: <NAME> Date: February 2016 \*******************************************************************/ /// \file /// Verify and use annotated invariants and pre/post-condition...
c
import_and_persistence/test_files/official_data_sets/ihw-c-irspec-3-edr-gz-v1.0/software/decomp/c/tcclib/_window.h
Small-Bodies-Node/ntl_archive_db_demo
0
7603332
/* _window.h ------------------------------------------------------- * Internal header file for internal functions. * ----------------------------------------------------------------- */ extern windowtype *windowchain; extern char *backimage; extern windowtype *imagefor; void invalidate_backimage(void); char *get...
c
src/inc/motor.h
viccro/andthebitches
5
3692685
/* * The MIT License * * Copyright (c) 2007 MIT 6.270 Robotics Competition * * 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 right...
c
chrome/common/form_data.h
junmin-zhu/chromium-rivertrail
5
7516697
// 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 CHROME_COMMON_FORM_DATA_H__ #define CHROME_COMMON_FORM_DATA_H__ #include <vector> #include "base/string16.h" #include "chrome/common/form_fi...
c
src/Graphics/SpriteSheet.h
anishvabardhan/Apex
1
2239289
#pragma once #include "../Maths/Vec2.h" #include "../Maths/Vec4.h" #include "../Maths/AABB2.h" #include "Texture.h" namespace Apex { class SpriteDefinition; class SpriteSheet { public: Texture& m_SpriteSheetTexture; Vec2 m_Position; Vec2 m_Dimension; Vec2 m_SpriteLayout; Vec4 m_Color; SpriteSheet...
c
System/Library/PrivateFrameworks/VideosUI.framework/VideosUI-Structs.h
zhangkn/iOS14Header
1
4911784
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:44:18 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/VideosUI.framework/VideosUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME...
c
cl/opencl1/DeviceAttributes.h
k-a-z-u/KLib
2
2079344
#ifndef K_CV_DEVICEATTRIBUTES_H #define K_CV_DEVICEATTRIBUTES_H #include "Base.h" #include <string> namespace K { namespace CL { /** all supported attributes */ enum DeviceAttribute { NAME, VENDOR, DEVICE_VERSION, DEVICE_PROFILE, DRIVER_VERSION, MAX_DIMENSION, MAX_WORK_GROUP_SIZE, MAX_WO...
c
cpp-restsdk/api/ErrorApi.h
thracesystems/powermeter-api
0
3667522
/** * PowerMeter API * API * * The version of the OpenAPI document: 2021.4.1 * * NOTE: This class is auto generated by OpenAPI-Generator 4.3.1. * https://openapi-generator.tech * Do not edit the class manually. */ /* * ErrorApi.h * * */ #ifndef POWERMETER_API_ErrorApi_H_ #define POWERMETER_API_ErrorApi_...
c
tree/bitmap.h
callalilychen/TIOT
0
2151718
/*- * treestate.h - A static bit map * * Copyright 2015 <NAME> */ /*! * \addtogroup tree_state * \{ * * \file * \brief Header definitions for the bit map functions * * \author <NAME> */ #ifndef __BIT_MAP_H__ #define __BIT_MAP_H__ #include <stdint.h> #include "treeconfig.h" #ifdef __cplusp...
c
OC与JS交互Demo列表/有趣的Demo/JavaScript-Objective-C-Bridge/JSBridgeTest/JavaScriptBridge/JavaScriptBridgeURLConnectionDelegate.h
FairyEver/WebBasicCommonDemos
138
6549087
// // JavaScriptBridgeURLConnectionHandler.h // JSBridgeTest // // Created by <NAME> on 11/03/27. // Copyright 2011 Kronecker's Delta Studio. All rights reserved. // #import <UIKit/UIKit.h> @interface JavaScriptBridgeURLConnectionDelegate : NSObject { UIWebView *webView; NSUInteger connectionID; } @prop...
c
Example/Pods/Target Support Files/Pods-PTPopupWebView_Tests/Pods-PTPopupWebView_Tests-umbrella.h
mronus/PTPopupWebView
130
4902142
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_PTPopupWebView_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_PTPopupWebView_TestsVersionString[];
c
backend/messageSender/Message.h
Azbesciak/MusicStreamer
0
4826232
#include <vector> #include <unordered_set> using namespace std; #ifndef MUSICSTREAMER_MESSAGE_H #define MUSICSTREAMER_MESSAGE_H class StreamerClient; class Message { unordered_set<StreamerClient*> receivers; string content; public: Message(const unordered_set<StreamerClient*> &receivers, const string &m...
c
os/net/app-layer/coap/coap-blocking-api.c
giovannistanco/contiki-ng
0
6714950
/* * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * 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 ...
c
src/docs/examples/hiperfifo.c
djp952/prebuilt-libcurl-httponly
3
6617074
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
c
AtomicUISample/AppDelegate.h
WideEyeLabs/AtomicUI
0
2366720
// // AppDelegate.h // AtomicUISample // // Created by <NAME> on 1/30/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @class AtomSlideController; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (nonatomic, st...
c
src/acl/switchd-plugin/acl_ofproto.h
ashutoshshanker/ops-classifierd
0
7015334
/* * Copyright (C) 2016 Hewlett Packard Enterprise Development LP * * 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 requi...
c
guts/guts/objs/cube.h
Emberwalker/ac41001_opengl_cpp
1
1773669
#ifndef GUTS_OBJS_CUBE_H #define GUTS_OBJS_CUBE_H #include "guts/gl_object.h" #include <vector> #include <glm/glm.hpp> #include <glload/gl_4_1.hpp> namespace guts { namespace objs { // An OpenGL cube. Essentially identical to <NAME>'s cube class, but // adjusted to fit into the GUTS hierarchy. class Cube : public GL...
c
Finales/Virtuales/final-9511-2021-08-27/ej2.c
ApophisXIV/Algo1-9511-Ejercicios-Obligatorios
2
5669431
#include <assert.h> #include <stdio.h> #include <stdlib.h> typedef struct nodo { int dato; struct nodo *prox; struct nodo *ant; } nodo_t; typedef struct { nodo_t *prim; } lista_t; void lista_eliminar(lista_t *lista, int dato) { nodo_t *n_actual = lista->prim; while (n_actual != NULL) { ...
c
src/util/src/workqueue.c
twblamer/hse
1
7522089
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2015-2020 Micron Technology, Inc. All rights reserved. */ #define _GNU_SOURCE /* for pthread_setname_np() */ #include <hse_util/assert.h> #include <hse_util/mutex.h> #include <hse_util/condvar.h> #include <hse_util/minmax.h> #include <hse_util/page.h> #i...
c
master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/util/gigatest.h
AlexRogalskiy/DevArtifacts
4
3406347
//------------------------------------------------------------------------- // Desc: Gigatest // Tabs: 3 // // Copyright (c) 2000-2007 Novell, 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 publish...
c
PrivateFrameworks/CloudDocsDaemon.framework/_BRCUploadInfo.h
shaojiankui/iOS10-Runtime-Headers
36
6078683
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/CloudDocsDaemon */ @interface _BRCUploadInfo : _BRCTransferInfo - (void)copyProgressInfoToProgress:(id)arg1 options:(BOOL)arg2; - (id)init; - (void)updateLocalizedDescriptionWithOptions:(BOOL)arg1; @end
c
project/ksdiy/src/driver/drv_qmc6310.h
Kevincoooool/esp32s3_openmv_lvgl
15
2000221
#ifndef __QMC6310_H #define __QMC6310_H //#include "stm32f10x.h" #include "drv_i2c.h" /* vendor chip id*/ #define QMC6308_IIC_ADDR (0x2c)//(0x2c<<1) #define QMC6310U_IIC_ADDR (0x1c)//(0x1c<<1) #define QMC6310N_IIC_ADDR (0x3c)//(0x3c<<1) #define QMC6310_CHIP_ID_REG 0x00 /*data output register*/ #define QMC6...
c
src/yb/util/opid.h
duzhanyuan/yugabyte-db
0
2829631
// // Copyright (c) YugaByte, 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 in w...
c
Common/dslIniFileProperties.h
TotteKarlsson/dsl
0
5243130
#ifndef dslIniFilePropertiesH #define dslIniFilePropertiesH #include "dslCommonExporter.h" #include "dslProperties.h" #include <string> #include "dslSharedPointer.h" //--------------------------------------------------------------------------- namespace dsl { class IniFile; using std::vector; using std::string; //In...
c
components/page_load_metrics/browser/observers/largest_contentful_paint_handler.h
sarang-apps/darshan_browser
0
6468471
// 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 COMPONENTS_PAGE_LOAD_METRICS_BROWSER_OBSERVERS_LARGEST_CONTENTFUL_PAINT_HANDLER_H_ #define COMPONENTS_PAGE_LOAD_METRICS_BROWSER_OBSERVERS_LARGEST_C...
c
src/task.c
goldensuneur/WDJ
0
2219243
#include "task.h" #include <mpi.h> #include <stdio.h> #include <stdlib.h> #include "log.h" void getTasks( tasks_t * t, double minR, double maxR, double minI, double maxI, int width, int height, int blockWidth, int blockHeight, int usempi) { int nbNod...
c
emuboot/src/northbridge/via/vx800/dev_init.c
leetobin/firebrick
9
2035067
/* * This file is part of the coreboot project. * * Copyright (C) 2009 One Laptop per Child, Association, Inc. * * 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; version 2 of the License. ...
c
Examples/CocoaPodsExample/Common/Stream.h
shepting/mparticle-apple-sdk
1
2940267
#import <Foundation/Foundation.h> @interface Stream : NSObject @property (nonatomic, strong) NSString *title; @property (nonatomic, strong) NSURL *url; - (instancetype)initWithTitle:(NSString *)title url:(NSURL *)url; @end
c
c++/include/connect/ext/ncbi_dblb.h
OpenHero/gblastn
31
5346009
#ifndef CONNECT_EXT___NCBI_DBLB__H #define CONNECT_EXT___NCBI_DBLB__H /* $Id: ncbi_dblb.h 168469 2009-08-17 14:27:16Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Informatio...
c
PrivateFrameworks/MarkupUI/MUPDFContentViewController.h
phatblat/macOSPrivateFrameworks
17
6594121
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <MarkupUI/MUContentViewController.h> #import "MUContentViewControllerProtocol.h" #import "PDFAKControllerDelegateProtocol.h" #import "PDFViewDelegate.h" @class MUPDFViewBase, NS...
c
test/test.c
talih0/dps-for-iot
57
2402378
/* ******************************************************************* * * Copyright 2018 Intel Corporation All rights reserved. * *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
c
mex/include/sisl-4.5.0/src/s1330.c
sangyoonHan/extern
0
3113560
//=========================================================================== // SISL - SINTEF Spline Library, version 4.5.0. // Definition and interrogation of NURBS curves and surfaces. // // Copyright (C) 2000-2005, 2010 SINTEF ICT, Applied Mathematics, Norway. // // This program is free software; you can redistrib...
c
Silicon/Intel/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/PchRegs/PchRegsPcu.h
ADLINK/edk2-platforms
373
8157432
/*++ Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: PchRegsPcu.h Abstract: Register names for VLV PCU device. Conventions: - Prefixes: Definitions beginning with "R_" are registers Definitions beginning with "B_" a...
c
connect/ConnPool.h
taozhijiang/roo
0
5581156
/*- * Copyright (c) 2019 <NAME><<EMAIL>> * * Licensed under the BSD-3-Clause license, see LICENSE for full information. * */ #ifndef __ROO_CONNECT_POOL_H_ #define __ROO_CONNECT_POOL_H_ #include <xtra_rhel.h> #include <set> #include <deque> #include <numeric> #include <boost/circular_buffer.hpp> #include <con...
c
inc/board.h
MITEVT/a123-battery-integration
1
6995797
/** * @file board.h * @author <NAME> * @date 25 June 2015 * @brief Board peripheral driver */ #ifndef _BOARD_H_ #define _BOARD_H_ #include "chip.h" #include "state_types.h" #include "mcp2515.h" #include "brusa.h" #include "a123mbb.h" #include "util.h" #include "charge.h" #include "drain.h" #include "ssm.h" #incl...
c
(build my lisp)/type.c
shenxs/HTDP-exercise
18
4230691
#include "type.h" lenv *lenv_new(void) { lenv *e = malloc(sizeof(lenv)); e->par = NULL; e->count = 0; e->syms = NULL; e->vals = NULL; return e; } lenv *lenv_copy(lenv *e) { lenv *n = malloc(sizeof(lenv)); n->par = e->par; n->count = e->count; n->syms = malloc((sizeof(char *) * n->count)); n->val...
c
StoreExportPanel/StoreExportPanelSketchPanelCellHeader.h
stormbuster/sketch-localise
0
5279675
// // StoreExportPanelSketchPanelCellHeader.h // WeLiveLikeThis-Store-Export // // Created by <NAME> on 09.10.17. //Copyright © 2017 WeLiveLikeThis. All rights reserved. // #import <Cocoa/Cocoa.h> #import "StoreExportPanelSketchPanelCell.h" @interface StoreExportPanelSketchPanelCellHeader : StoreExportPanelSketchP...
c
aimsdata/src/aimsdata/io/baseFormats_volume_d.h
brainvisa/aims-free
4
4317763
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
c
jre_emul/android/platform/external/icu/data/_com_ibm_icu_impl_data_icudt58b_zone_be_res.h
life-beam/j2objc
1
6382502
// // Generated by gen_resource_source.py // #ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_BE_RES_H #define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_BE_RES_H static jbyte _com_ibm_icu_impl_data_icudt58b_zone_be_res[] = { 0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x52, 0x65, 0x73, 0x42, 0x...
c
firmware/sensors/htu.h
mckacz/sensors
0
5036874
#ifndef __HUM_H #define __HUM_H #include "sensors.h" #define HUM_READ_ERR 128 extern void htu_begin(); extern void htu_read(readings_t &readings); #endif
c
logger.h
estibi/audioplayer
1
5722451
void logger(char *fmt, ...);
c
include/plat/marvell/octeontx/csr/cavm-csrs-ree.h
Gateworks/atf-newport
0
8187352
#ifndef __CAVM_CSRS_REE_H__ #define __CAVM_CSRS_REE_H__ /* This file is auto-generated. Do not edit */ /***********************license start*********************************** * Copyright (C) 2019 Marvell International Ltd. * SPDX-License-Identifier: BSD-3-Clause * https://spdx.org/licenses ***********************lice...
c
lib/poorMansDi/example/CoffeeMachines/Barista.h
TNG/mustard-cli
7
1745819
// // Created by mimgrund on 23.09.16. // #ifndef DEPENDENCYINJECTIONDEMO_BARISTA_H #define DEPENDENCYINJECTIONDEMO_BARISTA_H #include <iostream> #include "CoffeeMaker.h" class Barista : public CoffeeMaker { public: Barista() { std::cout << "We just created a coffeeMaker!" << std::endl; } virtua...
c
src/api/fm10000/fm10000_api_vlan.c
andriymoroz/IES
12
7333700
/* vim:et:sw=4:ts=4:tw=79: * (No tabs, indent level is 4 spaces) */ /***************************************************************************** * File: fm10000_api_vlan.c * Creation Date: December 3, 2012 * Description: FM10xxx specific VLAN functions * * Copyright (c) 2012 - 2016, Intel Corp...
c
Qlink/Utils/DigestUtils.h
QlcChainOrg/winq-ios
8
4252740
// // DigestUtils.h // Qlink // // Created by <NAME> on 2018/3/27. // Copyright © 2018年 pan. All rights reserved. // #import <Foundation/Foundation.h> @interface DigestUtils : NSObject + (NSString *)getSignature:(NSDictionary *)dicP ; @end
c
Silicon/Marvell/Drivers/Net/Pp2Dxe/Mvpp2Lib.c
ADLINK/edk2-platforms
373
2747072
/******************************************************************************** Copyright (C) 2016 Marvell International Ltd. SPDX-License-Identifier: BSD-2-Clause-Patent *******************************************************************************/ #include "Mvpp2Lib.h" #include "Mvpp2LibHw.h" #include "Pp2Dxe....
c
kernel/drivers/huawei_platform/power/hardware_ic/charger_ic/bq2419x/bq2419x_charger.c
wonderful666/marx-10.1.0
0
4480129
/* * bq2419x_charger.c * * bq2419x driver * * Copyright (c) 2012-2019 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * ...
c
flint/src/discovery/FlintDiscovery.h
jsli/flingd-cc
0
2089957
/* * Copyright (C) 2013-2014, The OpenFlint 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 ...
c
include/qt5/QtWaylandClient/5.4.0/QtWaylandClient/private/qwayland-touch-extension.h
crocinc/aurora-rust-gui
2
5952294
#ifndef QT_WAYLAND_TOUCH_EXTENSION #define QT_WAYLAND_TOUCH_EXTENSION #include <QtWaylandClient/private/wayland-touch-extension-client-protocol.h> #include <QByteArray> #include <QString> QT_BEGIN_NAMESPACE #if !defined(Q_WAYLAND_CLIENT_TOUCH_EXTENSION_EXPORT) # if defined(QT_SHARED) # define Q_WAYLAND_CLIENT_TO...
c
src/ext/util_for_PHP.h
onefit/apm-agent-php
0
241712
/* +----------------------------------------------------------------------+ | Elastic APM agent for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2020 Elasticsearch B.V. | +---------...
c
src/mono/mono/utils/mono-merp.c
abock/runtime
11
4928329
/** * \file * Support for interop with the Microsoft Error Reporting tool * * Author: * <NAME> (<EMAIL>) * * (C) 2018 Microsoft, Inc. * */ #include <config.h> #include <glib.h> #if defined(TARGET_OSX) && !defined(DISABLE_CRASH_REPORTING) #include "mono-merp.h" #include <unistd.h> #include <spawn.h> // OS...
c
include/Sprite.h
M4T1A5/IndieSpeedRun2013
0
3412324
#ifndef SPRITE_H #define SPRITE_H #include <SFML\Graphics.hpp> #include <EGEMath\Vector.h> #include <EGEMath\Rectangle.h> namespace EGEMotor { class Texture { public: Texture(); Texture(std::string TextureName); ~Texture(); void loadTexture(std::string TextureName); const EGEMath::Vector getTextureSize(); pri...
c
src/backend/optimizer/path/clausesel.c
Schwarzam/postgres
9,778
6147657
/*------------------------------------------------------------------------- * * clausesel.c * Routines to compute clause selectivities * * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src...
c
include/C2nxt/mpl/StdPPStrings.h
braxtons12/C2nxt
3
4349183
/// @file StdPPStrings.h /// @author <NAME> <<EMAIL>> /// @brief StdPPStrings provides metaprogramming macros for operating on/with text/tokens /// @version 0.1 /// @date 2022-01-02 /// /// MIT License /// @copyright Copyright (c) 2022 <NAME> <<EMAIL>> /// /// Permission is hereby granted, free of charge, to any person...
c
chapter10/program/program10.6.c
glenga/c_programming_a_modern_approach_2nd
0
5346270
#include <ctype.h> // for isdigit() #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #define STACK_SIZE 100 // 外部变量 int contents[STACK_SIZE]; int top = 0; void make_empty(void); bool is_empty(void); bool is_full(void); int push(int num); int pop(); int main() { char ch; int op1, op2; printf("Enter ...
c
challenges/ppc32-simple-fmt/src/fmt.c
abhisek/pwnworks
71
1069405
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <inttypes.h> //#define DEBUG #define STDIN 0 #define STDOUT 1 // Why so global? static char sbuf1[1024]; static char sbuf2[1024]; static void (*x_printf)() = (void*) &printf; // Who doesn't like a lookup in IDA? static const c...
c
WWWebPConvert/ToWebPShowViewController.h
moreFine/WWWebPConvert
7
5149938
// // ToWebPShowViewController.h // WWWebPConvert // // Created by wangwei on 2019/1/21. // Copyright © 2019 wangwei. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ToWebPShowViewController : UIViewController @end NS_ASSUME_NONNULL_END
c
project/OFEC_sc2/instance/problem/continuous/multi_objective/WFG/WFG.h
BaiChunhui-9803/bch_sc2_OFEC
0
4657435
/************************************************************************* * Project: Library of Open Frameworks for Evolutionary Computation (OFEC) ************************************************************************* * Author: <NAME> & <NAME> * Email: <EMAIL> Or <EMAIL> * Language: C++ ***************************...
c
datapath/vport.h
binhqnguyen/ovs-srv6
5
171592
/* * Copyright (c) 2007-2012 Nicira, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT...
c
rt-thread/bsp/lpc824_blink/Libraries/peri_driver/rom/rom_uart_8xx.h
wuhanstudio/rtthread-nano
7,482
6408454
/* * @brief LPC8xx UART ROM API declarations and functions * * @note * Copyright(C) NXP Semiconductors, 2012 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This softwar...
c
src/common/event/common-events/CommonEventDefinitions.h
pulpobot/conways-game-of-life
0
2722051
// // Created by <NAME> on 2019-03-13. // #ifndef PULPOBOT_COMMON_EVENT_DEFINITIONS_H #define PULPOBOT_COMMON_EVENT_DEFINITIONS_H #define COMMON_BASE_EVENT_ID 0 #define COMMON_WINDOW_CLOSE_EVENT_ID COMMON_BASE_EVENT_ID + 1 #define COMMON_WINDOW_KEY_PRESSED_EVENT_ID COMMON_BASE_EVENT_ID + 2 #define COMMON_WINDOW_FUNCT...
c
Sharpmake.FunctionalTests/NoAllFastBuildProjectFunctionalTest/codebase/LibB/LibB.h
mihailogazda/Sharpmake
563
3589578
#pragma once int fcnB();
c
ukvm/ukvm_hv_freebsd_x86_64.c
hb9cwp/solo5
168
5040320
/* * Copyright (c) 2015-2017 Contributors as noted in the AUTHORS file * * This file is part of ukvm, a unikernel monitor. * * 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 n...
c
ubn.h
rickywu0421/fibdrv
0
7201658
#ifndef _UBN_H_ #define _UBN_H_ typedef uint32_t ubn_b_t; typedef uint64_t ubn_b_extend_t; typedef struct _ubn ubn_t; #define BITS_PER_BYTE 8 #define UBN_BLOCK_SIZE sizeof(ubn_b_t) #define UBN_BLOCK_EXTEND_SIZE sizeof(ubn_b_extend_t) #define UBN_FULL_SIZE 96 #define UBN_BLOCK_MAX (ubn_b_t) - 1 #define UBN_ARRAY_SIZE ...
c
1_3_2/ex10sol1.c
jkleid/taocp_in_c
0
6913456
int* Saddle(int matrix[9 * 8]) { int list[8]; int idx; // r1 int col; // r2 int pos; // r3 int elem; // rX int* a10 = matrix - 1; idx = 9 * 8; // START do { // ROWMIN for (col = 8;;) { elem = a10[idx]; // 2H pos = 0; do { list[pos++] = col; // 4H ...
c
src/main.c
ruechy/Guitar-Tuner
0
2716651
/* main.c - chromatic guitar tuner * * Copyright (C) 2012 by <NAME> * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that both that * copyright notice an...
c
src/vector3D.h
zjujeremy/DPD_Parallel
0
4404155
#ifndef VECTOR3D_H #define VECTOR3D_H #include <iostream> #include <cmath> #include <fstream> #include <iomanip> using namespace std; template <class numtype> class vector3D{ public: vector3D(numtype _x = 0, numtype _y = 0, numtype _z = 0) : x(_x), y(_y), z(_z){ } vector3D(const vector3D<numtype> & _v){ x = _...
c
Other/Headers/ExptService.h
XWJACK/WeChatPlugin-MacOS
2
878827
// // 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 "MMService.h" #import "AccountServiceExt-Protocol.h" #import "IExptLogicCallback-Protocol.h" #import "IMessageExt-Protocol.h" #impor...
c
Sources/AndroidHttpRequest.h
tong/armorcore
63
5149819
#pragma once typedef void (*kinc_http_callback_t)(int error, int response, const char *body, void *callbackdata); void android_http_request(const char *url, const char *path, const char *data, int port, bool secure, int method, const char *header, kinc_http_callback_t callback, void *callbac...
c
executor/operator/ref/kernel/feature_match/ref_feature_match_fp32.c
clovking/Tengine
25
2034895
static int ref_fm_fp32(const float* input, float* output, const float* weight, const float* bias, feature_match_data* param) { int batch = param->batch; int hidden = param->hidden; int out_number = param->out_number; int n, i, j; for(n = 0; n < batch; ++n) { for(i = 0; i < out_number; +...
c
main.c
somerandomdev49/tinylang
1
6866877
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "bytecode.h" #include "common.h" enum { token_type_eof, token_type_id, token_type_num, }; typedef struct { u8 type; u16 value; } token_t; const char *tok_to_str(token_t *t) { static char s[32]; /**/ if(t->type == token_ty...
c