added stringdate 2024-11-18 17:54:19 2024-11-19 03:39:31 | created timestamp[s]date 1970-01-01 00:04:39 2023-09-06 04:41:57 | id stringlengths 40 40 | metadata dict | source stringclasses 1
value | text stringlengths 13 8.04M | score float64 2 4.78 | int_score int64 2 5 |
|---|---|---|---|---|---|---|---|
2024-11-18T17:59:45.382671+00:00 | 2018-10-26T03:19:03 | c5c7d46e02467a9178c30a6a064556faefb501d7 | {
"blob_id": "c5c7d46e02467a9178c30a6a064556faefb501d7",
"branch_name": "refs/heads/master",
"committer_date": "2018-10-26T03:19:03",
"content_id": "e67dcb21c8b2658003c5371f0baa76984ecd2a5a",
"detected_licenses": [
"MIT"
],
"directory_id": "0e3c919dfcef7c6815e6709faabb474595723546",
"extension": "c"... | stackv2 | /*
Runs on TM4C123, Jonathan Valvano 6/17/2013
Module Number: C8
Module Title: Switch controls light
Module Statement: Design two systems that include a switch and LED. The analog system includes
just the switch and LED, and the digital system includes a microcontroller. The switch controls
whether an LED is t... | 2.890625 | 3 |
2024-11-18T17:59:45.841807+00:00 | 2021-02-17T00:20:24 | 7b52d9ad341f3fcbe2668fecc9e742585cdf8975 | {
"blob_id": "7b52d9ad341f3fcbe2668fecc9e742585cdf8975",
"branch_name": "refs/heads/master",
"committer_date": "2021-02-17T00:20:24",
"content_id": "fac9494869fda0aa3c1c52c5801fd4206f3bfde2",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "30e028fe05e6f72639c9c67e628179c4bb113d41",
"extensio... | stackv2 |
#include <hobbes/lang/macroexpand.H>
#include <hobbes/lang/tylift.H>
namespace hobbes {
// walk the expression tree, find all macro references, and expand them
// (because this should be called after type inference, we need to preserve explicit type annotations)
struct macroExpandF : public switchExprC<ExprPtr> {
... | 2.171875 | 2 |
2024-11-18T17:59:45.921353+00:00 | 2019-01-23T15:06:00 | 6876d9197d7b19644ccb99e46586273d1aa1add8 | {
"blob_id": "6876d9197d7b19644ccb99e46586273d1aa1add8",
"branch_name": "refs/heads/master",
"committer_date": "2019-01-23T15:06:00",
"content_id": "d215f6d0cae9785c5dffbf3ce9f5758046683382",
"detected_licenses": [
"MIT"
],
"directory_id": "4ab196d49cdeeca362d394464adc7572f3e9f0ea",
"extension": "c"... | stackv2 | /* wait.c - wait */
#include <conf.h>
#include <kernel.h>
#include <proc.h>
#include <q.h>
#include <sem.h>
#include <stdio.h>
#include "lab0.h"
extern int summarizeProcess;
/*------------------------------------------------------------------------
* wait -- make current process wait on a semaphore
*-------------... | 2.390625 | 2 |
2024-11-18T19:30:25.939406+00:00 | 2018-12-10T14:51:58 | 071eb1496330973268412f256571397a45f08fa8 | {
"blob_id": "071eb1496330973268412f256571397a45f08fa8",
"branch_name": "refs/heads/master",
"committer_date": "2018-12-10T15:56:35",
"content_id": "c2f473c4909e61bf456aa21a392e5cd9ffae5319",
"detected_licenses": [
"BSD-2-Clause",
"BSD-3-Clause"
],
"directory_id": "293b19349d4bed21bcb15a7894dac813... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdarg.h>
#include <inttypes.h>
#include "dungeon.h"
/* LCG PRNG parameters tested against
* Knuth vol. 2. by the original authors */
#define LCG_A 1093L
#define LCG_C 221587L
#define LCG_M 1048576L
#define LINESIZE 1024
#define TOKLEN ... | 2.015625 | 2 |
2024-11-18T19:30:26.377139+00:00 | 2020-06-08T20:55:15 | 96df20f442b25daae66a082e362715a6de4b86fb | {
"blob_id": "96df20f442b25daae66a082e362715a6de4b86fb",
"branch_name": "refs/heads/master",
"committer_date": "2020-06-08T20:55:15",
"content_id": "cad2f4b43fdebf4f9a4509413b9d37a6a8327feb",
"detected_licenses": [
"MIT"
],
"directory_id": "5e30b5d1b1178e058aeffb0344f2c54a5c1e1561",
"extension": "c"... | stackv2 | //
// Created by wieker on 1/17/20.
//
#include <legacy/nrf_drv_uart.h>
#include <sdk_config.h>
#include <nrf_delay.h>
nrf_drv_uart_t m_uart = NRF_DRV_UART_INSTANCE(0);
void uart_init()
{
nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG;
config.pseltxd = 13;
config.pselrxd = NRF_UART_PSEL_DI... | 2.09375 | 2 |
2024-11-18T19:30:26.554335+00:00 | 2017-05-08T15:19:17 | 07ae29750c1f685c1be4f75e2b5b2772b2395cc4 | {
"blob_id": "07ae29750c1f685c1be4f75e2b5b2772b2395cc4",
"branch_name": "refs/heads/master",
"committer_date": "2017-05-08T15:19:17",
"content_id": "e923ab3a610c48ddc436cc0d6af4242a2351bd9e",
"detected_licenses": [
"ISC"
],
"directory_id": "ad5fd7bb38a230bc98f76eefb065c66877a33d5c",
"extension": "c"... | stackv2 | #include <string.h>
#include <stdlib.h>
#include <proto/launch.h>
#include <kogata/syscall.h>
#include <kogata/debug.h>
#include <kogata/printf.h>
#include <kogata/btree.h>
bool loop_exec = true;
pid_t giosrv_pid = 0, login_pid = 0, lx_init_pid = 0;
void _parse_cmdline_iter(void* a, void* b) {
dbg_printf(" '%s' ... | 2.109375 | 2 |
2024-11-18T18:09:46.654755+00:00 | 2020-06-27T14:20:47 | 249fdaba9d0240359cffadbe930df2e406a38b75 | {
"blob_id": "249fdaba9d0240359cffadbe930df2e406a38b75",
"branch_name": "refs/heads/master",
"committer_date": "2020-06-27T14:20:47",
"content_id": "4154a1c7cff68b7767e0bb7d549c8e8fb3916864",
"detected_licenses": [
"Unlicense"
],
"directory_id": "f79574d2c4a625df0188ad5399649126b136ad7c",
"extension... | stackv2 | #ifndef _HELPERS_H_
#define _HELPERS_H_
#define GLOBAL_VARIABLE static
#define INTERNAL static
#define LOCAL_VARIABLE static
#define INLINE inline
#define KB(x) ((x)*1024)
#define MB(x) ((x)*1024*1024)
typedef uint32_t b32;
typedef float f32;
#define SETBUF() setvbuf(stdout, NULL, _IONBF, BUFSIZ)
#if DEBUG_ENABLED... | 2.0625 | 2 |
2024-11-18T18:09:46.746201+00:00 | 2023-08-07T20:22:46 | 9facea0eae08b52fc9d5dd274179947a512d04f3 | {
"blob_id": "9facea0eae08b52fc9d5dd274179947a512d04f3",
"branch_name": "refs/heads/main",
"committer_date": "2023-08-07T20:22:46",
"content_id": "046eaac4e11e421f0e474fcc14b03d98f53874cf",
"detected_licenses": [
"Zlib"
],
"directory_id": "d9ea45dbc964799991b9191ae620d2f150652a3d",
"extension": "h",... | stackv2 | #include <kinc/graphics4/graphics.h>
#include <kinc/graphics5/commandlist.h>
#include <kinc/graphics5/constantbuffer.h>
#include <kinc/graphics5/indexbuffer.h>
#include <kinc/graphics5/pipeline.h>
#include <kinc/graphics5/vertexbuffer.h>
#include <kinc/log.h>
#include <assert.h>
#include <string.h>
#ifdef KORE_MICRO... | 2.125 | 2 |
2024-11-18T18:09:47.174766+00:00 | 2020-12-20T17:32:53 | f1031ef481df2bdfce46cd7052bc07426e88877a | {
"blob_id": "f1031ef481df2bdfce46cd7052bc07426e88877a",
"branch_name": "refs/heads/master",
"committer_date": "2020-12-20T17:32:53",
"content_id": "cb7f081cbb2d77398cad86b2d81dcb259f94d41f",
"detected_licenses": [
"MIT"
],
"directory_id": "c5f70ba06763419829e756c1a97afe46e2ccd215",
"extension": "c"... | stackv2 | /*
No Bugs in Production (NBP)
https://github.com/aenachescu/nbp
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2019-2020 Alin Enachescu <https://github.com/aenachescu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this... | 2.078125 | 2 |
2024-11-18T18:09:47.525849+00:00 | 2019-03-01T05:16:46 | f5a8a0c1fc2d845384820ed93d74d518f7e044b6 | {
"blob_id": "f5a8a0c1fc2d845384820ed93d74d518f7e044b6",
"branch_name": "refs/heads/master",
"committer_date": "2019-03-01T05:16:46",
"content_id": "5cfa1d3a02ad0a868f09856ee2c0e75364b6bf02",
"detected_licenses": [
"MIT"
],
"directory_id": "5a17a3d150c4773318d397a46878d2fd74c0671f",
"extension": "c"... | stackv2 | // shenghuo-ling ่็ซไปค
#include <weapon.h>
#include <ansi.h>
inherit SWORD;
void create()
{
set_name("่็ซไปค",({ "shenghuo ling", "shenghuo", "ling" }) );
set_weight(1000);
if( clonep() )
set_default_object(__FILE__);
else
{
set("unit", "ๆ");
... | 2 | 2 |
2024-11-18T18:09:47.619618+00:00 | 2021-03-28T07:27:07 | 5fe71d831ffb33666eaaab8d13b589491f1df646 | {
"blob_id": "5fe71d831ffb33666eaaab8d13b589491f1df646",
"branch_name": "refs/heads/main",
"committer_date": "2021-03-28T07:27:07",
"content_id": "d722dc4c9346a77b4aeae66daee9d1156d795c1c",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "8717b4036064ce0abb764958bea682e2f4d406d4",
"extension"... | stackv2 | #ifndef __MEM_HEAP_H
#define __MEM_HEAP_H
#include "stdint.h"
//ไปฅไธไธบไบๆนไพฟMDK็ฏๅขไธ่ชๅจ่ทๅๅฉไฝRAM่ตทๅงๅฐๅ
//ๅ
ถๅฎๅนณๅฐ๏ผ่ช่กๅฎไนMEM_HEAP_BEGIN๏ผMEM_HEAP_ENDๅณๅฏ
#define RAM_SIZE 48 //RAMๅ
ๅญๆปKB
#define RAM_BEGIN 0x20000000 //ๅ
ๅญ่ตทๅงๅฐๅ
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#define __CLANG_ARM
#endif
#if defined(__CC_ARM)... | 2.125 | 2 |
2024-11-18T18:09:48.101756+00:00 | 2015-01-05T12:31:35 | 99a65f88c44f2becc11b1b0860051af579a61a91 | {
"blob_id": "99a65f88c44f2becc11b1b0860051af579a61a91",
"branch_name": "refs/heads/master",
"committer_date": "2015-01-05T12:31:35",
"content_id": "67564ea993ba49e3516267f78b69258b71a23ccc",
"detected_licenses": [
"MIT"
],
"directory_id": "a8ccfc3047ae314995569ad06cc757dfa60c1ae1",
"extension": "c"... | stackv2 | #include <limits.h>
#include <locale.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "utils.h"
#include "mdazibao.h"
#include "alternate_cmd.h"
/** @file */
/** buffer size used in various functions */
#defin... | 2.109375 | 2 |
2024-11-18T18:09:48.527688+00:00 | 2019-01-06T17:21:50 | 66fd6dc0db9cf6dc785f1888df5e4305b40786c1 | {
"blob_id": "66fd6dc0db9cf6dc785f1888df5e4305b40786c1",
"branch_name": "refs/heads/master",
"committer_date": "2019-01-06T17:21:50",
"content_id": "9dc9f1773a0360e1b0d9f39f24dcd5c3ed1b78b2",
"detected_licenses": [
"NCSA"
],
"directory_id": "971c5ae1d87cdfbb97723485c3d76c17395b82b0",
"extension": "c... | stackv2 | #include "mini_string.h"
#include "mini_stdlib.h"
/* Test gcse handling of IEEE 0/-0 rules. */
static double zero = 0.0;
int
negzero_check (double d)
{
if (d == 0)
return !!memcmp ((void *)&zero, (void *)&d, sizeof (double));
return 0;
}
int
xsub (double d, double e)
{
if (d == 0.0 && e == 0.0
&& neg... | 2.515625 | 3 |
2024-11-18T18:09:48.617710+00:00 | 2019-12-19T00:03:48 | c08b46a27c8f6b4162ae22faeecc1e59eb17d9b0 | {
"blob_id": "c08b46a27c8f6b4162ae22faeecc1e59eb17d9b0",
"branch_name": "refs/heads/master",
"committer_date": "2019-12-19T00:03:48",
"content_id": "2f1b77bc2f2aadf6307e26eef2e4542c189572db",
"detected_licenses": [
"MIT"
],
"directory_id": "03ae399c214cdb071298ce680f05ff01028070d3",
"extension": "c"... | stackv2 | #include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <net/if.h>
#include <netinet/ether.h>
#include <unistd.h>
#include ... | 2.390625 | 2 |
2024-11-18T18:09:48.880362+00:00 | 2020-08-06T16:53:36 | 6fb96f5908e8c9e31fb5ae5c23ef175a61d5bfae | {
"blob_id": "6fb96f5908e8c9e31fb5ae5c23ef175a61d5bfae",
"branch_name": "refs/heads/master",
"committer_date": "2020-08-06T16:53:36",
"content_id": "3799b1cf0ead32c97152cdf63513472faec26369",
"detected_licenses": [
"MIT"
],
"directory_id": "8b7a272ae43c04ac490056635219be066aa6f2a1",
"extension": "c"... | stackv2 | #include "bpf.h"
/**
* See PROTOOP_PARAM_WRITE_FRAME
*/
protoop_arg_t write_mp_ack_frame(picoquic_cnx_t *cnx)
{
uint8_t* bytes = (uint8_t *) get_cnx(cnx, AK_CNX_INPUT, 0);
const uint8_t *bytes_max = (const uint8_t *) get_cnx(cnx, AK_CNX_INPUT, 1);
mp_ack_ctx_t *mac = (mp_ack_ctx_t *) get_cnx(cnx, AK_CNX_... | 2.140625 | 2 |
2024-11-18T18:09:48.959390+00:00 | 2015-11-24T09:35:17 | c1616d2aa3e3d966229b0a59177f98ec5faa2372 | {
"blob_id": "c1616d2aa3e3d966229b0a59177f98ec5faa2372",
"branch_name": "refs/heads/master",
"committer_date": "2015-11-24T09:35:17",
"content_id": "2a2b0438ef077231bf7b95c63864e0b9cd7d4fdb",
"detected_licenses": [
"MIT"
],
"directory_id": "d531386c1a6fb9be800161aae965b208740d4011",
"extension": "c"... | stackv2 | //=======================================================
//Project Name: S.C. Operating System
//Version: 0.02
//Auther: Shen Chi
//=======================================================
#include "tm.h"
#include "kernel.h"
#include "task.h"
#include "fs.h"
#include "screen.h"
task_info ti[64];
unsigned long cur_tas... | 2.53125 | 3 |
2024-11-18T18:09:49.108334+00:00 | 2019-01-06T17:21:50 | 457ff06cea5a7e661792f7576923c7c619b829fe | {
"blob_id": "457ff06cea5a7e661792f7576923c7c619b829fe",
"branch_name": "refs/heads/master",
"committer_date": "2019-01-06T17:21:50",
"content_id": "df40c267a4f628aaa7fc4badc4b42d80e4d68f30",
"detected_licenses": [
"NCSA"
],
"directory_id": "971c5ae1d87cdfbb97723485c3d76c17395b82b0",
"extension": "c... | stackv2 | #include <stdio.h>
int main()
{
char mybuffer[80];
FILE * pFile;
pFile = fopen ("example.txt","w");
fputs ("test",pFile);
fflush (pFile); // flushing or repositioning required
fclose (pFile);
pFile = fopen ("example.txt","r");
fgets (mybuffer,80,pFile);
puts (mybuffer);
fclo... | 2.171875 | 2 |
2024-11-18T18:09:50.965242+00:00 | 2018-02-10T00:29:26 | 5cfed590c7521c3a449a020ec9a6ad8a33f99701 | {
"blob_id": "5cfed590c7521c3a449a020ec9a6ad8a33f99701",
"branch_name": "refs/heads/master",
"committer_date": "2018-02-10T00:29:26",
"content_id": "0af2ee6d97f7aa80f4647478eabf7def99a000d4",
"detected_licenses": [
"MIT"
],
"directory_id": "b7ff102f68c61fa3a4ab31c9a24008d60f709154",
"extension": "h"... | stackv2 |
#ifndef __MOUSE_H
#define __MOUSE_H
#include <minix/syslib.h>
/** @defgroup mouse Mouse
* @{
*
* Mouse related functions
*/
/**
* @brief Subscribes mouse's interruptions.
* @return Returns an ID if successful and -1 otherwise.
*/
int mouse_subscribe_int(void );
/**
* @brief Unsubscribes mouse's interr... | 2.078125 | 2 |
2024-11-18T18:09:51.277499+00:00 | 2020-05-15T15:42:59 | 085647b3686ec55ecbbebc8c977a8a3373261eb0 | {
"blob_id": "085647b3686ec55ecbbebc8c977a8a3373261eb0",
"branch_name": "refs/heads/master",
"committer_date": "2020-05-15T15:42:59",
"content_id": "9f287c7408c9cd16e86f57a63a969fea1aa4a85c",
"detected_licenses": [
"MIT"
],
"directory_id": "6ee3f3fa19120d7fba5316670aba623c9b9a83c0",
"extension": "h"... | stackv2 | #pragma once
#include <winsock2.h>
#include <Ws2tcpip.h>
const UINT32 MAX_SOCKBUF = 256; // ์์ผ ๋ฒํผ์ ํฌ๊ธฐ
const UINT32 MAX_SOCK_SENDBUF = 4096; // ์์ผ ๋ฒํผ์ ํฌ๊ธฐ
const UINT32 MAX_WORKERTHREAD = 4; //์ฐ๋ ๋ ํ์ ๋ฃ์ ์ฐ๋ ๋ ์
enum class IOOperation
{
RECV,
SEND
};
//WSAOVERLAPPED๊ตฌ์กฐ์ฒด๋ฅผ ํ์ฅ ์์ผ์ ํ์ํ ์ ๋ณด๋ฅผ ๋ ๋ฃ์๋ค.
struct stOverlappedEx
{
... | 2.1875 | 2 |
2024-11-18T18:09:51.336161+00:00 | 2021-11-26T08:38:57 | 6dc5ed6cf730d410761448e61e38a6087e44cf04 | {
"blob_id": "6dc5ed6cf730d410761448e61e38a6087e44cf04",
"branch_name": "refs/heads/main",
"committer_date": "2021-11-26T08:38:57",
"content_id": "5ac2145c82d4c655efa0485ab2207978489a37ab",
"detected_licenses": [
"BSD-3-Clause",
"BSD-2-Clause"
],
"directory_id": "a77b595a482fc74260c7cccc50cafa77e0... | stackv2 | /*
------------------------------------------------------------------------------
Licensing information can be found at the end of the file.
------------------------------------------------------------------------------
tinyspritebatch.h - v1.0
To create implementation (the function definitions)
#define SPRIT... | 2.34375 | 2 |
2024-11-18T18:09:51.443283+00:00 | 2015-07-31T19:33:31 | 8b09a54421274823a44ae2bfba9813fd720d82f1 | {
"blob_id": "8b09a54421274823a44ae2bfba9813fd720d82f1",
"branch_name": "refs/heads/master",
"committer_date": "2015-07-31T19:33:31",
"content_id": "7ec7c2bb46c45518a5f4ba98aec47a9c74ef64e4",
"detected_licenses": [
"MIT"
],
"directory_id": "2a5268a09ddc1bd8afe53032b3cfabf0f3b2b0a0",
"extension": "c"... | stackv2 | /*
embedded system library for e-puck - example 3
--------------------------------------------------------------------------------
code distribution:
https://github.com/jianingchen/epucklib
online documentation:
http://jianingchen.github.io/epucklib/html/
-----------------------------------------------------------... | 2.609375 | 3 |
2024-11-18T18:09:51.672491+00:00 | 2023-08-22T19:06:25 | 42c15a6eda8c965ba1b20608d5841e481c9de1d4 | {
"blob_id": "42c15a6eda8c965ba1b20608d5841e481c9de1d4",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-22T19:06:25",
"content_id": "12f7e8e9ecc0e5353d2c6395b72c521910614efa",
"detected_licenses": [
"MIT"
],
"directory_id": "d153de2407f635bbd2667a6b266354d532e80e85",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <string.h>
#include "heclib.h"
#include "TestDssC.h"
int TestPairedData3(long long *ifltab)
{
zStructPairedData *pds1, *pds2, *pds3, *pds4, *pds5;
float fordinates[500], fvalues[10][500];
float *temp;
char label[20], labels[100];
int labelLength;
char pathname[100];
int numberValue... | 2.296875 | 2 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 143