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 |
|---|---|---|---|---|---|
srcs/update_input/editor_inputs/game_input.c | Killian-G/doom-nukem | 0 | 6081644 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* game_input.c :+: :+: :+: ... | c |
s3/s3fs/curl.h | murlock/irods_resource_plugin_s3 | 0 | 6748212 | /*
* s3fs - FUSE-based file system backed by Amazon S3
*
* Copyright(C) 2007 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at ... | c |
src/drivers/sdcard.c | yrakcaz/RasPiK | 7 | 6271153 | #include "drivers/sdcard.h"
#include "fs/vfs.h"
static struct block_device *bd = NULL;
static int init_sdcard(s_device *dev)
{
DO_NOTHING_WITH(dev);
return emmc_card_init(&bd);
}
static int read_sdcard(s_device *dev, uint32_t *offset, void *buff, uint32_t len)
{
DO_NOTHING_WITH(dev);
return emmc_read... | c |
KYDigitalFontView/KYDigitalFontView.h | ykyouhei/KYDigitalFontView | 42 | 4989223 | //
// KYDigitalFontView.h
// KYDigitalFontView
//
// Created by kyo__hei on 2016/09/19.
// Copyright © 2016年 kyo__hei. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for KYDigitalFontView.
FOUNDATION_EXPORT double KYDigitalFontViewVersionNumber;
//! Project version string for KYDigita... | c |
include/cmdlime/detail/paramlist.h | tripleslash/cmdlime | 0 | 7592608 | #pragma once
#include "iparamlist.h"
#include "optioninfo.h"
#include "string_utils.h"
#include <cmdlime/errors.h>
#include <cmdlime/customnames.h>
#include <cmdlime/stringconverter.h>
#include <vector>
#include <sstream>
#include <functional>
#include <memory>
namespace cmdlime::detail{
namespace str = string_utils;
... | c |
FileWatcherDemo/file_activity/unnecessary_directory.h | pvthuyet/file-watcher-demo | 0 | 7198719 | #pragma once
#include <string>
#include <array>
#include <vector>
#include "file_notify_info.h"
namespace died
{
namespace fat
{
class UnnecessaryDirectory
{
public:
UnnecessaryDirectory();
void addUserDefinePath(std::wstring path);
void setAppDataDir(bool enable);
bool contains(file_notify_info co... | c |
notes/examples/chapter15/CurvedActivity.h | jay3ss/co-sci-140 | 0 | 2556070 | #ifndef _CURVED_ACTIVITY_V1_H
#define _CURVED_ACTIVITY_V1_H
#include "GradedActivityV3.h"
class CurvedActivity: public GradedActivity
{
protected:
double rawScore;
double percentage;
public:
CurvedActivity() : GradedActivity()
{ rawScore = 0.0; percentage = 0.0; }
void setScore(double s)
... | c |
OC/Categories/UI/UITableViewCell/UITableViewCell+ZQCell.h | fzq2016/category | 0 | 965706 | //
// UITableViewCell+ZQCell.h
// iOSBaseProject
//
// Created by Felix on 16/5/12.
// Copyright © 2016年 Felix. All rights reserved.
// 封装获取cell的方法
#import <UIKit/UIKit.h>
@interface UITableViewCell (ZQCell)
/**
* 封装缓存中取出cell或通过alloc initWithStyle: reuseIdentifier:创建cell的方法
*
* @param tableView cell所在的tab... | c |
30 Days of Code/Day-0.c | nihalkhan2810/OpenSource-Sathyabama | 15 | 387055 | // https://www.hackerrank.com/challenges/30-hello-world/problem
#include <stdio.h>
int main()
{
char str[100];
gets(str);
system("cls");
printf ("Hello, World." "\n" );
printf ( "%s",str );
} | c |
mwc/romana/source/4.2.x/usr/man/COHERENT.2/unistd.h | gspu/Coherent | 20 | 5058079 | uunniissttdd.hh -- Header File
Define constants for file-handling routines
#iinncclluuddee <uunniissttdd.hh>
The header file uunniissttdd.hh defines standard routines used by the UNIX and
UNIX-like operating systems. It prototypes many commonly used functions,
and declares manifest ... | c |
System/Library/PrivateFrameworks/UIKitCore.framework/UINavigationButton.h | lechium/tvOS135Headers | 2 | 6617171 | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:45:02 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>.... | c |
include/Dolphin/runtime.h | projectPiki/pikmin2 | 33 | 1224513 | #ifndef _DOLPHIN_RUNTIME_H
#define _DOLPHIN_RUNTIME_H
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif // ifdef __cplusplus
unsigned long __cvt_fp2unsigned(double);
// TODO: The rest
void* __copy(char*, char*, size_t);
#ifdef __cplusplus
};
#endif // ifdef __cplusplus
#endif | c |
include/net/lwipMbedTls/cxa_lwipMbedTls_network_tcpServer_connectedClient.h | dalleysa/common-c | 8 | 879131 | /*
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*
* @author <NAME>
*/
#ifndef CXA_LWIPMBEDTLS_NETWORK_TCPSERVER_CONNECTEDCLIENT_H_
#define CXA_LWIPMBEDTLS_NETWORK_TCPSERVER_CONNECTEDCLIENT_H_
// ******** includes ********
#include <arp... | c |
qttools/src/assistant/assistant/cmdlineparser.h | wgnet/wds_qt | 1 | 3321796 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerc... | c |
test/test_icv_pmr_el1.c | axiqia/arm64-sysreg-lib | 11 | 3122890 | #include "sysreg/icv_pmr_el1.h"
u64 test_read_icv_pmr_el1( void )
{
return read_icv_pmr_el1().priority;
}
void test_unsafe_write_icv_pmr_el1( void )
{
unsafe_write_icv_pmr_el1((union icv_pmr_el1){ .priority=1 });
}
void test_safe_write_icv_pmr_el1( void )
{
safe_write_icv_pmr_el1( .priority=1 );
}
v... | c |
android/android_9/frameworks/native/cmds/dumpstate/DumpstateInternal.h | yakuizhao/intel-vaapi-driver | 0 | 4316827 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | c |
firmware/target/arm/pbell/vibe500/power-vibe500.c | Rockbox-Chinese-Community/Rockbox-RCC | 24 | 4863925 | /***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | c |
idaemond/idaemond/SBUIController.h | Breathleas/iTweak | 1 | 7333864 | //
// SBUIController.h
// idaemond
//
// Created by jiaxw on 2020/11/16.
//
#ifndef SBUIController_h
#define SBUIController_h
#endif /* SBUIController_h */ | c |
src/dicebot/manual_dice_control.h | Rainy12138/coolq-dicebot | 1 | 7986241 | #pragma once
#include "./common.h"
namespace dicebot::manual{
class manual_dice;
using p_manual = std::shared_ptr<manual_dice>;
using manual_kpair = std::pair<int64_t, int64_t>;
using manual_map = std::map<manual_kpair, p_manual>;
using manual_pair = std::pair<manual_kpair, p_manual>;
cl... | c |
grogshop-ios/GrogShop-iOS-Application/GrogShop/ImageFetchRequest.h | grogdj/grogshop | 0 | 6620847 | //
//
// Created by <NAME> on 27/10/2014.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ImageFetchRequest : NSObject
- (void)fetchImage:(NSString *)imageName
completionHandler:(void (^)(UIImage *image))completionBlock
failureBlock:... | c |
src/kinematica/al5d_pckg/include/al5d_pckg/lld.h | steinzwerink/kinematica | 0 | 5407679 | #include <iostream>
#include <boost/asio.hpp>
#include <vector>
#include <thread>
#include <string>
#include <ros/ros.h>
#include "std_msgs/String.h"
#include <actionlib/server/simple_action_server.h>
#include <al5d_pckg/communicatorAction.h>
namespace lld
{
class lld
{
public:
lld();
virtual ~lld();
bool detect... | c |
afreeca_SDK/dlpi/DjStudio/resource.h | ProgC/afreecatv_chat_game | 3 | 1793855 | //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Script.rc
//
#define IDD_DIALOG1 101
#define IDD_STUDIO_DIALOG 101
#define IDC_BITMAP_PATH_EDIT 1000
#define IDC_BITMAP_FIND_BUTTON 1001
#define IDC_WAVE_PATH_EDIT 10... | c |
c-parser/testfiles/varinit.c | 8l/AutoCorres | 2 | 541578 | /*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*/
/* parsing test for local variable initialisation */
int f(int n)
{
int m = n + 3... | c |
src/pt2pt/irecvf.c | RWTH-OS/MP-MPICH | 0 | 4303871 | /* irecv.c */
/* Custom Fortran interface file */
#include "mpiimpl.h"
#ifdef _CRAY
#include <fortran.h>
#include <stdarg.h>
#endif
#if defined(MPI_BUILD_PROFILING) || defined(HAVE_WEAK_SYMBOLS)
#if defined(HAVE_WEAK_SYMBOLS)
#if defined(HAVE_PRAGMA_WEAK)
#if defined(FORTRANCAPS)
#pragma weak MPI_IRECV = PMPI_IRECV
... | c |
zorro/include/variable_swap.c | gravier/rapier | 0 | 3781088 | /*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Zorro variable swap functions: instructions for use
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* sync resilio interest rate data into market data history folder
* save this file in the include directory of your Zorro installation
* to add this file's fu... | c |
headless/public/util/deterministic_http_protocol_handler.h | zipated/src | 2,151 | 8238603 | // Copyright 2016 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 HEADLESS_PUBLIC_UTIL_DETERMINISTIC_HTTP_PROTOCOL_HANDLER_H_
#define HEADLESS_PUBLIC_UTIL_DETERMINISTIC_HTTP_PROTOCOL_HANDLER_H_
#include <memory>... | c |
src/a_dir/a2.c | neocliff/my-make-things | 0 | 8331910 | /**
* @file a2.c
* @brief object file linked directly to hello program
* @author <NAME>
*
* This is another object file that is directly linked into the
* hello program in src/hello. It proves we can link object files
* from sibling directories.
*
* @note This code in this file is not directly called from he... | c |
CLIPS/parsefun.c | no7dw/node-clips | 24 | 7518128 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/02/06 */
/* */
/* ... | c |
vendor/newrelic/axiom/tests/test_configstrings.c | robertprast/c-sdk | 60 | 3781033 | #include "nr_axiom.h"
#include "nr_configstrings.h"
#include "tlib_main.h"
static void test_nr_parse_time(void) {
int i;
nrtime_t t;
struct {
const char* testname;
const char* input;
nrtime_t expect;
} testcases[] = {
{"null string", NULL, 0},
{"empty string", "", 0},
{"bogus tim... | c |
common/globals.h | ZSShen/ProbeDroid | 199 | 4789680 | /**
* The MIT License (MIT)
* Copyright (C) 2016 <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 ... | c |
dsp/result.h | aconstlink/snakeoil | 1 | 5149927 | //------------------------------------------------------------
// snakeoil (c) <NAME>
// Distributed under the MIT license
//------------------------------------------------------------
#pragma once
#include <snakeoil/std/string/string.hpp>
#include <snakeoil/core/boolean.h>
namespace so_dsp
{
enum class result
... | c |
src/ssa/ssa_build_goto_trace.h | KentrilDespair/2ls | 27 | 5025716 | /*******************************************************************\
Module: Traces of GOTO Programs for SSA Models
Author: <NAME>, <NAME>
\*******************************************************************/
/// \file
/// Traces of GOTO Programs for SSA Models
#ifndef CPROVER_2LS_SSA_SSA_BUILD_GOTO_TRACE_H
#defi... | c |
osdrv/ezcfg/ezcfg-0.1/ezcd/src/rc/rc_fontconfig.c | zetalabs/hi3520d | 2 | 7115949 | /* ============================================================================
* Project Name : ezbox Configuration Daemon
* Module Name : rc_fontconfig.c
*
* Description : ezbox run fontconfig service
*
* Copyright (C) 2008-2013 by ezbox-project
*
* History Rev Description
* 2011-09-02 0.1 ... | c |
src/openssh/auth-krb5.c | jbygdell/LocalEGA-inbox | 3 | 3676446 | /* $OpenBSD: auth-krb5.c,v 1.23 2018/07/09 21:35:50 markus Exp $ */
/*
* Kerberos v5 authentication and ticket-passing routines.
*
* From: FreeBSD: src/crypto/openssh/auth-krb5.c,v 1.6 2001/02/13 16:58:04 assar
*/
/*
* Copyright (c) 2002 <NAME>. All rights reserved.
*
* Redistribution and use in source and b... | c |
sourceCode/dotNet4.6/vb/language/vbhosted/include/importscope.h | csoap/csoap.github.io | 5 | 2185123 | #pragma once
#include "..\VBHosted\IImportScope.h"
namespace Microsoft
{
namespace Compiler
{
namespace VisualBasic
{
#if USEPRIVATE
private ref class ImportScope : public Microsoft::Compiler::VisualBasic::IImportScope
#else
public ref class ImportScope : public Mic... | c |
Modern C/ex0007_time_object/main.c | Dragontalker/C-refresh | 0 | 8156650 | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
#define DAYS_BEFORE \
(int const[12]) { \
[0] = 0, [1] = 31, [2] = 59, [3] = 90, \
[4] = 120, [5] = 151, [6] = 181, [7] = 212, \
[8] = 243, [9] = 273, [10] = 304, [11... | c |
util/oda_decode.c | cmumford/si470x_examples | 1 | 4160768 | /**
* @file
*
* @author <NAME>
*
* @license
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIA... | c |
aws-cpp-sdk-securityhub/include/aws/securityhub/model/UpdateOrganizationConfigurationRequest.h | Nexuscompute/aws-sdk-cpp | 1 | 1787300 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/securityhub/SecurityHubRequest.h>
#include <aws/securityhub/model/AutoEnableStandards.h>
#include <utility>
namespace Aws
{
... | c |
ECUserDefaultsManager.h | ecaselles/ECUserDefaultsManager | 2 | 4348683 | //
// ECUserDefaultsManager.h
//
// Copyright (c) 2013 <NAME>. All rights reserved.
//
// 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 t... | c |
fuchsia/base/mem_buffer_util.h | DamieFC/chromium | 1 | 4358761 | // Copyright 2018 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 FUCHSIA_BASE_MEM_BUFFER_UTIL_H_
#define FUCHSIA_BASE_MEM_BUFFER_UTIL_H_
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/zx/channel.h>
#include <s... | c |
src/smart_meter/src/CloudService/include/ICloudService.h | DriverCity/SPARK | 2 | 7071957 | /**
* @file
* @brief Defines abstract interface for cloud service.
*/
#ifndef ICLOUDSERVICE_H
#define ICLOUDSERVICE_H
#include <string>
#include "misc/ParkingEvent.h"
namespace spark
{
/**
* @brief Abstract interface for accessing the cloud.
*/
class ICloudService
{
public:
/**
* @brief Responses to ... | c |
clang/INPUTS/stpcpy-test.c | medismailben/llvm-project | 3,102 | 2855866 | #define __extension__
#define __stpcpy(dest, src) (__extension__ (__builtin_constant_p (src) ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 ? __stpcpy_small (dest, __stpcpy_args (src), strlen (src) + 1) : ((char *) __mempcpy (dest, src, strlen (src) + 1) - 1)) : __stpcpy (dest, src)))
#define stpcpy(dest, src) __... | c |
C&CPP/00-Code/c-program-basic/09-FileOperation/WriteFile.c | hiloWang/notes | 2 | 1773072 | /*
============================================================================
Author : Ztiany
Description : 顺序读写文件
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
#define FILE1 "H:\\codes\\C\\C-File\\file\\test1.txt"
#define FILE2 "H... | c |
Libraries/iLLD/TC29B/Tricore/_PinMap/IfxVadc_PinMap.h | lvgl/lv_port_aurix | 2 | 8335336 | /**
* \file IfxVadc_PinMap.h
* \brief VADC I/O map
* \ingroup IfxLld_Vadc
*
* \version iLLD_1_0_1_11_0
* \copyright Copyright (c) 2013 Infineon Technologies AG. All rights reserved.
*
*
* IMPORTANT NOTICE
*
*
* Use of this file is subject to the terms of use agreed between (i... | c |
Source/Atomic/UI/UISceneView.h | phinoox/AtomicGameEngineExp | 0 | 1334421 | //
// Copyright (c) 2008-2015 the Urho3D project.
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
//
// 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 restrict... | c |
code/pkg_Core/Modules/LogWriter/log4cplus/include/log4cplus/fileappender.h | xiaobazhang/plugin | 0 | 4403823 | // Module: Log4CPLUS
// File: fileappender.h
// Created: 6/2001
// Author: <NAME>
//
//
// Copyright 2001-2009 <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:/... | c |
src/collectives/device/custom_collective.h | microsoft/msccl | 43 | 6594555 | /*************************************************************************
* Copyright (c) 2015-2020, NVIDIA CORPORATION. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#include "msccl_interpreter.h"
template<class FUNC,... | c |
src/cmd/pic/prevy.tab.h | gmacd/apex | 29 | 3655515 | /*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, prop... | c |
dev/Code/Sandbox/Editor/TerrainMiniMapTool.h | jeikabu/lumberyard | 1,738 | 6469156 | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | c |
IF97_Region4_test.c | c4rnot/if97lib | 0 | 1799533 | // Copyright <NAME> 2014-2014.
// 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)
/* *****************************************************************************
* A SHORT PROGRAMME TO CHECK... | c |
tests/utils/test_setup.h | sfc-gh-zli/libsnowflakeclient | 13 | 2145222 | /*
* Copyright (c) 2018-2019 Snowflake Computing, Inc. All rights reserved.
*/
#ifndef SNOWFLAKE_TEST_SETUP_H
#define SNOWFLAKE_TEST_SETUP_H
#ifdef __cplusplus
extern "C" {
#endif
// cmocka start
#include <stddef.h>
#include <stdarg.h>
#include <setjmp.h>
#include <cmocka.h>
// cmocka end
#include <time.h>
#inclu... | c |
src/sansumbrella/box2d/Renderer.h | gagank02/suBox2D | 6 | 241978 | /*
* Copyright (c) 2013 <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:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditi... | c |
System/Library/PrivateFrameworks/NewsUI.framework/NUInterstitialViewController.h | lechium/iOS1351Headers | 2 | 7427548 | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:16:41 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/NewsUI.... | c |
UnitTests/compile-test/sav/bitstring-good.c | ASN1-A2C-Compiler/A2C | 6 | 1265605 | #include "bitstring-good.h"
const A2C_INTEGER_NATIVE a={1};
const A2C_ITEM_HEADER T0_description = {
sizeof(T0), 0, 0, 0, 0, 0
};
const A2C_DESCRIPTOR T0_descriptor = {
A2C_zero, A2C_BIT_STRING_release,
(A2C_decoder_f) A2C_BIT_STRING_decode_der, (A2C_encoder_f) A2C_BIT_STRING_encode_der,
(A2C_decoder... | c |
Samples/Win7Samples/winui/fulldrag/fulldrag.h | windows-development/Windows-classic-samples | 8 | 6996955 | /*
* fulldrag.h
*/
#define STRICT
#include <windows.h> | c |
projects/KURS_OOP/pol_svaz/theory.h | GodBastardNeil/somethings | 0 | 4527263 | #ifndef THEORY_H
#define THEORY_H
#include <QWidget>
#include <QMessageBox>
#include <QFile>
#include "reader.h"
namespace Ui { class theory; }
class theory : public QWidget
{
Q_OBJECT
public:
explicit theory(QWidget *parent = nullptr);
~theory();
void read_theory(); // чтение и вывод теории
sign... | c |
Lunar/src/cursor_mode_demo.h | ThaiDuongVu/Solar | 5 | 3184697 | #include <solar.h>
using namespace Solar;
/// <summary>
/// Demostrate all cursor modes.
/// </summary>
inline void CursorModeDemo()
{
// Hide mouse cursor
// Input::SetCursorMode(Input::CursorModes::ModeHidden);
// Hide mouse cursor and lock its position
// Input::SetCursorMode(Input::CursorModes::ModeLocked);
... | c |
Classes/Headers/External Libraries/GRMustacheTagDelegate.h | ablakely/TextualPPC | 0 | 4327145 | // The MIT License
//
// Copyright (c) 2014 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify... | c |
day4/01_TCP/clientwidget.h | fuzongjian/QtStudy | 1 | 2517301 | #ifndef CLIENTWIDGET_H
#define CLIENTWIDGET_H
#include <QWidget>
#include <QTcpSocket>
#include <QHostAddress>
namespace Ui {
class ClientWidget;
}
class ClientWidget : public QWidget
{
Q_OBJECT
public:
explicit ClientWidget(QWidget *parent = 0);
~ClientWidget();
private slots:
void on_pushButtoncCo... | c |
win/code/TableDataServer/Table.h | tangyiwan/tsf | 0 | 5952281 | #pragma once
#include "typedefine.h"
#include "DVBDefine.h"
class CTable : public CDVBSpace
{
#define PACKET_INDEX_ARRAY_STEP (10)
public:
CTable(u16 tableid =INVALID_TABLE_ID,u16 pid = INVALID_PID,u8 Ver = INVALID_VERSION);
virtual ~CTable(void);
void AttachSection(CSection * pSec);
bool DetachSection(CSecti... | c |
src/cmmn.h | mateusmds/beeplusplus | 3 | 4242840 | #ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#define cmmn
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "strlib.h"
#include <time.h>
#include "cols.h" | c |
code/Framework/Include/T3DEventMacro.h | answerear/Fluid | 1 | 7820015 | /*******************************************************************************
* This file is part of Tiny3D (Tiny 3D Graphic Rendering Engine)
* Copyright (C) 2015-2020 <NAME>
* For latest info, see https://github.com/answerear/Tiny3D
*
* This program is free software: you can redistribute it and/or modify
* ... | c |
dlls/rpcrt4/rpc_binding.h | krafczyk/wine | 66 | 4061053 | /*
* RPC binding API
*
* Copyright 2001 <NAME>, TransGaming Technologies
*
* This 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 Free Software Foundation; either
* version 2.1 of the License, or (at your option)... | c |
src/raid_intro.c | Gigahawk/Complete-Fire-Red-Upgrade | 0 | 5947163 | #include "defines.h"
#include "../include/bg.h"
#include "../include/event_object_movement.h"
#include "../include/field_screen_effect.h"
#include "../include/gpu_regs.h"
#include "../include/item_menu.h"
#include "../include/menu.h"
#include "../include/overworld.h"
#include "../include/random.h"
#include "../include/... | c |
src/qc_monte.h | Samthos/MC-MPn-Direct | 1 | 4418465 | #ifndef QC_MONTE_H_
#define QC_MONTE_H_
#include <chrono>
#include <fstream>
#include <string>
#include <vector>
#include <unordered_map>
#ifdef HAVE_CUDA
#include <thrust/device_vector.h>
#include <thrust/device_allocator.h>
#endif
#include "qc_mpi.h"
#include "qc_input.h"
#include "molecule.h"
#include "basis/bas... | c |
base/Windows/Inc/Vid.h | sphinxlogic/Singularity-RDK-2.0 | 0 | 4083706 | /*++
Copyright (c) Microsoft Corporation
Module Name:
Vid.h
Abstract:
Header file for the VID user-mode interface layer, Vid.dll.
Author:
<NAME> (jgregg) 08-Jun-2005
--*/
#pragma once
#if !defined(_VID_DLL_)
#define VIDDLLAPI DECLSPEC_IMPORT
#else
#define VIDDLLAPI
#endif
#inclu... | c |
System/Library/PrivateFrameworks/ChronoCore.framework/_TtC10ChronoCoreP33_3B3DE5DF8A555E73689BF9FC0FE3BDED13ExtensionInfo.h | zhangkn/iOS14Header | 1 | 302180 | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:33 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ChronoCore.framework/ChronoCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <... | c |
PrivateFrameworks/PhotosGraph/PGPotentialAreaMemory.h | phatblat/macOSPrivateFrameworks | 17 | 5025875 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import <PhotosGraph/PGPotentialMemory.h>
@class NSArray, NSDate, NSMutableSet, NSString, PGGraphNode;
@interface PGPotentialAreaMemory : PGPotentialMemory
{
NSMutableSet *_mutableM... | c |
QBAdSDK_iOS/thirdSdkSource/gdt/GDTServerSideVerificationOptions.h | yuntitech/QBAdSDK_iOS | 6 | 2348101 | //
// GDTServerSideVerificationOptions.h
// GDTMobApp
//
// Created by Nancy on 2020/12/18.
// Copyright © 2020 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GDTServerSideVerificationOptions : NSObject
//用户的userid,可选
@property(nonatomic, copy, nullable) NS... | c |
System/Library/PrivateFrameworks/TemplateKit.framework/TLKRichText.h | lechium/iPhoneOS_12.1.1_Headers | 12 | 3056382 | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:48:23 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/TemplateKit.framework/TemplateKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... | c |
src/luamgr/luamgr.h | newcommerdontblame/ionlib | 50 | 452331 | #pragma once
#include "../required.h"
#include "../util/log.h"
#include "../util/filewatch.h"
//files to expose
#include "../util/log_lua.h"
#include "../render/render.h"
#define lua ion::luamgr::get()
namespace ion
{
static char const luaStr[] = "C = ffi.C\n"
"util = util or {}\n"
"function util.makeptr(ptr, offse... | c |
cqe-challenges/CROMU_00025/src/tbir_image_data.h | li-xin-yi/cgc-cbs | 5 | 1272959 | /*
Copyright (c) 2014 Cromulence LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | c |
source/main.c | zoogie/b9sTool | 85 | 8292961 | #include <nds.h>
#include <fat.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include "payload.h"
#include "firm_old.h"
#include "firm_new.h"
#include "stage2_payload.h"
#include "stage3_payload.h"
#include "a9lh_bin_installer.h"
#include "secret_sector.h"
#include "hash_stash... | c |
lst5/im/include/im_attrib.h | LambdaCalculus37/little-smalltalk | 2 | 7743689 | /** \file
* \brief Attributes Table.
*
* See Copyright Notice in im_lib.h
* $Id: im_attrib.h,v 1.2 2006/11/21 11:56:16 scuri Exp $
*/
#ifndef __IM_ATTRIB_H_
#define __IM_ATTRIB_H_
#include "im_attrib_flat.h"
/** \brief Attributes Table.
*
* \par
* All the attributes have a name, a type, a count and the data.... | c |
src/OmafDashAccess/OmafDashParser/LatencyElement.h | OpenVisualCloud/ImmersiveVideo | 0 | 8227834 | /*
* Copyright (c) 2019, Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of con... | c |
Kirides.Union/ZenGin/Gothic_II_Addon/API/zSound.h | Kirides/union-plugin | 2 | 7056011 | // Supported with union (c) 2018 Union team
#ifndef __ZSOUND_H__VER3__
#define __ZSOUND_H__VER3__
#include "zResource.h"
namespace Gothic_II_Addon {
const int zSND_FREQ_DEFAULT = -1;
const float zSND_PAN_DEFAULT = -2;
const float zSND_PAN_LEFT =-1.0F;
const float zSND_PAN_CENTER ... | c |
MoPubSDKTests/MPAdserverCommunicatorDelegateHandler.h | ivan-konov/mopub-ios-sdk-carthage | 0 | 5293458 | //
// MPAdServerCommunicatorDelegateHandler.h
//
// Copyright 2018-2020 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPAdServerCommunicator.h"
@interface MPAdServerCommunicatorDelegateHandler : NS... | c |
plugins/ios/WeexSDK/ios/sdk/WeexSDK/Sources/Display/WXComponent+BoxShadow.h | Hunter968/eeui-template | 3,267 | 4231052 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | c |
gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/pr15784-3.c | best08618/asylo | 7 | 736091 | /* { dg-do compile } */
/* { dg-skip-if "No NaN support" { spu-*-* } } */
/* SH4 without -mieee defaults to -ffinite-math-only. */
/* { dg-options "-fdump-tree-gimple -fno-finite-math-only" } */
/* Test for folding abs(x) where appropriate. */
#define abs(x) x > 0 ? x : -x
extern double fabs (double);
int a (float x... | c |
TPComponents/TPComponents/TPComponents.h | rennyrun/TPComponents | 0 | 5279020 | //
// TPComponents.h
// TPComponents
//
// Created by <NAME> on 07/02/18.
// Copyright © 2018 Tokopedia. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for TPComponents.
FOUNDATION_EXPORT double TPComponentsVersionNumber;
//! Project version string for TPComponents.
FOUNDATION_EXPORT ... | c |
System/Library/PrivateFrameworks/CoreChart.framework/CCVegaAccessibilityHelper.h | zhangkn/iOS14Header | 1 | 4029131 | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:15 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CoreChart.framework/CoreChart
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NA... | c |
cilk5rts/cilk2c/dataflow.h | wustl-pctg/cracer | 0 | 3476058 | /*************************************************************************
*
* C-to-C Translator
*
* <NAME>
*
*************************************************************************/
/*
* Copyright (c) 1994-2002 Massachusetts Institute of Technology
* Copyright (c) 2000 <NAME>
* Copyright (c) 2002 <NAME>
... | c |
include/EasyLogging/test/global-configurations-test.h | nihildeb/hme | 24 | 926649 | #ifndef GLOBAL_CONFIGURATIONS_TEST_H_
#define GLOBAL_CONFIGURATIONS_TEST_H_
#include "test.h"
TEST(GlobalConfigurationTest, Parse) {
const char* globalConfFile = "/tmp/global-conf-test.conf";
std::fstream confFile(globalConfFile, std::fstream::out);
confFile
<< "-- performance\n"
<< " ## This j... | c |
FchKit/Classes/FchOCKit/BToolKit/tools/BKeybordReturnHandler.h | february29/FchKit | 0 | 2722684 | //
// BKeybordReturnTool.h
// slwl_yq
//
// Created by bai on 16/5/9.
// Copyright © 2016年 bai.xianzhi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BKeybordReturnHandler : NSObject
@property(nullable, nonatomic, readwrite) NSMutableArray *textFields;
/**
Deleg... | c |
avr/libraries/SPI/src/SPI.h | xukangmin/tinyx | 32 | 4231753 | /*
* SPI Master library for Arduino Zero.
* Copyright (c) 2015 Arduino LLC
*
* This 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 Free Software Foundation; either
* version 2.1 of the License, or (at your option... | c |
Examples/MFC/Demos/8.Threads/ThreadsDemoDlg.h | haoxingeng/ifc | 3 | 3327519 | // ThreadsDemoDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "MyThread.h"
// CThreadsDemoDlg dialog
class CThreadsDemoDlg : public CDialog
{
// Construction
public:
CThreadsDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_THREADSDEMO_DIALOG };
protected:
... | c |
kernel_dvfs/linux-linaro-tracking-gem5/drivers/gpu/drm/tegra/bus.c | lokeshjindal15/pd-gem5_transformer | 0 | 5150266 | /*
* Copyright (C) 2013 NVIDIA Corporation
*
* 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 "drm.h"
static int drm_host1x_set_busid(struct drm_device *dev,
str... | c |
C/c466(read).c | doyansu/zerojugde | 2 | 7384899 | #include <stdio.h>
#define BUFSIZE 1048576
static inline char readChar(){
static char buf[BUFSIZE], *temp = buf + BUFSIZE, *end = buf + BUFSIZE;
if(temp == end){
if(end < buf + BUFSIZE)
return EOF;
end = buf + fread(buf, 1, BUFSIZE, stdin);
temp = buf;
}
return *temp... | c |
src/TundraCore/Scene/EntityAction.h | realXtend/tundra-urho3d | 13 | 2067194 | /**
For conditions of distribution and use, see copyright notice in LICENSE
@file EntityAction.h
@brief Represents an executable command on an Entity. */
#pragma once
#include "TundraCoreApi.h"
#include "CoreTypes.h"
#include "Signals.h"
#include <Urho3D/Core/Object.h>
namespace Tundra
{
class Ent... | c |
System/Library/PrivateFrameworks/AppSSOKerberos.framework/AppSSOKerberos-Structs.h | zhangkn/iOS14Header | 1 | 2152123 | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:53:51 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AppSSOKerberos.framework/AppSSOKerberos
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2... | c |
src/distributed_slam/src/Slam/FeatureSet/FeatureSet.h | mason-uren/MultiAgentSlam-ROS | 3 | 1493442 | //
// Created by <NAME> on 2019-04-12.
//
#ifndef MULTIAGENTSLAM_FEATURESET_H
#define MULTIAGENTSLAM_FEATURESET_H
#include <iostream>
#include <array>
#include <tuple>
#include <include/SharedMemoryStructs.h>
#include <Logger.h>
#include "../../Utilities/Equations/Equations.h"
inline int idx(const int &i) { return... | c |
System/Library/PrivateFrameworks/MusicCarDisplayUI.framework/MCDLabelButton.h | lechium/iOS1351Headers | 2 | 2877838 | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:22:37 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/MusicCa... | c |
AlivcUtilsSDK.framework/Headers/AlivcChatKit.h | aliyunvideo/AliyunInteractiveLive_iOS | 1 | 3692714 | //
// AlivcChatKit.h
// AlivcChatKit
//
// Created by <NAME> on 2018/4/8.
// Copyright © 2018年 Youku. All rights reserved.
//
//! Project version number for AlivcChatKit.
FOUNDATION_EXPORT double AlivcChatKitVersionNumber;
//! Project version string for AlivcChatKit.
FOUNDATION_EXPORT const unsigned char AlivcCha... | c |
sources/my_putchar.c | LeNiglo/42sh | 0 | 5580571 | /*
** my_putchar.c for my_putchar in /home/lefran_g//Projects/Printf
**
** Made by <NAME>
** Login <<EMAIL>>
**
** Started on Thu Nov 8 15:01:15 2012 <NAME>
** Last update Tue May 21 18:11:48 2013 <NAME>
*/
#include "../shell.h"
void my_putchar(char c)
{
write(1, &c, 1);
} | c |
src/StyleLexers/styleLexLaTex.c | X-EcutiOnner/Notepad3 | 2,761 | 5180241 | #include "StyleLexers.h"
// ----------------------------------------------------------------------------
KEYWORDLIST KeyWords_LaTex = EMPTY_KEYWORDLIST;
EDITLEXER lexLATEX =
{
SCLEX_LATEX, "latex", IDS_LEX_LATEX, L"LaTeX Files", L"tex; latex; sty; texi; texinfo; txi", L"",
&KeyWords_LaTex, {
{ {STYLE... | c |
src/arch/win32/uicia.c | swingflip/C64_mini_VICE | 2 | 2160872 | /*
* uicia.c - Implementation of the CIA settings dialog box.
*
* Written by
* <NAME> <<EMAIL>>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | c |
wallchange.h | smason1995/WallChange | 0 | 5098397 | /*
* Header file for wallchange library
*
* author: <NAME>
* version: 06/02/2018
*/
#ifndef WALLCHANGE_H
#define WALLCHANGE_H
/*
* LIBRARIES
*/
#include<stdio.h>
#include<unistd.h>
#include<string.h>
#include<dirent.h>
#include<pthread.h>
#include<sys/stat.h>
/*
* STRUCTURES
*/
typedef struct node{
FILE... | c |
usr/src/lib/libsmbfs/smb/connect.c | AsahiOS/gate | 0 | 878684 | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... | c |
src/runsv.c | NuTyX/runyx | 4 | 4971303 | #include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include "strerr.h"
#include "error.h"
#include "taia.h"
#include "sig.h"
#include "env.h"
#include "coe.h"
#include "ndelay.h"
#include "fifo.h"
#include "open.h"
#include "lock.h"
#include "iopause.h"
#include "wai... | c |
src/ExtensionsCommon/NativeInstanceMethodsCodeInjector.h | kkeirstead/CLRInstrumentationEngine | 73 | 2208102 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "NativeInstanceMethodInstrumentationInfo.h"
namespace Agent
{
namespace Instrumentation
{
class CNativeInstanceMethodsCodeInjector final
: public CProfilerHostServices
{
public:
HRESULT Injec... | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.