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 |
|---|---|---|---|---|---|
src/coreclr/pal/src/libunwind/tests/Ltest-resume-sig-rt.c | pyracanda/runtime | 12,278 | 4304134 | #define UNW_LOCAL_ONLY
#include <libunwind.h>
#if !defined(UNW_REMOTE_ONLY)
#include "Gtest-resume-sig-rt.c"
#endif | c |
frameworks/cocos2d-x/plugin/protocols/include/PluginParam.h | pedrohenriquerls/cocos2d_ruby_binding | 898 | 6267098 | /****************************************************************************
Copyright (c) 2012-2013 cocos2d-x.org
http://www.cocos2d-x.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 withou... | c |
Z3MapView/Classes/Z3MapViewIdentityResponse.h | TonyTong1993/Z3MapView | 0 | 2152414 | //
// Z3MapViewIdentityResponse.h
// Z3MapView_Example
//
// Created by 童万华 on 2019/6/18.
// Copyright © 2019 <NAME>. All rights reserved.
//
#import "Z3BaseResponse.h"
NS_ASSUME_NONNULL_BEGIN
@interface Z3MapViewIdentityResponse : Z3BaseResponse
@end
NS_ASSUME_NONNULL_END | c |
core/indigo-core/graph/graph_affine_matcher.h | tsingdao-Tp/Indigo | 204 | 3496085 | /****************************************************************************
* Copyright (C) from 2009 to Present EPAM Systems.
*
* This file is part of Indigo toolkit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | c |
sdk-6.5.20/src/bcm/dnx/cosq/egress/phantom_queues.h | copslock/broadcom_cpri | 0 | 3241826 | /*
* phantom_queues.h
*
* Created on: Dec 16, 2018
* Author: si888124
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#ifndef _EGRESS_PAHNTOM_QUEUES_H_IN... | c |
tests/fixtures/stm32f1_project/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c | vznncv/vznncv-cubemx-tools | 3 | 6913372 | Stub content:
Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c | c |
EED/EED/UniAlpha.h | WebFreak001/mago | 39 | 6816238 | /*
Copyright (c) 2010 <NAME>
Licensed under the Apache License, Version 2.0.
See the LICENSE text file for details.
*/
#pragma once
namespace MagoEE
{
bool IsHexDigit( wchar_t c );
bool IsOctalDigit( wchar_t c );
bool IsIdentChar( wchar_t c );
bool IsUniAlpha( wchar_t ch );
bool IsIdent... | c |
src/nvrpc/Interfaces.h | alecgunny/tensorrt-inference-server | 0 | 3854406 | // Copyright (c) 2018-2019, NVIDIA CORPORATION. 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 ... | c |
gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/nrv5.c | best08618/asylo | 7 | 5699475 | /* Verify that NRV optimizations are prohibited when the LHS is
something that may be call-clobbered. */
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-optimized" } */
typedef struct { int x[20]; void *y; } S;
typedef struct { int a; S b; } T;
S nrv_candidate (void);
void use_result (S);
void make_escape (... | c |
hg/makeDb/genbank/src/mgc/mgcFullength.c | CEpBrowser/CEpBrowser--from-UCSC-CGI-BIN | 0 | 2410207 | /* mgcFullength.c was originally generated by the autoSql program, which also
* generated mgcFullength.h and mgcFullength.sql. This module links the database and
* the RAM representation of objects. */
#include "common.h"
#include "linefile.h"
#include "dystring.h"
#include "jksql.h"
#include "gbSql.h"
#include "m... | c |
llvm-gcc-4.2-2.9/gcc/testsuite/gcc.apple/pubtypes-1.c | vidkidz/crossbridge | 1 | 689204 | /* Radar 4535968 */
/* { dg-do compile { target *-*-darwin* } } */
/* LLVM LOCAL -fverbose-asm */
/* { dg-options "-O0 -gdwarf-2 -dA -fverbose-asm -fno-eliminate-unused-debug-types" } */
/* { dg-skip-if "Unmatchable assembly" { mmix-*-* } { "*" } { "" } } */
/* { dg-final { scan-assembler "__debug_pubtypes" } } */
/* A... | c |
KidsTC/KidsTC/Business/Global/Poster/M/PosterModel.h | zhpigh/KidsTC_Objective-C | 0 | 3067545 | //
// PosterModel.h
// KidsTC
//
// Created by zhanping on 7/25/16.
// Copyright © 2016 詹平. All rights reserved.
//
#import "Model.h"
@interface PosterAdsItem : Model
@property (nonatomic, strong) NSString *img;
@property (nonatomic, assign) NSInteger linkType;
@property (nonatomic, strong) NSString *params;
@pr... | c |
net-listen_unix.c | OrangeTide/trivial | 1 | 1901343 | /* net-listen_unix.c : network socket routines for binding and listening */
/*
* Copyright (c) 2020 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTI... | c |
hplip-3.20.3/prnt/hpijs/ljzjsmono.h | Deril-Pana/wikiBlackcoinNL | 0 | 1048266 | /*****************************************************************************\
ljzjsmono.h : Interface for the LJZjsMono class
Copyright (c) 1996 - 2007, HP Co.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following co... | c |
src/ios/Airship/Common/UAHTTPRequest.h | code11/phonegap-ua-push | 0 | 519224 | /*
Copyright 2009-2013 Urban Airship 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 conditions and the f... | c |
userspace/libsinsp/mutex.h | mohneesh9797-puresoftware/sysdig | 1 | 5180399 | /*
Copyright (C) 2019 Draios Inc dba Sysdig.
This file is part of sysdig.
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 |
huoxun/Vendor/Location/TXLocationManager.h | dander521/HuoXunCaiJing | 0 | 5620457 | //
// TXLocationManager.h
// TailorX
//
// Created by <NAME> on 8/8/17.
// Copyright © 2017年 utouu. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef void(^SuccessBlock)(NSString *cityName, NSString *areaName);
typedef void(^FailureBlock)(NSError *error);
@interface TXLocationManager : NSObject
... | c |
EillyerPod/Classes/LYLView.h | eillyer/EillyerPod | 0 | 2855822 | //
// LYLView.h
// EillyerPod
//
// Created by eillyer on 2018/8/30.
//
#import <UIKit/UIKit.h>
@interface LYLView : UIView
@end | c |
xedInc/xed-immed.h | joshwatson/arch-x86 | 26 | 5777635 | /*BEGIN_LEGAL
Copyright (c) 2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | c |
Object.h | qroph/motion-solver | 4 | 4864640 | /*
Copyright (c) 2014 <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 limitation the rights
to use, copy, modify, merge, publish, distribute, sublicen... | c |
internal/single_thread_gemm.h | boulzordev/gemmlowp | 0 | 2693573 | // Copyright 2015 Google 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 applicable... | c |
KJExtensionHandler/Kit/UIImage/UIImage+KJScale.h | zhanghengios/KJExtensionHandler | 9 | 6894166 | //
// UIImage+KJScale.h
// KJEmitterView
//
// Created by 杨科军 on 2018/12/1.
// Copyright © 2018 杨科军. All rights reserved.
// https://github.com/yangKJ/KJExtensionHandler
// 图片尺寸处理
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (KJScale)
#pragma mark - 图片尺寸处理
/// 通过比例来缩放图片
- (UIImage*)kj_scaleImage:(CGFloat)scale;
/... | c |
kernels/linux-2.6.24/include/asm-x86/spinlock.h | liuhaozzu/linux | 0 | 3195051 | #ifdef CONFIG_X86_32
# include "spinlock_32.h"
#else
# include "spinlock_64.h"
#endif | c |
inference-engine/binary/gna/linux/include/gna2-model-suecreek-header.h | ravirajpinnamaraju/dldt | 0 | 3184501 | /*
@copyright
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed unde... | c |
Engine/ButtonComponent.h | scottvermast/2DGameEngine | 0 | 1432995 | #pragma once
#include "BaseComponent.h"
#include "Renderer.h"
class InputManager;
class ButtonComponent : public BaseComponent
{
public:
ButtonComponent(const std::string& filepathS, const std::string& filepathNS);
~ButtonComponent() = default;
ButtonComponent(const ButtonComponent& other) = delete;
ButtonCompon... | c |
3rd_party/zstd-1.1.0/programs/bench.c | CreRecombinase/qctool | 7 | 4029844 | /**
* Copyright (c) 2016-present, <NAME>, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/... | c |
easy terminal/hangman.c | naemazam/3asy-terminal | 2 | 1008330 | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
void showHangman(int);
void hangman()
{
char word[100],temp[100],output[100],userletter;
int wrong=6 , match = 0, count=0,pos=0,winner,length,i;
system("cls");
printf("At first one friend Enter a word then he gives chance to other friend to Gues... | c |
TestTwoScrollView/TamMainView/TamTopView.h | thatha123/TamTwoScrollViewDemo | 0 | 5216336 | //
// TamTopView.h
// TestTwoScrollView
//
// Created by <NAME> on 2017/11/11.
// Copyright © 2017年 涂怀安. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NSInteger(^TamTopCellNumBlock)(NSInteger section);//头部个数
typedef NSString *(^TamTopCellTitleBlock)(NSIndexPath *indexPath);//头部文字
typedef CGSize(^TamTopC... | c |
PWGLF/FORWARD/analysis2/AliSimplePidWeights.h | maroozm/AliPhysics | 114 | 6548932 | #ifndef ALIROOT_ALISIMPLEPIDWEIGHTS
#define ALIROOT_ALISIMPLEPIDWEIGHTS
/**
* @file AliSimplePidWeights.h
* @author <NAME> <<EMAIL>>
* @date Wed Feb 4 00:30:56 2015
*
* @brief
*
*
*/
#include "AliBaseMCWeights.h"
#include <TArrayI.h>
#include <TArrayD.h>
/**
* Class for weights in calculation of th... | c |
Core/Profile.h | koz4k/soccer | 1 | 294529 | class String;
class TimingInspector {
protected:
static bool active;
const char *name;
int call_count;
dword total_time;
dword min_time;
dword max_time;
int nesting_depth;
int max_nesting;
int all_count;
dword start_time;
StaticMutex mutex;
public:
... | c |
bigint-optimized/vector/storage.h | qjex/itmo-cpp | 2 | 7076324 | //
// Created by <NAME> on 4/23/18.
//
#ifndef BIGINT_OPTIMIZED_VECTOR_H
#define BIGINT_OPTIMIZED_VECTOR_H
#include <cstring>
#include <type_traits>
#include <memory>
typedef unsigned int digit_type;
struct storage {
storage();
storage(storage const &v);
storage(size_t size, digit_type const &a);
ex... | c |
Example/Pods/Headers/Private/SmartUtils/NSDictionary+SMTSafeCategory.h | fanhua0429/SmartUtils | 1 | 241690 | //
// NSDictionary+SMTSafeCategory.h
// SMT-NT-iOS
//
// Created by 莫冰(平安科技智慧政务团队) on 2018/5/3.
// Copyright © 2018年 pingan. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDictionary (SMTSafeCategory)
- (id)safeObjectForKey:(id)aKey;
- (NSString *)stringObjectForKey:(id)aKey;
@end
@inte... | c |
deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_generator_c/deepracer_interfaces_pkg/srv/detail/battery_level_srv__functions.h | amitjain-3/working_add | 1 | 1187375 | // generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from deepracer_interfaces_pkg:srv/BatteryLevelSrv.idl
// generated code does not contain a copyright notice
#ifndef DEEPRACER_INTERFACES_PKG__SRV__DETAIL__BATTERY_LEVEL_SRV__FUNCTIONS_H_
#define DEEPRACER_INTERFACES_PKG__SRV__DETAIL__BATTE... | c |
programs/net/tcp.c | codyd51/axle | 453 | 3645436 | #include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
// Port IO
#include <libport/libport.h>
#include <stdlibadd/array.h>
#include "net.h"
#include "net_messages.h"
#include "tcp.h"
#include "ethernet.h"
#include "util.h"
#include "ipv4.h"
#include "... | c |
libless/include/less/lessstylesheet/LessSelector.h | Ti-R/clessc | 66 | 2234343 | #ifndef __less_lessstylesheet_LessSelector_h__
#define __less_lessstylesheet_LessSelector_h__
#include <iterator>
#include <list>
#include <map>
#include <string>
#include "less/lessstylesheet/MixinArguments.h"
#include "less/lessstylesheet/Extension.h"
#include "less/stylesheet/Selector.h"
class LessSelector : publ... | c |
shape_from_silhouette/include/ShapeFromSilhouette.h | MatthiasMichael/SparsityDrivenDetector | 0 | 1626758 | #pragma once
#include <memory>
#include <string>
#include <vector>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgcodecs.hpp>
#include "Mesh.h"
#include "Space.h"
namespace sfs
{
class ShapeFromSilhouette
{
public:
struct StringConstants;
struct Parameters
{
Parameters();
double minSegmentatio... | c |
src/main/history.h | pmateusz/cordia | 0 | 1093335 | #ifndef ROWS_HISTORY_H
#define ROWS_HISTORY_H
#include <vector>
#include <unordered_map>
#include <boost/date_time.hpp>
#include "util/hash.h"
#include "past_visit.h"
namespace rows {
class CalendarVisit;
class History {
public:
History();
History(const std::vector<PastVisit> &past_vi... | c |
Benchmarks/Recomputation/NPB3.3-OMP-C/LU/syncs.c | sqsq87/NVC | 0 | 4690151 | //-------------------------------------------------------------------------//
// //
// This benchmark is an OpenMP C version of the NPB LU code. This OpenMP //
// C version is developed by the Center for Manycore Programming at Seoul //
// Nati... | c |
src/lightmap.h | johschmitz/TI-84-CE-Raytracing | 298 | 7957018 | #pragma once
/* A data structure used to store radiance emitted by a scene surface at a
* few select sample points. These maps are primarily used for radiosity
* calculations
*/
#include <stdlib.h>
#include "color.h"
#include "texture.h"
#include "spectrum.h"
// Lightmap resolution must be a power of 2. In this ... | c |
RayTracing/RayTracer/RayTracer.h | chicio/Ray-tracing | 12 | 6412628 | //
// RayTracer.h
// Ray tracing
//
// Created by <NAME> on 07/07/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import "Lighting.h"
@import Foundation;
@class ViewPlane;
@class Sphere;
@interface RayTracer : NSObject
/// View plane.
@property (strong, nonatomic) ViewPlane *vplane;
/*!
Init the r... | c |
log_format.h | static-neurotoxin/LoggerXX | 0 | 7695544 | /**
* @file log_message.h
* @author <NAME>" Morgan (<EMAIL>)
* @copyright Copyright © <NAME>" Morgan May 2016. This project is released under the [MIT License](license.md)
* @date May 2016
* @brief log message formatting examples.
* @details a couple of functions to demonstrate formatting variables
*
*/
#... | c |
src/rdp_viewer/rdp_display.h | jsc-masshtab/veil-connect | 3 | 6747969 | /*
* VeiL Connect
* VeiL VDI Client
* Based on virt-viewer and freerdp
*
* Author: http://mashtab.org/
*/
#ifndef RDP_DISPLAY_H
#define RDP_DISPLAY_H
#include <gtk/gtk.h>
#include <freerdp/freerdp.h>
#include <freerdp/constants.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/utils/signal.h>
#include "rdp_cl... | c |
main.c | FS-make-simple/bluedelta | 0 | 3184797 | #include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <string.h>
#include "diff.h"
#include "patch.h"
void help(char* name) {
printf("Usage: %s [OPTION]... FILE1 FILE2 PATCHFILE\n", name);
printf("Diff and patch sector-based binary files.\n");
printf("\n");
printf("-v, --verbose Show v... | c |
KinemeGLCameraPatch.h | kineme/GLTools | 14 | 3999043 | @interface KinemeGLCameraPatch : QCPatch
{
QCNumberPort *inputXPosition;
QCNumberPort *inputYPosition;
QCNumberPort *inputZPosition;
QCNumberPort *inputYaw;
QCNumberPort *inputPitch;
QCNumberPort *inputRoll;
}
- (BOOL)execute:(QCOpenGLContext *)context time:(double)time arguments:(NSDictionary *)arguments;
@en... | c |
src/model/fms/template_fms/lib/FMS.h | shaopengyuan/FMT-Firmware | 72 | 4556906 | /******************************************************************************
* Copyright 2021 The Firmament 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 ... | c |
include/linear_solver_vector.h | jamesgregson/linear_solver | 1 | 4126452 | #ifndef LINEAR_SOLVER_VECTOR_H
#define LINEAR_SOLVER_VECTOR_H
/**
@file linear_solver_vector.h
@author <NAME> (<EMAIL>)
@copyright <NAME> 2013. Licensed under MIT license
@brief Wraps std::vector to provide basic linear algebra, uses the GMM++ BLAS calls for basic operations.
*/
#include<vector>
#ifdef LINEAR_S... | c |
YHChartViewDemoRN/ios/YHChartView/YHLineChartView.h | whoyoung/YHChartView | 7 | 2570509 | //
// YHLineChartView.h
// YHDailyDemo
//
// Created by 杨虎 on 2018/1/26.
// Copyright © 2018年 杨虎. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "YHBaseChartView.h"
@interface YHLineChartView : YHBaseChartView
@end | c |
clang/test/Modules/Inputs/odr_hash-Unresolved/class.h | medismailben/llvm-project | 3,102 | 3050995 | #ifndef Class
#define Class
template <class T>
class S {
int Field;
void run() {
int x;
A::Check(&Field, 1);
A::Check(&Field, 1);
}
};
#endif | c |
PlugIns/OgrePlugin/include/ManualTextureManager.h | gsage/engine | 14 | 383335 | #ifndef _ManualTextureManager_H_
#define _ManualTextureManager_H_
/*
-----------------------------------------------------------------------------
This file is a part of Gsage engine
Copyright (c) 2014-2018 <NAME> and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this s... | c |
deprecated/algorithms/MultiCamSLAM/src/Visualization.h | mfkiwl/GAAS | 2,111 | 1797711 | #ifndef MCS_VISUALIZATION_H_FILE
#define MCS_VISUALIZATION_H_FILE
#include "Frame.h"
#include <iostream>
#include <chrono>
#include <opencv2/opencv.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp>
#include "FeatureFrontEndCV.h"
#include "Timer.h"
namespace mcs
{
/*cv::Mat draw_oridinary_frame(... | c |
requisitantes.c | DWDM-MVPs/projetoED2020 | 0 | 39822 | #ifndef HEADERFILE_H
#define HEADERFILE_H
#include <stdio.h> // main
#include <stdlib.h> // main
#include <string.h> // strings
#include <locale.h> //acentos
#include <time.h> //data atual
#include <stdbool.h>//booleans
#include "livros.h"
#include "livros.c"
#include "requisitantes.h"
#include "auxiliares.c"
#include ... | c |
OposConstants/IDL/OposConstCheckScanner.h | skolbin-ssi/OPOS-CCO | 0 | 6802945 | //*************************************************************************
//** OPOS CheckScanner Constants
//*************************************************************************
typedef [helpstring("OPOS CheckScanner Constants")]
enum
{
CHK_CCL_MONO = 0x00000001,
CHK_CCL_GRA... | c |
Dragon/modules/python/py_tensor.h | awesome-archive/Dragon | 0 | 6237241 | /*!
* Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
*
* Licensed under the BSD 2-Clause License.
* You should have received a copy of the BSD 2-Clause License
* along with the software. If not, See,
*
* <https://opensource.org/licenses/BSD-2-Clause>
*
* --------------------------------------------------... | c |
iPhoneOS13.7.sdk/System/Library/Frameworks/Intents.framework/Headers/INSpeedResolutionResult.h | bakedpotato191/sdks | 10 | 5346834 | //
// INSpeedResolutionResult.h
// Intents
//
// Copyright (c) 2016-2020 Apple Inc. All rights reserved.
//
#import <Intents/INIntentResolutionResult.h>
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(ios(13.0), watchos(6.0))
API_UNAVAILABLE(macosx)
@interface INSpeedResolutionResult : INIntentResolutionResult
// This res... | c |
ACode/Foundation/CCFoundation.h | iOSzwj/CCategory | 0 | 155417 | //
// CCFoundation.h
// CCategoryDemo
//
// Created by ioszwj on 2019/5/22.
// Copyright © 2019 hare. All rights reserved.
//
#ifndef CCFoundation_h
#define CCFoundation_h
#import "NSDate+fmt.h"
#import "NSDictionary+string.h"
#import "NSObject+blankString.h"
#import "NSObject+runtime.h"
#import "NSObject+show.h"... | c |
src/tvppLap.h | chibaron/tinyviewpluspractice | 0 | 1628522 | #pragma once
#include <regex>
#include "ofMain.h"
struct lap {
int pilotNo;
string time;
float lapTime;
int lapCount;
int sessonLapCount;
int sessonCount;
bool bestLapf;
bool best3Lapf;
};
struct lap *newLap(void); | c |
sources/STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.c | binh8994/stm8s_template | 0 | 8082169 | /**
******************************************************************************
* @file I2C/I2C_TwoBoards/DataExchange/Master/main.c
* @author MCD Application Team
* @version V2.0.4
* @date 26-April-2018
* @brief Main program body
***************************************************************... | c |
src/config/curvature-config.h | dhemery/DHE-Modules | 34 | 1273455 | #pragma once
#include "common-config.h"
#include "components/sigmoid.h"
#include "config/common-config.h"
#include "controls/curvature-inputs.h"
#include <engine/Module.hpp>
#include <engine/ParamQuantity.hpp>
#include <string>
namespace dhe {
class CurvatureKnobParamQuantity : public rack::engine::ParamQuantity {
... | c |
usr/libexec/corespeechd/CSOpportuneSpeakBehaviorMonitorDelegate-Protocol.h | lechium/tvOS145Headers | 5 | 2107970 | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import "NSObject-Protocol.h"
@class CSAudioRecordContext, CSAudioStartStreamOption, CSAudioStopStreamOption, CSOpportuneSpeakBehaviorMonitor, NSString;... | c |
users/yet-another-developer/wrappers.h | fzf/qmk_toolbox | 2 | 3543325 | #pragma once
#include "yet-another-developer.h"
/*
Since our quirky block definitions are basically a list of comma separated
arguments, we need a wrapper in order for these definitions to be
expanded before being used as arguments to the LAYOUT_xxx macro.
*/
#if (!defined(LAYOUT) && defined(KEYMAP))
# define LAYOU... | c |
mindspore_serving/ccsrc/worker/distributed_worker/worker_agent.h | mindspore-ai/serving | 157 | 5521006 | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | c |
external/bsd/flex/dist/ecs.c | calmsacibis995/minix | 0 | 5721095 | /* ecs - equivalence class routines */
/* Copyright (c) 1990 The Regents of the University of California. */
/* All rights reserved. */
/* This code is derived from software contributed to Berkeley by */
/* <NAME>. */
/* The United States Government has rights in this work pursuant */
/* to contract no. DE-AC0... | c |
src/ui/ios/GF-Offline-Translator/GF Offline Translator/AppDelegate.h | fredefox/gf-core | 148 | 4992480 | //
// AppDelegate.h
// GF Offline Translator
//
// Created by <NAME> on 2015-04-27.
// Copyright (c) 2015 Grammatical Framework. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Translator;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@proper... | c |
src/ChromeHost/stdafx.h | extbmathapati/jabra-browser-integration | 43 | 1863998 | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
// TODO: reference additional headers your program requires here
#include <string>
#include <iostream>
#include <map>
#include <plog/Log.h>
#incl... | c |
kernel/include/arch/x86/arch/32/mode/kernel/stack.h | Nexusoft/LLL-OS | 4 | 6566831 | /*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
*
* SPDX-License-Identifier: GPL-2.0-only
*/
#pragma once
#include <config.h>
#include <util.h>
#ifdef ENABLE_SMP_SUPPORT
#define KERNEL_STACK_ALIGNMENT 4096
#else
#define KERNEL_STACK_ALIGNMENT 16
#endif /* ENABLE_SMP_SUPPORT */ | c |
extmod/ugfx/src/gdisp/mcufont/mf_rlefont.c | vishalvishw10/micropython | 5 | 7391111 | /*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
* http://ugfx.org/license.html
*/
#include "mf_rlefont.h"
#ifndef MF_NO_COMPILE
/* Number of reserved codes before the dictionary entries. */
#define DI... | c |
src/assets/environments/mingw64/x86_64-w64-mingw32/include/d2d1_1helper.h | Sunhr520/ioeditor | 5 | 4348933 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _D2D1_1HELPER_H_
#define _D2D1_1HELPER_H_
#ifndef D2D_USE_C_DEFINITIONS
namespace D2D1 {
... | c |
src/MotionFilePeriodic.h | cwrowley/ibpm | 58 | 6850430 | #ifndef _MOTIONFILEPERIODIC_H_
#define _MOTIONFILEPERIODIC_H_
#include "Motion.h"
#include "TangentSE2.h"
#include <math.h>
#include <string>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <vector>
#include "utils.h"
using std::ifstream;
namespace ibpm {
// Defining a ... | c |
lib/include/xnetwork/algorithms/centrality/tests/test_closeness_centrality.h | luk036/xnetwork | 1 | 5938678 | /**
Tests for degree centrality.
*/
from nose.tools import *
#include <xnetwork.hpp> // as xn
class TestClosenessCentrality) {
auto setUp() {
this->K = xn::krackhardt_kite_graph();
this->P3 = xn::path_graph(3);
this->P4 = xn::path_graph(4);
this->K5 = xn::complete_graph(5);
... | c |
wingdi/savebmp.h | peterchen-cp/bits-and-pieces | 0 | 1124863 | #pragma once
namespace GDIUtil
{
bool BitmapSaveToFile(LPCTSTR pszFile, PBITMAPINFO pbi, HBITMAP hBMP, HDC hDC);
bool BitmapSaveToFile(LPCTSTR pszFile, HBITMAP hBMP);
} | c |
index/partition.c | turgile/glimpse | 39 | 3194692 | /* Copyright (c) 1994 <NAME>, <NAME>, <NAME>. All Rights Reserved. */
/* ./glimpse/index/partition.c */
#include "glimpse.h"
#include <sys/stat.h>
#include <sys/time.h>
#include <errno.h>
extern int BigFilenameHashTable;
extern int DeleteFromIndex;
extern int FastIndex;
extern int FilenamesOnStdin;
extern char INDEX_... | c |
ZWLoggers/ZWCatchCrash.h | GavinZw/ZWLoggers | 1 | 5244336 | //
// ZWCatchCrash.h
// ZWLoggers
//
// Created by Gavin on 17/3/4.
// Copyright © 2017年 Gavin. All rights reserved.
//
#import "ZWLoggerServiceDefines.h"
NS_ASSUME_NONNULL_BEGIN
/**
抓取苹果自带的crash信息 TODO: 有问题的类
*/
@interface ZWCatchCrash : NSObject
/**
抓取苹果自带的crash信息,程序崩溃时会执行的方法
...
请在 didFinishLaunching... | c |
val/include/sbsa_avs_memory.h | zubairmohiuddin/sbsa-acs | 0 | 7836946 | /** @file
* Copyright (c) 2016-2021, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* 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... | c |
src/LLVM_Headers.h | savsiout/gpu-autosched-update | 0 | 5596913 | #ifndef HALIDE_LLVM_HEADERS_H
#define HALIDE_LLVM_HEADERS_H
#if LLVM_VERSION >= 90
// We're good to go
#else
#error "Compiling Halide requires LLVM 9.0 or newer"
#endif
// This seems to be required by some LLVM header, which is likely an LLVM bug.
#include <stddef.h>
// No msvc warnings from llvm headers please
#ifd... | c |
Tuvok/IO/TuvokIOError.h | JensDerKrueger/ImageVis3D | 0 | 2219048 | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 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 |
projects/Demo_Multiple/src/DemoChangerequest.c | LimiFrog/LimiFrog-SW | 15 | 5683773 | /*******************************************************************************
* DemoChangeRequest.c
*
*
* (c)2015 LimiFrog / CYMEYA
* This program is licensed under the terms of the MIT License.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
* Please refer to the License File LICENSE.txt... | c |
REDSI_1160929_1161573/boost_1_67_0/tools/build/src/engine/modules/path.c | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | 0 | 5520971 | /* Copyright <NAME> 2003.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include "../constants.h"
#include "../frames.h"
#include "../lists.h"
#include "../native.h"
#include "../filesys.h"
LIST * path_e... | c |
software/smode_test/smode_test.c | UCTECHIP/wh_sdk | 0 | 5514766 | /*********************************************************************************
*
* PROJECT: WH32_DDR
*
* FILENAME: make_some_noise.c
*
* FUNCTION: make_some_noise driver
*
* AUTHOR: yexc
*
* DATE: Thu Jul 11 11:24:47 CST 2019
*
* ISF... | c |
Physics.h | Risist/OpenGlArkanoid | 0 | 1799587 | #pragma once
#include "Rigidbody.h"
#include "Collision.h" | c |
lzma-sys/config.h | jerry73204/xz2-rs | 46 | 3885863 | // Configuration values for `liblzma`
// tell `liblzma` to look for standard C99 headers
#define HAVE_STDINT_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STRING_H 1
// enable encoders/decoders
#define HAVE_DECODER_LZMA1 1
#define HAVE_DECODER_LZMA2 1
#define HAVE_ENCODER_LZMA1 1
#define HAVE_ENCODER_LZMA2 1
#define HAVE... | c |
include/AddressSpace.h | rysto32/pmcprofiler | 3 | 3144987 | // Copyright (c) 2009-2014 Sandvine Incorporated. All rights reserved.
// Copyright (c) 2017 <NAME>. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must... | c |
src/core/experimentsmgr.h | evoplex/evoplex | 101 | 3667943 | /* Evoplex <https://evoplex.org>
* Copyright (C) 2016-present - <NAME> <<EMAIL>>
*
* 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
*
... | c |
buffer/test_cbsearch.c | jounijl/message | 0 | 879272 | /*
* Program to search a name from name-value pairs.
*
* Copyright (c) 2006, 2011, 2012 and 2013 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* Redistributions of source co... | c |
Fluidium/lib/OmniGroup/Frameworks/OmniFoundation/Locks.subproj/OFSimpleLock-hppa.h | johnGHB/fluid | 7 | 7505666 | // Copyright 1997-2005 Omni Development, Inc. All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// <http://www.omnigroup.com/developer/sourcecode/sourcelicense/... | c |
FDJFMDB/Classes/FDJDataModel.h | FatDogJOE/FDJFMDB | 0 | 4843152 | //
// FDJDataModel.h
// FDJFMDB_Example
//
// Created by mac on 2019/11/7.
// Copyright © 2019 <EMAIL>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FDJTable.h"
NS_ASSUME_NONNULL_BEGIN
@protocol FDJDataModel
+ (FDJTable *)table;
@end
@interface FDJDataModel : NSObject<FDJDataModel>
- (ins... | c |
data/source/yaltools/mount_handle/open-variables-file_io_handle.c | libyal/libyal | 176 | 8368520 | libbfio_handle_t *file_io_handle = NULL;
size_t filename_length = 0; | c |
Moss/src/Moss/Layer.h | wzhhh123/Moss | 0 | 3626045 | #pragma once
#include "Moss/Core.h"
#include "Event/Event.h"
#include "Moss/Core/Timestep.h"
namespace Moss {
class MOSS_API Layer
{
public:
Layer(const std::string& name = "Layer");
virtual ~Layer();
virtual void OnImGuiRender() {}
virtual void OnAttach() {}
virtual void OnDetach() {}
virtual void O... | c |
xboot/src/include/input/mouse/mouse.h | LoongPenguin/Linux_210 | 0 | 6972272 | #ifndef __MOUSE_H__
#define __MOUSE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <xboot.h>
#include <input/input.h>
enum mouse_code {
MOUSE_LEFT = 1,
MOUSE_RIGHT = 2,
MOUSE_MIDDLE = 3,
MOUSE_REL_X = 4,
MOUSE_REL_Y = 5,
MOUSE_REL_Z = 6,
};
enum mouse_value {
MOUSE_BUTTON_UP = ... | c |
notice_board_using_wifi_manager_esp8266/html.h | azad-2021/Arduino | 0 | 6072036 | const char INDEX_HTML[] =
"<!DOCTYPE HTML>"
"<html>"
"<head>"
"<meta content=\"text/html; charset=ISO-8859-1\""
" http-equiv=\"content-type\">"
"<meta name = \"viewport\" content = \"width = device-width, initial-scale = 1.0, maximum-scale = 1.0, user-scalable=0\">"
"<title>Wifi Configuration</title>"
"... | c |
examples/3D_Laplacian.h | MaxZZG/SpatialOps | 0 | 7986280 | /**
The MIT License
Copyright (c) 2014-2017 The University of Utah
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, modif... | c |
features/nfc/acore/source/ac_buffer.c | pattyolanterns/mbed-os | 3,897 | 5499381 | /*
* Copyright (c) 2017, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICE... | c |
psr_container.c | jasny/php-psr | 1 | 1901778 | #ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "php_psr.h"
#include "psr_container.h"
/* {{{ ContainerExceptionInterface ------------------------------------------ */
PHP_PSR_API zend_class_entry * PsrContainerContainerExceptionInterface_ce_ptr;
static zend_always_inline void php_psr_regi... | c |
linux-4.14.90-dev/linux-4.14.90/arch/blackfin/include/asm/scb.h | bingchunjin/1806_SDK | 55 | 4317640 | /*
* arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority
*
* Copyright 2012 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#define SCB_SLOT_OFFSET 24
#define SCB_MI_MAX_SLOT 32
struct scb_mi_prio {
unsigned long scb_mi_arbr;
unsigned long scb_mi_arbw;
unsigned char scb_m... | c |
Benchmark-Server-master/projects vs2015/DbBenchmark/Library/Oracle/src/subscription.c | Walkers95/Benchmark-Server | 7 | 3944519 | /*
* OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2018 <NAME> <<EMAIL>>
*
* 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 Lice... | c |
can/config.h | mst-solar-car/embedded-drivers-library | 2 | 565540 | /**
* CAN Driver Configuration
*
* Authors: Everyone?
*/
#ifndef __CAN_CONFIG__
#define __CAN_CONFIG__
/**
* Pre-defined Masks and Filters
*/
#define CAN_MASK_ALL_IDS 0x000 // Accepts all IDS (filters don't matter)
#define CAN_MASK_EXACT_IDS 0x7FF // Accepts an exact ID (e.g., if one filter is 0... | c |
src/feudal/IncrementalWriter.h | Amjadhpc/w2rap-contigger | 48 | 2094492 | ///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2010) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... | c |
gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/torture/float128-floath.c | best08618/asylo | 7 | 2517018 | /* Test _Float128 <float.h> macros. */
/* { dg-do run } */
/* { dg-options "" } */
/* { dg-add-options float128 } */
/* { dg-add-options ieee } */
/* { dg-require-effective-target float128_runtime } */
#define WIDTH 128
#define EXT 0
#include "floatn-floath.h"
#ifndef FLT128_MANT_DIG
# error "FLT128_MANT_DIG undefin... | c |
src/ppl/nn/engines/x86/optimizer/opt_kernel_creator_manager.h | weisk/ppl.nn | 1 | 6113789 | #ifndef _ST_HPC_PPL_NN_ENGINES_X86_OPTIMIZER_OPT_KERNEL_CREATOR_MANAGER_H_
#define _ST_HPC_PPL_NN_ENGINES_X86_OPTIMIZER_OPT_KERNEL_CREATOR_MANAGER_H_
#include "ppl/nn/engines/x86/optimizer/opt_kernel.h"
namespace ppl { namespace nn { namespace x86 {
typedef X86OptKernel* (*OptKernelCreator)(const ir::Node*);
class ... | c |
clang/test/CodeGen/stack-clash-protection.c | tiwaria1/llvm | 0 | 3476470 | // Check the correct function attributes are generated
// RUN: %clang_cc1 -triple x86_64-linux -O0 -S -emit-llvm -o- %s -fstack-clash-protection | FileCheck %s
// RUN: %clang_cc1 -triple s390x-linux-gnu -O0 -S -emit-llvm -o- %s -fstack-clash-protection | FileCheck %s
// CHECK: define void @large_stack() #[[A:.*]] {
vo... | c |
Pod/Classes/Projection/MOBProjectionEPSG3540.h | jkdubr/Proj4 | 3 | 1841398 | #import "MOBProjection.h"
@interface MOBProjectionEPSG3540 : MOBProjection
@end | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.