max_stars_repo_path
stringlengths
3
173
max_stars_repo_name
stringlengths
5
75
max_stars_count
float64
0
191k
id
stringlengths
5
7
text
stringlengths
19
518k
lang
stringclasses
1 value
rts-pgen-c/cfg.h
jprider63/daedalus
21
6812559
#ifndef CFG_H #define CFG_H #include <stdio.h> #include "value.h" /** An Input is a pair consisting of a FILE and a position */ typedef struct _Input { FILE * file; fpos_t posInput; } Input ; /** Semantic stack value type */ typedef struct _SemanticElm { enum { SEnvMap, SEVal, SManyVal, SEnd } tag; ...
c
YWeiBoDemo/YWeiBoDemo/Feed list/Model/YWBToolbar.h
yanxuewen/YWeiBoDemo
3
965675
// // YWBToolbar.h // YWeiBoDemo // // Created by YXW on 2018/11/26. // Copyright © 2018 YXW. All rights reserved. // #import "YBaseModel.h" NS_ASSUME_NONNULL_BEGIN @class YWBStatus; @interface YWBToolbar : YBaseModel @property (nonatomic, weak) YWBStatus *status; @property (nonatomic, assign) CGFloat toolbarHe...
c
HWOperationsKit/Classes/Condition/HWOperationConditionProtocol.h
HeathWang/HWOperationsKit
1
3476533
// // HWOperationConditionProtocol.h // HWOperationsKit // // Created by <NAME> on 2019/7/17. // @class HWOperation; @class HWOperationConditionResult; /** * Operation condition 协议,用于在operation开始执行任务之前对其进行前置校验 */ @protocol HWOperationConditionProtocol <NSObject> /** * condition name * @return string */ - (no...
c
GameBackboneSln/GameBackboneDemo/Include/GameBackboneDemo/DemoRegion.h
lavinrp/GameBackbone
9
3848379
#pragma once #include <GameBackbone/Core/GameRegion.h> #include <TGUI/TGUI.hpp> #include <SFML/Graphics.hpp> #include <SFML/Graphics/Drawable.hpp> #include <SFML/Graphics/Sprite.hpp> #include <memory> #include <vector> namespace EXE { class DemoRegion : public GB::GameRegion { public: /// <summary>A shared_p...
c
build/git_submodules/freeDiameter/extensions/acl_wl/acl_wl.c
Cindia-blue/openair-cn-lixh
1
2670669
/********************************************************************************************************* * Software License Agreement (BSD License) * * Author: <NAME> <<EMAIL>> * * * * Copyright (c) 2011, WIDE Project and NICT *...
c
implementations/ugene/src/corelibs/U2View/src/ov_msa/view_rendering/SequenceWithChromatogramAreaRenderer.h
r-barnes/sw_comparison
0
8376343
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <<EMAIL>> * http://ugene.net * * 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 L...
c
ports/nrf/sd_mutex.h
MakeItZone/circuitpython
36
2651882
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2019 <NAME> for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
c
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h
yage99/tensorflow
190,993
239163
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
c
libcxx/include/jcc/visibility.h
AntonioColino/libcxx
0
7788520
#ifndef __HAS_JCC_VISIBILITY__ #define __HAS_JCC_VISIBILITY__ 1 #ifndef __pragma_once__ # if defined(_MSC_VER) # define __pragma_once__ __pragma(once) # else // _MSC_VER # define __pragma_once__ _Pragma("once") # endif //_MSC_VER #endif // __pragma_once__ __pragma_once__ #include <jcc/stri...
c
alvr/server/cpp/platform/linux/generated/swscale_loader.h
Firepal/ALVR
1,562
7120248
// This is generated file. Do not modify directly. // Path to the code generator: alvr/server/generate_library_loader.py . #ifndef LIBRARY_LOADER_SWSCALE_LOADER_H #define LIBRARY_LOADER_SWSCALE_LOADER_H extern "C" { #include <libswscale/swscale.h> } #include <string> class swscale { public: swscale(); ~swsca...
c
src/Game/zEntTeleportBox.h
DarkRTA/bfbbdecomp
0
4353876
#ifndef ZENTTELEPORTBOX_H #define ZENTTELEPORTBOX_H #endif
c
src/VirtualMachine/SCPUState.h
ArgishtyAyvazyan/DedalCompiler
1
8305877
/** * @file SCPUState.h * @author <NAME> (<EMAIL>) * @brief Declaration for SCPUState struct. * @date 15-12-2019 * @copyright Copyright (c) 2019 */ #pragma once #include <memory> #include "CFlags.h" #include "CMemory.h" namespace vm { struct SCPUState { using TFlags = std::shared_ptr<CFlags>; using T...
c
ui/gfx/image.h
meego-tablet-ux/meego-app-browser
1
2693742
// 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. // An Image wraps an image any flavor, be it platform-native GdkBitmap/NSImage, // or a SkBitmap. This also provides easy conversion to other image ty...
c
Cheetah_mPaaSSDK/Frameworks/AntUI.framework/Headers/AUUILoadDefine.h
hyissogood/Cheetah_mPaaSSDK
0
6530644
// // AUUIUnloadDefine.h // AntUI // // Created by maizhelun on 2017/5/27. // Copyright © 2017年 Alipay. All rights reserved. // #import "AUDefine.h" #ifndef AUUILoadDefine_h #define AUUILoadDefine_h // //加载的【UI 模块】 <程序自动生成> // //【AgreementView 模块】 //#define ANTUI_UI_AgreementView //#define ANTUI_UI_Agreemen...
c
include/mainwindow.h
AndreLaranjeira/ProxyGate
0
788121
// Main window module - Header file. /** * @file mainwindow.h * @brief Main window module - Header file. * * The main window module contains the implementation of the MainWindow class, * which is responsible for the UI and thread configuration of the application. * This header file contains a header guard, libra...
c
src/blacklist.h
max197616/zerod
5
1076384
#ifndef ZEROD_BLACKLIST_H #define ZEROD_BLACKLIST_H #include <stddef.h> struct zsession; struct zblacklist; struct zblacklist *zblacklist_new(void); void zblacklist_free(struct zblacklist *bl); int zblacklist_reload(struct zblacklist *bl, const char *file); int zblacklist_process(struct zblacklist *bl, struct zse...
c
src/AdGame.h
segafan/wmelite_jankavan-julia-repo
1
215696
/* This file is part of WME Lite. http://dead-code.org/redir.php?target=wmelite Copyright (c) 2011 <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 without li...
c
UnityAds/AdUnit/UADSViewController.h
CLUB-INFORMATIQUE/unity-ads-ios
3
1261087
#import <UIKit/UIKit.h> #import "UADSAVPlayer.h" #import "UADSVideoView.h" @interface UADSViewController : UIViewController @property (nonatomic, strong) UADSAVPlayer *videoPlayer; @property (nonatomic, strong) UADSVideoView *videoView; @property (nonatomic, strong) NSArray<NSString*> *currentViews; @property (nonato...
c
ModelViewer/ViewerFoundation/Meshes/ModelMeshes/NuoMeshTexMatieraled.h
erpapa/NuoModelViewer
265
6448644
// // NuoMeshTexMatieraled.h // ModelViewer // // Created by dfeng on 9/7/16. // Copyright © 2016 middleware. All rights reserved. // #import <Foundation/Foundation.h> #import "NuoMeshTextured.h" @interface NuoMeshTexMatieraled : NuoMeshTextured - (instancetype)initWithCommandQueue:(id<MTLCommandQueue>)comma...
c
Samples/Win7Samples/netds/nap/sampleshvui/Regutil.h
windows-development/Windows-classic-samples
8
3625791
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. #include <shlwapi.h> ...
c
code/DrumTrigger/DrumSense/main.c
Xartos/DrumSense
0
7545669
/* * DrumSens.c * * Created: 2017-02-13 19:12:29 * Author : Fredde */ #define F_CPU 8000000UL #include <avr/io.h> #include <util/delay.h> //_delay_ms #include <stdlib.h> //rand #include "UARTProtocol.h" #define ADCTHRESHOLD (1024 / 2) #define LEDFADE 8 #define LEDMAX 0xFF // Glow that at least is present #d...
c
AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/C/WKPage.h
lzackx/Zone
0
2354515
/* * Copyright (C) 2010, 2011 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 condit...
c
10/10.42/elimDups_list/elimDups_list.h
kousikpramanik/C-_Primer_5th
0
2208319
#ifndef C_PRIMER_5TH_ELIMDUPS_LIST_H #define C_PRIMER_5TH_ELIMDUPS_LIST_H #include <string> #include <list> void elimDups_list(std::list<std::string> &slst); #endif //C_PRIMER_5TH_ELIMDUPS_LIST_H
c
sdk-6.5.16/src/soc/phy/phyaddr.h
copslock/broadcom_cpri
0
6420709
/* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2019 Broadcom Inc. All rights reserved. * * File: phyaddr.h * Purpose: Basic defines for PHY configuration */ #ifndef _PHY_ADDR_H #define _P...
c
ledControl.c
LoialOtter/GloweyCore
0
2034801
/* Glowey Core - Copyright (C) 2017..2018 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
c
YBL365/Class/Profile/Section3/StoreManage/OpenCredits/ViewModel/YBLOpenCreditsService.h
740326093/-
313
6468956
// // YBLOpenCreditsService.h // YC168 // // Created by 乔同新 on 2017/3/25. // Copyright © 2017年 乔同新. All rights reserved. // #import "YBLBaseService.h" @interface YBLOpenCreditsService : YBLBaseService @end
c
SDKs/CryCode/3.7.0/GameDll/GameRulesModules/GameRulesStandardTwoTeams.h
amrhead/FireNET
4
7516681
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2009. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: ------------------------------------------------------------------------- H...
c
io-cached/app.c
narcissuscry/linux-perf-examples
886
5831547
#define _GNU_SOURCE #define BUF_SIZE 32 * 1024 * 1024 #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <unistd.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <dirent.h> #include <string.h> #include <sys/file.h> #include <fcntl.h> #include <ctype.h> ...
c
src/amuse/community/ph4/src/grape.h
rknop/amuse
131
5153046
#ifndef _G6LIB_ #define _G6LIB_ // Sapporo g6 function calls and local equivalents. extern "C" { int g6_open_(int *id); int g6_open(int id); int g6_close_(int *id); int g6_close(int id); int g6_npipes_(); int g6_npipes(); int g6_set_tunit_(double*); int g6_set_tunit(double t); int g6_se...
c
code/shared/payload.h
biomimetics/biomimetic-millisystems-lab
0
5641663
/* * Copyright (c) 2010, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice,...
c
tt.c
niksrc/tt
0
4690583
#include <stdio.h> #include <stdlib.h> #include <time.h> int main(int argc, char **argv) { char *line = NULL; size_t len = 0; ssize_t read; char *strtime; time_t now, utc_time; struct tm *gtm; while ((read = getline(&line, &len, stdin)) != -1) { now = time(NULL); gtm = gmtime(&now); strftime...
c
xdl-algorithm-solution/TDM/src/python/store/cc/include/api.h
hitflame/x-deeplearning
4,071
2167065
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited 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 ...
c
android-ndk-r10b/tests/build/mips-fp4/jni/mips-fp4-test1-2.c
perezite/Boost4Android
1
36763
double test1 (double a, double b, double c) { return a + b * c; } double test2 (double a, double b, double c) { return - a + b * c; } double a, b, c; int main() { test1(a, b, c); test2(a, b, c); }
c
trabalho-simulacao-fabrica-c/source/main.c
VitorDeSiqueiraCotta/trabalhos-academicos-c
0
5026362
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include "func.h" int main(void) { srand(time(NULL)); int qtMaquinas = 0; int tempo = 0; int op = 0; while(true) { printf("Insira a quantidade de maquinas: "); if(scanf("%d", &qtMaquinas) != 1) { ...
c
src/arch/win32/statusbar.h
swingflip/C64_mini_VICE
2
7810264
/* * statusbar.h - Status bar code. * * Written by * <NAME> <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
c
include/awscsdk.h
moshegottlieb/Cawssdk
0
8358832
/** * Umbrella header for swift modules */ #pragma once #include "aws.h" #include "s3.h" #include "ses.h" #include "sqs.h"
c
NUCLEO_H745_DHT11_SERIAL_TEMP_SENSOR/CM7/Core/Inc/dht11_temp_sensor.h
kbeech98/STM32-NUCLEO-H745ZI-Q
0
7957813
//-KB,-5-11-202- //dht11_temp_sensor.h float Temperature; float Humidity; //Define the DHT11 pin below #define DHT11_PORT GPIOD #define DHT11_PIN GPIO_PIN_0 #ifndef INC_dht11_temp_sensor_H_ #define INC_dht11_temp_sensor_H_ #include "stm32h7xx_hal.h" #include "stdio.h" void two_half_us_delay (uint16_t us); void de...
c
src/RotationCounter.h
oturpe/rotation-counter
0
2752872
/* * RotationCounter.h * * Created on: 2013-11-11 * Author: <NAME> */ #ifndef ROTATIONCOUNTER_H_ #define ROTATIONCOUNTER_H_ #include "SensorReader.h" #define __DEBUG namespace RotationCounter { /** * Initializes a sensor reader of desired type. Rewrite this function * according to sensor ty...
c
src/3rdparty/khtml/src/kjserrordlg.h
afarcat/QtHtmlView
0
2090532
#ifndef KJSERRORDLG_H #define KJSERRORDLG_H #include <QDialog> #include "ui_kjserrordlgbase.h" class KJSErrorDlg : public QDialog, public Ui_KJSErrorDlgBase { Q_OBJECT public: KJSErrorDlg(QWidget *parent = nullptr); void addError(const QString &error); void setURL(const QString &url); protected Q_SL...
c
gui/main_window/history_control/HistoryButtonDown.h
ERPShuen/ICQ1
1
7505112
#pragma once #include "../../namespaces.h" #include "../../controls/CustomButton.h" // Button with new messages bubbles to history UI_NS_BEGIN class HistoryButtonDown final : public CustomButton { Q_OBJECT protected: virtual void paintEvent(QPaintEvent *_event) override; virtual void leaveEvent(QEvent ...
c
Project Files/Source/ChannelMasterMEH/aamix.h
octatonicscale/PowerSDR-Thetis-G7KLJ
1
7516548
/* aamix.h This file is part of a program that implements a Software-Defined Radio. Copyright (C) 2014 <NAME>, NR0V 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,...
c
include/wpp/DefaultTracing.h
shsh999/WPP-
7
7516665
/** * This is an example "default" trace definition file for a WPP-like experience - a global trace * provider used with trace macros all over the program. */ #include <optional> #include "Trace.h" namespace wpp { /** * The global trace provider. */ inline std::optional<TraceProvider> g_wppDefaultProvider = std:...
c
kernel/includes/errno.h
vmartinv/nek
30
6919836
/* * This header contains definition of the various standard C error codes. * * Functions should adhere to returning these, as kernel functions may return * such codes, and it obviously makes the code cleaner to have one unified * set of error codes. */ #ifndef ERRNO_H #define ERRNO_H #define ENONE 0 #define ER...
c
NuttX/misc/tools/osmocon/sercomm.c
shening/PX4-1.34-Vision-Fix
24
2517240
/* Serial communications layer, based on HDLC */ /* (C) 2010 by <NAME> <<EMAIL>> * * All Rights Reserved * * 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,...
c
src/vnsw/agent/test/test_pkt0_interface.h
biswajit-mandal/contrail-controller
3
5346596
/* * Copyright (c) 2013 <NAME>, Inc. All rights reserved. */ #ifndef vnsw_agent_pkt_test_pkt0_interface_hpp #define vnsw_agent_pkt_test_pkt0_interface_hpp #include <string> #include <boost/bind.hpp> #include <boost/function.hpp> #include <boost/asio.hpp> #include <pkt/vrouter_interface.h> #include <pkt/packet_buffe...
c
PhotosUICore.framework/PXPeoplePersonDataSource.h
reels-research/iOS-Private-Frameworks
4
6995986
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore */ @interface PXPeoplePersonDataSource : PXPeopleDataSource <PHPhotoLibraryChangeObserver> { NSDictionary * _assetsByFaces; PXPeopleFaceTileImageManager * _imageManager; NSMutableDictionary * _ke...
c
geo3d/include/CGAL/Algebraic_kernel_rs_gmpq_d_1.h
vipuserr/vipuserr-Geological-hazard
187
6069334
// Copyright (c) 2006-2013 INRIA Nancy-Grand Est (France). All rights reserved. // // This file is part of CGAL (www.cgal.org); 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 of the License, // or (at...
c
src/mask/ftVelocityMask.h
shenberg/ofxFlowTools
0
7504402
#pragma once #include "ofMain.h" #include "ftFbo.h" #include "ftVelocityMaskShader.h" #include "ftContrastShader.h" #include "ftEOGShader.h" #include "ftHSLShader.h" #include "ftGaussianBlurShader.h" #include "ftLuminanceShader.h" namespace flowTools { class ftVelocityMask { public: void setup(int _width, in...
c
src/layer/arm/convolution_arm.h
Ziyu98/ncnn
0
3797147
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
c
MAME4all/trunk/src/sound/3812intf.h
lofunz/mieme
51
3589735
#ifndef YM3812INTF_H #define YM3812INTF_H #define MAX_3812 2 #define MAX_8950 MAX_3812 struct YM3812interface { int num; int baseclock; int mixing_level[MAX_3812]; void (*handler[MAX_3812])(int linestate); }; struct Y8950interface { int num; int baseclock; int mixing_level[MAX_8950]; void (*handler[MAX_8950...
c
bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/ocotp/test/ocotp_test.c
Davidfind/rt-thread
7,482
2703325
/* * Copyright (c) 2011-2012, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright notice, this...
c
Example/Pods/Headers/Private/YQHchatsdkios/YQHEmoji.h
yangchiher/YQHchatsdkios
1
4128169
// // YQHEmoji.h // 家校共享 // // Created by 杨棋贺 on 2019/2/27. // Copyright © 2019年 mac. All rights reserved. // #import <Foundation/Foundation.h> @interface YQHEmoji : NSObject + (NSString *)emojiWithCode:(int)code; + (NSArray *)allEmoji; + (BOOL)stringContainsEmoji:(NSString *)string; @end
c
sway/commands/bar/strip_workspace_name.c
junglerobba/sway
8,569
3600717
#include <string.h> #include <strings.h> #include "sway/commands.h" #include "log.h" #include "util.h" struct cmd_results *bar_cmd_strip_workspace_name(int argc, char **argv) { struct cmd_results *error = NULL; if ((error = checkarg(argc, "strip_workspace_name", EXPECTED_EQUAL_TO, 1))) { return error; } con...
c
Pixelboy/RAM.h
TheUltimateKerbonaut/Pixelboy
0
6517699
#pragma once #include "Cartridge.h" #include "GPU.h" /* Memory mapped reading from memory: 0000-3FFF 16KB ROM Bank 00 (in cartridge, fixed at bank 00) 4000-7FFF 16KB ROM Bank 01..NN (in cartridge, switchable bank number) 8000-9FFF 8KB Video RAM (VRAM) (switchable bank 0-1 in CGB Mode) A000-BFFF 8KB External ...
c
ATMega328 2017-02-08 i2c LM75A thermometer/main_01.c
swharden/AVR-projects
121
878774
#define F_CPU 1000000ul #include <avr/io.h> #include <util/delay.h> #include "serial_m328.c" void TWIInit(void) { //set SCL to 400kHz TWSR = 0x00; TWBR = 0x0C; //enable TWI TWCR = (1<<TWEN); } void TWIStart(void) { TWCR = (1<<TWINT)|(1<<TWSTA)|(1<<TWEN); while ((TWCR & (1<<TWINT)) == 0); ...
c
MaltCoLottery/ViewController.h
petermolnar-hu/MaltCoLottery
1
8238752
// // ViewController.h // MaltCoLottery // // Created by <NAME> on 20/05/2016. // Copyright © 2016 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "PMOProgressDelegate.h" @interface ViewController : UIViewController <PMOProgressDelegate> @end
c
libs/grampc/src/grampc_fixedsize.c
grampc-d/grampc-d
6
6082075
/* This file is part of GRAMPC - (https://sourceforge.net/projects/grampc/) * * GRAMPC -- A software framework for embedded nonlinear model predictive * control using a gradient-based augmented Lagrangian approach * * Copyright 2014-2019 by <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME> (<v2.0), <NAME> (<v2.0)....
c
Source Codes/Strings/Sorting.c
kaazima/C
0
4704335
// Write a C Program to sort elements in Lexicographical Order (Dictionary Order) #include<stdio.h> #include<string.h> int main() { int n; printf("Enter number of words\n"); scanf("%d",&n); char a[n][50]; printf("Enter %d words\n",n); gets(a[0]); for(int i=0;i<n;i++) gets(a[i]); ...
c
pstack/test/fork.c
justmao945/lab
3
207103
#include <stdio.h> #include <unistd.h> #include <pstack.h> void trace() { int i = 0; for(; i < 5; ++i) { pid_t pid = fork(); if(pid == 0) { // child int *p = 0; *p = 1; } } } void world() { trace(); } void hello() { world(); } int main () { rst...
c
Openharmony v1.0/vendor/hisi/hi35xx/third_party/uboot/product/hiosd/hdmi/hdmi_2_0/drv/hal/ctrl/hisiv200/hdmi_hal_ctrl.h
clkbit123/TheOpenHarmony
1
4255292
/* * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * * 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 l...
c
Archivers/Resource/ResEntry.h
sfiera/Athena
1
8446471
// // ResEntry.h // Athena // // Created by <NAME> on 2/23/11. // Copyright 2011 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreServices/CoreServices.h> @class ResSegment; //This is simply to prevent overuse of ResSegment. //Also this is different in intent @interface ResEntry : N...
c
src/ir/InstSymbol.h
shiruizhao/swift
22
6147900
#pragma once #include <memory> #include "IRForwardDecl.h" namespace swift { namespace ir { class InstSymbol { public: InstSymbol(std::shared_ptr<TypeDomain> refer, size_t id); virtual ~InstSymbol(); std::shared_ptr<TypeDomain> getRefer() const; size_t getID() const; void print(FILE*, int) const; private: ...
c
platform/vendor_bsp/Nuvoton/Nuvoton_M251/StdDriver/src/eadc.c
rceet/TencentOS-tiny
4
4657317
/**************************************************************************//** * @file eadc.c * @version V0.10 * @brief M251 series EADC driver source file * * @note * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. ***********************************************************************...
c
third_party/gecko-16/win32/include/nsISelectionDisplay.h
bwp/SeleniumWebDriver
1
521623
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/content/base/public/nsISelectionDisplay.idl */ #ifndef __gen_nsISelectionDisplay_h__ #define __gen_nsISelectionDisplay_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want t...
c
Demos/OC/UFileSDKDemo/UFileSDKDemo/setting/DataTools.h
ucloud/ufile-sdk-ios
8
7201377
// // DataTools.h // UFileSDKDemo // // Created by ethan on 2018/12/5. // Copyright © 2018 ucloud. All rights reserved. // #import <Foundation/Foundation.h> #import "UFileSDKDemoConst.h" NS_ASSUME_NONNULL_BEGIN @interface DataTools : NSObject + (void)storeStrData:(NSString *)strData keyName:(NSString *)key; + (N...
c
include/handle_input.h
ethanxxxl/Programmable_Tanks
0
596577
#ifndef HANDLE_INPUT_H #define HANDLE_INPUT_H #include <SDL2/SDL.h> enum key_state { UP, DOWN, DOWN_TO_UP, UP_TO_DOWN }; typedef enum key_state key_state; // associates a scancode with a function pointer. struct Key_Callback { SDL_Scancode scancode; void (*callback)(key_state toggle); key_state state; }; void ha...
c
rigatoni/Steering/RJNet.h
RoboJackets/roboracing-firmware
4
7518535
#ifndef RJNet_h #define RJNet_h #include <Arduino.h> #include "Stream.h" class RJNet { public: RJNet(); static void sendData(Stream &client, String msg); static String readData(Stream &client); const static char startMarker; const static char endMarker; private: ...
c
trans/src/hppa/make_code.h
dj3vande/tendra
0
2316243
/* * Copyright 2002-2011, The TenDRA Project. * Copyright 1997, United Kingdom Secretary of State for Defence. * * See doc/copyright/ for the full copyright terms. */ #ifndef MAKECODE_INCLUDED #define MAKECODE_INCLUDED #include <reader/exp.h> extern where nowhere; extern makeans make_code(exp, space, where, int...
c
src/cc/meta/LogReceiver.h
kristi/qfs
358
3920386
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2015/05/10 // Author: <NAME> // // Copyright 2015 Quantcast Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 // (the "License"); you may not use this file e...
c
zircon/system/ulib/pretty/include/pretty/sizes.h
wwjiang007/fuchsia-1
210
7091625
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Utilities for formatting sizes to make them more human-readable. #pragma once #include <zircon/compiler.h> #include <stddef.h> __BEGIN_CDECLS // A ...
c
src/primitives/syntaxes.c
dennisj001/openvmtil
1
3123366
#include "../include/cfrtil32.h" // examples of the use of C_Combinators are in interpreter.cft void CfrTil_InfixModeOff ( ) { SetState ( _Context_, INFIX_MODE, false ) ; } void CfrTil_InfixModeOn ( ) { SetState ( _Context_, INFIX_MODE, true ) ; //Namespace_DoNamespace ( "Infix" ) ; } void CfrTil_Prefix...
c
includes/imGui_Functions.h
MuUusta/Hello-GFX
2
6517701
#ifndef IMGUI_FUNCTIONS_H #define IMGUI_FUNCTIONS_H static void ImGui_ImplFreeGLUT_UpdateKeyboardMods(){ ImGuiIO& io = ImGui::GetIO(); int mods = glutGetModifiers(); io.KeyCtrl = (mods & GLUT_ACTIVE_CTRL) != 0; io.KeyShift = (mods & GLUT_ACTIVE_SHIFT) != 0; io.KeyAlt = (mods & GLUT_ACTIVE_ALT) != 0; } void...
c
Deps/acl/includes/acl/compression/stream/sample_streams.h
niello/deusexmachina
15
4623333
#pragma once //////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2017 <NAME> & Animation Compression Library contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docum...
c
uplink.h
remintein/vending
0
2806114
/** * Project: MateDealer * File name: uplink.h * Description: Communication methods for interacting with the PC. * * @author bouni * @email <EMAIL> * */ #ifndef UPLINK_H #define UPLINK_H #ifndef F_CPU #define F_CPU 16000000UL #endif // F_CPU #define UPLINK_USART 0 #define MAX_CMD_LE...
c
platform/stepper-robot/stepper/stepper-move.c
s3lsensor/CEE155_SensorDeployLab_b
5
1901914
#include <stdio.h> #include <stepper-interrupt.h> #include <stepper-move.h> #include <limits.h> #if 0 #define PRINTF(...) printf(__VA_ARGS__) #else #define PRINTF(...) do {} while (0) #endif static unsigned int isqrt(unsigned long x) { unsigned int r; unsigned int b2 = 0x40000000; unsigned int b = 0x8000; whi...
c
drm/libdrmframework/include/PlugInManager.h
rubis-lab/NANS_framework_av
0
5149846
/* * Copyright (C) 2010 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
ch-11/11.13.c
weezybusy/c-primer-plus-solutions
2
927172
/* * 11.13.c -- * Write a program that echoes the command-line arguments in reverse * word order. That is, if the command-line arguments are 'see' 'you' 'later', * the program should print later you see. */ #include <stdio.h> int main(int argc, const char *argv[]) { for (int i = argc - 1; i > 0; i--) puts(arg...
c
tests/sample-draw/RefImplWindow.h
cristianadam/N3888_RefImpl
52
4928333
#pragma once #ifndef REFIMPLWINDOW_H #define REFIMPLWINDOW_H #include <gtk/gtk.h> #include "RefImplApp.h" #include "RefImplDraw.h" G_BEGIN_DECLS #define REFIMPL_TYPE_WINDOW (refimpl_window_get_type()) #define REFIMPL_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST((o), REFIMPL_TYPE_WINDOW, RefImplWindow)) #d...
c
CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/WAWidgetJSEventHandler_showPickerView.h
ceekay1991/CallTraceForWeChat
30
215417
// // 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 "WAWidgetJSEventHandler_BaseEvent.h" #import "WACustomPickerDelegate-Protocol.h" @class MMPickerMaskView, NSString, WACommonPickerV...
c
SLProjectModuleComm/SLProjectModuleComm/Bridging-Header.h
2NU71AN9/SLModuleProject
0
4640286
// // Use this file to import your target's public headers that you would like to expose to Swift. // #import "Reachability.h" #import <UMCommon/UMCommon.h> #import <UMCommonLog/UMCommonLogManager.h> //UMAnalytics #import <UMCommon/MobClick.h> // U-Share #import <UMShare/UMShare.h> #import <UShareUI/UShareUI.h> // U...
c
src/imagehost/imagehost.h
l1422586361/vnote
8,054
2367317
#ifndef IMAGEHOST_H #define IMAGEHOST_H #include <QObject> #include <QJsonObject> #include <core/global.h> class QByteArray; namespace vnotex { // Abstract class for image host. class ImageHost : public QObject { Q_OBJECT public: enum Type { GitHub = 0, ...
c
ns-allinone-3.27/ns-3.27/src/lte/model/lte-ue-power-control.h
zack-braun/4607_NS
93
2152357
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 <NAME> * * 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 distrib...
c
autoRepairForiOS/GCP/BaiduBCESTS.framework/Versions/A/Headers/STSGetSessionTokenModel.h
hfqf/autoRepair-iOS
1
4639658
/* * Copyright (c) 2016 Baidu.com, Inc. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
c
osflash/osflash-1.6/screen.h
fourks/palmos
30
3412341
extern void scr_clear(void); extern void scr_draw_char_pos(int x, int y, char chr); extern void scr_draw_string(char *str); extern void scr_goto(int x, int y); extern void scr_draw_char(char chr); extern void scr_home(void);
c
include/Fusion.h
StarRealMan/SSVIO
19
4622754
#ifndef __FUSION_H__ #define __FUSION_H__ #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <Eigen/Core> #include <Eigen/Geometry> #include <iostream> #include <vector> #include <thread> #include <mutex> class Fusion { public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW; typed...
c
Client/Season8/Olymp.h
sp3cialk/MU-S8EP2-Repack
10
965338
#pragma once #if (__CUSTOM_OLYMP__==1) #include "protocol.h" class TOlympNPCWindow { struct PMSG_CLOSEWINDOW { PBMSG_HEAD2 h; }; struct PMSG_REQUESTREG { PBMSG_HEAD2 h; }; struct PSMG_OLP_NPCTALK { PBMSG_HEAD2 h; BYTE btOpen; BYTE btRegistered; }; struct PMSG_OLP_MESSAGEBOX { PBMSG_HEAD2 h...
c
src/common/mem_linear.c
paulwratt/xbasic-propeller
3
4327385
#include "db_config.h" #include "mem_linear.h" typedef struct { System sys; uint8_t *nextGlobal; /* next global heap space location */ uint8_t *nextLocal; /* next local heap space location */ uint8_t *heapTop; /* top of the heap */ size_t heapSize; ...
c
tests/gcc-torture/breakdown/success/pr53465.c
talsewell/cerberus
12
6876725
#include "cerberus.h" /* PR tree-optimization/53465 */ static const int a[] = { 1, 2 }; void foo (const int *x, int y) { int i; int b = 0; int c; for (i = 0; i < y; i++) { int d = x[i]; if (d == 0) break; if (b && d <= c) abort (); c = d; b = 1; } } int main (void) {...
c
lib/am335x_sdk/ti/starterware/examples/example_utils/package/package.defs.h
brandonbraun653/Apollo
2
8186245
/* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. * * @(#) xdc-G16 */ #ifndef ti_starterware_examples_example_utils__ #define ti_starterware_examples_example_utils__ /* * ======== module ti.starterware.examples.example_utils.Settings ======== */ #en...
c
OrionUO/TextEngine/TextData.h
shiryux/UOA-OrionUO
1
6059191
/*********************************************************************************** ** ** TextData.h ** ** Copyright (C) August 2016 Hotride ** ************************************************************************************ */ //---------------------------------------------------------------------------------- #i...
c
voxblox_ros/include/voxblox_ros/tsdf_server.h
ascento-robotics/voxblox
0
5337901
#ifndef VOXBLOX_ROS_TSDF_SERVER_H_ #define VOXBLOX_ROS_TSDF_SERVER_H_ #include <deque> #include <memory> #include <queue> #include <string> #include <pcl/conversions.h> #include <pcl/filters/filter.h> #include <pcl/point_types.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl_ros/point_cloud.h> #include <...
c
ImageVis3D/UI/Welcome.h
JensDerKrueger/ImageVis3D
0
58930
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
c
Old Programmes/C/Search and Replace string in a file/sr.c
illuminati-inc-2020/school
0
3645365
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc,char *argv[]) { FILE *fp; char *mainbuf,*buf; /* File buffer */ char c; char *off; long i,filesize; int occ; /* Number of occurances of searchstring */ if((fp=fopen(argv[1],"r"))==NULL) fprintf(stderr,"ERROR : File %s read e...
c
MQTTDemo/MQTT1ViewController.h
Nandaballabh/MQTT-Client-Sample-with-two-libraries
0
239445
// // MQTT1ViewController.h // MQTTDemo // // Created by <NAME> on 4/15/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "AppDelegate.h" @interface MQTT1ViewController : UIViewController @end
c
core/include/dnn_utility.h
pyotr777/dnnmark
0
2184852
// The MIT License (MIT) // // Copyright (c) 2016 Northeastern University // // 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
minix/include/arch/i386/include/pci_intel.h
calmsacibis995/minix
3
2702812
/* pci_intel.h Created: Jan 2000 by <NAME> <<EMAIL>> */ #define PCII_CONFADD 0xCF8 #define PCIIC_CODE 0x80000000 #define PCIIC_BUSNUM_MASK 0xff0000 #define PCIIC_BUSNUM_SHIFT 16 #define PCIIC_DEVNUM_MASK 0xf800 #define PCIIC_DEVNUM_SHIFT 11 #define PCIIC_FUNCNUM_MASK 0x700 #define P...
c
private/net/snmp/subagent/hostmib/mib.c
King0987654/windows2000
17
1243855
/* * mib.c v0.10 * Generated in conjunction with Management Factory scripts: * script version: SNMPv1, 0.16, Apr 25, 1996 * project: D:\TEMP\EXAMPLE\HOSTMIB * **************************************************************************** * ...
c
Glitter/Headers/EulerStepSolver.h
peterhyun/ClothSimulation
0
2261745
// // EulerStepSolver.h // ClothingSimulation // // Created by <NAME> on 30/03/2019. // Copyright © 2019 <NAME>. All rights reserved. // #ifndef EulerStepSolver_h #define EulerStepSolver_h #include "ParticleSystem.h" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/string_cast.hpp> class EulerStepSolver{ priva...
c
System/Library/PrivateFrameworks/RemoteManagement.framework/RMToolServerDelegate.h
lechium/tvOS124Headers
4
58652
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:50:12 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/RemoteManagement.framework/RemoteManagement * classdump-dyld is licensed under GPLv3, Copyright © 2013...
c
operatingSystems/dinux/kern/drivers/keyboard.h
sabertazimi/hust-lab
29
2348022
/* * keyboard.h * Copyright (C) 2016 sabertazimi <<EMAIL>> * * Distributed under terms of the MIT license. */ #ifndef KERN_DRIVERS_KEYBORAD_H #define KERN_DRIVERS_KEYBORAD_H void keyboard_init(void); #endif /* !KERN_DRIVERS_KEYBORAD_H */
c