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:28:09.510130+00:00
2023-08-17T18:05:44
11680c2debb6272d7c064ef0c56e063035000e6e
{ "blob_id": "11680c2debb6272d7c064ef0c56e063035000e6e", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T18:05:44", "content_id": "53f36d393a9089c6a2119ebd91b6b16ab6b9ad6e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "cf56b5fcf51fddb219c47f5f006d8595a4483c57", "extens...
stackv2
/** * Copyright (c) 2001-2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * See file LICENSE for terms. */ #include "config.h" #include "ucc_info.h" #include "core/ucc_global_opts.h" #include "utils/ucc_parser.h" #include "utils/ucc_log.h" #include "utils/ucc_datastruct.h" #include "components/tl/ucc...
2.03125
2
2024-11-18T22:28:10.222822+00:00
2021-04-27T14:05:07
db7bfdffa4a5954c30c9c5ba6803948dcd71590a
{ "blob_id": "db7bfdffa4a5954c30c9c5ba6803948dcd71590a", "branch_name": "refs/heads/main", "committer_date": "2021-04-27T14:05:07", "content_id": "58c9e0728dd140e07c58da15d8d99bf8e3485c53", "detected_licenses": [ "MIT" ], "directory_id": "794b934da3c6d910dd8d03f100442a9f92d3c611", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> int main(){ float num; float *ptrNum = &num; printf("Numero: "); scanf(" %f", ptrNum); printf("--------------- ANTES ---------------\n"); printf("Conteudo: %.2f | Endereco: %u", *ptrNum, ptrNum); ptrNum++; printf("\n--------------- DEPOIS -----...
2.828125
3
2024-11-18T22:28:10.304895+00:00
2015-02-01T12:14:22
ed2cdc1f5f1064287efdb534e8240851687f3f40
{ "blob_id": "ed2cdc1f5f1064287efdb534e8240851687f3f40", "branch_name": "refs/heads/master", "committer_date": "2015-02-01T12:14:22", "content_id": "8563426a752ff947c051ac673414eec11a549d50", "detected_licenses": [ "Apache-2.0" ], "directory_id": "7a2de3d5368057f74b30f05e7b297b0fe1138f69", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> int main() { int ch; FILE *fp; char fname[50]; // to hold the file name printf("Enter the name of the file: "); scanf("%s", fname); fp = fopen(fname, "r"); // open file for reading if (fp == NULL) { // attempt failed printf("Failed to open file. Bye\n"); exit(1...
3.375
3
2024-11-18T22:28:10.588807+00:00
2023-07-24T15:23:29
27f1a41b036ee1348d034dc2d00ff5b3b96905b1
{ "blob_id": "27f1a41b036ee1348d034dc2d00ff5b3b96905b1", "branch_name": "refs/heads/devel", "committer_date": "2023-07-24T15:23:29", "content_id": "1e61d4b3b83bfc58bccd7751afb81d788de442b7", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4a1b388fc7254e7f8fa2b72df9d61999bf7df341", "extension...
stackv2
// generated from rosidl_generator_c/resource/idl__functions.h.em // with input from ue_msgs:srv/SpawnWorld.idl // generated code does not contain a copyright notice #ifndef UE_MSGS__SRV__DETAIL__SPAWN_WORLD__FUNCTIONS_H_ #define UE_MSGS__SRV__DETAIL__SPAWN_WORLD__FUNCTIONS_H_ #ifdef __cplusplus extern "C" { #endif ...
2.078125
2
2024-11-18T22:28:11.644758+00:00
2013-02-21T15:33:57
2a669630d031a20f61a01ee2b6795ea8f36cc4e0
{ "blob_id": "2a669630d031a20f61a01ee2b6795ea8f36cc4e0", "branch_name": "refs/heads/master", "committer_date": "2013-02-21T15:33:57", "content_id": "5fbcfc161c2ee688ba57cb17da767388b1d4fefb", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "d34e53d817255c9b297f0e42671b8c4f4ac8a683", "extens...
stackv2
#include "fastrak.h" #include <stdint.h> #include <time.h> #include <string.h> #include <pthread.h> #include <sys/stat.h> #include <stdio.h> #include <ach.h> int main(int argc, char **argv ) { ach_channel_t chan; ach_open( &chan, "fastrak", NULL ); fastrak_c_t fastrak; memset( &fastrak, 0, sizeof(fas...
2.390625
2
2024-11-18T22:28:12.659999+00:00
2021-06-15T20:15:21
7aa3c4b77192903541e918677f211a1b8ddf6ea7
{ "blob_id": "7aa3c4b77192903541e918677f211a1b8ddf6ea7", "branch_name": "refs/heads/master", "committer_date": "2021-06-15T20:15:21", "content_id": "87460d0beb1453b4169f023f1b1b8d2c27b7284f", "detected_licenses": [ "Unlicense" ], "directory_id": "ee758612c47d0d831feb8d44fe99456648c81c0f", "extension...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strjoin.c :+: :+: :+: ...
2.71875
3
2024-11-18T22:28:12.718772+00:00
2014-11-12T16:20:32
aeb0a9448ea0f7ff9afa00e522365b84966a02a9
{ "blob_id": "aeb0a9448ea0f7ff9afa00e522365b84966a02a9", "branch_name": "refs/heads/master", "committer_date": "2014-11-12T16:20:32", "content_id": "50a92e65a4f9fd6f23203acc9702907b6cdb15d2", "detected_licenses": [ "MIT" ], "directory_id": "0b6acea4b8dc0e6c1fbf66381186f45d205c144e", "extension": "h"...
stackv2
#ifndef MACROFUN_ZIP_REPEAT_H #define MACROFUN_ZIP_REPEAT_H #include "args.h" // ARGS_1ST, ARGS_2ND, ARGS_REST_TO_LIST #include "blank.h" // BLANK #include "consume.h" // CONSUME #include "map-lists.h" // MAP_LISTS #include "paren.h" // UNPAREN #include "separators.h" // SEP_COMMA #include "stop-...
2.1875
2
2024-11-18T22:28:12.782131+00:00
2019-03-05T09:40:24
45890d02e4bbd40b257d4924f44ad69164a9b234
{ "blob_id": "45890d02e4bbd40b257d4924f44ad69164a9b234", "branch_name": "refs/heads/master", "committer_date": "2019-03-05T09:40:24", "content_id": "e6dad122714ba8bfeccd1934433ce7bc23dd442e", "detected_licenses": [ "MIT" ], "directory_id": "7ad1b06b577c1d74f8d4ffdabd65b21ee1cca628", "extension": "h"...
stackv2
#ifndef __LB_QUEUE_H__ #define __LB_QUEUE_H__ #define TRUE 1 #define FALSE 0 typedef int Data; typedef struct _node { Data data; struct _node * next; }Node; typedef struct _lQueue { Node * front; Node * rear; } LQueue; typedef LQueue Queue_l; void QueueInit_l(Queue_l * pq); int QIsEmpty_l(Queue_l * pq); void E...
2.140625
2
2024-11-18T22:28:13.272579+00:00
2014-08-07T01:21:34
3fb31220d796040e6d6b7e62c1349ad7b3d03063
{ "blob_id": "3fb31220d796040e6d6b7e62c1349ad7b3d03063", "branch_name": "refs/heads/master", "committer_date": "2014-08-07T01:21:34", "content_id": "947f1471586dac9c1c472aba4c007f55fcffe4d7", "detected_licenses": [ "MIT" ], "directory_id": "36a4fefcec98037bd890c019cb19881b78836cb1", "extension": "c"...
stackv2
#include "_cgo_export.h" #include "git2.h" #include "git2/submodule.h" #include "git2/pack.h" typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload); int _go_git_visit_submodule(git_repository *repo, void *fct) { return git_submodule_foreach(repo, (gogit_submodule_cbk)&SubmoduleVisi...
2.109375
2
2024-11-18T22:28:13.355647+00:00
2021-07-21T19:49:35
fbaf437c5fdf7e4c8f46a58498f912c4aefd39f1
{ "blob_id": "fbaf437c5fdf7e4c8f46a58498f912c4aefd39f1", "branch_name": "refs/heads/main", "committer_date": "2021-07-21T19:49:35", "content_id": "1e8fd37dde8a826f4c6d6c8fd55541d6f075e539", "detected_licenses": [ "MIT" ], "directory_id": "c1e7cd79c235bf6eabebb81ba86b9dee5c181f52", "extension": "h", ...
stackv2
#pragma once #ifndef __PORT_BUS__ #define __PORT_BUS__ #include "../shared/int.h" static __force_inline uint8_t inportb(uint16_t portid) { uint8_t ret; __asm__ volatile("inb %1, %0" : "=a"(ret) : "Nd"(portid)); return ret; } static __force_inline uint16_t inportw(uint16_t portid) { uint16_t ret; ...
2.234375
2
2024-11-18T22:28:14.467810+00:00
2023-01-24T15:54:35
ad4b27ea1cd3c3a334bb9c33fa1f763d97d562f9
{ "blob_id": "ad4b27ea1cd3c3a334bb9c33fa1f763d97d562f9", "branch_name": "refs/heads/master", "committer_date": "2023-01-24T15:54:35", "content_id": "07e1bc461fa2c5d6571603710b952d2484422b7f", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "a5d2d345d66f1fb30131064d377615dcf7020093", "extens...
stackv2
/* * align.h -- Exported time-aligner functions and data structures. * * ********************************************** * CMU ARPA Speech Project * * Copyright (c) 1996 Carnegie Mellon University. * ALL RIGHTS RESERVED. * ********************************************** * * HISTORY * * $Log$ * * 13-Sep-9...
2.40625
2
2024-11-18T22:28:15.487205+00:00
2015-08-07T14:38:24
3fc4c6ed897a11b6b618aba1573827f88e59323a
{ "blob_id": "3fc4c6ed897a11b6b618aba1573827f88e59323a", "branch_name": "refs/heads/master", "committer_date": "2015-08-07T14:38:24", "content_id": "07d0ca0bf7639f4e4fffd8edd6cef17271da1461", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "72a2712c0e4482ccd4357f91ac442097481c384e", "extens...
stackv2
/* Glue to call parser (and thus scanner) from RML */ #include <stdio.h> #include <unistd.h> #include <errno.h> #include <stdlib.h> #include "rml.h" /* No init for this module */ void Solver_5finit(void) {} /* The glue function */ RML_BEGIN_LABEL(Solver__solve) { char variable[1024] = {'\0'}; char value[1024] ...
2.515625
3
2024-11-18T22:28:15.658658+00:00
2021-07-01T18:47:54
2217d2ccee4ac23a9b912ffb7b8591d12b954cf8
{ "blob_id": "2217d2ccee4ac23a9b912ffb7b8591d12b954cf8", "branch_name": "refs/heads/master", "committer_date": "2021-07-01T18:47:54", "content_id": "60c87dcafbab718966ff7920d628c2a1a4f4066a", "detected_licenses": [ "MIT" ], "directory_id": "d4c19ae9fc0232144a38cdb71cee5047098f5fc6", "extension": "c"...
stackv2
/******************************************************************************* * Author: * @coronapl * Program: * descending *******************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <sys/wait.h> /** * Add a tab per lev...
3.421875
3
2024-11-18T22:28:16.821134+00:00
2021-02-17T04:27:56
ad4641989e2b6f6c3c6d97c2c52b91b88ab15b91
{ "blob_id": "ad4641989e2b6f6c3c6d97c2c52b91b88ab15b91", "branch_name": "refs/heads/main", "committer_date": "2021-02-17T04:27:56", "content_id": "1fb17b0873f30a012747fdbcbf72f04abb4e73cb", "detected_licenses": [ "MIT" ], "directory_id": "a2f797eecd0d43a8f41abd27cf39a9079839c392", "extension": "h", ...
stackv2
/* * Square set definitions * Created by thearst3rd on 10/31/2020 */ #pragma once #include "chesslib/square.h" // A square set is just a 64-bit number that describes if each square on the board is "on" or "off" in the set // TODO - add conditional typedefs to let systems that don't support uint64_t to use a struc...
2.140625
2
2024-11-18T22:28:16.915645+00:00
2019-01-09T21:54:35
f28e34ae413a97fe83c310750238a01b27a1acd6
{ "blob_id": "f28e34ae413a97fe83c310750238a01b27a1acd6", "branch_name": "refs/heads/master", "committer_date": "2019-01-09T21:54:35", "content_id": "929faa2a3cee7cbea5a3756100e1b7e7b61cf696", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b107d7f73326f8725e08023c5da3e5082535ca85", "extensio...
stackv2
/* High precision, low overhead timing functions. Generic version. Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under ...
2.3125
2
2024-11-18T22:28:16.990175+00:00
2018-01-21T15:50:38
ac7870a082833404779ad89ef97a4d6c55a70e36
{ "blob_id": "ac7870a082833404779ad89ef97a4d6c55a70e36", "branch_name": "refs/heads/master", "committer_date": "2018-01-21T15:50:38", "content_id": "9df72f00d46f7c54f9d23906c78a2bf13975c6b8", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "d243f09410c19f2775d7cca6903ac59316e78c82", "extens...
stackv2
#ifndef File_DEFINED #define File_DEFINED 1 #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include "Datum.h" #include "Log.h" typedef struct { Datum *path; } File; File *File_new(void); File *File_with_(const char *path); void File_free(File *self); void File_setPathCString_(File *self, const char *p...
2.15625
2
2024-11-18T22:28:21.710182+00:00
2011-06-21T23:36:16
0b64719aa5d2290d9354e118faaf435971e3ad20
{ "blob_id": "0b64719aa5d2290d9354e118faaf435971e3ad20", "branch_name": "refs/heads/master", "committer_date": "2011-06-21T23:36:16", "content_id": "c82507c0b011d66114f84f10fbe85d38383b4f7b", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "ed03ddee5a08bbe8f9edd0ffff061a7edf4aec55", "extens...
stackv2
/* index.h declares high level operations for a simple, non-distributed search * engine index * * written nml 2003-04-14 * */ #ifndef INDEX_H #define INDEX_H #ifdef __cplusplus extern "C" { #endif /* FIXME instead of these fixed-length buffers, there should be an index_results structure that holds the indiv...
2.40625
2
2024-11-18T22:28:21.813924+00:00
2019-05-29T02:20:51
32c902ab3092916fde1acaf82b30f72b1f2988bc
{ "blob_id": "32c902ab3092916fde1acaf82b30f72b1f2988bc", "branch_name": "refs/heads/master", "committer_date": "2019-05-29T02:20:51", "content_id": "24796c05ff7ab93403cc1f022133239b264319e4", "detected_licenses": [ "MIT" ], "directory_id": "10d55132adc89766148cd4f712cdfc4de98bb871", "extension": "c"...
stackv2
// (C) 2001-2015 Force Dimension // All Rights Reserved. // // Version 3.6.0 #include <stdio.h> #include <stdlib.h> #define _USE_MATH_DEFINES #include <math.h> #include "drdc.h" #include <iostream> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <netinet/in.h> ...
2.171875
2
2024-11-18T22:28:22.076351+00:00
2020-04-15T08:16:28
0644cdb9cf46ee186de9bc128665d06d5c46747b
{ "blob_id": "0644cdb9cf46ee186de9bc128665d06d5c46747b", "branch_name": "refs/heads/master", "committer_date": "2020-04-15T08:16:28", "content_id": "c5696e960fc1c6e50486778a1bd9adee8a597388", "detected_licenses": [ "MIT" ], "directory_id": "81587f244bff1f77d84935451f77bd23bcae00da", "extension": "c"...
stackv2
/*------------------------------------------------------------------------- * * block.c * Methods to allocate and free oram blocks. * * * Copyright (c) 2018-2019, HASLab * * IDENTIFICATION * backend/block/block.c * *------------------------------------------------------------------------- */ #i...
2.75
3
2024-11-18T22:28:22.153797+00:00
2021-02-01T15:43:12
d178b9987b64d4220acf84044d2ad25c9458eef1
{ "blob_id": "d178b9987b64d4220acf84044d2ad25c9458eef1", "branch_name": "refs/heads/master", "committer_date": "2021-02-01T15:43:12", "content_id": "6c2839e2f8eb6dfa4187277d0b90e29d680d9e68", "detected_licenses": [ "Apache-2.0" ], "directory_id": "fd6ff690a9d2f1cf1eb8b92a96cead753369c109", "extensio...
stackv2
// Copyright 2019 The Dragonfly 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...
2.28125
2
2024-11-18T22:28:22.266794+00:00
2015-11-11T17:05:17
6e476b184ec77cfb8277b31896ac3b8d935e9695
{ "blob_id": "6e476b184ec77cfb8277b31896ac3b8d935e9695", "branch_name": "refs/heads/master", "committer_date": "2015-11-11T17:05:17", "content_id": "db4f7ed2fb6055ea63ef2509be4effbd2be9aff8", "detected_licenses": [ "MIT" ], "directory_id": "b30ec62a4df3666c7de9344f643b00bc8d3e4842", "extension": "c"...
stackv2
/* * chase * A chase game. User runs from menacing asterisk. * * Bryan Clair 2002-2015 */ #include <iostream> #include <pthread.h> #include <curses.h> #include <unistd.h> using namespace std; // Globals hold players current position int x_player, y_player; // Forward declarations void *player(void *); void...
3.234375
3
2024-11-18T22:28:22.453977+00:00
2021-06-28T15:00:45
1ac7d7f8cb736884221ce62fb459a8b96e83353c
{ "blob_id": "1ac7d7f8cb736884221ce62fb459a8b96e83353c", "branch_name": "refs/heads/master", "committer_date": "2021-06-28T15:00:45", "content_id": "4a4189a7991b43fe5be31460d891733468b2b1e8", "detected_licenses": [ "MIT" ], "directory_id": "b65668cbe0fe31eada0cc79156e8281e8d254969", "extension": "c"...
stackv2
#include <stdio.h> #include <GL/glut.h> double xmin=50,ymin=50, xmax=100,ymax=100; // Window boundaries double xvmin=200,yvmin=200,xvmax=300,yvmax=300; // Viewport boundaries int cliptest(double p, double q, double *t1, double *t2) { double t=q/p; if(p < 0.0) // potentially enry point, update te { if( t > *t...
2.65625
3
2024-11-18T22:28:22.890121+00:00
2020-10-15T09:54:58
c5fa044a35c109112eade62a01a48554bf33d706
{ "blob_id": "c5fa044a35c109112eade62a01a48554bf33d706", "branch_name": "refs/heads/master", "committer_date": "2020-10-15T09:54:58", "content_id": "155a253f3f34be29e911e9c8224bfc261df0dc42", "detected_licenses": [ "MIT" ], "directory_id": "8b4c7e6ac17df1b13642b2a5a0e2744b484c579b", "extension": "h"...
stackv2
/***************************************************************************** * HMacro.h ***************************************************************************** * * Project: HALCON/libhalcon * Description: Definition of macros * * (c) 1996-2014 by MVTec Software GmbH * www.mvtec.com ...
2.078125
2
2024-11-18T22:28:22.993925+00:00
2023-07-02T04:48:29
f72e260116060adabc49816909a490e07b97315b
{ "blob_id": "f72e260116060adabc49816909a490e07b97315b", "branch_name": "refs/heads/master", "committer_date": "2023-07-02T04:48:29", "content_id": "3c99772ee32a5ac0bbbd727578b49e476d19fe8a", "detected_licenses": [ "MIT" ], "directory_id": "bbed308c9ee9b2123b691592419db011a35b9e5e", "extension": "c"...
stackv2
#include "gpos-common.h" static void deleteMarkArrayItem(otl_MarkRecord *entry) { Handle.dispose(&entry->glyph); } static caryll_ElementInterface(otl_MarkRecord) gss_typeinfo = { .init = NULL, .copy = NULL, .dispose = deleteMarkArrayItem}; caryll_standardVectorImpl(otl_MarkArray, otl_MarkRecord, gss_typeinfo, ot...
2.015625
2
2024-11-18T22:28:23.229952+00:00
2022-08-28T17:02:52
005c42f8ac6da82bf7892c14a71c9a3ea8bf7406
{ "blob_id": "005c42f8ac6da82bf7892c14a71c9a3ea8bf7406", "branch_name": "refs/heads/master", "committer_date": "2022-08-28T17:02:52", "content_id": "8cfd6bf92aacff2391f7a1090b78c3f9c0c6a66d", "detected_licenses": [ "MIT", "Unlicense" ], "directory_id": "58cb1fdf75bee8475a65a7b1da3893b258d4fdab", ...
stackv2
#include <stddef.h> #include "qc/args.h" #include "qc/error.h" #include "qc/tests.h" int main(void) { qc_err* err = qc_err_new(); qc_args* args = qc_args_new(); size_t x, xx, y, z, w; qc_args_unsigned(args, "dim-x", &x, NULL); qc_args_unsigned(args, "dim-xx", &xx, NULL); qc_args_unsigned(args, ...
2.671875
3
2024-11-18T22:28:24.164896+00:00
2017-11-30T08:41:08
f7a5b3ff66647a7a4e405b58c09e2b6f46150c07
{ "blob_id": "f7a5b3ff66647a7a4e405b58c09e2b6f46150c07", "branch_name": "refs/heads/master", "committer_date": "2017-11-30T08:41:08", "content_id": "93eec183f7221004da799b830b8f257889245150", "detected_licenses": [ "Apache-2.0" ], "directory_id": "19121bb0ab1e539ed807c92a8b474c4c1d21feac", "extensio...
stackv2
#include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "freertos/semphr.h" #include "freertos/timers.h" #include "freertos/portmacro.h" #include "esp_log.h" #include "string.h" #include "esp_system.h" #include "esp_err.h" #include "nvs.h" #include "nvs_flash.h" #include "platfo...
2.359375
2
2024-11-18T22:28:24.257974+00:00
2022-11-10T05:43:44
f4cca5bf9d23bc1c42dcee0a0a2c63b1b09900b1
{ "blob_id": "f4cca5bf9d23bc1c42dcee0a0a2c63b1b09900b1", "branch_name": "refs/heads/master", "committer_date": "2022-11-11T04:37:49", "content_id": "7e50324deb96dd849be75fe7cea35672256b0c2c", "detected_licenses": [ "MIT" ], "directory_id": "69e0bbc2b78c528ff0d1476d7b963700771a7bab", "extension": "c"...
stackv2
#include <string.h> #include <stdbool.h> #include <limits.h> #include <math.h> int myAtoi(char* str) { long num = 0; int sign = 1,numcount = 0; // Check each character and calculate for(int i=0,signcount = 0,length = strlen(str), numhit = false,signhit = false;i<length && signcount < 2;i++) if(str[i] >...
3.203125
3
2024-11-18T22:28:24.436346+00:00
2021-02-15T20:42:06
043376a169667094a12b8fb3d6b09cfbbbbe89c6
{ "blob_id": "043376a169667094a12b8fb3d6b09cfbbbbe89c6", "branch_name": "refs/heads/master", "committer_date": "2021-02-15T20:42:06", "content_id": "363df47583ce4e7a1b28bee39bc020177e102a4d", "detected_licenses": [ "MIT" ], "directory_id": "ba3d627da9d5add2a36137aded35e278d251c08e", "extension": "c"...
stackv2
#include <msp430.h> #include <time.h> // Definicion de funciones : void delayMS(int msecs); void retardo(int milisegundos); unsigned int OFCount; /** * main.c */ int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer P1DIR |= BIT0 | BIT1 | BIT2 | BIT4; // Configure P1.0, 1, 2, 4 as o...
2.890625
3
2024-11-18T22:28:24.921549+00:00
2019-01-16T17:28:26
b03d0f60f1dbe410ce2859756a6d3deda35f2e49
{ "blob_id": "b03d0f60f1dbe410ce2859756a6d3deda35f2e49", "branch_name": "refs/heads/master", "committer_date": "2019-01-16T17:28:26", "content_id": "8efc80f742056e1381cf0be419c1542031136a78", "detected_licenses": [ "ISC" ], "directory_id": "188f2cb71a42cf155114898e65c04a544581081a", "extension": "c"...
stackv2
/* * %ISC_START_LICENSE% * --------------------------------------------------------------------- * Copyright 2006-2018, Pittsburgh Supercomputing Center * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that ...
2.109375
2
2024-11-18T22:28:24.985542+00:00
2015-07-23T01:22:24
9f9325e1882511168f9e79e7b0c38d966089fd24
{ "blob_id": "9f9325e1882511168f9e79e7b0c38d966089fd24", "branch_name": "refs/heads/master", "committer_date": "2015-07-23T01:22:24", "content_id": "cfb1135121f47e53fde50dafe59f032a1aa83e59", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "f0d0a9f275496583442e41f7140bd3350f445ee1", "extens...
stackv2
/* labels.h * Manage the labelling system. These are used to provide the necessary * interlinking of branches and subroutine calls. * * Copyright (c) 1996 T. J. Wilkinson & Associates, London, UK. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER O...
2.1875
2
2024-11-18T22:28:25.665535+00:00
2018-10-03T15:12:58
9b81ad9c1a088de3ec0169502b7c1bc2b6f47aa4
{ "blob_id": "9b81ad9c1a088de3ec0169502b7c1bc2b6f47aa4", "branch_name": "refs/heads/master", "committer_date": "2018-10-03T15:12:58", "content_id": "a0d0ae008a4de1f62f4b06e04400db612bf0a572", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "c2a861dff7aa0a218fa438620bfd7e1427a56e19", "extens...
stackv2
#ifndef _CATERNEL_X86_ASM_H_ #define _CATERNEL_X86_ASM_H_ #include <arch/x86/processor.h> static void inline arch_spinlock_lock(uint32_t *lock) { register reg; /** TODO * 1- Disable scheduling * 2- make atomic lock as in doc */ asm volatile("1:\npause\n" ...
2.125
2
2024-11-18T22:28:26.282210+00:00
2019-08-06T04:44:45
9bbb4f012db0844f0ab2cb00b40a8ea7a1cb5e18
{ "blob_id": "9bbb4f012db0844f0ab2cb00b40a8ea7a1cb5e18", "branch_name": "refs/heads/master", "committer_date": "2019-08-06T04:44:45", "content_id": "983f36eeb0c6028dfc3dad2bd64bed39c8ebd4d7", "detected_licenses": [ "MIT" ], "directory_id": "b68286b0228eb3e9d0fe3b89fb351f5d74314e62", "extension": "c"...
stackv2
#include <stdio.h> int main() { int letras, repeat, acertou = 0; scanf("%d", &letras); char certo[letras + 10], candidato[letras + 10]; scanf("%s%s", certo, candidato); //printf("%s ~ %s \n", certo, candidato); for (repeat = 0; repeat < letras; repeat ++) { if (candidato[repeat] == certo[repeat]) {...
2.953125
3
2024-11-18T22:28:26.435271+00:00
2015-09-10T12:21:47
bc160f9945b1e5ec5757f358559497099e0675be
{ "blob_id": "bc160f9945b1e5ec5757f358559497099e0675be", "branch_name": "refs/heads/master", "committer_date": "2015-09-10T12:21:47", "content_id": "cb39b879777edd80872f6facb51adb1bbbd597f2", "detected_licenses": [ "MIT" ], "directory_id": "520bf7676a04d8a2d379bb11292c864a631dd59d", "extension": "c"...
stackv2
#include <ic_stdc.h> void * __cdecl _ic_lsearch_s (const void *key, void *b, unsigned int *pn, size_t sz, int (__cdecl *fcmp)(void *, const void *, const void *), void *ctx) { unsigned int p; if (!key || !pn || !b || !sz || !fcmp) { ic_errno = IC_EINVAL; IC_INV_PARAM("Invalid arguments"); ...
2.21875
2
2024-11-18T22:28:27.050184+00:00
2023-06-07T10:33:45
e474ce7b8e92b9366234321afbf14ed2fb351bf0
{ "blob_id": "e474ce7b8e92b9366234321afbf14ed2fb351bf0", "branch_name": "refs/heads/master", "committer_date": "2023-06-07T10:33:45", "content_id": "2356915e333e779e474c9263ef48e387e7e40aa1", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "079c89592623761bca570711de440179e2b1f5a0", "extens...
stackv2
#ifndef RUUVI_NRF5_SDK15_GPIO_H #define RUUVI_NRF5_SDK15_GPIO_H #include "ruuvi_interface_gpio.h" /** * @addtogroup GPIO * @{ */ /** * @file ruuvi_nrf5_sdk15_gpio.h * @author Otso Jousimaa <otso@ojousima.net> * @date 2019-04-27 * @copyright Ruuvi Innovations Ltd, license BSD-3-Clause. * * Implementations for basic G...
2.21875
2
2024-11-18T22:28:27.674830+00:00
2019-12-17T01:51:23
506940f83726b0099232bae241bd5450cfb05b80
{ "blob_id": "506940f83726b0099232bae241bd5450cfb05b80", "branch_name": "refs/heads/master", "committer_date": "2019-12-17T01:51:23", "content_id": "8ecfc7c74cb84979118f6655bf3d2580ba04c661", "detected_licenses": [ "MIT" ], "directory_id": "a3b47358b52195b5b19293dfd93d1ebc1eefc79d", "extension": "c"...
stackv2
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. */ #include "mt3620-baremetal.h" #include "mt3620-timer-poll.h" static const uintptr_t GPT_BASE = 0x21030000; static const uint32_t GPT3_EN = 0x00000001; static const size_t GPT3_CNT = 0x58; inline uint32_t Gpt3_CurrentTi...
2.4375
2
2024-11-18T22:28:27.811429+00:00
2023-07-30T13:34:19
acef3824b2dde9266f6cc87ce1b4a1f3979ea728
{ "blob_id": "acef3824b2dde9266f6cc87ce1b4a1f3979ea728", "branch_name": "refs/heads/master", "committer_date": "2023-07-30T13:34:19", "content_id": "832ab79908bbda45d0b89dd15c3eb9c667ca1589", "detected_licenses": [ "MIT" ], "directory_id": "8447eb38a4fc71b32b6b82a99f7828a2c50621aa", "extension": "h"...
stackv2
/*! \file spu_event.h \brief SPU runtime library. These are the SPU library calls for SPU events. \see \ref spu_man */ #ifndef __SPU_EVENT_H__ #define __SPU_EVENT_H__ #include <stdint.h> #include <sys/cdefs.h> #define EVENT_DATA0_MASK 0x00FFFFFF #define EVENT_PORT_SHIFT 24 #define EVENT_PORT_MAX_NUM 63 #d...
2.625
3
2024-11-18T22:28:28.493879+00:00
2018-05-04T22:36:48
a1d80f3b41c200e8f5e827ab7176990d8c4d76f9
{ "blob_id": "a1d80f3b41c200e8f5e827ab7176990d8c4d76f9", "branch_name": "refs/heads/master", "committer_date": "2018-05-04T22:36:48", "content_id": "dcbac084cb55616d63b6fdf41f762b3aeb258e48", "detected_licenses": [ "MIT" ], "directory_id": "a3c094c3baa3d9352f8fca458af2d525984dc308", "extension": "c"...
stackv2
#include "plumber.h" int sporth_streson(sporth_stack *stack, void *ud) { plumber_data *pd = ud; SPFLOAT input; SPFLOAT output; SPFLOAT freq; SPFLOAT fdbgain; sp_streson *streson; switch(pd->mode) { case PLUMBER_CREATE: #ifdef DEBUG_MODE fprintf(stderr, "streson: Creati...
2.375
2
2024-11-18T22:28:28.603001+00:00
2019-03-01T06:15:38
548dc98b6c13b8d6c22d6d47aef947dcffbbea97
{ "blob_id": "548dc98b6c13b8d6c22d6d47aef947dcffbbea97", "branch_name": "refs/heads/master", "committer_date": "2019-03-01T06:15:38", "content_id": "b314b1ddae424e6f4ec4646ae81ce50bcca2cf90", "detected_licenses": [ "Apache-2.0" ], "directory_id": "373dd7ec7af41483b072218df092bad451a4eee8", "extensio...
stackv2
#include <stdio.h> #include <stdlib.h> #include "../hashset/myEqual.h" #include "../hashset/myHashCode.h" #include "myHashMap.h" #define S 10 char* strs[S]= { "abc", "qq", "hello", "abc", "lmy", "ab", "qq", "lqw", "sww", "lqw" }; void testSuccess(int ind) { if(ind){ ...
3.078125
3
2024-11-18T22:28:28.871475+00:00
2020-10-08T15:51:12
74ea2ec3a2b00752bcb19c5cdd0b5e3ed028bd4e
{ "blob_id": "74ea2ec3a2b00752bcb19c5cdd0b5e3ed028bd4e", "branch_name": "refs/heads/master", "committer_date": "2020-10-08T15:51:12", "content_id": "c42254060bdf12ed6f938d561a7576c6c970e4cc", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e7283dcd84e4bdd3ce47b2f6a919f4452f7279ec", "extensio...
stackv2
#ifndef _FIFO_H_ #define _FIFO_H_ #include <stdint.h> #define FIFO_FILL_LEVEL_MSK (0xFFFF) #define FIFO_FILL_LEVEL_OFST (0) #ifndef _PACKED_ #define _PACKED_ __attribute__ ((packed,aligned(1))) #endif typedef struct { uint32_t fill_level; uint32_t fill_level_pad; uint32_t almost_full_treshold; uint32_t...
2.390625
2
2024-11-18T22:28:28.935368+00:00
2020-08-09T02:00:13
86ad4e8105b718ec82bf08bd965085e6b1bb1c4c
{ "blob_id": "86ad4e8105b718ec82bf08bd965085e6b1bb1c4c", "branch_name": "refs/heads/master", "committer_date": "2020-08-09T02:00:13", "content_id": "8906b733c858dd20b67dbe84fece3e87a620cd20", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b3c337b19f8b3d5b433148249025b16883de548c", "extensio...
stackv2
#include <stdio.h> #include <string.h> #include <math.h> /* Module parameters */ double _offsetNorth; double _offsetEast; double _offsetHeight; double _opticalOffset; double _domeRadius; /* offsetNorth: The North-South distance from E-W centerline of dome to the E-W centerline of the mount's RA-Dec axis ...
2.578125
3
2024-11-18T22:28:29.160553+00:00
2021-06-26T01:32:33
107997e22fd8360533620a980145f6414fcc1418
{ "blob_id": "107997e22fd8360533620a980145f6414fcc1418", "branch_name": "refs/heads/master", "committer_date": "2021-06-26T01:32:33", "content_id": "ab5ed872f805b17f7f68dd257022fa9052a45b06", "detected_licenses": [ "MIT" ], "directory_id": "c7ae7b3cbdef814acca4d7db525e6673f5383a47", "extension": "h"...
stackv2
// Copyright (c) 2017 Himanshu Goel // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #ifndef CARDINAL_SYSDEBUG_H #define CARDINAL_SYSDEBUG_H #include <stdint.h> typedef int (*DebugFunc) (); typedef struct { char func_name[240]; DebugFunc func; } DebugHandler_t; ...
2.015625
2
2024-11-18T22:28:29.882175+00:00
2016-09-14T04:25:23
552f34ae1baedff3432f4ccd3f82c97d78318054
{ "blob_id": "552f34ae1baedff3432f4ccd3f82c97d78318054", "branch_name": "refs/heads/master", "committer_date": "2016-09-14T04:25:23", "content_id": "22d7c0d59b465d0ea2c2f6b69fc66867bcf3a0eb", "detected_licenses": [ "MIT" ], "directory_id": "8fd84a64915c6ed55f892e1605adb24927258a0c", "extension": "c"...
stackv2
#include "romanmath.h" #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { int mainResult = 0; if (argc != 4) { mainResult = 1; } else { char* result = 0; if (strcmp(argv[2], "+") == 0 ) { result = romanSum(argv[1], argv[3]); } else if (strcmp(argv[2], ...
2.90625
3
2024-11-18T22:28:29.931385+00:00
2018-03-30T05:14:23
62b5c1ada50c134f6bead596c5cede2b50fd80e9
{ "blob_id": "62b5c1ada50c134f6bead596c5cede2b50fd80e9", "branch_name": "refs/heads/master", "committer_date": "2018-03-30T05:14:23", "content_id": "532ccac2940722504228153fe1c1ec08318831ae", "detected_licenses": [ "MIT" ], "directory_id": "389f874140053752b173e5b51faaf59a64fb02cf", "extension": "c"...
stackv2
///An algorithm to produce a string of instructions, in standard notation, ///to solve a rubix cube. ///Author: Sam Yager -sly4758@rit.edu #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include "rubix.h" //These colors exist for printing the cube in color in the terminal #define ANSI_COLOR_RED "\x1b[91...
2.9375
3
2024-11-18T22:28:30.630904+00:00
2015-03-18T19:24:16
2c67a3e367a232407db4083b216213a06343e45e
{ "blob_id": "2c67a3e367a232407db4083b216213a06343e45e", "branch_name": "refs/heads/master", "committer_date": "2015-03-18T19:24:16", "content_id": "f5dbf8b0d3a4476b5aa2939eeeb7819e2a4cc0b9", "detected_licenses": [ "CC0-1.0" ], "directory_id": "1f65c019c8abf6ec6ed8956f6c1ba3b2137ce00e", "extension":...
stackv2
/* * Written in 2013 by Gregor Pintar <grpintar@gmail.com> * * To the extent possible under law, the author(s) have dedicated * all copyright and related and neighboring rights to this software * to the public domain worldwide. * * This software is distributed without any warranty. * * You should have receive...
2.296875
2
2024-11-18T22:28:30.907110+00:00
2020-10-30T17:43:59
30a49a3cfa21a084b6879e5756ebb05c1f427dd4
{ "blob_id": "30a49a3cfa21a084b6879e5756ebb05c1f427dd4", "branch_name": "refs/heads/master", "committer_date": "2020-10-30T17:43:59", "content_id": "012af876ecd77cd0390fbb0ef1ea58e6f3507f5e", "detected_licenses": [ "CC0-1.0", "MIT" ], "directory_id": "a8008546990743ed68f8f5ac073347bf7f40c6da", "...
stackv2
#include "header.h" void createmap(SDL_Surface* screen,char comp[20][12]) //plots the map from database { int i,j,k; char ch; FILE *fp; if ((fp=fopen("temp.lvl","r"))==NULL) return; SDL_Rect left_top,right_top,left_bottom,right_bottom,horizontal,vertical; SDL_Rect plotter; //stores cursor ...
2.328125
2
2024-11-18T22:28:31.250583+00:00
2022-02-18T02:38:28
77dca3f8925018b51429bf59a7d137e063492d02
{ "blob_id": "77dca3f8925018b51429bf59a7d137e063492d02", "branch_name": "refs/heads/master", "committer_date": "2022-02-18T02:38:28", "content_id": "e1f63ad57616492d7d955f31df8da8e23d77cd0f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ece93d5aa02aaa405c1f1be552c61914a84c7703", "extensio...
stackv2
#include "tsar.h" #define UDP_DETAIL_HDR(d) \ " idgm"d" odgm"d"noport"d"idmerr" char *udp_usage = " --udp UDP traffic (v4)"; /* Structure for UDP statistics */ struct stats_udp { unsigned long long InDatagrams; unsigned long long OutDatagrams; unsigned long long NoPor...
2.046875
2
2024-11-18T22:28:31.325805+00:00
2013-04-06T07:34:42
bc3b88be5e9b673fe38ca374b58810856952010f
{ "blob_id": "bc3b88be5e9b673fe38ca374b58810856952010f", "branch_name": "refs/heads/master", "committer_date": "2013-04-06T07:34:42", "content_id": "0c2c56347b2b6deb10d5de5ba83fbc07bec2d193", "detected_licenses": [ "MIT" ], "directory_id": "f0b5c548dab8f36b9d332fa8601f888595be745b", "extension": "h"...
stackv2
#ifndef _HEAP_ #define _HEAP_ #include <stdlib.h> // for size_t #ifdef __cplusplus #define HEAP_API extern "C" #else #define HEAP_API #endif typedef struct Heap Heap; typedef enum Heap_Aligment Heap_Aligment; enum Heap_Aligment { HeapAligment_1Byte = 0, HeapAligment_2Byte, HeapAligment_4Byte, HeapAligment_8B...
2.1875
2
2024-11-18T22:28:31.404282+00:00
2023-06-23T10:11:23
39333e68729c4e51bd56d087c8cb52755b41fcc8
{ "blob_id": "39333e68729c4e51bd56d087c8cb52755b41fcc8", "branch_name": "refs/heads/main", "committer_date": "2023-06-23T10:11:23", "content_id": "4cf220bdf96b112f0dbf5a84450fc8da624e0535", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "803898f95f34521f4fc08ff42534888367ff4028", "extensio...
stackv2
#include "geminc.h" #include "gemprm.h" /*********************************************************************** incpccftxt.c This module parses the text layout string specified in the setting.tbl and the uattribd.tbl. The text layout string consists of a list of 3-4 letter mnemonic parameters delimited by eit...
2.328125
2
2024-11-18T22:28:32.058636+00:00
2019-02-17T01:55:35
8862e5f2c7bf727f6f8387eae3b0cb144c8a13b4
{ "blob_id": "8862e5f2c7bf727f6f8387eae3b0cb144c8a13b4", "branch_name": "refs/heads/master", "committer_date": "2019-02-17T01:55:35", "content_id": "1d13f9b9204d19211c734654f35446caa5cb5362", "detected_licenses": [ "MIT" ], "directory_id": "4e927b82fa163c6197fce9ae7ca53feb8830e6d7", "extension": "c"...
stackv2
/* This is a managed file. Do not delete this comment. */ #include <include/test.h> void test_MountId_tc_id( test_MountId this) { test_IdMount m = test_IdMount__create(NULL, NULL, root_o, NULL); /* Create object & request id from mount */ corto_object o = corto_declare(root_o, NULL, corto_void_o); ...
2.4375
2
2024-11-18T22:28:32.334297+00:00
2021-02-06T03:39:21
45eee81e0433104edf234679185c753728035bd5
{ "blob_id": "45eee81e0433104edf234679185c753728035bd5", "branch_name": "refs/heads/master", "committer_date": "2021-02-06T03:39:21", "content_id": "0472875c8867b68e9585da01bb9efe63c8377a12", "detected_licenses": [ "MIT" ], "directory_id": "3fc6e087fb256b8a744ebeab942ee0447b4c248e", "extension": "c"...
stackv2
/** * @file spi.c * @author Andrew Loebs * @brief Implementation file of the spi module * */ #include "spi.h" #include "../st/ll/stm32l4xx_ll_bus.h" #include "../st/ll/stm32l4xx_ll_gpio.h" #include "../st/ll/stm32l4xx_ll_spi.h" #include "sys_time.h" // defines #define SPI_INSTANCE SPI1 #define MOSI_PORT GP...
2.46875
2
2024-11-18T22:28:32.402666+00:00
2019-11-15T15:46:49
cbe5df2ba5c38b7d020c6e4b04d2dd2a4d34e035
{ "blob_id": "cbe5df2ba5c38b7d020c6e4b04d2dd2a4d34e035", "branch_name": "refs/heads/master", "committer_date": "2019-11-15T15:46:49", "content_id": "7196282c5dda02fa9ad8a9de2538e309f6f14a44", "detected_licenses": [ "MIT" ], "directory_id": "f7ede10ec5f329270d958e7d3539c5f4146cd383", "extension": "h"...
stackv2
#ifndef GAME_H #define GAME_H #include "SDL2/SDL.h" #include "SDL2/SDL_ttf.h" #include "Linked.h" #include <stdlib.h> #include <string.h> #define SNAKE_WIDTH 20 #define SNAKE_HEIGHT 20 #define moveUp 1 #define moveDown 2 #define moveLeft 3 #define moveRight 4 #define moveEveryStep 2 #define SPF (1000 / 60) #ifnd...
2
2
2024-11-18T22:28:36.139426+00:00
2019-01-11T10:19:01
642a9b3a6150114d05f334a33f6518defc8761af
{ "blob_id": "642a9b3a6150114d05f334a33f6518defc8761af", "branch_name": "refs/heads/master", "committer_date": "2019-01-11T10:19:01", "content_id": "2597df4e9558463672986678c8c02df554783993", "detected_licenses": [ "MIT" ], "directory_id": "4c11de20e0821633672d14ef72f34bddd992ce8c", "extension": "c"...
stackv2
#include "test.h" #include "ll.h" #include "core.h" #include "eval.h" void test_nmin() { prepare_stack(); assert(equal(nmin(c_eval("4"), c_eval("3")), c_eval("3"))); assert(equal(nmin(c_eval("-100"), c_eval("3")), c_eval("-100"))); return_from_stack(nil); } void test_nmax() { prepare_stack(); ...
2.203125
2
2024-11-18T22:28:36.501716+00:00
2017-07-30T19:02:54
6aa020e8b62077376cd5f791720af772bd4fe3d0
{ "blob_id": "6aa020e8b62077376cd5f791720af772bd4fe3d0", "branch_name": "refs/heads/master", "committer_date": "2017-07-30T19:02:54", "content_id": "2bf94105344c5c82bfc65fb9e07cbc3f43563ed8", "detected_licenses": [ "MIT" ], "directory_id": "06f42f5063ac961f4151f1eae931c75da52d7862", "extension": "c"...
stackv2
// // Created by dylan on 21/04/2017. // #include "ClientAPI.h" #include "../../utility/Serialize.h" #include "../../utility/General.h" #include "../SnakesGame.h" #include <unistd.h> #include <memory.h> int readDelimiterSnakes(int socketFd) { int response; unsigned char buffer[DELIMITERS_SIZE]; bzero(buff...
2.21875
2
2024-11-18T22:28:36.890589+00:00
2022-07-10T18:13:28
38a0f9b4d6743e102578eb971dac2aefb8183540
{ "blob_id": "38a0f9b4d6743e102578eb971dac2aefb8183540", "branch_name": "refs/heads/master", "committer_date": "2022-07-10T18:13:28", "content_id": "e77451a71fa61f67f81346353f9ef9b312bca4c9", "detected_licenses": [ "MIT" ], "directory_id": "f9f22a992fab07b4f9262794f84b8f9c1b259a02", "extension": "c"...
stackv2
#include "ast.h" #include "lex-source.h" #include "build.h" #include "joqe.tab.h" #include "lex.h" #include <assert.h> #include <stdio.h> #include <string.h> static int err = 0; int joqe_yyerror(struct joqe_build *build, const char *msg) { fprintf(stderr, "%s\n", msg); err = 1; return 0; } int main(void) { J...
2.203125
2
2024-11-18T22:28:38.577620+00:00
2019-04-25T01:41:31
906e13f7b70a55e922135d8befddfb90a7749945
{ "blob_id": "906e13f7b70a55e922135d8befddfb90a7749945", "branch_name": "refs/heads/master", "committer_date": "2019-04-25T01:41:31", "content_id": "310f9facd68de74d26dd1460cede51d4aa27a935", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "7adbf19e0f4e8fdf65951f42a23fed0a22d7e5be", "extens...
stackv2
#ifndef IMAGE_HANDLER_H_ #define IMAGE_HANDLER_H_ #ifdef __cplusplus extern "C" { #endif #include <opencv/cv.h> #include <opencv/highgui.h> #include "dictionary_learning.h" #include "../aom/aom_image.h" #define HISTOGRAM_BIN 256 #define ALPHA_THRES 5.5 #define BLOCK_COMPARE 128 typedef struct image_t { unsigned c...
2.3125
2
2024-11-18T22:28:38.897683+00:00
2022-08-04T22:47:26
0aac1e1e44f203f1e2b813967ff77d8ebb6f96a9
{ "blob_id": "0aac1e1e44f203f1e2b813967ff77d8ebb6f96a9", "branch_name": "refs/heads/master", "committer_date": "2022-08-04T22:47:26", "content_id": "4fafc6174e9cdeee32c48e47db28f6e48fa2cc63", "detected_licenses": [ "BSL-1.0", "BSD-3-Clause" ], "directory_id": "f753c6173870b72768fe106715b5cbe8496b9...
stackv2
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file */ #include "test_wrapper/wrap_thread.h" #include <sys/mman.h> #include <pthread.h> bool wrap_pthread_create_is_active = false; int wrap_pthread_create_result_value = 0; extern int __real_pth...
2.265625
2
2024-11-18T22:28:38.956342+00:00
2020-12-19T12:38:20
bf215ced908be9688a6fa03c20b13c39abaf50d9
{ "blob_id": "bf215ced908be9688a6fa03c20b13c39abaf50d9", "branch_name": "refs/heads/master", "committer_date": "2020-12-19T12:38:27", "content_id": "8f28817677731607458e2b3e2f7fa3cfa614c8dd", "detected_licenses": [ "Unlicense" ], "directory_id": "44e85e7b2c45b9bdbf8df22ed5c4a61bf49f131d", "extension...
stackv2
#include <string.h> #include <stdbool.h> #include <stm32f411xe.h> #include "spi.h" #include "interrupts.h" #include "device.h" #include "debug.h" #include "dma.h" static void SPIDmaDidSent(void* data); static void SpiBufferEmpty(void* data); static bool SpiTransmitBufferEmpty(SPIt* spi) { return (spi->hardwareSPI...
2.359375
2
2024-11-18T22:28:39.407887+00:00
2020-10-27T16:34:03
39255e68b251aa7b436095eb7de1aa424db534c2
{ "blob_id": "39255e68b251aa7b436095eb7de1aa424db534c2", "branch_name": "refs/heads/main", "committer_date": "2020-10-27T16:34:03", "content_id": "c1debf601ad9f1a97b189098dd0c4f3a90817934", "detected_licenses": [ "MIT" ], "directory_id": "949be964f9f59f10cf6f5db0e1432dfb53f039b5", "extension": "c", ...
stackv2
/**************************************************************** Author: Chenghao WANG Contact: chenghao.wang@hds.utc.fr Institute: Heudiasyc, université de technologie de compiègne Date: 12/10/2020 *****************************************************************/ #include "../include/TP3.h" /** * @brief Ajout d’un...
2.4375
2
2024-11-18T22:28:39.679100+00:00
2017-06-03T12:26:04
9962358dded1f1060e19873abcfbf4ecf16546cd
{ "blob_id": "9962358dded1f1060e19873abcfbf4ecf16546cd", "branch_name": "refs/heads/master", "committer_date": "2017-06-03T12:26:04", "content_id": "b3e36f5919ca3faead4c33b26aa3db520072c1a4", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3839a59d66f65daaaf9f8f12ed1952223ecc116c", "extensio...
stackv2
/* * Copyright (c) 2016 Intel Corporation * * 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 ...
2
2
2024-11-18T22:28:39.761835+00:00
2016-10-10T23:38:11
69a56dd80df13c2fdc1ae6f64bd7b4c96432b1ba
{ "blob_id": "69a56dd80df13c2fdc1ae6f64bd7b4c96432b1ba", "branch_name": "refs/heads/master", "committer_date": "2016-10-10T23:38:11", "content_id": "0cb4cb2d9e2cbe6643a53769f0a83e994f55c64a", "detected_licenses": [ "MIT" ], "directory_id": "8808aa4b2feaa1033941d3ecf669ae46d14c8a43", "extension": "c"...
stackv2
#include <newt/list.h> #include <newt/frame.h> #include <newt/common.h> #include <newt/config.h> #include <newt/persistent_worker.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <dirent.h> #include <errno.h> #define FNAME_DATA "...
2.390625
2
2024-11-18T22:28:39.868782+00:00
2023-06-11T16:09:06
536132028307e36b386d965a438faf5e24c2c78d
{ "blob_id": "536132028307e36b386d965a438faf5e24c2c78d", "branch_name": "refs/heads/master", "committer_date": "2023-06-11T16:09:06", "content_id": "b2e48a1b8ecc3106bfda07402a98a6ac527db103", "detected_licenses": [ "MIT" ], "directory_id": "5c2e9220307a9d2fa053792043e1252726773cc3", "extension": "c"...
stackv2
/* * Copyright 2015 Joel Freeman and other contributors * Released under the MIT license http://opensource.org/licenses/MIT * see LICENSE included with package */ #include <memory.h> #include <string.h> #include "parse.h" /** * Helper function for initializing a byte_range_t object * * @param byte_range The by...
2.078125
2
2024-11-18T22:28:40.061277+00:00
2017-08-30T01:48:39
8c265d6ed1d7e07f449b10768c2ea2b556943e4b
{ "blob_id": "8c265d6ed1d7e07f449b10768c2ea2b556943e4b", "branch_name": "refs/heads/master", "committer_date": "2017-08-30T01:49:30", "content_id": "40fb208ec757dc87c94f19c76e2708bb98ec8be3", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "23d01d942c97a31e46529c4371e98aa0c757ecd1", "extens...
stackv2
/* * This file is subject to the license agreement located in the file LICENSE * and cannot be distributed without it. This notice cannot be * removed or modified. */ /** * ?GETRF, where ? is: <s = single precision | d = double precision | c = single precision complex | z = double precision complex> * * This ...
2.109375
2
2024-11-18T22:28:40.143772+00:00
2018-12-17T04:48:52
38f3e943289b201ba3692f6190e31eda00c94515
{ "blob_id": "38f3e943289b201ba3692f6190e31eda00c94515", "branch_name": "refs/heads/master", "committer_date": "2018-12-17T04:48:52", "content_id": "18dcec19e0c98026253f658beef3e49517578049", "detected_licenses": [ "MIT" ], "directory_id": "136bbc816ffda2fc2b0569ff4185ce350133590d", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <stdbool.h> #include <bsd/stdlib.h> #include "file.h" #include "utils.h" void count_letters(line_t *line, bool *counts2, bool *counts3) { unsigned long num2s = 0, num3s=0; unsigned long char_counts[26] = {0}; for (size...
2.984375
3
2024-11-18T22:28:40.331675+00:00
2015-04-25T09:16:48
6aeca07a94843b49ca7a4e456e146547b1d2793a
{ "blob_id": "6aeca07a94843b49ca7a4e456e146547b1d2793a", "branch_name": "refs/heads/master", "committer_date": "2015-04-25T09:18:20", "content_id": "fb3762142ecb5cfc78b9917a99b83e1e401165b3", "detected_licenses": [ "ISC", "BSD-2-Clause" ], "directory_id": "fecbc7759f89678d9cda953b5d979c74679c952a"...
stackv2
/* * list.h * ------ * * This is a simple doubled linked list. Elements * can be accessed from front and back. */ #ifndef LIST_H_ #define LIST_H_ // -------- #include <stdint.h> // -------- /* * One node in a list. */ typedef struct listnode { struct listnode *prev; struct listnode *next; void *data; } ...
2.828125
3
2024-11-18T22:28:40.409618+00:00
2018-11-29T22:36:08
87d76d424eea6758f093173d3fc66945144d063f
{ "blob_id": "87d76d424eea6758f093173d3fc66945144d063f", "branch_name": "refs/heads/master", "committer_date": "2018-11-29T22:36:08", "content_id": "70d52367dd3951f5e0d6bd612459fe02b47cdacd", "detected_licenses": [ "MIT" ], "directory_id": "0468b0afec3707c93cfc4c3ddf92edfafc0953af", "extension": "c"...
stackv2
#include <converter.h> float create_single_precision_float_from_hex(uint32_t hex_value) { char sign[2], exponent[9], mantissa[24]; int index = 0; sign[0] = get_mask_value(hex_value, 31 - index); sign[1] = '\0'; index = 1; for (int i = 0; i < 8; i++) { exponent[i] = get_mask_value(hex_value, 31 - index);...
2.796875
3
2024-11-18T22:28:40.737155+00:00
2019-12-01T05:09:48
560806da3920b0dcc26053a9d142c8d7adba40ef
{ "blob_id": "560806da3920b0dcc26053a9d142c8d7adba40ef", "branch_name": "refs/heads/master", "committer_date": "2019-12-01T05:09:48", "content_id": "2a147fae9caa68840e0ffa61d0e5eeaf1a5a72f9", "detected_licenses": [ "Apache-2.0" ], "directory_id": "9d2b81c04a6dcbd27a5f34f8ad069810a0982ce0", "extensio...
stackv2
/*#define MAX 1101*//*这些参数要改,可能在main函数中做结构体调用*/ //#define MAX_CAR_NUM 1000 struct Data_str { int Data_ID; /*char Node_File[30]; char Dis_Time_File[30];*/ int Receiver_num; int Sender_num; int Charger_num; }; struct Array_str {/*用来取代全集变量使用的*/ struct str_node** Node; int ** Distance; int ** Time; struct Car_...
2.296875
2
2024-11-18T22:28:40.987634+00:00
2014-10-25T18:43:43
3eedce79b0207b6fd4e395433a76135a67878e08
{ "blob_id": "3eedce79b0207b6fd4e395433a76135a67878e08", "branch_name": "refs/heads/master", "committer_date": "2014-10-25T18:43:43", "content_id": "23fdd1476d436735675ddfc178e6b6cfdedf3ee7", "detected_licenses": [ "BSD-2-Clause-Views" ], "directory_id": "8989510463cc75e5960fc9304723136c1cf793fd", "...
stackv2
#include <stdio.h> #include "purelambda.h" #include "examples.h" tagged_term_t* parse_lambda_exp(const char* filename); int main(int argc,char** argv){ tagged_term_t* in = NULL; if(argc==1){ fprintf(stderr,"Supply filename to lambda expression\n"); return 1; } else{ in = parse_lambda_exp(argv[1]);...
2.71875
3
2024-11-18T22:28:41.161436+00:00
2023-06-02T13:46:19
bc4a14352a35d7f28ca65fda6e4625eaad768ef2
{ "blob_id": "bc4a14352a35d7f28ca65fda6e4625eaad768ef2", "branch_name": "refs/heads/3.16.0-stm32mp", "committer_date": "2023-07-28T12:39:20", "content_id": "e1c3d236f54485ee60083a249bfbf86242a95273", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "a8378f8953015617c24004b33177cdfe45422174", ...
stackv2
// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2019-2021 Huawei Technologies Co., Ltd */ #include <crypto/crypto.h> #include <crypto/sm2-kdf.h> #include <mbedtls/bignum.h> #include <mbedtls/ecp.h> #include <stdlib.h> #include <string.h> #include <string_ext.h> #include <tee_api_types.h> #include <util.h...
2.28125
2
2024-11-18T22:28:41.229168+00:00
2022-10-08T12:53:58
ae2b2e4ad91c1032e3a90aa9dccbaf31e7193b9e
{ "blob_id": "ae2b2e4ad91c1032e3a90aa9dccbaf31e7193b9e", "branch_name": "refs/heads/master", "committer_date": "2022-10-08T12:53:58", "content_id": "b0559a808ab4741fd5f18f1bd79da1c6f50feb4c", "detected_licenses": [ "MIT" ], "directory_id": "cdbc0478f7d630d7c7bbbd7cfce2499f0fe4689b", "extension": "c"...
stackv2
#include<stdio.h> void mergesort(int a[],int i,int j); void merge(int a[],int i1,int j1,int i2,int j2); int main() { int a[30],n,i; printf("Enter no of elements:"); scanf("%d",&n); printf("Enter array elements:"); for(i=0;i<n;i++) scanf("%d",&a[i]); mergesort(a,0,n-1); printf("\nSorted array is :");...
3.953125
4
2024-11-18T22:28:41.433887+00:00
2016-08-16T13:48:44
4c69591f6af3a33510ff9ae87491fb0a7a86f916
{ "blob_id": "4c69591f6af3a33510ff9ae87491fb0a7a86f916", "branch_name": "refs/heads/master", "committer_date": "2016-08-16T13:48:44", "content_id": "d5c47e6a637eb36835839879931c873c42499bb8", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4293dd36cfefc45d5ce9e91bef11c49c0a6736bd", "extensio...
stackv2
#include <stdio.h> #include <fcntl.h> #include <assert.h> #include <sys/types.h> #include <sys/uio.h> #include <sys/mman.h> #include <unistd.h> #ifndef __O_DIRECT #warning "__O_DIRECT is undefined, defining as 0." #define __O_DIRECT 0 #endif #ifndef MAP_ANONYMOUS #warning "defining MAP_ANONYMOUS as MAP_ANON." #define...
2.890625
3
2024-11-18T22:28:42.016957+00:00
2018-06-18T18:37:45
fa77b5c67238a9351d972bd5f0613cb8fabae81b
{ "blob_id": "fa77b5c67238a9351d972bd5f0613cb8fabae81b", "branch_name": "refs/heads/master", "committer_date": "2018-06-27T00:38:37", "content_id": "a5e54e3c88e7cb4ae15798497516e6667ad44624", "detected_licenses": [ "Apache-2.0" ], "directory_id": "805e685a3439692a31d08af188ee62c5c3c8bccf", "extensio...
stackv2
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2016 RDK Management * * 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 ...
2.390625
2
2024-11-18T22:28:42.608167+00:00
2011-02-12T00:27:16
a053bbc78589d5066bd8c2bafac9dfadacb32ac5
{ "blob_id": "a053bbc78589d5066bd8c2bafac9dfadacb32ac5", "branch_name": "refs/heads/master", "committer_date": "2011-02-12T00:27:16", "content_id": "a787c695bcf2057daba7e9b832d7fc32433f3962", "detected_licenses": [ "MIT" ], "directory_id": "03d1f4f9f6283985504227988f1d85dc82983707", "extension": "c"...
stackv2
#include <assert.h> #include <ctype.h> #include <stdlib.h> #include <zlib.h> #include <stdio.h> #include <getopt.h> #include "sickle.h" #include "kseq.h" __KS_GETC(gzread, BUFFER_SIZE) __KS_GETUNTIL(gzread, BUFFER_SIZE) __KSEQ_READ int paired_qual_threshold = 20; int paired_length_threshold = 20; static struct optio...
2.203125
2
2024-11-18T22:28:43.017170+00:00
2018-06-13T01:49:58
f2500850f13dceee50ed5270acdc972720831b75
{ "blob_id": "f2500850f13dceee50ed5270acdc972720831b75", "branch_name": "refs/heads/master", "committer_date": "2018-06-13T01:49:58", "content_id": "5af6acbd986deb3b040c41f2fb5c9088643af67e", "detected_licenses": [ "MIT" ], "directory_id": "a2fbc0768dcb68cf5f4acb9a3772391e1aecf915", "extension": "h"...
stackv2
#ifndef __PRODUCTLIST_H_ #define __PRODUCTLIST_H_ #include <stddef.h> #ifdef __cplusplus extern "C" { #endif /** * Contains tokindex and objectindex. */ typedef struct { int tokindex; /* store each token's index */ int objectindex; /* store each object's index */ } NameTokenInfo; /** * Stores company names in...
2.296875
2
2024-11-18T22:28:43.861447+00:00
2021-01-09T20:25:12
f59edb6e5ade3252e897d1b0b537dc02af5bb2ec
{ "blob_id": "f59edb6e5ade3252e897d1b0b537dc02af5bb2ec", "branch_name": "refs/heads/main", "committer_date": "2021-01-09T20:25:12", "content_id": "5307f0aebcf75dcdaf2f8082d0b0f3997ef96601", "detected_licenses": [ "MIT" ], "directory_id": "7a940e74015f1dd9874d41663c248b1146a9c9df", "extension": "c", ...
stackv2
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "lexer.h" #include "parser.h" #include "table.h" #include "function.h" #include "error.h" void run(char *code, FunctionTable *functions) { TokenArray *tokens = tokenize(code, functions); // print_tokens(tokens); if (t...
2.453125
2
2024-11-18T22:28:43.982806+00:00
2018-10-25T16:53:23
02c01af3d163704a1a9d454826f5e0a7a71176b5
{ "blob_id": "02c01af3d163704a1a9d454826f5e0a7a71176b5", "branch_name": "refs/heads/master", "committer_date": "2018-10-25T16:53:23", "content_id": "ef807264dfb5bb2a342523ff1d7ec08d0040378c", "detected_licenses": [ "MIT" ], "directory_id": "3679c07ed4f7ceb5296da8f4810f0deac0d24c39", "extension": "c"...
stackv2
#include "mex.h" #include <stdio.h> #include <math.h> #include <string.h> #define EPS1 1.0e-12 #define EPS2 1.0e-12 #define EPS3 1.0e-12 #define EPS4 1.0e-12 #define infy 10000 #define MPI 3.1415926536 #define MPIMUL2 6.2831853072 #define MPIDIV2 1.5707963268 float RADCURV; /*****************************************...
2.265625
2
2024-11-18T22:28:49.403794+00:00
2021-11-01T22:56:07
a594f44a34ae84ab653f249e67102cc6dc029057
{ "blob_id": "a594f44a34ae84ab653f249e67102cc6dc029057", "branch_name": "refs/heads/master", "committer_date": "2021-11-01T22:56:07", "content_id": "51a806f7e0c1cff4f669207847e401ffbf10598d", "detected_licenses": [ "MIT" ], "directory_id": "8a3b2cb1a77983d90af77a8330a614a0cebebc07", "extension": "h"...
stackv2
#include <stdlib.h> #include "general.h" #ifndef LIST_TYPE #error LIST_TYPE must be defined to work with KCTF_List #endif struct Node_t; typedef struct Node_t { int prev; LIST_TYPE data; int next; } Node; typedef struct List_t { Node *buffer; int fictive; size_t capacity; size_t size; int free_head; int ...
2.828125
3
2024-11-18T22:28:49.501336+00:00
2019-08-26T21:36:50
b17d4ba14ccd0a177c83c1b1e75dfad8d2cb6c48
{ "blob_id": "b17d4ba14ccd0a177c83c1b1e75dfad8d2cb6c48", "branch_name": "refs/heads/master", "committer_date": "2019-08-26T21:36:50", "content_id": "8c7fc18357e9fd765fc3d62c8fc0be7c65b3cc53", "detected_licenses": [], "directory_id": "14ebe5afaa014cb9feb476a10de3691d3499d5e3", "extension": "c", "filename...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: ...
2.5
2
2024-11-18T22:28:49.560121+00:00
2017-02-12T04:06:00
cbe360a4a1044d05d6fe5363ecb61f2288d4750c
{ "blob_id": "cbe360a4a1044d05d6fe5363ecb61f2288d4750c", "branch_name": "refs/heads/master", "committer_date": "2017-02-12T04:06:00", "content_id": "7e9ca6eecb935010b789cb2e708f3848e90df2b0", "detected_licenses": [ "MIT" ], "directory_id": "9ba17351165fe15807fbf2dc6d68a97e1f9937c3", "extension": "h"...
stackv2
/** * @file board.h * @author Eric Ponce * @date 25 June 2015 * @brief Board peripheral driver */ #ifndef _BOARD_H_ #define _BOARD_H_ #include "chip.h" #include "state_types.h" #include "mcp2515.h" #include "brusa.h" #include "a123mbb.h" #include "util.h" #include "charge.h" #include "drain.h" #include "ssm.h" #...
2.109375
2
2024-11-18T22:28:49.623091+00:00
2023-08-12T07:52:03
3df64553f93d0f9ee832d803fe63fa5bbd8bda44
{ "blob_id": "3df64553f93d0f9ee832d803fe63fa5bbd8bda44", "branch_name": "refs/heads/master", "committer_date": "2023-08-12T13:24:08", "content_id": "795d93a384f141652ffc12ca6e2c201dc1198db1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "1a0276218c8a103c9a76409e510df5b5690f44e5", "extensio...
stackv2
/** * WinPR: Windows Portable Runtime * Synchronization Functions * * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com> * Copyright 2013 Norbert Federa <norbert.federa@thincast.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
2.3125
2
2024-11-18T22:28:49.936536+00:00
2023-08-07T20:22:46
26734b1b93d1064eb597fbbd65f0cec4f7a5400f
{ "blob_id": "26734b1b93d1064eb597fbbd65f0cec4f7a5400f", "branch_name": "refs/heads/main", "committer_date": "2023-08-07T20:22:46", "content_id": "b2c5cb76a43e29881c9044a86f261da5c6a93605", "detected_licenses": [ "Zlib" ], "directory_id": "d9ea45dbc964799991b9191ae620d2f150652a3d", "extension": "h",...
stackv2
#include <kinc/graphics4/indexBuffer.h> void kinc_g4_index_buffer_init(kinc_g4_index_buffer_t *buffer, int count, kinc_g4_index_buffer_format_t format, kinc_g4_usage_t usage) { buffer->impl.count = count; buffer->impl.sixteen = format == KINC_G4_INDEX_BUFFER_FORMAT_16BIT; buffer->impl.last_start = 0; buffer->impl....
2.359375
2
2024-11-18T22:28:50.318548+00:00
2021-09-21T13:58:25
a1acb2811cab838836247860b22d266139e935a9
{ "blob_id": "a1acb2811cab838836247860b22d266139e935a9", "branch_name": "refs/heads/master", "committer_date": "2021-09-21T13:58:25", "content_id": "94f8a2be244bea0cea6358ffe306b7fe18fc0402", "detected_licenses": [ "MIT" ], "directory_id": "47e751d7ddfabffee37c4651d3ef9b9ac8a22c57", "extension": "c"...
stackv2
/*! * \file * \brief 7-SEG RGB Click example * * # Description * This click shows all ten digits on a full-color single 7 segment digit display. * Each segment has R, G, B LEDs that can be adjusted in 255 steps and * the ability to control the brightness of all the LED. * * The demo application is composed...
2.40625
2
2024-11-18T22:28:50.402752+00:00
2017-01-19T02:02:50
1bbd55d528873a8057f81ddb15ab5a9ba3b0e6cd
{ "blob_id": "1bbd55d528873a8057f81ddb15ab5a9ba3b0e6cd", "branch_name": "refs/heads/master", "committer_date": "2017-01-19T02:02:50", "content_id": "4442c4f721a0f36794154e0cf8045ccb4d43a3e1", "detected_licenses": [ "PostgreSQL", "BSD-2-Clause" ], "directory_id": "4d5f2cdc0b7120f74ba6f357b21dac063e...
stackv2
/*------------------------------------------------------------------------- * * parse_expr.c * handle expressions in parser * * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $Header: /home...
2.1875
2
2024-11-18T22:28:50.520081+00:00
2018-03-27T04:52:43
f29490a75db99386beed811368e1fbdf492f41f1
{ "blob_id": "f29490a75db99386beed811368e1fbdf492f41f1", "branch_name": "refs/heads/master", "committer_date": "2018-03-27T04:52:43", "content_id": "d0b2a42ddecf46fc82d32790512d139d89bea54b", "detected_licenses": [ "MIT" ], "directory_id": "bb8c8a22dc9a40b7528a459497f323ea60ade9cc", "extension": "c"...
stackv2
#include <stdlib.h> #include "pq.h" struct pqueue { Item *A; int heapsize; }; int LEFT(int i) { return (i*2 + 1); } int RIGHT(int i) { return (i*2 + 2); } int PARENT(int i) { return ((i-1)/2); } void Swap(PQ pq, int a, int b){ Item tmp; tmp = pq->A[a]; pq->A[a] = pq->A[b]; pq->A[b] = tmp; return; } void HEAPif...
3.28125
3
2024-11-18T22:28:50.582892+00:00
2018-08-10T08:48:32
294d84e0d0cee3fda06774cf615b61f803c9019d
{ "blob_id": "294d84e0d0cee3fda06774cf615b61f803c9019d", "branch_name": "refs/heads/master", "committer_date": "2018-08-10T08:48:32", "content_id": "db88c88860a93ee13db77561c029d788552d0a71", "detected_licenses": [ "MIT" ], "directory_id": "5a19fe499adf656e56f3d4cb976ad210024a21b2", "extension": "c"...
stackv2
/* crypto.c -- Interface nettle's hmac functions to htslib Copyright (c) 2018 Genome Research Ltd. Author: Rob Davies <rmd@sanger.ac.uk> 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 ...
2.125
2
2024-11-18T22:28:50.734630+00:00
2021-01-24T14:52:15
32df2b42c07a1f6a78be3d01a52b969272de0234
{ "blob_id": "32df2b42c07a1f6a78be3d01a52b969272de0234", "branch_name": "refs/heads/main", "committer_date": "2021-01-24T14:52:15", "content_id": "7820390dea2bbc66039b7e4d4692cd01084b3fc1", "detected_licenses": [ "MIT" ], "directory_id": "1ceddd83f84218ed3e92b4414ebff2fe495832a5", "extension": "c", ...
stackv2
#include <stdlib.h> #include <stdio.h> #include <fcntl.h> #include <unistd.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/types.h> /* utilities */ #define _I(fmt, args...) printf(fmt "\n", ##args) #define _E(fmt, args...) printf("ERROR: " fmt "\n", ##args) /* physical address spans */ #define LWHPS2FPGA...
2.765625
3
2024-11-18T22:28:50.826162+00:00
2014-06-19T16:54:19
1788a9d712cac6ea2c72a3d045e0e48336619877
{ "blob_id": "1788a9d712cac6ea2c72a3d045e0e48336619877", "branch_name": "refs/heads/master", "committer_date": "2014-06-19T16:54:19", "content_id": "ca212d8979bbc1a622f65aeb48b02b9e8665f727", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "0934c21f4ec719c468a8bf79abd764861c811121", "extens...
stackv2
/* * This file is part of the MIAMI framework. For copyright information, see * the LICENSE file in the MIAMI root folder. */ /* * File: reuse_group.C * Author: Gabriel Marin, mgabi99@gmail.com * * Data structure to hold information about a set of references with the same * access pattern that are likely to a...
2.375
2
2024-11-18T22:28:51.204232+00:00
2022-04-23T21:07:45
794ea30fc3bfcc6d7009011274f6762d95f525c6
{ "blob_id": "794ea30fc3bfcc6d7009011274f6762d95f525c6", "branch_name": "refs/heads/master", "committer_date": "2022-04-23T21:07:45", "content_id": "424e5fb6a58a6ee82d33ec0f8dbb80ad27f70267", "detected_licenses": [ "MIT" ], "directory_id": "fc6bf310ac38cd39c9e491b2592fe781a113e487", "extension": "c"...
stackv2
#include "array_test.h" int array_test_setup(void **state) { Array *arr = malloc(sizeof(Array)); if (!arr) { return -1; } *state = arr; return 0; } int array_test_teardown(void **state) { if (state) { free(*state); state = 0; } return 0; } void ctor_array_test...
2.796875
3
2024-11-18T22:28:51.601893+00:00
2021-09-22T13:40:37
e2913a222954eaa5babce3c28196e96b71e68206
{ "blob_id": "e2913a222954eaa5babce3c28196e96b71e68206", "branch_name": "refs/heads/master", "committer_date": "2021-09-22T13:40:37", "content_id": "8b046eb75c86878bc64f1a3066f6ab895fb9f4b5", "detected_licenses": [ "MIT" ], "directory_id": "1efef9121dc79782d8bec55d29c093eb9897c58b", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> int main( int argc, char const *argv[] ) { FILE *file; int anterior, proximo; file = fopen( argv[ 1 ], "rb" ); if( file == NULL ) { printf( "Erro na abertura" ); } fread( &anterior, sizeof( int ), 1, file ); while( !feof( file ) ) { ...
2.9375
3
2024-11-18T22:28:51.688949+00:00
2017-06-30T07:32:24
f3606790cd54ee9aa248d1c37c44bc4589c163ea
{ "blob_id": "f3606790cd54ee9aa248d1c37c44bc4589c163ea", "branch_name": "refs/heads/master", "committer_date": "2017-06-30T07:32:24", "content_id": "3813dc0fa6bb370071814ddfc783d803f47e1f71", "detected_licenses": [ "MIT" ], "directory_id": "04419d49466cd604ba3f98bd7c14879c8dd47558", "extension": "h"...
stackv2
#include <stdbool.h> #ifndef KD_HINCLUDED #define KD_HINCLUDED #define ROOT 1 #define LOWER(i) (i<<1) #define UPPER(i) ((i<<1)+1) #define PARENT(i) (i>>1) #define SIBLING(i) ((i&1)?i-1:i+1) #define SETNEXT(i)\ {\ while (i&1) i=i>>1;\ ++i;\ } #define DARK 1 #define GAS 2 #define STAR 4 #define KD_ORDERTEMP 256...
2.0625
2
2024-11-18T22:28:51.928451+00:00
2020-07-12T17:50:17
1979b971e90ffd7b0bc337b6d57df64cbdba0507
{ "blob_id": "1979b971e90ffd7b0bc337b6d57df64cbdba0507", "branch_name": "refs/heads/master", "committer_date": "2020-07-12T17:50:17", "content_id": "b7df2d1aad74eaca3124dbc22654be6290e4e038", "detected_licenses": [ "MIT" ], "directory_id": "565e30acd3576ba1b61790cfe6f7b6eb957fc72f", "extension": "h"...
stackv2
#ifndef _ARCH_PCI_H #define _ARCH_PCI_H /* 【简介】 PCI是什么?PCI是Peripheral Component Interconnect(外设部件互连标准)的缩写, 它是目前个人电脑中使用最为广泛的接口,几乎所有的主板产品上都带有这种插槽。 PCI有三个相互独立的物理地址空间:设备存储器地址空间、I/O地址空间和配置空间。 配置空间是PCI所特有的一个物理空间。由于PCI支持设备即插即用,所以PCI设备不占 用固定的内存地址空间或I/O地址空间,而是由操作系统决定其映射的基址。 PCI总线规范定义的配置空间总长度为256个字节,配置信息按一定的顺序和大小依次存放。 前64个...
2.328125
2
2024-11-18T22:28:52.001988+00:00
2020-08-25T07:26:30
710479cd3cd16e3cdb15591f4f4cfe60835d124d
{ "blob_id": "710479cd3cd16e3cdb15591f4f4cfe60835d124d", "branch_name": "refs/heads/master", "committer_date": "2020-08-25T07:26:30", "content_id": "daa86ce6016f0536728b658a672b87c6cf6c25d2", "detected_licenses": [ "MIT" ], "directory_id": "b8b0d4a05c01bd86f30e4a4110cad307bea8bf2c", "extension": "h"...
stackv2
/*当前显示页面*/ #define CVGA_PAGE (*((unsigned short *)(0x80005))) /*当前显示模式*/ #define CVGA_MODE (*((unsigned char *)(0x80007))) /*当前显示字符列数*/ #define CVGA_COLUMN_NUMBER (*((unsigned char *)(0x80008))) /*显示内存大小*/ #define CVGA_MEM_SIZE (64*((*((unsigned char *)(0x80009)))+1)) /*显示状态*/ #define CVGA_STATE (*((unsigned char *)(0...
2.4375
2
2024-11-18T22:28:52.320167+00:00
2020-12-11T02:41:09
18b834205feda3da6ee432298624f1ef3b2ed7a3
{ "blob_id": "18b834205feda3da6ee432298624f1ef3b2ed7a3", "branch_name": "refs/heads/main", "committer_date": "2020-12-11T02:41:09", "content_id": "71c4a4327c577150ded031ecdc2373d2ea0cd907", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "90116cb448dc5c05e7ad44ca9fb217b2e6151064", "extensio...
stackv2
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/time.h> // #include <sys/resource.h> #include <unistd.h> #include <assert.h> #ifdef __MTA__ #include <sys/mta_task.h> #include <machine/runtime.h> #endif #include "globals.h" #include "defs.h" int main(int argc, char **argv) { int64_t i, j,...
2.125
2
2024-11-18T22:28:52.501178+00:00
2014-01-30T16:53:48
3d8c9136817adc3251f98a23cf553a87fc096952
{ "blob_id": "3d8c9136817adc3251f98a23cf553a87fc096952", "branch_name": "refs/heads/master", "committer_date": "2014-01-30T16:53:48", "content_id": "2e99a6a6058349b25107cb679e5d80070249bd39", "detected_licenses": [ "MIT" ], "directory_id": "f20c8102bbbb37780b28b941cf62ba1dbdd03f9d", "extension": "c"...
stackv2
#include <stdlib.h> #include <stdio.h> #include "lucie.h" static void dynamic_string_init( char** buffer ) { if ( *buffer != NULL ) { free( *buffer ); } *buffer = NULL; } static void dynamic_string_add( char** buffer, char* data ) { DEBUGLOG( "STRING_ADD( \"%s\" )", data ); ...
2.46875
2
2024-11-18T22:28:52.580944+00:00
2021-08-26T15:18:06
816bdcb199a1627a2f8368127d0ad557ea93275b
{ "blob_id": "816bdcb199a1627a2f8368127d0ad557ea93275b", "branch_name": "refs/heads/master", "committer_date": "2021-08-26T15:18:06", "content_id": "0ccbef5a042ec9032c6052899c726b81b9f4857f", "detected_licenses": [ "MIT" ], "directory_id": "797042afcf81299d3124c8142770110a54afd2fe", "extension": "c"...
stackv2
#include<stdio.h> #include<stdio.h> #include<stdlib.h> struct List_Node { int vertexNo; struct List_Node *next; }; struct node{ int info ; struct node *next; }; struct Graph { int V; int E; struct List_Node* Adj; }; struct Graph* Create_adjacent_list() { int i=0,x,y; struct List_Node *temp,*t...
3.140625
3
2024-11-18T22:28:52.784095+00:00
2023-08-17T12:06:54
237db127f99731e263fc689afd6571a1b5afb49e
{ "blob_id": "237db127f99731e263fc689afd6571a1b5afb49e", "branch_name": "refs/heads/master", "committer_date": "2023-08-17T12:06:54", "content_id": "33614ad19b3effd1045ddf778d3874eb7ec5d89a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f5111ad78e2c06d63bfb9fc3119a83893dc30d15", "extensio...
stackv2
/* # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2021 Lenovo # # 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 ...
2.328125
2
2024-11-18T22:28:53.107611+00:00
2014-03-13T16:00:21
3a2eaca27f422cdc2d6a3748d2f79894dc17c891
{ "blob_id": "3a2eaca27f422cdc2d6a3748d2f79894dc17c891", "branch_name": "refs/heads/master", "committer_date": "2014-03-13T16:00:21", "content_id": "66398847595c16ecd485c69e46520b70e10aac62", "detected_licenses": [ "MIT" ], "directory_id": "8c5fd6d091a13637959939e880149c0927a27645", "extension": "h"...
stackv2
// Copyright 2011 Cricket Technology // www.crickettechnology.com /** @file */ /** @defgroup CkConfig CkConfig */ /** @{ */ #pragma once #include "ck/platform.h" #if CK_PLATFORM_ANDROID # include <jni.h> #endif #if CK_PLATFORM_IOS # include <AudioToolbox/AudioToolbox.h> #endif ////////////////////////////////////...
2
2
2024-11-18T22:28:53.184447+00:00
2010-06-15T12:42:13
5301196484f85532d8c74b880f753cc083d6446e
{ "blob_id": "5301196484f85532d8c74b880f753cc083d6446e", "branch_name": "refs/heads/master", "committer_date": "2010-06-15T12:42:13", "content_id": "390452a7592a2b99a64d0f72f45527df2407cea1", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "6bf3d71f37ea3fb60ce8962b61d1a1e3b58dc391", "extens...
stackv2
#ifndef __PINGER_H__ #define __PINGER_H__ #define SA struct sockaddr #define SALEN(sa) (((struct sockaddr *) (sa))->sa_family == AF_INET) ? sizeof(struct sockaddr_in) : \ ((((struct sockaddr *) (sa))->sa_family == AF_INET6) ? sizeof(struct sockaddr_in6) : 0) #define NELEMS(ar...
2.015625
2
2024-11-18T22:28:53.284996+00:00
2020-07-08T21:51:43
2facc86b2898328f2a61aae41ddb0b318e2aab67
{ "blob_id": "2facc86b2898328f2a61aae41ddb0b318e2aab67", "branch_name": "refs/heads/master", "committer_date": "2020-07-08T21:51:43", "content_id": "104d3d4141aa587b8aa1a850d583bc74e2b4a3b3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8ac753d13cfaa9763a5a71e0a46fbd86755f7f07", "extensio...
stackv2
/* * ade7912.h * * Created on: 08/03/2016 * Author: Chiz Chikwendu */ #ifndef DRIVER_ADE7912_H_ #define DRIVER_ADE7912_H_ #include "stdint.h" #include "stdbool.h" #define ADE7912_CLKIN 4096000 // ADC gains and constants #define ADC_MIN 0x800000 // -8388608 #define ADC_MAX (float)8388607 ...
2.125
2
2024-11-18T22:28:53.637356+00:00
2020-09-30T18:55:13
e36de898411466d305ff36bef0b4cd0f6862c76e
{ "blob_id": "e36de898411466d305ff36bef0b4cd0f6862c76e", "branch_name": "refs/heads/master", "committer_date": "2020-09-30T18:55:13", "content_id": "db729e28eb3e0a6ba8cd6fe1f9bb3485c665aae0", "detected_licenses": [ "MIT" ], "directory_id": "cce2a183cdbb7faddd2b70ae23750600f123f256", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <time.h> typedef struct node { int val; struct node *next; } node_t; void add_begin( node_t **head_ref, int val) { node_t * new_node; if( (*head_ref) == NULL) { (*head_ref) = malloc(sizeof(node_t)); (*head_ref)->val = val; (*he...
3.5
4
2024-11-18T22:28:53.917357+00:00
2023-09-02T15:16:12
94bd12c785a756c57a5c47771a8efeb846a829e3
{ "blob_id": "94bd12c785a756c57a5c47771a8efeb846a829e3", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T15:16:12", "content_id": "5bd9d380575f72a3d99914b0e1a7bc8dd5294b88", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "9ceacf33fd96913cac7ef15492c126d96cae6911", "extens...
stackv2
/* * Copyright (C) 1984-2012 Mark Nudelman * Modified for use with illumos by Garrett D'Amore. * Copyright 2014 Garrett D'Amore <garrett@damore.org> * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. * * For more information, ...
2.375
2