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-18T20:53:32.928977+00:00
2023-08-25T22:11:30
3f1ebd9ab71ae0d82d70196d88df21e7446468f5
{ "blob_id": "3f1ebd9ab71ae0d82d70196d88df21e7446468f5", "branch_name": "refs/heads/main", "committer_date": "2023-08-25T22:11:30", "content_id": "2b10356c5dd3050b8992746fd6d0621de83d007f", "detected_licenses": [ "Zlib" ], "directory_id": "1b108da12072c6babaff2707324385a0ae4533ba", "extension": "c",...
stackv2
/***************************************************************************//** * @brief ADC Manager (Non-Processor Specific) * * @file ADC_Manager.c * * @author Matthew Spinks <https://github.com/mspinksosu> * * @date 2/13/22 Original creation * @date 2/19/22 Modified initialization routine * @date 7/...
2.765625
3
2024-11-18T20:53:33.227835+00:00
2019-01-16T18:10:52
899308a97182fe314b37dd2278e4fdea40affc21
{ "blob_id": "899308a97182fe314b37dd2278e4fdea40affc21", "branch_name": "refs/heads/master", "committer_date": "2019-01-16T18:10:52", "content_id": "fc07dd09c569856a5998f22dcaa426186d134b00", "detected_licenses": [ "MIT" ], "directory_id": "422a45c53779bbf0ed37533d86056c6a85085da0", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <iup.h> #include <iup_config.h> #include <iupgl.h> #include <cd.h> #include <cdprint.h> #include <cdiup.h> #include <im.h> #include <im_image.h> #include <im_convert.h> #include <iupim.h> /********************************** Utiliti...
2.5
2
2024-11-18T20:53:33.335059+00:00
2020-09-02T06:31:53
7205dba2bdb9976e118db32fd7b55f2b3d9543ef
{ "blob_id": "7205dba2bdb9976e118db32fd7b55f2b3d9543ef", "branch_name": "refs/heads/master", "committer_date": "2020-09-02T06:31:53", "content_id": "aa55562873237a825f9446029fe83e73b2b0a192", "detected_licenses": [ "MIT" ], "directory_id": "147050ef64df8c1dff0b7d7e19669af3b406e51f", "extension": "c"...
stackv2
#include <unistd.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <limits.h> #include <sys/stat.h> #include <sys/types.h> #include "conf.h" #include "object.h" #include "dir.h" #include "dr.h" #include "db.h" #define DB ".db" #define ROOT DB"/objects" #defi...
2.40625
2
2024-11-18T20:53:33.411383+00:00
2020-06-10T20:26:49
1aa30f33fe885d5bf5ae4dba1ab20735d8dde5fb
{ "blob_id": "1aa30f33fe885d5bf5ae4dba1ab20735d8dde5fb", "branch_name": "refs/heads/master", "committer_date": "2020-06-10T20:26:49", "content_id": "847b8c0a1751b38f3b33202a3327fe08cde92662", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c25034233e91151fc1ab01feb408f389ddf76be6", "extens...
stackv2
#include <MemoryManager.h> freeList * free_list; //crea una pagina nueva ubicada en page_address de tamaño size que maneja los datos de data_address. Tambien agrega la nueva page al final de la free_list page * createNewPage(uint64_t * page_address, size_t allocSize, page * prev, uint64_t * dataAddress){ //no hay...
3.125
3
2024-11-18T20:53:33.466762+00:00
2021-09-07T21:48:39
530ee9007cbe05463dc80c75ccb7efab3c911f43
{ "blob_id": "530ee9007cbe05463dc80c75ccb7efab3c911f43", "branch_name": "refs/heads/main", "committer_date": "2021-09-07T21:48:39", "content_id": "596001c163201ef1693472f068d9c2d96c868970", "detected_licenses": [ "ISC" ], "directory_id": "dad54774642e07de1ca31ff1072cbe8dfde3014b", "extension": "c", ...
stackv2
/* ISC license. */ #include <sys/stat.h> #include <fcntl.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <skalibs/sgetopt.h> #include <skalibs/strerr2.h> #include <skalibs/direntry.h> #define USAGE "mdevd-coldplug [ -s slashsys ]" #define dieusage() strerr_dieusage(100, USAGE) static void scan...
2.203125
2
2024-11-18T20:53:34.736929+00:00
2021-11-29T17:07:20
5742b5532db6c7eac4d009a1661a000266fb4577
{ "blob_id": "5742b5532db6c7eac4d009a1661a000266fb4577", "branch_name": "refs/heads/master", "committer_date": "2021-11-29T17:07:20", "content_id": "a68e8681cc850f14023edc85315d2ec852f8f71d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "723b52774808795f6732c59dd19189a83b95da66", "extensio...
stackv2
/** * Copyright 2019 Université de Liège * * 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.09375
2
2024-11-18T20:53:34.835815+00:00
2019-10-16T09:34:49
9058700f19cbb6551acf5e9289baab38194e6933
{ "blob_id": "9058700f19cbb6551acf5e9289baab38194e6933", "branch_name": "refs/heads/master", "committer_date": "2019-10-16T09:34:49", "content_id": "ed1990f45f7f625804d776c9580c8f64d5d3b01b", "detected_licenses": [ "ISC" ], "directory_id": "8eeb4dc93d55619b20eba6b4fede07294240a856", "extension": "c"...
stackv2
/* * ISC License * * Copyright (C) 1993-2018 by * Paul Stravers * Patrick Groeneveld * Delft University of Technology * * 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 not...
2.46875
2
2024-11-18T20:53:34.962157+00:00
2011-02-16T11:47:07
d9ebc803b8261fedc1a95116f004c458e7262512
{ "blob_id": "d9ebc803b8261fedc1a95116f004c458e7262512", "branch_name": "refs/heads/master", "committer_date": "2011-02-16T11:47:07", "content_id": "ad095838f3f7990d9738b7ed3742f6c2dc5d7698", "detected_licenses": [ "MIT" ], "directory_id": "43f17fbc0ab6f53bf7f351cd01d8db4f25dd1637", "extension": "c"...
stackv2
#include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> static ngx_http_push_channel_t * ngx_http_push_get_channel(ngx_str_t * id, ngx_log_t * log, time_t timeout); static ngx_http_push_channel_t * ngx_http_push_find_channel(ngx_str_t * id, ngx_log_t * log); static ngx_int_t ngx_http_push_delete_channel_l...
2.234375
2
2024-11-18T20:53:35.600592+00:00
2014-06-09T19:07:33
e1efbfcb517c33ff6e3dfac573d9625cac330d7a
{ "blob_id": "e1efbfcb517c33ff6e3dfac573d9625cac330d7a", "branch_name": "refs/heads/master", "committer_date": "2014-06-09T19:07:33", "content_id": "623ad987660dbe38fd5908658d633115c525b2d1", "detected_licenses": [ "MIT" ], "directory_id": "4c41ec5e13ae40c4f3ffd74845a72df9866b6bc4", "extension": "h"...
stackv2
/** * @file fatfsWrapper.h * @author Matthias Blaicher * * @brief Wrapper around FatFS to localize all access over one single thread. * * @brief This greatly reduces stack usage when you use FatFS from several * threads. */ #ifndef FATFSWRAPPER_H_ #define FATFSWRAPPER_H_ #include "ff.h" #ifdef __cplus...
2.203125
2
2024-11-18T20:53:35.671461+00:00
2019-09-26T16:12:08
e9f90cefb481f121340883d44d5d99254f475257
{ "blob_id": "e9f90cefb481f121340883d44d5d99254f475257", "branch_name": "refs/heads/master", "committer_date": "2019-09-26T16:12:08", "content_id": "84c1e4b699a954038dd0c2c0a1ae13ae6eb1f347", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b6889bf39a2a56777a236c3fd2df65a47fe3ac56", "extens...
stackv2
/* mipslabwork.c This file written 2015 by F Lundevall Updated 2017-04-21 by F Lundevall This file should be changed by YOU! So you must add comment(s) here with your name(s) and date(s): This file modified 2017-04-31 by Ture Teknolog For copyright and licensing, see file COPYING */ #include <std...
2.390625
2
2024-11-18T20:53:35.727191+00:00
2023-08-11T13:02:43
55bab2f9a8373f46d381a754397bcc698e67fe0f
{ "blob_id": "55bab2f9a8373f46d381a754397bcc698e67fe0f", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T13:02:43", "content_id": "6c267df724a8e83c3e5d086de79186abdb89deb6", "detected_licenses": [ "MIT" ], "directory_id": "751d837b8a4445877bb2f0d1e97ce41cd39ce1bd", "extension": "c"...
stackv2
/* You face 1 out of the 4 compass directions: N, S, E or W. A left turn is a counter-clockwise turn. e.g. N (left-turn) ➞ W. A right turn is a clockwise turn. e.g. N (right-turn) ➞ E. Create a function that takes in a starting direction and a sequence of left and right turns, and outputs the final direction...
3.703125
4
2024-11-18T20:53:35.904642+00:00
2020-04-21T02:54:26
802e852b74e0d032a481b296023b7750454141ab
{ "blob_id": "802e852b74e0d032a481b296023b7750454141ab", "branch_name": "refs/heads/master", "committer_date": "2020-04-21T02:54:26", "content_id": "0be46956eff00913df4d3bd1a88e682b21a44ffe", "detected_licenses": [ "MIT" ], "directory_id": "8767f930d90605a945ecbb7b70d6eec0ab244fc1", "extension": "c"...
stackv2
/*! * \file spi-board.c * * \brief Target board SPI driver implementation * * \copyright Revised BSD License, see section \ref LICENSE. * * \code * ______ _ * / _____) _ | | * ( (____ _____ ____ _| |_ ___...
2
2
2024-11-18T20:53:36.025518+00:00
2020-06-27T04:01:46
4f76b01fe3cc7bbed6ba0961ec81dff1677bc8de
{ "blob_id": "4f76b01fe3cc7bbed6ba0961ec81dff1677bc8de", "branch_name": "refs/heads/master", "committer_date": "2020-06-27T04:01:46", "content_id": "05b7f32ebf543bdb156164c779b26f21203b1686", "detected_licenses": [ "Unlicense" ], "directory_id": "2615a03ef8330c5880b5c9ddefd2462f80ae8333", "extension...
stackv2
#include<stdio.h> #include<stdlib.h> typedef struct { int edad; }Persona; typedef struct { Persona personas[100]; int n; }Resumen; Resumen filtrar(Persona personas[], int n, int omitirEdad_1, int omitirEdad_2); int main() { /* Implemente un código que permita crear un nuevo conjunto de datos(Nueva estructu...
3.390625
3
2024-11-18T20:53:36.155793+00:00
2023-08-11T13:02:43
f8909ef18d815a9c3d062d1d35ac258caa7aa033
{ "blob_id": "f8909ef18d815a9c3d062d1d35ac258caa7aa033", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T13:02:43", "content_id": "e1aebce65034126d1f90b864ac921acc429e2032", "detected_licenses": [ "MIT" ], "directory_id": "751d837b8a4445877bb2f0d1e97ce41cd39ce1bd", "extension": "c"...
stackv2
/* Description Surely you have made the experience that when too many people use the Internet simultaneously, the net becomes very, very slow. To put an end to this problem, the University of Ulm has developed a contingency scheme for times of peak load to cut off net access for some cities of the country in a system...
3.328125
3
2024-11-18T20:53:36.271561+00:00
2018-05-27T10:31:53
6d02946f966b70e4450bd73487cb243ccc1acb7e
{ "blob_id": "6d02946f966b70e4450bd73487cb243ccc1acb7e", "branch_name": "refs/heads/master", "committer_date": "2018-05-27T10:31:53", "content_id": "c14693be0c277146152db57136bf0d3e0df7bb7d", "detected_licenses": [ "MIT" ], "directory_id": "16adf514b087ba2f41c0a8f0ab8548e02d06a660", "extension": "c"...
stackv2
/*********************************************** ◆ 파일 이름 : sizeof.c ◆ 작성자 : 김명진 ◆ 용도 : 자료형의 크기를 설명하기 위함 ***********************************************/ #include <stdio.h> int main(void) // main() 함수 시작 { printf("몇몇 자료형의 크기는 다음과 같이 계산됨\n"); printf(" char : %3d byte\n", sizeof(char)); pri...
3.609375
4
2024-11-18T20:53:36.383915+00:00
2014-02-19T19:17:30
5c8b5f0d6b608b05ff7e1ead15153ec4f11eaf2e
{ "blob_id": "5c8b5f0d6b608b05ff7e1ead15153ec4f11eaf2e", "branch_name": "refs/heads/master", "committer_date": "2014-02-19T19:17:30", "content_id": "9332b91001449bb4d393caf6897ebcc1e1f61a48", "detected_licenses": [ "MIT" ], "directory_id": "071a38cc2479410bc3d1be44c28a710b6af4c38a", "extension": "h"...
stackv2
#ifndef UFB_TYPES_H #define UFB_TYPES_H #include <stdint.h> #include <stdlib.h> typedef uint8_t UFBuint8; typedef uint16_t UFBuint16; typedef uint32_t UFBuint32; typedef uint64_t UFBuint64; typedef int8_t UFBint8; typedef int16_t UFBint16; typedef int32_t UFBint32; typedef int64_t UFBint64; /* typedef unsigned ch...
2.234375
2
2024-11-18T20:53:36.639237+00:00
2020-04-14T15:46:41
7e9da5f0a11ccbf34475ec4b839e95c4b48fb711
{ "blob_id": "7e9da5f0a11ccbf34475ec4b839e95c4b48fb711", "branch_name": "refs/heads/master", "committer_date": "2020-04-14T15:47:07", "content_id": "4ac7d6828b2a107f1e9d9b73a3e0af262b80bd29", "detected_licenses": [ "MIT" ], "directory_id": "158f1c3ca4739baa21ffdb6fbbfac042583521f4", "extension": "c"...
stackv2
/* * The MIT License (MIT) * * Copyright (c) 2019 Erik Moqvist * * 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,...
2.09375
2
2024-11-18T20:53:40.923769+00:00
2021-06-16T22:15:57
6960de3849934c7b0fb9abc3bc59713957339787
{ "blob_id": "6960de3849934c7b0fb9abc3bc59713957339787", "branch_name": "refs/heads/master", "committer_date": "2021-06-16T22:39:18", "content_id": "4d36a6199dbd48da48ede01b08d6ef8558439d65", "detected_licenses": [ "MIT" ], "directory_id": "c20b4689d45a7302fd93b1bd32cf1a4d04073313", "extension": "c"...
stackv2
#include <fudge.h> #include <kernel.h> #include <modules/system/system.h> static struct system_node service; static struct system_node nodes[64]; static unsigned int numnodes; static char namebuffer[1024]; static unsigned int nameoffset; static unsigned int service_create(void *name, unsigned int length) { struc...
2.328125
2
2024-11-18T20:53:41.690817+00:00
2019-12-23T21:23:06
3447c8b460f3ea1f698d699de0734ba0db024c3a
{ "blob_id": "3447c8b460f3ea1f698d699de0734ba0db024c3a", "branch_name": "refs/heads/master", "committer_date": "2019-12-23T21:23:06", "content_id": "5f9db2363012e8d0b3e5bd644dd254f60274ffb7", "detected_licenses": [ "BSD-3-Clause", "MIT" ], "directory_id": "5f794d8b53421198da244ab81c9cebd20c4af58e"...
stackv2
/* Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc. See LICENSE. */ /* * lsquic_frab_list.c -- List of buffer for simple reading and writing */ #include <stddef.h> #include <stdlib.h> #include <string.h> #include <sys/queue.h> #include "lsquic_frab_list.h" static void * fral_alloc (void *ctx, size_t size) {...
2.8125
3
2024-11-18T20:53:42.651388+00:00
2019-11-18T05:11:44
cf91d9f3b0595797e8ae9c280f27f342b1c8d5ba
{ "blob_id": "cf91d9f3b0595797e8ae9c280f27f342b1c8d5ba", "branch_name": "refs/heads/master", "committer_date": "2019-11-18T05:11:44", "content_id": "9d8fa9d1734f295e0ed8eb467c6b5c8753ce4bc0", "detected_licenses": [ "MIT" ], "directory_id": "124b98880576428939d56f334a95b7f7fbfdd3ed", "extension": "c"...
stackv2
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include "syl/path.h" #include <stdio.h> #include <string.h> // OS specific includes #ifdef _WIN32 #include <errno.h> #include <io.h> #else #include <dirent.h> #endif void path_normalize(char *path) { char *curr = path; for (curr = path; *curr != 0; ++curr)...
2.75
3
2024-11-18T20:53:42.714448+00:00
2023-05-10T01:57:10
6c178971b2829db6342c063731bc1507741f0566
{ "blob_id": "6c178971b2829db6342c063731bc1507741f0566", "branch_name": "refs/heads/master", "committer_date": "2023-05-10T01:57:10", "content_id": "ff68cc327fa487c362407bcf9cc17cfebecd4b67", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c35b5a7a62ac269678ea676280340307f3562d6b", "extensio...
stackv2
/**************************************************************************//** * @file system_Nano100Series.c * @version V1.00 * $Revision: 4 $ * $Date: 14/01/29 4:09p $ * @brief Nano100 series system clock init code and assert handler * * @note * SPDX-License-Identifier: Apache-2.0 * Copyright (C) 20...
2.484375
2
2024-11-18T20:53:42.765645+00:00
2018-11-07T21:59:24
cab1a6a70f93722169ac7655cf14b611154be5b0
{ "blob_id": "cab1a6a70f93722169ac7655cf14b611154be5b0", "branch_name": "refs/heads/master", "committer_date": "2018-11-07T21:59:24", "content_id": "0a38e64c5daa81e4b3d718d33d7055f7e76a8927", "detected_licenses": [ "Apache-2.0" ], "directory_id": "94c97b811019e6dd098ac93daaa4a897dc28ff6d", "extensio...
stackv2
/* * Copyright 2018 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
2.3125
2
2024-11-18T20:53:43.464412+00:00
2015-04-16T20:50:56
4649914a460ada5df4ac0817201d317a37928310
{ "blob_id": "4649914a460ada5df4ac0817201d317a37928310", "branch_name": "refs/heads/master", "committer_date": "2015-04-16T20:50:56", "content_id": "fb2985a04f0b88bfe52d1bf8a747881fd966e9db", "detected_licenses": [ "MIT" ], "directory_id": "6d329bac09a0b0cfe968037c7df28e716b2c14ca", "extension": "c"...
stackv2
#include "Disassemble.h" // Instruction/Disassemble.h #include "Opcodes.h" #ifdef __linux__ #define _XOPEN_SOURCE 700 #endif #include <stdio.h> // snprintf #include <strings.h> // bzero #include <string.h> // strdup #include <assert.h> // assert static const char *instruction_identifiers[2 << 6] = { [OPCODE_...
2.40625
2
2024-11-18T20:53:43.607928+00:00
2021-08-17T22:54:10
b16c05288a6092c9c10d31da226831f92315219b
{ "blob_id": "b16c05288a6092c9c10d31da226831f92315219b", "branch_name": "refs/heads/main", "committer_date": "2021-08-17T22:54:10", "content_id": "21ec1bc20c2e1c87a0bb165a96d54c5497804644", "detected_licenses": [ "MIT" ], "directory_id": "5667ab60450f753eaed8e32ea26029ac11608d16", "extension": "c", ...
stackv2
#include "packets_settings.h" // ---- PACKET HEADER BEGIN ---- // unsigned short checksum(unsigned short *ptr, int nbytes) { register long sum; unsigned short oddbyte; register short answer; sum = 0; while (nbytes > 1) { sum += *ptr++; nbytes -= 2; } if (nbytes == 1) { ...
2.40625
2
2024-11-18T20:53:43.682386+00:00
2016-02-17T02:14:22
a98e40e7e3fcae669c25d2ecd9a2898e3577049c
{ "blob_id": "a98e40e7e3fcae669c25d2ecd9a2898e3577049c", "branch_name": "refs/heads/master", "committer_date": "2016-02-17T02:14:22", "content_id": "9772c9abe776b9cbd240986028f3b94312b9133a", "detected_licenses": [ "MIT" ], "directory_id": "106aed5aaa1b8fc162b33d53117f445902e6f433", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include "miniat/miniat.h" #include "miniat_priv_registers.h" #include "miniat_priv_defines.h" #include "miniat_priv_structures.h" #include "miniat_priv_hazards.h" #include "CuTest.h" void t_error___exec_timers_time(CuTest *tc) { int i; FILE *bin_file; miniat *miniat; m_uw...
2.171875
2
2024-11-18T20:53:44.023119+00:00
2015-12-30T12:19:38
d5facac94a0f3551906cd01e8c49d52e10b0f433
{ "blob_id": "d5facac94a0f3551906cd01e8c49d52e10b0f433", "branch_name": "refs/heads/master", "committer_date": "2015-12-30T12:19:38", "content_id": "ddd02d311d68d5c9a41611129cc79ea3a63abff8", "detected_licenses": [ "MIT" ], "directory_id": "f1d0fe512a19bba4989d6db137223c825e247756", "extension": "c"...
stackv2
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include <uuid/uuid.h> #include "sem_dynamic_array.h" #include "sem_error.h" #include "sem_heap.h" #include "sem_signal.h" #include "sem_track_cache.h" #include "sem_timer.h" #include "sem_world.h" sem_success sem_track_accept(sem_train* train, sem_track* tra...
2.09375
2
2024-11-18T20:53:45.895769+00:00
2017-07-30T16:04:31
7df92a184e0419764a249753faba4e6302fafb91
{ "blob_id": "7df92a184e0419764a249753faba4e6302fafb91", "branch_name": "refs/heads/master", "committer_date": "2017-07-30T16:04:31", "content_id": "7026847ea67c90e297bb61f3e9139b6df23606bc", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "fd911fe124408f4f6e300b084b6f1d30f5da30ba", "extens...
stackv2
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
2.21875
2
2024-11-18T20:53:46.085857+00:00
2019-05-07T21:01:24
881ea689c0b848b76f99d387fdfc89f250d61f2d
{ "blob_id": "881ea689c0b848b76f99d387fdfc89f250d61f2d", "branch_name": "refs/heads/master", "committer_date": "2019-05-07T21:01:24", "content_id": "97b5abbf23c30768165b95b19b1c14607addb50b", "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.1875
2
2024-11-18T20:53:46.488715+00:00
2019-04-06T16:40:54
11c2671071a89be3888df0504160d04a329fc8a4
{ "blob_id": "11c2671071a89be3888df0504160d04a329fc8a4", "branch_name": "refs/heads/master", "committer_date": "2019-04-06T16:40:54", "content_id": "24e47c081fe3fea45682c0ee71918a3b5517f250", "detected_licenses": [ "MIT" ], "directory_id": "2b50a7dae427e06ac9115e99ab86d0e216c4b4dc", "extension": "c"...
stackv2
#include "arm.h" #include "memio.h" #include "led.h" #include "glod.h" #include <stdint.h> // Zero the .bss section. static void zero_bss(const uint32_t zero) { extern uint32_t __bss_start, __bss_end; for (uint32_t* i = &__bss_start; i < &__bss_end; i++) { *i = zero; } } /* This code will put the core int...
2.5
2
2024-11-18T20:53:46.923266+00:00
2020-04-11T03:17:41
c362cac5c7a244166168383e4c167d3297e3291b
{ "blob_id": "c362cac5c7a244166168383e4c167d3297e3291b", "branch_name": "refs/heads/master", "committer_date": "2020-04-11T03:17:41", "content_id": "41305eec55c4b99315efd5af9550329c7d4a734f", "detected_licenses": [ "MIT" ], "directory_id": "0e85d757a22890c39c88e1dd6effba9766aa75fe", "extension": "c"...
stackv2
/* 老王年底打算买辆车,他制定出的方案是,如果存款在100万以上包括100万买A6, 如果存款在50万到100万之间买帕萨特,如果在20万到50万之间买奇瑞,如果在20万以下的话就买奥拓, 在下面选择最合适的分支语句 */ #include <stdio.h> int main() { int deposit; // 老王的存款 printf("请输入老王的存款(W):"); scanf("%d",&deposit); if (deposit >= 100){ printf("购买A6\n"); }else if (deposit >= 50) { pri...
3.265625
3
2024-11-18T20:53:47.352737+00:00
2019-06-04T18:13:05
7b21fe496dd833fd91473d12badf5ab0c0a825ce
{ "blob_id": "7b21fe496dd833fd91473d12badf5ab0c0a825ce", "branch_name": "refs/heads/master", "committer_date": "2019-06-04T18:13:05", "content_id": "fd56a97534bc41f84fc7fb54cac5c991a6ac1e63", "detected_licenses": [ "MIT" ], "directory_id": "6232df2b5a80f2ee952e6bbeefc937e204266cd8", "extension": "c"...
stackv2
/* * The MIT License (MIT) * * Copyright (c) 2017 Johan Kanflo (github.com/kanflo) * * 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 t...
2.296875
2
2024-11-18T20:53:47.514709+00:00
2019-10-02T04:32:06
45554046bc8fb73364db790542060ec5681163ea
{ "blob_id": "45554046bc8fb73364db790542060ec5681163ea", "branch_name": "refs/heads/master", "committer_date": "2019-10-02T04:42:36", "content_id": "da66766f8cbdee14cd6af9165394db5b1744837d", "detected_licenses": [ "MIT" ], "directory_id": "2978164e151f922e0c7f9c901d49f2ed3a413611", "extension": "c"...
stackv2
/* Copyright (c) 2018 Jason Kölker 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, distribut...
2.03125
2
2024-11-18T20:53:47.663914+00:00
2023-08-15T09:01:44
2a2ad94f7a90243bff4e50b3ea3ee109a77deefa
{ "blob_id": "2a2ad94f7a90243bff4e50b3ea3ee109a77deefa", "branch_name": "refs/heads/master", "committer_date": "2023-08-15T09:01:44", "content_id": "eaef71e0b14a9740f4b0d370d7d4ced037038758", "detected_licenses": [ "MIT", "BSD-3-Clause" ], "directory_id": "050836b921d2c4b6499ed90b2386dc3dabd8b62b"...
stackv2
#ifndef __RMUTIL_STRINGS_H__ #define __RMUTIL_STRINGS_H__ #include <redismodule.h> /* * Create a new RedisModuleString object from a printf-style format and arguments. * Note that RedisModuleString objects CANNOT be used as formatting arguments. */ // DEPRECATED since it was added to the RedisModule API. Replaced wit...
2.40625
2
2024-11-18T20:53:47.763791+00:00
2016-04-07T23:09:49
71ce6e3274f2775d130d5454fde017c9ef6d900e
{ "blob_id": "71ce6e3274f2775d130d5454fde017c9ef6d900e", "branch_name": "refs/heads/master", "committer_date": "2016-04-07T23:09:49", "content_id": "0dfd2bd931e8323501de2c7d8c75eeff1dccd2ee", "detected_licenses": [ "MIT" ], "directory_id": "53ff36fafba045f896c5bc753454730827067125", "extension": "c"...
stackv2
/* ========================================================================== * phf.c - Tiny perfect hash function library. * -------------------------------------------------------------------------- * Copyright (c) 2014-2015 William Ahern * C99 port Copyright (c) 2016 Peter Cannici * * Permission is hereby gra...
2.359375
2
2024-11-18T20:53:47.846668+00:00
2022-11-24T14:00:13
8e9ac9f8e2676ffccf30aea8b82475c5bd460ac4
{ "blob_id": "8e9ac9f8e2676ffccf30aea8b82475c5bd460ac4", "branch_name": "refs/heads/master", "committer_date": "2022-11-24T14:00:13", "content_id": "f61607d4449819c962e139fd881ec94867dc1cf9", "detected_licenses": [ "MIT" ], "directory_id": "0b30cd9bf5601ba55b84f556dff9cb52e3da5222", "extension": "c"...
stackv2
/* ezscript Copyright 2018 Sean Farrell <sean.farrell@rioki.org> 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, modi...
2.09375
2
2024-11-18T20:53:49.286285+00:00
2018-07-22T16:14:37
faa87ad025ba0e512578647ccc448edc6ed1135f
{ "blob_id": "faa87ad025ba0e512578647ccc448edc6ed1135f", "branch_name": "refs/heads/develop", "committer_date": "2018-07-22T16:14:37", "content_id": "c7c2377d72f5e1614b3bfdeb855a3e953012fd3f", "detected_licenses": [ "MIT" ], "directory_id": "1067f1ab518463865808f602b8b61340c1329374", "extension": "c...
stackv2
/**********************************************************************************************/ /* The MIT License */ /* */ /* Copyright 2016-2017 Twitch...
2.15625
2
2024-11-18T20:53:49.356214+00:00
2018-10-14T18:48:17
2c4ef05487c1e453903ff61de3a3a41c1a528ee0
{ "blob_id": "2c4ef05487c1e453903ff61de3a3a41c1a528ee0", "branch_name": "refs/heads/master", "committer_date": "2018-10-14T18:48:17", "content_id": "5f1c1ba2ee77e2c5e5710c43ff549f4e3e490d66", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "17573f7f469088c3fea312c1ced72abf1f6b3809", "extens...
stackv2
#ifndef _SMC_H #define _SMC_H #define _SMC_VERSION_ 0.1 #include "config.h" #include <string.h> #include <stdlib.h> #ifndef __builtin_expect #define __builtin_expect(x, expected_value) (x) #endif #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) #define TXT_LEN 64 #defi...
2.65625
3
2024-11-18T20:53:49.507853+00:00
2019-01-18T23:49:17
919f06aebface9c1535829b0b73bed31f30c6145
{ "blob_id": "919f06aebface9c1535829b0b73bed31f30c6145", "branch_name": "refs/heads/master", "committer_date": "2019-01-19T00:00:08", "content_id": "d1dc21e681309ed1d99bdb9dc6d053655fc14488", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5afaebd46133c1d7d71ff734af4b45b1edf5fc89", "extensio...
stackv2
#include <SDL_image.h> #include "../server/game.h" #include "../common/utils.h" #include "../server/board.h" #include "../common/deck.h" #include "game_view.h" //////////////////////////////////////////////////////////////////// /// FILENAME DEFINITIONS / STRINGS ///////////////////////////////////////////////////...
2.078125
2
2024-11-18T20:53:49.671808+00:00
2018-01-26T21:42:19
2bbb2d19994bbaa7ab661eb1644113bd6a350579
{ "blob_id": "2bbb2d19994bbaa7ab661eb1644113bd6a350579", "branch_name": "refs/heads/master", "committer_date": "2018-01-26T21:42:19", "content_id": "2edf2203716554af1a5d82f537fe6e07d3841e87", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "68435e25286e78615994480145000f44de540692", "extens...
stackv2
/* Module: checkFile.c Version Developer Date Change ------- --------------- ------- ----------------------- 1.1 John Good 27Jun03 Added a few comments for clarity 1.0 John Good 14Mar03 Baseline code */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys...
2.671875
3
2024-11-18T20:53:49.752645+00:00
2021-05-20T20:27:55
468d4906e6ae72ce80ace4c8b575a43509171abe
{ "blob_id": "468d4906e6ae72ce80ace4c8b575a43509171abe", "branch_name": "refs/heads/main", "committer_date": "2021-05-20T20:27:55", "content_id": "e278ee2c746451c4c3c86cf55baae363234b5aaa", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f15aaf4c681d90e574fa6a0f35e9b9865b5ae315", "extension"...
stackv2
#include<stdio.h> #include<stdlib.h> #define MAXOP 100 #define NUMBER '0' #define LETTER 'a' int getop (char []); void push (double); double pop (void); void abceros (double []); int l; int main (){ int type, case_l=0, case_i=0, case_p=0, one=0; double op2, abc[26]; char s[MAXOP], op=0; abce...
3.28125
3
2024-11-18T20:53:49.948603+00:00
2017-03-26T18:05:38
7d06a270427933d6fbc97a6ee30f043ff938c921
{ "blob_id": "7d06a270427933d6fbc97a6ee30f043ff938c921", "branch_name": "refs/heads/master", "committer_date": "2017-03-26T18:05:38", "content_id": "d9c00dac50935a296622a44419d593860a814bcb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "bbe308dd62bbbbaa9f9d2bb38dd8e342f9245237", "extensio...
stackv2
/* Copyright 2013-present Barefoot Networks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
2.0625
2
2024-11-18T20:53:50.227679+00:00
2017-12-21T11:14:35
5048c6d4e160875a00722aa755b13318bb7f7d46
{ "blob_id": "5048c6d4e160875a00722aa755b13318bb7f7d46", "branch_name": "refs/heads/master", "committer_date": "2017-12-21T11:14:35", "content_id": "0f628cba40a0fe33e7499a51694ed46cdf25916d", "detected_licenses": [ "MIT" ], "directory_id": "33ef9abf7f1c1ca11496972e84e5ee2f21f1cba3", "extension": "c"...
stackv2
#include <stdio.h> #define CURRENCIES_LEN 9 int main() { float price_to_pay, price_payed; printf("Inserire prezzo da pagare: "); scanf("%f", &price_to_pay); printf("Inserire totale pagato: "); scanf("%f", &price_payed); if (price_to_pay > price_payed) { printf("Importo non suffici...
3.328125
3
2024-11-18T20:53:50.689475+00:00
2023-07-16T05:32:13
660c732babae46dda7d22e6e270749e62cd52a0a
{ "blob_id": "660c732babae46dda7d22e6e270749e62cd52a0a", "branch_name": "refs/heads/master", "committer_date": "2023-07-16T05:32:13", "content_id": "3d27e57c12a43d487e634156bf0d082a4af8e7d7", "detected_licenses": [ "MIT" ], "directory_id": "ca99e1b6e5e2d30f249106664d486180b8bc6c06", "extension": "c"...
stackv2
/* @file model.c ** ** load a pore model from file or memory ** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au) ** @@ ******************************************************************************/ #include "model.h" #include "f5c.h" #include "f5cmisc.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> ...
2.46875
2
2024-11-18T20:53:50.901789+00:00
2021-08-29T16:29:17
15ccb0b0f940cee2df2964da8d50dcd2bfc4f186
{ "blob_id": "15ccb0b0f940cee2df2964da8d50dcd2bfc4f186", "branch_name": "refs/heads/master", "committer_date": "2021-08-29T16:29:17", "content_id": "871be569c2067b58b0531fc01ef542e5cfafffbe", "detected_licenses": [ "MIT" ], "directory_id": "d24ebd1fd3f42da9274c4eb45a77742dc8d1982f", "extension": "c"...
stackv2
#include<stdio.h> #include<stdlib.h> int check(); void bank(); void deposit(); void withdraw(); extern int id, pw, try, account, money; extern const int USER_ID, USER_PW; extern char choice; int main() { int result; while (1) { printf("ID : ______\b\b\b\b\b\b"); scanf_s("%d", &id); printf("PW : __________\b...
3.359375
3
2024-11-18T20:53:51.069674+00:00
2015-02-26T06:29:52
20239e7d6acba5ef98ddde5f4959955599fc7aa8
{ "blob_id": "20239e7d6acba5ef98ddde5f4959955599fc7aa8", "branch_name": "refs/heads/master", "committer_date": "2015-02-26T06:29:52", "content_id": "a19d02e6a916ef3f127bfd818cbaca52a3ca2003", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c9597d23ce48d3fcd1663f259535a0cc5f54fe47", "extens...
stackv2
#ifndef LIDX_H #define LIDX_H #ifdef __cplusplus extern "C" { #endif #include <inttypes.h> #include <stdlib.h> // We're using the same UChar as the ICU library. #if defined(__CHAR16_TYPE__) typedef __CHAR16_TYPE__ UChar; #else typedef uint16_t UChar; #endif typedef struct lidx lidx; // prefix provides the best pe...
2.453125
2
2024-11-18T20:53:51.332991+00:00
2016-04-26T06:46:50
6b7eb17db51d923d3f31153669ce0c8243a77791
{ "blob_id": "6b7eb17db51d923d3f31153669ce0c8243a77791", "branch_name": "refs/heads/master", "committer_date": "2016-04-26T06:46:50", "content_id": "5693c27f8e3630fab629b55a5e193e93944d92d6", "detected_licenses": [ "MIT" ], "directory_id": "704132ceae27776263430671c5587cee116dba09", "extension": "c"...
stackv2
/* The MIT License (MIT) * * Copyright (c) 2015 Connor Jacobsen * * 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,...
2.40625
2
2024-11-18T20:53:52.090777+00:00
2019-08-30T08:39:31
294b3fe523f198ebf9c7db9d7d4346c5b18fbf9b
{ "blob_id": "294b3fe523f198ebf9c7db9d7d4346c5b18fbf9b", "branch_name": "refs/heads/master", "committer_date": "2019-08-30T08:39:31", "content_id": "1b53f4751370deefb9e4f9094c9de6c44718227c", "detected_licenses": [ "BSD-3-Clause-Clear" ], "directory_id": "1a002cf9e8a95bd7edf6afa71e2fe77de6c7bcfc", "...
stackv2
/* * Copyright (C) 2018 Orange * * This software is distributed under the terms and conditions of the 'BSD-3-Clause-Clear' * license which can be found in the file 'LICENSE.txt' in this package distribution * or at 'https://spdx.org/licenses/BSD-3-Clause-Clear.html'. */ /** * @author Emile-Hugo Spir */ #ifnde...
2.21875
2
2024-11-18T20:53:52.504833+00:00
2022-03-09T16:19:03
25e448495075ba082b4b5b9676f92a43cc96c58a
{ "blob_id": "25e448495075ba082b4b5b9676f92a43cc96c58a", "branch_name": "refs/heads/main", "committer_date": "2022-03-19T18:32:17", "content_id": "92d9018d1ac13f84e3cfa3a7c9fdc79e5b629431", "detected_licenses": [ "Apache-2.0" ], "directory_id": "0cd178f6e63a43f723a1dfe2afdce5a2c64444d0", "extension"...
stackv2
/* * Copyright (c) 2022 Vestas Wind Systems A/S * Copyright (c) 2019 Alexander Wachter * * SPDX-License-Identifier: Apache-2.0 */ #include <drivers/can.h> #include <ztest.h> #include <strings.h> /** * @addtogroup t_driver_can * @{ * @defgroup t_can_timing test_can_timing * @} */ /** * @brief Allowed sampl...
2.4375
2
2024-11-18T20:53:53.018579+00:00
2019-04-28T02:43:00
0171760a99fa03a5114cb4c8dc8c7f5139bff01f
{ "blob_id": "0171760a99fa03a5114cb4c8dc8c7f5139bff01f", "branch_name": "refs/heads/master", "committer_date": "2019-04-28T02:43:00", "content_id": "e59c0f2b49efd4e8071465443826999014306f2b", "detected_licenses": [ "MIT" ], "directory_id": "80703934a3312db4211f1c47906c696aa96397ae", "extension": "c"...
stackv2
/* * Author: Enmo Ren * Copyright (c) Enmo Corporation. * * 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, m...
2.828125
3
2024-11-18T20:53:53.126472+00:00
2023-02-10T09:43:37
2248ed5bb13d82ebaafb6e390fb1b228ec2cb31b
{ "blob_id": "2248ed5bb13d82ebaafb6e390fb1b228ec2cb31b", "branch_name": "refs/heads/main", "committer_date": "2023-07-19T11:53:45", "content_id": "1450d744e3f864e425d3c022e48789d3e18dbc5b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ff2ddeb8051b32766674fb08b8e41d59f11b9975", "extension"...
stackv2
/* * Copyright (C) 2016-2023 T-Head Semiconductor Co., Ltd. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
2.078125
2
2024-11-18T20:53:53.196989+00:00
2015-12-02T21:42:30
46606de91a5fb2206f84cc6f9abe0d239b040b40
{ "blob_id": "46606de91a5fb2206f84cc6f9abe0d239b040b40", "branch_name": "refs/heads/master", "committer_date": "2015-12-02T21:42:30", "content_id": "e889a159c5850a2b9c8898ed7161bd6ff49f89b1", "detected_licenses": [ "MIT" ], "directory_id": "97b470b259e889609194b3274c1fbdc6d1905703", "extension": "c"...
stackv2
/* * Find all possible passcodes with the shortest possible length that contain all numeric subsequences read from stdin * Digits cannot repeat in the passcode */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils.h" #include "math_utils.h" #include "linked_list.h" static linked_list_t * re...
3.109375
3
2024-11-18T20:53:53.615361+00:00
2017-05-04T03:18:39
5c8d0724db484c8f5ae7c61755707b0d8994c29d
{ "blob_id": "5c8d0724db484c8f5ae7c61755707b0d8994c29d", "branch_name": "refs/heads/master", "committer_date": "2017-05-04T03:18:39", "content_id": "94e40e95be7ff009760dbc66247ae6b126beddc5", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "c855246ed1bd2b663d5f2fa300a30d1f057d5cc7", "extens...
stackv2
/***************************************************************************** * Johns Hopkins University * Center For Astrophysical Sciences * FUSE ***************************************************************************** * * Synopsis: cf_arith infile1 op infile2 outfile * * Description: ...
2.375
2
2024-11-18T20:53:53.737590+00:00
2018-10-05T17:46:03
ab192e74651c04010c1ab23dca3966e838aa6e46
{ "blob_id": "ab192e74651c04010c1ab23dca3966e838aa6e46", "branch_name": "refs/heads/master", "committer_date": "2018-10-05T17:46:03", "content_id": "f75f185d0138ae8bfd99e52707776fca72b21fee", "detected_licenses": [ "MIT" ], "directory_id": "b31d9ac2e881fec3aa9fa5f21f10da4b1db9bc17", "extension": "c"...
stackv2
#include <stdio.h> int main() { double numPounds = 0.0; int numHours = 2.0; double numMinutes = 0.0; double numSeconds = 0.0; const int CONST_MULT_PER_POUND = 5; const int TIME_CONVERSION_CONST = 60; printf("How many pounds is your p...
3.21875
3
2024-11-18T20:53:53.802031+00:00
2020-11-19T17:37:39
808893488ed8caa6d76b848e1b5c05b4368bd825
{ "blob_id": "808893488ed8caa6d76b848e1b5c05b4368bd825", "branch_name": "refs/heads/master", "committer_date": "2020-11-19T17:37:39", "content_id": "415efe50e973125b782f732c7832e98eba7d586a", "detected_licenses": [ "CC0-1.0" ], "directory_id": "4f26239e80fb4849380852ff3de3340ea0620477", "extension":...
stackv2
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> #include "procedure.h" /* Per il passaggio degli oggetti monitor dal main() ai thread, * sono possibili due soluzioni: * - Dichiarare due puntatori globali (visibili a tutte le funzioni) * - Utilizzare il quarto parametro della funz...
3
3
2024-11-18T20:53:53.871855+00:00
2020-09-24T05:39:52
cf73051950a4b5335397b67e0e2dd9a4ddb58eb4
{ "blob_id": "cf73051950a4b5335397b67e0e2dd9a4ddb58eb4", "branch_name": "refs/heads/master", "committer_date": "2020-09-24T05:39:52", "content_id": "b5f318e53f96f349e39841319c9e4ad7e3c241dd", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ff3768d094b58cecc9165b99d90e594dff1e29dd", "extensio...
stackv2
/* calcPixelSize.c * * This does an empirical calculation for the pixel size of a * static image generated by one of the online map providers in * the MapEval system. It is assumed that this image was captured * with a small red box in the center, .002 x .002 degrees in * size. The program determines how m...
2.703125
3
2024-11-18T20:53:53.960585+00:00
2019-11-28T14:42:45
f5e981144e997edef5b61baf0e0161ef04ce9b92
{ "blob_id": "f5e981144e997edef5b61baf0e0161ef04ce9b92", "branch_name": "refs/heads/master", "committer_date": "2019-11-28T15:01:37", "content_id": "fc2cfeb190f27cd87e5324804ff044b1dcc67435", "detected_licenses": [ "MIT" ], "directory_id": "d85aa64c591a5221679bb7a47b00414a422c66ca", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include "sequence.h" int seqs_len = 0; /* External - number of sequences in global list */ static int seqs_alloc = 0; static SEQUENCE **seqs = NULL; /* Create a new sequence. */ SEQUENCE *newSequence(void) { static int ID = 0; SEQUENCE *result; result = malloc(sizeof(SEQ...
3.046875
3
2024-11-18T20:53:54.008684+00:00
2021-05-29T02:16:42
0e102919177abb27ff258f57ceb79506c5ec5070
{ "blob_id": "0e102919177abb27ff258f57ceb79506c5ec5070", "branch_name": "refs/heads/master", "committer_date": "2021-05-29T02:16:42", "content_id": "e2e2dee7d6c706eb90326022fab3476ce7dc0a79", "detected_licenses": [ "Apache-2.0" ], "directory_id": "796e43acb4d560d3044819acfc9efc067f1bc228", "extensio...
stackv2
/* * Copyright (c) 2014-2018 Cesanta Software Limited * 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.171875
2
2024-11-18T20:53:54.083853+00:00
2016-09-20T10:11:22
d6b7fe81a7f623cff9c54b11d2ec7b228a812399
{ "blob_id": "d6b7fe81a7f623cff9c54b11d2ec7b228a812399", "branch_name": "refs/heads/master", "committer_date": "2016-09-20T10:11:22", "content_id": "0372b8086ca715abca87fd6b1ff098d1919dcf8b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7f5937c840ea0a0a33270040b15b1ec882422c87", "extensio...
stackv2
#include <const.h> #include <sys/regexp.h> /** * \c #include \c <desc.h> to use this file. * * Inheriting this object lets the derived object have a description. * The large majority of game objects have a description, so they will inherit this * object. You should include desc.h to use these functions. */ /// I...
2.25
2
2024-11-18T20:53:54.257695+00:00
2019-06-03T19:32:33
a61d8064c1f71e801116adc3131d7beb16b1b33d
{ "blob_id": "a61d8064c1f71e801116adc3131d7beb16b1b33d", "branch_name": "refs/heads/master", "committer_date": "2019-06-03T19:32:33", "content_id": "ba0220bb3462eeec75e793ff1ba27caad931ab75", "detected_licenses": [ "MIT" ], "directory_id": "301f166eefd55156b7c63c2b422b6296cad04969", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> int main(int argc, char const *argv[]) { char s[] = "My names is Przemek"; char temp[50]; strncpy(temp,s, sizeof(temp) - 1); printf("The length is %d: \n",strlen(s)); printf("The string is %s",temp); return 0; }
2.984375
3
2024-11-18T20:53:54.338520+00:00
2019-06-01T13:17:13
6b86279f4db2d8bcd4e1d043fd3333d175f49735
{ "blob_id": "6b86279f4db2d8bcd4e1d043fd3333d175f49735", "branch_name": "refs/heads/master", "committer_date": "2019-06-01T13:17:13", "content_id": "8a83c497f032f9b1880bc50a5914d7d49c3303bf", "detected_licenses": [ "MIT" ], "directory_id": "30e8425aa30feea6198a592858e7819d30489609", "extension": "c"...
stackv2
/* ** nm32_sym.c for PSU_2016_nmobjdump in /home/jsx/Epitech/tek2/PSU/nm_objdump/PSU_2016_nmobjdump/nm/src ** ** Made by jsx ** Login <jsx@epitech.net> ** ** Started on Sun Feb 26 17:22:12 2017 jsx ** Last update Sun Feb 26 20:39:09 2017 jsx */ #include "nm.h" static char is_undefined(Elf32_Sym *sym) { if (s...
2.234375
2
2024-11-18T20:53:54.459130+00:00
2021-03-10T11:11:45
1665cec7e0ac9ab9900d597902ff3b7a7fadb4ee
{ "blob_id": "1665cec7e0ac9ab9900d597902ff3b7a7fadb4ee", "branch_name": "refs/heads/main", "committer_date": "2021-03-10T11:11:45", "content_id": "3a4b9ae12b699e9712f65397280f004029ceb021", "detected_licenses": [ "MIT" ], "directory_id": "976093fd2797b6e553fd021bdecf61a8922a26e2", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> const int max=1000; int main() { //gets the entered text char a[max],newa[max]; fgets(a,max,stdin); int i,current,count=0; for(i=0;i<strlen(a);i++) { current=a[i]; if((current>='a'&& current<='z')||(current>='A'&& curre...
3.28125
3
2024-11-18T20:53:55.275016+00:00
2023-07-02T04:48:29
086108e18470ed9d3ff0197aec112bf9003fa185
{ "blob_id": "086108e18470ed9d3ff0197aec112bf9003fa185", "branch_name": "refs/heads/master", "committer_date": "2023-07-02T04:48:29", "content_id": "57dc4207da9e781e4078aefc1f3f2a3274597670", "detected_licenses": [ "MIT" ], "directory_id": "bbed308c9ee9b2123b691592419db011a35b9e5e", "extension": "c"...
stackv2
#include "name.h" #include "support/util.h" #include "support/unicodeconv/unicodeconv.h" #ifndef MAIN_VER #define MAIN_VER 0 #endif #ifndef SECONDARY_VER #define SECONDARY_VER 0 #endif #ifndef PATCH_VER #define PATCH_VER 0 #endif #define COPYRIGHT_LEN 32 static void nameRecordDtor(otfcc_NameRecord *entry) { DELETE...
2.296875
2
2024-11-18T20:53:55.331996+00:00
2016-06-09T17:58:17
4106c6c770b482ac042655b7b43a3c9b303d6f54
{ "blob_id": "4106c6c770b482ac042655b7b43a3c9b303d6f54", "branch_name": "refs/heads/master", "committer_date": "2016-06-09T17:58:17", "content_id": "2398cb8536f9a29842c42255e73303fc212f0fff", "detected_licenses": [ "MIT" ], "directory_id": "97cd36028a31cdc33eb2d98dadbcf07dd0137d7c", "extension": "c"...
stackv2
#include <pebble.h> #include <pebble-effect-layer/pebble-effect-layer.h> Window *my_window; TextLayer *text_layer_hours, *text_layer_minutes, *text_layer_dots; EffectLayer *effect_layer_hours, *effect_layer_minutes; char buffer_hours[] = "00"; char buffer_minutes[] = "00"; bool dots_visible = true; #ifndef PBL_SDK_...
2.4375
2
2024-11-18T20:53:55.393491+00:00
2020-06-04T01:57:44
8a68845ddcc7687cfc82f445b25d06e7eceb0e2c
{ "blob_id": "8a68845ddcc7687cfc82f445b25d06e7eceb0e2c", "branch_name": "refs/heads/master", "committer_date": "2020-06-04T01:57:44", "content_id": "2c3a64241c1852186471eb42502b6eb44bbe5d72", "detected_licenses": [ "MIT" ], "directory_id": "600cbee59db8ed31e6b1ac6705e04faebd6fef6c", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include "helpers.h" int main(int argc, char *argv[]) { char *die; // variable to hold the dice int rolls, modifier; if (argc < 2) // quit the program if there are no args { printf("\n"); printf("\033[1m\033[31m"); // print in red bold pr...
3.140625
3
2024-11-18T20:53:55.479561+00:00
2018-12-16T02:32:55
947788db01a6cf9afbaf08fb481cfd760372aa8f
{ "blob_id": "947788db01a6cf9afbaf08fb481cfd760372aa8f", "branch_name": "refs/heads/master", "committer_date": "2018-12-16T02:32:55", "content_id": "2864252de93e2e6d0f13c01aedc1df9e2c918ce7", "detected_licenses": [ "MIT" ], "directory_id": "aec0097b058b6a0e7f24e5af3df24e98ac038b9e", "extension": "c"...
stackv2
/* * * Universidade de Brasilia- UnB * Departamento de Ciencia da Computacao- CIC-UnB * Disciplina: Estruturas de Dados * Professor: * Turma * Periodo: * * Projeto 3 * Autor: Brando Franco * Matricula: * * * * * * * O objetivo era criar um programa capaz de jogar um jogo da velha de forma "inteligente...
2.515625
3
2024-11-18T20:53:55.745942+00:00
2017-02-24T09:04:09
9282e84bd65d90c873f79476ea85c63715c9b608
{ "blob_id": "9282e84bd65d90c873f79476ea85c63715c9b608", "branch_name": "refs/heads/master", "committer_date": "2017-02-24T09:04:09", "content_id": "c0f74b3bf411568729c5b1396e87af75ee774a2d", "detected_licenses": [ "MIT" ], "directory_id": "c0b2368278ce623a5f81137dfa271b408db7282c", "extension": "c"...
stackv2
#include "andtiming_c.h" #include "andsysutil.h" void and_ticker_reset(AndTicker *tick) { tick->start_sec = and_sysutil_get_time_sec(); tick->start_usec = and_sysutil_get_time_usec(); } double and_ticker_msec(AndTicker *tick) { return (double)1000. * and_ticker_sec(tick); } double and_ticker_sec(AndTicker *tick) ...
2.34375
2
2024-11-18T20:53:56.004568+00:00
2017-06-30T21:32:06
8e8cc21db4046ff170e6ee1c7c786e6fb6ed431d
{ "blob_id": "8e8cc21db4046ff170e6ee1c7c786e6fb6ed431d", "branch_name": "refs/heads/master", "committer_date": "2017-06-30T21:32:06", "content_id": "0aebe9da57b5c4781a165efd7a3396ad708d8f55", "detected_licenses": [ "MIT" ], "directory_id": "4bd36db56cad5b790e01e48dd55be67a638222c2", "extension": "c"...
stackv2
#include "sort.h" int main (void) { //numbers afterwards will be zero. int numbersList[10] = [42, 32, 7, 22, -1]; printList(numbersList, 5); selectionSort(numbersList, 5); printList(numbersList, 5); return 0; }
2.453125
2
2024-11-18T20:53:56.197420+00:00
2023-08-10T13:42:17
2f6dd976f35202319cc69e2d98b8d359df74f52d
{ "blob_id": "2f6dd976f35202319cc69e2d98b8d359df74f52d", "branch_name": "refs/heads/master", "committer_date": "2023-08-10T13:42:17", "content_id": "53ab6ed631416f82d6d580696c55892f64224973", "detected_licenses": [ "MIT" ], "directory_id": "6ff85b80c6fe1b3ad5416a304b93551a5e80de10", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int *aloca(int *vetorInt, int tamanho) { vetorInt = malloc(tamanho * sizeof(int)); if (vetorInt != NULL) printf("*** VETOR ALOCADO.\nENDERECO NA FUNCAO: %d ***\n", vetorInt); else printf("*** NAO ALOCADO ***\n"); return vetorInt; } int main (void) { int *vetor =...
3.03125
3
2024-11-18T20:53:56.306730+00:00
2020-05-21T17:01:44
5a734495fec650b9cd169a8e626bf42430e0d13a
{ "blob_id": "5a734495fec650b9cd169a8e626bf42430e0d13a", "branch_name": "refs/heads/master", "committer_date": "2020-05-21T17:01:44", "content_id": "5524b9155d51d9c68fdf3e076a1ba9de74571bb9", "detected_licenses": [ "MIT" ], "directory_id": "df991c1f37e29d6bb0df6fc6ef88578d9a349aa3", "extension": "c"...
stackv2
/* =============================================================================== This source file is part of libextant libextant is made available under the MIT License. Copyright (c) 2016-2020 Javier Castillo II Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
2.28125
2
2024-11-18T20:53:56.544444+00:00
2018-10-16T05:03:28
ea7a3ca74330382012185f2b8dcf328bff6c4425
{ "blob_id": "ea7a3ca74330382012185f2b8dcf328bff6c4425", "branch_name": "refs/heads/master", "committer_date": "2018-10-16T05:03:28", "content_id": "ce20ee6552311a706c45737dd4665ce7d0928773", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "65a25da890c9f908394fa419c0707059ab4476a6", "extens...
stackv2
#ifndef CLIP_H #define CLIP_H #include <stdint.h> #include "../containers/aligned_vector.h" #ifdef __cplusplus extern "C" { #endif typedef enum { CLIP_RESULT_ALL_IN_FRONT, CLIP_RESULT_ALL_BEHIND, CLIP_RESULT_ALL_ON_PLANE, CLIP_RESULT_FRONT_TO_BACK, CLIP_RESULT_BACK_TO_FRONT } ClipResult; #defi...
2.125
2
2024-11-18T20:53:56.636787+00:00
2019-01-29T19:57:16
153e6b25a5f6bad99f14a84c505d79249b0f7f9d
{ "blob_id": "153e6b25a5f6bad99f14a84c505d79249b0f7f9d", "branch_name": "refs/heads/master", "committer_date": "2019-01-29T19:57:16", "content_id": "f063c77dc6fea77c7e4226b14e12f81438bd777b", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "5ea4d691beef66ae7dcc0031765f6b3e927bed22", "extens...
stackv2
// // // //////////////////////////////////////////////////////////////////////////////////// // ///////// /////////// // ////// SSS PPPP I N N DDDD U U M M PPPP ////// // // S P P I NN N D...
2.109375
2
2024-11-18T20:53:57.035559+00:00
2019-07-26T12:31:57
ebfafa322dc28499d2c8c02cf867ada3c2cd26ea
{ "blob_id": "ebfafa322dc28499d2c8c02cf867ada3c2cd26ea", "branch_name": "refs/heads/master", "committer_date": "2019-07-26T12:31:57", "content_id": "fa5a0d2950ed1eccf35076a726b5200ab87feac0", "detected_licenses": [ "MIT" ], "directory_id": "69040d718194f7128ff6038463112ff9f3b47e9c", "extension": "h"...
stackv2
#include "sequentialStack.h" /* This function turns a prefix expression stored in 'prefiExpression' into a postfix expression and stores it in 'postfixExpression' If everything is all right, RETURN SUCCEEDED; otherwise, RETURN FAILED */ State infixToPostfix(char *infixExpression,char postfixExpression[]); /* ...
2.3125
2
2024-11-18T20:53:57.359111+00:00
2023-08-27T19:14:02
1e661ffb3a01ba2fa58d0e26c3812a38b3152aa6
{ "blob_id": "1e661ffb3a01ba2fa58d0e26c3812a38b3152aa6", "branch_name": "refs/heads/master", "committer_date": "2023-08-27T19:14:02", "content_id": "cdcddf1c1690efba33cd98399da16f7955fecb41", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "7c857119fe1505b1d80d6e62969661c06dc1a2f4", "extens...
stackv2
/* * ati_resolution.c * * * Created by Le Bidou on 19/03/10. * Copyright 2010 ---. All rights reserved. * */ #include "ati_resolution.h" char detect_ati_bios_type(vbios_map * map) { return map->mode_table_size % sizeof(ATOM_MODE_TIMING) == 0; } vbios_map * open_ati_vbios(vbios_map * map, bios_tables_t ...
2.453125
2
2024-11-18T20:53:57.772464+00:00
2018-05-11T12:20:27
243dd9e24a2c3acded5048ae3ae2fda61a550a95
{ "blob_id": "243dd9e24a2c3acded5048ae3ae2fda61a550a95", "branch_name": "refs/heads/master", "committer_date": "2018-05-11T12:20:27", "content_id": "d5b337fa07f9bddbaae9075fdb1307ec975168af", "detected_licenses": [ "MIT" ], "directory_id": "0956859f8cd4608551dba6f265e6cab7c7e6674f", "extension": "c"...
stackv2
/** \brief This is a program which shows how to use the bsp modules for the board and leds. \note: Since the bsp modules for different platforms have the same declaration, you can use this project with any platform. Load this program on your boards. The LEDs should start blinking furiously. \author Th...
2.78125
3
2024-11-18T20:53:57.854029+00:00
2023-08-30T18:36:27
92f410c9ac380dd95b38a3ca225f24868a24a1b0
{ "blob_id": "92f410c9ac380dd95b38a3ca225f24868a24a1b0", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T18:36:27", "content_id": "927cf8127e17f00b2c4cfdf31977a55e9aeab33a", "detected_licenses": [], "directory_id": "8e56b05b32a978eb170e01409a7aaaa1fc755979", "extension": "h", "filename...
stackv2
#ifndef _SYS_PMAP_H_ #define _SYS_PMAP_H_ #include <stdbool.h> #include <sys/vm.h> typedef struct ctx ctx_t; typedef struct pmap pmap_t; /* * Flags passed to `pmap_kenter` and `pmap_enter`. * * PMAP flags layout: * * 31 ... 24 23 ... 0 * MD flags MI flags * * NOTE: permissions are passed using...
2.28125
2
2024-11-18T20:53:58.145162+00:00
2015-02-06T11:49:47
4b674f47ed85aed7dcd4c08ad314a9677de2c88a
{ "blob_id": "4b674f47ed85aed7dcd4c08ad314a9677de2c88a", "branch_name": "refs/heads/master", "committer_date": "2015-02-06T11:49:47", "content_id": "50e585e3d8ae9be1dc3711864cedd8b8710b908a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "38e89ee4416a5acba774381e82dc087dce777591", "extensio...
stackv2
#ifndef _MINZIP_HASH #define _MINZIP_HASH #include "inline_magic.h" #include <stdlib.h> #include <stdbool.h> #include <assert.h> /* compute the hash of an item with a specific type */ typedef unsigned int (*HashCompute)(const void* item); typedef int (*HashCompareFunc)(const void* tableItem, const void* looseItem)...
2.59375
3
2024-11-18T21:06:24.083571+00:00
2020-08-08T09:50:39
e9c5a885d0551836a9a37a0f4c29e0e62b622cb8
{ "blob_id": "e9c5a885d0551836a9a37a0f4c29e0e62b622cb8", "branch_name": "refs/heads/master", "committer_date": "2020-08-08T09:50:39", "content_id": "9fa745c27b07492bdb7be9ea3597e39908b12f03", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "c9797fdfce38f32bf11c9e9bd36218fbe46819ef", "extens...
stackv2
#include <assert.h> #include <bytecode.h> #include <frame.h> #include <value.h> int operator_jump(FRAME *Frame, VALUE *Value) { uint8_t uValue; switch(Frame->BC & BYTECODE_MASK) { case BYTECODE_JMPC: case BYTECODE_JMPCN: /* The modifier "C" indicates that the ass...
2.609375
3
2024-11-18T21:06:24.844969+00:00
2021-01-03T17:22:13
6187e107e6e41cf7f8f07ef2a3ce1df0b8f62303
{ "blob_id": "6187e107e6e41cf7f8f07ef2a3ce1df0b8f62303", "branch_name": "refs/heads/main", "committer_date": "2021-01-03T17:22:13", "content_id": "df3d1af2814b390049958e422ce6b63da3a5424e", "detected_licenses": [ "MIT" ], "directory_id": "0f0fbd191f174c7386f1105148c3d55044339224", "extension": "h", ...
stackv2
// // Created by cigan on 15.10.2020. // #ifndef ARRAYPRIMENUMBERSGENERATOR_DATASETSIMPLEMENTATION_H #define ARRAYPRIMENUMBERSGENERATOR_DATASETSIMPLEMENTATION_H #include "DataSetsDef.h" void DataSetOne(OneDimensionalArrayType * Array) { Array->Length = 5; Array->OneDimensionalArray[0] = 2; Array->OneDi...
2.03125
2
2024-11-18T21:06:25.243608+00:00
2016-09-01T16:14:12
414e90bf304a44c09fa5082bc5d260ddcb9fa9f4
{ "blob_id": "414e90bf304a44c09fa5082bc5d260ddcb9fa9f4", "branch_name": "refs/heads/master", "committer_date": "2016-09-01T16:14:12", "content_id": "ef9d7027755332b3aba9e77301d9760fa3da3a0f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b0dda741edc03f419e4b66d5ff750b153d74b19c", "extens...
stackv2
#ifndef H_PNG #define H_PNG #include <png.h> // Single PNG chunk typedef struct { char* Name; uint32_t Size; void* Data; void* Next; } PNGChunk; // PNG decode\encode context typedef struct { // libpng pointers png_structp pngPtr; png_infop infoPtr; // Opened for writi...
2.21875
2
2024-11-18T21:06:25.527905+00:00
2021-08-18T03:06:15
a00d8e49a17b5a6b98197df74a378b49d97f2c83
{ "blob_id": "a00d8e49a17b5a6b98197df74a378b49d97f2c83", "branch_name": "refs/heads/master", "committer_date": "2021-08-18T03:06:15", "content_id": "eac316adf39383e5f92fbd484d148d8a2677623a", "detected_licenses": [ "MIT" ], "directory_id": "1bace9901daca2f271002e05627254623a54b7af", "extension": "c"...
stackv2
#include "flash.h" #include <string.h> #include "drv_fmc.h" #include "drv_serial.h" #include "profile.h" #include "project.h" #include "util/cbor_helper.h" extern const profile_t default_profile; extern profile_t profile; #define FMC_HEADER 0x12AA0001 #define FRSKY_BIND_OFFSET 57 static float initial_pid_identifie...
2
2
2024-11-18T21:06:27.556005+00:00
2016-08-08T18:20:45
13eaf0ea98b888313b1ff9cecbf3c60d02dd4912
{ "blob_id": "13eaf0ea98b888313b1ff9cecbf3c60d02dd4912", "branch_name": "refs/heads/master", "committer_date": "2016-08-08T18:20:45", "content_id": "f49ed4a22d040fe587c7dd27a992df17afa6bafa", "detected_licenses": [ "MIT" ], "directory_id": "558c62270ce2cc9e0a0fec7f8a2876e3283a7320", "extension": "c"...
stackv2
/** ** This file was automatically generated by the Cyclone scheme compiler ** http://justinethier.github.io/cyclone/ ** ** (c) 2014-2016 Justin Ethier ** Version 0.1.6 (alpha) ** **/ #define closcall1(td, clo,a1) \ if (type_is_pair_prim(clo)) { \ Cyc_apply(td, 0, (closure)(a1), clo); \ } else { \ ((clo)-...
2.390625
2
2024-11-18T21:06:27.776683+00:00
2020-07-30T00:53:57
c1fc4c622c518ceece31995e3c4f35ff89a605a9
{ "blob_id": "c1fc4c622c518ceece31995e3c4f35ff89a605a9", "branch_name": "refs/heads/master", "committer_date": "2020-07-30T00:53:57", "content_id": "ca2fe4957aeb81ea04406f9f4d23511e3866e232", "detected_licenses": [ "MIT" ], "directory_id": "07ab893a5e22ff202998c306ef34d61031c0c997", "extension": "c"...
stackv2
/* * fir_semester_work.c * * Created: 2020-07-09 오후 6:44:22 * Author : Yunseo Hwang */ #define F_CPU 16000000UL #include <avr/io.h> #include <util/delay.h> #include <stdlib.h> #include "lcd1602a_h68.h" #define SW_DDR DDRA #define SW_PIN PINA #define HEART_CHAR 4 #define PLAYER_CHAR 5 #define BV(n) (1 << n) #def...
2.390625
2
2024-11-18T21:06:27.999517+00:00
2020-08-24T05:53:33
20acee93c8523a77c6b0fbf44014457ae6d45a71
{ "blob_id": "20acee93c8523a77c6b0fbf44014457ae6d45a71", "branch_name": "refs/heads/master", "committer_date": "2020-08-24T05:53:33", "content_id": "8cea18e9ff22847688f332304d20c7dcb701138b", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "77ecfb683e92b1c6b4e98656c8928536060894d7", "extens...
stackv2
/* module : equal.c version : 1.13 date : 03/28/20 */ #ifndef EQUAL_C #define EQUAL_C #ifdef CASE_X #undef CASE_X #undef CASE_C #endif #include "case.c" PRIVATE int equal_list(Node *first, Node *second); /** equal : T U -> B (Recursively) tests whether trees T and U are identical. */ PRIVATE int...
2.328125
2
2024-11-18T21:06:28.078749+00:00
2020-10-04T16:50:20
28cf88a294f86e55aa5dae3849c3d2706fb18f50
{ "blob_id": "28cf88a294f86e55aa5dae3849c3d2706fb18f50", "branch_name": "refs/heads/master", "committer_date": "2020-10-04T16:50:20", "content_id": "901570cccb9c629188699c276e3267f8ce7de91e", "detected_licenses": [ "ISC" ], "directory_id": "8eb281d8b1fe103768ded0ef2bd6ae8fe24afb86", "extension": "c"...
stackv2
#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> // great example of variable args but a bad idea // at least for the console.log, just use printf void console_log(int chunks, ...) { va_list arguments; va_start(arguments, chunks); for (int x = 0; x < chunks; x++) { printf(x ? " ...
3.0625
3
2024-11-18T21:06:28.156200+00:00
2023-05-24T04:09:55
ce6bae297dcf52bfbef8b2d47edfa64f5c4b1bf9
{ "blob_id": "ce6bae297dcf52bfbef8b2d47edfa64f5c4b1bf9", "branch_name": "refs/heads/master", "committer_date": "2023-05-24T04:10:13", "content_id": "77971ac4a59467a72619d1c11057dca060561bb5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5e4bf1364f7568cf91fd1c1a49a5823d709288a9", "extensio...
stackv2
/* * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2014-2016 Valve Corporation. All rights reserved. * Copyright (C) 2014-2016 LunarG, Inc. * Copyright (C) 2019 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
2.0625
2
2024-11-18T21:06:29.519960+00:00
2015-01-26T15:43:45
59d20187e8eb776ba278df41981965d39ddfa6cd
{ "blob_id": "59d20187e8eb776ba278df41981965d39ddfa6cd", "branch_name": "refs/heads/master", "committer_date": "2015-01-26T15:43:45", "content_id": "eba4e9bab8a515679fe0e78f2210c204877937a6", "detected_licenses": [ "BSL-1.0" ], "directory_id": "e33733e287ab56f9ef7c09502eab1bc01f7e26fd", "extension":...
stackv2
/* Copyright (c) 2010-2014 by Digital Mars * All Rights Reserved, written by Walter Bright * http://www.digitalmars.com * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) * https://github.com/D-Programming-Language/dmd/blo...
2.484375
2
2024-11-18T21:06:29.635713+00:00
2019-08-02T14:36:57
25a25a53bfe72392a27f5910bd822a244d088de2
{ "blob_id": "25a25a53bfe72392a27f5910bd822a244d088de2", "branch_name": "refs/heads/master", "committer_date": "2019-08-02T14:36:57", "content_id": "c47629757f96a5bdc6d3cfb59ba1e6913cbfdabf", "detected_licenses": [ "MIT" ], "directory_id": "88b4bb7bb047da24982c7d985d78d8143e626cc0", "extension": "c"...
stackv2
#include <stdio.h> double result(double x, double y); int main(void) { double x; double y; while (scanf("%lf %lf", &x, &y)) { printf("%f\n", result(x, y)); } return 0; } double result(double x, double y) { return (x - y) / (x * y); }
2.6875
3
2024-11-18T21:06:30.158620+00:00
2015-06-24T13:23:38
08e8b4fbdf7340f2652fb25fc440ecc36289772c
{ "blob_id": "08e8b4fbdf7340f2652fb25fc440ecc36289772c", "branch_name": "refs/heads/master", "committer_date": "2015-06-24T13:23:38", "content_id": "c214fea9364588228b45bc4cdbcb012ca4a697d3", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "702d0f654a8a6bda5c6d1a44ad24764c22179297", "extens...
stackv2
#include <platform.h> #include <pony.h> #include "lang.h" #include <stdio.h> PONY_EXTERN_C_BEGIN typedef struct pony_mode_t { pony_type_t* desc; bool setuid; bool setgid; bool sticky; bool owner_read; bool owner_write; bool owner_exec; bool group_read; bool group_write; bool group_exec; bool any...
2.359375
2
2024-11-18T21:06:30.251394+00:00
2021-04-16T14:54:51
8ccf173723d24ce5a71f71afee93e08df4c4641b
{ "blob_id": "8ccf173723d24ce5a71f71afee93e08df4c4641b", "branch_name": "refs/heads/master", "committer_date": "2021-04-16T14:54:51", "content_id": "c6307f4952a887d84f887cb63099e2b72c1b2b4e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "90afcb1a8928e6a356d3863519003964b86eef1f", "extensio...
stackv2
#include "TestList.h" #include "List.h" #include <stdbool.h> #include <locale.h> bool testAddItem(void) { List *list = makeList(); for (int i = 0; i < 6; i++) { addItem(list, i); } int k = 0; bool result = true; for (Position position = getFirst(list); !isEnd(position); position = nextItem(position)) { in...
2.609375
3
2024-11-18T21:06:30.704337+00:00
2023-08-07T00:26:03
9d0a7b97188288bdb48c0bb80f46226926fd7a05
{ "blob_id": "9d0a7b97188288bdb48c0bb80f46226926fd7a05", "branch_name": "refs/heads/master", "committer_date": "2023-08-07T00:26:03", "content_id": "5f0f909ef98f86cf63c79f8aac42d45fc3bd66ef", "detected_licenses": [ "MIT" ], "directory_id": "78c4a0b029ef1af4ac9ef90305eef85ef866ad35", "extension": "c"...
stackv2
#include "vxWorks.h" typedef struct { pthread_mutex_t mutex; } SD; static pthread_mutex_t sdlk = PTHREAD_MUTEX_INITIALIZER; static SD sds[128]; static size_t nsd; static void sdlock(void) { pthread_mutex_lock(&sdlk); } static void sdunlock(void) { pthread_mutex_unlock(&sdlk); } SEM_ID semBCreate(int options, SE...
2.390625
2
2024-11-18T21:06:31.025249+00:00
2021-10-13T06:49:03
dde9425b0136e0da23d999446fbfb087cd227032
{ "blob_id": "dde9425b0136e0da23d999446fbfb087cd227032", "branch_name": "refs/heads/master", "committer_date": "2022-09-28T12:25:54", "content_id": "cdaa65b4fe97a0cf99f6a7f2fa9d98326e5a2300", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1aeb28dfc477505d3896e98a135b838e0f80f1b7", "extens...
stackv2
/* ------------------------------------------ * Copyright (c) 2017, Synopsys, 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: * 1) Redistributions of source code must retain the above copyr...
2.203125
2
2024-11-18T21:06:31.145520+00:00
2020-10-16T18:53:17
3e691b6d0bcd77ad1d8317c798564d23df034ef7
{ "blob_id": "3e691b6d0bcd77ad1d8317c798564d23df034ef7", "branch_name": "refs/heads/master", "committer_date": "2020-10-16T18:53:17", "content_id": "5766bd28c342a6cb01e36000fd45250fd3231b68", "detected_licenses": [ "Apache-2.0" ], "directory_id": "58e8cb7dad1ae1475a333cc562d628eb9d3bb2c0", "extensio...
stackv2
#include<stdio.h> int fact(int n) { int i; int fact_value=1; for(i=1;i<=n;i++) { fact_value=fact_value*i; } return(fact_value); } int main() { int no,result; printf("Enter a number:"); scanf("%d",&no); result = fact(no); printf("\nFactorial of number %d is = %d",no,result); }
3.453125
3
2024-11-18T21:06:33.289558+00:00
2015-06-06T00:05:04
1596b03e12300b37a7a85dc79b03472182463397
{ "blob_id": "1596b03e12300b37a7a85dc79b03472182463397", "branch_name": "refs/heads/master", "committer_date": "2015-06-06T01:51:24", "content_id": "97f6cad7b4008e386b00d2b16c9c2ffbb01f7cd8", "detected_licenses": [ "MIT" ], "directory_id": "77e9f53b6cf2080ef5dbe6ae8ad0bb3679db68f1", "extension": "c"...
stackv2
#include <avr/io.h> #include <util/delay.h> #include <avr/sleep.h> #include <avr/interrupt.h> #include <stdlib.h> #include <stdio.h> #include "defaults.h" #include "mcp2515.h" #include "uart.h" #include "mBoard.h" //---------------------------------------------------------------------------------- void sleep ( uint...
2.515625
3
2024-11-18T21:06:33.566218+00:00
2021-01-13T21:42:50
820963f12ac2dc7d0989ad1ab09018f8d702ce60
{ "blob_id": "820963f12ac2dc7d0989ad1ab09018f8d702ce60", "branch_name": "refs/heads/master", "committer_date": "2021-01-13T21:42:50", "content_id": "468983c21bf546d854ccef93c2cab3aab10455f3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "cfb81b925db8e5465b43278158483cb986ccd302", "extens...
stackv2
#include "../../src/AwFmIndexStruct.h" #include "../../src/AwFmIndex.h" #include "../../src/AwFmCreate.h" #include "../../src/AwFmKmerTable.h" #include "../../src/AwFmLetter.h" #include "../../src/AwFmSearch.h" #include "../test.h" #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <assert.h> #include ...
2.359375
2
2024-11-18T21:06:34.410761+00:00
2013-09-27T04:20:45
5ea73d32501e4d68d57f766f7a5d1e85f660c267
{ "blob_id": "5ea73d32501e4d68d57f766f7a5d1e85f660c267", "branch_name": "refs/heads/master", "committer_date": "2013-09-27T04:20:45", "content_id": "247844064c406522fee3d6fb5abd9b83b64cacb3", "detected_licenses": [ "MIT" ], "directory_id": "2a11335e75ba0ccc10c37d2c13754be77a822f4f", "extension": "c"...
stackv2
// // PGCAutoreleasePool.c // PGCFoundation // // Created by Prachi Gauriar on 2/26/2012. // Copyright (c) 2012 Prachi Gauriar. // // 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 wi...
2.25
2
2024-11-18T21:06:34.550567+00:00
2015-09-28T08:36:17
c9eba771c0d2c627e975a3b6df054a7a208a997d
{ "blob_id": "c9eba771c0d2c627e975a3b6df054a7a208a997d", "branch_name": "refs/heads/master", "committer_date": "2015-09-28T08:36:17", "content_id": "1c24c7ccfb5bad807834a9460e9761fbb89a147c", "detected_licenses": [ "MIT" ], "directory_id": "cf5d83f05b4734761e8950fc6b00c9b44314d927", "extension": "c"...
stackv2
/* Enunciado: función recursiva que imprima 1,2,3,4,5... ata o valor absoluto dun número que introduzcamos. Autor: Manuel Cascallar Autrán Data: 27-11-2009 */ #include<stdio.h> #include<stdlib.h> void repetir (int); int main(){ //encabezamento system("title 35_Cascallar_Autrán_Manuel"); system("colo...
3.46875
3
2024-11-18T21:06:34.921613+00:00
2023-05-08T03:10:41
93946abc785e04e4c84ca74f3bc02dddeba89df1
{ "blob_id": "93946abc785e04e4c84ca74f3bc02dddeba89df1", "branch_name": "refs/heads/master", "committer_date": "2023-05-08T03:10:41", "content_id": "f00eff2f03c9a4e8515afb4af1d7becd27d5c169", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8bae51ddb3ad34a234dd786f948336ee63132fbd", "extensio...
stackv2
/**************************************************************************//** * @file main.c * @version V3.00 * @brief Implement SPI Master loop back transfer. This sample code needs to * connect MISO_0 pin and MOSI_0 pin together. It will compare the * received data with transmitted ...
2.421875
2
2024-11-18T21:06:35.703924+00:00
2023-05-26T07:03:59
536da263b76b2ec03e899e4edccfc7c951e345ae
{ "blob_id": "536da263b76b2ec03e899e4edccfc7c951e345ae", "branch_name": "refs/heads/hx20-hx30", "committer_date": "2023-05-26T07:03:59", "content_id": "a6b2028329f8b668c6123b300721cc640a018f35", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "f9e7d65cb784c01a0200145ba8d289afe41d4a56", "ext...
stackv2
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "atomic.h" #include "common.h" #include "console.h" #include "hooks.h" #include "hostcmd.h" #include "ipi_chip.h" #include "registers.h" #...
2.25
2
2024-11-18T21:06:35.910427+00:00
2019-04-19T16:43:03
90350b910f37d28336e9ced050dcb2605e1b2af7
{ "blob_id": "90350b910f37d28336e9ced050dcb2605e1b2af7", "branch_name": "refs/heads/master", "committer_date": "2019-04-19T16:43:03", "content_id": "f4cae597eea5de72c6ccd52b6541e32adb879a1d", "detected_licenses": [ "MIT" ], "directory_id": "c4be66c0c847626da6fd26882b2d657c7b94528c", "extension": "c"...
stackv2
// Bibliotecas #include <stdio.h> #include "names.h" // Funcao principal int main(int argc, char const *argv[]) { char initialName = initial("Francisco"); printf("%c\n", initialName); return 0; }
2.59375
3
2024-11-18T21:06:36.020926+00:00
2016-05-03T20:01:43
0e2e9171ffc3a89d9da9235f5b631a1bd4bc5fa3
{ "blob_id": "0e2e9171ffc3a89d9da9235f5b631a1bd4bc5fa3", "branch_name": "refs/heads/master", "committer_date": "2016-05-03T20:01:43", "content_id": "ff7d1c5832b338512e7393979dcb6e39ca8a3162", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c62e3ca27cd6638021099ff1e3f62bfeb16a3f6b", "extens...
stackv2
/* * Main. */ #include <types.h> #include <kern/errno.h> #include <kern/unistd.h> #include <lib.h> #include <machine/spl.h> #include <test.h> #include <synch.h> #include <thread.h> #include <curthread.h> #include <scheduler.h> #include <dev.h> #include <vfs.h> #include <vm.h> #include <syscall.h> #include <version.h...
2.28125
2