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:13:09.095273+00:00
2023-08-13T07:00:15
ab49f79c973e5b035d1084fd0330c8363e8a2830
{ "blob_id": "ab49f79c973e5b035d1084fd0330c8363e8a2830", "branch_name": "refs/heads/master", "committer_date": "2023-08-13T07:00:15", "content_id": "5c692a83024b7a7add135a97b3d54bf9802ae441", "detected_licenses": [ "MIT" ], "directory_id": "2266eb133fc3121daf0aa7f4560626b46b94afe0", "extension": "c"...
stackv2
// Room: /t/wanjiegu/tree_hole.c inherit ROOM; void create() { set("short", "树洞"); set("long", @LONG 树洞内非常狭窄,光线黑暗,地上铺满是枯草。洞的墙上有一 只大蜘蛛正在编织一个蜘蛛网。 LONG ); set("exits", ([ /* sizeof() == 1 */ "out" : __DIR__"entrance", ])); set("no_clean_up", 0); set("it...
2.203125
2
2024-11-18T20:13:09.246554+00:00
2019-04-10T10:55:21
f07d513155de58c5330d7e76c80248a81e9367cf
{ "blob_id": "f07d513155de58c5330d7e76c80248a81e9367cf", "branch_name": "refs/heads/master", "committer_date": "2019-04-10T10:55:21", "content_id": "62b1c80da2aea09072083f3c33f5521280cc9b5a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "86cf2ccaa0625027335da0214a28f4d01dcbd932", "extensio...
stackv2
#include "il2c_private.h" ///////////////////////////////////////////////////////////// // System.UInt32 System_String* System_UInt32_ToString(uint32_t* this__) { il2c_assert(this__ != NULL); wchar_t buffer[14]; il2c_u32tow(*this__, buffer, 10); return il2c_new_string(buffer); } int32_t System_UInt...
2.28125
2
2024-11-18T20:13:09.482022+00:00
2021-12-31T09:23:38
e2b3203967ce39404cb2e56443600efcbf600fc6
{ "blob_id": "e2b3203967ce39404cb2e56443600efcbf600fc6", "branch_name": "refs/heads/master", "committer_date": "2021-12-31T09:23:38", "content_id": "19433d273d9a9bdb7b2db2c422acad432a0da01d", "detected_licenses": [ "MIT" ], "directory_id": "af9eabdb2ac240f9f2a2f3e92e6bc9044069362e", "extension": "c"...
stackv2
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <k_api.h> static kstat_t task_create(ktask_t *task, const name_t *name, void *arg, uint8_t prio, tick_t ticks, cpu_stack_t *stack_buf, size_t stack_size, task_entry_t entry, uint8_t autorun, ...
2.046875
2
2024-11-18T20:13:46.821423+00:00
2015-05-15T08:06:17
1a9a15d984e12a80cc93a15a3a7cf7b7d1f9f212
{ "blob_id": "1a9a15d984e12a80cc93a15a3a7cf7b7d1f9f212", "branch_name": "refs/heads/master", "committer_date": "2015-05-15T08:06:17", "content_id": "bef6b35d8738b63e9995292383b638be3ff16b31", "detected_licenses": [ "NCSA" ], "directory_id": "0703984183ca342d0277787ae4e26ec137fd48ca", "extension": "c...
stackv2
/* * test_concat.c * * Created on: Apr 22, 2015 * Author: zehranaz */ #include <klee/klee.h> #include <string.h> #include <stdlib.h> int main () { char *left; char *right; left = malloc(3); b = malloc(5); klee_make_symbolic(left, 3, "left"); klee_make_symbolic(b, 5, "b"); int c = strcmp(left, b); r...
2.3125
2
2024-11-18T20:13:46.926444+00:00
2018-12-31T09:04:22
1546f562175f45b50e0ed4bc24258e769e67ca11
{ "blob_id": "1546f562175f45b50e0ed4bc24258e769e67ca11", "branch_name": "refs/heads/master", "committer_date": "2018-12-31T09:04:22", "content_id": "411f685eef9a0382ffa87e961de9528ddcd0585b", "detected_licenses": [ "MIT" ], "directory_id": "7bbdaa4582e1bb4cbe87de9c805ef62d6de4e4a6", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <arpa/inet.h> int main(int argc, char *argv[]) { int fd; struct sockaddr_in serv_addr; char buf[16]; fd = socket(AF_INET, SOCK_STREAM, 0); if(fd < 0){ pri...
2.71875
3
2024-11-18T20:13:47.125075+00:00
2019-07-03T01:45:08
1615ed529d7947edef0ff76c509efbee1b4e00f1
{ "blob_id": "1615ed529d7947edef0ff76c509efbee1b4e00f1", "branch_name": "refs/heads/master", "committer_date": "2019-07-03T01:45:08", "content_id": "e8a11ce7aff679c079187ef23e4e62a70f611d20", "detected_licenses": [ "0BSD" ], "directory_id": "920d047648af2b743b3c6e7cdce3b733a9e559fb", "extension": "c...
stackv2
/* sh.c - toybox shell * * Copyright 2006 Rob Landley <rob@landley.net> * * The POSIX-2008/SUSv4 spec for this is at: * http://opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html * and http://opengroup.org/onlinepubs/9699919799/utilities/sh.html * * The first link describes the following shell builtins...
2.21875
2
2024-11-18T20:14:19.865674+00:00
2023-07-21T03:43:38
f3e0c6aa80029be3120b0727ee97cf8be4a0e202
{ "blob_id": "f3e0c6aa80029be3120b0727ee97cf8be4a0e202", "branch_name": "refs/heads/master", "committer_date": "2023-07-21T03:43:38", "content_id": "c3c783859f5fc11f45151cb984161dc6bfc72bf2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f24b1897637ac30dbc6fc7d839cfe7cce47fd36d", "extensio...
stackv2
//Copyright (C) 2020 D. Michael Agun // //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 wr...
2.375
2
2024-11-18T20:14:25.396488+00:00
2020-09-13T06:08:15
3a2c30e47417c52f31a1b0a44e29ae40644fe23a
{ "blob_id": "3a2c30e47417c52f31a1b0a44e29ae40644fe23a", "branch_name": "refs/heads/master", "committer_date": "2020-09-13T06:08:15", "content_id": "48abc00ae3c4fc6740a3f3f388e7cccdb2fcdf9e", "detected_licenses": [ "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "965fc6765aa08f98d53daa78dfc0d804...
stackv2
/* * Copyright (c) 2000 Paul Herman * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
2.328125
2
2024-11-18T20:14:25.726870+00:00
2023-07-31T08:26:14
36f989455e378bec263d437bd2b6d7eff98a0efd
{ "blob_id": "36f989455e378bec263d437bd2b6d7eff98a0efd", "branch_name": "refs/heads/develop", "committer_date": "2023-08-11T07:38:17", "content_id": "8721a5031a33620e0fb80b65a183d9afe1b20914", "detected_licenses": [], "directory_id": "693bd39eb66eade67997bc608fe84e76e66eeec2", "extension": "c", "filenam...
stackv2
/* * Copyright 2015 Rockchip Electronics Co. LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
2.25
2
2024-11-18T20:14:25.811890+00:00
2023-02-16T18:40:06
63f90e5654258fb556344976dc4cf70b34d348c2
{ "blob_id": "63f90e5654258fb556344976dc4cf70b34d348c2", "branch_name": "refs/heads/main", "committer_date": "2023-02-16T18:40:06", "content_id": "a25c53b261187e5458bc1d3126f3fb331f770874", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "fb6245383e7e7d53ab94b6eb2bb09469db466c58", "extensio...
stackv2
/** * Careful alarm interface * * Copyright 2020, University Corporation for Atmospheric Research. All rights * reserved. * * See file COPYRIGHT in the top-level source-directory for copying and * redistribution conditions. */ #ifndef ALRM_H #define ALRM_H #include <unistd.h> #include <signal.h> #include <set...
2.484375
2
2024-11-18T20:14:28.545229+00:00
2021-04-13T08:58:17
a2602e0531db86aaaf56ca7a61cbd1752be18e20
{ "blob_id": "a2602e0531db86aaaf56ca7a61cbd1752be18e20", "branch_name": "refs/heads/master", "committer_date": "2021-04-13T08:58:17", "content_id": "883b99079e815692f2920fcc55dad961dbc23eba", "detected_licenses": [ "MIT" ], "directory_id": "e5e7add4d441c885fe3f90f17d842d793bd97750", "extension": "c"...
stackv2
#include "spsa_sim.h" void spsa_disp(spsa_t *s){ printf("~~~~~~~design~~~~~~~ \n"); printf("num_params =%d\n",s->num_params); printf("confidence =%f\n",s->confidence); printf("draw_ratio =%f\n",s->draw_ratio); printf("precision =%f\n",s->precision); printf("c_ratio =%...
2.203125
2
2024-11-18T20:14:28.633867+00:00
2021-07-24T22:22:38
5d90b466b2e1a8372d512bdd23230a14a75e4cb1
{ "blob_id": "5d90b466b2e1a8372d512bdd23230a14a75e4cb1", "branch_name": "refs/heads/main", "committer_date": "2021-07-24T22:22:38", "content_id": "2f71ec6887549308b95cb8a74ba3b3e22478cfde", "detected_licenses": [ "MIT" ], "directory_id": "6c039ab0efbc0fc6f215c16a1b9b89c1c8c2706f", "extension": "c", ...
stackv2
//Run the requested working directory //if(ecmd->argv[0] == 0) //exit(1); //exec(ecmd->argv[0], ecmd->argv); ///If didn't work, run the directories specified by PATH file read(path_fd, &buffer, buf_size); char* ptr = buffer; char* dots_ptr; while((dots_ptr = strchr(...
2.453125
2
2024-11-18T20:14:29.110657+00:00
2023-08-04T02:52:06
99a6255666b8483d42e8ecc539b2db0320bb97c3
{ "blob_id": "99a6255666b8483d42e8ecc539b2db0320bb97c3", "branch_name": "refs/heads/main", "committer_date": "2023-08-04T02:52:06", "content_id": "37f7d09dc83bc9377ccb0369d90e3ed33f9f732c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c641636e184c0ec1dcc7b851bad678c898cdd05d", "extension"...
stackv2
/** \file \brief Functions that deal with setting up the graphs for METIS. \date Started 7/25/1997 \author George \author Copyright 1997-2009, Regents of the University of Minnesota \version\verbatim $Id: graph.c 10513 2011-07-07 22:06:03Z karypis $ \endverbatim */ #include "metislib.h" /**********************...
2.5625
3
2024-11-18T20:14:29.344473+00:00
2014-05-22T04:05:09
4dba59ff2756bce4d468993ee76c482c29e2554b
{ "blob_id": "4dba59ff2756bce4d468993ee76c482c29e2554b", "branch_name": "refs/heads/master", "committer_date": "2014-05-22T04:05:09", "content_id": "296a927f072c6e8d490aa22000646cfe7c163e18", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a67a242a5a264b8c4d119c8d02422c9f7b4bd84e", "extensio...
stackv2
// // kernel/src/paging.c // #include <util.h> #include <common.h> #include "asm.h" #include "debug.h" #include "paging.h" #include "memory/pages.h" #define ERROR_PRESENT 0x01 #define ERROR_WRITE 0x02 #define ERROR_USER 0x04 #define ERROR_RESERVED 0x08 #define ERROR_EXECUTE 0x10 #define PG_SWP_ENT (PM_L1_LO...
2.578125
3
2024-11-18T20:14:29.510333+00:00
2021-05-26T12:31:02
5aac8dd77969b844525b53a0dada6016fbd7ac76
{ "blob_id": "5aac8dd77969b844525b53a0dada6016fbd7ac76", "branch_name": "refs/heads/master", "committer_date": "2021-05-26T12:31:02", "content_id": "a760d747501dd01172be6b48aaea1888d6b4c457", "detected_licenses": [ "ISC" ], "directory_id": "61851bbf54b29b3b2502ca71acd864c7c2cdcc82", "extension": "h"...
stackv2
// // Utility functions for EFI data structures // #ifndef UTIL_H #define UTIL_H // // Calculate the size of an array // #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x)) // // Compare two EFI strings // efi_ssize efi_strcmp(efi_ch16 *str1, efi_ch16 *str2); // // Compute the number of characters (excluding the NUL-ter...
2.375
2
2024-11-18T20:14:29.621808+00:00
2022-05-11T19:12:04
a9ef4db0801991b6009b6cda67fc2b577df10cf0
{ "blob_id": "a9ef4db0801991b6009b6cda67fc2b577df10cf0", "branch_name": "refs/heads/master", "committer_date": "2022-05-11T19:12:04", "content_id": "e588359d1d70737fe52c4d4f9bf3fe427a885717", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "8fd935d0bcf03a176dc1c042602e731aab016f43", "extens...
stackv2
#include <flann/flann.h> #include <stdio.h> #include <stdlib.h> float* read_points(const char* filename, int rows, int cols) { float* data; float *p; FILE* fin; int i,j; fin = fopen(filename,"r"); if (!fin) { printf("Cannot open input file.\n"); exit(1); } data = (float*) ...
2.671875
3
2024-11-18T20:14:30.368179+00:00
2020-12-13T11:20:32
5fbbff7a3cb7aad258026cde249c8e2f7b4ceedc
{ "blob_id": "5fbbff7a3cb7aad258026cde249c8e2f7b4ceedc", "branch_name": "refs/heads/master", "committer_date": "2020-12-13T11:20:32", "content_id": "7fd300545d77bb9d8bc6b39921ccfce248ec6d91", "detected_licenses": [ "MIT" ], "directory_id": "349933bfd961e1c5857e9f8aac078db4d0da7226", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_processor.c :+: :+: :+: ...
2.1875
2
2024-11-18T20:14:31.239065+00:00
2016-02-24T06:00:26
7d411444f2437e10de55d1553196a0f440ea23fb
{ "blob_id": "7d411444f2437e10de55d1553196a0f440ea23fb", "branch_name": "refs/heads/master", "committer_date": "2016-02-24T06:00:26", "content_id": "d30a166904bacc6e97cff7f41cc42115a5bfdfea", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "cdf41df24c29b0766ab22ac537a0e6350c3643ee", "extens...
stackv2
#include <stdlib.h> #include <string.h> #include <math.h> #include "phonebook_opt.h" HashTable *createHashTable(int size) { if (size < 1) return NULL; HashTable *ht = malloc(sizeof(HashTable)); ht->size = size; ht->storage = calloc(size, sizeof(entry *)); return ht; } void freeHashTable(HashTable...
3.03125
3
2024-11-18T18:58:18.199657+00:00
2019-12-09T14:50:56
b1df2877d86f21bc0493db355995ca6f9614b153
{ "blob_id": "b1df2877d86f21bc0493db355995ca6f9614b153", "branch_name": "refs/heads/master", "committer_date": "2019-12-09T14:50:56", "content_id": "431e3cba7e629ec00790e15a4a4c8f1f9b87e508", "detected_licenses": [ "MIT" ], "directory_id": "2369613cde60ae9106fa90d2c662b8e77cbc6eb6", "extension": "h"...
stackv2
#ifndef __AUX_H__ #define __AUX_H__ /* kontaxis 2015-10-31 */ #include <string.h> #include <limits.h> struct read_bytes_ctx { /* Buffer holding data to be read. */ void *in; /* MUST be set to the exact number of bytes available in the 'in' buffer * BEFORE the first call to read_bytes() is moade. */ size_t re...
2.890625
3
2024-11-18T18:58:18.319821+00:00
2012-08-16T17:20:14
6a5c620dd66ef2862f8b82e370c8fff21799c3a9
{ "blob_id": "6a5c620dd66ef2862f8b82e370c8fff21799c3a9", "branch_name": "refs/heads/master", "committer_date": "2012-08-16T17:20:14", "content_id": "1d8fe36dce19cc1c027089f981502c4b935ca73f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a1e9ed98b785919ac763e405b8cdf9d2ba13398b", "extens...
stackv2
/** * @addtogroup libMU_PWM * Library for easy access to the serial port * @{ ******************************************************************** * @author Eñaut Muxika <emuxika at mondragon dot edu> * @date 2011/7/10 * @copyright BSDL ******************************************************************** */ ...
2.546875
3
2024-11-18T18:58:18.415977+00:00
2016-03-07T06:09:42
a8e732dcff5c0f7c1cd7ebbcf73d4837dc7b9e0c
{ "blob_id": "a8e732dcff5c0f7c1cd7ebbcf73d4837dc7b9e0c", "branch_name": "refs/heads/master", "committer_date": "2016-03-07T06:09:42", "content_id": "9814974a7d4e181012128e4243c8129af740b8a4", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fd254058ca64486706ee0238ecd526c4edef9f0b", "extensio...
stackv2
/* * The code is part of the Cocytus project * * Copyright (C) 2016 Institute of Parallel and Distributed Systems (IPADS), Shanghai Jiao Tong University * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
2.5
2
2024-11-18T18:58:23.479607+00:00
2020-12-17T13:39:26
9e5a4bf16629f2a84a173321fe359cc7aaf32ac9
{ "blob_id": "9e5a4bf16629f2a84a173321fe359cc7aaf32ac9", "branch_name": "refs/heads/master", "committer_date": "2020-12-17T13:39:26", "content_id": "37b1fcbdc0634a872d406560ff1ebe525528d88c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "77af3b8dc0fccec2ca9ca215bd6c3e3cd6e9aaff", "extensio...
stackv2
volatile uint8_t lock_step1 = 1; #define JSON_TYPE_1 ("{\"type\":1,\"hello\":\"this is fast flash isp.\"}\n") static void core0_step1_wait_hello() { char* hello = repeat_malloc(JSON_TYPE_1); while (lock_step1) { repeat_printf(hello, JSON_TYPE_1); msleep(10); if (gpiohs_get_pin(PIN_BOOT) == GPIO_PV_HIG...
2.21875
2
2024-11-18T18:58:59.349638+00:00
2016-03-03T23:57:04
38c46b5d25bbe7a49707c371554ecedd4d5694f6
{ "blob_id": "38c46b5d25bbe7a49707c371554ecedd4d5694f6", "branch_name": "refs/heads/master", "committer_date": "2016-03-03T23:57:04", "content_id": "455860cf8ea7d52831e5984602a489d7dc1e1b27", "detected_licenses": [ "MIT" ], "directory_id": "481f7e4c28473e4c753394867e366b8601d3a2c6", "extension": "h"...
stackv2
/* =============================================================================== ##### STM32F030XX-discovery board: UART specific communication ##### header file =============================================================================== * @date 4-Jan-2015 * @author Domen Jur...
2.3125
2
2024-11-18T18:58:59.596986+00:00
2021-01-19T00:51:09
d63f38375420b8fd9b6ee8815360013ea866d494
{ "blob_id": "d63f38375420b8fd9b6ee8815360013ea866d494", "branch_name": "refs/heads/master", "committer_date": "2021-01-19T00:51:09", "content_id": "238a9a9880010fcaa3f44072d198be114fcab764", "detected_licenses": [ "MIT" ], "directory_id": "55809aac9b4ed91acf4e6b17982496afcf7bee9e", "extension": "c"...
stackv2
#include <msp430.h> #include <libemb/conio/conio.h> #include <libemb/serial/serial.h> #include "colors.h" // colors array #include "dtc.h" /****** * * CONSTANTS * ******/ // large number of data structures should be here // use `const` keyword //=================================== DIGIT 1 ==...
2.421875
2
2024-11-18T18:58:59.660574+00:00
2017-01-24T09:44:16
0f3fc26178bf10b45dc9950f39d9a51421a3e59b
{ "blob_id": "0f3fc26178bf10b45dc9950f39d9a51421a3e59b", "branch_name": "refs/heads/master", "committer_date": "2017-01-24T09:44:16", "content_id": "d19b82e2a925c34b7d42738a0116bfdcfdc9ab81", "detected_licenses": [ "MIT" ], "directory_id": "0c3f4042cddefcc67ab0c170fa69250ea6cd373b", "extension": "c"...
stackv2
/* This file is part of PKSV > MIT License > Copyright (c) 2016/17 Bernardo Giordano > > 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 ri...
2.109375
2
2024-11-18T18:58:59.757157+00:00
2018-07-25T16:16:39
36c582522a829fa179f16410048d7c77754fbdfc
{ "blob_id": "36c582522a829fa179f16410048d7c77754fbdfc", "branch_name": "refs/heads/master", "committer_date": "2018-07-25T16:16:39", "content_id": "66fcdf9e1a9cdfd2ecd0fd91163e70ba8ba87393", "detected_licenses": [ "MIT" ], "directory_id": "2908554e58449bc16be9d846022c77325714399d", "extension": "c"...
stackv2
/* * This is sample code generated by rpcgen. * These are only templates and you can use them * as a guideline for developing your own functions. */ #include "rct.h" #include <time.h> void rct_servicio_1(char *host, char *nombre, char *mensaje) { CLIENT *clnt; int *result_1; char * obtener_id_1_arg; long *r...
2.796875
3
2024-11-18T18:58:59.850416+00:00
2014-08-22T23:00:04
4634dd3fe7e4c0350aaec07b6312c4315cfb4ad9
{ "blob_id": "4634dd3fe7e4c0350aaec07b6312c4315cfb4ad9", "branch_name": "refs/heads/master", "committer_date": "2014-08-22T23:00:04", "content_id": "40f7668aa1822a535dc1d203d1cc470c8ffcef92", "detected_licenses": [ "Zlib" ], "directory_id": "3b9a6aabfa5490346a6275f085b1e76008f814ae", "extension": "c...
stackv2
/* 3DS Particle Demo Copyright (C) 2014 Joseph LoManto This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includin...
2.515625
3
2024-11-18T19:34:54.489683+00:00
2023-07-26T12:59:16
99161fd00738c134d2c5cae4766eec101d6c9219
{ "blob_id": "99161fd00738c134d2c5cae4766eec101d6c9219", "branch_name": "refs/heads/master", "committer_date": "2023-07-26T12:59:16", "content_id": "5eedb29f86da7813be977bf63d87acb05623aad4", "detected_licenses": [ "MIT" ], "directory_id": "d9921707bc5a8c4f5fafc9788e8a8b1d1a41088e", "extension": "c"...
stackv2
#include "test.h" int main (int argc, char const * argv []) { BKInt res; BKTrack * track = INVALID_PTR; // check for allocation res = BKTrackAlloc (& track, BK_SQUARE); assert (res == 0); assert (track != INVALID_PTR && track != NULL); BKDispose (track); // check for init values res = BKTrackAlloc (& tr...
2.203125
2
2024-11-18T19:34:54.538779+00:00
2022-04-02T14:14:48
8a590fdf3c8bd7acc95fb83066888cd8b0a04771
{ "blob_id": "8a590fdf3c8bd7acc95fb83066888cd8b0a04771", "branch_name": "refs/heads/master", "committer_date": "2022-04-02T14:14:48", "content_id": "0cb5b100b3747071f62767381c5abc650297e705", "detected_licenses": [ "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "3d88508d70d060ded2b0747bf5d9bc0e...
stackv2
 #include <xcopy.h> int sigignore(int sig) { struct sigaction sa; sa.sa_handler = SIG_IGN; sa.sa_flags = 0; if (sigemptyset(&sa.sa_mask) == -1 || sigaction(sig, &sa, 0) == -1) { return -1; } return 0; } int set_signal_handler(signal_t *signals) { int status; si...
2.484375
2
2024-11-18T19:34:56.169826+00:00
2021-01-04T16:27:58
c13cfcc992929f4916c8441f467b36d92ae76c28
{ "blob_id": "c13cfcc992929f4916c8441f467b36d92ae76c28", "branch_name": "refs/heads/master", "committer_date": "2021-01-04T16:27:58", "content_id": "f6826e4cfabf132d3b05cab664e79cf8468be79c", "detected_licenses": [ "MIT" ], "directory_id": "0d7caef3f04c62d53ebd51902ecfd16c3fe8d17b", "extension": "c"...
stackv2
#include <lcom/lcf.h> #include "keyboard.h" #include "mouse.h" #include "MACROS.h" int hook_id_mouse = 3; uint8_t data; bool error_flag_mouse; static bool right_button = false; static bool left_button = false; static bool middle_button = false; bool x_sign = false; bool y_sign = false; // Stores mouse event inform...
2.390625
2
2024-11-18T19:34:56.556222+00:00
2020-07-10T22:15:50
cbc4c9828aaf225b001bd8929a41360894d2b443
{ "blob_id": "cbc4c9828aaf225b001bd8929a41360894d2b443", "branch_name": "refs/heads/master", "committer_date": "2020-07-10T22:15:50", "content_id": "85d56f1c61002d2a2823dc685ec511e3af96b3e2", "detected_licenses": [ "Unlicense" ], "directory_id": "c37f3e818676aa2b8e43611a291ac16cb0df84d6", "extension...
stackv2
#include <stdio.h> int main(int argv, char *argc[]) { int c = EOF; printf("int EOF = %d\n", c); return 0; }
2.1875
2
2024-11-18T19:34:56.849011+00:00
2020-09-12T21:06:08
4cab22a3b140411e0d1d846e8b4ec48cb7914c7c
{ "blob_id": "4cab22a3b140411e0d1d846e8b4ec48cb7914c7c", "branch_name": "refs/heads/master", "committer_date": "2020-09-12T21:06:08", "content_id": "871673c7becf37052556c040da4fef5056bbae27", "detected_licenses": [ "MIT" ], "directory_id": "17562281063b2c5d32ac87bd9848f1ce7b612874", "extension": "c"...
stackv2
#include "ush.h" static void free_list(t_parsed_blocks **list) { t_parsed_blocks *tmp = *list; t_parsed_blocks *free_node; while(tmp) { free(tmp->separator); mx_arr_freesher(tmp->cmd_expr); free_node = tmp; tmp = tmp->next; free(free_node); } } void mx_main2(ch...
2.3125
2
2024-11-18T19:34:56.915086+00:00
2018-01-15T13:35:38
956eeff5018f968e90b95a3cc9a2c7301402c5b0
{ "blob_id": "956eeff5018f968e90b95a3cc9a2c7301402c5b0", "branch_name": "refs/heads/master", "committer_date": "2018-01-15T13:35:38", "content_id": "32bf15b9f8ab891b893d5305ce0da3f02563dc67", "detected_licenses": [ "MIT" ], "directory_id": "29a6629b61bb15eeab197d67b680410495ca7588", "extension": "c"...
stackv2
/* ** EPITECH PROJECT, 2018 ** initialize.c ** File description: ** Function that initialize each vector of each object */ #include "../include/include.h" void initialize(object* obj, int nb) { obj->vector.x = nb * 640; obj->vector.y = 420; obj->x = nb * 640; obj->y = 420; } void initialize_sky(object* obj, int ...
2.546875
3
2024-11-18T19:34:57.142722+00:00
2014-05-28T16:34:00
5e80a5e6a716064719a257f12f54f33662e925a2
{ "blob_id": "5e80a5e6a716064719a257f12f54f33662e925a2", "branch_name": "refs/heads/master", "committer_date": "2014-05-28T16:34:00", "content_id": "8178111495d9e213be9b51f9375982041b49aa1f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "6be1ed0d3ab9ff56cb583eba533329613ab49a1e", "extens...
stackv2
/* * Copyright (c) 2014, Michael Müller * Copyright (c) 2014, Sebastian Lackner * 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 ...
2.59375
3
2024-11-18T19:34:57.301532+00:00
2009-03-07T09:58:27
3762ecc09df1420afa20cb9da2572c557740aa09
{ "blob_id": "3762ecc09df1420afa20cb9da2572c557740aa09", "branch_name": "refs/heads/master", "committer_date": "2009-03-07T09:58:27", "content_id": "b52de2445f8be173a3b2488ddea3b7374d355535", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f5e274afe121ff86721e17a1f84ec6ec3243114d", "extens...
stackv2
#include "luaT.h" #include "TH.h" static int random_seed(lua_State *L) { lua_pushnumber(L, THRandom_seed()); return 1; } static int random_manualSeed(lua_State *L) { long seed = luaL_checklong(L, 1); THRandom_manualSeed(seed); return 0; } static int random_initialSeed(lua_State *L) { lua_pushnumber(L, TH...
2.125
2
2024-11-18T19:34:57.560816+00:00
2020-09-27T02:37:49
db5ff1b3065ecdfa511b67d2a8a47a133913de0b
{ "blob_id": "db5ff1b3065ecdfa511b67d2a8a47a133913de0b", "branch_name": "refs/heads/master", "committer_date": "2020-09-27T02:37:49", "content_id": "bae877f169bf188172db356175ffeb828a5025d2", "detected_licenses": [ "MIT" ], "directory_id": "7e9e5206fe900441ca7634ff581f63d03d0ea9fd", "extension": "c"...
stackv2
/* Nome e nº USP Cirillo Ribeiro Ferreira - 6431200 Matheus de Lima Barbosa - 5968663 Tonny Costa Cordeiro - 6539839 */ /* Arquivo da funcao que gerencia toda a simulacao do oceano */ #include <stdlib.h> #include <stdio.h> #include <time.h> #include <sys/time.h> #include "simulacao.h" void simular(double f...
2.703125
3
2024-11-18T19:34:57.984813+00:00
2018-05-28T08:36:34
2fb7204139031511dcbc164ffc98d909f4715ca0
{ "blob_id": "2fb7204139031511dcbc164ffc98d909f4715ca0", "branch_name": "refs/heads/master", "committer_date": "2018-05-28T08:36:34", "content_id": "c332b69cde5b0e4947f232876f96cac66032bbfd", "detected_licenses": [ "MIT" ], "directory_id": "5d2f6c05e7f67dda7212a12462524bbd13b7d242", "extension": "c"...
stackv2
/****************************************************************************** Copyright (C) 2016 Pascal Molin ******************************************************************************/ #include "abel_jacobi.h" void de_integrals_precomp(acb_ptr res, acb_srcptr u, slong d1, slong d, sec_t c, const de...
2.1875
2
2024-11-18T19:34:58.162791+00:00
2017-08-08T19:10:28
39c02bf6135aecb8e173ecc56376b328c27b2e6d
{ "blob_id": "39c02bf6135aecb8e173ecc56376b328c27b2e6d", "branch_name": "refs/heads/master", "committer_date": "2017-08-08T19:10:28", "content_id": "cfd3ce4b470d4ecf965755b6a14bd3815d798eac", "detected_licenses": [ "BSD-3-Clause", "MIT" ], "directory_id": "61fa27eacf7046473994dc861aaa957d85b1b680"...
stackv2
/* Copyright <2017> <Scaleable and Concurrent Systems Lab; Thayer School of Engineering at Dartmouth College> 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 restr...
2.734375
3
2024-11-18T19:34:58.908388+00:00
2013-12-18T19:26:13
ecc0e5086b1dcce5199b67dabba7d527b8069861
{ "blob_id": "ecc0e5086b1dcce5199b67dabba7d527b8069861", "branch_name": "refs/heads/master", "committer_date": "2013-12-18T19:26:13", "content_id": "cb09723f753b1fca8107d0e4a8e17ee0d0a5b56f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "504e8516fb1ab146503ad29844bea62f11af269c", "extens...
stackv2
#ifndef __IA64_DEFNS_H__ #define __IA64_DEFNS_H__ #include <pthread.h> #include <sched.h> #ifndef IA64 #define IA64 #endif #define CACHE_LINE_SIZE 64 /* * I. Compare-and-swap. */ #define CAS32(_a, _o, _n) \ ({ /*__typeof__(_o) __o = _o; */ \ /* __asm__ __volatile__("mov ar.ccv=%0 ;;" :: "rO" (_o)); */...
2.296875
2
2024-11-18T19:34:59.024428+00:00
2022-06-03T22:32:35
f6598949deada14007799fc3749537438a9fa378
{ "blob_id": "f6598949deada14007799fc3749537438a9fa378", "branch_name": "refs/heads/master", "committer_date": "2022-06-03T22:49:26", "content_id": "e60d375c86bac836ee8fa50d0564d82ea0871025", "detected_licenses": [ "Apache-2.0", "curl" ], "directory_id": "b7061e3f678190e1e40be7d3e1151b1c278dfaa2",...
stackv2
#ifndef v1beta1_group_subject_TEST #define v1beta1_group_subject_TEST // the following is to include only the main from the first c file #ifndef TEST_MAIN #define TEST_MAIN #define v1beta1_group_subject_MAIN #endif // TEST_MAIN #include <stdlib.h> #include <string.h> #include <stdio.h> #include <stdbool.h> #include "...
2.609375
3
2024-11-18T19:34:59.450420+00:00
2017-06-16T17:47:27
a8f69a042e0ea0d3ed2b0e1168143f0a54688442
{ "blob_id": "a8f69a042e0ea0d3ed2b0e1168143f0a54688442", "branch_name": "refs/heads/master", "committer_date": "2017-06-16T17:47:27", "content_id": "46c6b4f9df53dde744179cf505310927e1de9e60", "detected_licenses": [ "MIT" ], "directory_id": "1efca1de7b080da2af29bfb2ceb9f2346e1beccc", "extension": "c"...
stackv2
#include "server.h" #include "network.h" #include "message.h" #include "thread.h" #include "log.h" #include "scheduler.h" #include "connection.h" #include <stddef.h> #define SERVICE_OPEN 0x00 #define SERVICE_CLOSED 0x01 #define SERVICE_MAX_REOPENS 16 struct service{ long port; long flags; long reopens; st...
2.59375
3
2024-11-18T19:34:59.677990+00:00
2016-01-28T20:21:36
8eca5df70bd638e90a8d2f14bffe56a5a140081a
{ "blob_id": "8eca5df70bd638e90a8d2f14bffe56a5a140081a", "branch_name": "refs/heads/master", "committer_date": "2016-01-28T20:21:36", "content_id": "811832c3dd1dfa0447da2b7db12be7b1b97159f5", "detected_licenses": [ "MIT" ], "directory_id": "b10441cad720818486c262348effbfd456229941", "extension": "c"...
stackv2
/** * NanoMsg libFabric Transport - Shared Functions * Copyright (c) 2015 Ioannis Charalampidis * * 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...
2.359375
2
2024-11-18T19:35:00.399018+00:00
2020-05-31T11:53:11
c5972618a84b8bde32a4dd7d8cb0819fcf763d9f
{ "blob_id": "c5972618a84b8bde32a4dd7d8cb0819fcf763d9f", "branch_name": "refs/heads/master", "committer_date": "2020-05-31T11:53:11", "content_id": "c69c6c154aedc0abd8dcd26d47680b54f6a3968f", "detected_licenses": [ "MIT" ], "directory_id": "504195662c63d281827ce3449ec453ea500cbf22", "extension": "c"...
stackv2
#ifndef __KERNEL__ #define __KERNEL__ #endif #ifndef MODULE #define MODULE #endif #include <linux/module.h> #include <linux/kernel.h> #include <linux/skbuff.h> #include <net/tcp.h> #include <linux/netdevice.h> #include <linux/netfilter.h> #include <linux/netfilter_ipv4.h> #include <linux/inet.h> //by llh //#in...
2.1875
2
2024-11-18T19:35:00.581465+00:00
2018-01-16T19:07:35
1971a8b461897d65e99f14ccedb01f79052ba2e6
{ "blob_id": "1971a8b461897d65e99f14ccedb01f79052ba2e6", "branch_name": "refs/heads/master", "committer_date": "2018-01-16T19:07:35", "content_id": "4378721fdf4e4f97f7c2774b16b9ac8a0362b7e7", "detected_licenses": [ "Unlicense" ], "directory_id": "8978ad70030b2904dfccb934af2e306484b33480", "extension...
stackv2
/* * Musl: A silly scripting language. * This file allows you to embed the Musl interpreter into * your own applications. * *2 API *# {*Musl*} provides an API through which it can be embedded into *# other applications in order to provide a scripting interface.\n *# About terminology:\n *{ ** The {/interprete...
2.59375
3
2024-11-18T19:35:00.652530+00:00
2020-02-27T14:51:48
9e3cebd5c5b2997454606382baf8f416aea250a6
{ "blob_id": "9e3cebd5c5b2997454606382baf8f416aea250a6", "branch_name": "refs/heads/master", "committer_date": "2020-02-27T14:51:48", "content_id": "3732df2ef736fb803b4bdfeec69eab0813b5f80d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d4c74a8001451840f3efb87f15856cdb9d5e9eb6", "extensio...
stackv2
#include "conv1d_sw.h" void conv1d_uint16(uint16_t *data,uint16_t *result,uint16_t *kernel,uint32_t data_size, uint32_t kernel_size) { uint16_t acc; uint32_t num_windows = data_size - kernel_size + 1; for(uint32_t i=0;i<num_windows;i++) { acc=0; //printf("Window %d/%d\n",i,num_windows); ...
2.34375
2
2024-11-18T19:35:00.733237+00:00
2022-06-03T22:32:35
527a6b7ec2e1ac0f47e0c4483ed69fde7743b293
{ "blob_id": "527a6b7ec2e1ac0f47e0c4483ed69fde7743b293", "branch_name": "refs/heads/master", "committer_date": "2022-06-03T22:49:26", "content_id": "1fd60fd32a8f8bec6ca75878957c236bf42d0a4d", "detected_licenses": [ "Apache-2.0", "curl" ], "directory_id": "b7061e3f678190e1e40be7d3e1151b1c278dfaa2",...
stackv2
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "v2beta2_horizontal_pod_autoscaler_behavior.h" v2beta2_horizontal_pod_autoscaler_behavior_t *v2beta2_horizontal_pod_autoscaler_behavior_create( v2beta2_hpa_scaling_rules_t *scale_down, v2beta2_hpa_scaling_rules_t *scale_up ) { v2beta...
2.03125
2
2024-11-18T19:35:00.897989+00:00
2023-09-02T14:55:31
d7c8bf5327321fa02c111fdbf31ddd77c0859223
{ "blob_id": "d7c8bf5327321fa02c111fdbf31ddd77c0859223", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T14:55:31", "content_id": "18fc91d135d63da4c7e128b26c9250ce2aaba398", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8838eb997879add5759b6dfb23f9a646464e53ca", "extens...
stackv2
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright (C) 2001-2003 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * * $Id: write.c,v 1.94 2005/07/20 15:50:51 dedekind Exp $ * */ #include <linux/kern...
2.265625
2
2024-11-18T19:35:01.323006+00:00
2021-04-30T16:16:36
f84d075a2e43e62f5ce816be910b18adf9c5533b
{ "blob_id": "f84d075a2e43e62f5ce816be910b18adf9c5533b", "branch_name": "refs/heads/main", "committer_date": "2021-04-30T16:16:36", "content_id": "86fc8a5be56aa54b3354cda64f8f4a3c46c374f1", "detected_licenses": [ "MIT" ], "directory_id": "77c4f8e008007cc25a433c968ee5cadbb03e2293", "extension": "c", ...
stackv2
/** * @file SerialCommunicationUART.c * @author Hemanth A (hemanth.ec17@bmsce.ac.in) * @brief A file where serial communication functions are implemented * @version 0.1 * @date 2021-04-29 * * @copyright Copyright (c) 2021 * */ #include <avr/io.h> #include "SerialCommunicationUART.h" /** * @brief A program t...
2.578125
3
2024-11-18T19:35:02.302719+00:00
2018-07-11T22:41:35
33b68ada173313525565a6bbee45c9a81ad52759
{ "blob_id": "33b68ada173313525565a6bbee45c9a81ad52759", "branch_name": "refs/heads/master", "committer_date": "2018-07-11T22:41:35", "content_id": "7b7b05639945c586db7603dd6c59ff9fe0e51624", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "e9091a83528203502f294452f1a2aee73f662338", "extens...
stackv2
/* -*- C -*- * $Id: misc.c,v 1.11 2006/07/03 22:54:52 ianmacd Exp $ */ #include "ruby.h" #include "rbldap.h" VALUE rb_sLDAP_APIInfo; VALUE rb_cLDAP_Control; #ifdef LDAP_OPT_API_INFO VALUE rb_ldap_apiinfo_new (LDAPAPIInfo * info) { VALUE info_version, api_version, protocol_version; VALUE extensions, vendor_name...
2.078125
2
2024-11-18T19:35:02.507656+00:00
2023-08-22T19:34:56
1a9f55c71ce8fe01a14dc2fdeaebf0f5c2a4d4d4
{ "blob_id": "1a9f55c71ce8fe01a14dc2fdeaebf0f5c2a4d4d4", "branch_name": "refs/heads/master", "committer_date": "2023-08-22T19:34:56", "content_id": "679f6beac38ad83831854168c61e3aa7543c0df4", "detected_licenses": [ "Apache-2.0" ], "directory_id": "0aa9dcb3cef817ec55eaa8fae2102106f939f594", "extensio...
stackv2
/* RTcmix - Copyright (C) 2001 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ /* sndlibsupport.c This file defines functions that help RTcmix use Bill Schottstaedt's sndlib sound file lib...
2.09375
2
2024-11-18T19:35:03.158360+00:00
2022-03-31T13:40:14
b361e99fd17e3643866076d65f32925261a474fc
{ "blob_id": "b361e99fd17e3643866076d65f32925261a474fc", "branch_name": "refs/heads/master", "committer_date": "2022-03-31T13:40:14", "content_id": "f29a6a1d6414486e7905fc2dbf45462a21460d66", "detected_licenses": [ "MIT" ], "directory_id": "4e7f82bd975bdf43708cbb9636de2450afd38cf9", "extension": "c"...
stackv2
/* main.c PROGRAMME PRINCIPAL ET FONCTIONS UTILES */ /*=== externe ================================================================*/ #include <stdlib.h> #include <limits.h> #include <GL/glut.h> #include "hazlab.h" #include "textures.h" #include "dimlab.h" extern char Menu( void ); /*menu.c*/ extern void...
2.421875
2
2024-11-18T19:35:03.261758+00:00
2020-04-14T12:53:05
98fe20c1684b5226156bb17d051808859baba196
{ "blob_id": "98fe20c1684b5226156bb17d051808859baba196", "branch_name": "refs/heads/master", "committer_date": "2020-04-14T12:53:05", "content_id": "9d5d0218696353560726c1a757ca6a5aaeff17b9", "detected_licenses": [ "MIT" ], "directory_id": "414fd127c226ad1a2e01b7fc2dba213527f42e3c", "extension": "c"...
stackv2
/** * Copyright (c) 2005,2010 Yury Mishin <yury.mishin@gmail.com> * See the file COPYING for copying permission. * * $Id$ */ #include <stdlib.h> #include <string.h> #include "opengl.h" #include "common.h" #include "calc.h" #include "vector.h" #include "render.h" /*************************************************...
2.484375
2
2024-11-18T19:35:03.333796+00:00
2018-04-23T21:23:41
92a9dd5dda895aa58731d15f8453405886ad1a36
{ "blob_id": "92a9dd5dda895aa58731d15f8453405886ad1a36", "branch_name": "refs/heads/develop", "committer_date": "2018-04-23T21:23:41", "content_id": "bb6d3ac943d390f2174936349340f6f6e51e8e1e", "detected_licenses": [ "BSL-1.0" ], "directory_id": "d8860eb725a51fd0ef814bebfb8abaa8a807996d", "extension"...
stackv2
/* *********************************************************************** */ /* *********************************************************************** */ /* Parse Configuration File Facility (PCFF) Library Module Source File */ /* *********************************************************************** */ /* File Na...
2.078125
2
2024-11-18T19:35:03.543852+00:00
2019-03-18T02:14:55
94ae952c0ec2e8366201691744218a8fc7cf17df
{ "blob_id": "94ae952c0ec2e8366201691744218a8fc7cf17df", "branch_name": "refs/heads/master", "committer_date": "2019-03-18T02:14:55", "content_id": "2c86e4edf8b32407cae31186e8b49b236b5acdb6", "detected_licenses": [ "CC0-1.0" ], "directory_id": "81ee58d95bc3e14c0b9f10e4ec13bc1d2fd9972f", "extension":...
stackv2
#ifndef _VEC3_H_ #define _VEC3_H_ #include <math.h> #include "CoreHelpers.h" struct Vec3 { Vec3() restrict(amp) restrict(cpu) { x = y = z = 0; } Vec3(float val) restrict(amp) restrict(cpu) { x = y = z = val; } Vec3(float _x, float _y, float _z) restrict(amp) restrict(cpu) { x = _x; y = _y; z = _z...
2.734375
3
2024-11-18T19:35:06.229555+00:00
2023-05-31T23:22:47
818708e8337bd3daa8e0164ca66541f9b9ff19a7
{ "blob_id": "818708e8337bd3daa8e0164ca66541f9b9ff19a7", "branch_name": "refs/heads/main", "committer_date": "2023-05-31T23:22:47", "content_id": "5dbd8e9707bbda305036db25d4652ca67ed3fecb", "detected_licenses": [ "MIT" ], "directory_id": "4a727ce379e9d21826895699d09164cdac4836d5", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> int foo(int x, int y) { printf("in function %s\n", __func__); return x + y; } int bar(int x, int y) { printf("in function %s\n", __func__); return x - y; } int main(int argc, char **argv) { int x = 5, y = 3, z; void *p; // define a function pointer int (*fptr)(i...
3.296875
3
2024-11-18T19:35:06.544375+00:00
2015-04-17T12:42:00
b2ef027a65f80aaff3d52c8640d83d8cf0c1d377
{ "blob_id": "b2ef027a65f80aaff3d52c8640d83d8cf0c1d377", "branch_name": "refs/heads/master", "committer_date": "2015-04-17T12:42:00", "content_id": "191a5638d7b9298e270bdbb66b2afd911b903139", "detected_licenses": [ "MIT" ], "directory_id": "98d918302f633a540692c80d8376fca351b734ca", "extension": "h"...
stackv2
#ifndef menu_item_h #define menu_item_h typedef struct __attribute__((__packed__)) { bool is_gbitmap ; // Gbitmap(image), text char* title ; // title void* bitmap_or_text ; } MenuItem ; /*! @brief メニューの初期化 @param[in] data GBitmapのデータ @param[in] size データサイズ */ void init_menu_item( void ) ; /*! ...
2.28125
2
2024-11-18T19:35:06.594655+00:00
2016-01-07T19:32:15
ab8001517ed60912300b2935e078e2d51a64c1e1
{ "blob_id": "ab8001517ed60912300b2935e078e2d51a64c1e1", "branch_name": "refs/heads/master", "committer_date": "2016-01-07T19:32:15", "content_id": "b5ff1fd1955d801fd61ffa9764fbf47e27a86212", "detected_licenses": [ "Apache-2.0" ], "directory_id": "11a10df72bce8dc1a9c6ef9930d1702dec0f2547", "extensio...
stackv2
/* * Copyright (C) 2015 The 8-Bit Bunch. Licensed under the Apache License, Version 1.1 * (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-1.1>. * Unless required by applicable law or agreed to in wri...
2.421875
2
2024-11-18T19:35:06.677101+00:00
2023-07-30T07:00:50
c624daff4d686d92a685bf7b2d2dda52964dd302
{ "blob_id": "c624daff4d686d92a685bf7b2d2dda52964dd302", "branch_name": "refs/heads/master", "committer_date": "2023-07-30T07:00:50", "content_id": "fac96f61484bf060f5a0c3e15354908569d6dde8", "detected_licenses": [ "MIT" ], "directory_id": "db04ecf258aef8a187823b8e47f4a1ae908e5897", "extension": "c"...
stackv2
#include <stdlib.h> #include <string.h> #define max(a, b) (((a) > (b)) ? (a) : (b)) void reverse(int *arr, int first, int last) { for (; first < last; ++first, --last) { int tmp = arr[first]; arr[first] = arr[last]; arr[last] = tmp; } } /** * Note: The returned array must be malloced, assume caller calls f...
3.34375
3
2024-11-18T19:35:06.758448+00:00
2021-02-04T11:32:18
e79dc36a43b6d70510093d80dcb1559664fc1ce9
{ "blob_id": "e79dc36a43b6d70510093d80dcb1559664fc1ce9", "branch_name": "refs/heads/main", "committer_date": "2021-02-04T11:32:18", "content_id": "0a1e60ab550cf58b57a5d2ffc7da56ce8773b346", "detected_licenses": [ "MIT" ], "directory_id": "217b97533a49a425ccfde413e80c7806003425fa", "extension": "c", ...
stackv2
#include<stdio.h> #include<string.h> void main() { char c; FILE *fp; fp=fopen("Array.c","r"); while((c=fgetc(fp)) != EOF) { printf("%c",c); } fclose(fp); }
2.265625
2
2024-11-18T19:35:07.287025+00:00
2020-03-25T14:54:10
0a6187e2e36283c8ae94f33145f267e15c77ab4b
{ "blob_id": "0a6187e2e36283c8ae94f33145f267e15c77ab4b", "branch_name": "refs/heads/master", "committer_date": "2021-06-28T04:46:03", "content_id": "47c49a734c4834134303af9a14366f4644c1edae", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "d51198a1cecf4f7db0bb36f7e18946e9aaca33f0", "extens...
stackv2
/** @file * * Copyright (c) Microsoft Corporation. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License * which accompanies this distribution. The full text of the license may be found at * http://opensource.org/li...
2.09375
2
2024-11-18T19:35:07.340995+00:00
2021-10-19T06:03:14
8af10414763513e9fd62c28a5529507712d1ee5d
{ "blob_id": "8af10414763513e9fd62c28a5529507712d1ee5d", "branch_name": "refs/heads/main", "committer_date": "2021-10-19T06:03:14", "content_id": "6cc2ed67c5ca5c82c815b598e2dc8b6d0594e7d2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "bf7885f2e08352253ffcf50bc3e88d1f76062d2e", "extension"...
stackv2
#include "config.h" #include <stdio.h> #include <signal.h> #include <stdint.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include "become_daemon.h" #include "error.h" #include "e32.h" #include "gpio.h" #include "options.h" struct options opts; struct E32 dev; static void signal_handler(int sig...
2.609375
3
2024-11-18T19:35:07.711740+00:00
2023-06-12T12:58:22
15af97a9b19153ff0e69bc00b52599b5b0d1ce06
{ "blob_id": "15af97a9b19153ff0e69bc00b52599b5b0d1ce06", "branch_name": "refs/heads/master", "committer_date": "2023-06-12T12:58:22", "content_id": "2651cdb5480276fdb1aeed24964bb514b2b6f22c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ea7cb6ba74377b67aef7dff7788cc4ec292df684", "extensio...
stackv2
/* * Copyright 2023 AVSystem <avsystem@avsystem.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
2.15625
2
2024-11-18T19:35:07.990326+00:00
2020-01-06T07:42:43
22265aab1a4a072efc04c2a1a6a9355948191f55
{ "blob_id": "22265aab1a4a072efc04c2a1a6a9355948191f55", "branch_name": "refs/heads/master", "committer_date": "2020-01-06T07:42:43", "content_id": "7944c9b813dc5a0d81a83f30f706a2f3845c8cfa", "detected_licenses": [ "MIT" ], "directory_id": "53a10167fac37e4360698825e4baa6db01876173", "extension": "c"...
stackv2
int main232() { union box { int mem1; int mem2; double mem3; }; union box box; box.mem1 = 1; printf("%d %d", box.mem1, box.mem2); //공용체 == 메모리 공유 return 0; }
2.140625
2
2024-11-18T19:35:09.546013+00:00
2021-06-30T04:05:56
b8f8c5feb8562d4f72fa3283a3b1c036745f911b
{ "blob_id": "b8f8c5feb8562d4f72fa3283a3b1c036745f911b", "branch_name": "refs/heads/master", "committer_date": "2021-06-30T04:05:56", "content_id": "de889a7e3ae77ecd944807277ceb8e4169a6b8d3", "detected_licenses": [ "MIT" ], "directory_id": "7c2d27e4548480e4628ae45df2455b4df296043b", "extension": "h"...
stackv2
#ifndef _MATH_UTILS #define _MATH_UTILS /* Calculate matrix multiplication * @param A m x n * @param B n x p * @return result m x p */ void multiplyMatrix(const double *A, const double *B, int m, int n, int p, double *result); /* Calculate matrix C = C + A * B * @param A m x n * @param B n ...
2.6875
3
2024-11-18T19:35:10.340007+00:00
2023-08-14T21:35:58
c0208863d06e8f699a385451701e7a8173601195
{ "blob_id": "c0208863d06e8f699a385451701e7a8173601195", "branch_name": "refs/heads/main", "committer_date": "2023-08-14T21:35:58", "content_id": "b9014b17bc2268faf620ae90ee5ea495ed9c96c3", "detected_licenses": [ "MIT" ], "directory_id": "37e03845cb8de9ed1cf78a335a84b1e22f3c232f", "extension": "c", ...
stackv2
#include "sysbvm/association.h" #include "internal/context.h" #include <stdlib.h> SYSBVM_API sysbvm_tuple_t sysbvm_association_create(sysbvm_context_t *context, sysbvm_tuple_t key, sysbvm_tuple_t value) { sysbvm_association_t *result = (sysbvm_association_t*)sysbvm_context_allocatePointerTuple(context, context->ro...
2.140625
2
2024-11-18T19:35:10.470437+00:00
2016-04-04T20:55:25
130b32cf062b5d63daa7f1cba8f36b0a05c261fa
{ "blob_id": "130b32cf062b5d63daa7f1cba8f36b0a05c261fa", "branch_name": "refs/heads/master", "committer_date": "2016-04-04T20:55:25", "content_id": "8ae4e638bdab11a94cf5dc91019a7906be05bd93", "detected_licenses": [ "MIT" ], "directory_id": "4fdb7e682e2a1227ccf2d54e846a0aba48c241d1", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #define rdtscl(val) asm volatile ("rdtsc" : "=A" (val) : : ); void old_str_lpad (char *dst, const char *src, size_t width, unsigned char pad); void new_str_lpad (char *dst, const char *src, size_t width...
3
3
2024-11-18T19:35:10.533573+00:00
2019-12-20T13:52:39
db34ea9f84d4278601e732659f9bbcce03af8131
{ "blob_id": "db34ea9f84d4278601e732659f9bbcce03af8131", "branch_name": "refs/heads/master", "committer_date": "2019-12-20T13:52:39", "content_id": "4696dc4d139ea08e9ceadf91368896d7af1ac403", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3efc50ba20499cc9948473ee9ed2ccfce257d79a", "extensio...
stackv2
/* ssh-honeypot -- by Daniel Roberson (daniel(a)planethacker.net) 2016-2019 * * TODO: keep fp open for log_entry; reload on HUP * TODO: config files * TODO: hassh? * i don't see a way to do this right now. from what ive gathered, * libssh doesn't provide an easy way to look at the ssh handshake * ...
2.015625
2
2024-11-18T19:35:11.061282+00:00
2020-12-10T06:43:23
4307f09426a07dd534da48709a46515829e2d641
{ "blob_id": "4307f09426a07dd534da48709a46515829e2d641", "branch_name": "refs/heads/master", "committer_date": "2020-12-10T06:43:23", "content_id": "b7ee7fe5feb4f616fdaa01c16ec6866eee4ae620", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b7c423c12fd7ab29b7ac999c33d735969d88f54f", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include "LongNumbers.h" typedef struct longNumber { int numberOfDigits; int *numberInArray; } longNumber; longNumber *createLongNumberFromInt(int intNumber) { longNumber *number = malloc(sizeof(longNumber)); int tempArray[5]; int numberOfDigits = 0; while (intNumber / ...
3.578125
4
2024-11-18T19:35:11.793137+00:00
2023-08-15T12:51:41
6f8d925bc49219db976bf042def1a051b7034a4d
{ "blob_id": "6f8d925bc49219db976bf042def1a051b7034a4d", "branch_name": "refs/heads/master", "committer_date": "2023-08-15T12:51:41", "content_id": "8636343c7b5bbf59f1fc45ccb4761f30f6ac7c17", "detected_licenses": [ "MIT", "BSD-2-Clause" ], "directory_id": "a66c41243e165d0f605009c90853ca66fb650a8f"...
stackv2
/* The MIT License (MIT) * * Copyright (c) 2015 Monetra Technologies, LLC. * * 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 righ...
2.296875
2
2024-11-18T19:35:11.926631+00:00
2022-05-26T14:19:16
80e5d6e7157fa188f8ffdee6c51c0966da35c9ff
{ "blob_id": "80e5d6e7157fa188f8ffdee6c51c0966da35c9ff", "branch_name": "refs/heads/master", "committer_date": "2022-05-26T14:19:16", "content_id": "506c82b5eb0364f14c878888cf4251b533ce44c2", "detected_licenses": [ "Apache-2.0", "NICTA-1.0", "BSD-3-Clause" ], "directory_id": "e6f7d3402de55ea95...
stackv2
/* -*- Mode: C; tab-width: 4 -*- * * Copyright (c) 1997-2004 Apple Computer, Inc. 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/l...
2.0625
2
2024-11-18T19:35:11.999937+00:00
2022-07-02T11:17:44
e5e2bea8a5cfff1eecb52508c708f55ac8db0eb4
{ "blob_id": "e5e2bea8a5cfff1eecb52508c708f55ac8db0eb4", "branch_name": "refs/heads/master", "committer_date": "2022-07-02T11:17:44", "content_id": "575c485a5509228bfc69e584348f004b9af2e5ea", "detected_licenses": [ "Unlicense" ], "directory_id": "03b2c80dbc41e904b167d504666e27d798da5447", "extension...
stackv2
#include "constant.h" #include "condition.h" #include "define.h" #include "hashtable.h" #include "package.h" #include "package_bittype.h" #include "package_export.h" #include "package_intern.h" #include "package_object.h" #include "strvect.h" #include "sxhash.h" #include "symbol.h" enum symbol_package { COMMON, KEYW...
2.125
2
2024-11-18T19:35:12.261524+00:00
2023-04-07T22:19:18
94bf46bbfba899ecf13468f53357f46525c080fa
{ "blob_id": "94bf46bbfba899ecf13468f53357f46525c080fa", "branch_name": "refs/heads/main", "committer_date": "2023-04-07T22:19:18", "content_id": "ff6cbbd68c55ec64f72b5e3b4edafe60de42ff69", "detected_licenses": [], "directory_id": "3cd3872acbc8b1a79a70b89b2fd58a171e7adc82", "extension": "c", "filename":...
stackv2
/* * Copyright (c) 2018 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
2.046875
2
2024-11-18T19:35:12.439400+00:00
2010-11-10T14:40:36
89e4aca7c25afc2c9b2eb0db8ab226984800c321
{ "blob_id": "89e4aca7c25afc2c9b2eb0db8ab226984800c321", "branch_name": "refs/heads/master", "committer_date": "2010-11-10T14:40:36", "content_id": "217d2e1285619b50dc6dd0967d6ed0ad47555072", "detected_licenses": [ "Python-2.0" ], "directory_id": "94de77f95a0a7b4054d33bf5d235fd69572fcec7", "extensio...
stackv2
/*************************************************************************** * Copyright (C) 2009 by Chris Parker * * chrsprkr3@gmail.com * * * * This pr...
2
2
2024-11-18T19:35:12.523737+00:00
2020-06-24T20:23:45
0745d8565a1fc41024106e2158c52085c016df01
{ "blob_id": "0745d8565a1fc41024106e2158c52085c016df01", "branch_name": "refs/heads/master", "committer_date": "2020-06-24T20:23:45", "content_id": "3d325d560c8c96a58c4ba134da2320574a85f3ad", "detected_licenses": [ "MIT" ], "directory_id": "c328a34fa048911bcb20c91d8315dc6239feed73", "extension": "c"...
stackv2
/* sentinel.c: sentinel */ #include <stdio.h> /* Main execution */ int main(int argc, char *argv[]) { int n; while (scanf("%d", &n) && n > 0) { printf("%d\n", n); } return 0; }
2.734375
3
2024-11-18T19:35:13.002491+00:00
2020-05-20T09:48:01
7829dedbdd3a949c0d69d27a38eb5b26df476405
{ "blob_id": "7829dedbdd3a949c0d69d27a38eb5b26df476405", "branch_name": "refs/heads/master", "committer_date": "2020-05-20T09:48:01", "content_id": "6d7cac903dbc2cf58e6c58a85bf176e425483278", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "2642abc175bf88a692c4b60cb0d88637f8a8a40d", "extens...
stackv2
/**fifo.c */ /** * 无名管道,它只能用于具有亲缘关系的进程之间,这就大大地限制了管道的使用。有名管道的出现突破了这种限制, 它可以使互不相关的两个进程实现彼此通信。 * 该管道可以通过路径名来指出,并且在文件系统中是可见的。在建立了管道之后,两个进程就可以把它当作普通文件一样进行读写操作,使用非常方便。 * 不过 FIFO 是严格地遵循先进先出规则的,对管道及 FIFO 的读总是从开始处返回数据,对它们的写则把数据添加到末尾,它们不支持如 lseek()等文件定位操作。 * 有名管道的创建可以使用函数 mkfifo(),该函数类似文件中的 open()操作,可以指定管道的路径和打开的模式 * * ...
2.796875
3
2024-11-18T19:35:13.402642+00:00
2014-12-09T08:27:58
b9d389c742ad3b4fe91e5c61a94b6f698242fe85
{ "blob_id": "b9d389c742ad3b4fe91e5c61a94b6f698242fe85", "branch_name": "refs/heads/master", "committer_date": "2014-12-09T08:27:58", "content_id": "f4c2c858a3e7569ea80b18325efebcc59409c60b", "detected_licenses": [ "MIT" ], "directory_id": "9d6f0aee4582cc60c41720b0175ed270611f9644", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> #define MAX 100 #define COST_DELETE 1 #define COST_INSERT 2 #define COST_REPLACE(i, j) ((s1[i] == s2[j]) ? 0 : 3) #define min2(a, b) ((a < b) ? a : b) /* Връща по-малкия от 2 аргумента */ #define min(a, b, c) min2(min2(a, b), c) ...
3.15625
3
2024-11-18T19:35:13.654826+00:00
2019-03-01T05:16:46
71387c9b1b83a399fac7279299caf8dadf434859
{ "blob_id": "71387c9b1b83a399fac7279299caf8dadf434859", "branch_name": "refs/heads/master", "committer_date": "2019-03-01T05:16:46", "content_id": "a887d7d4f0a3fc3f44812c5eeac74a13e4d67390", "detected_licenses": [ "MIT" ], "directory_id": "5a17a3d150c4773318d397a46878d2fd74c0671f", "extension": "c"...
stackv2
// cool 980725 // Modify By River 98/12 //COOL@SJ,9908 //tangfeng@SJ,2004 #include <ansi.h> #include <room.h> inherit ROOM; #define QUESTDIR1 "quest/天龍八部/凌波微步篇/" void create() { set("short", "石屋裏"); set("long", @LONG 這裏是石屋裏了,裏面黑漆漆的,什麼也看不清楚,陽光都被門口的一塊 大巖石擋住了,只能透過幾縷石縫中透過來的陽光,你打量着這間屋子。 LONG ); ...
2.125
2
2024-11-18T19:35:14.119127+00:00
2021-09-16T10:25:14
1c983861fb4486a527266a7deb6a500f470f6392
{ "blob_id": "1c983861fb4486a527266a7deb6a500f470f6392", "branch_name": "refs/heads/main", "committer_date": "2021-09-16T10:25:14", "content_id": "409020b266ec27cdac43955e8c7d1fa03f079365", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6d78df767e2ef3391f3aaf3b4984e5e3acdd47bd", "extension"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "../header/LinkedList.h" /** * Initializes and creates 1st node of ArrayList, sets head and returns head. * So client can use head in his code. * Sets Tail and Head pointers to the 1st node. To create as a sorted list set sorted=true. * <br><br...
3.09375
3
2024-11-18T19:35:15.553506+00:00
2020-11-06T17:10:02
9b8f1529b67022b1afa1dd9ff960cf0f60b82257
{ "blob_id": "9b8f1529b67022b1afa1dd9ff960cf0f60b82257", "branch_name": "refs/heads/main", "committer_date": "2020-11-06T17:10:02", "content_id": "12afdb4be1454c92d5f90b5f8bef609e552e18c9", "detected_licenses": [ "MIT" ], "directory_id": "aa55649b76891e98d0ecdd8a07c4eb54abfd41ac", "extension": "c", ...
stackv2
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/wait.h> #include <sys/types.h> #include <semaphore.h> #include <errno.h> #include <time.h> #define SEMS_NOME_BASE "/sem_ex08" #define MAX_TAM_STR 25 /** * devolve 0 no processo pai, d...
3.28125
3
2024-11-18T19:35:16.910243+00:00
2019-12-16T01:05:11
951aa470fd807bb87718a82329acde55a5fafdc9
{ "blob_id": "951aa470fd807bb87718a82329acde55a5fafdc9", "branch_name": "refs/heads/master", "committer_date": "2019-12-16T01:05:11", "content_id": "28117b4092667dbf44c22ae7661308ba0f82159b", "detected_licenses": [ "MIT" ], "directory_id": "24ca00d20bfa69090acc736c1586a08132904a55", "extension": "c"...
stackv2
#include<stdio.h> /* * Print download speed. */ int main(void) { float file_size; float download_speed; printf("Input your download speed in Mb/s.\n"); scanf("%f", &download_speed); printf("Input your download file size in MB.\n"); scanf("%f", &file_size); printf("At %.2f megabits per second, a file of %.2...
3.046875
3
2024-11-18T19:35:17.012651+00:00
2018-11-12T20:17:45
432c0eae14fa742dc9f37174d6c74a0676b3c9cb
{ "blob_id": "432c0eae14fa742dc9f37174d6c74a0676b3c9cb", "branch_name": "refs/heads/master", "committer_date": "2018-11-12T20:17:45", "content_id": "b256114179227fb8104c2667a9c5f842b596b4f9", "detected_licenses": [ "MIT" ], "directory_id": "3b0c6c660752619130a191f6da01769c666f1ba4", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> typedef struct { int id; char nume[20], prenume[20]; float nota; } Student; enum { CREARE = 1, AFISARE, MODIFICARE, ADAUGARE }; /** * * @param nume_fisier_binar represent the name of binary file * @param n represent the number of the students */...
3.34375
3
2024-11-18T19:35:20.377099+00:00
2015-07-08T10:37:11
ca443e09f233442ec08d4d31156ebef6bed0e7bc
{ "blob_id": "ca443e09f233442ec08d4d31156ebef6bed0e7bc", "branch_name": "refs/heads/master", "committer_date": "2015-07-08T10:37:11", "content_id": "99662db15457aabed97c8ebc8e7f334f5fa029cd", "detected_licenses": [ "MIT" ], "directory_id": "e583ccc0c85742dca7bdbf3424388bbfa456044d", "extension": "c"...
stackv2
/* Copyright (c) 2015 Vibhav Pant <vibhavp@gmail.com> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
2.0625
2
2024-11-18T19:35:20.547828+00:00
2020-04-14T10:41:14
64f8c13e245eda2fb28cd5b7686bb271136df1b9
{ "blob_id": "64f8c13e245eda2fb28cd5b7686bb271136df1b9", "branch_name": "refs/heads/master", "committer_date": "2020-04-14T10:41:14", "content_id": "ccdd849bfce6b6373321e0c0ab3de304b69006e1", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "e7b3364c789de80ba98996596291fbd10554cb59", "extens...
stackv2
#include <stdlib.h> #include <s_heap.h> #include <string.h> #include <semaphore.h> /**************************************************************************** * Public Data ****************************************************************************/ extern heap_t g_my_heap; extern sem_t g_heap_sema; /**********...
2.90625
3
2024-11-18T19:35:22.311928+00:00
2017-08-25T20:43:26
77ba47cd25811217cf6039929fed6d9fb12d04f8
{ "blob_id": "77ba47cd25811217cf6039929fed6d9fb12d04f8", "branch_name": "refs/heads/master", "committer_date": "2017-08-25T20:43:26", "content_id": "e49a19031e9268b22352b0ffcabbfcdc85e96a52", "detected_licenses": [ "MIT" ], "directory_id": "748429025020e6b1f91539cb0991600b9b4956b2", "extension": "c"...
stackv2
/* * Brendon Tiszka * Simple tool for dumping a executables memory */ #include <sys/mman.h> #include <sys/ptrace.h> #include <sys/wait.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <assert.h> #include <string.h> #include <fcntl.h> #include <time.h> #include <errno.h> ...
2.59375
3
2024-11-18T19:35:22.810191+00:00
2016-04-05T05:21:37
7f02333a04d4e89f060ea049cc86f5a13aeeb921
{ "blob_id": "7f02333a04d4e89f060ea049cc86f5a13aeeb921", "branch_name": "refs/heads/master", "committer_date": "2016-04-05T05:21:37", "content_id": "191bcbc1db2fbeec9b92ca5e986700b5c50dbe50", "detected_licenses": [ "Apache-2.0" ], "directory_id": "955573308aec351c27aa02a3363393920cbbcc01", "extensio...
stackv2
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* Copyright (C) 2009 Red Hat, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Lic...
2.3125
2
2024-11-18T19:35:23.181949+00:00
2023-07-07T18:41:40
3d1a3849d3087f80780ad87f22a5a584f2b8a3ab
{ "blob_id": "3d1a3849d3087f80780ad87f22a5a584f2b8a3ab", "branch_name": "refs/heads/master", "committer_date": "2023-07-07T18:41:40", "content_id": "ada4184c56524736bbcf968e45b20825ae6390e3", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c26d7b0ed875357278e61627da2da0650da77986", "extens...
stackv2
/* * 1999/8/11 - Remove reference to SDETACH. It was removed from the kernel * (finally) because it was not needed. * * 1997/12/16 - Fix coredump when processing -U. * * 1996/11/16 - Move 'psdatabase' in /var/run. * * 12/20/94 - Missing casts caused errors in reporting on swapped * proces...
2.203125
2
2024-11-18T19:35:23.233584+00:00
2021-07-11T23:29:09
8a84959c6a32a7edb9c4aab6c0522395e5998d16
{ "blob_id": "8a84959c6a32a7edb9c4aab6c0522395e5998d16", "branch_name": "refs/heads/master", "committer_date": "2021-07-11T23:29:09", "content_id": "94403c5d5017d16f988be2b221bf4fe910d0479a", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "6b0fae428ca6ee32ac9417c0c05a61fad4f47a7e", "extens...
stackv2
/** * Copyright (c) 2020 Surgams * * This library is free software; you can redistribute it and/or modify it * under the terms of the BSD license. See LICENSE for details. * **/ #ifndef DS_QUEUE_H #define DS_QUEUE_H #include <stdint.h> #include "ds_list.h" /* Implement queues as linked lists */ typedef DS_List DS...
2.25
2
2024-11-18T19:35:23.819833+00:00
2019-09-07T17:23:55
472bd3e5fe1770741dac5ff2fa42cac1d6e0e8c5
{ "blob_id": "472bd3e5fe1770741dac5ff2fa42cac1d6e0e8c5", "branch_name": "refs/heads/master", "committer_date": "2019-09-07T17:23:55", "content_id": "013a0467972ef8cc9bcef11a88a9628bd95a32c2", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a564ec14337391f1da7fbf09974364a8354ce541", "extens...
stackv2
#include <stdio.h> int fibbo(int max){ if(max <= 2){ return 1; } else { return fibbo(max - 1) + fibbo(max - 2); } } void main(void){ int max = 5; printf("%d\n", fibbo(max)); }
3.28125
3
2024-11-18T19:35:23.998591+00:00
2019-10-16T02:00:13
59139bc8bc86dcb03eae6b5edc86aad91b1ca4dc
{ "blob_id": "59139bc8bc86dcb03eae6b5edc86aad91b1ca4dc", "branch_name": "refs/heads/master", "committer_date": "2019-10-16T02:00:13", "content_id": "070e6bb2f3a6b015b97a8030b67a7c7e5db749a0", "detected_licenses": [ "MIT" ], "directory_id": "14ce2b152f202c1f9c30fb39fed145d0ddabfad4", "extension": "c"...
stackv2
#include "window.h" #include "../de_struct.h" #include "../android/glext.h" #ifdef ANDROID #define DE_WINDOW_DEFAULT_FLAGS SDL_WINDOW_BORDERLESS | SDL_WINDOW_RESIZABLE | SDL_WINDOW_FULLSCREEN #else #define DE_WINDOW_DEFAULT_FLAGS SDL_WINDOW_BORDERLESS | SDL_WINDOW_RESIZABLE #endif int dwindow_glext_init(void); void d...
2.265625
2
2024-11-18T19:35:24.093853+00:00
2020-01-20T20:01:38
62dcf7c9f6e63580e91023b948a76c3a8675878c
{ "blob_id": "62dcf7c9f6e63580e91023b948a76c3a8675878c", "branch_name": "refs/heads/master", "committer_date": "2020-01-20T20:01:38", "content_id": "2e9d3230e529831625c447a2124df4f64da77a07", "detected_licenses": [ "Apache-2.0" ], "directory_id": "bbfc04b11097405976358a544a6aeede901d2a4e", "extensio...
stackv2
#include "sysinit/sysinit.h" #include "os/os.h" #include "console/console.h" #include "host/ble_hs.h" #include "host/ble_gap.h" #include "host/ble_hs_adv.h" static void ble_app_set_addr(void) { ble_addr_t addr; int rc; rc = ble_hs_id_gen_rnd(1, &addr); assert(rc == 0); rc = ble_hs_id_set_rnd(addr...
2.421875
2
2024-11-18T19:35:24.242626+00:00
2018-11-06T17:51:16
c827ac8d06e25c3803e101fb6b64decda710d732
{ "blob_id": "c827ac8d06e25c3803e101fb6b64decda710d732", "branch_name": "refs/heads/master", "committer_date": "2018-11-06T17:51:16", "content_id": "b3cb1afaf0898e650a7584fdec10d45d44a683fd", "detected_licenses": [ "MIT" ], "directory_id": "14972bb4d48feaff6d52d102076a327253985eb1", "extension": "c"...
stackv2
/*************************************************************************************************/ /* INFO */ /*************************************************************************************************/ /* * uDEV Soluções...
2.375
2
2024-11-18T19:35:24.338645+00:00
2019-12-27T07:59:12
aaaa6cf2ae1ef7a380a9a773d3d693a03f2e1f1a
{ "blob_id": "aaaa6cf2ae1ef7a380a9a773d3d693a03f2e1f1a", "branch_name": "refs/heads/master", "committer_date": "2019-12-27T07:59:12", "content_id": "8446de57fcfdc8ab381f2ad62533f90cf1b7bf9b", "detected_licenses": [ "MIT" ], "directory_id": "1159af3c46f4c23c72d2afd05ec4e520a2ef3014", "extension": "h"...
stackv2
/* * nGramReader.h * @authors: Fabian Angelstorf, Franziska Juckel * @copyright: Horst Goertz Institute for IT-Security, Ruhr-University Bochum * * Provides functions to read nGram and the according configuration from files * under the given filenames and store them in the given arrays. * */ #ifndef NGRAMREADE...
2.109375
2
2024-11-18T19:35:26.458733+00:00
2018-02-16T16:37:21
40a0c994b810ce43ed0fa5aa022f51002289e7e4
{ "blob_id": "40a0c994b810ce43ed0fa5aa022f51002289e7e4", "branch_name": "refs/heads/master", "committer_date": "2018-02-16T16:37:21", "content_id": "4c16e6a5d8cdefe67717a8e81280e0aeb3b5b7c7", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "273851ca87d0e38b4da24d1ab1b53687d23647d0", "extens...
stackv2
/** * tcoap_utils.h * * Author: Serge Maslyakov, rusoil.9@gmail.com * Copyright 2017 Serge Maslyakov. All rights reserved. * */ #ifndef __TCOAP_UTILS_H #define __TCOAP_UTILS_H #include "tcoap.h" #ifdef __cplusplus extern "C" { #endif #define TCOAP_CHECK_STATUS(h,s) ((h)->statuses_mask & (s)) #define ...
2.1875
2
2024-11-18T19:35:28.224605+00:00
2022-06-15T08:28:06
e04983980b00eab68a786523aa6b52d7368cdeb6
{ "blob_id": "e04983980b00eab68a786523aa6b52d7368cdeb6", "branch_name": "refs/heads/master", "committer_date": "2022-06-15T08:28:06", "content_id": "a8cca05dd307928b134fcd56fdf193671994674e", "detected_licenses": [ "MIT" ], "directory_id": "8431217d91596f39fac1a3b856dfc75d4dd274f5", "extension": "c"...
stackv2
#include "decode.h" #include "common.h" static char chars[83] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~"; static inline uint8_t clampToUByte(int * src) { if( *src >= 0 && *src <= 255 ) return *src; return (*src < 0) ? 0 : 255; } static inline uint8_t * createByteArra...
2.796875
3
2024-11-18T19:35:28.400928+00:00
2020-06-30T13:34:01
e0e4749d71b152da248023772c9c0778b8a627be
{ "blob_id": "e0e4749d71b152da248023772c9c0778b8a627be", "branch_name": "refs/heads/master", "committer_date": "2020-06-30T13:34:01", "content_id": "9844cdef7ce0279b05cce3e4d32f5fa8ef65e1be", "detected_licenses": [ "MIT" ], "directory_id": "7f0da976cdc6595e9cdd1b20d9f3e6864af772fe", "extension": "c"...
stackv2
#include "bsp.h" #include "config.h" //f12,f1,f3,d10,d8,e15,e7,e9,e13 void TIM2_PWM_Detect(void) { //PA2 GPIO_InitTypeDef GPIO_InitStructure; RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN; GPIO_InitSt...
2.40625
2
2024-11-18T19:35:28.467904+00:00
2023-02-26T18:08:10
6f5b9bc00b77468986a295d589d98a53cfe78730
{ "blob_id": "6f5b9bc00b77468986a295d589d98a53cfe78730", "branch_name": "refs/heads/master", "committer_date": "2023-02-26T18:08:10", "content_id": "d7f70249c2a0e582b3373d51bc0ea2ea2f6db8af", "detected_licenses": [ "MIT" ], "directory_id": "ad47553916e261516cf85d62549405f1eef8bb47", "extension": "c"...
stackv2
#include "11.h" void exit(int code) { if(code == 0) threadexitsall(nil); threadexitsall("botch"); } void threadmain(int argc, char *argv[]) { int ret; ret = xmain(argc, argv); exit(ret); } static void clockproc(void *arg) { int i; Channel *c; c = arg; for(i = 0; ; i++){ /* tick at 60Hz */ if(i == 2){ ...
2.421875
2
2024-11-18T19:35:28.737317+00:00
2021-01-31T22:14:59
747534bb26fbea7b5ecd90146b9a1bbf249f2563
{ "blob_id": "747534bb26fbea7b5ecd90146b9a1bbf249f2563", "branch_name": "refs/heads/master", "committer_date": "2021-01-31T22:14:59", "content_id": "68ea839df5023969ca2963d78bea17b53b59f397", "detected_licenses": [ "MIT" ], "directory_id": "8020344780b8ae1860f7c804b81c3d7e9c6bf200", "extension": "c"...
stackv2
/* ------------------------------------------------------------------------------ ~ File : gpio_unit.c ~ Author : Majid Derhambakhsh ~ Version: V0.2.0 ~ Created: 06/29/2019 03:57:00 AM ~ Brief : ~ Support: Majid.do16@gmail.com ------------------------------------------------------------------------------ ~ Descripti...
2.765625
3
2024-11-18T19:35:28.817706+00:00
2020-11-27T00:46:52
3e869b5ea2839c8152a272017cdcbb8d17ff9043
{ "blob_id": "3e869b5ea2839c8152a272017cdcbb8d17ff9043", "branch_name": "refs/heads/main", "committer_date": "2020-11-27T00:46:52", "content_id": "309752ebaecf4756aa530bb95b06555346a1c113", "detected_licenses": [ "MIT" ], "directory_id": "1062ef41d4d2db3c826500f443d30306d482c1fa", "extension": "c", ...
stackv2
#include "binary_trees.h" /** * binary_tree_height - measures the height of a binary tree * @tree: a pointer to the root node of the tree to measure the height. * Return: height of a binary tree or 0 if tree is null. */ size_t binary_tree_height(const binary_tree_t *tree) { size_t left_height = 0, right_height = ...
3.203125
3
2024-11-18T19:35:30.287398+00:00
2021-04-21T16:55:12
8b587d31aa210ac4704c6613bfa4ce2d0ed0df47
{ "blob_id": "8b587d31aa210ac4704c6613bfa4ce2d0ed0df47", "branch_name": "refs/heads/main", "committer_date": "2021-04-21T16:55:12", "content_id": "271a97bfa47ed6165452e1331f6833d560bafb55", "detected_licenses": [ "MIT" ], "directory_id": "bc7e827750c17596ec2f345e8565b48c0c3ac7bb", "extension": "c", ...
stackv2
#include <cdnn/activations.h> #include <cdnn/model.h> extern __Model__ * m; dARRAY * forward_pass_sigmoid(){ dARRAY * sigmoid_outf = NULL; sigmoid_outf = (dARRAY*)malloc(sizeof(dARRAY)); sigmoid_outf->matrix = (float*)calloc(m->current_layer->DENSE->cache->shape[0]*m->current_layer->DENSE->cache->shape[1],sizeo...
2.125
2
2024-11-18T19:35:30.472062+00:00
2016-01-27T17:19:21
94ceea149f71859541aa102c81c0495052130853
{ "blob_id": "94ceea149f71859541aa102c81c0495052130853", "branch_name": "refs/heads/master", "committer_date": "2016-01-27T17:19:21", "content_id": "411b8ff899d145cad545c8bb9c0a325da88e459a", "detected_licenses": [ "MIT" ], "directory_id": "649edc1598dbe9f17462ece9992295cb0832f274", "extension": "c"...
stackv2
#include <stdio.h> //Ot standartniq vhod se vuvejda chislo n. Trqbva da se izvede triugulnik s visochina n i osnova 2n-1 int main() { int n, i, l; printf("Input triangle height: "); scanf("%d", &n); while(n<2) printf("How do you expect me to create a text triangle with less than 2 characters height?"); for(i...
3.234375
3