added
stringdate
2024-11-18 17:54:19
2024-11-19 03:39:31
created
timestamp[s]date
1970-01-01 00:04:39
2023-09-06 04:41:57
id
stringlengths
40
40
metadata
dict
source
stringclasses
1 value
text
stringlengths
13
8.04M
score
float64
2
4.78
int_score
int64
2
5
2024-11-18T22:27:10.200812+00:00
2018-02-27T15:50:54
5e0b09ee8f95f9214dc85e58a7e0b31ede547009
{ "blob_id": "5e0b09ee8f95f9214dc85e58a7e0b31ede547009", "branch_name": "refs/heads/master", "committer_date": "2018-02-27T15:50:54", "content_id": "67e652eff8bb2af8b6922c1b2f7e46565f5d2390", "detected_licenses": [ "MIT" ], "directory_id": "903cdc1692b935f43918f1b0dd12fe521bdc492a", "extension": "c"...
stackv2
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.c * Author: ramy * Title: Unlimited Space Producer/Consumer solution * Created on December 31, 2017, 9:31 AM *...
2.984375
3
2024-11-18T22:27:10.385484+00:00
2017-10-15T15:05:40
0831ad3abd7d502a54d87970722e95b812347ca4
{ "blob_id": "0831ad3abd7d502a54d87970722e95b812347ca4", "branch_name": "refs/heads/master", "committer_date": "2017-10-15T15:05:40", "content_id": "fd9fa874a3e7bccafb58353ac530259da3b4ae6c", "detected_licenses": [ "MIT" ], "directory_id": "66bcd01db2ad818332ac4de809db37c1e873ba0e", "extension": "c"...
stackv2
/* * Copyright (c) 2017 Pedro Falcato * This file is part of Onyx, and is released under the terms of the MIT License * check LICENSE at the root directory for more information */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include <onyx/binfmt.h> static struct binfmt *format_list = NULL; void *load_...
2.53125
3
2024-11-18T22:27:10.593273+00:00
2019-03-01T05:16:46
dd11a39ac3f3c25885f2acfb89a6b6b38a7c1e9c
{ "blob_id": "dd11a39ac3f3c25885f2acfb89a6b6b38a7c1e9c", "branch_name": "refs/heads/master", "committer_date": "2019-03-01T05:16:46", "content_id": "ab5538510fea9002cc1ee3a23ac86a8c01da8454", "detected_licenses": [ "MIT" ], "directory_id": "5a17a3d150c4773318d397a46878d2fd74c0671f", "extension": "c"...
stackv2
// fuxue.c 拈花指 「拈花拂穴」 #include <ansi.h> inherit F_SSERVER; int perform(object me, object target) { int busy_time; if( (time()-query_temp("perform_time", me))<5 ) return notify_fail("你積蓄真氣,準備再次使用拈花拂穴。\n"); if( !target ) target = offensive_target(me); if( !target ) return notify_fail("你想點誰的穴位?\n")...
2.203125
2
2024-11-18T22:27:10.674182+00:00
2018-05-03T16:46:19
4ac1ab670b922e6e1371ffbcb04d31c0775223fa
{ "blob_id": "4ac1ab670b922e6e1371ffbcb04d31c0775223fa", "branch_name": "refs/heads/master", "committer_date": "2018-05-03T16:46:19", "content_id": "9aacc4fabe4e3c363fee110f9746eed797d99861", "detected_licenses": [ "MIT" ], "directory_id": "577ec8b22cfb0669b469922b94f8a24357aab5a3", "extension": "c"...
stackv2
/* Copyright (c) 2018 Adam Ples * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dis...
2.8125
3
2024-11-18T22:27:10.835807+00:00
2022-02-08T18:21:30
4ad22a29196383ce54837a3c83f95852c6cec926
{ "blob_id": "4ad22a29196383ce54837a3c83f95852c6cec926", "branch_name": "refs/heads/master", "committer_date": "2022-02-08T18:21:30", "content_id": "ca92c5847de713296d82e40cc3166781d78f9e86", "detected_licenses": [ "MIT" ], "directory_id": "d55fea61eff36e5145c8b060cc08c0c5eb8c20d7", "extension": "c"...
stackv2
#include <net/vlan.h> #include <net/net.h> #define NET_PRV #include <net/net_prv.h> #include <net/mac.h> #include <string.h> #define PRINTF(fmt, ...) printf(fmt, ##__VA_ARGS__) #define VLANID 0x8100 #define VLAN_HEADER_POS 12 #define VLAN_HEADER_SIZE 4 #define VLAN_TCI_PRIO(x) (((x) & 0x7) << 6) #define VLAN_TCI_VLANI...
2.1875
2
2024-11-18T22:27:10.924300+00:00
2019-03-01T13:16:41
ddbfb4beb6e96c0ade1af121f922c2957755133c
{ "blob_id": "ddbfb4beb6e96c0ade1af121f922c2957755133c", "branch_name": "refs/heads/master", "committer_date": "2019-03-01T13:16:41", "content_id": "4903eb32ac5ce8b191c41c8b1df382dd3a915726", "detected_licenses": [ "MIT" ], "directory_id": "432f7de15055ea14bb50e41f15cd7734a990259c", "extension": "c"...
stackv2
/*------------------------------------------------------ Maximum likelihood estimation of migration rate and effectice population size using a Metropolis-Hastings Monte Carlo algorithm ------------------------------------------------------- H A P L O T Y P E ...
2.078125
2
2024-11-18T22:27:11.013521+00:00
2019-01-13T18:59:07
12a1854c4db1491294ed6bbb07fa5ea7709dddd3
{ "blob_id": "12a1854c4db1491294ed6bbb07fa5ea7709dddd3", "branch_name": "refs/heads/master", "committer_date": "2019-01-13T18:59:07", "content_id": "65619821c289084e271383b1546ca7008f52455e", "detected_licenses": [ "MIT" ], "directory_id": "c4ecec829b62539be9f76eab9881db160d361965", "extension": "c"...
stackv2
#include <stdio.h> // use struct array to define a binary tree #define maxTree 10 #define elementType char #define tree int #define Null -1 struct treeNode { elementType Element; tree left; tree right; }; struct treeNode t1[maxTree],t2[maxTree]; tree buildTree(struct treeNode t[]) { scanf("%d\n",&n)...
3.25
3
2024-11-18T22:27:11.135448+00:00
2017-12-06T14:55:48
43cdfc522308e8295b853d00ea0cfbb1b6d15a12
{ "blob_id": "43cdfc522308e8295b853d00ea0cfbb1b6d15a12", "branch_name": "refs/heads/master", "committer_date": "2017-12-06T14:55:48", "content_id": "2238d98535ea28f2e1053fcca32083e14b741aa1", "detected_licenses": [ "MIT" ], "directory_id": "061e8db72b394ea721115dea74c39160322eaa2f", "extension": "c"...
stackv2
//Es. N°19 #include<stdio.h> #include<stdlib.h> /*Alunno Riccardo Ceccotti Classe 3°INA Data 20/07/2017 Versione 1.0*/ int main () { char nome[100]; int app; int i; printf("Come ti chiami? \n "); scanf("%s",nome); app=0; while(nome[app]!='\0'){ app++; } printf("La parola e' lunga %d caratteri",app); ...
3.0625
3
2024-11-18T22:27:11.769282+00:00
2020-02-05T07:15:55
de99a4649977bd09716d5ab505846cec756775ef
{ "blob_id": "de99a4649977bd09716d5ab505846cec756775ef", "branch_name": "refs/heads/master", "committer_date": "2020-02-05T07:15:55", "content_id": "c3776b4d720c4e8afe5365faee4986139607406d", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8436d84d5092d3cd1997b6b5fe765c940574733f", "extens...
stackv2
/* Copyright 2012 Dietrich Epp <depp@zdome.net> */ #include "filter.h" static void lfr_filter_get(const struct lfr_filter *fp, int iname, int *vi, double *vd) { int sz; int ivalue; double dvalue; switch (iname) { case LFR_INFO_SIZE: ivalue = fp->nsamp; goto ivalue; ...
2.5625
3
2024-11-18T22:27:12.043192+00:00
2014-11-15T05:36:09
3d7f04b86dce9f1b7749286bfb7b41d6f2b6b2d8
{ "blob_id": "3d7f04b86dce9f1b7749286bfb7b41d6f2b6b2d8", "branch_name": "refs/heads/master", "committer_date": "2014-11-15T05:36:09", "content_id": "856e95583528fec7509895533ec34a7e742138b7", "detected_licenses": [ "ISC" ], "directory_id": "a175ea7fbd5de38aae4ec540853580ef8518777d", "extension": "h"...
stackv2
/* * Copyright (c) 2014, Scott Anderson <ascent@cock.li> * * 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 IS" A...
2.015625
2
2024-11-18T22:27:12.905724+00:00
2021-04-14T22:41:55
00f75f9d3511e5b19c8f5a0aa401196288d94cb5
{ "blob_id": "00f75f9d3511e5b19c8f5a0aa401196288d94cb5", "branch_name": "refs/heads/master", "committer_date": "2021-04-14T22:41:55", "content_id": "aee713a6d92d65821d254941a1e10e4aaac413d4", "detected_licenses": [ "MIT" ], "directory_id": "31a8e909556d043154e6341de1bdc1c9a185b8ca", "extension": "c"...
stackv2
/* * MIT License * * Copyright (c) 2021 Ozan Tezcan * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
2.265625
2
2024-11-18T22:27:13.260063+00:00
2016-03-01T10:48:08
385513b088cfc56ffba97698c4c2baba0076bd14
{ "blob_id": "385513b088cfc56ffba97698c4c2baba0076bd14", "branch_name": "refs/heads/master", "committer_date": "2016-03-01T10:50:06", "content_id": "9208a51fabefbc166b66b48fa834fe4719ffc54b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a1984299ecaa3eb25dad5a06b73d9cfc27b1dc7c", "extensio...
stackv2
#ifdef USE_OPENSPLICE #include "dds_dcps.h" #elif USE_CONNEXT #include <ndds/ndds_c.h> #else #error "Unsupported DDS vendor" #endif #include "unistd.h" #include <stdio.h> #include <time.h> #if __APPLE__ #include <sys/time.h> #endif char *RetCodeName[13] = { "DDS_RETCODE_OK", "DDS_RETCODE_ERROR", "DDS_RE...
2.1875
2
2024-11-18T22:27:13.352368+00:00
2014-02-08T19:28:48
3499f74967d37bc5048207c38de6ebf166a5f708
{ "blob_id": "3499f74967d37bc5048207c38de6ebf166a5f708", "branch_name": "refs/heads/master", "committer_date": "2014-02-08T19:28:48", "content_id": "4056de3d1b2b6181abab116c15962cc6c2f10258", "detected_licenses": [ "BSD-4-Clause-UC", "BSD-2-Clause-Views" ], "directory_id": "4e88d838085ddbe7d2b8fd1...
stackv2
#include<defs.h> inline void outb(uint16_t port, uint8_t data) { __asm__ __volatile( "outb %0, %1;" : /* void */ : "a" (data), "d" (port)); } void memset(void *dest, uint8_t val, uint32_t len) { uint8_t *temp = (uint8_t *)dest; for ( ; len != 0; len--) *temp++ = val; } inline ui...
2.3125
2
2024-11-18T22:27:13.675623+00:00
2023-05-01T17:35:39
8cf4faec83d14a9406e466b71579c90cc1432698
{ "blob_id": "8cf4faec83d14a9406e466b71579c90cc1432698", "branch_name": "refs/heads/master", "committer_date": "2023-05-01T17:35:41", "content_id": "14df13c810734908e617daf0802d9b6797d2fd7b", "detected_licenses": [ "ISC" ], "directory_id": "51604da03374db1c7dedf8ddebbe197f7dd5e7a8", "extension": "c"...
stackv2
/* * Copyright (c) 2022-2023 Jim Ramsay * * 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 IS" AND THE AUTHOR DIS...
2.015625
2
2024-11-18T22:27:15.181272+00:00
2020-07-02T01:30:38
70ade90247c44e96b13e5a93759b0027b9b539ae
{ "blob_id": "70ade90247c44e96b13e5a93759b0027b9b539ae", "branch_name": "refs/heads/master", "committer_date": "2020-07-02T01:30:38", "content_id": "bd418cbe23c40e27109796a2783371f4d6304454", "detected_licenses": [ "PostgreSQL" ], "directory_id": "9b972e7e915a1b68c1a3b46811a2903727d882a2", "extensio...
stackv2
/*------------------------------------------------------------------------- * * bitset.c * Auxiliary functions for ws-tree algorithm. * * * Copyright (c) 2008, MayBMS Development Group * *------------------------------------------------------------------------- */ #include <limits.h> #include <stdlib.h>...
2.8125
3
2024-11-18T22:27:15.242367+00:00
2017-10-02T02:59:00
ff3d8c1d4b4ec45ae091fb63b23beca4f576ad91
{ "blob_id": "ff3d8c1d4b4ec45ae091fb63b23beca4f576ad91", "branch_name": "refs/heads/master", "committer_date": "2017-10-02T02:59:00", "content_id": "47d99dcb0db2d02a841022fe8105075bd6db1436", "detected_licenses": [ "MIT" ], "directory_id": "fc7bcc10c9215901aa23076e04bd2d2473bee8f0", "extension": "c"...
stackv2
#include <stdio.h> #include <assert.h> #include <stdlib.h> struct cache{ int MRU; int kSetAss; int lSetLength; int cSetSizeBytes; int wSetWay; int tagFieldLength; int setIndexFieldLength; int blockOffsetFieldLength; unsigned int **tagArray; int **lruArray; }; struct cache Cache; int whichSet(unsigned int address);...
2.9375
3
2024-11-18T22:27:15.887107+00:00
2021-01-23T13:04:11
1601773386768b5ce79837512aac414e4c751f6f
{ "blob_id": "1601773386768b5ce79837512aac414e4c751f6f", "branch_name": "refs/heads/main", "committer_date": "2021-01-23T13:04:11", "content_id": "2c554fd1b17bc972383ed6e4e901420e1ef8fcfc", "detected_licenses": [ "MIT" ], "directory_id": "cf329793c73f50842641adc87718715740bb1f75", "extension": "c", ...
stackv2
#include "headers.h" void consume(int producerIndex, int consumerIndex, int shmid); int main() { // create the needed IPCs key_t key_id = ftok("keyfile", 66); int producerIndex = shmget(key_id, sizeof(int), 0666 | IPC_CREAT); key_id = ftok("keyfile", 67); int consumerIndex = shmget(key_id, sizeof...
3
3
2024-11-18T22:27:15.952834+00:00
2014-12-15T10:16:24
ca6d3c37489bdb6377e8c8b0dd756dffae3371e0
{ "blob_id": "ca6d3c37489bdb6377e8c8b0dd756dffae3371e0", "branch_name": "refs/heads/master", "committer_date": "2014-12-15T10:16:24", "content_id": "afb7cfbf8a8768c14fdb61f3ccc341123074b68c", "detected_licenses": [ "BSD-3-Clause", "BSD-3-Clause-Open-MPI" ], "directory_id": "3e3dbd536a81b65278dcd54...
stackv2
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_rng.h> #include <OpenCL/opencl.h> #include "util.h" #include "tridiag_kernel_str.h" typedef float clReal; void checkErr(cl_int err, const char * name) { if (err != CL_SUCCESS) { fprintf(stderr,"ERROR: %s (%d)\n",name,err); exit(EX...
2.1875
2
2024-11-18T22:27:16.541538+00:00
2019-10-30T10:18:38
9c579c941f189d1720fe0d37b6d4504272c7edc6
{ "blob_id": "9c579c941f189d1720fe0d37b6d4504272c7edc6", "branch_name": "refs/heads/master", "committer_date": "2019-10-30T10:18:38", "content_id": "8ac51755b875272fbf69705371a1fc0b3b3714c1", "detected_licenses": [], "directory_id": "b03695e24f15755e4d87f6d142c062feae064f0d", "extension": "h", "filename...
stackv2
#ifndef __PGS_CIRCLE_H__ #define __PGS_CIRCLE_H__ #include "euler.h" /* Spherical circle declarations */ /* * Spherical circle data structure: center and radius. */ typedef struct { SPoint center; /* the center of circle */ float8 radius; /* the circle radius in radians */ } SCIRCLE; /* * Checks whether two ...
2.5
2
2024-11-18T22:27:17.180059+00:00
2023-07-26T13:26:45
720b10600fa809116147fdf2c39f71fe21100ad8
{ "blob_id": "720b10600fa809116147fdf2c39f71fe21100ad8", "branch_name": "refs/heads/main", "committer_date": "2023-07-26T13:26:45", "content_id": "313b13d250e64f2737b3847ad704bf503217ad37", "detected_licenses": [ "MIT" ], "directory_id": "5759ccee99bcd92e3917b0652c4c842753f8f165", "extension": "c", ...
stackv2
#include <glib.h> #include <glib-object.h> #include <stdlib.h> #include <string.h> #include <gtk/gtk.h> static void hello(GtkWidget* button, gpointer self); static void quit(GtkWidget* button, gpointer self); static int i; static void hello(GtkWidget* button, gpointer self) { i ++; gtk_button_set_label(GTK_...
2.4375
2
2024-11-18T22:27:17.690744+00:00
2022-07-30T22:45:56
d77c2909b110d3b16458babbb6b607f0755fdca1
{ "blob_id": "d77c2909b110d3b16458babbb6b607f0755fdca1", "branch_name": "refs/heads/master", "committer_date": "2022-07-30T22:45:56", "content_id": "147a6c15ad1f2c8b59545501d902fd6f07a1c88b", "detected_licenses": [ "MIT" ], "directory_id": "49abb58c40577ce4470cca16034cf03ff0f94f7c", "extension": "c"...
stackv2
#include <stdio.h> int main() { printf("The value of nine is: %d \n", 0x9); printf("The value of ten is: %d \n", 0xA); return 0; }
2.828125
3
2024-11-18T22:27:17.791124+00:00
2013-10-01T08:51:29
25391b6a5f530ff67e40a6b5281e37d78d336368
{ "blob_id": "25391b6a5f530ff67e40a6b5281e37d78d336368", "branch_name": "refs/heads/master", "committer_date": "2013-10-01T08:51:29", "content_id": "b73cf067145c9dd0c2e219374e600d1bc521fae6", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "596c31b047ca731e4908aaf9f056b6ec39623380", "extens...
stackv2
#ifdef HAVE_CONFIG_H # include <config.h> #endif #include <math.h> #ifdef HAVE_EVIL # include <Evil.h> #endif #include <Esvg.h> #include "evas_common.h" #include "evas_private.h" static inline Eina_Bool evas_image_load_file_is_svg(const char *file) EINA_ARG_NONNULL(1) EINA_PURE; static Eina_Bool evas_image_load_fi...
2.1875
2
2024-11-18T22:27:17.899559+00:00
2016-04-17T21:27:10
c44036c84c66337c4d3ed737d988accde01b23ba
{ "blob_id": "c44036c84c66337c4d3ed737d988accde01b23ba", "branch_name": "refs/heads/master", "committer_date": "2016-04-17T21:27:10", "content_id": "db0dfb7e75355f14ac608861dfc2d6d35e737265", "detected_licenses": [ "MIT" ], "directory_id": "1e9c63d10b23ffecbc06af1115a4175cb05ac9c9", "extension": "c"...
stackv2
#include <pebble.h> #include "tap_window.h" static Window *tap_window; static void click_config_provider(void *context) { ButtonId id = BUTTON_ID_SELECT; window_single_click_subscribe(id, tap_window_select_handler); id = BUTTON_ID_UP; window_single_click_subscribe(id, tap_window_up_handler); id = BUTTON_ID_...
2.15625
2
2024-11-18T22:27:18.027060+00:00
2023-08-09T11:39:10
9c449a9e3f2faf61b1734185a07a01dd5207a26c
{ "blob_id": "9c449a9e3f2faf61b1734185a07a01dd5207a26c", "branch_name": "refs/heads/master", "committer_date": "2023-08-09T11:39:21", "content_id": "622559553837b12b803ee93c292443f111da72af", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "2df5bdb83ad89c9961f554b426b8ea165942384b", "extens...
stackv2
/* * shctx.h * * Copyright (C) 2011 EXCELIANCE * * Author: Emeric Brun - emeric@exceliance.fr * */ #ifndef SHCTX_H #define SHCTX_H #include <openssl/ssl.h> #include <stdint.h> #ifndef SHSESS_MAX_FOOTER_LEN # define SHSESS_MAX_FOOTER_LEN sizeof(uint32_t) + EVP_MAX_MD_SIZE #endif #ifndef SHSESS_MAX_DATA_LEN ...
2.375
2
2024-11-18T22:27:18.182673+00:00
2021-06-17T20:23:48
b15230df242bdc2220fa030f33240c7497dbc620
{ "blob_id": "b15230df242bdc2220fa030f33240c7497dbc620", "branch_name": "refs/heads/main", "committer_date": "2021-06-17T20:23:48", "content_id": "23974a5649c36bb3ef0e0a3b3a8d9af44de7f247", "detected_licenses": [ "MIT" ], "directory_id": "add6e07fd3e05457396c5f09975b4ac7d11271b3", "extension": "c", ...
stackv2
#include "DetectionCoin.h" #include <stdlib.h> #include <string.h> #include <stdio.h> #include <math.h> int GaussPxl(int x, int y, int** Bitmap, double coefgauss2); /* Default parameter : * coefgauss1 : 1 * coefgauss2 : 2.5 * harriscoef : 0.006 * treshold : 130 * */ Coord* Detection(Image* BitMap,double coeffga...
2.4375
2
2024-11-18T22:27:18.249881+00:00
2019-09-24T13:28:37
89c5476ceab240ec3cd40eeba0582377ef2e5cea
{ "blob_id": "89c5476ceab240ec3cd40eeba0582377ef2e5cea", "branch_name": "refs/heads/master", "committer_date": "2019-09-24T13:28:37", "content_id": "53b9b688f17d49454a3c405bd242a98902a24b83", "detected_licenses": [ "Apache-2.0" ], "directory_id": "2fe4f9f0a7f41909095caaf8c22b9b9b058b8a93", "extensio...
stackv2
/* * Copyright (c) 2017-2019 Cisco and/or its affiliates. * 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 appl...
2.09375
2
2024-11-18T22:27:18.754991+00:00
2020-10-07T05:34:30
16513f7778e98e1bc04967441378a1190150abe6
{ "blob_id": "16513f7778e98e1bc04967441378a1190150abe6", "branch_name": "refs/heads/master", "committer_date": "2020-10-07T05:34:30", "content_id": "4341e49a610d19bae84de58c6d49400a50c0e9c8", "detected_licenses": [ "MIT" ], "directory_id": "de85651c7ceff58fbfefa9392eaa8957d6b45387", "extension": "c"...
stackv2
#include <stdio.h> #include<stdlib.h> struct Node { int data; struct Node *next; } *top = NULL; //here head of LL would be top of Stack void traverse() { struct Node* temp = top; if (top == NULL) { printf("\nStack Underflow"); return; } printf("[ "); while (temp != NULL)...
4.21875
4
2024-11-18T22:27:20.270179+00:00
2023-08-23T09:23:04
36eadbacdfb99fc49c6f6257c64f1c92c396f41b
{ "blob_id": "36eadbacdfb99fc49c6f6257c64f1c92c396f41b", "branch_name": "refs/heads/master", "committer_date": "2023-08-23T09:23:04", "content_id": "c88c374728ef7fa8480ad1053da012f8c478ef7e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "4ba76056c744ada0a01fb27b7cad8464cefc7aa0", "extens...
stackv2
#include "PX_Object_AutoText.h" PX_Object * PX_Object_AutoTextCreate(px_memorypool *mp,PX_Object *Parent,px_int x,px_int y,px_int width,PX_FontModule *fm) { PX_Object *pObject; PX_Object_AutoText *pAt=(PX_Object_AutoText *)MP_Malloc(mp,sizeof(PX_Object_AutoText)); PX_StringInitialize(mp,&pAt->text); if (pAt==PX_N...
2.171875
2
2024-11-18T22:27:20.383764+00:00
2022-03-08T00:52:08
d52d6fef539e1cdfd0116d6d8597c4a3b1b31406
{ "blob_id": "d52d6fef539e1cdfd0116d6d8597c4a3b1b31406", "branch_name": "refs/heads/develop", "committer_date": "2022-03-08T00:52:08", "content_id": "ab09cd319955105cd54c2d12ad56249a70b25ff1", "detected_licenses": [ "MIT" ], "directory_id": "d4f6928178d296d095c0caf240349a8de235e95e", "extension": "c...
stackv2
// // WKAddressBTC.c // WalletKitCore // // Created by Ed Gamble on 05/07/2020. // Copyright © 2019 Breadwinner AG. All rights reserved. // // See the LICENSE file at the project root for license information. // See the CONTRIBUTORS file at the project root for a list of contributors. // #include <assert.h> #inc...
2.125
2
2024-11-18T22:27:20.735605+00:00
2017-12-27T03:31:55
66beb856b3fd9d68e1929f86cdba9056eea59ffe
{ "blob_id": "66beb856b3fd9d68e1929f86cdba9056eea59ffe", "branch_name": "refs/heads/master", "committer_date": "2017-12-27T03:31:55", "content_id": "88870cc24313fb1ae73f1a81cc37a95af1a3940f", "detected_licenses": [ "MIT" ], "directory_id": "ab0fb083821400c4f19ea8ba92a253229dcf6aea", "extension": "c"...
stackv2
/* An error-free in-memory Base64 encoder. Simple SMTP Mailer. Copyright (C) 2013 Richard Walmsley <richwalm@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, ...
2.890625
3
2024-11-18T22:27:20.813055+00:00
2018-10-24T04:02:14
3d94275a1fd538bdcebfe31ca1420c5f73e56ddd
{ "blob_id": "3d94275a1fd538bdcebfe31ca1420c5f73e56ddd", "branch_name": "refs/heads/master", "committer_date": "2018-10-24T04:02:14", "content_id": "c89b9d98c5e729744af2241a30326b54364d0d5d", "detected_licenses": [ "MIT" ], "directory_id": "348b4cf286f99c7cb2abb3582d974de5cda0284b", "extension": "c"...
stackv2
/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #include <device.h> #include <stdio.h> #...
2.234375
2
2024-11-18T22:27:20.890030+00:00
2016-06-13T05:28:41
b7bd4078469e437f163fa28d524a054c26a1b7e6
{ "blob_id": "b7bd4078469e437f163fa28d524a054c26a1b7e6", "branch_name": "refs/heads/master", "committer_date": "2016-06-13T05:28:41", "content_id": "b84d3c6b87b0b992737801b89c62d3d8823f877b", "detected_licenses": [ "MIT" ], "directory_id": "80f584ed3848c45de266f2e971b6ba32da5d5520", "extension": "c"...
stackv2
#include "minunit.h" #include "vector.h" static Vector *vec = NULL; static int *val1 = NULL; static int *val2 = NULL; char *test_create() { vec = VectorCreate(sizeof(int), 100); mu_assert(vec != NULL, "Failed to create vector."); mu_assert(vec->contents != NULL, "Contents should not be NULL."); mu_assert(vec-...
2.984375
3
2024-11-18T22:27:21.552977+00:00
2023-08-09T12:45:16
034d5c6f338df7384b2b49f715a0fed382cbb63f
{ "blob_id": "034d5c6f338df7384b2b49f715a0fed382cbb63f", "branch_name": "refs/heads/master", "committer_date": "2023-08-09T12:45:16", "content_id": "4ad8f59e008adb7ae99b4048a0c2945e75f1bd6c", "detected_licenses": [ "NCSA" ], "directory_id": "c21ef3bac7c935ca8674be60d4ca89f61fb2f0df", "extension": "c...
stackv2
/* * System includes */ #include <stdbool.h> #include <assert.h> #include <stddef.h> /* * Local includes */ #include "logging.h" #include "stor.h" #include "cksm.h" #include "pio.h" globus_result_t stor_can_change_cos(char *Pathname, int *can_change_cos) { int retval; hpss_fileattr_t ...
2.1875
2
2024-11-18T22:27:22.010149+00:00
2021-01-09T07:05:12
c5fe783caa1169284736258e378059595fe3163f
{ "blob_id": "c5fe783caa1169284736258e378059595fe3163f", "branch_name": "refs/heads/main", "committer_date": "2021-01-09T19:41:35", "content_id": "5b7623978c567f42f1c63fa11b92f522698b446d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "2c9b655e36bb532f1baae4aee5e02cdc704a1b90", "extension"...
stackv2
/* ** 2012 January 17 ** ** The authors renounce all claim of copyright to this code and dedicate ** this code to the public domain. In place of legal notice, here is ** a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never ...
2.46875
2
2024-11-18T22:27:22.137041+00:00
2017-01-19T12:01:32
6ebb21f8b7b9d676017e46d0d1a318d02cf443b4
{ "blob_id": "6ebb21f8b7b9d676017e46d0d1a318d02cf443b4", "branch_name": "refs/heads/master", "committer_date": "2017-01-19T12:01:32", "content_id": "8ab30cffb9f5024e56825bb7c51f2f5d01601871", "detected_licenses": [ "CC0-1.0" ], "directory_id": "54ff2d68e80eb4816a9653b9ed200f930026fa44", "extension":...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <memory.h> #include "read_input.h" #define SIZE 256 // TODO yin: Add flow control function as optional 3rd argument void read_all_input_lines(void (*callback)(char*, void*), void *payload) { while (!feof(stdin)) { callback(read_input_line(), pa...
3.015625
3
2024-11-18T22:27:22.215664+00:00
2023-08-21T00:33:05
b9e45437e3f0537c0415aa75c86ebe9b1b195090
{ "blob_id": "b9e45437e3f0537c0415aa75c86ebe9b1b195090", "branch_name": "refs/heads/main", "committer_date": "2023-08-21T00:33:05", "content_id": "24fd96e82d89eabfe172b50a1f12264440612445", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "2786c37ab338ed279aa2a535d9a8143aa2e82b57", ...
stackv2
// Copyright (C) 2023 George Cave. // // SPDX-License-Identifier: Apache-2.0 #include <foe/network/address.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else #define __USE_XOPEN2K // Enable `struct addrinfo` and associated #include <arpa/inet.h> #include <ifaddrs.h> #include <netdb.h> #include <sys/so...
2.234375
2
2024-11-18T22:27:22.285566+00:00
2021-08-26T15:11:08
8f6e4ce3f738478c5da8feb201ef674dcc690c00
{ "blob_id": "8f6e4ce3f738478c5da8feb201ef674dcc690c00", "branch_name": "refs/heads/main", "committer_date": "2021-08-26T15:11:08", "content_id": "39370c6d4658f0b93422130527dc0598e25a9949", "detected_licenses": [ "MIT-Modern-Variant" ], "directory_id": "36917d1c76c6e872b6a6d43b73062341b063d052", "ex...
stackv2
#include "syscall.h" int main() { PrintString("Members:\n"); PrintString("Ngo Huy Hoang - 19127406\n"); PrintString("Vo Hoang Gia Bao - 19127102\n"); PrintString("Nguyen Tuan Kiet - 19127457\n"); PrintString("Trieu Nguyen Minh Huy - 19127\n"); PrintString("Truong The Phu - 19127\n"); PrintString("\nAbout sort...
2.71875
3
2024-11-18T22:27:24.759532+00:00
2018-03-18T22:00:48
5e86791e4e245bac86a9fbf24055abe68120873d
{ "blob_id": "5e86791e4e245bac86a9fbf24055abe68120873d", "branch_name": "refs/heads/master", "committer_date": "2018-03-18T22:00:48", "content_id": "d9f3449c452fa510231b7b5607b60d853669746f", "detected_licenses": [ "MIT" ], "directory_id": "2d929d1c0347dc9a08b77a43003447bbdc3591db", "extension": "h"...
stackv2
#ifndef ASSEMBLER_UTILS_H #define ASSEMBLER_UTILS_H #include <stdio.h> #define READ_LINE_MAX 256 #define READING_ERROR 0 #define READING_EOF (-1) #define LABEL_START_POSITION 0 #define LABEL_MAX_LENGTH 30 #define LABEL_WITHOUT_DECLARATION (-1) /* Represent a boolean */ typedef enum Boolean { false, true } Bo...
2.5625
3
2024-11-18T22:27:26.116653+00:00
2014-10-18T05:35:22
ee0080b88b2319634a21ebe8d5e441305ba966e7
{ "blob_id": "ee0080b88b2319634a21ebe8d5e441305ba966e7", "branch_name": "refs/heads/master", "committer_date": "2014-10-18T05:35:22", "content_id": "7c09f3408b2ee7e6feeafdea3cb23616f37f6429", "detected_licenses": [ "MIT" ], "directory_id": "237833239d928c8eab1bb246da13775df1b19dce", "extension": "c"...
stackv2
#include "config.h" #include "shamir.h" #include "g256_tables.h" #include <errno.h> #include <sys/types.h> #include <fcntl.h> #include <string.h> #define GF256_MASK ((1 << 8) - 1) #define MAX_KEYS 254 static int fail(int _errno){ errno = _errno; return -1; } int params_invalid(shamir_params_t params){ return (...
2.515625
3
2024-11-18T22:27:26.290443+00:00
2013-04-17T18:42:40
4f82895c018f4b38f001fbdef687d82d4d269d0f
{ "blob_id": "4f82895c018f4b38f001fbdef687d82d4d269d0f", "branch_name": "refs/heads/master", "committer_date": "2013-04-17T18:42:40", "content_id": "0633af8dbdd52c316ca20869129c5de73effe8fd", "detected_licenses": [ "MIT" ], "directory_id": "bb108c3ea7d235e6fee0575181b5988e6b6a64ef", "extension": "c"...
stackv2
/*************************************************************************** video.c Functions to emulate the video hardware of the machine. ***************************************************************************/ #include "emu.h" #include "video/resnet.h" #include "includes/zaccaria.h" /*****************...
2.296875
2
2024-11-18T22:27:26.422011+00:00
2023-08-08T22:58:35
23fefc7deb34a02d48bb878fb37f087434f26d8c
{ "blob_id": "23fefc7deb34a02d48bb878fb37f087434f26d8c", "branch_name": "refs/heads/main", "committer_date": "2023-08-08T22:58:35", "content_id": "3e72897ea0f550a95b499d73d66da72ca8821c96", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "31dc0ce3e65a2c262fe7651f5320d93885b1c2db", "extensio...
stackv2
/* * C128 CP/M 8564/8566 VIC-IIe bitmap functions. * * Copyright (c) Steven P. Goldsmith. All rights reserved. */ #include <hitech.h> #include <bitmap.h> /* * Optimized horizontal line algorithm up to 15x faster than Bresenham. */ void drawVicLineH(bitmap *bmp, ushort x, ushort y, ushort len, uchar color) { st...
2.890625
3
2024-11-18T22:27:26.984634+00:00
2019-05-16T16:18:38
b1f3ac8b84477a6ae9bcdcfd5e55f56d750b1fea
{ "blob_id": "b1f3ac8b84477a6ae9bcdcfd5e55f56d750b1fea", "branch_name": "refs/heads/master", "committer_date": "2019-05-16T16:18:38", "content_id": "192d93b12b1db07dc1adf71e9e83d31a8a59a4cc", "detected_licenses": [ "MIT" ], "directory_id": "5a2c26bbfd1b4d3c1ae4366bd86575a838c7bcf5", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* play.c :+: :+: :+: ...
2.5625
3
2024-11-18T22:27:27.926154+00:00
2020-04-27T08:41:12
a0b6c2e0e7e5f438f59b5871725e7af50a5396b1
{ "blob_id": "a0b6c2e0e7e5f438f59b5871725e7af50a5396b1", "branch_name": "refs/heads/master", "committer_date": "2020-04-27T08:41:12", "content_id": "478ef0717b735314dc288f7f1272c4e790fd6ce6", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "d7fb7490fa1001637eb95b87ae5a6ac18e775c02", "extens...
stackv2
#include <param.h> #include <x86.h> #include <proto.h> #include <proc.h> // #include <buf.h> #include <conf.h> // #include <super.h> #include <inode.h> #include <dirent.h> #include <file.h> #include <stat.h> /* * link path1 to path2. * path1 is existing yet, create a new directory entry for path2, * and increase th...
2.71875
3
2024-11-18T22:27:28.888304+00:00
2022-06-19T07:39:08
1ff7bc599b7814669eb24611d6e0fe8298dfaba1
{ "blob_id": "1ff7bc599b7814669eb24611d6e0fe8298dfaba1", "branch_name": "refs/heads/master", "committer_date": "2022-06-19T07:39:08", "content_id": "0ccb9c4f4aaf01370b04d15568eb3e4129c8a13e", "detected_licenses": [ "MIT" ], "directory_id": "db92c2d6311b59cd948e1fa44571fa2419dda445", "extension": "c"...
stackv2
#include <stdio.h> #include "linkedList.h" #define DISPLAY_NAME_MAX 100 typedef enum { INIT, APPEND, PREPEND, INSERT_IDX, DEL_FIRST, DEL_LAST, DEL_IDX } testCaseType; void testCase(testCaseType type, LinkedList *list, char displayName[], const int *val, const int *idx) { switch (type) { case INIT: ...
3.078125
3
2024-11-18T22:27:28.997962+00:00
2017-06-19T18:29:25
8fb069ef6ec5dd433f6b6c23eb38566d46e2053a
{ "blob_id": "8fb069ef6ec5dd433f6b6c23eb38566d46e2053a", "branch_name": "refs/heads/master", "committer_date": "2017-06-19T18:29:25", "content_id": "5db9c5bd2db731a435b0dc3c95d12c35572c1c38", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f3c40e888256c09bae876d780716c99bfb6bbb4d", "extens...
stackv2
/* BSD 2-Clause License, see github.com/ma16/hantek_dso_2090 */ #ifndef INCLUDE_dod_h #define INCLUDE_dod_h /* generic do-or-die wrappers */ #include "stdc.h" #include <stddef.h> /* size_t */ void dod_exit(char const *format,...) STDC_FORMAT_PRINTF(1,2) ; void* dod_malloc(size_t nbytes) ; void dod_snprintf(char *...
2.125
2
2024-11-18T22:27:29.178398+00:00
2023-08-02T14:20:33
d08662e0266e1e3051fdcbcc37c63eaa876bb0dc
{ "blob_id": "d08662e0266e1e3051fdcbcc37c63eaa876bb0dc", "branch_name": "refs/heads/master", "committer_date": "2023-08-02T14:20:33", "content_id": "ddad0dce463ca20863e57d0fe3682f47ca979bef", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f8a782aea49051029715810a11caaa403495d4a5", "extens...
stackv2
/*------------------------------------------------------------------------- * * pgcliend.c * execute query and format result * * Portions Copyright (c) 2017-2023 Pavel Stehule * * IDENTIFICATION * src/pgclient.c * *------------------------------------------------------------------------- */ #include <st...
2.1875
2
2024-11-18T22:27:29.631725+00:00
2023-02-16T11:27:40
c6f3e4f88a6e9967553548ae57484c6607242f04
{ "blob_id": "c6f3e4f88a6e9967553548ae57484c6607242f04", "branch_name": "refs/heads/main", "committer_date": "2023-02-16T14:59:16", "content_id": "d1e8cd8c15a80cd9ffa7a36476f5f7d35d1d0ef3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e8302c75d770d1608b317d6af5c483bbad6c0493", "extension"...
stackv2
/* * Copyright (c) 2020 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/random/rand32.h> #include <zephyr/syscall_handler.h> static inline uint32_t z_vrfy_sys_rand32_get(void) { return z_impl_sys_rand32_get(); } #include <syscalls/sys_rand32_get_mrsh.c> static inline void z_vrfy_s...
2.0625
2
2024-11-18T22:27:33.073918+00:00
2021-06-16T14:52:08
26a92d32d08262def40785e23d3fd2ce97dce715
{ "blob_id": "26a92d32d08262def40785e23d3fd2ce97dce715", "branch_name": "refs/heads/master", "committer_date": "2021-06-16T14:52:08", "content_id": "8bf7a09233eb31b0f0bf4de425530b266f24ce1f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "0caefdf7f55e3b9b14fd0baa5c65ee64792b21c0", "extensio...
stackv2
#ifndef H_MAT_INCLUDE #define H_MAT_INCLUDE #include "lib.h" #define max(a, b) ((a) > (b) ? (a) : (b)) #define min(a, b) ((a) < (b) ? (a) : (b)) #define random(a, b) ((rand() / (dt_float) RAND_MAX) * (b - a) + a) void vector_normalize(dt_float*, dt_int); void vector_softmax(dt_float*, dt_int); void vector_distance(d...
2.640625
3
2024-11-18T22:27:33.304403+00:00
2019-11-30T17:02:43
cfa2754a8d2a864691231fc8868c8b61113d3349
{ "blob_id": "cfa2754a8d2a864691231fc8868c8b61113d3349", "branch_name": "refs/heads/master", "committer_date": "2019-11-30T17:12:01", "content_id": "ba23bc431e2c98c818c2b6832c50f8fa6fd9f829", "detected_licenses": [ "MIT" ], "directory_id": "8e5c589b71eae337f3a1bbf5f2558b549814206d", "extension": "h"...
stackv2
#ifndef __CHARSET_H__ #define __CHARSET_H__ #ifdef __cplusplus extern "C" { #endif #include <types.h> ssize_t utf8_to_ucs4(u32_t * dst, size_t dsz, const char * src, size_t ssz, const char ** end); char * ucs4_to_utf8(u32_t * src, size_t ssz, char * dst, size_t dsz); ssize_t utf8_to_utf16(u16_t * dst, size_t dsz, c...
2.125
2
2024-11-18T22:27:34.843074+00:00
2017-12-14T12:35:57
e7e12cd8652ce33ab8a7a7bc234c350467fec061
{ "blob_id": "e7e12cd8652ce33ab8a7a7bc234c350467fec061", "branch_name": "refs/heads/master", "committer_date": "2017-12-14T12:35:57", "content_id": "a0ae0ff9c700ec2369a4de01277f396b184fca07", "detected_licenses": [ "MIT" ], "directory_id": "c8f3bf413e4d200287a522cb36f6847b1c8aaa30", "extension": "c"...
stackv2
#ifndef F_CPU #define F_CPU 16000000UL // 動作周波数に16MHzを指定 #endif #include <stdio.h> #include <stdlib.h> #include <avr/io.h> #include <util/delay.h> #include "lcd.h" #include "repl.h" #include "adc.h" #include "rpn.h" #include "interface.h" #include "types.h" void show_stack_count(void); /* ==== ==== ==== main lo...
2.328125
2
2024-11-18T22:27:34.930128+00:00
2010-12-13T13:50:55
8e2bacf55b273fe41a84a1a214a61d7d0c27d391
{ "blob_id": "8e2bacf55b273fe41a84a1a214a61d7d0c27d391", "branch_name": "refs/heads/master", "committer_date": "2010-12-13T13:50:55", "content_id": "259db9b99c2808f9a8a3bf8d6b5ead6f6203fa51", "detected_licenses": [ "BSD-3-Clause", "BSD-4-Clause" ], "directory_id": "055badb878fb662d18a60d1e50c05d92...
stackv2
/* * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson * All rights reserved. * * This software was developed by Robert Watson for the TrustedBSD Project. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
2.046875
2
2024-11-18T22:27:35.176787+00:00
2018-01-11T05:06:06
44efc184329fb712d22121c37ac645dd03179115
{ "blob_id": "44efc184329fb712d22121c37ac645dd03179115", "branch_name": "refs/heads/master", "committer_date": "2018-01-11T05:06:06", "content_id": "fe2d6c432332be81e41d1d56f1a1e306bcd503f8", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "d4eef0f9d9c0277ba2775633406828fd8803681b", "extens...
stackv2
#include <linux/module.h> #include <linux/fs.h> #include <linux/device.h> #include <linux/cdev.h> #include <asm/uaccess.h> static char hello_world[]="Hello World\n"; static dev_t hello_dev_number; static struct cdev *driver_object; static struct class *hello_class; static struct device *hello_dev; static int driver_...
2.484375
2
2024-11-18T22:27:39.902533+00:00
2020-10-08T13:44:31
43dc8465c8899c61875140b5f21baec3d7546b1f
{ "blob_id": "43dc8465c8899c61875140b5f21baec3d7546b1f", "branch_name": "refs/heads/master", "committer_date": "2020-10-08T13:44:31", "content_id": "fcf8796714b113813793d928dd1b2b5e25c1d65f", "detected_licenses": [ "MIT" ], "directory_id": "49b6f5f3f65f382157bbd255cbbb6b3efa289d1a", "extension": "c"...
stackv2
# include <AD9851.h> # include <stdio.h> u8 AD9851_FD=0x00; //倍频数 void (*_AD9851_Setfq)(u8 w0,double frequence); // AD9851_Init(ad9851_serial,1); // AD9851_Setfq(30000000); void ad9851_reset() { ad9851_w_clk=0; ad9851_fq_up=0; ad9851_rest=0; ad9851_rest=1; ad9851_rest=0; } void ad9851_reset_serial() { ad9851_w_clk...
2.421875
2
2024-11-18T22:27:40.333955+00:00
2019-06-28T16:34:00
80cbd8dbe4ebeac81ab026355c336cc167e59a2d
{ "blob_id": "80cbd8dbe4ebeac81ab026355c336cc167e59a2d", "branch_name": "refs/heads/master", "committer_date": "2019-06-28T16:34:00", "content_id": "645f31c4dc587475a290665e3563590c3ef44dea", "detected_licenses": [ "MIT" ], "directory_id": "b0aaf3fa84a20b08472c148c6bc27bd230da4b8f", "extension": "c"...
stackv2
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <jianhuizhao329@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 ...
2.015625
2
2024-11-18T22:27:40.488628+00:00
2023-05-31T14:21:53
2d57d0e50d67c63f492c1aa10b7930eb05d3e8c0
{ "blob_id": "2d57d0e50d67c63f492c1aa10b7930eb05d3e8c0", "branch_name": "refs/heads/main", "committer_date": "2023-05-31T14:21:53", "content_id": "fc3bedb3a3fa913d2c0cd0ef2a27c7e4565e4b53", "detected_licenses": [ "MIT" ], "directory_id": "089a5095283e7cd2d23553f17fcc4a2faa1ef98e", "extension": "c", ...
stackv2
/* You are given two binary trees root1 and root2. Return the merged tree Time: O(n) Space: O(1) As we reuse the trees */ struct TreeNode* mergeTrees(struct TreeNode* root1, struct TreeNode* root2){ if (root1==NULL) return root2; else if (root2==NULL) return root1; root1->val += root2->val...
3.234375
3
2024-11-18T22:27:40.551054+00:00
2012-04-20T15:23:56
deab8686cf06ff601ec6b9b1e8a2c8c396d68f46
{ "blob_id": "deab8686cf06ff601ec6b9b1e8a2c8c396d68f46", "branch_name": "refs/heads/master", "committer_date": "2012-04-20T15:23:56", "content_id": "6c65567abbed4cb6c8944a12ada46566a8e375ea", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "12fe6f12ab2c5f6bb9eaed1660b028999cf9175d", "extens...
stackv2
/* zlaswp.f -- translated by f2c (version 20050501). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
2.09375
2
2024-11-18T22:27:40.716352+00:00
2015-06-30T13:35:37
2944d20ec21b1b06b56a6b7abae9a621a5e65110
{ "blob_id": "2944d20ec21b1b06b56a6b7abae9a621a5e65110", "branch_name": "refs/heads/master", "committer_date": "2015-06-30T13:35:37", "content_id": "f4483655d9470e646d7c2cfc714c81fd3420a170", "detected_licenses": [ "MIT" ], "directory_id": "a7cddd66c2c1c444c3ad4cd9729efeaf76d0616f", "extension": "c"...
stackv2
#include "filter.h" filter_parameters_t g_filter; uint delay_remaining; input_filter_t g_input; void filter_update(uint ticks, uint arg1) { use(arg1); if (simulation_ticks != UINT32_MAX && ticks >= simulation_ticks) { spin1_exit(0); } // Update the filters input_filter_step(&g_input, true); // Apply...
2.40625
2
2024-11-18T22:27:41.036321+00:00
2023-07-29T21:54:06
77ce0f6f1a5016424f7a6890196c3a687015c1b7
{ "blob_id": "77ce0f6f1a5016424f7a6890196c3a687015c1b7", "branch_name": "refs/heads/master", "committer_date": "2023-07-29T21:54:06", "content_id": "8b4c7fb9397567190623a857e48d163859ab814a", "detected_licenses": [ "MIT" ], "directory_id": "84e97d818876d20fab9591ff9d88129acfcc4295", "extension": "h"...
stackv2
/* * halm/wq.h * Copyright (C) 2020 xent * Project is distributed under the terms of the MIT License */ /** * @file * Abstract Work Queue class. */ #ifndef HALM_WQ_H_ #define HALM_WQ_H_ /*----------------------------------------------------------------------------*/ #include <xcore/entity.h> #include <limits.h...
2.359375
2
2024-11-18T22:27:41.301143+00:00
2018-07-30T08:21:29
f9cf2de336e379acb6f5bd36ff0507812a2ae54d
{ "blob_id": "f9cf2de336e379acb6f5bd36ff0507812a2ae54d", "branch_name": "refs/heads/master", "committer_date": "2018-07-30T08:21:29", "content_id": "1700f0d668d217375a75cfd9a49423deb4d5c3f9", "detected_licenses": [ "MIT", "Apache-2.0" ], "directory_id": "8cc47d4b0d92063797cd50f339943dba1ed9f1a3", ...
stackv2
/** * \file fonctionsPartieUn.c * \brief fonctions relatives à la partie 1 */ #include "fonctionsPartieUn.h" /* * Determine le nombre N de couleurs differentes dans le tableau precedent, * et stocke ces couleurs dans un tableau Palette de 3 lignes et N colonnes */ int** creePalette(DonneesImageRGB *image, int *...
3.3125
3
2024-11-18T22:27:41.469441+00:00
2021-05-13T20:27:46
7978aa4618628018172b82371dcd97692a88919d
{ "blob_id": "7978aa4618628018172b82371dcd97692a88919d", "branch_name": "refs/heads/main", "committer_date": "2021-05-13T20:27:46", "content_id": "358ccd53609425a1dae70fdc630af56c381b352d", "detected_licenses": [ "MIT" ], "directory_id": "5a1d191687e0c784f09869f78b91b35c6b33ad40", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> #include <locale.h> #include <time.h> #include "headerv2.h" int main() { setlocale(LC_ALL,"portuguese"); /*__________________________________________exe1__________________________________*/ int resp, v; Elemento* lst; lst = lst_cria(); printf("quanta posi...
2.78125
3
2024-11-18T22:27:44.041563+00:00
2020-08-09T00:31:43
d6896ee151b97f0b66392b2c03956c9855e3a062
{ "blob_id": "d6896ee151b97f0b66392b2c03956c9855e3a062", "branch_name": "refs/heads/master", "committer_date": "2020-08-09T00:31:43", "content_id": "65c8484f7d104199d5c271be4a134c07d46dfe32", "detected_licenses": [ "MIT" ], "directory_id": "502ba3b537189fbe761bcbd2a63a8bc074211cb7", "extension": "c"...
stackv2
//////////////////////////////////////////////////////////////////////// // COMP2521 20T2 ... the Fury of Dracula // Map.c: an implementation of a Map type // You can change this as much as you want! // If you modify this, you should submit the new version. // // 2017-11-30 v1.0 Team Dracula <cs2521@cse.unsw.edu.au> //...
2.578125
3
2024-11-18T22:27:44.919104+00:00
2021-06-05T15:44:15
6998c20dd599e2e222b11ba7cc7fc8c3d7a29c0e
{ "blob_id": "6998c20dd599e2e222b11ba7cc7fc8c3d7a29c0e", "branch_name": "refs/heads/0856039", "committer_date": "2021-06-05T15:44:15", "content_id": "dedbd235cad70843cc90500fd7a4fccf900e54c8", "detected_licenses": [ "MIT" ], "directory_id": "b8ffedae00785f3740218d7c355771394068928d", "extension": "h...
stackv2
#pragma once static inline unsigned long timer_el0_get_freq() { unsigned long cntfrq; asm volatile("mrs %0, cntfrq_el0 \n" : "=r"(cntfrq) :); return cntfrq; } static inline unsigned long timer_el0_get_cnt() { unsigned long cntpct; asm volatile("mrs %0, cntpct_el0 \n" : "=r"(cntpct) :); return cntpct...
2.265625
2
2024-11-18T22:27:45.424828+00:00
2021-04-16T05:33:04
c94589712fb45cf7fa1ef83197792646217e7abd
{ "blob_id": "c94589712fb45cf7fa1ef83197792646217e7abd", "branch_name": "refs/heads/master", "committer_date": "2021-04-16T05:33:04", "content_id": "08583333c70ed1a1cd5768abcf30f080e29c3728", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7f29a5a2b94d68fc0ff0544fbba5d7f13af9f208", "extensio...
stackv2
// This source file is part of the Aument language // Copyright (c) 2021 the aument contributors // // Licensed under Apache License v2.0 // See LICENSE.txt for license information #pragma once #include <stdint.h> #include <stdlib.h> #include "context.h" #include "exception.h" #include "platform.h" #define LYRA_ARRA...
2.15625
2
2024-11-18T22:27:45.496275+00:00
2020-10-01T20:27:52
1473c92fcc6713c39ebb6aff59891a8ce36c76dc
{ "blob_id": "1473c92fcc6713c39ebb6aff59891a8ce36c76dc", "branch_name": "refs/heads/master", "committer_date": "2020-10-01T20:27:52", "content_id": "0009d3b35c50a59343e3dcd2f7c2fc39f2facf96", "detected_licenses": [ "MIT" ], "directory_id": "f4752ed453ae2b0758a4b3dd32bde1f149790c72", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> int main (){ int bMaior,bMenor,h,res; printf("Digite o valor da base maior: "); scanf("%d",&bMaior); printf("Digite o valor da base menor: "); scanf("%d",&bMenor); printf("Digite o altura do trapezio: "); scanf("%d",&h); if(bMaior...
3.203125
3
2024-11-18T22:27:45.580195+00:00
2023-08-20T06:13:11
c0cd89716b35765f88c5507f2aa22f886b4ceb7c
{ "blob_id": "c0cd89716b35765f88c5507f2aa22f886b4ceb7c", "branch_name": "refs/heads/master", "committer_date": "2023-08-20T06:13:11", "content_id": "091112463947c8c522d336d6b9b9c35e9f4fccb9", "detected_licenses": [ "MIT" ], "directory_id": "309e1045a872514f82e7b3987f97b38c28b03e41", "extension": "c"...
stackv2
const char *find_last_dirchar(const char *path, int ignore_trailing) { int i, len; if (path==NULL) return NULL; len = strlen(path); if (ignore_trailing) len -= 1; if (len <= 0) return path; for (i = len-1; i >= 0; i--) if (path[i] == '/' || path[i] == '\\') return &path[i]; return NULL; } char *r...
3.078125
3
2024-11-18T22:27:46.069826+00:00
2018-09-24T14:32:23
3153377ddda20e412b7bdc52a734d24931fb6f48
{ "blob_id": "3153377ddda20e412b7bdc52a734d24931fb6f48", "branch_name": "refs/heads/master", "committer_date": "2018-09-24T14:32:23", "content_id": "a76f20c57061c7904363471e51bea1f9cd9e210d", "detected_licenses": [ "MIT" ], "directory_id": "5c7b38c896bad76c8b1f113a8c59860a0aa5f16a", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <wchar.h> #include "printc.h" #include "checkalloc.h" // ================================= // ------- 𝙉𝙖𝙧𝙧𝙤𝙬 𝘾𝙝𝙖𝙧𝙖𝙘𝙩𝙚𝙧 ------- // ================================= // String-Print Centre void sprintc(const char *str, size_t len_ctr, ch...
3.109375
3
2024-11-18T22:27:46.253802+00:00
2015-02-07T12:28:10
57ef01ef62ba99bf5b99daebe5bcd82c41caf2ba
{ "blob_id": "57ef01ef62ba99bf5b99daebe5bcd82c41caf2ba", "branch_name": "refs/heads/master", "committer_date": "2015-02-07T12:28:10", "content_id": "a4c7e5f8bd3470a9de300d49ff886576b68e93c2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d109c8fd3d22fc7b1e6800efb7d85255f66b10b2", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #define MAX 32000 #define CHARS 20 typedef enum{false,true} bool; typedef enum{noob,easy,hard,OMGWTFBBQ} Level; typedef struct{ char value[CHARS]; struct node *next; } node; //weird, I know; but it works! node *insertValue(node *n, char in[CHARS]){ ...
3.375
3
2024-11-18T22:27:48.792937+00:00
2018-06-19T04:55:19
0e63c0a88f9abe6d564108f6c916953ca1e28801
{ "blob_id": "0e63c0a88f9abe6d564108f6c916953ca1e28801", "branch_name": "refs/heads/master", "committer_date": "2018-06-19T04:55:19", "content_id": "83c46fe1655d8ebf52ab3c03d71355ee65addda4", "detected_licenses": [ "MIT" ], "directory_id": "1157db3740fd6e5fef8cda68bfec114db65d8ac6", "extension": "h"...
stackv2
/* *---------------------------------------------------------------------- * Copyright (C) Seong-Woo Kim, 2018 * * 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 * restricti...
2.125
2
2024-11-18T22:27:48.893994+00:00
2021-05-25T02:45:58
787022330c4fab7d56989f94630dbff5575856ca
{ "blob_id": "787022330c4fab7d56989f94630dbff5575856ca", "branch_name": "refs/heads/main", "committer_date": "2021-05-25T02:45:58", "content_id": "3d7bfade116429c62ed97fac4ab89fcf260fd7b6", "detected_licenses": [ "MIT" ], "directory_id": "2df4793e4f113ad42629268b28d8f3287f906758", "extension": "c", ...
stackv2
#include <amdev.h> #include <SDL2/SDL.h> #include "../platform.h" #define KEYDOWN_MASK 0x8000 #define KEY_QUEUE_LEN 1024 static int key_queue[KEY_QUEUE_LEN] = {}; static int key_f = 0, key_r = 0; static SDL_mutex *key_queue_lock = NULL; #define XX(k) [SDL_SCANCODE_##k] = _KEY_##k, static int keymap[256] = { _KEYS(...
2.375
2
2024-11-18T22:27:49.007168+00:00
2013-07-16T09:00:15
fdd567eefa0a7f904f7f6c0dc6761be751e58bed
{ "blob_id": "fdd567eefa0a7f904f7f6c0dc6761be751e58bed", "branch_name": "refs/heads/master", "committer_date": "2013-07-16T09:00:15", "content_id": "3934d03719d8fe77afd6c52d17a2a250bb96de26", "detected_licenses": [ "MIT" ], "directory_id": "e8bfd9b5b1ce03bdc05f385f4523463149353d0d", "extension": "c"...
stackv2
/* * window_handler.c * * Does the SDL screen initialisation routines and creates the screen object. * * Created on: 17 Oct 2009 * Author: David */ #include "dt_logger.h" #include <SDL/SDL.h> #include <SDL/SDL_opengl.h> #include <SDL/SDL_ttf.h> #include "window_handler.h" #include "screen.h" #include "da...
2.5625
3
2024-11-18T22:27:52.442197+00:00
2021-08-19T02:05:56
da991513d5f8e044c3be705f32f9cd773df49219
{ "blob_id": "da991513d5f8e044c3be705f32f9cd773df49219", "branch_name": "refs/heads/master", "committer_date": "2021-08-19T02:05:56", "content_id": "aee5e1f5760412d70c28dbafb7d76bc9947df5a1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "163c67594e699f4e0625e690fdf59fe117be141c", "extensio...
stackv2
#if defined(_MSC_VER) #pragma warning(disable:4786) #endif // RW2STL -- inserted: #include <string> // End of RW2STL -- inserted includes. #include <math.h> #include <wit/src/wit.h> #include <scenario/src/difSFile.h> #include <scenario/src/scenario.h> // Return problem title std::string LgFrDataInterfaceSpecialPurp...
2.171875
2
2024-11-18T22:27:52.625290+00:00
2018-04-02T16:52:14
15244fa65213bd6da47b5e5ca3d621f9c93243fa
{ "blob_id": "15244fa65213bd6da47b5e5ca3d621f9c93243fa", "branch_name": "refs/heads/master", "committer_date": "2018-04-02T16:52:14", "content_id": "153c5fc5ede7df2ff678c888ddf9e8fa716602d9", "detected_licenses": [ "MIT" ], "directory_id": "51f728710570fe032a6286905de7c7e534b71ff3", "extension": "c"...
stackv2
#include "sdl2-ttf.h" #include "mruby/class.h" #include "mruby/data.h" #include "mruby/array.h" #include "mruby/hash.h" #include "mruby/string.h" #include "sdl2_rwops.h" #include "sdl2_surface.h" #include "sdl2_pixels.h" static struct RClass *class_Font = NULL; typedef struct mrb_sdl2_ttf_font_data_t { TTF_Fo...
2.046875
2
2024-11-18T22:27:52.704198+00:00
2023-03-19T12:00:50
0efa75f9c8c34a0357d3f48e0554a8ef67458311
{ "blob_id": "0efa75f9c8c34a0357d3f48e0554a8ef67458311", "branch_name": "refs/heads/master", "committer_date": "2023-03-19T12:00:50", "content_id": "ce9c7d1c4bf03648d65495503832d22405ffd676", "detected_licenses": [ "MIT" ], "directory_id": "b085331fe9d658eebeaac0e27a96ea963a6ee5fb", "extension": "c"...
stackv2
#include <stdio.h> //verify assumptions made by the program and print a diagnostic message if this assumption is false #include <assert.h> #include <stdlib.h> #include <string.h> struct Person { char *name; int age; int height; int weight; }; struct Person *Person_create(char *name, ...
3.578125
4
2024-11-18T22:27:52.848068+00:00
2020-04-28T13:20:30
07f07e084c23407478dda442bf2ebead9849909f
{ "blob_id": "07f07e084c23407478dda442bf2ebead9849909f", "branch_name": "refs/heads/master", "committer_date": "2020-04-28T13:20:30", "content_id": "32bd6fc2427817641be6a03e00156079f46e2160", "detected_licenses": [ "MIT" ], "directory_id": "e2584e44697a9abcbf85752c88a87a6ff1e7d25f", "extension": "c"...
stackv2
#include <stdio.h> #include <jni.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <math.h> #include <stdint.h> #include <string.h> #include<inttypes.h> #include "CPUScaler.h" #include "arch_spec.h" #include "msr.h" rapl_msr_unit rapl_unit; rapl_msr_parameter *parameters; char *ener_info; /*global...
2.15625
2
2024-11-18T22:27:52.955860+00:00
2013-11-14T13:45:40
9dc988592fef0aec6e837ee6d22a5d131d9e62e9
{ "blob_id": "9dc988592fef0aec6e837ee6d22a5d131d9e62e9", "branch_name": "refs/heads/master", "committer_date": "2014-03-17T11:38:57", "content_id": "02004543ce84aaa037e8b3c4dca8fa3007a8024a", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1e30f099b943619b733dddac436dfad444d1ae30", "extens...
stackv2
/* *------------------------------------------------------------------ * SRV lookup module * * July 2006, Dong Hsu * * Copyright (c) 2006-2008 by Cisco Systems, Inc. * All rights reserved. *------------------------------------------------------------------ */ #ifndef _SRV_LOOKUP_H_ #define _SRV_LOOKUP_H_ #in...
2.140625
2
2024-11-18T22:27:53.094685+00:00
2013-10-25T10:30:19
b556d42ff1d2cd71c758ae2d94c08eeed2a12cb7
{ "blob_id": "b556d42ff1d2cd71c758ae2d94c08eeed2a12cb7", "branch_name": "refs/heads/master", "committer_date": "2013-10-25T10:30:19", "content_id": "2d375c3f6f2c5bf5c0bf7e18c2834bba819744ba", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fc355dd50abb9e93b68f8d30daaf3fc9aea57757", "extensio...
stackv2
#ifndef __HANDLER_H__ #define __HANDLER_H__ #include <upil_event/upil_event_wrapper.h> typedef int (*MSG_PROCESSOR)(int fd, short events, void *userdata); typedef struct MSG{ // 指向下一个消息 struct MSG *next; struct MSG *prev; int what; int data_size; void* data; int flags; uint when; ...
2.46875
2
2024-11-18T22:27:53.473411+00:00
2022-06-25T05:13:47
bcfaa25828e455a140e0c891e58469c896505c5d
{ "blob_id": "bcfaa25828e455a140e0c891e58469c896505c5d", "branch_name": "refs/heads/master", "committer_date": "2022-06-25T05:13:47", "content_id": "e984bbebc1175aa338c6c76ab905e29cc94dcf4c", "detected_licenses": [ "MIT" ], "directory_id": "78455a04f3ac099cda54b86cba2b2440d5bebbfa", "extension": "c"...
stackv2
//===================================================================== // // inetsim.c - network simulator for IP-layer // // NOTE: // for more information, please see the readme file // //===================================================================== #include <stdio.h> #include <stdlib.h> #include <string.h> ...
2.40625
2
2024-11-18T22:27:53.691433+00:00
2022-11-24T19:58:32
d8ac4dc3f977d42ce65a411c8fc27baa09d8d344
{ "blob_id": "d8ac4dc3f977d42ce65a411c8fc27baa09d8d344", "branch_name": "refs/heads/master", "committer_date": "2022-11-24T19:58:32", "content_id": "a15b12d4528fe84aaa5b7c058b2cce2cc1f20461", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "ae41a6e8b1033015a5a622e4e7b5f90453632741", "extens...
stackv2
#ifndef _SYS_MMAN_H #define _SYS_MMAN_H #include <sys/types.h> #define PROT_NONE 0x00 /* page can not be accessed */ #define PROT_READ 0x01 /* page can be read */ #define PROT_WRITE 0x02 /* page can be written */ #define PROT_EXEC 0x04 /* page can be executed */ #define MAP_FAILED ((void *) -1) #define MAP_ANONY...
2.03125
2
2024-11-18T22:27:54.479192+00:00
2020-01-30T15:52:16
14012d72de775453eb8ef5651663ee98eb0c7df6
{ "blob_id": "14012d72de775453eb8ef5651663ee98eb0c7df6", "branch_name": "refs/heads/master", "committer_date": "2020-01-30T15:52:16", "content_id": "4f85ed3781d815b2aafc3c78b6a2c066936085ed", "detected_licenses": [ "MIT" ], "directory_id": "40de3da30239862f11a946166b50438174c2fd4e", "extension": "c"...
stackv2
inherit "room/room"; object demon; reset(arg) { /* Applying mobs */ if(!demon) { demon = clone_object("/wizards/gynter/area2/city2/mobs/priest"); move_object(demon, this_object()); } if(arg) return; /* Assigning exits */ add_exit("north","/wizards/gynter/area2/city2/temple1"); add_exit("south","/...
2.046875
2
2024-11-18T22:27:54.629357+00:00
2020-08-23T16:44:41
dbc976ef4c070e295e7977ba53ae71d1690cdf6d
{ "blob_id": "dbc976ef4c070e295e7977ba53ae71d1690cdf6d", "branch_name": "refs/heads/master", "committer_date": "2020-08-23T16:44:41", "content_id": "941d19d1c5279cb0819a002631adedcfb5758705", "detected_licenses": [ "MIT" ], "directory_id": "eaaaea0285f3a50432226616f7d627571e76d35a", "extension": "c"...
stackv2
/** * Copyright (c) 2016 Bradley Kim Schleusner < bradschl@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 * t...
2.5
2
2024-11-18T22:27:54.756892+00:00
2016-01-07T10:28:19
0cfe8ee0642bcab6b8db0b33cb895e08006e1a2e
{ "blob_id": "0cfe8ee0642bcab6b8db0b33cb895e08006e1a2e", "branch_name": "refs/heads/master", "committer_date": "2016-01-07T10:28:19", "content_id": "21df1e99af62b9a2d43b3d51e5ee8a3ee25beebe", "detected_licenses": [ "MIT" ], "directory_id": "dc7970f41f179599f0c766829d929ce056144e5f", "extension": "c"...
stackv2
/* * write_body_callback.c * * SOURCE: http://curl.haxx.se/libcurl/c/getinbody.html * * This function will be used to store the response's body after making a CURL request. */ #include "../lib/surehouse_client.h" size_t write_memory_callback(void *contents, size_t size, size_t nmemb, void *userp) { size_t re...
2.359375
2
2024-11-18T22:27:56.264614+00:00
2018-10-02T17:57:15
c163c762a3ea91979e8d4a07ef52629da9677e60
{ "blob_id": "c163c762a3ea91979e8d4a07ef52629da9677e60", "branch_name": "refs/heads/master", "committer_date": "2018-10-02T17:57:15", "content_id": "38467c18eb0d42a6c55682477c83044375daa42a", "detected_licenses": [ "MIT" ], "directory_id": "4ac06abbfcb4b6b9342461507dd0dc076512b7ab", "extension": "c"...
stackv2
/* ** my_putnbr_base.c for my_putnbr_base in /home/thibrex/delivery/CPool_Day06/tests ** ** Made by Cornolti Thibaut ** Login <thibrex@epitech.net> ** ** Started on Mon Oct 10 16:57:57 2016 Cornolti Thibaut ** Last update Sun Nov 6 22:23:28 2016 yann probst */ #include "my.h" static int my_putnbr_base_rec(long ...
2.890625
3
2024-11-18T22:27:56.553119+00:00
2019-10-03T13:23:58
afa5a529e14dd898060bf2677abf8426ec62a698
{ "blob_id": "afa5a529e14dd898060bf2677abf8426ec62a698", "branch_name": "refs/heads/master", "committer_date": "2019-10-03T13:23:58", "content_id": "0c1b4b74e5465587cd3a18b39cd6a419db717951", "detected_licenses": [ "ISC" ], "directory_id": "8cec890c4381dafe905e5f3567ca03144e003bea", "extension": "c"...
stackv2
/* * Copyright (c) 2018 Tim Kuijsten * * 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 IS" AND THE AUTHOR DISCLA...
2.421875
2
2024-11-18T22:27:56.870880+00:00
2019-03-23T11:30:03
91f254dcfa21233b724c07c6a59d7c875ef051c7
{ "blob_id": "91f254dcfa21233b724c07c6a59d7c875ef051c7", "branch_name": "refs/heads/master", "committer_date": "2019-03-23T11:30:03", "content_id": "c9e60e4a8a9fbf63eb402f133d6ea1a5fd52854d", "detected_licenses": [ "MIT" ], "directory_id": "51fd46c3417de6133e00e46d666247d0385c8b65", "extension": "c"...
stackv2
#include "editlook.h" #include <candle.h> #include <systems/window.h> #include <systems/editmode.h> #include <components/spatial.h> #include <components/camera.h> /* #include <components/camera.h> */ #include <systems/mouse.h> #include <systems/keyboard.h> #include <math.h> void c_editlook_init(c_editlook_t *self) { ...
2.234375
2
2024-11-18T22:27:57.593371+00:00
2017-12-10T09:48:32
de132b890bae7823c3b0da800cc8c85d619eee0b
{ "blob_id": "de132b890bae7823c3b0da800cc8c85d619eee0b", "branch_name": "refs/heads/master", "committer_date": "2017-12-10T09:48:32", "content_id": "5b2939cb4ca29821eab5c0c9accd3789c39f969b", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a28453e0da3e3f7612f4b78ad9fdc6a9a4624e85", "extens...
stackv2
#include <assert.h> #include <inttypes.h> /* PRIu32 */ #include <stdint.h> /* uintptr_t */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "err.h" #include "strhash.h" /* #include "strhash_priv.h" */ #define _MASK(a) ((a) - 1) #define ROUNDUP(v, a) (((uintptr_t)(v) + _MASK(a)) & ~(_MASK(a))) #de...
2.59375
3
2024-11-18T22:27:58.763788+00:00
2013-07-02T21:57:15
22a6bf0a62f8c18b407c30b8fae245203772873d
{ "blob_id": "22a6bf0a62f8c18b407c30b8fae245203772873d", "branch_name": "refs/heads/master", "committer_date": "2013-07-02T22:22:56", "content_id": "2c01a8f2a4abf53b800d195cf20f2f33a20bb282", "detected_licenses": [ "Apache-2.0" ], "directory_id": "970f7026aa5e5bfedd59a4d7a86f57eab658684b", "extensio...
stackv2
/** * Copyright 2013 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
2.078125
2
2024-11-18T22:27:58.834762+00:00
2020-09-02T17:44:19
18b76324b66c85500d0287efedc20c63441a6c95
{ "blob_id": "18b76324b66c85500d0287efedc20c63441a6c95", "branch_name": "refs/heads/master", "committer_date": "2020-09-02T17:44:19", "content_id": "14db187f9ea87874cfd5712b3dde38ecb609022e", "detected_licenses": [ "MIT" ], "directory_id": "dc5307a927562518ba1209e4e251ecd7182518ef", "extension": "c"...
stackv2
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "../headers/piece_logic.h" #define CHESS_PIECE 64 #define LENGTH(x) (sizeof(x) / sizeof((x)[0])) static const char *white_pieces[6] = {"./assets/chess_pieces/white/piece_white_rook.png", "./assets/chess_pieces/w...
2.3125
2
2024-11-18T22:27:59.175813+00:00
2021-01-17T09:40:35
583689698fe2b9f50ae429f4d593472fe23de9e9
{ "blob_id": "583689698fe2b9f50ae429f4d593472fe23de9e9", "branch_name": "refs/heads/main", "committer_date": "2021-01-17T09:40:35", "content_id": "664499af44b0a0d39eb8aad7e7dfc17dd3ab9df6", "detected_licenses": [ "MIT" ], "directory_id": "3581a2984050468b3f315aef0f11eb6371136e6e", "extension": "h", ...
stackv2
//radio module independent code for the void PKTgenerator(){ oled.clear(); oled.println(F(" PACKET GENERATOR")); if(RadioInit()) oled.println(F("LoRa module OK!")); RadioSet(); delay(500); //Request the user the number of packet to send oled.print(F("PKT to send? ")); oled.setCursor(94, 2); oled.print...
2.15625
2
2024-11-18T22:27:59.333749+00:00
2020-09-23T06:53:12
1bab8966c0e09969f822c1ef34870eda7074d0c6
{ "blob_id": "1bab8966c0e09969f822c1ef34870eda7074d0c6", "branch_name": "refs/heads/master", "committer_date": "2020-09-23T06:53:12", "content_id": "c705f59a2692ea6f699edf1a4be9c5bca8032f62", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "0191ba33e5348e19fcbdc039aecbf2a81cc96763", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <mysql.h> #include <errno.h> #include "mysql_sendmail.h" #define CONF_FILE "/etc/mail/mail.conf" #define BUF_SIZE 128 MYSQL mysql; MYSQL_RES *result; my_ulonglong num_rows; my_ulonglong num_fields; char *mysql_alias; MYSQL_ROW fi...
2.234375
2
2024-11-18T22:28:01.432405+00:00
2020-01-21T17:11:41
a10f6b6d55513245e98ac622a37f816a14115b0f
{ "blob_id": "a10f6b6d55513245e98ac622a37f816a14115b0f", "branch_name": "refs/heads/master", "committer_date": "2020-01-21T17:11:41", "content_id": "cb8c295a196f258b4d0837507109c5277e468068", "detected_licenses": [ "Unlicense" ], "directory_id": "a601ee1789e3891495d74e9e782fc3e323f8ad8c", "extension...
stackv2
#ifndef SUBTREE_BATCH_SIGN_H #define SUBTREE_BATCH_SIGN_H #include "params.h" #include <stdint.h> // When changing the subtree height, make sure that the type used for the // subtree height index is still large enough to capture all indices. // That is, ensure that STS_SUBTREE_HEIGHT < sizeof(TSUBTREE_IDX) * 8 typede...
2.078125
2
2024-11-18T22:28:01.521322+00:00
2018-06-11T18:42:16
b93a2938fcf1fb0efe8dea2c161aee518cf691b0
{ "blob_id": "b93a2938fcf1fb0efe8dea2c161aee518cf691b0", "branch_name": "refs/heads/master", "committer_date": "2018-06-11T18:42:16", "content_id": "97569e10956f69c65ed8fea76166ceea5e20ebb5", "detected_licenses": [ "MIT" ], "directory_id": "6891e26b35b9a9e2536b08ae41766a5c02c9726b", "extension": "c"...
stackv2
#include "Kalman.h" Matrix CreateInitialP(int N) { Matrix initialP = CreateEmptyMatrix(2 * N, 2 * N); for (int i = 0; i < initialP.row; i++) initialP.content[i][i] = 10; //printf("------ P0 Matrix------\n"); //PrintMatrix(initialP); return initialP; }
2.4375
2
2024-11-18T22:28:01.660573+00:00
2018-05-23T06:55:18
a17ceb10037aec2c105aba5d87f3f02e9f266cb2
{ "blob_id": "a17ceb10037aec2c105aba5d87f3f02e9f266cb2", "branch_name": "refs/heads/master", "committer_date": "2018-05-23T06:55:18", "content_id": "f8c7060ee486fd721ff2a8dbfa5ea0fb84f60e18", "detected_licenses": [ "MIT" ], "directory_id": "2bc3398063fd7251c46a2d93d2e301cd063befcd", "extension": "c"...
stackv2
// piaoyi-shenfa.c 飘翼身法 // by Lonely inherit SKILL; string *dodge_msg = ({ "$n身子猛然贴地向后滑出丈余,好似有人用绳缚住以快迅无纶的手法向后扯动一般。\n", "$n双膝不曲,腰不弯,陡然滑出,身子之僵硬怪诡,又和僵尸无异。\n", "不见$n提足抬脚,突然之间倒退丈余,一转身。已在数丈之外。\n", "只听得呼的一声,$n身子笔直的向空中飞起,直至丈余高,躲过了这一招。\n", "$n陡然身形拔起,在空中急速盘旋,连转四个圈子,愈转愈高,一个转折落在数丈之外。\n", ...
2.265625
2
2024-11-18T22:28:01.739077+00:00
2019-12-05T07:13:13
f4644f80f46bb888d467da8fb6dc9d26dc46aa30
{ "blob_id": "f4644f80f46bb888d467da8fb6dc9d26dc46aa30", "branch_name": "refs/heads/master", "committer_date": "2019-12-05T07:13:13", "content_id": "80f7202408076048c09f0550a32ff917ec9bf1f6", "detected_licenses": [ "MIT" ], "directory_id": "1aed92b49d7410165082897fbb89c604da517e13", "extension": "c"...
stackv2
/*------------------------------------------------------------------------------ * File Name: merge-sort.c * Purpose: Merge sort * * Author: Ke Wang * * Created: 2019-11-14 * Copyright: (c) Ke Wang 2019 * Licence: <your licence> *--------------------------------------------------------------------...
3.890625
4
2024-11-18T22:28:02.091803+00:00
2019-09-04T08:51:31
83bf7cbabf4ea8f1ce7403c533a0c254f54ab1ab
{ "blob_id": "83bf7cbabf4ea8f1ce7403c533a0c254f54ab1ab", "branch_name": "refs/heads/master", "committer_date": "2019-09-04T08:51:31", "content_id": "42b183ba99d778bbb130dcdab8a57117922983d1", "detected_licenses": [ "MIT" ], "directory_id": "ba0bea32800cbc0d4e8e4ef9e8cedf87beeb0148", "extension": "c"...
stackv2
#include <stdio.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> #include <pthread.h> #include <time.h> #include <signal.h> #include <stddef.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <stdlib.h> #include <sys/wait.h> #include <string.h> #include <sign...
2.203125
2
2024-11-18T22:28:02.722583+00:00
2021-09-13T19:34:20
e4340a2d85c9404f15097d8c05c36ae343942b51
{ "blob_id": "e4340a2d85c9404f15097d8c05c36ae343942b51", "branch_name": "refs/heads/master", "committer_date": "2021-09-13T19:34:20", "content_id": "d27adf4e69e64ac6ca1f2aa4fbdeae3c110f4c95", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "2c634326cf57c8fc06af5865423a471dada6dab2", "extens...
stackv2
/** * Copyright (C) Mellanox Technologies Ltd. 2020-2021. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #include "mc_cpu.h" #include "reduce/mc_cpu_reduce.h" #include "utils/ucc_malloc.h" #include <sys/types.h> static ucc_config_field_t ucc_mc_cpu_config_table[] = { {"", "", NULL, ucc_offsetof(ucc_...
2.40625
2
2024-11-18T22:28:03.568350+00:00
2023-08-18T12:54:06
5a95f9985b9d4bd029745b895de447744d97b146
{ "blob_id": "5a95f9985b9d4bd029745b895de447744d97b146", "branch_name": "refs/heads/master", "committer_date": "2023-08-18T12:54:06", "content_id": "49ba61a936c0daf64d4aa8e6b09aae6b5f1fbb6a", "detected_licenses": [ "MIT" ], "directory_id": "22446075c2e71ef96b4a4777fe966714ac96b405", "extension": "c"...
stackv2
/*! * \file * \brief Current Click example * * # Description * This is an example that shows the capabilities of the Current click board * by measuring current in miliampers. Current click board can be used to safely * measure DC current in the range of 2-2048mA depending on shunt resistor. * * The demo app...
2.921875
3
2024-11-18T22:28:03.696840+00:00
2018-12-06T01:11:21
b2ae3f376dac67e392f8675efc5479ae59a7ddf4
{ "blob_id": "b2ae3f376dac67e392f8675efc5479ae59a7ddf4", "branch_name": "refs/heads/master", "committer_date": "2018-12-06T01:11:21", "content_id": "5a8fe52483460d997e52a177d1c596411fa62f62", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6347ce28067e711e39ba666d4021ed0ce8a17d38", "extensio...
stackv2
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this f...
2.25
2
2024-11-18T22:28:03.757044+00:00
2020-09-07T17:57:44
483e3cd32320746e3c2ff1e65ef46b324602eb00
{ "blob_id": "483e3cd32320746e3c2ff1e65ef46b324602eb00", "branch_name": "refs/heads/master", "committer_date": "2020-09-07T17:57:44", "content_id": "ea9515121d2042f0f0aed5456098c1ec78d8dbef", "detected_licenses": [ "MIT" ], "directory_id": "850cad664e49dc74170d029e74acca9d574b1866", "extension": "c"...
stackv2
/** * Author: Juan Jose Olivera * Name: WAV Reader * Description: A custom implemented WAV reader program * * Version: 0.1.0 * * Using RIFF WAV Spec: https://www.lpi.tel.uva.es/~nacho/docencia/ing_ond_1/trabajos_01_02/formatos_audio_digital/html/wavformat.htm * Additional RIFF Spec for LIST segment: https://w...
2.9375
3
2024-11-18T22:28:03.813111+00:00
2015-01-15T11:39:14
8dc0c29eef7b9fd96fca6a0408dd6cdc062efe52
{ "blob_id": "8dc0c29eef7b9fd96fca6a0408dd6cdc062efe52", "branch_name": "refs/heads/master", "committer_date": "2015-01-15T11:39:14", "content_id": "d3164c25ba52be2414d571c8312b829e43417d43", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7c6fce2cf48c36841130499e8f5aced4464671d9", "extens...
stackv2
#include "everykey/everykey.h" #include "everykey_usb/keyboard.h" #define LED_PORT 0 #define LED_PIN 7 #define KEY_PORT 0 #define KEY_PIN 1 #define TYPING_DIVIDER 11 /** these variables are needed by the Keyboard implementation. USB peripherals don't allocate memory by themselves, so we have to give some memory to t...
2.484375
2
2024-11-18T22:28:04.374926+00:00
2021-09-06T20:06:08
9941fecf1ba69fc6221f67bf78e54574e42931da
{ "blob_id": "9941fecf1ba69fc6221f67bf78e54574e42931da", "branch_name": "refs/heads/main", "committer_date": "2021-09-06T20:06:08", "content_id": "03280fa92d8bfa98e6f13037e9e5fdb5e1f1e105", "detected_licenses": [ "MIT" ], "directory_id": "652c9a7e6f7f801a77c0df63d7ddce3cba4c5c00", "extension": "h", ...
stackv2
#pragma once #include <brutal/alloc/base.h> #include <brutal/gfx/color.h> #include <brutal/gfx/format.h> #include <brutal/math/rect.h> typedef struct { int width; int height; int pitch; GfxPixelFormat format; void *buffer; size_t size; } GfxSurface; typedef struct { GfxSurface surface; ...
2.75
3