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-18T23:55:37.590927+00:00
2021-05-19T19:15:54
0ba2f6ff8044725413714a1ca6384ca8f75af0bb
{ "blob_id": "0ba2f6ff8044725413714a1ca6384ca8f75af0bb", "branch_name": "refs/heads/master", "committer_date": "2021-05-19T19:15:54", "content_id": "36f2cc91595e639de3b48ec628e0caf99a44e970", "detected_licenses": [ "MIT" ], "directory_id": "46ecde8862f93669a02906c169341b921e83f938", "extension": "c"...
stackv2
#include "holberton.h" /** * print_chessboard - print chess * @a: pointer */ void print_chessboard(char (*a)[8]) { int col, row; for (row = 0; row < 8; row++) { for (col = 0; col < 8; col++) printf("%c", a[row][col]); printf("\n"); } }
2.75
3
2024-11-18T23:55:39.383257+00:00
2023-08-16T08:49:18
ca4e360a75ec7fc295253ee403112e3fea97e047
{ "blob_id": "ca4e360a75ec7fc295253ee403112e3fea97e047", "branch_name": "refs/heads/master", "committer_date": "2023-08-16T08:49:18", "content_id": "6578bb355b3f9149f5273ad8a01e4ac0b508b852", "detected_licenses": [ "MIT" ], "directory_id": "e3acfc4f06840e23ef1185dcf367f40d3e3f59b4", "extension": "c"...
stackv2
// PARAM: --disable ana.thread.context.create-edges #include <goblint.h> #include <pthread.h> int glob_noCreate; int glob_create; void *t_INIT(void *arg) { } void *t_noCreate(void *arg) { glob_noCreate =1; //NORACE } void *t_create(void *arg) { glob_create =1; //RACE } void noCreate1 () { noCreate2(); } void...
2.484375
2
2024-11-18T23:55:39.621499+00:00
2018-04-04T05:03:39
e8d1fd45552b572d19782f91640c5885a1def0b2
{ "blob_id": "e8d1fd45552b572d19782f91640c5885a1def0b2", "branch_name": "refs/heads/master", "committer_date": "2018-04-04T05:03:39", "content_id": "e98605f7e5e3fb78d59a38b55db16883f9adc301", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5ae15704c20a17c03a17eb093c6de7e44f829388", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include "led.h" int main() { int fd; int ret; int num = LED_RED; fd = open("/dev/led", O_RDWR); if (fd == -1) ...
2.5
2
2024-11-18T23:55:39.813535+00:00
2018-10-02T19:13:21
9ed0d63004a2e5708e8a6adb7427cef69c194640
{ "blob_id": "9ed0d63004a2e5708e8a6adb7427cef69c194640", "branch_name": "refs/heads/master", "committer_date": "2018-10-02T19:13:21", "content_id": "869435c74b2739f957d2ddeb40d24db27171bbbd", "detected_licenses": [ "MIT" ], "directory_id": "81e8ef5dfd98d68e6fcd699590e56ba73c4a79de", "extension": "c"...
stackv2
#include "util.h" #define EQUAL_DELIMITER "=" List* new_list(){ List* newer = malloc(sizeof(List)); newer->content = NULL; newer->prev = NULL; newer->next = NULL; return newer; } List* append_list(List* list, List* element){ if(element == NULL) { return NULL; } if(list->next =...
2.859375
3
2024-11-18T23:55:39.873271+00:00
2021-10-24T13:30:10
518a70b3afb8d75bb1df7ee5fee68248e89cdf3e
{ "blob_id": "518a70b3afb8d75bb1df7ee5fee68248e89cdf3e", "branch_name": "refs/heads/main", "committer_date": "2021-10-24T13:30:10", "content_id": "af464d55119e131eb89f512e4b7e0b18b4611249", "detected_licenses": [ "MIT" ], "directory_id": "5ae12f60144af5750aa5ce9c18013ef334b3b919", "extension": "c", ...
stackv2
#include <brutal/debug.h> #include "kernel/x86_64/asm.h" #include "kernel/x86_64/cpuid.h" #include "kernel/x86_64/simd.h" void simd_initialize_fpu(void) { asm_write_cr0(asm_read_cr0() & ~CR0_EMULATION); asm_write_cr0(asm_read_cr0() | CR0_NUMERIC_ERROR_ENABLE); asm_write_cr0(asm_read_cr0() | CR0_MONITOR_CO_...
2.21875
2
2024-11-18T23:55:40.146302+00:00
2021-05-06T03:27:56
fd02c1fef347cfb7c3802d5ef3ee7e18d1d8b9de
{ "blob_id": "fd02c1fef347cfb7c3802d5ef3ee7e18d1d8b9de", "branch_name": "refs/heads/master", "committer_date": "2021-05-06T03:27:56", "content_id": "48dba44976cff3acb7862796d34dbaa904e2f534", "detected_licenses": [ "MIT" ], "directory_id": "1f0c3a3058563d60f956b68dc917335317fee824", "extension": "h"...
stackv2
#ifndef __INPUT_H__ #define __INPUT_H__ #include <stdbool.h> #include <stdint.h> typedef enum { KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F, KEY_G, KEY_H, KEY_I, KEY_J, KEY_K, KEY_L, KEY_M, KEY_N, KEY_...
2.109375
2
2024-11-18T23:55:40.209092+00:00
2020-03-25T11:55:37
cdb12ec46d093283d0abb0b0d12a3228b8954586
{ "blob_id": "cdb12ec46d093283d0abb0b0d12a3228b8954586", "branch_name": "refs/heads/master", "committer_date": "2020-03-25T11:55:37", "content_id": "eb8d64faa4e79c863ab101780e4cbfd5ba02b7d7", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "48e6399f52b91ebf3434f9094dbda04a37108f9b", "extens...
stackv2
#include <core/Store.h> #include <stdlib.h> #include <instance/FuncInst.h> #include <instance/TableInst.h> #include <instance/MemInst.h> #include <instance/GlobalInst.h> Store new_Store() { Store newStore = (Store) malloc(sizeof(struct Store_)); newStore->funcs = new_vector_p(FuncInst, clean_FuncInst); ne...
2.25
2
2024-11-18T23:55:40.390307+00:00
2015-03-17T19:46:38
4f6d271b0726e2fc0d94e23f543ac377c69c1087
{ "blob_id": "4f6d271b0726e2fc0d94e23f543ac377c69c1087", "branch_name": "refs/heads/master", "committer_date": "2015-03-17T19:46:38", "content_id": "c2909d30ab82515777bd68b834687125c5dc2752", "detected_licenses": [ "PHP-3.0" ], "directory_id": "401445ae337fe0ede6b9360af6606f7a30983b9c", "extension":...
stackv2
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2004 The PHP Group | +---------...
2.03125
2
2024-11-18T23:55:41.262423+00:00
2021-10-04T08:48:05
c74707e29fd2617fb5ec73a342185adb8edd68e4
{ "blob_id": "c74707e29fd2617fb5ec73a342185adb8edd68e4", "branch_name": "refs/heads/master", "committer_date": "2021-10-04T08:48:05", "content_id": "242f4c2cf6b2d3563ea324c409d9d594f931bfb3", "detected_licenses": [ "MIT" ], "directory_id": "837f8d2b9abacd1e59482c26cf266da24ad51325", "extension": "h"...
stackv2
/* * Copyright (c) 2011 The Chromium OS Authors. * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __USB_ETHER_H__ #define __USB_ETHER_H__ /* * IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble * and FCS/CRC (frame check sequence). */ #define ETH_ALEN 6 /* Octets in one ethernet addr */ #define...
2.03125
2
2024-11-18T23:55:51.380697+00:00
2014-03-12T17:39:40
80f344add95ee05f5efae38facc5c7671ce6ecf7
{ "blob_id": "80f344add95ee05f5efae38facc5c7671ce6ecf7", "branch_name": "refs/heads/master", "committer_date": "2014-03-12T17:39:40", "content_id": "bcc138bd89d3fc58a6fe477e4fa5b7ff7c5e6ad1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6629e94cbf5f102855c8900175ebd43db3c389d4", "extensio...
stackv2
/* Copyright 2011; All Rights Reserved * Please see http://www.coactionos.com/license.html for * licensing information. */ /*! \addtogroup SYS_DEV System Devices * @{ * * * \ingroup PERIPHIO * * \details This driver provides details about the currently installed operating system. * * */ /*! \file */ #if...
2.265625
2
2024-11-18T23:55:52.733809+00:00
2019-09-28T08:46:33
fa66ebc860c28d28ec4b3bfc0ed1ea0cd74f7df7
{ "blob_id": "fa66ebc860c28d28ec4b3bfc0ed1ea0cd74f7df7", "branch_name": "refs/heads/master", "committer_date": "2019-09-28T08:46:33", "content_id": "15e963e072422e8b04f6949c805f26874f68d86c", "detected_licenses": [ "MIT" ], "directory_id": "7380cb4c7ccc3705dc1e2dae04cb92152b24ce55", "extension": "h"...
stackv2
/** * Copyright (c) 2019 Jan Siebert * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ #pragma once #include "system.h" #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 128 #define NO_TRANSPARENCY 16 #define LETTER_WIDTH 3 #define L...
2.484375
2
2024-11-18T23:55:52.832633+00:00
2018-04-09T03:59:29
de82351f47e7eb23734fd97b4e9345d3d3f839ed
{ "blob_id": "de82351f47e7eb23734fd97b4e9345d3d3f839ed", "branch_name": "refs/heads/master", "committer_date": "2018-04-09T03:59:29", "content_id": "13240fc176516312cc7411f608b6f3b49da774bb", "detected_licenses": [ "MIT" ], "directory_id": "e7d9b222f44dc1a713c029b7053d272400140845", "extension": "c"...
stackv2
/* /* Name : Ganesa Rukmani Ramdas Pillai /* USC ID : 9712700659 /* USC email : gpillai@usc.edu /* Submission Date : March 04, 2018 */ #include "dithering.h" #include <time.h> /* Bayer index matrices */ int I2[2][2] = { {1, 2}, {3, 0} }; int I4[4][4] = { { 5, 9, ...
2.25
2
2024-11-18T23:55:54.318173+00:00
2023-07-17T08:38:54
a6f76d160072bd1be1b6fd492bde74f5129adde1
{ "blob_id": "a6f76d160072bd1be1b6fd492bde74f5129adde1", "branch_name": "refs/heads/master", "committer_date": "2023-07-17T08:38:54", "content_id": "bb7a3af2ae75a330045837d38a15382e1aecfca3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "21292b480b6a1eeb82ad9afea69c60baab2454a6", "extensio...
stackv2
/* * inband_telemetry.h * * Created on: Dec 21, 2021 * Author: nhnghia */ #ifndef SRC_MMT_TCPIP_LIB_PROTOCOLS_INBAND_TELEMETRY_H_ #define SRC_MMT_TCPIP_LIB_PROTOCOLS_INBAND_TELEMETRY_H_ #include "plugin_defs.h" #include "mmt_core.h" /** * INT shim header for TCP/UDP: * the INT metadata header and INT...
2.25
2
2024-11-18T23:55:54.741075+00:00
2023-08-16T09:01:16
61c3f793560da23e6e32aa32e06aa2a21081ef3d
{ "blob_id": "61c3f793560da23e6e32aa32e06aa2a21081ef3d", "branch_name": "refs/heads/master", "committer_date": "2023-08-16T09:01:16", "content_id": "6d15fee02413d1a5d8e60df6ee0f7613f7ef2220", "detected_licenses": [ "MIT" ], "directory_id": "0f5244a66dd11060f9c35d49f22ca026d171e29c", "extension": "c"...
stackv2
/* * The MIT License (MIT) * * Copyright (c) 2015 by Sergey Fetisov <fsenok@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 limitati...
2.09375
2
2024-11-18T23:55:55.486482+00:00
2021-02-01T09:13:56
4015f38d943da8b885121918268044d6421477e4
{ "blob_id": "4015f38d943da8b885121918268044d6421477e4", "branch_name": "refs/heads/main", "committer_date": "2021-02-01T09:13:59", "content_id": "621912bcfa4250c29d55eb577e94306a9957482c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "36e842bea36dfb193337d0f7583afee6d12f002c", "extension"...
stackv2
/* * Copyright (c) 2006-2020, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-12-09 WillianChan first version */ #include <rtthread.h> #include <board.h> #include "flexible_button.h" #include "simulator_touch.h" #ifndef PIN...
2.265625
2
2024-11-18T23:56:34.700278+00:00
2021-01-17T23:00:08
7d73295ef452efa12d2e9784ce07abfdf03c48d9
{ "blob_id": "7d73295ef452efa12d2e9784ce07abfdf03c48d9", "branch_name": "refs/heads/main", "committer_date": "2021-01-17T23:00:08", "content_id": "38f9d62e10bbb21d3b88dc6390f694d0ccae602a", "detected_licenses": [ "MIT" ], "directory_id": "592e73703ae9080d83eca52caab2cbc29cd4da75", "extension": "c", ...
stackv2
// Derived from source/usbloader/disc.c. #include <ogcsys.h> #include "channel_load.h" #include "helpers.h" #include "memory_layout.h" void *channel_entrypoint = 0; // From channel_load, taken from TMD extern u8 channelios; void jump_to_entrypoint(void *local_entrypoint) { // Change IOS. __IOS_LaunchNewIOS(c...
2.03125
2
2024-11-18T23:56:34.766254+00:00
2016-02-04T08:59:15
ab27e9aba7687314acbc3ce8c735d591426e9a20
{ "blob_id": "ab27e9aba7687314acbc3ce8c735d591426e9a20", "branch_name": "refs/heads/master", "committer_date": "2016-02-04T08:59:15", "content_id": "88e46360b6b04be86eeef64c3021d800b7bb83eb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3e3b8fe00bf46c60d0534ba6e00cfe3047d7e23b", "extensio...
stackv2
#include "state.h" #include "process/process.h" static bool state_tracing_val = false; bool state_tracing() { return state_tracing_val; } void state_tracing_set(bool state) { if (state_tracing_val == state) return; if (state) { process_continue_all(); } else { process_stop_all...
2.09375
2
2024-11-18T23:56:34.861763+00:00
2020-09-25T11:19:29
577a90e5ab5be7db812a5ba6712e8e2e2663b83f
{ "blob_id": "577a90e5ab5be7db812a5ba6712e8e2e2663b83f", "branch_name": "refs/heads/master", "committer_date": "2020-09-25T11:19:29", "content_id": "a90578b5b33679230654e7450ed938678689f238", "detected_licenses": [ "MIT" ], "directory_id": "883c9fe08016e55ba0ab0cd07c70190e9d66dd31", "extension": "c"...
stackv2
/* Write a function called duplicate, that uses dynamic storage allocation to create a copy of a string. p = duplicate(str) woruld allocate space for a string of the same length as str, copy contents of str into it, return a pointer to the duplicate */ #include <stdio.h> #include <stdlib.h> //me...
4.1875
4
2024-11-18T23:56:35.065360+00:00
2016-10-25T04:45:37
281ffaab30c81198ee847ded1b8c96eec78ddb6a
{ "blob_id": "281ffaab30c81198ee847ded1b8c96eec78ddb6a", "branch_name": "refs/heads/master", "committer_date": "2016-10-25T04:45:37", "content_id": "dd9d623a110030722661b3231aba4e3ccb27b13c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "1fcad2d6a350ffc512662712ff83a61b6f4099c4", "extensio...
stackv2
/* // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // 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 // /...
2.34375
2
2024-11-18T23:56:35.177698+00:00
2021-03-09T10:02:16
96b26c991ef7634bcd2fb0440a69b93cabb6f75e
{ "blob_id": "96b26c991ef7634bcd2fb0440a69b93cabb6f75e", "branch_name": "refs/heads/main", "committer_date": "2021-03-09T10:02:16", "content_id": "e0bf06e7ad8315eec50f00a822287d49107db30c", "detected_licenses": [ "MIT" ], "directory_id": "5853e5ec893013bb9e1d41857d0a702724b86064", "extension": "c", ...
stackv2
#include "types.h" #include "riscv.h" #include "defs.h" #include "date.h" #include "param.h" #include "memlayout.h" #include "spinlock.h" #include "proc.h" static inline uint64 r_fp(); uint64 sys_exit(void) { int n; if(argint(0, &n) < 0) return -1; exit(n); return 0; // not reached } uint64 sys_getpid(v...
2.09375
2
2024-11-18T23:56:35.256020+00:00
2017-04-08T05:59:33
da21793c38e7bd5c0e7347541339034d9ba0dd28
{ "blob_id": "da21793c38e7bd5c0e7347541339034d9ba0dd28", "branch_name": "refs/heads/master", "committer_date": "2017-04-08T05:59:33", "content_id": "054f43fcc88147f8427fc9b18559ece03df77835", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e69ba916975c04c6f3b7d872a73228c63685e813", "extensio...
stackv2
#include <string.h> #include "jerry-api.h" #include "hal_gpio.h" #include "microlattice.h" DELCARE_HANDLER(__gpioWrite) { int pin = (int) jerry_get_number_value(args_p[0]); int status = (int) jerry_get_number_value(args_p[1]); hal_gpio_status_t ret; ret = hal_gpio_init(pin); ret = hal_gpio_set_direction(p...
2.265625
2
2024-11-18T23:56:35.321930+00:00
2023-05-18T01:42:53
a338e810b98db27c6559502f8993d914bfba2727
{ "blob_id": "a338e810b98db27c6559502f8993d914bfba2727", "branch_name": "refs/heads/master", "committer_date": "2023-05-18T01:42:53", "content_id": "6168d66b981d4e0b0d58ebf01527676ab75e6e88", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f019a06a4aa9f88a1a091eb09861999a0d6389e4", "extensio...
stackv2
/* * Copyright 2016 Google 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...
2.515625
3
2024-11-18T23:56:36.690296+00:00
2010-09-08T02:28:39
9756ad6c9882ad9079eb41d4516c51c485e496c9
{ "blob_id": "9756ad6c9882ad9079eb41d4516c51c485e496c9", "branch_name": "refs/heads/master", "committer_date": "2010-09-08T02:28:39", "content_id": "b9d4221dece8c710c01a1d762d286a5fc41c0dc4", "detected_licenses": [ "MIT" ], "directory_id": "67e1af68e9523b7d4619d1d36f9bf5c5ddffc686", "extension": "c"...
stackv2
/* * replay_log.c * by WN @ Jun. 21, 2010 */ #include <common/defs.h> #include <common/debug.h> #include <host/replay_log.h> #include <host/exception.h> #include <host/mm.h> #include <interp/logger.h> #include <lzo/lzo.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> static FILE...
2.296875
2
2024-11-18T23:56:37.649523+00:00
2023-08-25T07:43:47
410f636340a23cf2fe21a0d040fefa1ca3578ad8
{ "blob_id": "410f636340a23cf2fe21a0d040fefa1ca3578ad8", "branch_name": "refs/heads/master", "committer_date": "2023-08-25T07:43:47", "content_id": "47fbba2eb95aa5db39b8534865c3e004b2a4e261", "detected_licenses": [ "MIT" ], "directory_id": "e7498009dfa0cc23254069be6873d3f820ad6a1a", "extension": "h"...
stackv2
/* * convenient.h * * A few convenience routines.. * * Author: Kaiwan N Billimoria <kaiwan@designergraphix.com> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of ...
2.4375
2
2024-11-18T23:56:37.894161+00:00
2019-12-22T03:37:38
11196f52316ec837eb1d37911dc08c17d7d7f251
{ "blob_id": "11196f52316ec837eb1d37911dc08c17d7d7f251", "branch_name": "refs/heads/master", "committer_date": "2019-12-22T03:37:38", "content_id": "aa3a1ee75acb14687e71cb7ee373373675ef1530", "detected_licenses": [ "MIT" ], "directory_id": "4c4a7c04366421900518a7fa059eece46e4aab59", "extension": "c"...
stackv2
#include "./common.h" #include "./onig-reg-exp.h" OnigRegExp* onig_reg_exp_init(char* pattern, size_t bytes, napi_env env) { OnigRegExp* self = malloc(sizeof(OnigRegExp)); self->source = pattern; self->source_bytes = bytes; OnigErrorInfo error; int status = onig_new( &self->regex, (const UChar*) pat...
2.515625
3
2024-11-18T23:56:38.006084+00:00
2013-10-25T14:27:12
b4fe327eb89a8aaaa196d6cb67a7900133e7cded
{ "blob_id": "b4fe327eb89a8aaaa196d6cb67a7900133e7cded", "branch_name": "refs/heads/master", "committer_date": "2013-10-25T14:27:12", "content_id": "9d04ebbfdae97ea58c7e09fc981fff817733378d", "detected_licenses": [ "MIT" ], "directory_id": "4775b8da218ed57dddeda9406ebd36bdc8964718", "extension": "c"...
stackv2
#include "../include/EERTOS.h" // Передача пакета по Uart-0 u08 ua_send( // Результат выполнения функции u08 *Address, // Адрес передаваемого буфера данных u08 Quantity, // Количество байтов передаваемого буфера данных u16 Timeout ) // Таймаут на передачу всего буфера данных, мс { // взводим фл...
2.234375
2
2024-11-18T23:56:38.157349+00:00
2023-05-26T07:03:59
6ba93108510d112b8fed3371d3968c2532bfc3fe
{ "blob_id": "6ba93108510d112b8fed3371d3968c2532bfc3fe", "branch_name": "refs/heads/hx20-hx30", "committer_date": "2023-05-26T07:03:59", "content_id": "75d7744597ce73aa16c003b714672c7f2ca7130e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "f9e7d65cb784c01a0200145ba8d289afe41d4a56", "ext...
stackv2
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * Alternate Mode Downstream Facing Port (DFP) USB-PD module. */ #include "chipset.h" #include "console.h" #include "task.h" #include "task_id.h" #...
2.03125
2
2024-11-18T23:56:38.284654+00:00
2018-09-12T03:00:27
8caa98be756c296618cfaedd929e17b6f666feba
{ "blob_id": "8caa98be756c296618cfaedd929e17b6f666feba", "branch_name": "refs/heads/master", "committer_date": "2018-09-12T03:00:27", "content_id": "c6673bb6067c639d377305eddbf91e6d5097632a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e6abf69ffd14b4f283a41cc317755de9351a0bc2", "extensio...
stackv2
/***************************************************************************** This file is part of x2600, the Atari 2600 Emulator =================================================== Copyright 1996 Alex Hornby. For contributions see the file CREDITS. This software is distributed under the terms of the...
2.1875
2
2024-11-18T23:56:39.454417+00:00
2017-06-22T22:16:53
d09230b2a757e88f062a65e97afe75788aa8f297
{ "blob_id": "d09230b2a757e88f062a65e97afe75788aa8f297", "branch_name": "refs/heads/master", "committer_date": "2017-06-22T22:16:53", "content_id": "c77e506aa3275ccef2da3b2d8dc44df9d5e777cb", "detected_licenses": [ "MIT" ], "directory_id": "a6d5b31695f5f732230c20971a6463bc164e67e2", "extension": "h"...
stackv2
#ifndef CAMERA_H #define CAMERA_H #include "immintrin.h" #include "vec.h" /* * Simple perspective camera. Perhaps later switch to have transformation matrices? * would make it easier to have interactive rendering and could add in my glt arball camera */ struct PerspectiveCamera { // dir_top_left is the direction ...
2.03125
2
2024-11-18T23:56:39.537265+00:00
2016-04-21T18:05:31
bc7a0e21422769a16190af010504ca9a6a116d08
{ "blob_id": "bc7a0e21422769a16190af010504ca9a6a116d08", "branch_name": "refs/heads/master", "committer_date": "2016-04-21T18:05:31", "content_id": "6ccca790c8cd25f6d87eaabcd003c6a275aa2ef3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "cfbd59dc23dc017e592f845886531ba68e0f0f64", "extens...
stackv2
// vim:ts=8:expandtab #include <assert.h> #include <ctype.h> #include <time.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #include <libnotify/notify.h> #include "i3status.h" #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__...
2.125
2
2024-11-18T23:56:39.588838+00:00
2022-05-13T17:21:42
fc95e973ef0800d9a4b5c6fa79e320edddc54235
{ "blob_id": "fc95e973ef0800d9a4b5c6fa79e320edddc54235", "branch_name": "refs/heads/master", "committer_date": "2022-05-13T17:21:53", "content_id": "9f3613a6352aa053c6db847fd2611e781caa299a", "detected_licenses": [ "MIT" ], "directory_id": "2d055d8d62c8fdc33cda8c0b154e2b1e81814c46", "extension": "c"...
stackv2
#include <pthread.h> #include <stdio.h> #define NTHREADS 4 #define N 1000 //#define MEGEXTRA 1000000 #define MEGEXTRA 1000000 pthread_attr_t attr; void *dowork(void *threadid) { double A[N][N]; int i,j,tid; size_t mystacksize; tid = (int)threadid; pthread_attr_getstacksize (&attr, &mystacksize); p...
2.984375
3
2024-11-18T23:56:39.981722+00:00
2019-03-10T21:11:10
81008ae3e04d575c897fff1e78a5b3428d0a9d5a
{ "blob_id": "81008ae3e04d575c897fff1e78a5b3428d0a9d5a", "branch_name": "refs/heads/master", "committer_date": "2019-03-10T21:11:10", "content_id": "471700737ebfc0aa0f2e024b5527fe984af1629c", "detected_licenses": [ "MIT" ], "directory_id": "dfd6b51d8dc5f28304d9221436b9b069103f0e9d", "extension": "c"...
stackv2
// // Created by Andrew Wade on 7/2/18. // #include <stdlib.h> #include <printf.h> #include "_list.h" #include "_test.h" #include "_pool.h" #ifndef TEST_POOL_SIZE #define TEST_POOL_SIZE 512 #endif static _test_t test_pool_buffer[TEST_POOL_SIZE]; static _pool_t test_pool = {0}; static VOID test_assert_fail_callback...
2.875
3
2024-11-18T23:56:40.044178+00:00
2017-06-21T02:58:20
75f00850d27697dd286c6a516b406fe7e2a252d7
{ "blob_id": "75f00850d27697dd286c6a516b406fe7e2a252d7", "branch_name": "refs/heads/master", "committer_date": "2017-06-21T02:58:20", "content_id": "8045a63de6dbe8b8dea4f9dccfdefb8b5f9247e0", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a14e7948e4138e46693ddb77c8f27ea5abb821fb", "extens...
stackv2
/*------------------------------------------ Source file content Six part Part Zero: Include Part One: Define Part Two: Local data Part Three: Local function Part Four: Database operate Part Five: Database destroy --------------------------------------------*/ /*------------------------------------------ Pa...
2.078125
2
2024-11-18T23:56:41.237617+00:00
2017-12-13T03:55:10
7f2af02c76e7d288a9fb87ff916036c66dacade4
{ "blob_id": "7f2af02c76e7d288a9fb87ff916036c66dacade4", "branch_name": "refs/heads/master", "committer_date": "2017-12-13T03:55:10", "content_id": "9cf05357c3d1f99acf48ea16570597fc8b17a077", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "03bcef921e8506866064bc2f6a6703e959058ae5", "extens...
stackv2
#ifndef _HMC_SIM_T_H_ #define _HMC_SIM_T_H_ typedef enum{ RD_RS = 0x38, /*! HMC-SIM: HMC_RESPONSE_T: READ RESPONSE */ WR_RS = 0x39, /*! HMC-SIM: HMC_RESPONSE_T: WRITE RESPONSE */ MD_RD_RS = 0x3A, /*! HMC-SIM: HMC_RESPONSE_T: MODE READ RESPONSE */ MD_WR_RS = 0x3B, /*! HMC-SIM: HMC_RESPONSE_T: MODE WRI...
2.015625
2
2024-11-18T23:56:41.314536+00:00
2019-01-31T18:20:47
e17310b75f0fbe51cdc6093bc627c5dfd69a624a
{ "blob_id": "e17310b75f0fbe51cdc6093bc627c5dfd69a624a", "branch_name": "refs/heads/master", "committer_date": "2019-01-31T18:20:47", "content_id": "8756b8031f213b26e6f82c58d5bcabcabf3fde9c", "detected_licenses": [ "MIT" ], "directory_id": "a1bc767c61fc1b0b3603b14ca02c79d3963d93ae", "extension": "c"...
stackv2
#include "mex.h" #include "stdio.h" #include "math.h" // undef needed for LCC compiler #undef EXTERN_C #include <windows.h> #include <process.h> // This c function square.c is a simple example of multi-threading // for windows. // It uses 2 worker threads and a main thread. The first worker thread // will square...
2.703125
3
2024-11-18T23:56:41.439252+00:00
2021-03-09T21:55:27
3fa15e7dec7159b82ae31ad523577cb5085466cc
{ "blob_id": "3fa15e7dec7159b82ae31ad523577cb5085466cc", "branch_name": "refs/heads/master", "committer_date": "2021-03-09T21:55:27", "content_id": "bceee3ebe182806ea84ab132781dbdce1a3f9a07", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7241a5d3f21612c462fb75eff450fde38e13dd38", "extensio...
stackv2
/* * Copyright 2020 u-blox Cambourne Ltd * * 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 ag...
2.078125
2
2024-11-18T23:56:42.019902+00:00
2023-08-27T17:30:52
8da4e9c85bb9209df1a74a477b9aec3399167ade
{ "blob_id": "8da4e9c85bb9209df1a74a477b9aec3399167ade", "branch_name": "refs/heads/master", "committer_date": "2023-08-27T17:30:52", "content_id": "ebc4b6c32ee36ea3a4c1a5887c29ac4feccfe679", "detected_licenses": [ "MIT" ], "directory_id": "383c417abca8aa70c4427a8679a7144a7ce26084", "extension": "c"...
stackv2
#include "test_common.h" #include <stdlib.h> #include <string.h> #include "../SWtexture.h" static SWubyte test_texture_tex[] = { 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 255, 1, 1, 0, 11, 13, 14, 190, 111, 20, 20, 20, 20, 10, 111, 12, 190...
2.28125
2
2024-11-18T23:56:42.439913+00:00
2022-12-29T19:41:27
18fde2af5541049f15f487cd87f24e1a653e202a
{ "blob_id": "18fde2af5541049f15f487cd87f24e1a653e202a", "branch_name": "refs/heads/master", "committer_date": "2022-12-29T19:41:27", "content_id": "860b4824357467ec9ec2b5c44ccc45e0f728c2c0", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f70c3c3be50b760e8ef2e3b784527f3e5bafe128", "extens...
stackv2
/* tapecart - a tape port storage pod for the C64 Copyright (C) 2013-2017 Ingo Korb <ingo@akana.de> All rights reserved. Idea by enthusi Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributio...
2.09375
2
2024-11-18T23:56:42.494721+00:00
2015-03-12T05:41:44
d41ad07d6455f94ac18ff7b3b9c9315f822b5ca1
{ "blob_id": "d41ad07d6455f94ac18ff7b3b9c9315f822b5ca1", "branch_name": "refs/heads/master", "committer_date": "2015-03-12T05:41:44", "content_id": "8a4592bcf7a5aa27528845b8afb7d5aa288a72c7", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b8382ed7cbbba58621218cc9bb986a8c17695a1e", "extens...
stackv2
// Copyright (c) 2015 Connor Taffe. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdio.h> #include <infix.h> int main() { char *exp = "1+2*3-6"; printf("'%s' => %d\n", exp, infix(exp)); return 0; }
2.09375
2
2024-11-18T23:56:42.878473+00:00
2021-07-29T09:28:47
bd0a151a93a2f9423e6930623f1bd76f7c951185
{ "blob_id": "bd0a151a93a2f9423e6930623f1bd76f7c951185", "branch_name": "refs/heads/master", "committer_date": "2021-07-29T09:28:47", "content_id": "30b0d12d58d4f0de3db913cae7380b3fb1c2d574", "detected_licenses": [ "MIT" ], "directory_id": "86688d1068860c590500bc388ca41afdebc744b3", "extension": "h"...
stackv2
/******************************************************************************* File: mp_image_if.h Description: TIME LIST: CREATE By Ringsd 2012/9/02 03:37:06 *******************************************************************************/ #ifndef _mp_image_if_h_ #define _mp_image_if_h...
2.0625
2
2024-11-18T23:56:43.039973+00:00
2020-03-23T20:53:53
59a236d26f59e5c5edededb5048dff75ba5d536e
{ "blob_id": "59a236d26f59e5c5edededb5048dff75ba5d536e", "branch_name": "refs/heads/master", "committer_date": "2020-03-23T20:53:53", "content_id": "44b058c9ac88d2bafb9423df71c346391eb633ab", "detected_licenses": [ "MIT" ], "directory_id": "48d07c8df653fb830b007360e56afcef8cfb7f57", "extension": "h"...
stackv2
#ifndef IMAGE_H_ #define IMAGE_H_ #include <stdint.h> struct pixel { uint8_t b, g, r; }; // start of pixels is top left corner struct image { uint64_t width, height; struct pixel* data; }; struct image create(uint64_t width, uint64_t height); void image_free(struct image* const img); struct image rotat...
2.109375
2
2024-11-18T23:56:43.113989+00:00
2016-05-02T07:55:14
92ac54ca00b9914380554458db99316c630bb6b1
{ "blob_id": "92ac54ca00b9914380554458db99316c630bb6b1", "branch_name": "refs/heads/master", "committer_date": "2016-05-02T07:55:14", "content_id": "d72332d0d847c16dc478687e304644a9cc75b913", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "0ce9052cd8b29b742e651fe9ee87378dcf70c7de", "extens...
stackv2
/* Copyright (c) 2014, LAAS/CNRS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions a...
2.234375
2
2024-11-18T23:56:43.202980+00:00
2020-06-26T16:54:04
7437dde3e1451ff6bd48e2cf6abf09d64b58ead9
{ "blob_id": "7437dde3e1451ff6bd48e2cf6abf09d64b58ead9", "branch_name": "refs/heads/master", "committer_date": "2020-06-26T16:54:04", "content_id": "1e9418bb8ef780489e9585e4f739f87193fac7d9", "detected_licenses": [ "MIT" ], "directory_id": "dbd844bb6c9e2a2bfa3c1e45486fbe6c9f9f6b1b", "extension": "h"...
stackv2
/*************************************************************************** hash.h - description ------------------- begin : dom nov 21 2004 copyright : (C) 2004 by Jorge Civera Saiz email : jorcisai@iti.upv.e...
2.0625
2
2024-11-18T23:56:43.304314+00:00
2013-09-10T15:19:45
3914f571962be38a87dd170bbf8b7c69d6aa203a
{ "blob_id": "3914f571962be38a87dd170bbf8b7c69d6aa203a", "branch_name": "refs/heads/master", "committer_date": "2013-09-10T15:19:45", "content_id": "31af0000571e63111eb1e0f4b265a84ae37d798d", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a229b7a93dff3b0bd6a1c2bda22e531537f0c62b", "extens...
stackv2
/* Copyright (c) 2013 Xingxing Ke <yykxx@hotmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this...
2.046875
2
2024-11-18T23:56:44.050674+00:00
2013-12-15T23:34:36
e963e95132a044c699c15d4c6a944c5ad8ba5903
{ "blob_id": "e963e95132a044c699c15d4c6a944c5ad8ba5903", "branch_name": "refs/heads/master", "committer_date": "2013-12-15T23:34:36", "content_id": "3bfe66e92f4f1aeb769f71a9738a0e9691af379c", "detected_licenses": [ "MIT" ], "directory_id": "bc4910ecec94749697dbce5e7cf5093275411125", "extension": "c"...
stackv2
/** * Custom EGL tracer functions */ #include <EGL/egl.h> #include "tracer.h" #include "tracer_util.h" #include "tracer_compiler.h" /* Symbol exporting macros */ #if defined(TR_PLATFORM_WIN32) || defined(TR_PLATFORM_SYMBIAN) # define TR_EXPORT __declspec(dllexport) #else # define TR_EXPORT #endif #define HI...
2.125
2
2024-11-18T23:56:44.116938+00:00
2014-05-04T16:41:06
b8f6bde5d6815e9592875d20197a8d05abc40a68
{ "blob_id": "b8f6bde5d6815e9592875d20197a8d05abc40a68", "branch_name": "refs/heads/master", "committer_date": "2014-05-04T16:41:06", "content_id": "d889eee947e3599323f6726d99511f438b3c0c65", "detected_licenses": [ "MIT" ], "directory_id": "cc5540409d486b733cb34aed4f3005f63050a603", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include "global_vars.h" #include "arch.h" #include "csr_mat.h" #include "full_matrices.h" #include "rand_range_finder.h" #include "rand_svd.h" #include "wallclock.h" extern timer_struct rand_timer; void compute_svals_rand(svd_finder *svd_f, csr_mat *At, range_finder *r, doubl...
2.3125
2
2024-11-18T23:56:44.558564+00:00
2021-04-25T03:11:30
d687aea29b7440318486281d634a69cbb15f9dce
{ "blob_id": "d687aea29b7440318486281d634a69cbb15f9dce", "branch_name": "refs/heads/main", "committer_date": "2021-04-25T03:11:30", "content_id": "b24f2b008260a428506c71f135c2fd34bdf30866", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6931c40b3defc912fcff2cf585e328871186db54", "extension"...
stackv2
///////////////////////////////////////////////////////////////////-=505-Tech=-/// //电赛H题-模拟电磁曲射炮-PID代码 ///////////////////////////////////////////////////////////////////-=505-Tech=-/// //版本:V0.0 //编写:陈济轩 //中国民航大学电子科技创新创业实践基地505创客实验室 ///////////////////////////////////////////////////////////////////-=505-Tech=-/// //...
2.140625
2
2024-11-18T23:56:44.858287+00:00
2018-02-26T11:58:09
ad93dd23dabc5846397017245d6b170cec33b16e
{ "blob_id": "ad93dd23dabc5846397017245d6b170cec33b16e", "branch_name": "refs/heads/master", "committer_date": "2018-02-26T11:58:09", "content_id": "dcf44f9bc67d744649d9c69680c18b755c626a85", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f54465f19bb6fe37cbbed0e32c07b55b396a9ec6", "extensio...
stackv2
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include "http_client.h" #include "http_client_rcv.h" #include "http_client_cb.h" #include "config.h" #include <misc/printk.h> #include <net/nbuf.h> int http_init(struct http_client_ctx *http_ctx) { memset(http_ctx, 0, sizeof(s...
2.109375
2
2024-11-18T23:56:45.656321+00:00
2023-01-27T22:49:21
3a9b570d49976655c12edd6ad9e7b69521f2e8b4
{ "blob_id": "3a9b570d49976655c12edd6ad9e7b69521f2e8b4", "branch_name": "refs/heads/main", "committer_date": "2023-01-27T22:49:29", "content_id": "cf9c78ead5135e942a2fda8e093f6c992183ec10", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "6092c6b6eb94b914757a12707e60339b9bc86f73", "extensio...
stackv2
/* This file is for functions related to 256-bit vectors including functions for bitsliced field operations */ #include "vec256.h" extern void PQCLEAN_MCELIECE6688128_AVX_vec256_mul_asm(vec256 *, vec256 *, const vec256 *); vec256 PQCLEAN_MCELIECE6688128_AVX_vec256_set1_16b(uint16_t a) { return _mm256_set1_ep...
2.40625
2
2024-11-18T23:56:45.767895+00:00
2020-01-30T19:54:07
f869e4d2fb2db18bbc3919fe5c95ed597e7eb305
{ "blob_id": "f869e4d2fb2db18bbc3919fe5c95ed597e7eb305", "branch_name": "refs/heads/master", "committer_date": "2020-01-30T19:54:07", "content_id": "b3ab223977d323c06a80b5fc82430ab6d490e0d9", "detected_licenses": [ "MIT" ], "directory_id": "5cd71e6cb34613adab37f2a0b80bc827ccb2c3f9", "extension": "c"...
stackv2
/** * CS50 Library for C * https://github.com/cs50/libcs50 * * Renamed and readapted by Yassine HADHADI as prompt.c for cross-platform * and personal use outside the CS50 IDE and the CS50 curriculum in generale. * * Changed all function signature from get_<type> to prompt<type_initial>. * * Changed the get_long...
2.4375
2
2024-11-18T23:56:47.303643+00:00
2021-07-28T19:16:06
62a21a4d196fb1a697cfc7db837904ee12a98cd1
{ "blob_id": "62a21a4d196fb1a697cfc7db837904ee12a98cd1", "branch_name": "refs/heads/main", "committer_date": "2021-07-29T12:53:22", "content_id": "79469d5d37f1e99553b70f0ce3f9f2c037bec159", "detected_licenses": [ "Apache-2.0", "BSD-3-Clause" ], "directory_id": "8076cf321d026744a73ab6d32783f5920c7b...
stackv2
/* * This file has been copied from the cddl-gen submodule. * Commit 8f9358a0b4b0e9b0cd579f0988056ef0b60760e4 */ /* * Copyright (c) 2020 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <stddef.h> #include <stdbool.h> #include <stdint.h> #include <string.h> #include "cbor_common.h" ...
2.53125
3
2024-11-18T23:56:47.376796+00:00
2021-04-16T09:05:45
c08c25b499a256e7ea6b2d154faabca27509655f
{ "blob_id": "c08c25b499a256e7ea6b2d154faabca27509655f", "branch_name": "refs/heads/main", "committer_date": "2021-04-16T09:05:45", "content_id": "1e8458a6c721c1d1bd2ec4647f12a00eced944d9", "detected_licenses": [ "MIT" ], "directory_id": "0b290fd7d6ac644e6e0266a3fc725e976aa7794e", "extension": "c", ...
stackv2
#include <stdlib.h> #include <stdio.h> #include "counting_sort_key.h" /* ---=== Function Declaration : ===--- */ void counting_sort_key(size_t input_length,Data** input) { // 1. Finding the working range : uint16_t key_range = 0; for (size_t i = 0; i < input_length; ++i) if (input[i]->key > key_range) ...
3.125
3
2024-11-18T23:56:47.545596+00:00
2015-07-03T21:52:22
16cdcb4b5955c9b79adc9afdec2c52c6d5001900
{ "blob_id": "16cdcb4b5955c9b79adc9afdec2c52c6d5001900", "branch_name": "refs/heads/master", "committer_date": "2015-07-03T21:52:22", "content_id": "d1429ec9fd0ea2e2b37f83a5d5957f05120b93e6", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "5e25fb21acfc457b92d91d84fb21a042ffe96503", "extens...
stackv2
#include "Python.h" #include "ircclient.h" #include <stdio.h> #include <string.h> #include <unistd.h> #include <ctype.h> /* for tolower() */ #include "netconn.h" #define PY_NAME "scripts" #define PY_FUNC "msgcheck" char obuff[513]; int sockdes; int running = 0; char *chan; char **masters; enum MSG_type { T_P...
2.03125
2
2024-11-18T23:56:47.707015+00:00
2020-12-02T14:40:16
9f529478431ae69a24986ff74af2c95abd05c5d8
{ "blob_id": "9f529478431ae69a24986ff74af2c95abd05c5d8", "branch_name": "refs/heads/main", "committer_date": "2020-12-02T14:40:16", "content_id": "08cd44a4adab037997337b439d809ad4184a3b76", "detected_licenses": [ "MIT" ], "directory_id": "ad3632ae06d205ba4ff55208de5c2b4281dee51e", "extension": "c", ...
stackv2
#include<stdio.h> #include<cs50.h> #define CAPACITY 100 typedef struct { // TODO - Task #1 } numberList; void printList ( numberList list ); // bool isDivisible ( int number, int divisor ); // void filterList ( numberList *list, int divBy ); /** * Creates an array of integers based upon user input. * Filters ...
3.203125
3
2024-11-18T23:56:47.974026+00:00
2017-04-20T10:17:49
0950346a5c073738374f46bec2da88e3db006f8f
{ "blob_id": "0950346a5c073738374f46bec2da88e3db006f8f", "branch_name": "refs/heads/master", "committer_date": "2017-04-20T10:17:49", "content_id": "b7e24e0f228a76fad7483e463b15775ca1f2ed7d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ebd585fdafb22d31fcd6d04b209f81e88d1a2083", "extensio...
stackv2
/****************************************************************************** @file: os_kf.c @brief: 1-State KF w/outlier detection DESCRIPTION INITIALIZATION AND SEQUENCING REQUIREMENTS ----------------------------------------------------------------------------- Copyright (c) 2011 QUALCOMM Technolog...
2.09375
2
2024-11-18T23:56:48.129066+00:00
2016-05-18T19:42:46
e2576d9882349e670bf3ffe40f050c69a240a9a3
{ "blob_id": "e2576d9882349e670bf3ffe40f050c69a240a9a3", "branch_name": "refs/heads/master", "committer_date": "2016-05-18T19:42:46", "content_id": "bd39fc4dc0bdc01848995cf90c780f6ad5cca39b", "detected_licenses": [ "MIT" ], "directory_id": "de6604045fb627b86b6bb03c9f99fc69ed01a954", "extension": "c"...
stackv2
/* * ora_cosh.c Reads in number and returns hyperbolic * cosine of that number. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <errno.h> #include <math.h> #include <ksu_common.h> extern void ora_cosh(sqlite3_context * context, int ...
2.5
2
2024-11-18T23:56:48.290406+00:00
2020-08-27T00:22:26
9a7d9e09d0b823ef3e7006e5768b7bac8cc8b28c
{ "blob_id": "9a7d9e09d0b823ef3e7006e5768b7bac8cc8b28c", "branch_name": "refs/heads/master", "committer_date": "2020-08-27T00:22:26", "content_id": "7f17f0f1ebbd2624e024182abfe3a1b5fef58a07", "detected_licenses": [ "MIT" ], "directory_id": "202e59895ff5c60c61edaeb5c4cb408c8b19cf50", "extension": "c"...
stackv2
/* Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2018 Rafa Garcia <rafagarcia77@gmail.com>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
2.1875
2
2024-11-18T23:56:49.260851+00:00
2021-09-14T12:09:19
93388e6f395cb217c12fd62301129435b3a2cbe3
{ "blob_id": "93388e6f395cb217c12fd62301129435b3a2cbe3", "branch_name": "refs/heads/main", "committer_date": "2021-09-14T12:09:19", "content_id": "8daa0d98801d2c2966d83eec704ec0874dc9fb47", "detected_licenses": [ "MIT" ], "directory_id": "d43a100309029c27ada5c75104ff3a2ec2ac2688", "extension": "c", ...
stackv2
#include "../Headers/std_c.h" #include "../Headers/ext.h" #include "../Headers/vk_fun.h" #include "../Headers/glfw_fun.h" int main(){ glfwInit(); VkInstance instance = createInstance(); uint32_t physicalDeviceNumber = getPhysicalDeviceNumber(&instance); VkPhysicalDevice *physicalDevices = getPhysicalDevices(&ins...
2.21875
2
2024-11-18T23:56:49.621984+00:00
2021-02-25T14:23:41
e3fe821d17257dd70cb9312ff7205828d2cbbea7
{ "blob_id": "e3fe821d17257dd70cb9312ff7205828d2cbbea7", "branch_name": "refs/heads/main", "committer_date": "2021-02-25T14:23:41", "content_id": "c48f02e82fedf860ae4b6e353134407f57085ff2", "detected_licenses": [ "MIT" ], "directory_id": "d8bb6ec1ba9340d5820fdc4742111779a6432b61", "extension": "h", ...
stackv2
#ifndef COR_JSON_H #define COR_JSON_H #include <unistd.h> #include "cor_core.h" #include "cor_pool.h" #define COR_JSON_ERROR_SIZE 128 #define COR_JSON_STACK_SIZE 64 #define COR_JSON_POOL_SIZE 32 * 1024 enum cor_json_node_type_e { COR_JSON_NODE_UNDEFINED = 0, COR_JSON_NODE_STRING, COR_JSON_NODE_INT, ...
2.1875
2
2024-11-18T23:56:50.135663+00:00
2021-10-19T19:17:15
40ac640837384cb569439de099eada76a30d7558
{ "blob_id": "40ac640837384cb569439de099eada76a30d7558", "branch_name": "refs/heads/master", "committer_date": "2021-10-19T19:17:15", "content_id": "205b48f224bd21c5879ba2f6e5c1df0173cf03ac", "detected_licenses": [ "MIT" ], "directory_id": "e7b1c6f48537154a7e2ca62524114b6d74b7d7a5", "extension": "h"...
stackv2
/* * hyptop - Show hypervisor performance data on System z * * Helper functions * * Copyright IBM Corp. 2010, 2017 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #ifndef HELPER_H #define HELPER_H #include <limits.h> ...
2.109375
2
2024-11-18T23:56:50.373648+00:00
2018-05-23T06:55:18
71da8df21c35e69d8ad333f20599335e2601b736
{ "blob_id": "71da8df21c35e69d8ad333f20599335e2601b736", "branch_name": "refs/heads/master", "committer_date": "2018-05-23T06:55:18", "content_id": "1a9596f886bbdd5dfd77a639cc447e6290eb5844", "detected_licenses": [ "MIT" ], "directory_id": "2bc3398063fd7251c46a2d93d2e301cd063befcd", "extension": "c"...
stackv2
// taohong.c inherit NPC; #include <ansi.h> #include "/d/suzhou/npc/lchj.h"; void outwuguan(object me); string ask_qiqiang(); string ask_gaotou(); void create() { set_name("中年乞妇", ({ "zhongnian qifu","qifu","zhongnian" }) ); set("gender", "女性" ); set("age", 33); set("long", "一个中年乞妇,低头弓背,披头散发,衣服污秽破烂。\n"); set("c...
2.09375
2
2024-11-18T23:56:50.732834+00:00
2023-01-07T00:11:14
6fc87a0453159ed4b4e8964adebb7adb2e08559f
{ "blob_id": "6fc87a0453159ed4b4e8964adebb7adb2e08559f", "branch_name": "refs/heads/master", "committer_date": "2023-01-07T00:11:14", "content_id": "08e51e93d0eb7aa9b3e685017011d989dfae12cf", "detected_licenses": [ "Apache-2.0" ], "directory_id": "16ad0c3b92f18cde74f0047c2e7680d4662896e8", "extensio...
stackv2
/** * @file * Public APIs */ /* ******************************************************************* * * Copyright 2016 Intel Corporation All rights reserved. * *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
2
2
2024-11-18T23:56:50.957284+00:00
2017-07-14T07:10:33
b522dab66affac0dd2534f25f9ba0853093b023e
{ "blob_id": "b522dab66affac0dd2534f25f9ba0853093b023e", "branch_name": "refs/heads/master", "committer_date": "2017-07-14T07:10:35", "content_id": "42cf36bd8aede6f0d6a02d4dac3355acdf86a1d4", "detected_licenses": [ "MIT" ], "directory_id": "0ba73af1c763722994215703b7abc005023d6d33", "extension": "c"...
stackv2
#include <string.h> #include "lwmqtt.h" #include "packet.h" void lwmqtt_init(lwmqtt_client_t *client, unsigned char *write_buf, int write_buf_size, unsigned char *read_buf, int read_buf_size) { client->next_packet_id = 1; client->keep_alive_interval = 0; client->ping_outstanding = false; cl...
2.578125
3
2024-11-18T23:56:51.950735+00:00
2023-07-26T13:26:45
d0a69f71cf283792a832596b9d96065ad134ed60
{ "blob_id": "d0a69f71cf283792a832596b9d96065ad134ed60", "branch_name": "refs/heads/main", "committer_date": "2023-07-26T13:26:45", "content_id": "52c0da5c8b3771f732ea5133bae0aa9e38ce099b", "detected_licenses": [ "MIT" ], "directory_id": "5759ccee99bcd92e3917b0652c4c842753f8f165", "extension": "c", ...
stackv2
#include <stdlib.h> #include <glib.h> #include <glib/gprintf.h> int main(int argc, char** argv) { GString a; if (argc == 2) { a = *g_string_new(argv[1]); g_printf("input = '%s'\n", a.str); a.str = g_ascii_strup(a.str, a.len); g_printf("OUTPUT = '%s'\n", a.str); } else { g_printf("...
2.484375
2
2024-11-18T23:56:52.113513+00:00
2023-08-20T12:22:46
c7d9ad479b19f3274184685cbbc2dc84c54909cc
{ "blob_id": "c7d9ad479b19f3274184685cbbc2dc84c54909cc", "branch_name": "refs/heads/master", "committer_date": "2023-08-20T12:22:46", "content_id": "14aba2d25fb1373a1379f9c37f519afdf46d4462", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "340cc5d8ba77fbbafefb8a1755ae4dacbfb6953e", "extens...
stackv2
/* Copyright (c) 2002-2011 InMon Corp. Licensed under the terms of the InMon sFlow licence: */ /* http://www.inmon.com/technology/sflowlicense.txt */ /* ///////////////////////////////////////////////////////////////////////////////// /////////////////////// sFlow Sampling Packet Data Types //////////////////////// //...
2.015625
2
2024-11-18T23:56:52.186996+00:00
2022-09-23T15:22:19
799317c50058ea6b3a658337e077dcff56a4eceb
{ "blob_id": "799317c50058ea6b3a658337e077dcff56a4eceb", "branch_name": "refs/heads/master", "committer_date": "2022-09-23T15:22:19", "content_id": "83d06b782b007f1552b3fd6c09196ceae2cdfd2c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fb33be4618a664735d5d27ee4745607c3de665ad", "extensio...
stackv2
#include "m2-interface2.h" #include "m2-ptrvalidate.h" M2_InterfaceID const M2_Interface2_ID = "M2_Interface2"; void M2_Interface2_new(M2_Interface2 *const self, M2_Interface2Vtbl const *const vtbl) { // much nastyness, casting const *const to const * M2_Interface2Vtbl const **p = (M...
2.1875
2
2024-11-18T23:56:53.228206+00:00
2021-10-24T22:16:06
a9ff83ff4182a9abd4c5ed435c7da8733177de18
{ "blob_id": "a9ff83ff4182a9abd4c5ed435c7da8733177de18", "branch_name": "refs/heads/master", "committer_date": "2021-10-24T22:16:06", "content_id": "ae215ea3c9d92c87c285d9e6be9186a34d3a1e9d", "detected_licenses": [ "MIT" ], "directory_id": "b55e32650421ecb7bffdbf4b6b19dc1c52d758dd", "extension": "c"...
stackv2
#include "random.h" static Value randomRandom(DictuVM *vm, int argCount, Value *args) { UNUSED(args); if (argCount > 0) { runtimeError(vm, "random() takes 0 arguments (%d given)", argCount); return EMPTY_VAL; } int high = 1; int low = 0; double random_double = ((double)rand() *...
2.515625
3
2024-11-18T23:56:54.338102+00:00
2023-01-09T11:30:42
04d953257d6c5cf6d6be9af596865646b33adf5e
{ "blob_id": "04d953257d6c5cf6d6be9af596865646b33adf5e", "branch_name": "refs/heads/master", "committer_date": "2023-01-09T15:00:17", "content_id": "d7ae15dbea902833312f6c34c220df0c53cfbd46", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "5b08fc7957a5dad091b26a0ec3f0be18dbd85f19", "extens...
stackv2
/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (c) 2017, Intel Corporation * All rights reserved. */ #include <glib.h> #include <inttypes.h> #include <sched.h> #include <stdlib.h> #include <unistd.h> #include <setjmp.h> #include <cmocka.h> #include "thread.h" /* * This test exercises the Thread abstr...
2.5625
3
2024-11-18T23:56:58.074029+00:00
2018-11-02T09:28:06
13bce0d82dd953f2de089c4ad2428838652505a7
{ "blob_id": "13bce0d82dd953f2de089c4ad2428838652505a7", "branch_name": "refs/heads/master", "committer_date": "2018-11-02T09:28:06", "content_id": "c01bea645c0ec7ba86a9029e2975e4895b08b03e", "detected_licenses": [ "MIT" ], "directory_id": "0c2ddc98ad977d15f4a947544eef8433a1807f3b", "extension": "c"...
stackv2
#include "segment.h" void seg_init(){ // GPIO structure for port initialization GPIO_InitTypeDef GPIO_InitStructure; // enable clock on APB2 RCC_APB2PeriphClockCmd(SEGMENT_RCC_CLK_PREP, ENABLE); // configure port A1 for driving an LED GPIO_InitStructure.GPIO_Pin = SEGMENT_GPIO_PIN; GPIO_...
2.703125
3
2024-11-18T23:56:58.255975+00:00
2018-11-27T20:33:43
41144a8321d424c5a5bc24e73795b28c07a031be
{ "blob_id": "41144a8321d424c5a5bc24e73795b28c07a031be", "branch_name": "refs/heads/master", "committer_date": "2018-11-27T20:33:43", "content_id": "a0593a081f1784431a7f4010f04a2106ad6e7273", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5c4bcc1e9f572fa88f0ff0ee5ed68619dd2205f6", "extensio...
stackv2
#include "../include/splaytree.h" #include "../include/dbg.h" #include <limits.h> #include <stdio.h> #include <stdlib.h> void splaytreeDestroy(struct splaytree** root) { while (*root) { splaytreeDelete(root, (*root)->key); } } static void treeRotate(struct splaytree** root, int direction) { struct...
3.140625
3
2024-11-18T23:56:58.406903+00:00
2018-05-12T11:40:51
ca7235109c664d304e5f6a3d1bc8bc521a9617cf
{ "blob_id": "ca7235109c664d304e5f6a3d1bc8bc521a9617cf", "branch_name": "refs/heads/master", "committer_date": "2018-05-12T11:40:51", "content_id": "931344725eb884cb15298187a8d81acbd44fa252", "detected_licenses": [ "MIT" ], "directory_id": "37f766045f55c0a447070549053e10ce29648e70", "extension": "c"...
stackv2
/* search.c - a part of avr-ds18b20 library * * Copyright (C) 2016 Jacek Wieczorek * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <avr/io.h> #include <avr/interrupt.h> #include <inttypes.h> #include <stddef.h> #include "../i...
2.5
2
2024-11-18T23:56:58.578516+00:00
2022-09-14T18:45:17
e0cca3c19abed42fb83d7cb3bed3ac6e5b304308
{ "blob_id": "e0cca3c19abed42fb83d7cb3bed3ac6e5b304308", "branch_name": "refs/heads/master", "committer_date": "2022-09-14T18:45:17", "content_id": "892bb8d7831a1975231c82e132e5b2a121d25a88", "detected_licenses": [ "Unlicense" ], "directory_id": "4118c18c2d980fd1ef953eed3d3208f18ce3100c", "extension...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <libgen.h> #include <getopt.h> #include <unistd.h> #include <sys/stat.h> #include <time.h> #include <sys/time.h> #ifdef WIN32 #define HAVE_FINDFIRST #include <io.h> #else #define HAVE_GLOB #include <glob.h> #endif #ifndef abs #define abs(a) ((a) ...
2.453125
2
2024-11-18T23:56:59.084541+00:00
2015-12-02T16:06:54
307fb0fa006500b6c1327dd39d3f436895474830
{ "blob_id": "307fb0fa006500b6c1327dd39d3f436895474830", "branch_name": "refs/heads/master", "committer_date": "2015-12-02T16:06:54", "content_id": "4010e8518e1f277c6b163384aee05f8eda774b0e", "detected_licenses": [ "MIT", "PostgreSQL" ], "directory_id": "36023048377e4f61bb152ba53750bac212e507f5", ...
stackv2
/*------------------------------------------------------------------------- * * test_thread_funcs.c * libc thread test program * * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $Header: /cvsroot/pgsql/src/too...
2.421875
2
2024-11-18T23:56:59.153613+00:00
2014-11-23T23:04:32
a80fdd5bb2cba5efc9c49e56d8a69957d1887a0f
{ "blob_id": "a80fdd5bb2cba5efc9c49e56d8a69957d1887a0f", "branch_name": "refs/heads/master", "committer_date": "2014-11-23T23:04:32", "content_id": "aca34a6920f54732bac59e91fa1b4ce12ce6d326", "detected_licenses": [ "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "99e5e3f6a31a226f23179dd748b1c4e0...
stackv2
#include <stdarg.h> #include <stdio.h> /* * 07/21/08: Offsets for stack char/short parameters were messed up, so * stdarg stuff didn't work. */ void bar(char d, ...) { unsigned long long x; va_list v; va_start(v, d); x = va_arg(v, unsigned long long); printf("%d, %lld\n", d, x); va_end(v); } void bar2(short ...
2.96875
3
2024-11-18T23:57:00.025572+00:00
2020-02-29T17:43:16
5f6b1db5aa2fb04ef72f998b37ce89876adcdd10
{ "blob_id": "5f6b1db5aa2fb04ef72f998b37ce89876adcdd10", "branch_name": "refs/heads/master", "committer_date": "2020-02-29T17:45:36", "content_id": "ad00d7898317e56ca6169d40cb854c12ef143844", "detected_licenses": [ "MIT" ], "directory_id": "016872b45eaea517a7289f5add3d22528bd0c4dd", "extension": "h"...
stackv2
#ifndef _DRV_USART_H_ #define _DRV_USART_H_ #include <drv_common.h> #include <hal_usart.h> #define DRV_USART_INSTANCE_GET(x) \ { \ .idx = DRV_USART_INST ## x ## _IDX, \ } #define DRV_USART_DEFAULT_CONFIG \ { ...
2.078125
2
2024-11-18T23:57:00.442399+00:00
2022-06-12T18:13:23
96cf2eb40144a3d17ee41c74c0c2b02b50f902dc
{ "blob_id": "96cf2eb40144a3d17ee41c74c0c2b02b50f902dc", "branch_name": "refs/heads/master", "committer_date": "2022-06-12T18:13:23", "content_id": "023425e0a1ea60d916d84aca6de50f12a60f7e4c", "detected_licenses": [ "ISC" ], "directory_id": "722cf9ab069d75af63664eeae0c35c63aa73c51c", "extension": "h"...
stackv2
/* See LICENSE file for copyright and license details. */ /** * Dynamically allocates heap allocated, uninitialised, * memory with page size alignment * * The product of all arguments, up to the first 0, * will be used as the number of bytes to allocated * * @param n First factor for the allocation s...
2.625
3
2024-11-18T23:57:01.247830+00:00
2019-05-24T22:48:51
ae7ee98e9d7e92c98d70c0bf5c9493aee39f071d
{ "blob_id": "ae7ee98e9d7e92c98d70c0bf5c9493aee39f071d", "branch_name": "refs/heads/master", "committer_date": "2019-05-24T22:48:51", "content_id": "6f27c424ba27431c19cf9f77e0629792784e2214", "detected_licenses": [ "MIT" ], "directory_id": "907082a111cd1dab398f9d1aca69ecfc417d9a04", "extension": "h"...
stackv2
#ifndef SYSTEM_INTERCOM_H_ #define SYSTEM_INTERCOM_H_ #include "../util/types.h" #include "../util/error_log.h" /** * Intercom between modules * Each message starts with the UID of the sending MCU - 12 bytes * Followed by the message count of that MCU - 4 bytes * This way we can avoid processing a message multiple ...
2.3125
2
2024-11-18T23:57:01.708945+00:00
2021-02-21T15:43:41
108203aeadd3502ec24e32fcfa21b33f3de1cdba
{ "blob_id": "108203aeadd3502ec24e32fcfa21b33f3de1cdba", "branch_name": "refs/heads/main", "committer_date": "2021-02-21T15:43:41", "content_id": "f1198946743b30b7daad6aaf86dd4a9d40002de5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "271db853b60f1bd8b3946cd4e83306b6efa56205", "extension"...
stackv2
/** * @file custom-common-file.h * * @date 2020年11月30日 16:25:40 星期一 * ...
2.40625
2
2024-11-18T23:57:02.205633+00:00
2019-11-14T19:00:00
9fda1a0f8675ebc764bd3655ee368e838101dd29
{ "blob_id": "9fda1a0f8675ebc764bd3655ee368e838101dd29", "branch_name": "refs/heads/bailey", "committer_date": "2019-11-14T19:00:00", "content_id": "e02b1ea11c7eae258d3841ffefecbdb2ae918e30", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "14382a9a20234cd6f9cf01e6171557d4f647be22", "extens...
stackv2
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil * vi: set shiftwidth=2 tabstop=2 expandtab: * :indentSize=2:tabSize=2:noTabs=true: * * Katelin Bailey & Peter Hornyack * 8/28/2011 */ #include "../include/kp_kvstore.h" #include "kp_macros.h" #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #in...
2.359375
2
2024-11-18T23:57:02.356837+00:00
2021-06-30T01:09:01
ab8d089b83a9bbc0e0625db72aba2975e52b3a8d
{ "blob_id": "ab8d089b83a9bbc0e0625db72aba2975e52b3a8d", "branch_name": "refs/heads/main", "committer_date": "2021-06-30T01:09:01", "content_id": "7d29f168aa08c3883140f3a7fa88a311142d7d3f", "detected_licenses": [ "MIT" ], "directory_id": "4664b48712dea9e4640d002072d2b69f7ff3b546", "extension": "c", ...
stackv2
/*Program : Right.c * Deskripsi : Fungsi Right * Nama : Muhammad Azhar Alauddin * tanggal/ versi : 7 Januari 2020 */ #include<stdio.h> #include<string.h> int main(){ /* Kamus Data */ char kata[30]; int panjangkata, batas, i; /* Algoritma */ gets(kata); batas= strlen(kata); if((ba...
2.96875
3
2024-11-18T23:57:02.459752+00:00
2013-07-30T06:29:50
b61e29191b8d73e4930cbbc52921f3ee5b07596b
{ "blob_id": "b61e29191b8d73e4930cbbc52921f3ee5b07596b", "branch_name": "refs/heads/master", "committer_date": "2013-07-30T06:29:50", "content_id": "bdd9e256eff74e3f7bf13def261374c06ee1d654", "detected_licenses": [ "MIT" ], "directory_id": "813028300811cf135f96e302eb4de86f1f5e5eb1", "extension": "c"...
stackv2
/* ConvertFromDouble.c =================== Author: R.J.Barnes */ #include <stdio.h> #include <stdlib.h> #include "rtypes.h" #include "rconvert.h" int main(int argc,char *argv[]) { int i; double val; unsigned char buf[8]; val=0.5; ConvertFromDouble(val,buf); fprintf(stdout,"val=%g\n",val); fp...
2.625
3
2024-11-19T01:57:16.847095+00:00
2018-01-18T06:12:19
c6143a1ea960cd2935474be30a5786f6312e3234
{ "blob_id": "c6143a1ea960cd2935474be30a5786f6312e3234", "branch_name": "refs/heads/master", "committer_date": "2018-01-18T06:12:19", "content_id": "d99570aa5e65e97e48f4cf64258ab57f57dd54b9", "detected_licenses": [ "Apache-2.0" ], "directory_id": "100f079c1f777bd9c4e041bcf0c2111429024703", "extensio...
stackv2
/* Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, ...
4.03125
4
2024-11-19T01:57:16.924636+00:00
2019-03-18T09:10:02
edfc5d15e39e7afdb4ab07adc8fa96e7f51e2fae
{ "blob_id": "edfc5d15e39e7afdb4ab07adc8fa96e7f51e2fae", "branch_name": "refs/heads/master", "committer_date": "2019-03-18T09:10:02", "content_id": "42fb2799613104a2033b765276074860e74b97a3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "07e5e9d83135ba1bb885b03d1c79199eb7d6e626", "extensio...
stackv2
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * 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...
2.375
2
2024-11-19T01:57:21.021329+00:00
2016-09-06T09:09:19
d5fbd6b87490b5b66372f17cbf192093ebaa039d
{ "blob_id": "d5fbd6b87490b5b66372f17cbf192093ebaa039d", "branch_name": "refs/heads/master", "committer_date": "2016-09-06T09:09:19", "content_id": "b721700b9f2bde40d833e859fe5a7f256a8dec81", "detected_licenses": [ "Apache-2.0" ], "directory_id": "854a2ab8f607265759b7d9cb0211dc451be6e469", "extensio...
stackv2
/** * ex0806.c * solution to exercise 0806 */ #include <stdio.h> #include <string.h> #include "mm.h" static void *mycalloc( unsigned n, unsigned size ); int main( int argc, char **argv ) { /* 4 * 16 */ char *p = (char *) mycalloc( 4, 16 ); printf( "p is:\n'%s'\n", p ); myfree( p ); return 0; } static vo...
2.890625
3
2024-11-19T01:57:21.177200+00:00
2016-04-11T13:47:31
9ced9d48e35868c5146a6f6779bc051dcfb6bb4d
{ "blob_id": "9ced9d48e35868c5146a6f6779bc051dcfb6bb4d", "branch_name": "refs/heads/master", "committer_date": "2016-04-11T15:24:33", "content_id": "fa2a20902548b745a6e3d646fd8af95408071e6d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8bcfc12c030d1f41b64317e8e17bc75ea704d3f4", "extensio...
stackv2
/* * Copyright (c) 2016 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 ...
2.46875
2
2024-11-19T01:57:21.234009+00:00
2023-05-15T04:18:20
d0e13463c5103e8b5b7ddf92cbc7493d59226ed0
{ "blob_id": "d0e13463c5103e8b5b7ddf92cbc7493d59226ed0", "branch_name": "refs/heads/main", "committer_date": "2023-05-16T04:56:38", "content_id": "09fd13380565e4f9e258b67e17fb98cd1df8c46a", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "89c4f60a8cf554dd85e3eec49d319e6f336b5574", "extensio...
stackv2
/** * Copyright (c) 2016-present, Gregory Szorc * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include "python-zstandard.h" extern PyObject *ZstdError; static void ZstdDecompressionWriter_dealloc(ZstdDecompres...
2.265625
2
2024-11-19T01:57:21.313832+00:00
2018-01-11T00:18:47
9b778dc17cc6f6e18e82a72515e89951931ceead
{ "blob_id": "9b778dc17cc6f6e18e82a72515e89951931ceead", "branch_name": "refs/heads/master", "committer_date": "2018-01-11T00:18:47", "content_id": "03a4548e2abe505dcd5619d96b3e6454328ad88f", "detected_licenses": [ "MIT" ], "directory_id": "31127dd6d205c72c3948b68b862ae73cf935062d", "extension": "h"...
stackv2
//********************************************************************************* // Arduino PID Library Version 1.0.1 Modified Version for C - // Platform Independent // // Revision: 1.1 // // Description: The PID Controller module originally meant for Arduino made // platform independent. Some small bugs present ...
2.078125
2
2024-11-19T01:57:21.395612+00:00
2018-12-23T12:11:31
3d23ebc1c259dc22a41bac46cd2cd0c597eafa86
{ "blob_id": "3d23ebc1c259dc22a41bac46cd2cd0c597eafa86", "branch_name": "refs/heads/master", "committer_date": "2018-12-23T12:11:31", "content_id": "6eda61172b504380d92ba90147ae6a43557d1f15", "detected_licenses": [ "MIT" ], "directory_id": "99ce21c5b5967365b66a538a99903d16a9d16059", "extension": "c"...
stackv2
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <erl_nif.h> #include <wiringPi.h> #define MAX_TIME 85 static int dht11_pin; static int dht11_data[5] = {0, 0, 0, 0, 0}; static ERL_NIF_TERM setup(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) { if (wiringPiSetup() == -1) exit(EXIT_FAIL...
2.1875
2
2024-11-19T01:57:21.701305+00:00
2022-01-31T00:33:31
7750bc45fd8401bf4c577217c06cb9afd634f598
{ "blob_id": "7750bc45fd8401bf4c577217c06cb9afd634f598", "branch_name": "refs/heads/master", "committer_date": "2022-01-31T00:33:31", "content_id": "fed91705b08fc848b7de677a360656cb5202202f", "detected_licenses": [ "BSD-3-Clause", "Apache-2.0" ], "directory_id": "80d34bbbdfd4ef831938c302d3dd3fcae0...
stackv2
#ifndef DD_COMPATIBILITY_H #define DD_COMPATIBILITY_H #include <TSRM/TSRM.h> #include <Zend/zend.h> #include <php_version.h> #if !defined(ZEND_ASSERT) #if ZEND_DEBUG #include <assert.h> #define ZEND_ASSERT(c) assert(c) #else // the void cast is there to avoid warnings about empty statements from linters #define ZEND_...
2.078125
2
2024-11-19T01:57:21.950313+00:00
2021-09-14T01:06:12
e68efe5a66976aa46d52f601458cc059d65b5d49
{ "blob_id": "e68efe5a66976aa46d52f601458cc059d65b5d49", "branch_name": "refs/heads/main", "committer_date": "2021-09-14T01:06:12", "content_id": "22ddfe7e3c7cb157a79c65fba4652e911f717dd9", "detected_licenses": [ "MIT" ], "directory_id": "a68ba3fc0eb86b0ea1fa21152ba253eeee06b63e", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> /* Apresentar os múltiplos de 10 entre 1000 e 0 (ordem decrescente). Mostrar os valores separados por uma marca de tabulação e em colunas com 8 números por linha. */ int main (void) { int Cont,Qtd=0; char Continuar; do { system("cls"); for(Cont=10...
3.5625
4
2024-11-19T01:57:22.609525+00:00
2021-07-18T09:39:47
cc0832128d1408a7c7de1f293677487d8f457485
{ "blob_id": "cc0832128d1408a7c7de1f293677487d8f457485", "branch_name": "refs/heads/master", "committer_date": "2021-07-18T09:39:47", "content_id": "ae98ac35bdb56ff28df883eb1cd9917bd4be28b2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7a2a92de0b46c00f4ecbbfb7bed5e798a94d38cb", "extensio...
stackv2
/************************************************ * @addtogroup CITS * @{ * @file : tcpserver.c * @brief : * @author: wangshaobo * @email : wangshaobo@nebula-link.com * @date : 2019-05-10 10:43:51 ************************************************/ //----------------------------------------------- // Copyright...
2.296875
2
2024-11-19T01:57:22.848089+00:00
2015-10-24T17:24:37
eaa45de0676504c4905222373bc67f7318417ebe
{ "blob_id": "eaa45de0676504c4905222373bc67f7318417ebe", "branch_name": "refs/heads/master", "committer_date": "2015-10-24T17:24:37", "content_id": "152ad121cc110711785f429a93c4aa14a96644a3", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "2a102c0cd76455792dbd3df1b44e195501bf107d", "extens...
stackv2
/** \file \author Shauerman Alexander <shamrel@yandex.ru> www.labfor.ru \brief LESO6 LabVIEW измерение температуры. \details Программа для демонстрации работы LabVIEW с учебным стендом. По команде возвращает значение температуры с датчика DS18B20. Команда -- произвольный байт. \version 0.1 \date 26.04.2015 ...
2.90625
3
2024-11-19T01:57:23.074745+00:00
2020-10-08T13:31:06
8cf52216966c220127954fb0e7e0db714900da69
{ "blob_id": "8cf52216966c220127954fb0e7e0db714900da69", "branch_name": "refs/heads/master", "committer_date": "2020-10-08T13:31:06", "content_id": "8129478e55b096103af0c8aa2f0a826966e762aa", "detected_licenses": [ "MIT" ], "directory_id": "23d97112f678d45158e332a63dbb6cf6d623fd8d", "extension": "c"...
stackv2
/** * The MIT License * * Copyright (c) 2020 Ilwoong Jeong (https://github.com/ilwoong) * * 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 limita...
2
2
2024-11-19T01:57:23.209691+00:00
2013-07-16T09:01:09
de5c1000bae0a948f0a50db1e46aa371b6126f92
{ "blob_id": "de5c1000bae0a948f0a50db1e46aa371b6126f92", "branch_name": "refs/heads/master", "committer_date": "2013-07-16T09:01:09", "content_id": "4195e566db5fdedd286b4303b288ad520dbd1f32", "detected_licenses": [ "MIT" ], "directory_id": "9d23d76312ef02e8b9df3ad4929a8575639022c5", "extension": "h"...
stackv2
/******************************************************************************/ /* This structure is an element in the binary tree of automaton states. It is */ /* initialised using init_binary_tree_element before it can be used. */ /****************************************************************************...
2.046875
2
2024-11-19T01:57:23.314680+00:00
2017-11-25T17:33:10
a4011d0b9b07038d5f9dff0afddaa6c86eedf56b
{ "blob_id": "a4011d0b9b07038d5f9dff0afddaa6c86eedf56b", "branch_name": "refs/heads/master", "committer_date": "2017-11-25T17:33:10", "content_id": "83d77bbc7f5d81138253341905b71a4d01d49209", "detected_licenses": [ "MIT" ], "directory_id": "112f8f7b581006738e059b406be98deb9bdf64b4", "extension": "c"...
stackv2
/* * square-waves.c : compose a sine wave out of square waves. * * the results of this program can be plotted using the gnuplot command: * * plot "gnuplot.dat" , "sinplot.dat" * * Written by Shlomi Fish, 2007. * * Licensed under the MIT X11 license. * * Compile with: * gcc -o square-waves -Wall square-...
2.875
3
2024-11-19T01:57:24.517554+00:00
2017-04-18T16:40:56
8cc6a10d64a72e2fe5cda12511876aa0b8f7cdf2
{ "blob_id": "8cc6a10d64a72e2fe5cda12511876aa0b8f7cdf2", "branch_name": "refs/heads/master", "committer_date": "2017-04-18T16:40:56", "content_id": "e6e10fbc08ac34ce2dedf87bdfea68c210f6de57", "detected_licenses": [ "Apache-2.0" ], "directory_id": "850728a5fb91d52902cf6e019797d5ecde894cd8", "extensio...
stackv2
/** * erm_time.h * * Dave Taht * 2017-03-20 */ #ifndef ERM_TIME_H #define ERM_TIME_H // Erm time is collected as the number of usec since the build date - a year // (for wrap) in 124 bit values. (or 60 bit) There are 3.154e+13 us in a year. // it is generational (so it can be adjusted forward or backwards) // s...
2.0625
2
2024-11-19T01:57:24.618514+00:00
2021-06-29T16:35:44
6d18f9ab4f5d168ec3299f2a75540fdb91c50b8d
{ "blob_id": "6d18f9ab4f5d168ec3299f2a75540fdb91c50b8d", "branch_name": "refs/heads/main", "committer_date": "2021-06-29T16:35:44", "content_id": "b193517a47e92478ca0e71338a08bb1079e87b8d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fc7d5b988d885bd3a5ca89296a04aa900e23c497", "extension"...
stackv2
/* * Copyright (c) 2013-2018, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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...
2.265625
2
2024-11-19T01:57:24.929915+00:00
2015-09-30T18:12:49
133ce38bb61ac94b801d562660f5adb325e1946d
{ "blob_id": "133ce38bb61ac94b801d562660f5adb325e1946d", "branch_name": "refs/heads/master", "committer_date": "2015-09-30T18:12:49", "content_id": "5139d2f8901ed87ac91a5ba946439195b3b62e96", "detected_licenses": [ "Unlicense" ], "directory_id": "1d201504615b58da4b39e660a9afdaa547e7c2dd", "extension...
stackv2
// #include <stdio.h> nu facem nicio operatiune io #include <stdlib.h> int main(void) { int number; int divisor; /* ** One and two are easy */ printf("1\n2\n"); /* ** No other numbers are prime. ** Look at the remaining odd ones. ** (the even obviously are divided by 2) */ for(number = 3; number <= 100;...
3.796875
4
2024-11-19T01:57:25.202020+00:00
2020-07-27T13:32:51
c6d26098b4cc428fd97b827ca04d34f177e3e0b2
{ "blob_id": "c6d26098b4cc428fd97b827ca04d34f177e3e0b2", "branch_name": "refs/heads/master", "committer_date": "2020-07-27T13:32:51", "content_id": "cd8a3afb6c1f3c330d8cf2c4bccb3e5edf3fc622", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d9dc8b1c8a7f8647f19b41b67c67db32762f0c4f", "extensio...
stackv2
/****************************************************************************//*! * * @file timer.c * * @version 1.0.0.0 * * @date September-2017 * * @brief PCC routines * *******************************************************************************/ /*****************************************************...
2.171875
2
2024-11-19T01:57:25.429693+00:00
2020-10-15T03:49:25
fca2fb2182bc2735a405f380e69ab4ab08e71af4
{ "blob_id": "fca2fb2182bc2735a405f380e69ab4ab08e71af4", "branch_name": "refs/heads/master", "committer_date": "2020-10-15T03:49:25", "content_id": "7511068ff36c78326cf19f9fba7f5a0145942ba9", "detected_licenses": [ "MIT" ], "directory_id": "66042ff20668a70b1bc5ac68dffd70dc06d635fa", "extension": "c"...
stackv2
#include "lists.h" #include <stdlib.h> /** * is_palindrome - checks if a singly linked list is a palindrome. * @head: pointer to head of list * Return: 0 if it is not a palindrome, 1 if it is a palindrome. * * Description: checks if a singly linked list is a palindrome. */ int is_palindrome(listint_t **head) { ...
3.453125
3