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 |
|---|---|---|---|---|---|
kernel/drivers/pinctrl/pinctrl-sunxi.h | zhangjie201412/Smart | 2 | 7999564 | /*
* Allwinner A1X SoCs pinctrl driver.
*
* Copyright (C) 2012 <NAME>
*
* <NAME> <<EMAIL>>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#ifndef __PINCTRL_SUNXI_H
#d... | c |
simdpp/detail/insn_id.h | RaviGaddipati/libsimdpp | 0 | 6129760 | /* Copyright (C) 2015 <NAME> <<EMAIL>>
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)
*/
#ifndef LIBSIMDPP_SIMDPP_DETAIL_INSN_ID_H
#define LIBSIMDPP_SIMDPP_DETAIL_INSN_ID_H
// Instruction set... | c |
TerrainApps/Enviro/Engines.h | huidian200803/vterrain-VTP-vterrain.org | 4 | 8332095 | //
// Engines.h
//
// Engines used by Enviro
//
// Copyright (c) 2001-2011 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#ifndef ENVIRO_ENGINESH
#define ENVIRO_ENGINESH
#include "vtlib/core/NavEngines.h"
class TerrainPicker;
///////////////////////////////////////////////////
class ... | c |
Essentials/Basic/ScrollView/NNScrollViewWrapper.h | joomcode/Essentials | 0 | 7545410 | //
// NNScrollViewWrapper.h
// Essentials
//
// Created by <NAME> on 10/02/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NNScrollViewWrapper : UIView
@property (nonatomic, readonly) UIScrollView *scrollView;
@property (nonatomic, readonly) UIView *contentView;
@pro... | c |
src/uclibc/uClibc-0.9.28.3/libc/sysdeps/linux/sh/bits/atomic.h | aps337/unum-sdk | 31 | 2703357 | /* Atomic operations used inside libc. Linux/SH version.
Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | c |
31jinfu/Custom/CollocationView/CustomColloctionCell.h | NiceSnow/31jinfu_github | 0 | 5961195 | //
// CustomColloctionCell.h
// 31jinfu
//
// Created by 刘厚宽 on 2017/5/5.
// Copyright © 2017年 刘厚宽. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CustomColloctionCell : UICollectionViewCell
+ (instancetype)creatCollectionView:(UICollectionView *)collectionView indexPath:(NSIndexPath *)indexPath;
-(v... | c |
robowflex_movegroup/include/robowflex_movegroup/services.h | servetb/robowflex | 58 | 4639649 | /* Author: <NAME> */
#ifndef ROBOWFLEX_MOVEGROUP_SERVICES_
#define ROBOWFLEX_MOVEGROUP_SERVICES_
#include <ros/node_handle.h>
#include <moveit_msgs/MoveGroupActionGoal.h>
#include <moveit_msgs/MoveGroupActionResult.h>
#include <moveit_msgs/ExecuteTrajectoryAction.h>
#include <actionlib/client/simple_action_client.h... | c |
MicroPython_BUILD/components/micropython/esp32/modnetwork.c | dhylands/MicroPython_ESP32_psRAM_LoBo | 1 | 1628489 | /*
* This file is part of the MicroPython ESP32 project, https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
*
* Development of the code in this file was sponsored by Microbric Pty Ltd
* and Mnemote Pty Ltd
*
* The MIT License (MIT)
*
* Copyright (c) 2016, 2017 <NAME> @mnemote
* Copyright (c) 2017 "<NAME>"... | c |
Source/CObj.h | Megatokio/vipsi | 0 | 5153221 | /* Copyright (c) <NAME> 2003 - 2020
mailto:<EMAIL>
This file is free software
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Redistribution and use in source and binary... | c |
quickassist/lookaside/access_layer/src/qat_direct/include/adf_io_user_proxy.h | fionatrahe/qatlib | 15 | 1841441 | /******************************************************************************
*
* BSD LICENSE
*
* Copyright(c) 2007-2021 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | c |
NGSpice/ngspice-30/src/ciderlib/support/misc.c | Surya-98/Snapcuit | 0 | 2571060 | /**********
Copyright 1992 Regents of the University of California. All rights reserved.
Author: 1987 <NAME>, U. C. Berkeley CAD Group
Author: 1992 <NAME>, U. C. Berkeley CAD Group
**********/
/*
* Miscellaneous routines culled from the oned directory so that the twod
* code will run without having to compile the o... | c |
PrivateFrameworks/IDSFoundation/IDSFoundationLog.h | phatblat/macOSPrivateFrameworks | 17 | 5392036 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "NSObject.h"
@interface IDSFoundationLog : NSObject
{
}
+ (id)SessionMultiplexer;
+ (id)ConnectivityMonitor;
+ (id)interface;
+ (id)IDSUDPLink;
+ (id)CrossLayerLogging;
+ (id)Ke... | c |
RiotController.h | rwsenser/RiotAPMV6GIT | 0 | 215442 | // RiotController.h
// 2020-06-24 Merge Completed
//
class Controller {
private:
boolean active;
int baseServoSetting;
int baseServoDelta;
int currentServoSetting;
char servoName;
Xservo* servoPtr;
public:
Controller(Xservo* _s, char _n) {
active = false;
servoPtr = _s;
baseServoSetting... | c |
Avocado/Custom UI/TSVibrantStackView.h | tristanseifert/Avocado | 1 | 4304191 | //
// TSInspectorView.h
// Avocado
//
// Created by <NAME> on 20160514.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface TSVibrantStackView : NSStackView
@end | c |
components/third_party/aliyun_sdk/mqtt/aliyun_topic.c | braveheart007/esp-mdf | 652 | 6841888 | // Copyright 2017 Espressif Systems (Shanghai) PTE 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 applicab... | c |
terminalManipulation.h | dodeca12/Micro | 5 | 7934269 | #ifndef TERMINAL_MANIPULATION_
#define TERMINAL_MANIPULATION_
#include "micro.h"
void die(const char *s);
void disableRawInputMode();
void enableRawInputMode();
int getCursorPosition(int *rows, int *cols);
int microReadKey();
int getTerminalWindowSize(int *rows, int *cols);
#endif // TERMINAL_MANIPULATION_ | c |
app/src/main/cpp/openvpn/src/openvpn/manage.c | qlcchain/WinQ-Android-code | 5 | 7859182 | /*
* OpenVPN -- An application to securely tunnel IP networks
* over a single TCP/UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2017... | c |
src/dac757x.c | glassboard-dev/DAC757x | 0 | 516597 | /*! @file dac757x.c
* @brief Driver source for the DAC757x 12-Bit, DAC C driver.
*/
#include <stdint.h>
#include <stddef.h>
#include "dac757x.h"
typedef enum {
DAC757x_PD_NORM = 0x00,
DAC757x_PD_OFF = 0x01,
DAC757x_PD__MAX__
} dac757x_power_down_t;
/*!
* @brief DAC757x Control Byte Contents
*/
typede... | c |
src/app_mt/gui/calib.c | skonzem/model-t | 0 | 1865408 | #include "gui/calib.h"
#include "gui.h"
#include "touch_calib.h"
#include "touch.h"
#include "gfx.h"
#include "image.h"
#include "button.h"
#include "label.h"
#include <string.h>
#define MARKER_SIZE 50
#define NUM_SAMPLES_PER_POINT 32
typedef struct {
int ref_pt_idx;
uint8_t calib_complete;
point_t... | c |
inetcore/outlookexpress/setup/wizard/util.h | npocmaka/Windows-Server-2003 | 17 | 7826280 | #pragma once
HRESULT GetExeVer(LPCTSTR pszExeName, WORD *pwVer, LPTSTR pszVer, int cch);
HRESULT GetFileVer(LPCTSTR pszExePath, LPTSTR pszVer, DWORD cch);
UINT GetSystemWindowsDirectoryWrap(LPTSTR pszBuffer, UINT uSize);
void GetVers(WORD *pwVerCurr,WORD *pwVerPrev);
BOOL GoodEnough(WORD *pwVerGot, WORD *pwVerNeed);
B... | c |
Hook_lib/Hook_lib.h | zhaotianff/WindowsProgramming | 9 | 2670643 | #ifdef HOOKLIB_EXPORTS
#define HOOKLIB_API __declspec(dllexport)
#else
#define HOOKLIB_API __declspec(dllimport)
#endif
HOOKLIB_API BOOL SetHook();
HOOKLIB_API BOOL UnsetHook(); | c |
hwtest/hwconfig.h | mistau/Datenlogger | 0 | 2217911 | /*
* -------------------------------------------------------------------------
* Controller fuer den Tauben Datenlogger
* Version 0.1 fuer HW Rev 1.0
* hardware definitionen
* -------------------------------------------------------------------------
* M.Staudenmaier
*/
#ifndef _HWCONFIG_H_
#define _HWCONFIG_H_... | c |
aimsalgo/src/aimsalgo/math/math_g.h | brainvisa/aims-free | 4 | 4842725 | /* This software and supporting documentation are distributed by
* Institut Federatif de Recherche 49
* CEA/NeuroSpin, Batiment 145,
* 91191 Gif-sur-Yvette cedex
* France
*
* This software is governed by the CeCILL-B license under
* French law and abiding by the rules of distribution of free soft... | c |
Example/Pods/Target Support Files/YSMKit/YSMKit-umbrella.h | yisimeng/YSMKit | 0 | 7772668 | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "GCDMulticastDelegate.h"
#import "NSBundle+YSMCategory.h"
#import "NSData+YSMCategory.h"
#import "NSDate+YSMCategory.... | c |
Src/stm32f1xx_it.c | diligent-cat/STM32F103-Intelligent-Germinator | 1 | 1768814 | /* USER CODE BEGIN EV */
extern uint8_t hc05_data[1];
extern uint8_t hc05_data_last[1];
/**
* @brief This function handles USART1 global interrupt.
*/
void USART1_IRQHandler(void)
{
/* USER CODE BEGIN USART1_IRQn 0 */
/* USER CODE END USART1_IRQn 0 */
HAL_UART_IRQHandler(&huart1);
/* USER CODE BEGIN USAR... | c |
WeChat/WeChat/Vendor/LCActionSheet/MH_MODIFY_LC.h | xwlxwl/WeChat | 1,067 | 5058085 | //
// MH_MODIFY_LC.h
// WeChat
//
// Created by senba on 2017/5/22.
// Copyright © 2017年 CoderMikeHe. All rights reserved.
// 由于LCActionSheet的UI,与本项目所表现的UI有差异,现在需要手动改动框架内部的UI。
#ifndef MH_MODIFY_LC_h
#define MH_MODIFY_LC_h
// 被CoderMikeHe修改的
#define USER_MODIFY_LC_BY_CODERMIKEHE 1
#endif /* MH_MODIFY_LCActionShe... | c |
test/css.c | omninonsense/colour | 0 | 1768292 | #include "colour.h"
#include "test.h"
#define TEST_NAME "CSS"
int main(int argc, char const *argv[]) {
Colour losos = colour_css("#EA6146");
Colour orange = colour_css("#FA3");
if (assert_rgb(losos, 234, 97, 70) && assert_rgb(orange, 255, 170, 51)) {
#ifndef __AVR__
printf("%s %s\n", PASSED, TEST_NA... | c |
usr/benchmarks/rdtsc.c | stlankes/hermit-playground | 16 | 4557112 | /*
* =====================================================================================
*
* Filename: rdtsc.c
*
* Description:
*
* Version: 1.0
* Created: 31.01.2011 10:56:58
* Revision: none
* Compiler: gcc
*
* Author: <NAME> (gw) (),
* Company... | c |
rootfs/aboriginal-1.4.5/sources/root-filesystem/src/thread-hello.c | kappaIO-Dev/qemu-armv6hf-emulation-emulation | 1 | 6549402 | #define __REENTRANT
#include <pthread.h>
#include <stdio.h>
void *threadhello(void *unused)
{
printf("Hello, world!\n");
return 0;
}
int main() {
pthread_t thready;
pthread_create(&thready, NULL, &threadhello, NULL);
usleep(10);
} | c |
arch/arm/src/efm32/efm32_dma.c | baggio63446333/incubator-nuttx | 10 | 3550070 | /****************************************************************************
* arch/arm/src/efm32/efm32_dma.c
*
* Copyright (C) 2014, 2017 <NAME>. All rights reserved.
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... | c |
Lab3/chal9.c | dsarlis/OSLab | 0 | 1951756 | /*
* socket-server.c
* Simple TCP/IP communication using sockets
*
* <NAME> <<EMAIL>>
*/
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>... | c |
projects/Phantom/phantom/utils/Placement.h | vlmillet/phantom | 12 | 2042700 | // license [
// This file is part of the Phantom project. Copyright 2011-2020 <NAME>.
// Distributed under the MIT license. Text available here at
// https://github.com/vlmillet/phantom
// ]
#pragma once
/* ****************** Includes ******************* */
#include <phantom/alignof>
#include <phantom/detail/core.h>
... | c |
Physics.h | Lswbanban/RickArdurous | 0 | 2354393 | #ifndef _PHYSICS_H_
#define _PHYSICS_H_
namespace Physics
{
extern const char JUMP_AND_FALL_VERTICAL_MOVE[];
extern const char JUMP_AND_FALL_VERTICAL_ANIM_SPEED[];
static constexpr int JUMP_AND_FALL_VERTICAL_ANIM_SPEED_COUNT = 12;
static constexpr int FALL_VERTICAL_MIN_INDEX = 3; // this variable is used to limite... | c |
ncube.h | heliosfa/Generics | 0 | 3626067 | #ifndef __ncube__H
#define __ncube__H
#include "flat.h"
#include <string>
#include <vector>
using namespace std;
//==============================================================================
void PV(vector<int>);
//==============================================================================
class Ncube {
// T... | c |
AFFEvent/AFFEvent/AFFEventStatics/AFFEventStatics.h | jfuellert/AFFEvent | 1 | 2167164 | //
// AFFEventStatics.h
// AFFEvent
//
// Created by <NAME> on 2/25/2014.
// Copyright (c) 2014 AFApps. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_OPTIONS(NSUInteger, AFFEventType) {
AFFEventTypeNone = 0,
AFFEventTypeOneTime = 1 << 1,
A... | c |
libft2.0/unicode.c | Wantiklo/fdf | 0 | 2940712 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* unicode.c :+: :+: :+: ... | c |
runtime/basis/Word/Word-ops.h | shwestrick/mpl | 709 | 659567 | #define binary(kind, name, op) \
PRIVATE INLINE \
Word##kind Word##kind##_##name (Word##kind w1, Word##kind w2) { \
return w1 op w2; \
}
#define bothBinary(... | c |
firmware/bsl/lib-qpc/examples/80x86/dos/watcom/l/reminder/bsp.c | AmuletGroup/amulet-project | 20 | 4989486 | /*****************************************************************************
* Product: DOS console-based BSP, Open Watcom
* Last Updated for Version: 4.3.00
* Date of the Last Update: Nov 01, 2011
*
* Q u a n t u m L e a P s
* ---------------------------
* ... | c |
track_oracle/core/track_oracle_core_impl.h | mwoehlke-kitware/kwiver | 176 | 5040291 | // This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
#ifndef INCL_TRACK_ORACLE_CORE_IMPL_H
#define INCL_TRACK_ORACLE_CORE_IMPL_H
#include <vital/vital_config.h>
#include <t... | c |
test/stress/stress2/lib/resources.c | lambdaxymox/DragonFlyBSD | 432 | 6646254 | /*-
* Copyright (c) 2008 <NAME> <<EMAIL>>
* 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 co... | c |
modules/intermodal/include/motis/intermodal/mumo_edge.h | SashkaHavr/motis | 0 | 5961199 | #pragma once
#include <cstdint>
#include <optional>
#include <vector>
#include "geo/latlng.h"
#include "motis/core/schedule/time.h"
#include "motis/core/statistics/statistics.h"
#include "motis/intermodal/ppr_profiles.h"
#include "motis/protocol/Message_generated.h"
namespace motis::intermodal {
enum class mumo_ty... | c |
src/OpenDB/src/lefin/boostParser.h | Raynchowkw/OpenROAD | 1 | 2067382 | #include <boost/bind.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/at_c.hpp>
#include <boost/fusion/include/io.hpp>
#include <boost/fusion/sequence.hpp>
#include... | c |
gpvdm_core/libheat/heat_cpy.c | roderickmackenzie/gpvdm | 12 | 7316106 | //
// General-purpose Photovoltaic Device Model gpvdm.com - a drift diffusion
// base/Shockley-Read-Hall model for 1st, 2nd and 3rd generation solarcells.
// The model can simulate OLEDs, Perovskite cells, and OFETs.
//
// Copyright 2008-2022 <NAME> https://www.gpvdm.com
// r.c.i.mackenzie at googlemail.com
//
// Per... | c |
AppSendr-iOS-SDK/AppSendr.h | jeremygrenier/AppSendr-iOS-SDK | 1 | 8050151 | //
// AppSendr.h
// AppSendr-iOS-SDK
//
// Created by <NAME> on 29/06/2014.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AppSendr : NSObject
+ (void)setApplicationId:(NSString *)applicationId restKey:(NSString *)restKey;
+ (void)checkUpdate;
@end | c |
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h | opencor/llvm-clang | 605 | 5254117 | //===- KaleidoscopeJIT.h - A simple JIT for Kaleidoscope --------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | c |
Applications/Health/WDDisplayTypeDescriptionTableViewCell.h | lechium/iPhoneOS_12.1.1_Headers | 12 | 7180609 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "UITableViewCell.h"
@class HKDisplayType, WDDisplayTypeDescriptionView;
@interface WDDisplayTypeDescriptionTableViewCell : UITableViewCell
{
WDDisplayTypeDescriptionView *_d... | c |
capitulo_6/capitulo_6_matrizes/exer13_matriz_cap6.c | rodolformartins/livro_linguagem_c | 0 | 3327228 | #include <stdio.h>
#include <stdlib.h>
/*Faça um programa que leia uma matriz de tamanho 5x5.
Calcule e imprima a soma dos elementos dessa matriz que não pertencem á diagonal principal nem á diagonal secundária*/
int main(void){
int matrizUser[5][5], aux1, aux2, soma1 = 0, soma2 = 0, soma3 = 0, soma4 = 0, soma5 ... | c |
Frameworks/IDEKit/IDEProvisioningProfileActionCellViewContents.h | cameroncooke/XcodeHeaders | 1 | 207902 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "NSObject.h"
@interface IDEProvisioningProfileActionCellViewContents : NSObject
{
BOOL _busy;
id <IDEEnhancedProvisioningProfile> _profile;
}
@property(readonly, nonatom... | c |
include/cparsec3/easy_parsec/parser/failure.h | mori0091/cparsec3 | 0 | 7826223 | /* -*- coding: utf-8-unix -*- */
#pragma once
#include "../runner.h"
#include "../../parsec/parser/ParsecFailure.h"
// -----------------------------------------------------------------------
// ParsecFailure(S, T)
#define TRAIT_PARSECFAILURE(S, T) trait(ParsecFailure(S, T))
#define parseError(T, e) ... | c |
VKHDHeaders/VKPhotoSizes.h | Anonym0uz/VKPreferences | 4 | 2670153 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "VKObjectsArray.h"
@class NSDictionary;
@interface VKPhotoSizes : VKObjectsArray
{
NSDictionary *_sizes;
}
@property(retain, nonatomic) NSDictionary *sizes; // @synthesize ... | c |
database/src/desktop/connection/host_info.h | oliwilkinsonio/firebase-cpp-sdk | 193 | 1390133 | // Copyright 2018 Google LLC
//
// 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 ... | c |
XVim2/XcodeHeader/IDEKit/IDEIncludesGeniusResultsFinder.h | petergp/XVim2 | 0 | 3071770 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 6 2019 20:12:56).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <IDEKit/IDEIndexGeniusResultsFinder.h>
@interface IDEIncludesGeniusResultsFinder : IDEIndexGeniusResultsFinder
{
}
+ (id)_documentL... | c |
testsuite/EXP_4/test550.c | ishiura-compiler/CF3 | 34 | 4678086 | /*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
volatile int64_t x37 = -1LL;
int64_t x38 = INT64_MIN;
uint16_t x44 = 506U;
int32_t x53 = -160110166;
volatile i... | c |
bn_s_mp_mul_high_digs.c | mecasiyab/tomcraft | 0 | 5039480 | #include <tommath_private.h>
#ifdef BN_S_MP_MUL_HIGH_DIGS_C
/* LibTomMath, multiple-precision integer library -- <NAME>
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* <NAM... | c |
lib/ome/common/xml/String.h | rleigh-dundee/ome-common-cpp | 4 | 4382893 | /*
* #%L
* OME-XERCES C++ library for working with Xerces C++.
* %%
* Copyright © 2006 - 2016 Open Microscopy Environment:
* - Massachusetts Institute of Technology
* - National Institutes of Health
* - University of Dundee
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Softw... | c |
04-display/src/main.c | chienhung-lin/zephyr-practice | 0 | 4971682 | #include <zephyr.h>
#include "display.h"
#define MY_STACK_SIZE 512
#define MY_PRIORITY 7
/* declare thread at compile time */
K_THREAD_DEFINE(display_tid, MY_STACK_SIZE,
display_main, NULL, NULL, NULL,
MY_PRIORITY, 0, 0); | c |
canvas_root_io/test/io-rules-regression/setupRoot.h | art-framework-suite/canvas-root-io | 0 | 4336926 | #ifndef art_root_io_test_io_rules_regression_setupRoot
#define art_root_io_test_io_rules_regression_setupRoot
namespace arttest {
void setupRoot();
}
#endif /* art_root_io_test_io_rules_regression_setupRoot */
// Local Variables:
// mode: c++
// End: | c |
Sources/TapSDK/TapCommonSDK.framework/Headers/NetworkStateModel.h | taptap/TapSDKSuite-iOS | 0 | 302438 | //
// NetworkStateModel.h
// TDSCommon
//
// Created by TapTap-David on 2021/3/23.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NetworkStateModel : NSObject
@property (nonatomic, copy) NSString *session_id; //每次启动唯一ID
@property (nonatomic, copy) NSString *host;... | c |
gpu/sync/sync.h | aconstlink/snakeoil | 1 | 2555895 | //------------------------------------------------------------
// snakeoil (c) <NAME>
// Distributed under the MIT license
//------------------------------------------------------------
#ifndef _SNAKEOIL_GPU_SYNC_SYNC_H_
#define _SNAKEOIL_GPU_SYNC_SYNC_H_
#include "../object.h"
namespace so_gpu
{
class sync final... | c |
google/cloud/pubsublite/admin_connection.h | joezqren/google-cloud-cpp | 299 | 5604839 | // Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | c |
Source/VWebService/VRequestManager.h | heivin/PodsRepertory | 0 | 7809975 | //
// VRequestManager.h
// VWebService
//
// Created by Heivin on 14-1-9.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import "AFHTTPRequestOperationManager.h"
#import "VExtensions.h"
#define kSignatureCode @"vwebservice.request.signaturecode"
#define kWebServiceURL @"vwebservice.request.url"
#define kA... | c |
C lib/examples/pwm/pru_main.c | nesl/Cyclops-PRU | 36 | 155023 | /*
* Copyright (c) Regents of the University of California, 2017. All rights reserved.
* See LICENSE and ATTRIB in the repository root.
*/
/*
* Based on code from <NAME> for the book "Exploring BeagleBone:
* Tools and Techniques for Building with Embedded Linux" by <NAME> & Sons,
* 2014 ISBN 9781118935125. Pleas... | c |
NewVoiceMaskView/Classes/NewVoiceMaskView.h | zhangfeiyu707/NewVoiceMaskView | 0 | 4127593 | //
// NewVoiceMaskView.h
// NewVoice
//
// Created by 张飞 on 2020/3/10.
// Copyright © 2020 zhangfei. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NewVoiceMaskView : UIView
-(instancetype)initWithFrame:(CGRect)frame;
+(instancetype)makeViewWithMask:(CGRect)frame andView:(UIV... | c |
kernel/msm-4.14/drivers/video/fbdev/msm/mdss_mdp_intf_writeback.c | clovadevice/clockplus2 | 0 | 5526535 | /* Copyright (c) 2012-2016, 2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed ... | c |
windows/richedit/inci/lstxttab.h | npocmaka/Windows-Server-2003 | 17 | 6268783 | #ifndef LSTXTTAB_DEFINED
#define LSTXTTAB_DEFINED
#include "lsidefs.h"
#include "lsgrchnk.h"
#include "lsdevice.h"
#include "pdobj.h"
#define idobjOutside 0xFFFFFFFF
LSERR SetTabLeader(PDOBJ, /* IN: Tab dobj */
WCHAR); /* IN: wchTabLeader */
LSERR LsGetDecimalPoint(
const LSGRCHNK*, /* I... | c |
usr/libexec/itunesstored/CheckinRentalOperation.h | lechium/tvOS144Headers | 2 | 5489935 | //
// 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 <iTunesStore/ISOperation.h>
@class NSArray, NSNumber, NSString, SSURLConnectionResponse;
@interface CheckinRentalOperation : ISOperation
{
... | c |
kernel/linux-5.4/sound/soc/codecs/pcm512x.c | josehu07/SplitFS | 27 | 2570416 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Driver for the PCM512x CODECs
*
* Author: <NAME> <<EMAIL>>
* Copyright 2014 Linaro Ltd
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/kernel.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/regul... | c |
include/allegro5/allegro_iphone.h | arganoid/allegro5 | 1,538 | 584055 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* ... | c |
Kernel/drivers/filesystem/ramfs.c | martinnagelberg/UnicOS | 4 | 2012221 | #include <stdint.h>
#include "filesystem.h"
#include "string.h"
#include "kernel.h"
#include "mem.h"
static int32_t ramfs_read(file_t *file, char* buf, uint32_t size, uint32_t offset) {
uint32_t i = 0;
char* data = file->start;
if (size == 0) {
size = file->size;
}
kdebug("Reading ");
kdebug_base(size, 10)... | c |
examples/use-xml.h | ytomino/headmaster | 15 | 6270624 | #if defined(__FreeBSD__)
#define _DONT_USE_CTYPE_INLINE_
#include <stdint.h> /* uintptr_t is used in <sys/cdefs.h> */
#elif defined(__APPLE__)
#include <sys/resource.h> /* avoiding circular dependency */
#include <sys/signal.h> /* avoiding circular dependency */
#elif defined(__gnu_linux__)
#if !defined(_BITS_LIBIO_H)
... | c |
Model/CommonComponent/TableViewCell/ShowImgTableViewCell.h | haomingzhi/Model | 1 | 2571212 | //
// ShowImgTableViewCell.h
// yihui
//
// Created by orange on 15/9/25.
// Copyright (c) 2015年 ORANLLC_IOS1. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JYAbstractTableViewCell.h"
#import "JYBaseTableViewCell.h"
@interface ShowImgTableViewCell :JYAbstractTableViewCell<UICollectionViewDataSource,UICo... | c |
src/atomics/arm64/OSAtomic.c | LaudateCorpus1/darwin-libplatform | 131 | 7343370 | /*
* Copyright (c) 2020 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* complia... | c |
GCN_RezIn_classes.h | NotDiscordOfficial/Fortnite_SDK | 0 | 4376867 | // BlueprintGeneratedClass GCN_RezIn.GCN_RezIn_C
// Size: 0x5c4 (Inherited: 0x458)
struct AGCN_RezIn_C : AFortGameplayCueNotify_BurstLatent {
struct FPointerToUberGraphFrame UberGraphFrame; // 0x458(0x08)
float TFX_ResOutCharacterMesh_LightIntensity_81C5527F43A6972D94623590BA582E8C; // 0x460(0x04)
float TFX_ResOutCh... | c |
gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c | best08618/asylo | 7 | 7170070 | /* PR target/80968 */
/* { dg-do compile } */
/* { dg-skip-if "no register windows" { *-*-* } { "-mflat" } { "" } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mcpu=ultrasparc -O" } */
/* Make sure references to the stack frame do not slip into the delay slot
of a return instruction. */
struc... | c |
DSA LAB/Week-4/HAs/HA6.c | shashikant-sk/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo | 4 | 8157684 | // WAP to print the middle of a double linked list.
#include<stdio.h>
#include<stdlib.h>
struct node {
int data;
struct node* next;
struct node* prev;
};
void insert_at_front(struct node** head, int new_data)
{
struct node* new_node = (struct node*)malloc(sizeof(struct node));
new_node->data = new... | c |
System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PLVideoPlaybackResourceChoiceOptimizer.h | lechium/tvOS145Headers | 5 | 2145275 | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:04:40 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/PhotoLibra... | c |
DauntingDungeon/Collidable.h | SerCoach1/DauntingDungeon | 1 | 2904322 | #pragma once
#include "Vector2.h"
#include "ColliderType.h"
class Collidable {
friend class Engine;
public:
Collidable() {};
virtual ~Collidable() {}
Collidable(Vector2 pos, ColliderType type);
ColliderType GetType() { return type; }
Vector2 pos; //center of collider pos
protected:
ColliderType type;
private:
}... | c |
transport/TransportFactory.h | marcusspangenberg/SymphonyMediaBridge | 13 | 6737026 | #pragma once
#include "memory/PacketPoolAllocator.h"
#include "transport/EndpointMetrics.h"
#include "transport/ice/IceSession.h"
#include <memory>
namespace bwe
{
struct Config;
struct RateControllerConfig;
} // namespace bwe
namespace config
{
class Config;
}
namespace jobmanager
{
class JobManager;
}
namespace ... | c |
Source/ArcECS/Public/ArcArchetypeContainer.h | Maxjen/ArcECS | 0 | 2927045 | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "ArcEntityHandleInternal.h"
#include "ArcTypeID.h"
#include "ArcEntitySignature.h"
class FArcComponentArrayBase
{
public:
virtual ~FArcComponentArrayBase() {}
virtual void SwapRemove(uint16 Index) {}
virt... | c |
includes/util/node.h | lucadp19/SOL-Project-2021 | 6 | 4523793 | #ifndef _NODE_H
#define _NODE_H
#include <stdlib.h>
/**
* A node of a doubly-linked list, with a constant string key
* and a generic data field.
*/
typedef struct _node_t {
const char* key;
void* data;
struct _node_t* prev;
struct _node_t* next;
} node_t;
/**
* Creates a new node with the given k... | c |
benchmarks/framework_benchmarking/image_processing/convolution/convolution.c | akmaru/tiramisu | 23 | 7343379 | #include "convolution.h"
#include <stdint.h>
#ifdef __NVCC__
static void convolution(const int rows,
const int cols,
const int step,
const uint8_t *src,
float *kernel,
uint8_t *conv) {
#else
static ... | c |
ls.h | rkreddy99/Shell | 0 | 7505535 | int lsdir(const char *path) {
struct dirent *de;
DIR *dr = opendir(path);
if (dr == NULL) // opendir returns NULL if couldn't open directory
{
printf("ERROR: Could not open current directory %s\n\n", path );
closedir(dr);
return 1;
}
printf("%s:\n", path);
while ((de = re... | c |
src/hal/Spi/Spi.h | nhjschulz/EInkPicFrame | 0 | 6545331 | /*
* BSD 3-Clause License
*
* Copyright (c) 2021, <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 retain the above copyright notice, t... | c |
blades/xbmc/xbmc/epg/Epg.h | krattai/AEBL | 4 | 3405620 | #pragma once
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later ver... | c |
sse-sumbytes/uint16_t/avx2_madd.h | clayne/toys | 0 | 6382122 | #pragma once
#include <cstdint>
#include <cstdlib>
uint32_t avx2_madd_sumwords(uint16_t* array, size_t size); | c |
tests/runner-tests/cpp/include/local.c | pythondude325/saltwater | 166 | 6332110 | // code: 2
#include"local.h" | c |
src/loader/AssemblyLoader.h | roberthusak/lic | 1 | 5036617 | #ifndef LIC_ASSEMBLY_LOADER
#define LIC_ASSEMBLY_LOADER
#include <iostream>
#include <string>
#include <vector>
#include "Assembly.h"
namespace lic
{
// Helper function for debugging purposes
void DumpBinaryFile(const std::string& filepath, std::ostream& out);
class AssemblyLoader
{
public:
AssemblyLoader();
... | c |
src/TACSCreator.h | rsanfer/tacs | 1 | 2610684 | /*
This file is part of TACS: The Toolkit for the Analysis of Composite
Structures, a parallel finite-element code for structural and
multidisciplinary design optimization.
Copyright (C) 2014 Georgia Tech Research Corporation
TACS is licensed under the Apache License, Version 2.0 (the
"License"); you may ... | c |
src/vita.h | dragonflylee/VitaUI | 2 | 7333487 | #ifndef _VITA_H_
#define _VITA_H_
#define VITA_WIDTH 960
#define VITA_HEIGHT 544
#define STATUSBAR_HEIGHT 30
#ifdef __cplusplus
extern "C" {
#endif
void vita_init();
void vita_shutdown();
void vita_start_draw();
void vita_end_draw();
// font
void font_init();
void font_destroy();
int font_draw(int x, int y, unsign... | c |
StringProcess/CommandProcess.c | kernelbin/BOIT | 129 | 852781 | #include<Windows.h>
#include"CommandProcess.h"
int GetLineLen(WCHAR* String)
{
int i;
for (i = 0;; i++)
{
if (String[i] == L'\r' ||
String[i] == L'\n' ||
String[i] == 0)
{
break;
}
}
return i;
}
int GetLineSpaceLen(WCHAR* String)
{
int i;
for (i = 0;; i++)
{
if (String[i] != L' ' &&
Stri... | c |
localisation/include/position.h | wlin0511/Turtlebot_hockey_game | 0 | 241815 | #ifndef POSITION_H
#define POSITION_H
class Position{
private:
double xMeters; // x-position in meters
double yMeters; // y-position in meters
double orientationRad; // radian in range of 0 to 2PI
public:
double x() const;
void x(double value);
double y() const;
void y(double value);
double orientation() ... | c |
net/InitializeHandleInfo.h | fantasydr/miniblink49 | 3 | 4143294 | #ifndef net_InitializeHandleInfo_h
#define net_InitializeHandleInfo_h
#include "net/ProxyType.h"
#include "net/PageNetExtraData.h"
#include "curl/curl.h"
#include <string>
namespace net {
struct SetupHttpMethodInfo;
struct InitializeHandleInfo {
std::string url;
std::string method;
curl_slist* heade... | c |
ext/iodine/sha1.h | jomei/iodine | 0 | 2070203 | /*
Copyright: <NAME>, 2016-2017
License: MIT except for any non-public-domain algorithms (none that I'm aware
of), which might be subject to their own licenses.
Feel free to copy, use and enjoy in accordance with to the license(s).
*/
#ifndef bscrypt_SHA1_H
#define bscrypt_SHA1_H
#include "bscrypt-common.h"
/* *******... | c |
drivers/media/platform/imx-jpeg/mxc-jpeg.c | Server2356/Sun-Kernel | 3 | 6069784 | // SPDX-License-Identifier: GPL-2.0
/*
* V4L2 driver for the JPEG encoder/decoder from i.MX8QXP/i.MX8QM application
* processors.
*
* The multi-planar buffers API is used.
*
* Baseline and extended sequential jpeg decoding is supported.
* Progressive jpeg decoding is not supported by the IP.
* Supports encode a... | c |
lib/cn/cn_kvdb.c | leroyjvargis/workflows | 558 | 1309224 | /* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2015-2020 Micron Technology, Inc. All rights reserved.
*/
#define MTF_MOCK_IMPL_cn_kvdb
#include <hse_util/alloc.h>
#include <hse_util/slab.h>
#include <hse_util/atomic.h>
#include <hse_util/hse_err.h>
#include <hse_util/event_counter.h>
#include <hse_i... | c |
standalone/pruntime/rizin/librz/debug/p/debug_io.c | ndkazu/guessNumber-vs-Bot | 0 | 7504496 | // SPDX-FileCopyrightText: 2016-2018 pancake <<EMAIL>>
// SPDX-License-Identifier: LGPL-3.0-only
#include <rz_io.h>
#include <rz_debug.h>
static int __io_step(RzDebug *dbg) {
free(dbg->iob.system(dbg->iob.io, "ds"));
return true;
}
static int __io_step_over(RzDebug *dbg) {
free(dbg->iob.system(dbg->iob.io, "dso")... | c |
PhotoLibrary.framework/PLProgressView.h | reels-research/iOS-Private-Frameworks | 4 | 2000229 | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
*/
@interface PLProgressView : UIView {
_UIBackdropView * _backgroundBlurredView;
UIView * _backgroundTintedView;
long long _backgroundType;
UIView * _backgroundView;
UIButton * _cancelB... | c |
src/lib/version.h | scatmanFATMAN/libkeystore | 0 | 3107414 | #pragma once
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 0 | c |
S1-CLASS-1-PRINTF-SCANF/ex14-calculadora-ingredientes.c | CleberAugustz/C | 6 | 7441603 | //A lanchonete Gostosura vende apenas um tipo de sanduíche, cujo recheio inclui duas fatias de queijo, uma fatia de presunto e uma rodela de hambúrguer. Sabendo que cada fatia de queijo ou presunto pesa 50 gramas, e que a rodela de hambúrguer pesa 100 gramas, faça um algoritmo em que o dono forneça a quantidade de sand... | c |
Day1/build/iOS/Preview/include/Fuse.Controls.Graphics.ImageElementDraw.h | sauvikatinnofied/ExploringFuse | 0 | 4128166 | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Controls/0.24.6/Graphics/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Float4x4.h>
#include <Uno.Object.h>
#include <Uno.Runtime.Implementation.ShaderBackends.OpenGL.GLDrawCall.h>
namespace g{... | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.