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-19T00:28:46.423276+00:00
2023-08-09T21:38:18
5eb4d7f5add63d0e4af0ad2b8b2d1517658ecc3b
{ "blob_id": "5eb4d7f5add63d0e4af0ad2b8b2d1517658ecc3b", "branch_name": "refs/heads/main", "committer_date": "2023-08-09T21:38:18", "content_id": "a97d01f16372d9cd6b5787a033c2d1bb24de0af9", "detected_licenses": [ "BSD-3-Clause", "Apache-2.0" ], "directory_id": "43bf0bdbd65c8bc8bc99d0ed1d408a79aee2...
stackv2
#ifndef PROTON_OBJECT_H #define PROTON_OBJECT_H 1 /* * * 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 th...
2.125
2
2024-11-19T00:28:46.671444+00:00
2020-12-11T02:41:09
314570a96d58364ecfe48756d83ba2398c46e9b9
{ "blob_id": "314570a96d58364ecfe48756d83ba2398c46e9b9", "branch_name": "refs/heads/main", "committer_date": "2020-12-11T02:41:09", "content_id": "46e343efd05503ce4c5500107d750816a6abf71f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "90116cb448dc5c05e7ad44ca9fb217b2e6151064", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include <malloc.h> #include "defs.h" #include "globals.h" #ifdef __MTA__ #include <sys/mta_task.h> #include <machine/runtime.h> #else #include "compat/xmt-ops.h" #endif #include <math.h> #include <inttypes.h> #include "stinger-atomics.h" MTA("mta inline") int64_t count_intersec...
2.1875
2
2024-11-19T00:28:46.750559+00:00
2020-12-17T23:36:40
63b202d2744a784c9e202a199dba7ba18f6d1fe8
{ "blob_id": "63b202d2744a784c9e202a199dba7ba18f6d1fe8", "branch_name": "refs/heads/v0.1.x-alpha", "committer_date": "2020-12-17T23:36:40", "content_id": "e779f315d46a855fb404c450de46c8ec0ac1b10a", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "4d0a97bf9ca8dad4e26d7f4cb24caedda4cc7...
stackv2
#include "OBDII.h" #include <stdlib.h> #include <string.h> int OBDIICommandSetContainsCommand(OBDIICommandSet *commandSet, OBDIICommand *command) { if (!commandSet || !command) { return 0; } unsigned char mode = OBDIICommandGetMode(command); if (mode == 0x01) { unsigned char pid = OBDIICommandGetPID(c...
2.15625
2
2024-11-19T00:28:46.971031+00:00
2020-08-13T14:43:18
5fa5845d1ada5f2b4c6fbc588dbab1330ffcdc55
{ "blob_id": "5fa5845d1ada5f2b4c6fbc588dbab1330ffcdc55", "branch_name": "refs/heads/master", "committer_date": "2020-08-13T14:43:18", "content_id": "30c51cbf674bb608589dff3a0c4d8d3613c452e2", "detected_licenses": [ "MIT" ], "directory_id": "c3ef6e6b6e0195d32304526e440195f0477bd816", "extension": "c"...
stackv2
#include <Arduino.h> #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include "nano-robot.h" typedef int Number; typedef int Boolean; ${EXTINC} Adafruit_SSD1306 display(128, 32, &Wire, 4); ${VARIABLE} ${FUNCTION} void SW1_press(){ pinMode(12,INPUT); pinMode(13,OUTPUT);...
2.390625
2
2024-11-19T00:28:47.479778+00:00
2015-12-10T04:49:01
b555d2a36d5ff31a66cf3c622769e3cad1968ea4
{ "blob_id": "b555d2a36d5ff31a66cf3c622769e3cad1968ea4", "branch_name": "refs/heads/master", "committer_date": "2015-12-10T04:49:01", "content_id": "768bb57d6377a495f3c3ff553280dd7aadf2bb21", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7100f4c85bbb0f6906e5b075d244f66711a22d5a", "extens...
stackv2
/** * @file * * @brief A plugin for reading and writing ini files * * @copyright BSD License (see doc/COPYING or http://www.libelektra.org) * */ #ifndef HAVE_KDBCONFIG # include "kdbconfig.h" #endif #include <errno.h> #include <stdlib.h> #include <string.h> #include <kdberrors.h> #include <inih.h> #include "in...
2.28125
2
2024-11-19T00:28:47.831520+00:00
2015-04-21T01:59:00
dfb7d828bb3aec7e4d35e9b2d8500a1f21078f3a
{ "blob_id": "dfb7d828bb3aec7e4d35e9b2d8500a1f21078f3a", "branch_name": "refs/heads/master", "committer_date": "2015-04-21T01:59:00", "content_id": "d09818f3385f0f88a81bbe8ff0d24ba22545cedd", "detected_licenses": [ "BSD-1-Clause" ], "directory_id": "08b9f53707a21a96fa6bcf94f1098433eee87863", "extens...
stackv2
/* truncate.c - set file length, extending sparsely if necessary * * Copyright 2011 Rob Landley <rob@landley.net> USE_TRUNCATE(NEWTOY(truncate, "<1s#|c", TOYFLAG_BIN)) config TRUNCATE bool "truncate" default y help usage: truncate [-c] -s file... Set length of file(s), extending sparsely if necessary...
2.5625
3
2024-11-19T00:28:48.299188+00:00
2022-10-27T07:45:09
016da5c5742331e6140dfa0666b831273b8e9afc
{ "blob_id": "016da5c5742331e6140dfa0666b831273b8e9afc", "branch_name": "refs/heads/master", "committer_date": "2022-10-27T08:05:46", "content_id": "5db1aa05b8a51004a7aa4cbd466793dad28177c4", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "4b79f7bba9c46ddf54ea8fa8ec1a05a567a15dbb", "extens...
stackv2
#ifndef __LIBNVM_HELPER_MAP_H__ #define __LIBNVM_HELPER_MAP_H__ #include "list.h" #include <linux/types.h> #include <linux/mm_types.h> /* Forward declaration */ struct ctrl; struct map; typedef void (*release)(struct map*); /* * Describes a range of mapped memory. */ struct map { struct list_node list; ...
2.125
2
2024-11-19T00:28:48.659960+00:00
2018-03-31T18:19:14
97719360680611c6f7d2fbd9f13cf39c098e3a3c
{ "blob_id": "97719360680611c6f7d2fbd9f13cf39c098e3a3c", "branch_name": "refs/heads/master", "committer_date": "2018-03-31T18:19:14", "content_id": "f9704208041316cdfcdc7c96416fc8d7ae1c1a43", "detected_licenses": [ "MIT" ], "directory_id": "bc5375a6f09a7695be02bc7f1fec1a8b2a14e313", "extension": "c"...
stackv2
// STRANNIK Modula-C-Pascal for Win32 // Demo program (Use Internet) // Demo 4.3:Simple browser include Win32 define hINSTANCE 0x400000 define maxFile 200000 //read file from url int ReadFileByUrl(char* url, char* text, int max) { HINTERNET internet; HINTERNET file; int number; int size; int read; bool r...
2.140625
2
2024-11-19T00:28:48.736520+00:00
2021-02-01T17:27:12
59287a9e4251c2aa79cdf837bff8325fb4788f34
{ "blob_id": "59287a9e4251c2aa79cdf837bff8325fb4788f34", "branch_name": "refs/heads/master", "committer_date": "2021-02-01T17:27:12", "content_id": "b81edd017f5cc9f0d6b28c740971fb8f3fa3265f", "detected_licenses": [ "MIT" ], "directory_id": "dc4df80060e74ad8c201c92bd20970b3823cc5ec", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef PC #include <math.h> #include <GL/gl.h> #include "AURAE/AURAE.h" void AURAE_MatrixView(AURAE_Model *model,float * matrixFinal); Vector3 AURAE_MatrixVecTransformPerspectiveFPU(float* matrix,Vector3 vec); float *AURAE_MatrixProjection_Get(); float *AUR...
2.046875
2
2024-11-19T00:40:13.107985+00:00
2021-04-28T10:18:07
4cf5757182bc23fe6d2f5ab4b16987e9e1cefc4f
{ "blob_id": "4cf5757182bc23fe6d2f5ab4b16987e9e1cefc4f", "branch_name": "refs/heads/master", "committer_date": "2021-04-28T10:18:07", "content_id": "4c12a54eca8fdc1cfbe55ad95dcfae3141d60491", "detected_licenses": [ "MIT" ], "directory_id": "40d2e17ed3aff5a3cad0380fedc1cb869e35ed4e", "extension": "c"...
stackv2
/************************************************************************* > File Name: palindrome-number.c # File Name: palindrome-number.c # Author: mist-river # https://leetcode-cn.com/problems/palindrome-number/ # Created Time: 2021年04月12日 星期一 16时01分23秒 ************************************************...
3.328125
3
2024-11-19T00:40:13.348802+00:00
2021-05-25T14:20:08
f2206131bed6dffe9c48f54f41bb213b005fdc0f
{ "blob_id": "f2206131bed6dffe9c48f54f41bb213b005fdc0f", "branch_name": "refs/heads/master", "committer_date": "2021-05-25T14:20:08", "content_id": "f548e0963fe0a77155fdc138edc345afb7661069", "detected_licenses": [ "MIT" ], "directory_id": "aa1c359f1195115a154d371318e953a7f2ec1e40", "extension": "c"...
stackv2
// // Base64.m // RSA Example // // Created by JS Lim on 1/7/14. // Copyright (c) 2014 JS Lim. All rights reserved. // #include <stdint.h> #include <stdlib.h> #include "js_base_64.h" void build_decoding_table(); static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', ...
2.671875
3
2024-11-19T00:40:13.420554+00:00
2021-08-27T18:23:43
e6d3045ec5c53e2cd6c22b163281b2389f476be1
{ "blob_id": "e6d3045ec5c53e2cd6c22b163281b2389f476be1", "branch_name": "refs/heads/main", "committer_date": "2021-08-27T18:23:43", "content_id": "7cfa654edbd3861aa2ca83e70af4706a29470b1c", "detected_licenses": [ "MIT" ], "directory_id": "5fd00050c6a671dac2c983b79c8f249c75af5fb6", "extension": "c", ...
stackv2
// e) Write a program to find greatest among // (i) Array of Integers (ii) Array of strings using functions. #include <stdio.h> #include <string.h> void greatest_int(int a[], int n) { int max_int = a[0]; for (int i = 1; i < n; i++) { if (max_int < a[i]) { max_int = a[i]; ...
4.1875
4
2024-11-19T00:40:13.765180+00:00
2022-12-06T10:30:56
9f4d43612102d784aeb7a8d64c6782d45ff23496
{ "blob_id": "9f4d43612102d784aeb7a8d64c6782d45ff23496", "branch_name": "refs/heads/release/v4.2", "committer_date": "2022-12-06T10:33:43", "content_id": "85334d3ea5a7bc3effd99c1803aa93e876fe958c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "aa48b3e1905fadca72653e60cb1ad758fad7c1d4", "ex...
stackv2
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
2.015625
2
2024-11-19T00:40:14.063788+00:00
2021-03-03T02:01:32
7c6aca4d4bad7b447e2b9f8b049827b062034c4e
{ "blob_id": "7c6aca4d4bad7b447e2b9f8b049827b062034c4e", "branch_name": "refs/heads/master", "committer_date": "2021-03-03T02:01:32", "content_id": "50404eefc79f83c5b13ae2bf8115d3f959ad7d2a", "detected_licenses": [ "MIT" ], "directory_id": "135dc036d1a10b1672efd2cb10166578e9b7439d", "extension": "h"...
stackv2
#ifndef _WCHAR_H #define _WCHAR_H #include "bits/types/mbstate.h" #include "bits/null.h" typedef __SIZE_TYPE__ size_t; typedef __WINT_TYPE__ wint_t; #ifndef __cplusplus typedef __WCHAR_TYPE__ wchar_t; #endif struct tm; #define WEOF (-1) #define WCHAR_MAX __WCHAR_MAX__ #define WCHAR_MIN __WCHAR_MIN__ #ifdef __cplu...
2.109375
2
2024-11-19T00:40:14.276631+00:00
2020-06-28T14:27:02
7b8ce08ce18e93eab82a997640f8afaaa78d818c
{ "blob_id": "7b8ce08ce18e93eab82a997640f8afaaa78d818c", "branch_name": "refs/heads/master", "committer_date": "2020-06-28T14:27:02", "content_id": "e6f44de3ee6a9f84a1c5df1ada482a6f29da3f04", "detected_licenses": [ "MIT" ], "directory_id": "dfe44688c50737bb4292f268027fd1d8301e75f4", "extension": "h"...
stackv2
/* ** Created by doom on 20/04/19. */ #ifndef CEEDS_VECTOR_H #define CEEDS_VECTOR_H #include <ceeds/core.h> #include <ceeds/memory.h> /** * Vectors (dynamically-growing arrays) */ #define vector_t(n) vector_##n##_t /** * Create a vector type * * @param n the name of the...
2.984375
3
2024-11-19T00:40:15.317639+00:00
2016-12-02T21:44:47
53baef99e2c041fe2de1d63f4e46c6082f7351bb
{ "blob_id": "53baef99e2c041fe2de1d63f4e46c6082f7351bb", "branch_name": "refs/heads/master", "committer_date": "2016-12-02T21:44:47", "content_id": "b4feae59e3b826de0a31910fc5a163c23f4516c5", "detected_licenses": [ "MIT" ], "directory_id": "7e5157da6c340d19009f1a2cfbbf2acc22b291f8", "extension": "c"...
stackv2
#include "tlb.h" #include "types.h" #include "parser.h" #include "memory.h" #include "page.h" #include <limits.h> int tlb_scan(TLB* tlb, Address address, FrameNumber* frame_number) { PageNumber search = address.page_number; int found = 0; int i; for (i = 0; i < TLB_ENTRIES && tlb->table[i] != NULL; i++) { if (t...
2.875
3
2024-11-19T00:40:15.586595+00:00
2017-06-07T15:21:10
1ea64ff557ab24cedca94c3ba296c6a4d6dc3571
{ "blob_id": "1ea64ff557ab24cedca94c3ba296c6a4d6dc3571", "branch_name": "refs/heads/master", "committer_date": "2017-06-07T15:21:10", "content_id": "3b9f3108d05142b4cad1b2926c4cba3d289b9b67", "detected_licenses": [ "MIT" ], "directory_id": "8e1cd4bb15bd8504eee7e7118581fb19ac2f1af2", "extension": "h"...
stackv2
#ifndef NOSQL_SRC_DOUBLE_LINKED_LIST_H_ #define NOSQL_SRC_DOUBLE_LINKED_LIST_H_ #ifndef CAST #define CAST(type) (type) #endif typedef struct ListNode { struct ListNode *previous_; struct ListNode *next_; void *value_; } ListNode; typedef struct ListIterator { ListNode *next_; int direction_; } ListIterator; #d...
2.890625
3
2024-11-19T00:40:15.772290+00:00
2018-11-14T09:37:37
cd1a221d0ec5f4304f4fd27ab38ac971d7e87a63
{ "blob_id": "cd1a221d0ec5f4304f4fd27ab38ac971d7e87a63", "branch_name": "refs/heads/master", "committer_date": "2018-11-14T09:37:37", "content_id": "8b40c5bca3b0c9603457d011022e4ab0c6b47759", "detected_licenses": [ "MIT" ], "directory_id": "440e414f939d766375f0e0f9f26042cba0650331", "extension": "c"...
stackv2
#include <stdio.h> #include <stddef.h> #include <stdint.h> #include "actor_gate/ringbuffer.h" static void _trigger_close(int id) { printf("id close!!!\n"); } static void _trigger_package(int id, uint8_t* data, size_t sz) { size_t i=0; printf("package id:%d sz:%zu data:", id, sz); for(i=0; i<sz; i++)...
2.671875
3
2024-11-19T00:40:16.215346+00:00
2020-12-10T04:19:37
ff92dd183230ebac80bfb83223ebd07ece7e926a
{ "blob_id": "ff92dd183230ebac80bfb83223ebd07ece7e926a", "branch_name": "refs/heads/master", "committer_date": "2020-12-10T04:19:37", "content_id": "b75f323797523e39a8137c446d6a8151ddc01994", "detected_licenses": [ "MIT" ], "directory_id": "1d2b48ef740051201e93dad6e1deb47fe1eb7e49", "extension": "h"...
stackv2
/* ** $Id: lptree.h,v 1.2 2013/03/24 13:51:12 roberto Exp $ */ #if !defined(lptree_h) #define lptree_h #include "lptypes.h" /* ** types of trees */ typedef enum TTag { TChar = 0, TSet, TAny, /* standard PEG elements */ TTrue, TFalse, TRep, TSeq, TChoice, TNot, TAnd, TCall, TOpenCall, TRule, /*...
2.15625
2
2024-11-19T00:40:16.298826+00:00
2020-09-14T14:48:29
305c20e0be769149f8389eadae2c97215495ed70
{ "blob_id": "305c20e0be769149f8389eadae2c97215495ed70", "branch_name": "refs/heads/master", "committer_date": "2020-09-14T14:48:29", "content_id": "c4ca2b7c81d87ced07b6ce36e1e29dc0fa6f441b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8ac467a0508dee4ea57c7d5920f116e25eeb741b", "extensio...
stackv2
#include <stdint.h> #include "emscripten.h" typedef void (*webxr_void)(); typedef void (*webxr_void_int)(); typedef void (*webxr_void_string)(); webxr_void_int on_start_ar_ref; webxr_void_int on_start_vr_ref; webxr_void on_end_xr_ref; webxr_void_string on_xr_capabilities_ref; webxr_void_string on_webxr_data_ref; voi...
2.15625
2
2024-11-19T00:40:16.425495+00:00
2020-06-03T19:00:07
e0434d60bb83ca0e17356a3db0f3a4d23e962dfe
{ "blob_id": "e0434d60bb83ca0e17356a3db0f3a4d23e962dfe", "branch_name": "refs/heads/master", "committer_date": "2020-06-03T19:00:07", "content_id": "94c529a30f429c77fa1a3454b18b8a9e36622e00", "detected_licenses": [ "MIT" ], "directory_id": "a30f20f236257cc48b60378fa5c99b9fbf1cd022", "extension": "c"...
stackv2
/* ------------------------------------------------------------------- */ #include <stdlib.h> #include <string.h> #include <conio.h> #include <assert.h> #include <types.e> #include <keyboard.e> #include <malloc.e> #include <scrker.e> #include "readstr.e" /* ----------------------------------------------------------...
2.53125
3
2024-11-19T00:40:16.592941+00:00
2021-02-02T12:31:20
760b7db48666bcd60167874b80d86ff59772e893
{ "blob_id": "760b7db48666bcd60167874b80d86ff59772e893", "branch_name": "refs/heads/master", "committer_date": "2021-02-02T12:31:49", "content_id": "f4200c869859ec5db69c8b5a6352a54474106ff0", "detected_licenses": [ "MIT" ], "directory_id": "16c81f644924bcdd180f31a8e01bf7375ccccb43", "extension": "c"...
stackv2
/* * This file is part of libdom. * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com> * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com> */ #include <assert.h> #include <stdlib.h> #include <dom/htm...
2.140625
2
2024-11-19T00:40:16.733310+00:00
2015-06-21T15:07:26
ab07367227872706be7b9e92259a4827bc9a1968
{ "blob_id": "ab07367227872706be7b9e92259a4827bc9a1968", "branch_name": "refs/heads/master", "committer_date": "2015-06-21T15:07:26", "content_id": "089c9888a542a1660a8e9eec312c59a1b214f747", "detected_licenses": [ "MIT" ], "directory_id": "a34cb61d4270f0eaab4c2094fe0190eea521b9ae", "extension": "c"...
stackv2
/* * * 20150501-2.c * * Created by Sam Niemoeller on 5/1/15 * * Chapter 6, Problem 52 - Recursion * * Write a program that reads an integer from the keyboard and then * calls a recursive function to print it out in reverse. (Note - I ended up * doing this using the iterative approach first...) Recursive is feeling *...
3.78125
4
2024-11-19T00:40:16.916360+00:00
2017-10-23T16:44:48
88113595b99cb25422de32d8e444d3d180de5983
{ "blob_id": "88113595b99cb25422de32d8e444d3d180de5983", "branch_name": "refs/heads/master", "committer_date": "2017-10-23T16:44:48", "content_id": "e530ab02c03d84ce27c59f8928e5591d9b4e9935", "detected_licenses": [ "MIT" ], "directory_id": "4a35d341a2710b00530efc674aa2e3435772a405", "extension": "c"...
stackv2
#include <speck.h> void spec_sample_one(void) { //int i = *(int*)0; //(void)i; sp_assert_equal_i(42, 42); sp_assert(42); } void spec_sample_two(void) { sp_assert_equal_s("foo", "foo"); }
2.03125
2
2024-11-19T00:40:17.012211+00:00
2022-12-17T13:10:09
cfd113b7aad73fb166c4addc8d36d11a11b91cfc
{ "blob_id": "cfd113b7aad73fb166c4addc8d36d11a11b91cfc", "branch_name": "refs/heads/master", "committer_date": "2022-12-17T13:10:09", "content_id": "27d0ee822fd3c5c55f3cf86bb77920a63b149ae4", "detected_licenses": [ "MIT" ], "directory_id": "d193d1b9fc7ffc56a4442c31d6ee00ed9ae3cf7f", "extension": "c"...
stackv2
/* Copyright (c) 2018 KrossX <krossx@live.com> * License: http://www.opensource.org/licenses/mit-license.html MIT License */ #include <windows.h> #include <stdio.h> typedef __int8 s8; typedef __int16 s16; typedef __int32 s32; typedef __int64 s64; typedef unsigned __int8 u8; typedef unsigned __int16 u16; typedef...
2.453125
2
2024-11-19T00:40:17.269322+00:00
2023-07-12T07:38:29
332c46ba48edda9e877f0f1eadc9a12c732f56ac
{ "blob_id": "332c46ba48edda9e877f0f1eadc9a12c732f56ac", "branch_name": "refs/heads/master", "committer_date": "2023-07-12T07:38:29", "content_id": "23b3ea1bc7a7c16ac9c7871c06cfb3598e8e9386", "detected_licenses": [ "MIT" ], "directory_id": "52c8ed39b32ccc7c0673278c1adea3638797c9ff", "extension": "c"...
stackv2
/* * wboxtest/benchmark-memory/memmove.c */ #include <wboxtest.h> struct wbt_memmove_pdata_t { char * src; char * dst; size_t size; ktime_t t1; ktime_t t2; int calls; }; static void * memmove_setup(struct wboxtest_t * wbt) { struct wbt_memmove_pdata_t * pdat; int i; pdat = malloc(sizeof(struct wbt_memmo...
2.75
3
2024-11-19T00:40:17.456777+00:00
2021-10-05T02:16:15
08e72bc753d827a715493d6fa41337ecc38fbf1b
{ "blob_id": "08e72bc753d827a715493d6fa41337ecc38fbf1b", "branch_name": "refs/heads/main", "committer_date": "2021-10-05T02:16:15", "content_id": "cff33dbcac9c7433c30cd1a8f7e57f20c0a16034", "detected_licenses": [ "MIT" ], "directory_id": "a4402502c7349db65f18f37ff675bf085d510acd", "extension": "c", ...
stackv2
#include "utils.h" #include "ieee80211_structs.h" /*============================================================================*/ char *utilsMAC2str( uint8_t *mac_addr, char *dst, size_t ndst ) { char *retRef = NULL; if ( ( NULL != mac_addr) && ( NULL != dst ) && ( ndst >= 18 ) ) { snprintf( dst, ndst...
2.390625
2
2024-11-19T00:40:17.534347+00:00
2020-07-10T19:24:57
9d4f72d350a0b1d32ff52614abb4b0c27fd21cf3
{ "blob_id": "9d4f72d350a0b1d32ff52614abb4b0c27fd21cf3", "branch_name": "refs/heads/master", "committer_date": "2020-07-10T19:24:57", "content_id": "e92f355dc3dd7538fae63bbbea22b488ea84656b", "detected_licenses": [ "MIT" ], "directory_id": "ab1a7ad422f52860c2eef54e39bfaf63352eb2ce", "extension": "c"...
stackv2
/* * Generate tables for bit-revese shuffle * * Input: an integer k for tables of size n=2^k * * Basic table: * bitrev[i] = reverse of i for i=0 to n-1 * * Second table: * revpair = all pairs (i, reverse i) where i < reverse i. * nrevpairs = number of pairs in this table */ #include <assert.h> #include <std...
3.3125
3
2024-11-19T00:40:17.854687+00:00
2023-08-25T14:45:33
76b74fb8b74e3184a31361d01c1e0374054972d9
{ "blob_id": "76b74fb8b74e3184a31361d01c1e0374054972d9", "branch_name": "refs/heads/main", "committer_date": "2023-08-25T14:46:02", "content_id": "94d61c09c87036dca0afc42e623ce3e15745d5cd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "5ad33c22eb4531f41a3aaff28fa2a256538a2aee", "extensio...
stackv2
#ifndef GOOGLEMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_PP_H_ #define GOOGLEMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_PP_H_ // Expands and concatenates the arguments. Constructed macros reevaluate. #define GMOCK_PP_CAT(_1, _2) GMOCK_PP_INTERNAL_CAT(_1, _2) // Expands and stringifies the only argument. #define GMOCK_PP_STRINGIZE(...)...
2.40625
2
2024-11-19T00:40:18.040793+00:00
2019-02-18T19:26:12
75a9f99cd7709743675f07812b2e48e098046fe7
{ "blob_id": "75a9f99cd7709743675f07812b2e48e098046fe7", "branch_name": "refs/heads/master", "committer_date": "2019-02-18T19:26:12", "content_id": "fe8a16a8e6919b1c4bd71dc1858d64d54ad1b596", "detected_licenses": [ "MIT" ], "directory_id": "e5926ce06de449fa0c3d8f110497c61a3b5d730d", "extension": "c"...
stackv2
#include <Arduino.h> #include "sample.h" #include "STemWin.h" #define MSG_CHANGE_TEXT (WM_USER + 0) //用户自定义的消息类型 #define SPEED 1250 static char _acInfoText[40]; static GUI_COLOR _WindowColor1 = GUI_GREEN; //窗口1的颜色为绿色 static GUI_COLOR _FrameColor1 = GUI_BLUE; //窗口1的边界为蓝色 static GUI_COLOR _WindowColor2 ...
2.375
2
2024-11-19T00:40:23.318540+00:00
2022-04-25T02:39:21
5440a67603da7820d59a59d42182a02bbf77608e
{ "blob_id": "5440a67603da7820d59a59d42182a02bbf77608e", "branch_name": "refs/heads/main", "committer_date": "2022-04-25T02:39:21", "content_id": "0863c8b489f9d3d089c5bd4009b43b8686fd7d5f", "detected_licenses": [ "MIT" ], "directory_id": "7da903d6c9f9964bea927cb29e1dbb0022aa2409", "extension": "c", ...
stackv2
/***************************************************************************** * file: "3dXFDrawing.c" * * purpose: transformed drawing routines for use with three * dimensional graphics applications which use the * "3d.c" and "FixedMath.c" functions. * * ©1990 Mark M. Owen. All rights reserved. ***************...
2.40625
2
2024-11-19T00:40:23.406717+00:00
2013-10-31T18:31:03
a25ff973566439fd16e4de96370592b7e6376cae
{ "blob_id": "a25ff973566439fd16e4de96370592b7e6376cae", "branch_name": "refs/heads/master", "committer_date": "2013-10-31T18:31:03", "content_id": "17cca20bce261f9880e856f2ba6a8ce2b8eee8e2", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9f9b3bfce3496c85d86928daeff74feece40e90b", "extens...
stackv2
/* * Adapted from the original dm-kcopyd.c. * * Copyright (C) 2002 Sistina Software (UK) Limited. * Copyright (C) 2006 Red Hat GmbH * * This file is released under the GPL. * * Kcopyd provides a simple interface for copying an area of one * block-device to one or more other block-devices, with an asynchronous ...
2.328125
2
2024-11-18T22:59:31.275690+00:00
2014-03-11T20:19:14
040a1f9ae7ce22716ede58c18f6195171b8c9733
{ "blob_id": "040a1f9ae7ce22716ede58c18f6195171b8c9733", "branch_name": "refs/heads/master", "committer_date": "2014-03-11T20:19:14", "content_id": "ecd1e853f72cfbbd8026b1681868b29e5440525f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "291b2f8a5ad2e61c3eb072451b8630a0c1585ac5", "extens...
stackv2
#include "common/debugging.h" #include "operations.h" #include <errno.h> #include <fcntl.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #define LOCALFS_LOG LOG_DEBUG int local_getattr(const char *path, struct stat *stbuf) { int ret = 0; if ((ret = lstat(path, stbuf...
2.578125
3
2024-11-18T22:59:31.345424+00:00
2020-04-01T12:47:35
1f78a952bda9a5e20caf726904ea1ef210107c72
{ "blob_id": "1f78a952bda9a5e20caf726904ea1ef210107c72", "branch_name": "refs/heads/master", "committer_date": "2020-04-01T12:47:35", "content_id": "a958d6ef438ac3fc5d0cf814749419879869dcd7", "detected_licenses": [ "MIT" ], "directory_id": "6118e4dd89e06b5b1d6685598eb74b862ef427ca", "extension": "h"...
stackv2
#ifndef ESTRUCTURAS_H_INCLUDED #define ESTRUCTURAS_H_INCLUDED #endif // ESTRUCTURAS_H_INCLUDED #include <math.h> #include <stdint.h> #include <stdio.h> /* Macros */ #define EXT2_NAME_LEN 255 #define EXT2_N_BLOCKS 15 /*12 directos,1 indirecto,1 doble indirecto y 1 triple ind...
2.375
2
2024-11-18T22:59:32.275306+00:00
2019-01-04T02:43:38
5e9c349738c27c922dc3665637d31b9b019a93c6
{ "blob_id": "5e9c349738c27c922dc3665637d31b9b019a93c6", "branch_name": "refs/heads/master", "committer_date": "2019-01-04T02:43:38", "content_id": "e5a4cce9bf96de9c8cda1c80409615fa639b2209", "detected_licenses": [ "Apache-2.0" ], "directory_id": "5039ae07f3955e7f90ecbb82741d17a12fa18d23", "extensio...
stackv2
/* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferable use...
2.453125
2
2024-11-18T22:59:32.456564+00:00
2015-10-20T22:04:11
d9f715552052716b4bdc568080a37101a0289f9c
{ "blob_id": "d9f715552052716b4bdc568080a37101a0289f9c", "branch_name": "refs/heads/master", "committer_date": "2015-10-20T22:04:11", "content_id": "99cf079c3fe19c103a548fd2ff1ab43075935d0d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a529dde5554fdcbcbf84a839ab0be8206d62455b", "extens...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <time.h> #include <unistd.h> #include <errno.h> #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/uio.h> #include "rp.h" #define BUFLEN 16384 //Max length of buffer // 16*1024 #define PORT 753...
2.296875
2
2024-11-18T22:59:32.503207+00:00
2019-02-02T16:23:53
f7ff09be8f1855cfbbeb34582333728e55191efb
{ "blob_id": "f7ff09be8f1855cfbbeb34582333728e55191efb", "branch_name": "refs/heads/master", "committer_date": "2019-02-02T16:23:53", "content_id": "3e4114636f4cda681a3711427f19b35d722def39", "detected_licenses": [ "MIT" ], "directory_id": "d9679c1f3cdfba099dd8d264106d9fde73614456", "extension": "c"...
stackv2
/* Kelompok : UAS Nama file : driverPoint.c Deskripsi : driver untuk ADT tipe Point*/ #include "point.h" int main () { /* Kamus driver_point */ Point p1,p2; int menu; int deltaX, deltaY; /* Algoritma driver_point */ /* Baca tulis */ printf("Masukkan point pertama : "); P_BacaPoint(&p1); P_TulisPoin...
3.546875
4
2024-11-18T22:59:33.086960+00:00
2014-11-23T23:04:32
ddefc31a59e644550839c29f5d6548a51a01211f
{ "blob_id": "ddefc31a59e644550839c29f5d6548a51a01211f", "branch_name": "refs/heads/master", "committer_date": "2014-11-23T23:04:32", "content_id": "f58e3abb9123824f09b3c19115fe82f9923fc90e", "detected_licenses": [ "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "99e5e3f6a31a226f23179dd748b1c4e0...
stackv2
#include <stdio.h> void * mymalloc(size_t gnu) { printf("received %lu\n", (unsigned long)gnu); return NULL; } int main() { char *p; long long filesize = 163633; /* * 08/07/09: VERY basic long long bug! I'm shocked and appalled! * The argument isn't passed correctly. (This bombed in Python * if anyone car...
2.609375
3
2024-11-18T22:59:33.248769+00:00
2022-09-02T11:03:20
3289c95fa767859a6e9e14623587131054ded3f8
{ "blob_id": "3289c95fa767859a6e9e14623587131054ded3f8", "branch_name": "refs/heads/master", "committer_date": "2022-09-02T11:03:20", "content_id": "0f6226e23356e6dfb5daaf16b1ab57731a79a759", "detected_licenses": [ "Apache-2.0" ], "directory_id": "0f4159a041e2ae7a20218579487afcc84740349a", "extensio...
stackv2
// Copyright 2015 The Cobalt Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
2.296875
2
2024-11-18T22:59:33.943327+00:00
2020-10-10T11:02:50
e4a62635bfbadeba21d9006485b2b6fecea00a1b
{ "blob_id": "e4a62635bfbadeba21d9006485b2b6fecea00a1b", "branch_name": "refs/heads/master", "committer_date": "2020-10-10T11:02:50", "content_id": "9eedae7021cbcde192e74a4b863f01efe1446e6a", "detected_licenses": [ "MIT" ], "directory_id": "cff4e613a2435b607bd49e4192dc84985efe4f54", "extension": "c"...
stackv2
/* ** my_strlen.c for my_strlen in /home/pereni_j/rendu/Piscine_C_J04 ** ** Made by joseph pereniguez ** Login <pereni_j@epitech.net> ** ** Started on Thu Oct 2 18:45:51 2014 joseph pereniguez ** Last update Thu Oct 2 19:55:02 2014 joseph pereniguez */ int my_strlen(char *str) { int i; i = 0; while (str[...
2.625
3
2024-11-18T22:59:35.965452+00:00
2022-01-18T19:18:03
1eac2505d2603018d825f8926777c379d95caa24
{ "blob_id": "1eac2505d2603018d825f8926777c379d95caa24", "branch_name": "refs/heads/master", "committer_date": "2022-01-18T19:18:03", "content_id": "090bf12397f94bff23163b915aa41a516b5585f1", "detected_licenses": [ "MIT" ], "directory_id": "730b5d47fc229c867561e06705e471cb0b38dbb4", "extension": "h"...
stackv2
#pragma once //----------------------------------------------------------------------------- // Includes //----------------------------------------------------------------------------- #pragma region #include "geometry.h" #pragma endregion //--------------------------------------------------------------------------...
2.15625
2
2024-11-18T22:59:36.251103+00:00
2023-08-16T20:14:38
0817318c377f3b929d56d0a75ef67f2287499370
{ "blob_id": "0817318c377f3b929d56d0a75ef67f2287499370", "branch_name": "refs/heads/main", "committer_date": "2023-08-16T20:15:25", "content_id": "5eff4df35d0d31e293ca8ee7ea9c6541b9273743", "detected_licenses": [ "ISC" ], "directory_id": "9d1bbe695d5377f105defd1f125472f1c6187d5d", "extension": "c", ...
stackv2
/* Copyright (c) 2023, Antonie Blom * * 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 DISCLAIM...
2.4375
2
2024-11-18T22:59:36.473386+00:00
2022-10-10T00:16:12
2bd4d2315401d39fe93ba3e8c77548c108a6358f
{ "blob_id": "2bd4d2315401d39fe93ba3e8c77548c108a6358f", "branch_name": "refs/heads/master", "committer_date": "2022-10-10T00:16:12", "content_id": "91295bb67faac59c5c310fd72f1e4a0dd2ee9b93", "detected_licenses": [ "MIT" ], "directory_id": "cb52daafb9a497c1769ddd5f5698aa5e2dcc7fbe", "extension": "h"...
stackv2
#ifndef CML_BLOCK_H #error "Never use <cml/block/uint.h> directly; include <cml/block.h> instead." #endif #ifndef CML_BLOCK_UCHAR_H #define CML_BLOCK_UCHAR_H #include <stdlib.h> #include <stdio.h> __CML_BEGIN_DECLS typedef struct { size_t size; unsigned int *data; } cml_block_uint_t; cml_block_uin...
2.203125
2
2024-11-18T22:59:36.547682+00:00
2022-02-20T01:13:52
2d4a34e9ee1d4b636fd4e40fc570e255a4ae1dd3
{ "blob_id": "2d4a34e9ee1d4b636fd4e40fc570e255a4ae1dd3", "branch_name": "refs/heads/master", "committer_date": "2022-02-21T19:38:33", "content_id": "7c6ea292d7931d100bf4036837dfd8f95fe81532", "detected_licenses": [ "MIT" ], "directory_id": "ae8d0783918ca0476c4ea617fc014c7436538c5a", "extension": "c"...
stackv2
#include <libcgc.h> #include <stdlib.h> #include <string.h> #include <ctype.h> char *valid_hair_colors[] = { "Bald", "Black", "Blonde or Strawbery", "Brown", "Gray or Partially Gray", "Red or Auburn", "Sandy", "White", "Blue", "Green", "Orange", "Pink", "Purple", ...
2.34375
2
2024-11-18T22:59:36.621508+00:00
2021-03-29T14:43:39
a562db8a9fa6c68537f43b12e4184e2e9a216e4c
{ "blob_id": "a562db8a9fa6c68537f43b12e4184e2e9a216e4c", "branch_name": "refs/heads/master", "committer_date": "2021-03-29T14:43:39", "content_id": "2d86605ea46e5b97c93b779de7907fa3d223a986", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "650a7aaa88bd0c6b56e1d93ccd965fda16bf0c45", "extens...
stackv2
//***************************************************************************** // // app_main.c // // Bare bones client for testing. // // Copyright (c) 2011-2016, Robert Sexton. All rights reserved. // Covered by the terms of the supplied Licence.txt file //*******************************************************...
2.3125
2
2024-11-18T22:59:36.705967+00:00
2023-07-21T10:10:17
ce5e2ae2a42695b9273fbde83374ec5d109e42e6
{ "blob_id": "ce5e2ae2a42695b9273fbde83374ec5d109e42e6", "branch_name": "refs/heads/main", "committer_date": "2023-07-21T10:10:17", "content_id": "2aa8a81e85e003a1b19709ae8a09a4fa0ce3d15a", "detected_licenses": [ "BSD-2-Clause", "BSD-1-Clause" ], "directory_id": "02355631ebd767b9badabb02b752c59377...
stackv2
#include <stdio.h> #include "libut.h" int main() { UT_string *s; UT_vector v; utvector_init(&v, utstring_mm); printf("extend\n"); s = (UT_string*)utvector_extend(&v); utstring_printf(s,"hello"); printf("iterate\n"); s=NULL; while ( (s=(UT_string*)utvector_next(&v,s))) printf("%s\n",utstring_body(s)...
2.34375
2
2024-11-18T22:59:36.789557+00:00
2020-05-09T04:12:33
3da9424641b72b1dc7e2164922971ac3b3cf2657
{ "blob_id": "3da9424641b72b1dc7e2164922971ac3b3cf2657", "branch_name": "refs/heads/master", "committer_date": "2020-05-09T04:12:33", "content_id": "f420b88be433ee5c9000fe0978a78daa1b6a527d", "detected_licenses": [ "MIT" ], "directory_id": "b170e722dbf570c1e5c1bf70915a2b29240b2d8c", "extension": "c"...
stackv2
#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> int main(int argc, char *argv[]) { if (argc != 2) { fprintf(stderr, "Usage: %s <process name>\n", argv[0]); return EXIT_FAILURE; } int ps_to_grep[2], grep_to_wc[2], wc_to_parent[2]; // in future check re...
2.875
3
2024-11-18T22:59:36.858353+00:00
2020-10-20T19:33:17
d9083dbaaf1ad3e41e761c75aa6653f07656a3d3
{ "blob_id": "d9083dbaaf1ad3e41e761c75aa6653f07656a3d3", "branch_name": "refs/heads/master", "committer_date": "2020-10-20T19:33:17", "content_id": "170d6322ed058682d0e7f253ed8cc6162cbd3a19", "detected_licenses": [ "Apache-2.0" ], "directory_id": "1408929beb0a5733b6a83668984ab0f8521979c2", "extensio...
stackv2
#include <stdio.h> long long int gcd(long long int,long long int); int main() { int testcase; scanf("%d",&testcase); while (testcase--) { long long int GCD,a,b; scanf("%lld %lld",&a,&b); GCD=gcd(a,b); printf("%lld %lld\n",GCD,(a*b)/GCD); } } long long int gcd(long long int a,long long int b) {...
2.890625
3
2024-11-18T22:59:37.012140+00:00
2023-08-14T16:16:33
1ca546681015abadf6585726c8472c2809ba483c
{ "blob_id": "1ca546681015abadf6585726c8472c2809ba483c", "branch_name": "refs/heads/master", "committer_date": "2023-08-14T16:16:33", "content_id": "5c42e604b6e679149ce17c9e7de7f15b06c4c3c5", "detected_licenses": [ "MIT" ], "directory_id": "604bb75be88bc995b7f25099ac33ad9e2a037325", "extension": "c"...
stackv2
/* * bdos.c -- Builtins which make MS-DOS system calls * * Copyright (c) Applied Logic Systemes, Inc. * * Author : Ilyas Cicekli * Date : 7/23/91 * * Note : * This file originally was created as "dospreds.c" for MetaCourier * interface. ( Date: 11/8/89). That file is converted to this file. * (...
2.109375
2
2024-11-18T22:59:37.365596+00:00
2023-08-30T14:57:25
8e696a59463acbe7ced8edea58d6c82efb6f7b4b
{ "blob_id": "8e696a59463acbe7ced8edea58d6c82efb6f7b4b", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T14:57:25", "content_id": "7afb5f623e58ff8767d1f37a2a68aca2464157fe", "detected_licenses": [ "MIT" ], "directory_id": "e5aa0f7de0dcbc86408348c51e6bf0edb8e833e9", "extension": "c"...
stackv2
#include <string.h> #include <strings.h> #include "sway/commands.h" #include "util.h" struct cmd_results *cmd_focus_follows_mouse(int argc, char **argv) { struct cmd_results *error = NULL; if ((error = checkarg(argc, "focus_follows_mouse", EXPECTED_EQUAL_TO, 1))) { return error; } else if(strcmp(argv[0], "no") ==...
2.140625
2
2024-11-18T22:59:37.974039+00:00
2020-07-20T23:23:30
34724c82f3aa787e766d29a9e3b6bdc65329d36e
{ "blob_id": "34724c82f3aa787e766d29a9e3b6bdc65329d36e", "branch_name": "refs/heads/master", "committer_date": "2020-07-20T23:23:30", "content_id": "bc8c5a0c17ee25e76d3ecae9a561afaea25b1d55", "detected_licenses": [ "Unlicense" ], "directory_id": "dc35990352ae167b2a60bf35b45076cdbae63de0", "extension...
stackv2
/* * table-6-1-convolution.h * BookExamples * * Created by Doug on 3/27/08. * Copyright 2008 Douglas Richardson. All rights reserved. * */ #ifndef _INPUT_CONVOLUTIONS_H_ #define _INPUT_CONVOLUTIONS_H_ #include <inttypes.h> typedef struct { unsigned sample_count; int32_t samples[1]; } Int32Signal; Int...
2.53125
3
2024-11-18T22:59:38.063531+00:00
2021-06-20T02:20:27
985e9b45c7b4633fab609bae2a72bb4820847862
{ "blob_id": "985e9b45c7b4633fab609bae2a72bb4820847862", "branch_name": "refs/heads/main", "committer_date": "2021-06-20T04:51:25", "content_id": "d8d2b84b051bd5d149eee07086fdf5fa92ecdbf9", "detected_licenses": [ "MIT" ], "directory_id": "991858cfa4e3088ffad9747045a5f21731e5446f", "extension": "c", ...
stackv2
// Allocate more Heap, sbrk #include <stddef.h> void * _sbrk (int nbytes) { // Symbol defined by linker map - start of free memory (as symbol) extern int _end[]; // Value set by linker map - end of free memory extern int _heap_end[]; // The statically held previous end of the heap, with its init...
2.546875
3
2024-11-18T22:59:38.144029+00:00
2016-04-28T22:52:55
23b351d9e2e8918839a0f6c7d6ccf3fbed155181
{ "blob_id": "23b351d9e2e8918839a0f6c7d6ccf3fbed155181", "branch_name": "refs/heads/master", "committer_date": "2016-04-28T22:52:55", "content_id": "1d7de4a7baaf04690be7314eea2f489914dd6458", "detected_licenses": [ "MIT" ], "directory_id": "e37483b4f8857fbd2230e1dcab54f6a1088ce9bd", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main(argc, argv) int argc; char **argv; { FILE *infile; unsigned char work; int lineno; int quote=0, number=0; char tokens[255][20]={ "AND","DIV","EOR","MOD","OR","ERROR","LINE","OFF","STEP","SPC","TAB(","ELSE", "THEN","line","OPENIN",...
2.328125
2
2024-11-18T22:59:38.781655+00:00
2020-02-27T18:27:43
d8a516ba422dfacb9f5f16564ed56ea2f86196cd
{ "blob_id": "d8a516ba422dfacb9f5f16564ed56ea2f86196cd", "branch_name": "refs/heads/master", "committer_date": "2020-02-27T18:27:43", "content_id": "7bd1df38054535d9ae684dac96754d20dc8d70ba", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "da87c3c4568baf73eafba3bdd0398b72...
stackv2
/* * FILE %nl_kr/lib/nl_00117.c * * print a document hit list * * written: 1993-02-28 * latest update: 1995-12-05 * $Id: nl_00117.c,v 1.3 2002/01/29 08:01:42 gonter Exp $ * */ #include <stdio.h> #include <gg/lookup.h> /* ------------------------------------------------------------------------ */ i...
2.09375
2
2024-11-18T22:59:38.941997+00:00
2017-12-14T03:13:06
756d85cd58ecb13c04a52c67361ff571319d5551
{ "blob_id": "756d85cd58ecb13c04a52c67361ff571319d5551", "branch_name": "refs/heads/master", "committer_date": "2017-12-14T03:13:06", "content_id": "d7d6c5b1fdd6648e112bbc395a583a9d0cec781a", "detected_licenses": [ "MIT" ], "directory_id": "1924644bc1c87e947544b6a930b15d1ddc00be57", "extension": "c"...
stackv2
/* * C Program that Merges Lines Alternatively from 2 Files & Print Result */ #include<stdio.h> main() { char file1[10], file2[10]; puts("enter the name of file 1"); /*getting the names of file to be concatenated*/ scanf("%s", file1); puts("enter the name of file 2"); scanf("%s", file2); ...
3.46875
3
2024-11-18T22:59:39.163739+00:00
2021-02-18T05:26:50
a89f0b08c63832a0844369811d699c48aa159675
{ "blob_id": "a89f0b08c63832a0844369811d699c48aa159675", "branch_name": "refs/heads/main", "committer_date": "2021-02-18T05:26:50", "content_id": "f21e12a382ca69ea8cb601c0d4078a8205adeee7", "detected_licenses": [ "MIT" ], "directory_id": "3f7c82de040fac6f4c0fe20cce84870b13ea4d5c", "extension": "c", ...
stackv2
#include "print.h" void main(void) { put_str("I am kernel\n"); put_int(0); put_char('\n'); put_int(9); put_char('\n'); put_int(0x00021a3f); put_char('\n'); put_int(0x12345678); put_char('\n'); put_int(0x00000000); while(1); }
2.28125
2
2024-11-18T22:59:39.233197+00:00
2019-02-05T20:58:22
aaaeee7bd6f533bf01ad9084026bc226b8b893b0
{ "blob_id": "aaaeee7bd6f533bf01ad9084026bc226b8b893b0", "branch_name": "refs/heads/master", "committer_date": "2019-02-05T20:58:22", "content_id": "386ad3c08325c205ed66b706f49b0e81ef26e693", "detected_licenses": [ "MIT" ], "directory_id": "92946d9c68206fb354f8859436b7b04ad2f36d87", "extension": "c"...
stackv2
#include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/eeprom.h> #include "pcd8544/pcd8544.h" // lcd lib #include "bmp180/bmp180.h" //bmp180 lib #define LIGHT (1<<PD5) #define BUZZER (1<<PC1) #define BUZZER_1 PORTC |= BUZZER; #define BUZZER_0 PORTC &= ~BUZZER...
2.3125
2
2024-11-18T22:59:39.956079+00:00
2021-09-18T18:44:47
c5a4bcd26546e7255c77edcddd407358b7cbc44d
{ "blob_id": "c5a4bcd26546e7255c77edcddd407358b7cbc44d", "branch_name": "refs/heads/master", "committer_date": "2021-09-18T18:44:59", "content_id": "6e828a1845036c2fcd568c79cea067fead2f73db", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "04bd50cc4a0f90e97193e0bcd5444d07f2245ae2", "extens...
stackv2
/* * (C) Copyright 2006-2011 Lennie Araki * All Rights Reserved. */ #include <stdio.h> // for SNPRINTF #include <stdlib.h> #include <assert.h> #include <memory.h> #include "NanoCpu.h" #define BIT8 0x0100 #define SIGN(w) ((w) & NANO_MSB) #define NO_PREFIX 0 #define NANO_PREFIX(p) (p->p...
2.59375
3
2024-11-18T22:59:42.586128+00:00
2018-01-17T13:05:24
9e057aecf12ba7e23635fa57c34aecef1a66bbc4
{ "blob_id": "9e057aecf12ba7e23635fa57c34aecef1a66bbc4", "branch_name": "refs/heads/master", "committer_date": "2018-01-17T13:05:24", "content_id": "4f37f24b67767635bf4a1e6c56b18e92b35fa47b", "detected_licenses": [ "MIT" ], "directory_id": "6f5ffb519ea0e346b5b92b916a88e414b4566dfd", "extension": "c"...
stackv2
#include <stdio.h> #include <time.h> unsigned char length_returner ( unsigned long * a ) { unsigned long c = 1; unsigned char d = 0; while ( *a / c != 0 ) { c *= 10; d ++; } return d; } unsigned char digit_returner ( unsigned long a, unsigned char b ) { unsigned char d = length_returner( &a ); d -= b; whi...
3.109375
3
2024-11-18T22:59:42.881258+00:00
2015-07-26T06:34:45
9b5bac3e4ccf9e38d1504b0a58204b7dfdaf9b52
{ "blob_id": "9b5bac3e4ccf9e38d1504b0a58204b7dfdaf9b52", "branch_name": "refs/heads/master", "committer_date": "2015-07-26T06:34:45", "content_id": "95586b65eb2dae8aefb32dd6dda8007a205c96dd", "detected_licenses": [ "MIT-Modern-Variant" ], "directory_id": "762d03a7746a7a112704a0cb2fd8da34902c1de4", "...
stackv2
#include "create.h" void startCheckInStaff() { /* Claim my CIS */ int _myAirlineIndex; int _myAirlineMV; int _myIndex; /* ID for currentThread */ int _myMV; int passenger; Acquire(GlobalDataLock); _myIndex = GetMV(NumActiveCIS, 0) % NUM_CIS_PER_AIRLINE; _myAirlineIndex = GetMV(NumActiveCIS, 0) / NUM_CIS...
2.265625
2
2024-11-18T22:59:43.037417+00:00
2017-11-21T17:47:45
d880099c247fcd0a24081cee5caf81bd69e4739f
{ "blob_id": "d880099c247fcd0a24081cee5caf81bd69e4739f", "branch_name": "refs/heads/master", "committer_date": "2017-11-21T17:47:45", "content_id": "3ed56953851161446b24a852bd69d943283c2e10", "detected_licenses": [ "Unlicense" ], "directory_id": "8c8b39b167b3043df5e65f244ed4b3c3f5dda20c", "extension...
stackv2
#include "mainMethods.c" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <unistd.h> #include <arpa/inet.h> #define PORT 3566 const char ip[] = "127.0.0.1"; //mypc ip adress int init() { struct sockaddr_in client; int clientfd, connection; char buffer[10]; ...
2.640625
3
2024-11-18T22:59:43.198030+00:00
2020-06-29T09:03:20
8137c082ac8d6da8c7b7cfcd8016e21580766ca6
{ "blob_id": "8137c082ac8d6da8c7b7cfcd8016e21580766ca6", "branch_name": "refs/heads/master", "committer_date": "2020-06-29T09:03:20", "content_id": "c2cd48411358cca7984fe4b2b5407239831ba7c2", "detected_licenses": [ "MIT" ], "directory_id": "dc9b8c92b5f885a508fb2ee0661105cde6f97f39", "extension": "h"...
stackv2
#include "../src/table.h" #include "../src/util.h" #include "../src/row.h" #include "../src/position.h" TEST(COL, default_constructor) { Col c; ASSERT_EQ("<td id='' style=''></td>", c.render()); } TEST(COL, constructor) { Col c("slduhshbgsobsjodbj"); ASSERT_EQ("<td id='slduhshbgsobsjodbj' style=''></t...
2.359375
2
2024-11-18T22:59:43.738359+00:00
2020-04-30T04:39:37
50195911f8d1503262a073227768b882a9fc4951
{ "blob_id": "50195911f8d1503262a073227768b882a9fc4951", "branch_name": "refs/heads/master", "committer_date": "2020-04-30T04:39:37", "content_id": "695f34e158db7864e953379fb4e2d1f689e44dfc", "detected_licenses": [ "Unlicense" ], "directory_id": "861c901195c52f1d6effe7b0b53dd9a4e97e7eda", "extension...
stackv2
#include<stdio.h> #include<stdlib.h> #include<time.h> #include<unistd.h> int main() { int i = 0; //printf("%d \n", (i - 1) % 5); printf("%-20dwww\n",i); srand((unsigned int)time(NULL)); while(1){ int tem = rand(); printf("%-20d\n", tem); sleep(tem/RAND_MAX); } }
2.4375
2
2024-11-18T22:59:43.855394+00:00
2021-01-08T10:08:10
af9c906b0858c3d7d8dfa1407ec3b0c208402b9a
{ "blob_id": "af9c906b0858c3d7d8dfa1407ec3b0c208402b9a", "branch_name": "refs/heads/main", "committer_date": "2021-01-08T10:08:10", "content_id": "9392b6e28b26374e635a8c7c2cb56896c795391d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1f912b229400e120496497d1e95d932f7dd0c2e3", "extensio...
stackv2
#include <stdio.h> typedef struct test1_t { char b; double d; char b2; double d2; char b3; } Test1; typedef struct test2_t { double d; double d2; char b; char b2; char b3; } Test2; int main(void) { printf("%ld\n", sizeof(Test1)); printf("%ld\n", sizeof(Test2)); }
2.421875
2
2024-11-18T22:59:46.986897+00:00
2019-04-19T23:50:58
c6a4620e2b966706d6ec31d58aa7cff5fbcd32d7
{ "blob_id": "c6a4620e2b966706d6ec31d58aa7cff5fbcd32d7", "branch_name": "refs/heads/master", "committer_date": "2019-04-19T23:50:58", "content_id": "a0b14c962bc14077f8d58103557f3195ff57bc32", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "fe8d12c5c4fd42e5f475957570a0e692231d0923", "extens...
stackv2
/* File: kernel/console.c Contains: console Auther: Hu Zicheng Time: 2019/2/20 Copyright: (C) 2018-2019 by BookOS developers. All rights reserved. E-mail: 2323168280@qq.com */ #include <stdarg.h> #include <stdio.h> #include <string.h> #include <sys/console.h> #include <sys/vga.h> #include <sys/debug.h> #include <...
2.9375
3
2024-11-18T22:59:47.124296+00:00
2020-05-19T10:17:53
ac599056854a7a1c0397f96d758be2a67361dc67
{ "blob_id": "ac599056854a7a1c0397f96d758be2a67361dc67", "branch_name": "refs/heads/master", "committer_date": "2020-05-19T10:17:53", "content_id": "b5251809c99e7991b14a48c3eac8361df7514439", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9a5ef5dadf208aefdc2adc7bfa11bac25b8caabd", "extens...
stackv2
#include "gpt.h" /* assume use ipc clk which is 66MHz, 1us against to 66 count */ #define USEC_TO_COUNT(us) (us * 66 - 1) void gpt_init(GPT_Type *base, enum gpt_comp_channel chan, int us) { /* bit15 SWR, Software reset*/ base->CR |= (1 << 15); /* Wait reset finished. */ while((base->CR >> 15) & 0x1) { } ...
2.5625
3
2024-11-18T22:59:47.485020+00:00
2018-07-08T16:35:01
52880b3fdd3f3124a481b285799359d9a7271045
{ "blob_id": "52880b3fdd3f3124a481b285799359d9a7271045", "branch_name": "refs/heads/master", "committer_date": "2018-07-08T16:35:01", "content_id": "c2dc841cf1ce6933cc59f0af2207120a38286515", "detected_licenses": [ "MIT" ], "directory_id": "a6f9fbd87e8f6c18588d496aec2c28c1d4129933", "extension": "c"...
stackv2
#include <stdio.h> #include "../common/common.h" #include "../str/str.h" // read input and print line with maximum length #define MAXLINE 1000 int main() { int len, max; char line[MAXLINE]; char save[MAXLINE]; max = 0; while ((len = getlinelim(line, MAXLINE)) > 0) { if (len > max) { max =...
2.609375
3
2024-11-18T22:59:47.634567+00:00
2017-10-11T15:07:19
6d35e69ff9f3e3be653d01816d018ce129b45101
{ "blob_id": "6d35e69ff9f3e3be653d01816d018ce129b45101", "branch_name": "refs/heads/master", "committer_date": "2017-10-11T15:07:19", "content_id": "2ff80a152e0180bcb453a9a58e6237e396daac75", "detected_licenses": [ "MIT" ], "directory_id": "a8518e223b82b8b5df6168e0bd6598d178e52300", "extension": "c"...
stackv2
#include <bteifgl.h> BSVM2_Opcode *BSVM2_Interp_DecodeOpcode( BSVM2_CodeBlock *cblk, int opn) { BSVM2_Opcode *op; int opn2; int i; op=BSVM2_Interp_AllocOpcode(cblk); op->opn=opn; switch(opn) { case BSVM2_OP_ADDI: BSVM2_Interp_SetupOpBin(cblk, op, BSVM2_OPZ_INT, BSVM2_Op_ADDI); break; case BSVM2_OP_SU...
2.046875
2
2024-11-19T00:12:34.657725+00:00
2022-03-29T05:51:55
e3fcc385222a0d998799be61c1e8346051b2f648
{ "blob_id": "e3fcc385222a0d998799be61c1e8346051b2f648", "branch_name": "refs/heads/master", "committer_date": "2022-03-29T05:51:55", "content_id": "55d5c8ea9f8da2c205011ed7863e7f0aa447d1a8", "detected_licenses": [ "MIT" ], "directory_id": "ada0333b39cabe49185a59b8f24aba276cdcc10e", "extension": "c"...
stackv2
/* * Code generated from Atmel Start. * * This file will be overwritten when reconfiguring your Atmel Start project. * Please copy examples or other code you want to keep to a separate file * to avoid losing it when reconfiguring. */ #include "driver_init.h" #include <peripheral_clk_config.h> #include <utils.h> ...
2.09375
2
2024-11-19T00:12:34.737905+00:00
2019-09-02T07:17:45
437f8a3d847e1375fe97626bf9bd0517cb5c71e4
{ "blob_id": "437f8a3d847e1375fe97626bf9bd0517cb5c71e4", "branch_name": "refs/heads/master", "committer_date": "2019-09-02T07:17:45", "content_id": "b141ce2c74fc5c3b6e2ad7099399d18db658ae8e", "detected_licenses": [ "MIT" ], "directory_id": "32f233cb100709e76519d387b737823d928afc4f", "extension": "c"...
stackv2
/* * mehstation - Settings screen.. * * Copyright © 2015 Rémy Mathieu */ #include "system/app.h" #include "system/consts.h" #include "view/screen.h" #include "view/widget_rect.h" #include "view/screen/fade.h" #include "view/screen/settings.h" Screen* meh_screen_settings_new(App* app) { g_assert(app != NULL); S...
2.1875
2
2024-11-19T00:12:34.977666+00:00
2021-11-06T18:34:20
c1951bc632df6fd3faa4585e5e7ab7be0a3bd6bc
{ "blob_id": "c1951bc632df6fd3faa4585e5e7ab7be0a3bd6bc", "branch_name": "refs/heads/master", "committer_date": "2021-11-06T18:34:20", "content_id": "502fd983e5acdd261174d732ff621404bfed5f47", "detected_licenses": [ "MIT" ], "directory_id": "d1c8b753006466b48673ec3c225adddd269e305b", "extension": "c"...
stackv2
/****************************************************************************** * * epitax.c - Routines for molecular beam epitaxy simulations in 2d and 3d * ******************************************************************************/ /****************************************************************************** *...
2.109375
2
2024-11-19T00:12:35.051660+00:00
2018-08-02T14:35:11
0af11b6e12f56a7a60b1d7f43853207fb22306da
{ "blob_id": "0af11b6e12f56a7a60b1d7f43853207fb22306da", "branch_name": "refs/heads/master", "committer_date": "2018-08-02T14:35:11", "content_id": "dd8d3f65a7076b32d0449b723e020f72a1b73894", "detected_licenses": [ "MIT" ], "directory_id": "760ec42be3ac8d44818d4dd0e7aa24e6302d80cf", "extension": "c"...
stackv2
/** * @file t3.c * @brief tic tac toe game * * @author Luke Rindels * @date August 1, 2018 */ #include <stdio.h> #include <stdlib.h> #include "t3.h" int main() { struct board_t board; char buf[LEN]; char c; int player = P1; int state; int score1 = 0; int score2 = 0; // new ...
3.609375
4
2024-11-19T00:12:35.604378+00:00
2015-07-12T09:53:26
8055a13e6b062dfc07c828f41f05fd79d252c811
{ "blob_id": "8055a13e6b062dfc07c828f41f05fd79d252c811", "branch_name": "refs/heads/master", "committer_date": "2015-07-12T09:53:26", "content_id": "2af9f1cb1a15bfe8b4c46367b89507bcba05e500", "detected_licenses": [ "MIT" ], "directory_id": "f5ae039889d8afb7949bff2a8fb4ba6a7c69981a", "extension": "c"...
stackv2
#include "json.h" #include "json-builder.h" #include "lua.h" #include "lauxlib.h" #include "lapi.h" #include "stdio.h" #include "ljson.h" #include "helpers.h" static void convert_value(json_value *data, ObjIndex *objIndex); static json_value *encode_array(lua_Object *obj, const char *key, json_value *object); stati...
2.234375
2
2024-11-19T00:12:36.054179+00:00
2021-08-31T10:00:34
c7d397b49a5363cda93e44f862e4490aac7ed09e
{ "blob_id": "c7d397b49a5363cda93e44f862e4490aac7ed09e", "branch_name": "refs/heads/master", "committer_date": "2021-09-08T22:22:25", "content_id": "1a11f0b0c0c447a9136417603d4b7a26aff49459", "detected_licenses": [ "Apache-2.0" ], "directory_id": "1c9ebad44485a33e797e608b8d2c795190115242", "extensio...
stackv2
// Copyright (C) Simon A. F. Lund <simon.lund@samsung.com> // SPDX-License-Identifier: Apache-2.0 #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 700 #endif #include <xnvme_be.h> #include <xnvme_be_nosys.h> #ifdef XNVME_BE_POSIX_ENABLED #include <errno.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #includ...
2.078125
2
2024-11-19T00:12:36.809557+00:00
2023-05-09T20:08:24
0a893640cec6a4f0ad5d01231195931eec154755
{ "blob_id": "0a893640cec6a4f0ad5d01231195931eec154755", "branch_name": "refs/heads/master", "committer_date": "2023-05-09T20:08:24", "content_id": "a291db84d6ba8c0db2b1fe6f7bcfff3d8c382a35", "detected_licenses": [ "MIT" ], "directory_id": "b5d28de0f81d800758bc8234f265e5290bc303df", "extension": "h"...
stackv2
#ifndef ROBOT_KINEMATICS_H #define ROBOT_KINEMATICS_H #include "../../common/eeprom/eeprom.h" #include "../../robot/robotType.h" #define ROBOT_KINEMATICS_DEFAULT_DIGIT_PRECISION 3 #define ROBOT_KINEMATICS_WEIGHT_DIGIT_PRECISION 0 #define MILLI_TO_MICRO_FACTOR ...
2.296875
2
2024-11-19T00:12:37.190859+00:00
2021-07-05T18:24:09
30248b878c55a3d9f44bf067992074fd3524edbb
{ "blob_id": "30248b878c55a3d9f44bf067992074fd3524edbb", "branch_name": "refs/heads/main", "committer_date": "2021-07-05T18:24:09", "content_id": "1f1bc223b4aea7de434198494bcc7a43c6ce145d", "detected_licenses": [ "MIT" ], "directory_id": "6e2a8165777b2564d66cdb461bf9d1a0cca5be9f", "extension": "h", ...
stackv2
/* * ssm.h * * Created on: Jul 5, 2021 * Author: AKI */ #ifndef INC_SSM_H_ #define INC_SSM_H_ #ifdef __cplusplus extern "C" { #endif #define S_TYPE 0xAB //Sensor type #define S_VERSION 0x01 //Protocol version #define SERIAL_SIZE 8 #define PACKET_SIZE 32 #define SUF_WL 0xAB //признак датчика WL enum ...
2.15625
2
2024-11-19T00:12:37.839048+00:00
2020-07-29T00:41:06
a9c0257de14018b46db118bf6004272018e9217c
{ "blob_id": "a9c0257de14018b46db118bf6004272018e9217c", "branch_name": "refs/heads/master", "committer_date": "2020-07-29T00:41:06", "content_id": "d44778621cf3e7545d5ee65b81350e5ee9529d2e", "detected_licenses": [ "BSD-3-Clause", "MIT" ], "directory_id": "545aaa434c52dab32749858771ec64aea933d1ce"...
stackv2
#include <ksymbol.h> /* TODO (perf): insert these into a hash table */ __noinstrument const struct ksymbol *ksymbol_find_by_value(uintptr_t val, bool range) { for(size_t i=0;i<kernel_symbol_table_length;i++) { if(kernel_symbol_table[i].value == val || (range && kernel_symbol_table[i].value <= val && kernel_symb...
2.25
2
2024-11-19T00:12:38.664740+00:00
2021-05-04T19:32:50
179453bfb7c018ffc574c0232478a69d37ca0392
{ "blob_id": "179453bfb7c018ffc574c0232478a69d37ca0392", "branch_name": "refs/heads/master", "committer_date": "2021-05-04T19:32:50", "content_id": "03e244c0fad11114b1093a1a5ad7cdbfd31adce2", "detected_licenses": [ "MIT" ], "directory_id": "d7e8968a052e4f55747460518e739350d3b090c8", "extension": "c"...
stackv2
// Chad Tolleson // CS584 - Spring 2019 // Final Project - Convex Hull // filename: f_chan.c #include "headers.h" int chan(pt ** P, int num, struct stack* S, int print) { //print = 0; int ops = 0; int l = 0; //if (print) {printf("\n\nfinding lowest y-coord, using x-coord to break tie\n"...
2.765625
3
2024-11-19T00:12:39.186804+00:00
2019-08-12T16:21:06
c07a9e98c13ccc599c7afad3c3a821b8ca173ab2
{ "blob_id": "c07a9e98c13ccc599c7afad3c3a821b8ca173ab2", "branch_name": "refs/heads/master", "committer_date": "2019-08-12T16:21:06", "content_id": "1d748bbbd44e8d732692d9e8f7233f9a11a49603", "detected_licenses": [ "MIT" ], "directory_id": "f2499a7a86e60a70354e8a461f5a368505b62356", "extension": "c"...
stackv2
#include "handlers.h" #include <unistd.h> #include <sys/types.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/random.h> #include <fcntl.h> #include "ut/uthash.h" #include "shbuf.h" #include "sock/server.h" #include "protocol/protocol.h" #include "state.h" #define VALID_CHAR_NUM 65 char char_table[VALID...
2.375
2
2024-11-19T00:12:40.617003+00:00
2022-10-10T00:16:12
00e435d3221d77fcca3201318940dddab19e7177
{ "blob_id": "00e435d3221d77fcca3201318940dddab19e7177", "branch_name": "refs/heads/master", "committer_date": "2022-10-10T00:16:12", "content_id": "5bd5e6abb670cc69c3efc99e2d1ded22d3f9e092", "detected_licenses": [ "MIT" ], "directory_id": "cb52daafb9a497c1769ddd5f5698aa5e2dcc7fbe", "extension": "c"...
stackv2
#include <stdlib.h> #include <cml/ieee.h> static void sprint_nybble(int i, char *s); static void sprint_byte(int i, char *s); static int determine_cml_ieee754_type(int non_zero, int exponent, int max_exponent); /* For the IEEE float format the bits are found from the following * masks, * * sign = 0x80000000 ...
2.84375
3
2024-11-19T00:13:43.417256+00:00
2018-10-23T19:19:21
e47a4b0d16463b782cb0f2e1bf64e30642391133
{ "blob_id": "e47a4b0d16463b782cb0f2e1bf64e30642391133", "branch_name": "refs/heads/master", "committer_date": "2018-10-23T19:19:30", "content_id": "40f2256c94b30d6ca8bcd318fad145ecefde7b6c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e070ee306be5181d88683c76549cf6fd3cc387a7", "extensio...
stackv2
#include "includes.h" /* Copy hardlink records from parent */ static void lc_copyHlinks(struct fs *fs) { struct hldata *hldata = fs->fs_hlinks, *new, **prev = &fs->fs_hlinks; assert(fs->fs_sharedHlinks); fs->fs_hlinks = NULL; while (hldata) { new = lc_malloc(fs, sizeof(struct hldata), LC_MEMTY...
2.609375
3
2024-11-19T00:13:44.529272+00:00
2022-10-10T00:16:12
25d868f6698e039d21da11d35bc6bdf5f058e131
{ "blob_id": "25d868f6698e039d21da11d35bc6bdf5f058e131", "branch_name": "refs/heads/master", "committer_date": "2022-10-10T00:16:12", "content_id": "44e3370be27f5d2c69d6e6715e38a418a712710b", "detected_licenses": [ "MIT" ], "directory_id": "cb52daafb9a497c1769ddd5f5698aa5e2dcc7fbe", "extension": "c"...
stackv2
#include <stdlib.h> #include <cml/easings.h> #include <cml/math.h> /* Easing functions - Cubic */ __CML_EXTERN_INLINE double cml_ease_cubic_in(double p) { return p * p * p; } __CML_EXTERN_INLINE double cml_ease_cubic_out(double p) { double f = (p - 1.0); return f * f * f + 1.0; } __CML_EXT...
2.625
3
2024-11-19T00:13:44.602489+00:00
2018-06-22T22:49:50
244b0545586d689f7e8a8982d3ef855017d3d08e
{ "blob_id": "244b0545586d689f7e8a8982d3ef855017d3d08e", "branch_name": "refs/heads/master", "committer_date": "2018-06-22T22:49:50", "content_id": "fa5ead838fbc1803f0e1cc7a79b3476182002065", "detected_licenses": [ "MIT" ], "directory_id": "49be050b1e50c9caf67c55155aa103ea955f42d4", "extension": "h"...
stackv2
#ifndef WIND_BUF_H #define WIND_BUF_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include "WindType.h" // Buffer for Wind Stream #define WindBuf_EQ_SPACE 10 // Macros that deal with size and space of buf #define WindBuf_SPACE(wb) (wb->cap - wb->len) #define WindBuf_FITS(wb, size) (wb->cap - wb->len)...
2.640625
3
2024-11-19T00:13:44.798613+00:00
2020-01-07T20:21:06
1f0e01ab4c0bbaa0a05cd2d0afac8cf73901d668
{ "blob_id": "1f0e01ab4c0bbaa0a05cd2d0afac8cf73901d668", "branch_name": "refs/heads/master", "committer_date": "2020-01-07T20:21:06", "content_id": "8981d78e8de5b4d308d9c5be743dac3ee1bd62e1", "detected_licenses": [ "Zlib" ], "directory_id": "f38c82c751b0bf4fa201f418a49c38537a7b89a2", "extension": "c...
stackv2
/* SPDX-License-Identifier: Zlib */ #include <string.h> #include "plugin.h" #define LENGTH(x) (sizeof(x)/sizeof((x)[0])) girara_list_t* pdf_document_get_information(zathura_document_t* document, void* data, zathura_error_t* error) { if (document == NULL || data == NULL) { if (error != NULL) { *error = Z...
2.515625
3
2024-11-19T00:13:44.882569+00:00
2023-07-21T05:49:53
c942b5d86c030e34cb21d391c54f57b9179bdba6
{ "blob_id": "c942b5d86c030e34cb21d391c54f57b9179bdba6", "branch_name": "refs/heads/master", "committer_date": "2023-07-21T11:16:09", "content_id": "239aefc20a6034a2c9548a4239cfd8f1b7eb5be3", "detected_licenses": [ "MIT" ], "directory_id": "cd4eb25911d3e3b092aa97aaa7b8fbba6c3a0704", "extension": "c"...
stackv2
typedef unsigned char uint8_t; typedef unsigned int uint32_t; // optimize: check table uint8_t reverseBytes(uint8_t n) { uint8_t ret = 0; int i; for (i = 0; i != 8; i++) { if (n & 0x1) { ret |= (1 << (7 - i)); } n >>= 1; } return ret; } // optimize: big/little en...
3.015625
3
2024-11-19T00:13:45.015124+00:00
2023-04-20T08:33:55
5e366efbba5afe8ab29dd7ce0bf653649ae0e468
{ "blob_id": "5e366efbba5afe8ab29dd7ce0bf653649ae0e468", "branch_name": "refs/heads/master", "committer_date": "2023-04-20T08:33:55", "content_id": "3edac59f3e8f28a9d9dd9cd19fbfa218102afc83", "detected_licenses": [ "MIT" ], "directory_id": "5409096061379d97b455896e02d9701dcf71868c", "extension": "c"...
stackv2
// 神话世界·西游记·版本4.50 /* <SecCrypt CPL V3R05> */ /* * File : gfinger_q.c * Creator : Pinkfish@Discworld * : Grendel@Tmi-2 * When : 93-08-15 * * This file is part of the tmi mudlib. Please keep this header intact. * * This protocol is a request for information about a user at another mud. */ //...
2
2
2024-11-19T00:13:45.884997+00:00
2008-12-18T22:54:29
ada3771f298ed46ea9d8a2196da13a84fb6cf1e2
{ "blob_id": "ada3771f298ed46ea9d8a2196da13a84fb6cf1e2", "branch_name": "refs/heads/main", "committer_date": "2008-12-18T22:54:29", "content_id": "161558fdab2ce31c483a95f3735add4686b12341", "detected_licenses": [ "Artistic-2.0" ], "directory_id": "2b7468738157cc2f5349e68c23b6b8b38830b304", "extensio...
stackv2
/* Copyright (C) 2001-2008, The Perl Foundation. $Id$ =head1 NAME src/io/unix.c - UNIX IO utility functions =head1 DESCRIPTION This file implements unbuffered, low-level, UNIX-specific functionality. "UNIX" is a generalization, it may be necessary to create separate OS-specific functions for UNIX flavors. These fu...
2.0625
2
2024-11-19T00:13:46.855261+00:00
2016-06-07T09:00:11
da66b0060b74822138802e50af17a012046ab315
{ "blob_id": "da66b0060b74822138802e50af17a012046ab315", "branch_name": "refs/heads/master", "committer_date": "2016-06-07T09:00:11", "content_id": "d9141a2ef456eac4abff06f192b072d2f0691b00", "detected_licenses": [ "MIT" ], "directory_id": "f94d51ff988b720b069a737ffdbd95d1ed2fa0fc", "extension": "h"...
stackv2
#ifndef LIBJSTRUCT_JSTRUCT_H #define LIBJSTRUCT_JSTRUCT_H #ifdef HAVE_CONFIG_H #include "../config.h" #endif #include <string.h> #include <stdlib.h> #include <stdint.h> #include <stddef.h> #include <stdbool.h> #include JSON_OBJECT_H typedef enum jstruct_extra_type { jstruct_extra_type_none = 0, jstruct_extra...
2.15625
2
2024-11-19T00:13:47.926003+00:00
2018-02-15T22:25:27
79604e92801b8f540f714e15cd3c2749d7ed4ba3
{ "blob_id": "79604e92801b8f540f714e15cd3c2749d7ed4ba3", "branch_name": "refs/heads/master", "committer_date": "2018-02-15T22:25:27", "content_id": "38fdafa8814deadba556ee738f27eed2ad4eebe4", "detected_licenses": [ "MIT" ], "directory_id": "43f6f583b458669bf1675ca476b6b75c1687b134", "extension": "c"...
stackv2
#include <stdio.h> #include "./cclass/cclass.h" #include "./cclass/err.h" #include "cclsString.h" #include "cclsAnimal.h" #include "cclsSquid.h" void cclsSquid_diamond_ctor(void * self, const void * args); void cclsSquid_diamond_dtor(void * self); static void cclsSquid_ctor(void * self, const void * args); static voi...
2.75
3
2024-11-19T00:13:48.262079+00:00
2020-09-18T13:29:06
b2001e2bc078df91b7826a70543ca2dd35e4c5f5
{ "blob_id": "b2001e2bc078df91b7826a70543ca2dd35e4c5f5", "branch_name": "refs/heads/master", "committer_date": "2020-09-18T13:29:06", "content_id": "f9df94cc4495c66316faf30391bfc57e4de48ce1", "detected_licenses": [ "MIT" ], "directory_id": "536bdb0d1baa54ff4ec0cd6a397385bf6fc55531", "extension": "c"...
stackv2
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "value.h" #include "env.h" Environment *global_environment; Environment *make_env(Environment *parent) { Environment *env = malloc(sizeof(Environment)); env->marked = false; env->entries = 0; env->size = 8; env...
3.1875
3
2024-11-19T00:13:48.322904+00:00
2023-09-02T14:55:31
3c2d4396c1880c6eb9982ec2431d6e05d62234f5
{ "blob_id": "3c2d4396c1880c6eb9982ec2431d6e05d62234f5", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T14:55:31", "content_id": "b2d7ae4db53fb86fa17076e07c61626bcd41725e", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8838eb997879add5759b6dfb23f9a646464e53ca", "extens...
stackv2
/** * @file * * @date 21.04.2016 * @author Anton Bondarev */ #ifndef TTYS_H_ #define TTYS_H_ #include <util/array.h> #include <util/macro.h> #include <kernel/task/resource/idesc.h> #include <drivers/tty.h> #include <drivers/char_dev.h> struct uart; struct tty_uart { struct idesc idesc; struct tty tty; struc...
2.0625
2
2024-11-19T00:13:48.525312+00:00
2020-03-05T14:41:43
b5c852ae2a5643ef12725e862c748e11ea44660e
{ "blob_id": "b5c852ae2a5643ef12725e862c748e11ea44660e", "branch_name": "refs/heads/master", "committer_date": "2020-03-05T14:41:43", "content_id": "473f1cc8b443b5f1f5ab043bc1d3c0a3ade274eb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "2a75ede1967e9365c9e55fd0c145612599cc46ed", "extensio...
stackv2
#ifndef UART_H #define UART_H #include <stdint.h> #include <stdarg.h> #define PAD_RIGHT 1 #define PAD_ZERO 2 /* the following should be enough for 32 bit int */ #define PRINT_BUF_LEN 32 /* define LONG_MAX for int32 */ #define LONG_MAX 2147483647L /* DETECTNULL returns nonzero if (long)X contains a NULL byte. */ ...
2.4375
2
2024-11-19T00:13:51.412259+00:00
2019-12-04T09:16:38
d5d43f9ae8981bc1fa716502f9fd9a90cb158f32
{ "blob_id": "d5d43f9ae8981bc1fa716502f9fd9a90cb158f32", "branch_name": "refs/heads/master", "committer_date": "2019-12-04T09:16:38", "content_id": "79c2bf61ff2bc8f4b055d1ec9d0e1f22470e2192", "detected_licenses": [ "CC0-1.0" ], "directory_id": "3ed9a187795c5e5398612d18120499545db6ac2f", "extension":...
stackv2
#include "models.h" #include "display.h" #include <mpi.h> #define varify(x, n) ( (x)>=0 && (x)<(n) ) #define start_time clock_gettime(CLOCK_MONOTONIC, &start); #define end_time clock_gettime(CLOCK_MONOTONIC, &finish); #define time_elapsed_ns (long long)(finish.tv_sec-start.tv_sec)*1000000000 + finish.tv_nsec - start....
2.5625
3
2024-11-19T00:13:51.558754+00:00
2021-10-03T18:05:07
6a135fbcc8af88973cd48bf39f258c95b69c09dc
{ "blob_id": "6a135fbcc8af88973cd48bf39f258c95b69c09dc", "branch_name": "refs/heads/master", "committer_date": "2021-10-03T18:05:07", "content_id": "b00b6392561abdbe3858b04b344a596443e1bbf5", "detected_licenses": [ "MIT" ], "directory_id": "7c61077f8c81f2c3b252a0b60dfcb8a275872ba7", "extension": "c"...
stackv2
#include "am2302.h" #include "delay.h" #include "gpio.h" #include <stdio.h> #define DHT_MODE_IN() {DHT_GPIO_Port->MODER &= ~(3 << 3 * 2); DHT_GPIO_Port->MODER |= 0 << 3 * 2;} #define DHT_MODE_OUT() {DHT_GPIO_Port->MODER &= ~(3 << 3 * 2); DHT_GPIO_Port->MODER |= 1 << 3 * 2;} #define DHT_WRITE_HIGH HAL_GPIO_WritePin(DH...
2.828125
3
2024-11-19T00:13:51.776882+00:00
2021-02-19T12:41:58
e6aeb613d5af642e4ef87e384efe604a049c0bfb
{ "blob_id": "e6aeb613d5af642e4ef87e384efe604a049c0bfb", "branch_name": "refs/heads/main", "committer_date": "2021-02-19T12:41:58", "content_id": "f00e9de0146a8eacc8279ff8723d18090712c0ec", "detected_licenses": [ "MIT" ], "directory_id": "e6628e5df2892a9f152d2c1d8400f6bb4a21bf5b", "extension": "c", ...
stackv2
#include <stdio.h> int main() { float prod1 = 0.0f; float prod2 = 0.0f; float prod3 = 0.0f; float final = 0.0f; printf("Introduce the price of the first product: "); scanf_s("%f", &prod1); printf("Introduce the price of the second product: "); scanf_s("%f", &prod2); printf("INtroduce the price of the thir...
3.46875
3
2024-11-19T00:13:52.022182+00:00
2020-08-03T09:58:24
49f07e6970341a8875d2979570640f0c6e4c1101
{ "blob_id": "49f07e6970341a8875d2979570640f0c6e4c1101", "branch_name": "refs/heads/master", "committer_date": "2020-08-03T09:58:24", "content_id": "2a4a2b6764ad2650eaeb6725c7aed327b3239f09", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "33db9339c1d42d2b7386994dfc6561595b5e178f", "extens...
stackv2
/************************************************************************* * File: vehicles.c Part of CircleMUD * * Usage: Vechicle related code * * * * All rights reserved. See license.doc for complete information. * * * * Copyright (C) 1993, 94 by the T...
2
2
2024-11-19T00:13:52.110290+00:00
2019-08-30T12:38:21
ebd56872077439684dc00fad95dd0b432051a065
{ "blob_id": "ebd56872077439684dc00fad95dd0b432051a065", "branch_name": "refs/heads/master", "committer_date": "2019-08-30T12:38:21", "content_id": "0f8d313600642fb97d5539f571888ea5cd6b7732", "detected_licenses": [ "MIT" ], "directory_id": "653b91fec147bb0ae26cea764553e20028948d46", "extension": "c"...
stackv2
#include "include/nodemcujs_module_inl.h" #include <string.h> jerry_value_t nodemcujs_module_get(const char* name) { for (unsigned i = 0; i < nodemcujs_modules_count; i++) { if (!strcmp(name, nodemcujs_modules[i].name)) { if (nodemcujs_module_objects[i].jmodule == 0) { nodemcujs_module...
2.109375
2
2024-11-19T00:13:52.194993+00:00
2014-02-21T22:51:15
13d62fc1121af6e4fdce1cf239820300663fd994
{ "blob_id": "13d62fc1121af6e4fdce1cf239820300663fd994", "branch_name": "refs/heads/master", "committer_date": "2014-02-21T22:51:15", "content_id": "8076002dd26620f93331443b6123bc0d81592087", "detected_licenses": [ "MIT" ], "directory_id": "50c192d41059928cf64022bb27e7ee77e33cf187", "extension": "c"...
stackv2
#include "image_functions.h" int main( int argc, char** argv ) { FILE* infile; Image pic, new; if( argc < 7 ) { printf("Please enter all arguments.\n"); exit(0); } infile = open_file( argv[1] ); pic = read_in( infile ); fclose( infile ); new = crop( &pic, atoi(argv[3]), atoi(argv[4]), atoi(argv[5]), ato...
2.28125
2
2024-11-19T00:13:52.275893+00:00
2017-09-11T04:04:38
c02fa7606a13ba5f8d0e253aea3d8bf2ed64e9e9
{ "blob_id": "c02fa7606a13ba5f8d0e253aea3d8bf2ed64e9e9", "branch_name": "refs/heads/master", "committer_date": "2017-09-11T04:04:38", "content_id": "e3339bfc72b7522a4f6e78b1105d37e5cde6672c", "detected_licenses": [ "MIT" ], "directory_id": "f364e8348bee46072434ee79fa6502169948277f", "extension": "h"...
stackv2
/* $Id: circbuf.h 4537 2013-06-19 06:47:43Z riza $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
2.390625
2
2024-11-19T00:13:52.506661+00:00
2023-09-01T20:29:34
d8d1b6907d94b3204e7f30a2b16fae16eb75b2e8
{ "blob_id": "d8d1b6907d94b3204e7f30a2b16fae16eb75b2e8", "branch_name": "refs/heads/main", "committer_date": "2023-09-01T20:29:34", "content_id": "f670599344f655a48d6a70c859e19c75aa00bdd0", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ecafcf4501aa0af63925fdae669ab09fa3949077", "extension"...
stackv2
#ifndef AWS_HTTP_STRUTIL_H #define AWS_HTTP_STRUTIL_H /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/http/http.h> AWS_EXTERN_C_BEGIN /** * Return a cursor with all leading and trailing SPACE and TAB characters removed. * RFC7230 s...
2.015625
2