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 |
|---|---|---|---|---|---|
keyboards/converter/ibm_terminal/ibm_terminal.h | fzf/qmk_toolbox | 0 | 1996599 | #ifndef IBM_TERMINAL_H
#define IBM_TERMINAL_H
#include "quantum.h"
void matrix_init_user(void);
/*
* IBM Terminal keyboard 6110345(122keys)/1392595(102keys)
* http://geekhack.org/showthread.php?10737-What-Can-I-Do-With-a-Terminal-Model-M
* http://www.seasip.info/VintagePC/ibm_1391406.html
*
* Keymap array:
* ... | c |
src/ObjRecRANSAC/Shapes/PointSetShape.h | CRLab/ObjRecRANSAC | 30 | 6816573 | #ifndef _POINT_SET_SHAPE_H_
#define _POINT_SET_SHAPE_H_
#include <BasicToolsL1/Vector.h>
#include <BasicToolsL1/Matrix.h>
#include "../UserData.h"
#include <vtkPolyData.h>
#include <list>
using namespace tum;
using namespace std;
class PointSetShape
{
public:
inline PointSetShape(const PointSetShape* src);
inline ... | c |
Engine/mail/mailmessage.h | vadkasevas/BAS | 302 | 47437 | /****************************************************************************
** Copyright (c) 2006 - 2011, the LibQxt project <http://libqxt.org>
** See the Qxt AUTHORS file for a list of authors and copyright holders.
** Copyright (c) 2013 <NAME> <<EMAIL>>
**
** All rights reserved.
**
** Redistribution and use in so... | c |
PrivateFrameworks/FinderKit/BrowserContainerTargeting-Protocol.h | phatblat/macOSPrivateFrameworks | 17 | 6905801 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
@class FI_TBrowserContainerController;
@protocol BrowserContainerTargeting
- (void)containerForgetSpringState:(FI_TBrowserContainerController *)arg1;
- (void)container:(FI_TBrowserContai... | c |
Demo/Demo/ViewController.h | uyghurbeg/PageMenu-RTL | 1 | 2860348 | //
// ViewController.h
// Demo
//
// Created by UyghurbegPro on 17/3/9.
// Copyright ยฉ 2017ๅนด BG. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end | c |
Modules/Filtering/ImageFeature/include/itkGradientVectorFlowImageFilter.h | ldqcarbon/ITK | 0 | 6406091 | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | c |
src/inputs.c | Dechrissen/glover_patch | 3 | 941121 | #include "inputs.h"
BOOLEAN read_button(unsigned int button, WORD_T *pcontroller) {
// if the controller is not connected it will
// return this value
if (*pcontroller == 0xFFFFFFFF) {
return 0;
}
return (*pcontroller) >> button & 0x01;
}
char get_stick(unsigned char axis, WORD_T *pcontrol... | c |
hector_stability_metrics/include/hector_stability_metrics/message_conversions/support_polygon.h | tu-darmstadt-ros-pkg/hector_stability_metrics | 0 | 5037021 | // Copyright (c) 2020 <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifndef HECTOR_STABILITY_METRICS_MESSAGE_CONVERSIONS_SUPPORT_POLYGON_H
#define HECTOR_STABILITY_METRICS_MESSAGE_CONVERSIONS_SUPPORT_POLYGON_H
#include "hector_stabil... | c |
ARIS/application/synergy/ssp/src/framework/el/ux/ux_src/ux_utility_physical_address.c | arrow-acs/acn-embedded | 7 | 8156730 | #ifdef AMS_ENCRYPT_PACKAGE
-----BEGIN ENCRYPTED FILE v0.6-----
<KEY>
-----END ENCRYPTED FILE-----
#else
#error "Secure builder required to compile this file"
#endif | c |
arun-c/alan.version.h | tajmone/alan-pb | 12 | 7925444 | #ifndef _alan_version_h_
#define _alan_version_h_ 3
#include "version.h"
extern Product alan;
#endif | c |
graphics/nxbe/nxbe_colormap.c | eenurkka/incubator-nuttx | 1,006 | 6544447 | /****************************************************************************
* graphics/nxbe/nxbe_colormap.c
*
* 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 own... | c |
FakeAlbumArtExtractor.h | hypfvieh/foo_subsonic | 18 | 4659762 | #pragma once
#include "foo_subsonic.h"
#include <regex>
#include "simplehttpclient.h"
#include "SimpleHttpClientConfigurator.h"
#include "AlbumArtExtractorInstanceHttp.h"
#include <fstream>
class FakeAlbumArtExtractor : public service_base {
public:
bool is_our_path(const char * p_path, const char * p_extension);
... | c |
xh2.c | UBling/Winter-Vacation | 0 | 5831151 | #include <stdio.h>
#include <stdlib.h>
// GCD Euclid
int main()
{
int m, n, x, y, z;
printf("Enter two integers: ");
scanf("%d %d", &m, &n);
if (m==0||n==0)
{
printf("Great common divisor: 0");
return 0;
}
if(m > n)
{
x = m;
y = n;
}
else
{... | c |
usr/src/uts/common/sys/libc_kernel.h | AsahiOS/gate | 0 | 7986187 | /*
* 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 |
tools/zx/zxspectrum-utils/src/hobto0.c | jorgicor/altair | 0 | 2686963 | /*********************************************************************
** 28.05.1996 // HOBto0 // Busy soft: 000 -> Hobeta konvertor 1.04a **
*********************************************************************/
/*
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Gene... | c |
inc/azure_c_shared_utility/uuid.h | koalo/azure-c-shared-utility | 46 | 4526915 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifndef UUID_H
#define UUID_H
#ifdef __cplusplus
#include <cstddef>
#include <cstdint>
extern "C" {
#else
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
... | c |
fs/cmp.c | public-domain/hutils | 1 | 5899542 | /*
* cmp.c - compare two files
*
* Version: 2008-1.01
* Build: c89 -o cmp cmp.c
* Source: <http://pdcore.sourceforge.net/>
* Spec: <http://www.opengroup.org/onlinepubs/9699919799/utilities/cmp.html>
*
* This is free and unencumbered software released into the public domain,
* provided "as is", without wa... | c |
netbsd/sys/arch/mvmeppc/include/pcb.h | MarginC/kame | 91 | 5897033 | /* $NetBSD: pcb.h,v 1.1 2002/02/27 21:02:18 scw Exp $ */
#include <powerpc/pcb.h> | c |
mainwindow.h | widelec-BB/KwaKwa | 2 | 7603209 | /*
* Copyright (c) 2012-2022 Filip "widelec-BB" Maryjanski, BlaBla group.
* All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef __MAINWINDOW_H__
#define __MAINWINDOW_H__
#include <proto/intuition.h>
#include <proto/utility.h>
#include <proto/muimaster.h>
#include <clib/alib_protos.h>... | c |
AFNetworking/AFNetworking/AFURLResponseSerialization.h | DYS12345/LearningAfenetworking | 0 | 8249859 | //
// AFURLResponseSerialization.h
// AFNetworking
//
// Created by ่ฃๆฐธ่ on 2017/7/19.
// Copyright ยฉ 2017ๅนด ่ฃๆฐธ่. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AFURLResponseSerialization : NSObject
@end | c |
lib/bdev/virtio/rte_virtio/virtio_user/virtio_user_dev.h | nvfuse/spdk | 0 | 1008497 | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* 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 cod... | c |
dependencies/panda/Panda3D-1.10.0-x64/include/pursue.h | CrankySupertoon01/Toontown-2 | 3 | 6803254 | ////////////////////////////////////////////////////////////////////////
// Filename : pursue.h
// Created by : Deepak, <NAME>
// Date : 24 Oct 09
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
/... | c |
mentos/inc/descriptor_tables/isr.h | zfd-progetti-univr-2021-2022/MentOS | 0 | 5897181 | /// MentOS, The Mentoring Operating system project
/// @file isr.h
/// @brief Data structures concerning the Interrupt Service Routines (ISRs).
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
/// See LICENSE.md for details.
/// @addtogroup descriptor_tables Descriptor Tables
... | c |
macOS/10.13/Carbon.framework/InkRecognizerPhraseWord.h | onmyway133/Runtime-Headers | 30 | 4318105 | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
*/
@interface InkRecognizerPhraseWord : NSObject <NSCoding, NSCopying> {
NSMutableArray * _charInfoArray;
BOOL _firstWordOfPhrase;
NSMutableArray * _leadingSpacesArray;
... | c |
zathura/file-monitor-glib.h | nagy/zathura | 1,150 | 199818 | /* SPDX-License-Identifier: Zlib */
#ifndef FILEMONITOR_GLIB_H
#define FILEMONITOR_GLIB_H
#include "file-monitor.h"
#define ZATHURA_TYPE_GLIBFILEMONITOR (zathura_glibfilemonitor_get_type())
#define ZATHURA_GLIBFILEMONITOR(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_T... | c |
lib/Heli/heli/menu.h | JosiahCraw/Tiva-Helicopter-Controller-ENCE464- | 0 | 3589558 | #ifndef HELI_MENU_H
#define HELI_MENU_H
#include <stdint.h>
#include <stdbool.h>
/**
* Defines the callback type as menu_callback_t
* and label_callback_t.
*
* menu_callback_t is called when the respective menu_element
* is clicked
*
* label_callback_t is called when ever the menu is updated
* with the menu... | c |
kernel/msm-4.14_1/drivers/gpu/drm/msm/dp/dp_aux.c | clovadevice/clockplus | 0 | 7044821 | /*
* Copyright (c) 2012-2019, 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 in ... | c |
src/include/userinfo.h | MrUNIXMan/FreeBSD-SMIT-0.1-Alpha | 2 | 541095 | /*
* BSD-SMIT (BSD System Management Interface Tool)
*
* Copyright (C) 2015 by Vincent (<EMAIL>)
*
* 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 copy... | c |
media/filters/opus_constants.h | google-ar/chromium | 777 | 8075508 | // Copyright 2015 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 MEDIA_FILTERS_OPUS_CONSTANTS_H_
#define MEDIA_FILTERS_OPUS_CONSTANTS_H_
#include <stdint.h>
namespace media {
// The Opus specification is part... | c |
Core/Src/stm32f4xx_hal_msp.c | yetkinakyz/STM32F412_VCP | 0 | 4353685 | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_hal_msp.c
* @brief This file provides code for the MSP Initialization
* and de-Initialization codes.
**************************************************... | c |
source/muilib/gui/win32impl/MMenuWin32Impl.h | MRoc/MSynth | 1 | 6742482 | #ifndef __MMenuWin32Impl
#define __MMenuWin32Impl
#include <framework/MTypes.h>
#include <framework/MNativeTypes.h>
#include "../framewnd/MMenuImpl.h"
/** implementation of a win32 menu */
class MMenuWin32Impl :
public MMenuImpl
{
protected:
/** the native win32 menu handle */
HMENU ivMenu;
public:
/** constru... | c |
Example/Pods/RevanBaseModule/RevanBaseModule/Classes/Category/UIView+RevanView.h | zjqx1991/RevanTargetAction | 0 | 154576 | //
// UIView+RevanView.h
// 01-modularization
//
// Created by ็ดซ่็ง้ช on 2017/4/16.
// Copyright ยฉ 2017ๅนด Revan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (RevanView)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat wid... | c |
extern/llvm/tools/clang/test/Lexer/preamble.c | chip5441/clReflect | 0 | 6069788 | // Preamble detection test: see below for comments and test commands.
//* A BCPL comment that includes '/*'
#include <blah>
#ifndef FOO
#else
#ifdef BAR
#elif WIBBLE
#endif
#pragma unknown
#endif
#ifdef WIBBLE
#include "honk"
#else
int foo();
#endif
// This test checks for detection of the preamble of a file, which
//... | c |
Development/External/wxWindows_2.4.0/contrib/include/wx/net/msg.h | addstone/unrealengine3 | 37 | 1799534 | /////////////////////////////////////////////////////////////////////////////
// Name: msg.h
// Purpose: wxMailMessage
// Author: <NAME>
// Modified by:
// Created: 2001-08-21
// RCS-ID: $Id: msg.h,v 1.3 2002/09/07 12:10:20 GD Exp $
// Copyright: (c) <NAME>
// Licence: wxWindows licence
/... | c |
Application/Source/Chess Manager/ExaChess/ChessEvents.h | lubert/sigma-chess | 0 | 4445432 | #include <AppleEvents.h>
OSErr InitializeAppleEvents (AppleEvent *firstEvent, AppleEvent *firstReply);
void ChessAction (long eventID, char *msg, char *replymsg);
#ifdef __CONDITIONALMACROS__
#define AEFilterProcType_ Boolean
#else
#define AEFilterProcType_ short
#endif
extern pascal AEFilterProcType_ (*gAEIdlePr... | c |
bin/zxdb/console/format_value.h | PowerOlive/garnet | 0 | 1240436 | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <stdint.h>
#include <functional>
#include <memory>
#include <vector>
#include "garnet/bin/zxdb/console/output_buffer.h"
#include "... | c |
src/pointer-analysis/value_set_domain_fivrns.h | mauguignard/cbmc | 412 | 5934710 | /*******************************************************************\
Module: Value Set Domain (Flow Insensitive, Validity Regions)
Author: <NAME>, <EMAIL>
<NAME>
\*******************************************************************/
/// \file
/// Value Set Domain (Flow Insensitive, Validity Regions)
#ifnde... | c |
aws-cpp-sdk-kinesisanalyticsv2/include/aws/kinesisanalyticsv2/model/ApplicationDetail.h | perfectrecall/aws-sdk-cpp | 1 | 1745172 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
#include <aws/k... | c |
src/space/extract/latcap.c | yrrapt/cacd | 11 | 2722125 | /*
* ISC License
*
* Copyright (C) 1988-2018 by
* <NAME>
* <NAME>
* <NAME>
* Delft University of Technology
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appea... | c |
src/rl_dumper/libs/include/bakkesmod/wrappers/MatchmakingWrapper.h | thoo0224/rl_dumper | 0 | 2220596 | #pragma once
#include <string>
#include "Engine/ObjectWrapper.h"
enum class Region
{
USE = 0, // US-East
EU = 1, // Europe
USW = 2, // US-West
ASC = 3, // Asia-SE Mainland
ASM = 4, // Asia-SE Maritime
JPN = 5, // Asia-East
ME = 6, // Middle-East
OCE = 7, // Oceania
SAF = 8, // Sou... | c |
Pods/Headers/Private/AFNetworking/AFNetworking.h | Cessation/Even.tr | 3,039 | 5947370 | ../../../AFNetworking/AFNetworking/AFNetworking.h | c |
HDU/2012/10751795_AC_0ms_1828kB.c | BakaErii/ACM_Collection | 0 | 4731278 | #include <stdio.h>
int main(void)
{
// x<y
// r==0 ok r==1 no
int x, y, n, i, count, r, ii;
while (scanf("%d %d", &x, &y) != EOF)
{
if (x == 0 && y == 0)
{
return 0;
}
r = 0;
for (i = x; i < y + 1; i++)
{
count = i * i + i + 41;
for (ii = 2; ii < y; ii++)
{
if (count % ii == 0)
{
... | c |
src/hash.h | bjtj/osl-c | 0 | 5518809 | #ifndef __HASH_H__
#define __HASH_H__
#include "osl.h"
#ifdef __cplusplus
extern "C" {
#endif
extern OSL_EXPORT unsigned long osl_hash(const char *);
#ifdef __cplusplus
}
#endif
#endif /* __HASH_H__ */ | c |
Lista_3Vetores/exercicio_vetores_05.c | nem080/Linguagem-C | 2 | 7505514 | /* exercicio_05_vetores */
#include <stdio.h>
int main()
{
int v[10], x, i;
int quantiaPares = 0;
for(i = 1; i <= 10; i++)
{
printf("Entre o %d valor: ", i);
scanf("%d", &x);
if( !(x%2) )
quantiaPares++;
}
printf("%d numeros pares.\n", quantiaPares);
return (0);
} | c |
runtime/flang/nml.h | kammerdienerb/flang | 1 | 644450 | /*
* Copyright (c) 2016-2017, NVIDIA CORPORATION. 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 ... | c |
src/shapes/ofxLaserCircle.h | neosiu/ofxLaser | 1 | 4657514 | //
// ofxLaserCircle.h
// ofxLaserRewrite
//
// Created by <NAME> on 16/11/2017.
//
//
#pragma once
#include "ofxLaserShape.h"
#include "ofxLaserManager.h"
namespace ofxLaser {
class Circle :public Shape {
public:
Circle(){};
Circle(const ofPoint& center, const float radius, const ofColor& col, string pr... | c |
inpulse/PulseMessage.h | brandontreb/inPulse | 2 | 7950953 | #define kNewAlertForeground 0
#define kNewAlertBackground 1
#define kOldAlert 2
typedef enum {
kMessagePush = 0,
kMessageSMS = 1,
kMessagePhone = 3,
kMessageCalendar = 5,
kMessageGeneric = 8
} PulseMessageType;
@interface PulseMessage:NSObject<NSCoding>
@property(nonatomic, retain) NSString *title;
@property(non... | c |
System/Library/PrivateFrameworks/MediaPlaybackCore.framework/MPCMediaPlayerLegacyPlayer.h | lechium/tvOS10Headers | 4 | 6147757 | /*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:09:26 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/MediaPlaybackCore.framework/MediaPlaybackCore
* classdump-dyld is licensed under GPLv3, Copyright ยฉ 20... | c |
source/common/Span.h | ericonr/gpick | 0 | 1187418 | /*
* Copyright (c) 2009-2020, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions an... | c |
src/gui/toolbarwidgetmpr.h | GavriloviciEduard/Asclepios-DICOM-Viewer | 55 | 7836999 | #pragma once
#include <QWidget>
#include "ui_toolbarwidgetmpr.h"
namespace asclepios::gui
{
class ToolbarWidgetMPR final : public QWidget
{
Q_OBJECT
public:
explicit ToolbarWidgetMPR(QWidget* parent = Q_NULLPTR);
~ToolbarWidgetMPR() = default;
//getters
[[nodiscard]] Ui::ToolbarWidgetMPR getUI() const { ... | c |
platform/linux-generic/include/odp_ring_spsc_internal.h | harman-kalra/odp | 93 | 2316899 | /* Copyright (c) 2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ODP_RING_SPSC_INTERNAL_H_
#define ODP_RING_SPSC_INTERNAL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <odp/api/atomic.h>
#include <odp/api/plat/atomic_inlines.h>
/* Lo... | c |
src/DataClass.h | BGI-shenzhen/PopLDdecay | 151 | 316704 | ////////////////////////swimming in the sea & flying in the sky //////////////////
/*
* DataClass.h
*
* Created on: 2011-11-21
* Author: <EMAIL>
*/
#ifndef DataClass_H_
#define DataClass_H_
using namespace std;
class In3str1v {
public:
string InStr1;
string InStr2;
string InStr3;
string SubPo... | c |
src/elwish.c | xk2600/eltclsh | 0 | 2145119 | /*
* Copyright (c) 2001,2010-2012 LAAS/CNRS
* 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,... | c |
openflow_util.h | PacktPublishing/OpenFlow-Cookbook | 1 | 6059592 | #ifndef OPENFLOW_UTIL_H
#define OPENFLOW_UTIL_H
#include "openflow_enum.h"
static inline uint64_t
htonl_64(uint64_t n)
{
return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
}
/* Ethernet port description property. */
struct ofp_port_desc_prop_ethernet {
uint16_t type; /* OFPPDPT_ETHERNET... | c |
TradPlusAdSDK/TPCrossAdapter.framework/Headers/TPCrossRewardedVideoCustomEvent.h | tradplus/pod_tradplus_sdk | 0 | 1834588 | #import <TradPlusAds/MSRewardedVideoCustomEvent.h>
@interface TPCrossRewardedVideoCustomEvent : MSRewardedVideoCustomEvent
@end | c |
include/vke/RenderSystem/CSwapChain.h | przemyslaw-szymanski/vke | 1 | 7200893 | #pragma once
#include "Core/VKECommon.h"
#if VKE_VULKAN_RENDERER
#include "RenderSystem/Vulkan/CSwapChain.h"
#else
#error "implement"
#endif | c |
resources/code/core/public/math/RotationTranslationMatrix.h | sdlwlxf1/LXFEngine | 1 | 6408794 | // this tiny game engine is rendered by CPU. I make it for learing the pipline and rasterization. This is the first step to realise my own game engine. so just do it!
#pragma once
#include "Matrix.h"
#include "Rotator.h"
namespace LXF {
/** Combined rotation and translation matrix */
class RotationTranslationMatrix... | c |
Atividade 04/Individuais/questao08-5.16.c | DavidGomesh/exercicios-linguagem-de-programacao-1 | 2 | 5499850 | #include <stdio.h>
void strcat(char strDestino[], char strOrigem[]);
int main(){
static char string1[16] = "Facil";
char string2[] = "idade";
printf("String 1: %s\n", string1);
printf("String 2: %s\n\n", string2);
strcat(string1, string2);
printf("String concatenadas: %s\n", string1);
... | c |
vulkan/MemoryConsumer.h | enjiushi/VulkanLearn | 272 | 3870199 | #pragma once
#include <stdint.h>
#include "vulkan.h"
class MemoryConsumer
{
public:
virtual uint32_t GetMemoryProperty() const = 0;
virtual VkMemoryRequirements GetMemoryReqirments() const = 0;
virtual void UpdateByteStream(const void* pData, uint32_t offset, uint32_t numBytes) = 0;
protected:
virtual void BindMe... | c |
MultithreadFinder/ViewController.h | RayTW/MultithreadFinder | 0 | 6736532 | //
// ViewController.h
// MultithreadFinder
//
// Created by Ray on 2016/7/6.
// Copyright ยฉ 2016ๅนด Ray. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end | c |
platform/service/iostream/src/sl_iostream_debug.c | lmnotran/gecko_sdk | 82 | 8410293 | /***************************************************************************//**
* @file
* @brief IO Stream debug Component.
*******************************************************************************
* # License
* <b>Copyright 2019 Silicon Laboratories Inc. www.silabs.com</b>
********************************... | c |
src/screen.c | apenwarr/ion1 | 3 | 6905469 | /*
* ion/screen.c
*
* Copyright (c) <NAME> 1999-2001.
* See the included file LICENSE for details.
*/
#include <stdio.h>
#include <limits.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <X11/Xlib.h>
/*#include <X11/Xmu/Error.h>*/
#include <X11/Xproto.h>
#include "common.h"
#include "scre... | c |
externout/gtk/include/gtk-4.0/gtk/gtkheaderbar.h | PableteProgramming/download | 1 | 5435784 | /*
* Copyright (c) 2013 Red Hat, Inc.
*
* This program 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 of the License, or (at your
* option) any later version.
*
* This program ... | c |
libs/metric/Metric.h | phpnerd/CoHLA | 0 | 516457 | /*
* Copyright (c) <NAME> and contributors. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
//
// Created by thomas on 2-11-17.
//
#ifndef OPENRTI_LIB_METRIC_H
#define OPENRTI_LIB_METRIC_H
#include "MetricBase.h"
#define METRIC_ENDVALUE "EV"
#define METR... | c |
MM/MMUserInfo.h | kryptons/WeChatCommunications | 2 | 4052797 | //
// MMUserInfo.h
// MM
//
// Created by ้ๆๆ on 16/3/28.
// Copyright ยฉ 2016ๅนด NSObject. All rights reserved.
//
#import <RongIMLib/RongIMLib.h>
@interface MMUserInfo : RCUserInfo
/** ๅ
จๆผ*/
@property(nonatomic, strong) NSString* quanPin;
/** email*/
@property(nonatomic, strong) NSString* email;
/** ย 1ย ๅฅฝๅ,ย 2ย ่ฏทๆฑๆทปๅ ,... | c |
template.h | gigajet/cpenv | 0 | 659227 | #ifndef _template_h_
#define _template_h_
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pi;
typedef complex<int> ci;
typedef pair<ll, ll> pll;
typedef complex<ll> cll;
typedef tuple<int,int,int> _3i;
typedef tuple<ll,ll,ll> _3ll;
typedef tuple<ll,ll,ll,ll> _4ll;
#define FOR... | c |
platform/vendor_bsp/hdsc/HC32L136_DDL_Rev1.0.0/driver/inc/flash.h | rceet/TencentOS-tiny | 7,482 | 3378702 | /*************************************************************************************
* Copyright (C) 2016, Huada Semiconductor Co.,Ltd All rights reserved.
*
* This software is owned and published by:
* Huada Semiconductor Co.,Ltd ("HDSC").
*
* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND... | c |
release/src/linux/linux/include/config/udf/rw.h | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 7504911 | #undef CONFIG_UDF_RW | c |
macOS/10.13/ContactsFoundation.framework/CNQualityOfServiceSchedulerDecorator.h | onmyway133/Runtime-Headers | 30 | 7545105 | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/ContactsFoundation.framework/Versions/A/ContactsFoundation
*/
@interface CNQualityOfServiceSchedulerDecorator : NSObject <CNScheduler> {
unsigned long long _qualityOfService;
<CNScheduler> * _scheduler;
}
@property (atomic, readonly,... | c |
ccx_prool/SPOOLES.2.2/ETree/drivers/permuteETree.c | alleindrach/calculix-desktop | 0 | 2891153 | /* permuteETree.c */
#include "../ETree.h"
#include "../../timings.h"
/*--------------------------------------------------------------------*/
int
main ( int argc, char *argv[] )
/*
-----------------------------------------------------------
read in an ETree object.
if the ETree is defined on a compressed ... | c |
winml/lib/Api/ImageFeatureValue.h | dennyac/onnxruntime | 6,036 | 4743744 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "ImageFeatureValue.g.h"
#include "inc/ILotusValueProviderPrivate.h"
namespace WINMLP {
struct ImageFeatureValue : ImageFeatureValueT<ImageFeatureValue, _winml::ILotusValueProviderPrivate> {
// Me... | c |
base/mvdm/softpc.new/base/cvidc/sevid003.c | npocmaka/Windows-Server-2003 | 17 | 1422165 | /* #defines and enum */
#include "insignia.h"
#include "host_def.h"
#include <stdlib.h>
#include "j_c_lang.h"
extern IU8 J_EXT_DATA[] ;
typedef enum
{
S_2182_CopyBytePlnByPlnUnchained_00000002_0000000e_00000001_00000000_id,
L13_2162if_f_id,
L23_24if_f_id,
L23_25if_f_id,
L23_26if_f_id,
L23_27if_f_id,
S_2183_Cop... | c |
trsys2/lib/ClassDef.h | hchouTW/AMSProject | 0 | 5552403 | /**********************************************************
* Author : <NAME>
* Email : <EMAIL>
* Last modified : 2015-07-22 16:29
* Filename : ClassDef.h
* Description :
* *******************************************************/
#ifndef __ClassDef_H__
#define __ClassDef_H__
#include <iostr... | c |
eran/ELINA/elina_linearize/elina_linearize_texpr.c | pauls658/ReluDiff-ICSE2020-Artifact | 7 | 2806966 | /*
*
* This source file is part of ELINA (ETH LIbrary for Numerical Analysis).
* ELINA is Copyright ยฉ 2019 Department of Computer Science, ETH Zurich
* This software is distributed under GNU Lesser General Public License Version 3.0.
* For more information, see the ELINA project website at:
* http://elina.et... | c |
ggadget/floating_main_view_decorator.h | suzhe/google-gadgets-for-linux | 175 | 7743942 | /*
Copyright 2008 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | c |
Applications/SIMSetupUIService/TSSIMUnlockListCell.h | lechium/iOS1351Headers | 2 | 4480238 | //
// 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 <UIKit/UITableViewCell.h>
@class UILabel;
@interface TSSIMUnlockListCell : UITableViewCell
{
UILabel *_lockTypeLabel; // 8 = 0x8
long l... | c |
src/wanglandau.h | yomichi/Potts-WL | 0 | 1187673 | #ifndef WANGLANDAU_H
#define WANGLANDAU_H
#include <vector>
#include <cmath>
#include <string>
namespace wanglandau{
class WangLandau{
public:
WangLandau(int hsize, double flatness,
double final_factor, int initial_threshold,
double normalization, int normalization_origin);
void visit(... | c |
src/inc/Armv6_shift.h | ricardobtez/ArmEmulaation | 1 | 3321978 | /**
* \file Armv6_shift.h
* \brief This file contains the declaration of functions for the shift instruction group.
*
* \author <NAME>
*
* This file is part of ArmEmulation which is released under MIT Licence.
* See file LICENSE for full license details.
**/
#ifndef ARMv6_SHIFT_H
#define ARMv6_SHIFT_H
#includ... | c |
ash/ambient/test/test_ambient_client.h | zealoussnow/chromium | 14,668 | 7792919 | // 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 ASH_AMBIENT_TEST_TEST_AMBIENT_CLIENT_H_
#define ASH_AMBIENT_TEST_TEST_AMBIENT_CLIENT_H_
#include "ash/public/cpp/ambient/ambient_client.h"
#inclu... | c |
sys/fs/ext2fs/ext2_vfsops.c | dcui/FreeBSD-9.3_kernel | 3 | 6669844 | /*-
* modified for EXT2FS support in Lites 1.1
*
* Aug 1995, <NAME> (<EMAIL>)
* University of Utah, Department of Computer Science
*/
/*-
* Copyright (c) 1989, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | c |
SDK/BlueBar Service App/BlueBar Service App/BeaconDetailViewController.h | wangjian1937/ios | 0 | 5445100 | //
// BSNDetailViewController.h
// BlueBar Service App
//
// Created by <NAME> on 03/02/2014.
// Copyright (c) 2014 Blue Sense Networks. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MBProgressHUD.h>
@class DetectedBeacon;
@interface BeaconDetailViewController : UIViewController < UISplitViewController... | c |
Src/libs/utils/baseDialog/BaseDialog.h | kevinlq/QSD | 1 | 1267307 | #ifndef BASEDIALOG_H
#define BASEDIALOG_H
#include <QWidget>
class QPushButton;
class QTCREATOR_UTILS_EXPORT BaseDialog : public QWidget
{
Q_OBJECT
public:
explicit BaseDialog(QWidget *parent = nullptr);
virtual ~BaseDialog();
private:
QPushButton *m_pBtnClose;
};
#endif // BASEDIALOG_H | c |
midterm/DynArrDeque.c | WeiChienHsu/CS261 | 2 | 2860280 | #include <assert.h>
#include <stdlib.h>
#include <stdio.h>
struct deque {
int *data;
int capacity;
int size;
int begin;
};
void dequeInit(struct deque *d, int initCapacity) {
d -> size = 0;
d -> capacity = initCapacity;
d -> data = (int *) malloc(initCapacity * sizeof(int));
d -> begin = 0;
assert(d... | c |
coast/foundation/base/AnyImplTypes.h | zer0infinity/CuteForCoast | 0 | 4254890 | /*
* Copyright (c) 2005, <NAME> and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.
*/
#if... | c |
ZMJGanttChart/Classes/SpreadsheetViewDataSource.h | anasher28/ZMJGanttChart | 322 | 131573 | //
// SpreadsheetViewDataSource.h
// ZMJGanttChart
//
// Created by Jason on 2018/1/24.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class ZMJCell;
@class ZMJCellRange;
@class SpreadsheetView;
/// Implement this protocol to provide data to an `SpreadsheetView`.
@protocol SpreadsheetViewDataSource... | c |
mdv_core/storage/mdv_tables.c | wwwVladislav/MedvedDB | 5 | 2793367 | #include "mdv_tables.h"
#include "mdv_2pset.h"
#include <mdv_names.h>
#include <mdv_rollbacker.h>
#include <mdv_alloc.h>
#include <mdv_log.h>
#include <mdv_serialization.h>
#include <mdv_systbls.h>
#include <assert.h>
struct mdv_tables
{
mdv_2pset *objects; ///< DB objects storage
mdv_table *desc; ... | c |
src/context.c | ChetSimpson/KAOS.Assembler | 2 | 2239060 | /*****************************************************************************
context.c - Context helper functions
Copyright (C) 1996, 1997, 2014, 2018, by <NAME>, Et al.
This file is distributed under the MIT License. See notice at the end
of this file.
*********************************************************... | c |
src/ripple/consensus/ConsensusParms.h | yinchengtsinghua/RippleCPPChinese | 5 | 2753052 | //ๆญคๆบ็ ่ขซๆธ
ๅๅญฆ็ฅๅฐนๆๅคง้ญ็ไธไธ็ฟป่ฏๅๆๅนถไฟฎๆน
//ๅฐนๆQQ77025077
//ๅฐนๆๅพฎไฟก18510341407
//ๅฐนๆๆๅจQQ็พค721929980
//ๅฐนๆ้ฎ็ฎฑ <EMAIL>
//ๅฐนๆๆฏไธไบๆธ
ๅๅคงๅญฆ,ๅพฎ่ฝฏๅบๅ้พ้ขๅๅ
จ็ๆๆไปทๅผไธๅฎถ
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
/*
ๆญคๆไปถๆฏRippled็ไธ้จๅ๏ผhttps:... | c |
ios/LPKTutorialTwo/Pods/Headers/Public/PLCrashReporter/CrashReporter/PLCrashReportProcessInfo.h | LiquidAnalytics/ld-api-examples | 0 | 644436 | /*
* Author: <NAME> <<EMAIL>>
*
* Copyright (c) 2010 MOSO Corporation, Pty Ltd.
* Copyright (c) 2010-2013 Plausible Labs Cooperative, Inc.
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Sof... | c |
src/Webasto.h | Moki38/wbus-arduino | 2 | 2753277 | /*
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, modify, merge, publish, distri... | c |
ExpTabBar/ExpTabBar_p.c | rasmus-z/ExpTabBar | 6 | 4878628 | /* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 8.01.0622 */
/* at Tue Jan 19 12:14:07 2038
*/
/* Compiler settings for ExpTabBar.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622
protocol : all , ms_ext, c_ext, robust
error chec... | c |
Plugins~/Src/Loader/ImageCatalog.h | PixelWizards/StreamingImageSequence | 0 | 2702806 | #pragma once
#include "stdafx.h"
//CommonLib
#include "CommonLib/Types.h" //strType
#include "CommonLib/CriticalSectionType.h" //MAX_CRITICAL_SECTION_TYPE_IMAGES
//Loader
#include "ImageData.h"
#include "ImageCollection.h"
#include "ImageMemoryAllocator.h"
namespace StreamingImageSequencePlugin {
class ImageCatalo... | c |
ds/nw/rdr/nodetype.h | npocmaka/Windows-Server-2003 | 17 | 2859971 | /*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
NodeType.h
Abstract:
This module defines all of the node type codes used in this development
shell. Every major data structure in the file system is assigned a node
type code that is. This code is the first CSHORT in the structure and is... | c |
EventAnalyzer/interface/EventVariableMT.h | peterthomassen/RutgersIAF | 0 | 7503432 | #ifndef EventVariableMT_h
#define EventVariableMT_h
#include <vector>
#include "RutgersIAF/EventAnalyzer/interface/EventVariable.h"
class EventVariableMT : public EventVariable{
public:
EventVariableMT(TString name, double mZ, TString prefix="", TString productEl = "goodElectrons", TString productMu = "goodMuons",... | c |
integrert gjenkjenningsprogrammet med UI/gullbelegging_send.h | Mozafari1/bachelor-project | 0 | 5499354 | #ifndef GULLBELEGGING_SEND_H
#define GULLBELEGGING_SEND_H
#include <QWidget>
#include <gjenkjenning_send.h>
namespace Ui {
class gullbelegging_send;
}
class gullbelegging_send : public QWidget
{
Q_OBJECT
public:
explicit gullbelegging_send(QWidget *parent = nullptr);
~gullbelegging_send();
private slots... | c |
2x4/BLM2512 - Data Structures and Algorithms/HMW2 Huffman Tree/17011086.c | LyotardPostmodernizm/YTU-CE | 1 | 6905340 | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
//
struct node{
char letter;
int freq;
struct node *left, *right, *next;
};
typedef struct node NODE;
void insertLinkedList(NODE**,char); // creating and inserting linked list
void printLinkedList(NODE**); // printing linked list
void insertionSortToLinkedList... | c |
mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZ_A1XX/drivers/ceu/inc/r_ceu.h | h7ga40/PeachCam | 1 | 5703332 | /*******************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renesas Electronics Corporation and is protecte... | c |
src/WS2811Strip.h | grantHarris/NZR-e131 | 1 | 8156921 | #ifndef __WS2811STRIP_H__
#define __WS2811STRIP_H__
#define DMA 10
#define TARGET_FREQ WS2811_TARGET_FREQ
#define STRIP_TYPE WS2811_STRIP_GRB
#include <stdint.h>
#include <unistd.h>
#include <mutex>
#include <err.h>
#include <boost/log/trivial.hpp>
#include <boost/log/core.hpp>
#include <boost/lo... | c |
YLCleaner/Xcode-RuntimeHeaders/IBFoundation/NSOrderedSet-IBCollectionConformance.h | liyong03/YLCleaner | 1 | 4989394 | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>.
*/
#import "NSOrderedSet.h"
#import "IBOrderedCollection-Protocol.h"
@interface NSOrderedSet (IBCollectionConformance) <IBOrderedCollection>
- (id)ib_maximumObjectUsingComparator:(id)ar... | c |
ZQlibFaceID/ZQ_FaceRecognizerSphereFaceOpenCV.h | One-sixth/ZQCNN | 0 | 2877258 | #ifndef _ZQ_FACE_RECOGNIZER_SPHERE_FACE_OPENCV_H_
#define _ZQ_FACE_RECOGNIZER_SPHERE_FACE_OPENCV_H_
#pragma once
#include "ZQ_FaceRecognizerSphereFace.h"
#include <opencv2/dnn.hpp>
#include "ZQ_MathBase.h"
#include <string.h>
namespace ZQ
{
class ZQ_FaceRecognizerSphereFaceOpenCV : public ZQ_FaceRecognizerSphereFace
... | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.