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-18T21:34:07.226252+00:00
2013-08-21T21:31:53
4c52a134a40207d24790f0209caee6877922426b
{ "blob_id": "4c52a134a40207d24790f0209caee6877922426b", "branch_name": "refs/heads/master", "committer_date": "2013-08-21T21:31:53", "content_id": "06cbc5c4ea2ad6117d6c32b5b93bd6aa0013f8c1", "detected_licenses": [ "MIT" ], "directory_id": "8f6f674f61a4046a834c1b5d3cfd1548864fcd44", "extension": "h"...
stackv2
#ifndef _DEBUG_H_ #define _DEBUG_H_ #include <stdio.h> #define DISABLE_DEBUG //#define DEBUG_MODULE "VESA" //#define DEBUG_VAR VESA_flags #ifdef __cplusplus extern "C" { #endif #ifndef DEBUG_MODULE #pragma msg "DEBUG_MODULE not defined!" #endif /* DEBUG_MODULE */ #ifdef DISABLE_DEBUG #define DEBUG_msg...
2.0625
2
2024-11-18T21:34:07.359156+00:00
2021-04-20T17:35:27
ef1dc5b9b42d2e0819e0589f2943b9ac6a0fb424
{ "blob_id": "ef1dc5b9b42d2e0819e0589f2943b9ac6a0fb424", "branch_name": "refs/heads/master", "committer_date": "2021-04-20T17:35:27", "content_id": "e5929239640c67e51c0c083eb600d8503211d8c9", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7516a552047ec0a98def02663e3cbe4d161da9ee", "extensio...
stackv2
extern void __VERIFIER_error() __attribute__ ((__noreturn__)); #include "pthread.h" #define assume(e) __VERIFIER_assume(e) #define assert_nl(e) { if(!(e)) { goto ERROR; } } #define assert(e) { if(!(e)) { ERROR: __VERIFIER_error();(void)0; } } int m = 0; void __VERIFIER_atomic_acquire() { /* reachable */ assume(m=...
2.640625
3
2024-11-18T21:34:07.763660+00:00
2015-12-07T10:18:39
c6d7eda412400d1ed9e4ae134de0eff177025623
{ "blob_id": "c6d7eda412400d1ed9e4ae134de0eff177025623", "branch_name": "refs/heads/master", "committer_date": "2015-12-07T10:18:39", "content_id": "cad99d88733a9329aae207852a3a5c02b9d70caf", "detected_licenses": [ "MIT" ], "directory_id": "4fdab58dc32c70e61713b2438ed2ae8e4b8668af", "extension": "c"...
stackv2
/** * \file callback.c * \brief Contains actionFunc callback functions * \author Tim Cochrane (17766247) * @bug No known bugs. */ #include "callback.h" /** * \brief Prompt the user for a decision on suggested correction. * * @param word Pointer to a word identified as being misspelt. * @param suggestion Poin...
3.203125
3
2024-11-18T21:34:08.092041+00:00
2021-04-06T09:56:02
c5fa8dd4c4d1c1b26bfefba61175cbd2a8da7f9e
{ "blob_id": "c5fa8dd4c4d1c1b26bfefba61175cbd2a8da7f9e", "branch_name": "refs/heads/main", "committer_date": "2021-04-06T09:56:02", "content_id": "1f94ae05c24771f6e9c7e26b1900ccb5191404a8", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c3978deb0f0e3df045b592e4499323811bcb6845", "extensio...
stackv2
/* By Liyanboy74 https://github.com/liyanboy74 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <math.h> #include "bmp.h" #include "color.h" char ask_SwapBytes='N'; static void SwapBytes(uint16_t *color) { uint8_t temp = *color >> 8; *color = (*color << 8) | temp;...
2.859375
3
2024-11-18T21:34:08.179816+00:00
2020-05-17T10:26:31
06dcc13d1b4ad2a4cf77d3e52c68dab69c0243db
{ "blob_id": "06dcc13d1b4ad2a4cf77d3e52c68dab69c0243db", "branch_name": "refs/heads/master", "committer_date": "2020-05-17T10:26:31", "content_id": "d2611aebcb12a31bfab8832666aeb186d6baf744", "detected_licenses": [ "MIT" ], "directory_id": "24103c7a3fc38a4d7bccc78c41b6f7366b5ee279", "extension": "c"...
stackv2
// pivot.c C99 Author, D. Bolton 2020. dhbolton.com #include <stdio.h> #include <stdlib.h> // Must be included for malloc to work correctly #include <sys/stat.h> #include <ctype.h> #include <io.h> #include <share.h> #include <string.h> #include "sodium.h" #include <fcntl.h> #include <time.h> // This encryption work...
2.609375
3
2024-11-18T21:34:11.128537+00:00
2018-08-28T14:04:23
593ee55bda8f47fb6efc95166f094908a1a6b2d1
{ "blob_id": "593ee55bda8f47fb6efc95166f094908a1a6b2d1", "branch_name": "refs/heads/master", "committer_date": "2018-08-28T14:04:23", "content_id": "5f9ba7118fe01bc9870590bacc1334169a7e959d", "detected_licenses": [ "MIT" ], "directory_id": "9b1f21cf1a440dd9a8c5f75234b838fce7e79431", "extension": "c"...
stackv2
/* INF01142 - Sistemas Operacionais I T2FS - 2017/1 Testes dos métodos de API: truncate Desenvolvido por Francisco Knebel */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "libs.h" #define IDENTIFY_SIZE 80 int read(int handle, int size, char* buffer) { if(handle < 0) { printf("%...
3.40625
3
2024-11-18T21:34:11.954843+00:00
2019-06-26T19:12:50
3b38c31de7eb5b9aed74f67b9347aad140674c0d
{ "blob_id": "3b38c31de7eb5b9aed74f67b9347aad140674c0d", "branch_name": "refs/heads/globus_6_branch", "committer_date": "2019-06-26T19:12:50", "content_id": "e8856c558f6fa2e8898e3d6dc755836227db780a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d2555cc1c048de28a7fed4570ce539b1107062bb", ...
stackv2
/* * Copyright 1999-2006 University of Chicago * * 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...
2.265625
2
2024-11-18T21:34:16.412827+00:00
2015-07-15T14:46:51
439cc016d4126c94a5c750689f5edcc32349abe4
{ "blob_id": "439cc016d4126c94a5c750689f5edcc32349abe4", "branch_name": "refs/heads/master", "committer_date": "2015-07-15T14:46:51", "content_id": "f608a57e4e972413159d38b9cbc81f58e692ecaa", "detected_licenses": [ "MIT" ], "directory_id": "5981e3d638b81db8d0cbe99e573668523831cb0d", "extension": "c"...
stackv2
// // main.c // demo34 // // Created by weichen on 15/6/10. // Copyright (c) 2015年 weichen. All rights reserved. // #include <stdio.h> #include <stdlib.h> int main(int argc, const char * argv[]) { // 输入数据:输入数据时,先告诉你个数,然后再输入,要记录每个数据 // C99可以用变量做数组定义的大小,C99之前呢? // int *a = (int*)malloc(n*sizeof(int)); ...
3.375
3
2024-11-18T21:34:16.585137+00:00
2015-05-29T15:39:17
fa3295ef32af8077029ad598c89ec734e00c261b
{ "blob_id": "fa3295ef32af8077029ad598c89ec734e00c261b", "branch_name": "refs/heads/master", "committer_date": "2015-05-29T15:39:17", "content_id": "16548aba8a0add7f151b099f45138cb16a38dcc9", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "7a756264536488971c4166cc22d93a94f262fb81", "extens...
stackv2
#include "scheduler.h" #include "../mem/heap.h" #include "../gc/cycle.h" #include "../lang/socket.h" #include <string.h> #include <stdlib.h> typedef struct options_t { // concurrent options uint32_t threads; uint32_t cd_min_deferred; uint32_t cd_max_deferred; uint32_t cd_conf_group; size_t gc_initial; do...
2.515625
3
2024-11-18T21:34:16.639856+00:00
2021-06-28T08:12:41
6321011c35887de4bd2211a5fe5b23b8e461c386
{ "blob_id": "6321011c35887de4bd2211a5fe5b23b8e461c386", "branch_name": "refs/heads/master", "committer_date": "2021-06-28T08:12:41", "content_id": "e1f950faa6570a08d2fd61279d15c2e20e5e5db2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ddda55fcfc84ac5cd78cfc5c336a3df0b9096157", "extensio...
stackv2
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
2.359375
2
2024-11-18T21:34:16.832439+00:00
2021-06-23T12:34:58
0643f5d8a4c9d04d08cd7c580ec2bc401aa7fb65
{ "blob_id": "0643f5d8a4c9d04d08cd7c580ec2bc401aa7fb65", "branch_name": "refs/heads/main", "committer_date": "2021-06-23T12:34:58", "content_id": "310986d2996d614fa218b51e0a1a5acc6ec5a197", "detected_licenses": [ "MIT" ], "directory_id": "110d796225af0617952e6ad535a9cfd1adb99883", "extension": "c", ...
stackv2
#include <unistd.h> #include <signal.h> #include <stdio.h> int main(void) { sigset_t st; sigemptyset(&st); sigaddset(&st, SIGQUIT); sigaddset(&st, SIGILL); sigaddset(&st, SIGTRAP); if (sigismember(&st, SIGILL)) printf("SIGILL is setting\n"); // printf("Bit Pattern : %x\n", st.sig[0]); return 0; }
2.625
3
2024-11-18T21:34:17.192177+00:00
2022-12-09T19:54:39
b3aec61d422e8e1757e373433bbee3a66ad22906
{ "blob_id": "b3aec61d422e8e1757e373433bbee3a66ad22906", "branch_name": "refs/heads/master", "committer_date": "2022-12-09T19:54:39", "content_id": "ff01ccd7ecd25c3c3389aa63f9ff0b11e6229af3", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "fa294a32c055a07adb2497b77144c5a2f7f74df4", "extens...
stackv2
/* -------------------------------------------------------------------------- * Name: match.c * Purpose: Font matching * Author: David Thomas * ----------------------------------------------------------------------- */ #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "os...
2.125
2
2024-11-18T21:34:17.261022+00:00
2013-05-13T07:54:44
f000dc989b6abd492423059c3656bde03091e48d
{ "blob_id": "f000dc989b6abd492423059c3656bde03091e48d", "branch_name": "refs/heads/master", "committer_date": "2013-05-13T07:54:44", "content_id": "19b6d077200e8fbfe9b9215d98e7e9053ef77a6e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c095d06a41458b3f5f60e07d495ca9595dede7f6", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include "threadmgmt.h" void* function(void* arg) { int i = 0; while(1) printf("thread(%d) %p\n", arg, i++); return 0; } int main( void ) { if(thread_mgmt_init()) return -1; pthread_t t1, t2; pthread_create(&t1, NULL, fu...
2.71875
3
2024-11-18T21:34:17.557924+00:00
2017-02-05T07:54:40
6dc1a011aa55d063e3974fea7f6ab88deca5ec9b
{ "blob_id": "6dc1a011aa55d063e3974fea7f6ab88deca5ec9b", "branch_name": "refs/heads/master", "committer_date": "2017-02-05T07:54:40", "content_id": "9f24fd8f66295fdadfd3adffe02a8c968555ee25", "detected_licenses": [ "MIT" ], "directory_id": "9c72c671e471834cd80aab562e7b8026611b0ee1", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <libssh/libssh.h> #include "cwalter.h" static char *create_string(const char *str); static cwalter_config *cwalter_config_new( int port, char *user, char *pem, const char **ips, size_t ips_len); static int cwalt...
2.6875
3
2024-11-18T21:34:17.720342+00:00
2014-08-13T02:22:30
34e18f6616e65818ee8f2752a054db3dc405b285
{ "blob_id": "34e18f6616e65818ee8f2752a054db3dc405b285", "branch_name": "refs/heads/master", "committer_date": "2014-08-13T02:22:30", "content_id": "6403a52764e3689eb2c49f86e91e99d1e9800513", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "9fc40503cfa90babe5e89af8d83d047ed55168f4", "extens...
stackv2
/*======================================================================== # FileName: processor.h # Author: wangjian # Email: kuangrenyx@qq.com # Version: 1.0.0 # HomePage: http://www.xxxxxxxxx.cn # LastChange: 2013-10-24 12:14:50 ========================================================================...
2.53125
3
2024-11-18T21:34:18.037478+00:00
2021-09-27T04:56:35
46b7f4846cfdc196f68a2d331f20ecc6910e297a
{ "blob_id": "46b7f4846cfdc196f68a2d331f20ecc6910e297a", "branch_name": "refs/heads/master", "committer_date": "2021-09-27T04:56:35", "content_id": "cec21d4a24fedd3bfa4ea4a03e3b38611022377c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e731fd904b2f119c07172c586c6d1e868240f294", "extensio...
stackv2
#ifndef __SWM190_SPI_H__ #define __SWM190_SPI_H__ typedef struct { uint8_t FrameFormat; //帧格式:SPI_FORMAT_SPI、SPI_FORMAT_TI_SSI uint8_t SampleEdge; //在SPI帧格式下,选择数据采样边沿:SPI_FIRST_EDGE、SPI_SECOND_EDGE uint8_t IdleLevel; //在SPI帧格式下,选择空闲时(无数据传输时)时钟线的电平:SPI_LOW_LEVEL、SPI_HIGH_LEVEL uint8_t WordSize; //字长度, 有效值4-16...
2.328125
2
2024-11-18T21:34:18.608312+00:00
2019-08-11T18:01:50
8339c0b170527c17fdff409a2367b623858cb554
{ "blob_id": "8339c0b170527c17fdff409a2367b623858cb554", "branch_name": "refs/heads/master", "committer_date": "2019-08-11T18:01:50", "content_id": "3462b98f00378337141ca5ea1f3c56587b4c03d2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a7ce5123e1f6cbb71fdd41b2966cb52c2c90bd56", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include <time.h> #include "radix.h" void print(char **input, long input_size) { for (long i = 0; i < input_size; i++) { printf("%s\n", input[i]); } } void generate_data(char ***input, long n) { srand(time(NULL)); *input = malloc(n * sizeof(char**)); if (*input == NULL)...
3.125
3
2024-11-18T21:34:18.915206+00:00
2023-04-19T10:38:04
1803f41c43429262f803140c7ac75a9d8f3c5029
{ "blob_id": "1803f41c43429262f803140c7ac75a9d8f3c5029", "branch_name": "refs/heads/master", "committer_date": "2023-04-20T13:36:13", "content_id": "5323650b67e4bf6c26c3a30882116cd7ce66b060", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7e1cd9b94c0c8c443f993362dc185dfc35ceb963", "extens...
stackv2
/* BCM2835 "GPU_FFT" release 3.0 Copyright (c) 2015, Andrew Holme. 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 ...
2.21875
2
2024-11-18T21:34:19.056348+00:00
2021-07-06T17:44:33
ef83f25d62ed6750464afd9efe6c77bf416053b5
{ "blob_id": "ef83f25d62ed6750464afd9efe6c77bf416053b5", "branch_name": "refs/heads/main", "committer_date": "2021-07-06T17:44:33", "content_id": "f9f7e2efe168b8604904dcd8f4292d586768887c", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "91236af95be290bf87250be600887cc90bbe5e1b", "extensio...
stackv2
#ifndef GS_PIXEL_EDITOR_FONT_H #define GS_PIXEL_EDITOR_FONT_H #include <gs/gs.h> // For this font, Each glyph is monospaced, 5 x 7 pixels. // Total font size is 128 x 64. typedef struct font_glyph_t { u32 x; u32 y; u32 width; u32 height; } font_glyph_t; // 6 rows of font data to use * 18 columns // Total num gly...
2.328125
2
2024-11-18T21:34:19.113668+00:00
2021-05-18T03:39:01
42803dcd2dc0c5e8de71f8f7a4eb66cd3f5b5ef5
{ "blob_id": "42803dcd2dc0c5e8de71f8f7a4eb66cd3f5b5ef5", "branch_name": "refs/heads/main", "committer_date": "2021-05-18T03:39:01", "content_id": "d80c310b653bab435ae633b6c5bc4584036bc810", "detected_licenses": [ "MIT" ], "directory_id": "08c7d8b3f5d7924c474fab7f293743c8f04683d2", "extension": "c", ...
stackv2
#include<stdio.h> #include<stdlib.h> struct node{ int data; struct node *next; }; struct node *head=0,*next=0,*temp=0,*ptr=0; void create_node(struct node *ptr) { int data; printf("Enter the value:"); scanf("%d",&data); ptr->data=data; if(head == 0) { head=ptr; } else { temp=head; while(temp->next!=0...
3.078125
3
2024-11-18T21:34:19.204790+00:00
2019-08-21T18:09:59
b366c5a969db6007fd35d2944ddc10cc643e4a48
{ "blob_id": "b366c5a969db6007fd35d2944ddc10cc643e4a48", "branch_name": "refs/heads/master", "committer_date": "2019-08-21T18:09:59", "content_id": "267af2bba316e128cbfa13c6a70fb88acd6cfaaf", "detected_licenses": [ "MIT" ], "directory_id": "34de2b3ef4a2478fc6a03ea3b5990dd267d20d2d", "extension": "c"...
stackv2
/* Example program for without arguments & without return value: In this program, no values are passed to the function “test” and no values are returned from this function to main function. */ #include<stdio.h> void test(); int main() { test(); // function call return 0; ...
3.453125
3
2024-11-18T21:34:19.571723+00:00
2020-09-23T08:44:24
e562ac238401f247ee9d61828a86dc76cc870103
{ "blob_id": "e562ac238401f247ee9d61828a86dc76cc870103", "branch_name": "refs/heads/master", "committer_date": "2020-09-23T08:44:24", "content_id": "db91e1c4b081198b955fa21831b7714061aa4d7b", "detected_licenses": [ "MIT" ], "directory_id": "aec2407a460d3ad7a4ca248fcf53b076b23772b4", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* test.c :+: :+: :+: ...
2.953125
3
2024-11-18T21:34:20.030630+00:00
2023-08-11T13:02:43
d367ebaa3ad88f8a6b56a8eb688432f681d074da
{ "blob_id": "d367ebaa3ad88f8a6b56a8eb688432f681d074da", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T13:02:43", "content_id": "bfdce0c0651e6975e92444343ad7a7ed8ce41955", "detected_licenses": [ "MIT" ], "directory_id": "751d837b8a4445877bb2f0d1e97ce41cd39ce1bd", "extension": "c"...
stackv2
/* Introduction XOR is a digital logic gate that implements an exclusive or. Most of the times, this is shown as ^. The four possible outcomes in binary: 0 ^ 0 = 0 0 ^ 1 = 1 1 ^ 0 = 1 1 ^ 1 = 0 This can also be seen as addition modulo 2 in binary. In decimal, we need to convert the decimal to binary, 35 = 100011 an...
4.125
4
2024-11-18T21:34:20.125982+00:00
2020-08-25T20:21:40
06dd1259233a8c93e920ba1ed6453cc5c7ad2566
{ "blob_id": "06dd1259233a8c93e920ba1ed6453cc5c7ad2566", "branch_name": "refs/heads/main", "committer_date": "2020-08-25T20:21:40", "content_id": "6a0b6ce36b6d2394170f2e28c065b287ba581031", "detected_licenses": [ "NTP" ], "directory_id": "a364f5e25e4ec3563c2a6e366069488786927948", "extension": "c", ...
stackv2
/* $NetBSD: ntp_filegen.c,v 1.4 2000/01/21 17:08:40 mycroft Exp $ */ /* * ntp_filegen.c,v 3.12 1994/01/25 19:06:11 kardel Exp * * implements file generations support for NTP * logfiles and statistic files * * * Copyright (C) 1992, 1996 by Rainer Pruy * Friedrich-Alexander Universität Erlangen-Nürnberg, Germa...
2.15625
2
2024-11-18T21:34:20.747836+00:00
2023-08-19T04:53:58
5c3f65d295eaee298d82a4c27231bd328726490a
{ "blob_id": "5c3f65d295eaee298d82a4c27231bd328726490a", "branch_name": "refs/heads/master", "committer_date": "2023-08-19T04:53:58", "content_id": "f22ea78969d0effd6d0434896aba2d0419d81fba", "detected_licenses": [ "MIT" ], "directory_id": "f8fe6eec5dc1200a112a13dcd2102af4fccf2417", "extension": "c"...
stackv2
/*! * \file GasSpeciesAxialDispersion.h * \brief AuxKernel kernel to compute the axial dispersion for a given gas species * \details This file is responsible for calculating the axial dispersion in m^2/s * * * \author Austin Ladshaw * \date 04/21/2020 * \copyright This kernel was designed and built at...
2.140625
2
2024-11-18T21:34:20.836463+00:00
2022-02-15T09:10:52
62a9a6eefebd2f3982b959d39b8394a6db2a4406
{ "blob_id": "62a9a6eefebd2f3982b959d39b8394a6db2a4406", "branch_name": "refs/heads/master", "committer_date": "2022-02-15T09:10:52", "content_id": "194611beb7eb2d17c8642ac83e360b554df8c84e", "detected_licenses": [ "MIT" ], "directory_id": "03bd522386584f4563e96885a0d971bec5f51a0e", "extension": "c"...
stackv2
/* Lua System: Win32 specifics: Service */ #define WSVC_TYPENAME "sys.win32.service" typedef DWORD (WINAPI *svc_func_t) (void *); /* * Arguments: name (string), filename (string), [manual_start (boolean)] * Returns: [boolean] */ static int svc_install (lua_State *L) { const char *name = luaL_checkstring(L, 1);...
2.296875
2
2024-11-18T21:34:20.967844+00:00
2011-01-13T20:55:17
9c51cdfa888e197b89fe95e473ad93dc72cc5383
{ "blob_id": "9c51cdfa888e197b89fe95e473ad93dc72cc5383", "branch_name": "refs/heads/master", "committer_date": "2011-01-13T20:55:17", "content_id": "25d477ff107ca61f3f38a9b927f29107aca85eb0", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ba070d9edab491890319b5449bcf0f1794754e60", "extens...
stackv2
#include <stdlib.h> #include "iosocket.h" #include "sys-socket.h" #include "sys-files.h" #include "array-static.h" iosocket *iosocket_init(void) { STRUCT_INIT(iosocket, sock); sock->fde_ndx = -1; sock->fd = -1; sock->type = IOSOCKET_TYPE_SOCKET; #if defined USE_OPENSSL && ! defined OPENSSL_NO_TLSEXT sock->tls...
2.09375
2
2024-11-18T21:34:21.171088+00:00
2019-05-07T15:18:25
9ddedea212e7df4f7d6e26ba8537ba48fb022c13
{ "blob_id": "9ddedea212e7df4f7d6e26ba8537ba48fb022c13", "branch_name": "refs/heads/master", "committer_date": "2019-05-07T15:18:25", "content_id": "9a231aa02e0cf3a84de84641090cfbf94224b114", "detected_licenses": [ "MIT" ], "directory_id": "6eebe671de10bfd200d02db874bb6345a5f9a649", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> typedef struct { int id; char nombre[20]; char sexo; float sueldo; int idSector; int isEmpty; } eEmpleado; typedef struct { int id; char descripcion[20]; } eSector; typedef struct { int id; char descripcio[31]; int isEmpty; } eMenu; ...
2.71875
3
2024-11-18T21:34:21.431117+00:00
2018-04-05T09:52:50
f9270e8cdbfac254922ecfbc9ff76eb34949b31f
{ "blob_id": "f9270e8cdbfac254922ecfbc9ff76eb34949b31f", "branch_name": "refs/heads/master", "committer_date": "2018-04-05T09:52:50", "content_id": "606e53659da0274d805e258085920ef70a9f643b", "detected_licenses": [ "MIT" ], "directory_id": "4980c4985b7a650456ffb38be3395d40d64061d7", "extension": "h"...
stackv2
#ifndef _LINE_H_ #define _LINE_H_ #include <stdint.h> #include <stdbool.h> #define POINTS (8) #define LINE_EDGE_THRESHOLD (0.1) #define LINE_WIDTH (0.82) typedef struct { uint8_t data[POINTS]; float norm[POINTS]; uint8_t nCenter; float center; uint8_t nLeft; float left; uint8_t nRight; float rig...
2.21875
2
2024-11-18T21:34:21.514537+00:00
2021-08-09T07:15:05
834328be0860bb8600c12c7758ff26130bf8490b
{ "blob_id": "834328be0860bb8600c12c7758ff26130bf8490b", "branch_name": "refs/heads/master", "committer_date": "2021-08-09T07:15:05", "content_id": "5b3b2294acd33b448452cc9b10da1629e9ffc4dc", "detected_licenses": [ "MIT" ], "directory_id": "bb50580fe629765591af9cfdf157adc55191b345", "extension": "c"...
stackv2
/************************************************************************* > FileName: clib-array-list.c > Author : DingJing > Mail : dingjing@live.cn > Created Time: 2019年07月24日 星期三 16时45分35秒 ************************************************************************/ #include "clib-array-list.h" #include <stdlib.h>...
3.140625
3
2024-11-18T21:34:21.785483+00:00
2020-10-10T11:02:41
f08341c9d5ad5077fcdb9720617de95d486b6b76
{ "blob_id": "f08341c9d5ad5077fcdb9720617de95d486b6b76", "branch_name": "refs/heads/master", "committer_date": "2020-10-10T11:02:41", "content_id": "02a3892941b57671d4311d3279d401d4fe7a71ad", "detected_licenses": [ "MIT" ], "directory_id": "ae081007998f2fd20aed904a095a4f5ffd25428e", "extension": "c"...
stackv2
/* Open a pseudo-terminal. Copyright (C) 2010-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your ...
2.109375
2
2024-11-18T21:34:21.926467+00:00
2019-08-07T01:16:48
8bdb97c4f8d7b015354cec14f8f9c4586703c429
{ "blob_id": "8bdb97c4f8d7b015354cec14f8f9c4586703c429", "branch_name": "refs/heads/master", "committer_date": "2019-08-07T01:16:48", "content_id": "f1a29bd73904faa1e131a60b672258723e60c456", "detected_licenses": [ "MIT" ], "directory_id": "63a54bc72b5860fa51117334b80c4e8e027258dd", "extension": "c"...
stackv2
/* ** my_isneg.c for my_isneg in /home/daniel_b/Piscine_C_J03 ** ** Made by Erwan DANIEL ** Login <daniel_b@epitech.net> ** ** Started on Wed Oct 1 11:24:15 2014 Erwan DANIEL ** Last update Sat Jan 17 16:07:51 2015 DANIEL Erwan */ int my_isneg(int n) { if (n < 0) write(1, "N", 1); else write(1, "...
2.546875
3
2024-11-18T21:34:24.386406+00:00
2021-12-13T05:39:35
df66bf655c38e94405c0d45a7de06282de7ffd89
{ "blob_id": "df66bf655c38e94405c0d45a7de06282de7ffd89", "branch_name": "refs/heads/master", "committer_date": "2021-12-13T05:39:35", "content_id": "1a169636b3544fe5be0efecf7b7a9fdab89f5f53", "detected_licenses": [ "MIT" ], "directory_id": "df2d16927b200ca86d9d1134751aef82f0b4e6c1", "extension": "c"...
stackv2
/* * Copyright (c) 2018, Billie Soong <nonkr@hotmail.com> * All rights reserved. * * This file is under MIT, see LICENSE for details. * * Author: Billie Soong <nonkr@hotmail.com> * Datetime: 2018/1/11 20:16 * */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #define MAP_PIXELS 128 int draw_map(c...
2.984375
3
2024-11-18T21:34:24.553899+00:00
2017-06-08T02:15:07
a47718a0d17ddf9472e9a49c8caad49aa655e36b
{ "blob_id": "a47718a0d17ddf9472e9a49c8caad49aa655e36b", "branch_name": "refs/heads/master", "committer_date": "2017-06-08T02:15:07", "content_id": "7fea6eacfef606b36ed67acf4c44dbf7c3265f59", "detected_licenses": [ "ISC" ], "directory_id": "4a337c715921349cfe04bdf130a47431cbacb3af", "extension": "c"...
stackv2
#include <arpa/inet.h> #include <inttypes.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "cs/handler.h" #include "misc.h" static void* Thread(void* sock_desc) { if (pthread_detach(pthread_self())) { Error("detach"); } int sock = *(int*)sock_de...
2.40625
2
2024-11-18T21:34:24.729077+00:00
2019-12-20T18:53:06
6f334d956daf621064904d2feb9811bf32c0fc94
{ "blob_id": "6f334d956daf621064904d2feb9811bf32c0fc94", "branch_name": "refs/heads/master", "committer_date": "2019-12-20T18:53:06", "content_id": "02c9b64471940b472d2eee673166924488be7d0e", "detected_licenses": [ "MIT" ], "directory_id": "b5cd11c4cd5ab24a3c3c2a9f2c278901b18a704c", "extension": "c"...
stackv2
#include "cmdNavigation.h" void gotoxy(int x, int y) { COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } void ShowConsoleCursor(int showFlag) { HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE); CONSOLE_CURSOR_INFO cursorInfo; GetConsoleCursorInfo(out, ...
2.046875
2
2024-11-18T21:34:24.783717+00:00
2018-11-13T19:36:57
e076d54bf97fb450b217a16f06735dfedcc0aa24
{ "blob_id": "e076d54bf97fb450b217a16f06735dfedcc0aa24", "branch_name": "refs/heads/master", "committer_date": "2018-11-13T19:39:18", "content_id": "27aa4ee04a0d9e7a79e25e81893209a6d25682be", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e77704aa0221d29bff34991b6f1abfb48a0e187d", "extensio...
stackv2
#include "fps_counter.h" #include <SDL2/SDL_timer.h> #include "log.h" void fps_counter_init(struct fps_counter *counter) { counter->started = SDL_FALSE; // no need to initialize the other fields, they are meaningful only when // started is true } void fps_counter_start(struct fps_counter *counter) { ...
2.515625
3
2024-11-18T21:34:24.994003+00:00
2019-09-25T21:16:02
16758de2c40e03b50121335b4ba11c6bd571dd4a
{ "blob_id": "16758de2c40e03b50121335b4ba11c6bd571dd4a", "branch_name": "refs/heads/master", "committer_date": "2019-09-25T21:16:02", "content_id": "2e00673449215ccf94b9e7984f80a607ad22588f", "detected_licenses": [ "MIT" ], "directory_id": "e0af52a8cc1eeeeb0473453cef9faa2380d7650c", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "disemvowel.h" char *disemvowel(char const *str) { const char *invalid_chars = "AEIOUaeiou"; // char mystring[] = "Test test dog"; //mystring[] char const *str_copy = str; int vowel_count = 0; size_t i = 0; ...
2.890625
3
2024-11-18T21:34:25.094352+00:00
2023-07-24T16:08:47
5a503c226ffa84f5b119c8a3ffaf04cee5fe9f59
{ "blob_id": "5a503c226ffa84f5b119c8a3ffaf04cee5fe9f59", "branch_name": "refs/heads/master", "committer_date": "2023-07-24T16:09:41", "content_id": "354d48e51277a51a90d8923c754b9d1a1c7c1d49", "detected_licenses": [ "MIT" ], "directory_id": "65089dbc386e1184983c15fe3a2282763ae65960", "extension": "c"...
stackv2
/******************************************************************************* * Copyright (C) 2014-2015 * file: libjpeg-turbo-ext.c * author: gozfree <gozfree@163.com> * created: 2015-07-12 00:56 * updated: 2015-07-12 00:56 ******************************************************************************/ #in...
2.390625
2
2024-11-18T21:34:25.179094+00:00
2021-08-25T16:48:16
f3637b0cf6a9a3608e3f5e109d4d32e1150009ce
{ "blob_id": "f3637b0cf6a9a3608e3f5e109d4d32e1150009ce", "branch_name": "refs/heads/main", "committer_date": "2021-08-25T16:48:16", "content_id": "27bdbd60da0177d0f73fc9fee0af919f7a4049dc", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4153ed758c880461459bc27d8a96abe980108ad1", "extension"...
stackv2
#include <stdio.h> #include <board.h> #include <os_api.h> #include <os_task.h> #include <sg_counter.h> #include <sg_alarms.h> #include <sg_appmodes.h> static u32 OsTickCount; static u32 OsTickCount_us; #define ENABLE_UPTIME_PRINTS 0 // set this to 1 if you want up-time to be printed. #define TEMPORARY_WORKAROUND 1 ...
2.40625
2
2024-11-18T21:34:25.260549+00:00
2020-02-27T16:32:02
6bca5cc8638df488ec346845b7e2c04ac4cffe74
{ "blob_id": "6bca5cc8638df488ec346845b7e2c04ac4cffe74", "branch_name": "refs/heads/master", "committer_date": "2020-02-27T16:32:02", "content_id": "2fb4d4e9e01ff9e0a221b8b6927d4792c5ea789f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "cc4ae349a1cc73df82fe00e88ae4031946ffc008", "extens...
stackv2
/** * \addtogroup nrf51-contiki-rtimer * @{ * \file * nrf51822 architecture specific implementation for Contiki's Rtimer * \author prithvi * \author CoenRoest */ #include "sys/rtimer.h" #include "clock-nrf.h" #include "rtimer-arch.h" /** Boolean value to store if a Rtimer task has been scheduled */ static bo...
2.890625
3
2024-11-18T21:34:25.671514+00:00
2014-03-11T04:24:50
2a638566b74e9f268d639b2787679bc598cca518
{ "blob_id": "2a638566b74e9f268d639b2787679bc598cca518", "branch_name": "refs/heads/master", "committer_date": "2014-03-11T04:24:50", "content_id": "446e3ac4f4c7770dd475c2ed16a025d4cc68b5b9", "detected_licenses": [ "MIT" ], "directory_id": "3906aadf098f29cc6a7b11497b7ad8cd33c8c70f", "extension": "c"...
stackv2
#include <slack/err.h> #include <netinet/in.h> #include <string.h> #include <pthread.h> #include "protocols.h" #include "arp.h" #include "gnet.h" #include "moduledefs.h" #include "grouter.h" #include "packetcore.h" #include "ospf.h" #include "gnet.h" #include "mtu.h" #include "ip.h" #include "dijkstra.h" int numOfRout...
2.1875
2
2024-11-18T21:34:25.742709+00:00
2023-06-22T19:52:32
e88fae911302a00a679eae7244b90c0179b2d3c9
{ "blob_id": "e88fae911302a00a679eae7244b90c0179b2d3c9", "branch_name": "refs/heads/master", "committer_date": "2023-06-22T19:52:32", "content_id": "b91a87903066822d985f3bf6aa8b40aee32e0f51", "detected_licenses": [ "Apache-2.0" ], "directory_id": "236f16d147f128ae92ac9f925fe0abcad9dcac57", "extensio...
stackv2
#ifndef XORSHIFT1024PLUS_H #define XORSHIFT1024PLUS_H #include "splitmix64.h" #include <stdint.h> /* Figure 2 in Further scramblings of Marsaglia’s xorshift generators by Vigna. */ #define xorshift1024plus_size 16 static uint64_t xorshift1024plus_s[xorshift1024plus_size]; static int xorshift1024plus_p; // call on...
2.4375
2
2024-11-18T21:34:27.080477+00:00
2015-07-29T04:30:03
74a96e604a7a0f7c883494d168a8dc621d517e78
{ "blob_id": "74a96e604a7a0f7c883494d168a8dc621d517e78", "branch_name": "refs/heads/master", "committer_date": "2015-07-29T04:30:03", "content_id": "d1511ba783ef760c40b9d0095d271ac8017df5f6", "detected_licenses": [ "MIT" ], "directory_id": "3f4724ca578b8f87d340216e7f35456bf0ac304b", "extension": "c"...
stackv2
/* -*- Mode:cc-mode; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* vim: set ai sw=2 ts=2 et cindent cino={1s: */ /* * Host Identity Protocol * Copyright (c) 2006-2012 the Boeing Company * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documen...
2.09375
2
2024-11-18T21:34:28.158975+00:00
2021-07-29T10:35:19
46de3a6337552a30d380ce7e61287e982f6f3d72
{ "blob_id": "46de3a6337552a30d380ce7e61287e982f6f3d72", "branch_name": "refs/heads/main", "committer_date": "2021-07-29T10:35:19", "content_id": "48afc60d866b6b0b3ee654689b75169378b7aa58", "detected_licenses": [ "MIT" ], "directory_id": "642f1f044871297878fda772498e33555a69037b", "extension": "c", ...
stackv2
const pin=3; void setup() { pinMode(pin,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT);//connected to the enB/enA for controlling speed.....even for serial control same circuit. } void loop() { digitalWrite(pin,HIGH);//clockwise digitalWrite(4,LOW); analogWrite(5,225);//THE SPECIFIED RPM.... }
2.171875
2
2024-11-18T21:34:28.250634+00:00
2015-03-25T16:27:42
672083d9479f335e1a20864fe6e701fc6d1269fe
{ "blob_id": "672083d9479f335e1a20864fe6e701fc6d1269fe", "branch_name": "refs/heads/master", "committer_date": "2015-03-25T16:27:42", "content_id": "8ae53a7cfe889b9c0ea2eb914d6796ca6589462e", "detected_licenses": [ "MIT" ], "directory_id": "4c4e73b911ebe16fefe6fda91fd92f33607db4b2", "extension": "c"...
stackv2
#include "exti.h" #include "nvic.h" #include "system_clock.h" #include "gpio.h" #include "timebase.h" #include "variant.h" // Some code from https://github.com/spark/core-firmware/blob/master/src/spark_wiring_interrupts.cpp // Indexed by the pinSource of the pin const uint32_t extiLines[] = { EXTI_Line0, EXTI_L...
2.15625
2
2024-11-18T21:34:28.324512+00:00
2021-08-21T12:50:10
e3c5935fac5d9c547e0ff80937974f625fba9695
{ "blob_id": "e3c5935fac5d9c547e0ff80937974f625fba9695", "branch_name": "refs/heads/master", "committer_date": "2021-08-21T12:50:10", "content_id": "234e2c6063ce98cda21dcef22aaf161d64686e2a", "detected_licenses": [ "MIT" ], "directory_id": "cef42352c614793031e2c7e3f9171e9ea403c0d5", "extension": "h"...
stackv2
/** @file * The header file of the RND_PriorityQueue library. * * @example priorityqueue/example.c * Here's an example usage of the RND_PriorityQueue library. */ #ifndef RND_PRIORITY_QUEUE_H #define RND_PRIORITY_QUEUE_H #include <stdlib.h> /******************************************************** * ...
3.171875
3
2024-11-18T21:34:28.590175+00:00
2021-10-26T16:58:35
58c33e47820c7cfaff0d351075ac5e71568ad25a
{ "blob_id": "58c33e47820c7cfaff0d351075ac5e71568ad25a", "branch_name": "refs/heads/master", "committer_date": "2021-10-26T16:58:35", "content_id": "137fe43661fc83fe2149922b414666174ef4a6bf", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b7b93d229126414f54aa1c0d449626088d1ffe9c", "extensio...
stackv2
#ifndef __NTB_RING_H__ #define __NTB_RING_H__ #include <stdio.h> #include <stdint.h> #include <assert.h> #include <string.h> #include <stdbool.h> #define KB (1 << 10) #define MB (1 << 20) #define GB (1 << 30) #define NTB_MAX_BUF 512 * MB struct ring_item { uint64_t len; char *data; }; struct ntb_link { ...
2.578125
3
2024-11-18T21:34:35.635835+00:00
2016-06-16T10:39:18
673e42722dc24bb8c9868bbd8d7528eade6e9c70
{ "blob_id": "673e42722dc24bb8c9868bbd8d7528eade6e9c70", "branch_name": "refs/heads/master", "committer_date": "2016-06-16T10:39:18", "content_id": "8a21a88241166a93d209c3bbc871b13108bb1933", "detected_licenses": [ "MIT" ], "directory_id": "aed9c5344ba2d6ca7d085db15d0c93a3c69976cd", "extension": "c"...
stackv2
/** * @file sal.c * * @brief Low-level crypto API for an AES unit implemented in ATxmega MCUs . * * Copyright (c) 2013-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
2.078125
2
2024-11-18T21:34:35.706622+00:00
2019-12-22T05:56:10
e15d2dd04cbf30acfc73f171dfb7a18fc9b7e5f6
{ "blob_id": "e15d2dd04cbf30acfc73f171dfb7a18fc9b7e5f6", "branch_name": "refs/heads/master", "committer_date": "2019-12-22T05:56:10", "content_id": "2068075544635e611066148626049fa9fd23e6e5", "detected_licenses": [ "CC0-1.0" ], "directory_id": "5c212d92bf67a372963565b0f7cedb3c9cb9eb72", "extension":...
stackv2
/* C program to do basic operators. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> float add(float op1, float op2){return op1+op2;} float substract(float op1, float op2){return op1-op2;} float multiply (float op1, float op2){return op1*op2;} float divide(float op1, float op2){return...
3.890625
4
2024-11-18T21:34:36.056957+00:00
2016-05-16T22:07:11
11217e828cd78eebf16a09ecd456573771cec877
{ "blob_id": "11217e828cd78eebf16a09ecd456573771cec877", "branch_name": "refs/heads/master", "committer_date": "2016-05-16T22:07:11", "content_id": "834cd763c9cfc9276725053a5098c3734a6b7880", "detected_licenses": [ "MIT" ], "directory_id": "f52d5020b30112e2d76de933cc71629cc8c52482", "extension": "h"...
stackv2
#ifndef WINDOW_H_INCLUDED #define WINDOW_H_INCLUDED #include <stdbool.h> #include <ncurses.h> #include "window.h" #define WINDOW_SIBLING(w) (((w)->parent->one == (w)) ? (w)->parent->two : (w)->parent->one) struct window { enum { WINDOW_VSPLIT, WINDOW_HSPLIT, WINDOW_WINDOW } type; int x, y; // to...
2.0625
2
2024-11-18T21:34:36.196419+00:00
2014-01-30T14:36:29
ba392447abbd85cb6a4c2fee176921c8dfbe2d5b
{ "blob_id": "ba392447abbd85cb6a4c2fee176921c8dfbe2d5b", "branch_name": "refs/heads/master", "committer_date": "2014-01-30T14:36:29", "content_id": "788e76aead60e068311400bb23132011332cdf12", "detected_licenses": [ "MIT" ], "directory_id": "ecd96c984b1ce8d9ad3d52615d6eaa2afb5446ad", "extension": "c"...
stackv2
#include <X11/X.h> #include <sys/time.h> #define GL_GLEXT_PROTOTYPES 1 #include <GL/gl.h> #include <GL/glx.h> #include <stdio.h> #define XRES 1280 #define YRES 720 //---------------------------------------------------------------- static const char *vsh = \ "uniform float iGlobaltime;" "uniform vec2 iResolut...
2.171875
2
2024-11-18T21:34:36.366519+00:00
2016-03-14T21:14:37
5346caa82258e81a7f3b132156cc89badab65e5a
{ "blob_id": "5346caa82258e81a7f3b132156cc89badab65e5a", "branch_name": "refs/heads/master", "committer_date": "2016-03-14T21:14:37", "content_id": "ad288f3bce0f3a6b6741e55dce8d22108c64ad28", "detected_licenses": [ "MIT" ], "directory_id": "e01c5577187387294b7ee06a84f2e313e4d84c10", "extension": "c"...
stackv2
#include <linux/i2c-dev.h> #include <sys/ioctl.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <errno.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <time.h> #include "bmp180.h" #include "bmp180_rpi_driver.h" #include "rpi_utils.h" // These 3 functions are the delegate f...
2.484375
2
2024-11-18T21:34:36.532132+00:00
2022-03-12T03:16:16
8c20e3ed2935f965fdf0487a9406cd1eeb703733
{ "blob_id": "8c20e3ed2935f965fdf0487a9406cd1eeb703733", "branch_name": "refs/heads/master", "committer_date": "2022-03-12T03:16:16", "content_id": "72cbc4d12a342245d5f4a42177dfb52253bcb84e", "detected_licenses": [ "MIT" ], "directory_id": "e912c5622fb8d5867cf7bf760d53871e79534310", "extension": "h"...
stackv2
#pragma once // This module retries a can message a number of times (provided in settings) // and attempts to get a successful acknowledgement of that message. Message // should be sent inside the tx_callback. The module provides the pointer to // the acknowledgement request. If retry_indefinitely is set, the module k...
2.0625
2
2024-11-18T21:34:36.615219+00:00
2018-03-30T00:29:56
207d2185c6673575cd714ef60c60a7fb57ff9c74
{ "blob_id": "207d2185c6673575cd714ef60c60a7fb57ff9c74", "branch_name": "refs/heads/master", "committer_date": "2018-03-30T00:29:56", "content_id": "f076be059fa8f6954373c73b55f548148f283b61", "detected_licenses": [ "MIT" ], "directory_id": "b8b48c872a17bc86e1f05b08bf891549ff6b838f", "extension": "h"...
stackv2
#ifndef _LIBADT_LIST_COMMONS_H #define _LIBADT_LIST_COMMONS_H typedef void (*t_destroyfunc)(void *data); enum list_insert_el_mode { HEAD, TAIL }; typedef struct _list_root list_root; typedef struct _list_node list_node; struct _list_node; struct _list_root { int size; // Size of the list structure. t_destro...
2.421875
2
2024-11-18T21:34:36.679686+00:00
2021-08-04T01:06:22
8d1464a8e8c071514bfc1eb3b3d547bf25e825dd
{ "blob_id": "8d1464a8e8c071514bfc1eb3b3d547bf25e825dd", "branch_name": "refs/heads/master", "committer_date": "2021-08-04T01:06:22", "content_id": "fef46a26e2f7e5f5a737cd187ae1574801ee84df", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5cea73cdcd63bd3b6a9d0cbdc64f350bd7393038", "extensio...
stackv2
#include <fcntl.h> #include <sys/statvfs.h> #include "test_utils.h" int do_test() { int test_result = EXIT_SUCCESS; char tmp_file_name[NAME_MAX]; struct statvfs vfs; CREATE_TMP_DIR(); sprintf(tmp_file_name, "%s/file", tmp_dir_name); int f = open(tmp_file_name, O_CREAT | O_RDONLY); if(f...
2.453125
2
2024-11-18T21:34:36.761102+00:00
2017-03-27T00:45:19
ba4805c5a355e49784d24c9ee77e706cf4922d9f
{ "blob_id": "ba4805c5a355e49784d24c9ee77e706cf4922d9f", "branch_name": "refs/heads/master", "committer_date": "2017-03-27T00:45:19", "content_id": "66628aec213494fa7d1f910c4801cdb958acbe9e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "797b6cb28448c6aed29577b594686e4dbc470517", "extensio...
stackv2
/** @file * * A brief file description * * @section license License * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this...
2.21875
2
2024-11-18T21:34:36.986709+00:00
2021-05-14T09:44:47
9de2839b48d8e4cc69ea3e93a1614f319047b169
{ "blob_id": "9de2839b48d8e4cc69ea3e93a1614f319047b169", "branch_name": "refs/heads/master", "committer_date": "2021-05-14T09:44:47", "content_id": "20652133add34cd588ea861de396f34ecb411f6d", "detected_licenses": [ "MIT" ], "directory_id": "cb7cfa51de66ab80edf2dc3de2ca2569c3529d05", "extension": "c"...
stackv2
#include "string.h" #include "iot_os.h" #include "iot_debug.h" #include "iot_network.h" #include "iot_socket.h" #define SOCKET_MSG_NETWORK_READY (0) #define SOCKET_MSG_NETWORK_LINKED (1) typedef struct { UINT8 type; UINT8 data; } DEMO_SOCKET_MESSAGE; #define socket_dbg iot_debug_print #define DEMO_SERVER_TCP...
2.3125
2
2024-11-18T21:34:37.507727+00:00
2019-06-05T06:23:58
b2a958f37ca3e66feb98d7969f040a624d4fa6df
{ "blob_id": "b2a958f37ca3e66feb98d7969f040a624d4fa6df", "branch_name": "refs/heads/master", "committer_date": "2019-06-05T06:23:58", "content_id": "da87e5b7dc20398908bb2d0cc0160b38c86e9a4b", "detected_licenses": [ "MIT" ], "directory_id": "a35961c4ab3f00e0d5fb61d0c25901d2543a73fb", "extension": "h"...
stackv2
/* * ===================================================================================== * * Filename: server.h * * Description: * * Version: 1.0 * Created: 07/23/2014 03:49:55 PM * Revision: none * Compiler: gcc * * Author: YOUR NAME (), * Organizati...
2.125
2
2024-11-18T21:34:37.584301+00:00
2016-06-04T03:08:28
e22d0b5214be189eb4577e7740cfa4e6d791ff19
{ "blob_id": "e22d0b5214be189eb4577e7740cfa4e6d791ff19", "branch_name": "refs/heads/master", "committer_date": "2016-06-04T03:08:28", "content_id": "fbb995187755f43535e58be3599f3f0fa48d2171", "detected_licenses": [ "MIT" ], "directory_id": "714801f20449ca2649240fe29fdf75460172e9c7", "extension": "c"...
stackv2
#include "semaphore.c" #include "thread.h" Semaphore t; int coconuts = 0; int dominant = 0; void monkey(void* v) { int i = (int)v; while(dominant > 0); sem_acquire(&t); printf(1,"%d\n",i); coconuts++; int j; for(j = 0; j < 100000; j++); printf(1,"%d\n",i); sem_signal(&t); texit(); } vo...
2.984375
3
2024-11-18T21:34:37.639685+00:00
2017-11-26T17:16:34
62b5417a3bb81a37cb6229aabc5979532614d43a
{ "blob_id": "62b5417a3bb81a37cb6229aabc5979532614d43a", "branch_name": "refs/heads/develop", "committer_date": "2017-11-26T17:16:34", "content_id": "0f3d49801bab8a40f6f67180de04437823b93716", "detected_licenses": [ "ISC" ], "directory_id": "336ba75e6f2a6aafdbc2ba2ad6a3df90d55461ae", "extension": "c...
stackv2
#include <platform.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <assert.h> #include <stdarg.h> #include <limits.h> #include "bsdstring.h" #include "log.h" int wrptr(char **ptr, size_t * size, int result) { size_t bytes = (size_t)result; if (result < 0) { /* buffer was too smal...
2.890625
3
2024-11-18T21:34:38.430655+00:00
2022-11-29T16:16:49
e045090d0ba676b08f593a8df68c2a36c2fa2e90
{ "blob_id": "e045090d0ba676b08f593a8df68c2a36c2fa2e90", "branch_name": "refs/heads/master", "committer_date": "2022-11-29T16:16:49", "content_id": "9f9239ee8a1a3b5f13dc159c7c345323c0f4533c", "detected_licenses": [ "CC0-1.0" ], "directory_id": "39af51abe4b3ab04018d1e01b7dccdb868f0e76f", "extension":...
stackv2
#include <xc.h> #include <string.h> #include "cabecera.h" #define _XTAL_FREQ 48000000UL unsigned char bienvenida1[] = {"Aplicacion para controlar un LED en RD0"}; unsigned char bienvenida2[] = {"Presiona E para encender el LED"}; unsigned char bienvenida3[] = {"Presiona A para apagar el LED"}; unsigned char bienvenida...
2.65625
3
2024-11-18T21:34:38.734182+00:00
2023-08-07T16:04:22
e1fadf00109e199535dfe1ddb2d7b6a4d3334412
{ "blob_id": "e1fadf00109e199535dfe1ddb2d7b6a4d3334412", "branch_name": "refs/heads/develop", "committer_date": "2023-08-07T16:04:22", "content_id": "7a8401f5f64b203909d0694b29383f0b885dbb1f", "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.265625
2
2024-11-18T21:34:39.202378+00:00
2023-08-29T03:30:48
c76ca7d7fb3046403383eb0f180677031008c482
{ "blob_id": "c76ca7d7fb3046403383eb0f180677031008c482", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T03:30:48", "content_id": "d223b803699c223ff22048d03455b7fa7417e2b0", "detected_licenses": [ "MIT" ], "directory_id": "ad3f34546afba57daf888798ad2d29db0361dcca", "extension": "c"...
stackv2
/************************************************************************** * * Copyright (C) 2009 Steve Karg <skarg@users.sourceforge.net> * Multimedia Timer contribution by Cameron Crothers, 2008 * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documen...
2.03125
2
2024-11-18T21:34:39.277715+00:00
2021-04-12T17:33:53
d03cb78a405f7bb92bf49cd7df321dff38ce458c
{ "blob_id": "d03cb78a405f7bb92bf49cd7df321dff38ce458c", "branch_name": "refs/heads/oe_port", "committer_date": "2021-04-12T17:33:53", "content_id": "d776a69213489958cf82c56c5292e53d28a56512", "detected_licenses": [ "MIT" ], "directory_id": "ae3e9369882d46a2a009c41a58449c3da9cb3ae1", "extension": "h...
stackv2
#ifndef OE_HEADER_H #define OE_HEADER_H #include "oe_defs.h" #define oe_memcpy_s(a,b,c,d) (memcpy((a),(c),(d)) ? OE_OK : OE_FAILURE) /* Atomically increment **x** and return its new value */ OE_INLINE uint64_t oe_atomic_increment(volatile uint64_t* x) { #if defined(__GNUC__) return __sync_add_and_fetch(x, 1); #e...
2.390625
2
2024-11-18T21:34:39.340894+00:00
2014-03-22T00:01:14
58efaf626269da9f44de98484d111308a8e140b3
{ "blob_id": "58efaf626269da9f44de98484d111308a8e140b3", "branch_name": "refs/heads/master", "committer_date": "2014-03-22T00:01:14", "content_id": "c0c7704a8068b76582c196feab19118b2d06cf86", "detected_licenses": [ "Apache-2.0" ], "directory_id": "150e5cf4f1c2dde8e79f38131b429dc1951b8434", "extensio...
stackv2
/* * Copyright 2013 Tenkiv, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
2.15625
2
2024-11-18T21:34:40.821645+00:00
2014-03-24T06:15:09
5440e57c2e81764cacc34ea2c137fb21fcc98c39
{ "blob_id": "5440e57c2e81764cacc34ea2c137fb21fcc98c39", "branch_name": "refs/heads/master", "committer_date": "2014-03-24T06:15:09", "content_id": "4b483de54c5abae282cad11e3b99803c85e0a745", "detected_licenses": [ "MIT" ], "directory_id": "a9dbba870042e161057afe0d6bbd9e2dd9a1f9fc", "extension": "c"...
stackv2
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #ifdef VFORK #define fm vfork #else #define fm fork #endif int glob = 6; int main(int argc, char* argv[]) { int var; pid_t pid; var = 88; printf("before forking\n"); if ((pid=fm()) < 0) { perror("forking err"); exit...
2.375
2
2024-11-18T21:34:41.012213+00:00
2014-09-09T21:24:56
921ecf0474319b391bfc541f4cd726794cdb9ba1
{ "blob_id": "921ecf0474319b391bfc541f4cd726794cdb9ba1", "branch_name": "refs/heads/master", "committer_date": "2014-09-09T21:24:56", "content_id": "119e666972bab7b8b1d26a999e189312498a2870", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "3abd34d7adccdd13c1527cb9a64ae8053745a34e", "extens...
stackv2
/** @file Common GetControllerName2 implementation Copyright (c) 2011 - 2013, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license...
2.171875
2
2024-11-18T21:34:41.352580+00:00
2020-03-14T12:56:23
6eabc3d6cd0f48556b3ae1ebbdcf43531033e593
{ "blob_id": "6eabc3d6cd0f48556b3ae1ebbdcf43531033e593", "branch_name": "refs/heads/master", "committer_date": "2020-03-14T12:56:23", "content_id": "07d88250097c5d9f859550d316b4845f00197a7a", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "902c5c23eec3303dc11cb083bf513c7ae06bbfd6", "extens...
stackv2
#include "lcd_st7789.h" #include "string.h" uint8_t st7789_Buffer[ST7789_Y_SIZE][ST7789_X_SIZE*2]={0}; /*********************************************** 使能LCD BACKLIGTH ***********************************************/ __weak void st7789_SetBackligth(uint8_t brightless) { HAL_GPIO_WritePin(ST7789_BL,(GPIO_PinState)1);...
2.515625
3
2024-11-18T21:34:41.601336+00:00
2017-02-28T04:54:35
af8c63a58a65d5e98580633554277108f8ca2a4b
{ "blob_id": "af8c63a58a65d5e98580633554277108f8ca2a4b", "branch_name": "refs/heads/master", "committer_date": "2017-02-28T04:54:35", "content_id": "a022374570bc0439ab333e8cc3697d4c220de02d", "detected_licenses": [ "MIT" ], "directory_id": "e65013ce5dc691adfc170b49566caffaf0beaddd", "extension": "h"...
stackv2
#ifndef MYY_SRC_HELPERS_OPENGL_LOADERS #define MYY_SRC_HELPERS_OPENGL_LOADERS 1 #include <current/opengl.h> #include <stdint.h> /** * Compile a simple program, set the provided attributes locations * sequentially and link the program. * * PARAMS : * @param vsh_filename The Vertex Shader file's path * @param fsh...
2.390625
2
2024-11-18T21:34:42.624698+00:00
2019-10-11T14:17:27
eff43e5aaffb62af696ea0d73714813c1ff7347f
{ "blob_id": "eff43e5aaffb62af696ea0d73714813c1ff7347f", "branch_name": "refs/heads/master", "committer_date": "2019-10-11T14:17:27", "content_id": "ea8d0f3e8c6a9afee2a679e52edc7be8ed2b54bd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ccccaabe5e7dc0daf584717c8338e80978736357", "extens...
stackv2
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <Windows.h> int main(int argc, char *argv[]) { if (argc != 2) { fprintf(stderr, "Usage: %s filename\n", argv[0]); exit(1); } /* Create the file or open if the file already exists ...
3.0625
3
2024-11-18T21:34:43.447906+00:00
2023-02-16T11:27:40
5cb27416fe0ecde6743ca28c8b33eaa75dce8cae
{ "blob_id": "5cb27416fe0ecde6743ca28c8b33eaa75dce8cae", "branch_name": "refs/heads/main", "committer_date": "2023-02-16T14:59:16", "content_id": "7f5fb2742ac035b85487e57d8f29b8816af3e32c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e8302c75d770d1608b317d6af5c483bbad6c0493", "extension"...
stackv2
/* * Copyright (c) 2022 René Beckmann * * SPDX-License-Identifier: Apache-2.0 */ /** @file mqtt_sn_transport_udp.c * * @brief MQTT-SN UDP transport. */ #include <errno.h> #include <zephyr/net/mqtt_sn.h> #include <zephyr/net/net_ip.h> #include <zephyr/net/socket.h> #ifdef CONFIG_ARCH_POSIX #include <fcntl.h> ...
2.40625
2
2024-11-18T22:12:20.125364+00:00
2018-03-23T23:34:36
1ebd10c4a6efe8bf2225358d8451ec61460ffbf9
{ "blob_id": "1ebd10c4a6efe8bf2225358d8451ec61460ffbf9", "branch_name": "refs/heads/master", "committer_date": "2018-03-23T23:34:36", "content_id": "28d45ec6f47bde1b9cb73f20ab87dc7457080db8", "detected_licenses": [ "MIT" ], "directory_id": "8b1cf208e79beabf61e711b05e50cd29c7f668c3", "extension": "c"...
stackv2
/* ~/dev/py/xlutil_py/extsrc/logBufs.c */ #include "cFTLogForPy.h" // local prototypes static cFTLogDesc_t* cLogAllocInit(const char* logDir, const char* logName); int initLogBuffers(ndx) { memset(logDescs[ndx]->logBufDescs, 0, C_FT_LOG_BUF_COUNT * sizeof(logBufDesc_t)); //...
2.515625
3
2024-11-18T22:12:20.200497+00:00
2020-07-05T03:53:55
dcb85148b19fd77da2fd57028647b5bafe613927
{ "blob_id": "dcb85148b19fd77da2fd57028647b5bafe613927", "branch_name": "refs/heads/master", "committer_date": "2020-07-05T03:53:55", "content_id": "37b2da71912f075213b3a311e950abb0248d6e79", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3ad7a81d01812ebe16928694a35c896fe893c47d", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include "quicksort.h" /* * quicksort.c * Implementation of the quicksort sorting algorithm. * * Works using a pivot. worst case O(n^2), average case O(nlogn). * Generally works better than merge sort as sorting is done in place. Which * allows for better use of caching, fu...
3.78125
4
2024-11-18T22:12:20.543814+00:00
2022-07-10T15:14:20
9872267257c6f7bdf03aa73897f672bd57be42c3
{ "blob_id": "9872267257c6f7bdf03aa73897f672bd57be42c3", "branch_name": "refs/heads/master", "committer_date": "2022-07-10T15:14:20", "content_id": "a28179edd27a62fac21c6e6f711d24b14b780bd9", "detected_licenses": [ "MIT" ], "directory_id": "10cd6cb61f622d32c46ef0ef303f4f96446e2507", "extension": "c"...
stackv2
/******************************************************************************* * Stefan Bylund 2017 * * Implementation of layer2_draw_text() and layer2_set_font() in zxnext_layer2.h. ******************************************************************************/ #include <arch/zxn.h> #include <z80.h> #include <s...
2.6875
3
2024-11-18T22:12:20.798641+00:00
2019-04-21T02:40:25
9a6b8980e69caca1f8e87861f12c726254963dc7
{ "blob_id": "9a6b8980e69caca1f8e87861f12c726254963dc7", "branch_name": "refs/heads/master", "committer_date": "2019-04-21T02:40:25", "content_id": "f051af983fc9f193f91f73367d5c10204560c191", "detected_licenses": [ "MIT" ], "directory_id": "bb034842bb74a25159b4e1f04719aed86a489423", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> #include <stdlib.h> /* 6. Foram anotadas as idades e alturas de 30 alunos. Faça um Programa que determine quantos alunos com mais de 13 anos possuem altura inferior à média de altura desses alunos. */ void main(void){ float alturas[30], media_alt...
3.359375
3
2024-11-18T22:12:20.905787+00:00
2019-12-20T13:52:39
fb635275961bc917f25cf8aba1cf98bb835411fe
{ "blob_id": "fb635275961bc917f25cf8aba1cf98bb835411fe", "branch_name": "refs/heads/master", "committer_date": "2019-12-20T13:52:39", "content_id": "990e78520de0743300aaa1f6e1d6f432fa47b897", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3efc50ba20499cc9948473ee9ed2ccfce257d79a", "extensio...
stackv2
/* * st7735.h - interface routines for ST7735 LCD. * shamelessly ganked from Adafruit_ST7735 library * 12-20-12 E. Brombaugh */ #ifndef __ST7735__ #define __ST7735__ #include <stdint.h> // some flags for initR() :( #define INITR_GREENTAB 0x0 #define INITR_REDTAB 0x1 #define ST7735_TFTWIDTH 128 #define ST773...
2.21875
2
2024-11-18T22:12:21.100740+00:00
2013-08-18T18:07:20
71dffdcec1ea930debda09e3d38175a094ee7f5a
{ "blob_id": "71dffdcec1ea930debda09e3d38175a094ee7f5a", "branch_name": "refs/heads/master", "committer_date": "2013-08-18T18:07:20", "content_id": "7ea9f55376ff3fc224a82a7b45671e842d840abe", "detected_licenses": [ "MIT" ], "directory_id": "b3ed6180a27f195a0660b97259a3bf29f3fd8c56", "extension": "h"...
stackv2
/* -------------------------------------------------------------------------- * * ETK++ --- The Easy Toolkit for C++ programing * Copyright (C) 2004-2007, Anthony Lee, All Rights Reserved * * ETK++ library is a freeware; it may be used and distributed according to * the terms of The MIT License. * * Permission ...
2.078125
2
2024-11-18T22:12:21.183427+00:00
2021-02-28T03:54:43
084d50562eb0eb87d63b56b2ba71092115ab20e4
{ "blob_id": "084d50562eb0eb87d63b56b2ba71092115ab20e4", "branch_name": "refs/heads/master", "committer_date": "2021-02-28T03:54:43", "content_id": "964ac64d35097275cbd3666d88ef6ebfe29f2c36", "detected_licenses": [ "MIT" ], "directory_id": "f57e7c2d754aa9eae5bfcf6871d90fbde9865346", "extension": "c"...
stackv2
#include "be_gc.h" #include "be_map.h" #include "be_mem.h" #include "be_string.h" #define key( node ) ( &( node )->key ) #define value( node ) ( &( node )->value ) #define isnil( node ) var_isnil( key( node ) ) #define setnil( node ) var_setnil( key( node ) ) #define hash2slot( m, h ) ...
2.484375
2
2024-11-18T22:12:21.920100+00:00
2023-04-27T07:55:29
faab566dcd3c792c5438ee0296a7ffb22aecb8d3
{ "blob_id": "faab566dcd3c792c5438ee0296a7ffb22aecb8d3", "branch_name": "refs/heads/master", "committer_date": "2023-04-27T07:55:29", "content_id": "18b41cd66f83a838ca0f3e16d7df57c95d7cb70c", "detected_licenses": [ "MIT" ], "directory_id": "b10781e15f9f4b139fc582773004ab57b96c6005", "extension": "c"...
stackv2
#include "q_incs.h" #include "q_macros.h" #include "vctr_consts.h" #include "chnk_rs_hmap_struct.h" #include "rs_mmap.h" #include "isfile.h" #include "l2_file_name.h" #include "chnk_is.h" #include "chnk_drop_mem.h" #include "mod_mem_used.h" extern chnk_rs_hmap_t *g_chnk_hmap; // It eliminates memory at level "level" ...
2.234375
2
2024-11-18T22:12:22.694618+00:00
2021-09-22T18:41:05
04a6ddfd61af30733842b96b59fef24a0a5f1507
{ "blob_id": "04a6ddfd61af30733842b96b59fef24a0a5f1507", "branch_name": "refs/heads/OpenKE-PyTorch", "committer_date": "2021-09-22T18:41:05", "content_id": "c5dd7413adc43224598af611ee7bb74479279001", "detected_licenses": [], "directory_id": "f030c12fce4e12723e209755af59aa0c22d3f55e", "extension": "h", "...
stackv2
#ifndef RANDOM_H #define RANDOM_H #include "Setting.h" #include <cstdlib> // the random seeds for all threads. unsigned long long *next_random; // reset the random seeds for all threads extern "C" void randReset() { next_random = (unsigned long long *)calloc(workThreads, sizeof(unsigned long long)); for (INT i = 0;...
2.3125
2
2024-11-18T22:12:22.819334+00:00
2015-10-09T04:06:33
59fc6586a2d94fb278dce9267d4b29ab0dbfb8db
{ "blob_id": "59fc6586a2d94fb278dce9267d4b29ab0dbfb8db", "branch_name": "refs/heads/master", "committer_date": "2015-10-09T04:06:33", "content_id": "7eb3510c1426efc2b7c66d1432bdc1e4c6447db9", "detected_licenses": [ "MIT" ], "directory_id": "3f259f62bea7eb926048c7065db3633a8e4fba2b", "extension": "c"...
stackv2
/* ************************** * To intrepid Googlers: * ************************** This file was written by Erik Swan for the Spring 2015 section of ECE 264. Although I have made it available publicly under the MIT license, you should be well aware that submitting *any* portion of this code as your own work is...
2.890625
3
2024-11-18T22:12:23.759914+00:00
2021-12-18T00:43:56
2804e7a5745d32a7deab2a311908e328dcab1739
{ "blob_id": "2804e7a5745d32a7deab2a311908e328dcab1739", "branch_name": "refs/heads/master", "committer_date": "2021-12-18T00:43:56", "content_id": "c78d9d1b709fef83faa33d409adb305bdb5425b9", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "3f55217e912141e04815bc8bcb6fbd5638d0896e", "extens...
stackv2
/* RCSid: $Id: mx3.h,v 2.6 2004/03/28 20:33:14 schorsch Exp $ */ #ifndef _RAD_MX3_H_ #define _RAD_MX3_H_ #include <string.h> #ifdef __cplusplus extern "C" { #endif #define mx3_copy(a, b) memcpy(b, a, 3*3*sizeof(double)) /* FLOAT VERSIONS */ extern float mx3f_adjoint(/* a, b */); extern void mx3f_mul(/* a, b, c */...
2.0625
2
2024-11-18T22:12:23.892814+00:00
2019-07-15T19:53:28
9307a425e3f569c925ce5a7d503859c93384cba3
{ "blob_id": "9307a425e3f569c925ce5a7d503859c93384cba3", "branch_name": "refs/heads/master", "committer_date": "2019-07-17T00:43:37", "content_id": "560102b6f65dcdd904c77cfce0da3aaf3e24ca01", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "56a7b6e3bd793f4dd49ba17cb6fdd7b54447ec1c", "extens...
stackv2
/* crest.h Rémi Attab (remi.attab@gmail.com), 07 Jun 2016 FreeBSD-style copyright and disclaimer apply */ #pragma once #include <stddef.h> #include <stdbool.h> enum crest_method { crest_get, crest_put, crest_post, crest_delete, crest_unsupported, }; struct crest_req; enum crest_method cres...
2.328125
2
2024-11-18T22:12:25.130214+00:00
2021-03-13T10:16:33
f8a94bfca5ff64499dee2258e3992bdee806bef9
{ "blob_id": "f8a94bfca5ff64499dee2258e3992bdee806bef9", "branch_name": "refs/heads/main", "committer_date": "2021-03-13T10:16:33", "content_id": "7ca94eb904191a362c135ece3c63f2f1cecee02b", "detected_licenses": [ "Unlicense" ], "directory_id": "feb65c145dcca1dc26555842bdff1537805fc527", "extension":...
stackv2
/* Author: Andrei-Antonio Robu (andrei-antonio.robu@student.tuiasi.ro) */ #include <stdio.h> #include <stdlib.h> #include "header.h" int main() { int **a=0,l,c; double *v=0; double procent; char *denumire; denumire=den(); printf("Introduceti numarul de randuri: "); scanf("%d",&l); printf("Introduceti numarul...
2.34375
2
2024-11-18T22:12:25.521817+00:00
2018-05-11T18:42:29
f212ed6cac195d3b48121e81757a61f22fc6603a
{ "blob_id": "f212ed6cac195d3b48121e81757a61f22fc6603a", "branch_name": "refs/heads/master", "committer_date": "2018-05-11T21:30:45", "content_id": "e719607191c2b980cc951052357f4a3b130f6eba", "detected_licenses": [ "MIT" ], "directory_id": "4f778cbfe200f425e448e64bb73087d24699bb85", "extension": "h"...
stackv2
#ifndef GAMEBOARD_ELEMENT_2012_H #define GAMEBOARD_ELEMENT_2012_H char startAreaVioletPrint(int* element, int column, int line); char startAreaRedPrint(int* element, int column, int line); // BOAT char boatVioletPrint(int* element, int column, int line); char boatRedPrint(int* element, int column, int line); // BOT...
2.171875
2
2024-11-18T22:12:25.688322+00:00
2016-03-25T10:01:46
144c983515b6cd0b565757add0810f3295e624af
{ "blob_id": "144c983515b6cd0b565757add0810f3295e624af", "branch_name": "refs/heads/master", "committer_date": "2016-03-25T10:01:46", "content_id": "6abf91fb4fb7c3de48c89df4813f14f523737932", "detected_licenses": [ "MIT" ], "directory_id": "49a9250be9995fb391665bf10c04686801d9fbf5", "extension": "c"...
stackv2
/* * Structures et fonctions relatives à la manipulation des fenêtres ncurses * Auteurs : Pierre Gaultier & Thomas Minier */ #include "menus.h" /* * Fonction effectuant une saisie de texte dans une fenêtre ncurses */ void text_input(WINDOW *win, char *message, size_t max_char) { char *end_char; wgetnstr(win, ...
3.0625
3
2024-11-18T22:12:26.603920+00:00
2016-03-30T18:13:08
5123f345beadf40bdc158aacfdad5603fb79c26c
{ "blob_id": "5123f345beadf40bdc158aacfdad5603fb79c26c", "branch_name": "refs/heads/master", "committer_date": "2016-03-30T18:13:08", "content_id": "bbf5ba17f15956a959bbc4d35525f1cb3b397d4f", "detected_licenses": [ "MIT" ], "directory_id": "c2566b6136497849a5c959dd8072bae797af042a", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> /** author: mayukh * github.com/mayukh42 * DataStructures - Some problems */ #define SIZE 5 /** Classical LinkedList */ typedef struct LinkedList { int val; struct LinkedList * next; } LinkedList; LinkedList * create_node (int v) { LinkedList * node = (LinkedList *) ma...
3.640625
4
2024-11-18T22:12:26.876955+00:00
2021-08-08T16:17:49
064127a9f06fb3d8e36f6a6893c6ed758e6a29f6
{ "blob_id": "064127a9f06fb3d8e36f6a6893c6ed758e6a29f6", "branch_name": "refs/heads/main", "committer_date": "2021-08-08T16:17:49", "content_id": "ce356a691e022bdaa36602a70f79061175727d8d", "detected_licenses": [ "MIT" ], "directory_id": "b3d49305b48cbac6db3c263be42c1577536648d0", "extension": "c", ...
stackv2
#include "test_SH1106.h" #define min(a, b)(((a) <(b)) ?(a) :(b)) void TestLines(SPI_HandleTypeDef* hspi, uint8_t color) { uint8_t x1, y1, x2, y2; SH1106_Clear(); x1 = y1 = 0; y2 = SH1106_HEIGHT - 1; for (x2 = 0; x2 < SH1106_WIDTH; x2 += 6) { SH1106_DrawLine(x1, y1, x2, y2, color); HAL_Delay(1); ...
2.4375
2
2024-11-18T22:12:27.370971+00:00
2023-04-08T12:16:49
a96688a8d444ec96ac5c75b34d3d1686f282c3fb
{ "blob_id": "a96688a8d444ec96ac5c75b34d3d1686f282c3fb", "branch_name": "refs/heads/master", "committer_date": "2023-04-08T12:16:49", "content_id": "b8959549b49dd475a7bd6a610af40e94d26e0208", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "3082eabb774ec5bbd71ce522f8fe052b...
stackv2
// Copyright (C) 2009-2023, Panagiotis Christopoulos Charitos and contributors. // All rights reserved. // Code licensed under the BSD License. // http://www.anki3d.org/LICENSE #pragma once #include <cstdio> #ifndef ANKI_TESTS_FOO_VERBOSE # define ANKI_TESTS_FOO_VERBOSE 0 #endif #if ANKI_TESTS_FOO_VERBOSE # define ...
2.296875
2
2024-11-18T22:12:28.145504+00:00
2020-09-15T19:49:06
00c5e931a623922bc8ef9ce43249908b5fda4ef8
{ "blob_id": "00c5e931a623922bc8ef9ce43249908b5fda4ef8", "branch_name": "refs/heads/master", "committer_date": "2020-09-15T19:49:06", "content_id": "ecebe4f6c3b6da8a70e0eb477b037463ada024f5", "detected_licenses": [ "MIT" ], "directory_id": "5a52ed961957ca5f944f83cc881bc775f08f43ef", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_lstmap.c :+: :+: :+: ...
2.734375
3
2024-11-18T22:12:28.252742+00:00
2020-04-27T18:56:43
b220da8f2eebd78c5d9ed71e58bb39b277ed6d8d
{ "blob_id": "b220da8f2eebd78c5d9ed71e58bb39b277ed6d8d", "branch_name": "refs/heads/master", "committer_date": "2020-04-27T18:56:43", "content_id": "4873bf2f9c0a9b9299dfc8b31ddb309f6354a2cd", "detected_licenses": [ "MIT" ], "directory_id": "10527007e1af953613f013827ed493266a27e59c", "extension": "h"...
stackv2
// bitonic sort within a single thread, see: // https://github.com/facebookresearch/HVVR/blob/master/libraries/hvvr/raycaster/sort.h // http://developer.download.nvidia.com/compute/cuda/1.1-Beta/x86_website/Data-Parallel_Algorithms.html ("Bitonic Sort" sample, bitonic_kernel.cu) // https://github.com/Microsoft/DirectX-...
2.546875
3
2024-11-18T22:12:28.352357+00:00
2017-07-30T19:02:54
865e9290620676082247a633fbe1f10c188243ac
{ "blob_id": "865e9290620676082247a633fbe1f10c188243ac", "branch_name": "refs/heads/master", "committer_date": "2017-07-30T19:02:54", "content_id": "502c0d13929980877aad04c88dc1575a1b8c999e", "detected_licenses": [ "MIT" ], "directory_id": "06f42f5063ac961f4151f1eae931c75da52d7862", "extension": "h"...
stackv2
// // Created by dylan on 14/04/2017. // #ifndef SNAKES_STARTGAME_H #define SNAKES_STARTGAME_H #include <stdbool.h> /** * Keep track of the server and the game. If cannot connect to server, program will exit * and display the user the problem. It also calls the method to initialise the game and * restarts the gam...
2.234375
2
2024-11-18T22:12:28.451790+00:00
2022-12-06T07:14:06
dbba37fa0356b40d82cc790b2bdaa34f342ed959
{ "blob_id": "dbba37fa0356b40d82cc790b2bdaa34f342ed959", "branch_name": "refs/heads/dev", "committer_date": "2022-12-06T07:14:06", "content_id": "576f79b64990e205b9ec6a8ca7d764948458b2ba", "detected_licenses": [ "MIT" ], "directory_id": "b04c60b92571a77520c2272cf50f5c02ce1b0c1e", "extension": "c", ...
stackv2
/** * @file lv_draw_line.c * */ /********************* * INCLUDES *********************/ #include <stdio.h> #include <stdbool.h> #include "lv_draw.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #if LV_COMPILER_VLA_SUPPORTED == 0 #define LINE_MAX_WIDTH ...
2.96875
3
2024-11-18T22:12:28.691175+00:00
2022-05-21T18:57:22
6c7406996ec24fa8417bd355c87d80dba04c59fb
{ "blob_id": "6c7406996ec24fa8417bd355c87d80dba04c59fb", "branch_name": "refs/heads/master", "committer_date": "2022-05-21T18:57:22", "content_id": "5a076b338035cdd4a5882222f7047a2bb69ca355", "detected_licenses": [ "MIT" ], "directory_id": "2ef91f4f949a514fa33157a807730d7f4bed6185", "extension": "c"...
stackv2
#include <assert.h> #include <math.h> #ifndef __N64__ #include <stdio.h> #endif #ifdef __N64__ #include "mathdef.h" #else #include "float.h" #endif #include <stdlib.h> #ifdef __N64__ #include <malloc.h> #endif // game #include "character.h" #include "constants.h" #include "game.h" #include "gameobject.h" #include "...
2.078125
2
2024-11-18T22:12:28.762541+00:00
2023-06-28T11:59:59
7b05bb501ae9006e77cf0ab7a2e792715b1f5deb
{ "blob_id": "7b05bb501ae9006e77cf0ab7a2e792715b1f5deb", "branch_name": "refs/heads/master", "committer_date": "2023-06-28T11:59:59", "content_id": "d80ce4f5f71b75c53589ddfd7788857509fec94f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e312184dcdafbfc04d64b543fd8fcd0070d88276", "extens...
stackv2
/***************************************************************************** * bin2hilo: split BIN formatted roms * See the function ``print_license'' below for license information. ****************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <unistd...
2.65625
3
2024-11-18T22:12:29.170147+00:00
2019-11-03T23:22:24
9de87998474bd88c4a75b740f8b1b976a15ad2cf
{ "blob_id": "9de87998474bd88c4a75b740f8b1b976a15ad2cf", "branch_name": "refs/heads/master", "committer_date": "2019-11-03T23:22:24", "content_id": "42679835aa00b284c1e605dfff6aeec486703dd2", "detected_licenses": [ "MIT" ], "directory_id": "51880e501d27b50d3b2bea72bbb312c2055809f4", "extension": "c"...
stackv2
#include "ProcessP.h" #include "SharedMem.h" #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <time.h> int ProcessP(char *input_filepath, int in_queue_id, int out_queue_id) { int pid_match = 0; pid_t my_pid = getpid(); printf("P running with pid %d\n", my_pid); //attach shared memor...
2.890625
3
2024-11-18T22:12:29.819301+00:00
2023-08-28T17:04:44
0d565c970cce36d127fdc0292e87d499e0bfcdec
{ "blob_id": "0d565c970cce36d127fdc0292e87d499e0bfcdec", "branch_name": "refs/heads/master", "committer_date": "2023-08-28T17:07:16", "content_id": "1f22c76f6417e25c4f41db526957504c04599cd5", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7309a4d3579a04eecef51cb20238530ddfdd02ac", "extens...
stackv2
#include <stdio.h> #include <mpi.h> #define BUF_SIZE (1024*1024) #define N_NEST 4 #define USE_RMA #define USE_PUT int main(int argc, char **argv) { MPI_Init(&argc, &argv); int myrank, nranks; MPI_Comm_rank(MPI_COMM_WORLD, &myrank); MPI_Comm_size(MPI_COMM_WORLD, &nranks); if(nranks != 2){ printf("The n...
2.640625
3
2024-11-18T22:12:29.890338+00:00
2019-03-21T13:45:24
6787aaddf02f6200bef30c490f812e9617659d7b
{ "blob_id": "6787aaddf02f6200bef30c490f812e9617659d7b", "branch_name": "refs/heads/master", "committer_date": "2019-03-21T13:45:24", "content_id": "798da8f5a0c8cdd595f0c6e583f15b4ea380cdcc", "detected_licenses": [ "MIT" ], "directory_id": "ef41014ac973f59873ad5fe85f1eb0797cb75fbb", "extension": "c"...
stackv2
#include "Produtos_arv.h" #define SIZE_ALPHA 26 #define SIZE_PRODUTO 7 #define SIZE_MASK 1000000 struct prods { Arvore codigos[SIZE_ALPHA]; }; struct prod { unsigned char index; int codigo; }; static int prodcmp(const void *acmp,const void *valorcmp, void* nada); static int printProduto(void *produto,void *n,v...
2.875
3
2024-11-18T22:12:29.970350+00:00
2019-11-25T04:23:25
413ef2ac7474812103ce4b0a5bca33af8f20972b
{ "blob_id": "413ef2ac7474812103ce4b0a5bca33af8f20972b", "branch_name": "refs/heads/master", "committer_date": "2019-11-25T04:23:25", "content_id": "489bcf44c1f9b1e7f09d28ff21bcf1abfb8949c9", "detected_licenses": [ "MIT" ], "directory_id": "9888b161ced0b5a1d33502dc9d26a4d861cf7b16", "extension": "c"...
stackv2
#include <stdio.h> #define MAX 100 void push(int s[], int *t); int pop(int s[], int *t); void display(int s[], int *t); int n; int main(void) { //clrscr(); int stack[MAX], choice, top, x, i, ele; top = -1; printf("\n Enter the size of STACK[MAX=100]:"); scanf("%d", &n); printf("\n\t STACK OPERA...
3.859375
4
2024-11-18T22:12:30.104546+00:00
2021-12-26T05:35:24
aee850128904f63b110a79e6b2b3ad1617fe1047
{ "blob_id": "aee850128904f63b110a79e6b2b3ad1617fe1047", "branch_name": "refs/heads/main", "committer_date": "2021-12-26T05:35:24", "content_id": "4706e0a8d6b5850d02df70393bb80687869ac550", "detected_licenses": [ "MIT" ], "directory_id": "b4dc6ae1796640da99929d642fccccc4c26e3c82", "extension": "c", ...
stackv2
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> /* * ~ Sliding Puzzle ~ * * Matheus Carvalho Raimundo * mcarvalhor@usp.br * _______ _______ _______ * | | | \ * | | | \ |___| * | | \ | | * |_______ _______|___| * */ struct __...
3.171875
3