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:15:12.449872+00:00
2011-04-25T10:26:44
4f83b24a56e13c760ec4674c28d89c0a23d115e8
{ "blob_id": "4f83b24a56e13c760ec4674c28d89c0a23d115e8", "branch_name": "refs/heads/master", "committer_date": "2011-04-25T10:26:44", "content_id": "3c27535634e91ae7650fe1c691899b268068b089", "detected_licenses": [ "MIT" ], "directory_id": "675bb42d880e48e7a7a6a438ad655e1e789c0a21", "extension": "c"...
stackv2
#include "nom1.h" #define DELIMITER "\t" int parse_event(char *line_buffer, struct event *event) { event->id = strtok(line_buffer, DELIMITER); if (!event->session) { fprintf(stderr, "No id provided in line %ld\n", stats.lines); return 1; } event->session = strtok(NULL, DELIMITER); if (!event->sessi...
2.28125
2
2024-11-18T20:15:12.827293+00:00
2018-01-03T08:07:03
a3eeb89e233800fbdb660d11fa759268c04a2b00
{ "blob_id": "a3eeb89e233800fbdb660d11fa759268c04a2b00", "branch_name": "refs/heads/master", "committer_date": "2018-01-03T08:07:03", "content_id": "3831211c267275f89fbbf77a7f3f2d0d3b0a2ed1", "detected_licenses": [ "MIT" ], "directory_id": "0e30b8ade5ad9a60e44a59e23ba312bee4cd23ae", "extension": "h"...
stackv2
#ifndef SPFIARGAME_H_ #define SPFIARGAME_H_ #include <stdbool.h> #include "SPArrayList.h" /** * SPFIARGame Summary: * * A container that represents a classic connect-4 game, a two players 6 by 7 * board game (rows X columns). The container supports the following functions. * * spFiarGameCreate - Create...
2.84375
3
2024-11-18T20:15:13.209301+00:00
2020-04-15T18:26:46
ed9a5f64642fec18297e12213058379ebf6d1e8a
{ "blob_id": "ed9a5f64642fec18297e12213058379ebf6d1e8a", "branch_name": "refs/heads/master", "committer_date": "2020-04-15T18:26:46", "content_id": "01f3533aac6699006cf5674b206d8a6adca11846", "detected_licenses": [ "MIT" ], "directory_id": "bedb7a61285ee3c222576bf9f8de17be44a40b57", "extension": "c"...
stackv2
#include <stdio.h> #include "integrate.h" double f(double x) { return x + 2 * x * x - 3 * x * x * x; } double df(double x) { // derivative of f return 1 + 4 * x - 9 * x * x; } int main() { double xa = -5; double xb = 10; int nfev = 100; printf("True integral: %.10f\n", f(xb) - f(xa)); ...
2.890625
3
2024-11-18T20:15:16.647587+00:00
2020-10-24T18:54:53
0c931d6c361c9eb8d2cd587855bbd570d1a5ab39
{ "blob_id": "0c931d6c361c9eb8d2cd587855bbd570d1a5ab39", "branch_name": "refs/heads/master", "committer_date": "2020-10-24T18:54:53", "content_id": "0a2b7e29a6f7014c79d1d5f4ff73f88b6cbf7ac1", "detected_licenses": [ "ISC" ], "directory_id": "9759fdf23e96d2aaa3d65378adb39fd7dc974224", "extension": "h"...
stackv2
/* * hmap.h * * Copyright (c) 2018, Mark Weiman <mark.weiman@markzz.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS ...
2.03125
2
2024-11-18T20:15:16.760113+00:00
2023-08-02T07:26:01
35c9a89a012a810232cee475660264163cae70dd
{ "blob_id": "35c9a89a012a810232cee475660264163cae70dd", "branch_name": "refs/heads/master", "committer_date": "2023-08-02T07:26:01", "content_id": "b271277e0d27f9cb00401e9e92394affe9339675", "detected_licenses": [ "MIT" ], "directory_id": "ea401c3e792a50364fe11f7cea0f35f99e8f4bde", "extension": "c"...
stackv2
#include <stdio.h> #include <unistd.h> #include "mpi.h" int main(int argc, char **argv) { int *buf, i, rank, nints; char hostname[256]; char command_string[1024]; char txt_string[256]; MPI_Init(&argc,&argv); int my_id, num_procs; MPI_Comm_rank(MPI_COMM_WORLD, &my_id); MPI_Comm_size(MPI_COMM_WORLD, &num_pro...
2.140625
2
2024-11-18T20:15:16.943677+00:00
2017-07-21T03:43:56
d810d9626e8fa0516e66487cda4b2a6b4510da1a
{ "blob_id": "d810d9626e8fa0516e66487cda4b2a6b4510da1a", "branch_name": "refs/heads/master", "committer_date": "2017-07-21T03:43:56", "content_id": "c4a96979b0ce5d39f220e893cee6dd88dcb4fa15", "detected_licenses": [ "MIT" ], "directory_id": "5139122ab3fa426848319e8104434614bdc6ee98", "extension": "h"...
stackv2
! source file: /usr/local/models/UVic_ESCM/2.9/source/mom/xbt.h !====================== include file "xbt.h" =========================== ! Each XBT station is located at latitude "xbtlat" and longitude ! "xbtlon". Data is collected at each grid point from the first ! level down through the nearest model le...
2.09375
2
2024-11-18T20:15:17.178210+00:00
2016-06-11T16:55:29
594238fcb5ada7eeb5bddf4d0cbc5171fb2c63c6
{ "blob_id": "594238fcb5ada7eeb5bddf4d0cbc5171fb2c63c6", "branch_name": "refs/heads/master", "committer_date": "2016-06-11T16:55:29", "content_id": "b9815f8bf13582672e7c54644690b00826573786", "detected_licenses": [ "MIT" ], "directory_id": "966cb4190b5e5725491b5207a945e3bdfe99b8f2", "extension": "c"...
stackv2
#include <malloc.h> #include <types.h> #include <unistd.h> #include "class/car.h" #include "class/command.h" static void net_car_methods(car_t *self) { self->listen = car_listen; self->destruct = net_car_destruct; } car_t *new_net_car(int sock) { car_t *self; if ((self = malloc(sizeof(car_t))) == NULL) r...
2.421875
2
2024-11-18T20:15:18.125898+00:00
2017-08-17T04:07:42
b9724a3f5f8ecb71e23914ab499a3ff5029125e2
{ "blob_id": "b9724a3f5f8ecb71e23914ab499a3ff5029125e2", "branch_name": "refs/heads/master", "committer_date": "2017-08-17T04:07:42", "content_id": "c3ed55e2c7195d4ce46ddf0eec0f2be5d52248ec", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b3d10845f20c7756b7c4ffc8cc946c3882f1297f", "extens...
stackv2
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <sys/socket.h> #include <sys/types.h> #include <netdb.h> #include <assert.h> #include <errno.h> #include <arpa/inet.h> #include "vector/vec.h" // Include our socket types and function declarations. #include "socket/socket.h" // A global vector to stor...
2.71875
3
2024-11-18T20:15:18.253966+00:00
2018-08-07T09:44:42
e023607817270cb22c5e547c41e2f20620946578
{ "blob_id": "e023607817270cb22c5e547c41e2f20620946578", "branch_name": "refs/heads/master", "committer_date": "2018-08-07T09:44:42", "content_id": "1c49ba7742ad91f28b5c2a1ba881e69388e7c03c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3aff2aae14dba9d2277d128934a86915ab4b06fc", "extensio...
stackv2
/* Author: dengzikun http://hi.csdn.net/dengzikun 注意:在保留作者信息和出处链接的前提下,您可以任意复制、修改、传播本文件。 */ texture Tex0 ; texture Tex1 ; sampler2D YUVTextue = sampler_state { Texture = <Tex0> ; MipFilter = POINT ; MinFilter = POINT ; MagFilter = POINT ; AddressU = CLAMP ; AddressV = CLAMP ; }; sampler2D ParityTextue ...
2.765625
3
2024-11-18T20:15:18.343344+00:00
2021-10-25T00:03:25
7d86f8757a105a7f1ad4b3df67e31054fbbb48e4
{ "blob_id": "7d86f8757a105a7f1ad4b3df67e31054fbbb48e4", "branch_name": "refs/heads/master", "committer_date": "2021-10-25T00:03:25", "content_id": "5d608464e92ea323ffb44ff3f5734227b1d403b1", "detected_licenses": [ "MIT" ], "directory_id": "df5d964b7915c4ce8fa626c9bc21bf694cb0e28a", "extension": "c"...
stackv2
/** * \file main.c * \brief 34. IPC - Comunicacion entre Procesos - Signals - Ejemplo 4 - Señales entre padre e hijo * \author Javier Balloffet * \date Oct 28, 2018 * \details Usar makefile para compilar, linkear y ejecutar */ #include <stdio.h> #include <unistd.h...
3.671875
4
2024-11-18T20:15:18.812464+00:00
2019-04-03T12:30:08
9afba5209d445fb5ddf49d217370de0fa3a5fb04
{ "blob_id": "9afba5209d445fb5ddf49d217370de0fa3a5fb04", "branch_name": "refs/heads/master", "committer_date": "2019-04-03T12:30:08", "content_id": "79f6e48a97ceceb4f42442168bc7b1eb07947371", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c89049d19572824a941f8e68d002c27d38c90115", "extensio...
stackv2
//本文件是x86指令集中的指令在c语言中的接口 #pragma once #include"types.h" static inline CHAR X86 InByte( WORD port ) { CHAR data; asm volatile("in %1,%0" : "=a" (data) : "d" (port)); return data; } static inline VOID X86 InStringLong( int port, VOID *address, int count) { asm volatile("cld; rep insl" : ...
2.390625
2
2024-11-18T20:15:18.872697+00:00
2013-11-22T05:00:23
c6ef92d668ac71e6a0f283b384c4dfbbd327e359
{ "blob_id": "c6ef92d668ac71e6a0f283b384c4dfbbd327e359", "branch_name": "refs/heads/master", "committer_date": "2013-11-22T05:00:23", "content_id": "1a5b7d0df50b0033c9af53fade71c37ff1f30e6b", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "482581050bb98cce85d61cdccd4ba36498f4e7f9", "extens...
stackv2
#include "sd.h" /* 内部状態保持用 */ static SDUnit unit; char sd_init( SPISpeed max_speed, uint16_t block_size, SPIPin pullup ) { /* カード初期化 */ int i; SDResp resp; uint32_t ret; uint8_t csd[16]; uint8_t data_token; uint32_t c_size; uint8_t read_block_len; uint8_t c_size_mult; /* 設定保存 */ unit.block_size = block_si...
2.5
2
2024-11-18T20:15:19.930282+00:00
2020-04-17T23:52:23
55e163c626ee62e158b27747902e4778b1531ac1
{ "blob_id": "55e163c626ee62e158b27747902e4778b1531ac1", "branch_name": "refs/heads/master", "committer_date": "2020-04-17T23:52:23", "content_id": "9fdbce32e44cc0ae5df9d46c61e1ed7baad6c813", "detected_licenses": [ "MIT" ], "directory_id": "74eb97f75042587e2282d80179c522c7fa29d183", "extension": "c"...
stackv2
#include <linux/sched.h> static inline u32 bpf_strlen(char *s) { u32 i; for (i = 0; s[i] != '\0' && i < (1 << (32 - 1)); i++); return i; } static inline int bpf_strncmp(char *s1, char *s2, u32 n) { int mismatch = 0; for (int i = 0; i < n && i < sizeof(s1) && i < sizeof(s2); i++) { if (...
2.421875
2
2024-11-18T20:15:20.346565+00:00
2023-08-11T18:10:35
9b4e7a8463624561e27bf62d23c92b0af202edd4
{ "blob_id": "9b4e7a8463624561e27bf62d23c92b0af202edd4", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T18:10:35", "content_id": "eb75976d3c46b294c84e10c841f196504e2f5419", "detected_licenses": [ "MIT" ], "directory_id": "31f5cddb9885fc03b5c05fba5f9727b2f775cf47", "extension": "c"...
stackv2
/* * Copyright(c) Live2D Inc. All rights reserved. * * Use of this source code is governed by the Live2D Open Software license * that can be found at http://live2d.com/eula/live2d-open-software-license-agreement_en.html. */ #include "Live2DCubismFrameworkINTERNAL.h" // ------- // // HELPERS // // ------- // ...
2.28125
2
2024-11-18T20:15:20.490198+00:00
2018-07-21T19:25:14
62f6d2ce144b3180336e921548e96cdfb3a2900f
{ "blob_id": "62f6d2ce144b3180336e921548e96cdfb3a2900f", "branch_name": "refs/heads/master", "committer_date": "2018-07-21T19:25:14", "content_id": "2c42be83d6744822dd9332bb10e12f596cc6ffec", "detected_licenses": [ "MIT" ], "directory_id": "aa593434b039f15f3927aff624862a802152eedc", "extension": "h"...
stackv2
/* PPCLibrary.h History: The OS 9 implementation of Synclavier PowerPC used the Mac's Program-to-Program Toolbox (a.k.a. "program linking", a.k.a. "Program to Progam Communication"). The PPC Toolbox was used to exchange both traditional 'syncnet' messages between applications and new 'termulator-syncnet' messag...
2.0625
2
2024-11-18T20:15:22.120065+00:00
2022-10-10T04:43:06
e9e19c9d7d0457f3ba4f4c01c891335fa369e967
{ "blob_id": "e9e19c9d7d0457f3ba4f4c01c891335fa369e967", "branch_name": "refs/heads/master", "committer_date": "2022-10-10T04:43:06", "content_id": "1112ba5af972ea69b6b5d13a95aeddb080c23c15", "detected_licenses": [ "MIT" ], "directory_id": "64743803f351e8fefab1cadfbadfd686fd819387", "extension": "h"...
stackv2
/** * @file devices.h * @brief Provides XI2 helper methods for pointer/keyboard related methods like grabs and device query * These methods generally don't modify our internal representation, but just make X calls. * The correct events should be listened for to update state */ #ifndef MPX_DEVICES_H_ #define MPX_DE...
2.21875
2
2024-11-18T20:15:22.312222+00:00
2018-05-23T06:55:18
c8ba3e7f93e1a1d0e5340c0916763ad546160795
{ "blob_id": "c8ba3e7f93e1a1d0e5340c0916763ad546160795", "branch_name": "refs/heads/master", "committer_date": "2018-05-23T06:55:18", "content_id": "e62cef143c9f16d563672bfabd419e79595e749b", "detected_licenses": [ "MIT" ], "directory_id": "2bc3398063fd7251c46a2d93d2e301cd063befcd", "extension": "c"...
stackv2
// Code of ShenZhou //heishi-dan.c //kane 1998.5 #include <ansi.h> inherit PILL; void setup() {} int cure_ob(string); void create() { set_name(BLU"玉洞黑石丹"NOR, ({"yudong dan", "heishi dan", "dan"})); set_weight(50); if (clonep()) set_default_object(__FILE__); else { ...
2.015625
2
2024-11-18T20:15:22.827981+00:00
2023-06-02T13:46:19
24e1db339b48a73b6aaafcfca9047c7855896faf
{ "blob_id": "24e1db339b48a73b6aaafcfca9047c7855896faf", "branch_name": "refs/heads/3.16.0-stm32mp", "committer_date": "2023-07-28T12:39:20", "content_id": "439ab9a673e58c0ceb40edf9115a3f223f7f108a", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a8378f8953015617c24004b33177cdfe45422174", ...
stackv2
// SPDX-License-Identifier: BSD-2-Clause /* * Copyright 2020 Foundries Ltd <jorge@foundries.io> */ #include <kernel/rpc_io_i2c.h> #include <kernel/thread.h> #include <mm/mobj.h> #include <string.h> /* * @brief: I2C master transfer request to an I2C slave device. * It is the responsibility of the caller to validate...
2.484375
2
2024-11-18T20:15:23.467334+00:00
2016-04-01T07:15:05
1ae1569b127615d4f36971ba0d16ee1e0a5272e9
{ "blob_id": "1ae1569b127615d4f36971ba0d16ee1e0a5272e9", "branch_name": "refs/heads/master", "committer_date": "2016-04-01T07:15:05", "content_id": "c5a377bccf1b1950fa992d7b42c8a2c8b6dc94d7", "detected_licenses": [ "ISC" ], "directory_id": "e1ef2b3b35fc6488bf64e6ac31f4b22b47f7432f", "extension": "c"...
stackv2
/* * Project Euler in C * Copyright (c) Jeremiah Griffin 2016 * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS...
2.59375
3
2024-11-18T20:15:23.886113+00:00
2018-08-08T20:50:48
bb43661ae013c43a2e2013c8ba4dd81626f7b199
{ "blob_id": "bb43661ae013c43a2e2013c8ba4dd81626f7b199", "branch_name": "refs/heads/master", "committer_date": "2018-08-08T20:50:48", "content_id": "85fa48bb5982824f4fe85adc7110552fdade607e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4c4a073dfd5fee5164ea6575a262919acb964fc2", "extensio...
stackv2
/* i1620_cd.c: IBM 1622 card reader/punch Copyright (c) 2002-2012, Robert M. Supnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation ...
2.109375
2
2024-11-18T20:15:24.100876+00:00
2020-08-09T19:28:03
99da6cc03e55b795d332f9c0533c276775497fee
{ "blob_id": "99da6cc03e55b795d332f9c0533c276775497fee", "branch_name": "refs/heads/dev", "committer_date": "2020-08-09T19:28:03", "content_id": "e324cb2c756dce384fce453226fa49a47dd52917", "detected_licenses": [ "MIT" ], "directory_id": "63b300470e775a73bc0cb9785771cb5d4c2b2ee1", "extension": "h", ...
stackv2
// (c) 2020 MotoLegacy // This code is licensed under MIT license (see LICENSE for details) typedef struct block_s block_t; struct block_s { int size; // Size of the block int tag; // Block tags int id; // The block's ID block_t* ...
2.09375
2
2024-11-18T20:15:24.498930+00:00
2021-09-03T13:58:25
b379457d4c74122662ffe94a08ad85ac0e47b162
{ "blob_id": "b379457d4c74122662ffe94a08ad85ac0e47b162", "branch_name": "refs/heads/main", "committer_date": "2021-09-03T13:58:25", "content_id": "1af7cc037001533b13d249424c8a17d7f94ebd7b", "detected_licenses": [ "MIT" ], "directory_id": "56e210d874e156b03ff0b49b2ee3322af2bd7fd2", "extension": "c", ...
stackv2
#include <stdio.h> //From nginx int main(){ int i = 0x11223344; char *p; p = (char *) &i; if (*p == 0x44) { printf("Little Endian\n"); } else { printf("Big Endian\n"); } return 0; }
2.453125
2
2024-11-18T20:15:25.182896+00:00
2020-06-26T01:19:35
b0dc9aa02a0318b74cec66fa2b9cc77f9a0c3f5e
{ "blob_id": "b0dc9aa02a0318b74cec66fa2b9cc77f9a0c3f5e", "branch_name": "refs/heads/master", "committer_date": "2020-06-26T01:19:35", "content_id": "a61dcc5aa952a4283077e5a09eef95fddd04314a", "detected_licenses": [ "MIT" ], "directory_id": "d7f9674d448a2c801a4c603dfb7798f9795d775c", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <unistd.h> #include <limits.h> #include "helpers.h" #include "knapsack.h" #define MAX_FILES 100 void show_usage() { printf("Usage:\n"); printf("knapsack <option>\n"); printf("-f <files> Run algorithms on the all the fi...
2.890625
3
2024-11-18T20:15:25.287116+00:00
2015-06-09T22:46:17
4639805dfd895c0c97f0696320f38f4423066f52
{ "blob_id": "4639805dfd895c0c97f0696320f38f4423066f52", "branch_name": "refs/heads/master", "committer_date": "2015-06-09T22:46:17", "content_id": "ccf168afc3a18c5591967e0d57ef2f649a13bcf9", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b80b5edd64583497df96e3b07e9b3e12b9577b99", "extens...
stackv2
#include <stdint.h> #include "sys.h" //syscall 1 ---> escribo en pantalla //syscall 2 ---> borro caracter //syscall 3 ---> devuelvo el ultimo caracter //syscall 4 ---> modifica el modificador del video //syscall 5 ---> clear screen // syscall 6 ---> palabra que se escribio. char sys_manager(int order,uint64_t arg1, ui...
2.484375
2
2024-11-18T20:15:25.358664+00:00
2023-07-28T18:04:02
16f243dbccb853aed79374e8f2be20eb77c6cc40
{ "blob_id": "16f243dbccb853aed79374e8f2be20eb77c6cc40", "branch_name": "refs/heads/master", "committer_date": "2023-07-28T18:32:24", "content_id": "6faa2d1c9d41c256f2916b2ead536c04cc331b16", "detected_licenses": [ "MIT" ], "directory_id": "5a18bd4798e3cdb6fcf1655cbf014083977e8be7", "extension": "c"...
stackv2
/** *! * \file b_sem.c * \version v0.0.1 * \date 2019/06/05 * \author Bean(notrynohigh@outlook.com) ******************************************************************************* * @attention * * Copyright (c) 2019 Bean * * Permission is hereby granted, free of charge, to any person o...
2.140625
2
2024-11-18T20:15:25.746313+00:00
2021-01-14T04:01:17
4019046455dc18b1f60cd2976a57671cc28a30c4
{ "blob_id": "4019046455dc18b1f60cd2976a57671cc28a30c4", "branch_name": "refs/heads/main", "committer_date": "2021-01-14T04:01:17", "content_id": "72b28db5612315821321b86b479804355a889808", "detected_licenses": [ "MIT" ], "directory_id": "8729ca1540b71557091902abd0a7785509acc543", "extension": "c", ...
stackv2
#include<linux/module.h> #include<linux/init.h> #include<linux/kernel.h> #include<linux/fs.h> #include<linux/uaccess.h> #define MAJOR_NUM 244 #define DEV_NAME "mydev" MODULE_LICENSE("GPL"); #define BUF_LEN 80 static char msg_buf[BUF_LEN]; // File operations static ssize_t seg_open(struct inode *inode, struct file *...
2.46875
2
2024-11-18T20:15:25.863268+00:00
2021-10-05T07:50:47
9dfc257774ae4431f624ad54efedd038d9e57c83
{ "blob_id": "9dfc257774ae4431f624ad54efedd038d9e57c83", "branch_name": "refs/heads/main", "committer_date": "2021-10-05T07:50:47", "content_id": "d988b6bfb74da8ea31afb0978074a38cdd7e463c", "detected_licenses": [ "MIT" ], "directory_id": "449e00535d96b1fe055d6195acf5381c510f3524", "extension": "c", ...
stackv2
// A C++ program to find bridges in a given undirected graph #include<iostream> #include <list> #define NIL -1 using namespace std; // A class that represents an undirected graph class Graph { int V; // No. of vertices list<int> *adj; // A dynamic array of adjacency lists void bridgeUtil(int v, bool visit...
3.484375
3
2024-11-18T20:15:30.530847+00:00
2014-11-11T10:32:59
581244d824b7e09fdb3794a48a10b592fc9f9fcb
{ "blob_id": "581244d824b7e09fdb3794a48a10b592fc9f9fcb", "branch_name": "refs/heads/master", "committer_date": "2014-11-11T10:32:59", "content_id": "0d97f801fb2cf6a60dacd0798be304dcbde3d9ce", "detected_licenses": [ "Apache-2.0" ], "directory_id": "15f816069610745ca7fdc8ad1011ba19a7986eb9", "extensio...
stackv2
/* ** alias_del.c for 42sh in /media/data/all/projects/42sh-v1/src ** ** Made by kevin labbe OB** Login <labbe_k@epitech.net> ** ** Started on Tue May 7 20:11:10 2013 kevin labbe ** Last update Fri May 10 13:56:09 2013 pierre-antoine urvoy */ #include "proto.h" int alias_del_name(t_list *list, char *name) { ...
2.453125
2
2024-11-18T20:15:30.595636+00:00
2023-04-21T21:47:23
252c1de3156a1c6b7ae7d4dae089c179a79dd0de
{ "blob_id": "252c1de3156a1c6b7ae7d4dae089c179a79dd0de", "branch_name": "refs/heads/release", "committer_date": "2023-04-21T21:47:23", "content_id": "2dd5d72d8a4240bb3e85640a56054a69a0fa82b0", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "22f5ec4d85105dc2cb9b2ae38ad806fa5a138f3a", "exten...
stackv2
// // test_retain_release.c // mulle-objc-runtime // // Created by Nat! on 14.03.15. // Copyright (c) 2015 Mulle kybernetiK. All rights reserved. // #include <mulle-objc-runtime/mulle-objc-runtime.h> #include <mulle-testallocator/mulle-testallocator.h> #include "test_runtime_ids.h" static intptr_t get_retainco...
2.015625
2
2024-11-18T20:15:30.743394+00:00
2013-03-26T11:02:45
82d839d73e0d44deab6a8988e77d8a6b3d04ad81
{ "blob_id": "82d839d73e0d44deab6a8988e77d8a6b3d04ad81", "branch_name": "refs/heads/master", "committer_date": "2013-03-26T11:02:45", "content_id": "a4b4cca4f6d5e443d8ea9e8b21aaa64d1095314f", "detected_licenses": [ "NCSA" ], "directory_id": "b15e349f68725f536849280a3ab8e3ffb1231cfc", "extension": "c...
stackv2
#define N 20 #include "limits.h" long long A[N]; int main () { long long i; A[0] = 0; __sync_synchronize(); i = 0; do { A[0] = i; ++i; } while (i < LLONG_MAX); __sync_synchronize(); if (A[0] == LLONG_MAX - 1) return 0; else return 1; }
2.21875
2
2024-11-18T20:15:30.836187+00:00
2021-07-29T02:04:42
aad0a840e02888b5d4f9322894c9d607dd6b3d43
{ "blob_id": "aad0a840e02888b5d4f9322894c9d607dd6b3d43", "branch_name": "refs/heads/main", "committer_date": "2021-07-29T02:04:42", "content_id": "963e80df60972f80b23a6cae92a32db517f6c14f", "detected_licenses": [ "MIT" ], "directory_id": "be324d5e1703f31039dbaa9380a93a9605cebb41", "extension": "h", ...
stackv2
/* * Copyright (c) 2003-2021 Ke Hengzhong <kehengzhong@hotmail.com> * All rights reserved. See MIT LICENSE for redistribution. */ #ifndef _BYTE_ITER_H_ #define _BYTE_ITER_H_ typedef struct byte_iter_ { uint8 * text; int textlen; int cur; } ByteIter; #define iter_cur(iter) ((iter)->t...
2.5
2
2024-11-18T20:15:30.972321+00:00
2013-01-19T11:18:59
1bff9223ede1121d2ef860004a6d1f98c2ce8b2e
{ "blob_id": "1bff9223ede1121d2ef860004a6d1f98c2ce8b2e", "branch_name": "refs/heads/master", "committer_date": "2013-01-19T11:18:59", "content_id": "7c935e35c5eb30a2828ac500862c5e25df36da5b", "detected_licenses": [ "MIT" ], "directory_id": "a8e7cb4cc0dbbaf6f3cb51b7d9c3776135232495", "extension": "c"...
stackv2
// // MQOModelReadScene.m // CC3DemoMashUp // // Created by Yasuo Ashina on 12/07/17. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. // #include "MQOModel.h" #if 1 void mqoReadScene(FILE *fp, MQOModel *model, double scale) { char buf[SIZE_STR]; glPOINT3f pos; while (!feof(fp))...
2.015625
2
2024-11-18T20:15:31.197517+00:00
2017-04-25T01:06:21
4eab0ee407afb481d2d14b99500f18536d94e4fa
{ "blob_id": "4eab0ee407afb481d2d14b99500f18536d94e4fa", "branch_name": "refs/heads/master", "committer_date": "2017-04-25T01:06:21", "content_id": "31d832d837c5b877df37519899cb679032a0498e", "detected_licenses": [ "MIT" ], "directory_id": "cdbd912188194a25a4568bbe3d141871ca9038b5", "extension": "c"...
stackv2
//For the following code, print the output, and approximate locations in memory for each //variable that begins with an s! //Most of this should be doable using HFC2. #include <stdio.h> #include <string.h> #include <stdlib.h> char * s1 = "hello world1"; char s2[] = "hello world2"; char * foo(char str[]){ char * da...
3.3125
3
2024-11-18T20:15:31.310832+00:00
2023-08-18T19:48:33
33a257a68446f488e10bcaed2abac7aa0550536b
{ "blob_id": "33a257a68446f488e10bcaed2abac7aa0550536b", "branch_name": "refs/heads/main", "committer_date": "2023-08-18T19:48:33", "content_id": "3b5924b09836b47d30a9ba73cdbdb93b43c8557d", "detected_licenses": [ "MIT" ], "directory_id": "604371b2d89212dae30c0213b734817f7e84746e", "extension": "c", ...
stackv2
#include "pickle_ast_node_id.h" #include "string_utilities.h" #include <stdlib.h> const PickleAstNodeId* PickleAstNodeId_new(const wchar_t* id) { PickleAstNodeId* ast_node_id = (PickleAstNodeId*)malloc(sizeof(PickleAstNodeId)); ast_node_id->id = 0; if (id) { ast_node_id->id = StringUtilities_copy_s...
2.5
2
2024-11-18T20:15:31.471781+00:00
2023-03-27T00:00:00
1b2dd275221210a78bdf4a3bf17cc8a01fa908ab
{ "blob_id": "1b2dd275221210a78bdf4a3bf17cc8a01fa908ab", "branch_name": "refs/heads/master", "committer_date": "2023-03-27T00:00:00", "content_id": "90b1c1a6cfe9e1f61c15b13e2e11b96f3aaa52ff", "detected_licenses": [ "TCL" ], "directory_id": "1577e1cf4e89584a125cffb855ca50a9654c6d55", "extension": "c"...
stackv2
/* * tclPipe.c -- * * This file contains the generic portion of the command channel driver * as well as various utility routines used in managing subprocesses. * * Copyright (c) 1997 by Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution of * this file, and for a...
2.15625
2
2024-11-18T20:15:31.545499+00:00
2021-08-18T02:38:08
f32509fe68357fa29c0837d468c377902c820a32
{ "blob_id": "f32509fe68357fa29c0837d468c377902c820a32", "branch_name": "refs/heads/master", "committer_date": "2021-08-18T02:38:08", "content_id": "7a3485ad18a1a97decfc5f27623dbc3c258b3428", "detected_licenses": [ "Apache-2.0", "curl" ], "directory_id": "11ddbb17eebddb29a4dbd2e89cf1e403a4e5942d",...
stackv2
#ifndef v1beta1_stateful_set_list_TEST #define v1beta1_stateful_set_list_TEST // the following is to include only the main from the first c file #ifndef TEST_MAIN #define TEST_MAIN #define v1beta1_stateful_set_list_MAIN #endif // TEST_MAIN #include <stdlib.h> #include <string.h> #include <stdio.h> #include <stdbool.h...
2.53125
3
2024-11-18T20:15:32.157968+00:00
2014-03-31T20:09:03
e0dd2a6ae89690b4a68e7efe4a7cdd0dc38b2048
{ "blob_id": "e0dd2a6ae89690b4a68e7efe4a7cdd0dc38b2048", "branch_name": "refs/heads/master", "committer_date": "2014-03-31T20:09:03", "content_id": "984af6d72c259dc1e2101a43ba06cb103ae310a3", "detected_licenses": [ "MIT" ], "directory_id": "307dd62b45c880219edbcb8581b110606c72f478", "extension": "c"...
stackv2
#include "raytracer.h" double rgb_clamp(double x) { return (x<0)?0:((x>1)?1:x); } rgb rgb_expr(double r, double g, double b) { r = rgb_clamp(r); g = rgb_clamp(g); b = rgb_clamp(b); rgb c = {r,g,b}; return c; } double rgb_clamp_above(double x) { return (x>1)?1:x; } rgb rgb_modulate(rgb x, rgb y) { ...
2.78125
3
2024-11-18T20:15:32.319669+00:00
2018-05-29T14:19:31
3671c086eb7ff30f34a643bebb0c989a8e06b873
{ "blob_id": "3671c086eb7ff30f34a643bebb0c989a8e06b873", "branch_name": "refs/heads/master", "committer_date": "2018-05-29T14:19:31", "content_id": "ff77ad8b3fcbb51ca4f62ace218d8bdafd00573b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fda1cd54799f89a84dc10d0aa2b9aee482c75575", "extensio...
stackv2
/********************************************************************* * Copyright (C) 2015, International Business Machines Corporation * All Rights Reserved *********************************************************************/ #include <rte_cycles.h> #include <rte_ethdev.h> #include <rte_lcore.h> #include <rte_l...
2.171875
2
2024-11-18T20:15:33.420289+00:00
2008-05-02T22:33:26
3ed3f4fe6fa147c01189da0d12896ce70164328a
{ "blob_id": "3ed3f4fe6fa147c01189da0d12896ce70164328a", "branch_name": "refs/heads/master", "committer_date": "2008-05-02T22:33:26", "content_id": "1139decae0e85fb27fc2ba1c47b300fa82cf1c93", "detected_licenses": [ "Artistic-2.0" ], "directory_id": "5d3c1be292f6153480f3a372befea4172c683180", "extens...
stackv2
/* Copyright 2003 MakingThings LLC. */ /** \file TeleoInterface.h Generic Low Level IO interface. Provides the implementation for opening, reading, writing, and closing interfaces of different types Designed to be linked with the version of TeleoInterfaceXXX.c that is appropriate for the...
2.25
2
2024-11-18T20:15:33.479462+00:00
2017-10-04T23:16:52
7e8061d863025578fcdf51b65753cade958e3220
{ "blob_id": "7e8061d863025578fcdf51b65753cade958e3220", "branch_name": "refs/heads/master", "committer_date": "2017-10-04T23:31:56", "content_id": "309492e1ed259d58af807710e1ce61d1869eb0ea", "detected_licenses": [ "Unlicense" ], "directory_id": "46e8663bfe8d0b8067a05b062a2bb970227b3008", "extension...
stackv2
#define __BSD_VISIBLE 1 #define _KERNEL #include <stdint.h> #include <inttypes.h> #include <sys/param.h> #include <sys/systm.h> #include <ps4/kernel.h> #define SERVER_PORT 5088 #define NAME_SIZE 128 int main(int argc, char **argv) { Ps4KernelThread *td; Ps4KernelSocket *client; char symbolName[NAME_SIZE]; voi...
2.40625
2
2024-11-18T20:15:33.644385+00:00
2023-06-11T16:09:06
ac26efa1f97a62b0ba7b9810bd5213bbd5af0483
{ "blob_id": "ac26efa1f97a62b0ba7b9810bd5213bbd5af0483", "branch_name": "refs/heads/master", "committer_date": "2023-06-11T16:09:06", "content_id": "dd65cb703ca44b5d0a6d6e3d9621a9c3604e5d94", "detected_licenses": [ "MIT" ], "directory_id": "5c2e9220307a9d2fa053792043e1252726773cc3", "extension": "c"...
stackv2
#include "parse.h" #include <memory.h> #include <stdio.h> hlsparse_malloc_callback hls_malloc = (hlsparse_malloc_callback) malloc; hlsparse_free_callback hls_free = (hlsparse_free_callback) free; HLSCode hlsparse_global_init(void) { hls_malloc = (hlsparse_malloc_callback) malloc; hls_free = (hlsparse_free_cal...
2.15625
2
2024-11-18T20:15:34.019970+00:00
2015-06-03T16:07:00
fa77bc6f6548e156c5dc57a4043fb54ea15466d6
{ "blob_id": "fa77bc6f6548e156c5dc57a4043fb54ea15466d6", "branch_name": "refs/heads/master", "committer_date": "2015-06-03T16:07:00", "content_id": "b735d017ad8dd0aae436680c75049bcdde9d169d", "detected_licenses": [ "MIT" ], "directory_id": "57ccde964254f2f253a344e9fab4940c2f71e419", "extension": "h"...
stackv2
/* * Microcontroller Interconnect Network (MIN) Version 1.0 * * Layer 1 C API. * * Author: Ken Tindell * Copyright (c) 2014-2015 JK Energy Ltd. * Licensed under MIT License. */ #ifndef MIN_H_ #define MIN_H_ #include <stdint.h> /* Maximum size of a MIN frame: * * 3 (header) + 1 (id) + 1 (control) + 15 (pay...
2.28125
2
2024-11-18T20:15:34.850902+00:00
2023-05-11T20:15:26
bb2f78b8b42a4308b01b15399c61d0e3dd0d1c39
{ "blob_id": "bb2f78b8b42a4308b01b15399c61d0e3dd0d1c39", "branch_name": "refs/heads/master", "committer_date": "2023-05-11T20:15:26", "content_id": "8055bcc8d85b1e9397817fd49823aac75058b8eb", "detected_licenses": [ "MIT" ], "directory_id": "ac245e448cdf791f24ee71d2b89e5f13d5fb1fbb", "extension": "c"...
stackv2
/* cbie3module.c * 150826 created */ #include "Python.h" #include <math.h> /* Functions in this module. */ struct int_list_struct { int len; int *values; }; struct int_list_struct *new_int_list(int length) { int *values; struct int_list_struct *list; if(!(list = (struct int_list_struct *)ma...
2.71875
3
2024-11-18T20:15:34.978860+00:00
2019-08-28T07:21:12
1638824f4706f3c24809ab346e8cca16bea210bc
{ "blob_id": "1638824f4706f3c24809ab346e8cca16bea210bc", "branch_name": "refs/heads/master", "committer_date": "2019-08-28T07:21:12", "content_id": "1b67e50024a4c0a01c64108aa9f3cce2a32b978e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "9edf89d002e75de70f1813c891407616fd8ad38f", "extensio...
stackv2
/* * The functions in this file translate coordinates between * the point-of-view of the user and the point-of-view of the * buffer in memory when changing the orientation of the framebuffer * or the orientation of a compositor window. * * Additionally the functions in this file allow for setting and * queryin...
2.65625
3
2024-11-18T20:15:35.658865+00:00
2021-04-21T14:05:07
37910a8d5c5b837bda45c865db0f1d3019dcbbf8
{ "blob_id": "37910a8d5c5b837bda45c865db0f1d3019dcbbf8", "branch_name": "refs/heads/master", "committer_date": "2021-04-21T14:05:07", "content_id": "57fba85c5c13dad2a46cbd99ccd33f2a0e9281a1", "detected_licenses": [ "MIT" ], "directory_id": "ee0596879c1e0577139d320e1c6fdbbde40eb22d", "extension": "c"...
stackv2
#include "Includes.h" #include "Functions.h" /* ** ** ListSwap() ** */ void ListSwap ( void ) { char Path_String[512]; if ( global_DirLoaded[Left_Side] && global_DirLoaded[Right_Side] ) { strcpy( Path_String, GetPath( Left_Side ) ); LoadDirectory( GetPath( Right_Side ), Left_Side ); LoadDirectory( Path_Strin...
2.125
2
2024-11-18T20:15:35.860944+00:00
2021-10-12T11:49:22
1b9aa71a09030e165d496db370237fdab150289b
{ "blob_id": "1b9aa71a09030e165d496db370237fdab150289b", "branch_name": "refs/heads/main", "committer_date": "2021-10-12T11:49:22", "content_id": "d90317585e30b439ae48bb553c9e1cc7129f97f1", "detected_licenses": [ "MIT" ], "directory_id": "b8ce236cb4734330bc089147e658dc0d7af286ad", "extension": "c", ...
stackv2
// Implement solution for N-Puzzle with A_star algorithm (class: // Best First Search) // A_star means: // - f = (g + h) (min is better) // h: heuristic value (approximation cost from current state to goal) // g: cost from current state to start state // if f equal -> compare g // if g equal -> first-come first-served ...
3.078125
3
2024-11-18T20:15:36.157730+00:00
2018-09-12T13:11:07
1f31f7303912feb27cd853390ece3049ad2e4e86
{ "blob_id": "1f31f7303912feb27cd853390ece3049ad2e4e86", "branch_name": "refs/heads/master", "committer_date": "2018-09-12T13:11:07", "content_id": "d6bd050b51ea25717fa51deeeb36bfdc5d500b8f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e5289e0780eee7014a2aa699f9f211590fbb770e", "extens...
stackv2
#include <sys/system.h> #include <sys/console.h> #include <sys/shell.h> #include <sys/fiber.h> #include <sys/board.h> #include <1655/timer.h> #include <setjmp.h> #include <string.h> SHELL_COMMAND_DECL (setjmp_test); void board_main (uint32_t arg __attribute__((unused))) { void fiber_test_setup (void); fiber_test_...
2.390625
2
2024-11-18T20:15:36.464043+00:00
2021-08-07T04:36:27
069827ee183fafab0a2ba68e0703e69addd09677
{ "blob_id": "069827ee183fafab0a2ba68e0703e69addd09677", "branch_name": "refs/heads/master", "committer_date": "2021-08-07T04:36:27", "content_id": "c02684f134c28d32b2b7127a805d9c2efe216a90", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "2ca55cfd1b5eeab9c0d530bda247c23ec3800214", "extens...
stackv2
/* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : freertos.c * Description : Code for freertos applications ****************************************************************************** * @attention * * <h2><cente...
2.03125
2
2024-11-18T20:15:36.613604+00:00
2020-02-02T22:43:45
cd4b6e817cfc255c9878aa9d06684db33dfcbb27
{ "blob_id": "cd4b6e817cfc255c9878aa9d06684db33dfcbb27", "branch_name": "refs/heads/master", "committer_date": "2020-02-02T22:43:45", "content_id": "4b58c1148ce9077844ddc0651bac2064b91f686b", "detected_licenses": [ "MIT" ], "directory_id": "5ac97c7547ea09b62ef6647daae658d97478caf1", "extension": "h"...
stackv2
#ifndef GRIDUTILS_H #define GRIDUTILS_H #ifndef CELL_TYPE #error CELL_TYPE must be defined as a data type before the inclusion of grid_utils.h #endif #include <stdlib.h> #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) #define MAX(X, Y) ((X) > (Y) ? (X) : (Y)) //Clamp the variable X between the bounds A and B....
2.96875
3
2024-11-18T20:15:37.037624+00:00
2017-04-27T09:47:58
fd2024708eb5854d6d0568eff13d7bc8de123823
{ "blob_id": "fd2024708eb5854d6d0568eff13d7bc8de123823", "branch_name": "refs/heads/master", "committer_date": "2017-04-27T09:47:58", "content_id": "e5dab6992147920077150c9d9ce06bf477986a72", "detected_licenses": [ "MIT" ], "directory_id": "5306fb95423ea2cb804cb55cf891900494a326f2", "extension": "c"...
stackv2
#include "methods.h" //инициализация хеш-таблицы Hash_row **init_hash(int n) { Hash_row **hashtable = (Hash_row**)malloc(n*sizeof(Hash_row*)); for(int i = 0; i < n; i++) hashtable[i] = NULL; return hashtable; } //хеш-функция(суммирует коды всех символов и делит на размер таблицы int hash(char *keywo...
2.9375
3
2024-11-18T20:15:37.131912+00:00
2019-12-16T12:44:05
05ae5ed008d41ad759d18865ec574287a6a4f715
{ "blob_id": "05ae5ed008d41ad759d18865ec574287a6a4f715", "branch_name": "refs/heads/master", "committer_date": "2019-12-16T12:44:05", "content_id": "63f249806276cb83e969469bad5e26169ef58a22", "detected_licenses": [ "MIT" ], "directory_id": "533825a9a4d5e10dc4d96a3978431348c61e35b8", "extension": "c"...
stackv2
#include <driver/gpio.h> #include <freertos/FreeRTOS.h> #include <freertos/event_groups.h> #include <naos.h> #include "end.h" #define END_DELAY 50 #define END_BIT (1 << 0) static EventGroupHandle_t end_group; static end_callback_t end_callback; static void end_handler(void *args) { // send event xEventGroupSe...
2.453125
2
2024-11-18T20:15:37.304397+00:00
2018-06-03T12:05:22
827110efd96e31591f2f3c43c31b220e7c2fcb93
{ "blob_id": "827110efd96e31591f2f3c43c31b220e7c2fcb93", "branch_name": "refs/heads/master", "committer_date": "2018-06-03T12:05:22", "content_id": "96bfc334a4565ea6b7ebc78332243040a5893232", "detected_licenses": [ "Zlib" ], "directory_id": "110978b6025d556f32c154ab979c5f0fa8c76af4", "extension": "h...
stackv2
#ifndef MODELGEN_STACK_FRAME_H #define MODELGEN_STACK_FRAME_H #include "value.h" #include "types/composite.h" #define _MG_STACK_FRAME_STATES \ _MG_SFS(ACTIVE, "Active") \ _MG_SFS(RETURN, "Return") \ _MG_SFS(BREAK, "Break") \ _MG_SFS(CONTINUE, "Continue") #define _MG_LONGEST_STACK_FRAME_STATE_NAME_LENGTH 9 stati...
2.046875
2
2024-11-18T20:15:37.573647+00:00
2020-01-20T11:14:30
e951e39d70fac4cd59a1f5f239896008090df043
{ "blob_id": "e951e39d70fac4cd59a1f5f239896008090df043", "branch_name": "refs/heads/master", "committer_date": "2020-01-20T11:14:30", "content_id": "dcd649e4253d61becef993a8339c9bb831c46c12", "detected_licenses": [], "directory_id": "a03e2ad742f8a424bc66745a2a17e7e1e0fd917b", "extension": "h", "filename...
stackv2
#ifndef _SYS_VFS_H_ #define _SYS_VFS_H_ #ifdef _KERNEL typedef struct uio uio_t; typedef struct proc proc_t; typedef struct thread thread_t; typedef struct vnode vnode_t; typedef struct stat stat_t; typedef struct statfs statfs_t; typedef struct timeval timeval_t; typedef struct file file_t; /* * vnr (vfs name reso...
2.25
2
2024-11-18T20:15:37.690713+00:00
2023-08-17T21:51:22
b25e570ebabd77b2bb84f1f69a5f6e2cc1a7a348
{ "blob_id": "b25e570ebabd77b2bb84f1f69a5f6e2cc1a7a348", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T21:51:22", "content_id": "bdb01ae8e7a5d1ff7b6a1495f9107dc2a6ffa3d2", "detected_licenses": [ "MIT" ], "directory_id": "80f3b23dce2738ff296d938a16b9f5bc8a7773f2", "extension": "c"...
stackv2
/* * Problema do Caixeiro Viajante em C * Utilizando uma matriz de distância para representar um grafo não direcionado. * Objetivo: Encontrar o menor caminho que passe por todos os vértices sem repetir nenhum, e chegar novamente ao vértice de início * * 6 * (4)-----(0) * ...
3.3125
3
2024-11-18T20:15:37.895525+00:00
2016-01-21T21:54:43
bb2cff3c5e5d5b7e68418a89e8756fdbba68a6f5
{ "blob_id": "bb2cff3c5e5d5b7e68418a89e8756fdbba68a6f5", "branch_name": "refs/heads/master", "committer_date": "2016-01-21T21:54:43", "content_id": "819ca50f7af4429d8c512fabce00de8599dd0067", "detected_licenses": [ "MIT" ], "directory_id": "f05bc64d2d359d7d78c1d34ad6d52bebf549ca81", "extension": "c"...
stackv2
#include <stdio.h> #include "header.h" #include "io.h" #include "reg_name.h" #define CLKFREQ 850 // compile time instructions between interrupt counter /* Softbeeb- A BBC Model B Microcomputer for the PC Code begun on 16th December 1995 Designed for Compilation on Turbo C++ For DOS V3.0 Written for CSYS Co...
2.5625
3
2024-11-18T20:15:38.054924+00:00
2019-09-20T17:02:01
974831daf5523408d8ff40c076e3f8693131c7ad
{ "blob_id": "974831daf5523408d8ff40c076e3f8693131c7ad", "branch_name": "refs/heads/master", "committer_date": "2019-09-20T17:02:01", "content_id": "941838d6d3d8089751644ec3d897dc0cab9a1ae3", "detected_licenses": [ "Unlicense" ], "directory_id": "2a790a3a78af815fa5413c558b3a08799714add1", "extension...
stackv2
/* * Kowalski * Copyright (C) 2019 Nicolò Santamaria */ #ifndef DRIVERS_H_ #define DRIVERS_H_ #include <inttypes.h> #include "list.h" #define DRIVERS_FILE "res/drivers.json" struct driver { int id; int age; int rating; char *name; char *vehicle; int64_t token; }; // Loads the drivers list from a json ...
2.109375
2
2024-11-18T20:15:38.473353+00:00
2021-04-07T12:19:47
ca6ba3b894f3b5034e091e738bd5ced2fa281bdb
{ "blob_id": "ca6ba3b894f3b5034e091e738bd5ced2fa281bdb", "branch_name": "refs/heads/master", "committer_date": "2021-04-07T12:19:47", "content_id": "58db55308e98b895f00a82f2df5f8721595d1a50", "detected_licenses": [ "MIT" ], "directory_id": "4adcf2abefe1acca30ac328d60090d3a631d62c1", "extension": "h"...
stackv2
// MIT License - CCollections // Copyright(c) 2020 Dante Falcone (dantefalcone@gmail.com) #pragma once #include "CArrayList.h" ///////////////// // CMultiArrayList // - list of indirect keys // - multiple lists #ifdef __cplusplus extern "C" { #endif // __cplusplus // internal use only typedef struct CMultiArrayListKe...
2.484375
2
2024-11-18T20:15:38.576946+00:00
2023-07-10T12:47:49
dd88229c604a3fb6be24449bad069844e691af22
{ "blob_id": "dd88229c604a3fb6be24449bad069844e691af22", "branch_name": "refs/heads/master", "committer_date": "2023-07-10T12:47:49", "content_id": "482d127fbe0d7d643a3b4aa768a05fbba4d9bf62", "detected_licenses": [ "MIT" ], "directory_id": "4974a3b5bf52e499c4fd4d98bf7fff3cb02087aa", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #define LEN 20 void b_sort(void *bs, size_t num, size_t size, int (*compar)(const void *, const void *)) { int sorted = 0; char *base = (char *) bs; // void * 算术运算g++会发出警告,为了消除警告,强制转换成char* void *ptmp = malloc(size); for (...
3.140625
3
2024-11-18T20:28:20.537039+00:00
2015-07-28T10:00:17
5fa2614b6268d305cf616172f40ffdfedbdd4fae
{ "blob_id": "5fa2614b6268d305cf616172f40ffdfedbdd4fae", "branch_name": "refs/heads/master", "committer_date": "2015-07-28T10:00:17", "content_id": "bcbef184d1cc23dcfa77f4be0b872dc938891f47", "detected_licenses": [ "MIT" ], "directory_id": "13eebb17e400baec5696aba530d6f251cb69978c", "extension": "h"...
stackv2
/* * imcore-thread.h * 线程模块 */ #ifndef _IMCORE_THREAD_H #define _IMCORE_THREAD_H #include <stdint.h> #include <stdbool.h> #include "sock.h" #ifdef POSIX #include <pthread.h> #endif #ifdef __cplusplus extern "C" { #endif /** * @brief IM线程指针 */ typedef struct im_thread im_thread_t; /** * @brief 初始化线程库。 * @detai...
2.578125
3
2024-11-18T20:28:20.678291+00:00
2020-11-30T14:40:56
84a1659cc92f4f73abec299ccfccb92ff233f94e
{ "blob_id": "84a1659cc92f4f73abec299ccfccb92ff233f94e", "branch_name": "refs/heads/master", "committer_date": "2020-12-01T13:00:27", "content_id": "3d624b91154b9a18b9efc2e4296c641599cfd761", "detected_licenses": [ "MIT" ], "directory_id": "782da04d45e480ec122c22ae837731ce9af7febf", "extension": "c"...
stackv2
/* * This file is part of the OpenMV project. * * Copyright (c) 2013-2019 Ibrahim Abdelkader <iabdalkader@openmv.io> * Copyright (c) 2013-2019 Kwabena W. Agyeman <kwagyeman@openmv.io> * * This work is licensed under the MIT license, see the file LICENSE for details. * * LCD Python module. */ #include <mp.h> #i...
2.078125
2
2024-11-18T20:28:21.286854+00:00
2019-08-22T14:46:28
a7570bca2311ba3d362ad853a2f36fec33161cc8
{ "blob_id": "a7570bca2311ba3d362ad853a2f36fec33161cc8", "branch_name": "refs/heads/master", "committer_date": "2019-08-22T14:46:28", "content_id": "75e9f2018a116f8b01dcc01d84dfb6eca636882a", "detected_licenses": [ "MIT" ], "directory_id": "31fc9b36fc1022150ef5478c72cf1877450d6b6e", "extension": "c"...
stackv2
#include "log.h" #include "packets.h" #include "pipeline.h" #include "benchmark.h" #include <stdio.h> void jit_test(struct packet_pool_t *pool, uint32_t repeat) { log_info("In the jit test module."); packet_index_t batch_size = 0; packet_t *pkts[32] = {0}; struct benchmark_t bench; benchmark_conf...
2.1875
2
2024-11-18T20:55:22.669345+00:00
2020-10-28T07:16:32
468c28f7f46c524caaa79be4dea42c21b6a71f77
{ "blob_id": "468c28f7f46c524caaa79be4dea42c21b6a71f77", "branch_name": "refs/heads/master", "committer_date": "2020-10-28T07:16:32", "content_id": "e37d3b087a3f975c159bc70969b41a4ff9ba6a83", "detected_licenses": [ "Apache-2.0" ], "directory_id": "287dc1683f7e19a5239c2b8addbc8531809f9177", "extensio...
stackv2
class Solution { public: int majorityNumber(vector<int> nums) { int candidate, count = 0; for (int i = 0; i < nums.size(); i++) { if (count == 0) { candidate = nums[i]; count ++; } else { if (candidate == nums[i]) { ...
2.34375
2
2024-11-18T20:55:22.935742+00:00
2020-05-07T13:32:51
8d9b9e2a76acaaebbf33036995b20c3e610555ee
{ "blob_id": "8d9b9e2a76acaaebbf33036995b20c3e610555ee", "branch_name": "refs/heads/master", "committer_date": "2020-05-07T13:32:51", "content_id": "a901c9e2f062c56e0670aa60f6093986e5d366d5", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "79ce09c472987d0ae993ac73f9a84929fe5faaac", "extens...
stackv2
#define __USE_MINGW_ANSI_STDIO 1 #include <stdio.h> #include <stdlib.h> #include <string.h> #include "umka_api.h" // Umka extension example void meow(UmkaStackSlot *params, UmkaStackSlot *result) { int i = params[0].intVal; printf("Meow! (%d)\n", i); result->intVal = i; } int main(int argc, char **arg...
2.640625
3
2024-11-18T20:55:23.127958+00:00
2023-01-13T15:32:42
4e001b0d1736462dcd64929226451d63880caa0a
{ "blob_id": "4e001b0d1736462dcd64929226451d63880caa0a", "branch_name": "refs/heads/master", "committer_date": "2023-01-13T15:32:42", "content_id": "67e3d6c444c3808749ab0974972d8fc9b9d7a214", "detected_licenses": [ "MIT" ], "directory_id": "6bdf49c3b8913bcf15746e0b91666b56111804b4", "extension": "h"...
stackv2
/// @file slab.h /// @brief Functions and structures for managing memory slabs. /// @copyright (c) 2014-2022 This file is distributed under the MIT License. /// See LICENSE.md for details. #pragma once #include "klib/list_head.h" #include "stddef.h" #include "mem/gfp.h" /// @brief Type for slab flags. typedef unsign...
2.484375
2
2024-11-18T19:19:47.098687+00:00
2021-09-16T05:48:51
97a3768ec09c38342f6d5568aad9b2af161df293
{ "blob_id": "97a3768ec09c38342f6d5568aad9b2af161df293", "branch_name": "refs/heads/master", "committer_date": "2021-09-16T05:48:51", "content_id": "0372cd0d54db9fda07404efd6dd411339a7f1d91", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "3597c7193ff73de81d2867891062627f...
stackv2
/****************************************************************************** FILE : start08.h PURPOSE : datastructures for startup LANGUAGE: ANSI-C */ /********************************************************************************/ #ifndef START08_H #define START08_H #ifdef __cplusplus extern "C" { #end...
2.296875
2
2024-11-18T19:19:48.654677+00:00
2017-07-18T12:59:34
8a6df88630da0efdd97d992a23dcd09e168bfc09
{ "blob_id": "8a6df88630da0efdd97d992a23dcd09e168bfc09", "branch_name": "refs/heads/master", "committer_date": "2017-07-18T12:59:34", "content_id": "e1306193113d14b19b6d18a2152a9526602ce107", "detected_licenses": [ "MIT" ], "directory_id": "fbf1998c4cdd28d89c0e856a59db51aad73a8a7e", "extension": "c"...
stackv2
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "os.h" #include "util_mem.h" #include "pal_file.h" #include "pal_err.h" #include "util_string.h" #include "util_misc.h" const char* k_sep = "\\"; // // Enume...
2.359375
2
2024-11-18T19:20:49.382431+00:00
2023-01-30T09:21:37
912615a6da3b0705e13b29e48e07c1b31e0cb16a
{ "blob_id": "912615a6da3b0705e13b29e48e07c1b31e0cb16a", "branch_name": "refs/heads/master", "committer_date": "2023-01-30T09:21:37", "content_id": "b6a47640bb756a2ddf758434416502acc0005b62", "detected_licenses": [ "MIT" ], "directory_id": "c000832959af901aed5cb2ae9258631354f2817b", "extension": "c"...
stackv2
// WAP that reads character by character from a file and displays on screen #include <stdio.h> #include <stdlib.h> int main() { FILE *fpnt ; // decl. of pointer to structure FILE char mychar ; fpnt=fopen("c:\\myfiles\\data.txt","r"); if(fpnt==NULL) { printf("Unable to open the file ....."); exit(0); // term...
3.203125
3
2024-11-18T19:59:50.111778+00:00
2021-10-18T08:51:32
5598e6546390a4f7798b6f1bb492031bbc866554
{ "blob_id": "5598e6546390a4f7798b6f1bb492031bbc866554", "branch_name": "refs/heads/master", "committer_date": "2021-10-18T08:51:32", "content_id": "47ce020cbcbabaeb823ffa821eea7fe8d1dd7a51", "detected_licenses": [ "Unlicense" ], "directory_id": "1833d9fc4c0590f638a6bb18fbc192b1b4e81646", "extension...
stackv2
#ifndef ERROR_MACROS_H #define ERROR_MACROS_H #include <QString> typedef void (*ErrorListener)(const char* function, const char* file, int line, const char* message, void* userdata); struct ErrorListenerListItem { ErrorListener func; void* userdata; ErrorListenerListItem(ErrorListener func, void* userdat...
2.3125
2
2024-11-18T19:59:50.177561+00:00
2018-07-06T05:43:18
b93a3d2dc97debb622746ad6997f4ded9429aaec
{ "blob_id": "b93a3d2dc97debb622746ad6997f4ded9429aaec", "branch_name": "refs/heads/master", "committer_date": "2018-07-06T05:43:18", "content_id": "c19fd244a3cc0d70c938e8d6bb45ac22818881cc", "detected_licenses": [ "MIT" ], "directory_id": "4d8a0765c45e12cceb30a8bde26864196cbecfad", "extension": "h"...
stackv2
#ifndef CUMO_COMPLEX_MACRO_KERNEL_H #define CUMO_COMPLEX_MACRO_KERNEL_H #include "float_def_kernel.h" extern double round(double); extern double log2(double); extern double exp2(double); extern double exp10(double); #define r_abs(x) fabs(x) #define r_sqrt(x) sqrt(x) #define r_exp(x) exp(x) #define r_log(x) lo...
2.296875
2
2024-11-18T19:59:50.324394+00:00
2021-08-16T18:47:38
3cf8dfe4253f193a4be17fca974298951fdf214a
{ "blob_id": "3cf8dfe4253f193a4be17fca974298951fdf214a", "branch_name": "refs/heads/main", "committer_date": "2021-08-16T18:47:38", "content_id": "aca232e8d58aaa538069196affe4c9b40319183f", "detected_licenses": [ "MIT" ], "directory_id": "ee0551fd26acf498ba487ad3677d2f9f34ba85c1", "extension": "h", ...
stackv2
/** @file mat_handler.h Definitions for the Matlab connector data handler @par Environment Environment Independent @par Compiler Compiler Independent @author Justin Hadella @copyright (c) 2021 Sensor Logic */ #ifndef MAT_HANDLER_h #define MAT_HANDLER_h #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus ...
2
2
2024-11-18T19:59:50.435120+00:00
2023-08-23T16:50:55
51812e5281b72bde34c7a9d5fc3fd70238fe0bdf
{ "blob_id": "51812e5281b72bde34c7a9d5fc3fd70238fe0bdf", "branch_name": "refs/heads/master", "committer_date": "2023-08-23T16:50:55", "content_id": "4e78f4f7ed29d5eb151b3962f570265dbba9e67e", "detected_licenses": [ "MIT" ], "directory_id": "fbdc48c28e54fb33ae4842ef95ff63893902c99a", "extension": "c"...
stackv2
/* * This file is part of the OpenMV project. * * Copyright (c) 2013->2023 Ibrahim Abdelkader <iabdalkader@openmv.io> * Copyright (c) 2013->2023 Kwabena W. Agyeman <kwagyeman@openmv.io> * * This work is licensed under the MIT license, see the file LICENSE for details. * * WINC1500 bus wrapper. */ #include <st...
2.109375
2
2024-11-18T19:59:50.492349+00:00
2018-07-11T10:37:47
b03212c35e0665a1511bdc8e0bc99e315565d91a
{ "blob_id": "b03212c35e0665a1511bdc8e0bc99e315565d91a", "branch_name": "refs/heads/master", "committer_date": "2018-07-11T10:37:47", "content_id": "474b99fa84e15d1dc4269bba00d51fe43f7ead0b", "detected_licenses": [ "Unlicense" ], "directory_id": "95cb8f7d9aec0e5ae14d1d6bb742f63b9e5ff414", "extension...
stackv2
#ifndef FAIRLOGO_H #define FAIRLOGO_H #include <stdio.h> void FairLogo() { system("clear"); printf("\n"); printf("███████╗ █████╗ ██╗██████╗ ██╗ ██╗███╗ ██╗██████╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ \n"); printf("██╔════╝██╔══██╗██║██╔══██╗██║ ██║████╗ ██║██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝█...
2.1875
2
2024-11-18T20:10:16.664599+00:00
2018-04-04T15:13:34
0c98cf4d525bad905991d18238e60147081ee404
{ "blob_id": "0c98cf4d525bad905991d18238e60147081ee404", "branch_name": "refs/heads/master", "committer_date": "2018-04-04T15:21:01", "content_id": "dc1359bec0675905cd767098e10b866b138e4f4a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4e832bf8d9a99c22e8ba85898e0349d5bd44fd17", "extensio...
stackv2
/* * Copyright (c) 2017 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #define SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG #include <logging/sys_log.h> #include <zephyr.h> #include <misc/printk.h> #include <string.h> #include <stdio.h> #include <spi.h> #define SPI_DRV_NAME CONFIG_SPI_LOOPBACK_DRV_NAME #def...
2.59375
3
2024-11-18T20:10:16.758513+00:00
2018-05-14T12:36:40
427ccfe1a033640cc552043ba1c46a18cca4a014
{ "blob_id": "427ccfe1a033640cc552043ba1c46a18cca4a014", "branch_name": "refs/heads/master", "committer_date": "2018-05-14T12:36:40", "content_id": "4a6aeff3ec3ce8747f2feda29fd2d11512aa5a1c", "detected_licenses": [ "MIT" ], "directory_id": "54d4a3db7cf7997cd9c1a0b9d19e0414144be42e", "extension": "h"...
stackv2
#ifndef GAMEFRAME_H #define GAMEFRAME_H #include <stdlib.h> #include "os.h" typedef uint16_t colour; // constants // structs typedef struct game_entity { int x, y, width, height, changed; // colour that should be interpreted as transparent colour transparency_code; /* returns the pixel colour of the sprit...
2.03125
2
2024-11-18T20:10:16.950719+00:00
2016-04-13T16:10:19
6c35d03880fc06cec7186fbea956fd332bebc849
{ "blob_id": "6c35d03880fc06cec7186fbea956fd332bebc849", "branch_name": "refs/heads/master", "committer_date": "2016-04-13T16:10:19", "content_id": "5666b8af72100a04f98e272b491b430116e30948", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b523a1ddc114324eb7819bb3a162f33a2816eb83", "extensio...
stackv2
// // Copyright 2016 Jeff Bush // // 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...
3.109375
3
2024-11-18T20:11:37.603219+00:00
2018-11-21T12:34:07
11d50d6e962451b83098c1154e067eecb469423c
{ "blob_id": "11d50d6e962451b83098c1154e067eecb469423c", "branch_name": "refs/heads/master", "committer_date": "2018-11-21T12:34:07", "content_id": "393e40cb80f18e82ede0c01ca748a5e0b3184376", "detected_licenses": [ "MIT" ], "directory_id": "74bb4823475985b3b0526bc45e85b66cb59d8656", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <omp.h> int main(int argc, char const *argv[]) { int n = 1000; int *a = NULL; a = (int*) malloc(n * sizeof(int)); int i; for (i=n; i--;) { a[i] = i; } long long sum = 0; long long sum2 = 0; #pragma omp parallel { #pragma omp for reduc...
3.109375
3
2024-11-18T20:11:38.627094+00:00
2015-08-01T16:29:13
ff1f0f626dd08dcc0cd76222649e01f82662ab6b
{ "blob_id": "ff1f0f626dd08dcc0cd76222649e01f82662ab6b", "branch_name": "refs/heads/master", "committer_date": "2015-08-01T16:29:13", "content_id": "e89d65a198aa82f05c02a37e76f6e46081e78d5c", "detected_licenses": [ "MIT" ], "directory_id": "9df87cf106bcc88028a007c979c19a8e54f9a14d", "extension": "c"...
stackv2
#pragma strict_types #include "../def.h" inherit MASTER_ROOM; inherit DOOR_MOD; void create_object(void); void reset(int arg); void create_object(void) { set_short("A gate to a farm (n/w/s)"); set_long("Inside the gate of a small farm in the middle of the rolling " + "landscape of Newbie Island. ...
2.546875
3
2024-11-18T20:11:38.726526+00:00
2014-12-03T01:19:47
ff947d50dfa908e45a3dd76e7481aaa88118f6bb
{ "blob_id": "ff947d50dfa908e45a3dd76e7481aaa88118f6bb", "branch_name": "refs/heads/master", "committer_date": "2014-12-03T01:19:47", "content_id": "392190c8a5f3103593120dc61a5164cf5580c91d", "detected_licenses": [ "MIT" ], "directory_id": "25cc0372c0612609b1efc346a2e8c5e5699946cd", "extension": "c"...
stackv2
// // File Management.c // Calendar // // Created by Bruno Chroniaris on 11/9/14. // Copyright (c) 2014 Universidade Federal De Alagoas. All rights reserved. // #include "File Management.h" void exportEvents (Calendar *calendar) { if (calendar == NULL) { return; } else if (emptyCalendar(ca...
2.484375
2
2024-11-18T20:35:12.862770+00:00
2021-04-19T23:14:46
f05d48eb9f962b3b5d7473185b98795686e0c775
{ "blob_id": "f05d48eb9f962b3b5d7473185b98795686e0c775", "branch_name": "refs/heads/master", "committer_date": "2021-04-19T23:14:46", "content_id": "d143ef9b45240c92e116cc8fce992c25bc40eaac", "detected_licenses": [ "Apache-2.0" ], "directory_id": "cfe200ff7aee266ddd7b6fa743c2203c843ddd62", "extensio...
stackv2
/** * Ant Colony Optimization framework * using best ant system */ #ifndef ANT_COLONY_H_ #define ANT_COLONY_H_ #ifndef __cplusplus #include <stdbool.h> #endif #include <stdio.h> #include "heuristic_utils.h" #include "problem_solution.h" // class of ant typedef struct { int* route_ar; int route_steps; ...
2.4375
2
2024-11-18T20:35:13.109706+00:00
2021-05-24T12:04:17
3255c7d168ebb38d3fd065a07a7e2e798785a984
{ "blob_id": "3255c7d168ebb38d3fd065a07a7e2e798785a984", "branch_name": "refs/heads/master", "committer_date": "2021-05-24T12:04:17", "content_id": "67d0723a110bd5fc4b0da2c959d5c64ec8b96124", "detected_licenses": [ "ISC" ], "directory_id": "7aa70c787e82e5f4f0d8bd2dbc51cef9bfbfa313", "extension": "c"...
stackv2
/* * Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
2.125
2
2024-11-18T20:35:13.556237+00:00
2018-07-10T01:19:56
ba36849b39e31ea3a48a96e8be28a719c4b88cc1
{ "blob_id": "ba36849b39e31ea3a48a96e8be28a719c4b88cc1", "branch_name": "refs/heads/master", "committer_date": "2018-07-10T01:19:56", "content_id": "7d065ec54bb6e23c77d4fb9e11315b6cb8173171", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "3c9eab68937147e2464a67a8e171dd7f00b21ebf", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <getopt.h> /* #include "c3.h" */ #include "cdyn/simulate.h" #include "cdyn/integrate.h" #include "nodeutil.h" #include "valuefunc.h" #include "bellman.h" #include "c3sc.h" #ifndef M_PI #define M_PI 3.14159265358...
2.40625
2
2024-11-18T20:49:53.509775+00:00
2018-06-06T13:16:49
45004d2cd8892469e53923559a4bd52b7a3e6882
{ "blob_id": "45004d2cd8892469e53923559a4bd52b7a3e6882", "branch_name": "refs/heads/master", "committer_date": "2018-06-06T13:16:49", "content_id": "a2305d9402351c5ccf4471b7afffa5426cd125aa", "detected_licenses": [ "MIT" ], "directory_id": "aea83600ee871e030200c92c725a0aeeb61af494", "extension": "c"...
stackv2
#include <math.h> #include <stdio.h> #include "arm_math.h" #include "main.h" #include "pdm_filter.h" #include "stm32f4xx.h" uint8_t PDM_Input_Buffer[PDM_Input_Buffer_SIZE]; uint16_t PCM_Output_Buffer[PCM_Output_Buffer_SIZE]; float32_t buffer_input[4096]; float32_t buffer_output[4096]; float32_t buffer_output_mag[4096...
2.5
2
2024-11-18T20:49:54.171533+00:00
2021-10-29T19:33:34
9f930b3f7bc9730aa853d34724f3407f4d60e4ca
{ "blob_id": "9f930b3f7bc9730aa853d34724f3407f4d60e4ca", "branch_name": "refs/heads/main", "committer_date": "2021-10-29T19:33:34", "content_id": "bff1c1ea4bd8157449f7437c7a7fe256a3cf8397", "detected_licenses": [ "MIT" ], "directory_id": "d6f4245de8d48703508b9b1430b042867625de68", "extension": "c", ...
stackv2
#include "smack.h" #include <assert.h> #include <math.h> // @expect verified // @flag --integer-encoding=bit-vector int main(void) { double NaN = 0.0 / 0.0; double Inf = 1.0 / 0.0; double negInf = -1.0 / 0.0; double val = __VERIFIER_nondet_double(); if (!__isnan(val) && !__isinf(val) && !__iszero(val)) { ...
2.3125
2
2024-11-18T20:49:54.245054+00:00
2018-03-28T06:00:40
d09da94b1e5e18521f07be1d28d302e955fd6ab7
{ "blob_id": "d09da94b1e5e18521f07be1d28d302e955fd6ab7", "branch_name": "refs/heads/master", "committer_date": "2018-03-28T06:00:40", "content_id": "d28f237cd10d86ba4f174518a99bb4bae9b9b6f6", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3372a0e4dbfe751c42c7f0896037939904bd5206", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include "esp_log.h" // #include "wifi_startup.h" // #include "web_console.h" #include "rgb_led_panel.h" // #include "sdcard.h" // #include "animations.h" #include "frame_buffer.h" // #include "bmp.h" // #include "font.h" #include "freertos/Free...
2.078125
2
2024-11-18T18:43:51.097055+00:00
2021-03-07T03:05:31
ace55dbe74e282e6c95757778155b582be4b5d7f
{ "blob_id": "ace55dbe74e282e6c95757778155b582be4b5d7f", "branch_name": "refs/heads/main", "committer_date": "2021-03-07T03:05:31", "content_id": "3f1fb81ab1e8b457c8839ce95369326fe4e21844", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "62bfd82e9f14d0ab2cb0a9cdaca1185fac343e78", "extensio...
stackv2
/* * linux/kernel/console.c * * (C) 1991 Linus Torvalds */ /* * console.c * * This module implements the console io functions * 'void con_init(void)' * 'void con_write(struct tty_queue * queue)' * Hopefully this will be a rather complete VT102 implementation. * * Beeping thanks to John T Kohl. * * Vi...
2.0625
2
2024-11-18T18:55:54.799646+00:00
2017-11-27T19:58:10
f3198118b1dd4ee2b11d087e3b8b473685bb139b
{ "blob_id": "f3198118b1dd4ee2b11d087e3b8b473685bb139b", "branch_name": "refs/heads/master", "committer_date": "2017-11-27T19:58:10", "content_id": "dd597d4c8691c367d1d98538000c2e900ded70c9", "detected_licenses": [ "Unlicense" ], "directory_id": "3c7056772ad9ca625042cb18b88b05d760c43786", "extension...
stackv2
//**************************************************************// // Engenharia Informática - Algoritmos e Estruturas de Dados // // Projeto - Gestão de Filas de Espero // // Data- 12/06/2015 // // Docente - Sérgio Correia ...
2.484375
2
2024-11-18T18:55:55.437064+00:00
2019-02-10T07:48:48
28a585a39b10926cdaee0c49a00e03fa78255efd
{ "blob_id": "28a585a39b10926cdaee0c49a00e03fa78255efd", "branch_name": "refs/heads/master", "committer_date": "2019-02-10T07:48:48", "content_id": "964826862efe2e04d8da25dd973b0a44cfdc937f", "detected_licenses": [ "MIT" ], "directory_id": "d09dba3a902a1d578c5225362bdcf5eaf2ba1bb0", "extension": "h"...
stackv2
/** * | File : fonts.h * | Author : Artem Paraev (iharuspex) * | Function : Font definitions * Copyright (c) 2019 Artem Paraev * 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 ...
2.015625
2
2024-11-18T18:55:55.631636+00:00
2017-11-08T08:19:45
be9a71ccbc8b197de4a4c0381930e779ee731f6a
{ "blob_id": "be9a71ccbc8b197de4a4c0381930e779ee731f6a", "branch_name": "refs/heads/master", "committer_date": "2017-11-08T08:19:45", "content_id": "89563afbf4af2fd6a440efb4b17eff61ef625f73", "detected_licenses": [ "MIT" ], "directory_id": "85ff6d904816330d520dd55798d20925c0f86e3d", "extension": "c"...
stackv2
#include "colaestatica.h" #include <assert.h> /* |------------------------------------------------------ | IMPLEMENTACION |------------------------------------------------------ */ void colae_inicia(Colae* cola) { cola->primero = -1; cola->ultimo = -1; } void colae_pone(Colae* cola, ColaeDato dato){ if (...
2.828125
3
2024-11-18T21:00:52.168593+00:00
2018-09-18T22:25:19
e7423c589bd86dda59a1a8b187c3ecdf87d990cd
{ "blob_id": "e7423c589bd86dda59a1a8b187c3ecdf87d990cd", "branch_name": "refs/heads/master", "committer_date": "2018-09-18T22:25:19", "content_id": "15f15694f1dacd0c7722350c2c11de4d79fdca66", "detected_licenses": [ "MIT" ], "directory_id": "f7995d57c3b73087cfced628ef26266cab4ac0fe", "extension": "c"...
stackv2
#include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "main.h" // COMMAND-LINE FLAGS // -b Make backup // -h, --help Help // -i Input file // -o Output file // -t Test -> determine current line ending scheme char* src; char* dst; char* tmpName; int backup = 0; int ...
2.5625
3
2024-11-18T21:00:52.931578+00:00
2013-12-23T19:39:25
067eaf9818eda13bfd84ad5b45e02d7773551aa8
{ "blob_id": "067eaf9818eda13bfd84ad5b45e02d7773551aa8", "branch_name": "refs/heads/master", "committer_date": "2013-12-23T19:39:25", "content_id": "8692b43f5fe3ac4b162bbe77d4cd08fa8ba3f7ff", "detected_licenses": [ "MIT" ], "directory_id": "6d129d89600c17f3fe6bfe692b7708c00a796217", "extension": "c"...
stackv2
#include "mostronet.h" #define REQUESTS 5 int main(int argc, char ** argv){ signal (SIGCHLD,SIG_IGN); int sd, csd ,leido, opcion, confd=0, reqs = 0, flag4=0, flag6=0; char buffer[1000]; struct sockaddr_in dir = {}; serverData config; while ((opcion = getopt(argc, argv, "hf:46") ) >= 0) { switch(opcion) { ...
2.296875
2
2024-11-18T21:00:53.019462+00:00
2023-02-16T11:27:40
13f538526ba891247d7c7d1617ecf1ba1697d4e7
{ "blob_id": "13f538526ba891247d7c7d1617ecf1ba1697d4e7", "branch_name": "refs/heads/main", "committer_date": "2023-02-16T14:59:16", "content_id": "f640e42b799a6ad4da5c7f3a4ffb75857549ce01", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e8302c75d770d1608b317d6af5c483bbad6c0493", "extension"...
stackv2
/* * Copyright (c) 2018 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #include <string.h> #include <zephyr/types.h> #include <zephyr/sys/__assert.h> #include <zephyr/sys/util.h> #include <zephyr/init.h> #include <zephyr/storage/disk_access.h> #include <errno.h> #include <zephyr/device.h> #define L...
2.4375
2
2024-11-18T21:00:53.074565+00:00
2015-11-25T18:38:25
5860a1e1d6c9f2b02f41299602257ae8c6d9785a
{ "blob_id": "5860a1e1d6c9f2b02f41299602257ae8c6d9785a", "branch_name": "refs/heads/master", "committer_date": "2015-11-25T18:38:25", "content_id": "277b95f8f8de4015978be5fc7419ca510710b3e3", "detected_licenses": [ "MIT" ], "directory_id": "7d1103e4efd710e1a385f830549c4dfaa202d8c4", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <time.h> #include <math.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <signal.h> #include <errno.h> #include <arpa/inet.h> #include "dask.h" #include "conio.h" #include "cpgplo...
2.140625
2
2024-11-18T21:00:53.152283+00:00
2022-10-27T18:04:06
427fdc833ac77ddeb7c9fa12197e6f0ac431ea00
{ "blob_id": "427fdc833ac77ddeb7c9fa12197e6f0ac431ea00", "branch_name": "refs/heads/master", "committer_date": "2022-10-27T18:04:06", "content_id": "a0579c4221c9d9d2cf24b9057bcc99daed48e31a", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "e632e9d2b1e37a95cce8983bb27177e188492bd7", "extens...
stackv2
#include "sbsat.h" #include "sbsat_solvers.h" #include "solver.h" void SetMINMAXStateVisitedFlag(TypeStateEntry *pTypeState) { MINMAXStateEntry *pMINMAXState = (MINMAXStateEntry *)pTypeState; assert(pMINMAXState->type == FN_MINMAX); if(pMINMAXState->visited==0) { pMINMAXState->visited = 1; } } void Unset...
2.140625
2
2024-11-18T18:45:31.719315+00:00
2020-11-12T01:40:48
03be481ff829fc3066855944cb1b04d7d104d142
{ "blob_id": "03be481ff829fc3066855944cb1b04d7d104d142", "branch_name": "refs/heads/master", "committer_date": "2020-11-12T01:40:48", "content_id": "a58e9cb898ef88c927efa94c02c9b6b8fa5d2a0d", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "57eba9063c7e90877207c3ccff9316ccd4ef2527", "extens...
stackv2
/* * test: * cc -o sleep sleep.c -I../../include -DTEST */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <stdio.h> /* NULL, FILE */ #include <time.h> #include "snotypes.h" #include "h.h" #include "lib.h" int sleepf(real_t t) { struct timespec ts; ts.tv_sec = (int) t; /* 5e-10 + 5e-10 < ...
2.65625
3
2024-11-18T18:45:31.877597+00:00
2020-10-01T20:27:52
495e7601f97f0263625654b5b5a4347bc7f17f0c
{ "blob_id": "495e7601f97f0263625654b5b5a4347bc7f17f0c", "branch_name": "refs/heads/master", "committer_date": "2020-10-01T20:27:52", "content_id": "1aab99e067e2cc84b12dfcda6f5567e86525dfae", "detected_licenses": [ "MIT" ], "directory_id": "f4752ed453ae2b0758a4b3dd32bde1f149790c72", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> int main(int argc, char const *argv[]) { float custoFabrica,custoConsumidor; printf("Custo de Fabrica: "); scanf("%f",&custoFabrica); if (custoFabrica<12000) { custoConsumidor = custoFabrica + (custoFabrica*0.05); } else if ...
3.015625
3
2024-11-18T18:45:31.932574+00:00
2017-11-18T21:09:28
400094a172d1118320c000f4600a36d85c963406
{ "blob_id": "400094a172d1118320c000f4600a36d85c963406", "branch_name": "refs/heads/master", "committer_date": "2017-11-18T21:09:28", "content_id": "ff26579dc02153cf43261df5f682253db7a713dc", "detected_licenses": [ "MIT" ], "directory_id": "e1ae491f91ccad5d709802a367170661563d7dde", "extension": "c"...
stackv2
/* * example.c * Copyleft (C) 2015 Sun Dro (a.k.a 7th Ghost) * Copyleft (C) 2017 George G. Gkasdrogkas (a.k.a. GeorgeGkas) * * Source example of slog library usage. Use GCC. */ #include <stdio.h> #include <string.h> #include <slog.h> void seperator() { for (int i = 1; i <= 68; ++i) { prin...
2.84375
3
2024-11-18T19:35:02.395326+00:00
2017-05-04T11:50:52
2e12255b15db55ab6fed76d6dfeae3b645586e11
{ "blob_id": "2e12255b15db55ab6fed76d6dfeae3b645586e11", "branch_name": "refs/heads/master", "committer_date": "2017-05-04T11:50:52", "content_id": "c59bbba9f64184022a0fc1de2ff22adad70ddcd7", "detected_licenses": [ "MIT" ], "directory_id": "99dc5038615ac0d041baa9f326e516869c50c85a", "extension": "c"...
stackv2
/** ****************************************************************************** * @file comm.c * @author Jalon * @date 2016/02/01 * @brief 通讯协议传输层解包封包等相关函数 * @attention Copyright (C) 2016 Inmotion ****************************************************************************** */ #include "comm.h" #include "...
2.46875
2
2024-11-18T19:35:02.574405+00:00
2021-09-07T03:52:06
43cbe7772e6c699611e986b3044a68c235c6838f
{ "blob_id": "43cbe7772e6c699611e986b3044a68c235c6838f", "branch_name": "refs/heads/main", "committer_date": "2021-09-07T03:52:06", "content_id": "013ad412381e65126e7353e4aa5516a4ef152db1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "cb475d167529660ffa55c44af568b78ab7172472", "extension"...
stackv2
#include<stdio.h> #include<conio.h> float Area_Rectangle(float,float); int main() { float No1,No2; float Res; printf("\nEnter the measures of Circle to find its Area : "); scanf("%f%f",&No1,&No2); Res=Area_Rectangle(No1,No2); printf("\nArea of given Rectangle is %.2f.",Res); getch(); ...
3.125
3
2024-11-18T20:01:54.915087+00:00
2017-05-24T20:16:22
e06ba4a7ec2edb4bf61715f8d49fdc9e37a42063
{ "blob_id": "e06ba4a7ec2edb4bf61715f8d49fdc9e37a42063", "branch_name": "refs/heads/master", "committer_date": "2017-05-24T20:16:22", "content_id": "deaae34ca2135877e4d8bb9f9fc7c8886ba8da33", "detected_licenses": [ "MIT" ], "directory_id": "5fe4ec7c223bc2a47e710dd7b4c2f0d38e169cf1", "extension": "c"...
stackv2
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stddef.h> #include <ctype.h> #include <drivers/screen.h> #include <drivers/serial.h> void putchar(int device, char c); void puts(int device, char *s); void printf(const char* format, ...) { va_list arg; va_start(arg, form...
3.125
3
2024-11-18T20:01:55.154473+00:00
2019-12-18T06:00:40
b00e997c2aacdb8a891c99ce6fc0d7e69399bb6f
{ "blob_id": "b00e997c2aacdb8a891c99ce6fc0d7e69399bb6f", "branch_name": "refs/heads/master", "committer_date": "2019-12-18T06:00:40", "content_id": "8e5dfd0c804a53e7dd9daaaf232c8efc687d16e0", "detected_licenses": [ "MIT" ], "directory_id": "74edc399f159607525a89c2dfda1905c8c22576e", "extension": "h"...
stackv2
#ifndef _GARBAGE_H #define _GARBAGE_H #include "../utils/hashtable.h" #include "../utils/hashset.h" #include "../utils/linkedlist.h" #include "jvm.h" #include "jvm_util.h" #ifdef __cplusplus extern "C" { #endif typedef struct _GcCollectorType GcCollector; //回收线程 extern s64 GARBAGE_PERIOD_MS;// extern GcCollector...
2.046875
2