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-18T22:04:16.871625+00:00
2017-12-14T10:35:10
35c12bcc7737df44db56fcc3453a4393659cf93e
{ "blob_id": "35c12bcc7737df44db56fcc3453a4393659cf93e", "branch_name": "refs/heads/master", "committer_date": "2017-12-14T10:35:10", "content_id": "97a7cd740bded1b7b70d967edc8e50986ed67e2d", "detected_licenses": [ "MIT" ], "directory_id": "c2ed1aa5f10e1ef535a4941e6a8899aa9a9804ce", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* path_sort2.c :+: :+: :+: ...
2.390625
2
2024-11-18T22:04:16.996673+00:00
2021-05-24T20:37:28
3db1801cb83053fb02fe7da700c410869fd5a36a
{ "blob_id": "3db1801cb83053fb02fe7da700c410869fd5a36a", "branch_name": "refs/heads/main", "committer_date": "2021-05-24T20:37:28", "content_id": "e887ee1c1cbf44bf7577c2c42dea6048c4e37ba4", "detected_licenses": [ "MIT" ], "directory_id": "d498db7a146ef2d962f7361367b8859620dd5e42", "extension": "c", ...
stackv2
// MIT License // // Copyright (c) 2021 FrankB21 // // 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, ...
2.75
3
2024-11-18T22:04:17.223606+00:00
2018-04-28T18:28:50
b88b2ea5de8cfbc88aae76495be4b76b58951040
{ "blob_id": "b88b2ea5de8cfbc88aae76495be4b76b58951040", "branch_name": "refs/heads/master", "committer_date": "2018-04-28T18:28:50", "content_id": "7de4eb08211cd5bf36d3b665a9bb573bd382533d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "abb725d63e76b32c1b5255cd15f82f406031c5c8", "extensio...
stackv2
/* * pru_rc_lib.c * * Created on: 06 apr 2018 * Author: andrea */ #include <pru_rc_lib.h> #include <pru_cfg.h> #include <pru_ecap.h> uint8_t pru_rc_lib_initialized = 0; PruRCLibConfig* pru_rc_lib_config = 0; int8_t pru_rc_lib_currentChannel = 0; uint32_t pru_rc_lib_extractedData[8] = { 0 }; unsigned char p...
2.203125
2
2024-11-18T22:04:17.420322+00:00
2020-12-09T14:39:56
f964ea786651b1d739647e24cc3eb2ccdcaad232
{ "blob_id": "f964ea786651b1d739647e24cc3eb2ccdcaad232", "branch_name": "refs/heads/master", "committer_date": "2020-12-09T14:39:56", "content_id": "4d13fe9a74d8b5a2573fbb3b73c183ebfb0f2c76", "detected_licenses": [], "directory_id": "03a2e5c210b91bea3ff9cfaa0ad16f22b4812ffd", "extension": "c", "filename...
stackv2
/* * aPLib compression library - the smaller the better :) * * C safe depacker * * Copyright (c) 1998-2014 Joergen Ibsen * All Rights Reserved * * http://www.ibsensoftware.com/ */ #include "depacks.h" /* internal data structure */ struct APDSSTATE { const unsigned char *source; unsigned int srclen; unsi...
2.53125
3
2024-11-18T22:04:18.199550+00:00
2019-06-04T07:31:34
83bb8ab223f9aeb8a90fc4df557b85028a6bb6da
{ "blob_id": "83bb8ab223f9aeb8a90fc4df557b85028a6bb6da", "branch_name": "refs/heads/master", "committer_date": "2019-06-04T07:31:34", "content_id": "98b2552ec128d152a17f8584104d630d5d7615ed", "detected_licenses": [ "MIT" ], "directory_id": "216f60fa7e13a7a3f0108f7ab4f895f19a3ed199", "extension": "h"...
stackv2
#ifndef __JOB_SCHEDULER_H #define __JOB_SCHEDULER_H #include "process.h" #include "clock.h" #include "cpu_scheduler.h" struct __js_queue_node { process_t * p; struct __js_queue_node * next; }; /* priority queue * order by arrival time */ struct __js_queue { struct __js_queue_node * front; struct __...
2.375
2
2024-11-18T22:04:18.402166+00:00
2019-11-01T21:02:52
8db6b113b1ccc1bd3294a51bb9cefea8bfab223a
{ "blob_id": "8db6b113b1ccc1bd3294a51bb9cefea8bfab223a", "branch_name": "refs/heads/master", "committer_date": "2019-11-03T09:35:09", "content_id": "57e2428370ee58bb044115d8656d5be6110ef2af", "detected_licenses": [ "MIT" ], "directory_id": "f5abc33c4cfb34a039e136f86a6a8e86cb6e0621", "extension": "c"...
stackv2
#include <bc_config.h> #include <bc_sha256.h> #include <bc_eeprom.h> #define _CONFIG_SIZEOF_HEADER sizeof(config_header_t) #define _CONFIG_SIZEOF_CONFIG sizeof(config_t) #define _CONFIG_ADDRESS_HEADER 0 #define _CONFIG_ADDRESS_CONFIG (_CONFIG_ADDRESS_HEADER + _CONFIG_SIZEOF_HEADER) typedef struct { uint32_t sig...
2.46875
2
2024-11-18T22:04:18.874345+00:00
2021-03-17T07:29:19
4ed964eaa407be50ff086a232c6a138191a6a631
{ "blob_id": "4ed964eaa407be50ff086a232c6a138191a6a631", "branch_name": "refs/heads/master", "committer_date": "2021-03-17T07:29:19", "content_id": "2dcfb9926ff326a8f871b26beb279f5883e9f176", "detected_licenses": [ "curl", "Apache-2.0" ], "directory_id": "546018757d22ae76154b87335db68e1cfabfedcb",...
stackv2
#ifndef io_k8s_api_core_v1_host_path_volume_source_TEST #define io_k8s_api_core_v1_host_path_volume_source_TEST // the following is to include only the main from the first c file #ifndef TEST_MAIN #define TEST_MAIN #define io_k8s_api_core_v1_host_path_volume_source_MAIN #endif // TEST_MAIN #include <stdlib.h> #includ...
2.171875
2
2024-11-18T22:04:19.535706+00:00
2021-10-31T17:30:18
4f747837df79f813094fe856fe5fb28e8cbc3a8c
{ "blob_id": "4f747837df79f813094fe856fe5fb28e8cbc3a8c", "branch_name": "refs/heads/main", "committer_date": "2021-10-31T17:30:18", "content_id": "2512c882184385e7cf75dad6e173c6e2b2896ab9", "detected_licenses": [ "MIT" ], "directory_id": "ca419bedf1b6953e915071cd831c793b7aed7c45", "extension": "c", ...
stackv2
#include<stdio.h> #include<conio.h> #include<windows.h> #include<stdlib.h> #include<MMsystem.h> char square[]={'0','1','2','3','4','5','6','7','8','9'}; int checkwin(); void drawboard(); int main() { system("color 4f"); int player=1,i,choice; char mark; //X,O do { drawboard(); ...
3.046875
3
2024-11-18T22:04:19.619272+00:00
2017-03-30T01:30:36
e25b560faa07c3d69d19b732ecd4eae18697037d
{ "blob_id": "e25b560faa07c3d69d19b732ecd4eae18697037d", "branch_name": "refs/heads/master", "committer_date": "2017-03-30T01:30:36", "content_id": "3da1472a76636594ce0917061b2126e73a073e10", "detected_licenses": [ "MIT" ], "directory_id": "fbcc9f329836177e924e192d48afae99334bbf01", "extension": "c"...
stackv2
#include<stdio.h> #include<stdlib.h> #include<string.h> #pragma clang diagnostic push #pragma ide diagnostic ignored "OCDFAInspection" #define LENGTH 19 void main() { // Output from key ^ RANDOM char const obfuscated[LENGTH] = "\x1e\x01\x03\x07\x0b\x05\x09\x12\x00\x07\x02\x14\x0e\x04\x00\x0f\x1f\x0b\x02"; ...
2.65625
3
2024-11-18T22:04:19.995271+00:00
2014-05-31T15:34:55
03974b3c22d2585458fef24b6ca7095691f1ca5c
{ "blob_id": "03974b3c22d2585458fef24b6ca7095691f1ca5c", "branch_name": "refs/heads/master", "committer_date": "2014-05-31T15:34:55", "content_id": "9d7f7afdfcbc5ba663828bf38041d444588d5d74", "detected_licenses": [ "MIT" ], "directory_id": "80d26d59d68f0e1c0f7dae874d72dae3ae491216", "extension": "h"...
stackv2
#ifndef __RACES_H #define __RACES_H #define RACE_SIZE_FINE 8 #define RACE_SIZE_DIMINUTIVE 4 #define RACE_SIZE_TINY 2 #define RACE_SIZE_SMALL 1 #define RACE_SIZE_MEDIUM 0 #define RACE_SIZE_LARGE -1 #define RACE_SIZE_HUGE -2 #define RACE_SIZE_GARGANTUAN -4 #define RACE_SIZE_COLOSSAL -8 /* Character race type */ typede...
2.046875
2
2024-11-18T22:04:20.296563+00:00
2019-04-04T11:38:42
833c793f9711b650359d9b046ecac10f405d985b
{ "blob_id": "833c793f9711b650359d9b046ecac10f405d985b", "branch_name": "refs/heads/master", "committer_date": "2019-04-04T11:38:42", "content_id": "36e7dcc73da7b8648003b23b240e8b60cc252a77", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8bed48c8d626e2bc4ed783d1a987c3e0a661006a", "extens...
stackv2
#include <stdint.h> // uint8_t #include <stdio.h> // printf(), fprintf() #include <stdlib.h> // size_t, EXIT_SUCCESS, EXIT_FAILURE #include "aes_lib_ecb_reference.h" // add_round_key(), sub_bytes(), inv_sub_bytes(), shift_row(), inv_shift_row(), mix_columns(), inv_mix_columns() // public functions int aes128_ecb_e...
2.875
3
2024-11-18T22:04:20.371516+00:00
2021-06-17T17:18:00
377661699e3e4c6a10916c5b81b30331a18c3fc6
{ "blob_id": "377661699e3e4c6a10916c5b81b30331a18c3fc6", "branch_name": "refs/heads/main", "committer_date": "2021-06-17T17:18:00", "content_id": "3793a1f3c502ab4d78a255a6d19affb785c7e6d5", "detected_licenses": [ "MIT" ], "directory_id": "d0d6212681620c73de57744e019cf554e3576dc9", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> void paresDecrescente(int n); int main(void){ int n; printf("Informe o número:"); scanf("%d", &n); paresDecrescente(n); return 0; } void paresDecrescente(int n){ if(n >= 0){ if(n % 2 == 0) printf("%d ", n); paresDecrescente(n - 1)...
3.578125
4
2024-11-18T22:04:21.486270+00:00
2012-11-22T10:46:49
c7006a3cf093ea870db40376d48807bebd0fc7b8
{ "blob_id": "c7006a3cf093ea870db40376d48807bebd0fc7b8", "branch_name": "refs/heads/master", "committer_date": "2012-11-22T10:46:49", "content_id": "b38471279567900517731a003598b814dbd445d3", "detected_licenses": [ "MIT-Modern-Variant" ], "directory_id": "c275d1a9da7866549ecf92262eddcbc415dd3df7", "...
stackv2
#include <stdio.h> #include <string.h> #include "glift.h" Glift_Taint_t * Glift_NodeGenerator( Abc_Ntk_t * pNtk, Abc_Obj_t * pObj) { Glift_Taint_t * temp; temp = NULL; if ( !Abc_NtkIsSopNetlist(pNtk) ) { printf("Glift cannot generated on non-Sop netlists.\n"); return NULL; } if ( Abc_ObjIsNode(pObj) ) { ...
2.640625
3
2024-11-18T22:04:21.630142+00:00
2023-06-05T22:23:21
96267384971d2ec7a98099a45d50966cd170488b
{ "blob_id": "96267384971d2ec7a98099a45d50966cd170488b", "branch_name": "refs/heads/master", "committer_date": "2023-06-05T22:23:21", "content_id": "4bf6c718f0b9d3e77ff930fcb74b3dbe100cc9e4", "detected_licenses": [ "MIT" ], "directory_id": "ac8f2bb926d3afc27f27109620d1fdc357f93284", "extension": "c"...
stackv2
/* * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com> * * libcbor is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "assertions.h" #include "cbor.h" #include "test_allocator.h" cbor_item_t *tag; struct cbor_load_result...
2.46875
2
2024-11-18T22:04:22.880275+00:00
2020-08-05T06:37:36
07e2115bc8f89fe5885d03748553ffef8f251c65
{ "blob_id": "07e2115bc8f89fe5885d03748553ffef8f251c65", "branch_name": "refs/heads/master", "committer_date": "2020-08-06T02:51:51", "content_id": "eb02d132048292cd2701147322dda2a086beba46", "detected_licenses": [ "Apache-2.0" ], "directory_id": "59fec3cb2ca790c0bd03b7a6cc2d181828c89df4", "extensio...
stackv2
/* * shmemuser.c * * This module demonstrates shared memory and semaphores * by opening some shared memory, waiting on a semaphore (whose * semaphore structure is in the shared memory) and then printing out * what it finds in the shared memory. * * This one is meant to be run in tandem with shmemcreator.c...
3.1875
3
2024-11-18T22:04:22.979234+00:00
2020-02-12T00:06:51
c3d37ef9165abbcfad383ae8518af7b6263332b9
{ "blob_id": "c3d37ef9165abbcfad383ae8518af7b6263332b9", "branch_name": "refs/heads/master", "committer_date": "2020-02-18T22:32:25", "content_id": "319d4045693e12cdaeebc8d7a45e8fed04959447", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8a62fa2e656bfd5f3300d9f28edc780946f18392", "extensio...
stackv2
/* * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd. * Copyright (c) 2017 Intel Corporation * * 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...
2.0625
2
2024-11-18T22:04:23.508704+00:00
2013-11-24T05:42:16
7df86515da01318ceba8a0da2c32f7faea8c1d86
{ "blob_id": "7df86515da01318ceba8a0da2c32f7faea8c1d86", "branch_name": "refs/heads/master", "committer_date": "2013-11-24T05:42:16", "content_id": "055221a27c2f85f73c76178b343254a94423f223", "detected_licenses": [ "MIT" ], "directory_id": "f9b1c7d55a570cccd9a345193452948ad84410ba", "extension": "h"...
stackv2
#pragma once #include <cuda.h> #include <cuda_runtime.h> #include <cstdio> // Shorthand for code running on both host and device #define __host_device__ __host__ __device__ // Attempt to call a CUDA API function. If it fails, then the program exits with an error message #define CUDA_SAFE_CALL(call) { cudaAssert(call...
2.265625
2
2024-11-18T22:04:23.754948+00:00
2019-01-21T02:54:59
e5da65fbefb8fb33ff5f8df6a6add49d54f11315
{ "blob_id": "e5da65fbefb8fb33ff5f8df6a6add49d54f11315", "branch_name": "refs/heads/master", "committer_date": "2019-01-21T02:54:59", "content_id": "f0b2fa946a798cde95df165c6a90d5b60a31d967", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7270468e894914221ffcc6c414b64bc4799f278b", "extens...
stackv2
/* $title: 'HYPHEN.H ===== Defines & protos for hyphen =====' */ /* $subtitle: 'Elipse Ltd. [jms] Revised: 1992 Jan 28' */ /*--- Listing 1 ------------------------- HYPHEN.H ------------- * Note that a letter is marked if a hyphen can be inserted IN * FRONT of it. Ctype is the type of the array tha...
2.375
2
2024-11-18T22:04:24.380692+00:00
2020-08-08T01:18:05
a6f2ee5587f99e83733a286eeb7ef2ce97e441de
{ "blob_id": "a6f2ee5587f99e83733a286eeb7ef2ce97e441de", "branch_name": "refs/heads/master", "committer_date": "2020-08-08T01:18:05", "content_id": "1fdaa098b63629ecad72310baeaa8fe2c83bb120", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8de20b8b1e87cddbbdfe67bb5fe84f50fd84ad24", "extens...
stackv2
/* | PC-LISP (C) 1989-1992 Peter J.Ashwood-Smith */ #include <stdio.h> #include <math.h> #include "lisp.h" /************************************************************************* ** append(l1,l2) : will return a pointer to a list which is a copy of ** ** l1 with l2 following it. We do not need to copy l2 bec...
3.046875
3
2024-11-18T22:28:13.514333+00:00
2015-04-17T02:33:33
c33ba15ee8c8b20160982bceaa4804a609016f98
{ "blob_id": "c33ba15ee8c8b20160982bceaa4804a609016f98", "branch_name": "refs/heads/master", "committer_date": "2015-04-17T02:33:33", "content_id": "d8e997f964ee39a294a3fa66da3c117e99cdfc7a", "detected_licenses": [ "MIT" ], "directory_id": "10ae5457422d7ab93422d0da0e9c678f8b128bca", "extension": "c"...
stackv2
/* This source code is in the public domain. */ /* bobj.c: Built-in objects table and corresponding functions */ #include "vt.h" #include "prmt.h" #include <errno.h> #include <string.h> #define BTSIZE 23 #define NUM_BOBJ (sizeof(btab) / sizeof(struct bobj)) #define BDECL(name) static void name(rf) Dframe *rf; #defin...
2.265625
2
2024-11-18T22:28:13.816527+00:00
2019-09-09T06:11:30
04c869221699fa8f2acb36d39888101de606043d
{ "blob_id": "04c869221699fa8f2acb36d39888101de606043d", "branch_name": "refs/heads/master", "committer_date": "2019-09-09T06:11:30", "content_id": "0bb8793cea32b435c4ece24f361933d99c5765ee", "detected_licenses": [ "Apache-2.0" ], "directory_id": "dafd038aded3c6d973c9cb762d44ded5ed4c77c3", "extensio...
stackv2
/** * USB Midi-Fader * * Storage system using the flash * * Kevin Cuzner */ #ifndef _STORAGE_H_ #define _STORAGE_H_ #include <stddef.h> #include <stdint.h> #include <stdbool.h> #include "error.h" #define STORAGE_INVALID_PARAMETER 0x0000 #define STORAGE_ERASED_PARAMETER 0xFFFF #define STORAGE_INVALID_SIZE 0xFF...
2.40625
2
2024-11-18T22:28:15.091628+00:00
2018-08-23T19:39:34
a699978443d49d3b0fd1fde016e840dc9048d1e7
{ "blob_id": "a699978443d49d3b0fd1fde016e840dc9048d1e7", "branch_name": "refs/heads/master", "committer_date": "2018-08-23T19:39:34", "content_id": "870cebf9828d4ba9ce65438038402b239b136b97", "detected_licenses": [ "MIT" ], "directory_id": "403be997b63e54c46cf392b5ee005034a5d64724", "extension": "h"...
stackv2
//################################################################################################## // // Semaphore - semaphore implementation. // //################################################################################################## #ifndef WRM_SEM_H #define WRM_SEM_H #include "wrm_slock.h" #ifdef _...
2.125
2
2024-11-18T22:28:16.842602+00:00
2023-04-11T02:48:42
f1afc83a8df1aeb7ff35335538610b17f1c62eb5
{ "blob_id": "f1afc83a8df1aeb7ff35335538610b17f1c62eb5", "branch_name": "refs/heads/master", "committer_date": "2023-04-11T02:48:42", "content_id": "7641e069733e12846bf7b176531c8b74d52675fa", "detected_licenses": [ "Apache-2.0", "MIT", "BSD-2-Clause" ], "directory_id": "4b64dbbcd51ac0ff67c1ef9...
stackv2
/* * Copyright 2015 Naver Corp. * * 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 ...
2.328125
2
2024-11-18T22:28:16.959443+00:00
2021-09-19T16:12:34
65105048729ef0d00c2f0f6f667f76c334e1730d
{ "blob_id": "65105048729ef0d00c2f0f6f667f76c334e1730d", "branch_name": "refs/heads/main", "committer_date": "2021-09-19T16:12:51", "content_id": "ba3619435d9611035096987f2387cb632d03f277", "detected_licenses": [ "Apache-2.0" ], "directory_id": "923bed5b3cfa9a77a94cdc194c8b594ff817adcb", "extension"...
stackv2
#ifndef __XORSHIFT32_H__ #define __XORSHIFT32_H__ #include "xor32s.h" static unsigned int y = 2463534242U; unsigned int xorshift (void) { y ^= (y << 13); y ^= (y >> 17); return y ^= (y << 5); } unsigned int xorshiftjump (unsigned int *s) { unsigned int y = *s; y ^= (y << 13); y ^= (y >> 17)...
2.234375
2
2024-11-18T22:28:17.080243+00:00
2012-05-19T19:55:30
d648d8895476507ea6d0b7eebd949c57fb4cf161
{ "blob_id": "d648d8895476507ea6d0b7eebd949c57fb4cf161", "branch_name": "refs/heads/master", "committer_date": "2012-05-20T11:52:45", "content_id": "797783a9733d867f4d4b1ea80423b1fa13e602bc", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "adc0e169fe726e377da3a8470e5ae1e3...
stackv2
#include <stdlib.h> #include <stdint.h> #include <unistd.h> #include <stdio.h> #include <assert.h> #include <errno.h> #include <net/if.h> #include <sys/ioctl.h> #include <linux/can/raw.h> #include "can.h" #include "util.h" #include "log.h" int can_create_socket(const char *name) { int fd; fd = socket(PF_CAN, SOCK...
2.390625
2
2024-11-18T22:28:17.184970+00:00
2019-12-03T17:59:20
20e644ba7fa19d5aab80a6ddf557141d0a5494cd
{ "blob_id": "20e644ba7fa19d5aab80a6ddf557141d0a5494cd", "branch_name": "refs/heads/master", "committer_date": "2019-12-03T17:59:20", "content_id": "f793b3ffc0294a7147ceb08c450de02d03e2b1e9", "detected_licenses": [ "MIT" ], "directory_id": "6e83b8af527714a74f4149c75abd2803458309a3", "extension": "c"...
stackv2
/* * WinDrawLib * Copyright (c) 2015-2016 Martin Mitas * * 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, mo...
2.4375
2
2024-11-18T22:28:17.676681+00:00
2023-08-16T08:49:18
ab54ed7e66e4a6b7e9ac9363f78c779f432a9280
{ "blob_id": "ab54ed7e66e4a6b7e9ac9363f78c779f432a9280", "branch_name": "refs/heads/master", "committer_date": "2023-08-16T08:49:18", "content_id": "f51035736e54d86d88f9902640039c2a34ac4ed7", "detected_licenses": [ "MIT" ], "directory_id": "e3acfc4f06840e23ef1185dcf367f40d3e3f59b4", "extension": "c"...
stackv2
//PARAM: --disable ana.int.def_exc --enable ana.int.interval_set #include <goblint.h> int main() { int g = 0; int x; for(x=0; x < 50; x++){ g = 1; } // x = [50, 50] after narrow if(x>50){ // live after widen, but dead after narrow // node after Pos(x>50) is marked dead at the end // but the l...
2.4375
2
2024-11-18T22:28:17.815033+00:00
2022-11-11T10:50:55
dcb0f866cee0f3e0a80d95f7ee690edad72b13cc
{ "blob_id": "dcb0f866cee0f3e0a80d95f7ee690edad72b13cc", "branch_name": "refs/heads/master", "committer_date": "2022-11-11T10:50:55", "content_id": "0984cce6023d763a44cb8bbf5188080f1c175f5f", "detected_licenses": [ "MIT" ], "directory_id": "187b3b9385f262d75b2f0f111a35665d5761c08c", "extension": "c"...
stackv2
/* * pic8 SPI driver * * Authors: Antti Partanen <aehparta@iki.fi> */ #include <stdlib.h> #include <libe/libe.h> #ifndef SPI_HARDCODED_SS #define SPI_HARDCODED_SS (device->ss) #endif #ifndef SPI_HARDCODED_MISO #define SPI_HARDCODED_MISO miso #endif #ifndef SPI_HARDCODED_MOSI #define SPI_HARDCODED_MOSI mosi #endi...
2.5
2
2024-11-18T22:28:17.965887+00:00
2018-07-19T23:34:07
a6e33902f7f303c35055de3b6d82865b3b7e8b86
{ "blob_id": "a6e33902f7f303c35055de3b6d82865b3b7e8b86", "branch_name": "refs/heads/master", "committer_date": "2018-07-19T23:34:07", "content_id": "4f5b395813adc1da9c44bcdc7590b30a5b4fdaad", "detected_licenses": [ "MIT" ], "directory_id": "14a0b78ce199a94f01b8defca7b2af77dc8a5987", "extension": "c"...
stackv2
struct Bot { struct Vector position; struct Vector velocity; unsigned char direction; unsigned char command; unsigned char animation; unsigned char delay; } bot; unsigned char func_1_return; unsigned char func_2_return; const unsigned char bot_sprit_up = 24; const unsigned char bot_sprit_down = 4; con...
2.484375
2
2024-11-18T22:28:18.038213+00:00
2021-07-01T05:26:36
6784ae6cde455e8f185933b7f0372ad0fe09a288
{ "blob_id": "6784ae6cde455e8f185933b7f0372ad0fe09a288", "branch_name": "refs/heads/master", "committer_date": "2021-07-01T05:26:36", "content_id": "071d24cd12e76d20559c3e3f46050f8b6be7e70f", "detected_licenses": [ "MIT" ], "directory_id": "75aeecfcb11edfc909d0ef8c77838e868ea3b46e", "extension": "c"...
stackv2
#include "types.h" #include "stat.h" #include "user.h" #define THREAD_NUM 1 void* thread_routine(void *arg) { printf(1, "thread_routine starts\n"); thread_exit(); } int main(int argc, char *argv[]) { int thread_arr[THREAD_NUM]; int thread_arg[THREAD_NUM]; for(int i = 0; i < THREAD_NUM; i++) { ...
2.5
2
2024-11-18T22:28:18.284498+00:00
2016-05-29T18:55:48
0c0dce0bddb6a4fb86915210f6cd24cef280b534
{ "blob_id": "0c0dce0bddb6a4fb86915210f6cd24cef280b534", "branch_name": "refs/heads/master", "committer_date": "2016-05-29T18:55:48", "content_id": "4d85c4f96fe2952ca55186989019d56f5bab05ca", "detected_licenses": [ "MIT" ], "directory_id": "fd6fb6bf95f527a52ae238ed2f74bc2ee36a40ad", "extension": "c"...
stackv2
#include "caesar.h" void caesar(char* dst, char* src, int shift) { int i; for (i = 0; i < strlen(src); i++) { dst[i] = shift_char(src[i], shift); } /* Ensure trailing null character since `dst` may not have been initialized * yet. */ dst[i] = '\0'; } char shift_char(char c,...
3.40625
3
2024-11-18T22:28:18.360263+00:00
2017-09-29T08:33:02
9f2a6872417b5f2c74accb85aba32d29ede03c5d
{ "blob_id": "9f2a6872417b5f2c74accb85aba32d29ede03c5d", "branch_name": "refs/heads/master", "committer_date": "2017-09-29T08:33:02", "content_id": "03a6cb77c34179f6a927d1606070033174e33a4d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c230773655503638c63cf1c93f5e1ae44e982f96", "extensio...
stackv2
#include "Touch.h" #include "stdlib.h" #include "math.h" TOUCH_DEV touchDev = { initTouch, scanTouch, adjustTouch, 0,0,0,0,0,0,0,0, }; /* funName :touchWriteByte input :byte output : describe:向触摸屏IC写入1byte数据 remark : */ void touchWriteByte(uint8_t byte){ uint8_t count=0; for(count=0;count<8;count++) { ...
2.875
3
2024-11-18T22:28:18.428624+00:00
2016-06-20T07:20:37
b0b739b2790b01336512ca5d6fa2605e71bf5e95
{ "blob_id": "b0b739b2790b01336512ca5d6fa2605e71bf5e95", "branch_name": "refs/heads/master", "committer_date": "2016-06-20T07:20:37", "content_id": "a0f7118484929da2241a2431c3e613a2d36d5b92", "detected_licenses": [ "MIT" ], "directory_id": "ceb96bc9b09e557ea7aada0045bfc8e282a53785", "extension": "c"...
stackv2
/* ** split.c for libmy in /home/person_l/rendu/42sh ** ** Made by Louis Person ** Login <person_l@epitech.net> ** ** Started on Tue May 5 15:15:03 2015 Louis Person ** Last update Fri May 29 23:53:00 2015 Louis Person */ #define _BSD_SOURCE #include <assert.h> #include <stdlib.h> #include <string.h> #include "s...
2.671875
3
2024-11-18T22:28:18.684048+00:00
2021-01-30T13:15:23
1e91fa040a5ec7d2aa8b8b4f13a46ffbf7f3f271
{ "blob_id": "1e91fa040a5ec7d2aa8b8b4f13a46ffbf7f3f271", "branch_name": "refs/heads/master", "committer_date": "2021-01-30T13:15:23", "content_id": "0bf3b17c95924b6db3c7a554509bd43ae21ca784", "detected_licenses": [ "Unlicense" ], "directory_id": "5ad69a5199de09595b9f9e6564eb86babb3c2717", "extension...
stackv2
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <malloc.h> #include "queue.h" bool queue_init(link_queue *q) { q_node *new_node = (q_node *)malloc(sizeof(q_node)); if (new_node == NULL) { printf("Queue init, malloc queue node failed.\n"); return false; } new_node->next = NULL; q->front ...
3.359375
3
2024-11-18T22:28:19.352442+00:00
2020-07-04T20:54:10
fce15a3c3666402b24ae12d42d8005932195d6e4
{ "blob_id": "fce15a3c3666402b24ae12d42d8005932195d6e4", "branch_name": "refs/heads/master", "committer_date": "2020-07-04T20:54:10", "content_id": "f18d99cb232a3fdc3196bfc6d90eff69b12b2ee1", "detected_licenses": [ "MIT" ], "directory_id": "fbd75a3173ef6b40a86ddf2cf2d8e0f079010315", "extension": "c"...
stackv2
#include "hashtable.h" #include <string.h> #include <stdlib.h> hashmap* create_hashmap() { int i; hashmap* hm = malloc(sizeof(hashmap)); for(i = 0; i < HASHMAP_SIZE; ++i) { hm->map[i] = EMPTY_LIST; } return hm; } unsigned long hashString(char* str) { unsigned long hash = 5381; ...
2.96875
3
2024-11-18T22:28:19.464034+00:00
2019-05-27T13:39:24
e93af1c081dc766d84913466baa3f7e00cf61e4d
{ "blob_id": "e93af1c081dc766d84913466baa3f7e00cf61e4d", "branch_name": "refs/heads/master", "committer_date": "2019-05-27T13:39:24", "content_id": "424bc2832abaa4d1bb06a2bdaf65c85bdee29b46", "detected_licenses": [ "Zlib" ], "directory_id": "8402db1f2dce7613df9047c46c9462b61856d2c3", "extension": "h...
stackv2
/* ******************************************** */ /* File Name: dict.h */ /* Author: (C) 2008-2009 - Juan Josť Ponteprino */ /* Description: Dictionary API Headers */ /* License: This code is licenced as LGPL */ /* ******************************************** */ #ifndef _DICT...
2.15625
2
2024-11-18T22:28:19.658595+00:00
2014-12-12T03:03:29
cfbd8c2fd8d11aff784712eca50989a4b9c8b83d
{ "blob_id": "cfbd8c2fd8d11aff784712eca50989a4b9c8b83d", "branch_name": "refs/heads/master", "committer_date": "2014-12-12T03:03:29", "content_id": "94a6f19ddecd3a7a38f2d6a67f4f3d02682261e1", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "623d7de367a647151a7adedb66e6ee19d3a268d6", "extens...
stackv2
/* ljm3103 - Luke Matarazzo * CSCI-243 -- Project 3 - MY SHell * filename: history.h * Header file for command history module. Circle buffer is used to store the command history. */ #ifndef HISTORY_H #define HISTORY_H #include <stdio.h> #include <string.h> #include <stdlib.h> //initialize the history buffer...
2.453125
2
2024-11-18T22:28:19.818097+00:00
2020-07-02T23:45:13
f3ee39f6c5a603a9a161c46fecadb9ff481f8a73
{ "blob_id": "f3ee39f6c5a603a9a161c46fecadb9ff481f8a73", "branch_name": "refs/heads/master", "committer_date": "2020-07-02T23:45:13", "content_id": "1b15a47f3cbe68268e7a21ad69b40ee3ed1d6c61", "detected_licenses": [ "MIT" ], "directory_id": "3ce414123279622d2747cc1e66a5ef3a96c7bb9c", "extension": "c"...
stackv2
#define ex03 #ifdef ex01 #include <stdio.h> struct dados { char _char; int _int; long int _long; float _float; double _double; unsigned char _uchar; unsigned int _uint; unsigned long _ulong; }; struct dados estrutura; main() { char ...
3.390625
3
2024-11-18T22:28:20.560581+00:00
2020-03-28T17:42:44
fd10c361e8e31f4dca513dd347478e5644960b00
{ "blob_id": "fd10c361e8e31f4dca513dd347478e5644960b00", "branch_name": "refs/heads/master", "committer_date": "2020-03-28T17:42:44", "content_id": "a05687d8a37ad94e5679284ef41b868b59719087", "detected_licenses": [ "MIT" ], "directory_id": "299f651b4758d3678364ee9f5541dc534161ec5b", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_ls_print.c :+: :+: :+: ...
2.828125
3
2024-11-18T22:28:20.788192+00:00
2017-01-01T16:04:38
45049d50420e8fc2f1c6d00be47acb06603a67b1
{ "blob_id": "45049d50420e8fc2f1c6d00be47acb06603a67b1", "branch_name": "refs/heads/master", "committer_date": "2017-01-01T16:04:38", "content_id": "b699b0217f4841ae9cd32a201276c77faac071fd", "detected_licenses": [ "MIT" ], "directory_id": "37804f1579063369aa5e561b9113b4580f71b5b7", "extension": "c"...
stackv2
/** * @file take.c * * @mainpage * * List Selection Utility by Tero Isannainen, (c) Copyright 2015. * * Purpose of Take is to provide a convenient way of selecting items * from a list within a text terminal. Take is best tool for filtering * when the items do not share substrings or similar. Grep and such * a...
2.21875
2
2024-11-18T22:28:20.861329+00:00
2020-08-14T20:59:25
dd16c31249a6817a88ee0d04c8db5407f5fa2e0c
{ "blob_id": "dd16c31249a6817a88ee0d04c8db5407f5fa2e0c", "branch_name": "refs/heads/master", "committer_date": "2020-08-14T20:59:25", "content_id": "836161a0c11fd5f91b01c144d8a14e7ec7cab1e8", "detected_licenses": [ "MIT" ], "directory_id": "ff6e19b0345221356d3f5142ee25addbf68600d9", "extension": "c"...
stackv2
#include<stdio.h> int main(){ int x =123; //integer constant int x2=124l; //l or L terminal for long constant unsigned int x3=-3u; // printf("x3=%d",x3); return 0; }
2.1875
2
2024-11-18T22:28:21.031312+00:00
2014-01-27T17:02:06
37a77ebfac4d722cfe6783dcd9809764febe3aff
{ "blob_id": "37a77ebfac4d722cfe6783dcd9809764febe3aff", "branch_name": "refs/heads/master", "committer_date": "2014-01-27T17:02:06", "content_id": "46614509dbdc44021835c8cb023f3428220f19e0", "detected_licenses": [ "MIT" ], "directory_id": "b9b70b6e16cd70eeb69b1714cec4fba85329b885", "extension": "c"...
stackv2
/* ** main.c for befunge in /home/buathi_q/Github/Befunge ** ** Made by BUATHIER Quentin ** Login <buathi_q@epitech.net> ** ** Started on Mon Jan 27 13:24:19 2014 BUATHIER Quentin ** Last update Mon Jan 27 17:44:42 2014 BUATHIER Quentin */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "befun...
2.984375
3
2024-11-18T22:28:21.319561+00:00
2023-08-07T16:04:22
de8f4e7e13b7399eb981e8ab39259e00c6a30b2a
{ "blob_id": "de8f4e7e13b7399eb981e8ab39259e00c6a30b2a", "branch_name": "refs/heads/develop", "committer_date": "2023-08-07T16:04:22", "content_id": "c680cea58f3a6de1214dec892e7124b1c03168c2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4c195550263eb39db62a95820dde869f4bfd9606", "extensi...
stackv2
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
2.390625
2
2024-11-18T22:28:21.456710+00:00
2023-08-27T19:14:02
2b0fdd59bba395d71a084335175ddcdac364cb9d
{ "blob_id": "2b0fdd59bba395d71a084335175ddcdac364cb9d", "branch_name": "refs/heads/master", "committer_date": "2023-08-27T19:14:02", "content_id": "8090b620cf6a65eea6797553062d334d2c5d93d8", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "7c857119fe1505b1d80d6e62969661c06dc1a2f4", "extens...
stackv2
/** @file IA32/x64 generic functions to support Debug Support protocol. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugSupport.h" // // This the global main table to keep track of the interrupts // IDT_ENTRY *I...
2.59375
3
2024-11-18T22:28:21.525511+00:00
2019-05-31T05:01:31
bed0aff24555b47f87802b08c28bdff06ef1ea46
{ "blob_id": "bed0aff24555b47f87802b08c28bdff06ef1ea46", "branch_name": "refs/heads/master", "committer_date": "2019-05-31T05:01:31", "content_id": "3c50c99575a46d939cd54168ff34db87e7c1a7d2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a0bebcff7e83e068f616d9b64d7b06182f3f82d7", "extensio...
stackv2
/* * Copyright 2017,2018 cc-wrapper authors * * 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 o...
2.671875
3
2024-11-18T22:28:21.603321+00:00
2014-02-04T21:57:28
e2e7ebb14e7ecf9e95584b6aaa1fcddadb5adfe4
{ "blob_id": "e2e7ebb14e7ecf9e95584b6aaa1fcddadb5adfe4", "branch_name": "refs/heads/master", "committer_date": "2014-02-04T21:57:28", "content_id": "bc7e78724eae4e6bec69aa4b52c04afaa45ee37a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5ea55385ac3847b5cfff792d497871cc7942522b", "extensio...
stackv2
#include "spin_lock.h" #ifdef _MSC_VER #include <windows.h> #else #include <pthread.h> #endif #define SPINLOCK_LOCKED 1 #define SPINLOCK_UNLOCKED 0 #define SPINS_BETWEEN_THREADSWITCH 1000 static long crossSwap( spin_lock *_this, long originalValue, long exchgValue ) { #ifdef _MSC_VER return InterlockedCompareE...
2.5625
3
2024-11-18T22:28:22.229258+00:00
2020-01-26T14:43:56
6ab8570806febcddffd5be60feea820482f1c168
{ "blob_id": "6ab8570806febcddffd5be60feea820482f1c168", "branch_name": "refs/heads/master", "committer_date": "2020-01-26T14:43:56", "content_id": "e450e233914b3f13f32533745e2627b4e1855813", "detected_licenses": [ "MIT" ], "directory_id": "a2e1dc5a61fc5a0ccaae432cac2967a945d6f8c9", "extension": "c"...
stackv2
#include <stdio.h> void square(int* num); int main() { int number = 4; square(&number); printf("%d\n", number); return 0; } void square(int* num){ *num = ((*num) * (*num)); }
3.109375
3
2024-11-18T22:28:24.846401+00:00
2017-07-28T09:16:58
e62f573d1da0e847ce29f3eaba89e0cc7bb35a5e
{ "blob_id": "e62f573d1da0e847ce29f3eaba89e0cc7bb35a5e", "branch_name": "refs/heads/master", "committer_date": "2017-07-28T09:16:58", "content_id": "80915b081336c0f17762e6d75bc61939cb29b323", "detected_licenses": [ "MIT" ], "directory_id": "0d67e24ec58c6bafd8d86ec644150c77897952b7", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include "crypt.h" #include "encrypt.h" #include <math.h> #include "md5.h" /** ** chiffrement utilisant le ou exclusif **/ void xor_crypt(char * key, char * texte, char* chiffre) { char *cp; int c; if((cp = key)){ if (texte ...
2.6875
3
2024-11-18T22:28:26.488845+00:00
2017-10-08T12:35:15
80c25e6ffe60c98064657b98c3e3c6e86dd5568f
{ "blob_id": "80c25e6ffe60c98064657b98c3e3c6e86dd5568f", "branch_name": "refs/heads/master", "committer_date": "2017-10-08T12:35:15", "content_id": "3f4445c975030c1b132a4d42a6a2f143c9198e7f", "detected_licenses": [ "MIT" ], "directory_id": "f0277dcb3a77ac15d9c329ad7c2cbd0734d88dc3", "extension": "c"...
stackv2
#include "parser.h" typedef struct retrophies_parser_jumpchain_t retrophies_parser_jumpchain_t; struct retrophies_parser_jumpchain_t { void* label; retrophies_parser_jumpchain_t* previous; }; static void retrophies_parser_parseif(retrophies_parser_t* self) { retrophies_parser_matchany(...
2.296875
2
2024-11-18T22:28:26.543575+00:00
2013-09-13T19:05:10
a1658acefd659f658d928cbe03f6992bcf9a6c25
{ "blob_id": "a1658acefd659f658d928cbe03f6992bcf9a6c25", "branch_name": "refs/heads/master", "committer_date": "2013-09-13T19:05:10", "content_id": "49bdff33122cfafaf7c419c9c2c407d12aedc828", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5774d10f30fcd510094e15681dae015b4b04cf44", "extensio...
stackv2
#include "madn_settings.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> MADN_SETTINGS* create_madn_settings() { MADN_SETTINGS* ret = calloc(1, sizeof(MADN_SETTINGS)); assert (ret != NULL); return ret; } uint8_t read_madn_settings(char* filename, MADN_SETTINGS* globals) { ...
2.234375
2
2024-11-18T22:28:26.703961+00:00
2020-09-19T16:24:56
1a7de0c7a0d77ca970924b906ff929cd29fa6eaf
{ "blob_id": "1a7de0c7a0d77ca970924b906ff929cd29fa6eaf", "branch_name": "refs/heads/master", "committer_date": "2020-09-19T16:24:56", "content_id": "2eaf413eda09384a5cf135d55aa70380f9ae0e04", "detected_licenses": [ "MIT" ], "directory_id": "07e17a58accb57c976506ca60d9c3f4a627bfe0c", "extension": "c"...
stackv2
#include <xbook/debug.h> #define ARDS_ADDR 0x80001000 //ARDS结构从哪儿开始储存 #define MAX_ARDS_NR 12 //最大有12个ards结构 /* ards结构体 */ struct ards_struct { unsigned int baseLow; //基址低32位 unsigned int base_high; unsigned int lengthLow; //长度低32位 unsigned int length_high; unsigned int type; //该结构的类型(1可以被系统使用) }; unsig...
2.84375
3
2024-11-18T22:28:26.771474+00:00
2022-11-10T15:37:41
ebef45b44721cc22b7e9fb388257305bb0b3b589
{ "blob_id": "ebef45b44721cc22b7e9fb388257305bb0b3b589", "branch_name": "refs/heads/master", "committer_date": "2022-11-10T15:37:41", "content_id": "f23250973caa45601fb46aeb3abd323b85112b3d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "694267d8efa0f6b961f4df339c99d5c36a6f093d", "extensio...
stackv2
/* ************************************************************************** */ /* */ /* :::::::: */ /* raycasting.c :+: :+: ...
2.296875
2
2024-11-18T22:28:26.862782+00:00
2018-03-01T08:56:07
62d35ba115289c798c793aad033de60bd0551cc5
{ "blob_id": "62d35ba115289c798c793aad033de60bd0551cc5", "branch_name": "refs/heads/master", "committer_date": "2018-03-01T08:56:07", "content_id": "56b52c0fc3a9a26c9d97bbcd8b3422515ea6fc6b", "detected_licenses": [ "MIT" ], "directory_id": "9149c6be503c6a438e239212e127f6e0b9e021ed", "extension": "h"...
stackv2
#ifndef _STATICFUNCTIONSH_ #define _STATICFUNCTIONSH_ #include <stdio.h> #include <stdlib.h> #include <string.h> //#include "stack.h" #include "math.h" #ifndef FUNC_H #define FUNC_H #include "functions.h" #endif #ifndef WORD_SIZE #define WORD_SIZE 25 #endif typedef struct static_trie_node{ char *word; struct stat...
2.109375
2
2024-11-18T22:28:27.190866+00:00
2018-04-16T13:30:47
175df6ab8b8f2f8a9811a1890f284f4606a7051a
{ "blob_id": "175df6ab8b8f2f8a9811a1890f284f4606a7051a", "branch_name": "refs/heads/master", "committer_date": "2018-04-16T13:30:47", "content_id": "522262f7e3606e67695f6bd796d9e31ca27952ac", "detected_licenses": [ "MIT" ], "directory_id": "7ff994d17c75200f82325f26247fbb09341e98d7", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include "defs.h" schc_field_desc_t rule_0[] = { FIELD_DESCRIPTION(FID_IPV6_VER, 4, 1, DIR_IND_BI, MO_EQUAL, CDA_NOT_SENT, "x06", rule_0, 0), FIELD_DESCRIPTION(FID_IPV6_DS, 8, 1, DIR_IND_BI, MO_EQUAL, CDA_NOT_SENT, "x00", rule_0, 1), FIELD_DESCRIPTION(FID_IPV6_FL, 20...
2
2
2024-11-18T22:28:27.291036+00:00
2019-06-18T00:37:43
2cd7651245f10909ca99e3b7a793a239759a75bd
{ "blob_id": "2cd7651245f10909ca99e3b7a793a239759a75bd", "branch_name": "refs/heads/master", "committer_date": "2019-06-18T00:37:43", "content_id": "b91c31ec7975e3d4912bbfddb15b39057befc7e4", "detected_licenses": [ "MIT" ], "directory_id": "c4e1dd7d0070fb840cfa5b5b8c7dd8e9e8bca051", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <gbpLib.h> #include <gbpSPH.h> #include <gbpHalos.h> void read_groups_AHF(char *filename_groups_root, int i_file, int mode, plist_info *plist, char *catalog_name) { char filename_ids[256]; char filename_number[256]; FILE * fp; ...
2.03125
2
2024-11-18T22:28:28.788116+00:00
2020-12-26T01:32:32
f69c7a73f461b5c4fd1a528b11f8f9b042322e47
{ "blob_id": "f69c7a73f461b5c4fd1a528b11f8f9b042322e47", "branch_name": "refs/heads/main", "committer_date": "2020-12-26T01:32:32", "content_id": "a21ffe1587eb0ab3da8b69c3e95619ae81f1181c", "detected_licenses": [ "MIT" ], "directory_id": "910b6f3c54814657ca436c2b793ed99463a589b9", "extension": "c", ...
stackv2
/*exercicio_07*/ // Considere o programa para determinar se uma sequência de n números digitados pelo usuário está // n. Por que? ordenado ou não. Faça o programa usando uma variável contadora. #include <stdio.h> #include <stdlib.h> int main() { int n, i=0, j=0,contador; int num [100]; printf("\nInsira a c...
3.828125
4
2024-11-18T22:28:28.868806+00:00
2023-08-26T18:52:14
841f9eef54ba0e69d6b27cc75af86f99e2441115
{ "blob_id": "841f9eef54ba0e69d6b27cc75af86f99e2441115", "branch_name": "refs/heads/master", "committer_date": "2023-08-26T18:52:14", "content_id": "5e1d0f001befd3f36c740155fa4db402f8a91e49", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "2d5743a0cc3b0ca82856d12e5576949868630031", "extens...
stackv2
#include <assert.h> #include <limits.h> #include <stddef.h> #include <string.h> #include <openssl/ssl.h> #include "network_ssl_compat.h" #ifdef NETWORK_SSL_COMPAT_TLS_CLIENT_METHOD /** * network_ssl_compat_TLS_client_method(void): * Create a SSL_METHOD. * * COMPATIBILITY: Behave like TLS_client_method(). */ con...
2.53125
3
2024-11-18T22:28:28.971463+00:00
2018-06-18T12:39:56
0947b04054aadbc1a1f33042db17cb3e158c5622
{ "blob_id": "0947b04054aadbc1a1f33042db17cb3e158c5622", "branch_name": "refs/heads/master", "committer_date": "2018-06-18T12:39:56", "content_id": "0811fdb9a416e4124b6903d4975f2e6169543211", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "e53586347601bf329f1bde11c90498036356f548", ...
stackv2
#include <uapi/machine/cpufunc.h> #include <string.h> #include "device.h" #include "proc.h" #include "vm.h" struct page_desc page_desc_table[NPAGE] __aligned(PAGE_SIZE); uint64_t pages[NPAGE][PAGE_SIZE / sizeof(uint64_t)] __aligned(PAGE_SIZE); void alloc_page(pid_t pid, enum page_type type, pn_t pn) { struct page...
2.5625
3
2024-11-18T22:28:29.255329+00:00
2019-12-15T23:04:24
492cd74d50f7a02ca82281ddf4efbfb3cba4e71d
{ "blob_id": "492cd74d50f7a02ca82281ddf4efbfb3cba4e71d", "branch_name": "refs/heads/master", "committer_date": "2019-12-15T23:04:24", "content_id": "753c85f8ed93e14e0a7b09d4766cc650b2fbcb4f", "detected_licenses": [ "MIT" ], "directory_id": "366b6585fdd791f82148adbeb033b9972bae32d3", "extension": "c"...
stackv2
/* * Copyright (C) 2008-2015, Marvell International Ltd. * All Rights Reserved. */ /* * * Summary: * Simple Application to echo the data on UART. * * Description: * This project shows how to use UART1 with MDEV layer. UART1 is configured at * baud rate of 115200 and enabled as 8bit. Application echoes back...
3.015625
3
2024-11-18T22:28:30.006248+00:00
2013-04-24T11:51:40
7683127424d15aa8fd01d7eaa7f159855a675dfd
{ "blob_id": "7683127424d15aa8fd01d7eaa7f159855a675dfd", "branch_name": "refs/heads/master", "committer_date": "2013-04-24T11:51:40", "content_id": "f11ba6fd050d50a011b7d999174e9ac2ffb9a5f8", "detected_licenses": [ "MIT" ], "directory_id": "233fc7584622d97cfb820077cce096c316314d9b", "extension": "c"...
stackv2
// example: // g++ c_example.c -ldb_cxx -o с_example // #include <stdlib.h> #include <string.h> #include <iostream> #include <iomanip> #include <string> #define HAVE_CXX_STDHEADERS #include <db_cxx.h> using namespace std; const char* kDatabaseName = "access.db"; int main() { DB *dbp; DBT key, data; int r...
2.25
2
2024-11-18T22:28:30.564684+00:00
2020-10-18T10:17:42
ff0a5248720ff0ddf7376c62074506a66c5a9e52
{ "blob_id": "ff0a5248720ff0ddf7376c62074506a66c5a9e52", "branch_name": "refs/heads/master", "committer_date": "2020-10-18T10:17:42", "content_id": "0034de3e64f808d667f793aa4fc157bf5801b869", "detected_licenses": [ "MIT" ], "directory_id": "6b152407a972bb4e109019e9009433297fb4f4e7", "extension": "h"...
stackv2
/***************************************************** Title : Encoder Driver Author : kingyo File : encoder.h DATE : 2020/10/18 ******************************************************/ #ifndef __ENCODER_H__ #define __ENCODER_H__ /********************************* * ENUM *****************************...
2.015625
2
2024-11-18T22:28:30.703902+00:00
2020-04-02T09:20:21
8fd9be48e8c3f66ca607e8f11b7c52364d0b0799
{ "blob_id": "8fd9be48e8c3f66ca607e8f11b7c52364d0b0799", "branch_name": "refs/heads/master", "committer_date": "2020-04-02T09:20:21", "content_id": "f736f8e4937f76d388baaeb5473cb9c43e1d65e1", "detected_licenses": [ "MIT" ], "directory_id": "16897b31f2c3ce7b8115ebee408cedac130a242b", "extension": "h"...
stackv2
/* PipeWire * * Copyright © 2018 Wim Taymans * * 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, merg...
2.015625
2
2024-11-18T22:28:30.793472+00:00
2023-04-29T12:42:25
f5bb2fb13c199567b9f0c0eb3a6a822e2e28976d
{ "blob_id": "f5bb2fb13c199567b9f0c0eb3a6a822e2e28976d", "branch_name": "refs/heads/master", "committer_date": "2023-04-29T12:42:25", "content_id": "16042e099c20ab13b102dae75ca53526000c66bb", "detected_licenses": [ "MIT" ], "directory_id": "b078140d9da13c7f14b3b9c7e2cac5da772a88bf", "extension": "c"...
stackv2
// // StyleEdit.c // // Copyright (c) 2002 by J Brown // Freeware // // Implements the Style Editor dialog box // // void ShowWindowStyleEditor(HWND hwndParent, HWND hwndTarget, BOOL fExtended) // // hwndParent - parent window of dialog // hwndTarget - target window // fExtended - display standard (FALSE) or e...
2.078125
2
2024-11-18T22:28:30.903936+00:00
2020-09-24T08:57:48
68baeb0d99d820ec0cbc32b0a76c6b9afec65927
{ "blob_id": "68baeb0d99d820ec0cbc32b0a76c6b9afec65927", "branch_name": "refs/heads/master", "committer_date": "2020-09-24T08:57:48", "content_id": "bd9e538d7050d2990fc3a36e16f2e15648b2a1a4", "detected_licenses": [ "MIT" ], "directory_id": "a21f86b6138340dc809adb0e3ef7cf8441723481", "extension": "c"...
stackv2
#include "lib/user.h" int main(int argc, char const *argv[]) { int pipeline[2]; pipe(pipeline); int r_fd = pipeline[0]; int w_fd = pipeline[1]; if (fork() == 0) { //the first child process while (1) { r_fd = pipeline[0]; //read from parent close(w_fd); //cl...
2.546875
3
2024-11-18T22:28:31.572390+00:00
2023-08-17T00:57:24
0422201152e049cc866a78b9dfac78a65df9ed62
{ "blob_id": "0422201152e049cc866a78b9dfac78a65df9ed62", "branch_name": "refs/heads/main", "committer_date": "2023-08-17T04:43:29", "content_id": "47268ec6c07eb4d299f5c3cb346fcc358f172cf4", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8d13ad7c77071985b749578999cb5ee56d31ac14", "extensio...
stackv2
/* Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * Tests for GBB library. */ #include "2common.h" #include "2misc.h" #include "common/tests.h" /* Mock data */ static char gbb_data[4096 + sizeof(struct vb2_gbb_header)]...
2.5625
3
2024-11-18T22:28:31.807603+00:00
2015-07-02T05:33:14
18ada24781077ecbd9d08e5dd26446bb0afb3b9b
{ "blob_id": "18ada24781077ecbd9d08e5dd26446bb0afb3b9b", "branch_name": "refs/heads/master", "committer_date": "2015-07-02T05:33:14", "content_id": "843a782b67aaba7dbfdf78062b9fe8266c9cc417", "detected_licenses": [ "BSD-4-Clause-UC" ], "directory_id": "edf20ceb4b41f8b6bd0fcadba354bebf950e1fdf", "ext...
stackv2
/* Copyright (c) 2009 The Regents of the University of California. * See the COPYRIGHT files at the top of this source tree for full * license information. * * Kevin Klues <klueska@cs.berkeley.edu> */ #ifdef __SHARC__ #pragma nosharc #endif #ifdef __DEPUTY__ #pragma nodeputy #endif #include <sys/queue....
2.609375
3
2024-11-18T22:28:31.880042+00:00
2018-08-22T20:35:08
460813e1cbe5c1e56f9f90ff6d525a75b8f7a860
{ "blob_id": "460813e1cbe5c1e56f9f90ff6d525a75b8f7a860", "branch_name": "refs/heads/master", "committer_date": "2018-08-22T20:35:08", "content_id": "083599bff1075ece2d901b1ca37117af31baeefd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "30d262c51fc3dbc90b33b057e0c92a5c55de897d", "extens...
stackv2
#include "crypto_sign.h" #include "LUOV.h" #ifdef KAT #define printIntermediateValue(A) printf(A) #else #define printIntermediateValue(A) #endif /* Generates a new keypair pk : char array that receives the new public key sk : char array that receives the new secret key */ int crypto_sign_keypair(unsigned char ...
2.796875
3
2024-11-18T22:28:32.053678+00:00
2021-06-04T19:26:17
a3254c523b0783ae8d00089920222769cf5af343
{ "blob_id": "a3254c523b0783ae8d00089920222769cf5af343", "branch_name": "refs/heads/master", "committer_date": "2021-06-04T19:26:17", "content_id": "86b335cf3e4849f8a49916e55a6e75ba75ca67bd", "detected_licenses": [ "MIT" ], "directory_id": "2edc954687da8761f0ad6b8ee76343c4c46c42cc", "extension": "c"...
stackv2
/* * Copyright (C) 2009-2011 by Benedict Paten (benedictpaten@gmail.com) * * Released under the MIT license, see LICENSE.txt */ #include "cactusGlobalsPrivate.h" //////////////////////////////////////////////// //////////////////////////////////////////////// //////////////////////////////////////////////// //Bas...
2.296875
2
2024-11-18T22:28:32.112899+00:00
2021-03-06T21:39:41
56ee8db9349313273c8648bdb970793d90fcec21
{ "blob_id": "56ee8db9349313273c8648bdb970793d90fcec21", "branch_name": "refs/heads/master", "committer_date": "2021-03-06T21:39:41", "content_id": "ccd0dbaa1429d44f015a7630aba5f6e674430c8a", "detected_licenses": [ "MIT" ], "directory_id": "3106434164e3d1597c70047a2e44845c42aeaf4d", "extension": "c"...
stackv2
#include <stdio.h> #define ARRAY_LENGTH (sizeof in/sizeof in[0]) /* move-zeroes: move the 0s in an array of integers to the end of the array. * The two arrays must be of equal len, and the out array must be initialized * to zero. */ void move_zeros(int in[], int out[], size_t len) { size_t i, j; for (i = 0, j = 0;...
3.578125
4
2024-11-18T22:28:32.219140+00:00
2021-07-30T11:30:31
a0fc6605fa0b41b3fa9bb24a92bba424f2841c89
{ "blob_id": "a0fc6605fa0b41b3fa9bb24a92bba424f2841c89", "branch_name": "refs/heads/main", "committer_date": "2021-08-16T14:00:09", "content_id": "2f3bf891261492308548807e1a57ab9ba68b9806", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "3bb47b4dc23e3298af21dee2dc9a87fbd48c367f", "extensio...
stackv2
#include <stdint.h> #include <stdio.h> #include "clientMacros.h" #include "_TPM_Init_fp.h" #include "hal.h" #include "tis.h" #include <api.h> #define TPM_MAX_RESPONSE 2048 #define b2u32(x) (((x)[0] << 24) | ((x)[1] << 16) | ((x)[2] << 8) | ((x)[3])) uint8_t buf[TPM_MAX_RESPONSE] = {0}; int main() { hal_setup(); fo...
2.21875
2
2024-11-18T22:28:32.644699+00:00
2016-06-28T02:37:06
c9aa74c19d38f5855deec5804c4c59beb25ed49e
{ "blob_id": "c9aa74c19d38f5855deec5804c4c59beb25ed49e", "branch_name": "refs/heads/master", "committer_date": "2016-06-28T02:37:06", "content_id": "c4a23b56452b10a0b861ebd9a7ae472c72631946", "detected_licenses": [ "MIT" ], "directory_id": "2a586af506f0e9f44429cf16940baf02bf786a97", "extension": "c"...
stackv2
#include "skynet.h" #include "skynet_module.h" #include "spinlock.h" #include <assert.h> #include <string.h> #include <dlfcn.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> /* 最多只能容纳 MAX_MODULE_TYPE 个服务模块 */ #define MAX_MODULE_TYPE 32 /* 所有服务模块的收集器结构 */ struct modules { int count; ...
2.65625
3
2024-11-18T22:28:34.207350+00:00
2013-01-28T10:56:54
b454035132afc43f6ae09d88ec2528c6e6b3cb75
{ "blob_id": "b454035132afc43f6ae09d88ec2528c6e6b3cb75", "branch_name": "refs/heads/master", "committer_date": "2013-01-28T10:56:54", "content_id": "7e9769a39184edbfbd4a9fe89f14d756afd5f0a4", "detected_licenses": [ "MIT" ], "directory_id": "13fc16af348854c3e8ef84351ed623917d21a247", "extension": "h"...
stackv2
#ifndef __DEVICEHIVE_PARAMETER_H__ #define __DEVICEHIVE_PARAMETER_H__ #include "DataTypes.h" #ifdef __cplusplus extern "C" { #endif // __cplusplus /** @ingroup Types @brief The parameter metadata. @details This structure defines a command or notification parameter metadata, according to binary protocol specificatio...
2.421875
2
2024-11-18T22:28:34.343060+00:00
2016-11-16T12:21:43
9cd5f05199b36a4040e71cedf59d87274f6c9d44
{ "blob_id": "9cd5f05199b36a4040e71cedf59d87274f6c9d44", "branch_name": "refs/heads/master", "committer_date": "2016-11-16T12:21:43", "content_id": "2de9f319c0836a2dc19d638dc5bd87d1898a6549", "detected_licenses": [ "MIT" ], "directory_id": "7b42a5e763d6d2cc2b35c4b0c5bb0d0d46bd1d1c", "extension": "c"...
stackv2
#include <avr/io.h> #include <stdint.h> #include "spi.h" #include "dataflash.h" void dataflash_opcode_and_address (unsigned char opcode, unsigned int page, unsigned int offset) { SPI_MasterTransfer(opcode); SPI_MasterTransfer((unsigned char)(page >> 7) & 0x1f); SPI_MasterTransfer(((unsigned char)(offset >> 8) &...
2.59375
3
2024-11-18T22:28:34.825016+00:00
2016-05-14T07:52:46
d38225a1e5a85ac691f757c896566f1293632301
{ "blob_id": "d38225a1e5a85ac691f757c896566f1293632301", "branch_name": "refs/heads/master", "committer_date": "2016-05-14T07:52:46", "content_id": "6cf3ba2cdd6bbee8cee751896d0aeb8dbd0c39e0", "detected_licenses": [ "MIT" ], "directory_id": "e9c262022beb2a9a8e8dc61e527098605e589a53", "extension": "c"...
stackv2
#include <netinet/udp.h> #include "diskwriter.h" void decodeUDP(session_t *s, void *udpheader, uint16_t len) { struct udphdr *header = (struct udphdr *)udpheader; s->src.port = ntohs(header->source); s->dest.port = ntohs(header->dest); int direction; session_t *sesh = getSessionID( s, &direction ); if( sesh == N...
2.34375
2
2024-11-18T22:28:34.913560+00:00
2017-11-01T18:46:23
a54cffcf2c988a8187ddacae219abfc3597223b9
{ "blob_id": "a54cffcf2c988a8187ddacae219abfc3597223b9", "branch_name": "refs/heads/master", "committer_date": "2017-11-01T18:46:23", "content_id": "1c6e4823eb7e7418cddb8dccec5043d4a59b7f4a", "detected_licenses": [ "Unlicense" ], "directory_id": "2e35b199b3a47bc13b7590c3e3517c90a5caa3c0", "extension...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/sem.h> void second(int nsec){ struct timespec tim; tim.tv_sec = 0; tim.tv_nsec = nsec * 1000000L; char first[7] = {'S', 'e', 'c', 'o', 'n', 'd', ' '}; for(int i = 0;...
2.78125
3
2024-11-18T22:28:35.224585+00:00
2020-06-15T04:01:26
90b6c814e2efb3332f13b0a6543e52c9859f8567
{ "blob_id": "90b6c814e2efb3332f13b0a6543e52c9859f8567", "branch_name": "refs/heads/master", "committer_date": "2020-06-15T04:01:26", "content_id": "a3895eb263550d7a35c4b1c435244a8640ae957b", "detected_licenses": [ "MIT" ], "directory_id": "4b84535a6d8d4ab021c4e946d08c5715b69b4144", "extension": "c"...
stackv2
/* -*- coding: utf-8-with-signature; tab-width: 8; indent-tabs-mode: t; -*- */ /* * Suika 2 * Copyright (C) 2001-2016, TABATA Keiichi. All rights reserved. */ /* * [Changes] * 2001-10-03 作成 [KImage@VNStudio] * 2002-03-10 アルファブレンド対応, 乗算テーブル [VNImage@西瓜Studio] * 2004-01-05 MMX対応 [LXImage@Texture Alpha Maker]...
2.25
2
2024-11-18T22:28:35.336038+00:00
2018-04-23T21:23:41
f05e00241f70e64312f16b3f146057b75d2a185b
{ "blob_id": "f05e00241f70e64312f16b3f146057b75d2a185b", "branch_name": "refs/heads/develop", "committer_date": "2018-04-23T21:23:41", "content_id": "9fce90366673efba364c1d208c467d7466933b4e", "detected_licenses": [ "BSL-1.0" ], "directory_id": "d8860eb725a51fd0ef814bebfb8abaa8a807996d", "extension"...
stackv2
/* *********************************************************************** */ /* *********************************************************************** */ /* MREGION Memory-mapped Region Library Source Code Module */ /* *********************************************************************** */ /* File Name :...
2.0625
2
2024-11-18T22:28:35.412003+00:00
2017-11-16T22:07:14
92ec35714f85f1e97fa801fcd2f36a87a5b8648b
{ "blob_id": "92ec35714f85f1e97fa801fcd2f36a87a5b8648b", "branch_name": "refs/heads/master", "committer_date": "2017-11-16T22:07:14", "content_id": "fb20cc7c3c998e6e5fa5b7bd30182fd0a21dced7", "detected_licenses": [ "MIT" ], "directory_id": "eacc45aaa0cbff47bcc106ba2831fa3c72de4148", "extension": "c"...
stackv2
#include <sys/attribs.h> #include <plib.h> // Microchip PIC32MX Peripheral Library //Defines #include <stdint.h> #include <sys/attribs.h> #include <proc/p32mx340f512h.h> #define SYSCLK (8000000) #define BAUDRATE (9600) #define INPUT 1 #define OUTPUT 0 #define HIGH 1 #define LOW 0 #define INVERT_LED (LATFINV = 0b10) ...
2.390625
2
2024-11-18T22:28:36.353988+00:00
2018-06-13T12:10:25
e61dc2656483e93e3e6e19c9c5a411245fb87097
{ "blob_id": "e61dc2656483e93e3e6e19c9c5a411245fb87097", "branch_name": "refs/heads/master", "committer_date": "2018-06-13T12:10:25", "content_id": "8fee4576794db316b2c7b273cf98fb76cabfa4e5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "769364082ec5e848cc4bdd9599c055d0d65e6c4e", "extensio...
stackv2
#include <lpc17xx.h> void delay_ms(double tms) { unsigned long i = SystemCoreClock * (tms / 5000); while(i--); // this line wastes 5 cpu cycle } int main() { /* set GPIO pin number 1.23 as an output */ LPC_GPIO1->FIODIR |= 1 << 23; while(1) { LPC_GPIO1->FIOSET |= 1 << 23; delay_ms(2000); LPC_GPIO1->FIOC...
2.4375
2
2024-11-18T22:28:36.443536+00:00
2015-12-22T11:04:08
4d93cdf18420e1b0a412c04f82edada5051a1ecb
{ "blob_id": "4d93cdf18420e1b0a412c04f82edada5051a1ecb", "branch_name": "refs/heads/master", "committer_date": "2015-12-22T11:04:08", "content_id": "3e87cf4497d8210642c2aa107c96f84c02302436", "detected_licenses": [ "MIT" ], "directory_id": "3d891c703b14f6494e78266f267e1da44004854b", "extension": "c"...
stackv2
#include <avr/io.h> #include "timer.h" #include "menu.h" #include "menu/home.h" #include "menu/timerselect.h" #include "dcf77.h" #include "../Display/c/lcd.h" #include "../../lib/c/bitmanipulation.h" menu_t menu[2] = { { .actions = { home_up, home_down, home_left, home_right, home_e...
2.640625
3
2024-11-18T22:28:36.548454+00:00
2017-01-13T05:26:59
fb42923dffc1b3be0609b86de182c788dbe6ae05
{ "blob_id": "fb42923dffc1b3be0609b86de182c788dbe6ae05", "branch_name": "refs/heads/master", "committer_date": "2017-01-13T05:26:59", "content_id": "450c55a485bc3aff6678f911f002bdf8cbd74486", "detected_licenses": [ "MIT" ], "directory_id": "a10598f198797060210f586780a91bd6dd920ab0", "extension": "h"...
stackv2
// // Copyright 2017 Garrett D'Amore <garrett@damore.org> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses/MIT....
2.109375
2
2024-11-18T22:28:37.103021+00:00
2015-08-14T11:15:02
ec0ef44e20a7cb73c53e150e05bb3e0c46116940
{ "blob_id": "ec0ef44e20a7cb73c53e150e05bb3e0c46116940", "branch_name": "refs/heads/master", "committer_date": "2015-08-14T11:15:02", "content_id": "980e80abee098e55687d12c8c6cb1949c4bd6da7", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "4b6cf4514a397ad6c0af538995c4b8c018b393f9", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> //#include <conio.h> //#include <time.h> #include <string.h> #include "tetris.h" #include <display.h> #include <printf.h> #include <keyboard.h> #include <uart.h> #define HARD_RAND int main() { int time = 0; //タイマをリセット int i, x, y; total_point = 0; for(x = 0; x ...
2.59375
3
2024-11-18T22:28:37.209159+00:00
2020-03-01T19:33:09
1b0598eb5e8b3283e00482c8666715c29d436527
{ "blob_id": "1b0598eb5e8b3283e00482c8666715c29d436527", "branch_name": "refs/heads/master", "committer_date": "2020-03-01T19:33:09", "content_id": "35b64c5d122c2c5489403dd5827e5221c1ea9cde", "detected_licenses": [ "MIT" ], "directory_id": "de2a5f50ecd0c6b48023954b6dc02c7f0522e6c1", "extension": "h"...
stackv2
// ------------------------------------------------- // LCD functions void Lcd_Port(char a) { if(a & 1) D4 = 1; else D4 = 0; if(a & 2) D5 = 1; else D5 = 0; if(a & 4) D6 = 1; else D6 = 0; if(a & 8) D7 = 1; else D7 = 0; } int retard=10; //4 void Lcd_Cmd(char a) { RS = 0; // => RS...
2.890625
3
2024-11-18T22:28:37.667168+00:00
2021-09-29T17:05:26
d84968e67b847da6f84466d5d46202bf5d027f3b
{ "blob_id": "d84968e67b847da6f84466d5d46202bf5d027f3b", "branch_name": "refs/heads/master", "committer_date": "2021-09-29T17:05:26", "content_id": "1b94f2734e528e835861f0e1734dc0dfe8976379", "detected_licenses": [ "MIT" ], "directory_id": "79080a23aada9b5f6bcb4951a98e55f4262de888", "extension": "h"...
stackv2
#ifndef ERR_H #define ERR_H #include "../include/token.h" extern void fatal_token_error(const char* error, struct Token* token); extern void fatal_error(const char* error); extern void fatal_compiler_error(const char* error, const char* s1, int line); extern void token_warning(const char* warning, struct Token* to...
2.0625
2
2024-11-18T22:28:37.756684+00:00
2021-07-03T12:56:03
847a98fbd9f91ec70c9b05090cbe6010a815f888
{ "blob_id": "847a98fbd9f91ec70c9b05090cbe6010a815f888", "branch_name": "refs/heads/master", "committer_date": "2021-07-03T12:56:03", "content_id": "46fb4c305321145a84e3780fe7fe175183c261ed", "detected_licenses": [ "MIT" ], "directory_id": "a75d9050638778ae72260cb9d88fc74ce2ba33a2", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main() { int N = 0, CurrentCounter = 0, BiggestCounter = 0, FrequentEl = 0; //CurrentCounter - текущее число повторений //BiggestCounter - наибольшее число повторений //FrequentEl - наиболее часто встречающийся элемент int * Array = NULL; printf("Input N = "); ...
3.34375
3
2024-11-18T22:28:37.842376+00:00
2018-11-22T14:44:07
fea2ca3dce237aa8b7e064d193915bffc1b224c5
{ "blob_id": "fea2ca3dce237aa8b7e064d193915bffc1b224c5", "branch_name": "refs/heads/master", "committer_date": "2018-11-22T14:44:07", "content_id": "0d731b9e59f9ba589794c55816511f8ceca1ac49", "detected_licenses": [ "MIT" ], "directory_id": "b23c2095879a08175f77b7ae9480022cf24f1352", "extension": "c"...
stackv2
/* ** move.c for game in /home/arbona/tek1/MUL/wolf3d/bonus ** ** Made by Thomas ARBONA ** Login <thomas.arbona@epitech.eu> ** ** Started on Sat Jan 7 18:04:03 2017 Thomas ARBONA ** Last update Tue Jan 17 22:49:46 2017 Thomas ARBONA */ #include <SFML/System/Vector2.h> #include "game/enemy/enemy.h" #include "level/l...
2.578125
3
2024-11-18T22:28:38.144258+00:00
2021-11-22T08:42:08
54ad6fc9f8183e79d57b755d2883112b67778f13
{ "blob_id": "54ad6fc9f8183e79d57b755d2883112b67778f13", "branch_name": "refs/heads/main", "committer_date": "2021-11-22T08:42:08", "content_id": "840084e4efe154ef9b40731107605a2609ed7373", "detected_licenses": [ "MIT" ], "directory_id": "3e229112d075dd98638ec18edb154d9a209e0022", "extension": "h", ...
stackv2
#ifndef LIST_H_ #define LIST_H_ #include <stdbool.h> #define TSIZE 45 struct film { char title[TSIZE]; int rating; }; typedef struct film Item; typedef struct node { Item item; struct node * next; } Node; typedef struct list { Node * head; Node * end; } List; /* operation initialize a list */...
2.625
3
2024-11-18T22:28:38.312096+00:00
2019-11-04T17:45:49
f2736d76c407f072cb52c899825721c302bcaff2
{ "blob_id": "f2736d76c407f072cb52c899825721c302bcaff2", "branch_name": "refs/heads/master", "committer_date": "2019-11-04T17:45:49", "content_id": "77c7867f9470115c9fc65b01dd4377adba1ae609", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ae120a22af7664f5aeccdd8ddeaf197b057b6356", "extens...
stackv2
#ifndef RESIST_BITMASK_H #define RESIST_BITMASK_H #define resist_bitmask_chunk_t unsigned char const size_t BITS_PER_CHUNK = CHAR_BIT * sizeof(resist_bitmask_chunk_t); /* Bitmask type. */ struct resist_bitmask_t { size_t size; /* Number of bits */ size_t num_chunks; /* Number of chu...
2.515625
3
2024-11-18T22:28:39.025562+00:00
2023-02-28T15:06:32
f23b1a11037882a2ada50fd4700b22e27ac82993
{ "blob_id": "f23b1a11037882a2ada50fd4700b22e27ac82993", "branch_name": "refs/heads/master", "committer_date": "2023-02-28T15:06:32", "content_id": "b87281b92e35ae6d666446cdbf5851ff1098ef9d", "detected_licenses": [ "MIT", "Apache-2.0" ], "directory_id": "120c112ce63daaa939438e0b6f9390634af0f7ae", ...
stackv2
/* SPDX-License-Identifier: Apache-2.0 OR MIT * * SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc. */ #include <rbtree.h> #include <stdint.h> #include <hse/util/event_counter.h> #include <hse/util/platform.h> #include <hse/util/slab.h> #include "kvdb_ctxn_pfxlock.h" /* clang-format off */ struct k...
2.28125
2
2024-11-18T22:28:39.210707+00:00
2019-04-10T10:19:11
ceff601af5311081b97af873865f36c1cfc8fd01
{ "blob_id": "ceff601af5311081b97af873865f36c1cfc8fd01", "branch_name": "refs/heads/master", "committer_date": "2019-04-10T10:19:11", "content_id": "5a8c0773ed9fc1e74ffb784056318cdbe747ffc1", "detected_licenses": [ "MIT" ], "directory_id": "dfb904f6641df0a71a6637733a5378d45f4c12ea", "extension": "h"...
stackv2
/* * LEV-CAN: Light Electric Vehicle CAN protocol, parameters manager * levcan_param.h * * Created on: 17 march 2018 * Author: Vasiliy Sukhoparov (VasiliSk) */ #include "stdint.h" #include "levcan.h" #pragma once //parameter size type, used in slaves typedef enum { VT_uint8, VT_int8, VT_uint16, VT_int16,...
2.21875
2
2024-11-18T22:28:39.902058+00:00
2021-06-26T01:49:42
2d6249739708f382931cfbb38e0aa93d63866ac7
{ "blob_id": "2d6249739708f382931cfbb38e0aa93d63866ac7", "branch_name": "refs/heads/main", "committer_date": "2021-06-26T01:49:42", "content_id": "e41275ef1baf085be6bd7348e22fc6c14567cb7f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "434a71d605088f3f48803cb74083b4cd416230ea", "extension"...
stackv2
#ifndef _MQTTKIT_H_ #define _MQTTKIT_H_ #include "Common.h" //=============================配置============================== //===========可以提供RTOS的内存管理方案,也可以使用C库的========= // RTOS #include <stdlib.h> #define MQTT_MallocBuffer malloc #define MQTT_FreeBuffer free //=====================================================...
2.125
2
2024-11-18T22:28:40.209626+00:00
2016-10-18T08:52:41
38805e96f11283c11b515bd009c64edce6e48fec
{ "blob_id": "38805e96f11283c11b515bd009c64edce6e48fec", "branch_name": "refs/heads/master", "committer_date": "2016-10-18T08:52:41", "content_id": "5e3b6ed78d0bb0bc05b3763400614174b1fe679b", "detected_licenses": [ "MIT" ], "directory_id": "ffe19f5b015cc64f08a9fe7e666677be87036840", "extension": "c"...
stackv2
#include <stdio.h> #include <unistd.h> int main(int argc, char **argv){ int opt; while((opt = getopt(argc, argv, "abcd:e:"))!= -1){ printf("%c", opt); switch (opt){ case 'a': case 'b': case 'c': printf("%c \n", opt); break; case 'd': case 'e':...
2.671875
3
2024-11-18T22:28:40.401812+00:00
2021-08-18T02:38:08
635be516ddece7d02653d7b8be16417330f8b61b
{ "blob_id": "635be516ddece7d02653d7b8be16417330f8b61b", "branch_name": "refs/heads/master", "committer_date": "2021-08-18T02:38:08", "content_id": "b06ff3155adad88beb7cd830e2cd39962b579d52", "detected_licenses": [ "Apache-2.0", "curl" ], "directory_id": "11ddbb17eebddb29a4dbd2e89cf1e403a4e5942d",...
stackv2
#ifndef v1beta1_subject_access_review_status_TEST #define v1beta1_subject_access_review_status_TEST // the following is to include only the main from the first c file #ifndef TEST_MAIN #define TEST_MAIN #define v1beta1_subject_access_review_status_MAIN #endif // TEST_MAIN #include <stdlib.h> #include <string.h> #incl...
2.515625
3
2024-11-18T22:28:40.982674+00:00
2017-12-22T02:24:42
1cd24b85f3fa42136d222bdf35f1fa3dfb88edb7
{ "blob_id": "1cd24b85f3fa42136d222bdf35f1fa3dfb88edb7", "branch_name": "refs/heads/master", "committer_date": "2017-12-22T02:24:42", "content_id": "14567c5e26984f55f08aa835757cbd9804b2391b", "detected_licenses": [ "MIT" ], "directory_id": "546ab2810602dd34a3450f4e31cd66856f79d98a", "extension": "c"...
stackv2
#include "loader.h" void *gles = NULL, *egl = NULL; void *open_lib(const char **names, const char *override) { void *lib = NULL; char path_name[PATH_MAX + 1]; int flags = RTLD_LOCAL | RTLD_NOW; #ifdef RTLD_DEEPBIND flags |= RTLD_DEEPBIND; #endif if (override) { if ((lib = dlopen(override,...
2.234375
2
2024-11-18T22:28:42.969075+00:00
2014-11-04T23:15:22
a6151348e20845cb9478803e4baea6b348c01336
{ "blob_id": "a6151348e20845cb9478803e4baea6b348c01336", "branch_name": "refs/heads/master", "committer_date": "2014-11-04T23:15:22", "content_id": "d9e3f59a6a044c3098788c790dcd77913e939f83", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "70214efa2467f6c567b805dc923c0d288bf92733", "extens...
stackv2
#include <petsc-private/matimpl.h> /*I "petscmat.h" I*/ typedef struct { IS isrow,iscol; /* rows and columns in submatrix, only used to check consistency */ Vec left,right; /* optional scaling */ Vec olwork,orwork; /* work vectors outside the scatters, only touche...
2.3125
2
2024-11-18T22:28:43.178480+00:00
2023-09-02T14:55:31
84e12a2e6a82ef57854b6bb778092c76140f012a
{ "blob_id": "84e12a2e6a82ef57854b6bb778092c76140f012a", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T14:55:31", "content_id": "4a60dd511957749050fecab28e323e98ff87682f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8838eb997879add5759b6dfb23f9a646464e53ca", "extens...
stackv2
/** * @file * @brief Header file for AT91 LCD Controller. * * @date 11.10.10 * @author Nikolay Korotky * @author Daria Dzendzik */ #ifndef NXT_LCD_H_ #define NXT_LCD_H_ #include <stdint.h> #define NXT_LCD_DEPTH 8 #define NXT_LCD_WIDTH 100 #define N_CHARS 128 #define FONT_WIDTH 5 #define CE...
2.234375
2
2024-11-18T22:28:43.250845+00:00
2019-02-10T09:57:42
8ceb004d17667589275d9f0e4c34a69db4bcd814
{ "blob_id": "8ceb004d17667589275d9f0e4c34a69db4bcd814", "branch_name": "refs/heads/master", "committer_date": "2019-02-10T09:57:42", "content_id": "0c10feb38bb634bf22149cbfe1d6790730aac42c", "detected_licenses": [ "MIT" ], "directory_id": "e615fffb7e98d8046d6c512bab36783408775ed9", "extension": "h"...
stackv2
#ifndef MGL_ERROR_H #define MGL_ERROR_H #include <mgl/type.h> #include <mgl/api_utils.h> #ifdef __cplusplus extern "C" { #endif // __cplusplus #include <assert.h> enum { MGL_ERROR_NONE = 0x00000000, MGL_ERROR_EXTERNAL = 0x00000001, MGL_ERROR_OVERFLOW = 0x00000002, MGL_ERROR_UNDERFLOW ...
2.078125
2
2024-11-18T22:28:43.534582+00:00
2019-05-05T04:22:19
fadbe234b6be6cc41d7d07a2c76416dad1084775
{ "blob_id": "fadbe234b6be6cc41d7d07a2c76416dad1084775", "branch_name": "refs/heads/master", "committer_date": "2019-05-05T04:22:19", "content_id": "c0218b2aa66bdc949db8c9fea2b5e6f47d41e664", "detected_licenses": [ "MIT" ], "directory_id": "bb17163be2226a19fce789813cc2cca66d978501", "extension": "c"...
stackv2
// // Created by marcelo on 20/04/19. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include "datatype.h" #include "utils.h" Student *setStudent() { Student *student = (Student *) malloc(sizeof(Student)); student->name = readDynamicString(); scanf("%f %i %i", &student->score, &student->firstOption,...
2.75
3
2024-11-18T22:28:43.592647+00:00
2022-07-02T11:17:44
846d255df9440fc2b66e34cab552c10e5f767f0a
{ "blob_id": "846d255df9440fc2b66e34cab552c10e5f767f0a", "branch_name": "refs/heads/master", "committer_date": "2022-07-02T11:17:44", "content_id": "42771118f22b1075a440ab16864652a068a1389a", "detected_licenses": [ "Unlicense" ], "directory_id": "03b2c80dbc41e904b167d504666e27d798da5447", "extension...
stackv2
#include "bignum.h" #include "cmpl.h" #include "cmpl_multi.h" #include "condition.h" #include "integer.h" #include "math_type.h" #include "ratio.h" #include "rational.h" #include "rational_equal.h" #include "rational_multi.h" #include "rational_plus.h" #include "real.h" /* * multiple */ static int multi_real_comple...
2.265625
2
2024-11-18T22:28:43.655127+00:00
2022-11-25T14:31:40
0a7938b6dc1fb8ce03c7bc96683ae1592809d53e
{ "blob_id": "0a7938b6dc1fb8ce03c7bc96683ae1592809d53e", "branch_name": "refs/heads/main", "committer_date": "2022-11-25T14:31:40", "content_id": "871a13dc40d76c8948f2f93bf9ef5e59e4c04a6d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c6bbd226758134f7057e381234b14ab0e5f19410", "extensio...
stackv2
/* filepath.c * * Common path string manipulation routines. */ #include <string.h> #include "pjassert.h" #include "errcodes.h" #include "filepath.h" #include "linklist.h" #include "memory.h" #include "textutil.h" enum { MAX_DEV_LEN = 4 }; typedef struct filepathnode { Dlnode dl; char name[1]; /* node name + NU...
2.84375
3