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 |
|---|---|---|---|---|---|
YLDemo/YLDemo/Classes/Main/model/YLContentModel.h | yulong000/YLDemo | 0 | 4463858 | //
// YLContentModel.h
// YLDemo
//
// Created by WYL on 16/1/13.
// Copyright © 2016年 WYL. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface YLContentModel : NSObject
/**
* 内容标题
*/
@property (nonatomic, copy) NSString *title;
/**
* 跳转的控制器
*/
@property (nonatomic, copy) NSString *viewCo... | c |
WireLib/include/wire.h | lmsorenson/Wire | 0 | 3919460 | #ifndef WIRE
#define WIRE
int openSerialPort(const char *bsdPath, char * err);
int initializeModem(int fileDescriptor, char * err);
int closeSerialPort(int fileDescriptor);
int writeSerialPort(int fileDescriptor, char * InString, char * err);
int readSerialPort(int fileDescriptor, char * dst, char * err);
int GetD... | c |
Source/USharp/Private/ExportedFunctions/Export_FWorldContext.h | MiheevN/USharp | 353 | 207918 | CSEXPORT uint8 CSCONV Export_FWorldContext_Get_WorldType(FWorldContext* instance)
{
return instance->WorldType;
}
CSEXPORT void CSCONV Export_FWorldContext_Get_ContextHandle(FWorldContext* instance, FName& result)
{
result = instance->ContextHandle;
}
CSEXPORT void CSCONV Export_FWorldContext_Get_TravelURL(FWorldCo... | c |
BoundFetchedResults/BoundFetchedResultsDataSourceDelegate.h | ConventionalC/BoundFetchedResults | 0 | 6629063 | #import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface BoundFetchedResultsDataSourceDelegate : NSObject<UITableViewDataSource, UITableViewDelegate>
#pragma mark - Properties
@property(nonatomic) NSManagedObjectContext *managedObjectContext;
@property(nonatomic) NSFetchedResultsController *fetchedResult... | c |
os/boot/puma/outb.c | glycerine/inferno | 33 | 5359228 | typedef unsigned short ushort;
typedef unsigned char uchar;
enum {
IsaIOBase = 0xf0000000,
IsaMemBase = 0xe0000000,
IOBase = 0x300,
MemBase = 0xc0000,
TxFrame = 0x0a00,
};
#define regw(reg, val) *((ushort *)IsaMemBase + MemBase + (reg)) = (val)
void
main(void)
{
regw(TxFrame, 0x1234);
} | c |
iOSOpenDev/frameworks/Symbolication.framework/Headers/VMUMachOHeader.h | bzxy/cydia | 678 | 6842083 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Symbolication.framework/Symbolication
*/
#import <Symbolication/VMUHeader.h>
@class NSString, NSArray, NSDate;
@protocol VMUMemory;
@interface VMUMachOHeader : VMUHeader {
NSString *_name; // 4 = 0x4
NSString *_p... | c |
LXLibs_OC/LXLibs_OC/Classes/BaseController/BasePullTableViewController.h | lixiao7215981/LXLibs_OC | 0 | 4677407 | //
// BasePullTableViewController.h
// LXLibs_OC
//
// Created by Xiao.Li on 2018/1/2.
// Copyright © 2018年 LXLibs. All rights reserved.
//
#import "BaseTableViewController.h"
@interface BasePullTableViewController : BaseTableViewController
@end | c |
envGen.h | juicyslew/Apricot | 0 | 7516781 | #ifndef CALSA_ENVGEN
#define CALSA_ENVGEN 1
#include "global_definitions.h"
#include "note.h"
#include <cstdlib>
#include <limits>
struct envinfo_st{ //This
//float start_val; //0 to 1
//OPERATOR//
float attack_time; //time in seconds //TODO: make this 0 to 1 and then map to an exponential function of 0 sec... | c |
generation/um/d3d11_4/um-d3d11_4.h | mfkl/terrafx.interop.windows | 0 | 5902939 | #include <Windows.h>
#include <d3d11_4.h> | c |
vmdir/server/vmkdc/utils.c | wfu8/lightwave | 357 | 7832970 | /*
* Copyright © 2012-2015 VMware, 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 applic... | c |
src/algoritmos/bc.c | PatricioIribarneCatella/music-linkedin | 0 | 3112968 | #include <stdlib.h>
#include <string.h>
#include "grafo.h"
#include "lista.h"
#include "pila.h"
#include "inicializar.h"
#include "destruir.h"
/* *****************************
* BRANDES (Centralidad)
* ****************************/
// Algoritmo de Centralidad.
int* calcular_centralidad(grafo_t* grafo) {
int... | c |
src/socket.c | lollek/slowproc | 0 | 2807105 | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/wait.h>
#include <sys/param.h>
#include "utils.h"
#include "socket.h"
/**
* Returns IPV4 or... | c |
fswebcam/fswebcam/dec_s561.c | ajaxlex/sequential-environment | 0 | 5058527 | /* Spca561decoder (C) 2005 <NAME> [<EMAIL>] */
/*==============================================================*/
/* This program is distributed under the terms of the GNU */
/* General Public License, version 2. You may use, modify, */
/* and redistribute it under the terms of this license. A */
/* co... | c |
src/include/lstm-rnn.h | krzem5/C-LSTM | 0 | 2555589 | #ifndef __LSTM_RNN_H__
#define __LSTM_RNN_H__
#include <stdint.h>
#include <limits.h>
#include <signal.h>
#ifndef __cplusplus
#ifdef NULL
#undef NULL
#endif
#define NULL ((void*)0)
#define bool _Bool
#define true 1
#define false 0
#define assert(ex) \
do{ \
if (!(ex)){ \
printf("%s:%d (%s): Assertion Failed: %... | c |
NetmeraCore.xcframework/ios-arm64_i386_x86_64-simulator/NetmeraCore.framework/Headers/NetmeraInAppMessageAction.h | Netmera/Netmera-iOS | 0 | 239357 | //
// NetmeraInAppMessageAction.h
// Pods
//
// Created by Adilcan on 1.06.2017.
//
//
#import <NetmeraCore/NetmeraAction.h>
@interface NetmeraInAppMessageAction : NetmeraAction
@property (nonatomic, strong) NSString *text;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *image;
... | c |
arch/um/os-Linux/registers.c | Sunrisepeak/Linux2.6-Reading | 44 | 1324959 | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2004 PathScale, Inc
* Copyright (C) 2004 - 2007 <NAME> (<EMAIL>)
*/
#include <errno.h>
#include <string.h>
#include <sys/ptrace.h>
#include <sysdep/ptrace.h>
#include <sysdep/ptrace_user.h>
#include <registers.h>
int save_registers(int pid, struct uml_pt_regs ... | c |
GOL/simple_GOL.c | dfwteinos/Game-of-Life | 3 | 6997141 | #include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include "simple_GOL.h"
//memory allocation for the subsequent plains
void initializeArrays(char** currPlain, char** prevPlain, int rows, int columns){
int i;
currPlain = malloc(sizeof(char *) * rows);
prevPlain = malloc(sizeof(char *) * rows);
for(i =... | c |
include/expand.h | caryhaynie/jam | 32 | 2181439 | /*
* Copyright 1993, 1995 <NAME>.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/*
* expand.h - expand a buffer, given variable values
*
* 11/04/02 (seiwald) - const-ing for string literals
*/
LIST *var_expand(
LIST *l,
const char *in,
const char *end,
LOL *lol,
int cancopy... | c |
System/Library/PrivateFrameworks/VideosUI.framework/VUIMediaEntityFetchResponse.h | lechium/tvOS145Headers | 5 | 2823253 | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:14:19 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/VideosUI.f... | c |
lib/src/cfitsio-3.25/fits_hcompress.c | tsey2015/Montage | 87 | 6113978 | /* #########################################################################
These routines to apply the H-compress compression algorithm to a 2-D Fits
image were written by <NAME> at the STScI and were obtained from the STScI at
http://www.stsci.edu/software/hcompress.html
This source file is a concatination of the ... | c |
Computer Organization and Design/ISE Design Suite Lab/4. lab/lab4/isim/nbitadder_isim_beh.exe.sim/work/a_3709394925_1181938964.c | Michael-Wittmann/Other-programs | 0 | 565598 | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | c |
linux/server/include/structure.h | femifacia/Fax | 5 | 7333419 | /*
** EPITECH PROJECT, 2019
** structure.h
** File description:
** the header file that countains structure and typedef
*/
#ifndef CHECK_STRUCT
#define CHECK_STRUCT 5
#include "libra.h"
typedef struct t_mess {
char c;
char *mess;
char *from_uid;
time_t time;
struct t_mess *next;
struct t_mess... | c |
sieve.c | attozeta/foobar | 0 | 2234327 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
static void sieve(char *a, size_t n)
{
size_t i, j;
memset(a, 1, n);
memset(a, 0, 2);
for (i=2; i*i<n; i++)
for (j=2*i; a[i] && j<n; j+=i)
a[j] = 0;
}
int main(int argc, char **argv)
{
if (argc != 2) {
printf(... | c |
c/datastruct/src/SeqQueue.c | zzzzail/learn-cpp | 0 | 6271463 | #include <stdio.h>
#include "SeqQueue.h" | c |
Source/Map/Map.h | bulmaxvad/QtSokoban | 1 | 853164 | #ifndef MAPLEVEL_H
#define MAPLEVEL_H
#include <QList>
#include <QVector>
#include <QChar>
#include "MapItems/MapItemType.h"
#include "../Array2D.h"
namespace Sokoban {
;
class MapItemBase;
class BoxMapItem;
class StockMapItem;
class PlayerMapItem;
class TextMap;
class Game;
class MapManager;
class Map
{
public:... | c |
src/dv/server/simulator_listeners/SimulatorFileCreateMessageHandler.h | SalvatoreDiGirolamo/SimFS | 13 | 2234615 | //
// Created by <NAME> on 16.04.17.
//
#ifndef DV_SERVER_SIMULATOR_LISTENERS_SIMULATORFILECREATEMESSAGEHANDLER_H_
#define DV_SERVER_SIMULATOR_LISTENERS_SIMULATORFILECREATEMESSAGEHANDLER_H_
#include <string>
#include <vector>
#include "../../DVBasicTypes.h"
#include "../MessageHandler.h"
namespace dv {
class Sim... | c |
src/shared/shared.h | albanobattistella/AppImageLauncher | 0 | 644518 | /* central file for utility functions */
#pragma once
// system headers
#include <string>
#include <memory>
// library headers
#include <QDir>
#include <QString>
#include <QSettings>
enum IntegrationState {
INTEGRATION_FAILED = 0,
INTEGRATION_SUCCESSFUL,
INTEGRATION_ABORTED
};
// standard location for ... | c |
codesafe/src/secure_boot_debug/cert_parser/cc_certificate_defs.h | ARM-software/Cryptocell-713-TEE-Lib | 2 | 5545005 | /*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm's non-OSI source license
*
*/
#ifndef _CC_CERTIFICATE_DEFS_H
#define _CC_CERTIFICATE_DEFS_H
#include "cc_address_defs.h"
#include "rsa_bsv.h"
#include "cc_sec_defs.h"
#ifdef CC_CONFIG... | c |
include.h | szdlt/MicroZoneAduinoDriver | 1 | 5947197 | /*****************************************************************************
** File : include.h
** Author : Zheng23
** Date : 20150608
** Function : 锟斤拷锟斤拷头锟侥硷拷
/*****************************************************************************/
#ifndef _INCLUDE_H_
#define _INCLUDE_H_
//锟斤拷锟矫碉拷锟斤拷锟酵讹拷锟斤拷
/... | c |
ios/RNHyphenate/RNHyphenate/HyphenateSDK/include/EMOptions.h | Tim-Burbank/react-native-hyphenate | 2 | 2829711 | /*!
* \~chinese
* @header EMOptions.h
* @abstract SDK的设置选项
* @author Hyphenate
* @version 3.00
*
* \~english
* @header EMOptions.h
* @abstract SDK setting options
* @author Hyphenate
* @version 3.00
*/
#import <Foundation/Foundation.h>
#import "EMCommonDefs.h"
/*!
* \~chinese
* 日志输出级别
*
... | c |
drivers/storage/port/lib/passthru.c | npocmaka/Windows-Server-2003 | 17 | 7479229 | /*++
Copyright (C) Microsoft Corporation, 1990 - 1999
Module Name:
passthru.c
Abstract:
This is the storage port driver library. This file contains code that
implements SCSI passthrough.
Authors:
<NAME> (JohnStra)
Environment:
kernel mode only
Notes:
This module implements SCSI pass... | c |
nrf5-ina226-sensor/src/ble_sensor_advertising.c | chacal/arduino | 4 | 1864707 | #include <ble_advdata.h>
#include <app_error.h>
#include "ble_sensor_advertising.h"
#include "ble_config.h"
static ble_uuid_t m_adv_uuids[] = {{DATA_SERVICE_SERVICE_UUID, DATA_SERVICE_UUID_TYPE}};
void ble_sensor_advertising_init(void *manuf_data, uint8_t manuf_data_len) {
ble_advdata_t advdata;
memset(&advdata... | c |
crypto_aead/aes128gcmv1/dolbeau/aesenc-int/aesenc-int.c | iadgov/simon-speck-supercop | 21 | 6333077 | /*
aesenc-int.c version $Date$
AES-GCM.
<NAME>
Public Domain
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <immintrin.h>
#include "crypto_aead.h"
#include <openssl/evp.h>
#define ACCBY8
#ifdef __INTEL_COMPILER
#define ALIGN16 __declspec(align(16))
#define ALIGN32 __declspec(align(32... | c |
jasper/bmp/bmp_dec.c | KinyaIwamoto/CxImage | 72 | 6669856 | /*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2003 <NAME>.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 <NAME>
* Copyright (c) 1999-2000 Image Power, Inc.
* Copyright (c... | c |
Pod/Classes/Projection/MOBProjectionEPSG2825.h | jkdubr/Proj4 | 3 | 5279544 | #import "MOBProjection.h"
@interface MOBProjectionEPSG2825 : MOBProjection
@end | c |
dlib/image_transforms/thresholding_abstract.h | AlexKirsanoff/dlib | 1 | 58979 | // Copyright (C) 2006 <NAME> (<EMAIL>)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_THRESHOLDINg_ABSTRACT_
#ifdef DLIB_THRESHOLDINg_ABSTRACT_
#include "../pixel.h"
namespace dlib
{
// ----------------------------------------------------------------------------------------
... | c |
MenuAnalyzer/MenuAnalyzer/UIElementUtilities.h | tsenmu/osx-app-menu-structure-analyzer | 0 | 2316878 | /*
File: UIElementUtilities.h
Abstract: Utility methods to manage AXUIElementRef instances.
Version: 1.4
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution ... | c |
examples/uart/port_map.h | kmertol/msp430-evm | 1 | 6866740 | /* Copyright (c) 2016 <NAME>
* Licensed under the MIT License. See the accompanying LICENSE file */
/** @file port_map.h
* Includes port and pin mappings of connections, also include msp430.h
* Example usage:
* PORT_BACKLIGHT(OUT) &= ~PIN_BACKLIGHT
* PORT_BACKLIGHT(DIR) |= PIN_BACKLIGHT
* in... | c |
RadiosityTechDemo/Source/Engine/RenderableTexture.h | gabrielclavero/radiosity-tech-demo | 0 | 6594428 | //------------------------------------------------------------------------------------------
// File: RenderableTexture.h
//
// Crea dos texturas que pueden ser el render target y depth buffer respectivamente de
// alguna renderización.
//
// Author: <NAME>
//-----------------------------------------------------------... | c |
src/eckit/value/Expression.h | dvuckovic/eckit | 10 | 5896790 | /*
* (C) Copyright 1996- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an interg... | c |
usr/src/grub/grub-0.97/stage2/disk_io.c | AsahiOS/gate | 0 | 5346365 | /* disk_io.c - implement abstract BIOS disk input and output */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | c |
ios/versioned-react-native/ABI45_0_0/ReactNative/ReactCommon/react/renderer/componentregistry/native/ABI45_0_0NativeComponentRegistryBinding.h | ryo-rm/expo | 0 | 8175845 | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
#include <ABI45_0_0jsi/ABI45_0_0jsi.h>
namespace ABI45_0_0facebook {
namespace ABI45_0_0React {... | c |
src/Classes/projects/ProjectHomeViewController.h | highorderbit/bug-watch | 1 | 8328339 | //
// Copyright 2009 High Order Bit, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ProjectHomeViewControllerDelegate.h"
enum ProjectTab
{
kProjectHome,
kProjectTickets,
kProjectMilestones,
kProjectMessages
};
@interface ProjectHomeViewController : UITableViewController
{
NSObject... | c |
src/org.xtuml.bp.welcome/models/MicrowaveOven/src/MicrowaveOven_sys_main.c | FMAY-Software/bridgepoint | 29 | 8211804 | /*--------------------------------------------------------------------------
* File: MicrowaveOven_sys_main.c
*
* Description: main, system initialization (and idle loop)
* your copyright statement can go here (from te_copyright.body)
*--------------------------------------------------------------------------*/
... | c |
src/engine/rv64/spill.c | YingkunZhou/rulai | 0 | 309964 | #include "spill.h"
#include "tran.h"
#include "rv64-backend/rv_ins_def.h"
#include "rtl/rtl.h"
#define TMP_REG_NUM 2
typedef struct {
uint32_t rvidx;
uint32_t spmidx;
bool dirty;
} Tmp_reg;
static Tmp_reg tmp_regs[TMP_REG_NUM];
void spill_init() {
assert(TMP_REG_NUM == 2);
tmp_regs[0].rvidx = tmp_reg1;
t... | c |
examples/openmp/fibonacci2.c | Fulayjan/ams250 | 11 | 4348958 | /* OpenMP TASK Example: Computing Fibonacci Numbers */
#include <stdio.h>
#include <omp.h>
int *value, *done;
omp_lock_t *dolock;
int fib(int n) {
int i, j;
if (n<2)
return n;
else {
omp_set_lock( &(dolock[n]) );
if (!done[n]) {
#pragma omp task shared(i) firstprivate(n)
i=fib(n-1);
... | c |
OpenMPOfficialExamples/Tests/Example_task_dep.12.c | passlab/rexomptest | 0 | 1797973 | /*
* @@name: task_dep.12c
* @@type: C
* @@compilable: yes
* @@linkable: yes
* @@expect: success
* @@version: omp_4.0
*/
#include <stdio.h>
int main (int argc, char *argv[])
{
int x = 0;
#pragma omp parallel
#pragma omp single
{
/* first explicit task */
#pragma omp task shared(x) depend(out: x)
x ... | c |
YCYToolKit/YCYCategories/Foundation/NSDate/NSDate+YCYZeroDate.h | CattleToCoaxStudio/YCYToolKit | 7 | 852493 | //
// NSDate+YCYZeroDate.h
// Jakey
//
// Created by Jakey on 15/5/9.
// Copyright (c) 2015年 Jakey. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate (YCYZeroDate)
+ (NSDate *)ycy_zeroTodayDate;
+ (NSDate *)ycy_zero24TodayDate;
- (NSDate *)ycy_zeroDate;
- (NSDate *)ycy_zero24Date;
@end | c |
src/loader/AssetLoader.h | tippesi/Atlas-Engine | 41 | 527441 | #ifndef AE_ASSETLOADER_H
#define AE_ASSETLOADER_H
#include "../System.h"
#include <fstream>
#include <sstream>
#include <sys/stat.h>
#include <vector>
#include <mutex>
#include <unordered_set>
namespace Atlas {
namespace Loader {
/**
* The asset loader is an abstraction for the operating system reads and wri... | c |
jody_sort.h | Calinou/jdupes | 7 | 1309437 | /* <NAME>'s sorting code library
* See jody_sort.c for license information */
#ifndef JODY_SORT_H
#define JODY_SORT_H
#ifdef __cplusplus
extern "C" {
#endif
extern int numeric_sort(const char * restrict c1,
const char * restrict c2, int sort_direction);
#ifdef __cplusplus
}
#endif
#endif /* JODY_S... | c |
components/cloud/onenet/nbiot-kit/ciscore/std_object/std_object.h | liak-git/oneos | 2 | 7488861 | #ifndef STD_OBJECT_H_
#define STD_OBJECT_H_
#include "../cis_api.h"
#include "../cis_internals.h"
extern int g_reboot;
/*
* Standard Object IDs
*/
#define CIS_SECURITY_OBJECT_ID (0)
#if CIS_ENABLE_UPDATE || CIS_ENABLE_MONITER
#define CIS_CONNECTIVITY_OBJECT_ID (4)
#endif
#if CIS_ENABLE_UPDATE
#define... | c |
ffmpeg_examples/encode_video.c | mayubin/ffmpeg_tutorials | 10 | 623041 | //
// Created by wangrl on 19-4-12.
//
#include <stdlib.h>
#include <libavcodec/avcodec.h>
#include <libavutil/opt.h>
#include <libavutil/imgutils.h>
static void encode(AVCodecContext *enc_ctx, AVFrame *frame, AVPacket *pkt,
FILE *outfile) {
int ret;
/* send the frame to the encoder */
if (frame)
... | c |
include/head_filter.h | PFE2018/head_filter | 0 | 6635280 | #include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/filters/passthrough.h>
#include <pcl_ros/transforms.h>
#include <ros/ros.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_clou... | c |
test/consumer/valueChange.c | PeterDeHerdt/rbus | 0 | 171488 | /*
* If not stated otherwise in this file or this component's Licenses.txt file
* the following copyright and licenses apply:
*
* Copyright 2019 RDK Management
*
* 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 ... | c |
3rdparty/QxOrm/include/QxService/QxThreadPool.h | kevinlq/QxOrm_Example | 2 | 4337076 | /****************************************************************************
**
** https://www.qxorm.com/
** Copyright (C) 2013 <NAME> (<EMAIL>)
**
** This file is part of the QxOrm library
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable ... | c |
CCGLTouchTabs/CCGLTouchTabs/Resources.h | smallab/CCGLTouch | 8 | 3848360 | #pragma once
#include "cinder/CinderResources.h"
#define RES_IMAGE_CINDER CINDER_RESOURCE( ../Assets/, cinder_logo.png, 129, IMAGE )
#define RES_IMAGE_COCOACID CINDER_RESOURCE( ../Assets/, icon_ipad_retina.png, 129, IMAGE ) | c |
maistra/vendor/com_googlesource_googleurl/url/origin_abstract_tests.h | Maistra/proxy | 0 | 8410602 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_ORIGIN_ABSTRACT_TESTS_H_
#define URL_ORIGIN_ABSTRACT_TESTS_H_
#include <string>
#include <type_traits>
#include "base/containers/contains.h"... | c |
panda/src/egg/vector_PT_EggVertex.h | ethanlindley/panda3d | 3 | 1797945 | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file vector_PT_EggVertex.h
... | c |
include/tool-trillspell.h | johnnymac647/humlib | 19 | 8326320 | //
// Programmer: <NAME> <<EMAIL>>
// Creation Date: Fri Aug 24 17:32:47 PDT 2018
// Last Modified: Fri Aug 24 17:32:51 PDT 2018
// Filename: tool-trillspell.h
// URL: https://github.com/craigsapp/humlib/blob/master/include/tool-trill.h
// Syntax: C++11; humlib
// vim: syntax=cpp ts=3... | c |
karman/Antoonvh/upat.c | MNegus/fluid-art | 0 | 4247234 | /**
# Compact upwind advection
The compact upwind advection scheme is tested for functions with
varying degrees of smoothness.
1. noise
2. Heaviside function
3. Tent function
4. Compact squared cosine
5. Compact cubed cosine
6. Gaussian
~~~gnuplot Initial `solutions`
set key right outside
set xlabel 'x'
set ... | c |
iOS/10.0.2/Frameworks/Social.framework/SLTencentWeiboUserRecord.h | onmyway133/Runtime-Headers | 30 | 6078781 | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/Social.framework/Social
*/
@interface SLTencentWeiboUserRecord : SLMicroBlogUserRecord <NSSecureCoding> {
NSURL * _objectID;
NSString * _openid;
}
@property (nonatomic, retain) NSURL *objectID;
@property (nonatomic, copy) NSString *openid;
... | c |
dovecot-2.2.33.2/src/director/user-directory.h | NicoleRobin/dovecot | 0 | 4463776 | #ifndef USER_DIRECTORY_H
#define USER_DIRECTORY_H
#define USER_IS_BEING_KILLED(user) \
((user)->kill_ctx != NULL)
struct user {
/* sorted by time */
struct user *prev, *next;
/* first 32 bits of MD5(username). collisions are quite unlikely, but
even if they happen it doesn't matter - the users are just
r... | c |
level_zero/tools/source/debug/debug_session_imp.h | mattcarter2017/compute-runtime | 0 | 7934051 | /*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "level_zero/tools/source/debug/debug_session.h"
#include <atomic>
#include <mutex>
#include <queue>
namespace SIP {
struct StateSaveAreaHeader;
struct regset_desc;
struct sr_ident;
struct sip_command;
} /... | c |
sinfull.c | PrxZee/sinfull | 1 | 2693458 | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import sys
import socket
import time
import random
import threading
import getpass
import os
sys.stdout.write("\x1b]2;S I N F U L L |SIN| D E M O N S\x07")
def modifications():
print ("Contact PrxZee or Reaper the script is currently under maitnance")
on_enter = input("P... | c |
src/platforms/ios/include/libPrinter_183b/ESCPOSPrinter.h | OPADA-Eng/nativescript-sewoo-printer | 1 | 8297003 | //
// ESCPOSPrinter.h
// iOS
//
// Created by leesk on 11. 11. 23..
// Copyright 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#define ENABLE_POS
#define ENABLE_MSR
// Alignment
#define ALIGNMENT_LEFT 0
#define ALIGNMENT_CENTER 1
#define ALIGNMENT_RIGHT 2
// Fon... | c |
main.h | cchungUW/DS18B20Reader | 0 | 1069511 | #ifndef _main_h
#define _main_h
#define LCDADDRESS 0x27
#define RELAYPIN 1 //Define wiringPi Pin 1, Board 12
#define SETTEMP 80 //Define target temperature
#include <wiringPi.h>
#include "sensor.h"
#include "gnuplot_i.h"
void Cleanup(SensorList *sensorList, FILE * tempData, gnuplot_ctrl * ... | c |
Alexa_for_IoT-Intro/main/app_main.c | hirokuma/Core2-for-AWS-IoT-EduKit | 1 | 6582800 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD
// All rights reserved.
#include <freertos/FreeRTOS.h>
#include <freertos/event_groups.h>
#include <esp_wifi.h>
#include <esp_log.h>
#include <esp_event_loop.h>
#include <esp_sleep.h>
#include <esp_pm.h>
#include <nvs_flash.h>
#include <wifi_provisioning/manager.... | c |
modules/core/include/lagrange/utils/ProgressCallback.h | LaudateCorpus1/lagrange | 156 | 3107199 | /*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you 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 appli... | c |
Teameeting/Views/PushView/PushView.h | Teameeting/Teameeting-ios | 16 | 2000343 | //
// PushView.h
// DemoAnnitation
//
// Created by yangyang on 15/11/3.
// Copyright © 2015年 yangyang. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RoomVO.h"
typedef NS_ENUM(NSInteger, PushViewType) {
PushViewTypeDefault = 0, // default type
PushViewTypeSetting , ... | c |
drogon_ctl/cmd.h | marty1885/drogon | 6,181 | 8176241 | /**
*
* cmd.h
* <NAME>
*
* Copyright 2018, <NAME>. All rights reserved.
* https://github.com/an-tao/drogon
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* Drogon
*
*/
#pragma once
#include <vector>
#include <string>
#include <iostream>
#define AR... | c |
src/tao/examples/tests/petsc/spectraladjointassimilation.c | stefanozampini/petscopt | 9 | 4552579 | static char help[] ="Solves a simple data assimilation problem with one dimensional advection diffusion equation using TSAdjoint\n\n";
/*
Not yet tested in parallel
*/
/*
Concepts: TS^time-dependent linear problems
Concepts: TS^heat equation
Concepts: TS^diffusion equation
Concepts: adjoints
Proces... | c |
src/library/til/TExprOperators.h | brainvisa/aims-til | 0 | 2090230 | #ifndef TIL_TEXPR_OPERATORS_H
#define TIL_TEXPR_OPERATORS_H
/// \file Part of the TExpr package -- do not include this file
// TODO: put package files (i.e. files that should not be included directly by library
// users, but that are only included inside the library by the package it belongs to) in
// a separate physi... | c |
src/Config.h | iotmar/Sattrack | 0 | 6072555 | #ifndef config_h
#define config_h
#include "Pixels.h"
#define CONFIGVERSION 8
void closeAllConnections();
void sendconfig(AsyncWebServerRequest *request);
boolean checkRange(String Value);
void setDefaultConfig();
bool getTle(int ide, bool forceupdate);
//////////////////////////
// Config definition //
///////... | c |
common/include/Lock.h | tizenorg/platform.core.connectivity.smartcard-service | 0 | 1432466 | /*
* Copyright (c) 2012 Samsung Electronics Co., Ltd 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 ... | c |
PrivateFrameworks/SpringBoardUIServices.framework/SBUIRemoteAlertServiceViewController.h | shaojiankui/iOS10-Runtime-Headers | 36 | 7934213 | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/SpringBoardUIServices.framework/SpringBoardUIServices
*/
@interface SBUIRemoteAlertServiceViewController : UIViewController <SBUIRemoteAlertServiceInterface>
+ (id)_exportedInterface;
+ (id)_remoteViewControllerInterface;
- (void)handleDoubl... | c |
mac/TeamTalk/interface/contactList/contactList/DDListController.h | playbar/TeamTalk | 0 | 4061197 | //
// DDListController.h
// Duoduo
//
// Created by zuoye on 13-11-27.
// Copyright (c) 2013年 zuoye. All rights reserved.
//
#import "DDAbstractListController.h"
@interface DDListController : DDAbstractListController{
}
- (id)initWithContactList:(id<DDContainingObject>)aContactList
inOutlineView:(DDList... | c |
src/FSFilter/Main.c | apriorit/file-system-filter | 74 | 218845 | #include "FsFilter.h"
//////////////////////////////////////////////////////////////////////////
// Function prototypes
VOID FsFilterUnload(
__in PDRIVER_OBJECT DriverObject
);
//////////////////////////////////////////////////////////////////////////
// Global data
PDRIVER_OBJECT g_fsFilterDriverObject =... | c |
QiuShengKe-ios/QiuShengKe-ios/Common/refreshView/QiuMiRefreshControl.h | bjbjbjbj/qiushengke_ios | 0 | 5699400 | //
// QiuMiRefreshControl.h
// Qiumi
//
// Created by <NAME> on 11/20/14.
// Copyright (c) 2014 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
#define QIUMI_REFRESH_COMMEBACK @"qiumi_qiumi_refresh_comeback"
@interface QiuMiRefreshControl : UIControl
@property (nonatomic, readonly, getter=isRefreshing) B... | c |
VkNutsBase/source/private/VkNuts/VkRenderer/Image.h | MichaelRizkalla/VkNuts | 0 | 706958 | #pragma once
// clang-format off
#include <NutsPCH.h>
// clang-format on
#include <Platform/Generic/FileOperations.h>
#include <Utilities/Container.hpp>
#include <VkNuts/Core/Attachment/VulkanAttachment.h>
#include <VkNuts/Core/Registry/Registry.h>
#include <Platform/Vulkan/VkManagement/VulkanMemoryAllocator.h>
name... | c |
declaration.h | Prakrit08/Mycaptain-C-programming- | 1 | 7449585 | #include<stdio.h>
#include<dos.h>
#include<windows.h>
#include<winbase.h>
#include<conio.h>
#include<time.h>
#include<string.h>
FILE *fnew;
HANDLE rHnd, wHnd;
char input;
int initializeconsolehandles();
void file();
void locate(int,int);
void tab1();
void tab2();
void tab3();
void tab4();
void tab5();
void date();
stru... | c |
collection/cp/ACM_Notebook_new-master/Math/Polynomial/PolynomialValues.h | daemonslayer/Notebook | 1 | 6251279 | // m = number of known points
// o = number of unknown points
// d[0] = values of known points
/* calculate differences */
for(i=0;i<m-1;i++) {
for(j=1;j<m;j++) d[i+1][j]=d[i][j]-d[i][j-1];
}
for (j=0;j<o;j++) { /* generate j numbers */
for (i=m-2;i>=0;i--)
d[i][m-1]+=d[i+1][m-1] ;
printf("%d%c",d[0... | c |
src/libnanvix/ikc/msync.c | nanvix/libnanvix | 1 | 6850273 | /*
* MIT License
*
* Copyright(c) 2018 <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 |
iva/Assets/confirm_sdk.framework/Headers/IdentityIssuanceModel.h | kevinkang88/iva | 0 | 6129631 | //
// IdentityIssuance.h
// AIDD Demo App
//
// Created by <NAME> on 8/19/15.
// Copyright (c) 2015 AIDD. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface IdentityIssuanceModel : NSObject
@property (nonatomic, retain, readonly) NSString * number;
@property (nonatomic, retain, readonly) NSDate... | c |
device/ip/subsystem/i3c/i3c_master.c | kennywj/embarc_osp | 55 | 6191831 | /* ==========================================================================
* Synopsys DesignWare Sensor and Control IP Subsystem IO Software Driver and
* documentation (hereinafter, "Software") is an Unsupported proprietary work
* of Synopsys, Inc. unless otherwise expressly agreed to in writing between
* Synops... | c |
src/ex01/main.c | thi-ng/ws-ldn-12 | 67 | 1124764 | #include "stm32746g_discovery.h"
#include "common/clockconfig.h"
#define LED_SPEED 100
volatile int do_blink = 1;
int main() {
HAL_Init();
SystemClock_Config();
BSP_LED_Init(LED_GREEN);
// configure user button in ISR mode
BSP_PB_Init(BUTTON_KEY, BUTTON_MODE_EXTI);
while (1) {
if (do_blink) {
... | c |
BitcoinSwift/BigInteger+objc.h | DoubleSha/BitcoinSwift | 122 | 2487026 | //
// BigInteger+objc.h
// BitcoinSwift
//
// Created by <NAME> on 12/23/14.
// Copyright (c) 2014 DoubleSha. All rights reserved.
//
#import "BigInteger.h"
#import <openssl/bn.h>
@interface BigInteger (objc)
@property(nonatomic, assign) BIGNUM *bn;
- (instancetype)initWithBIGNUM:(BIGNUM *)bn;
@end | c |
lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/common/dmpu_utils.h | michaelthomasj/trusted-firmware-m | 5 | 309929 | /*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _CC_DMPU_UTIL_H
#define _CC_DMPU_UTLI_H
/*!
@file
@brief This file contains the functions and definitions for the OEM Asset provisioning.
*/
#ifdef __cplusplus
extern "C"
{
#end... | c |
test/AlienTest/AlienTestOptionTypes.h | cedricga91/alien_legacy_plugins | 4 | 7460667 | // -*- C++ -*-
#ifndef ALIENTESTOPTIONTYPES_H
#define ALIENTESTOPTIONTYPES_H
/* Author : havep at Mon Aug 5 13:31:07 2013
* Generated by createNew
*/
struct AlienTestOptionTypes
{
enum eStencilKind
{
StencilByNode,
StencilByFace
};
enum eBuilderType
{
DirectBuilder,
ProfiledBuilder,
S... | c |
src/qif191/QIFDocument/type_t.CFaceSetType.h | QualityInformationFramework/QIFResourcesEditor | 0 | 7390988 | #pragma once
namespace qif191
{
namespace t
{
class CFaceSetType : public TypeBase
{
public:
QIF191_EXPORT CFaceSetType(xercesc::DOMNode* const& init);
QIF191_EXPORT CFaceSetType(CFaceSetType const& init);
void operator=(CFaceSetType const& other) { m_node = other.m_node; }
static altova::meta::ComplexType St... | c |
amrwb-11.0.0.0/dec_dtx.h | xu5343/ffmpegtoolkit_CentOS7 | 0 | 4317352 | /*
*===================================================================
* 3GPP AMR Wideband Floating-point Speech Codec
*===================================================================
*/
#ifndef DEC_DTX_H
#define DEC_DTX_H
#include "typedef.h"
#define M 16 /* Order of LP filter */
#define... | c |
src/gpu/GrPendingProgramElement.h | AsdMonio/rr-external_skia | 27 | 2753259 | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrPendingProgramElement_DEFINED
#define GrPendingProgramElement_DEFINED
#include "SkRefCnt.h"
#include "GrTypes.h"
/**
* Helper for owning a pending execution on a ... | c |
MailHeaders/Mavericks_GM/MailFW/MFRouterStore-Protocol.h | w-i-n-s/SimplePlugin | 10 | 5777154 | /*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by <NAME>.
*/
#import "NSObject.h"
@protocol MFRouterStore <NSObject>
- (void)cancel;
- (void)messagesWereRouted:(id)arg1;
- (void)messagesWillBeRouted:(id)arg1;
@end | c |
usr/src/lib/libxcurses2/h/curses.h | AsahiOS/gate | 0 | 7391055 | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... | c |
Pods/Yunpan/Yunpan/Util/UrlConfig.h | Akateason/TestDemoLiyp | 0 | 5669557 | //
// UrlConfig.h
// Yunpan
//
// Created by teason23 on 2018/9/11.
// Copyright © 2018年 teason23. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <XTlib/XTlib.h>
@interface UrlConfig : NSObject
XT_SINGLETON_H(UrlConfig)
- (NSString *)UrlAppend:(NSString *)partUrlStr ;
- (void)setup ;
@end | c |
include/DeadStoreElimination.h | gandhi56/betterIR | 1 | 5499383 | #ifndef BETTERIR_LIB_DEADSTOREELIMINATION_H
#define BETTERIR_LIB_DEADSTOREELIMINATION_H
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
using namespace llvm;
namespace{
struct DeadStoreElimination : public PassInfoMixin<DeadStoreElimination>{
PreservedAnalyses run(Function& fn, FunctionAnalysisManager&... | c |
src/pch.h | rogerdahl/duplex | 1 | 2368742 | #pragma once
//#pragma message("Compiling PCH - Should only happen once per project")
// Local libraries
#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE
#include "targetver.h"
#include <fmt/format.h>
#include <fmt/ostream.h>
//#include <spdlog/spdlog.h>
// Boost
#define BOOST_FILESYSTEM_VERSION 3
#i... | c |
src/hwenc_mmal/mmal_h264_decoder.h | enm10k/momo | 0 | 5254138 | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the ro... | c |
modules/src/img/singleviewdata.h | phernst/ctl | 0 | 7130825 | #ifndef CTL_SINGLEVIEWDATA_H
#define CTL_SINGLEVIEWDATA_H
#include "chunk2d.h"
#include "modulelayout.h"
namespace CTL {
/*!
* \class SingleViewData
*
* \brief The SingleViewData class is the container class used to store all projections from
* one particular view.
*
* In the generalized case, the detector con... | c |
init/tests/test_.c | Happneel/Lezgo | 1 | 891019 | /*
** EPITECH PROJECT, 2021
** test_.c
** File description:
** test_
*/
#include <criterion/criterion.h>
#include "/*out*/.h"
Test(/*out*/_test, simple_test)
{
int ac = 1;
char *av[1] = {"./out"};
cr_assert_eq(/*out*/(ac, av), 0);
} | c |
main.c | dreamflyforever/music_pro | 0 | 7209381 | #include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "baselib.h"
int music_list_init(music_obj *m)
{
int retvalue = 1;
if (m == NULL) {
retvalue = -1;
print("error\n");
goto end;
}
music_info *tmp;
int i = 100;
while (i--) {
music_info_alloc(&tmp, "a", "b", "c");
... | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.