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:07:36.859152+00:00
2022-04-22T16:46:09
c2150c0e4dcae983e7aaafcd4dc33d87eaa5b7b6
{ "blob_id": "c2150c0e4dcae983e7aaafcd4dc33d87eaa5b7b6", "branch_name": "refs/heads/master", "committer_date": "2022-04-22T16:46:09", "content_id": "26aa3011a1fcaf0c8eaecfbaddabb54bc8226e47", "detected_licenses": [ "MIT" ], "directory_id": "11018239b919aeb7257654aa0ff36825c5dbbf9f", "extension": "h"...
stackv2
/* * optimpack-private.h -- * * Private definitions for building OptimPack library. * *----------------------------------------------------------------------------- * * This file is part of OptimPack (https://github.com/emmt/OptimPack). * * Copyright (C) 2014-2016 Éric Thiébaut * * Permission is hereby grant...
2
2
2024-11-18T22:07:36.911370+00:00
2023-08-25T19:44:29
23c2973d372648a1a0de6d88a43fda9ca6ade97f
{ "blob_id": "23c2973d372648a1a0de6d88a43fda9ca6ade97f", "branch_name": "refs/heads/master", "committer_date": "2023-08-25T19:44:29", "content_id": "87b4ccd5a1272e3e9df1a56cd359295ff043d0df", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a4b5d07647547513fbe47f4fd0f8badf08311d72", "extensio...
stackv2
/***************************************************************************** * Name: env.c * * Summary: A better version of printenv/env utility. It avoids the * disfiguring coloration that occurs when normal env hits a 'fg_' * variable (for example fg_red). * * Adapted: Tue 10 Apr 2001 1...
2.828125
3
2024-11-18T22:07:36.965713+00:00
2020-03-22T18:21:09
148403a3339447a80ef6032805c6b83693dcd8db
{ "blob_id": "148403a3339447a80ef6032805c6b83693dcd8db", "branch_name": "refs/heads/master", "committer_date": "2020-03-22T18:21:09", "content_id": "0bb4141910e67547859f0018679979bd3c1c9a3f", "detected_licenses": [ "MIT" ], "directory_id": "7223c8daa48ea4bbd304833c4ef90ac00c552fc0", "extension": "c"...
stackv2
/* view.c Copyright (C) 2019 Cranfield University Author: Tomasz Kurowski <t.j.kurowski@cranfield.ac.uk> 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 w...
2.09375
2
2024-11-18T22:07:37.069940+00:00
2017-03-14T16:51:53
855a2bfc89e2a1494dd076fd64223dafc7c5f178
{ "blob_id": "855a2bfc89e2a1494dd076fd64223dafc7c5f178", "branch_name": "refs/heads/master", "committer_date": "2017-03-14T16:51:53", "content_id": "162b8d1109bc586fa04f5eb664e3e9695b49de57", "detected_licenses": [ "MIT" ], "directory_id": "1b5bd185786409975fc4c2f99a7df21d00c2a521", "extension": "h"...
stackv2
// // srandominterleaver.h // // // Created by Ryan DeMuse on 2/23/17. // // #ifndef srandominterleaver_h #define srandominterleaver_h //#define MIN(x,y) (x > y) ? y : x // Find all prime factors of a given integer // the returned array includes all prime factors and array terminates with -1 entry int * prime...
2.03125
2
2024-11-18T22:07:37.153484+00:00
2014-02-15T00:48:46
a6a95850f7baf4ce4a54016bbfea2c02d9f2f919
{ "blob_id": "a6a95850f7baf4ce4a54016bbfea2c02d9f2f919", "branch_name": "refs/heads/master", "committer_date": "2014-02-15T00:48:46", "content_id": "356e743cd3fa0c88de6e8c9d9dbdbb54777b1334", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8973dd51588517ac8755230820e97b8215cadc92", "extens...
stackv2
#if !defined(BOARD_DATA_C) #define BOARD_DATA_C #include <inttypes.h> /* ------------------------------------------------------------ */ /* Data Tables */ /* ------------------------------------------------------------ */ /* The following declarations define data used in pin mapping. */ /* ---------------...
2.1875
2
2024-11-18T22:07:37.520442+00:00
2020-08-27T14:17:24
39bfa181bd6a931e68efd39ed97d860f33bbf976
{ "blob_id": "39bfa181bd6a931e68efd39ed97d860f33bbf976", "branch_name": "refs/heads/master", "committer_date": "2020-08-27T14:17:24", "content_id": "51c1fc811d4c2fcc30b8998f9843a38a8f5be723", "detected_licenses": [ "MIT" ], "directory_id": "f825d091c137d4a9563a62b57be91252a5472a5c", "extension": "c"...
stackv2
/* Código de implementação do algoritmo de conversão de Celsius para Fahrenheit. Desafio: Pesquise sobre o assunto e implemente o algoritmo de conversão inversa */ #include <stdio.h> int main (void) { /* Declaração de variáveis para o armazenamento da temperatura em Celsius ou Fahrenheit. O tipo float armazena...
3.78125
4
2024-11-18T22:07:38.371244+00:00
2021-07-10T03:27:34
4f56f9d213e115cb4e7e69c4e282400bbb6cae18
{ "blob_id": "4f56f9d213e115cb4e7e69c4e282400bbb6cae18", "branch_name": "refs/heads/master", "committer_date": "2021-07-10T03:27:34", "content_id": "676f53394723ee9e2b1883651eb2d4662f0b5fcf", "detected_licenses": [ "MIT" ], "directory_id": "60ccb4036ccf33bd35b4b7a96d761913cb5cd8f0", "extension": "h"...
stackv2
#include "window_and_input.h" /* -- how 2 draw a mesh -- Shader shader = {}; load(&shader, "vertex_shader.vert", "fragment_shader.frag"); Drawable_Mesh mesh = {}; load(mesh, "object.mesh"); bind(shader); draw(mesh); */ struct Shader { GLuint id; }; void load(Shader* shader, const char* vert_path, const cha...
2.53125
3
2024-11-18T22:07:39.053025+00:00
2021-08-06T06:39:43
3289f53cad34f09bfecdefed4377e9bb209cb97b
{ "blob_id": "3289f53cad34f09bfecdefed4377e9bb209cb97b", "branch_name": "refs/heads/master", "committer_date": "2021-08-06T06:39:43", "content_id": "6fb78f75a4d9780e7ae523011766d3118b57a77f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b0c1ddbf545eac797e25dea2be920d6b954248b2", "extensio...
stackv2
/*----------------------------------------------------------------------------------------------------- 【平 台】龙邱K60核心板-智能车板 【编 写】LQ-005 【E-mail 】chiusir@163.com 【软件版本】V1.0,龙邱开源代码,仅供参考,后果自负 【最后更新】2019年04月02日 【网 站】http://www.lqist.cn 【淘宝店铺】http://shop36265907.taobao.com 【编译平台】IAR 8.2 【功 能】模数转换 【注意事项】 --------...
2.1875
2
2024-11-18T22:07:39.856100+00:00
2016-07-27T08:14:52
eced0c514fc8a34c2cbd6c877b694952bb99b2bb
{ "blob_id": "eced0c514fc8a34c2cbd6c877b694952bb99b2bb", "branch_name": "refs/heads/master", "committer_date": "2016-07-27T08:14:52", "content_id": "69b4eb792210ccff0d885b42b5d1051296ec0775", "detected_licenses": [ "BSD-3-Clause", "VSL-1.0", "BSD-2-Clause" ], "directory_id": "e0de250753df91071...
stackv2
/****************************************************************** iLBC Speech Coder ANSI-C Source Code doCPLC.c Copyright (C) The Internet Society (2004). All Rights Reserved. ******************************************************************/ #include <math.h> #include <stri...
2.125
2
2024-11-18T22:07:41.888996+00:00
2020-10-29T17:13:02
036a9191ad137ad38e3eca1c310fbdc48e8c63d7
{ "blob_id": "036a9191ad137ad38e3eca1c310fbdc48e8c63d7", "branch_name": "refs/heads/main", "committer_date": "2020-10-29T17:13:02", "content_id": "703bba19f4c2e9653b5d5a244f8cc15bac4429a9", "detected_licenses": [ "MIT" ], "directory_id": "cc3101a1e90835c29196fe188d2f778ab688876d", "extension": "c", ...
stackv2
#include "opsoup.h" #include <elf.h> int elf_make_segment_table(image_t *image) { segment_t *segment = NULL; int nsegs = 0, cur = 0; segment_type_t type; Elf32_Ehdr *eh; Elf32_Shdr *sh; char *strings; int i; eh = (Elf32_Ehdr *) image->core; if (eh->e_ident[0] != 0x7f || eh->e_ide...
2.4375
2
2024-11-18T22:07:42.702945+00:00
2023-09-01T01:01:47
7240cf873181b7085f90e6c02be4b379e0bcb025
{ "blob_id": "7240cf873181b7085f90e6c02be4b379e0bcb025", "branch_name": "refs/heads/master", "committer_date": "2023-09-01T01:01:47", "content_id": "51bc2ef6f1a90fc2004c4282c35005fdd6dee532", "detected_licenses": [ "MIT" ], "directory_id": "08d028267d3494963a87e5e5cdc3bd0cf65df843", "extension": "c"...
stackv2
#include <assert.h> #include <ctype.h> #include <limits.h> #include <stdbool.h> #include <string.h> #include <stdio.h> #include "./alloc.h" #include "./atomic.h" #include "./subtree.h" #include "./length.h" #include "./language.h" #include "./error_costs.h" #include <stddef.h> typedef struct { Length start; Length...
2.5
2
2024-11-18T22:07:42.889267+00:00
2021-06-28T08:12:41
42317847c082fa2abac55b0633af73ba0b65c151
{ "blob_id": "42317847c082fa2abac55b0633af73ba0b65c151", "branch_name": "refs/heads/master", "committer_date": "2021-06-28T08:12:41", "content_id": "839aaa6f876a5219d2760b539365c25df52071a8", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ddda55fcfc84ac5cd78cfc5c336a3df0b9096157", "extensio...
stackv2
/*-----------------------------------------------------------------------*/ /* Low level disk I/O module skeleton for FatFs (C)ChaN, 2016 */ /*-----------------------------------------------------------------------*/ /* If a working storage control module is available, it should be */ /* attached to t...
2.296875
2
2024-11-18T22:07:43.388485+00:00
2021-11-21T06:51:27
9e3659475c3b3d1fc945e97da75727276c4c9991
{ "blob_id": "9e3659475c3b3d1fc945e97da75727276c4c9991", "branch_name": "refs/heads/main", "committer_date": "2021-11-21T06:51:27", "content_id": "a4781afaeaf7a00ee79ab7b74d24d6210d75f6fc", "detected_licenses": [ "MIT" ], "directory_id": "5292b03998384c0d2bb5858058892d7e45c5365b", "extension": "c", ...
stackv2
#include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/fcntl.h> #include <sys/types.h> #include <sys/user.h> #include <sys/syscall.h> #include "sandbox.h" #define MAX_PATH (1337 - 1080) static int access_ok(const void *p, size_t size) { unsigned long addr; addr = (unsigned long)p; if ...
2.4375
2
2024-11-18T22:07:43.955359+00:00
2023-07-08T09:56:44
3868e371ffe4cdb14c0fe8b30c9d02426c6eebb3
{ "blob_id": "3868e371ffe4cdb14c0fe8b30c9d02426c6eebb3", "branch_name": "refs/heads/main", "committer_date": "2023-07-08T09:56:44", "content_id": "b32217263ded28384e6de4876b5331670985224b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f62ddee2dcadcae0e90f969be513b04e16dabf58", "extension"...
stackv2
/* Frees a mount handle * Returns 1 if successful or -1 on error */ int mount_handle_free( mount_handle_t **mount_handle, libcerror_error_t **error ) { static char *function = "mount_handle_free"; int result = 1; if( mount_handle == NULL ) { libcerror_error_set( error, LIBCERROR_ERRO...
2.15625
2
2024-11-18T22:07:44.081627+00:00
2023-01-02T11:39:51
dcd2196b27fe0517dd592d80887159ea0f5329bd
{ "blob_id": "dcd2196b27fe0517dd592d80887159ea0f5329bd", "branch_name": "refs/heads/master", "committer_date": "2023-01-02T11:39:51", "content_id": "26ff317708ec784229151262d180ec977f748aa9", "detected_licenses": [ "MIT" ], "directory_id": "b430e4adc91a403bcee390666d8793211e7559ce", "extension": "c"...
stackv2
/* Copyright (c) 2003-2006 by Juliusz Chroboczek Copyright (c) 2017-2023 by Silas S. Brown 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 rig...
2.21875
2
2024-11-18T22:07:44.133549+00:00
2013-06-16T08:53:04
36b4d433f99a214aea9d51ad61d43d301f796153
{ "blob_id": "36b4d433f99a214aea9d51ad61d43d301f796153", "branch_name": "refs/heads/master", "committer_date": "2013-06-16T08:53:04", "content_id": "267d1e59b719b8fa1ef580d4c12d62cf348145d9", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8ef2854e7093e32a32b72646217e563c1269e3b7", "extensio...
stackv2
/* * friso hash table implements functions * defined in header file "friso_API.h". * * @author chenxin * @email chenxin619315@gmail.com */ #include "friso_API.h" #include <stdlib.h> #include <string.h> //-166411799L //31 131 1331 13331 133331 .. //31 131 1313 13131 131313 .. the best #define HASH_FACTOR 13131...
2.734375
3
2024-11-18T22:07:44.288432+00:00
2021-06-07T06:04:10
3a340d71fa5d3e27cf2896f49b11ed1a07df3f2b
{ "blob_id": "3a340d71fa5d3e27cf2896f49b11ed1a07df3f2b", "branch_name": "refs/heads/main", "committer_date": "2021-06-07T06:04:10", "content_id": "f666fbf14e01fa426a60e67c36a8b564b9a72bdb", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "afd0b1f6b516818b63e8fd02642bf965243872e8", "extensio...
stackv2
/* * Copyright (c) 2021 Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * This example uses OTAA to join the LoRaWAN network and then sends the * internal temperature sensors value up as an uplink message periodically * and the first byte of any uplink messages r...
2.75
3
2024-11-18T22:07:44.531386+00:00
2016-08-22T20:40:25
db9c0b74565f5e781803c6a2bcc474dff80c6930
{ "blob_id": "db9c0b74565f5e781803c6a2bcc474dff80c6930", "branch_name": "refs/heads/master", "committer_date": "2016-08-22T20:40:25", "content_id": "42b198537982a809afcac7a6793cc263410151ad", "detected_licenses": [ "MIT" ], "directory_id": "a4650acfdea4a68d7770700cc955d5ef56d3212f", "extension": "c"...
stackv2
#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #define IN_METRIC 6 static int __init cube_volume(void) { int side = 11; int volume = side * side * side; int beforefp, remainderAfterFp; int cubicUnit = 1, base = 10; int i = IN_METRIC; while(i) { cubicUn...
2.578125
3
2024-11-18T22:07:44.643547+00:00
2012-08-17T23:15:54
ce9454b76a0dbb92fedaf6ea47f84dcce51a5f51
{ "blob_id": "ce9454b76a0dbb92fedaf6ea47f84dcce51a5f51", "branch_name": "refs/heads/master", "committer_date": "2012-08-17T23:15:54", "content_id": "81307898cc53ea2ad576049bd62a067adb98adbe", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "42a4567f6769f4e11c3a8d1905417822b9039519", "extens...
stackv2
/* Linux ATAG structures * taken from * http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html * * BSD licensed */ #ifndef ATAGS_H #define ATAGS_H #include "types.h" /* list of possible tags */ #define ATAG_NONE 0x00000000 #define ATAG_CORE 0x54410001 #define ATAG_MEM 0x54410002 ...
2.25
2
2024-11-18T22:07:44.859632+00:00
2021-04-25T11:11:33
a1559af13b6ab90de90c7da30ff0067a038ae675
{ "blob_id": "a1559af13b6ab90de90c7da30ff0067a038ae675", "branch_name": "refs/heads/main", "committer_date": "2021-04-25T11:11:33", "content_id": "c3b35ece122b4c191716e9e915321042bcfb4195", "detected_licenses": [ "MIT" ], "directory_id": "b5408d0cec849dac5569c7f535358558d245ddb1", "extension": "c", ...
stackv2
/* ------------------------------------------------------------------------- *\ * Standard Includes * ------------------------------------------------------------------------- */ #include <unistd.h> #include <dirent.h> /* ------------------------------------------------------------------------- *\ * Espressif speci...
2.40625
2
2024-11-18T22:07:45.289403+00:00
2023-07-01T05:06:50
8fc0a35c39faeeb29adc3bc9de6a4e99d74b6c7c
{ "blob_id": "8fc0a35c39faeeb29adc3bc9de6a4e99d74b6c7c", "branch_name": "refs/heads/master", "committer_date": "2023-07-01T05:06:50", "content_id": "0db5a2e739f30cc48972eb3a425603cc89a8a90c", "detected_licenses": [ "MIT" ], "directory_id": "e44160cb77979de82646d9a599486ddee7af9f02", "extension": "c"...
stackv2
//****************************************************************************** #define _IN_LCD_LTPS //------------------------------------------------------------------------------ #include "Memap.h" #include "Macro.h" #include "Lcd.h" //----------------------------------------------------------------------------...
2.078125
2
2024-11-18T22:07:45.428109+00:00
2015-12-12T21:48:39
f43f3ce7428da6733250d35f414ce2ec5c030a57
{ "blob_id": "f43f3ce7428da6733250d35f414ce2ec5c030a57", "branch_name": "refs/heads/master", "committer_date": "2015-12-12T21:48:39", "content_id": "641d3bdc76aacce2cbfe0ad9ea2b02ddc3b3eaa9", "detected_licenses": [ "MIT" ], "directory_id": "84c3ed2250f0525860d324d5c2a8a2cb93e2e443", "extension": "c"...
stackv2
/** * * knxmon.c * * KNX bus monitor with buffer * * knxmon maintains three shared memory segments and a message buffer * to communicate with otehr processes. * * Shared Memory Segment #0: COM Table with sizes of the following three * shared memory segments * -> COMtable, -> int *sizeTable * Shared Me...
2.265625
2
2024-11-18T22:07:45.507181+00:00
2020-11-30T16:48:53
851be8237b1657c3a775676610feec376c01bf1e
{ "blob_id": "851be8237b1657c3a775676610feec376c01bf1e", "branch_name": "refs/heads/master", "committer_date": "2020-11-30T16:48:53", "content_id": "0d64c3406229876e5dbff9b3413323cff5189208", "detected_licenses": [ "MIT" ], "directory_id": "19cef05f3353365dad59b24222a0709228ef2467", "extension": "h"...
stackv2
#include <HTTPClient.h> #include <WiFi.h> #include <stdio.h> const char *ssid = "seu-wlan"; // Your ssid const char *password = ""; // Your password const char *id = ""; // Your student id IPAddress myIP; void wifi_setup() { Serial.println(); Serial.println(); Serial.print("Connecting to...
2.140625
2
2024-11-18T22:07:45.600436+00:00
2017-06-30T21:32:06
1d7e5abe54fd2b5e3040e075e75cc1f6c19f1ceb
{ "blob_id": "1d7e5abe54fd2b5e3040e075e75cc1f6c19f1ceb", "branch_name": "refs/heads/master", "committer_date": "2017-06-30T21:32:06", "content_id": "45a14c674bf621b3347b82efb59bf500fd077c6b", "detected_licenses": [ "MIT" ], "directory_id": "4bd36db56cad5b790e01e48dd55be67a638222c2", "extension": "c"...
stackv2
#include<stdio.h> #include<math.h> #include"LetterGrade.h" int main(void){ FILE *input_file = NULL, *output_file = NULL; double score = 0 ; char letter_grade = '\0'; input_file = fopen("score.dat", "r"); output_file = fopen("letter_grade.dat", "w"); //if ((input_file == NULL) return (0); }
2.203125
2
2024-11-18T22:07:46.460778+00:00
2023-08-30T20:47:27
0e30f47586ae71dd3dc76d017d1086c42446ba27
{ "blob_id": "0e30f47586ae71dd3dc76d017d1086c42446ba27", "branch_name": "refs/heads/main", "committer_date": "2023-08-30T20:47:27", "content_id": "cf919922e77ba1b83840477b3bd5884516750bcb", "detected_licenses": [ "MIT" ], "directory_id": "2c401decaf99fae89bb5a24018c14591578998c6", "extension": "c", ...
stackv2
/* * This program implements a breadth-first search which * exhaustively solves the Countdown numbers game, and related * games with slightly different rule sets such as `Flippo'. * * Currently it is simply a standalone command-line utility to * which you provide a set of numbers and it tells you everything * i...
2.921875
3
2024-11-18T22:07:46.763315+00:00
2023-08-24T20:51:08
a4ca478f5a1a7651dfdd464ec6a47f054c977d81
{ "blob_id": "a4ca478f5a1a7651dfdd464ec6a47f054c977d81", "branch_name": "refs/heads/master", "committer_date": "2023-08-24T20:51:08", "content_id": "d2d400fe74adaaef4e1689f9ac54d041c7b232f4", "detected_licenses": [ "MIT" ], "directory_id": "54f59bfc9d657e35f52762fd7ac5a5034c301dfb", "extension": "h"...
stackv2
/*********************************************************************** * Copyright (c) 2021 Jonas Nick * * Distributed under the MIT software license, see the accompanying * * file COPYING or https://www.opensource.org/licenses/mit-license.php.* ***************************...
2.125
2
2024-11-18T22:07:47.060066+00:00
2020-12-27T14:28:18
ab694ec5b9c9de1353137711ab1e8d23e6e43976
{ "blob_id": "ab694ec5b9c9de1353137711ab1e8d23e6e43976", "branch_name": "refs/heads/master", "committer_date": "2020-12-27T14:28:18", "content_id": "3b6dd90f0d5ac00aa3eb002464374a8394cb76c7", "detected_licenses": [ "MIT" ], "directory_id": "ce71e0357c9b6424981bd56464fc13fd4e245d03", "extension": "c"...
stackv2
/* sdb - MIT - Copyright 2020 - thestr4ng3r */ #include "sdb.h" #include <fcntl.h> #include <limits.h> #include <sys/stat.h> #if USE_MMAN #include <sys/mman.h> #endif /** * ******************** * Plaintext SDB Format * ******************** * * Files are UTF-8 and use '\n' line endings. Always. * * Lines star...
2.859375
3
2024-11-18T22:07:47.133266+00:00
2023-08-30T17:40:54
9b1db686b906262eb01d4592d72eea895588ee1c
{ "blob_id": "9b1db686b906262eb01d4592d72eea895588ee1c", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T17:40:54", "content_id": "87f669e867f1ae085ca8b164e62d7b3ca42676ea", "detected_licenses": [ "BSD-3-Clause-Clear" ], "directory_id": "7df190df28da7e4ff166e55dc8ce780f11236a9f", "...
stackv2
/*====================================================================* * * void SHA256Ident (signed fd, uint8_t digest []); * * SHA256.h * * compute the SHA256 digest of file content; the digest becomes * the fingerprint that can be used to identify the file despite * filename changes; * * Motle...
2.375
2
2024-11-18T22:07:47.212584+00:00
2022-05-07T10:33:07
0206ce3d6ba286a2dd5f666f7c6ece8d7de125dd
{ "blob_id": "0206ce3d6ba286a2dd5f666f7c6ece8d7de125dd", "branch_name": "refs/heads/master", "committer_date": "2022-05-07T10:33:07", "content_id": "d2972b2c8aedf42178f30d7164fa65154134eb0f", "detected_licenses": [ "MIT" ], "directory_id": "c0ac5ccb734e6d27bc3b6b769e8714fc0ad33a41", "extension": "c"...
stackv2
#include "mcp4728.h" static I2C_HandleTypeDef *_hi2c; static uint8_t _address; #define Timeout 10 #define GERNAL_CALL_COMMAND 0x0 #define GENERAL_CALL_RESET 0x6 #define GENERAL_CALL_WAKE_UP 0x9 #define SINGLE_WRITE_COMMAND 0xB #define MULTI_WRITE_COMMAND 0x8 static uint16_t channel_value[4] = {0}; static uint8_t cha...
2.625
3
2024-11-18T22:07:47.565673+00:00
2020-10-30T00:17:47
dc9effcf0577a7d726a187a321c5b7de72614b32
{ "blob_id": "dc9effcf0577a7d726a187a321c5b7de72614b32", "branch_name": "refs/heads/master", "committer_date": "2020-10-30T00:17:47", "content_id": "486656a421727230b75811f4bed174c2f4e5ed43", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "1225a800ff710a990f3c35541fda559f34b0cb65", "extens...
stackv2
/* * Copyright (C) Igor Sysoev * Copyright (C) Rap, Inc. */ #ifndef _RAP_EVENT_POSTED_H_INCLUDED_ #define _RAP_EVENT_POSTED_H_INCLUDED_ #include <rap_config.h> #include <rap_core.h> #include <rap_event.h> #define rap_post_event(ev, q) \ ...
2.03125
2
2024-11-18T22:07:47.740490+00:00
2015-05-05T21:15:59
63037a84bb2802841071357d458f7ce77f8f6d07
{ "blob_id": "63037a84bb2802841071357d458f7ce77f8f6d07", "branch_name": "refs/heads/master", "committer_date": "2015-05-05T21:15:59", "content_id": "cadccd2645eed51c3a733da6bf3728d2b38076ea", "detected_licenses": [ "MIT" ], "directory_id": "b6f98f617fc9c7cbb05962ca28b6a746df00e4e0", "extension": "c"...
stackv2
#include <p24FJ128GB206.h> #include "config.h" #include "common.h" #include "control_tools.h" #include "pin.h" #include "timer.h" #include "uart.h" #include "ui.h" #include "oc.h" #include "spi.h" #include <stdio.h> uint16_t best_score = 0; int won = 0; int lost = 0; void start_game(void) { pin_set(&D[SCORE_START...
2.375
2
2024-11-18T22:07:47.793021+00:00
2021-07-24T06:39:22
1ac7836dfdf686b8ed826ca1eb3ffb34587f54ce
{ "blob_id": "1ac7836dfdf686b8ed826ca1eb3ffb34587f54ce", "branch_name": "refs/heads/main", "committer_date": "2021-07-24T06:39:22", "content_id": "ad6e61e242e825504310549d2a789a25746e08b2", "detected_licenses": [ "MIT" ], "directory_id": "276d1c0add0b13d3f9dafde20dddba7b81889cb4", "extension": "c", ...
stackv2
// program to finf the length of the given string #include <stdio.h> #include <conio.h> int main() { char str[100]; int len = 0; printf("\nenter the string: "); gets(str); for (int i = 0; str[i] != '\0'; i++) len++; printf("\nentered string length is %d", len); return 0; }
3.5
4
2024-11-18T22:07:47.839674+00:00
2016-05-22T09:55:23
e4ae5c2788a4cf66c84580ef82e071ecb3cd269d
{ "blob_id": "e4ae5c2788a4cf66c84580ef82e071ecb3cd269d", "branch_name": "refs/heads/master", "committer_date": "2016-05-22T09:55:23", "content_id": "741d594ba4501026ac6564faee3680bf03468e3e", "detected_licenses": [ "MIT" ], "directory_id": "b0d616237d9eee802f70880c39141fbb620f3dfe", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> #include <stdlib.h> long array_size = 2000000; // size of chunks to shuffle individually typedef double real; typedef struct cooccur_rec { int word1; int word2; real val; } CREC; /* Write contents of array to binary file */ int write_chunk(CREC *array, long size, F...
3.3125
3
2024-11-18T22:07:47.906083+00:00
2016-05-30T09:23:46
ef91b820078a715550da280f4e2413ac0253108c
{ "blob_id": "ef91b820078a715550da280f4e2413ac0253108c", "branch_name": "refs/heads/master", "committer_date": "2016-05-30T09:23:46", "content_id": "2f21a16e575d8e13b5e289491769de2ebadffeed", "detected_licenses": [ "MIT" ], "directory_id": "9c5c9c4312f0ad0f00037a8474ca12e47a4f6cbf", "extension": "c"...
stackv2
/** * dynarray_tests.c * * Tests for dynamic array of arcs used in pnC * * @author David LAWRENCE * **/ #include "dynarray_tests.h" /* A testcase that test the creation of an array with no given maximum bound */ void create_array_test1(void **state) { dyn_array * array = new_array(); assert_non_null(a...
3.28125
3
2024-11-18T22:07:47.991938+00:00
2013-05-27T20:41:20
5472181b3c41c59bbfd1f98ccd47798c56fd099a
{ "blob_id": "5472181b3c41c59bbfd1f98ccd47798c56fd099a", "branch_name": "refs/heads/master", "committer_date": "2013-05-27T20:41:20", "content_id": "88173132bdb0d2ee50f9546d38fda6934d69ebf5", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "66b79b6feb40295424b7af708afb86d7...
stackv2
/* $chaos: skeleton.c,v 1.2 2002/07/12 10:13:31 johannes Exp $ */ /* Abstract: <some NIC-controller> ethernet module. */ /* Author: Your Name <your@email> */ /* Copyright 2002 chaos development. */ /* Use freely under the terms listed in the file LICENSE. */ #include <storm/storm.h> #include <ethernet/eth...
2.03125
2
2024-11-18T22:07:48.571555+00:00
2022-05-08T00:49:49
757725d80b96c83af88e8b197e159258c1df7d6b
{ "blob_id": "757725d80b96c83af88e8b197e159258c1df7d6b", "branch_name": "refs/heads/master", "committer_date": "2022-05-08T00:49:49", "content_id": "23fc2b95fe4301771bf9b61c031a19b3f922849e", "detected_licenses": [ "MIT" ], "directory_id": "ef9e00054970b58c01c1fd47d810c0a50a1a7d44", "extension": "c"...
stackv2
#include<stdlib.h> #include<stdio.h> #include<hongyulib.h> #include<math.h> #include<string.h> #include<sacio.h> #include<ESF.h> /****************************************************************** * This is a c script to construct first E.W. for PHASES * * we use S E.W. for phases, expect * * we apply -1*S_EW f...
2.40625
2
2024-11-18T22:07:54.198746+00:00
2019-01-03T10:58:03
590f2feaac298e32633647ef2821e2cf0fd54365
{ "blob_id": "590f2feaac298e32633647ef2821e2cf0fd54365", "branch_name": "refs/heads/master", "committer_date": "2019-01-03T10:58:03", "content_id": "e639045bef6788b5195d33573cd95916079424d1", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "447ac9e005724d778214e7ac36406653b204dfcf", "extens...
stackv2
/************************************************************************************************************ * Copyright (c) 2018, Dolby Laboratories Inc. * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2
2
2024-11-18T22:07:54.281759+00:00
2023-07-13T05:41:20
e3e37a6478f22496410209685a5fe5647fdab168
{ "blob_id": "e3e37a6478f22496410209685a5fe5647fdab168", "branch_name": "refs/heads/master", "committer_date": "2023-07-13T05:41:20", "content_id": "c6a20a807964695713ea46ccddce603bfe740259", "detected_licenses": [ "MIT" ], "directory_id": "f6b0b20263ba6f3d284295c8fb3bda11d3f1f5db", "extension": "c"...
stackv2
/* * Copyright 2022 Yury Gribov * * The MIT License (MIT) * * Use of this source code is governed by MIT license that can be * found in the LICENSE.txt file. */ #include <stdio.h> #include "interposed.h" void test() { int x, y; // Slow path x = foo(25, 0.5), y = bar(11, 22, 33); printf("Results: %x ...
2.6875
3
2024-11-18T22:07:54.413842+00:00
2023-08-19T21:19:25
7e0ee8de6f6b589e68e560661689f84bb6da3656
{ "blob_id": "7e0ee8de6f6b589e68e560661689f84bb6da3656", "branch_name": "refs/heads/master", "committer_date": "2023-08-19T21:19:25", "content_id": "92a20cd92905511c74c9b42455c703d18a56d904", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7d09106c46f6845bfe554a16d737cb87f44f6cc9", "extensio...
stackv2
/* * Copyright (c) 2017 Trail of Bits, 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 o...
2
2
2024-11-18T22:07:54.662785+00:00
2018-02-02T02:20:45
363274a71a48c0c5e938f7c04ccc44cd726ac599
{ "blob_id": "363274a71a48c0c5e938f7c04ccc44cd726ac599", "branch_name": "refs/heads/master", "committer_date": "2018-02-02T02:20:45", "content_id": "6899369dd167affb034905c9c4b83af3a54c4ba0", "detected_licenses": [ "MIT" ], "directory_id": "72b61dab89b667cec8cb1f1fa8cfff57041969d9", "extension": "c"...
stackv2
/* * Copyright (c) 2018 Steven Lee <geekerlw@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
2.109375
2
2024-11-18T22:07:54.974573+00:00
2015-12-04T03:16:16
32a1ef01a66e39e91ae47c284b904df4a3772961
{ "blob_id": "32a1ef01a66e39e91ae47c284b904df4a3772961", "branch_name": "refs/heads/master", "committer_date": "2015-12-04T03:16:22", "content_id": "8b7a394aa50da0f427efe0870761e869480302a3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "277750900ff2cd4dd856a6d3ce6ec11bb17d36e5", "extens...
stackv2
#include <naiveConsole.h> #include <video.h> #include <keyboard.h> #include <CMOS.h> #include <alloc.h> #include <scheduler.h> #include <shmem.h> #include <paging.h> #define SYSCALL_READ 3 #define SYSCALL_WRITE 4 #define SYSCALL_TIME_READ 2 #define SYSCALL_TIME_WRITE 5 #define SYSCALL_SCREEN_SAVER_SET 6 #define SYSCAL...
2.09375
2
2024-11-18T22:07:55.163927+00:00
2022-09-03T19:47:15
50c08ec80495925157d91ad0d121ce0ef06fb443
{ "blob_id": "50c08ec80495925157d91ad0d121ce0ef06fb443", "branch_name": "refs/heads/master", "committer_date": "2022-09-03T19:47:15", "content_id": "c32dbc850801a4b4e6286881c71b1ce99ef69232", "detected_licenses": [ "Mup" ], "directory_id": "fe62766148adeb35a8204e038d29a9647fcb80d0", "extension": "h"...
stackv2
#ifndef _ALLOC_DEBUG_ #define _ALLOC_DEBUG_ /* This is used for debugging difficult bugs that corrupt malloc space. * Mup can be compiled with -DMUP_ALLOC_DEBUG, to save information * in a memory-mapped file, that a post processor can then make human readable, * to hopefully give useful clues. */ #include <sys/ty...
2.375
2
2024-11-18T22:07:55.508767+00:00
2017-04-29T06:17:24
ff8bfe15df767612ce7d851e6982d4b23c5a6513
{ "blob_id": "ff8bfe15df767612ce7d851e6982d4b23c5a6513", "branch_name": "refs/heads/lab-general", "committer_date": "2017-04-29T06:17:24", "content_id": "b062c5282d0dcd7f3c5be0e860393326212b0ab8", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b725ba18b99398ce8459b8877691135e0cdf4d51", "e...
stackv2
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
2.109375
2
2024-11-18T22:07:55.992987+00:00
2021-06-11T22:01:46
d2965f8788926bf9b6c55fbdb12a4def6a1d71f4
{ "blob_id": "d2965f8788926bf9b6c55fbdb12a4def6a1d71f4", "branch_name": "refs/heads/main", "committer_date": "2021-06-11T22:01:46", "content_id": "72e75f363657d8b3408855a99d190da7f2cdbf1d", "detected_licenses": [ "MIT" ], "directory_id": "288ac3dcbb2f92b5fabc38735004db1235efb580", "extension": "h", ...
stackv2
/* Copyright (c) Microsoft Corporation. Licensed under the MIT License. */ /** @file */ #ifndef NX_VT_FALLCURVE_COMPONENT_H #define NX_VT_FALLCURVE_COMPONENT_H #ifdef __cplusplus extern "C" { #endif #include "nx_azure_iot_json_reader.h" #include "nx_azure_iot_json_writer.h" #include "nx_azure_iot_pnp_client.h" ...
2.046875
2
2024-11-18T22:07:56.081733+00:00
2021-09-04T03:01:26
7a2707ff22fa89a619c988cecf83ba84948252e8
{ "blob_id": "7a2707ff22fa89a619c988cecf83ba84948252e8", "branch_name": "refs/heads/main", "committer_date": "2021-09-04T03:01:26", "content_id": "7a9e8939c76570c02b3f424d5b01fa9ca0b4db0c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "82242d56ad1e7baeffcd574f85e93d59c672aa4e", "extension"...
stackv2
/* * file.c * QG8 base library file source. * * Author : Finn Rayment <finn@rayment.fr> * Date created : 01/05/2021 */ /* * Copyright 2021 University of Strasbourg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
2.296875
2
2024-11-18T22:07:56.321931+00:00
2022-12-28T22:40:30
ea9550db391d0df815581849be828e2e8bcbd351
{ "blob_id": "ea9550db391d0df815581849be828e2e8bcbd351", "branch_name": "refs/heads/master", "committer_date": "2022-12-28T22:40:30", "content_id": "09e70f2d068d5c4e21ae85176165c240e83bd7d2", "detected_licenses": [ "MIT" ], "directory_id": "6168b5fe749fc5fc7fa519ab3d4851ef4c7c7596", "extension": "h"...
stackv2
/* libuEv - Private methods and data types, do not use directly! * * Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk> * Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and as...
2.140625
2
2024-11-18T22:07:56.442590+00:00
2022-08-22T22:55:15
af4ddf6100e5a89474be44070ec1724b608d8508
{ "blob_id": "af4ddf6100e5a89474be44070ec1724b608d8508", "branch_name": "refs/heads/master", "committer_date": "2022-08-22T22:55:15", "content_id": "64c42a3265ef976a4f2bf4571abef0e1b95ec282", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "4e03abc5b44e6da6438da2934a46c098eaacd782", "extens...
stackv2
/* GameSpy Chat SDK Dan "Mr. Pants" Schoenblum dan@gamespy.com Copyright 1999-2007 GameSpy Industries, Inc devsupport@gamespy.com */ /************* ** INCLUDES ** *************/ #include "chat.h" #include "chatMain.h" #include "chatASCII.h" #include "chatSocket.h" #include "chatHandlers.h" #include "chatChannel.h" ...
2.125
2
2024-11-18T22:07:56.997298+00:00
2019-09-06T19:04:53
aba0fe30b957c08c1980c0d2fe27cb20f020e3bc
{ "blob_id": "aba0fe30b957c08c1980c0d2fe27cb20f020e3bc", "branch_name": "refs/heads/master", "committer_date": "2019-09-06T19:04:53", "content_id": "ad5d1509a230cc5d12e9753bc53c2c162f44eaec", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9858ed25b8dbbe4ff7c938edb79f8bee40c679bb", "extens...
stackv2
/* (C) 2013-2016, The Regents of The University of Michigan All rights reserved. This software was developed in the APRIL Robotics Lab under the direction of Edwin Olson, ebolson@umich.edu. This software may be available under alternative licensing terms; contact the address above. GNU LGPL This library is free so...
2.546875
3
2024-11-18T22:07:57.287182+00:00
2016-11-14T21:28:38
fbb07b1f0c91116077f9befd50b6a698d5b6b72a
{ "blob_id": "fbb07b1f0c91116077f9befd50b6a698d5b6b72a", "branch_name": "refs/heads/master", "committer_date": "2016-11-14T21:28:38", "content_id": "2b68456f4b3b91a007d3c9160b18481deb1bc2d0", "detected_licenses": [ "MIT" ], "directory_id": "b36301a7733e9543475521127b42bfe3954f70e8", "extension": "c"...
stackv2
#include <dissectors/arp/arp.h> static const osi_dissector_t arp = { .layer = OSI_LAYER_2, .name = "arp", .operations = { .handles = &arp_dissector_handles, .dump = &arp_dissector_dump, .decapsulate = &arp_dissector_decapsulate } }; /** * \brief Creates a new instan...
2.734375
3
2024-11-18T22:07:57.759194+00:00
2020-12-03T17:56:47
da10f7f06bcac7bb67dee227a78b3e42b8914e6e
{ "blob_id": "da10f7f06bcac7bb67dee227a78b3e42b8914e6e", "branch_name": "refs/heads/master", "committer_date": "2020-12-03T17:56:47", "content_id": "aa322dc3dbb0e23741fd3cab4e8c45b8eed310d0", "detected_licenses": [ "MIT" ], "directory_id": "ce815e4a0fae69b6e20bef664f3380063a9a4286", "extension": "c"...
stackv2
#include "types.h" // forward declare main void skyline_init(); typedef void (*func_ptr)(void); extern func_ptr __preinit_array_start__[0], __preinit_array_end__[0]; extern func_ptr __init_array_start__[0], __init_array_end__[0]; extern func_ptr __fini_array_start__[0], __fini_array_end__[0]; void __custom_init(voi...
2
2
2024-11-18T22:07:59.100933+00:00
2020-10-01T08:25:18
77a1ed62883b8652493714fb7e5e01d8bdf6a142
{ "blob_id": "77a1ed62883b8652493714fb7e5e01d8bdf6a142", "branch_name": "refs/heads/master", "committer_date": "2020-10-01T08:25:18", "content_id": "fc336d7fa81c6866fb28f84058e566e926c328ea", "detected_licenses": [ "MIT" ], "directory_id": "6ed7cdb046f12c626a0e9480f999a1e434d5c532", "extension": "c"...
stackv2
/* * Copyright (c) 2016-2020: National Institute of Advanced Industrial Science * and Technology (AIST). All right reserved. */ /* vim: set expandtab ts=4 sw=4 ai */ #define _GNU_SOURCE #include <sched.h> #include <sys/syscall.h> #include "monitor.h" #include "pebs.h" void disable_mon(const uint32_t target, struc...
2.375
2
2024-11-18T22:07:59.662736+00:00
2018-10-03T04:37:41
d6743bcceaf71facf6caaa4402a91aca7c888f01
{ "blob_id": "d6743bcceaf71facf6caaa4402a91aca7c888f01", "branch_name": "refs/heads/master", "committer_date": "2018-10-03T04:37:41", "content_id": "98a8f146324081a23dab388d1aa41f3192e58ad2", "detected_licenses": [ "MIT" ], "directory_id": "1fb8e719a307bf1befc0b3a5f27eb3a10aa80405", "extension": "h"...
stackv2
/***************************************************************************** file board_led.h brief This file contains the CC2650 LaunchXL LED service definitions and prototypes proj EVRS date 1023pm 29 Jul 2018 author Ziyi *****************************************************************************/ #ifnd...
2.09375
2
2024-11-18T22:08:00.091552+00:00
2020-06-19T14:19:34
40af4c26dbb1e1987e4e6273eaffe544329b0c42
{ "blob_id": "40af4c26dbb1e1987e4e6273eaffe544329b0c42", "branch_name": "refs/heads/master", "committer_date": "2020-06-19T14:19:34", "content_id": "b440b3f26bf07c785112711cf81c376f3f9d8ab1", "detected_licenses": [ "MIT" ], "directory_id": "bfb7de3908f55bf0bfcfce63d548d5ba03658869", "extension": "c"...
stackv2
#include <stdio.h> #include "../src/substrate-methods.h" #include "../tests/utils.h" #include "../src/kusama.h" // this example shows how to generate a signed extrinsic containing a balance transfer // the resulting hex array is ready to be submitted to the JSON RPC author_submitExtrinsic int main() { SubstrateKe...
2.140625
2
2024-11-18T22:08:00.274852+00:00
2019-09-06T04:32:43
9559c79c167545e02c5ea05dd081082c97021f76
{ "blob_id": "9559c79c167545e02c5ea05dd081082c97021f76", "branch_name": "refs/heads/master", "committer_date": "2019-09-06T04:32:43", "content_id": "80ac1553170a4a7cf3a9ef7bbfd07659299cac14", "detected_licenses": [ "MIT" ], "directory_id": "cf437ddf1d674567a2d4655785df18ec6b7a9926", "extension": "h"...
stackv2
#ifndef _COMPRESS_ #define _COMPRESS_ /** * @define ASCII_SIZE * * @discussion Maximum array size */ #define ASCII_SIZE 256 /** * @typedef U_CHAR * * @discussion Uses unsigned char to preserve the pattern and the most significant bit to lose its function as signal bit */ typedef unsigned char U_CHAR; /** @...
2.15625
2
2024-11-18T22:08:00.523097+00:00
2020-10-01T20:27:52
6572e8791dae9feed6d2d32c530c21fd49dcfb1f
{ "blob_id": "6572e8791dae9feed6d2d32c530c21fd49dcfb1f", "branch_name": "refs/heads/master", "committer_date": "2020-10-01T20:27:52", "content_id": "e51f61e057746933c9c05866d566bf2329b225a9", "detected_licenses": [ "MIT" ], "directory_id": "f4752ed453ae2b0758a4b3dd32bde1f149790c72", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> int main (){ int horaChegada,minutoChegada,horaSaida,minutoSaida,horaTotal,minutoTotal; float preco; printf("Digite o horario de chegada\n"); printf("Hora: "); scanf("%d",&horaChegada); printf("Minuto: "); scanf("%d",&minutoChegada); ...
3.484375
3
2024-11-18T22:08:01.505853+00:00
2023-06-23T07:33:54
2784a74f877b2f341a5eadf9fee76abfde8669e1
{ "blob_id": "2784a74f877b2f341a5eadf9fee76abfde8669e1", "branch_name": "refs/heads/master", "committer_date": "2023-06-23T07:33:54", "content_id": "972007fe7d7b7264e7c4d479e9a18c3d64dcd5dd", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6c914c9e8e2c5fc6c3a695247bdee6581d8adde4", "extensio...
stackv2
/* ******************************************************************************* \file word_test.c \brief Tests for operations on machine words \project bee2/test \created 2015.05.22 \version 2017.01.11 \copyright The Bee2 authors \license Licensed under the Apache License, Version 2.0 (see LICENSE.txt). ************...
2.625
3
2024-11-18T22:08:03.956825+00:00
2020-10-07T02:35:18
5c5a42a3a21cd0576f7f632037407209265d3277
{ "blob_id": "5c5a42a3a21cd0576f7f632037407209265d3277", "branch_name": "refs/heads/master", "committer_date": "2020-10-07T02:35:18", "content_id": "1c648aa269c147ba13c633bcf90f8170e781b077", "detected_licenses": [ "MIT" ], "directory_id": "49acd1bf41c9651967e492f8294c8280bcf303e0", "extension": "h"...
stackv2
/* KallistiOS ##version## arch/dreamcast/include/cache.h (c)2001 Dan Potter */ /** \file arch/cache.h \brief Cache management functionality. This file contains definitions for functions that manage the cache in the Dreamcast, including functions to flush and invalidate the caches. \author ...
2.078125
2
2024-11-18T22:08:04.120125+00:00
2014-03-12T17:39:40
afbc2b86923b72b15fa1d05a84dac002ca0a49b6
{ "blob_id": "afbc2b86923b72b15fa1d05a84dac002ca0a49b6", "branch_name": "refs/heads/master", "committer_date": "2014-03-12T17:39:40", "content_id": "a2b715a03ffc170091b9eec4964475237100c438", "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. */ #include <fcntl.h> #include "hwpl/usb.h" #include "hwpl/gpio.h" #include "usb_flags.h" static uint32_t usb_irq_mask; static usb_attr_t usb_ctl; static void usb_connect(uint32_t con); static in...
2.25
2
2024-11-18T22:08:04.798007+00:00
2015-12-05T14:35:39
e1bc0a577e4706cc4ec55d6de102bfc51344abfa
{ "blob_id": "e1bc0a577e4706cc4ec55d6de102bfc51344abfa", "branch_name": "refs/heads/master", "committer_date": "2015-12-05T14:35:39", "content_id": "6779d00b63000fb8bd424282d728c7c7ed5a44f8", "detected_licenses": [ "MIT" ], "directory_id": "97d9eff80842adfb9949e27c9ac9667e9ab083d4", "extension": "h"...
stackv2
/* @file stm32f10x_lcd.h @author vkl @version V0.0.1 @date 18 November 2015 @brief HD44780 driver */ #ifndef __STM32F10x_LCD_H #define __STM32F10x_LCD_H #include "delay.h" /* User defined settings */ #define LCD_DATA_PORT GPIOC #define LCD_COM_PORT GPIOC #define LCD_RS 0 #define LCD_E 1 #define...
2.25
2
2024-11-18T22:08:04.955978+00:00
2016-10-16T03:55:24
418108ace0bf474210c6b06a228ccdee00106ff2
{ "blob_id": "418108ace0bf474210c6b06a228ccdee00106ff2", "branch_name": "refs/heads/master", "committer_date": "2016-10-16T03:55:24", "content_id": "c30fe446d965cfb6c01084e98fe02dab61a121fa", "detected_licenses": [ "MIT" ], "directory_id": "f1f8055dc21ff099b80c7fb6092c5308f07b699f", "extension": "c"...
stackv2
/* Like fork(), vfork() is used by the calling process to create a new child process. However, vfork() is expressly designed to be used in programs where the child performs an immediate exec() call. - Page tables are shared between child and parent until child does exec (file descriptors are duplicated) - Exec...
3.5
4
2024-11-18T22:57:51.385373+00:00
2016-06-17T20:52:07
4f7688d7d4b71ee459da1484926a6278279b30d4
{ "blob_id": "4f7688d7d4b71ee459da1484926a6278279b30d4", "branch_name": "refs/heads/master", "committer_date": "2016-06-17T20:52:07", "content_id": "df20566eb49ed99d9230b7d870a90d4d0344dc87", "detected_licenses": [ "MIT" ], "directory_id": "f941fcd288c75770000ff9788c5a9c272fe70959", "extension": "c"...
stackv2
#include "internal.h" #include "store.h" int frjs_dir_exists(Store *store, const char* fname) { return store->exists(store, fname); } void frjs_dir_touch(Store *store, const char* fname) { store->touch(store, fname); } bool frjs_dir_delete(Store *store, const char* fname) { return store->remove(store, fname...
2.234375
2
2024-11-18T22:57:52.001293+00:00
2014-10-21T02:55:02
7379d906d4876d7ca28e57525edcac0e3fe95e1f
{ "blob_id": "7379d906d4876d7ca28e57525edcac0e3fe95e1f", "branch_name": "refs/heads/master", "committer_date": "2014-10-21T02:55:02", "content_id": "bd872584d72cb9f0eae0a6a4d208c0230b999dfe", "detected_licenses": [ "MIT" ], "directory_id": "9feee66470eea1dd75162994bfa06fea823be305", "extension": "h"...
stackv2
#ifndef LOG_H #define LOG_H #include <stdint.h> #include <stdarg.h> #ifdef __cplusplus extern "C"{ #endif #define LOG_DEBUG 0 #define LOG_WARN 1 #define LOG_ERROR 2 extern struct logger_ { /** Set log level. Return the old level. */ uint8_t (*set_level)(uint8_t level); /** Get current log level. */ uint8_t ...
2.15625
2
2024-11-18T22:57:52.185116+00:00
2021-01-19T14:10:46
72a7b5532f4eb824dc09deff1e59b0147149df1c
{ "blob_id": "72a7b5532f4eb824dc09deff1e59b0147149df1c", "branch_name": "refs/heads/master", "committer_date": "2021-01-19T14:11:30", "content_id": "465fc38d5c5d810ae6aa6c528ca828ef382b757b", "detected_licenses": [ "MIT" ], "directory_id": "cde025acd2178e8e1b92502bed88c88dba9d4d7f", "extension": "c"...
stackv2
#include "stdafx.h" #include "view.h" inline BOOL PointsInRange(Point p1, Point p2, int range) { return (abs(p1.x - p2.x) < range) && (abs(p1.y - p2.y) < range); } inline BOOL PointInRectangle(Point p, RECT *pRect) { return (((p.x - pRect->left) * (p.x - pRect->right)) < 0) && (((p.y - pRect->top) * (...
2.4375
2
2024-11-18T22:57:52.267245+00:00
2021-04-11T14:19:24
1faff63329da786757d0308041db014c1fb39c26
{ "blob_id": "1faff63329da786757d0308041db014c1fb39c26", "branch_name": "refs/heads/main", "committer_date": "2021-04-11T14:19:24", "content_id": "4e1bf412842a89fb46bef1af4fda1146ad235486", "detected_licenses": [ "MIT" ], "directory_id": "6a13e3f2519aa31e5968dcc3d016bd6e8b5c788f", "extension": "h", ...
stackv2
//*************************************************************************** // File........: lcd_lib.h // // Author(s)...: Pashgan chipenable.ru // // Target(s)...: ATMega... // // Compiler....: IAR, CodeVision, GNU GCC // // Description.: Драйвер знакосинтезирующего жк дисплея // // Data........: 20.07.13 ...
2.203125
2
2024-11-18T22:57:53.108479+00:00
2021-10-03T19:31:05
c3e5da240ee11659f338273e27a50aca565c8369
{ "blob_id": "c3e5da240ee11659f338273e27a50aca565c8369", "branch_name": "refs/heads/dev", "committer_date": "2021-10-03T19:31:05", "content_id": "6cb0b1fac46b2e7118d76fde947a627caa6a093a", "detected_licenses": [ "CC0-1.0" ], "directory_id": "d9fe08742be57dec4ef87bec4255231a2f852a99", "extension": "c...
stackv2
#include<stdlib.h> #include<stdio.h> void swap(int *first, int *second){ int temp = *first; *first = *second; *second = temp; } void min_heapify(int heap[], int sub_root, int length){ int max = sub_root; while(max <= length){ int here = max; int left = here * 2; int right = h...
3.484375
3
2024-11-18T22:58:13.578031+00:00
2017-03-17T05:57:58
7e96316a0a5f20ea4da418c6070235f6996d795c
{ "blob_id": "7e96316a0a5f20ea4da418c6070235f6996d795c", "branch_name": "refs/heads/master", "committer_date": "2017-03-17T05:57:58", "content_id": "2119a5a099d8ff8d4bff48aa7ea2c6e7a6ba6925", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e2203199619f7070ef83c1356a4890b2699b09de", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <string.h> #include <assert.h> #include <unistd.h> #include <xmmintrin.h> #include <immintrin.h> /* provide the implementations of naive_transpose, * sse_transpose, sse_prefetch_transpose */ #include "impl.c" static double dif...
2.625
3
2024-11-18T22:58:13.768689+00:00
2017-12-18T13:06:32
32b4c89bbd8a5cb6f368c64668c9ca6ef05f344b
{ "blob_id": "32b4c89bbd8a5cb6f368c64668c9ca6ef05f344b", "branch_name": "refs/heads/master", "committer_date": "2017-12-18T13:06:32", "content_id": "66873f44d3b54340552f3246fa6cb056c39f53c8", "detected_licenses": [ "MIT" ], "directory_id": "1cec6ccf356f0ab3fd9bd4c1816ce0b1a28c3713", "extension": "h"...
stackv2
/********************************************** * * Author : Shawn Guo * Mail : iguoxiaopeng@gmail.com * Date : 2013/8/27 * Last : 2013/9/4 * Notes : 四旋翼驱动模块 * Tool : MSP430X2XX / 好盈天行者20A电调 / 朗宇2212 KV980无刷电机 * *-------------...
2.25
2
2024-11-18T22:58:14.712574+00:00
2022-06-02T13:42:12
931e2e543f63a3ed9f060473af41ac12443f2ee3
{ "blob_id": "931e2e543f63a3ed9f060473af41ac12443f2ee3", "branch_name": "refs/heads/master", "committer_date": "2022-06-02T13:42:12", "content_id": "2f7913a0f50b4a583bfa31b27ca9b602b4e50453", "detected_licenses": [ "FTL" ], "directory_id": "b81e0b03f3119e1fcda3fe4f0c82c21e295d2678", "extension": "h"...
stackv2
/****************************************************************************/ /* */ /* The FreeType project -- a free and portable quality TrueType renderer. */ /* */ /* ...
2.59375
3
2024-11-18T22:58:14.779998+00:00
2023-07-17T10:16:59
f34ff800c560a850221b1f621ee4c853b305499c
{ "blob_id": "f34ff800c560a850221b1f621ee4c853b305499c", "branch_name": "refs/heads/main", "committer_date": "2023-07-19T01:33:00", "content_id": "4f472b3667c59afd9707052efc2ab8654df6b6e5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "bf31cb8bef9b5c75ab7b783897fcfb2d2a23b2b4", "extension"...
stackv2
/* * Copyright 2021 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_ARCH_XTENSA_CACHE_H_ #define ZEPHYR_INCLUDE_ARCH_XTENSA_CACHE_H_ #include <xtensa/config/core-isa.h> #include <zephyr/toolchain.h> #include <zephyr/sys/util.h> #include <zephyr/debug/sparse.h> #include <xtensa/hal....
2.109375
2
2024-11-18T22:58:14.977338+00:00
2021-05-30T07:54:02
e4aafaa4c08df04343ab23f8f54c75d89110f758
{ "blob_id": "e4aafaa4c08df04343ab23f8f54c75d89110f758", "branch_name": "refs/heads/main", "committer_date": "2021-05-30T07:54:02", "content_id": "ce21fc120a87a340bd6ad3017b3f89170ecd6527", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7c76cfcdc8c7d10e526e665d254a3f71e7999dd4", "extension"...
stackv2
/* * squeeze.c * * Created on: 26-Aug-2020 * Author: Marvelcoder */ #include<stdio.h> void squeeze(char a1[],char a2[]); int main(){ char s1[]="hfgklsdnfk"; char s2[]="rweiuywireshdkfjhsdvcmxvnx"; squeeze(s1,s2); return 0; } void squeeze(char a1[],char a2[]){ printf("Before squee...
3.171875
3
2024-11-18T22:58:16.138100+00:00
2018-03-26T04:54:43
f0afa9b1fe62afe27ad2829534b018a75dd84bcf
{ "blob_id": "f0afa9b1fe62afe27ad2829534b018a75dd84bcf", "branch_name": "refs/heads/master", "committer_date": "2018-03-26T04:54:43", "content_id": "08ae0ca40f99da041054b9e8037259de040de421", "detected_licenses": [ "MIT" ], "directory_id": "fcddd423d14a62a1fe1de3fb53abf3155b044b59", "extension": "c"...
stackv2
/* * This is a dummy example. * Please implement a small and simple working example of your module, and then * remove this header. * Don't be clever. * Bonus points for musicality. * */ #include <stdlib.h> #include <stdio.h> #include <time.h> #include "soundpipe.h" typedef struct { sp_foo *foo; sp_osc...
2.703125
3
2024-11-18T22:58:18.842455+00:00
2023-06-07T07:34:30
7bbdfdf31cd0947496bc073b644d9de1bdd3c2a6
{ "blob_id": "7bbdfdf31cd0947496bc073b644d9de1bdd3c2a6", "branch_name": "refs/heads/master", "committer_date": "2023-06-07T07:34:30", "content_id": "aa4b9d6ff802618d05b92675c13f8a77fe5f9de1", "detected_licenses": [ "MIT" ], "directory_id": "2d015974ea5e24a3b705f6c18f87fb5b7cf528b6", "extension": "c"...
stackv2
/* * notify_group.c - self-sampling multuiple events in one group * * Copyright (c) 2009 Google, Inc * Contributed by Stephane Eranian <eranian@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 de...
2.140625
2
2024-11-18T22:58:19.511389+00:00
2019-12-09T01:05:59
46034b0cdeba11782a09e7daefe8aac111e5cfbe
{ "blob_id": "46034b0cdeba11782a09e7daefe8aac111e5cfbe", "branch_name": "refs/heads/master", "committer_date": "2019-12-09T01:05:59", "content_id": "34d32da0d88a205fac51c4a05a36d15aed71d038", "detected_licenses": [ "MIT" ], "directory_id": "cc68134e5396b2de2e1c5e7ff4ac748f0133f429", "extension": "c"...
stackv2
#include <stdio.h> #include "stm8s.h" // TEST LED between vcc and pb5 int putchar (int c) { UART1_SendData8(c); while (UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET); return (c); } int getchar (void) { int c = 0; while (UART1_GetFlagStatus(UART1_FLAG_RXNE) == RESET); c = UART1_ReceiveData8(); return c; ...
2.59375
3
2024-11-18T22:58:19.662110+00:00
2014-05-06T06:17:34
75e3e858f29e5ef15b578df73efcfbb1b20b49ca
{ "blob_id": "75e3e858f29e5ef15b578df73efcfbb1b20b49ca", "branch_name": "refs/heads/master", "committer_date": "2014-05-06T06:17:34", "content_id": "47805f640f26d270b61d15c0d0134084071f2da1", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ac4f88dcbbf4a5fe1c9a57d93d1cfc4a6df3550e", "extens...
stackv2
#include "std.h" #include "malloc.h" // static memory allocator, inspired by FreeRTOS heap_2.c // supports allocating/freeing memory, but does not merge free memory fragments /** * Static memory allocator * * @param size size (in bytes) of memory needed * must be > 0 and < `HEAP_SIZE` * * @return ...
2.875
3
2024-11-18T22:58:19.753435+00:00
2023-08-11T17:30:23
b02a16f854cb627261d4eaa47ca987c11b1b677f
{ "blob_id": "b02a16f854cb627261d4eaa47ca987c11b1b677f", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T17:30:23", "content_id": "f2067b9ae69d756425380549bb9799ebea82fa3a", "detected_licenses": [ "MIT" ], "directory_id": "7f6c2e05e9ea90f848f5bf4914dcda7a95bb245b", "extension": "c"...
stackv2
/* * Warnings about constant shifts in a normal expression */ void main(void) { int z; /* Shift amount exceeds operand width */ z = 1 << 16; /* Shift is negative */ z = 1 << -1; }
3.125
3
2024-11-18T22:58:20.001589+00:00
2023-07-30T07:00:50
f2752c54c7296eddd00702aba481197beef9a6c1
{ "blob_id": "f2752c54c7296eddd00702aba481197beef9a6c1", "branch_name": "refs/heads/master", "committer_date": "2023-07-30T07:00:50", "content_id": "709096ca918175a17913b04e184dda2c30bbe6cc", "detected_licenses": [ "MIT" ], "directory_id": "db04ecf258aef8a187823b8e47f4a1ae908e5897", "extension": "c"...
stackv2
#include <stdbool.h> bool isMonotonic(int* A, int ASize) { bool increasing = true, decreasing = true; for (int i = 1; i < ASize; ++i) { if (A[i - 1] > A[i]) increasing = false; if (A[i - 1] < A[i]) decreasing = false; } return increasing || decreasing; }
2.8125
3
2024-11-18T22:58:20.050567+00:00
2023-04-25T03:09:46
07b660408bce9e839c46a1e4af8345d8c4b78c7f
{ "blob_id": "07b660408bce9e839c46a1e4af8345d8c4b78c7f", "branch_name": "refs/heads/iot-device-sdk-tiny", "committer_date": "2023-04-25T03:09:46", "content_id": "4bae72d2fbed17ec00ee86c34d0c1ba6c3ea2bc7", "detected_licenses": [], "directory_id": "b04663400b05fd638e41f3d7f61953c514d835ed", "extension": "c"...
stackv2
#include "storage.h" static const storage_device *s_device = NULL; static uint32_t max_dev_num = 0; int storage_dev_install(storage_device *dev, uint32_t max_num) { uint32_t i = 0; if (dev != NULL && s_device == NULL) { for (i = 0; i < max_num; i++) { if (dev[i].init != NULL) { dev[i].init(); ...
2.75
3
2024-11-18T22:58:20.185054+00:00
2016-04-07T16:31:32
40dbf3233813cf9a132b27e9a684f6a4f3237e8d
{ "blob_id": "40dbf3233813cf9a132b27e9a684f6a4f3237e8d", "branch_name": "refs/heads/master", "committer_date": "2016-04-07T16:31:32", "content_id": "c3b058b37512cbde8f265be8f6c3184d1ba87154", "detected_licenses": [ "MIT" ], "directory_id": "e102bf7ba04f53011f2a76419bc85872b41a9666", "extension": "c"...
stackv2
/* @brief QuizBuddy 1.1 Programmed By @author Sushant Gautam (544,2071) ( http://sushant.info.np susant.gautam@gmail.com) With Sishir Bhandari @date 2016 For TU IOE BCT First Semester Project (c) With Developers */ #include <stdio.h> #include <stdlib.h> #include <stdlib.h> #include <windows.h> #include <stri...
2.546875
3
2024-11-18T22:58:21.595906+00:00
2023-05-15T00:18:02
a3a7feab1599119bf6b787f90283f370bdb634f8
{ "blob_id": "a3a7feab1599119bf6b787f90283f370bdb634f8", "branch_name": "refs/heads/master", "committer_date": "2023-05-15T00:18:02", "content_id": "a8bff8e8f6ad07f23448956d8060110775d104db", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8f76cee606ca901d6b9c1ecdcadaa172aa861c00", "extens...
stackv2
#include <fcntl.h> #include <stdarg.h> #include <stdio.h> #include <sys/syscall.h> #include <unistd.h> #define PERMS 0666 /* RW for owner, group and others */ #define BUFSIZ 1024 void merror(char *, ...); int main(int argc, char *argv[]) { int f1, f2, n; char buf[BUFSIZ]; if (argc != 3) merror(...
2.765625
3
2024-11-18T22:58:21.866120+00:00
2021-08-27T09:50:12
73fadadc244c85e4ec792cc80e7e8a6632bd546a
{ "blob_id": "73fadadc244c85e4ec792cc80e7e8a6632bd546a", "branch_name": "refs/heads/master", "committer_date": "2021-08-27T09:50:12", "content_id": "b5d59e50bbabf0f91bbc7b15a1e0fc8ea647321c", "detected_licenses": [ "MIT" ], "directory_id": "c72e81b1721d9a1e7a6f97546b3bb2ac1169e6d4", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_list_push_strs.c :+: :+: :+: ...
3.1875
3
2024-11-18T22:58:22.246299+00:00
2020-11-01T00:45:09
b46480da5a970cb0e0e69868912b9548e20a2d1e
{ "blob_id": "b46480da5a970cb0e0e69868912b9548e20a2d1e", "branch_name": "refs/heads/master", "committer_date": "2020-11-01T00:45:09", "content_id": "561b99a8a3e59ac9c4539c5f12d81c7cee92bfa7", "detected_licenses": [ "MIT" ], "directory_id": "7aad6cd90b86079193184d58d03061e5817e1fca", "extension": "c"...
stackv2
// Desenvolva uma estrutura modular baseada em menu com opcoes para criar e // para ler um arquivo do tipo texto. #include <stdio.h> #include <string.h> void GravarTxt(void); void LerTxt(void); int main(void) { int opcao; do { printf("****** MENU PRINCIPAL ******\n"); printf("1. Criar um Arquivo Texto\...
3.578125
4
2024-11-18T22:58:24.193039+00:00
2022-05-24T06:57:12
574615a96adc5e584a6aea210b805dd900de3ca8
{ "blob_id": "574615a96adc5e584a6aea210b805dd900de3ca8", "branch_name": "refs/heads/master", "committer_date": "2022-05-24T06:57:12", "content_id": "c1892ffde38422adeebe3b56c3715e34ae7f4eb3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "126171b94d42a0facb5d6a4dc90f0c385fe61646", "extensio...
stackv2
#include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <string.h> int OpenFile(const char *pathname) { return open(pathname, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); } int CloseFile(int fd) { return close(fd); } int WriteFileByFd(int fd, const char *conten...
2.765625
3
2024-11-18T22:58:25.206585+00:00
2018-04-23T21:23:41
3311c8051df2d103e17fed3495412928f39103f7
{ "blob_id": "3311c8051df2d103e17fed3495412928f39103f7", "branch_name": "refs/heads/develop", "committer_date": "2018-04-23T21:23:41", "content_id": "295ac767685bd3d9009dfe8d5b13abadec4c14a2", "detected_licenses": [ "BSL-1.0" ], "directory_id": "d8860eb725a51fd0ef814bebfb8abaa8a807996d", "extension"...
stackv2
/* *********************************************************************** */ /* *********************************************************************** */ /* DATFUNCS Date Functions Library */ /* *********************************************************************** */ /* File Name : %M% File Versio...
2.484375
2
2024-11-18T22:58:25.684901+00:00
2017-04-27T07:27:15
a2609f677f25f549fd460b5b2663edfe03db3a39
{ "blob_id": "a2609f677f25f549fd460b5b2663edfe03db3a39", "branch_name": "refs/heads/master", "committer_date": "2017-04-27T07:27:15", "content_id": "86bb8d6d7ed55e48e3c8b478d8bdde32025c57cb", "detected_licenses": [ "MIT", "BSD-3-Clause" ], "directory_id": "2a4d9dd000f7b8fcaa81d9d26be111fd0f19870c"...
stackv2
#include <string.h> #include <sys/socket.h> #include "util.h" #include "netasync.h" #include "config.h" #include "bitc.h" #include "rpc.h" #define LGPFX "RPC:" static struct netasync_socket *sock; /* *------------------------------------------------------------------------- * * rpc_exit -- * *----------------...
2.421875
2
2024-11-18T22:58:26.100933+00:00
2012-02-28T13:57:01
f8dbed6af493bade4663b603d8f2af58918835b3
{ "blob_id": "f8dbed6af493bade4663b603d8f2af58918835b3", "branch_name": "refs/heads/master", "committer_date": "2012-02-28T13:57:01", "content_id": "44934580572f1571e232dcd035110a8d0e96a650", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e2cd4cd863dcd98b1185ab91398a9c929c19def2", "extens...
stackv2
#include <sysinit.h> #include "basic/basic.h" #include "lcd/render.h" #include "core/pmu/pmu.h" #ifdef CFG_USBCDC volatile unsigned int lastTick; #include "core/usbcdc/usb.h" #include "core/usbcdc/usbcore.h" #include "core/usbcdc/usbhw.h" #include "core/usbcdc/cdcuser.h" #include "core/usbcdc/cdc_buf.h" #endif void m...
2.609375
3
2024-11-18T22:58:26.170275+00:00
2020-11-06T14:23:45
088ad03fc643728241ebfbcf0652f381d6578324
{ "blob_id": "088ad03fc643728241ebfbcf0652f381d6578324", "branch_name": "refs/heads/master", "committer_date": "2020-11-06T14:23:45", "content_id": "8ee31930be6b9ddef8eaa149cdb505ea10632b77", "detected_licenses": [ "MIT" ], "directory_id": "d89ded9aa7aa8e912d789e6824ffd3af8d6a76a1", "extension": "c"...
stackv2
#include <stdio.h> int main(void) { char c = 'A'; printf("%i\n", c); // giving a character and printing the %i (integer) so we print it's ascii value. }
3.40625
3
2024-11-18T22:58:28.369683+00:00
2014-12-15T18:25:21
90b3f8d1405971d96515987d5f76c679d3582724
{ "blob_id": "90b3f8d1405971d96515987d5f76c679d3582724", "branch_name": "refs/heads/master", "committer_date": "2014-12-15T18:25:21", "content_id": "e8bd4f189efd86a83722c4d4774f1c6fb0d06237", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e1492efb012948f7628143c89b4e4c3cf7ece100", "extens...
stackv2
#ifndef _C_TOOLS_LIST_H_ #define _C_TOOLS_LIST_H_ #include <stdbool.h> struct _list_node_ { struct _list_node_ *next; void *value; unsigned int *references; }; typedef struct _linked_list_ { struct _list_node_ *head; size_t elemsize; int (*equals)(void*, void*); void (*copy)(void*, void*); void (*free)(void*...
2.5
2
2024-11-18T22:58:28.898492+00:00
2015-06-18T12:05:46
2d43b10f99d620ecee2846db73c0c3744da0ae9f
{ "blob_id": "2d43b10f99d620ecee2846db73c0c3744da0ae9f", "branch_name": "refs/heads/master", "committer_date": "2015-06-18T12:05:46", "content_id": "f323578a0ae97f385cebbe295cbbf787992e2f09", "detected_licenses": [ "MIT" ], "directory_id": "e20b2cf113bb7b48433eab91c5864902f27358c4", "extension": "c"...
stackv2
/* * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <syslog.h> #include <math.h> #include <time.h> #include <errno.h> #include <libgen.h> #inc...
2.109375
2
2024-11-18T22:58:29.695424+00:00
2023-08-04T16:29:46
2ead9c900155acb0786874f95889455d667b3e5d
{ "blob_id": "2ead9c900155acb0786874f95889455d667b3e5d", "branch_name": "refs/heads/master", "committer_date": "2023-08-04T16:29:46", "content_id": "6be5ed7211bdef4ec7006709e56dbc42d98c6123", "detected_licenses": [ "MIT" ], "directory_id": "2509448a01f7d9375182c48e7161b46a5ac23e11", "extension": "h"...
stackv2
/* * BoardDef.h * * Created on: Dec 26, 2015 * Author: fcos */ #ifndef BOARDDEF_H_ #define BOARDDEF_H_ #include <stdint.h> #include "stm32f0xx.h" typedef struct { GPIO_TypeDef* port; uint16_t pin; } gpio_t; typedef struct { gpio_t gpio; uint16_t pinSource; uint8_t alternateFu...
2.171875
2
2024-11-18T22:58:29.841933+00:00
2023-08-29T15:42:17
e9e7ba67364dccbd94af9fecac77708ccd2445bc
{ "blob_id": "e9e7ba67364dccbd94af9fecac77708ccd2445bc", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T06:29:25", "content_id": "cf75b01447346118e6a2e9e6aaed547d4c37769a", "detected_licenses": [ "ISC" ], "directory_id": "55b8e6e97b9667340c9ee22305b87c6a8d035af6", "extension": "c"...
stackv2
#include <cgreen/cgreen.h> #include <cgreen/mocks.h> #include "stream.h" Describe(Formatter); BeforeEach(Formatter) {} AfterEach(Formatter) {} static int reader(void *stream) { return (int)mock(stream); } static void writer(void *stream, char *paragraph) { mock(stream, paragraph); } Ensure(Formatter, makes...
2.375
2
2024-11-18T22:58:30.269595+00:00
2020-09-18T00:18:31
008a798b2b5114088c1353a457fe7db03f1ed4ed
{ "blob_id": "008a798b2b5114088c1353a457fe7db03f1ed4ed", "branch_name": "refs/heads/master", "committer_date": "2020-09-18T00:18:31", "content_id": "9c27255d18b7629af737252786569ed0b9073f4b", "detected_licenses": [ "MIT" ], "directory_id": "6fd20b8b5ceac04430116b154a11b34f8f1f07d2", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "interpreter/function.h" #include "Chaos.h" int defineFunction( char *name, enum Type type, enum Type secondary_type, char *params_name[], unsigned params_type[], unsigned params_secondary_type[], unsi...
2.484375
2
2024-11-18T22:58:30.604409+00:00
2021-10-15T04:44:32
a1ea8d95ea467c8490f59b7f504f71d76f876250
{ "blob_id": "a1ea8d95ea467c8490f59b7f504f71d76f876250", "branch_name": "refs/heads/main", "committer_date": "2021-10-15T04:44:32", "content_id": "a159768a97db732cf4e6759bf6a4a7c69669f30d", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "1c95749a12e76537656a12f25abb90901a6306f9", "extensio...
stackv2
// SPDX-License-Identifier: BSD-2-Clause // Copyright (c) 2021 Amol Surati #include <stddef.h> #include <lib/assert.h> #include <sys/bits.h> #include <sys/err.h> #include <sys/vmm.h> // IPL_THREAD int dev_map_io(pa_t pa, size_t size, va_t *out) { int err, num_pages, i; va_t va; vpn_t pages, page; pfn_t frame; ...
2.296875
2
2024-11-18T22:58:30.705587+00:00
2022-10-19T02:39:49
a4e2e27f22f5539e350d8cae75adaff140be7883
{ "blob_id": "a4e2e27f22f5539e350d8cae75adaff140be7883", "branch_name": "refs/heads/main", "committer_date": "2022-10-19T02:39:49", "content_id": "1023928b3a73bbbc1a1e21c5c7b0f9f34a78cac9", "detected_licenses": [ "Unlicense" ], "directory_id": "577382a8fac5056e6180890955f1439e21721d5d", "extension":...
stackv2
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <gd.h> #include <gdfontg.h> //#define kFontFilename "/Library/Fonts/Times New Roman.ttf" //#define kFontFilename "/Library/Fonts/Papyrus.dfont" //#define kFontFilename "/System/Library/Fonts/Helvetica.dfont" // Arial Unicode seems to render the most...
2.453125
2
2024-11-18T22:58:30.961824+00:00
2020-05-19T21:00:15
99b3050224ec09e9566389ff7f75724c1e45c382
{ "blob_id": "99b3050224ec09e9566389ff7f75724c1e45c382", "branch_name": "refs/heads/master", "committer_date": "2020-05-19T21:00:15", "content_id": "fd22d6510512185948bc5dfac7777df8b9f98cf0", "detected_licenses": [ "Apache-2.0" ], "directory_id": "33fd7f0794f01481d4c10963b6b2bfd5a0762fe7", "extensio...
stackv2
#include "express.h" int CvtToPolyTri(OMobj_id ConvertToTriStrip_id, OMevent_mask event_mask, int seq_num) { OMobj_id in_id; int in_nspace, in_nnodes, in_size; int in_nsets, in_ncells; int in_cell_nnodes, *in_node_connect; OMobj_id in_cell_set; float *in_coord; int in_ncomp, in_comp_count, in_veclen;...
2.21875
2
2024-11-18T22:58:33.237954+00:00
2023-01-13T15:39:52
f28b53f8e7b10debe6479d7d6bc5e9ae23eefe43
{ "blob_id": "f28b53f8e7b10debe6479d7d6bc5e9ae23eefe43", "branch_name": "refs/heads/master", "committer_date": "2023-01-13T15:39:52", "content_id": "ee8cebe7e29e17fd830a7f1f916aa176aee918a0", "detected_licenses": [ "MIT" ], "directory_id": "fe77bddf24102d4873ff29b2019f08bd2a0e2db5", "extension": "c"...
stackv2
// // OCMath.c // OCTypes // // Created by philip on 6/7/17. // #include "OCLibrary.h" double cargument(double complex z) { double temp = cabs(z); if(temp == 0.0) return 0.0; double cosphase = creal(z)/temp; double sinphase = cimag(z)/temp; double phase = -acos((double) cosphase); if(sinpha...
2.78125
3
2024-11-18T22:58:34.086964+00:00
2020-06-15T11:23:08
772735682bb07142bc529aee45cadeb047321297
{ "blob_id": "772735682bb07142bc529aee45cadeb047321297", "branch_name": "refs/heads/master", "committer_date": "2020-06-15T11:23:08", "content_id": "ad050f47436978b98fba3dbe5a1c2a235fd70a3e", "detected_licenses": [ "MIT" ], "directory_id": "7b6057b1a13e528fd09c3a3b9d8b76a709e2eed4", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main() { int anoAtual, anoNascimento; char* nome; nome = (char*) malloc(sizeof(char) * 100); scanf("%d %s %d", &anoAtual, nome, &anoNascimento); printf("%s, voce completa %d anos de idade neste ano.\n", nome, (anoAtual - anoNascimento)); return 0; }
3.03125
3
2024-11-18T22:58:34.482858+00:00
2021-01-11T05:41:13
a8d44cc33634ca787315df0fca8e30919bae8f98
{ "blob_id": "a8d44cc33634ca787315df0fca8e30919bae8f98", "branch_name": "refs/heads/master", "committer_date": "2021-01-11T05:41:13", "content_id": "99eb78f8628869619c92650ee49f04c2a3cc7bb4", "detected_licenses": [ "MIT-Modern-Variant" ], "directory_id": "59e15c621ebadb8672f3b9f2c2d8c0058e684b0b", "...
stackv2
/* * exit.c * * test simple exit functionality */ #include "syscall.h" int main(int argc, char *argv[]){ exit(123); // next line should not be executed assert(0); }
2.171875
2
2024-11-18T22:58:35.602472+00:00
2021-02-20T18:44:04
44fe406c16c29206b3050140e814d0a9b17ade2e
{ "blob_id": "44fe406c16c29206b3050140e814d0a9b17ade2e", "branch_name": "refs/heads/master", "committer_date": "2021-02-20T18:44:04", "content_id": "d731b558d027568fa57ca15e7bc43ac7fc4d0254", "detected_licenses": [], "directory_id": "bcb5c44df6746ec4c28a90200c8541bf86a9053f", "extension": "c", "filename...
stackv2
#include <stdio.h> void swap(int *ptr1, int *ptr2) { int temp = *ptr1; *ptr1 = *ptr2; *ptr2 = temp; } int main(void) { int i = 56, j = 10087; // Notice that I'm giving the addresses of i and j to the // swap() function. Therefore, swap() will be able to // change the values of i and j from outs...
3.65625
4
2024-11-18T22:58:35.926201+00:00
2023-07-24T06:00:50
486095475cf4676c0224fcf2accc9cb4def73ac8
{ "blob_id": "486095475cf4676c0224fcf2accc9cb4def73ac8", "branch_name": "refs/heads/master", "committer_date": "2023-07-24T06:00:50", "content_id": "f33fd098dbc1147d5d9cbaa6b09413199e98f6f0", "detected_licenses": [ "MIT" ], "directory_id": "a6443b2899b2bd3df49fd2e9111b2f1fc248afb4", "extension": "c"...
stackv2
/* * util.c -- set of various support routines. * * Copyright (c) 2001-2006, NLnet Labs. * * Modified Work Copyright (c) 2018 The TIGLabs Authors. * */ #include <assert.h> #include <ctype.h> #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #in...
2.59375
3
2024-11-18T22:58:36.035773+00:00
2021-10-07T14:58:09
14d5e17abb70315092f96ceb30eb8cdfaefe5dcd
{ "blob_id": "14d5e17abb70315092f96ceb30eb8cdfaefe5dcd", "branch_name": "refs/heads/master", "committer_date": "2021-10-07T14:58:09", "content_id": "d5539554519192a98eb9833d8cedcf30e18bd563", "detected_licenses": [ "MIT" ], "directory_id": "159c0ffb529442b32bfe018c39c1d34a689e4a48", "extension": "c"...
stackv2
#include "calendar.h" bool isLeap(int year) { if (year % 4 == 0) { if (year % 100 == 0 && year % 400 != 0) { return false; } else { return true; } } return false; } int getNumberOfDays(int month, int year) { switch (month) { case February: return (isLeap(year) ? 29 : 28); case April: case...
2.9375
3