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-19T00:24:13.891719+00:00
2021-01-06T14:59:23
61116b48b71408c75a8c560574daf17adf29b5c0
{ "blob_id": "61116b48b71408c75a8c560574daf17adf29b5c0", "branch_name": "refs/heads/master", "committer_date": "2021-01-06T14:59:23", "content_id": "978c72888c4a8ffae7c49088804b5017b2c98eac", "detected_licenses": [ "MIT" ], "directory_id": "dc6698c33081c988875671c201d486b2a05bf8ad", "extension": "c"...
stackv2
#include <stdio.h> #include<stdlib.h> //Faça um programa que imprima os números pares de 1- a 20 utilizando os laços While, Do While ou For void main(){ int count = 20; for (int i = 10; i <= count; i = i+2){ if (i % 2 == 0){ printf("%d\n", i ); } } }
3.078125
3
2024-11-19T00:24:14.774448+00:00
2017-10-18T07:18:09
4d7c4a2fbc815e8075db86f9bfa1151defee773e
{ "blob_id": "4d7c4a2fbc815e8075db86f9bfa1151defee773e", "branch_name": "refs/heads/master", "committer_date": "2017-10-18T07:18:09", "content_id": "1c041cc12edba58aead417fe1f3ff10f8ec70c77", "detected_licenses": [ "MIT" ], "directory_id": "e6f3fd875079e3235bcfe4f930a52cc89fb6534a", "extension": "h"...
stackv2
#ifndef LMICE_RING_H #define LMICE_RING_H #include <lmice_eal_common.h> #include <lmice_eal_align.h> #include <lmice_eal_shm.h> #include <lmice_eal_event.h> #include <lmice_bloomfilter.h> #include <stdint.h> #include <stdlib.h> /* 容器的内存块最大数量 */ #define MAX_MEMORY_BLOCK_COUNT 16 /** *@brief 共享内存块 * */ /** * @bri...
2.234375
2
2024-11-19T00:24:16.500475+00:00
2020-03-30T14:55:10
96657812df947674cf9382d06f3232cf4a8febb1
{ "blob_id": "96657812df947674cf9382d06f3232cf4a8febb1", "branch_name": "refs/heads/master", "committer_date": "2020-03-30T14:55:10", "content_id": "af5a55a777b6612c90fa5ecb7749f543d60474af", "detected_licenses": [ "BSD-2-Clause", "MIT" ], "directory_id": "f260f49cea8c4e869bd4c05d0090ee1706518211"...
stackv2
#ifndef _CRYPTO_AES_AESNI_H_ #define _CRYPTO_AES_AESNI_H_ #include <stddef.h> #include <stdint.h> /** * crypto_aes_key_expand_aesni(key, len): * Expand the ${len}-byte AES key ${key} into a structure which can be passed * to crypto_aes_encrypt_block_aesni. The length must be 16 or 32. This * implementation uses...
2.25
2
2024-11-19T00:24:16.930059+00:00
2020-06-28T03:00:22
2a6a97fd2e056bed5e36e2a7114426df7743bd6a
{ "blob_id": "2a6a97fd2e056bed5e36e2a7114426df7743bd6a", "branch_name": "refs/heads/master", "committer_date": "2020-06-28T03:00:22", "content_id": "d9c7101e14f077ee8789b9d4f1a387ff15250581", "detected_licenses": [ "Unlicense" ], "directory_id": "5f5bf03bdb115e11630ba687419a5a9886ab31a9", "extension...
stackv2
#include "cartridge.h" #include "memory.h" #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> static void update_mapping(struct cartridge *cart); struct cartridge { uint8_t *rom; uint8_t *ram; time_t ram_time; struct gb_carthdr header; uint8_t ram_enabled; uint16_t rom_banknum; uint8_...
2.4375
2
2024-11-19T00:24:17.517424+00:00
2021-10-02T18:54:24
4ce635c53217cb72b6d14e341202414def0615bb
{ "blob_id": "4ce635c53217cb72b6d14e341202414def0615bb", "branch_name": "refs/heads/master", "committer_date": "2021-10-02T18:54:24", "content_id": "6bfe1ca8b89007b3c5ba9d538503a517731267de", "detected_licenses": [ "MIT" ], "directory_id": "12f4598d071cf3e38921ec50cff48c9d552122d9", "extension": "c"...
stackv2
/*--------------------------------------------------------------*/ /* */ /* compute_ra_understory.c */ /* */ /* */ /* NAME */ /* compute_ra_understory - aerodynamic cond */ /* for ovsretory layers in patch. */ /* */ /* SYNOPSIS */ /* double compute_ra_understory( */ /* ...
2.375
2
2024-11-19T00:24:17.820054+00:00
2023-09-02T14:55:31
1869421a846003590a5f17df48949dd9136c9e3b
{ "blob_id": "1869421a846003590a5f17df48949dd9136c9e3b", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T14:55:31", "content_id": "614913555f8bea61a8f2500974ed2adf57b8145a", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8838eb997879add5759b6dfb23f9a646464e53ca", "extens...
stackv2
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright (C) 2001-2003 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * * $Id: nodelist.h,v 1.135 2005/07/27 14:46:11 dedekind Exp $ * */ #ifndef __JFFS2_...
2.09375
2
2024-11-19T00:24:18.096438+00:00
2023-08-25T00:41:16
752e35b545591658a5cbec038dd33fa435af947d
{ "blob_id": "752e35b545591658a5cbec038dd33fa435af947d", "branch_name": "refs/heads/master", "committer_date": "2023-08-25T00:41:16", "content_id": "53a1934ed1eddd8e15eae40940d411349995c129", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "f0b7bcc41298354b471a72a7eeafe349aa8655bf", "extens...
stackv2
/******************************************************************************* GetDBName.h This header file is included by GetDBName.c *******************************************************************************/ #ifndef _GETDBNAME_INCLUDED #define _GETDBNAME_INCLUDED #include <stdio.h> #include...
2.015625
2
2024-11-19T00:24:18.452150+00:00
2020-11-01T13:40:39
80ec425cb8fd749e7b4a6a532f8ffce34f53782d
{ "blob_id": "80ec425cb8fd749e7b4a6a532f8ffce34f53782d", "branch_name": "refs/heads/master", "committer_date": "2020-11-01T13:40:39", "content_id": "4c941135f33e541a13ef4c822430fafde8279174", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "c922d56e9fbb7552d31f340831ec481c810711e4", "extens...
stackv2
#include <limits.h> /** * @file management.c * @brief * @version 1.00 * @date 18/04/2020 */ /**************************** LIB INCLUDES ******************************/ #include <stdint.h> #include <FreeRTOS.h> #include <task.h> /**************************** USER INCLUDES ************************...
2.421875
2
2024-11-19T00:24:18.510685+00:00
2020-08-10T13:48:36
bdc5ed917898d106ee8a6015f9470ee8925f27f2
{ "blob_id": "bdc5ed917898d106ee8a6015f9470ee8925f27f2", "branch_name": "refs/heads/master", "committer_date": "2020-08-10T13:48:36", "content_id": "a6a9fcdd7c0829342b180e95c24a63349f22ae3d", "detected_licenses": [ "MIT" ], "directory_id": "4a3b14fa09dd8dff42ee8d3559437ac4061f68c0", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include <string.h> int cifra(int fd_entrada, int fd_saida, const char* chave); int decifra(int fd_entrada, int fd_saida, const char* chave); int main(int argc, char const *argv[]) { FILE *entrada; FILE *saida; if (argc != 4) { if (argc == 2) { if ((strncmp(argv[1], "-h...
3.3125
3
2024-11-19T00:24:18.575193+00:00
2021-07-06T14:31:18
dd7e0cede8962ae5d58f9ac52fcbde017a560f05
{ "blob_id": "dd7e0cede8962ae5d58f9ac52fcbde017a560f05", "branch_name": "refs/heads/master", "committer_date": "2021-07-06T14:31:18", "content_id": "181682b2744a78a922b3508a3405f5a997ac792d", "detected_licenses": [ "MIT" ], "directory_id": "b1d2ab2a0cd751490d80ffdb9c0cb5c982703ac5", "extension": "c"...
stackv2
#include <Python.h> #include <math.h> #include "amy.h" // Python module wrapper for AMY commands static PyObject * send_wrapper(PyObject *self, PyObject *args) { char *arg1; if (! PyArg_ParseTuple(args, "s", &arg1)) { return NULL; } parse_message(arg1); return Py_None; } uint8_t started; ...
2.359375
2
2024-11-19T00:24:18.973071+00:00
2022-01-09T09:08:03
97a5605b79dc14a8945bd14f6a6635cc11c425fd
{ "blob_id": "97a5605b79dc14a8945bd14f6a6635cc11c425fd", "branch_name": "refs/heads/master", "committer_date": "2022-01-09T09:08:03", "content_id": "26f2c221435c020b0aa83c293ade2a77001f5252", "detected_licenses": [ "MIT" ], "directory_id": "dba35f15f7d035dad3300eeb5519b858e55de703", "extension": "c"...
stackv2
/* Copyright (c) 2014-2016 stoyan shopov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
2.140625
2
2024-11-19T00:24:19.068911+00:00
2013-11-09T05:10:03
5fd4a688b3a113566471bd24308452c5b066cb2c
{ "blob_id": "5fd4a688b3a113566471bd24308452c5b066cb2c", "branch_name": "refs/heads/master", "committer_date": "2013-11-10T01:13:22", "content_id": "f683f2f22452be8b363f6184dc1b933de9f043a4", "detected_licenses": [ "MIT" ], "directory_id": "ee7f1fbf1f88d94142eb2dad5d2de512e1b27c99", "extension": "c"...
stackv2
/** * Copyright (C) 2013 Tadas Vilkeliskis <vilkeliskis.t@gmail.com> * * * 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 ...
2.671875
3
2024-11-19T00:57:56.527227+00:00
2021-04-06T23:46:40
e8f1fde13c00116903fb2f0f06db52ba4db59cbf
{ "blob_id": "e8f1fde13c00116903fb2f0f06db52ba4db59cbf", "branch_name": "refs/heads/master", "committer_date": "2021-04-06T23:46:40", "content_id": "7d1da9351c596375e8c3fe2232793acbc51db49d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "13761ef556adeb918586d0b7305c4c74bc1a6310", "extens...
stackv2
/* NekoEngine * * vec4_altivec.h * Author: Alexandru Naiman * * 4 component vector functions Altivec implementation * * ----------------------------------------------------------------------------- * * Copyright (c) 2015-2020, Alexandru Naiman * * All rights reserved. * * Redistribution and use in source a...
2.171875
2
2024-11-19T00:57:56.761923+00:00
2015-10-18T20:54:06
b14b878793e8cbd7f70a6d6e99255cbd3352ef78
{ "blob_id": "b14b878793e8cbd7f70a6d6e99255cbd3352ef78", "branch_name": "refs/heads/master", "committer_date": "2015-10-18T20:54:06", "content_id": "7fe2f8cad1b47dee5bd513ed0b904d0a60f33767", "detected_licenses": [ "MIT-Modern-Variant" ], "directory_id": "262b49977868b156ffa0c365631de9ce251b7b42", "...
stackv2
/* * Copyright (C) 2002 Brent N. Chun <bnc@caltech.edu> */ #include <stdio.h> #include <string.h> #include "bitmask.h" #include "e_error.h" #include "xmalloc.h" void bitmask_reset(int *mask, int mask_nbits) { int i, nchunks; e_assert((mask_nbits % BITMASK_CHUNK) == 0); nchunks = mask_nbits / BITMASK_CHU...
3.015625
3
2024-11-19T00:57:56.851711+00:00
2019-10-16T21:37:52
db52eee3ca733f1ef1c1ec5828316ba271d9fd62
{ "blob_id": "db52eee3ca733f1ef1c1ec5828316ba271d9fd62", "branch_name": "refs/heads/master", "committer_date": "2019-10-16T21:37:52", "content_id": "bb99723db15b3aa17cd28781920209255291ed6e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "3e834ee24c0979a90cdc4db55ecbbec4eb090c36", "extens...
stackv2
// This is a C-ish file for testing the proof-of-concept YAML scraper //-| - testAnnotation: &testTests //-| tsFeatures: //-| - "PRNG" //-| tsEnvironment: "Linux" bool testFoo() { int x = foo(); return x == 3; } //-| - modAnnotation: &testModule //-| modName: "TestModule" //-| modLanguage: "...
2.015625
2
2024-11-19T00:57:57.086933+00:00
2017-02-24T09:04:09
0819aa66fb5209c4a7d2d9caa04489dff147c050
{ "blob_id": "0819aa66fb5209c4a7d2d9caa04489dff147c050", "branch_name": "refs/heads/master", "committer_date": "2017-02-24T09:04:09", "content_id": "51e97e16da9651d903a23acc3c4b6d05025367a4", "detected_licenses": [ "MIT" ], "directory_id": "c0b2368278ce623a5f81137dfa271b408db7282c", "extension": "c"...
stackv2
#include "audioencoder.h" #include "anddefs.h" #define LOG_TAG "audioencoder" #include "pplog.h" #ifdef _STDINT_H #undef _STDINT_H #include <stdint.h> #endif #include "libavutil/avutil.h" #include "libavcodec/avcodec.h" struct audioencoder_handle { AVCodec *codec; AVCodecContext *c; AVFrame *frame; int buff...
2.234375
2
2024-11-19T00:57:57.527077+00:00
2017-02-25T14:27:17
d99251cd4e3a4476c3310a19f2c4891991be9cde
{ "blob_id": "d99251cd4e3a4476c3310a19f2c4891991be9cde", "branch_name": "refs/heads/master", "committer_date": "2017-02-25T14:27:17", "content_id": "45b39ae3b9d024e06425749da37de0b03a8a156f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "558f3d5c071e35cd684ca755d562d12794fa33e2", "extensio...
stackv2
/* * Copyright 2016 Peng Wan <phylame@163.com> * * 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 la...
2.21875
2
2024-11-19T00:57:57.785691+00:00
2023-08-31T14:51:12
ba76ff8fe6496cbfdc1a1e88f2beda47e0e508f7
{ "blob_id": "ba76ff8fe6496cbfdc1a1e88f2beda47e0e508f7", "branch_name": "refs/heads/master", "committer_date": "2023-08-31T14:51:12", "content_id": "e680f29ff75af25231cb6a392b7d9c6ed921a0ad", "detected_licenses": [], "directory_id": "9de0cec678bc4a3bec2b4adabef9f39ff5b4afac", "extension": "c", "filename...
stackv2
#include "CandRoot.h" #include "GlobalVariables.h" #include "InputFromUser.h" #include "vdmUtilities.h" //------------------------------------------------------- // Compute the intensity correction for each scan //------------------------------------------------------- void Compute_intensity_correction(Int_t Fill, In...
2.328125
2
2024-11-19T00:57:58.111478+00:00
2019-05-05T21:56:33
3feee87d94248fbd1702f20f4a3ff0bfc67df73c
{ "blob_id": "3feee87d94248fbd1702f20f4a3ff0bfc67df73c", "branch_name": "refs/heads/master", "committer_date": "2019-05-05T21:56:33", "content_id": "43c5a2033a76b0bbeaf41b2259d69299eec070c6", "detected_licenses": [ "MIT" ], "directory_id": "b710d5f2c58c8a44af471f6cea085fd7035ae186", "extension": "c"...
stackv2
// ------------------------------ // MIT-License 0x7e3 // <ergotamin.source@gmail.com> // ------------------------------ // #if defined(__cplusplus) extern "C" { #endif // #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> // #include <dirent.h> #include <fnmatch...
2.203125
2
2024-11-19T00:57:59.297085+00:00
2021-04-30T23:34:14
b98476685945806f902aaafe6102ad5e59703619
{ "blob_id": "b98476685945806f902aaafe6102ad5e59703619", "branch_name": "refs/heads/master", "committer_date": "2021-04-30T23:34:14", "content_id": "e9cbd8d8f3fba9f7cf95720601a2239bddc8c24f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9f68a8801bcaad97298f3ada5bd973c6199c63de", "extens...
stackv2
#include <config.h> #include <i-dunno.h> #include "takebits.h" #include "unicodehelpers.h" #include <netinet/in.h> #include <assert.h> #include <errno.h> #include <stdbool.h> #include <stdlib.h> #include <unicode/uidna.h> #include <unicode/utf8.h> #include <unicode/uspoof.h> static const char *form_rec(take_bits_t t...
2.59375
3
2024-11-19T00:57:59.627921+00:00
2022-05-25T23:10:04
5ecb92ac8ab3466d4cfaee11d61985ffe7930c2d
{ "blob_id": "5ecb92ac8ab3466d4cfaee11d61985ffe7930c2d", "branch_name": "refs/heads/master", "committer_date": "2022-05-25T23:10:04", "content_id": "652a72ffca6327b2e973fa42c84b4ef5542ac545", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3e39e2fa31158d6d86a23773946084db17cd3317", "extensio...
stackv2
/* * GCM block cipher, ESP DMA hardware accelerated version * Based on mbedTLS FIPS-197 compliant version. * * SPDX-FileCopyrightText: The Mbed TLS Contributors * * SPDX-License-Identifier: Apache-2.0 * * SPDX-FileContributor: 2016-2022 Espressif Systems (Shanghai) CO LTD */ /* * The AES block cipher was des...
2.484375
2
2024-11-19T00:58:00.942435+00:00
2018-01-28T04:03:20
22e4672008b98383f2fe761cd162f9f923a9549d
{ "blob_id": "22e4672008b98383f2fe761cd162f9f923a9549d", "branch_name": "refs/heads/master", "committer_date": "2018-01-28T04:03:20", "content_id": "92cce32dc532c51b261fc361a74577d7ab29a49b", "detected_licenses": [ "MIT" ], "directory_id": "64737e2e08389b153b931a7eded8bebbc70c15b5", "extension": "h"...
stackv2
// :copyright: (c) 2017-2018 Alex Huszagh. // :license: MIT, see LICENSE.md for more details. #pragma once #include <pycpp/utility/elemental.h> PYCPP_BEGIN_NAMESPACE // OBJECTS // ------- struct lt1: less_than_comparable<lt1> { int a; lt1(int x): a(x) {} friend bool operator<(const lt1& x, const lt1...
2.15625
2
2024-11-19T00:58:01.093476+00:00
2019-06-26T13:53:10
35020bfb53234e806043ec83c4e7424e18a056e3
{ "blob_id": "35020bfb53234e806043ec83c4e7424e18a056e3", "branch_name": "refs/heads/master", "committer_date": "2019-06-26T13:53:10", "content_id": "d92c0ee69335b86658180ffb7532fb64fd500864", "detected_licenses": [ "MIT" ], "directory_id": "449a6f830c9725d10b656f83f729c0bb65dcb93a", "extension": "h"...
stackv2
// // Created by IvanLu on 2019/1/29. // #ifndef CUTILITY_ARRAYSTACK_H #define CUTILITY_ARRAYSTACK_H #include "Stack.h" typedef struct ARRAY_STACK { Stack parent; void **data; int top; int capacity; } ArrayStack; int ArrayStackEmpty(ArrayStack *v) { return v->top == 0; } void *ArrayStackTop(Arr...
2.84375
3
2024-11-19T00:58:02.718140+00:00
2018-06-28T03:14:37
b7427ce4a714c084b75336962d59f071b353ea55
{ "blob_id": "b7427ce4a714c084b75336962d59f071b353ea55", "branch_name": "refs/heads/master", "committer_date": "2018-06-28T03:14:37", "content_id": "46c8c001ed68a7229379d734c745da770d985129", "detected_licenses": [ "ISC" ], "directory_id": "5f3d3d4223e25ebb32a86df7b50e716794755074", "extension": "h"...
stackv2
/* * Copyright (c) 2017 P. Arun Babu and Jithin Jose Thomas * arun DOT hbni AT gmail DOT com, jithinjosethomas AT gmail DOT com * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permissio...
2.171875
2
2024-11-19T00:58:03.337318+00:00
2020-09-10T23:16:05
1393bca1503b1cc1716d52b0929a41a95d3d5b24
{ "blob_id": "1393bca1503b1cc1716d52b0929a41a95d3d5b24", "branch_name": "refs/heads/master", "committer_date": "2020-09-10T23:16:05", "content_id": "33f31efa8a0797db250068638856f4f28c5dc082", "detected_licenses": [ "MIT" ], "directory_id": "ff6379461ec8136864a9bee1acea3c4784e70eaf", "extension": "c"...
stackv2
/********************* * INCLUDES *********************/ #include "../../lib/lv_bindings/lvgl/lvgl.h" #include "../include/common.h" #include <stdlib.h> #include <unistd.h> #include <stddef.h> #include <stdio.h> #include <fcntl.h> #include <linux/fb.h> #include <sys/mman.h> #include <sys/ioctl.h> #include <pth...
2.046875
2
2024-11-19T00:58:03.412797+00:00
2023-08-31T02:16:24
0aa1f5f175ec27d66ae75671c38365d569f4e995
{ "blob_id": "0aa1f5f175ec27d66ae75671c38365d569f4e995", "branch_name": "refs/heads/vlm_master", "committer_date": "2023-08-31T02:16:24", "content_id": "bc71a01cd6b64665d6cee3cb91644029dae04e4a", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "853f3da12f4c0c5b4c5584e71537e4a81458bcce", "ex...
stackv2
/* * Copyright (c) 2017 Lev Walkin <vlm@lionet.info>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_internal.h> #include <constr_CHOICE.h> /* * Return a standardized complex structure. */ #undef RETURN #define RETURN(_code) \ ...
2.46875
2
2024-11-19T00:58:04.559418+00:00
2019-02-20T00:15:11
e78cd0f3c4f16f495caa7453896b29b7e2943ec9
{ "blob_id": "e78cd0f3c4f16f495caa7453896b29b7e2943ec9", "branch_name": "refs/heads/master", "committer_date": "2019-02-20T00:15:11", "content_id": "656cdbec994d77a3552cd0b88d953be81b80b768", "detected_licenses": [ "CC0-1.0" ], "directory_id": "c5a05a7523693a8162fed5941e649121cdf63fce", "extension":...
stackv2
#include <AftString/aft_string.h> #include "aft_string_config.h" #include <assert.h> #include <stddef.h> #define AFT_ASSERT(expression) \ assert(expression) #if !defined(AFT_USE_CUSTOM_ALLOCATOR) || AFT_USE_CUSTOM_ALLOCATOR == 0 #include <stdlib.h> AftMemoryBlock aft_allocate(void* allocator, uint64_t bytes)...
2.328125
2
2024-11-19T00:58:04.727359+00:00
2016-01-06T14:02:14
9138e9ef0f5f346694f711690dad9fdba2a56dd4
{ "blob_id": "9138e9ef0f5f346694f711690dad9fdba2a56dd4", "branch_name": "refs/heads/master", "committer_date": "2016-01-06T14:02:14", "content_id": "0a182cb877e78c03d401ed6649d76172947be5d2", "detected_licenses": [ "MIT" ], "directory_id": "436ecf9b671f42c549b32ea66e21f59b193917b3", "extension": "c"...
stackv2
#include "stm32f4xx.h" #include "pwm.h" TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_OCInitTypeDef TIM_OCInitStructure; TIM_BDTRInitTypeDef TIM_BDTRInitStructure; uint16_t CCR1_Val = 0; uint16_t CCR2_Val = 0; uint16_t CCR3_Val = 0; uint16_t CCR4_Val = 0; uint16_t PrescalerValue = 0; void TIM1_Conf...
2.5625
3
2024-11-19T00:58:04.820052+00:00
2020-06-29T07:31:31
e2246bd2dd41abaff781d20c013d0d226c3c0621
{ "blob_id": "e2246bd2dd41abaff781d20c013d0d226c3c0621", "branch_name": "refs/heads/master", "committer_date": "2020-06-29T07:31:31", "content_id": "8444420cb4990312bd1dd7de0465693b8dbb7fc2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "71d76bc8044a43ef0aa2ca18596cbe8c47aae5fd", "extensio...
stackv2
#include "mgos.h" #include "mgos_zswitch_gpio.h" #include "mgos_zswitch_mqtt.h" void zswitch_state_updated_cb(int ev, void *ev_data, void *ud) { struct mgos_zswitch_state *state = (struct mgos_zswitch_state *)ev_data; LOG(LL_INFO, ("Switch '%s' switched %s", state->handle->id, (state->value ? "ON" : "OFF"))); ...
2.578125
3
2024-11-19T00:58:05.042379+00:00
2019-11-25T12:52:49
75116a24b72234ba36a20d2648d3085c64a73e0a
{ "blob_id": "75116a24b72234ba36a20d2648d3085c64a73e0a", "branch_name": "refs/heads/master", "committer_date": "2019-11-25T12:52:49", "content_id": "ae306194fa48ad261ca94a9a41f1fb88a48a9b99", "detected_licenses": [ "MIT" ], "directory_id": "c648deb25675f32741d89110054a295e9df4894c", "extension": "c"...
stackv2
#include "lyapunov.h" #include "fsi.h" #include <math.h> #include <stdlib.h> void lyapunov_init_state(unsigned int it, LyapunovState * lp_state, ParticleState * p_state, FlowState * f_state, LbmState * lbm_state) { // Initial disturbance and tolerance lp_state->d0 = 1.0e-6; lp_state->norm_tol = 1.0e-1; // Initial...
2.765625
3
2024-11-19T00:58:05.194610+00:00
2018-05-23T06:55:18
67d14a51642761a7d111738c2e45e6d4131e0b96
{ "blob_id": "67d14a51642761a7d111738c2e45e6d4131e0b96", "branch_name": "refs/heads/master", "committer_date": "2018-05-23T06:55:18", "content_id": "a77106080adcba0e32a3bd59b71ada83c04d5a5b", "detected_licenses": [ "MIT" ], "directory_id": "2bc3398063fd7251c46a2d93d2e301cd063befcd", "extension": "c"...
stackv2
// enchase.c #include <ansi.h> inherit F_CLEAN_UP; void create() { seteuid(getuid()); } int main(object me, string arg) { string item, tessera; object obj, dest; if (! arg) return notify_fail("你要往什么道具上镶嵌物品?\n"); if (me->is_busy()) return notify_fail(...
2.75
3
2024-11-19T00:58:05.604385+00:00
2020-05-03T07:52:01
83e73e85873c6a8f95ac43a8bc168256e61a32e5
{ "blob_id": "83e73e85873c6a8f95ac43a8bc168256e61a32e5", "branch_name": "refs/heads/master", "committer_date": "2020-05-03T07:52:01", "content_id": "28f0e931ecaa1c31e16970b26c55b519dfc103d7", "detected_licenses": [ "MIT" ], "directory_id": "b9e4573488a6eff5cf27102f947ebbe034af5b30", "extension": "c"...
stackv2
#include <stdio.h> #include <caml/alloc.h> #include <caml/callback.h> #include <caml/memory.h> #include <caml/mlvalues.h> #include <string.h> #include "caml_values.h" #ifdef WIN32 #include "ReveryWin32.h" #elif __APPLE__ #include "ReveryCocoa.h" #else #include "ReveryGtk.h" #endif CAMLprim value revery_getIconHandl...
2.234375
2
2024-11-19T00:50:04.430000+00:00
2022-08-03T19:47:07
14b1f329b80d25d87a49200e1c6a4e924c7d5400
{ "blob_id": "14b1f329b80d25d87a49200e1c6a4e924c7d5400", "branch_name": "refs/heads/master", "committer_date": "2022-08-03T19:47:07", "content_id": "41c4e306c92e9d9eb9b8b40ba4c99b95a7a681d5", "detected_licenses": [ "MIT" ], "directory_id": "f1309e7ae55777f2027b68e9ce03b5e599ed9a24", "extension": "c"...
stackv2
#include <lua.h> #include <lualib.h> #include <lauxlib.h> // Define our function, we have to follow the protocol of lua_CFunction that is // typedef int (*lua_CFunction) (lua_State *L); int multiplication(lua_State *L) { // Check first argument is integer and return the value int a = luaL_checkinteger(L, 1)...
3.109375
3
2024-11-19T00:50:04.615205+00:00
2011-09-12T11:57:59
ba2ae02b31fb55d68dc76f80482b8f3a6ae83613
{ "blob_id": "ba2ae02b31fb55d68dc76f80482b8f3a6ae83613", "branch_name": "refs/heads/master", "committer_date": "2011-09-12T11:57:59", "content_id": "a5ae4a35eeaa8b3b3355aa90af474f977ebc3860", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "49f585bea84388db8c26e44c4369f2ecc0ad2656", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "list.h" NODE *list_create(void *data) { NODE *node; if(!(node=malloc(sizeof(NODE)))) return NULL; // node->data=data; node->data = malloc(strlen((char *)data) * sizeof (char) + 1); strncpy((char *)node->data, data, strlen(data)); node->co...
3.015625
3
2024-11-19T00:50:04.998026+00:00
2016-06-02T06:25:01
02b9ff2dbe7ec0cc1a5f87bf17e752cb55061259
{ "blob_id": "02b9ff2dbe7ec0cc1a5f87bf17e752cb55061259", "branch_name": "refs/heads/master", "committer_date": "2016-06-02T06:25:01", "content_id": "ae00f2d74be043a8e07a1d76ce44fa5b6f665b1c", "detected_licenses": [ "MIT" ], "directory_id": "a34667fbad615d4c5f460e4346ecfece2334a7ba", "extension": "c"...
stackv2
/** Mars module * * Author: Zex Li <top_zlynch AT yahoo.com> */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/platform_device.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR("Zex Li"); MODULE_DESCRIPTION("Mars core"); MODULE_ALIAS("Mars"); MODULE_ALIAS("mars_core"); #define DRIVER_NAME "mars_core" #d...
2.3125
2
2024-11-19T00:50:05.256435+00:00
2020-04-29T14:11:45
431a0c8f463418933c5b101be45469419e64ea6a
{ "blob_id": "431a0c8f463418933c5b101be45469419e64ea6a", "branch_name": "refs/heads/master", "committer_date": "2020-04-29T14:11:45", "content_id": "4645dda3d26a66bdb3cb4acf63114694e2d90e80", "detected_licenses": [ "MIT" ], "directory_id": "1b6fb1e6877ef018ebb847bbd1ef2918b4bc1564", "extension": "c"...
stackv2
#include "library.h" static char *curr_directory = NULL; static char *curr_file = NULL; block_array *create_block_array (size_t array_length) { if (array_length == 0) { printf("Error: array_length must be >0!aq"); exit(1); } block_array *array = calloc (1,sizeof(block_array)); array->array_length ...
2.765625
3
2024-11-19T00:50:05.481537+00:00
2023-01-09T11:45:36
533b23364b03f9b9afe146fe144a63f3a9c3ec58
{ "blob_id": "533b23364b03f9b9afe146fe144a63f3a9c3ec58", "branch_name": "refs/heads/master", "committer_date": "2023-01-09T11:45:36", "content_id": "a613f378e1c99647786b834d525048c76092bad8", "detected_licenses": [ "MIT" ], "directory_id": "5835b9bd44fb6a886b58e3c433b9fee2b28590b3", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> /** ** Return an array of size *returnSize. ** Note: The returned array must be malloced, assume caller calls free(). **/ static int* plusOne(int* digits, int digitsSize, int* returnSize) { int i, j, len = 0, carry = 1; int *result = malloc((digitsS...
3.703125
4
2024-11-19T00:50:06.346967+00:00
2021-05-31T17:00:31
f00796c149ea284b7b819fe2c0a910796615c5ff
{ "blob_id": "f00796c149ea284b7b819fe2c0a910796615c5ff", "branch_name": "refs/heads/master", "committer_date": "2021-05-31T17:00:31", "content_id": "00284ce8d33a602cf100bc82cccd607ae1dca893", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6e9b5895efa292acfdfb5f05716a81037ff01bd6", "extensio...
stackv2
#include "c8_keyboard.h" #include <stdlib.h> #include <assert.h> #include <string.h> #include "common.h" struct C8_Keyboard { uint8_t key[C8_KEYBOARD_SIZE]; uint8_t *Vx; }; C8_Keyboard_ptr C8_Keyboard_init(void) { void *malloc_call = NULL; C8_Keyboard_ptr keys = NULL; malloc_call = malloc(siz...
2.75
3
2024-11-19T00:50:06.467164+00:00
2019-12-03T15:37:13
cbd35f6ecefcaf510423629fffe11fd3366778fc
{ "blob_id": "cbd35f6ecefcaf510423629fffe11fd3366778fc", "branch_name": "refs/heads/master", "committer_date": "2019-12-03T15:37:13", "content_id": "167ee69fd2b6df8b76519d23e5f4de1318c8d286", "detected_licenses": [ "MIT" ], "directory_id": "38476bb42328b9627328676ef56178d4c41f28cc", "extension": "h"...
stackv2
#ifndef ESTRUTURAS_H #define ESTRUTURAS_H #include <stdio.h> #include <stdlib.h> #include <string.h> #define TAMANHO_DA_TABELA 256 #define BARRA 92 //caractere de barra invertida da tabela ASCII typedef struct node { int frequencia; void *item; struct node *proximo; struct node *direita; struct n...
2.703125
3
2024-11-19T00:50:06.919138+00:00
2023-07-07T18:41:40
2667aed1fc6a55c81064a08a3f12efdd7cad0d10
{ "blob_id": "2667aed1fc6a55c81064a08a3f12efdd7cad0d10", "branch_name": "refs/heads/master", "committer_date": "2023-07-07T18:41:40", "content_id": "12956ace9828293c2a3a2dca7d8cc2484c5c491b", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c26d7b0ed875357278e61627da2da0650da77986", "extens...
stackv2
/* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ # include "trek.h" /* ** damage control report ** ** Print damages and time to fix. This is taken from the event ** list. A...
2.921875
3
2024-11-19T00:50:09.361623+00:00
2018-07-31T23:18:46
40ca83fe7cddd294a14a7f4595dff3243599ac91
{ "blob_id": "40ca83fe7cddd294a14a7f4595dff3243599ac91", "branch_name": "refs/heads/master", "committer_date": "2018-07-31T23:18:46", "content_id": "57041f7c923ce3e578a813217549c65a16b69e12", "detected_licenses": [ "MIT" ], "directory_id": "24417ff25ef836386397659ce2c8331ab6cb6877", "extension": "c"...
stackv2
/* * db_handler.c * * Created on: Jun 9, 2018 * Author: pchero */ #define _GNU_SOURCE #include <asterisk.h> #include <asterisk/logger.h> #include <asterisk/utils.h> #include "db_ctx_handler.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define sfree(p) { if(p != NULL) ast_free(p); p=NULL...
2.59375
3
2024-11-19T00:50:09.452664+00:00
2023-08-25T07:46:03
efc68dcba84537e450583cfcd181a344d5b25424
{ "blob_id": "efc68dcba84537e450583cfcd181a344d5b25424", "branch_name": "refs/heads/main", "committer_date": "2023-08-25T07:46:03", "content_id": "05c930f230eab73ef448720190966f71fd19fc21", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f1e5fe23bbed43e1f6cd275060234a9c41d1eb0f", "extension"...
stackv2
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include "checksums.h" #include <aws/checksums/crc.h> napi_value crc_common(napi_env env, napi_callback_info info, uint32_t (*checksum_fn)(const uint8_t *, int, uint32_t)) { napi_value node_args[...
2.3125
2
2024-11-19T00:50:09.538772+00:00
2017-08-10T12:02:09
ed3a634850374999453870260cc95fea56b715d4
{ "blob_id": "ed3a634850374999453870260cc95fea56b715d4", "branch_name": "refs/heads/master", "committer_date": "2017-08-10T12:02:09", "content_id": "3e0dceb3d79524de7cffc10aabe7b02f7b5981ce", "detected_licenses": [ "MIT" ], "directory_id": "e9f87e5fc628c5ee2bdf8c0e9088d8ee4b7eb47e", "extension": "c"...
stackv2
/* THE ERP SYSTEM FOR C (ERP4C) Author czfshine (https://github.com/czfshine) Date :2017-05-10 11:10 Langage :ANSI C Listen :MIT Description: 商品进销存管理程序 1、题目描述 设计一个商品进销存管理程序,该程序具有以下功能: (1)录入商品信息; (2)给定商品编号,修改该商品信息; (3)给定商品编号,删除该商品信息; (4)录入商品的进货与销售信息; (5)给定商品编号或商品名,查看该商品及库存信息; (6)统计功能:提供一些统计各类信息的功能。...
2.609375
3
2024-11-19T00:50:09.694309+00:00
2022-05-19T07:26:10
136f27380a03fefd6da52791c8c10cde8f996c5e
{ "blob_id": "136f27380a03fefd6da52791c8c10cde8f996c5e", "branch_name": "refs/heads/master", "committer_date": "2022-05-19T07:26:10", "content_id": "5c9ab390e0b041ca90dcc5b768d6656452610dc5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "33a5acd029eb08f326ccf0fb5e3dea3ba3801d18", "extensio...
stackv2
/* Copyright 2006 - 2011 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/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
2.28125
2
2024-11-19T00:50:11.189650+00:00
2022-03-16T13:18:57
5c3edf3bf469862f9707406376f2fda9f9e037ea
{ "blob_id": "5c3edf3bf469862f9707406376f2fda9f9e037ea", "branch_name": "refs/heads/master", "committer_date": "2022-03-16T13:18:57", "content_id": "03b05d0261af42fea3e19144c8a0e2a31c5c3b36", "detected_licenses": [ "Apache-2.0" ], "directory_id": "9d977e16c14197f7c9f6eb5d7f63ccb167c070d8", "extensio...
stackv2
#ifndef __BPF_HELPERS_H #define __BPF_HELPERS_H /* helper macro to place programs, maps, license in * different sections in elf_bpf file. Section names * are interpreted by elf_bpf loader */ #define SEC(NAME) __attribute__((section(NAME), used)) // Table for reading hw perf cpu counters #define BPF_PERF_ARRAY(_nam...
2.078125
2
2024-11-19T00:50:11.276829+00:00
2020-01-07T12:12:18
877c11cabe49b2594c19968da2940564b42b3fa3
{ "blob_id": "877c11cabe49b2594c19968da2940564b42b3fa3", "branch_name": "refs/heads/master", "committer_date": "2020-01-07T12:12:18", "content_id": "d3974fba0b75e4a31a997fee680dd5b50939ba05", "detected_licenses": [ "MIT" ], "directory_id": "3033fad29813eef9d066bb4a41348b26115c23af", "extension": "h"...
stackv2
#pragma once #include <xcb/xcb.h> /** * @struct xcb_image_t * A structure that describes an xcb_image_t. */ struct xcb_image_t { uint16_t width; /**< Width in pixels, excluding pads etc. */ uint16_t height; /**< Height in pixels. */ xcb_image_format_t format; /**< Format. */ ...
2.1875
2
2024-11-19T00:50:11.360877+00:00
2021-06-11T08:04:04
41aa770f26340d71905af8f063f00d508a08e371
{ "blob_id": "41aa770f26340d71905af8f063f00d508a08e371", "branch_name": "refs/heads/master", "committer_date": "2021-06-11T08:04:04", "content_id": "9e91f94b9f0989ee0cb493512719a8433749eb86", "detected_licenses": [ "MIT" ], "directory_id": "1b5cd7cd9abb60056c9af6bce933c892c47a04cc", "extension": "c"...
stackv2
#include <pty.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/wait.h> #include <signal.h> #include <ft_pty.h> #include <ft_terminal.h> ft_pty_t ft_pty; int ft_pty_init(ft_pty_t *pty) { int fdm = posix_openpt(O_RDWR); if (fdm < 0) { ...
2.671875
3
2024-11-19T00:50:11.909907+00:00
2022-05-18T20:59:44
f65e5678659a4f366d39e2559b86bab1a4503eeb
{ "blob_id": "f65e5678659a4f366d39e2559b86bab1a4503eeb", "branch_name": "refs/heads/master", "committer_date": "2022-05-18T20:59:44", "content_id": "430888bea72a58406a47939c6ac1a70f3a6cd65f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "9381b00ffe6aa2392b007299443db9ee87db5002", "extensio...
stackv2
// Author: Filipe Carvalho #ifndef _CPU_1V1_H_ #define _CPU_1V1_H_ /************************************************************************/ /* Include external libraries */ /************************************************************************/ #include <avr/io.h> #includ...
2.1875
2
2024-11-19T00:50:12.570787+00:00
2017-07-09T21:55:02
8999645100e8e783196fa96a599e3c54c88a4281
{ "blob_id": "8999645100e8e783196fa96a599e3c54c88a4281", "branch_name": "refs/heads/master", "committer_date": "2017-07-09T21:55:02", "content_id": "97d4721024f0286bf01989f6e72a28c480ea6bad", "detected_licenses": [ "MIT" ], "directory_id": "99dbc21cbfc1477f9211dc7e1c15a7a545f30dd9", "extension": "c"...
stackv2
/* ungets should just use ungetch as ungetch keeps track of buf and bufp. */ void ungets(char s[]) { int i = strlen(s); if (bufp + i + 1 > BUFSIZE) printf("ungets: too many characters\n"); else while (i > 0) ungetch(s[--i]); }
2.8125
3
2024-11-19T00:50:12.641803+00:00
2023-03-18T18:43:20
24420cbaa61ca0f405344fbd24b7fb29c1327fd4
{ "blob_id": "24420cbaa61ca0f405344fbd24b7fb29c1327fd4", "branch_name": "refs/heads/master", "committer_date": "2023-03-18T18:43:20", "content_id": "49b323e7c3f553ea7a7b03d1bc3d9df053526520", "detected_licenses": [ "MIT" ], "directory_id": "81b659b96fbe1cd6fc7b32febe5452b4dab6fea1", "extension": "c"...
stackv2
/*$T src/ssd1351.c GC 1.150 2023-03-18 10:52:19 */ //MIT License //Copyright (c) 2022 Jaime Centeno //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 lim...
2.4375
2
2024-11-19T00:50:12.753278+00:00
2014-04-27T02:52:34
be430b025700bc59fb16bcb9a625085c6a86b923
{ "blob_id": "be430b025700bc59fb16bcb9a625085c6a86b923", "branch_name": "refs/heads/master", "committer_date": "2014-04-27T02:52:34", "content_id": "d58aaa4d19b785268a867c61eaecdadc3eb5e351", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "651a82d30d75209bd5b409dd1aca7151fd56eb34", "extens...
stackv2
/* Copyright (c) 2014 Fu Haiping <haipingf@gmail.com> * * 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, modif...
2.171875
2
2024-11-19T00:50:14.126948+00:00
2014-01-06T09:11:22
e019b68bb4b08bb6e1df579a49dc4a45d634c8be
{ "blob_id": "e019b68bb4b08bb6e1df579a49dc4a45d634c8be", "branch_name": "refs/heads/master", "committer_date": "2014-01-06T09:11:22", "content_id": "5889fcc15b43dab2914de0be3e565f7cd9ec68a0", "detected_licenses": [ "MIT" ], "directory_id": "e1f8e05eafef4e150f361997e58875314b203d00", "extension": "h"...
stackv2
/* * util.h * * Copyright (c) 2013-2014 skdltmxn <supershop@naver.com> * */ #ifndef __UTIL_H_ #define __UTIL_H_ #define safe_free(p) \ if ((p)) { \ free((p)); \ (p) = NULL; \ } extern byte *create_string(const byte *src); extern size_t string_length(const byte *str); extern byte *strin...
2.0625
2
2024-11-19T00:50:14.390823+00:00
2020-10-08T10:58:19
f6ac39324295ffb5fb01295d3d3b1c3691024d90
{ "blob_id": "f6ac39324295ffb5fb01295d3d3b1c3691024d90", "branch_name": "refs/heads/master", "committer_date": "2020-10-08T10:58:19", "content_id": "8446eb7b46299929304a2c507ae98eb618045680", "detected_licenses": [ "MIT" ], "directory_id": "6037c25925d1796fc27d6e46138d291e166aca03", "extension": "h"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #ifdef __cplusplus extern "C" { #endif typedef struct circbuf { char* bytes; size_t pos; size_t read_pos; size_t read_size; size_t size; FILE* fd; int finished; } circbuf; extern int CIRCBUF_DEBUG_LOG_LEVEL; #ifdef CIRCB...
2.3125
2
2024-11-19T00:50:14.461036+00:00
2021-04-21T21:52:43
758930faba10cdbd426ef27590c669ef0ebe71a9
{ "blob_id": "758930faba10cdbd426ef27590c669ef0ebe71a9", "branch_name": "refs/heads/main", "committer_date": "2021-04-21T21:52:43", "content_id": "bbd0291c55219f4add5b4b8d6fa3f3457d31178c", "detected_licenses": [ "MIT" ], "directory_id": "a3687607bcd67a5e18093ab7354c58615470ebbb", "extension": "c", ...
stackv2
#include <stdlib.h> #include <stdio.h> // sprintf #include "fraccion.h" typedef struct fraccion { int numerador; int denominador; }fraccion_t; fraccion_t* fraccion_crear(int numerador, int denominador) { fraccion_t *fraccion = malloc(sizeof(fraccion_t)); if (fraccion == NULL || !denominador) ...
3.359375
3
2024-11-19T00:50:14.759438+00:00
2013-11-21T22:38:03
be8e6e15c4dba8daa2b7465ff9fd31826e04dc1d
{ "blob_id": "be8e6e15c4dba8daa2b7465ff9fd31826e04dc1d", "branch_name": "refs/heads/master", "committer_date": "2013-11-21T22:38:03", "content_id": "7b694972dd00563e2562a1197f15d8e8549e3c26", "detected_licenses": [ "Apache-2.0" ], "directory_id": "9aed6d1ef69a25b1d3ea1478bbf8240f4f07af75", "extensio...
stackv2
//Hardware Abstraction Layer #include "HAL.h" #include "../UI/console.h" /** Read and return an octet from SPI port*/ unsigned char SPIGetChar(){ SPIWait(); SPIF = 0; SPIPutCharWithoutWaiting(0xff); /* send 0xff */ SPIWait(); /* wait for the byte to transfer */ return SPI_RESULT_BYTE; /* Return the received...
2.375
2
2024-11-19T00:50:15.005687+00:00
2021-07-17T07:48:23
420ecb8668294b1391e63ac0eac8064739b9f281
{ "blob_id": "420ecb8668294b1391e63ac0eac8064739b9f281", "branch_name": "refs/heads/master", "committer_date": "2021-07-17T07:48:23", "content_id": "0bdb88f6dbade1d20ca8008d93879872d3b65ef9", "detected_licenses": [ "MIT" ], "directory_id": "3fdf4d2b0ec2f2108a9604ebb6ba557ed48c2a76", "extension": "c"...
stackv2
#include "fastfetch.h" #include <string.h> #include <unistd.h> #include <pthread.h> #define FF_TERMINAL_MODULE_NAME "Terminal" #define FF_TERMINAL_NUM_FORMAT_ARGS 3 void ffPrintTerminal(FFinstance* instance) { const FFTerminalShellResult* result = ffDetectTerminalShell(instance); if(result->terminalProcessN...
2.140625
2
2024-11-19T00:50:15.815200+00:00
2019-11-06T14:02:13
61f6aa1a931e0fac666357837199b289dbfd2ae3
{ "blob_id": "61f6aa1a931e0fac666357837199b289dbfd2ae3", "branch_name": "refs/heads/master", "committer_date": "2019-11-06T14:02:13", "content_id": "e48cec92104e7322aec834d1434e87be7cc6f565", "detected_licenses": [ "MIT" ], "directory_id": "a3647b3cadf977a7b1b1c3ac16d84bb81bd79589", "extension": "c"...
stackv2
#include "./../../src/str/str.h" #include "./../../src/set/set.h" #include "./../assert.h" #include "./../test.h" #include "./../../src/dynamic/dynamic.h" #include "./../../src/foreach/foreach.h" #include "./../../src/fold/fold.h" #include "./../../src/map/map.h" #include <stdio.h> #include <stdlib.h> #include <string....
2.84375
3
2024-11-19T00:50:18.480571+00:00
2021-12-10T03:49:42
1306b4de1383234ea1b25c0b4abc6df5279676c3
{ "blob_id": "1306b4de1383234ea1b25c0b4abc6df5279676c3", "branch_name": "refs/heads/master", "committer_date": "2021-12-10T03:49:42", "content_id": "b7d18c78545db3b94b64f7aca14fa4a1e033ff28", "detected_licenses": [ "MIT" ], "directory_id": "3d58bca8dd4c5060e0e23e5ba499e277bd01fab0", "extension": "c"...
stackv2
/** * Unit tests for GSSW. * Not using any real unit testing framework to avoid dependencies. */ #include <assert.h> #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include "gssw.h" //////////////////////////////////////////////////////////////////////////////// // Test tools (basi...
2.359375
2
2024-11-19T00:50:18.962724+00:00
2018-07-17T17:15:33
943b3f924428301186d55e07c394d3546f2f0c03
{ "blob_id": "943b3f924428301186d55e07c394d3546f2f0c03", "branch_name": "refs/heads/master", "committer_date": "2018-07-17T17:15:33", "content_id": "03c4562bd6c8e6d45e601d36894e626cc42ef341", "detected_licenses": [ "MIT" ], "directory_id": "d55e95751ea69870a1b94fd38da15a657ac23089", "extension": "c"...
stackv2
/****************************************************************************** Filename : kernel.c Author : pry Date : 04/02/2018 Licence : LGPL v3+; see COPYING for details. Description : The RMP RTOS single-file kernel. This is a single-process kernel that does nothing but simple thr...
2.71875
3
2024-11-19T00:50:19.460929+00:00
2021-09-15T19:11:48
1cdadf75e565cbef43bff909247a02783f0385bd
{ "blob_id": "1cdadf75e565cbef43bff909247a02783f0385bd", "branch_name": "refs/heads/master", "committer_date": "2021-09-15T19:11:48", "content_id": "bedff9f9052f210955f6572db1c6daa88cb00594", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "0fe80bbf10fdaeb4f338ebdebc30a28fb8ac9629", "extens...
stackv2
/* ellpjf.c * * Jacobian Elliptic Functions * * * * SYNOPSIS: * * float u, m, sn, cn, dn, phi; * int ellpj(); * * ellpj( u, m, _&sn, _&cn, _&dn, _&phi ); * * * * DESCRIPTION: * * * Evaluates the Jacobian elliptic functions sn(u|m), cn(u|m), * and dn(u|m) of parameter m between 0 and 1, and real...
2.46875
2
2024-11-19T00:50:19.760662+00:00
2015-06-19T18:59:37
26edf2461bfa1d14fdf8a39291d62ed88ff31421
{ "blob_id": "26edf2461bfa1d14fdf8a39291d62ed88ff31421", "branch_name": "refs/heads/master", "committer_date": "2015-06-19T18:59:37", "content_id": "9693ec797be0d63f15006fb2a63978a29a5633ba", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5552b480dd01502469f31ba81db9ea0d37671cf2", "extensio...
stackv2
/* Original version by Rebecca Bruce. Copyright 1993, Ted Dunning, ted@nmsu.edu Redistribution permitted if I am notified, and if this copyright notice is preserved. Inclusion in other software is also allowed on the same terms. Other terms by request. $Log: chi2_lib.c,v $ * Revision 1.2 1996/05/16 21:49:48 te...
2.734375
3
2024-11-19T00:50:19.913889+00:00
2017-07-02T17:41:46
03a1d9f8e02a94111e5588c2e3447691c419e1b4
{ "blob_id": "03a1d9f8e02a94111e5588c2e3447691c419e1b4", "branch_name": "refs/heads/master", "committer_date": "2017-09-14T20:40:19", "content_id": "064edffc32178444ea220b07caaf0f85dd280992", "detected_licenses": [ "MIT" ], "directory_id": "4c3e23f41f6302b3ccc7fe41fb60ed277f8128bd", "extension": "c"...
stackv2
/* Event-Based Branch Facility Tests. * * Copyright IBM Corp. 2014 * * The MIT License (MIT) * * 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 l...
2.328125
2
2024-11-19T00:50:20.010084+00:00
2017-09-12T03:20:23
677a5fe8a56bd3f3697e9abb8fa6a834d11ca505
{ "blob_id": "677a5fe8a56bd3f3697e9abb8fa6a834d11ca505", "branch_name": "refs/heads/master", "committer_date": "2017-09-12T03:20:23", "content_id": "754b00f2ebc3db7e07a0dd6585d78df1cf23fb9b", "detected_licenses": [ "MIT" ], "directory_id": "8c72cc2696dc23efba93fb5648cc3fd74853d1d8", "extension": "c"...
stackv2
#include "types.h" #include "user.h" #include "x86.h" #include "time.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" //#include "defs.h" // SE LLAMA A LAS VARIABLES GLOBALES TICKS Y BOOTTIME CON EXTERN PORQUE // SI INCLUIMOS LA BIBLIOTECA DEFS.H NOS TIRA UN ERROR DE COMPILACION, // EL C...
2.328125
2
2024-11-19T01:00:55.154465+00:00
2013-04-17T18:42:40
3fc420e278bf0accf5932a804dd3d665ae351dc9
{ "blob_id": "3fc420e278bf0accf5932a804dd3d665ae351dc9", "branch_name": "refs/heads/master", "committer_date": "2013-04-17T18:42:40", "content_id": "4958d41e3a0177dda0105a9b1e237225e1687d1b", "detected_licenses": [ "MIT" ], "directory_id": "bb108c3ea7d235e6fee0575181b5988e6b6a64ef", "extension": "c"...
stackv2
/***************************************************************************** 74153 Dual 4-line to 1-line data selectors/multiplexers Pin layout and functions to access pins: enable_w(0) [1] /1G VCC [16] b_w [2] B /2G [15] enable_w(1) input_line_w(0,3) [3] 1C3 A [14] a_...
2.53125
3
2024-11-19T01:00:55.541917+00:00
2021-12-01T15:55:14
7915e7da9afd3ba04ac2ed9aa22b75e2c2f01340
{ "blob_id": "7915e7da9afd3ba04ac2ed9aa22b75e2c2f01340", "branch_name": "refs/heads/master", "committer_date": "2021-12-01T15:55:14", "content_id": "ef1708dc976bbdb7cc2a6298fa045a200c2be19d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8d97668e0666f0b7e7c82b52bae13ece76435612", "extensio...
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
2
2024-11-19T01:00:55.842356+00:00
2019-05-20T21:41:57
186fcbf2f9b9193e7d627c286db217d6ae157773
{ "blob_id": "186fcbf2f9b9193e7d627c286db217d6ae157773", "branch_name": "refs/heads/master", "committer_date": "2019-05-20T21:41:57", "content_id": "c5e6b043c67324779ebb87e61704f5b88479e0fc", "detected_licenses": [ "MIT" ], "directory_id": "e32cbe01211fd0691e004f0c49150dc8743d40ed", "extension": "h"...
stackv2
/** * Author: Markus Kusano * * Debug printing macros. * * Enable/Disable by defining/not defining MK_DEBUG * * Also can be disabled with the -nodebug option (see worklistai.cpp) */ #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" extern llvm::cl::opt<bool> nodebugG; // Debug print ...
2.28125
2
2024-11-19T01:00:56.736919+00:00
2018-02-11T19:03:35
5aca19e35fdaa0e6329e41fb2c846bf664434fca
{ "blob_id": "5aca19e35fdaa0e6329e41fb2c846bf664434fca", "branch_name": "refs/heads/master", "committer_date": "2018-02-11T19:03:35", "content_id": "c9ef3ee843156ae30f3fbd6843b3b5a1708e78c7", "detected_licenses": [ "MIT" ], "directory_id": "db097135d6af2763155067d347f1b4419f956ba6", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* msh_logical.c :+: :+: :+: ...
2.390625
2
2024-11-19T01:00:56.819293+00:00
2021-05-27T08:10:48
5884b8dc4ea6662b606d486bb5fae8ab7825519b
{ "blob_id": "5884b8dc4ea6662b606d486bb5fae8ab7825519b", "branch_name": "refs/heads/master", "committer_date": "2021-05-27T08:10:48", "content_id": "b8e3a81c77a46132df72acaf79d6c43cc7772377", "detected_licenses": [ "MIT" ], "directory_id": "7f5e5c14249e60e6af9526cd2227399a3e5a1341", "extension": "h"...
stackv2
// // Created by xjs on 2020/12/20. // #ifndef TINY_CTL_TCTL_ALGO_H #define TINY_CTL_TCTL_ALGO_H #include "tctl_def.h" #include "../include/tctl_utility.h" #include "../include/tctl_heap.h" #include "tctl_iterator.h" #include "tctl_metaclass.h" //Set Operation Iterator set_union(Iterator _first1, Iterator _last1, ...
2.109375
2
2024-11-19T01:00:57.042510+00:00
2021-09-05T15:47:27
6f948f3891817922e42a3635cbfaac59cd711157
{ "blob_id": "6f948f3891817922e42a3635cbfaac59cd711157", "branch_name": "refs/heads/main", "committer_date": "2021-09-05T15:47:27", "content_id": "f7c0a3b8bb19ce0073006d84c3d445042306cdc0", "detected_licenses": [ "MIT" ], "directory_id": "ac564eb4c317ab876ed9eec656cb52ae40172154", "extension": "c", ...
stackv2
#include <stdio.h> #include <string.h> typedef struct _Endereco Endereco; struct _Endereco{ char logradouro[72]; char bairro[72]; char cidade[72]; char uf[72]; char sigla[2]; char cep[8]; char lixo[2]; }; int main(int argc, char const *argv[]){ FILE *f; int beg, fin, hal, achei; int cont=0; long tam; ...
3.0625
3
2024-11-19T01:00:57.437152+00:00
2018-08-25T15:06:49
af8f22a9109ae6d17798a7b4755804b171b1f132
{ "blob_id": "af8f22a9109ae6d17798a7b4755804b171b1f132", "branch_name": "refs/heads/master", "committer_date": "2018-08-25T15:06:49", "content_id": "f79b39dd280ad31ea106e75d88ac9279dc8ace98", "detected_licenses": [ "MIT" ], "directory_id": "7d078a3a90c9414f8bf01386e0ea6797648d8c65", "extension": "c"...
stackv2
#include <ree.h> #include <stdio.h> void dump_ree_character (char character, FILE *stream){ if (character <= 127){ if (character <= 32){ if (character == '\0'){ fprintf(stream, "\\0"); } else if (character == '\a'){ fprintf(stream, "\\a"); } else if ...
2.921875
3
2024-11-19T01:00:58.220188+00:00
2018-10-25T22:22:48
c16153680b5f11a6953f71d7fe0572d640d2a96a
{ "blob_id": "c16153680b5f11a6953f71d7fe0572d640d2a96a", "branch_name": "refs/heads/master", "committer_date": "2018-10-25T22:22:48", "content_id": "374af25dfe7496f2584fdbdc697d4396304abb8c", "detected_licenses": [ "MIT" ], "directory_id": "b1b36a0c9dead33edd49c13c796e6d538e7daf72", "extension": "h"...
stackv2
/* MGLib NAME MGLib - A Miniature Graphics Library SYNOPSIS #include <mg.h> int mg_initialize(char *app_name); DESCRIPTION At it's core, MGLib is a platform layer. */ /* ** MiniGraphics Library ** By: Nick Mayfield */ #ifndef MG_H #define MG_H #include <stddef.h> #include <stdbool.h> #ifdef...
2.328125
2
2024-11-19T01:00:58.281679+00:00
2022-12-08T15:06:30
a1180d17d2621578a8d90aa457fd4f803ca33ee1
{ "blob_id": "a1180d17d2621578a8d90aa457fd4f803ca33ee1", "branch_name": "refs/heads/master", "committer_date": "2022-12-08T15:06:30", "content_id": "8732fdc11dc3b871ab1d207eb8743ca6189b1cc3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "9d944c43166b738909e6026d5ee925a7bbb19ec5", "extens...
stackv2
/**************************************************************************** * * Since this code originated from code which is public domain, I * hereby declare this code to be public domain as well. * * Dave Hylands - dhylands@gmail.com * *************************************************************************...
2.734375
3
2024-11-19T01:00:58.358847+00:00
2018-05-11T05:58:25
f48b959bafad0479d85686aaf8ee0b5c9e8e37b5
{ "blob_id": "f48b959bafad0479d85686aaf8ee0b5c9e8e37b5", "branch_name": "refs/heads/master", "committer_date": "2018-05-11T05:58:25", "content_id": "68326eecefa83bfa115d8a3ec7e6ccff3b067db3", "detected_licenses": [ "MIT" ], "directory_id": "ace7469476607a58aa83cef8bac8934543eb9458", "extension": "c"...
stackv2
#include <glib.h> #include <stdio.h> int main(int argc, char *argv[]) { GIOChannel *in_channel = NULL, *out_channel = NULL; gchar buf[100] = {}; gsize bytes_read, bytes_written; GError *error = NULL; if (argc != 3) { g_print("usage:<cp SOURCE> <DESTINATION>\n"); g_print("Press any key to exit\n"); getchar(...
3.078125
3
2024-11-19T01:00:58.425882+00:00
2016-11-18T20:35:02
1b998dafb10b19dc49d7f2cf5d09e7e84f799250
{ "blob_id": "1b998dafb10b19dc49d7f2cf5d09e7e84f799250", "branch_name": "refs/heads/master", "committer_date": "2016-11-18T20:35:02", "content_id": "2801083dec9c67270f9cad4767b79c84cd54f8a5", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "40203d8f1afdec311e8f6e3b4762ec1998d6e145", "extens...
stackv2
/*- * USB FM Radio Control utility * Copyright (c) 2002-2013 Nicola Vitale <nivit@users.sourceforge.net> * All rights reserved. * * This software is based on and includes code of cdcontrol(1), * written by Serge V. Vakulenko, Jukka A. Jukkonen, Jean-Marc * Zucconi and Andrey A. Chernov. */ /* * $Id: extern.h,...
2.078125
2
2024-11-19T01:00:58.528594+00:00
2020-07-12T00:35:43
1f37a23b493bf2d55d899576d98a878166c4c740
{ "blob_id": "1f37a23b493bf2d55d899576d98a878166c4c740", "branch_name": "refs/heads/master", "committer_date": "2020-07-12T00:35:43", "content_id": "5d3952c30d2a1b51c07f55b427296b58e97d62c3", "detected_licenses": [ "MIT" ], "directory_id": "33d0f9fb37d3d9944c148990aefd67ae88915f9c", "extension": "c"...
stackv2
#include "types.h" #include "stat.h" #include "user.h" #include "fs.h" int main (int argc,char *argv[]) { int pid; int waiting_time, running_time, waitx_pid; pid = fork(); if (pid == 0) { exec(argv[1],argv); printf(1, "execution of New Process %s failed\n", argv[1]); } else { wait...
2.484375
2
2024-11-19T01:01:12.567400+00:00
2018-06-23T20:51:49
77b7891d77a740a34c39a20049d0b25e7dcacf4c
{ "blob_id": "77b7891d77a740a34c39a20049d0b25e7dcacf4c", "branch_name": "refs/heads/master", "committer_date": "2018-06-23T20:51:49", "content_id": "e39bf0e1f5f88c18981d9bc2a3c78d0f5d1f77c9", "detected_licenses": [ "MIT" ], "directory_id": "55636baa9071f64bb3c230a1af1aef69e8eb092d", "extension": "c"...
stackv2
/* ** EPITECH PROJECT, 2018 ** need for steak ** File description: ** function check_if_ko */ #include <stdlib.h> #include <stdio.h> #include "ai.h" bool check_if_ko(char *buffer) { int i = 0; if (buffer == NULL) return (true); for (; buffer[i] != ':' && buffer[i] != '\0'; i++); if (buffer[i] == '\0' || buffer...
2.578125
3
2024-11-19T01:01:12.869166+00:00
2018-03-11T18:05:47
ccbf0a08e436e711623861f716a1e8addcf2df6c
{ "blob_id": "ccbf0a08e436e711623861f716a1e8addcf2df6c", "branch_name": "refs/heads/master", "committer_date": "2018-03-11T18:06:24", "content_id": "a0827199b48c896de831387ffb25664ec9c9716d", "detected_licenses": [ "MIT" ], "directory_id": "09c794c30b77bbab4190e03ab721e06fc6ec68e0", "extension": "c"...
stackv2
#include "mem.h" #include "log.h" #include "symbol.h" #if defined(HOMER_LOG) && HOMER_LOG > 0 static const char* categories[] = { "SymbolCategoryBuiltinType", "SymbolCategoryUserType", "SymbolCategoryVariable", "SymbolCategoryFunction", }; #endif Symbol* symbol_build(const char* name, int category) { ...
2.625
3
2024-11-19T01:01:13.472446+00:00
2021-04-05T18:14:57
b56faea91f74d4f9d2ca6038fd1467398c51c3f0
{ "blob_id": "b56faea91f74d4f9d2ca6038fd1467398c51c3f0", "branch_name": "refs/heads/main", "committer_date": "2021-04-05T18:14:57", "content_id": "443514a4edb2c8fa2a94aadbe1fb7392ea01dd4b", "detected_licenses": [ "MIT" ], "directory_id": "e6b0aeeb0af76cbe4ca59d9601187284e9d5b643", "extension": "c", ...
stackv2
/******************************************************************************* * File Name: LCD_Char.c * Version 2.20 * * Description: * This file provides source code for the Character LCD component's API. * * Note: * ******************************************************************************** * Copyright 2008-...
2.109375
2
2024-11-19T01:01:13.615392+00:00
2020-10-10T14:29:23
10013fef8a21049deb9cac30deab55cba0ff88b7
{ "blob_id": "10013fef8a21049deb9cac30deab55cba0ff88b7", "branch_name": "refs/heads/main", "committer_date": "2020-10-10T14:29:23", "content_id": "4297c0e92ceecc6c89fb4deb6b2e0ae461da4c88", "detected_licenses": [ "MIT" ], "directory_id": "83a73ae20e36c3259b24da5a08750dc34e299d9d", "extension": "c", ...
stackv2
#include "xil_types.h" #include "xparameters.h" __weak s32 _sys_write(u32 fh, const u8 *buf, u32 len, s32 mode) { #ifdef STDOUT_BASEADDRESS u32 volatile *uart_base = (u32 *)STDOUT_BASEADDRESS; s32 i; for (i =0; i < len;i++) { /* wait if TNFUL */ while (*(uart_base + 11U) & (1U << 14U)) { ; } *(ua...
2.015625
2
2024-11-19T01:01:14.017571+00:00
2021-10-01T10:46:14
265c729853a6fa4a928b06bafeb4125ea6a75a7f
{ "blob_id": "265c729853a6fa4a928b06bafeb4125ea6a75a7f", "branch_name": "refs/heads/main", "committer_date": "2021-10-01T10:46:14", "content_id": "c84f26fe50b478ff65dbb848ccde8c4d8f2b2c17", "detected_licenses": [ "OpenSSL", "BSD-2-Clause" ], "directory_id": "e22e03d9761f5c6d581b5af2e77343e8ee4b201...
stackv2
/*++ Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR> 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 may be found at...
2.078125
2
2024-11-19T01:01:14.282954+00:00
2020-07-29T19:42:15
80ba67817b6393b1b456d98618e77250f4ed735e
{ "blob_id": "80ba67817b6393b1b456d98618e77250f4ed735e", "branch_name": "refs/heads/master", "committer_date": "2020-07-29T19:42:15", "content_id": "18b33cc247f7fca05747c96391a58b38d3b6d13c", "detected_licenses": [ "curl" ], "directory_id": "93fa8ba477a8ee5b721f387b3c888b92d61ac825", "extension": "c...
stackv2
#include <stdlib.h> #include <stdio.h> #include <ctype.h> #include "ComputerlabAPI.h" #define MAX_BUFFER_LENGTH 4096 #define intToStr(dst, src) \ do {\ char dst[256];\ snprintf(dst, 256, "%ld", (long int)(src));\ }while(0) // Delete a computer // // Allows the user to delete an existing computer. // voi...
2.203125
2
2024-11-19T01:01:14.474141+00:00
2015-05-20T07:54:15
49b0deb85c5a74056dc39f0698d6283f3c85245e
{ "blob_id": "49b0deb85c5a74056dc39f0698d6283f3c85245e", "branch_name": "refs/heads/master", "committer_date": "2015-05-20T07:54:15", "content_id": "da150b270e47d70264c9b300e5ff9fc3a7345171", "detected_licenses": [ "MIT" ], "directory_id": "7c94d3cabaac8d4673f7667bceb85f28bf9090f1", "extension": "c"...
stackv2
#include <stdio.h> #include <ctype.h> int main(void) { //get input from user printf("Input a credit card to number to be validated\n"); char input[16]; fgets(input, 20, stdin); while(!isdigit(input[0])) { printf("Please insert numbers only\n"); fgets(input, 20, stdin); ...
3.390625
3
2024-11-19T01:01:14.563054+00:00
2021-09-21T17:33:38
12b291cfb2436c923760f501b360281867ac49bb
{ "blob_id": "12b291cfb2436c923760f501b360281867ac49bb", "branch_name": "refs/heads/main", "committer_date": "2021-09-21T17:33:38", "content_id": "2b2a7ed2f7f625484aceb4e38f5b042b3547e2a8", "detected_licenses": [ "MIT" ], "directory_id": "7d3dd780299fb3495e66e9a229b0416b3a8e701e", "extension": "c", ...
stackv2
/* Levenshteiner.c The "main" function is animate_distances, along with a few miscellaneous helpers. For each consecutive pair of words in a char ** array, animate_distances associates with it a Levenshteiner struct. It uses the Wagner-Fischer algorithm to compute the Levenshtein distances between the two words, stor...
3.296875
3
2024-11-19T01:01:14.652972+00:00
2015-01-25T08:12:49
9d5337c2028a4eb98716e7962b79bc78b17825a5
{ "blob_id": "9d5337c2028a4eb98716e7962b79bc78b17825a5", "branch_name": "refs/heads/master", "committer_date": "2015-01-25T08:12:49", "content_id": "8405ef90afc1bd6bfe0d8a31da2767479a5b5e40", "detected_licenses": [ "MIT" ], "directory_id": "f0a18e100bb0ecdf75292c76c388468d1e389bec", "extension": "c"...
stackv2
// Copyright (c) 2015 Connor Taffe <cpaynetaffe@gmail.com> #include <sys/io.h> void outb(unsigned short port, unsigned char val) { asm volatile ( "outb %0, %1" : : "a"(val), "Nd"(port) ); } unsigned short inb(unsigned short port) { unsigned char ret; asm volatile ( "inb %1, %0" : "=a"(ret) : "Nd"(port) ); retur...
2.15625
2
2024-11-19T01:01:15.010503+00:00
2017-06-19T11:51:01
1aad6cec17a924706c73805cd2182544c6a3f9c8
{ "blob_id": "1aad6cec17a924706c73805cd2182544c6a3f9c8", "branch_name": "refs/heads/master", "committer_date": "2017-06-19T11:51:01", "content_id": "20239b4a6d91dd470c50487c782e7dd739521fec", "detected_licenses": [ "MIT" ], "directory_id": "f42b3c06b37fde526980ca5f70190a29da2e9f3d", "extension": "h"...
stackv2
/* * AVSystem Commons Library * * Copyright (C) 2016 AVSystem <http://www.avsystem.com/> * * This code is free and open source software licensed under the MIT License. * See the LICENSE file for details. */ #ifndef AVS_COMMONS_STREAM_FILE_H #define AVS_COMMONS_STREAM_FILE_H #include <avsystem/commons/net.h> #i...
2.078125
2
2024-11-19T01:01:15.066453+00:00
2020-12-13T03:04:46
028811c6c043ef792a90549d8dca90c86ebe21c8
{ "blob_id": "028811c6c043ef792a90549d8dca90c86ebe21c8", "branch_name": "refs/heads/master", "committer_date": "2020-12-13T03:04:46", "content_id": "a67096e957899c2ae735b45db56a01c833a19f2a", "detected_licenses": [ "Unlicense" ], "directory_id": "16bb9f9c23d85ae283ba08dc8a2571b5e1e9b70f", "extension...
stackv2
#include "adc.h" #include "stm32f10x.h" #include "delay.h" //#include "sys.h" //初始化 ADC //常规通道 //默认开启通道0`3 void Adc_Init(void) { //宣告结构体 GPIO_InitTypeDef GPIO_InitStruct; ADC_InitTypeDef ADC_InitStruct; //使能外设管脚 //开ADC1和PA1 RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1,ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Peri...
2.8125
3
2024-11-19T01:01:15.996893+00:00
2019-12-04T00:36:24
14b6883a4836310e0e9e7acd99d51396bbc2c298
{ "blob_id": "14b6883a4836310e0e9e7acd99d51396bbc2c298", "branch_name": "refs/heads/master", "committer_date": "2019-12-04T00:36:24", "content_id": "6d5eaee0de063e4395f80f77cb973f0ebb3bc45c", "detected_licenses": [ "MIT" ], "directory_id": "19760a1b829ba97ca079abd03347ee4e2e691097", "extension": "c"...
stackv2
#define HAVE_STRUCT_TIMESPEC #include <pthread.h> #include "BufferQueue.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #include <memory.h> byte* IncrementedPointer(struct BufferQueue* queue, byte* pointer, int amount) { pointer += amount; if (pointer > queue->buffer + queue->capacity) { pointer -= qu...
3.25
3
2024-11-19T01:01:16.297982+00:00
2021-08-06T16:08:33
0b9ce1078f26fce28b1ad8c713760b8784aecd6f
{ "blob_id": "0b9ce1078f26fce28b1ad8c713760b8784aecd6f", "branch_name": "refs/heads/main", "committer_date": "2021-08-06T16:08:33", "content_id": "b625d65d8e108eec170268702badd2bea9efb10f", "detected_licenses": [ "MIT" ], "directory_id": "37f5b631634ea56e4f9a4adb8e0a310da782cd8b", "extension": "c", ...
stackv2
/** * @file 2-linked_list_queue.c * @author artfu * @date 2020.8.5 * * @brief circular queue * * @details */ #include <stdio.h> #include <stdlib.h> struct node { int data; struct node *next; }; struct queue { struct node *front; struct node *rear; }; v...
3.296875
3
2024-11-19T01:01:18.030103+00:00
2020-09-11T00:16:48
ed66c95fed1ae7a97cf3c1764cc7326171daebec
{ "blob_id": "ed66c95fed1ae7a97cf3c1764cc7326171daebec", "branch_name": "refs/heads/master", "committer_date": "2020-09-11T00:24:52", "content_id": "8704c3d9bce41937c8ddaede54ff863c64110a9b", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause-Patent" ], "directory_id": "b8f4b32171bba9e60a101f5a6...
stackv2
/** @file Shell command `fwupdate` to reset the system. Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/ShellLib.h> #include <Library/IoLib.h> #include <Library/BootloaderCommonLib.h> #include <Service/PlatformService.h> ...
2.203125
2
2024-11-19T01:01:18.249521+00:00
2020-09-01T16:51:13
741290ea16829407e665e614070ce4b5b0d28b90
{ "blob_id": "741290ea16829407e665e614070ce4b5b0d28b90", "branch_name": "refs/heads/master", "committer_date": "2020-09-01T16:51:13", "content_id": "3bf5e3f85d1846b5844699fde382ad24a1b24897", "detected_licenses": [ "MIT" ], "directory_id": "feaaa1ec2ca205e77f41017d260988f5901f37f4", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main () { float saldo, credito, debito, saldoatual; printf ("Digite seu saldo: \n"); scanf ("%f", &saldo); printf ("Digite o valor a ser depositado: \n"); scanf ("%f", &credito); printf ("Digite o valor do cheque a ser descontado: \n"); scanf ("%f", &debito); saldoatual =(sald...
2.859375
3
2024-11-19T01:01:18.330729+00:00
2014-09-19T16:57:20
0001489c2c5d65e60d8681bf17c4b41d528a8595
{ "blob_id": "0001489c2c5d65e60d8681bf17c4b41d528a8595", "branch_name": "refs/heads/master", "committer_date": "2014-09-19T16:57:20", "content_id": "300f9fae7ecfa9eb5ad1191274d1f321b75ae434", "detected_licenses": [ "MIT" ], "directory_id": "6b343519870b3adba29ea47b305e651439af0730", "extension": "c"...
stackv2
#include "fonts.h" static Fonts *_fonts; void fonts_load() { if (_fonts) return; _fonts = malloc(sizeof(Fonts)); memset(_fonts, 0, sizeof(*_fonts)); _fonts->light_24_text = fonts_load_custom_font(resource_get_handle(FONT_OPENSANS_LIGHT_24_TEXT)); _fonts->extra_48_numbers = fonts_load_custom_font(resource_get_...
2.265625
2
2024-11-19T01:01:18.825605+00:00
2020-12-08T19:00:16
119d2d7446d052bdfe6c5b0be4b04efea0108f82
{ "blob_id": "119d2d7446d052bdfe6c5b0be4b04efea0108f82", "branch_name": "refs/heads/master", "committer_date": "2020-12-08T19:00:16", "content_id": "e933544e26483d2347d4529f035612d86547d2a1", "detected_licenses": [ "MIT" ], "directory_id": "6cb68416e953f3e533050e633d240ad69360256d", "extension": "c"...
stackv2
//CALCULADORA DE FREQUÊNCIA CARDIACA; #include <stdio.h> #include <locale.h> int main (void) { int idade; setlocale(LC_ALL,""); printf("PROGAMA QUE MOSTRA A FREQUÊNCIA CARDIÁCA NORMAL E MÁXIMA DO USUÁRIO.\n"); printf("\nDigite a sua idade: "); scanf("%d", &idade); printf("\nFrequência Cardí...
3.03125
3
2024-11-19T01:01:18.949211+00:00
2019-12-04T05:25:20
fa6a204e9f0e9230a8489528ad070e9fcc329de0
{ "blob_id": "fa6a204e9f0e9230a8489528ad070e9fcc329de0", "branch_name": "refs/heads/master", "committer_date": "2019-12-04T05:25:20", "content_id": "db031abd4566496992d80f8452d4ca56e818664c", "detected_licenses": [ "BSD-4-Clause", "BSD-2-Clause" ], "directory_id": "7ba39cb7d0e444eefcd21f2fe2995051...
stackv2
// // ecdsa.h // YosWalletTest // // Created by Joe Park on 16/01/2019. // Copyright © 2019 Joe Park. All rights reserved. // #ifndef ecdsa_h #define ecdsa_h #include <stdio.h> #include "bignum.h" #include "options.h" // curve point x and y typedef struct { bignum256 x, y; } curve_point; typedef struct { ...
2.0625
2
2024-11-19T01:01:19.022375+00:00
2020-10-23T14:41:58
5e191dee990cf5550d0bc50b00f717bb42354646
{ "blob_id": "5e191dee990cf5550d0bc50b00f717bb42354646", "branch_name": "refs/heads/master", "committer_date": "2020-10-23T14:41:58", "content_id": "0a0859cca87edf8009349bb7b7a10d337626b329", "detected_licenses": [ "MIT" ], "directory_id": "f374208eee14775259aecb4daf9bf4270ce69f98", "extension": "c"...
stackv2
/* Takes a file that was created by the create_file() function reads it line by line and loads each line into an array returns a pointer to the array */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "arraymaker.h" #define MAX_LINE 7 int *load_array(char *file, int *file_...
3.421875
3
2024-11-19T01:01:19.091307+00:00
2018-03-15T10:28:03
b93e5746dbb81074dfd521e679490f8baba87a5d
{ "blob_id": "b93e5746dbb81074dfd521e679490f8baba87a5d", "branch_name": "refs/heads/master", "committer_date": "2018-03-15T10:28:03", "content_id": "322c33d4e23c665dd42ea37e37261a266536a2a8", "detected_licenses": [ "MIT" ], "directory_id": "d8fb2a70ee15874c80a76e5dfe212800c12961ff", "extension": "c"...
stackv2
#include <stdlib.h> double rand01() { return ((double)rand())/((double)RAND_MAX); } double randNorm (double mu, double sigma) { const int samples = 10; double v=0; int i; for (i=0;i<samples;i++) v+=rand01(); v/=samples; v-=0.5; // v is approx normally distributed with mu=0 and sigma=1/samples*sqrt(12) return v*s...
2.703125
3
2024-11-19T01:01:19.262304+00:00
2016-10-10T05:35:11
f2fe4c456021867225d1daf9948cec5c4be34310
{ "blob_id": "f2fe4c456021867225d1daf9948cec5c4be34310", "branch_name": "refs/heads/master", "committer_date": "2016-10-10T05:35:11", "content_id": "b7cb73dbd6856f8f97edab9a1f822b89fd02584e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "547f280c84235471bfeedc35bee7675f60545a50", "extensio...
stackv2
// // Created by kanairen on 2016/06/21. // #ifndef CONVNETCPP_ACTIVATION_H #define CONVNETCPP_ACTIVATION_H #include <cmath> float sigmoid(float x) { return 1.f / (1.f + expf(-x)); } float g_sigmoid(float x) { float t = sigmoid(x); return t * (1.f - t); } float relu(float x) { return (x >= 0) ? x :...
2.390625
2
2024-11-19T01:01:19.329488+00:00
2021-10-29T19:33:34
53a958d010f28f8a15a9424d87783c7c4af8c79b
{ "blob_id": "53a958d010f28f8a15a9424d87783c7c4af8c79b", "branch_name": "refs/heads/main", "committer_date": "2021-10-29T19:33:34", "content_id": "0c6b2c7028e8146fcab503c48ca1483fa1cb43e4", "detected_licenses": [ "MIT" ], "directory_id": "d6f4245de8d48703508b9b1430b042867625de68", "extension": "c", ...
stackv2
#include "smack.h" #include <assert.h> #include <math.h> #include <stdio.h> // @expect error int main(void) { long double NaN = 0.0l / 0.0l; long double Inf = 1.0l / 0.0l; long double negInf = -1.0l / 0.0l; long double x = __VERIFIER_nondet_long_double(); long double y = __VERIFIER_nondet_long_double(); ...
2.265625
2
2024-11-19T01:01:19.764758+00:00
2023-03-01T18:14:47
00d3721831f961d482808742513e33dd5549c866
{ "blob_id": "00d3721831f961d482808742513e33dd5549c866", "branch_name": "refs/heads/master", "committer_date": "2023-03-01T20:12:12", "content_id": "3c2c75c34b6839a2b47a65406b6c868b81b80938", "detected_licenses": [ "Apache-2.0", "BSD-2-Clause" ], "directory_id": "9fe7264114dc6cfd4523f0f06c44e4cb89...
stackv2
/* SPDX-License-Identifier: BSD-2-Clause */ #include "test.h" /* * C_GetMechanismList is used to obtain a list of mechanism types supported by a token. * SlotID is the ID of the token’s slot; pulCount points to the location that receives the number of mechanisms. * There are two ways for an application to call C_G...
2.890625
3
2024-11-19T01:01:20.110166+00:00
2017-09-13T18:10:07
38dc10e4e8a38193dd49ab1d2e9e33458f6a78dc
{ "blob_id": "38dc10e4e8a38193dd49ab1d2e9e33458f6a78dc", "branch_name": "refs/heads/master", "committer_date": "2017-09-13T18:10:07", "content_id": "f6856c892caea92ec24027f44d1b9b2d1f21b109", "detected_licenses": [ "MIT" ], "directory_id": "6f8d82ef045af79c00cf75d9f720784eebc32ad6", "extension": "c"...
stackv2
//**Quick Instructions**// //This is the c file for Quiz3. //Insert your code and documentation as described in the //software design lecture. //Only insert code in between your group number and before //the next group number for each section. //Do not delete any text. //**Begin File**// //descriptions*********...
2.1875
2
2024-11-19T01:01:20.271149+00:00
2017-04-20T10:17:49
1f8020690d239ad76850ae325cbf9ccea75a4b18
{ "blob_id": "1f8020690d239ad76850ae325cbf9ccea75a4b18", "branch_name": "refs/heads/master", "committer_date": "2017-04-20T10:17:49", "content_id": "3c2323e01e58838d2cb6f511fd10d907de2392ad", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ebd585fdafb22d31fcd6d04b209f81e88d1a2083", "extensio...
stackv2
/* Copyright (c) 2010, QUALCOMM Technologies Incorporated. All Rights Reserved. * QUALCOMM Proprietary and Confidential. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "test_agps_server_handler.h" #include <unistd.h> #include <sys/time.h> static int TS_ECHO_handler(const char * args, char ...
2.140625
2