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 |
|---|---|---|---|---|---|
aws-cpp-sdk-glue/include/aws/glue/model/StatementOutput.h | Nexuscompute/aws-sdk-cpp | 1 | 451895 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glue/Glue_EXPORTS.h>
#include <aws/glue/model/StatementOutputData.h>
#include <aws/glue/model/StatementState.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws... | c |
Thread/06thread.c | aniruddha2000/kacha-badam | 0 | 565873 | /*
Passing argument to thread
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int primes[10] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29};
void *routine(void *arg) {
int index = *(int *)arg;
int sum = 0;
for (int i = 0; i < 5; i++) {
sum += primes[index + i];
}
printf("Lo... | c |
include/BoardMulti.h | dawidd6/qtictactoe | 2 | 4952240 | #pragma once
class BoardMulti : public AbstractBoard
{
private:
SetupConnection *setup_connection;
Window *w;
Game *g;
AbstractSymbol *symbol_my;
AbstractSymbol *symbol_enemy;
QTcpSocket socket;
QStatusBar statusbar;
QString response;
QChar symbol_char_my;
QChar symbol_char_enemy;
volatile int t... | c |
IN100/tri_fusion.c | emeric75/uvsq_licence | 0 | 1841491 | #include <uvsqgraphics.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define N 16
#define MAX 100
int T[N];
void init(){
for(int i=0; i<N; i++){
T[i] = alea_int(MAX-10)+10;
}
}
void disp(){
for(int i=0; i<N; i++){
write_int(T[i]);write_text(" ");
if(i%20 == 19){
writeln();
}
}
writeln();... | c |
test/e2e/test_master/wxWidgets/include/wx/generic/activityindicator.h | BlueCannonBall/cppparser | 0 | 4800467 | ///////////////////////////////////////////////////////////////////////////////
// Name: wx/generic/activityindicator.h
// Purpose: Declaration of wxActivityIndicatorGeneric.
// Author: <NAME>
// Created: 2015-03-06
// Copyright: (c) 2015 <NAME> <<EMAIL>>
// Licence: wxWindows licence
////////... | c |
LYLOptionPickerDemo/LYLOptionPickerDemo/LYLOptionPicker/LYLOptionPicker.h | LiuYulei001/LYLOptionPicker | 1 | 1832317 | //
// LYLOptionPicker.h
// LYLOptionPickerDemo
//
// Created by Rainy on 2017/12/12.
// Copyright © 2017年 Rainy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface LYLOptionPicker : NSObject
typedef void(^DetermineChoose)(NSArray *indexes,id selectedItems);
+ (void)sho... | c |
external/cpp/mgtest/test_ocr.h | asedl/XpaDemo | 5 | 4450997 | #pragma once
extern int testOcr(wchar_t* lpszImagefilename); | c |
SoftwareRenderer/Source/Core/Utils.h | sunzedd/software-renderer | 1 | 7767478 | #pragma once
namespace core {
template <typename T>
T clamp(T value, T min, T max)
{
return std::max(min, std::min(value, max));
}
template <typename T>
T clampNormalize(T value)
{
return clamp<T>(value, 0.0, 1.0);
}
} // namespace core | c |
firmware/Inc/app.h | windsorschmidt/reflow | 1 | 207662 | #ifndef APP_INIT
#define APP_INIT
// #define NOBEEP
#define APP_IPC_Q_SIZE 8
#define LOG_IPC_Q_SIZE 8
#define TEMP_IPC_Q_SIZE 8
#define OLED_IPC_Q_SIZE 8
#define SPEAKER_IPC_Q_SIZE 8
#define BUTTON_IPC_Q_SIZE 8
#define TIMER_IPC_Q_SIZE 8
#define BUTTON_ISR_Q_SIZE 4
#define TIMER_ISR_Q_SIZE 4
#define MSG_TIMER_1HZ_T... | c |
src/utils/bluetooth/inc/bluetooth_types.h | ddoyon92/brainflow | 528 | 4743764 | #pragma once
enum class SocketBluetoothReturnCodes : int
{
STATUS_OK = 0,
WSA_STARTUP_ERROR = 1,
CREATE_SOCKET_ERROR = 2,
CONNECT_ERROR = 3,
WSA_ADDR_ERROR = 4,
IOCTL_ERROR = 5,
ANOTHER_DEVICE_IS_CREATED_ERROR = 6,
DEVICE_IS_NOT_CREATED_ERROR = 7,
UNIMPLEMENTED_ERROR = 8,
GENER... | c |
tests/openacc-users-group/NAS_SHOC_OpenACC_2.5/reference/ref_exact_rhs.c | passlab/accparser | 0 | 2402388 | #pragma acc update device (forcing) | c |
eva/utest/test_vqec_utest_cli.c | wmanley/cisco-vqe-client | 5 | 8075491 | /*
* Copyright (c) 2007-2010 by Cisco Systems, Inc.
* All rights reserved.
*/
#include "test_vqec_utest_main.h"
#include "test_vqec_utest_interposers.h"
#include "../add-ons/include/CUnit/CUnit.h"
#include "../add-ons/include/CUnit/Basic.h"
#include "vam_util.h"
#include "vqec_cli_register.h"
#include "vqec_tuner.... | c |
src/morus.c | ildyria/MiniMorus | 0 | 6456275 | #include "morus.h"
void print_state(state state) {
printf("--------------------------------------------\n");
printf(" S0 | S1 | S3 | S3 | S4 \n");
printf("%08x %08x %08x %08x %08x\n", state[0][3], state[1][3], state[2][3], state[3][3], state[4][3]);
printf("%08x %08x %08x %08x %08x\n", stat... | c |
80186PC/include/ATA/ATADevice.h | moon-touched/80186PC | 0 | 4480063 | #ifndef ATA_ATA_DEVICE_H
#define ATA_ATA_DEVICE_H
#include <thread>
#include <mutex>
#include <atomic>
#include <array>
#include <ATA/IATADevice.h>
class ATADevice : public IATADevice {
protected:
ATADevice();
~ATADevice();
public:
void write(CS cs, uint8_t address, uint16_t value) override;
uint16_t read(CS cs... | c |
test/aarch32/traces/assembler-cond-rd-rn-rm-uadd8-a32.h | capablevms/VIXL | 573 | 8050247 | // Copyright 2015, VIXL authors
// 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 ... | c |
okl4_kernel/okl4_2.1.1-patch.9/l4test/src/platformcontrol.c | CyberQueenMara/baseband-research | 77 | 1390033 | /*
* Copyright (c) 2007 Open Kernel Labs, Inc. (Copyright Holder).
* All rights reserved.
*
* 1. Redistribution and use of OKL4 (Software) in source and binary
* forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* (a) Redistributions of source code must r... | c |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 21