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 |
|---|---|---|---|---|---|
src/OrderingBuffer.h | rtaudio/ulltra | 0 | 6408883 | #pragma once
#include <vector>
#include <stdint.h>
class OrderingBuffer
{
struct Block {
std::vector<float*> samples;
int size;
void commit();
};
public:
OrderingBuffer();
~OrderingBuffer();
Block getBlockPointers(uint16_t blockIndex);
}; | c |
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STBoard.h | TetrisAI/StandardTetris | 7 | 3412000 | // All contents of this file written by <NAME> ( http://colinfahey.com )
// 2007 June 4 ; Visit web site to check for any updates to this file.
#ifndef STBoardHeader
#define STBoardHeader
#include "CPF.StandardTetris.STPiece.h"
namespace CPF
{
namespace StandardTetris
{
// LOGICAL CHARACTERISTICS:
//... | c |
g3/lbp_g3.c | damianloew/phoenix-rtos-lwip | 0 | 2926801 | /*
* Phoenix-RTOS --- networking stack
*
* G3-PLC Adaptation Layer - LoWPAN Bootstrapping Protocol
*
* Copyright 2021 Phoenix Systems
* Author: <NAME>
*
* %LICENSE%
*/
#include "lbp_g3.h"
#include "lwip/pbuf.h"
#include "lwip/sys.h"
#include <string.h>
#include "ps_eap.h"
#include "ps_eap_psk.h"
#define LBP... | c |
Example/Pods/Target Support Files/Pods-LineHeightTool_Example/Pods-LineHeightTool_Example-umbrella.h | Maheepk/LineHeightTool | 0 | 1996212 | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_LineHeightTool_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_LineHeightTool_ExampleVersionString[]; | c |
libyaul/scu/bus/b/vdp/vdp.h | robertoduarte/libyaul | 0 | 5904955 | /*
* Copyright (c) 2012-2019 <NAME>
* See LICENSE for details.
*
* <NAME> <<EMAIL>>
*/
#ifndef _YAUL_VDP_H_
#define _YAUL_VDP_H_
#include <vdp1.h>
#include <vdp2.h>
#include <sys/callback-list.h>
__BEGIN_DECLS
#define vdp_sync_vblank_in_clear() do { \
vdp_sync_vb... | c |
src/header/shader/StochasticRayTraceShader.h | Gregjksmith/Global-Illumination | 0 | 16050 | #pragma once
#include "CollectiveShader.h"
#include "../openGL/Renderbuffer.h"
#include "../Controller.h"
#include <time.h>
#define STOCHASTIC_RAY_TRACE_ITERATIONS 1
#define SHADER_SOURCE_STOCHASTIC_RAY_TRACE_VERT "../bin/shaders/StochasticRayTrace/stochasticRayTraceVert.vs"
#define SHADER_SOURCE_STOCHASTIC_RAY_TRACE... | c |
UWP/RadialDevice/winrt/internal/Windows.System.RemoteSystems.2.h | megayuchi/RadialController | 23 | 7109478 | // C++ for the Windows Runtime v1.0.161012.5
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.System.RemoteSystems.1.h"
WINRT_EXPORT namespace winrt {
namespace ABI::Windows::Foundation::Collections {
#ifndef WINRT_GENERIC_2f13c006_a03a_5f69_b090_75a43e33423e
#define... | c |
src/odb/include/odb/dbDiff.h | erictaur/OpenROAD | 525 | 5339163 | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, Nefelus 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:
//... | c |
include/PihaMemoryBuffer.h | jbitoniau/Piha | 0 | 4083604 | #pragma once
namespace Piha
{
/*
MemoryBuffer
Represents a raw block of data in memory (aka a blob).
*/
class MemoryBuffer
{
public:
// Creates an empty MemoryBuffer
MemoryBuffer();
// Creates a MemoryBuffer of the given size
MemoryBuffer( unsigned int sizeInBytes );
// Creates a MemoryBuffer from existi... | c |
tools/omake/tolsrc/go_0023s/gcc/c-lex.c | TheCodeYu/os | 0 | 2829485 | /* Lexical analyzer for C and Objective C.
Copyright (C) 1987, 1988, 1989, 1992, 1994, 1995, 1996, 1997
1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the F... | c |
src/php_http_header.c | petk/ext-http | 0 | 7394865 | /*
+--------------------------------------------------------------------+
| PECL :: http |
+--------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modificatio... | c |
lib/src/diet.h | britram/quant | 0 | 499412 | // SPDX-License-Identifier: BSD-2-Clause
//
// Copyright (c) 2016-2018, NetApp, 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 abo... | c |
src/pair.h | farrellm/scheme-ti89 | 2 | 7767341 | #ifndef _PAIR_H_
#define _PAIR_H_
#include <stdlib.h>
#include "util.h"
typedef struct STATICPAIR_TAG{
ID id;
void (*print)(OBJECT);
OBJECT car;
OBJECT cdr;
} STATICPAIR;
typedef STATICPAIR* PAIR;
#define isPair( data )(((OBJECT)(data))->id == 3)
int isList( OBJECT data );
int pairEqv( OBJECT obj1, OBJECT obj2... | c |
setting.c | kaiakz/lv_gui_designer | 77 | 5346339 | /**
* @setting.c
*
*/
/*********************
* INCLUDES
*********************/
#include "./lvgl/lvgl.h"
#include <stdlib.h>
#include <stdio.h>
#include "setting.h"
#include "dataset.h"
#include "custom_widget.h"
#include "gencode.h"
#include "loadproj.h"
#include "saveproj.h"
#if LV_EX_KEYBOARD || LV_EX_MOU... | c |
cipher/aes/aes-internal.c | jfehren/Crypto | 0 | 6736761 | /*
* aes-internal.c
*
* Created on: Feb 11, 2019, 2:16:53 PM
* Author: <NAME>
*/
#include "aes-internal.h"
#include "crypto-internal.h"
#include "macros.h"
#include <assert.h>
void
aes_set_encrypt_key(struct aes_ctx *ctx, const uint8_t *key, size_t length) {
assert (AES_MIN_KEY_SIZE <= length && length <=... | c |
Atmosphere/Include/AtmMetricViscosity.h | bgin/MissileSimulation | 23 | 4864465 | #ifndef _ATM_METRIC_VISCOSITY_H_15_03_16
#define _ATM_METRIC_VISCOSITY_H_15_03_16
/*---------------------------------------------------------*/
/*-------------- Metric Viscosity Computation -------------*/
/*----------------------------------------------------------*/
#include "TypeTraits.hpp"... | c |
Src/RTC.c | HuynhNgocThuong/AIR_DS3231_LibraryVersion2 | 0 | 3327822 | #include "RTC.h"
DS3231_t DS3231;
extern I2C_HandleTypeDef hi2c1;
extern UART_HandleTypeDef huart1;
/**
* @brief Binary code decimal to decimal
* @param uint8_t c
* @retval return value had changed
*/
uint8_t RTC_BCD2DEC(uint8_t c)
{
return (c>>4)*10 + (c&0x0f);
}
/**
* @brief Decimal to binary code deci... | c |
test/test-msbc.c | kobolabs/bluez-alsa | 700 | 7773064 | /*
* test-msbc.c
* Copyright (c) 2016-2021 <NAME>
*
* This file is a part of bluez-alsa.
*
* This project is licensed under the terms of the MIT license.
*
*/
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <check.h>
#include <glib.h>
#include "codec-msbc.h"
#include "shared/defs.h"
#in... | c |
source/NonSecure/GCC/Cmd.c | yuawn/HITCON-badge-2019 | 77 | 2467436 | /*******************************************************************
Copyright (C) 2009 FreakLabs
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 cod... | c |
YFStockDemo/StockDetail/Vendor/YFStock/View/TopBar/YFStock_TopBar.h | LeeYofu/YFStockDemo_2.0 | 2 | 8167903 | //
// YFStock_TopBar.h
// YFStockDemo
//
// Created by 李友富 on 2017/3/31.
// Copyright © 2017年 李友富. All rights reserved.
//
/** 股票图类型筛选条 */
#import <UIKit/UIKit.h>
#import "YFStock_Header.h"
@class YFStock_TopBar;
@protocol YFStock_TopBarDelegate <NSObject>
@optional
// 选中某个类型 的 下标
- (void)YFStock_TopBar:(YFSto... | c |
include/Gui/WidgetRenderView.h | timmb/HarmonicMotion | 1 | 3693344 | #pragma once
#include "WidgetNode.h"
#include <QGLWidget>
#include <QTimer>
#include "Utilities.h"
namespace hm
{
class NodeRenderer;
class WidgetRenderViewGl;
class WidgetRenderView : public QWidget
{
public:
WidgetRenderView(NodeRendererPtr node, QWidget* parent);
virtual ~WidgetRenderView();
NodeRen... | c |
fs/ntfs3/ntfs_fs.h | jainsakshi2395/linux | 0 | 8130086 | /* SPDX-License-Identifier: GPL-2.0 */
/*
*
* Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
*
*/
// clang-format off
#ifndef _LINUX_NTFS3_NTFS_FS_H
#define _LINUX_NTFS3_NTFS_FS_H
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/cleancache.h>
#include <linux/fs.h>
#inc... | c |
Source/BladeFramework/source/interface_imp/EntitySerializer.h | OscarGame/blade | 146 | 2739117 | /********************************************************************
created: 2013/02/26
filename: EntitySerializer.h
author: Crazii
purpose: serializer of an entity (resource) using the resource framework
*********************************************************************/
#ifndef __Blade_EntitySerializer_h__... | c |
windows/mupdf/pdf/cmap.h | Ling2048/native_pdf_renderer | 0 | 5175045 | #ifndef MUPDF_PDF_CMAP_H
#define MUPDF_PDF_CMAP_H
#define PDF_MRANGE_CAP 8
typedef struct
{
unsigned short low, high, out;
} pdf_range;
typedef struct
{
unsigned int low, high, out;
} pdf_xrange;
typedef struct
{
unsigned int low, out;
} pdf_mrange;
typedef struct cmap_splay cmap_splay;
typedef struct pdf_cmap... | c |
src/Gui/Settings/SettingsWidget.h | AndrzejWoronko/WebPassWare | 0 | 4230765 | #ifndef SETTINGSWIDGET_H
#define SETTINGSWIDGET_H
#include "Global.h"
#include <QListWidget>
#include <QStackedLayout>
#include "Splitter.h"
#include "ListWidget.h"
#include "Layouts.h"
#include "SettingsLookController.h"
#include "SettingsDatabaseViewController.h"
class SettingsWidget : public QWidget
{
Q_OBJECT... | c |
src/cpaste/cpaste.c | maxymania/muserex | 0 | 3327673 | /*
* Copyright (c) 2016 <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, di... | c |
Client/UserInterface/PythonNetworkStream.h | fatihsahinn/Metin2-Coin-System | 0 | 2914147 | // Find
bool SendExchangeItemAddPacket(TItemPos ItemPos, BYTE byDisplayPos);
// Add
#ifdef ENABLE_FATIH_SAHIN_REDCOIN_SYSTEM
bool SendExchangeRedCoinAddPacket(int redcoin);
#endif | c |
ch2/mp-lock.c | vhaoyang/CoursePP | 0 | 6816306 | /* File: mp-lock.c
*
* Purpose: A parallel program that uses OpenMP lock
*
* Compile: gcc -g -Wall -fopenmp mp-lock.c -o mp-lock
* Run: ./mp-lock
*
* Input:
* Output:
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <omp.h>
/*--------------------------------------------------------... | c |
PrivateFrameworks/OfficeImport/OADFlattenedGroup.h | phatblat/macOSPrivateFrameworks | 17 | 4834819 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import <OfficeImport/OADDrawable.h>
@class NSMutableArray;
__attribute__((visibility("hidden")))
@interface OADFlattenedGroup : OADDrawable
{
NSMutableArray *mDrawables;
}
- (void... | c |
Lib/FastLED3_1/delay.h | grinchdubs/tdTeensyLED | 0 | 6448945 | #ifndef __INC_DELAY_H
#define __INC_DELAY_H
FASTLED_NAMESPACE_BEGIN
/// Class to ensure that a minimum amount of time has kicked since the last time run - and delay if not enough time has passed yet
/// this should make sure that chipsets that have
template<int WAIT> class CMinWait {
uint16_t mLastMicros;
public:
... | c |
YK/Class/Home/Manager/YKHomeManager.h | lixiaoluGIT/iOS_YK | 2 | 8226633 | //
// YKHomeManager.h
// YK
//
// Created by LXL on 2017/12/1.
// Copyright © 2017年 YK. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface YKHomeManager : NSObject
@property (nonatomic,strong)NSMutableArray *brandList;//总数据
@property (nonatomic,strong)NSArray *sections;//分好组的数据源
@property (nona... | c |
p2/messages.h | mferg00/multi-client-server | 0 | 7756279 | int
setup_messages(void);
char*
get_message(int channel, int count, int *err);
char*
next_message(int channel, int *err);
int
add_message(int channel, char* msg);
int
detach_shmem(void);
int
subscribe(int channel);
char
is_subscribed(int channel);
int
unsubscribe(int channel);
int
total_count(int channel);
int... | c |
include/math/Math.h | jjerome/Niski | 1 | 6004579 | #ifndef __MATH_MATH_H__
#define __MATH_MATH_H__
#include <cstdint>
#include <cmath>
//
// General math functions / constants
namespace Niski
{
namespace Math
{
const double pi = 3.14159265358979323846;
//
// Slower method than bit twiddling but is
// portable to x64. We'll see.
inline uint32_t roundUpT... | c |
Reloaded/tags/MAME4droid.Reloaded.1.0.WIP/src/mame/drivers/darius.c | lofunz/mieme | 51 | 2739405 | /***************************************************************************
Darius (c) Taito 1986
======
<NAME>, <NAME>
Sound panning and other enhancements: Hiromitsu Shioya
Sources: MAME Rastan driver
Raine source - invaluable for this driver -
many thanks to <NAME> and the Rain... | c |
Pods/MatrixKit/MatrixKit/Models/Account/MXKAccount.h | Adore-Infotech/New-IOS2021 | 1 | 8075060 | /*
Copyright 2015 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd
Copyright 2019 The Matrix.org Foundation C.I.C
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/lic... | c |
linux-3.0.1/arch/arm/plat-mxc/tzic.c | tonghua209/samsun6410_linux_3_0_0_1_for_aws | 4 | 1831525 | /*
* Copyright (C)2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-lice... | c |
src/layer_attention.h | liqiangnlp/NMT.Qiang | 1 | 8335389 | /*
*
* Author: <NAME>
* Email : <EMAIL>
* Date : 10/28/2016
* Time : 11:18
*
*/
#ifndef ATTENTION_LAYER_H_
#define ATTENTION_LAYER_H_
#include "deep_rnn.h"
#include "layer_gpu.h"
//#define DEBUG_ATTENTION_LAYER
namespace neural_machine_translation {
template <typename T>
class NeuralMachineTranslation... | c |
MLN-iOS/Example/Pods/Headers/Public/ArgoUI/ArgoLuaObserver.h | mmdongxin/MLN | 1,615 | 8039287 | //
// ArgoLuaObserver.h
// ArgoUI
//
// Created by <NAME> on 2020/8/29.
//
#import "ArgoObserverBase.h"
NS_ASSUME_NONNULL_BEGIN
@class MLNUIBlock;
@interface ArgoLuaObserver : ArgoObserverBase
@property (nonatomic, strong, readonly) MLNUIBlock *block;
+ (instancetype)observerWithBlock:(MLNUIBlock *)block callbac... | c |
MNIST_animation/src/animation.h | Carath/NeuralLib | 0 | 5359640 | #ifndef ANIMATION_H
#define ANIMATION_H
#include "SDLA.h"
#include "animation_settings.h"
// Animating the recognition of the MNIST dataset:
void MNIST_animation(int modified_MNIST_option);
#endif | c |
include/gtimer.h | hendrikboeck/BlurImage_SPL-for-C | 0 | 1628422 | /*
* File: gtimer.h
* --------------
* This interface exports a general interval timer.
*/
/*************************************************************************/
/* Stanford Portable Library */
/* Copyright (C) 2013 by <NAME> <<EMAIL>> */
/* ... | c |
packages/PIPS/validation/Semantics-New/modulo09.c | DVSR1966/par4all | 51 | 879032 | #include <stdio.h>
void modulo09() {
int n=1024;
int i;
unroll:
for(i=0;i<n;i++) {
printf("%d",i);
}
} | c |
src/Environment.h | Preponderous-Software/SDL-Environment | 0 | 5153327 | // goal: build a self-contained environment so I don't have to
// do all this stuff every time.
#include <SDL.h>
#include <SDL_ttf.h>
#include <string>
#include <vector>
#include <fstream>
#include "objects/Text.h"
#include "objects/Button.h"
class Environment {
public:
// tors
Environment();
~Environment();
... | c |
demos/shared/morse_2/morse_char.c | rdpoor/mulib-support | 0 | 2746997 | /**
* MIT License
*
* Copyright (c) 2020 <NAME> <<EMAIL>>
*
* 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... | c |
src/util/Sawyer/StackAllocator.h | ouankou/rose | 488 | 3600634 | // WARNING: Changes to this file must be contributed back to Sawyer or else they will
// be clobbered by the next update from Sawyer. The Sawyer repository is at
// https://github.com/matzke1/sawyer.
#ifndef SAWYER_STACK_ALLOCATOR
#define SAWYER_STACK_ALLOCATOR
#include <Sawyer/Sawyer.h>
namesp... | c |
src/yars/configuration/xsd/graphviz/graph/XsdGraphLink.h | kzahedi/YARS | 4 | 383651 | #ifndef __XSD_GRAPH_LINK_H__
#define __XSD_GRAPH_LINK_H__
class XsdGraphNode;
#include "XsdGraphNode.h"
class XsdGraphLink
{
public:
XsdGraphLink();
string label();
void setLabel(string label);
XsdGraphNode* source();
XsdGraphNode* destination();
string destinationName();
void... | c |
mc/model/com.mentor.nucleus.bp.core/src416/ooaofooa_ACT_TFM_class.h | NDGuthrie/bposs | 1 | 3655304 | /*----------------------------------------------------------------------------
* File: ooaofooa_ACT_TFM_class.h
*
* Class: Operation Invocation (ACT_TFM)
* Component: ooaofooa
*
* your copyright statement can go here (from te_copyright.body)
*------------------------------------------------------------... | c |
Code/Tools/FBuild/FBuildCore/BFF/Functions/FunctionSettings.h | qq573011406/FASTBuild_UnrealEngine | 30 | 6147769 | // FunctionSettings - Manage global settings
//------------------------------------------------------------------------------
#pragma once
// Includes
//------------------------------------------------------------------------------
#include "Function.h"
// FunctionSettings
//------------------------------------------... | c |
software/FreeECAT-Slave/Libraries/XMCLib/inc/xmc_posif.h | cxj16888/FreeECAT | 37 | 3589528 | /**
* @file xmc_posif.h
* @date 2016-03-09
*
* @cond
**********************************************************************************
* XMClib v2.1.12 - XMC Peripheral Driver Library
*
* Copyright (c) 2015-2017, Infineon Technologies AG
* All rights reserved.
* ... | c |
Example/CbKit/CbViewController.h | Climb0516/CbKit | 0 | 7315473 | //
// CbViewController.h
// CbKit
//
// Created by Climb0516 on 12/28/2018.
// Copyright (c) 2018 Climb0516. All rights reserved.
//
@import UIKit;
@interface CbViewController : UIViewController
@end | c |
src/defs/Pushfyi-Defs.h | RichaGNigam/MyRepository | 8 | 2940570 | /*
*********************************************************
This code is a proprietary of Kapil Rana
Following may not be used in part or in whole without the
prior permission of Kapil Rana
Author: <NAME>
Date: 20/06/2015
Purpose: Pushfyi Definitions
*********************************************************... | c |
src/mongo/db/pipeline/dependencies.h | EdwardPrentice/wrongo | 12 | 1324918 | /**
* Copyright (c) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITH... | c |
SatteliteSimulator/Simulation/Simulation.h | avlo2000/DronMovementManager | 2 | 7390852 | #pragma once
#include"ISimulation.h"
#include"Object.h"
using namespace contracts;
namespace simulator
{
class Simulation :
public ISimulation
{
private:
double _timeStep = 0.1;
vector<Object*> objects;
public:
Simulation();
~Simulation();
void AddObject(Object &obj);
Object* GetObjByName(string na... | c |
src/ADT/Boolean/boolean.h | rionaldichandraseta/LessThan3 | 1 | 3322358 | /* Definisi type boolean */
#ifndef _BOOLEAN_h
#define _BOOLEAN_h
#define boolean unsigned char
#define true 1
#define false 0
#endif | c |
Maths_And_Stats/Statistics/Median/Median.c | arslantalib3/algo_ds_101 | 182 | 4358248 | #include <stdio.h>
void swap(int *p,int *q) {
int t;
t=*p;
*p=*q;
*q=t;
}
void sort(int a[],int n) {
int i,j,temp;
for(i = 0;i < n-1;i++) {
for(j = 0;j < n-i-1;j++) {
if(a[j] > a[j+1])
swap(&a[j],&a[j+1]);
}
}
}
int main() {
int a[] = {6,3,8,5,1};
i... | c |
robot/2018/distributorDebug2018.c | f4deb/cen-electronic | 1 | 6491619 | #include "distributorDebug2018.h"
#include "../../common/color/color.h"
#include "../../common/delay/cenDelay.h"
#include "../../common/io/outputStream.h"
#include "../../common/io/printWriter.h"
#include "../../common/log/logger.h"
#include "../../common/log/logLevel.h"
#include "../../client/robot/2018/launcherC... | c |
third_party/gecko-10/win32/include/ImageLayers.h | bwp/SeleniumWebDriver | 1 | 2693402 | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... | c |
Twitter-Dumped/7.60.6/T1UnifiedCardAppStorePresentable.h | ichitaso/TwitterListEnabler | 1 | 499427 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <objc/NSObject.h>
#import <T1Twitter/T1CardPresentable-Protocol.h>
@class NSString, NSURL, TFNTwitterAccount, TFNTwitterStatus, TFN... | c |
Source/Color/CColorRegistry.h | StevoGTA/CppToolbox | 1 | 4690905 | //----------------------------------------------------------------------------------------------------------------------
// CColorRegistry.h ©2019 <NAME> All rights reserved.
//----------------------------------------------------------------------------------------------------------------------
#pragma once
#includ... | c |
src/avt/Expressions/General/avtDegreeExpression.h | visit-dav/vis | 226 | 5669017 | // Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
// ************************************************************************* //
// ... | c |
linsched-linsched-alpha/arch/arm/mach-mxs/devices/platform-mxs-pwm.c | usenixatc2021/SoftRefresh_Scheduling | 47 | 5254143 | /*
* Copyright (C) 2010 Pengutronix
* <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <asm/sizes.h>
#include <mach/devices-common.h>
struct platf... | c |
src/kernel.c | james33344/rtenv-plus | 10 | 1240583 | #include "kconfig.h"
#include "kernel.h"
#include "platform.h"
#include "stm32_p103.h"
#include "RTOSConfig.h"
#include "syscall.h"
#include <stddef.h>
#include <ctype.h>
#include <string.h>
#include "string.h"
#include "pthread.h"
#include "task.h"
#include "memory-pool.h"
#include "path.h"
#include "pipe.h"
#include ... | c |
tnm/generic/tnmUtil.c | bovine/scotty | 27 | 4864719 | /*
* tnmUtil.c --
*
* Utility functions used by various modules of the Tnm extension.
* This implementation is supposed to be thread-safe.
*
* Copyright (c) 1993-1996 Technical University of Braunschweig.
* Copyright (c) 1996-1997 University of Twente.
* Copyright (c) 1997-1999 Technical University of Braunschw... | c |
ios/versioned-react-native/ABI15_0_0/Exponent/Modules/Api/Components/ABI15_0_0EXLinearGradientManager.h | SoftwareMansion/expo | 1 | 3322548 | // Copyright 2015-present 650 Industries. All rights reserved.
#import <ReactABI15_0_0/ABI15_0_0RCTViewManager.h>
@interface ABI15_0_0EXLinearGradientManager : ABI15_0_0RCTViewManager
@end | c |
src/CGnuPlotBoxWidth.h | colinw7/CQGnuPlot | 0 | 4527233 | #ifndef CGnuPlotBoxWidth_H
#define CGnuPlotBoxWidth_H
#include <CGnuPlotTypes.h>
#include <iostream>
class CGnuPlotBoxWidth {
public:
typedef CGnuPlotTypes::BoxWidthType BoxWidthType;
public:
CGnuPlotBoxWidth(double w=1, BoxWidthType t=BoxWidthType::AUTO) :
width_(w), type_(t) {
}
double width() const ... | c |
resources/_buggycode-peer-review/cs32-01-qiru/63260800/stateHosp.h | amarantini/w21 | 0 | 4527255 | #include <memory>
#include <string>
#include <iostream>
#include "hospitalData.h"
#include "rating.h"
#ifndef STATEH_H
#define STATEH_H
/*
class to represent state hospital data - fairly redundent at this point but will use
inheritence next
*/
class stateHosp {
//TODO implement
public:
stateHosp(string inS)... | c |
interfaces/dia/app/sheets.c | krattai/monoflow | 1 | 8358091 | /* Dia -- a diagram creation/manipulation program
* Copyright (C) 1998 <NAME>
*
* sheets.c : a sheets and objects dialog
* Copyright (C) 2002 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwa... | c |
vlc_linux/vlc-3.0.16/modules/access/mms/asf.c | Brook1711/biubiu_Qt6 | 0 | 6997260 | /*****************************************************************************
* asf.c: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001-2004 VLC authors and VideoLAN
* $Id: ce6e20c6cf404c4a398ce377e701fe1470e40399 $
*
* Authors: <NAME> <<EMAIL>... | c |
vulkan/00_commons/00_utils.h | 0xDNA/probe-1 | 80 | 6582803 | #ifndef VKDEMOS_UTILS_H
#define VKDEMOS_UTILS_H
#include <vulkan/vulkan.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_syswm.h>
#include <string>
#include <iostream>
#include <vector>
#include <cassert>
#include <fstream>
namespace vkdemos {
namespace utils {
/**
* Helper function that, given a VkResult, returns a str... | c |
common/base64.h | msotoodeh/asymmetric-passwords | 2 | 6279220 | /* The MIT License (MIT)
*
* Copyright (c) 2016 <NAME>, KryptoLogik Inc.
*
* 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 ... | c |
MingYa/entrance/MainScreen(Archived)/Project/Main Project View/Project Picker View/ProjectPickerView.h | nemOoO-wang/MingYa-Dianzhu | 0 | 5830059 | //
// ProjectPickerView.h
// MingYa
//
// Created by <NAME> on 10/30/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
#import "NMPikerView.h"
@class ProjectPickerView;
@protocol ProjectPickerDelegate<NSObject>
-(void)projectPicker:(ProjectPickerView *)pickerView andParam:(NSDictionary *)paramDict;
@end
... | c |
DataFormats/HcalDigi/interface/HcalLaserDigi.h | Purva-Chaudhari/cmssw | 852 | 4911849 | #ifndef DATAFORMATS_HCALDIGI_HCALLASERDIGI_H
#define DATAFORMATS_HCALDIGI_HCALLASERDIGI_H 1
#include <cstddef>
#include <cstdint>
#include <vector>
class HcalLaserDigi {
public:
HcalLaserDigi();
void setQADC(const std::vector<uint16_t>& values);
uint16_t qadc(int i) const { return ((i >= 0 && i < 32) ? (qadcraw... | c |
rpkg_src/task.h | RDIL/RPKG-Tool | 9 | 8271987 | #pragma once
#include "global.h"
#include <string>
#include <vector>
class task
{
public:
static void execute(std::string& command, std::string& input_path, std::string& filter, std::string& search, std::string& search_type, std::string& output_path);
static void process_and_execute_files_draged_and_dropped(std::vec... | c |
packages/c/lodash.c | hieudoanm/lodash | 1 | 1267663 | #include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
// Date
int now() {
time_t seconds = time(NULL);
return seconds;
}
// Lang
bool gt(float value, float other) {
return value > other;
}
bool gte(float value, float other) {
return value >= ot... | c |
src/authverifiercert.h | OpenIKEv2/libopenikev2_impl | 3 | 1493413 | /***************************************************************************
* Copyright (C) 2005 by *
* <NAME> <EMAIL> *
* <NAME> <EMAIL> *
* ... | c |
xml-UI/src/main/cpp/king_flow_control_driver_KeyBoardDriver.h | toyboxman/yummy-xml-UI | 2 | 734399 | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class king_flow_control_driver_KeyBoardDriver */
#ifndef _Included_king_flow_control_driver_KeyBoardDriver
#define _Included_king_flow_control_driver_KeyBoardDriver
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: king_flow_con... | c |
DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/TVManager.h | andrasigneczi/TravelOptimiser | 1 | 6736914 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | c |
PrivateFrameworks/AirPortAssistant.framework/AirPortAssistantController.h | shaojiankui/iOS10-Runtime-Headers | 36 | 7943869 | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/AirPortAssistant.framework/AirPortAssistant
*/
@interface AirPortAssistantController : NSObject {
NSString * _configuredSSID;
id _context;
id _delegate;
NSDictionary * _unconfiguredWACDevices;
id _viewController;
}
@pro... | c |
src/rendering/sprite_temp.h | CodePenguino/Flexer-Framework | 0 | 2347699 | #pragma once
#include <string>
#include <GL/glew.h>
// TODO: Create a proper ECS which will make this class obselete
/*class Sprite
{
public:
// Sprite(const std::string& texture_path = "../res/images/Flexer_MISSING_TEXTURE.png");
void init(const std::string& texturePath = "../res/images/Flexer_MISSI... | c |
PWGLF/NUCLEX/Exotica/NOmega/AliAnalysisTaskNOmegaLPK.h | wiechula/AliPhysics | 1 | 1887380 | #ifndef ALIANALYSISTASKNOMEGALPK_H
#define ALIANALYSISTASKNOMEGALPK_H
//------------------------------------------------------------------------------------------
// version 1.62 (2016/03/03)
//------------------------------------------------------------------------------------------
/* $Id$ */
#include "TROO... | c |
Source/FSDEngine/Public/HMMinMaxLevel.h | trumank/DRG-Mods | 0 | 3185001 | #pragma once
#include "CoreMinimal.h"
#include "HMMinMaxLevel.generated.h"
USTRUCT(BlueprintType)
struct FHMMinMaxLevel {
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<float> Entries;
FSDENGINE_API FHMMinMaxLevel();
}; | c |
CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/gnu/java/net/DefaultContentHandlerFactory.h | chewaiwai/huaweicloud-sdk-c-obs | 22 | 8186653 | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_net_DefaultContentHandlerFactory__
#define __gnu_java_net_DefaultContentHandlerFactory__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespa... | c |
src/engine/core/keycodes.h | vsensu/samui | 5 | 7934232 | #ifndef SAMUI_KEYCODES_H_
#define SAMUI_KEYCODES_H_
/* The unknown key */
#define SAMUI_KEY_UNKNOWN -1
/* Printable keys */
#define SAMUI_KEY_SPACE 32
#define SAMUI_KEY_APOSTROPHE 39 /* ' */
#define SAMUI_KEY_COMMA 44 /* , */
#define SAMUI_KEY_MINUS 45 /* -... | c |
third_party/mesa/src/src/gallium/auxiliary/target-helpers/inline_debug_helper.h | zipated/src | 2,151 | 518961 | #ifndef INLINE_DEBUG_HELPER_H
#define INLINE_DEBUG_HELPER_H
#include "pipe/p_compiler.h"
#include "util/u_debug.h"
/* Helper function to wrap a screen with
* one or more debug driver: rbug, trace.
*/
#ifdef DEBUG
#ifdef GALLIUM_TRACE
#include "trace/tr_public.h"
#endif
#ifdef GALLIUM_RBUG
#include "rbug/rbug_pu... | c |
rct_optimizations/include/rct_optimizations/extrinsic_hand_eye.h | gachiemchiep/robot_cal_tools | 0 | 3185273 | /*
* This file defines a solver for calibrating the EXTRINSIC parameters of a 3D
* camera attached to the wrist of a moving robot. It works by imaging a static target
* from many robot wrist positions.
*
* The only difference between this the and 2D, pinhole variety is that the correspondences
* in the observatio... | c |
core/lib/AFE-APIs/AFE-API-JSONRPC.h | tschaban/AFE-Firmware | 36 | 3322438 | /* AFE Firmware for smarthome devices, More info: https://afe.smartnydom.pl/ */
#ifndef _AFE_API_JSONRPC_h
#define _AFE_API_JSONRPC_h
#include <arduino.h>
#include <AFE-Configuration.h>
#include <AFE-Device.h>
#ifdef AFE_CONFIG_HARDWARE_LED
#include <AFE-LED.h>
#endif
#include <ArduinoJson.h>
#include <WiFiClient.h>... | c |
main.c | 9ziggy9/visual_sort | 0 | 4534754 | // Suppress usleep() usage warning
// #define _XOPEN_SOURCE 500
// I'm keeping this here just in case I reimplement beeping and need it.
// SDL2 libraries
#include <SDL2/SDL.h>
#include <SDL2/SDL_timer.h>
#include <SDL2/SDL_image.h>
#include <SDL2_gfxPrimitives.h>
#include <SDL_ttf.h>
// Standard libraries
#include <u... | c |
include/draw.h | DownloadMii/DownloadMii-3DS | 41 | 6593772 | #pragma once
#define TOP_ASPECT_X 0x5
#define TOP_ASPECT_Y 0x3
#define TOP_HEIGHT 240
#define TOP_WIDTH 400
#define BOTTOM_HEIGHT 240
#define BOTTOM_WIDTH 320
#include <3ds/types.h>
#include <3ds/gfx.h>
#include <stdio.h>
#include "font.h"
int drawCharacter(u8* fb, font_s* f, char c, s16 x, s16 y, u16 w, u16 h);
voi... | c |
libc/bits/morton.h | waldyrious/cosmopolitan | 2 | 3184777 | #ifndef COSMOPOLITAN_LIBC_BITS_MORTON_H_
#define COSMOPOLITAN_LIBC_BITS_MORTON_H_
#include "libc/intrin/pdep.h"
#include "libc/intrin/pext.h"
#include "libc/nexgen32e/x86feature.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
unsigned long morton(unsigned long, unsigned long) libcesque;
axdx_t unmorton(... | c |
URI/1045.c | jumouramar/programming-challenges-repository | 0 | 2806312 | #include <stdio.h>
int main(){
double a, b, c;
scanf("%lf %lf %lf", &a, &b, &c);
double vet[3] = {a, b, c};
for(int i=0; i<3; i++){
for(int j=i+1; j<3; j++){
if(vet[i]<vet[j]){
int aux = vet[i];
vet[i] = vet[j];
vet[j] = aux;
... | c |
src/trace/trace.h | privcount/tor-privcount-temporary | 43 | 1939008 | /* Copyright (c) 2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#ifndef TOR_TRACE_TRACE_H
#define TOR_TRACE_TRACE_H
void tor_trace_init(void);
#endif // TOR_TRACE_TRACE_H | c |
interface/src/PaymentManager.h | Adrianl3d/hifi | 0 | 7071963 | //
// PaymentManager.h
// interface/src
//
// Created by <NAME> on 2014-07-30.
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_PaymentManager_h
#define hifi_Payme... | c |
PDxProjects/CreateDevice3/PSkyBox.h | bear1704/DX11_Portfolio | 0 | 7622130 | #pragma once
#include "PTextureManager.h"
#include "PShape.h"
const int kMaxSkyboxTextureCount = 6;
class PSkyBox : public PBoxObject
{
public:
PSkyBox();
virtual ~PSkyBox();
public:
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> srv_skybox_texture_[kMaxSkyboxTextureCount];
public:
//virtual bool Create(ID3D... | c |
agent/test/inc/bcmolt_api_model_api_structs_test.h | opencord/openolt | 19 | 5153054 | /*
* Copyright 2018-present Open Networking Foundation
*
* 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 la... | c |
Mono.mscorlib/Mono.mscorlib/Generated bindings/System_Reflection_Assembly.h | lemonmojo/Dubrovnik | 9 | 386614 | //++Dubrovnik.CodeGenerator System_Reflection_Assembly.h
//
// Managed class : Assembly
//
//
// Frameworks
//
#import <Dubrovnik/Dubrovnik.h>
//
// Optional extra import. Not auto generated. Add manually to project only if required.
//
#if __has_include("System_Reflection_Assembly.__Extra__.h")
#import "System_Reflec... | c |
Source Code/ai.h | MarkYu98/Ataxx_Desktop | 0 | 1422028 | #ifndef AI_H
#define AI_H
struct Moves {
int sx, sy, ex, ey;
};
class AI
{
private:
int LegalMove(int x0, int y0, int x1, int y1, int g[][7]);
void Update(int x, int y, int color, int g[][7]);
void ProcStep(int x0, int y0, int x1, int y1, int color, int g[][7]);
void Copy(int g1[][7], int g2[][7])... | c |
inc/bb.h | michLab/cm4-exti | 1 | 7792625 | /*
* bb.h
*
* Created on: 7 mar 2017
* Author: doktorant
* Comment: makro do wyznaczania adresu aliasu w metodzie bit banding. Dołącz st32f4xx.h przed tym plikiem!
*/
#ifndef BB_H_
#define BB_H_
#define PERIPH_END ((uint32_t)0x400FFFFF) /*!< Peripheral end address in the alias region */
#d... | c |
bier/core/int_types.h | IKholopov/BIeR | 0 | 8368450 | /*
Copyright 2019 <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 applicable law or agreed to in writing,... | c |
tos/chips/msp430/msp430iar.h | tgtakaoka/tinyos-prod | 46 | 5244270 | /*
* Copyright (c) 2011 <NAME>
* Copyright (c) 2010 People Power Co.
*
* 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 ... | c |
isis/src/base/objs/FourierTransform/FourierTransform.h | kdl222/ISIS3 | 134 | 3220919 | #ifndef FourierTransform_h
#define FourierTransform_h
/** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this... | c |
Cheetah_mPaaSSDK/Frameworks/MPDataCenter.framework/Headers/MPDataCenter.h | hyissogood/Cheetah_mPaaSSDK | 232 | 6059793 | //
// MPDataCenter.h
// MPDataCenter
//
// Created by shenmo on 12/28/14.
// Copyright (c) 2014 shenmo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "APDataCenter.h"
#import "APDataCenterInterface.h" | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.