added
stringdate
2024-11-18 17:54:19
2024-11-19 03:39:31
created
timestamp[s]date
1970-01-01 00:04:39
2023-09-06 04:41:57
id
stringlengths
40
40
metadata
dict
source
stringclasses
1 value
text
stringlengths
13
8.04M
score
float64
2
4.78
int_score
int64
2
5
2024-11-18T22:58:36.520233+00:00
2018-05-11T16:05:54
b75179cbf2881f6fab9ac8b71d0e98180d129de0
{ "blob_id": "b75179cbf2881f6fab9ac8b71d0e98180d129de0", "branch_name": "refs/heads/master", "committer_date": "2018-05-11T16:08:10", "content_id": "1a2205c1a8b8ecdea101058e6408a19d3cb668e4", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "aff0f1b34dcdadae0ab33b9d29cba6cdc004966a", "extens...
stackv2
/* * utils.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * Authors: Alexey Kuznetsov, <kuznet@ms2.in...
2.3125
2
2024-11-18T22:58:36.792462+00:00
2022-03-14T09:49:15
e6e83d59a71fe7e5019dc736d19ed9ae01187ac2
{ "blob_id": "e6e83d59a71fe7e5019dc736d19ed9ae01187ac2", "branch_name": "refs/heads/master", "committer_date": "2023-08-31T09:50:00", "content_id": "fc75cb2fca33fdf4c77d43b23c4b5d8a8510b8db", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e1cddfd754d952134e72dfd03522c5ea4fb6008e", "extensio...
stackv2
/* * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
2.0625
2
2024-11-18T22:58:37.083520+00:00
2023-04-17T07:44:47
c12d0c6900ebb7e91779c074ebf3f94431fde3fb
{ "blob_id": "c12d0c6900ebb7e91779c074ebf3f94431fde3fb", "branch_name": "refs/heads/master", "committer_date": "2023-04-17T07:44:47", "content_id": "02fee915db6d9049506f8d138896ec389a0402b4", "detected_licenses": [ "MIT" ], "directory_id": "e4a55923d1e6d28085c4ba9da09c9acb6e9c0950", "extension": "c"...
stackv2
// // rsh.c // libmsym // // Created by Marcus Johansson on 21/10/15. // Copyright (c) 2015 Marcus Johansson. // // Distributed under the MIT License ( See LICENSE file or copy at http://opensource.org/licenses/MIT ) // // Ref: // // J. Ivanic and K. Ruedenberg, "Rotation Matrices for Real Spherical Harmonics. Di...
2.328125
2
2024-11-18T22:58:37.649103+00:00
2021-09-23T03:08:29
964f51bc7d0b2726b66886af980f5dbf1f9ad1ad
{ "blob_id": "964f51bc7d0b2726b66886af980f5dbf1f9ad1ad", "branch_name": "refs/heads/master", "committer_date": "2021-09-23T03:08:29", "content_id": "2c61f97604a4c56770e76d13375053fcd781af79", "detected_licenses": [ "MIT" ], "directory_id": "e8105de62d4b4d28a4819cd6ba21b99071ed713a", "extension": "c"...
stackv2
#define _GNU_SOURCE #include <endian.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/syscall.h> #include <sys/types.h> #include <unistd.h> #include <pthread.h> #include <s2e.h> uint64_t r[1] = {0xffffffffffffffff}; void *thread2(void *arg) { // int n = 100...
2.140625
2
2024-11-18T22:58:37.725842+00:00
2019-10-18T14:45:57
12d176dde689877c1f9b4b2c15763a9160958957
{ "blob_id": "12d176dde689877c1f9b4b2c15763a9160958957", "branch_name": "refs/heads/master", "committer_date": "2019-10-18T14:45:57", "content_id": "e50a4b569700488ec0b08ae2423981dbaf3dd237", "detected_licenses": [ "MIT" ], "directory_id": "c1f762508be6c39c7a6fb9db4039593e18fdef6f", "extension": "c"...
stackv2
#include <stm32f0xx.h> #include <stdint.h> #include "nocan.h" #include "gpio.h" #include "can.h" #include "spi_slave.h" #include "version.h" nocan_registers_t NOCAN_REGS; const uint8_t *CHIP_UDID = (const uint8_t *)0x1FFFF7AC; void nocan_init(void) { int i; // reset registers for (i=0; i<sizeof(NOCAN_R...
2.15625
2
2024-11-18T22:58:37.880082+00:00
2018-03-10T04:59:42
d323d6f136991118da9bf3b0817701f2d3207815
{ "blob_id": "d323d6f136991118da9bf3b0817701f2d3207815", "branch_name": "refs/heads/master", "committer_date": "2018-03-10T04:59:42", "content_id": "13ab6771acb8e2dec551bebf980b8405e8e0a8ba", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ea17f498efa7ab2e026eb82ca23b2e0a1c5b32af", "extens...
stackv2
#ifndef _SLAB_H_INCLUDED_ #define _SLAB_H_INCLUDED_ typedef struct al_slab_page_s al_slab_page_t; struct al_slab_page_s { uintptr_t slab; al_slab_page_t *next; uintptr_t prev; }; typedef struct { uintptr_t total; uintptr_t used; uintptr_t reqs; uin...
2.125
2
2024-11-18T22:58:38.361874+00:00
2018-08-31T09:03:00
a6c5d76fb3567fcd74d12f64e108e9f09bd545f5
{ "blob_id": "a6c5d76fb3567fcd74d12f64e108e9f09bd545f5", "branch_name": "refs/heads/master", "committer_date": "2018-08-31T09:03:00", "content_id": "8d551608cafc117fb0a95dc42959e190920a92e3", "detected_licenses": [ "MIT" ], "directory_id": "9b90779e20fe5510f576e232e0c308db10908dd4", "extension": "h"...
stackv2
#ifndef __SDB_INTERNAL_H__ #define __SDB_INTERNAL_H__ #ifdef __cplusplus extern "C" { #endif #include "sdb_config.h" #define SDB_ENABLE #include "libsdb.h" #define SDB_INTERNAL_WARNING (SDB_LEVEL_1 | SDB_TYPE_WARNING) #define SDB_INTERNAL_ERROR (SDB_LEVEL_1 | SDB_TYPE_ERROR) #define sdb_assert(_f) do {\ i...
2.03125
2
2024-11-18T22:58:38.601623+00:00
2016-05-11T13:19:37
16b83bf41f252d7693d249b27784e6ceb75c3f43
{ "blob_id": "16b83bf41f252d7693d249b27784e6ceb75c3f43", "branch_name": "refs/heads/master", "committer_date": "2016-05-11T13:19:37", "content_id": "3798de5552b6b7e7f6866ae7ac23a0d5e36946bd", "detected_licenses": [ "MIT" ], "directory_id": "1b98f3498ec24ef8a0673822a3adb02513cf5316", "extension": "c"...
stackv2
// // Created by Remi Robert on 30/04/16. // #include <sys/socket.h> #include <sys/event.h> #include <printf.h> #include <unistd.h> #include <netdb.h> #include <string.h> #include <err.h> #include <stdlib.h> #include "rocko.h" #define NUMBER_USERS 10 #define ROUTE_INITIAL_CAPACITY 50 #define CLOSE_FD(fd) do { \ ...
2.109375
2
2024-11-18T22:58:38.999060+00:00
2023-08-01T19:52:22
9e085963164ef9651dc241042aca2b65b0122977
{ "blob_id": "9e085963164ef9651dc241042aca2b65b0122977", "branch_name": "refs/heads/master", "committer_date": "2023-08-01T19:52:22", "content_id": "dd9e0f3de7b7e343e9947b0e3117f4177b3f918b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ba6a494d2e0cb473044e1ca9fb12bd93f55b90c6", "extensio...
stackv2
/* date.c -- date utility operations */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <utime.h> #include <sys/time.h> #include "constants.h" char *get_month(); char *get_day(); char *get_year(); char *get_date(); /**************************** DATE MODULES *****************...
3.171875
3
2024-11-18T22:58:40.497321+00:00
2020-12-23T05:35:51
880282bd28dda2f548d5364f76b63907e77e91d1
{ "blob_id": "880282bd28dda2f548d5364f76b63907e77e91d1", "branch_name": "refs/heads/master", "committer_date": "2020-12-23T05:35:51", "content_id": "d6da9d558cd7eb26c94f1f5821ba1a6e0e02aaba", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "41d9ca11702e93c0a1246bf3eeed7eb69bd0a711", "extens...
stackv2
/* * COPYRIGHT (C) IP2LOCATION. ALL RIGHTS RESERVED. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include "../ip2location-c-7.0.0/libIP2Location/IP2Location.h" /* Directive handlers */ static char *ngx_http_ip2location_database(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); /* Variabl...
2.046875
2
2024-11-18T22:58:40.715508+00:00
2020-09-30T12:30:57
d73b86d18e54d671a877b1cfd27b58ef94d36f8e
{ "blob_id": "d73b86d18e54d671a877b1cfd27b58ef94d36f8e", "branch_name": "refs/heads/master", "committer_date": "2020-09-30T12:30:57", "content_id": "9b70a53a40f800471ac35fb40c6ccbcf75eb6999", "detected_licenses": [ "MIT" ], "directory_id": "a2291a6ef155ef082a7c740256947fcbaedacda4", "extension": "c"...
stackv2
#include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "driver/gpio.h" #include <pthread.h> #include "get_dht11_data.h" #include "general.h" #include "wrappers.h" #include "sh1106.h" #include "make_beep.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "esp_s...
2.296875
2
2024-11-18T22:58:42.560557+00:00
2016-09-17T03:33:40
fa6576434ded79f22fc329560dbf271a75fe135e
{ "blob_id": "fa6576434ded79f22fc329560dbf271a75fe135e", "branch_name": "refs/heads/master", "committer_date": "2016-09-17T03:33:40", "content_id": "aed3fbdf50672f8edfa1e0fae66d22a3f05ae659", "detected_licenses": [ "MIT" ], "directory_id": "3769e7495b890c2f3bc83628196f8127aa50bb1a", "extension": "c"...
stackv2
/* * SVGA3D example: Simple Shaders. * * This is a simple example to demonstrate the programmable pixel * and vertex pipelines. A vertex shader animates a rippling surface, * and a pixel shader generates a procedural checkerboard pattern. * * For simplicity, this example generates shader bytecode at * compile-t...
2.15625
2
2024-11-18T22:58:43.111926+00:00
2019-08-26T14:29:41
b01ff3d21b11d6392ae4447da2d82e6b7ca850d5
{ "blob_id": "b01ff3d21b11d6392ae4447da2d82e6b7ca850d5", "branch_name": "refs/heads/master", "committer_date": "2019-08-26T14:29:41", "content_id": "c75c8866429551dc0ff77fc04319240888741a6b", "detected_licenses": [ "MIT" ], "directory_id": "18ed239634f7acefd44bd6939ecf2e1450ad2c6a", "extension": "c"...
stackv2
#include <curses.h> #include <stdio.h> #include "options.h" char *choices[] = { "NEW GAME", "CONTINUE", "DEMO MODE", "HIGH SCORES", "OPTIONS", "HELP", "ABOUT", "AUTHORS", "EXIT", }; int n_choices = sizeof(choices) / sizeof(char *); void print_menu(WINDOW *menu_win, int highlight, int row, int col) { int x,...
2.734375
3
2024-11-18T22:58:43.342529+00:00
2019-07-02T01:01:20
8a1b960d8c3e1286be2f1f524ce06158a1def576
{ "blob_id": "8a1b960d8c3e1286be2f1f524ce06158a1def576", "branch_name": "refs/heads/master", "committer_date": "2019-07-02T01:04:29", "content_id": "f17d6dfce25976cd9faddfdc8f9e164312c2b4b0", "detected_licenses": [ "MIT" ], "directory_id": "1d349e839c88688eb180aac5b263115e63866e4b", "extension": "c"...
stackv2
/* ** XSwarm ** ====== ** ** Purpose: Display a swarm of bees chasing a wasp. ** ** Features: uses only integer math ** can be put in the root window ** uses non-blocking delays to decrease cpu usage ** has no redeeming social value ** ** Comments: I used psychoII (I assume it's a derivative of ico.) as an ** an ex...
2.46875
2
2024-11-18T22:58:43.498315+00:00
2020-06-05T03:07:24
ffa7084786e9df1fef47c31ae04b5c02a0c1e364
{ "blob_id": "ffa7084786e9df1fef47c31ae04b5c02a0c1e364", "branch_name": "refs/heads/master", "committer_date": "2020-06-05T03:07:24", "content_id": "a7d4e9bb360e72079c2e4dd138305835b0fc451a", "detected_licenses": [ "Unlicense" ], "directory_id": "bf5a2f114426fcdad8996684985330e91c2592ec", "extension...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <signal.h> #include <time.h> #include "define.h" #include "function.h" void arg_handler(int argc, char const *argv[]) { if (argc == 1) { return; } else { int val = atoi(argv[1]); if (val ...
2.34375
2
2024-11-18T22:58:43.641014+00:00
2019-11-27T15:43:08
7239bc27a160a6f1d7d4e09de54fa6261d5b2201
{ "blob_id": "7239bc27a160a6f1d7d4e09de54fa6261d5b2201", "branch_name": "refs/heads/master", "committer_date": "2019-11-27T15:43:08", "content_id": "2370154c7ec7eadc13bc6d211910a7fd87da0380", "detected_licenses": [ "MIT" ], "directory_id": "deb2cdd2ad831312694c1590d97bc5208b1b3fea", "extension": "h"...
stackv2
#ifndef _pin_magic_ #define _pin_magic_ // This header file serves two purposes: // // 1) Isolate non-portable MCU port- and pin-specific identifiers and // operations so the library code itself remains somewhat agnostic // (PORTs and pin numbers are always referenced through macros). // // 2) GCC doesn't always...
2.078125
2
2024-11-18T22:58:48.238150+00:00
2023-08-21T22:56:29
de2ee61f5de997fc8eb081b5a44845f0f982abf2
{ "blob_id": "de2ee61f5de997fc8eb081b5a44845f0f982abf2", "branch_name": "refs/heads/master", "committer_date": "2023-08-21T22:56:29", "content_id": "975c775b93bf19af1760a4981efa3103f8033303", "detected_licenses": [ "BSD-3-Clause-Open-MPI" ], "directory_id": "a9b6d79c59a45a25e902b2809de43f62a8e77289", ...
stackv2
/* * Copyright (c) 2013-2021 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. */ #include "parsec/runtime.h" #include "parsec/data_distribution.h" #include "parsec/data_dist/matrix/two_dim_rectangle_cyclic.h" ...
2.078125
2
2024-11-18T22:58:48.428329+00:00
2020-09-14T22:30:39
6cc59fc92cf130fecde809dd838b68d5fab72028
{ "blob_id": "6cc59fc92cf130fecde809dd838b68d5fab72028", "branch_name": "refs/heads/master", "committer_date": "2020-09-14T22:30:39", "content_id": "a7a96856d85c3028a21674e20056012184b81c14", "detected_licenses": [ "MIT", "BSD-2-Clause" ], "directory_id": "926702d09e82b7ac191071856151fbdb84e14a13"...
stackv2
/* * Copyright (c) 2020 Fastly, Kazuho Oku * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, ...
2.25
2
2024-11-18T22:58:48.748378+00:00
2017-12-31T14:51:40
463d2b028e7af3cf16d31abd2adcea62aa1e04c9
{ "blob_id": "463d2b028e7af3cf16d31abd2adcea62aa1e04c9", "branch_name": "refs/heads/master", "committer_date": "2017-12-31T14:51:40", "content_id": "f6e7c563f3284370efb91cf346ace2bb94d43d1d", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "89e765cd4233cf627fffc1ee15738fa3ae7606b9", "extens...
stackv2
/** * @file doublyLinked.c * @brief This file implements the functions to access and control the doubly linked list * Adding nodes, removing nodes, search and destroy are some operations performed * @author Raj Kumar Subramaniam * @date September 5,2017 **/ #include <stdlib.h> #include "doublyLinked.h" #include ...
3.796875
4
2024-11-18T22:59:16.530221+00:00
2021-06-30T14:14:29
61cd2baa2d531e7b9a4ef3028ad2bb3e135636a4
{ "blob_id": "61cd2baa2d531e7b9a4ef3028ad2bb3e135636a4", "branch_name": "refs/heads/master", "committer_date": "2021-06-30T14:14:29", "content_id": "cb54bc18a9159b7a34879eb1aaf6a4addf4a630e", "detected_licenses": [ "MIT" ], "directory_id": "32faef3fb72b702738e74caef31d78a26af81fd2", "extension": "c"...
stackv2
// The MIT License (MIT) // Copyright (c) 2017 Maksim Andrianov // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, c...
2.3125
2
2024-11-18T22:59:16.697070+00:00
2019-04-25T01:21:44
e79458d95187fdbe58d9501c5ed5255a9f4b5b12
{ "blob_id": "e79458d95187fdbe58d9501c5ed5255a9f4b5b12", "branch_name": "refs/heads/master", "committer_date": "2019-04-25T01:21:44", "content_id": "9ad56e0ce27a9a5c2cab1a4311248cf400a0fe82", "detected_licenses": [ "MIT" ], "directory_id": "b3a4cc8f037ebe8cd2fd338b220847d820b9ebcb", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* check_filedots.c :+: :+: :+: ...
2.46875
2
2024-11-18T22:59:17.216748+00:00
2018-02-22T19:07:11
4fd0b2f69557af93a7bb4051a8ae866174cbf021
{ "blob_id": "4fd0b2f69557af93a7bb4051a8ae866174cbf021", "branch_name": "refs/heads/master", "committer_date": "2018-02-22T19:07:11", "content_id": "ce981b65b87018439c1e5f23862a3161c62dc69e", "detected_licenses": [ "MIT" ], "directory_id": "364ca64da57495b9a77930d445805f0c4a558558", "extension": "c"...
stackv2
/* * Copyright (c) 1993 Carnegie Mellon University * SCAL project: Guy Blelloch, Siddhartha Chatterjee, * Jonathan Hardwick, Jay Sipelstein, * Marco Zagha * All Rights Reserved. * * Permission to use, copy, modify and distribute this ...
2.078125
2
2024-11-18T22:59:17.288728+00:00
2016-05-24T20:16:19
8cab05b8786f0c7e8a441f498dc47b9719e3a368
{ "blob_id": "8cab05b8786f0c7e8a441f498dc47b9719e3a368", "branch_name": "refs/heads/master", "committer_date": "2016-05-24T20:16:19", "content_id": "cd456fa57b770c50fb483420b8ce53a0ce1b899c", "detected_licenses": [ "MIT" ], "directory_id": "3deec92ca33109f6556488c0d32c1b6178066b7e", "extension": "c"...
stackv2
#include <mex.h> #include <string.h> #include "avbin.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { AVbinFile *file; AVbinPacket packet; AVbinResult result; mxArray *data; const char *fieldNames[] = {"timestamp", "stream_index", "data", "size"}; mxArray *packe...
2.109375
2
2024-11-18T22:59:17.402064+00:00
2017-10-03T07:33:34
291ef1eea4bc880d71c06321e303402e92265704
{ "blob_id": "291ef1eea4bc880d71c06321e303402e92265704", "branch_name": "refs/heads/master", "committer_date": "2017-10-03T07:33:34", "content_id": "c272ac1fa41e3e9b7ead382d3a055e850b9822eb", "detected_licenses": [ "MIT" ], "directory_id": "2adf350ef0230a2017cfb416454f428766005f23", "extension": "c"...
stackv2
#include <stdio.h> #include <gccore.h> #include <string.h> #include <malloc.h> #include "fs.h" static bool Identify_GenerateTik(signed_blob **outbuf, u32 *outlen) { signed_blob *buffer = (signed_blob*)memalign(32, STD_SIGNED_TIK_SIZE); if(!buffer) return false; memset(buffer, 0, STD_SIGNED_TIK_SIZE); sig_rsa204...
2.40625
2
2024-11-18T22:59:17.485097+00:00
2023-08-17T23:08:32
d88c1299cdb78777dac7af632b9494a09c72ba4a
{ "blob_id": "d88c1299cdb78777dac7af632b9494a09c72ba4a", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T23:08:32", "content_id": "e6f17e192f517278bf413be56742e0185f7ad5e0", "detected_licenses": [ "MIT" ], "directory_id": "d98a957583e3d7e1ad822a74d24052c57ab3bbce", "extension": "c"...
stackv2
/** * \file custom_dynamic_array_init.c * * Simple model check of dynamic_array_init, with zero instances. * * \copyright 2017-2020 Velo Payments, Inc. All rights reserved. */ #include <cbmc/model_assert.h> #include <stdlib.h> #include <string.h> #include <vpr/allocator/malloc_allocator.h> #include <vpr/dynamic...
2.484375
2
2024-11-18T22:59:17.599249+00:00
2020-06-26T16:54:04
0ccfead4ab9520a27470d38d5da25fc50b8660b1
{ "blob_id": "0ccfead4ab9520a27470d38d5da25fc50b8660b1", "branch_name": "refs/heads/master", "committer_date": "2020-06-26T16:54:04", "content_id": "7e94013e6abe691a3bbb0cd1d81984ae1102f074", "detected_licenses": [ "MIT" ], "directory_id": "dbd844bb6c9e2a2bfa3c1e45486fbe6c9f9f6b1b", "extension": "c"...
stackv2
/* * M. Kopp, Efficient 3x3 Median Filter Computations, 1994 */ #include <version.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <getopt.h> #include <math.h> #include <float.h> #include <sys/param.h> #include <unistd.h> #include "data_sets/libpgm.h" #include "data_sets/libpbm.h" #include "d...
2.671875
3
2024-11-18T22:59:17.875810+00:00
2017-01-09T10:21:29
93c5856dec089c527c360a61c201440cfece5484
{ "blob_id": "93c5856dec089c527c360a61c201440cfece5484", "branch_name": "refs/heads/master", "committer_date": "2017-01-09T10:21:29", "content_id": "4d2efca51b50329cfb1a55bcfe979d6ceaa724d6", "detected_licenses": [ "MIT" ], "directory_id": "56240fc4712d9d2b3147d9281c0f4cb5ccae216c", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main(void) { double originalPrice = 0.0; double specialPrice = 0.0; double discount = 0.0; double tax = 0.0; printf("Enter original price:"); scanf("%lf\n",&originalPrice); printf("Enter discount:"); scanf("%lf\n", &discount); printf("Enter tax:"); sc...
3.171875
3
2024-11-18T22:59:18.259156+00:00
2019-12-02T22:45:51
61b734820a854672d0cd763cdf4eba4fa2d05d95
{ "blob_id": "61b734820a854672d0cd763cdf4eba4fa2d05d95", "branch_name": "refs/heads/master", "committer_date": "2019-12-02T22:45:51", "content_id": "735b4a392af5021433afdd2f6fe61504a8a6bb72", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a9f73ab3dcbc2ca07c709c6d5cb5edfea1a314ea", "extensio...
stackv2
#include <stdio.h> int main() { int List[5] = {20, 45, 16, 18, 22}; // Initilizing array named List with size of 5 elements. List[1] = 260; // Applying value 260 to second element in List array. printf("The second element is %d\n", List[1]); // Output: The second element is 260 float Purchases[3] = {10.99, 14.25...
3.59375
4
2024-11-18T22:59:18.898382+00:00
2014-06-11T07:22:41
e753b24044b4181af75d07628c84843cd69f260a
{ "blob_id": "e753b24044b4181af75d07628c84843cd69f260a", "branch_name": "refs/heads/master", "committer_date": "2014-06-11T07:22:41", "content_id": "0073474fcfee17381889cdd5573189d4419551f5", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "708a84c143a5cb6d21f4b9e500e062f8b9f4b639", "extens...
stackv2
/* Copyright (C) 2000-2014 nizvoo (AT) gmail.com */ #include "inc/comm/ComPortUtils.h" HANDLE ConnctComPort(const TCHAR* name, int dwBaudRate) { DCB dcbConfig; long dwTimeOutInSec = 100; COMMTIMEOUTS commTimeout; HANDLE hFile = CreateFile( name, GENERIC_READ | GENERIC_WRITE, 0, NULL, ...
2.40625
2
2024-11-18T22:59:18.959544+00:00
2015-11-13T18:12:30
a1c48de0547e15a0a08b15bd3bfb726541e9c469
{ "blob_id": "a1c48de0547e15a0a08b15bd3bfb726541e9c469", "branch_name": "refs/heads/master", "committer_date": "2015-11-13T18:12:30", "content_id": "7b9313edc2a8e4d2eea234e5bbf8fb0f88ec47e0", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "415fd18d1d0580279c9af64ea9588ca4e9892994", "extens...
stackv2
// bit-count.c - Return number of non-zero binary bits in an integer #include <stdio.h> #include <stdlib.h> #include <string.h> #define NO_INPUT 1 #define TOO_LONG 2 static int getLine(char *prompt, char *buffer, size_t size); static char *intToBinary(int n, char *buffer, size_t size); static int countChars(char *in...
3.453125
3
2024-11-18T22:59:19.338695+00:00
2021-09-10T15:02:22
91bfae01d6e7bf47745e94093364a1a02584dc29
{ "blob_id": "91bfae01d6e7bf47745e94093364a1a02584dc29", "branch_name": "refs/heads/main", "committer_date": "2021-09-10T15:02:22", "content_id": "ee65f757492f1e2195386e2bd56eb80e7d612cd9", "detected_licenses": [ "MIT" ], "directory_id": "21e47c35a15450cac4c692d41b574c993e2b6ec2", "extension": "c", ...
stackv2
#include "led.h" /** * @简 述 LED 初始化 * @参 数 无 * @返回值 无 */ void LED_Init(void) { GPIO_InitTypeDef GPIO_InitStructure; //LED GPIO配置 RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_Init...
2.5
2
2024-11-18T22:59:19.906686+00:00
2021-06-28T12:35:24
2673a94f66b974e4ebd1330b5d5cea8b6ea7819f
{ "blob_id": "2673a94f66b974e4ebd1330b5d5cea8b6ea7819f", "branch_name": "refs/heads/master", "committer_date": "2021-06-28T12:35:54", "content_id": "d7ad358618156a46992028fdf816b873c6e96841", "detected_licenses": [ "Apache-2.0" ], "directory_id": "90b7cde49f0781fcc2d58279acf286b539c6d1e9", "extensio...
stackv2
/** * Copyright 2018 - 2021 HITSIC * 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 ...
2.0625
2
2024-11-18T22:59:20.080294+00:00
2019-08-12T21:38:44
a99cfa0f5ce8f1bbd0f042967811a7f8828895c0
{ "blob_id": "a99cfa0f5ce8f1bbd0f042967811a7f8828895c0", "branch_name": "refs/heads/ms-iot", "committer_date": "2019-08-12T21:38:44", "content_id": "c9a2936803d289fa39d5ded467f40b29fd921496", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b3f4553cea6babe8b25ed0bc0865130c69cd5c72", "extens...
stackv2
/** * Copyright (c) 2013, AppliedMicro Corp. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License * which accompanies this distribution. The full text of the license may be found at * http://opensource.org/license...
2.203125
2
2024-11-18T22:59:20.637168+00:00
2023-08-17T17:16:01
73373f6f962c17a0ad3ae8f5cb6e50975d7fcc45
{ "blob_id": "73373f6f962c17a0ad3ae8f5cb6e50975d7fcc45", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T17:16:01", "content_id": "42a64532b9ca6473182141e8cc63fcfbbafc6868", "detected_licenses": [ "SMLNJ" ], "directory_id": "277a2fdda5d275b72cbf99b372c487255a0a6335", "extension": "...
stackv2
/**************************************************************** The author of this software is David M. Gay. Copyright (C) 1998-2001 by Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, prov...
2.1875
2
2024-11-18T22:59:20.929765+00:00
2021-04-22T19:15:27
321f558a78d6c96adb1f2b36d71818f2c78e5e0a
{ "blob_id": "321f558a78d6c96adb1f2b36d71818f2c78e5e0a", "branch_name": "refs/heads/master", "committer_date": "2021-04-22T19:15:27", "content_id": "f30a06338513460cda1e78698cd8360d1fc6e5df", "detected_licenses": [ "Unlicense" ], "directory_id": "e5dd0377ae7d79786a9518f7f2260427d21ba03a", "extension...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* corewar_parse_champion.c :+: :+: :+: ...
2.609375
3
2024-11-18T22:59:22.413324+00:00
2020-05-26T16:32:00
6d8eaa2e87d578239f464afede148cb7bd95ca47
{ "blob_id": "6d8eaa2e87d578239f464afede148cb7bd95ca47", "branch_name": "refs/heads/master", "committer_date": "2020-05-26T16:32:00", "content_id": "3ef8a6c6b0b3bc5fce4266cddc74d0c953597200", "detected_licenses": [ "MIT" ], "directory_id": "9ef42c11030331615c334718d72561c850b1955b", "extension": "c"...
stackv2
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <semaphore.h> #include <sys/mman.h> void child_function(int child_num); #define FILE_SIZE (1024*1024) #define N 4 #de...
3.046875
3
2024-11-18T22:59:22.547106+00:00
2019-02-17T13:28:04
e92201841efa888a5975b715c726cb4392c65253
{ "blob_id": "e92201841efa888a5975b715c726cb4392c65253", "branch_name": "refs/heads/master", "committer_date": "2019-02-17T13:28:04", "content_id": "6f2d7407759c224e53b18d6ff24ff59485b5ebb7", "detected_licenses": [ "MIT" ], "directory_id": "dcaaa5d6f052bd6f358c22952ef87a0428532918", "extension": "c"...
stackv2
#include <stdio.h> int main(){ char slogans[5][100]={ "1asdasdasdasdasdsa", "2resadasdtsaedasdr", "3sadasdasd", "4asdasasddasd", "5sads", }; int i; int g; for(i=0;i<5;i++){ for(g=0;g<100;g++){ printf("%c",slogans[i][g]); } putchar('\n'); } }
2.3125
2
2024-11-18T22:59:30.957399+00:00
2019-05-01T04:24:51
0d6f5c41f89a1e6e79c582b57d03f9ebd2252d82
{ "blob_id": "0d6f5c41f89a1e6e79c582b57d03f9ebd2252d82", "branch_name": "refs/heads/master", "committer_date": "2019-05-01T04:24:51", "content_id": "790404b9997cdfd3df534a6ea8607ba7d5b8b61f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "709e264635b219f0e51cd9c806747f045708fdd8", "extens...
stackv2
#ifndef __ILI9163C_H #define __ILI9163C_H #include "spi.h" #include "ILI9163C_regs.h" #include "stdio.h" #include "string.h" #define _TFTWIDTH 128 //the REAL W resolution of the TFT #define _TFTHEIGHT 160 //the REAL H resolution of the TFT #define _GRAMWIDTH _TFTWIDTH #define _GRAMHEIGH _TFTHEIGHT #define _GRAMSIZE _...
2.046875
2
2024-11-18T22:59:31.916773+00:00
2021-10-09T09:05:22
5f5744150dd43d1ca2ccc7f924dc06548fccbb7b
{ "blob_id": "5f5744150dd43d1ca2ccc7f924dc06548fccbb7b", "branch_name": "refs/heads/master", "committer_date": "2021-10-09T09:05:22", "content_id": "2895c67553f809fd9b1748c504324ab51cd6c9eb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a8143b02f6638caca13d2f3b59a50effecccbc24", "extensio...
stackv2
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2.34375
2
2024-11-18T22:59:32.403810+00:00
2020-04-18T00:22:14
cdafba89e67c5bf3ee8de2946bfcb44d288a3a03
{ "blob_id": "cdafba89e67c5bf3ee8de2946bfcb44d288a3a03", "branch_name": "refs/heads/master", "committer_date": "2020-04-18T00:22:14", "content_id": "f871521a864f79afb8c2df625df934e20d26af0d", "detected_licenses": [ "MIT" ], "directory_id": "2ee4c423423536be349fa5738dbca0c5c91a9f7b", "extension": "c"...
stackv2
/*! @file InitialSolution.c @author Debojyoti Ghosh @brief Read in initial solution from file */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <basic.h> #include <arrayfunctions.h> #include <io.h> #include <mpivars.h> #include <hypar.h> int VolumeIntegral(double*,double*,void*,void*); /...
2.671875
3
2024-11-18T22:59:32.749199+00:00
2018-07-18T19:47:58
ace2809f22a2ee3cbbaaec4318d5ef7ebf14773a
{ "blob_id": "ace2809f22a2ee3cbbaaec4318d5ef7ebf14773a", "branch_name": "refs/heads/master", "committer_date": "2018-07-18T19:47:58", "content_id": "bef2a02348d00a211c630f9e72c5ae0fed01b4b4", "detected_licenses": [ "MIT" ], "directory_id": "18acc483052ee676ceed6d601f4a8fd9b4965512", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <getopt.h> #include <string.h> #include "interval_tree.h" typedef struct Gem_YB gem; #include "killgem_utils.h" typedef struct Gem_Y gemY; #include "crit_utils.h" #include "kga_utils.h" #include "query_utils.h" #include "gfon.h" #include "print_utils.h" ...
2.328125
2
2024-11-18T22:59:32.801726+00:00
2015-03-12T14:42:58
1f1f82f6477281235f926bd030b67cec3d9d428a
{ "blob_id": "1f1f82f6477281235f926bd030b67cec3d9d428a", "branch_name": "refs/heads/master", "committer_date": "2015-03-12T14:42:58", "content_id": "bad83e7ee653e188012afe9c65f7eb1cec19daef", "detected_licenses": [ "MIT" ], "directory_id": "3b59c3908291cfe9f742075b3614324814e32385", "extension": "h"...
stackv2
/*-------------------------------------------------------------------------*/ /** @file SSL_Keys.h @author P. Batty @brief Allows you to get SDL keys code with a string. This module implements a way to get SDL key codes with strings. */ /*-------------------------------------------------------------...
2
2
2024-11-18T22:59:33.164273+00:00
2021-01-15T09:45:04
3b5e2abecdcfd3f4cdce44ef08a6cbc16036cd22
{ "blob_id": "3b5e2abecdcfd3f4cdce44ef08a6cbc16036cd22", "branch_name": "refs/heads/master", "committer_date": "2021-01-15T09:45:04", "content_id": "7bfdb27fa8c02207618683a76ca8c93aceeb6bc1", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "ba3b7ea827038ccf4d8d03919ad1c95e18bbe90c", ...
stackv2
#include <stdlib.h> #include <locale.h> #include <notcurses/notcurses.h> int main(void){ setlocale(LC_ALL, ""); struct notcurses_options opts = { .flags = NCOPTION_INHIBIT_SETLOCALE, }; struct notcurses* nc = notcurses_init(&opts, NULL); if(nc == NULL){ return EXIT_FAILURE; } int dimy, dimx; st...
2.5625
3
2024-11-18T22:59:33.312662+00:00
2019-12-01T06:22:25
86e8c4aa101a19844198b8fd34d1a46c0a2b19b6
{ "blob_id": "86e8c4aa101a19844198b8fd34d1a46c0a2b19b6", "branch_name": "refs/heads/master", "committer_date": "2019-12-01T06:22:25", "content_id": "31af1c3087234e66e86e209656d342d1bd012ce3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f0ee972868e2899e42be0252fe4e8320f7237bd8", "extensio...
stackv2
/* * fmsx_main.c * * Created on: 2019. 11. 6. * Author: HanCheol Cho */ #include "hw.h" #include "Console.h" #include "EMULib.h" #include "MSX.h" #include "fmsx.h" const char *dir_bios = "/msx/bios"; const char *dir_roms = "/msx/roms"; static char cur_path[1024]; extern int StartMSX(int NewMode,int ...
2.234375
2
2024-11-18T22:59:34.044985+00:00
2020-06-14T10:38:18
7a7fb715713dfe2a94df3e7ac2a2819a79d2d110
{ "blob_id": "7a7fb715713dfe2a94df3e7ac2a2819a79d2d110", "branch_name": "refs/heads/master", "committer_date": "2020-06-14T10:38:18", "content_id": "8903c7061a14394022dce3bebf1252277b347aa3", "detected_licenses": [ "MIT" ], "directory_id": "5bff7b5788f03ef998e9a64509d91cdf08fe1b21", "extension": "c"...
stackv2
/* passivesock.c - passivesock */ #include <autoconf.h> #include <stdarg.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "TCPlib.h" #if defined(__cplusplus) || defined(c_plusplus) extern...
2.640625
3
2024-11-18T22:59:34.263050+00:00
2021-01-18T04:11:43
fb3b4bdf5541785d7f99cb47d16de9a42fe56d97
{ "blob_id": "fb3b4bdf5541785d7f99cb47d16de9a42fe56d97", "branch_name": "refs/heads/main", "committer_date": "2021-01-18T04:11:43", "content_id": "9cef72943f75e99719a56ad4a49aaea255f4681d", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "8fe07cf177969a9d1b43f1c462ba5e3007259de6", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> #define MAXSTRING 100 typedef struct { clock_t begin_clock, save_clock; time_t begin_time, save_time; } time_keeper; static time_keeper tk; /* known only to this file */ void start_time(void) { tk.begin_clock = tk.save_clock = ...
2.84375
3
2024-11-18T22:59:34.389950+00:00
2015-03-11T15:12:00
20cc70ebdf70d6eb5ee604b902d61cddd39515bb
{ "blob_id": "20cc70ebdf70d6eb5ee604b902d61cddd39515bb", "branch_name": "refs/heads/master", "committer_date": "2015-03-11T15:12:00", "content_id": "07b3ec49062555571b79874b0b4feacd2a108fa0", "detected_licenses": [ "MIT" ], "directory_id": "8ea2e1b2363a4ab5261ce7affad619450769e414", "extension": "h"...
stackv2
/** * @file ldac_corpus.h * @author Jiangwen Su <uukuguy@gmail.com> * @date 2014-12-22 14:26:58 * * @brief * * */ #ifndef __LDAC_CORPUS_H__ #define __LDAC_CORPUS_H__ #include <stdint.h> typedef struct ldac_document_t { uint32_t *terms; //int *counts; double *counts; uint32_t num_terms...
2.015625
2
2024-11-18T22:59:34.558445+00:00
2015-02-25T02:30:02
6e807a884422aee4d9b5ce6c6f2f0f0cc9f9c2e9
{ "blob_id": "6e807a884422aee4d9b5ce6c6f2f0f0cc9f9c2e9", "branch_name": "refs/heads/master", "committer_date": "2015-02-25T02:30:02", "content_id": "d9f9cd003807c8f1d3dd6c86791b0617bcc55f2a", "detected_licenses": [ "MIT" ], "directory_id": "cb9161e51b41957eff7a3b740a72ab550adebbc8", "extension": "h"...
stackv2
#ifndef _GPIO_H_ #define _GPIO_H_ #include <stdlib.h> #include <stdio.h> typedef enum { READ, WRITE } pin_mode; typedef enum { HIGH, LOW, } pin_value; typedef struct gpio { FILE *f; pin_mode cur_mode; pin_value cur_value; int pin; int open; } gpio; int gpio_init(gpio *g, int pi...
2.0625
2
2024-11-18T22:59:34.862983+00:00
2019-12-28T07:46:16
04c9453a287a10f8a67af86d93989af0361e43b8
{ "blob_id": "04c9453a287a10f8a67af86d93989af0361e43b8", "branch_name": "refs/heads/master", "committer_date": "2019-12-28T07:46:16", "content_id": "e37f2a44a2a3cb98497323e5d1ba962b97f223a2", "detected_licenses": [ "BSL-1.0" ], "directory_id": "951d4f76e05be8601ebace106b3c57e1aa5de5be", "extension":...
stackv2
/** * @file stream.h * * `stream.h` provides access to generic streams. Other streams * are expected to be compatible with the stream.h's interface. * * @author H Paterson. * @copyright Boost Software License 1.0. * @date 14/11/2019. */ #ifndef STREAM_H_ #define STREAM_H_ /** * @typedef stream * * `str...
2.03125
2
2024-11-18T22:59:35.345861+00:00
2023-03-17T20:27:37
9a5b1dcdbe3c95118d0f4d42d85fb361b2132577
{ "blob_id": "9a5b1dcdbe3c95118d0f4d42d85fb361b2132577", "branch_name": "refs/heads/master", "committer_date": "2023-08-31T11:52:41", "content_id": "4b92010adee7c05b3d917cb0f292df2a39c9b695", "detected_licenses": [ "Apache-2.0" ], "directory_id": "85ccd32aa73eecf274a937f1fc3b6f4d484b77da", "extensio...
stackv2
#include <errno.h> #include <stdio.h> int main(int argc, char **argv) { char buf[1024]; size_t len; FILE *fh; if (argc != 2) { fprintf(stderr, "Incorrect number of arguments, got %i\n", argc); return 1; } fh = fopen(argv[1], "r"); if (fh == NULL) { fprintf(stderr, "...
2.828125
3
2024-11-18T22:59:36.099840+00:00
2021-08-17T20:36:42
f498d926756f92837fc662a903b5dd582629202c
{ "blob_id": "f498d926756f92837fc662a903b5dd582629202c", "branch_name": "refs/heads/master", "committer_date": "2021-08-17T20:36:42", "content_id": "0583f7ca610dd5e17ac10446c1125d3d2e9fa020", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ccab694652584db89e0bb6379e02efb67b5b8b8a", "extensio...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* vectors8.c :+: :+: :+: ...
2.359375
2
2024-11-18T22:59:36.177298+00:00
2023-05-29T08:19:48
f25671b9f80ff68af244f5e19a7599ea3b78a15b
{ "blob_id": "f25671b9f80ff68af244f5e19a7599ea3b78a15b", "branch_name": "refs/heads/master", "committer_date": "2023-05-29T08:19:48", "content_id": "8bd2128770e213a2d1c638e137816d20b21a4a84", "detected_licenses": [ "CC0-1.0" ], "directory_id": "47dfe4f78a4d77422421fc19f24fcc45451f8608", "extension":...
stackv2
#include "Rewarp.h" extern const int RewarpActionId; static int RCOnSelect(struct FSProc*, int, int); static int RCOnCancel(struct FSProc*, int, int); static const struct FSDefinition sRewarpFSDefinition = { .onInit = NULL, .onEnd = NULL, .onAPress = RCOnSelect, .onBPress = RCOnCancel, .onRPres...
2.03125
2
2024-11-18T22:59:37.063776+00:00
2016-05-26T08:51:58
7bfa914cd4472ef0398132a7cdec5c284a6e4e28
{ "blob_id": "7bfa914cd4472ef0398132a7cdec5c284a6e4e28", "branch_name": "refs/heads/master", "committer_date": "2016-05-26T08:51:58", "content_id": "926c009f3df32b1d0e2d2ecc7d251001e5142486", "detected_licenses": [ "MIT" ], "directory_id": "f56183a8707e16f067bd645d371b51377dc8d3ca", "extension": "c"...
stackv2
#include<stdio.h> #include<stdlib.h> // int putenv(char *string); // Return 0 on success, or nonzero on error // putenv()将environ变量中的某一元素指向参数string的地址,而非复制副本,因此当string被修改,将影响环境变量。 int main(int argc, char **argv) { char buffer[] = "myname=seanxp"; printf("env: \t\t[myname=%s]\n", getenv("myname")); printf...
3.296875
3
2024-11-18T22:59:37.171843+00:00
2019-08-25T13:29:36
b05b03d832e71aebd6855f8a4e6c28aae52e0c44
{ "blob_id": "b05b03d832e71aebd6855f8a4e6c28aae52e0c44", "branch_name": "refs/heads/master", "committer_date": "2019-08-25T13:29:36", "content_id": "c77977ffd468b8dcd8f8a8eef41443309d48c786", "detected_licenses": [ "ISC" ], "directory_id": "768d553fc96b57a963569e7f23f1f1da619d1424", "extension": "c"...
stackv2
#include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Compile: clang implicit_cast_sadness.c -o implicit_cast_sadness \ -pedantic -fsanitize=undefined \ -Wall -Wextra -std=c99 * Usage: ./implicit_cast_sadness 1 2 3 45000 48000 65535 * ...
3.109375
3
2024-11-18T22:59:37.388560+00:00
2018-09-12T13:49:26
f54cb08435785a18459897e96c6ce37176bb8d92
{ "blob_id": "f54cb08435785a18459897e96c6ce37176bb8d92", "branch_name": "refs/heads/master", "committer_date": "2018-09-12T13:49:26", "content_id": "d429648db5986205a336c9c14bc52b0698558dbb", "detected_licenses": [ "MIT" ], "directory_id": "2bbc0cae30bfbf71484a34bf8c1a27c4298aec70", "extension": "c"...
stackv2
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <random.h> #include "tweetnacl.h" #include "morph25519.h" #include "timing.h" typedef unsigned char u8; #define PUB_KEY_LEN 32 #define PRIV_KEY_LEN 32 #define NONCE_LEN 24 #define PADDING_LEN 32 #define EQUAL(a, b) if(crypto_verify_32(a, b)) { print...
2.46875
2
2024-11-18T22:59:37.456443+00:00
2016-10-23T18:43:42
20d0414d38ee73a41ac046283517916161316db1
{ "blob_id": "20d0414d38ee73a41ac046283517916161316db1", "branch_name": "refs/heads/master", "committer_date": "2016-10-23T18:43:42", "content_id": "37bfe3630ff550a3043ef9cde9da8d3245b53e20", "detected_licenses": [ "MIT" ], "directory_id": "c2bf53e9c74ce9732bcf283e7c0915ed72509a90", "extension": "h"...
stackv2
/* Copyright (c) 2005 Agorics; see MIT_License in this directory or http://www.opensource.org/licenses/mit-license.html */ #include <stdio.h> #include <string.h> typedef struct{char * which; unsigned long where;} rec; rec site_list[] = { #include "sites.h" }; #define dcl(n, t) define(#n, #t) #define include(h) enclude...
2.28125
2
2024-11-18T22:59:37.555755+00:00
2017-12-30T23:28:23
32bcaef190380861d1bd73081946df82b9ecbd0f
{ "blob_id": "32bcaef190380861d1bd73081946df82b9ecbd0f", "branch_name": "refs/heads/master", "committer_date": "2017-12-30T23:28:23", "content_id": "6d1a0c1369451fbd28e617aed90c486cd5578989", "detected_licenses": [ "MIT" ], "directory_id": "7414f10acab6b21d1ec94bbefb7445ece768a4e7", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include "KATA3.h" int canBeBuild(char *ransomArr, char *magazine){ int count, i, j; count = 0; for (i = 0; ransomArr[i] != '\0'; i++) { for (j = 0; magazine[j] != '\0'; j++) { if (ransomArr[i] == magazine[j]) { count++; break; ...
2.359375
2
2024-11-18T22:59:37.687892+00:00
2021-03-22T16:26:15
01bd123fb35ce1204c41d347fb447c5a2af2fac4
{ "blob_id": "01bd123fb35ce1204c41d347fb447c5a2af2fac4", "branch_name": "refs/heads/main", "committer_date": "2021-03-22T16:26:15", "content_id": "d21bf223684504f854c19ee13ab87b89413d29a0", "detected_licenses": [ "MIT" ], "directory_id": "c80d791192e05e8e5db94330906e35524e29a367", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #define NUM_D_CONTROLS 1024 // sizeof(Node)が88 #define D_MEMORY_AVERAGE_SIZE 100 #define D_MEMORY_SIZE NUM_D_CONTROLS *D_MEMORY_AVERAGE_SIZE char temp[1024]; typedef struct _d_control { void *memory; size_t size; int8_t is_available; // 初期値0。free...
2.953125
3
2024-11-18T22:59:37.742831+00:00
2017-11-27T02:43:25
8fe7d1111009ff440c1651ea4810f7afa50fd497
{ "blob_id": "8fe7d1111009ff440c1651ea4810f7afa50fd497", "branch_name": "refs/heads/master", "committer_date": "2017-11-27T19:03:13", "content_id": "81a4b76919db4641bc04b9910e484f0b70bff072", "detected_licenses": [ "Apache-2.0" ], "directory_id": "805e552b2d8ffb8b53c5e6737b6a58aa2515883e", "extensio...
stackv2
/* * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
2.15625
2
2024-11-18T22:59:37.853006+00:00
2014-08-25T02:40:11
74946716d582fb69f6963036a7cf5cd0b080ce50
{ "blob_id": "74946716d582fb69f6963036a7cf5cd0b080ce50", "branch_name": "refs/heads/master", "committer_date": "2014-08-25T02:40:11", "content_id": "e01e64ee84cac50c62f5716a8ed04fc580f52506", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f232bee310c1b270acbed031280ab69bb476cbb2", "extens...
stackv2
/* Copyright 1992 by Holger Veit * May be freely used with Bill Jolitz's port of * 386bsd and may be included in a 386bsd collection * as long as binary and source are available and reproduce the above * copyright. * * You may freely modify this code and contribute improvements based * on this code as long...
2
2
2024-11-18T22:59:38.082304+00:00
2022-05-11T16:01:03
d201df63fe1febca8fce608a1a440eaa9ebde847
{ "blob_id": "d201df63fe1febca8fce608a1a440eaa9ebde847", "branch_name": "refs/heads/develop", "committer_date": "2022-05-11T16:01:03", "content_id": "ee9aac066943b8ec8cc39ae22999cb4bd2876cdd", "detected_licenses": [ "Apache-2.0" ], "directory_id": "19a9f2c19bcb81c4a14ba17831d3098de7731fb5", "extensi...
stackv2
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <ncarg/ncargC.h> #include <ncarg/gks.h> float armn(int, float *); float armx(int, float *); /* * Define the workstation type. If not an X11 window, then * appropritate metafile names will be generated for each plot * in the subsequent code. */ ...
2.59375
3
2024-11-18T22:59:38.395199+00:00
2016-07-14T19:42:30
e67615f820bb0d037724308fd947398275431993
{ "blob_id": "e67615f820bb0d037724308fd947398275431993", "branch_name": "refs/heads/master", "committer_date": "2016-07-14T19:42:30", "content_id": "52f80c8e1bc7c3781aea8ebdba8a52e7207bdf79", "detected_licenses": [ "MIT" ], "directory_id": "f7f502b6160161a0b0ac88a1a405106aca3bef02", "extension": "c"...
stackv2
#include "boundary.h" #include "LBDefinitions.h" #include "helper.h" #include "computeCellValues.h" /** * Set NOSLIP condition */ void setNoSlip(double * collideField, int * flagField, int x, int y, int z, int * n) { int i, coord_dest[3]; double * cell_ptr; /* for each lattice */ for (i = 0; i < Q; ...
2.6875
3
2024-11-18T22:59:38.542297+00:00
2017-05-11T17:41:47
eccb53193788c8b4dd46407f0faacf30bea1c6f4
{ "blob_id": "eccb53193788c8b4dd46407f0faacf30bea1c6f4", "branch_name": "refs/heads/axis2c-1.6.0", "committer_date": "2017-05-11T17:41:47", "content_id": "59454d598c60a582e3e9bdd51ebd0337169866ba", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e1fc3410fcc2ab5113ad4911dbf3b9a153c9c3b7", "ex...
stackv2
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
2.546875
3
2024-11-18T22:59:38.924287+00:00
2022-09-04T19:42:42
1c8a6032226fde3456f125742752a653711b1119
{ "blob_id": "1c8a6032226fde3456f125742752a653711b1119", "branch_name": "refs/heads/master", "committer_date": "2022-09-04T19:42:42", "content_id": "1f689cdf60a1ffd7c7f0ed9a035cee261d00c33d", "detected_licenses": [ "MIT" ], "directory_id": "0e100916dce1d2f3e86801e6c27102ad5d7e305c", "extension": "c"...
stackv2
/* :ts=4 * $VER: retroAllocEngine.c $Revision$ (30-Jan-2019) * * This file is part of retromode. * * Copyright (c) 2019 LiveForIt Software. * MIT License. * * $Id$ * * $Log$ * * */ #include <exec/exec.h> #include <proto/exec.h> #include <dos/dos.h> #include <exec/types.h> #include <libraries/retromod...
2.015625
2
2024-11-18T22:59:39.628113+00:00
2020-06-03T21:15:23
155c8ab2cec18aa7bb29e88ee343e0c7848eac2f
{ "blob_id": "155c8ab2cec18aa7bb29e88ee343e0c7848eac2f", "branch_name": "refs/heads/master", "committer_date": "2020-06-03T21:15:23", "content_id": "daa56d28f853a8c8c618e54fa7313410c038f3d3", "detected_licenses": [ "MIT" ], "directory_id": "eab2dd8cf21b666f63abe8b55da37ae3250f8b0b", "extension": "c"...
stackv2
// Gets a text with max size of 'TXTMAXSIZE' and obtains length #include <stdio.h> #include <string.h> #include <stdlib.h> #include "vars_read.h" // Gets the text to compute from the user void get_txt (TXT *texto) { int i, temp; // initialize to 0 to avoid posible bugs with buff trash texto->text = (cha...
2.734375
3
2024-11-18T22:59:40.051745+00:00
2023-08-28T00:00:02
07d9daa88e3b6c806ab0154b78129f51035e8692
{ "blob_id": "07d9daa88e3b6c806ab0154b78129f51035e8692", "branch_name": "refs/heads/master", "committer_date": "2023-08-28T00:00:02", "content_id": "879762cabbda87733c6950758536ba82623b92e6", "detected_licenses": [ "MIT" ], "directory_id": "b01b4365ab6c9afeb6664563dd314df4f269014f", "extension": "c"...
stackv2
/** * @file tee/tee.c * * Yori shell output to a file and stdout * * Copyright (c) 2017-2023 Malcolm J. Smith * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, i...
2.359375
2
2024-11-18T22:59:41.216239+00:00
2020-08-16T01:03:26
358117948f2abd5fa0214fb67cb4f401c1c385b7
{ "blob_id": "358117948f2abd5fa0214fb67cb4f401c1c385b7", "branch_name": "refs/heads/master", "committer_date": "2020-08-16T03:53:56", "content_id": "19a608c14ba64e3c8706e65aad646f43b5919a68", "detected_licenses": [ "MIT", "Apache-2.0" ], "directory_id": "d911ae679ba2e25498390954538796c4921a0d5d", ...
stackv2
/* Copyright 2015 BitPay, Inc. * Distributed under the MIT/X11 software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. */ #include "libbitc-config.h" #include <stdlib.h> #include <string.h> #include <bitc/clist.h> void clist_free_ext(clist *l, void (*free_f)(voi...
2.890625
3
2024-11-18T22:59:41.284367+00:00
2016-02-26T16:03:25
97e8c31018ddd10b4c10ef424ad1bad6d75b3638
{ "blob_id": "97e8c31018ddd10b4c10ef424ad1bad6d75b3638", "branch_name": "refs/heads/master", "committer_date": "2016-02-26T16:03:25", "content_id": "6101d81e69de96faa9fd455f75a6563639cdaea6", "detected_licenses": [ "MIT" ], "directory_id": "0ea210332c43c370f155770cd628197672632eb7", "extension": "c"...
stackv2
/* ******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2015 Pham Van Tuong * * 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 Soft...
2.265625
2
2024-11-18T22:59:41.340506+00:00
2021-01-13T05:20:52
8bdbd757c28b39407b167e904563ea541124d56d
{ "blob_id": "8bdbd757c28b39407b167e904563ea541124d56d", "branch_name": "refs/heads/main", "committer_date": "2021-01-13T05:20:52", "content_id": "5817ec7324b645005bf60cebcc1195765b3ecef7", "detected_licenses": [ "MIT" ], "directory_id": "b9ac8508cddd14c4933fa2c0752612a3ec3d89a7", "extension": "h", ...
stackv2
#ifndef L_TYPE_CA_CHANNEL_F_GATE_H_ #define L_TYPE_CA_CHANNEL_F_GATE_H_ #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <math.h> typedef int bool; #define false 0 #define true 1 #include "config.h" // L_type_Ca_channel_f_gate States enum LTypeCaChannelFGateStates { L_TYPE_CA_CHANNEL_F_GATE_Q...
2.046875
2
2024-11-18T22:59:42.757437+00:00
2017-05-14T05:06:18
3e7941db6a6968cb178512abac840203fb6484ce
{ "blob_id": "3e7941db6a6968cb178512abac840203fb6484ce", "branch_name": "refs/heads/master", "committer_date": "2017-05-14T05:06:18", "content_id": "729f3da7cf926e49e1502081f9699714d5970c61", "detected_licenses": [ "MIT" ], "directory_id": "97486ce29f519c66f6e381447d524f9a09afc14d", "extension": "c"...
stackv2
int main(int argc, const char *argv[]) { int fd; const char *path; if (argc < 2) return (1); path = argv[1]; fd = open(path, O_RDONLY | O_DIRECTORY); if (fd != -1) return (0); return (errno == ENOTDIR ? 2 : 3); }
2.203125
2
2024-11-18T22:59:43.714846+00:00
2021-05-07T20:18:40
751d0dac16aecea97d364c3b116569489806065b
{ "blob_id": "751d0dac16aecea97d364c3b116569489806065b", "branch_name": "refs/heads/master", "committer_date": "2021-05-07T20:18:40", "content_id": "60456b6e0d9d59e2a5ec0093a6fbd9162ca326a2", "detected_licenses": [ "MIT" ], "directory_id": "310d2b3cac869b871cbb17955f14cde079eb1976", "extension": "c"...
stackv2
/** Copyright © 2021 Oleh Ihorovych Novosad test_lu_brain tests public interfaces (from library user point of view) and includes general integration tests. It uses nouns with Lu_ prefix only and methods with lu_ prefixes only. */ #include "unity.h" #include "lib/_module.h" Mem_Debugger md; Lu_Brain brain...
2.0625
2
2024-11-18T22:59:43.823429+00:00
2016-11-04T05:29:16
2558c82d013224e42f3d79800d8c7a4f2012bc7c
{ "blob_id": "2558c82d013224e42f3d79800d8c7a4f2012bc7c", "branch_name": "refs/heads/master", "committer_date": "2016-11-04T05:29:16", "content_id": "eb4a661d1b5ff38890aa93214b0d6bb77214dfca", "detected_licenses": [ "MIT" ], "directory_id": "00465db80689d201454803f51efa9e3a774f281e", "extension": "c"...
stackv2
/************************************************************************************************** Filename: irda_lib.c Revised: Date: 2016-10-21 Revision: Revision: 1.0 Description: This file provides algorithms for IR decode (compressed command type) Revision log: * 2016-10-21: created by str...
2.0625
2
2024-11-18T22:59:44.623232+00:00
2021-06-20T22:54:03
b19e032f5123299cc8d2ec76dc358590aa04ed72
{ "blob_id": "b19e032f5123299cc8d2ec76dc358590aa04ed72", "branch_name": "refs/heads/main", "committer_date": "2021-06-20T22:54:03", "content_id": "1b031ec3847a10d83d69b21dd7551334bf3197e6", "detected_licenses": [ "MIT" ], "directory_id": "61eeece81800c3e71d1dd717569524ce92d9ef8a", "extension": "h", ...
stackv2
//+-------------------------------------------------------------------------- // // NightDriver - (c) 2020 Dave Plummer. All Rights Reserved. // // File: marque.h // // Description: // // Draws a theatre-style marquee // // History: Sep-15-2020 davepl Created // //--------------------------------...
2.53125
3
2024-11-18T22:59:46.578712+00:00
2018-10-08T02:03:43
c1469719039880b67e721a259e3cadb9a392504c
{ "blob_id": "c1469719039880b67e721a259e3cadb9a392504c", "branch_name": "refs/heads/master", "committer_date": "2018-10-09T02:45:53", "content_id": "eb340591b4644b3e941f816202f9fa6d04511591", "detected_licenses": [ "MIT" ], "directory_id": "e0b181ba95bf4691394d969fa3c01322212a57b0", "extension": "c"...
stackv2
#include <stdio.h> #include <stdarg.h> int sprintf(char *restrict s, const char *restrict fmt, ...) { va_list ap; int n; va_start(ap, fmt); n = vsnprintf(s, 1 << 30, fmt, ap); va_end(ap); return n; } #include "libc/link_warning.h" warn_unbounded(sprintf, "snprintf()");
2.046875
2
2024-11-18T22:59:46.661424+00:00
2023-08-29T07:30:36
a937cc38353bf5e152917b59b397650c6381bdbb
{ "blob_id": "a937cc38353bf5e152917b59b397650c6381bdbb", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T07:30:43", "content_id": "bf4968a2f3fa50d554f8a20f518a60f27382eb11", "detected_licenses": [ "Apache-2.0" ], "directory_id": "2c1429a1bd2d0477fd88119d4d778fc68c82adcf", "extensio...
stackv2
/* * Copyright 2019 Aaron Barany * * 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...
2.40625
2
2024-11-18T22:59:46.779457+00:00
2018-05-19T11:04:37
43ca856505f10c579be2b147831d16e60e247448
{ "blob_id": "43ca856505f10c579be2b147831d16e60e247448", "branch_name": "refs/heads/master", "committer_date": "2018-05-19T11:04:37", "content_id": "205b495809370cb5f9e366cd24917f83b42a6792", "detected_licenses": [ "ISC", "Apache-2.0" ], "directory_id": "c4f0ee8f9c6b54c0987742786cc275674c3ae44b", ...
stackv2
/* $Id: ex15.c 286 2004-06-15 10:15:52Z kpoitschke $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "examples.h" int select_from_blob_table(sqlo_db_handle_t dbh, int key ) { char * stmt = "SELECT KEY, CDATA FROM T_SQLORA_BLOB WHERE KEY = :1"; int status; sqlo_stmt_handle_t sth = SQLO...
2.796875
3
2024-11-18T22:59:46.877457+00:00
2020-12-05T19:38:32
3174f5ce1179b4ec7d135582329d1004dbb3f285
{ "blob_id": "3174f5ce1179b4ec7d135582329d1004dbb3f285", "branch_name": "refs/heads/main", "committer_date": "2020-12-05T19:38:32", "content_id": "717c0d99d4c50c08ac99a9379662951f457b0d29", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "955bd50ed66096a6e3f4d0356844622a430d558c", "extensio...
stackv2
/*#=========================================================================### ## ## ## Author: Furkan Çetinkaya <furkan.cetinkaya@outlook.com.tr> ## ## ##...
2.421875
2
2024-11-18T22:59:47.000445+00:00
2017-06-30T21:32:06
2935c7c0d5172a96a714f8581a72829636429cfb
{ "blob_id": "2935c7c0d5172a96a714f8581a72829636429cfb", "branch_name": "refs/heads/master", "committer_date": "2017-06-30T21:32:06", "content_id": "f51d9c1d439825e16f4bfe6454216406d7d1635c", "detected_licenses": [ "MIT" ], "directory_id": "4bd36db56cad5b790e01e48dd55be67a638222c2", "extension": "h"...
stackv2
//#deifne CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> typedef struct queueNode { int customerNumber; // Unique identifier; starts at 1; after 24 hours should be reset to 1 int serviceTime; // Random time; varies between express and normal lanes; units in minutes ...
2.25
2
2024-11-18T22:59:47.577532+00:00
2021-01-07T21:45:52
2590683c1e09d86e786adc1fde56b1bd664a863d
{ "blob_id": "2590683c1e09d86e786adc1fde56b1bd664a863d", "branch_name": "refs/heads/master", "committer_date": "2021-01-07T21:45:52", "content_id": "d0a7f3bc432906812b713b3f5106d857199ac019", "detected_licenses": [ "BSD-2-Clause-Views" ], "directory_id": "987f1026c6cc0efb9f2775b1a743535811abb479", "...
stackv2
#include <sys/defs.h> #include <sys/gdt.h> #include <sys/kprintf.h> #include <sys/tarfs.h> #include <sys/ahci.h> #include <sys/idt.h> #include<sys/process.h> #include <sys/mem.h> #include <sys/tarfs.h> #include <sys/file.h> #define INITIAL_STACK_SIZE 4096 uint8_t initial_stack[INITIAL_STACK_SIZE]__attribute__((aligned(...
2.171875
2
2024-11-18T22:59:47.804538+00:00
2014-10-17T20:27:32
80b4d4027473477098da3e8166cce72c80cfe5b6
{ "blob_id": "80b4d4027473477098da3e8166cce72c80cfe5b6", "branch_name": "refs/heads/master", "committer_date": "2014-10-17T20:27:32", "content_id": "1faacddb9565436156f361252cdeecb70640fdea", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "564b07519a74501d469385770c67f819b98ad882", "extens...
stackv2
/*-------------------------------------------------------------------------* * File: GAINSPAN_SPI.c *-------------------------------------------------------------------------* * Description: * GainSpan SPI Serial Driver. Emulates the same API as a UART * driver. It has a FIFO buffer for sending and rece...
2.21875
2
2024-11-18T22:59:48.197130+00:00
2023-08-30T17:40:54
f88cb3139ca463a472b03369305edf899406887d
{ "blob_id": "f88cb3139ca463a472b03369305edf899406887d", "branch_name": "refs/heads/master", "committer_date": "2023-08-30T17:40:54", "content_id": "0c2f7065efc59a1b02fcafd4a0baaa1ebbeb9a84", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7df190df28da7e4ff166e55dc8ce780f11236a9f", "extens...
stackv2
#include "first.h" #include "base.h" #include "buffer.h" #include "array.h" #include "log.h" #include "http_header.h" #include "sock_addr.h" #undef __declspec_dllimport__ #define __declspec_dllimport__ __declspec_dllexport__ #include "configfile.h" #include "plugin.h" #include <string.h> #include <stdlib.h> /*...
2.125
2
2024-11-18T22:59:48.275371+00:00
2022-12-06T10:30:56
7e560e16c609e55b7fd466d790fe191ee11386ad
{ "blob_id": "7e560e16c609e55b7fd466d790fe191ee11386ad", "branch_name": "refs/heads/release/v4.2", "committer_date": "2022-12-06T10:33:43", "content_id": "a2a6711b3d18fa9b5d8e03f7fb41c4e20581f715", "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.171875
2
2024-11-18T22:59:48.394593+00:00
2018-11-19T19:10:16
21dd1c61037cb6cd28227ac28992f025bc6a2445
{ "blob_id": "21dd1c61037cb6cd28227ac28992f025bc6a2445", "branch_name": "refs/heads/master", "committer_date": "2018-11-19T19:10:16", "content_id": "ba23b7bfb4fc02307583fefa20c1f4dc0a328f35", "detected_licenses": [ "MIT" ], "directory_id": "8af70c14bbb62faf40c545e1676000569cfaf1ec", "extension": "c"...
stackv2
#define ADJUST_CONTROL_ENABLED 0 #define ADJUST_CONTROL_AFFECT_FAN0 1 #define ADJUST_CONTROL_AFFECT_FAN1 2 #define ADJUST_CONTROL_AFFECT_FAN2 3 #define ADJUST_CONTROL_AFFECT_FAN3 4 // Available global variables. // // rpm_0, ..., rpm_3 // temperature_0, temperature_1 // // Control functions typedef struct { uint...
2.40625
2
2024-11-18T22:59:48.497587+00:00
2020-03-21T14:58:29
5d1381b97a4c943d58cdb584887fa748c06950a0
{ "blob_id": "5d1381b97a4c943d58cdb584887fa748c06950a0", "branch_name": "refs/heads/master", "committer_date": "2020-03-21T14:58:29", "content_id": "9c6f37c75d02e8b045cdb57fb03daa0a2ea909cd", "detected_licenses": [ "MIT" ], "directory_id": "68e44aeb451947ccc010f64eb889cce86e1504fb", "extension": "c"...
stackv2
#include "headers/map.h" void loadMap(void); void drawExtraImage(void); char* intToString(int number); void levelUptoBorder(int i); void frameIncrement(void); void startScreen(void); void menu(void); void endSceen(void); void scoreTable(void); int x = 0 , y = 0 , i = 0; void initMap(void) { loadMap(); renderT...
2.203125
2
2024-11-18T22:59:48.566298+00:00
2017-05-18T14:38:21
d4980fe1df3ec7656fe69bc597defb029c9c3ea9
{ "blob_id": "d4980fe1df3ec7656fe69bc597defb029c9c3ea9", "branch_name": "refs/heads/master", "committer_date": "2017-05-18T14:38:21", "content_id": "db2a03bdd205efd83651a76978b66543672722b6", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "0cc4fb8e1ec33df3166ed4e6e731de299d4b3147", "extens...
stackv2
/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* USB mux high-level driver. */ #include "common.h" #include "console.h" #include "host_command.h" #include "usb_mux.h" #include "util.h" #defin...
2.359375
2
2024-11-18T22:59:49.684031+00:00
2020-04-10T19:04:01
1cbd54df7e469935cf081fc1d2030104419ca412
{ "blob_id": "1cbd54df7e469935cf081fc1d2030104419ca412", "branch_name": "refs/heads/master", "committer_date": "2020-04-10T19:04:01", "content_id": "82865f5fce34ec312a8f1556ae6404b20ef0b912", "detected_licenses": [ "MIT" ], "directory_id": "03e591e0660d7bf8c9119a99a2ed21a263a10f11", "extension": "c"...
stackv2
#include<stdio.h> int main(){ float pi = 3.14; float raio = 6.50; float area = 2 * pi * raio; printf("%f", area); return 0; }
2.578125
3
2024-11-18T22:59:50.053166+00:00
2020-09-13T01:37:13
fe46f39ede02f19da68632ec288d20e2e8dfe207
{ "blob_id": "fe46f39ede02f19da68632ec288d20e2e8dfe207", "branch_name": "refs/heads/master", "committer_date": "2020-09-13T01:37:13", "content_id": "fe7413087c1dc43d4232dab71bd683ae1b015110", "detected_licenses": [ "Zlib" ], "directory_id": "cfece4d37848c3525612c0c8d6c2c75090addd4e", "extension": "h...
stackv2
/// \file Renderer.h /// \author lugi1 /// \brief Declares the renderer, texture, and a lot of back-end things /// /// This is the heart of the engine, the main game loop, window, screen /// buffer, and more is all handled by this thing. Only one instance of /// the renderer should exist at a time. #pragma once #includ...
2.265625
2
2024-11-18T22:59:50.469942+00:00
2021-06-22T00:29:05
4ba132014c901b3f7766995ed80759ef7de54d23
{ "blob_id": "4ba132014c901b3f7766995ed80759ef7de54d23", "branch_name": "refs/heads/master", "committer_date": "2021-06-22T00:29:05", "content_id": "963910c2b73b93930ab3541746c5b8a247b4be38", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "3172993df086f819825cc2a87108115b942cef59", "extens...
stackv2
/************************************************************************* * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * * See LICENSE.txt for license information ************************************************************************/ #include <stdint.h> #include <stdlib.h> #ifndef _COLLECTIV...
2.203125
2
2024-11-18T22:59:50.530420+00:00
2015-09-03T11:59:40
5e1ef043f34d1026c8b76d2be7ce7d791f0cf49e
{ "blob_id": "5e1ef043f34d1026c8b76d2be7ce7d791f0cf49e", "branch_name": "refs/heads/master", "committer_date": "2015-09-03T11:59:40", "content_id": "0ca78b270fff1e567c5e6689663de202a262b5fb", "detected_licenses": [ "MIT" ], "directory_id": "dedcc7dd4bf6029c298200fae8ad60678ae95653", "extension": "h"...
stackv2
/** * * Emerald (kbi/elude @2015) * * TODO: Vertex attribute array buffer bindings support (GL_ARB_vertex_attrib_binding!) * * Internal use only. */ #ifndef OGL_VAO_H #define OGL_VAO_H #include "ogl/ogl_types.h" typedef enum { /* GLuint. Rendering context setting. * * This state must be synchron...
2.09375
2
2024-11-18T22:59:50.615566+00:00
2019-06-01T13:28:10
a1320c84c4a3cfbc12ed661baa378cdcfd4279b5
{ "blob_id": "a1320c84c4a3cfbc12ed661baa378cdcfd4279b5", "branch_name": "refs/heads/master", "committer_date": "2019-06-01T13:28:10", "content_id": "87dc55d9d5cbe8306ac6dfb9687eccaf32f1f225", "detected_licenses": [ "MIT" ], "directory_id": "e398a585764f16511a70d0ef33a3b61da0733b69", "extension": "c"...
stackv2
/*++ Copyright (c) 1990-2000 Microsoft Corporation All Rights Reserved Module Name: BUSENUM.C Abstract: This module contains the entry points for a toaster bus driver. Author: Environment: kernel mode only Revision History: Cleaned up sample 05/05/99 Fixed the create_close and ioctl hand...
2.09375
2
2024-11-18T22:59:50.709911+00:00
2017-02-06T01:08:14
8e2c4764f2c6f6515f3794f56f6a8ad5880bf8d4
{ "blob_id": "8e2c4764f2c6f6515f3794f56f6a8ad5880bf8d4", "branch_name": "refs/heads/master", "committer_date": "2017-02-06T01:08:14", "content_id": "7b33ad1a8bb6689054c1a3c6c694352e25298ded", "detected_licenses": [ "MIT" ], "directory_id": "4eb6c1b1868008dd4c23291fd98d35c7bcd96d29", "extension": "c"...
stackv2
#include "types.h" #include "user.h" int main (void) { char* buffer = malloc(5000); if (buffer == 0) { exit(); } if (wolfie(buffer, 5000) < 0) { exit(); } printf(1, buffer); free(buffer); exit(); }
2.03125
2
2024-11-18T23:09:43.071631+00:00
2018-07-23T13:34:10
36e245cc0033825fa9aee3ce4d9f8e56ad7bd791
{ "blob_id": "36e245cc0033825fa9aee3ce4d9f8e56ad7bd791", "branch_name": "refs/heads/master", "committer_date": "2018-07-23T13:34:10", "content_id": "b49ab60f7200706a6ace009b0304773a8b7f6b4a", "detected_licenses": [ "MIT" ], "directory_id": "23a8052d48d2b271679814b7ac4a492d50b9ed67", "extension": "h"...
stackv2
#ifndef _HIJACK_ALERT_HANDLER_ #define _HIJACK_ALERT_HANDLER_ // Includes #include "utils.h" // Structures typedef struct hijack_alert { char *timestamp; struct tm *time_info; char *alert_type; char *source_ip; char *destination_ip; char *metric_name; } hijack_alert; typedef struct node { hijack_ale...
2.25
2
2024-11-18T23:09:43.121502+00:00
2023-07-20T16:50:46
4822e6bd2568297dc89012090c41ef585a60d38c
{ "blob_id": "4822e6bd2568297dc89012090c41ef585a60d38c", "branch_name": "refs/heads/main", "committer_date": "2023-07-20T16:50:46", "content_id": "337ebd67f4f77f7d8d066441c88d0d957653621e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "505585f1d89447adea3f9519f12255602acdb1b2", "extensio...
stackv2
/*--------------------------------------------------------------- * Programmer(s): Daniel R. Reynolds @ SMU *--------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2023, Lawrence Livermore National Security * and Southern Methodist University. * All rights ...
2.046875
2
2024-11-18T23:09:43.867762+00:00
2016-06-13T08:30:04
03f364a3fc631ee03b8708f8429cfff175e42b45
{ "blob_id": "03f364a3fc631ee03b8708f8429cfff175e42b45", "branch_name": "refs/heads/master", "committer_date": "2016-06-13T08:30:04", "content_id": "f309bba5d87185be86385dd20e468318dd7eb9af", "detected_licenses": [ "MIT" ], "directory_id": "75e82632c6c6885b3184ae33c48eceb13ebb3aa6", "extension": "c"...
stackv2
#include "types.h" #include "x86.h" #include "defs.h" #include "date.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" int sys_fork(void) { return fork(); } int sys_exit(void) { int status; if(argint(0, &status) < 0) return -1; exit(status); return 0; // not reached } int...
2.34375
2
2024-11-18T23:09:44.082052+00:00
2023-07-31T07:24:56
121464a3b5599bc567bdf49e3312363078eaf832
{ "blob_id": "121464a3b5599bc567bdf49e3312363078eaf832", "branch_name": "refs/heads/master", "committer_date": "2023-07-31T07:24:56", "content_id": "578fa0b947c68138cb86b3c91d1fc3acde610b0e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "d77abc372ef9104cb1db80347523713c75c6b194", "extensio...
stackv2
/**************************************************************************//** * @file main.c * @version V1.00 * @brief Use MKROM Crypto library to show ECC P-256 ECDSA signature generation function. * * Copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. ************************************...
2.015625
2
2024-11-18T23:09:44.456191+00:00
2021-11-02T01:34:40
2478fc377161fa0aec0747826f4f90cdfa2918e7
{ "blob_id": "2478fc377161fa0aec0747826f4f90cdfa2918e7", "branch_name": "refs/heads/main", "committer_date": "2021-11-02T01:34:40", "content_id": "12aa89905067103da8c315c3b4c59aba01072f36", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "5343e99733e1f2808b51470f0884cbe762b3c03c", "extensio...
stackv2
// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "../include/naiveConsole.h" #include "keyboard.h" #include "time.h" #define ZERO_EXCEPTION_ID 0 #define OPCODE_EXCEPTION_ID 6 static void zero_division(); stat...
2.15625
2
2024-11-18T23:09:44.529090+00:00
2020-05-19T16:51:54
ddfb062c8289e96bff12704b869c53eebcbc5291
{ "blob_id": "ddfb062c8289e96bff12704b869c53eebcbc5291", "branch_name": "refs/heads/master", "committer_date": "2020-05-19T16:51:54", "content_id": "42a3f09ce30984bdf918e37c29d015f1f094400f", "detected_licenses": [ "MIT" ], "directory_id": "18e1210171c1a2a41bfcc68766a205893828efc6", "extension": "c"...
stackv2
#include <stdbool.h> #include <stdlib.h> #include <string.h> #include "cev.h" #include "operators.h" /** Operators list */ const char *op_list[] = { "**", "*", "/", "%", "^", "+", "-", "!", "&", "|", "~", ">>", "<<", ">", "<", ">=", "<=", "==", "!=", "&&", "||", "=", "+=", "-=", "/=", "%=", "*...
2.515625
3
2024-11-18T23:09:45.193811+00:00
2023-08-29T03:30:48
e3354fe4f16dfdaa41260a4373868d0a5fa884d7
{ "blob_id": "e3354fe4f16dfdaa41260a4373868d0a5fa884d7", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T03:30:48", "content_id": "48bf4e55e3157e0a005c8d1fa3e1393350140be1", "detected_licenses": [ "MIT" ], "directory_id": "ad3f34546afba57daf888798ad2d29db0361dcca", "extension": "h"...
stackv2
/************************************************************************** * * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net> * * 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 w...
2.34375
2
2024-11-18T23:09:45.300585+00:00
2019-12-18T09:24:22
55ecb8d92a06bd91d7f28f4093a386a77b92a980
{ "blob_id": "55ecb8d92a06bd91d7f28f4093a386a77b92a980", "branch_name": "refs/heads/master", "committer_date": "2019-12-18T09:24:22", "content_id": "3e386f8cb2800dbf4357f8f5cadee852cc05413b", "detected_licenses": [ "MIT" ], "directory_id": "214ae3f01fc1d03b32f41e4b98c6321dc3127abf", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_lstnew.c :+: :+: :+: ...
2.6875
3
2024-11-18T23:09:45.455431+00:00
2014-05-13T12:31:23
07adfce41597e3268e1bcba5b4e959d31a20befa
{ "blob_id": "07adfce41597e3268e1bcba5b4e959d31a20befa", "branch_name": "refs/heads/master", "committer_date": "2014-05-13T12:31:23", "content_id": "1f669789d7be8ddb11dd8f1126dcc6eb35a5ac3a", "detected_licenses": [ "MIT" ], "directory_id": "04647bbb0cf82250594da0ef58d0005a05f65419", "extension": "c"...
stackv2
/* * exercise 7-6 * write a program to compare two files, * print the first difference line */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define LINELEN 100 int compare_files(char *f1, char *f2); int main(int argc, char **argv) { char *prog = argv[0]; if (argc < 2) { fprintf...
3.421875
3