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-19T01:57:25.544767+00:00
2017-08-05T03:03:11
344814a52cb0569fa9d7342cdd81d21f0f842152
{ "blob_id": "344814a52cb0569fa9d7342cdd81d21f0f842152", "branch_name": "refs/heads/master", "committer_date": "2017-08-05T03:03:11", "content_id": "315fbdab91d989d156ad3e26668778bfc4b5d4ca", "detected_licenses": [ "MIT" ], "directory_id": "2349f4e5ad4adf2566f487e30caae046cacb88ba", "extension": "h"...
stackv2
#ifndef __PARSER_H__ #define __PARSER_H__ //#include "ch.h" #include <ctype.h> #include <inttypes.h> #include "debug.h" /* * Matchers */ /** * @brief 1 if matched, 0 if fail, -1 if partial match */ typedef int8_t match_result_t; #define MATCH_SUCCESS 1 #define MATCH_FAILED 0 #define MATCH_PARTIAL -1 /** * @...
2.140625
2
2024-11-19T01:57:25.811419+00:00
2023-08-17T08:07:43
f265d5bc9b84d0cdd33c2fdbb43cd687f45db844
{ "blob_id": "f265d5bc9b84d0cdd33c2fdbb43cd687f45db844", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T08:07:43", "content_id": "b6d5a03f8a4e1e8bbc9203a32602e0f05d13548f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3eb3c4046b17e265930aaf89fa93f41896f243cb", "extensio...
stackv2
/* * Copyright (c) 2017 The University of Manchester * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
2.015625
2
2024-11-19T01:57:25.939784+00:00
2023-05-06T02:04:24
efdbf6c90de9bbfc7f4aa41d7136e1771a460314
{ "blob_id": "efdbf6c90de9bbfc7f4aa41d7136e1771a460314", "branch_name": "refs/heads/master", "committer_date": "2023-05-06T02:04:24", "content_id": "a9a487544464e35d2da2bf0fe71128bf87fd520c", "detected_licenses": [ "BSD-3-Clause", "Apache-2.0" ], "directory_id": "c0bfd93cd7f26a271268e504959256f1e0...
stackv2
/* * Doubly-linked list * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this software may be distributed unde...
2.625
3
2024-11-19T01:57:26.223698+00:00
2023-07-26T15:59:33
c6cec5af536d01865598269a95fa7075e7302183
{ "blob_id": "c6cec5af536d01865598269a95fa7075e7302183", "branch_name": "refs/heads/master", "committer_date": "2023-07-26T15:59:33", "content_id": "3734ec63b0309d69f9436bec2bb10c8fe1d16d1c", "detected_licenses": [ "MIT" ], "directory_id": "8b30392d299a5a4a00c7430cdb8466915316fc9a", "extension": "c"...
stackv2
//------------------------------------------------------------------------- // // The MIT License (MIT) // // Copyright (c) 2013 Andrew Duncan // // 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 Sof...
2.0625
2
2024-11-19T01:57:26.383583+00:00
2023-08-04T04:26:58
da312169dfc9522b6a13e14674c36a2f2c618a47
{ "blob_id": "da312169dfc9522b6a13e14674c36a2f2c618a47", "branch_name": "refs/heads/master", "committer_date": "2023-08-04T04:26:58", "content_id": "e5820c0ed69506e820671893d3ad3d7dc835f580", "detected_licenses": [ "MIT" ], "directory_id": "f9316baf8eb1e65530b163a02c1134d059c145ff", "extension": "c"...
stackv2
/*++ Copyright (c) 1993 Microsoft Corporation Module Name: mapmem.c Abstract: A simple driver sample which shows how to map physical memory into a user-mode process's adrress space using the Zw*MapViewOfSection APIs. Environment: kernel mode only Notes: For the sake of simplicity this ...
2.078125
2
2024-11-19T01:57:26.455287+00:00
2021-09-05T22:59:13
92153c242dc0fb2c4bae6213f39809c0d448cfe0
{ "blob_id": "92153c242dc0fb2c4bae6213f39809c0d448cfe0", "branch_name": "refs/heads/master", "committer_date": "2021-09-05T22:59:13", "content_id": "b1768cfef9990909d8e34fcb240f538bd79e5707", "detected_licenses": [ "MIT" ], "directory_id": "bcf2e1c0ca46aed1064d1b6e392ae27672112a5f", "extension": "c"...
stackv2
/****************************************************** * Author: Dazong Chen * Date: 09.04.2021 * Reference: * 1. https://pubs.opengroup.org/onlinepubs/007904975/functions/write.html * 2. https://makefiletutorial.com/ *******************************************************/ #include <stdio.h> #include <stdlib.h> #incl...
2.859375
3
2024-11-19T01:57:28.237680+00:00
2018-07-17T08:57:00
61bbab29a9c57e3856f6811bf02d0f02e0c35be5
{ "blob_id": "61bbab29a9c57e3856f6811bf02d0f02e0c35be5", "branch_name": "refs/heads/master", "committer_date": "2018-07-17T08:57:00", "content_id": "a9b75de3058912b7676a9e312cbfa782f97145c8", "detected_licenses": [ "MIT" ], "directory_id": "ce0ebc52bf25c8f5ac4af953609c5c7e829ccbcc", "extension": "h"...
stackv2
/*** * [ Project ] bcdc app * [ Module ] * [ Description ] BCDC Tx interface, including Tx,Txin,Txout structure,Address Verifier, Coin Selection Policy * [ Note ] */ #include <stdint.h> #include <string.h> #include <stdlib.h> #include "sha256.h" #include "tx_err.h" #define FEE_RATE_UNIT 4500...
2.4375
2
2024-11-19T01:57:28.393833+00:00
2018-05-29T10:10:12
d65ced010a3237cfc428c6cef9016731d8de8b30
{ "blob_id": "d65ced010a3237cfc428c6cef9016731d8de8b30", "branch_name": "refs/heads/master", "committer_date": "2018-05-29T10:10:12", "content_id": "b4d9211feee259149eeed8896730022341b0180f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "1579ef29138777b49e23646a88c58887b475254f", "extens...
stackv2
/*****************************************************************************/ /* */ /* 朱松的图像处理平台 */ /* */ /* FileNa...
2.28125
2
2024-11-19T01:57:28.537864+00:00
2017-08-07T20:50:07
475cfc30873e132a1a578c9ec79f4556ee9f11ac
{ "blob_id": "475cfc30873e132a1a578c9ec79f4556ee9f11ac", "branch_name": "refs/heads/master", "committer_date": "2017-08-07T20:50:07", "content_id": "52a21f2336ab689900e32b91c1676fac237fc16f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "828873f66cd167083693892f3fb919e7af4b1af8", "extens...
stackv2
/* * Copyright 2012, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of cond...
2.03125
2
2024-11-19T01:57:29.843087+00:00
2020-04-18T00:22:14
c188ced117d0e7ee83375a63120c3443fffabb42
{ "blob_id": "c188ced117d0e7ee83375a63120c3443fffabb42", "branch_name": "refs/heads/master", "committer_date": "2020-04-18T00:22:14", "content_id": "6f0772a588d82ab5693c07742ca372a335547636", "detected_licenses": [ "MIT" ], "directory_id": "2ee4c423423536be349fa5738dbca0c5c91a9f7b", "extension": "c"...
stackv2
/*! @file MPISum.c @brief Functions to compute the sum across MPI ranks @author Debojyoti Ghosh */ #ifndef serial #include <mpi.h> #endif /*! Compute the global sum over all MPI ranks in a given communicator for \a int datatype. + If \a var is an array of size greater than 1, \a global will be an array ...
3.015625
3
2024-11-19T01:57:30.246453+00:00
2014-07-01T17:59:32
396e9f274a42170e398b4938f94ab44dcf7ac59d
{ "blob_id": "396e9f274a42170e398b4938f94ab44dcf7ac59d", "branch_name": "refs/heads/master", "committer_date": "2014-07-01T17:59:32", "content_id": "288eb47943c6bba772d8475a770c89223cd0b5dc", "detected_licenses": [ "Apache-2.0" ], "directory_id": "92627ba0bcb1dedd09a6941103e6b624db36cb43", "extensio...
stackv2
#ifndef _MAIN_C_ #define _MAIN_C_ #include <time.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include "lbm_model.h" #include "initialization.h" #include "streaming.h" #include "streaming_gpu.h" #include "collision.h" #include "collision_gpu.h" #include "boundary.h" #include "boundary_gpu.h" #include "...
2.453125
2
2024-11-19T01:57:31.256922+00:00
2019-09-19T03:43:44
6c0ee92516da4abd8c73f68a29095e160c4d2a61
{ "blob_id": "6c0ee92516da4abd8c73f68a29095e160c4d2a61", "branch_name": "refs/heads/master", "committer_date": "2019-09-19T03:43:44", "content_id": "3670597d7895529a16d7d0e164fdad63a3fcb76f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7e5cab9dfdae0cfc53d124d26d7acc1b2efafe30", "extensio...
stackv2
// 合并两个有序的链表 /* 将两个有序链表合并为一个新的有序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例: 输入:1->2->4, 1->3->4 输出:1->1->2->3->4->4 */ /** * Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */ #include <stdio.h> void mergeTwoSortedListsExample(void);
2.453125
2
2024-11-19T01:57:31.558797+00:00
2018-02-24T09:17:10
8f14aeb56929bdae30635ab6d0010c02a8edf788
{ "blob_id": "8f14aeb56929bdae30635ab6d0010c02a8edf788", "branch_name": "refs/heads/master", "committer_date": "2018-02-24T09:17:10", "content_id": "aed959a42e143298bbab91420a5f70a8b8442525", "detected_licenses": [ "MIT" ], "directory_id": "a9dfa872766fc214de804e5ee33ca580c5ead456", "extension": "c"...
stackv2
#include "stdio.h" #include "conio.h" #include "string.h" #include "stdlib.h" /*链式堆栈*/ typedef struct node /*堆栈元素 */ { char item[10]; struct node *next; }Node; typedef struct stack /*堆栈 */ { Node *top; }Stack; /*链式队列 */ typedef struct queueNode { char item[10]; struct queueNode *next; }QueueNo...
3.328125
3
2024-11-19T01:57:32.412554+00:00
2017-01-17T16:53:14
75fa1d3a78353308cf8c134be153969222a2aba0
{ "blob_id": "75fa1d3a78353308cf8c134be153969222a2aba0", "branch_name": "refs/heads/master", "committer_date": "2017-01-17T16:53:14", "content_id": "31b750639527d792122a0eb256f459f215816c8f", "detected_licenses": [ "MIT" ], "directory_id": "6503369fd01bb58d0d0e3fbcddfea44836f72462", "extension": "c"...
stackv2
#include "types.h" #include "stat.h" #include "user.h" void processLoop() { for (int i=1 ; i <= 50 ; i++) { printf(1 , "process <%d> is printing for the <%d> time.\n" , getpid() , i); } } int main(void) { printf(1 , "Father pid is <%d>\n" , getpid()); sleep(1000); in...
2.546875
3
2024-11-19T01:57:32.591298+00:00
2020-10-19T22:39:55
0f64909eee092ac55b074a34bc3eef6a765b37e4
{ "blob_id": "0f64909eee092ac55b074a34bc3eef6a765b37e4", "branch_name": "refs/heads/master", "committer_date": "2020-10-19T22:39:55", "content_id": "63ea8784d97b78b18c6959a5e055554dba806d9c", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "bcb063a3a964400d3816ecb4fb14fb1706795d43", "extens...
stackv2
#include "setup.h" #include <rte_eal.h> #include <rte_ethdev.h> #include <rte_cycles.h> #include <rte_lcore.h> #include <rte_mbuf.h> #include <rte_flow.h> #include "flow.h" #include "../../MBus-Shared/src/mbus_common.h" /*******************************************************************************/ struct MainCo...
2.125
2
2024-11-19T01:57:33.856746+00:00
2021-02-02T11:55:53
5138dcaa1a4562634cf3786792fa2ffd2903b3ed
{ "blob_id": "5138dcaa1a4562634cf3786792fa2ffd2903b3ed", "branch_name": "refs/heads/master", "committer_date": "2021-02-02T11:55:53", "content_id": "2244b45add18ae902d019f8857e628c2d80c685e", "detected_licenses": [ "MIT" ], "directory_id": "abf7f58b1e1e88dce669131cee656878feb0d5fc", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #include "treeClassifier.h" int main() { srand(time(NULL)); printf("Loading training dataset...\n"); dataset* data=csv_to_dataset("datasets/test.csv"); dataset* train=sample_dataset(data,ll_len(&data->lines)/2,"colour"); dataset* prune=sample...
2.671875
3
2024-11-19T01:57:33.965564+00:00
2021-07-31T16:40:07
ebc41a3da92e94b722cf80f5bb1f64b5f737f157
{ "blob_id": "ebc41a3da92e94b722cf80f5bb1f64b5f737f157", "branch_name": "refs/heads/master", "committer_date": "2021-07-31T16:40:07", "content_id": "fc9f7c3a75546cc0804abcae3ad94f9c13455517", "detected_licenses": [ "MIT" ], "directory_id": "8a4f7a2118ea2fa79cc9bf30f11bf142f7a5f9ee", "extension": "c"...
stackv2
// // T14-II_jian-sheng-zi-ii-lcof.c // algorithm // // Created by Ankui on 4/25/21. // Copyright © 2021 Ankui. All rights reserved. // // https://leetcode-cn.com/problems/jian-sheng-zi-ii-lcof/ #include "T14-II_jian-sheng-zi-ii-lcof.h" #include "algorithm-common.h" int __cuttingRope(int n) { if (n < 4) { r...
2.46875
2
2024-11-19T01:57:34.037165+00:00
2020-10-02T04:13:42
3f49d2b36f0f253344a01e59875cd4702c7c8bce
{ "blob_id": "3f49d2b36f0f253344a01e59875cd4702c7c8bce", "branch_name": "refs/heads/master", "committer_date": "2020-10-02T04:13:42", "content_id": "871bfaeed878d3cc52b7edf9195ca881a10eec70", "detected_licenses": [ "MIT" ], "directory_id": "3fadfe7aea65e0fef21c1f8552fa8f8d1fa12278", "extension": "c"...
stackv2
#include "header.h" void pwd(char *line) { char *token = line; token = strtok(NULL, " \"\n\t\r"); if (token != NULL) { perror("can't use parameters"); return; } char *buff = (char *)malloc(sizeof(char) * 10000); buff = getcwd(NULL, 0); printf("%s", buff); printf("\...
2.5
2
2024-11-19T01:57:34.107724+00:00
2019-06-20T22:10:07
3818053f3788a58fd21ab9c8d654d93c8a92f651
{ "blob_id": "3818053f3788a58fd21ab9c8d654d93c8a92f651", "branch_name": "refs/heads/master", "committer_date": "2019-06-20T22:10:07", "content_id": "199036df20298782f4bf7ce594819cf8b73d43fd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7a7535a4af0595d96dcef9c777ddd9c7bcd2c507", "extens...
stackv2
// // Copyright © Daniel Shervheim, 2019 // danielshervheim@gmail.com // www.github.com/danielshervheim // #include "common.h" #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int is_valid_address(const char *address, int *err) { if (strlen(address) <= 0) { *err = -1; return 0; } ...
2.75
3
2024-11-19T01:57:34.288371+00:00
2021-11-04T15:45:45
8cc2428278de7b3c7ddf46f7366df8c83618cedc
{ "blob_id": "8cc2428278de7b3c7ddf46f7366df8c83618cedc", "branch_name": "refs/heads/main", "committer_date": "2021-11-04T15:45:45", "content_id": "048d78ded1166874f5a1c602e86824ecce0527eb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3abba4d6e28ece426c576dcf3276b5cf4a32de13", "extension"...
stackv2
#include <stdint.h> #include <stddef.h> #include "common/util.h" #include "mq.h" #define BL_MSG_QUEUE_COUNT 76 #if (BL_MSG_QUEUE_COUNT % BL_ACQ_CHANNEL_COUNT) #warning "Message queue size should be a multiple of channel count" #endif #if (BL_MSG_QUEUE_COUNT / BL_ACQ_CHANNEL_COUNT < 2) #error "Message queue must ha...
2.0625
2
2024-11-19T01:57:34.798054+00:00
2013-08-14T09:51:32
509747dfcd35f5374ffb75b184860603b3fe319a
{ "blob_id": "509747dfcd35f5374ffb75b184860603b3fe319a", "branch_name": "refs/heads/master", "committer_date": "2013-08-14T09:51:32", "content_id": "56afef7d4f2cc3bdbd8375523d918e4479e3b82b", "detected_licenses": [ "MIT" ], "directory_id": "83ab06608e0edee3b9dafcd48405a4e26e48fe3a", "extension": "c"...
stackv2
/* Copyright © 1979-1999 Udanax.com. All rights reserved. * This code is licensed under the terms of The Udanax Open-Source License, * which contains precisely the terms of the X11 License. The full text of * The Udanax Open-Source License can be found in the distribution in the file * license.html. If this file ...
2.03125
2
2024-11-19T01:57:37.687677+00:00
2023-08-19T11:37:33
e7e9a64a600219e1616edd9d214638826c3996ba
{ "blob_id": "e7e9a64a600219e1616edd9d214638826c3996ba", "branch_name": "refs/heads/master", "committer_date": "2023-08-19T11:37:33", "content_id": "814d1bf3192227f23d5ff78703c50cbf1fa54a8d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a2de8f06f6f07a670f74779d8491eac4bf3b982f", "extens...
stackv2
/* arpack-ng\SRC\dsconv.f -- translated by f2c (version 20100827). */ #include <math.h> #include "arpack_internal.h" /** * \BeginDoc * * \Name: dsconv * * \Description: * Convergence testing for the symmetric Arnoldi eigenvalue routine. * * \Usage: * call dsconv * ( N, RITZ, BOUNDS, TOL, NCONV ) * *...
2.375
2
2024-11-19T01:57:38.312013+00:00
2017-08-04T14:47:29
86a07ac1b444f349390d4c275808ea28429041e4
{ "blob_id": "86a07ac1b444f349390d4c275808ea28429041e4", "branch_name": "refs/heads/master", "committer_date": "2017-08-04T14:47:29", "content_id": "4c722aca153362b7711704fd8eec0c2219b2d439", "detected_licenses": [ "BSD-3-Clause", "NCSA" ], "directory_id": "26e49d4c3a1959ccc2316f0ae323b5f8963084b1...
stackv2
typedef struct other { long v; int t; char other_array[2][3]; } other; double x; int a_func(int y); union my_union { double y; long x; }; struct thing { int x; double y; char z; char m[6]; struct thing* n; const other l; int theirs[3]; double* double_ptr; int (*function_pointer)(int); };...
2.234375
2
2024-11-19T01:57:38.533538+00:00
2017-02-17T08:46:57
5c6e01f50ee9aa12af2c697fd5e09a1c4f3dc394
{ "blob_id": "5c6e01f50ee9aa12af2c697fd5e09a1c4f3dc394", "branch_name": "refs/heads/master", "committer_date": "2017-02-17T08:46:57", "content_id": "cfef3707e817f92d500d91042f1f36c8345fbaea", "detected_licenses": [ "MIT" ], "directory_id": "d875f99a700888dd6c081bccd7700362348f0f4c", "extension": "c"...
stackv2
#include "../include/pbound.h" #include "../include/ptile.h" #include <stdio.h> void describe(PBound *value){ switch (value->state){ case EMPTYSET: printf("empty set\n"); break; case ALLREALS: printf("all real numbers\n"); break; case SINGLETON: printf("singleton: 0x%016llx\n", ...
2.5
2
2024-11-19T01:57:38.595078+00:00
2019-06-26T19:12:50
99a966a182dc43d92ea12c60336128960a53be85
{ "blob_id": "99a966a182dc43d92ea12c60336128960a53be85", "branch_name": "refs/heads/globus_6_branch", "committer_date": "2019-06-26T19:12:50", "content_id": "f6144d6d5f95c4137bd2fe92ad81aec553b70c78", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d2555cc1c048de28a7fed4570ce539b1107062bb", ...
stackv2
#include "gridftp_hdfs.h" #include <syslog.h> #include <sys/mman.h> /************************************************************************* * use_file_buffer * --------------- * Decide whether we should use a file buffer based on the current * memory usage. * Returns 1 if we should use a file buffer. * ...
2.640625
3
2024-11-19T01:57:40.178688+00:00
2019-11-26T08:11:16
7b8835e59c0d6dc5501129eaffa9c669246cce11
{ "blob_id": "7b8835e59c0d6dc5501129eaffa9c669246cce11", "branch_name": "refs/heads/master", "committer_date": "2019-11-26T08:11:16", "content_id": "a37a761d20a5b377022d25b77e03da392fb59c27", "detected_licenses": [ "Apache-2.0" ], "directory_id": "82b23e02502bbc52cc95a31d8e279cd1c16b3c1e", "extensio...
stackv2
/* ULP Example: Read hall sensor in deep sleep For other examples please check: https://github.com/espressif/esp-iot-solution/tree/master/examples This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is di...
2.546875
3
2024-11-19T01:57:40.647011+00:00
2016-09-03T21:42:22
99e70813b723f95ccc55578dea6348b472b7f1ad
{ "blob_id": "99e70813b723f95ccc55578dea6348b472b7f1ad", "branch_name": "refs/heads/master", "committer_date": "2016-09-03T21:42:22", "content_id": "944853cff785444e4061d5ab9c68727c17b65fe7", "detected_licenses": [ "MIT" ], "directory_id": "ee9a4e5a61c7559830345242944384d70133e056", "extension": "c"...
stackv2
/* author: Recodeo Rekod desciption: array implementation of a stack */ #include "stack.h" #include <stdio.h> #include <stdlib.h> #define ARRAY_SIZE 50 #ifdef _ARRAY_STACK_ struct stack_ { int *data; int stack_size; int* top; int max_size; }; stack Array_Stack(stack myStack) { mySta...
3.46875
3
2024-11-19T01:57:40.942691+00:00
2021-09-11T00:16:32
02a586fbbe1281ebfa243c878ffa01f05edbe990
{ "blob_id": "02a586fbbe1281ebfa243c878ffa01f05edbe990", "branch_name": "refs/heads/main", "committer_date": "2021-09-11T00:16:32", "content_id": "b24f2a5da917986623f275290e3b48bfbd136f89", "detected_licenses": [ "MIT" ], "directory_id": "b35a95f04a7375363e05c6ce27fb05fa34538749", "extension": "h", ...
stackv2
/************************************************************** WebPage html file 2020.05.06 modified by @tomorrow56 **************************************************************/ #ifndef WebPage_h #define WebPage_h const String HTTP_Page[] = { // Display the HTML web page "<!DOCTYPE html><html><head>", "<met...
2.078125
2
2024-11-19T01:57:41.292649+00:00
2016-08-13T13:57:15
ec0513f1ef4087e2e35f9575cdd1448be66c0fc9
{ "blob_id": "ec0513f1ef4087e2e35f9575cdd1448be66c0fc9", "branch_name": "refs/heads/master", "committer_date": "2016-08-13T13:57:15", "content_id": "b2d7faa5f6352c8529cb485a0b8f4191bdfa287f", "detected_licenses": [ "MIT" ], "directory_id": "aec8efcd04d88edaa06b4a0feae5efa569587c15", "extension": "c"...
stackv2
/* * motor_adc.c * * Created on: May 22, 2013 * Author: nbb23 */ #include "motor_adc.h" extern long int batteryVoltage; extern long int emfVoltage; extern long int bemfVoltage; extern char outstr[200]; int adc1_channel_mode = ADC_MODE_BATTERY; int adc2_channel_mode = ADC_MODE_EMF; void motor_adc_init(vo...
2.296875
2
2024-11-19T01:57:41.398469+00:00
2023-07-17T16:32:04
0710c6c0750987b063adc9ace1ebd4cf0cbc77e3
{ "blob_id": "0710c6c0750987b063adc9ace1ebd4cf0cbc77e3", "branch_name": "refs/heads/master", "committer_date": "2023-07-17T16:32:04", "content_id": "a25e8d43682e61b6cfa7ee982da3e4248ab56964", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1db673907c7946c2ea857cc9aa8b6f7f4060e36a", "extens...
stackv2
#pragma once #ifdef WIN32 #include <Windows.h> #include <stdio.h> #else #include "windef.h" #include "fileio.h" #endif #pragma pack (push, 1) //입출력 관련 인터페이스 typedef struct SKY_FILE_Interface { size_t (*sky_fread)(void *ptr, size_t size, size_t nmemb, FILE *stream); FILE* (*sky_fopen)(const char *filename, const cha...
2.15625
2
2024-11-19T01:57:41.597727+00:00
2021-08-15T23:27:49
81d62a79a1ea02507da7a52a2ee1c74e0afc033c
{ "blob_id": "81d62a79a1ea02507da7a52a2ee1c74e0afc033c", "branch_name": "refs/heads/master", "committer_date": "2021-08-15T23:27:49", "content_id": "ab4c4e8a61ab956c01f8d39bb24c2868109b4a10", "detected_licenses": [ "Apache-2.0" ], "directory_id": "16c3d340e2112ee82d8f6ee97fa8ec105dbdab44", "extensio...
stackv2
#include <stdio.h> #include <math.h> int main (void) { float ni, n1, n2, n3, ma, me; printf ("\nDigite o numero de Identificação do aluno: "); scanf ("%f", &ni); printf ("Digite a Nota 1: "); scanf ("%f", &n1); printf ("Digite a Nota 2: "); scanf ("%f", &n2); printf ("Digite a Nota 3: ")...
2.875
3
2024-11-19T01:57:41.980730+00:00
2016-03-23T19:13:40
976c25e676f1d98835205b22b1084349a677b9e9
{ "blob_id": "976c25e676f1d98835205b22b1084349a677b9e9", "branch_name": "refs/heads/master", "committer_date": "2016-03-23T19:13:40", "content_id": "4a85c624ca5084e49acc98098bf15d7b1cf7302b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5c70dfcc39100cc9844d66a8f2450fa64026ded6", "extensio...
stackv2
/** * @file firewall.h * * Firewall module. * Please read README to learn the usage. * * @version $201201110207$ * @author "Wei-Tsung Lin" <fasthall@gmail.com> * @note Copyright(c) 2012., all rights reserved. */ #ifndef FIREWALL_H #define FIREWALL_H #define FW_BUFSIZE 32 struct BlockAddress { char addr[32]...
2.1875
2
2024-11-19T01:57:42.911093+00:00
2019-07-29T23:42:07
935f5a91b3bacbd176189aecb5be636e266a121d
{ "blob_id": "935f5a91b3bacbd176189aecb5be636e266a121d", "branch_name": "refs/heads/master", "committer_date": "2019-07-29T23:42:07", "content_id": "5a5eeed65465bcaa47ac0187e93f5a61b8e572d6", "detected_licenses": [ "Apache-2.0" ], "directory_id": "565fcb5c72eb641de24b0fb874bf143f7b973aad", "extensio...
stackv2
/*************************************************************************************************/ /*! * \file wsf_nvm.c * * \brief NVM service. * * Copyright (c) 2019 Arm Ltd. * * Copyright (c) 2019 Packetcraft, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
2.15625
2
2024-11-19T01:57:43.095048+00:00
2018-07-16T09:32:39
e4ba02975d78689492356ba2bfd17f091548769e
{ "blob_id": "e4ba02975d78689492356ba2bfd17f091548769e", "branch_name": "refs/heads/master", "committer_date": "2018-07-17T21:08:22", "content_id": "d367a1088c35f81b65b1df28f52bcb9755154904", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3cb39833be57f9dd04d61e4aea525964671596f3", "extensio...
stackv2
/* * Copyright (c) 2018 Antmicro <www.antmicro.com> * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __PLIC_H_ #define __PLIC_H_ #include <soc.h> #define PLIC_IRQS (CONFIG_NUM_IRQS - RISCV_MAX_GENERIC_IRQ) #define PLIC_EN_SIZE ((PLIC_IRQS >> 5) + 1) /* FE310 definitons for the PLIC */ #if defined(C...
2.03125
2
2024-11-19T01:57:43.201661+00:00
2011-09-30T06:33:11
dcff8d8eb1f42bb882a9de5f73c427535f733fd0
{ "blob_id": "dcff8d8eb1f42bb882a9de5f73c427535f733fd0", "branch_name": "refs/heads/master", "committer_date": "2011-09-30T06:33:11", "content_id": "678f3714b78218ec791cc9bcfcd6903745b32910", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "51e5ed37ac84c3aa042d1635ef90b23836511f16", "extens...
stackv2
/* * Change the version number of rogue * * The version must be in the file in the format of: * * " * @(#)filename\tVERSION\t ..." * * Where VERSION is a 3 character string, i.e., "8.2" * * Super-Rogue * Copyright (C) 1984 Robert D. Kindelberger * All rights reserved. * * See the file LICENSE.TXT for full ...
2.609375
3
2024-11-19T01:57:44.398699+00:00
2014-06-21T21:34:34
91bf56ee380c8a713e5edcb697377f20b49ca01a
{ "blob_id": "91bf56ee380c8a713e5edcb697377f20b49ca01a", "branch_name": "refs/heads/master", "committer_date": "2014-06-21T21:34:34", "content_id": "580c7b093c4e1e59bedbd6db7a5f1d9d8ed72c97", "detected_licenses": [ "MIT" ], "directory_id": "ef5aa39ebdcdd6453001dd0706b727cdbe15fd5b", "extension": "h"...
stackv2
#ifndef _KOWHAI_PROTOCOL_SERVER_H_ #define _KOWHAI_PROTOCOL_SERVER_H_ #include "kowhai_protocol.h" #include <stddef.h> typedef struct kowhai_protocol_server_t* pkowhai_protocol_server_t; /** * @brief callback used to send a kowhai packet to the indented target * @param server the protocol server object * @param...
2.34375
2
2024-11-19T00:44:20.952293+00:00
2014-06-13T17:12:12
5deb4516255eb6835fee9e6a003c2e4f16d2f1f3
{ "blob_id": "5deb4516255eb6835fee9e6a003c2e4f16d2f1f3", "branch_name": "refs/heads/master", "committer_date": "2014-06-13T17:12:12", "content_id": "34a35592c9984d486dab10c76176f6a229d2affe", "detected_licenses": [ "MIT" ], "directory_id": "f4c8bd7166e4b05589bb5d28cc3f187509f49095", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <mkl.h> #include "wtime.h" #define DIM 2048 // Matrix is DIM x DIM #define N 10 // Number of repetitions #define A(i,j) A[i*DIM+j] #define B(i,j) B[i*DIM+j] #define C(i,j) C[i*DIM+j] static double *A, *B, *C; static void print_matrix(double *C) { ...
3.140625
3
2024-11-19T00:44:21.009751+00:00
2016-01-19T15:13:36
f6f3c3f07f26c6d9ae98e31be2fd15548992b490
{ "blob_id": "f6f3c3f07f26c6d9ae98e31be2fd15548992b490", "branch_name": "refs/heads/master", "committer_date": "2016-01-19T15:13:36", "content_id": "2814e830718e94c74e36edc06dd0af34bbb34135", "detected_licenses": [ "MIT" ], "directory_id": "8cc247e8cdf528becc5750d52b72479ab400b3ca", "extension": "c"...
stackv2
#include "chrono.c" #include "minunit.h" #include <stdio.h> mu_test_case(Get) { chrono_t c = ChronoInit(86400, chrono_seconds); mu_assert(ChronoGet(&c, chrono_days) == 1L); mu_assert(ChronoGet(&c, chrono_hours) == 1L * 24); mu_assert(ChronoGet(&c, chrono_minutes) == 1L * 24 * 60); mu_assert(ChronoG...
2.859375
3
2024-11-19T01:08:04.052460+00:00
2016-01-26T14:36:00
7b5e5f83942d406d867723a48b8afed066ff6ff3
{ "blob_id": "7b5e5f83942d406d867723a48b8afed066ff6ff3", "branch_name": "refs/heads/master", "committer_date": "2016-01-26T14:36:00", "content_id": "bc5d48f0132f46edf2dd288c3e6d5419e19a9b18", "detected_licenses": [ "CC0-1.0" ], "directory_id": "35b839d12904979a726d233e2ced2978dbc0c146", "extension":...
stackv2
#ifndef _ARGON2_ #define _ARGON2_ const uint8_t MIN_LANES = 1; //Minimum number of lanes (degree of parallelism) const uint8_t MAX_LANES = 255; //Maximum number of lanes (degree of parallelism) const uint32_t SYNC_POINTS = 4; //Number of synchronization points between lanes per pass const uint32_t MAX_OUTLEN = 0xFFFFF...
2.203125
2
2024-11-19T01:08:04.162961+00:00
2019-07-26T13:50:31
a2b63f25b9bdcb178f05b363968e745c9af87f09
{ "blob_id": "a2b63f25b9bdcb178f05b363968e745c9af87f09", "branch_name": "refs/heads/master", "committer_date": "2019-07-26T13:50:31", "content_id": "99e5268fea3defad924c14525a013cff03a4928a", "detected_licenses": [ "MIT" ], "directory_id": "d3643adb3895d5a9c29220dfb27531546650f91a", "extension": "h"...
stackv2
#include <sys/types.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <err.h> #pragma clang diagnostic ignored "-Wshift-op-parentheses" #pragma clang diagnostic ignored "-Wbitwise-op-parentheses" typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef signed int s3...
2.203125
2
2024-11-19T01:44:23.958339+00:00
2020-09-04T07:21:44
50b7e629897ba948a3219b0ea2532b7b77e16729
{ "blob_id": "50b7e629897ba948a3219b0ea2532b7b77e16729", "branch_name": "refs/heads/master", "committer_date": "2020-09-04T07:21:44", "content_id": "151c63489b1a4fa2d1eab75e344bd4a6c441b0cb", "detected_licenses": [ "MIT" ], "directory_id": "ef4115f12304918bc2913c4e12b0435d71cc997b", "extension": "c"...
stackv2
#include "client.h" #include "defines_client.h" static bool check(char *response) { if (*(int*)&response[5] < 12) { fprintf(stderr, "error check status = %d\n", response[10]); return false; } return true; } static void send_get_file(char *response, t_file *file, t_info *info) { int a[2...
2.03125
2
2024-11-19T01:44:24.086985+00:00
2023-06-23T04:38:23
79ed72b1df981548cab050baea227cf4ad2b552d
{ "blob_id": "79ed72b1df981548cab050baea227cf4ad2b552d", "branch_name": "refs/heads/master", "committer_date": "2023-06-23T04:38:23", "content_id": "955368e2eb9c6ac6ee7dd2d723e38139e0a95086", "detected_licenses": [ "MIT" ], "directory_id": "237df7b9b4dd730cceb9d1b1ed836e87dcf72459", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> /* Contrived example that uses VLA */ int main(int argc, char** argv) { int len = atoi(getenv("LEN")); int idx = atoi(getenv("IDX")); int vla[len]; return vla[idx]; }
2.0625
2
2024-11-19T01:44:24.173287+00:00
2018-01-23T00:05:28
802a0d248bd4e3527819034f2d736995e48f429c
{ "blob_id": "802a0d248bd4e3527819034f2d736995e48f429c", "branch_name": "refs/heads/master", "committer_date": "2018-01-23T00:05:28", "content_id": "e35cf762e72e4bf81a572cf040ace729f64bd306", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fa297d258d2ed8575b6d463349f1ebdd26f34ab9", "extensio...
stackv2
/* Nama file : list_double.h Dibuat oleh : Ali Qornan Jaisyurrahman Tanggal : 22 januari 2018 18:42 WIB Fungsi : Lisensi : https://github.com/qornanali/PendopoTonyAgung-OpenGL-C/blob/master/LICENSE */ #ifndef __LISTDouble_H__ #define __LISTDouble_H__ typedef struct Double * P_Double; typedef struct Double{ char ...
2.5
2
2024-11-19T01:44:24.329301+00:00
2017-08-25T14:36:07
79f5d261b4df760eeb9f3878f6279f1dc8ff1179
{ "blob_id": "79f5d261b4df760eeb9f3878f6279f1dc8ff1179", "branch_name": "refs/heads/master", "committer_date": "2017-08-25T14:36:07", "content_id": "915f700b5820b743fddc352ab17994df36e7adfa", "detected_licenses": [ "MIT" ], "directory_id": "369b6797b03d5840ab01bf4db6efe40fcb7c0ea3", "extension": "c"...
stackv2
#include "include/stack.h" stack* stack_create(size_t type_size) { stack* s = (stack*) malloc(sizeof(stack)); s->type_size = type_size; s->size = 0; s->vec = vector_create(2, type_size); return s; } void stack_destroy(stack* s) { assert(s != NULL); vector_destroy(s->vec); free(s); } void stack_push(stack*...
2.890625
3
2024-11-19T01:44:24.859840+00:00
2016-04-21T00:09:30
367ab04a7c372e1ff36577768c27745389bca7f9
{ "blob_id": "367ab04a7c372e1ff36577768c27745389bca7f9", "branch_name": "refs/heads/master", "committer_date": "2016-04-21T00:09:30", "content_id": "27f26281cf36b3daedf39ce95a0a6ad93af09dc9", "detected_licenses": [ "MIT" ], "directory_id": "a7827ff9da021172587fbc7e4a9f7911e16e2139", "extension": "c"...
stackv2
/* * __ __ * _ __ /\_\ /\_\ ___ * /\`'__\/\ \ \/\ \ /' _ `\ * \ \ \/ \ \ \ \ \ \/\ \/\ \ * \ \_\ \ \_\_\ \ \ \_\ \_\ * \/_/ \/_/\ \_\ \/_/\/_/ * \ \____/ * \/___/ * * Copyright rijn, 2015. * rijnx.com */ #define DEBUG_MODULE "LED" #include "config.h"...
2.34375
2
2024-11-19T01:44:25.038993+00:00
2021-03-02T14:04:22
ba6786962a1b3c90d44839cca1845320af59c1d3
{ "blob_id": "ba6786962a1b3c90d44839cca1845320af59c1d3", "branch_name": "refs/heads/main", "committer_date": "2021-03-02T14:04:22", "content_id": "092ec5229efe23b52795e3b6c8e75787abbe25cb", "detected_licenses": [ "MIT" ], "directory_id": "0f7cf7436a066db6ec46426f8a709457603429d0", "extension": "c", ...
stackv2
#include <stdio.h> int negativci(int n, int *polje, int *negPolje) { int nN = 0; for (int i = 0; i < n; i++) { if (*(polje + i) < 0) { *(negPolje + nN) = *(polje + i); nN++; } } return nN; } int main(void) { int n; printf("Upisite broj clanova polja > "); scanf("%d",...
3.3125
3
2024-11-19T01:44:25.111835+00:00
2023-06-24T06:46:07
0e2c007b7eab43885737551b61e06c2187411af9
{ "blob_id": "0e2c007b7eab43885737551b61e06c2187411af9", "branch_name": "refs/heads/master", "committer_date": "2023-06-24T06:46:07", "content_id": "dc53a6aeef57a9fe41e7ebcb700c9b4d7ce544f1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "afab28c434b80486496d56c995bae5d77937c656", "extensio...
stackv2
#include <stdio.h> #include <pthread.h> #include <unistd.h> #include <sched.h> #include <semaphore.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <string.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> //gcc -o app mutex.c -lpthread /* 1.同一个线程加锁解锁 ...
3.046875
3
2024-11-19T01:44:25.461847+00:00
2021-10-12T09:57:52
5f07300b3b4cb938ef9403be9f465c5c8b3b3dc5
{ "blob_id": "5f07300b3b4cb938ef9403be9f465c5c8b3b3dc5", "branch_name": "refs/heads/master", "committer_date": "2021-10-12T09:57:52", "content_id": "2f75769d8db548b8ce1c94c6dcfb4a0ecdb71d9c", "detected_licenses": [ "MIT" ], "directory_id": "5ef9c03f47708bd0dc95d76a53369e51c5617944", "extension": "c"...
stackv2
// SPDX-License-Identifier: MIT // Copyright (c) 2021 Ulrich Hecht #include <stdint.h> #include "mmu.h" #include "smp.h" #define CPU_REG(n) (*(volatile uint32_t *)(0x01f01c00 + (n))) #define CPU_RST_CTRL_REG(n) CPU_REG(0x40 + (n)*0x40) #define CPU_CTRL_REG(n) CPU_REG(0x44 + (n)*0x40) #define CPU_STATUS_REG(n) ...
2.234375
2
2024-11-19T01:44:26.241677+00:00
2020-06-16T20:27:54
7d8a9ef959c356b5f6e480b15256849c8c0f860d
{ "blob_id": "7d8a9ef959c356b5f6e480b15256849c8c0f860d", "branch_name": "refs/heads/master", "committer_date": "2020-06-16T20:27:54", "content_id": "f18e1f4ee107a272192a8a0f1c64f7a03021ff05", "detected_licenses": [ "MIT" ], "directory_id": "0263eff6bc3140def741aa2c615d486f0b57c9bf", "extension": "c"...
stackv2
#include "libmx.h" void *mx_realloc(void *ptr, size_t size){ void *new_ptr; if (!ptr) { new_ptr = malloc(size); if(!new_ptr) return NULL; return new_ptr; } if (malloc_size(ptr) < size) { new_ptr = malloc(size); if (!new_ptr) return NULL; mx_memcpy(new_ptr, ptr, malloc_s...
2.578125
3
2024-11-19T01:44:26.432442+00:00
2022-09-28T11:41:48
d1f1fb306f4bedffab3d91c3edffd0fc45493f4d
{ "blob_id": "d1f1fb306f4bedffab3d91c3edffd0fc45493f4d", "branch_name": "refs/heads/master", "committer_date": "2022-09-28T11:41:48", "content_id": "e8111df47481248de949aeb5b4bc72a31e5f0879", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c63d2a79f55a3c4812ec4c95e070fa9c00c0bb6a", "extens...
stackv2
/* Test matrix and tensor4 operations from su3_mat_op.c Good for finding reunitarization, derivative issues, etc. AB, 1/25/8 - started */ #define CONTROL #include "ks_imp_includes.h" /* definitions files and prototypes */ #include "../include/su3_mat_op.h" #include <quark_action.h> #define MAX_AMPLIT...
2.5625
3
2024-11-19T01:44:26.668246+00:00
2016-05-23T00:52:05
22920e32337997b1517a74606b58239828fb8f4e
{ "blob_id": "22920e32337997b1517a74606b58239828fb8f4e", "branch_name": "refs/heads/master", "committer_date": "2016-05-23T00:52:05", "content_id": "0bc4c81063cfcc1dd5ad5ee0acb7b213f53ff560", "detected_licenses": [ "CC0-1.0" ], "directory_id": "f17dc921253328954f9fe70c71d0cfae0629c210", "extension":...
stackv2
#include "proveidors.h" void inicialitzaProveidorsExemple(int exemple, proveidor proveidors[P]) { // <2, “2@proveidors.cat”> <8,”8@supplier.net”> <5,”hi@provider.com”> // Inicialitcem a -1 per indicar que no hi ha informació int i; for (i=0; i<P; i++) { proveidors[i].id = -1; proveidors[i].email = ""; } if ...
2.484375
2
2024-11-19T01:44:26.743760+00:00
2016-08-18T12:09:38
2c51832b6be684e5a934e323e8261a83b1132be8
{ "blob_id": "2c51832b6be684e5a934e323e8261a83b1132be8", "branch_name": "refs/heads/master", "committer_date": "2016-08-18T12:09:38", "content_id": "29c451d1f36a397183671cf392cf4f327ec8e610", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8597e555c05477bb8d250006adad2af68ec58005", "extens...
stackv2
/* Target info example */ #define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <string.h> #include <liblightnvm.h> int main(int argc, char **argv) { if (argc != 2) { printf("Usage: %s tgt_name e.g. tgt0\n", argv[0]); return -1; } if (strlen(argv[1]) > DISK_NAME_LEN) { printf("len(device_name)...
2.46875
2
2024-11-19T01:44:27.012058+00:00
2018-02-03T06:00:09
2924fab88e54122e3fa94e3617a64d14ebea1460
{ "blob_id": "2924fab88e54122e3fa94e3617a64d14ebea1460", "branch_name": "refs/heads/master", "committer_date": "2018-02-03T06:00:09", "content_id": "863817151539839ba8a4f55d160020244f42448e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "612fb7a01a8f464eb4785b99b0bbcf31f1b6389f", "extens...
stackv2
/** ****************************************************************************** * @file spi.c * $Author: 飞鸿踏雪 $ * $Revision: 17 $ * $Date:: 2014-10-25 11:16:48 +0800 #$ * @brief SPI驱动函数实现. ****************************************************************************** * @attention * *<h3><cen...
2.265625
2
2024-11-19T01:44:27.335209+00:00
2019-03-05T10:45:48
9621f143ac3332561edaf610ea53db15ed3a156f
{ "blob_id": "9621f143ac3332561edaf610ea53db15ed3a156f", "branch_name": "refs/heads/master", "committer_date": "2019-03-05T10:45:48", "content_id": "2732cfaa06e60b08e0bfaac82f510aae533251d9", "detected_licenses": [ "MIT" ], "directory_id": "70df1e080372a0f059ce2d292baae3e894639af9", "extension": "h"...
stackv2
// // Maze.h // TestCPPDataStructure // // Created by gkp on 2018/7/27. // Copyright © 2018年 51iob. All rights reserved. // #ifndef Maze_h #define Maze_h #include "Stack.hpp" //迷宫寻径 typedef enum { AVAILABLE, //原始可用的 ROUTE, //在当前路径上的 BACKTRACKED, //所有方向均尝试失败后回溯过的 WALL /...
3.15625
3
2024-11-19T01:44:27.411401+00:00
2015-03-08T13:24:46
f221fe511d4ae0c227f08239a6876ec5ceca6ce4
{ "blob_id": "f221fe511d4ae0c227f08239a6876ec5ceca6ce4", "branch_name": "refs/heads/master", "committer_date": "2015-03-08T13:24:46", "content_id": "90589fa09b75ef0a1fdd452e7f5fe9b2c7675dc7", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a8d59935b9c181d945b27977a4ad5e502b519a30", "extens...
stackv2
/* Bootstrapper for BaoIP Written by Peter Membrey Adapted with permission from Ian Seyler's minIP project Compile & Usage: See README.md */ /* Global Includes */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <netinet/in.h> #include <net/if.h> #include <net/etherne...
2.484375
2
2024-11-19T01:44:27.470875+00:00
2018-03-28T13:04:20
42719d7331fa189fb4525a6d2a8944f910ce1d11
{ "blob_id": "42719d7331fa189fb4525a6d2a8944f910ce1d11", "branch_name": "refs/heads/master", "committer_date": "2018-03-28T13:04:20", "content_id": "da1ae406caaeacf1d093908fd715891dc4deab8e", "detected_licenses": [ "Unlicense" ], "directory_id": "d92bbee3dc175823068b9fee52662df005d85365", "extension...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_mem_2.c :+: :+: :+: ...
2.703125
3
2024-11-19T01:44:27.601424+00:00
2014-10-25T15:23:45
5b173c700911efb34867cc9ebc75327ec32e2714
{ "blob_id": "5b173c700911efb34867cc9ebc75327ec32e2714", "branch_name": "refs/heads/master", "committer_date": "2014-10-25T15:23:45", "content_id": "14754acb8eaa08209cf22351b1919cdd827428d4", "detected_licenses": [ "MIT" ], "directory_id": "3627009ab83cb02281c39fcbde3cd2f099ab443e", "extension": "c"...
stackv2
#include "Common.h" #if LC_HAS_JIT #include "IR.h" #include "Jit.h" #include "PrintIR.h" #include "InfoTables.h" #include "MiscClosures.h" #include "Thread.h" #include "Snapshot.h" #include "HeapInfo.h" #include "Bitset.h" #include "Stats.h" #include "Opts.h" #if LC_HAS_ASM_BACKEND #include "AsmCodeGen.h" #endif #i...
2.046875
2
2024-11-19T01:44:27.686434+00:00
2023-07-25T12:59:16
963a8bd69a92affcfd27c547f3589e412c156133
{ "blob_id": "963a8bd69a92affcfd27c547f3589e412c156133", "branch_name": "refs/heads/main", "committer_date": "2023-07-25T12:59:16", "content_id": "c4964473a80cbb7235ed4c6753ac00e47178b4f8", "detected_licenses": [ "MIT" ], "directory_id": "dc17bf26930bf83e329ce4adb13a588f97b47aaf", "extension": "h", ...
stackv2
// VariantKey // // hex.h // // @category Libraries // @author Nicola Asuni <info@tecnick.com> // @link https://github.com/tecnickcom/variantkey // @license MIT [LICENSE](https://raw.githubusercontent.com/tecnickcom/variantkey/main/LICENSE) /** * @file hex.h * @brief Utility functions to manipulate st...
2.84375
3
2024-11-19T01:44:28.675959+00:00
2020-05-15T00:38:12
069bac396157ede477179738765bdf8ea180461c
{ "blob_id": "069bac396157ede477179738765bdf8ea180461c", "branch_name": "refs/heads/master", "committer_date": "2020-05-15T00:38:12", "content_id": "f57e41bd1aedc15aebc9a259c6b1961072b6791e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ee8242e1b789e1974dfbd6739c2c39a59f56c843", "extensio...
stackv2
/* certstore_c */ /* 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 writing, ...
2.03125
2
2024-11-19T01:44:29.690845+00:00
2019-06-27T08:54:25
da74f81e4190cd4afebb07da062bee9ebcf4de7c
{ "blob_id": "da74f81e4190cd4afebb07da062bee9ebcf4de7c", "branch_name": "refs/heads/master", "committer_date": "2019-06-27T08:54:25", "content_id": "fe4bff3085cd32ba946d812c20f2cd9510c9378f", "detected_licenses": [ "MIT" ], "directory_id": "67bc1087e3f92d7a130a4d1ae1d64a6f9e02579e", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sqlite3.h> #include "../string/ext_string.h" #include "user.h" #include "db.h" #define DB_FILE "./example.db" int main(void) { int ret = 0; sqlite3 *db = NULL; if (DB_ERROR == db_create(&db, DB_FILE)) { printf("Create database ...
2.65625
3
2024-11-19T01:44:30.235431+00:00
2017-01-18T04:35:33
566e202753edbe9dcab57dbadb8585c2506a97db
{ "blob_id": "566e202753edbe9dcab57dbadb8585c2506a97db", "branch_name": "refs/heads/master", "committer_date": "2017-01-18T04:35:33", "content_id": "2026aa64599931299e8e9564f1465cd28ab1dfe6", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "741788b03909b25e43a187c165bcf37f67eaae15", "extens...
stackv2
/* * Copyright (c) 2016, Yi-Fan Zhang. All rights reserved. * Copyrights licensed under the BSD License. * See the accompanying LICENSE file for terms. * See the accompanying ATTRIB file for attributions/credits. */ /* * atoi implementation from: * http://www.geeksforgeeks.org/write-your-own-atoi/ */ #ifndef...
3.296875
3
2024-11-19T01:44:30.393708+00:00
2020-10-07T08:25:23
e937ae121b216cde74e84c8c13b7443d54c034c6
{ "blob_id": "e937ae121b216cde74e84c8c13b7443d54c034c6", "branch_name": "refs/heads/master", "committer_date": "2020-10-07T08:25:23", "content_id": "a64e3b6278f8f63b900b19285abbd21a486893db", "detected_licenses": [ "Unlicense" ], "directory_id": "00751bd95e651770ffdf69cc83f4c6a11c97caad", "extension...
stackv2
#include "enemy.h" #include "copper.h" #include "game.h" #include "gfxtile.h" #include "hero.h" #include "map.h" #include "memory.h" #include "sort.h" #include <hardware/custom.h> extern struct Custom* custom; /*--------------------------------------------------------------------------*/ void EnemySpritesMultiplex...
2.234375
2
2024-11-19T01:44:30.587809+00:00
2016-10-18T03:57:10
9cc56b588be310e2c758eb7eac735199ef652b3a
{ "blob_id": "9cc56b588be310e2c758eb7eac735199ef652b3a", "branch_name": "refs/heads/master", "committer_date": "2016-10-18T03:57:10", "content_id": "924234333df45ddbaf12a63eadbf75304a1c5935", "detected_licenses": [ "MIT" ], "directory_id": "2feb8b34d47cf1e420f88ab2ee857d1f6182a5e6", "extension": "c"...
stackv2
/* vfs.c =============================================================================== MIT License Copyright (c) 2007-2016 Michael Lazear 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 ...
2.53125
3
2024-11-19T01:44:30.801278+00:00
2017-11-24T11:50:20
48d5809a95138cc496f092910c29744bb5775ccf
{ "blob_id": "48d5809a95138cc496f092910c29744bb5775ccf", "branch_name": "refs/heads/master", "committer_date": "2017-11-24T11:50:20", "content_id": "e73670737ce32fec2d16013e3a1047e0affb6dd6", "detected_licenses": [ "MIT" ], "directory_id": "89b408e6aedcc3787b14cd16afced65b2d6375ad", "extension": "h"...
stackv2
#ifndef MY_SERIAL_H #define MY_SERIAL_H #include <stdio.h> // THIS LIBRARY ONLY WORKS WITH THE PORTC USART /* Definitions */ #define DATA_RECEIVED (USARTC0.STATUS & 0x80) //Rx Notification Flag #define TRANSMIT_READY (USARTC0.STATUS & 0x20) //Tx Ready Flag #define RECEIVER_ENABLE 0x10 //Rx Enable bit #d...
2.59375
3
2024-11-19T01:44:32.242495+00:00
2016-12-04T11:34:57
96685543caef30a99da3be05e6f386d16682bfdc
{ "blob_id": "96685543caef30a99da3be05e6f386d16682bfdc", "branch_name": "refs/heads/master", "committer_date": "2016-12-04T11:34:57", "content_id": "45dd3186c074431d14a1e3df8a9548870cda65ad", "detected_licenses": [ "MIT" ], "directory_id": "4f3bcf1935560e52502db7b410d3df93363835a9", "extension": "h"...
stackv2
/** * @file * @author Simon Hanisch <simon@ifsr.de> * @version 0.7 * * @section DESCRIPTION * * This file contains the struct that represents the physical disk. */ #ifndef DISK_H #define DISK_H #include <stdio.h> #include <stdlib.h> /** * The different states the physical Disk can have */ enum DISK_STATUS...
2.859375
3
2024-11-19T01:44:32.454027+00:00
2021-11-11T15:29:38
3993d5ce3eeaf5805bfcd15b2f0554affdbc8f0b
{ "blob_id": "3993d5ce3eeaf5805bfcd15b2f0554affdbc8f0b", "branch_name": "refs/heads/main", "committer_date": "2021-11-11T15:29:38", "content_id": "69233d5132ac0bf8fbb0ebb611d27214518a1c47", "detected_licenses": [ "MIT" ], "directory_id": "916b5efb18d420231855aa77f9689e7f670f2385", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> void printArray(int *numbers, int length) { for (int i = 0; i < length; i++) { printf("%d) %d\n", i + 1, numbers[i]); } printf("\n"); } int main() { const int length = 5; int v[5] = {1, 2, 3, 4, 5}; int *p = v; printArray(v, length); ...
3.34375
3
2024-11-19T01:44:32.665366+00:00
2019-08-12T03:06:38
ce1c1ffb5ce1e829b387cecc2fa692f5065042e9
{ "blob_id": "ce1c1ffb5ce1e829b387cecc2fa692f5065042e9", "branch_name": "refs/heads/master", "committer_date": "2019-08-12T03:06:38", "content_id": "e39eb2812101ebf956cdc5e242403f53817498e3", "detected_licenses": [ "MIT" ], "directory_id": "759ed09c99a6f48287dee98c1105af7260fc331d", "extension": "c"...
stackv2
#include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <sys/time.h> int main() { struct timeval tv; gettimeofday(&tv, (struct timezone *)NULL); #ifdef __APPLE__ printf("%ld.%d\n", tv.tv_sec, tv.tv_usec); #else // everything else printf("%ld.%ld\n", tv.tv_sec, tv.tv_usec); #endif ...
2.3125
2
2024-11-19T01:44:33.184182+00:00
2020-11-14T15:23:19
8f3e280d786e3e931eb13199368502aac5221732
{ "blob_id": "8f3e280d786e3e931eb13199368502aac5221732", "branch_name": "refs/heads/main", "committer_date": "2020-11-14T15:23:19", "content_id": "4518a0d6516351c24862069c3ee8842ce91de036", "detected_licenses": [ "MIT" ], "directory_id": "2d0235ef124eb8d4247acd149e86ac9123bd4c3c", "extension": "c", ...
stackv2
#include <stdio.h> struct complex_number { double real; double imaginary; }; struct complex_number complex_number_add(struct complex_number num1, struct complex_number num2){ struct complex_number answer; answer.real = num1.real + num2.real; answer.imaginary = num1.imaginary + num2.imaginary; return ...
3.359375
3
2024-11-19T01:44:33.510086+00:00
2023-07-20T02:06:42
6d4610973aa38e62b59ad34c4db7101bad3d7c53
{ "blob_id": "6d4610973aa38e62b59ad34c4db7101bad3d7c53", "branch_name": "refs/heads/master", "committer_date": "2023-07-20T02:06:42", "content_id": "776673ae92802ce00f7af74197254de9659f71cf", "detected_licenses": [ "Zlib" ], "directory_id": "e8d783d45ac0f3ef7f38eadc5b44b7e2a595179f", "extension": "c...
stackv2
/** * @file m01.c * @brief Simple device-driver. * @author zer0 * @date 2015-03-06 */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> int __init init_hello(void) { printk(KERN_ALERT "Hello Device-Driver.\n"); return 0; } void __exit exit_hello(void) { printk(KERN_ALE...
2.1875
2
2024-11-19T01:44:33.580006+00:00
2019-02-06T21:28:33
401c9a0b1e89369005f56ccd55ea7f904d157647
{ "blob_id": "401c9a0b1e89369005f56ccd55ea7f904d157647", "branch_name": "refs/heads/master", "committer_date": "2019-02-06T21:28:33", "content_id": "1b472031e12679b65002b97458677ad917280778", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b6a997ad6458008af8170e000a592b597bd5cc07", "extens...
stackv2
#include "../platform.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <ctype.h> #include <stdarg.h> /* Syntaxe de compilation en double gcc -o bc_eval.exe bc_eval.c -Wall -O3 -lm -mno-cygwin -DMAIN -std=c99 Syntaxe de compilation en long double gcc -o bc_eva...
2.640625
3
2024-11-19T01:44:34.614757+00:00
2019-12-09T01:05:59
2a57e1d9d775c57011e19f1dc034b96e8344ebf6
{ "blob_id": "2a57e1d9d775c57011e19f1dc034b96e8344ebf6", "branch_name": "refs/heads/master", "committer_date": "2019-12-09T01:05:59", "content_id": "1df1f8c97d1fc232603d7517f1e7c7d7e4b8547f", "detected_licenses": [ "MIT" ], "directory_id": "cc68134e5396b2de2e1c5e7ff4ac748f0133f429", "extension": "c"...
stackv2
#include "stm8l15x_conf.h" #include <stdio.h> #define EEPROM_LEN (FLASH_DATA_EEPROM_END_PHYSICAL_ADDRESS - FLASH_DATA_EEPROM_START_PHYSICAL_ADDRESS + 1) int putchar (int c) { USART_SendData8(USART1, c); while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); return (c); } int getchar (void) { int c = 0;...
2.71875
3
2024-11-19T01:44:34.782581+00:00
2019-06-16T20:10:15
4e86a6affc68bd933b81d59a0336e6c48fcbd57b
{ "blob_id": "4e86a6affc68bd933b81d59a0336e6c48fcbd57b", "branch_name": "refs/heads/master", "committer_date": "2019-06-16T20:10:15", "content_id": "29f6381d96744c24b2e22392373102a17a0f0f13", "detected_licenses": [ "MIT" ], "directory_id": "89626844fc07e662bd39d1164908c559f0a96f81", "extension": "c"...
stackv2
/* Library: LCD 16X2 - Written by: Mohamed Yaqoob Date Written: 04/12/2017 Description: This is a library for the standard 16X2 LCD display, for the STM32 MCUs based on HAL libraries. It perfroms the basic Text/Number printing to your 16X2 LCD, in 8 bits and 4 bits modes of operation. Referenc...
2.71875
3
2024-11-19T01:44:35.186090+00:00
2023-08-29T20:45:03
e1612b2d1a670e0add7e3e18046e98de04eb7d03
{ "blob_id": "e1612b2d1a670e0add7e3e18046e98de04eb7d03", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T20:45:03", "content_id": "068d403c14d949428d8062b89b70f1d81dbf8dc1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "bdc27c22522a99b5bff2ec4cfa95fadcba65747d", "extensio...
stackv2
#include "config.h" #undef NDEBUG #include "assert.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "dill.h" #include "dill_internal.h" #include "x86_64.h" #define MOV32 0x89 #define Mod(x) ((x) << 6) #define RegOp(x) ((7 & (x)) << 3) #define RM(x) (7 & (x)) #define ModRM(m...
2.234375
2
2024-11-19T01:44:35.678719+00:00
2020-04-06T22:23:50
eb963aa206d27031ba9940124650e948e2a96c41
{ "blob_id": "eb963aa206d27031ba9940124650e948e2a96c41", "branch_name": "refs/heads/master", "committer_date": "2020-04-06T22:23:50", "content_id": "9dead611cf68a209da82dd963931f5de5ba9e555", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "c6e8e07292ab2da3ba1c173716206ec3553fa48e", "extens...
stackv2
#include "ktv.h" #include "mavl.h" /** * @brief Get a ktv value from a ktv store * @param ktv ktv store * @param key key to search for * @param type type to match * @return A pointer to a #cw_KTV_t element, found in the ktv store or * NULL if no element with matching key/type is found. */ cw_KTV_t * cw_ktv_get...
2.609375
3
2024-11-19T01:44:36.158163+00:00
2018-11-26T23:47:35
46d42eb4589f9a8e24f1a3d0d910777d3334eb00
{ "blob_id": "46d42eb4589f9a8e24f1a3d0d910777d3334eb00", "branch_name": "refs/heads/master", "committer_date": "2018-11-26T23:47:35", "content_id": "f2ed220c54fa0b3d06849f30a5e7131bd15832e0", "detected_licenses": [ "MIT" ], "directory_id": "1660c95e6bea2c3fe319479abc5fbf1f3903a33c", "extension": "c"...
stackv2
// Copyright 2016, 2018 by Peter Ohler, All Rights Reserved #include <stdio.h> #include <stdlib.h> #include <string.h> #include "debug.h" #include "text.h" agooText agoo_text_create(const char *str, int len) { agooText t = (agooText)malloc(sizeof(struct _agooText) - AGOO_TEXT_MIN_SIZE + len + 1); if (NULL !...
2.671875
3
2024-11-19T01:44:36.393517+00:00
2019-01-08T06:56:32
4194fb48015a2d2d47be3693c15bffb26b963840
{ "blob_id": "4194fb48015a2d2d47be3693c15bffb26b963840", "branch_name": "refs/heads/master", "committer_date": "2019-01-08T06:56:32", "content_id": "53448f4f3f22b63d8bf5bb750fb491cc7c26c722", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9435432ac0c8c5a75925419e0a2d816d5450b5cb", "extens...
stackv2
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_PALLOC_H_INCLUDED_ #define _NGX_PALLOC_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> /* * NGX_MAX_ALLOC_FROM_POOL should be (ngx_page_size - 1), i.e. 4095 on x86. * On FreeBSD 5.x it allows to use the zero copy sending. * On Windows NT it decreases ...
2.234375
2
2024-11-19T01:44:39.617938+00:00
2021-08-31T02:48:14
312757f613d3bd865c27a38a2997b1b83b76fcc7
{ "blob_id": "312757f613d3bd865c27a38a2997b1b83b76fcc7", "branch_name": "refs/heads/main", "committer_date": "2021-08-31T02:48:14", "content_id": "d12c2a74fdbb275f02c5a41bc1bd2c7e794cf29c", "detected_licenses": [ "MIT" ], "directory_id": "c5982d1ef635a11aff9b1d274e162d425ab7c10d", "extension": "c", ...
stackv2
#include <stdio.h> int main(){ int n1 = 41, n2 = 18; float f1, f2; void newVal(int, int, float *, float *); newVal(n1, n2, &f1, &f2); printf("sum = %f, remain = %f",f1,f2); return 0; } void newVal(int val1, int val2, float *sum, float *remain){ *sum = val1 + val2; *remain = val1 % val...
2.734375
3
2024-11-19T01:44:40.525789+00:00
2022-03-31T08:22:16
c23fbbb25b9871c2fb5e160f63c2530de29b6b50
{ "blob_id": "c23fbbb25b9871c2fb5e160f63c2530de29b6b50", "branch_name": "refs/heads/master", "committer_date": "2022-03-31T08:22:16", "content_id": "cc5a6595801955a04a00642965580184f249deae", "detected_licenses": [ "Unlicense" ], "directory_id": "397de467115775da05ae98426bca4583711df0c6", "extension...
stackv2
/*** *utime.c - set modification time for a file * * Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved. * *Purpose: * Sets the access/modification times for a file. * *******************************************************************************/ #ifdef _WIN32 #include <cruntime.h> #i...
2.234375
2
2024-11-19T01:44:40.606238+00:00
2019-10-22T07:05:38
dcd1e6acefb0b51d9e1e0170c9a4349781293f19
{ "blob_id": "dcd1e6acefb0b51d9e1e0170c9a4349781293f19", "branch_name": "refs/heads/master", "committer_date": "2019-10-22T07:05:38", "content_id": "bc3785363a38ee92b836bbd6090993a62a87980f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "429375e411cc5c9a94fbe8b3afadc8bc938440fa", "extens...
stackv2
/* * param.h * Parameter instances are assocated with a command line and used to validate the * the arguments which a user is inputing for a command. */ #ifndef _clish_param_h #define _clish_param_h typedef struct clish_paramv_s clish_paramv_t; typedef struct clish_param_s clish_param_t; #include "clish/types.h"...
2.34375
2
2024-11-19T01:44:40.873328+00:00
2020-12-30T12:45:13
18360d5c17e5d0ee0f222e0a144b3d7ab760f29c
{ "blob_id": "18360d5c17e5d0ee0f222e0a144b3d7ab760f29c", "branch_name": "refs/heads/main", "committer_date": "2020-12-30T12:45:13", "content_id": "e35c53a8ae75a9947a01842a8af944a966da1d1b", "detected_licenses": [ "MIT" ], "directory_id": "0ce8d8373990074d8cb1a1887c549efef186e257", "extension": "c", ...
stackv2
//Fibonacci number #include<stdio.h> int main() { int first=0, second=1, count=0, fibo, n; printf("Enter the range: "); scanf("%d",&n); while(count<n) { if(count<=1) { fibo = count; } else fibo = first + second; first = second; seco...
3.09375
3
2024-11-19T01:44:40.938783+00:00
2021-08-02T19:37:11
e0ad83242aa22c959dba78119bad240ad35e5986
{ "blob_id": "e0ad83242aa22c959dba78119bad240ad35e5986", "branch_name": "refs/heads/master", "committer_date": "2021-08-02T19:37:11", "content_id": "855627e03751032e77a7c127d9de105608178c81", "detected_licenses": [ "MIT" ], "directory_id": "0d7cb1c8b065dd769ea99eef3d8e928790e4a6fb", "extension": "h"...
stackv2
/** * sr74hc595.h - Driver for 74HC595 * * (c) 2021 Ben-Ove Pasinski - See the LICENSE file for more information */ #ifndef BPS_DRIVER_SR74HC595 #define BPS_DRIVER_SR74HC595 #include <stdint.h> #include "../util/bits.h" typedef enum { SR74HC595_PORTB, SR74HC595_PORTC, SR74HC595_PORTD } sr74hc595_por...
2.03125
2
2024-11-19T01:44:41.176818+00:00
2016-06-24T19:44:08
dc8652d0d76e0bb0950c17ccbf86a1ac15c749a7
{ "blob_id": "dc8652d0d76e0bb0950c17ccbf86a1ac15c749a7", "branch_name": "refs/heads/master", "committer_date": "2016-06-24T19:44:08", "content_id": "04f211bd7ce38323dd284650992f5d4a2cc39564", "detected_licenses": [ "MIT" ], "directory_id": "50258968f5f506c3b3fe08f2d6becc1de7597f43", "extension": "c"...
stackv2
long long euclidean_alg(long long num1, long long num2); long long euclidean_alg_rec(long long a, long long b); long long euclidean_alg_rec_h(long long a, long long b); long long euclidean_alg(long long num1, long long num2) { long long r; long long a = num1; long long b = num2; if (b>a) { ...
2.4375
2
2024-11-19T01:44:41.248317+00:00
2021-05-30T17:18:53
ba462ddabe061198ce6ff796cc9fad80d9f2b393
{ "blob_id": "ba462ddabe061198ce6ff796cc9fad80d9f2b393", "branch_name": "refs/heads/main", "committer_date": "2021-05-30T17:18:53", "content_id": "9436f98d5f076f2095f81375bd1927b3fb17ea0a", "detected_licenses": [ "MIT" ], "directory_id": "45c7760c53c9137cf00d57419905c77e52052ebb", "extension": "c", ...
stackv2
#include "pool.h" void initialize(pool_t * pool) { pool->ipAddr = malloc(POOL_SIZE * sizeof(char *)); //allocate space for an array of strings for(int i=0; i<POOL_SIZE; i++){ (pool->ipAddr)[i] = malloc(256 * sizeof(char)); } pool->portNum = malloc(POOL_SIZE * sizeof(uint16_t)); //allo...
3.046875
3
2024-11-19T01:44:41.504588+00:00
2019-09-30T15:06:16
0e85275d571f2c468f9e8faa16d06d947584651a
{ "blob_id": "0e85275d571f2c468f9e8faa16d06d947584651a", "branch_name": "refs/heads/master", "committer_date": "2019-09-30T15:06:16", "content_id": "a3c4e0d6f41dac65986c7495158e19657105aaff", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "dda8e991f487f5849ca3c64a312bb20bccd8cac4", "extens...
stackv2
/* seq_read.c -- read the .mh_sequence file and * -- initialize sequence information * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. */ #include "h/mh.h" #include "m_getfld.h" #inc...
2.171875
2
2024-11-19T01:44:41.579543+00:00
2016-12-13T14:48:58
3a5149bf21ff30ce412b7ca4f62296a9eb6f0764
{ "blob_id": "3a5149bf21ff30ce412b7ca4f62296a9eb6f0764", "branch_name": "refs/heads/master", "committer_date": "2016-12-13T14:48:58", "content_id": "ed1775424a081432ac8698d545d48bab74fee3f4", "detected_licenses": [ "MIT" ], "directory_id": "ed79861a03a8bf04d833a6e216984b6c1d597774", "extension": "c"...
stackv2
#include "Texture.h" const string Texture::EXTENSION = ".png"; const string Texture::PATH = "./textures/"; Texture:: Texture(const string &filename) : _handle(0) { glGenTextures(1, &_handle); glBindTexture(GL_TEXTURE_2D, _handle); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); ...
2.578125
3
2024-11-19T01:44:42.184925+00:00
2021-04-20T14:22:25
4cf372dc05bc5221f07b02a6a84168a2d126bc73
{ "blob_id": "4cf372dc05bc5221f07b02a6a84168a2d126bc73", "branch_name": "refs/heads/master", "committer_date": "2021-04-20T14:22:25", "content_id": "2f61155e011e414a9ddfc09e9dc03e28adb65b1f", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b0e5eab30f3aaf46775b04a28858ed0e35ca3cad", "extens...
stackv2
// // flash.h - Part of a2fomu - Copyright (c) 2020-2021 Doug Eaton // // This file is part of a2fomu which is released under the two clause BSD // licence. See file LICENSE in the project root directory or visit the // project at https://github.com/elecbrick/a2fomu for full license details. #ifndef _FLASH_H_ #define...
2.234375
2
2024-11-19T01:44:43.249726+00:00
2019-11-17T13:35:58
f077a49ab941741ee39fbbc091ade340b497377b
{ "blob_id": "f077a49ab941741ee39fbbc091ade340b497377b", "branch_name": "refs/heads/master", "committer_date": "2019-11-17T13:35:58", "content_id": "8a899438df86ddd18210c2da88a86f5e844ec3cf", "detected_licenses": [ "MIT" ], "directory_id": "9ebe878df5f594f87aa3b60e821be2387c2424dc", "extension": "h"...
stackv2
//////////////////////////////////////////////////////////////////////////////// /// Copyright (c) 2018-2019 Fabian Zahn - 0xFAB /// See provided LICENSE file for more information /// /// \brief Internal implementation of the GPIO module. Do not include this file /// use gpio.h instead for the public interface...
2.140625
2
2024-11-19T01:44:43.415542+00:00
2023-08-29T11:30:11
385e04efd17f825640173741b8ff00da1e5caafd
{ "blob_id": "385e04efd17f825640173741b8ff00da1e5caafd", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T11:30:11", "content_id": "5244e26f0f3e14ef99055166cc5cc7b6114294e2", "detected_licenses": [ "BSD-3-Clause", "BSD-4-Clause-UC" ], "directory_id": "07664200f77c4d87baf972e367e77...
stackv2
/* $NetBSD: hash.c,v 1.15 2021/04/02 12:16:50 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl * 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 cod...
2.171875
2
2024-11-19T01:44:43.482476+00:00
2023-08-02T09:06:56
06a8f936e8e1b4ba394ad3b5bb74249339071a84
{ "blob_id": "06a8f936e8e1b4ba394ad3b5bb74249339071a84", "branch_name": "refs/heads/master", "committer_date": "2023-08-08T07:01:20", "content_id": "16851d0bd0507b50164d2a015d73070886709092", "detected_licenses": [ "Intel", "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "a8194cf6ffd12f7551e...
stackv2
/* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 2018 Intel Corporation. * All rights reserved. */ #include "spdk/stdinc.h" #include "spdk/nvme.h" #include "spdk/env.h" #include "spdk/env_dpdk.h" #include <rte_config.h> #include <rte_eal.h> #define MAX_DEVS 64 struct dev { struct spdk_nvme_ctrlr ...
2.515625
3
2024-11-19T01:44:43.673587+00:00
2016-09-06T09:09:19
e5b8f448d7a495a5239f02e8371e512e627f425c
{ "blob_id": "e5b8f448d7a495a5239f02e8371e512e627f425c", "branch_name": "refs/heads/master", "committer_date": "2016-09-06T09:09:19", "content_id": "05c09fd8e91bb448c1d899bf13c01bdbfbefcdc3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "854a2ab8f607265759b7d9cb0211dc451be6e469", "extensio...
stackv2
/* * philosopher.c * Classic Dining philosopher problem demonstrating how to create deadlock---how * deadlock comes out. * We will use some tricks to eliminate the deadlock in fixed_ph.c. */ #include <pthread.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> typedef struct { int taken; pthread_mut...
3.234375
3
2024-11-19T01:44:43.743101+00:00
2016-07-15T09:06:10
1b7199da8222cafc8d41fc5d0b972ad0f2cdbb41
{ "blob_id": "1b7199da8222cafc8d41fc5d0b972ad0f2cdbb41", "branch_name": "refs/heads/master", "committer_date": "2016-07-15T09:06:10", "content_id": "c38a54274bc23cf235861edf24fd0b4c9af9169e", "detected_licenses": [ "MIT" ], "directory_id": "4a4b2d9d4314317b9cadf73b103629360cb6b2fd", "extension": "h"...
stackv2
#ifndef PARSER_INCLUDE #define PARSER_INCLUDE #include "print.h" #include "lexer.h" #include "file.h" #include "array.h" #include "ast.h" #include "ast_print.h" enum Parameter_ReadMode { PARAMETER_MODE_UNKNOWN = 0, PARAMETER_MODE_AUTO, PARAMETER_MODE_NAMED, PARAMETER_MODE_UNNAMED, }; enum ParserMode { PARSER_MO...
2.453125
2
2024-11-19T01:44:43.882195+00:00
2020-10-06T17:53:29
0d6ddd05b43714423285ca26ee35d9d442c7ef37
{ "blob_id": "0d6ddd05b43714423285ca26ee35d9d442c7ef37", "branch_name": "refs/heads/master", "committer_date": "2020-10-06T17:53:29", "content_id": "0c3d11b86ff7edec7e820656bd3b142f59bdaea6", "detected_licenses": [ "MIT" ], "directory_id": "5b6f62d9e383041e7f6f07067b8584417f8f04d1", "extension": "c"...
stackv2
/* Escreva um programa que calcule e escreva a seguinte soma: S = -2/50 + 2/49 + 2/48 ... + 2/1 entradas: nada saidas: soma processamento: */ #include <stdio.h> int main() { return 0; }
2.515625
3
2024-11-19T01:44:43.946180+00:00
2017-10-03T22:33:38
76f71dcebbaef80c284bc5c98d1d6cccfa360415
{ "blob_id": "76f71dcebbaef80c284bc5c98d1d6cccfa360415", "branch_name": "refs/heads/master", "committer_date": "2017-10-03T22:33:38", "content_id": "1e1e5c859d78ac294448f84647beb048b277f1ba", "detected_licenses": [ "MIT" ], "directory_id": "77afdc42faf44561aa47c24631508d7c3eac4f7c", "extension": "h"...
stackv2
/* * Austin Miller * COP 3402: Homework 1 * 6/3/2016 */ #include <stdio.h> #include <stdlib.h> int MAX_STACK_HEIGHT = 2000; int MAX_CODE_LENGTH = 500; int count = 0; int flag = 0; // notifys program when halt is hit int bp = 1; int sp = 0; struct instruction { int op; // opcode int l; // L int m; // ...
3.203125
3
2024-11-19T01:44:47.378851+00:00
2018-10-27T12:57:55
65eaa7395cd047336470f536ef90c7d2b6519b98
{ "blob_id": "65eaa7395cd047336470f536ef90c7d2b6519b98", "branch_name": "refs/heads/master", "committer_date": "2018-10-27T12:57:55", "content_id": "37b7aa83d8301a028bb305fee33a6ef5071a1e78", "detected_licenses": [ "MIT" ], "directory_id": "3f7bf2a08e4c8f75b190a6d88a363bc9dda4c258", "extension": "c"...
stackv2
#include "ibscommon.h" #include "smmlexer.h" #include <assert.h> #include <string.h> #include <ctype.h> #include <stdint.h> #include <stdio.h> #include <math.h> #define STDIN_BUFFER_LENGTH 64 * 1024 #define MAX_HEX_DIGITS 16 #define MAX_OCTAL_DIGITS 21 #define MAX_MANTISSA_FOR_FAST_CONVERSION 0x20000000000000 #defin...
2.5625
3
2024-11-19T01:44:47.473819+00:00
2017-12-25T16:38:47
508d13cba507233bbb5031f38cfe6769723fec16
{ "blob_id": "508d13cba507233bbb5031f38cfe6769723fec16", "branch_name": "refs/heads/master", "committer_date": "2017-12-25T16:38:47", "content_id": "346fdc334c062586352a117857ff8f6643baf911", "detected_licenses": [ "MIT" ], "directory_id": "22a485d01ca612359ed5aa2b45bff413ac5e82f6", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> int main(){ char var[20]; char *ptr; strcpy(var, "Hello, World\n"); ptr = var; printf("%s\n", ptr); }
2.46875
2
2024-11-19T01:49:03.128495+00:00
2023-01-07T00:11:14
0a9de1c6a444b16542c45cccecaf483e1320b86c
{ "blob_id": "0a9de1c6a444b16542c45cccecaf483e1320b86c", "branch_name": "refs/heads/master", "committer_date": "2023-01-07T00:11:14", "content_id": "a2ab7ff316322a7b8ae826b03c2d92642ac06d41", "detected_licenses": [ "Apache-2.0" ], "directory_id": "16ad0c3b92f18cde74f0047c2e7680d4662896e8", "extensio...
stackv2
/** * @file * Topic strings */ /* ******************************************************************* * * Copyright 2016 Intel Corporation All rights reserved. * *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
2.03125
2
2024-11-19T01:49:03.254292+00:00
2019-08-05T19:34:48
aaf95356309cd23eb753b3538c0b5f66127d8e64
{ "blob_id": "aaf95356309cd23eb753b3538c0b5f66127d8e64", "branch_name": "refs/heads/develop", "committer_date": "2019-08-05T19:34:48", "content_id": "da79ba32a62c87af60969fb33955965256d59124", "detected_licenses": [ "curl" ], "directory_id": "5584eddc4f7901331e8d89c32e55ebaab13d15ec", "extension": "...
stackv2
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "transaction_verbose_txn_inputs.h" transaction_verbose_txn_inputs_t *transaction_verbose_txn_inputs_create( char *uxid, char *owner, char *coins, long hours, long calculated_hours ) { transaction_verbose_txn_inputs_t *transa...
2.25
2
2024-11-19T01:49:03.727788+00:00
2020-08-29T14:32:22
ee075aab97251c5f013ce6704df40fed02ab62b0
{ "blob_id": "ee075aab97251c5f013ce6704df40fed02ab62b0", "branch_name": "refs/heads/master", "committer_date": "2020-08-29T14:32:22", "content_id": "b46121c6f53f0e5fe7e289ec2f3f82fd323483ca", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b278d6a71e59245fbe7f3ecf6912f4ed890b13ca", "extens...
stackv2
/* ** EPITECH PROJECT, 2019 ** loop_in_game ** File description: ** contains all loop game functions */ #include <stdbool.h> #include "include/my.h" int old_man_key_enter(all_t *all, int diag, sfSprite **sprite, sfTexture **texture) { if (diag == 1 && KEY_ENTER) return (enter_diag_1(all, &*sprite, &*textu...
2.484375
2
2024-11-19T01:49:03.940767+00:00
2022-01-28T14:53:38
4458754c80f7572501ded41c06ebbf8b6722b7e6
{ "blob_id": "4458754c80f7572501ded41c06ebbf8b6722b7e6", "branch_name": "refs/heads/master", "committer_date": "2022-01-28T14:53:38", "content_id": "44e4b903a7ad486593de54a271bf955ccc1b860e", "detected_licenses": [ "MIT" ], "directory_id": "4d3bca04fe688700d5b39bb2dbcb832b808244e2", "extension": "c"...
stackv2
#include "presenceNode.h" /* --------------------------------------------------------------------------------------------------------------- * presenceKmer(node, kmer, size_kmer, nb_CC_node, info_per_lvl) * --------------------------------------------------------------------------------------------------------------...
2.140625
2
2024-11-19T01:49:04.381136+00:00
2021-08-22T18:49:10
6756185c3b28a0eafa87e6e70807caf5965e61f5
{ "blob_id": "6756185c3b28a0eafa87e6e70807caf5965e61f5", "branch_name": "refs/heads/main", "committer_date": "2021-08-22T18:49:10", "content_id": "93ee5b298945a5d184a3b46219ca4eec0a275bca", "detected_licenses": [ "MIT" ], "directory_id": "f75f8947ab80d814ef153b73bf0d178c412c108b", "extension": "h", ...
stackv2
/* alloc.h memory management functions and variables. Copyright (c) Borland International 1987,1988 All Rights Reserved. */ #if __STDC__ #define _Cdecl #else #define _Cdecl cdecl #endif #ifndef _STDDEF #define _STDDEF #ifndef _PTRDIFF_T #define _PTRDIFF_T #if defined(__LARGE__) || defined(__HUGE__) || defined(__C...
2.171875
2