added
stringdate
2024-11-18 17:54:19
2024-11-19 03:39:31
created
timestamp[s]date
1970-01-01 00:04:39
2023-09-06 04:41:57
id
stringlengths
40
40
metadata
dict
source
stringclasses
1 value
text
stringlengths
13
8.04M
score
float64
2
4.78
int_score
int64
2
5
2024-11-18T22:29:40.550710+00:00
2020-03-02T17:52:49
a8fbc6b935b9b2d74c50efa057c159129fe05d63
{ "blob_id": "a8fbc6b935b9b2d74c50efa057c159129fe05d63", "branch_name": "refs/heads/master", "committer_date": "2020-03-02T17:52:49", "content_id": "8eb14528f7a868daa08295fe304e238343b7285c", "detected_licenses": [ "MIT" ], "directory_id": "9fe3d387dee244c24045de62aa5ca88107952aeb", "extension": "h"...
stackv2
/** * Author......: See docs/credits.txt * License.....: MIT */ #ifndef _BITOPS_H #define _BITOPS_H u32 rotl32 (const u32 a, const int n); u32 rotr32 (const u32 a, const int n); u64 rotl64 (const u64 a, const int n); u64 rotr64 (const u64 a, const int n); u16 byte_swap_16 (const u16 n); u32 byte_swap_32 (co...
2.09375
2
2024-11-18T22:29:40.623249+00:00
2014-12-28T02:57:39
4f3dd31fda8e3ffdd9b205a35c520f0308bf1f86
{ "blob_id": "4f3dd31fda8e3ffdd9b205a35c520f0308bf1f86", "branch_name": "refs/heads/master", "committer_date": "2014-12-28T02:57:39", "content_id": "7c40a76c686ac9c9c193b39477c1f8cbce9ad817", "detected_licenses": [ "ISC" ], "directory_id": "6967cac81f3c3d24ba26eaa80e97bf6da996bc8e", "extension": "c"...
stackv2
/* * Copyright (c) 2013, Ryan Lucchese <ryan.lucchese@write-c.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVID...
2.390625
2
2024-11-18T22:29:40.802126+00:00
2015-01-09T05:36:18
818b767d7ef7930f631a297c37378c4e42364670
{ "blob_id": "818b767d7ef7930f631a297c37378c4e42364670", "branch_name": "HEAD", "committer_date": "2015-01-22T11:24:32", "content_id": "cbb1fd9ab93ba7ddf824d00d7f3cdb5b56fe26ce", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a0fc7c8a816458e00b84e7a715cf5a7d0feeacfb", "extension": "c", ...
stackv2
/* Copyright (c) 2013 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. * * Battery LED state machine to drive RGB LED on LP5562 */ #include "battery.h" #include "battery_smart.h" #include "common.h" #include "driver...
2.234375
2
2024-11-18T22:29:41.125167+00:00
2017-04-20T10:17:49
a3f5e5be5b8441e00eadff84e67d9843a7c300b9
{ "blob_id": "a3f5e5be5b8441e00eadff84e67d9843a7c300b9", "branch_name": "refs/heads/master", "committer_date": "2017-04-20T10:17:49", "content_id": "ad3bd3a583d10a958f4f030b2d69eff75ce69b9a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ebd585fdafb22d31fcd6d04b209f81e88d1a2083", "extensio...
stackv2
#include "DalRPM_NextAwake.h" #include "DDIInterruptController.h" #include "CoreVerify.h" #include "RPMFWInterruptMap.h" #include "RPMMessageRAM.h" #include "RPMUtil.h" static RPMDrvCtxt *next_awake_drv; static void *next_awake_polling_ctxt; static DAL_rpm_ChangeReqType next_awake_...
2.296875
2
2024-11-18T22:29:41.670407+00:00
2019-04-27T20:06:23
0582c658c8ad4afccc70b82929ec98dee05cb7b9
{ "blob_id": "0582c658c8ad4afccc70b82929ec98dee05cb7b9", "branch_name": "refs/heads/master", "committer_date": "2019-04-27T20:06:23", "content_id": "a86d18e4e3e6abfaa7101fb757e3a5617b96b01c", "detected_licenses": [ "CC0-1.0" ], "directory_id": "16b6714ae934a1cd6c36f830ddb46513a38df285", "extension":...
stackv2
// fh2blind: convert farbherd to blind. // See https://tools.suckless.org/blind/ // // License: // farbherd - animation format & tools, designed to be similar to farbfeld. // Written in 2018 by 20kdc <asdd2808@gmail.com>, vifino <vifino@tty.sh> and contributors. // // To the extent possible under law, the author(s) hav...
2.375
2
2024-11-18T22:29:42.033741+00:00
2018-02-11T22:58:58
d5f5b9b7fe6a7d3bfc9c05164414b65a139d298c
{ "blob_id": "d5f5b9b7fe6a7d3bfc9c05164414b65a139d298c", "branch_name": "refs/heads/master", "committer_date": "2018-02-11T22:58:58", "content_id": "908af30aa2ca6daa389047c2a0dbbfa76beecfc5", "detected_licenses": [ "MIT" ], "directory_id": "d52d3c115240dc27125011b7f510f77a8fc0706b", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* printf_gen_utils.c :+: :+: :+: ...
2.921875
3
2024-11-18T22:29:46.047532+00:00
2021-10-22T16:36:57
6072c318ef65e73f63623b3c3daafcf7ab2bf0df
{ "blob_id": "6072c318ef65e73f63623b3c3daafcf7ab2bf0df", "branch_name": "refs/heads/master", "committer_date": "2021-10-22T16:36:57", "content_id": "10e2a0216db062aa413ce1968e1fd4742025d28d", "detected_licenses": [ "MIT" ], "directory_id": "0cfa1abd1c6864092c9bfcd1192b238e4c99e07f", "extension": "c"...
stackv2
// GameBoyEmu.c : Defines the entry point for the console application. // #include "GameBoyEmu.h" #include "CPU.h" #include "RAM.h" #include "RomMapper.h" #include "Interrupt.h" #include "Opcodes.h" #include "IO.h" #include <unistd.h> #include <errno.h> #include "Tools.h" static int run(shared_Thread_Blocks* threa...
2.265625
2
2024-11-18T22:29:46.183235+00:00
2023-04-02T01:47:37
7810168d342ab8f303f2029ac6e7ccdc03b1da2f
{ "blob_id": "7810168d342ab8f303f2029ac6e7ccdc03b1da2f", "branch_name": "refs/heads/master", "committer_date": "2023-04-02T01:47:37", "content_id": "24ededfe4978bb2fd4b7fa78355e874c308befb4", "detected_licenses": [ "MIT" ], "directory_id": "2dce4a1b16852f94eba2a7a1fb9237574ec6c45e", "extension": "h"...
stackv2
#ifndef raven_vm_h #define raven_vm_h #include "common.h" #include "chunk.h" #include "mem.h" #include "table.h" #include "value.h" typedef struct { RavClosure *closure; uint8_t *ip; Value *slots; } CallFrame; // Virtual Machine Image typedef struct { Allocator allocator; const char *path; // Nam...
2.15625
2
2024-11-18T22:29:46.844235+00:00
2018-07-05T02:07:09
83c362036a713c7c7c73418449e66942de372223
{ "blob_id": "83c362036a713c7c7c73418449e66942de372223", "branch_name": "refs/heads/master", "committer_date": "2018-07-05T02:07:09", "content_id": "bd77fccc72f24d82e6c81bc4ece365d456cf6396", "detected_licenses": [ "BSD-4-Clause-UC" ], "directory_id": "f0b77804562aac41a022c1c4188367b15dc39d79", "ext...
stackv2
/* * DaleMUD v2.0 Released 2/1994 See license.doc for distribution terms. * DaleMUD is based on DIKUMUD */ #include "config.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <time.h> #include <stdlib.h> #include "protos.h" /* * external stuff */ extern struct index_data *mob_index; extern...
2.1875
2
2024-11-18T22:29:47.242161+00:00
2023-09-02T03:49:13
385eb3beb0456d0ce7341977e79430d7f8b7d4a4
{ "blob_id": "385eb3beb0456d0ce7341977e79430d7f8b7d4a4", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T03:50:18", "content_id": "5ba62d4e1c305e0c973f417771c02e592d5529c8", "detected_licenses": [ "ISC" ], "directory_id": "fdbb74a95924e2677466614f6ab6e2bb13b2a95a", "extension": "c"...
stackv2
/* clang-format off */ /* ===-- fixunsxfti.c - Implement __fixunsxfti -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------------...
2.40625
2
2024-11-18T22:29:47.348010+00:00
2018-07-18T10:22:40
f5e6674be39feb7b5e6e8d97096c3111b70875e7
{ "blob_id": "f5e6674be39feb7b5e6e8d97096c3111b70875e7", "branch_name": "refs/heads/master", "committer_date": "2018-07-18T10:22:40", "content_id": "891cdc20ccc9629cb1e1cb99d362796ffc51fef0", "detected_licenses": [ "Unlicense" ], "directory_id": "93a729f14bc9fa732bcbea5f6c7b1826eef97b9d", "extension...
stackv2
/******************************************************************************* * File Name: LED5.h * Version 2.20 * * Description: * This file contains Pin function prototypes and register defines * ******************************************************************************** * Copyright 2008-2015, Cypress Semi...
2.125
2
2024-11-18T22:29:47.622554+00:00
2019-05-07T21:01:24
43a057ec9cb5da6207beb3f7ec2f7ae0faea6434
{ "blob_id": "43a057ec9cb5da6207beb3f7ec2f7ae0faea6434", "branch_name": "refs/heads/master", "committer_date": "2019-05-07T21:01:24", "content_id": "0a9328df5c7f5b2378861aa4f438062eaaf60322", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8b0231925099f101f21b12df18d1b3c42097343f", "extens...
stackv2
#include <jni.h> #include <stdlib.h> #include <string.h> #include <vulkan/vulkan.h> jlong jniPointerToLong(const void* p); void* jniLongToPointer(jlong l); jlong jniFunctionPointerToLong(PFN_vkVoidFunction p); PFN_vkVoidFunction jniLongToFunctionPointer(jlong l); void jniThrowException(JNIEnv* env, const char* message...
2.125
2
2024-11-18T22:29:48.121497+00:00
2015-01-15T11:39:14
b4d820ec63561ace15535cfa7a60bae62996521e
{ "blob_id": "b4d820ec63561ace15535cfa7a60bae62996521e", "branch_name": "refs/heads/master", "committer_date": "2015-01-15T11:39:14", "content_id": "f656586ac8ae4363602c91d61f32507951c9268d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7c6fce2cf48c36841130499e8f5aced4464671d9", "extens...
stackv2
#include "timer.h" #include "memorymap.h" void Timer_Enable(TimerId timer, bool on) { uint32_t mask = SYSCON_SYSAHBCLKCTRL_CT16B0 << timer; if (on) SYSCON->SYSAHBCLKCTRL |= mask; else SYSCON->SYSAHBCLKCTRL &= ~mask; } uint32_t Timer_GetValue(TimerId timer) { return TIMER[timer].TC; } void Timer_SetPrescale(Time...
2.609375
3
2024-11-18T22:29:48.175639+00:00
2020-08-30T10:48:07
3d955c1353d498d1a7fd6bcb2188b809bf57fc44
{ "blob_id": "3d955c1353d498d1a7fd6bcb2188b809bf57fc44", "branch_name": "refs/heads/master", "committer_date": "2020-08-30T10:48:07", "content_id": "05675c09807d542df89b72eb140e22dd9ce9c4a3", "detected_licenses": [ "MIT" ], "directory_id": "e1be8d1326bc8b08a602d45f6b8b6dc84790ad84", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_atoi.c :+: :+: :+: ...
2.796875
3
2024-11-18T22:29:49.104447+00:00
2019-01-23T20:32:33
58197df069fc10228a57404914f0ef3f7247e1d5
{ "blob_id": "58197df069fc10228a57404914f0ef3f7247e1d5", "branch_name": "refs/heads/master", "committer_date": "2019-01-23T20:32:33", "content_id": "b7b117e7d865e65a46e3ab745652790b9fba7351", "detected_licenses": [ "MIT" ], "directory_id": "ed864dd305de49ce773766d9d1371380b4286f83", "extension": "c"...
stackv2
/* * blinkyDemo.c * * Created on: 14 dec. 2018 * Author: maxso */ #include "xbee.h" #include <string.h> #include "main.h" #include "stm32f0xx_hal.h" #include "cmsis_os.h" /* * Light endpoint handler. */ int lightEndpoint(const wpan_envelope_t *envelope, struct wpan_ep_state_t *ep_state) { const lightSta...
2.53125
3
2024-11-18T22:29:49.436541+00:00
2023-08-30T04:20:48
be02eed0bd3e5acbeb44366dad6ccf19bdcaa23e
{ "blob_id": "be02eed0bd3e5acbeb44366dad6ccf19bdcaa23e", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T04:20:48", "content_id": "944ff2e35f990f34a265127c8fe7f54b093fc0d1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ec6a71b57ebe88538269197fd16bede6bc2062ae", "extensio...
stackv2
/* * %CopyrightBegin% * * Copyright Ericsson AB 2009-2016. 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 * * http://www.apache.org/licenses/LICENSE-2.0 ...
2.25
2
2024-11-18T22:29:49.709350+00:00
2018-06-08T22:43:49
1ee87199c40437a72741855c4c4f6e25eca5a630
{ "blob_id": "1ee87199c40437a72741855c4c4f6e25eca5a630", "branch_name": "refs/heads/master", "committer_date": "2018-06-08T22:43:49", "content_id": "90ad9ed123a05f1484f430dbe6c3f9e04cc79741", "detected_licenses": [ "MIT" ], "directory_id": "cb3fe2aa64cb24d0ced9adea6242671c075992b8", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdarg.h> #include <stdint.h> #include <lib/syscall/syscall.h> #include <lib/kernel/proc/Scheduler.h> #include <sys/cdefs.h> #include <platform/kprintf.h> #include "interrupts.h" long int syscall(long int number, ...) { // NOTE: apparently the vaargs things needs a real stack frame to...
2.109375
2
2024-11-18T22:29:49.836089+00:00
2019-05-21T07:51:40
c25e62821247e3867e2446cc95cc43105d351038
{ "blob_id": "c25e62821247e3867e2446cc95cc43105d351038", "branch_name": "refs/heads/master", "committer_date": "2019-05-21T07:51:40", "content_id": "e009d83e047512cc35369d9f8a72d141eba03e49", "detected_licenses": [ "Unlicense" ], "directory_id": "1875135984fbb182df09fa33a6e215d6c845bba0", "extension...
stackv2
#include <stdio.h> #include <unistd.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <errno.h> #include <fcntl.h> #include <string.h> #include <stdlib.h> int main() { char *wyraz = "Ala"; char * filePath = "pom.txt"; int fd; //wyraz = "Ala"; //filePath = "pom.txt"; int fileSize; st...
2.765625
3
2024-11-18T22:29:50.798630+00:00
2020-02-29T14:21:29
863144382b7d191660a85bfa3c6bcedc9e41c406
{ "blob_id": "863144382b7d191660a85bfa3c6bcedc9e41c406", "branch_name": "refs/heads/master", "committer_date": "2020-02-29T14:21:29", "content_id": "679d86c59d1722bdcfa033e2ce32bf790f206b75", "detected_licenses": [ "Apache-2.0" ], "directory_id": "18099f4fc52af8a66a1b2756fad0931b8fbe2f74", "extensio...
stackv2
/* Copyright (c) 2008 - Chris Buckley. Permission is granted for use and modification of this file for research, non-commercial purposes. */ #include "common.h" #include "sysfunc.h" #include "trec_eval.h" #include "functions.h" #include "trec_format.h" static int te_calc_Rprec (const EPI *epi, const REL...
2.125
2
2024-11-18T22:29:51.427625+00:00
2022-03-29T10:26:43
b8adbd35d7c3b2d69f2db4b754d650663fd87918
{ "blob_id": "b8adbd35d7c3b2d69f2db4b754d650663fd87918", "branch_name": "refs/heads/master", "committer_date": "2022-03-29T10:26:43", "content_id": "e562d5f0077d40f85e52b659e4d412df0c50c0a9", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6e05f550082a84211f00f903daae0b080bd059f4", "extensio...
stackv2
#include <errno.h> #include <fcntl.h> #include <stdbool.h> #include <string.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> #include <unistd.h> static inline int unixkit_unix_listen_posix(const char *path, mode_t mode) { struct sockaddr_un address = { .sun_family = AF_UNIX }; if (strlen(pa...
2.625
3
2024-11-18T22:29:51.720451+00:00
2013-06-30T09:37:57
b4e1c8277940be2417470108588d618c895f9309
{ "blob_id": "b4e1c8277940be2417470108588d618c895f9309", "branch_name": "refs/heads/master", "committer_date": "2013-06-30T09:37:57", "content_id": "98b1c56e5201df34d4d7d2412946ec3193788dbb", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "71c06109d2ee7b51b785dee62eb06ac2a2f9e2c1", "extens...
stackv2
typedef struct js_Array { void *value; int length; struct js_Array (*concat)(struct js_Array,...); int (*indexOf)(char*); char* (*join)(char*); int (*lastIndexOf)(char*); char* (*pop)(); int (*push)(char*); void (*reverse)(); char* (*shift)(); struct js_Array (*slice)(int,int); void (*sort)(); void (*splic...
2.125
2
2024-11-18T22:29:51.785350+00:00
2020-11-23T12:46:00
e9b46969155cbb841fae64356d40b5561af80b0e
{ "blob_id": "e9b46969155cbb841fae64356d40b5561af80b0e", "branch_name": "refs/heads/main", "committer_date": "2020-11-23T12:46:00", "content_id": "82a7db76b4142185e2c87ab1859c54b72b60375d", "detected_licenses": [ "MIT" ], "directory_id": "43f0e84463c8a7b8c882cea29a139325374f2f7d", "extension": "c", ...
stackv2
// // Created by Damiano on 28/08/2020. // #include <stdio.h> #include <malloc.h> #include <stdlib.h> #include "stack.h" #include "tools.h" /** * Permette di creare un nuovo nodo per lo Stack. Nel caso di errori durante l'allocazione, * il programma termina, stampando l'errore. * @param e l'elemento da inserire nel ...
3.703125
4
2024-11-18T22:29:52.110531+00:00
2020-06-22T02:23:55
82b3f35a7d902cc63b68fc7de3b66e00e90ae848
{ "blob_id": "82b3f35a7d902cc63b68fc7de3b66e00e90ae848", "branch_name": "refs/heads/master", "committer_date": "2020-06-22T02:23:55", "content_id": "8b4496258fe85c7db826c10d2cecd8f50f3e1810", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "82e4a3db388f63ba3162d9c6a5a99eb4a66964f7", "extens...
stackv2
#include <keyboard.h> #include <stdint.h> #include <lib.h> #include "screenManager.h" #include "programManager.h" #define BUFFERSIZE 20 extern char keyPressed(); extern int getKey(); char asccode[58][2] ={ {0,0}, {0,0}, {'1', '!'}, {'2', '@'}, {'3', '#'},{'4', '$'},{'5','%'},{'6','&'},{'7','/'},{'8','('},{'9',')'},{'0...
2.34375
2
2024-11-18T22:29:52.217259+00:00
2015-09-04T23:21:56
beab76c1553d8e47696cf05f77d7f1b6ea611e61
{ "blob_id": "beab76c1553d8e47696cf05f77d7f1b6ea611e61", "branch_name": "refs/heads/master", "committer_date": "2015-09-04T23:21:56", "content_id": "a2c681dc21ee8baa81417aab1ae0921129753d39", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "6b98595f04edf96d316415b090fe6258...
stackv2
/// \file gen_spintrace_coul.c /// \brief Trace out spin from 2-particle Coulomb operator for '2*spatialorbs' orbitals including spin, /// i.e. the orbitals are (1 up, 1 down, 2 up, 2 down,...) with spatial orbitals 1, 2,...; Matlab 'mex' function. // // Copyright (c) 2008-2015, Christian B. Mendl // All rights reserve...
2.5625
3
2024-11-18T22:29:52.719300+00:00
2021-06-09T02:15:49
73e3fd35b6c000ab903ccd9943a7a095457625f3
{ "blob_id": "73e3fd35b6c000ab903ccd9943a7a095457625f3", "branch_name": "refs/heads/master", "committer_date": "2021-06-09T02:15:49", "content_id": "ebbae334944d967c80e8e9014cd1f847e3d1c150", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ecbdee92072bf7b377a099ec19d35bbe0f0b4946", "extensio...
stackv2
/* * @Author: your name * @Date: 2020-09-23 16:04:41 * @LastEditTime: 2020-11-24 14:29:34 * @LastEditors: Saber * @Description: In User Settings Edit * @FilePath: \Ocm_demo\Driver\inc\led.h */ /* * led.h * * Created on: 2020年9月23日 * Author: Administrator */ #ifndef LED_H_ #define LED_H_ #include "stm...
2.296875
2
2024-11-18T22:29:53.320591+00:00
2019-01-28T16:22:58
a55ebaba5351d42ff273b9f87c06de403338b4ad
{ "blob_id": "a55ebaba5351d42ff273b9f87c06de403338b4ad", "branch_name": "refs/heads/master", "committer_date": "2019-01-28T16:22:58", "content_id": "780e73efcf2fb684bf7329b056a20150de6e533c", "detected_licenses": [ "MIT" ], "directory_id": "b59454c225266ee201aaea64391e792ab87081c0", "extension": "c"...
stackv2
#include <stdio.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <pthread.h> pthread_t tid[3]; void* thread_fun(void *); int main() { int i=0, err; while(i < 4) { err = pthread_create(&tid[i], NULL, &thread_fun, NULL); if(err != 0) printf("\nThread can't create thre...
3.21875
3
2024-11-18T22:29:54.245500+00:00
2020-08-24T05:53:33
067bd4450383f9c7f238be89097f08f378bc85fa
{ "blob_id": "067bd4450383f9c7f238be89097f08f378bc85fa", "branch_name": "refs/heads/master", "committer_date": "2020-08-24T05:53:33", "content_id": "ffe72583a40d7b08979d532d565f6be2a3c120c1", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "77ecfb683e92b1c6b4e98656c8928536060894d7", "extens...
stackv2
/* module : frename.c version : 1.9 date : 03/28/20 */ #ifndef FRENAME_C #define FRENAME_C /** frename : P1 P2 -> B The file system object with pathname P1 is renamed to P2. B is a boolean indicating success or failure. */ PRIVATE void do_frename(void) { #ifndef OLD_RUNTIME COMPILE; #endif ...
2.078125
2
2024-11-18T22:29:54.317492+00:00
2021-03-24T16:43:30
be494fdf2b878a38c84c768321fbfcb5399db706
{ "blob_id": "be494fdf2b878a38c84c768321fbfcb5399db706", "branch_name": "refs/heads/master", "committer_date": "2021-03-24T16:43:30", "content_id": "5d7069874eaeb47078451d2158920227b1389705", "detected_licenses": [ "MIT" ], "directory_id": "c304eba343baa45f373fece59eeeb963a295aa61", "extension": "c"...
stackv2
#include <lib9.h> #include <kernel.h> #include "image.h" #include "tk.h" #define O(t, e) ((long)(&((t*)0)->e)) /* Rectangle Options (+ means implemented) +fill +outline +stipple +tags +width */ typedef struct TkCrect TkCrect; struct TkCrect { int width; Image* stipple; Image* pen; }; static TkOption rectop...
2.25
2
2024-11-18T22:29:54.513830+00:00
2021-12-03T07:02:29
1f0d8bf6665fc6494561b40baa0344953daf89ae
{ "blob_id": "1f0d8bf6665fc6494561b40baa0344953daf89ae", "branch_name": "refs/heads/master", "committer_date": "2021-12-03T07:02:29", "content_id": "63bdf3e23d94b243334e2951c16735d29c52adb1", "detected_licenses": [ "ISC" ], "directory_id": "35916bf2a7418b31886e2af1f381ad3dac9ad0b6", "extension": "c"...
stackv2
#ifdef HAVE_CONFIG_H #include <config.h> #endif /* HAVE_CONFIG_H */ #include "types.h" void kmercode2string(char *buffer, Uint code, Uint numofchars, Uint kmersize, const char *characters) { Sint i; Uint cc, tmpcode = code; buf...
2.34375
2
2024-11-18T22:29:55.281382+00:00
2021-11-19T08:37:29
b11c4c317dd05ed63bfbcd9162e56a6bdfe7d531
{ "blob_id": "b11c4c317dd05ed63bfbcd9162e56a6bdfe7d531", "branch_name": "refs/heads/master", "committer_date": "2022-05-06T18:18:38", "content_id": "d21e1707cbab7988869cc7a1145fbf1bc64938b3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "badd8fa806491c7422185291379683057b320f9a", "extensio...
stackv2
/* * Copyright (c) 2019 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #ifndef LOG_FRONTEND_H_ #define LOG_FRONTEND_H_ #include <zephyr/logging/log_core.h> /** @brief Initialize frontend. */ void log_frontend_init(void); /** @brief Standard log with no arguments. * * @param str String. ...
2.046875
2
2024-11-18T22:29:55.679515+00:00
2018-03-12T20:57:07
3ab231b4b0e2681a9fe285225808bf4714cb492d
{ "blob_id": "3ab231b4b0e2681a9fe285225808bf4714cb492d", "branch_name": "refs/heads/master", "committer_date": "2018-03-12T20:57:07", "content_id": "4d2187b9e849115e54a578161a5370f8ccdf8699", "detected_licenses": [ "MIT" ], "directory_id": "6ebdfd6f5e6658c34914f4bc4bfa9ea51c325c13", "extension": "c"...
stackv2
#include <stdio.h> #include <windows.h> // Define bool typedef int bool; #define true 1 #define false 0 #define COLOR_GREEN(txt) "\033[92m"txt"\033[0m" #define COLOR_YELLOW(txt) "\033[93m"txt"\033[0m" #define COLOR_RED(txt) "\033[31m"txt"\033[0m" const char *_version = "0.0.4"; const char *_banner = " __________.__...
2.640625
3
2024-11-18T22:29:55.730300+00:00
2017-12-14T03:13:06
02cefcbe300a25da16806883cdb15f4f2b11be23
{ "blob_id": "02cefcbe300a25da16806883cdb15f4f2b11be23", "branch_name": "refs/heads/master", "committer_date": "2017-12-14T03:13:06", "content_id": "d6666240a3bd103c9d58a100812511b366e5a344", "detected_licenses": [ "MIT" ], "directory_id": "1924644bc1c87e947544b6a930b15d1ddc00be57", "extension": "c"...
stackv2
/*a program on conditional operator*/ #include <stdio.h> int main(){ char February; int days; printf("If this year is leap year, enter 1. If not enter any integer: "); scanf("%c",&February); days = (February == '1') ? 29 : 28; printf("Number of days in February = %d",days); return 0; }
3.4375
3
2024-11-18T22:29:56.090808+00:00
2021-04-30T15:44:44
c9f7b8daf5f2198be840335057258cb63fb9af15
{ "blob_id": "c9f7b8daf5f2198be840335057258cb63fb9af15", "branch_name": "refs/heads/main", "committer_date": "2021-04-30T15:44:44", "content_id": "3c2c8bca704b27d60800367f32845c2c45027731", "detected_licenses": [ "MIT" ], "directory_id": "15fff68626c673bf0cc148a3bd111eb9d432b120", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <unistd.h> int main() { // message that the client will send to the server char client_message[256] = "Hello from some remote!"; // create a socket int network_socket; network_soc...
3.0625
3
2024-11-18T22:29:56.297156+00:00
2021-10-05T13:17:34
08baa00563ecfae403af47b942f91b879fc5701f
{ "blob_id": "08baa00563ecfae403af47b942f91b879fc5701f", "branch_name": "refs/heads/master", "committer_date": "2021-10-05T13:17:34", "content_id": "6d4aa49daa30012627c933533f7b424695b97e9c", "detected_licenses": [ "MIT" ], "directory_id": "5ce0bd707e016407f75971f40fc70d8ff1525649", "extension": "c"...
stackv2
/* Thread is a single sequence stream within a process. Its basically a lightweight process. pthread is the library in C used for Multithreading. Compile the program using the command gcc clock_thread.c -lpthread ./a.out */ #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include...
3.546875
4
2024-11-18T22:29:56.387586+00:00
2019-04-07T03:30:49
7b1aa72cc285b315a48779f74937bb565943bb9f
{ "blob_id": "7b1aa72cc285b315a48779f74937bb565943bb9f", "branch_name": "refs/heads/master", "committer_date": "2019-04-07T03:30:49", "content_id": "604aefd8fe5d5f75430b20a956d1e4ae4c9e82b4", "detected_licenses": [ "MIT" ], "directory_id": "d20c4041c705043235d4e5d21fabcda0090c0708", "extension": "h"...
stackv2
/* * bmp.h * * Created on: Dec 13, 2018 * Author: Bernard */ #ifndef BMP_H_ #define BMP_H_ #include <stdint.h> #define INT8_T_MASK 0xFF #define INT16_T_MASK 0xFFFF #define INT32_t_MASK 0xFFFFFFFF struct __d_bmp_header{ uint16_t BM;/* ID */ uint32_t size;/* size of bmp */ uint16_t reserved0;/* reserved...
2.34375
2
2024-11-18T22:29:56.557201+00:00
2023-02-16T11:27:40
89723650022d9dddc891ec651cb4148780489301
{ "blob_id": "89723650022d9dddc891ec651cb4148780489301", "branch_name": "refs/heads/main", "committer_date": "2023-02-16T14:59:16", "content_id": "5a598287393a6fde0a05f9b694ad3cb7409a310c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e8302c75d770d1608b317d6af5c483bbad6c0493", "extension"...
stackv2
/* * Copyright (c) 2020 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(net_gptp_sample); #include <zephyr/kernel.h> #include <errno.h> #include <stdlib.h> #include <zephyr/net/net_core.h> #include <zephyr/net/gptp.h> #include "ethernet/gptp/gptp_...
2.546875
3
2024-11-18T22:29:57.135811+00:00
2023-09-01T08:20:15
aeefcff34b9de945804bf021d51d5e1e188fb2f0
{ "blob_id": "aeefcff34b9de945804bf021d51d5e1e188fb2f0", "branch_name": "refs/heads/master", "committer_date": "2023-09-01T08:21:05", "content_id": "190daf67c3b9be9426da04b7b515cd339363d24f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "820b6af9fd43b270749224bb278e5f714f655ac9", "extens...
stackv2
/* * Copyright(C) 1999-2020 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * See packages/seacas/LICENSE for details */ /***************************************************...
2.3125
2
2024-11-18T22:29:57.261113+00:00
2023-08-12T07:52:03
4cfd6b23bb0880432b8388272f1568f696a25b52
{ "blob_id": "4cfd6b23bb0880432b8388272f1568f696a25b52", "branch_name": "refs/heads/master", "committer_date": "2023-08-12T13:24:08", "content_id": "498cfab989b0a0cfe2e5e567c8510375b3a9f57a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "1a0276218c8a103c9a76409e510df5b5690f44e5", "extensio...
stackv2
/* #define DEFINE_UNICODE FALSE #define CUR_PATH_SEPARATOR_CHR '\\' #define PATH_CCH_ADD_EXTENSION PathCchAddExtensionA */ #if DEFINE_UNICODE HRESULT PATH_CCH_ADD_EXTENSION(PWSTR pszPath, size_t cchPath, PCWSTR pszExt) { LPWSTR pDot; BOOL bExtDot; LPWSTR pBackslash; size_t pszExtLength; size_t pszPathLength; ...
2.78125
3
2024-11-18T22:29:57.338791+00:00
2021-12-31T09:23:38
a97f78196a66f4f55b508b8e2926332c7fb0931f
{ "blob_id": "a97f78196a66f4f55b508b8e2926332c7fb0931f", "branch_name": "refs/heads/master", "committer_date": "2021-12-31T09:23:38", "content_id": "b249b20646b50f7668c3f9f764bea64302466b12", "detected_licenses": [ "MIT" ], "directory_id": "af9eabdb2ac240f9f2a2f3e92e6bc9044069362e", "extension": "c"...
stackv2
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <assert.h> #include <k_api.h> #if (RHINO_CONFIG_TRACE > 0) #define TRACE_BUFFER_SIZE 1024 #define ROUND_POINT(sz) (((sz) + (4 - 1)) & ~(4 - 1)) #define TRACE_PACKET_LENGTH 120 #define MAX_MODULE_NAME 40 #define TRACE_TYPE 0XFFFFFF00 #define T...
2.265625
2
2024-11-18T22:29:57.467022+00:00
2013-07-16T09:00:15
62c1f22793da9142292fd47297b4428ac3e89267
{ "blob_id": "62c1f22793da9142292fd47297b4428ac3e89267", "branch_name": "refs/heads/master", "committer_date": "2013-07-16T09:00:15", "content_id": "1f3723120474b9dc6826404368e03c844e99baa8", "detected_licenses": [ "MIT" ], "directory_id": "e8bfd9b5b1ce03bdc05f385f4523463149353d0d", "extension": "c"...
stackv2
/* * intercept.c * * Created on: 25 May 2010 * Author: David Tyler */ #include "../dt_logger.h" #include "intercept.h" #include "../conversion_constants.h" #include "../data_structures/vector.h" #include "../disc_path.h" #include "../player.h" /* * create_intercept * * Allocates the memory required for...
2.921875
3
2024-11-18T22:29:57.856811+00:00
2019-02-14T17:33:13
8213345ddb0d826af7db7d7dbb357b062edcfb2f
{ "blob_id": "8213345ddb0d826af7db7d7dbb357b062edcfb2f", "branch_name": "refs/heads/master", "committer_date": "2019-02-14T17:33:13", "content_id": "60ad9ca73f426f790e43c40ac424b2ee7ca22349", "detected_licenses": [ "MIT" ], "directory_id": "baaab75f7920b0404bfc8b395d8cd4690ca1878e", "extension": "h"...
stackv2
/** * @file ptask.h * @brief Periodic tasks utility functions * * @author Gabriele Ara * @date 2019/01/17 * * Inspired by the functions shown by Professor Giorgio Buttazzo during his * Real-Time Systems class. * * @section ptask_api PTask API * @subsection ptask_notice Notice * Functions operating on ptask_...
2.40625
2
2024-11-18T22:29:58.020488+00:00
2023-07-21T14:01:28
4b10b35ce087a513c013aca3a3d89e37f96c1ca8
{ "blob_id": "4b10b35ce087a513c013aca3a3d89e37f96c1ca8", "branch_name": "refs/heads/master", "committer_date": "2023-07-21T14:01:28", "content_id": "74d157b8722fe5fc6b73b8c8abc7651d35f70c84", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "020ef13aa76bde79e045e170db391f056ea204df", "extens...
stackv2
/* * Copyright (c) 2022-2023, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #include "gpt.h" #include "flash_layout.h" #include "Driver_Flash.h" #include <string.h> extern ARM_DRIVER_FLASH FLASH_DEV_NAME; /* GPT has UTF-16LE strings, but we don't want to support them. FIP pa...
2.625
3
2024-11-18T22:29:58.905273+00:00
2017-10-11T21:56:10
99c3af69bbf0cacb5bf9c4c4757a95db6b18eede
{ "blob_id": "99c3af69bbf0cacb5bf9c4c4757a95db6b18eede", "branch_name": "refs/heads/master", "committer_date": "2017-10-11T21:56:10", "content_id": "23fcfd073ea92a494f9bd1d2c2637b64f007d2cc", "detected_licenses": [ "Unlicense" ], "directory_id": "4abbdae625962fd8897d579ce13dfbef453c7020", "extension...
stackv2
#include <stdio.h> int main() { int password; for ( int i = 0; i < 5; i++ ) { scanf("%d", &password); if ( password == 1488 ) { printf("accepted\n"); return 0; } else { printf("incorrect password\n"); } } printf("denied\n"); ...
2.671875
3
2024-11-18T22:29:59.246444+00:00
2020-01-11T01:38:07
1b0ea472be3608298deb5207ece49298efca2737
{ "blob_id": "1b0ea472be3608298deb5207ece49298efca2737", "branch_name": "refs/heads/master", "committer_date": "2020-01-11T01:38:07", "content_id": "d77f7db58ef776ee425bd1937f8dba0c16e3573a", "detected_licenses": [ "MIT" ], "directory_id": "a0d9a84e2ce8168196699f15db438f087a9b0961", "extension": "c"...
stackv2
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * main.c * * Code generation for function 'main' * */ /*****************************************************...
2.5
2
2024-11-18T22:29:59.379741+00:00
2023-02-18T19:16:16
03246eec7f1306ea8aefb96bc0c4e087dd427513
{ "blob_id": "03246eec7f1306ea8aefb96bc0c4e087dd427513", "branch_name": "refs/heads/master", "committer_date": "2023-02-18T19:16:16", "content_id": "65779e49b87cd9d84be441f86b415a06c2439260", "detected_licenses": [ "MIT" ], "directory_id": "376c88f77e904986c2d81eb9ea8de851a8135b9a", "extension": "h"...
stackv2
#pragma once #include "graphic.hpp" #include "shaper.h" #include "datachunk.h" struct ShapeViewer : public GraphicElement { BLPath fPath{}; BLVar fStyle; ShapeViewer(const char * subject, size_t subjectLength, const char* nm) :GraphicElement({ 0,0,1920,1080 }) { setName(nm); b...
2.125
2
2024-11-18T22:29:59.496315+00:00
2017-12-29T15:39:48
f1f9941c6bf8afcda3bcbfd60fd56864873290af
{ "blob_id": "f1f9941c6bf8afcda3bcbfd60fd56864873290af", "branch_name": "refs/heads/master", "committer_date": "2017-12-29T15:39:48", "content_id": "c09ea351cc377356643cda6ba4b2ecbe744af794", "detected_licenses": [ "MIT" ], "directory_id": "b17accc35263d808be69739d0da0fc90ce7209bd", "extension": "c"...
stackv2
/* * minijson.c * * Created on: 15-Mar-2016 * Author: vikash */ #include "minijson.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include "minijson_memory.h" #include "minijson_conf.h" #include "minijson_stream.h" #include "minijson_parser.h" #include "minijson_scanner.h" json_stream_t * ...
2.421875
2
2024-11-18T22:29:59.696569+00:00
2021-03-01T22:21:25
794400695ce9e06250736fa0aeda66dd8260a5cd
{ "blob_id": "794400695ce9e06250736fa0aeda66dd8260a5cd", "branch_name": "refs/heads/master", "committer_date": "2021-03-01T22:21:25", "content_id": "924c5f659257390542342f39a1077dbf3e58b665", "detected_licenses": [ "MIT" ], "directory_id": "9e6476ea30bfeacea565d61c67925e68171863cc", "extension": "c"...
stackv2
#include <stdio.h> #include <stdio.h> #include <signal.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/prctl.h> #include <assert.h> #include <time.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <errno.h> #include <arpa/inet.h> #include "utarray.h" #include "utstring.h" #include "k...
2.34375
2
2024-11-18T22:29:59.798407+00:00
2023-08-18T12:54:06
9ccc1403c5be52c55b60929ab1517a8b05539a4f
{ "blob_id": "9ccc1403c5be52c55b60929ab1517a8b05539a4f", "branch_name": "refs/heads/master", "committer_date": "2023-08-18T12:54:06", "content_id": "e1d66fda8ec1b82480666b9941a4ff7b2a90385e", "detected_licenses": [ "MIT" ], "directory_id": "22446075c2e71ef96b4a4777fe966714ac96b405", "extension": "c"...
stackv2
/*! * @file main.c * @brief Wireless SUN Click Example. * * # Description * This example demonstrates the use of Wireless SUN click board by showing * the communication between the two click boards configured as BORDER and ROUTER. * * The demo application is composed of two sections : * * ## Application Init ...
2.59375
3
2024-11-18T22:30:03.286355+00:00
2009-09-01T11:27:13
ab795bdc8d4838df6da576d9e00ca408987cb62a
{ "blob_id": "ab795bdc8d4838df6da576d9e00ca408987cb62a", "branch_name": "refs/heads/master", "committer_date": "2009-09-01T11:27:13", "content_id": "f3f746a2ed764f1c8fc73ea61c18fa6957e4ce09", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "0951374ffd932f311b741a0d262f1468319291c3", "extens...
stackv2
/* ShadowFlare GRP Library. (c) ShadowFlare Software 2002-2008 License information for this code is in license.txt Any comments or suggestions are accepted at blakflare@hotmail.com (ShadowFlare) */ #ifndef GRPAPI_INCLUDED #define GRPAPI_INCLUDED #include <windows.h> #ifndef GRPAPI_STATIC #ifdef GRPAPI_EXPOR...
2.3125
2
2024-11-18T22:30:03.370996+00:00
2018-06-18T07:22:57
1212b1ae7c0d118c8a901f73299542082806f344
{ "blob_id": "1212b1ae7c0d118c8a901f73299542082806f344", "branch_name": "refs/heads/master", "committer_date": "2018-06-18T07:22:57", "content_id": "0e70190b78956bb5d809da96974001740a2bb074", "detected_licenses": [ "MIT" ], "directory_id": "f7ae5125133d6beafa227e6223c8010451ac48f4", "extension": "c"...
stackv2
#include <stdbool.h> #include <stdlib.h> #include <string.h> #include "ChessGame.h" #define CHESS_HISTORY_SIZE 6 #define CHESS_MAX_POSSIBLE_MOVES 27 // 7 * 3 + 6 for a queen piece /** * Check whether a given ChessPos's location is on board. * @param pos the pos to check * @return true ...
2.625
3
2024-11-18T22:30:03.644384+00:00
2020-10-20T16:49:31
3b979f24a71458e0976f3a7816b5f0799e6b4050
{ "blob_id": "3b979f24a71458e0976f3a7816b5f0799e6b4050", "branch_name": "refs/heads/master", "committer_date": "2020-10-20T16:49:31", "content_id": "420c31b15e05ecd80acf6414ba6c8471eaeffb73", "detected_licenses": [ "MIT" ], "directory_id": "b2d9bd7b23370a56e6fd06c9bfdd0040392369d1", "extension": "c"...
stackv2
/* Copyright 2020 KoroLion (github.com/KoroLion) */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <check.h> #include "include/string_list.h" #include "include/email_filter.h" const char TEST_DATA_FPATH[] = "test_data.txt"; START_TEST(string_list_test) { const char *fn...
2.5
2
2024-11-18T22:30:05.238703+00:00
2020-10-03T03:59:48
a7b24ff9f3361c324536c584cb323ff788ccdf93
{ "blob_id": "a7b24ff9f3361c324536c584cb323ff788ccdf93", "branch_name": "refs/heads/master", "committer_date": "2020-10-03T03:59:48", "content_id": "1282023c2b6229d0312ee2b249357eaceaeef8d3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "43649f75ac55db18bb3b31e613f329b65d2bb85f", "extens...
stackv2
/* vim:ts=4:sw=4:expandtab * (No tabs, indent level is 4 spaces) */ /***************************************************************************** * File: fm_api_stats.c * Creation Date: 2005 * Description: Structures and functions for dealing with counters * * Copyright (c) 2005 - 2014, Intel C...
2.046875
2
2024-11-18T22:30:05.984184+00:00
2021-08-04T19:23:48
b68c58c163ce842bcc9d7cbab01a0313bd3a25a6
{ "blob_id": "b68c58c163ce842bcc9d7cbab01a0313bd3a25a6", "branch_name": "refs/heads/main", "committer_date": "2021-08-04T19:23:48", "content_id": "88a43c9975561eeb87f550a46570e1d9a51d5d9a", "detected_licenses": [ "Unlicense" ], "directory_id": "73c14ea104ba315ea9d44badc6373489707bf85e", "extension":...
stackv2
#include<stdio.h> #include<string.h> #include<time.h> #include<stdlib.h> #define MAX_B_ISSUE_F 4 #define MAX_B_ISSUE_S 2 #define NAME_SIZE 50 #define DEPT_SIZE 4 #define MAX_ARRAY_SIZE 50 #define MAX_FAC_DAYS 30 #define MAX_STUD_DAYS 14 enum designation_type {Student, Faculty}; struct date{ int day; int month; int ...
3.203125
3
2024-11-18T22:30:06.246986+00:00
2023-08-11T17:19:13
2c511b01aeb94805cb2365e5062c78c893a8f782
{ "blob_id": "2c511b01aeb94805cb2365e5062c78c893a8f782", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T17:19:13", "content_id": "8f3712efef516673269133638ab227ee4e190144", "detected_licenses": [ "MIT" ], "directory_id": "382c5c64e7f179a345ad267806824099d7986d64", "extension": "c"...
stackv2
/* Library: fitsim_contours.c * * Contains contouring section of fits plotting package. The functions * in this library include those which get contouring information and * actually plot the contours. * * 04Dec99 CDF, Split out of fitsim.c * */ #include <stdio.h> #include <stdlib.h> #include <math.h> #incl...
2.984375
3
2024-11-18T22:30:06.372547+00:00
2012-10-07T20:16:56
e6371faba215e1c66df017f9b7dac3cdda8eb7ea
{ "blob_id": "e6371faba215e1c66df017f9b7dac3cdda8eb7ea", "branch_name": "refs/heads/master", "committer_date": "2012-10-07T20:16:56", "content_id": "ff6d9095d110488e0b74958d6c64ea37e70f9a14", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b457411b376a5d2866819bc835ab5153cb6a4714", "extensio...
stackv2
/** * FreeRDP: A Remote Desktop Protocol Client * NTLM Security Package Unit Tests * * Copyright 2011-2012 Marc-Andre Moreau <marcandre.moreau@gmail.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...
2.078125
2
2024-11-18T22:30:06.764083+00:00
2021-09-15T05:39:20
677849c62bbe81c6cdbefff256fa9654f07af6bf
{ "blob_id": "677849c62bbe81c6cdbefff256fa9654f07af6bf", "branch_name": "refs/heads/master", "committer_date": "2021-09-15T05:39:20", "content_id": "fe03ecbf710b7bc6db60d194018dbca1ec021ea9", "detected_licenses": [ "MIT" ], "directory_id": "439a8ab39a5eb5a4b1a36fb472a20c5ffe100a72", "extension": "h"...
stackv2
#include <stdlib.h> #include <string.h> //on utilise strcpy et strcmp #include <time.h> #include <math.h> #define MAX_TRANSAC 100 // Donne un entier aleatoire inférieur strictement à 'i' int random(int i); // Genere des nombres semi aléatoires a partir de seed void generate_seed(int s); // Portefeuille aprés `n` fo...
2.46875
2
2024-11-18T22:30:06.949764+00:00
2018-12-09T08:54:11
1e884d566da0c4a8848dd8f3234c73ffad3f573b
{ "blob_id": "1e884d566da0c4a8848dd8f3234c73ffad3f573b", "branch_name": "refs/heads/master", "committer_date": "2018-12-09T08:54:11", "content_id": "27d1549563c32734b4f902f0915406afc38e3a27", "detected_licenses": [ "Apache-2.0" ], "directory_id": "350be202ed8bdca93d60ac9d3b171bfbae2f460f", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <math.h> #include <string.h> #include <x86intrin.h> #include "config.h" #ifdef HAVE_AVX512CD_INSTRUCTIONS #include "avx512cd_hamming_weight.h" // ------------------------------ static uint32_t sse_sum_epu32(const __m128i v) { return _mm_extra...
2.328125
2
2024-11-18T22:30:07.023898+00:00
2023-03-21T23:49:44
a7293c9072247a32a4bdd1861b0e153e4bd54da2
{ "blob_id": "a7293c9072247a32a4bdd1861b0e153e4bd54da2", "branch_name": "refs/heads/master", "committer_date": "2023-03-21T23:49:44", "content_id": "8ff1087b9ea3d8ee87d7387d23000aa7332b1c0e", "detected_licenses": [ "MIT" ], "directory_id": "b452bbb87214f174122f425f6f98f4c3890c3cca", "extension": "c"...
stackv2
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
2.234375
2
2024-11-18T22:30:07.096316+00:00
2019-01-06T17:21:50
f215e47db5ad2a57339ea647262746d7378279cd
{ "blob_id": "f215e47db5ad2a57339ea647262746d7378279cd", "branch_name": "refs/heads/master", "committer_date": "2019-01-06T17:21:50", "content_id": "cb3e9b4dad226016e2eda62725e4b14713978ea1", "detected_licenses": [ "NCSA" ], "directory_id": "971c5ae1d87cdfbb97723485c3d76c17395b82b0", "extension": "c...
stackv2
#include "mini_string.h" #include "mini_stdlib.h" /* PR rtl-optimization/61673 */ char e; __attribute__((noinline, noclone)) void bar (char x) { if (x != 0x54 && x != (char) 0x87) __builtin_abort (); } __attribute__((noinline, noclone)) void foo (const char *x) { char d = x[0]; int c = d; if ((c >= 0 && ...
2.515625
3
2024-11-18T22:30:07.281992+00:00
2013-07-18T06:59:24
253112b506aa640a32c30894710b4b626da7feff
{ "blob_id": "253112b506aa640a32c30894710b4b626da7feff", "branch_name": "refs/heads/master", "committer_date": "2013-07-18T06:59:24", "content_id": "86444efb3caa3c27218dbb4cb99810eab42faceb", "detected_licenses": [ "BSD-3-Clause", "ISC" ], "directory_id": "a9c2ebf8fb4ca8a61edbf07b934092bb890de7cb"...
stackv2
/* * Copyright (c) 2012 Bertrand Janin <b@janin.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 permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
2.15625
2
2024-11-18T22:30:07.360486+00:00
2014-05-31T15:34:16
5867b539ffbfa8e146a7c461ddd8989c092d1e28
{ "blob_id": "5867b539ffbfa8e146a7c461ddd8989c092d1e28", "branch_name": "refs/heads/master", "committer_date": "2014-05-31T15:34:16", "content_id": "7fc6f9b784ac494a171ba23411ad5e36bae1a5ca", "detected_licenses": [ "MIT" ], "directory_id": "4aa5e22d5ad13ef6cf745c8ce71499fa2955f0f5", "extension": "c"...
stackv2
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "test_helper.h" #include "point_cloud.h" TEST(compare_point, tells_when_two_points_are_equal) { point a = { 123456, 789012 }; point b = { 123456, 789012 }; ASSERT_EQ(0, compare_point(&a, &b)); } TEST(compare_point, tells_when_the_first_point_is_less_t...
2.484375
2
2024-11-18T22:30:07.555693+00:00
2022-08-04T22:49:38
cf655789aaecf492d4dc032510f603406ee182e4
{ "blob_id": "cf655789aaecf492d4dc032510f603406ee182e4", "branch_name": "refs/heads/master", "committer_date": "2022-08-04T22:49:38", "content_id": "a95e4ad0027f977296907362b68c83d298928a9f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "198776b40bcd18cbd7bb8350183915d096844d54", "extensio...
stackv2
// Copyright (c) 2016-2017, Intel Corporation. #ifdef ZJS_LINUX_BUILD // C includes #include <stdint.h> #include <string.h> // ZJS includes #include "zjs_script.h" uint8_t zjs_read_script(char *name, char **script, uint32_t *length) { if (name) { char *s; uint32_t size; FILE *f = fopen(n...
2.484375
2
2024-11-18T22:30:07.634131+00:00
2019-06-02T18:05:15
38544c6db813c598a234957c288976dfc0b522e1
{ "blob_id": "38544c6db813c598a234957c288976dfc0b522e1", "branch_name": "refs/heads/master", "committer_date": "2019-06-02T18:05:15", "content_id": "12268fd8d9267597c3acc9ded83002200f4d85a8", "detected_licenses": [ "MIT" ], "directory_id": "29229d2498cd03c36b42d10a33f580c7a63a74d2", "extension": "c"...
stackv2
/* Copyright (c) 2017-2019 Dmitry Stepanov a.k.a mr.DIMAS * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify...
2.421875
2
2024-11-18T22:30:07.744269+00:00
2020-12-31T13:04:32
1bb509a2af26430a428994504afd942dcc6030d9
{ "blob_id": "1bb509a2af26430a428994504afd942dcc6030d9", "branch_name": "refs/heads/main", "committer_date": "2020-12-31T13:04:32", "content_id": "7291581ddf8a4ce838ee350f6578650a80ca71ce", "detected_licenses": [ "MIT" ], "directory_id": "4e202a2676262090b2706528716c64ab6691c42d", "extension": "c", ...
stackv2
//Practica tema 6 , Ivanov Manov Istaliyan //Incluimos los headers que nos van a hacer falta #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netinet/ip.h> #include <errno.h> //D...
2.9375
3
2024-11-18T22:30:08.083066+00:00
2016-12-30T19:22:02
2475d6183d2d7a093a23e7c1bafd2d8d2366d748
{ "blob_id": "2475d6183d2d7a093a23e7c1bafd2d8d2366d748", "branch_name": "refs/heads/master", "committer_date": "2016-12-30T19:22:02", "content_id": "0d9461452ef59612091ee2bb312138fcbcc345ce", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1034555b8beb176279c51479c22470904c4cbbf1", "extens...
stackv2
// // Created by svalov on 10/5/16. // #include <moarRoutingTablesHelper.h> #include <funcResults.h> #include <moarRouteTable.h> #include <moarRoutingPrivate.h> int resetTimeForDest(RoutingLayer_T* layer, ChannelAddr_T* dest){ if(NULL == layer) return FUNC_RESULT_FAILED_ARGUMENT; if(NULL == dest) return FUNC_RE...
2.40625
2
2024-11-18T22:30:08.612011+00:00
2019-08-06T14:24:54
b5027d935704cdb63fbec90eca85f89e241a7a00
{ "blob_id": "b5027d935704cdb63fbec90eca85f89e241a7a00", "branch_name": "refs/heads/master", "committer_date": "2019-08-06T14:24:54", "content_id": "7b2bae55264f0a7007858f0cbe74c02c09170e3b", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "021a3ccdcb91d84629f1de7343981b572840b169", "extens...
stackv2
/********************************************************************** American Put Options Pricing using the Black-Scholes Equation Background (European Options): The standard European option is a contract where the holder has the right to either buy (call option) or sell (put option) an underlying ...
2.46875
2
2024-11-18T22:30:09.045549+00:00
2018-05-23T06:55:18
d4dc6efac32d8988184e306512a8ecd7d873a42b
{ "blob_id": "d4dc6efac32d8988184e306512a8ecd7d873a42b", "branch_name": "refs/heads/master", "committer_date": "2018-05-23T06:55:18", "content_id": "c9637af6a83a4a5b82978c0e42b20f489c5a772b", "detected_licenses": [ "MIT" ], "directory_id": "2bc3398063fd7251c46a2d93d2e301cd063befcd", "extension": "c"...
stackv2
// This program is a part of NITAN MudLIB // immortal.c 不死金身 // Created by Lonely 04/05/2009 #include <ansi.h> inherit F_CLEAN_UP; string name() { return YEL "不死金身" NOR; } int perform(object me, string skill) { if( !query("reborn/times", me) ) return notify_fail("你尚未转世重生,无法使用此技能!\n"); ...
2.046875
2
2024-11-18T22:30:09.362105+00:00
2020-10-18T16:33:47
384715dbb218d01a22edb507aa206f27f5ac6025
{ "blob_id": "384715dbb218d01a22edb507aa206f27f5ac6025", "branch_name": "refs/heads/master", "committer_date": "2020-10-18T16:33:47", "content_id": "17c3c1458fac6d1c111e8cf9395696b579c4f500", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "11a64eb4c73a0fceb38372b09b6aa8a3d367d9b3", "extens...
stackv2
//Determine se um determinado ano lido é bissexto. Sendo que um ano é bissexto se //for divisı́vel por 400 ou se for divisı́vel por 4 e não for divisı́vel por 100. Por exemplo: //1988, 1992, 1996 #include <stdio.h> #include <locale.h> int main(){ int ano; printf("Insira o ano que deseja verificar se é bissexto\n"...
3.53125
4
2024-11-18T22:30:09.554461+00:00
2021-03-19T03:45:27
6fca022c3a73f445b66bad2871f9f198caaaa36d
{ "blob_id": "6fca022c3a73f445b66bad2871f9f198caaaa36d", "branch_name": "refs/heads/master", "committer_date": "2021-03-19T03:45:27", "content_id": "2d6eafe7a0b6d21d1467ae544bb52f75554fddd6", "detected_licenses": [ "MIT", "BSD-3-Clause", "BSD-4-Clause-UC" ], "directory_id": "d0c3939b456e78e5cd...
stackv2
#include "lwip/icmp.h" #include "lwip/inet_chksum.h" #include "lwip/ip4.h" #include "user.h" #define BUF_LEN 1000 #define PING_DATA_SIZE (4 + 32) static int ping_seq_num = 0; void ping_prepare_echo(struct icmp_echo_hdr *hdr, u16_t len); int ping_process_response(char *ipaddr, int ttl, struct icmp_echo_hdr *req_buf, ...
2.453125
2
2024-11-18T22:30:11.317679+00:00
2021-08-27T18:33:18
c3ed2407bd05577676331ae0c9073569d5f13cb3
{ "blob_id": "c3ed2407bd05577676331ae0c9073569d5f13cb3", "branch_name": "refs/heads/master", "committer_date": "2021-08-27T18:33:18", "content_id": "c0a9ec14aa8844fa9e806d5880960cbd85cd23d0", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7e5168b1cc83571a64f500b3fc7c24707e87a2ac", "extensio...
stackv2
/** * * (C) Copyright 2020-2021 Hewlett Packard Enterprise Development LP * * * * 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 ...
2.015625
2
2024-11-18T22:30:11.927979+00:00
2019-11-30T17:02:43
718f73e14dd1bbb7f5de2dd59feadd6d6dbee803
{ "blob_id": "718f73e14dd1bbb7f5de2dd59feadd6d6dbee803", "branch_name": "refs/heads/master", "committer_date": "2019-11-30T17:12:01", "content_id": "2e0cb9de07cc5e80c56398e254725afc4b6f3f25", "detected_licenses": [ "MIT" ], "directory_id": "8e5c589b71eae337f3a1bbf5f2558b549814206d", "extension": "c"...
stackv2
/* * kernel/command/cmd-tscal.c * * Copyright(c) 2007-2019 Jianjun Jiang <8192542@qq.com> * Official site: http://xboot.org * Mobile phone: +86-18665388956 * QQ: 8192542 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "...
2.328125
2
2024-11-18T22:30:12.559203+00:00
2016-09-18T23:16:27
9f04f9096aed37cbc00f711e1d8360e325094e52
{ "blob_id": "9f04f9096aed37cbc00f711e1d8360e325094e52", "branch_name": "refs/heads/master", "committer_date": "2016-09-18T23:16:27", "content_id": "99962bffbbf56aa606037b6954934ae8fcbe6785", "detected_licenses": [ "MIT" ], "directory_id": "4d967b13377eac486a6650c28bfa4960603c9db0", "extension": "c"...
stackv2
/* * InventoryVector.c * * Created on: 04/10/2012 * Created by: Abdulfatai Popoola * Copyright (c) 2012 Bitcoin Project Team */ #include "InventoryVector.h" #include <assert.h> #include <stdlib.h> InventoryVector * createNewInventoryVector(InventoryVectorType type, ByteArray * hash, void (*onErrorReceived)(E...
2.59375
3
2024-11-18T22:30:14.957118+00:00
2013-04-11T04:36:33
da2664a414b1a5e8e88909604b8e91b57ae85a5d
{ "blob_id": "da2664a414b1a5e8e88909604b8e91b57ae85a5d", "branch_name": "refs/heads/master", "committer_date": "2013-04-11T04:36:33", "content_id": "71b9285ccbc50b11fa70440ea9469fd33a79c9f5", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "4d76687116d0f71091cc5e03a44665734484f054", "extens...
stackv2
#include "stats.h" int main(int argc, char **argv) { init_stats(); int i; pipestat *ticks = init_stat("my.ticks", STAT_TYPE_DOUBLE); pipestat *tocks = init_stat("my.tocks", STAT_TYPE_LONG); stat_incr(ticks); for (i=0;i<10;++i) { STAT_INCRV(tocks, 2); stat_incrv_d(ticks, 1.5);...
2.25
2
2024-11-18T22:53:24.088207+00:00
2014-10-22T09:07:22
7d7e819587242f413c34766675ab68080d4e2d02
{ "blob_id": "7d7e819587242f413c34766675ab68080d4e2d02", "branch_name": "refs/heads/master", "committer_date": "2014-10-22T09:07:22", "content_id": "cf59fe9fd19edc91ae1ee2c422c2f8e78cb55f10", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a01c9e653bf3b5f08aa68a8d32b04fa6bea236db", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> #include <errno.h> #include <time.h> #define ERR_EXIT(m) \ do { \ perror(m);\ exit(EXIT_FAILURE);\ }while(0) void sigint_handler(int sig) { printf(...
2.734375
3
2024-11-18T22:53:24.153488+00:00
2010-05-18T07:05:08
784464b0d4ce508d60c607b316c30845586f8f45
{ "blob_id": "784464b0d4ce508d60c607b316c30845586f8f45", "branch_name": "refs/heads/master", "committer_date": "2010-05-18T07:05:08", "content_id": "453609a228ef29cddc012a16e009ddbac27c0967", "detected_licenses": [ "MIT" ], "directory_id": "23330d943eb67ab206050f206a98504b618a4a4f", "extension": "c"...
stackv2
#include "irc_com.h" #include "internal_helper_funcs.h" static int is_killed = RC_NO; static time_t birthtime = 0; static RC_PROC_TYPE proc_type = ANGEL; static pid_t child_pid = 0; static int is_online = RC_NO; static time_t online_since = 0; static char * ...
2.3125
2
2024-11-18T22:53:24.623480+00:00
2014-12-17T18:28:17
6ef3bb707a7737dd7725f577762fed57709c24cf
{ "blob_id": "6ef3bb707a7737dd7725f577762fed57709c24cf", "branch_name": "refs/heads/master", "committer_date": "2014-12-17T18:28:17", "content_id": "b72b9a2dfce6154a210f3107cc91e16a1a68f575", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "aedce4967eb6994cdd243f869698f239e31962d9", "extens...
stackv2
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "./dataloop.h" /*@ Dataloop_contiguous - create the dataloop representation for a contiguous datatype Arguments: + int icount, . MPI_...
2.34375
2
2024-11-18T22:53:24.971413+00:00
2020-09-22T21:07:44
97a580ea6750392129683fb916c76d3edac74b1c
{ "blob_id": "97a580ea6750392129683fb916c76d3edac74b1c", "branch_name": "refs/heads/master", "committer_date": "2020-09-22T21:07:44", "content_id": "687c25afba0c006c94b1a7e0960ea31646ff744c", "detected_licenses": [], "directory_id": "ac0b308bfd3c3e5c46ba28d2c4fe70f8516c9e7d", "extension": "c", "filename...
stackv2
#include <stdio.h> int iLetra; //Caracter de un posicion int main(void){ int system(const char clear); iLetra = '6'; //Asignacion de valores printf("El n%cmero %d en ASCII es %c\n",163,iLetra,iLetra); return 0; }//fin int main
2.734375
3
2024-11-18T22:53:25.138362+00:00
2020-03-03T14:19:21
d895eb5fef027a240566a6994bbc11e9787b2af8
{ "blob_id": "d895eb5fef027a240566a6994bbc11e9787b2af8", "branch_name": "refs/heads/master", "committer_date": "2020-03-03T14:19:21", "content_id": "f77f170f36ce6aad6c78ce5917ddb536ce3187b7", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "6810a482513ab2725af321229b36a44c8d87fb86", "extens...
stackv2
/* * tracker is an analyzer for binary executable files * * Written and maintained by Emmanuel Fleury <emmanuel.fleury@u-bordeaux.fr> * * Copyright 2019-2020 University of Bordeaux, CNRS (UMR 5800), France. * All rights reserved. * * This software is released under a 3-clause BSD license (see COPYING file). *...
2.515625
3
2024-11-18T22:53:25.191708+00:00
2021-11-21T06:51:27
cf6ff8358110aa5799a7beda721ecb26b2918ab7
{ "blob_id": "cf6ff8358110aa5799a7beda721ecb26b2918ab7", "branch_name": "refs/heads/main", "committer_date": "2021-11-21T06:51:27", "content_id": "3d09e66e8a73159202d6f68a1c710322981374d9", "detected_licenses": [ "MIT" ], "directory_id": "5292b03998384c0d2bb5858058892d7e45c5365b", "extension": "h", ...
stackv2
/* Name: requests.h * Project: custom-class, a basic USB example * Author: Christian Starkjohann * Creation Date: 2008-04-09 * Tabsize: 4 * Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) */ /* This header is s...
2
2
2024-11-18T22:53:25.305945+00:00
2014-12-05T05:43:45
6b00e951ab1e6290afb03feeb9a515817b1d335e
{ "blob_id": "6b00e951ab1e6290afb03feeb9a515817b1d335e", "branch_name": "refs/heads/master", "committer_date": "2014-12-05T05:43:45", "content_id": "3b591951c628d158edd1976d134d9e14d725c14a", "detected_licenses": [ "Unlicense" ], "directory_id": "709f5dd579ae7d6f778d2eb4067351dc06384925", "extension...
stackv2
#include <stdbool.h> #include <string.h> #include <stdio.h> #include "player_11.h" #include <stddef.h> #include <stdlib.h> static FILE *textuser; static FILE *hsdb; static FILE *ingameplayer; // Registrasi bool IsNP(Queue *Q){ return ((Head(*Q) == Nil) && (Tail(*Q) = Nil)); } void CreateReg(Queue *Q) { H...
2.390625
2
2024-11-18T22:53:25.515389+00:00
2022-04-30T21:15:56
3d6ee76f047ef602bbaa1895c4cce118f8b3d410
{ "blob_id": "3d6ee76f047ef602bbaa1895c4cce118f8b3d410", "branch_name": "refs/heads/master", "committer_date": "2022-04-30T21:15:56", "content_id": "7e60c37482ce3c6cb8df2656deb729790e53e1be", "detected_licenses": [ "MIT" ], "directory_id": "6f247f5400c6a840b6dfcb12388116dc3bb7bd49", "extension": "h"...
stackv2
/* * Copyright (C) 2011 Marcelina Kościelnicka <mwk@0x04.net> * All Rights Reserved. * * 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 ...
2
2
2024-11-18T22:53:26.317753+00:00
2022-11-28T14:34:00
15862faaf7efc97e4021904406a126f1bd5b75e7
{ "blob_id": "15862faaf7efc97e4021904406a126f1bd5b75e7", "branch_name": "refs/heads/master", "committer_date": "2022-11-28T14:34:00", "content_id": "7284684bd1eb0af09d6909d2f492ed6e1fe4346c", "detected_licenses": [], "directory_id": "e3e940b2324da6e88f076b8a7f7fd3f20e076b81", "extension": "c", "filename...
stackv2
#include <stdlib.h> #include <check.h> #include "libchidb/util.h" #define NVALUES (8) uint16_t uint16_values[] = {0,1,128,255,256,32767,32768,65535}; uint32_t uint32_values[] = {0,255,256,32767,32768,65535,65536,4294967295}; uint32_t varint32_values[] = {0,255,256,32767,32768,65535,65536,268435455}; START_TEST (test...
2.421875
2
2024-11-18T22:53:26.486464+00:00
2021-03-20T17:44:56
f170a89a8fc109a516167f11e1df1c4f0d09437d
{ "blob_id": "f170a89a8fc109a516167f11e1df1c4f0d09437d", "branch_name": "refs/heads/master", "committer_date": "2021-03-20T17:44:56", "content_id": "bd91526958e5c3e4e0e57cd5e2e4bdd504e1ff61", "detected_licenses": [ "MIT" ], "directory_id": "64884e86444982239328aff45c9e3d532f743534", "extension": "h"...
stackv2
#ifndef TIMER_H_INCLUDED #define TIMER_H_INCLUDED #include "Main.h" typedef enum{ TIMER0, TIMER1, TIMER2 }tTimer; typedef enum{ TIMER_MODE, COUNTER_MODE }tTimer_Mode; void Timer_Init(tTimer timer); void Timer_SetMode(tTimer timer,tTimer_Mode mode); void Timer_SetTimeMS(tTimer timer,u16 time); vo...
2.15625
2
2024-11-18T22:53:26.562376+00:00
2020-04-13T16:10:28
9a2eee0ed684b6d27f7afec8257eb4a2009eb5a2
{ "blob_id": "9a2eee0ed684b6d27f7afec8257eb4a2009eb5a2", "branch_name": "refs/heads/master", "committer_date": "2020-04-13T16:10:28", "content_id": "6933190ec17adefed9bcf612a62ea2af2ae4ed11", "detected_licenses": [ "MIT" ], "directory_id": "e2ad6812b8a65e3003ed36927ecdee4404da9a4e", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* data_5.c :+: :+: :+: ...
2.1875
2
2024-11-18T22:53:26.622729+00:00
2021-02-19T02:13:56
951163c8175e57d1b2f4e9a9433500f52188ce92
{ "blob_id": "951163c8175e57d1b2f4e9a9433500f52188ce92", "branch_name": "refs/heads/master", "committer_date": "2021-02-19T02:13:56", "content_id": "2953104e1e7eaeae7f2bc93974f6b2e0602e80f9", "detected_licenses": [ "MIT" ], "directory_id": "6ca0ba6dca6f1aae9be32eb5deae410fccca9f70", "extension": "h"...
stackv2
/** MIT License Copyright (c) 2020 HeatXD 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, distri...
2.46875
2
2024-11-18T22:53:26.726891+00:00
2018-11-23T15:46:00
fc82f094363e90e08e71e82d6024de49d535622a
{ "blob_id": "fc82f094363e90e08e71e82d6024de49d535622a", "branch_name": "refs/heads/master", "committer_date": "2018-11-23T15:46:00", "content_id": "c1e09d86838209304575d6bd416bec5f04220160", "detected_licenses": [ "MIT" ], "directory_id": "d0809e5d144a174428a2c2bbbd14a1531307e277", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <omp.h> int main (int argc, char** argv) { if (argc < 2) { printf("Usage ./%s <number_of_threads>\n", argv[0]); exit(0); } printf("Number of processors: %d\n", omp_get_num_procs()); const int NUM_TH = atoi(argv[1]); int th_id, nthre...
2.765625
3
2024-11-18T22:53:27.501650+00:00
2021-04-10T09:30:48
bca9363748956140f43fa3318b83a4b4468faa2b
{ "blob_id": "bca9363748956140f43fa3318b83a4b4468faa2b", "branch_name": "refs/heads/master", "committer_date": "2021-04-10T09:30:48", "content_id": "626bbb994c0d8bf50cf2d44a09439603b9023a1e", "detected_licenses": [ "MIT" ], "directory_id": "38b3b70d337c586c00697cdba616450fd91a2adf", "extension": "h"...
stackv2
#ifndef _XBOOK_FSAL_PATH_H #define _XBOOK_FSAL_PATH_H /* File system abstraction layer (FSAL) 文件系统抽象层 */ #include <types.h> #include <stddef.h> #include <stdint.h> #include "fsal.h" #define ROOT_DIR_PATH "/root" #define HOME_DIR_PATH "/home" #define ACCOUNT_DIR_PATH "/acct" #define DEV_DIR_PATH "/dev" #define FI...
2.140625
2
2024-11-18T22:53:27.825037+00:00
2012-07-31T19:26:59
745ecbdefc670d3e30635281c440d6e2361d46ca
{ "blob_id": "745ecbdefc670d3e30635281c440d6e2361d46ca", "branch_name": "refs/heads/master", "committer_date": "2012-07-31T19:26:59", "content_id": "921aa883e2466edb5a4733c5315b19ece4870ae4", "detected_licenses": [ "MIT" ], "directory_id": "01af501249ed0fe73e6f4070640adfd5019d207e", "extension": "h"...
stackv2
#ifndef _CONSOLE_H #define _CONSOLE_H #include "memory.h" #include "types.h" #define VIDEO_MEMORY PHYS_TO_VIRT(0xb8000) typedef struct { u8 *mem; int width; int height; int color; int x; int y; int tabwidth; } console_t; /*** console.c ***/ /* Why console_t and cons0? Why isn't there a set of global...
2.375
2
2024-11-18T22:53:27.999957+00:00
2018-02-16T19:36:29
aa4740e440ca62fab7a36ff24e80d323fd91b541
{ "blob_id": "aa4740e440ca62fab7a36ff24e80d323fd91b541", "branch_name": "refs/heads/master", "committer_date": "2018-02-16T19:36:29", "content_id": "347f35d382f144013bd3bd1534b44dc09e3cdc07", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "2b8c2e824e73443f4aa5ce9b6fb53840906c0f78", "extens...
stackv2
//coremap.h #ifndef _COREMAP_H_ #define _COREMAP_H_ #include <types.h> #define PADDR_TO_COREMAP(paddr) ((paddr)/PAGE_SIZE - firstcoremappage) //A coremap keeps track of which pages are in use and also keeps track of which address spaces a page is mapped into. //http://www.eecg.toronto.edu/~lie/Courses/ECE344/asst3....
2.15625
2
2024-11-18T22:53:29.361727+00:00
2021-08-29T05:54:51
8ad7a0d484b03a5f33517b1dc1ff6c582e743841
{ "blob_id": "8ad7a0d484b03a5f33517b1dc1ff6c582e743841", "branch_name": "refs/heads/master", "committer_date": "2021-08-29T05:54:51", "content_id": "ffd6933feec765e040bec1184e019734139160dd", "detected_licenses": [ "MIT" ], "directory_id": "c73d11b2c6a110a0e65ce6ab8934cac03996bdc3", "extension": "h"...
stackv2
/** * @file kMsgQueue.h * @brief Declares the kMsgQueue class. * * @internal * Copyright (C) 2011-2020 by LMI Technologies Inc. * Licensed under the MIT License. * Redistributed files must retain the above copyright notice. */ #ifndef K_API_MSG_QUEUE_H #define K_API_MSG_QUEUE_H #include <kApi/kApiDef.h>...
2.09375
2
2024-11-18T22:53:29.748022+00:00
2023-08-30T04:20:48
028363f3ca2520f49be127ad6efcfddd0112d9f0
{ "blob_id": "028363f3ca2520f49be127ad6efcfddd0112d9f0", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T04:20:48", "content_id": "018d398956f213bba6cb25e8f6569fa3b055ecb2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ec6a71b57ebe88538269197fd16bede6bc2062ae", "extensio...
stackv2
/* * %CopyrightBegin% * * Copyright Ericsson AB 1999-2016. 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 * * http://www.apache.org/licenses/LICENSE-2.0 ...
2.328125
2
2024-11-18T22:53:30.479953+00:00
2016-08-28T14:12:50
e8e20b898f2a0dbf6d87b4fb4ec08290c73120b8
{ "blob_id": "e8e20b898f2a0dbf6d87b4fb4ec08290c73120b8", "branch_name": "refs/heads/master", "committer_date": "2016-08-28T14:12:50", "content_id": "35efbc5fb69ab2a6bfc7743466e5255fb02fb966", "detected_licenses": [ "MIT" ], "directory_id": "389c545dbdf6abd9192608529e8bf807ccf4abd6", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include <sqlite3.h> #include <Windows.h> #include "event.h" #include "db_plugin.h" struct db { void *db; int session; char q[20]; CRITICAL_SECTION sync; }; static const char * const db_tab...
2.25
2
2024-11-18T22:53:31.231776+00:00
2021-08-19T20:00:08
e2cf31fa2f2043ee884bca3179429aaefa255338
{ "blob_id": "e2cf31fa2f2043ee884bca3179429aaefa255338", "branch_name": "refs/heads/master", "committer_date": "2021-08-19T20:00:08", "content_id": "15eb127a8f5e8810f71d1687e71d4cef259f371a", "detected_licenses": [ "MIT" ], "directory_id": "233e7fc9eddac3a732ce11528f79068f168f9fa5", "extension": "c"...
stackv2
#include "tilemap.h" #include <stdio.h> #include <stdlib.h> #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) #define CLAMP(x, lower, upper) (MIN((upper), MAX((x), (lower)))) Map* loadMap(const char* fileName, Texture2D texture) { Map *map = (Map*) malloc(sizeof(Map)); FILE *fp; ...
2.84375
3
2024-11-18T22:53:31.304484+00:00
2020-08-24T23:11:58
ac2bfc9e541d724315847cdf41eaccafc6ea5dad
{ "blob_id": "ac2bfc9e541d724315847cdf41eaccafc6ea5dad", "branch_name": "refs/heads/master", "committer_date": "2020-08-24T23:11:58", "content_id": "d3fb30bf82b2b5767a8cd22ba6f4b7fa919412d9", "detected_licenses": [], "directory_id": "4b4877e1359b09bc6e27843242a37924a5091cc8", "extension": "h", "filename...
stackv2
/* * Copyright (c) 2014-2019 Netflix, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditi...
2.09375
2
2024-11-18T22:53:31.662389+00:00
2021-03-29T19:39:37
a6195c82ec37f0bbc7320a873b29f190f9b77e59
{ "blob_id": "a6195c82ec37f0bbc7320a873b29f190f9b77e59", "branch_name": "refs/heads/main", "committer_date": "2021-03-29T19:39:37", "content_id": "8105bacbbed0ec194246940f8a51bf82897806d6", "detected_licenses": [ "MIT" ], "directory_id": "b8511cf97563626d70173a2c3c1637667e515e3a", "extension": "c", ...
stackv2
#include "lm4f120h5qr.h" #include "delay.h" #define LED_RED (1U << 1) #define LED_BLUE (1U << 2) #define LED_GREEN (1U << 3) unsigned fact(unsigned n); int main() { unsigned volatile x; x = fact(0U); x = 2U + 3U*fact(1U); (void)fact(5U); SYSCTL_RCGCGPIO_R |= (1U << 5); /* enable cloc...
2.78125
3
2024-11-18T22:53:32.474183+00:00
2019-02-13T16:33:48
0bc84e1e567ae25fd768e90582d82562540699af
{ "blob_id": "0bc84e1e567ae25fd768e90582d82562540699af", "branch_name": "refs/heads/master", "committer_date": "2019-02-13T16:33:48", "content_id": "d9cf2ff10eb2f9d0435d080a0df19393f5fb3700", "detected_licenses": [ "MIT" ], "directory_id": "3f4a7a43dfb9c5b69183cb5b87c1ede178011842", "extension": "c"...
stackv2
#include <stdio.h> #include <assert.h> #include "log.h" #include "emulation.h" /* RMB, SMB, BBR, BBS are handled by these */ static void emul_rmb(rk65c02emu_t *, void *, instruction_t *, uint8_t); static void emul_smb(rk65c02emu_t *, void *, instruction_t *, uint8_t); static void emul_bbr(rk65c02emu_t *, void *, ins...
2.8125
3
2024-11-18T22:53:32.624309+00:00
2023-09-01T10:01:01
808fbdc958782c71bcc67e24ea860e13b910559d
{ "blob_id": "808fbdc958782c71bcc67e24ea860e13b910559d", "branch_name": "refs/heads/master", "committer_date": "2023-09-01T10:22:12", "content_id": "ed8dc2bdc53fce0e8f696bb645feb69e79e98187", "detected_licenses": [ "Apache-2.0" ], "directory_id": "010279e2ba272d09e9d2c4e903722e5faba2cf7a", "extensio...
stackv2
#pragma once #define ATOMIC_COMPILER_BARRIER() __asm__ __volatile__("" \ : \ : \ : "memory") static inline TAtomicBase AtomicGet(const TAtomic& a) { ...
2.5
2
2024-11-18T22:53:32.746724+00:00
2023-06-17T17:46:23
69db0a3997829f8961073e7c6c464cb50c032c61
{ "blob_id": "69db0a3997829f8961073e7c6c464cb50c032c61", "branch_name": "refs/heads/master", "committer_date": "2023-07-11T12:25:31", "content_id": "cd519f610c455b4d8e6a0a465c12b00c5de87abc", "detected_licenses": [ "Unlicense" ], "directory_id": "01ace0f357a25a895df67b2fe60020a9e9713766", "extension...
stackv2
#include <sys/socket.h> #include <sys/un.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <time.h> #include <errno.h> #include "badbadbad_alert.h" #include "libdstr/libdstr.h" #define SOCKFILE "/run/badbadbad/badbadbad.sock" #define LOGFILE "/var/log/badbadbad/badbadbad.log" // get 5 random byt...
2.484375
2
2024-11-18T22:53:32.865599+00:00
2019-07-09T03:03:54
848bf19179f469045adede3ea0b588c34e42615c
{ "blob_id": "848bf19179f469045adede3ea0b588c34e42615c", "branch_name": "refs/heads/master", "committer_date": "2019-07-09T03:03:54", "content_id": "24794199ef87dff3e9be4e66eba4edd88992d722", "detected_licenses": [ "MIT" ], "directory_id": "c0992f311621b1c61af35a35afbe29e6f410fec7", "extension": "c"...
stackv2
#include <assert.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include "trie.h" // a simple assertion-based client for the trie module // you may want to consider making your own I/O based client int main(void) { struct trie *t = trie_create(); assert(t); assert(t->root == NULL); assert(tri...
2.765625
3
2024-11-18T22:53:33.075346+00:00
2021-03-22T18:02:10
3bdb8d725e064a5de707af512a43ad63e9abdc20
{ "blob_id": "3bdb8d725e064a5de707af512a43ad63e9abdc20", "branch_name": "refs/heads/master", "committer_date": "2021-03-22T18:02:10", "content_id": "d6f69e2e9cedad0bb843c700e93ff1a8ec83bdc5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "07e41d65484d1f7c17246be547a7242ceb92b962", "extensio...
stackv2
#ifndef __CORGASM_LOGLIB_H__ #define __CORGASM_LOGLIB_H__ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> // * Levels of errors #define level_critical 50 #define level_error 40 #define level_warning 30 #define level_info 20 #define level_debug 10 #define is_correct_loglevel(loglevel) ((logleve...
2.546875
3