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-18T21:09:38.341329+00:00
2021-03-22T14:20:25
db6fc52618f1496466694669fa5f798604e3d8cc
{ "blob_id": "db6fc52618f1496466694669fa5f798604e3d8cc", "branch_name": "refs/heads/main", "committer_date": "2021-03-22T14:20:25", "content_id": "198153a92aff10ff8530c75681f6e4d52a7b5100", "detected_licenses": [ "MIT" ], "directory_id": "2c7536c982f716ec9962ab9c1ab1ff818b6fcdd3", "extension": "c", ...
stackv2
/** * \file lwgsm_parser.c * \brief Parse incoming data from AT port */ /* * Copyright (c) 2020 Tilen MAJERLE * * 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.28125
2
2024-11-18T21:09:38.515556+00:00
2019-04-12T05:18:46
b365b2f8a297ee7f5117396b088bdb1c84146264
{ "blob_id": "b365b2f8a297ee7f5117396b088bdb1c84146264", "branch_name": "refs/heads/master", "committer_date": "2019-04-12T05:18:46", "content_id": "882e14220c8271e15a9584840807429ee23b36ba", "detected_licenses": [ "MIT" ], "directory_id": "5ce3b27bf43030a41291bb16aadbd303380c4b07", "extension": "c"...
stackv2
/* * fSentence.c */ #include "Include.h" /* protos */ static Boolean SaveData(UInt32 *); static void DeleteSentence(UInt16); /* globals */ static UInt16 recordIdx, cancelIdx; /* * fSentenceDrawTable * * Draw a sentence table. * * -> tbl Table. * -> row Current row. * -> column Current column. * -> r...
2.09375
2
2024-11-18T21:09:38.741524+00:00
2020-05-23T05:08:42
d3861fda51406648e2c45fec8c725ce58d01de89
{ "blob_id": "d3861fda51406648e2c45fec8c725ce58d01de89", "branch_name": "refs/heads/master", "committer_date": "2020-05-23T05:08:42", "content_id": "ce2d5b0f8fc6e190a2ee59506e4e340b4c6850fb", "detected_licenses": [ "MIT" ], "directory_id": "db4c6db531e04562f5a3616da0cf53ce4f51cebc", "extension": "c"...
stackv2
#include "functions.h" int listarSeg ( TNo * no_ptr) { int aux,consultorio,hora,flag=0;; if ( no_ptr != NULL ) { if(((no_ptr->valor)>20000)&&((no_ptr->valor)<22500)){ aux = no_ptr->valor; consultorio = aux % 100; hora = (aux/100)%100; printf("Horario: %dh\n",hora); printf("Consultorio: %d...
2.375
2
2024-11-18T21:09:38.940766+00:00
2021-07-20T02:15:03
a90fd152482062212caedb4d049c05f69c3bab32
{ "blob_id": "a90fd152482062212caedb4d049c05f69c3bab32", "branch_name": "refs/heads/master", "committer_date": "2021-07-20T02:32:11", "content_id": "bb0b1e0d7e36c34ca9f4732a6540dfbfdef545a6", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "37d69aa9eaf5021c470371632b0723522cea23e9", "extens...
stackv2
/* Copyright (C) 1883 Thomas Edison - All Rights Reserved * You may use, distribute and modify this code under the * terms of the BSD 3 clause license, which unfortunately * won't be written for another century. * * SPDX-License-Identifier: BSD-3-Clause * * A little flash file system for the Raspberry Pico * *...
2.140625
2
2024-11-18T21:09:39.625132+00:00
2023-06-21T09:22:57
73c2744c773c02820ec8ff84c9103b21967082aa
{ "blob_id": "73c2744c773c02820ec8ff84c9103b21967082aa", "branch_name": "refs/heads/master", "committer_date": "2023-07-15T03:50:17", "content_id": "51dda38feb05e2a80d06f8810dbb5db07b5117de", "detected_licenses": [ "MIT" ], "directory_id": "5fdaec353b93b273d117c5ef1ca7d2352f4bad4b", "extension": "h"...
stackv2
/* * Pluto: An automatic parallelier and locality optimizer * * Copyright (C) 2007 Uday Bondhugula * * This software is available under the MIT license. Please see LICENSE * in the top-level directory for details. * * This file is part of libpluto. * */ #ifndef PROGRAM_H #define PROGRAM_H // Not replacing th...
2.046875
2
2024-11-18T21:09:39.924338+00:00
2016-01-07T19:32:15
281144bc57006aacbf947b6f31159c08181ffc14
{ "blob_id": "281144bc57006aacbf947b6f31159c08181ffc14", "branch_name": "refs/heads/master", "committer_date": "2016-01-07T19:32:15", "content_id": "0414a0e5f47df96ed8131cae20bed94d6e59eef5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "11a10df72bce8dc1a9c6ef9930d1702dec0f2547", "extensio...
stackv2
/* * Copyright (C) 2015 The 8-Bit Bunch. Licensed under the Apache License, Version 1.1 * (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-1.1>. * Unless required by applicable law or agreed to in wri...
2.015625
2
2024-11-18T21:09:41.915294+00:00
2021-09-16T05:48:51
3237c05d6cd08bd1b0ef97d48a0dc22b6324864c
{ "blob_id": "3237c05d6cd08bd1b0ef97d48a0dc22b6324864c", "branch_name": "refs/heads/master", "committer_date": "2021-09-16T05:48:51", "content_id": "a8930099ecef00fa76bc30eba048d9f446fd6953", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "3597c7193ff73de81d2867891062627f...
stackv2
/* * Copyright (c) 2008-2012 Digi International Inc., * All rights not expressly granted are reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * Digi...
2.015625
2
2024-11-18T21:09:44.148130+00:00
2019-12-19T00:15:13
76efcdbc31447e724722bdb6e95307347ecfc419
{ "blob_id": "76efcdbc31447e724722bdb6e95307347ecfc419", "branch_name": "refs/heads/master", "committer_date": "2019-12-19T00:15:13", "content_id": "6cf67ac411d7a693aedff3944d8006917b4cbabe", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "5cb61974fd88a208e8b2297c9bbbc21fa3218e44", "extens...
stackv2
#include "escript.h" void * set_build(void * _source) { void * result = NULL; struct Source * source = _source; struct Stack * operands = new(Stack); void * operand; #define hasNextToken()(source->hasNextToken(source)) #define popNextToken()(source->popNextToken(source)) #define nextTokenType()(get...
2.484375
2
2024-11-18T21:09:44.258419+00:00
2018-10-07T20:58:43
806fa080e6e8e18d6dca9f29a2ac3c2668de43eb
{ "blob_id": "806fa080e6e8e18d6dca9f29a2ac3c2668de43eb", "branch_name": "refs/heads/master", "committer_date": "2018-10-07T20:58:43", "content_id": "c60c633e12a2341d2ddf03dbe7c4fbc6dc76595e", "detected_licenses": [ "MIT" ], "directory_id": "2dcd1333d8be4b5f81354fe9363ee06fccdb5205", "extension": "c"...
stackv2
/** @file Implementation of the polynomial stack class @author Jan Łanecki <jl385826@students.mimuw.edu.pl> @copyright University of Warsaw, Poland @date 2017-05-25 */ #include <stdlib.h> #include <assert.h> #include "stack_poly.h" bool Empty(Stack *s) { return (s == NULL); } void Init(Stack **s) { ...
3.125
3
2024-11-18T21:09:45.159550+00:00
2020-12-07T03:05:20
84a326638bbb0feedcc266d58af6d227bf04e67b
{ "blob_id": "84a326638bbb0feedcc266d58af6d227bf04e67b", "branch_name": "refs/heads/main", "committer_date": "2020-12-07T03:05:20", "content_id": "21d487362722b56e117eb8d7b9dd8b7cf0dc79f0", "detected_licenses": [ "MIT" ], "directory_id": "1584c6d49a74329daeace39f1fc40b3406aa31e6", "extension": "c", ...
stackv2
#include<stdio.h> void fun(int,int); int main() { int i=5,j=2,c=10; fun(i,j); printf("%d %d",i,j); return 0; } void fun(int a,int b) //changes made in formal parameter are nowhere reflected as only the value is passed and not the address { a=a*a; b=b*b; }
2.734375
3
2024-11-18T21:09:45.976750+00:00
2020-12-25T20:51:28
9ad6afe9d4bfb5963a6e7369b60b79f30ab647f8
{ "blob_id": "9ad6afe9d4bfb5963a6e7369b60b79f30ab647f8", "branch_name": "refs/heads/main", "committer_date": "2020-12-25T20:51:28", "content_id": "6e3b2bf74113d12bfbae9a3b0fdc16e5acdda030", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6638cd1713a07a0d8c5826b39cc26a0c69855340", "extension"...
stackv2
#include <sys/types.h> #include <sys/socket.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "info.h" int main(void) { int sockfd = socket(AF_UNIX, SOCK_DGRAM, 0); if (sockfd < 0) { printf("Error in socket creation;\n"); return...
2.6875
3
2024-11-18T21:09:46.606840+00:00
2021-04-12T19:45:23
367b0defd421492347838aedd336b50c4e795639
{ "blob_id": "367b0defd421492347838aedd336b50c4e795639", "branch_name": "refs/heads/master", "committer_date": "2021-04-12T19:45:23", "content_id": "9a2bb74ec4373368cc971fa86158fc5f01a3a7f3", "detected_licenses": [ "MIT" ], "directory_id": "c3bb88e81944625ea1cb9a23bbc23e209bdf100d", "extension": "h"...
stackv2
// SPDX-License-Identifier: MIT // Copyright (c) 2018-2020 The Pybricks Authors /** * @addtogroup UARTDriver Driver: Universal Asynchronous Receiver/Transmitter (UART) * @{ */ #ifndef _PBDRV_UART_H_ #define _PBDRV_UART_H_ #include <stdint.h> #include <pbdrv/config.h> #include <pbio/error.h> #include <pbio/port.h...
2.28125
2
2024-11-18T21:09:46.817337+00:00
2011-06-22T19:06:06
2220cd137dd8daf881944fac5477e05b30ded5d2
{ "blob_id": "2220cd137dd8daf881944fac5477e05b30ded5d2", "branch_name": "refs/heads/master", "committer_date": "2011-06-22T19:06:06", "content_id": "9b06685846b3c01164fb438d76e23ef2b4f260bb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "0f315beac671bbaf981c853c22cc9018f14491e7", "extensio...
stackv2
/*------------------------------------------------------------------------- * * err_utils.c - 20110610 v0.1.3 * output routines for error/debug information * *------------------------------------------------------------------------- */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stda...
2.65625
3
2024-11-18T21:09:47.367452+00:00
2020-10-08T05:48:30
48cd0f18a31b46af7da66c2bd3be420ee9f17367
{ "blob_id": "48cd0f18a31b46af7da66c2bd3be420ee9f17367", "branch_name": "refs/heads/master", "committer_date": "2020-10-08T05:48:30", "content_id": "8e4fd37bcea016da1314a0427774733538e9a97c", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "7793bf9dcd94e736cfeffe26884465c1...
stackv2
#ifndef SRC_BOARD_H_ #define SRC_BOARD_H_ #include <pieces.h> static const uint16_t BOARD_ROWS = 20; static const uint16_t BOARD_COLS = 10; static const uint16_t BOARD_CELLS = 200; static const point_t START_POINT = { 0, 3 }; typedef struct { char grid[BOARD_CELLS]; } board_t; void initBoard(board_t *board); vo...
2.109375
2
2024-11-18T21:09:47.425929+00:00
2020-05-09T22:47:22
8bfc76c37f443c92128457ac6ae1aba51bb02cb4
{ "blob_id": "8bfc76c37f443c92128457ac6ae1aba51bb02cb4", "branch_name": "refs/heads/master", "committer_date": "2020-05-09T22:47:22", "content_id": "143218915b561814b3c482f260dec4d080092061", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "d45816e85fb6e3f7d70d4c87e6ba0e6a08c0b037", "extens...
stackv2
#include "UserMessage.h" #include <stdlib.h> #include <stdio.h> struct Item { char *name; int price; double tax; }; struct Item *make_item(char *name, int price, double tax) { struct Item *this = (struct Item *)malloc(sizeof(struct Item)); this->name = name; this->price = price; this->tax ...
2.71875
3
2024-11-18T21:09:47.873663+00:00
2020-12-26T22:07:00
65ccc5ff71907d118a8526db25bfa4f4b32bdbd4
{ "blob_id": "65ccc5ff71907d118a8526db25bfa4f4b32bdbd4", "branch_name": "refs/heads/main", "committer_date": "2020-12-26T22:07:00", "content_id": "3584e3c69c5a84fe7433eb45e0776c817c0421a4", "detected_licenses": [ "MIT" ], "directory_id": "09d83ff7c6da1895a65156cc99a1d7ca3489da40", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> #include <math.h> #define DUZINA 11 void greska() { fprintf(stderr, "-1\n"); exit(EXIT_FAILURE); } float vrednost(float * niz, float tacka) { float vred = 0; int i; for(i=DUZINA -1 ; i>= 0; i--) vred = vred*tacka + niz[i]; return vred; }...
2.859375
3
2024-11-18T21:09:48.404409+00:00
2023-03-07T21:08:49
4a0b8f6038958927d365b7a3d39503bb28c27009
{ "blob_id": "4a0b8f6038958927d365b7a3d39503bb28c27009", "branch_name": "refs/heads/master", "committer_date": "2023-03-07T21:08:49", "content_id": "7920ef2f58b07d8a9cbfe2db2397e62519eb8e9f", "detected_licenses": [ "MIT" ], "directory_id": "fcbe2cd1f0e58df0e2768922ba973665c39e95f8", "extension": "c"...
stackv2
#include <errno.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <sys/ipc.h> #include <sys/shm.h> #include <sys/msg.h> #include <sys/sem.h> #include "module.h" /* POSIX.1 requires that the caller define this union. */ /* On versions of glibc where this union is not */ /* defined, the mac...
2.015625
2
2024-11-18T21:09:48.476826+00:00
2023-04-06T12:09:13
93d230906be2bd5fcd0e13ef5e8630c7712c23d8
{ "blob_id": "93d230906be2bd5fcd0e13ef5e8630c7712c23d8", "branch_name": "refs/heads/master", "committer_date": "2023-04-06T12:09:13", "content_id": "0c05a69555677e21ae2efd07b2da8b461113c1db", "detected_licenses": [ "MIT" ], "directory_id": "17137daf9487e8a9bf5bc2f314871d98656e2562", "extension": "c"...
stackv2
/* simple round trip encoding that puts high bit set bytes in the private use area */ void getCodepointsAscii( FILE *stream, QCSV_LONG *codepoints, int *arrLength, int *byteLength ) { int c; if(stream == NULL) { *arrLength = *byteLength = 0; return; } *arrLength = *byteLength = 1; i...
2.125
2
2024-11-18T21:09:48.986752+00:00
2013-08-09T13:56:46
b24c7a8b10c01217e0957781137a96d4b98432be
{ "blob_id": "b24c7a8b10c01217e0957781137a96d4b98432be", "branch_name": "refs/heads/master", "committer_date": "2013-08-09T13:56:46", "content_id": "0b75f0365da87fe5bf6e5e117aedfeee6b0496a3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "32a7e3555624af117fae245efba75940d5721f9b", "extensio...
stackv2
#include <Python.h> #include <structmember.h> #include <libspotify/api.h> #include <string.h> #include "pyspotify.h" #include "session.h" #include "toplistbrowser.h" #include "user.h" #include "album.h" #include "artist.h" #include "track.h" static void ToplistBrowser_browse_complete(sp_toplistbrowse *browser, void *d...
2.171875
2
2024-11-18T21:09:49.067174+00:00
2018-03-13T06:18:28
995c8d81e73a7d7b9bd4827d12a4f16de657898f
{ "blob_id": "995c8d81e73a7d7b9bd4827d12a4f16de657898f", "branch_name": "refs/heads/master", "committer_date": "2018-03-13T06:18:28", "content_id": "fa98d4a669a0e7f4f4c7921178606eb4cce4422b", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "f7fa665cdbdd99e6eb3d52c18f09f6c8435df685", "extens...
stackv2
#include "openssl/asn1.h" #include "openssl/asn1t.h" #include "openssl/bn.h" #include "openssl/rand.h" #include "openssl/rsa.h" #include "openssl/sha.h" #include "openssl/x509.h" #include "randombytes.h" void rsasignjs_init () { randombytes_stir(); } long rsasignjs_public_key_bytes () { return RSASIGNJS_PUBLEN; } ...
2.109375
2
2024-11-18T21:09:49.227451+00:00
2019-10-21T14:08:58
f10bce633bcca785ec9c56fbb221b36d7c897f70
{ "blob_id": "f10bce633bcca785ec9c56fbb221b36d7c897f70", "branch_name": "refs/heads/master", "committer_date": "2019-10-21T14:08:58", "content_id": "da76fba1d8c60dd233ac4be22bd93c665ae2c4ec", "detected_licenses": [ "MIT" ], "directory_id": "5ef3741db524f7a4a0accced304d60591b99f25f", "extension": "h"...
stackv2
//-------------------------------------------------< axlib v1.1 >---------------------------------------------------- //-------------------------------------------------< Библиотека для работы с OLED дисплеем SSD1306 >---------------------------------------------------- //-----------...
2.40625
2
2024-11-18T21:09:54.154175+00:00
2016-06-01T03:29:39
58f954bdaa01e153520580b562592fb170f0f3cf
{ "blob_id": "58f954bdaa01e153520580b562592fb170f0f3cf", "branch_name": "refs/heads/master", "committer_date": "2016-06-01T03:29:39", "content_id": "93cbee7735c364dfd2d4761e217bf6de5c60e1e2", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "15f4f76c0d25f988cfe72e3e8623fdd81f546359", "extens...
stackv2
/* * Copyright (C) 2014, shuangping chen <mincore@163.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
2.0625
2
2024-11-18T21:09:54.440915+00:00
2018-06-10T04:39:13
98e91ed20337dc287be944d06652006cbe87f32a
{ "blob_id": "98e91ed20337dc287be944d06652006cbe87f32a", "branch_name": "refs/heads/master", "committer_date": "2018-06-10T04:39:13", "content_id": "953ad28e5746ff4514a88bf18f628a09e1f7fa60", "detected_licenses": [ "Unlicense" ], "directory_id": "0209f47d7b4579a52aca67432bdf7348cea694fe", "extension...
stackv2
#include <iostream> using namespace std; void heapify(int arr[], int n, int i) { // Find largest among root, left child and right child int largest = i; int l = 2*i + 1; int r = 2*i + 2; if (l < n && arr[l] > arr[largest]) largest = l; if (right < n && arr[r] > arr[largest]) largest = r; ...
3.78125
4
2024-11-18T21:09:55.372751+00:00
2023-09-02T17:41:06
39be437ede496a437bc57eac2dcc71d9dd2fc8e9
{ "blob_id": "39be437ede496a437bc57eac2dcc71d9dd2fc8e9", "branch_name": "refs/heads/master", "committer_date": "2023-09-02T17:41:06", "content_id": "88bfc578cf525c5c50694625553a3481f3abc039", "detected_licenses": [ "Apache-2.0" ], "directory_id": "54ae02a305b94c6263cd2d888be2b8755b34bf4f", "extensio...
stackv2
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: rusty.lynch REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. Test case for assertion #12 of the ...
2.8125
3
2024-11-18T21:09:55.747179+00:00
2022-03-17T17:29:02
e58f16af688f9fac61f4fd8c78ca778251e93440
{ "blob_id": "e58f16af688f9fac61f4fd8c78ca778251e93440", "branch_name": "refs/heads/main", "committer_date": "2022-03-17T23:08:34", "content_id": "51aaf482eaae10139be075e9e98917ac0fe281be", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "bf6166890a2b70d6c3de35970ed3c1a6ff18572d", "extensio...
stackv2
// Copyright 2022 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
2
2
2024-11-18T21:09:55.822573+00:00
2020-08-24T17:33:23
c8d318fe6707af1876e36d722a8fdb374d9b741e
{ "blob_id": "c8d318fe6707af1876e36d722a8fdb374d9b741e", "branch_name": "refs/heads/master", "committer_date": "2020-08-24T17:33:23", "content_id": "386c61370daad0d19a8fd79627fce6af899f4dae", "detected_licenses": [ "MIT" ], "directory_id": "52e15922b024a12e3cf84ea784c5e478b1a0e3a8", "extension": "h"...
stackv2
// declaration of functions void ser_init(void); void tx(unsigned char c); unsigned char rx(void); void tx_str(unsigned char *s); void sms(unsigned char *num1,unsigned char *msg); void gsm_delay(void); unsigned int dell; void sms(unsigned char *num1,unsigned char *msg) // definition of sms function { ...
2.71875
3
2024-11-18T21:09:56.073214+00:00
2018-09-06T04:19:31
f51dc2caed635d0c57d0190f2dfafe46cce18813
{ "blob_id": "f51dc2caed635d0c57d0190f2dfafe46cce18813", "branch_name": "refs/heads/master", "committer_date": "2018-09-06T04:19:31", "content_id": "20e106711c69f23549a14cd087e959fcfda8516f", "detected_licenses": [ "MIT" ], "directory_id": "134fca5b62ca6bac59ba1af5a5ebd271d9b53281", "extension": "c"...
stackv2
extern char *mtainted (char *s); /*@untainted@*/ char *f (/*@tainted@*/ char *s, /*@untainted@*/ char *us) { char *x = f (us, s); /* Error: tainted as untainted */ return f (x, us); } void test (/*@tainted@*/ char *s) { char *t = malloc (sizeof (char) * strlen (s)); (void) system (s); /* error */ assert (...
2.71875
3
2024-11-18T21:09:56.309014+00:00
2017-05-25T20:27:15
2e33a4949e974314bd82535ecb23967adad1ca13
{ "blob_id": "2e33a4949e974314bd82535ecb23967adad1ca13", "branch_name": "refs/heads/master", "committer_date": "2017-05-25T20:27:15", "content_id": "4e83359738c3daa1fafd6f49f29665ee0f1bfaab", "detected_licenses": [ "MIT" ], "directory_id": "097181ead1c6748715dc7ef0b46627601e9e3405", "extension": "c"...
stackv2
#include "LibraryMerger.h" ArrayElement *labelsArr = NULL; Label *getStructLabel(int i) { Label *curLab = malloc(sizeof(Label)); Label *newLab = (Label *)get(labelsArr, i); if (newLab) { memcpy(curLab, newLab, sizeof(Label)); if (curLab) free(curLab); return newLab; } else ...
2.5625
3
2024-11-18T21:09:56.407220+00:00
2013-08-21T21:31:53
e5a7314ec990200ffbaa9712ef0a2bc7c9233291
{ "blob_id": "e5a7314ec990200ffbaa9712ef0a2bc7c9233291", "branch_name": "refs/heads/master", "committer_date": "2013-08-21T21:31:53", "content_id": "61a3a42e4538c8e3eec6f2bf7a8080e1f00c5f04", "detected_licenses": [ "MIT" ], "directory_id": "8f6f674f61a4046a834c1b5d3cfd1548864fcd44", "extension": "c"...
stackv2
#include <stdio.h> #include <malloc.h> #include <assert.h> #include <string.h> #include <math.h> #include "expr.h" #include "calc.h" //#define EXPR_VERBOSE // // Fast "variable list" hack ;) // #define MAX_VARIABLES 16 static TVariable var[MAX_VARIABLES]; void VL_Init (void) { int i; for (i=0; i<MAX_VARIABLE...
2.671875
3
2024-11-18T21:09:57.103905+00:00
2016-09-24T18:05:17
243a57e29f89f8910e88f509f10eaf9f50e39a45
{ "blob_id": "243a57e29f89f8910e88f509f10eaf9f50e39a45", "branch_name": "refs/heads/master", "committer_date": "2016-09-24T18:05:17", "content_id": "cd22ea42026aeb9fe6771041928f802c74b42097", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "541e48900e5fbc0a121e5a43c5e9a06ff89de2d1", "extens...
stackv2
/* xerbla_array.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the ...
2.15625
2
2024-11-18T21:09:57.200513+00:00
2023-06-23T10:11:23
a86029555489f89e288351c3303aab776a52a0c8
{ "blob_id": "a86029555489f89e288351c3303aab776a52a0c8", "branch_name": "refs/heads/main", "committer_date": "2023-06-23T10:11:23", "content_id": "ad83d227a9f89c726dbfb85512e2bfb0a20fc94a", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "803898f95f34521f4fc08ff42534888367ff4028", "extensio...
stackv2
#include "gdgrib.h" void pds_byt9 ( const char *parm, const char *wmotb, const char *nceptb, unsigned char *byte9, int *ibyt9, int *idt, int *iret ) /************************************************************************ * pds_byt9 * * * * This subroutine uses the GEMPAK GRIB parame...
2.140625
2
2024-11-18T21:09:57.356598+00:00
2018-12-19T11:30:26
f579a678f815494515970ed9e8331df64718a393
{ "blob_id": "f579a678f815494515970ed9e8331df64718a393", "branch_name": "refs/heads/master", "committer_date": "2018-12-19T11:30:26", "content_id": "c7820f35df62a2da2884e0006eacd41f249fbde1", "detected_licenses": [ "MIT" ], "directory_id": "9579b637d13f63c09a24b69ae3761bd3a77fdbc2", "extension": "c"...
stackv2
/** * main.c * * Copyright (C) 2018 daisuke-t. * * memory heap management code on C language. */ #include <stdio.h> #include "memory.h" int main(int argc, const char * argv[]) { void *p, *p2, *p3; // heap size. uint32_t heap_size_array[MEMORY_HEAP_MAX] = { 1024 * 1024 * 1, // 1MB 1024 * 1024 * 3, /...
2.90625
3
2024-11-18T21:09:57.563845+00:00
2018-11-21T18:02:04
741d3144755a6122ec10fa59ae7420333e610eb2
{ "blob_id": "741d3144755a6122ec10fa59ae7420333e610eb2", "branch_name": "refs/heads/master", "committer_date": "2018-11-21T18:02:04", "content_id": "d8f606bc725da088ae96a3b18e51e7372b43aa52", "detected_licenses": [ "MIT" ], "directory_id": "01204ed48a4b56d2b9396d4a55795b55ed6ad92c", "extension": "c"...
stackv2
#include "can.h" uint8_t transmission_complete = 0; void can_init() { mcp2515_init(); mcp2515_write(MCP_CANINTE, 0b00000101); // Enable recieve buffer 0 interrupt mcp2515_bit_modify(MCP_TXB0CTRL, (MCP_TXREQ), 0x00); // Clear transmit request bit mcp2515_write(MCP_CANINTF, 0); // Resetting all interrup...
2.828125
3
2024-11-18T21:09:57.872350+00:00
2020-05-05T03:22:31
7b8412919c7b4d609e6ef4fb3806d70a4fb92670
{ "blob_id": "7b8412919c7b4d609e6ef4fb3806d70a4fb92670", "branch_name": "refs/heads/master", "committer_date": "2020-05-05T03:22:31", "content_id": "fdb452ca7b980fd9816a8de08baccd08ce15f2da", "detected_licenses": [ "BSD-4-Clause-UC" ], "directory_id": "d6d598622d9fd92521674982aea93f145399d511", "ext...
stackv2
#include <inc/assert.h> #include <inc/string.h> #include <kern/e1000.h> #include <kern/pmap.h> // LAB 6: Your driver code here volatile void *e1000_bar_va; // tx #define TXDESC_CNT 32 #define TXPKT_SIZE 1518 struct e1000_tx_desc e1000_tx_desc_arr[TXDESC_CNT] __attribute__ ((aligned (16))); char e1000_tx_bu...
2.203125
2
2024-11-18T21:09:58.369528+00:00
2018-06-22T15:57:27
9cdeb543d38496e55c9255f2ad0d5783f17f76cb
{ "blob_id": "9cdeb543d38496e55c9255f2ad0d5783f17f76cb", "branch_name": "refs/heads/master", "committer_date": "2018-06-22T15:57:27", "content_id": "898c1ff40a687edc312ef498c1ad5b384eb22b15", "detected_licenses": [ "MIT" ], "directory_id": "c128a36abecf8e540bc7e66ae5b282129ed7ac7c", "extension": "c"...
stackv2
#include <string.h> #include <sys/wait.h> #define SIZE 512 int main(){ // 1.Definimos las pipes int a[2]; // Pipe padre -> hijo int b[2]; // Pipe hijo -> padre // 2.Creamos las pipes if(pipe(a) < 0){ perror("Close"); exit(-1); } if(pipe(b) < 0){ perror("Close"); exit(-1)...
3.1875
3
2024-11-18T21:09:58.646154+00:00
2023-04-24T09:43:23
8b73e26860b2e42ee8ff1a858e4c54b800fe8074
{ "blob_id": "8b73e26860b2e42ee8ff1a858e4c54b800fe8074", "branch_name": "refs/heads/master", "committer_date": "2023-04-24T09:43:23", "content_id": "90b2dcea3a11d573d9b6bf11ddeeb74f5cb8ba5e", "detected_licenses": [ "MIT" ], "directory_id": "41f3926cd680231f740c3af9d31d9c9c581483fe", "extension": "h"...
stackv2
/** ****************************************************************************** * @file: * @author: Cat * @version: V1.0 * @date: 2018-1-23 * @brief: * @attention: ****************************************************************************** */ /* Define to prevent re...
2.671875
3
2024-11-18T21:09:58.783927+00:00
2019-11-14T18:23:27
c505ff819435dcf0d35581c1dd4420fa7b23889c
{ "blob_id": "c505ff819435dcf0d35581c1dd4420fa7b23889c", "branch_name": "refs/heads/master", "committer_date": "2019-11-14T18:23:27", "content_id": "c6346b39122b5465f4cb613c1044f09b787f37ba", "detected_licenses": [ "MIT" ], "directory_id": "a3c893c3ad1eee13eda889b3c099fb9dbbb8b08a", "extension": "c"...
stackv2
// // BattleEvents.c // // // Created by Jonathan Panttaja on 2/1/16. // // #include <pebble.h> #include "AutoBattleEventConstants.h" #include "AutoSizeConstants.h" #include "Battle.h" #include "BattleEvents.h" #include "BinaryResourceLoading.h" #include "DialogFrame.h" #include "Events.h" #include "Logging.h" #in...
2.328125
2
2024-11-18T21:09:59.294384+00:00
2021-03-22T18:09:43
5cb8f9b800afa81a56bc0b95e454b4f9ba5c9dfb
{ "blob_id": "5cb8f9b800afa81a56bc0b95e454b4f9ba5c9dfb", "branch_name": "refs/heads/main", "committer_date": "2021-03-22T18:09:43", "content_id": "b7ac06172dfc4e68b02e5031da5a4999f2ef8762", "detected_licenses": [ "Apache-2.0" ], "directory_id": "259dd3523fb5d03a9739f1365b7d1b002a8979a2", "extension"...
stackv2
#include "carbuncle/core.h" #include "carbuncle/font.h" #include "carbuncle/rect.h" #include "carbuncle/point.h" #include "carbuncle/color.h" #include <carbuncle/nuklear_config.h> #include <nuklear.h> #include <mruby.h> #include <mruby/class.h> #include <mruby/data.h> #include <mruby/variable.h> #include <mruby/strin...
2.078125
2
2024-11-18T21:10:02.429949+00:00
2017-12-14T10:35:10
3f16050e473ff8aefc10aa86d7c8ff94bbf40438
{ "blob_id": "3f16050e473ff8aefc10aa86d7c8ff94bbf40438", "branch_name": "refs/heads/master", "committer_date": "2017-12-14T10:35:10", "content_id": "4382287fec0a5c82c910f24105e252684a354537", "detected_licenses": [ "MIT" ], "directory_id": "c2ed1aa5f10e1ef535a4941e6a8899aa9a9804ce", "extension": "c"...
stackv2
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* arg_opt.c :+: :+: :+: ...
2.609375
3
2024-11-18T21:10:02.596139+00:00
2023-08-13T07:00:15
b4c4afa1ba29df9120b686d5ed69508c9105de2d
{ "blob_id": "b4c4afa1ba29df9120b686d5ed69508c9105de2d", "branch_name": "refs/heads/master", "committer_date": "2023-08-13T07:00:15", "content_id": "88a52668800fa351879bd2da30cd27d91d7af052", "detected_licenses": [ "MIT" ], "directory_id": "2266eb133fc3121daf0aa7f4560626b46b94afe0", "extension": "c"...
stackv2
// apprentice.c #include <ansi.h> inherit F_CLEAN_UP; int main(object me, string arg) { object ob, old_app; mapping family, ob_family; if (me->is_busy()) return notify_fail("你现在正忙着呢。\n"); if (!arg) return notify_fail("指令格式:apprentice | bai [cancel]|<对象>\n"); if (arg == "cancel"...
2.21875
2
2024-11-18T21:10:02.684190+00:00
2016-11-29T09:55:24
15974139cea73471317325cd2582b26dbe8b7698
{ "blob_id": "15974139cea73471317325cd2582b26dbe8b7698", "branch_name": "refs/heads/master", "committer_date": "2016-11-29T09:55:24", "content_id": "03a9a951203a90290d23d0acb249862a88ea4cc2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "958aed8e352e8278d612b6c313e405569f4d0bf3", "extensio...
stackv2
// // main.c // 2016 es sui file // // Created by giacomo osso on 23/11/16. // Copyright © 2016 Giacomo Osso. All rights reserved. // #include <stdio.h> void es1(); void es2(); void es3(); void random(); void myrandom(); int main(int argc, const char * argv[]) { printf("Esercizio sui file!\n \n"); ...
3.28125
3
2024-11-18T21:10:03.433741+00:00
2020-06-18T08:35:56
7fb0309ab8662c9ce0949ddb3d4d4ba510483515
{ "blob_id": "7fb0309ab8662c9ce0949ddb3d4d4ba510483515", "branch_name": "refs/heads/master", "committer_date": "2020-06-18T08:35:56", "content_id": "0f20981760be4393d665a420a616313c6e9a0ed7", "detected_licenses": [ "Apache-2.0" ], "directory_id": "cc153bdc1238b6888d309939fc683e6d1589df80", "extensio...
stackv2
/* * osal_mem.c * * This file contains memory operations support for POSIX. * * Copyright (c) 2016, 2018 Qualcomm Technologies, Inc. * All Rights Reserved. * Confidential and Proprietary - Qualcomm Technologies, Inc. */ #include <stdlib.h> #include <string.h> #ifdef AUDIO_FEATURE_ENABLED_GCOV extern void __g...
2.53125
3
2024-11-18T21:10:03.598410+00:00
2019-01-24T06:38:29
34a38c25ba1e6ad2f26159bf2da7ff5fc3363319
{ "blob_id": "34a38c25ba1e6ad2f26159bf2da7ff5fc3363319", "branch_name": "refs/heads/master", "committer_date": "2019-01-24T06:38:29", "content_id": "db52c18cbe7cdcee76d9e3294fb13af40e53f8e5", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c0bff2dd2fc9bb9041d29e78845820d585949e6c", "extensio...
stackv2
// Initialization functions for an LTable datastore #ifndef DS_LTABLE_H #define DS_LTABLE_H #include <assert.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include "libhrd/hrd.h" // ct_assert and friends #include "hots.h" #include "datastore/ds.h" #include "rpc/rpc.h" #include "mappings/mappings.h"...
2.375
2
2024-11-18T21:10:03.969234+00:00
2021-09-19T20:18:52
2f1822f06a12346c2d08f8aee1175f6aead9437f
{ "blob_id": "2f1822f06a12346c2d08f8aee1175f6aead9437f", "branch_name": "refs/heads/main", "committer_date": "2021-09-19T20:18:52", "content_id": "f73b3fa0d0097cadaf00f6e52a7408fbecae7ca8", "detected_licenses": [ "MIT" ], "directory_id": "a1f964f6ba52ee9fafa8d089f1324b4fc8dddd88", "extension": "c", ...
stackv2
/* Timer helper routine -- compare values returned by gettimeofday system call and return a number of seconds. Taken from Parallel Mesh Database Jim Teresco, CS 338, Williams College Mon Feb 10 10:55:31 EST 2003 CS 341, Mount Holyoke College CS 400/CS 335, Siena College */ #include <stdlib.h> #...
2.84375
3
2024-11-18T21:10:04.282507+00:00
2014-12-26T15:16:49
857540e426c75467569eb68f0aac61095e5329d4
{ "blob_id": "857540e426c75467569eb68f0aac61095e5329d4", "branch_name": "refs/heads/master", "committer_date": "2014-12-26T15:16:49", "content_id": "46e9c679fdd567c2f5ea82928dfd6ecee6cc959a", "detected_licenses": [ "MIT" ], "directory_id": "c50d12370f33ef903c23c51bad8a907ec07351ef", "extension": "h"...
stackv2
// // bitcoind.h // xcode // // Created by jl777 on 7/30/14. // Copyright (c) 2014 jl777. All rights reserved. // #ifndef xcode_bitcoind_h #define xcode_bitcoind_h // lowest level bitcoind functions int64_t issue_bitcoind_command(char *extract,struct coin_info *cp,char *command,char *field,char *arg) { char ...
2.140625
2
2024-11-18T21:10:04.792460+00:00
2023-08-11T13:02:43
5294324919237f31d72432cf43c3aec44d8f1884
{ "blob_id": "5294324919237f31d72432cf43c3aec44d8f1884", "branch_name": "refs/heads/master", "committer_date": "2023-08-11T13:02:43", "content_id": "903e50e8b689a7f5304416c8aa95efccd2bfb70b", "detected_licenses": [ "MIT" ], "directory_id": "751d837b8a4445877bb2f0d1e97ce41cd39ce1bd", "extension": "c"...
stackv2
/* A string is called a Palpal string if it can be divided into contiguous substrings such that: Each character of the whole string belongs to exactly one substring. Each of these substrings is a palindrome with length greater than 1. For example, "abbbaddzcz" is a Palpal string, since it can be divided into "abbba",...
3.625
4
2024-11-18T21:10:04.860230+00:00
2015-03-02T07:39:23
c04101d6ced0a1791679a26984b9b8dbfa19ddc9
{ "blob_id": "c04101d6ced0a1791679a26984b9b8dbfa19ddc9", "branch_name": "refs/heads/master", "committer_date": "2015-03-02T07:39:23", "content_id": "6eeb35166ccc099f9f0ecf2d377e7b067adc3283", "detected_licenses": [ "Apache-2.0" ], "directory_id": "f37c3546f39d7ebc4236c043e740d68bf826e8c1", "extensio...
stackv2
/* Copyright (C) 2010-2015 Marvell International Ltd. Copyright (C) 2002-2010 Kinoma, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/lice...
2.328125
2
2024-11-18T21:10:05.048848+00:00
2021-07-28T17:39:08
f469046df331af23de15fbd5f1f1d90f36b42b9a
{ "blob_id": "f469046df331af23de15fbd5f1f1d90f36b42b9a", "branch_name": "refs/heads/master", "committer_date": "2021-07-28T17:39:08", "content_id": "0a597c7ff69fbba9df98ef915bb3c194164df656", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "edcdab4db6325e5ebe093ff7d90ec57eb5df80a8", "extens...
stackv2
/* * ************************************************************** * Copyright (c) 2017-2022, Aastha Mehta <aasthakm@mpi-sws.org> * All rights reserved. * * This source code is licensed under the BSD-style license found * in the LICENSE file in the root directory of this source tree. * *************************...
2.71875
3
2024-11-18T21:10:05.121232+00:00
2017-11-16T23:51:10
5531e9ac8d94c659439292a38519e12eccf9fe8f
{ "blob_id": "5531e9ac8d94c659439292a38519e12eccf9fe8f", "branch_name": "refs/heads/master", "committer_date": "2017-11-16T23:51:10", "content_id": "aa003732f9d409c2745f94291ba7e2a9940f22f0", "detected_licenses": [ "MIT" ], "directory_id": "a367c7da850ffe594441d6902313449d723ea765", "extension": "c"...
stackv2
/* * main.c * * Created on: Dec 11, 2014 * Author: spoofy */ #include "main.h" #include <stdlib.h> #include <string.h> #include "lzss.h" #include "decompressor.h" //#define DEBUG #define BUFFER_SIZE 8192 int main(int argc, char *argv[]) { #ifdef DEBUG fprintf(stderr, "############Begin Main############\...
2.890625
3
2024-11-18T21:10:05.315076+00:00
2023-03-23T05:16:23
dc4f904c07da44009a33ad924008e4ba3af7fe55
{ "blob_id": "dc4f904c07da44009a33ad924008e4ba3af7fe55", "branch_name": "refs/heads/master", "committer_date": "2023-03-27T14:18:46", "content_id": "232f5d05885e8d1a648f895a70ecebe416faac3f", "detected_licenses": [], "directory_id": "3ef2bbccf5b44055169135f52a216c3f78dd9c8c", "extension": "c", "filename...
stackv2
/*---------------------------------------------------------------------- * * pgquarrel -- comparing database schemas * * schema.c * Generate SCHEMA commands * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * CREATE SCHEMA * DROP SCHEMA * ALTER SCHEMA * COMMENT ON SCHEMA * * TODO * * ALTER SCHEMA ....
2.0625
2
2024-11-18T21:10:05.595547+00:00
2017-09-09T13:48:09
862a6ea312a5ebc70bc7f6fae7ee365c4b0590c8
{ "blob_id": "862a6ea312a5ebc70bc7f6fae7ee365c4b0590c8", "branch_name": "refs/heads/master", "committer_date": "2017-09-09T13:48:09", "content_id": "a0290e50a6adef0195fac74c4520c85b820bdbd3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "e300b6c991a4c2861d93d334a0c2c0355994514a", "extensio...
stackv2
#include "../atrshmlog_internal.h" #if ATRSHMLOG_PLATFORM_LINUX_X86_64_GCC == 1 \ || ATRSHMLOG_PLATFORM_CYGWIN_X86_64_GCC == 1 \ || ATRSHMLOG_PLATFORM_BSD_AMD64_CLANG == 1 \ || ATRSHMLOG_PLATFORM_BSD_AMD64_GCC == 1 \ || ATRSHMLOG_PLATFORM_SOLARIS_X86_64_GCC == 1 /** The shm stuff */ # include <sys/shm.h> #en...
2.109375
2
2024-11-18T21:10:05.777875+00:00
2016-11-22T09:46:53
2c749cade6c613d4df4d2f8a7ebed91bfb71fc60
{ "blob_id": "2c749cade6c613d4df4d2f8a7ebed91bfb71fc60", "branch_name": "refs/heads/master", "committer_date": "2016-11-22T09:46:53", "content_id": "a1d8b61abfd78dd25b364ea043a41fd01a153a09", "detected_licenses": [ "MIT" ], "directory_id": "c9d316b14d4b7bbfdb9629aec5e5428f2e627ee2", "extension": "c"...
stackv2
/* * DHT11_2560_C.c * * Created: 11/3/2016 8:18:34 PM * Author : charlie */ #include <avr/io.h> #include "driver/uart.h" #include "driver/dht.h" #define F_CPU 16000000UL #include <util/delay.h> int main(void) { int8_t humidity; int8_t temperature; USART0_SETUP_9600_BAUD_ASSUME_1MHz_CLOCK(); fprintf(USART,...
2.546875
3
2024-11-18T21:10:05.856449+00:00
2019-02-03T18:55:26
e9fd49b700312afe1f884a7e45391d2cd3eaa3ee
{ "blob_id": "e9fd49b700312afe1f884a7e45391d2cd3eaa3ee", "branch_name": "refs/heads/master", "committer_date": "2019-02-03T18:55:26", "content_id": "0b75bcdbba46bcae8f659511de7910ce93ee0562", "detected_licenses": [ "MIT" ], "directory_id": "5415b5c6742697f08ed88317534c62198c3b74b4", "extension": "h"...
stackv2
#ifndef __LLAB_DT_H__ #define __LLAB_DT_H__ #include <stdio.h> #include <stdlib.h> #include <string.h> #define CONDITION_A(x,y) (x > y) #define CONDITION_B(x,y) (x >= y) #define CONDITION_C(x,y) (x == y) #define CONDITION_D(x,y) (x <= y) #define CONDITION_E(x,y) (x < y) #define CONDITION_F(x,y) (!strcmp(x,y)) typed...
2.234375
2
2024-11-18T21:10:05.935867+00:00
2021-06-17T17:21:14
c3dc561634fb23d58fb56f78d37ef71906a5143e
{ "blob_id": "c3dc561634fb23d58fb56f78d37ef71906a5143e", "branch_name": "refs/heads/master", "committer_date": "2021-06-17T17:21:14", "content_id": "2a7c8be0553ea16851e1661a93bb011a21d4358f", "detected_licenses": [ "Unlicense" ], "directory_id": "66333ba2e93127954a825fca475d808adfd73451", "extension...
stackv2
#include <string.h> #include <assert.h> #include <kmbint.h> typedef void (*divide_fn_t)(char *rest_num, size_t len_rest_num, char **divs, size_t len_divs, char *bint_out); void kmbint_add(char *bint, const char *to_add) { size_t len_bint = strlen(bint); size_t len_to_add = strlen(to_add); if (...
2.8125
3
2024-11-18T21:10:06.108855+00:00
2018-02-20T18:56:31
f6b50351b782e3c7f9733ab8f30a96f37c362457
{ "blob_id": "f6b50351b782e3c7f9733ab8f30a96f37c362457", "branch_name": "refs/heads/master", "committer_date": "2018-02-20T18:56:31", "content_id": "fd2c04e2520cd5177d894db3544d866a9ebba835", "detected_licenses": [ "MIT" ], "directory_id": "a0df40daf9fa5e8f66cf75a528706821a5ae6891", "extension": "c"...
stackv2
#include "types.h" #include "user.h" int main(void) { int i = 1, j, x, single = 1, update = 1; char abs[52]; getpath(0, abs); char *path = "test"; char *token_cab; char *token_path; char *path_arr[128]; if(update == 1){ getpath(0, token_cab); token_path = path; path...
2.53125
3
2024-11-18T21:10:07.265492+00:00
2018-11-05T17:00:14
9945202fd5b4d18fe1f6f70be9e8c33d2648cbbc
{ "blob_id": "9945202fd5b4d18fe1f6f70be9e8c33d2648cbbc", "branch_name": "refs/heads/master", "committer_date": "2018-11-05T17:00:14", "content_id": "6f3b425bc55674340b8dd933b1c8dd066ad411d6", "detected_licenses": [ "CC0-1.0" ], "directory_id": "fc149656c67a7c8fbf73473c54203af093cd94af", "extension":...
stackv2
/* ====================================================================== * * ファイル名 : ROVND_GetKind.c * 概要 : アイテムの種類を取得する * 作成者 : clown * 修正日 : 2003/11/23 * ====================================================================== */ #include <stdlib.h> #include <string.h> #include "ROVND_Proto....
2.53125
3
2024-11-18T21:10:08.280664+00:00
2016-10-16T00:11:28
b97c23087efae358313f619acd5579ba4d57ac37
{ "blob_id": "b97c23087efae358313f619acd5579ba4d57ac37", "branch_name": "refs/heads/master", "committer_date": "2016-10-16T00:11:28", "content_id": "40ebafc4b8b6245c2867c799cdfe4baf3317bea7", "detected_licenses": [ "MIT" ], "directory_id": "9a2d2ff210e52222151593977945d312e65fc7ba", "extension": "c"...
stackv2
/* File: h_read.c */ /****************************************************************************/ /* By default, this program reads headers from the files specified on the */ /* command line and prints the values of all fields in the headers. */ /* Various options can alter the output. ...
2.328125
2
2024-11-18T21:10:08.361842+00:00
2021-09-10T11:24:53
eaca1307e0285c22f36169827ab57aefdda7542c
{ "blob_id": "eaca1307e0285c22f36169827ab57aefdda7542c", "branch_name": "refs/heads/master", "committer_date": "2021-09-10T11:24:53", "content_id": "b74e66b58d1b3dbbf262cf115ced87fe1f81ff4c", "detected_licenses": [ "MIT" ], "directory_id": "936fa91805ad7e156705a3446f88ddd258b77a4f", "extension": "h"...
stackv2
#pragma once #include <d3d11.h> #include <wrl/client.h> struct Dx11RenderTarget { Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_rtv; Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_srv; Microsoft::WRL::ComPtr<ID3D11DepthStencilView> m_dsv; bool Initialize(ID3D11Device *device, const Mi...
2.3125
2
2024-11-18T21:10:08.644335+00:00
2021-07-27T12:38:58
687fc0f4c57d4031150f6cb1ea59ce43fc9977d1
{ "blob_id": "687fc0f4c57d4031150f6cb1ea59ce43fc9977d1", "branch_name": "refs/heads/master", "committer_date": "2021-07-27T12:38:58", "content_id": "81cc46c83caf7fe13f86844d0414cf23063752c4", "detected_licenses": [ "MIT" ], "directory_id": "4ab7b74328927c66671a6aae9fcf77c85b22e210", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <csv.h> static const char me[] = "column"; #define USED(x) \ if (x) \ ; \ else { \ } int main(int argc, char** argv) { int i, nr; double* field; struct CSV* csv; USED(argc); argv++; csv = csv_read(stdin); nr = csv_nr(c...
2.609375
3
2024-11-18T21:10:08.948921+00:00
2021-06-05T12:11:50
1ac7018c3c05e9fb2be13c3d92afce300cb2d8ed
{ "blob_id": "1ac7018c3c05e9fb2be13c3d92afce300cb2d8ed", "branch_name": "refs/heads/main", "committer_date": "2021-06-05T12:11:50", "content_id": "5b93231541add39a73c49918298dbeeff4d899b1", "detected_licenses": [ "MIT" ], "directory_id": "e8582383b3e362fa4dd02573d4feb3cbe792b96b", "extension": "c", ...
stackv2
#include "include/BigBalls/sphereCollider.h" #include <stdlib.h> #include <assert.h> void SphereCollider_init(SphereCollider *sphereCollider){ assert(sphereCollider != NULL); sphereCollider->xOffset = 0.0f; sphereCollider->yOffset = 0.0f; sphereCollider->zOffset = 0.0f; sphereCollider->xPostRot = 0...
2.21875
2
2024-11-18T21:10:09.053050+00:00
2022-05-27T05:57:37
57e338361c9b6e51284704ea6fb104d1aae3b52a
{ "blob_id": "57e338361c9b6e51284704ea6fb104d1aae3b52a", "branch_name": "refs/heads/master", "committer_date": "2022-05-27T05:57:37", "content_id": "0c4bc80cf601eea8382d4ff9189451dfbfb8162b", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "4e40487eb963985c55a8b4a0518d0d4612e5291e", ...
stackv2
#include "device_functions.h" #if __has_builtin(__hip_atomic_compare_exchange_strong) #if !__HIP_DEVICE_COMPILE__ //TODO: Remove this after compiler pre-defines the following Macros. #define __HIP_MEMORY_SCOPE_SINGLETHREAD 1 #define __HIP_MEMORY_SCOPE_WAVEFRONT 2 #define __HIP_MEMORY_SCOPE_WORKGROUP 3 #define __HIP...
2.125
2
2024-11-18T21:10:10.363825+00:00
2021-02-24T13:42:25
d145abb7e047936206e0e358f459701c9707b3c8
{ "blob_id": "d145abb7e047936206e0e358f459701c9707b3c8", "branch_name": "refs/heads/master", "committer_date": "2021-02-24T13:42:25", "content_id": "7a80ba5f12e550987e32e8acbee19c84981a2490", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b5a22da19e74bfc2d1add781f94bcbde8f0c362c", "extens...
stackv2
/** * Copyright (c) 2020, Evgeniy Morozov * All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <assert.h> #include "rt_hit.h" void rt_hit_record_set_front_face(rt_hit_record_t *record, const ray_t *ray...
2.453125
2
2024-11-18T21:10:10.849161+00:00
2019-03-31T11:22:20
fac8993adb7fd50467fad6eae81975da52dd7206
{ "blob_id": "fac8993adb7fd50467fad6eae81975da52dd7206", "branch_name": "refs/heads/master", "committer_date": "2019-03-31T14:01:26", "content_id": "0848711d2e4f99efcb487eaf367dcf51b90da882", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "770e40fe61cf611cda3ef10e88e8110131a26e58", "extens...
stackv2
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2018-2019 Mutant Industries ltd. #include <driver/IO.h> #include <stddef.h> #include <compiler.h> #include <driver/interrupt.h> // maximum count of 8-bit addressable ports #define MAX_PORT_COUNT 12 // array of pointers to registered drivers, persistent to al...
2.234375
2
2024-11-18T21:10:11.141540+00:00
2015-09-13T05:04:21
ae443e03f097444940ae3fd6f5264adbe5e9846f
{ "blob_id": "ae443e03f097444940ae3fd6f5264adbe5e9846f", "branch_name": "refs/heads/master", "committer_date": "2015-09-13T05:04:21", "content_id": "7fd1086f145339e3446b163a84f91d5eb56b74db", "detected_licenses": [ "Apache-2.0" ], "directory_id": "6b65f5bb7225533d1927fb1fbecea1310329b4b6", "extensio...
stackv2
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed...
2.359375
2
2024-11-18T21:10:11.273357+00:00
2011-09-10T16:49:43
ee62e2e64f1f2ef6ada7a686b470e20162aa8107
{ "blob_id": "ee62e2e64f1f2ef6ada7a686b470e20162aa8107", "branch_name": "refs/heads/master", "committer_date": "2011-09-10T16:49:43", "content_id": "6be7214c5c8d41548ffda47c434a040cfe9f832f", "detected_licenses": [ "MIT-advertising" ], "directory_id": "64b5f8f8fff4177bbb6a1f10480a8442fba2b781", "ext...
stackv2
/* * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 */ #ifdef HAVE_CONFIG_H # include <config.h> #endif #if USE_GNUTLS # include <gnutls/gnutls.h> #elif USE_OPENSSL # include <openssl/ssl.h> #endif #ifdef HAVE_WS2TCPIP_H # include <ws2tcpip.h> #endif #include "Ecore.h" #include "ecore_con_private.h" static in...
2.046875
2
2024-11-18T21:10:11.672027+00:00
2019-07-08T13:20:36
be66f0dce2a466fe7c12ea5678165a9b632383be
{ "blob_id": "be66f0dce2a466fe7c12ea5678165a9b632383be", "branch_name": "refs/heads/master", "committer_date": "2019-07-08T13:20:36", "content_id": "c765ee6fac5761211369718ff5a1046344502d4e", "detected_licenses": [ "MIT" ], "directory_id": "726d8b758ed3c18cb26b34203caebac3387e9c03", "extension": "h"...
stackv2
#ifndef QUEUE2_H #define QUEUE2_H //this is Queue implemented with linked list -->use for url queue of webcrawler //(header of queue2.c) typedef struct QueueNodeType* q_lnk; struct QueueNodeType{ char *item; q_lnk next; }; typedef struct{ q_lnk front; q_lnk rear; int count; }url_queue; //functions void uqueu...
2.21875
2
2024-11-18T21:10:12.207312+00:00
2015-05-03T09:28:43
aa7c132a6676907d56d8924fb95098af9c4d298f
{ "blob_id": "aa7c132a6676907d56d8924fb95098af9c4d298f", "branch_name": "refs/heads/master", "committer_date": "2015-05-03T09:28:43", "content_id": "508472d84f3ebe7e20759bbd2a9f08251f32ffa5", "detected_licenses": [ "MIT" ], "directory_id": "4d676e4bb9e956c57d5d9dbd921d385def523c4f", "extension": "h"...
stackv2
#pragma once /**@file cls === The first user defined data type is a cls itself. here is a table of all built-in class | var name | note | |------------------------|--------------------------------------| | voba_cls_func | function object, see fun.h | |...
2.015625
2
2024-11-18T21:10:12.296509+00:00
2023-03-08T20:42:48
5da4cb0edc17b0499fb266b9e76d644668fbc36c
{ "blob_id": "5da4cb0edc17b0499fb266b9e76d644668fbc36c", "branch_name": "refs/heads/master", "committer_date": "2023-03-08T20:42:48", "content_id": "0c0f70a7d43a70e24d6dfee25b5b7a8be3f49865", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "0ab78d9b913d22b626508ab993367555cc099fcb", "extens...
stackv2
/* Copyright (c) 1998 - 2005, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list o...
2.0625
2
2024-11-18T21:10:12.974885+00:00
2021-01-25T15:01:34
2ec1bd7ef87ddbafef9c51abf64d1240ebf3eb4a
{ "blob_id": "2ec1bd7ef87ddbafef9c51abf64d1240ebf3eb4a", "branch_name": "refs/heads/master", "committer_date": "2021-01-25T15:01:34", "content_id": "d41da8a11fdbc05a2836e961ae9d10b1ccc05032", "detected_licenses": [ "curl" ], "directory_id": "551d4aba84f5fba010e14a7bb8a5d8e75db38bd7", "extension": "c...
stackv2
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
2.375
2
2024-11-18T21:10:13.594529+00:00
2017-06-18T09:13:57
eaf36038867051f8b97af523073f3f4bd27de240
{ "blob_id": "eaf36038867051f8b97af523073f3f4bd27de240", "branch_name": "refs/heads/master", "committer_date": "2017-06-18T09:13:57", "content_id": "9a9f46ce18c5a7f9e4461b0ed94590fd3747c054", "detected_licenses": [ "Apache-2.0" ], "directory_id": "496bea0ce91fd2f009daaef6c5b70f2c5bf7c8fc", "extensio...
stackv2
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> int main(int argc, char** argv){ char* file_name = NULL; int seconds = 10; if(argc <= 1){ fprintf(stderr, "USAGE: %s [file] {[sec]}\n", argv[0]); return EXIT_FAILURE; } else { ...
2.875
3
2024-11-18T21:10:15.531978+00:00
2021-07-16T20:44:46
e8851adff4a34fd3e211f88ed2a715c7625d8272
{ "blob_id": "e8851adff4a34fd3e211f88ed2a715c7625d8272", "branch_name": "refs/heads/master", "committer_date": "2021-07-16T20:44:46", "content_id": "7b96951953fb6d6eb8df28330028a4ac6a5b886c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "c975a1e1d213ae87e2e106b72854f60ba6d7b8d9", "extensio...
stackv2
/******************************************************************************/ /* Logging. */ /* */ /* Copyright 2015 Jim Buller ...
2.015625
2
2024-11-18T21:10:16.037204+00:00
2021-05-27T17:36:34
46f1949b7b37d7673a59d6f7fb30d2160bf64d6b
{ "blob_id": "46f1949b7b37d7673a59d6f7fb30d2160bf64d6b", "branch_name": "refs/heads/main", "committer_date": "2021-05-27T17:36:34", "content_id": "1f8dfaadd624466c42ca125eca49562b5bffeaea", "detected_licenses": [ "MIT" ], "directory_id": "7e9707d31d0ad035c7e47ab20bde16c645597e70", "extension": "h", ...
stackv2
#ifndef PLATFORM_TYPE_SIZE_H #define PLATFORM_TYPE_SIZE_H #include "inttypes_wrapper.h" #include "os_detect.h" /*#include "inttypes_wrapper.h"*/ #include <limits.h> #ifdef PLATFORM_LINUX #if UINT_MAX == UINTMAX_C(4294967295) #define INT_SIZE UINT8_C(4) #else #if UINT_MAX == UINTMAX_C(18446744073709551615...
2.03125
2
2024-11-18T21:10:16.201266+00:00
2020-10-14T11:12:26
edf36f7b4b184069030dccbc1141659d02364a01
{ "blob_id": "edf36f7b4b184069030dccbc1141659d02364a01", "branch_name": "refs/heads/master", "committer_date": "2020-10-14T11:12:26", "content_id": "a5ca89e5733459bdf8e392ba28bbb99ce340660c", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ef111a7c8d8d4d10697f24fc0103090d17f1af47", "extensio...
stackv2
/** * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
2.046875
2
2024-11-18T21:10:16.274589+00:00
2023-08-18T12:54:06
f4156afb1eabe2466d307332d4d10423b6eca97b
{ "blob_id": "f4156afb1eabe2466d307332d4d10423b6eca97b", "branch_name": "refs/heads/master", "committer_date": "2023-08-18T12:54:06", "content_id": "8730420b43f59d60d02cbc0c7e0accbc5561ee88", "detected_licenses": [ "MIT" ], "directory_id": "22446075c2e71ef96b4a4777fe966714ac96b405", "extension": "c"...
stackv2
/*! * @file main.c * @brief MagneticRotary4 Click example * * # Description * This example demonstrates the use of Magnetic Rotary 4 click board by reading * and displaying the magnet (potentiometer) angular position in degrees. * * The demo application is composed of two sections : * * ## Application Init ...
3.125
3
2024-11-18T21:10:16.397136+00:00
2021-03-03T02:01:32
7e312bf08b84ea07ccb5c2275e62b349afc8c857
{ "blob_id": "7e312bf08b84ea07ccb5c2275e62b349afc8c857", "branch_name": "refs/heads/master", "committer_date": "2021-03-03T02:01:32", "content_id": "032507e09d6011ec70b96b39b9ebe96c29360e18", "detected_licenses": [ "MIT" ], "directory_id": "135dc036d1a10b1672efd2cb10166578e9b7439d", "extension": "h"...
stackv2
#include "src/math/reinterpret.h" #include <time.h> #include <stdint.h> static double bench(double f(double)) { volatile double dummy; clock_t start = clock(); for (uint64_t i = 0x7FF8000000000000; i <= 0xFFF0000000000000; i += 0x0000000893205C62) { double x = reinterpret(double, i); dummy...
2.375
2
2024-11-18T21:10:16.591042+00:00
2021-08-26T11:18:55
d8b15cbd92bafce36d575f14c0ec9c506e04c0b2
{ "blob_id": "d8b15cbd92bafce36d575f14c0ec9c506e04c0b2", "branch_name": "refs/heads/master", "committer_date": "2021-08-26T11:18:55", "content_id": "1ec4709a9b628f70514924c9ff9661e49853c16e", "detected_licenses": [ "MIT" ], "directory_id": "ae8047ad8a872854fd2299351b97aef959a5031b", "extension": "c"...
stackv2
#include <basic.h> #include <snx/fs.h> #include <snx/irq.h> #include <snx/panic.h> #include <snx/thread.h> #include <snx/tty.h> #include <stdio.h> #include <x86/cpu.h> #include <x86/pic.h> #include <x86/uart.h> #define UART_DATA 0 #define UART_INTERRUPT_ENABLE 1 #define UART_BAUD_LOW 0 #define UART_BAUD_HIGH 1 #define...
2.4375
2
2024-11-18T21:10:16.674628+00:00
2018-07-23T14:46:06
7eb71ae41b846a984810d0c22535029af66acaf5
{ "blob_id": "7eb71ae41b846a984810d0c22535029af66acaf5", "branch_name": "refs/heads/master", "committer_date": "2018-07-23T14:46:06", "content_id": "40935e886d3207a3b25e48fccde29730594ec6a7", "detected_licenses": [ "MIT" ], "directory_id": "8bbeb7b5721a9dbf40caa47a96e6961ceabb0128", "extension": "c"...
stackv2
/* <p>Determine if a&nbsp;9x9 Sudoku board&nbsp;is valid.&nbsp;Only the filled cells need to be validated&nbsp;<strong>according to the following rules</strong>:</p> <ol> <li>Each row&nbsp;must contain the&nbsp;digits&nbsp;<code>1-9</code> without repetition.</li> <li>Each column must contain the digits&nbsp;<code>1...
2.796875
3
2024-11-18T21:10:17.143055+00:00
2023-02-23T13:08:52
5d7663c133313e904255fe22106e87898347fb12
{ "blob_id": "5d7663c133313e904255fe22106e87898347fb12", "branch_name": "refs/heads/master", "committer_date": "2023-02-23T13:08:52", "content_id": "6ac41a93501ca273f9dfe1683d3f7e771c5f2822", "detected_licenses": [ "MIT" ], "directory_id": "722c0a166c811e66a4a77f6cd985e0ecf5140123", "extension": "c"...
stackv2
/*------------------------------------------------------------------ * test_strcat_s * File 'str/strcat_s.c' * Lines executed:90.16% of 61 * *------------------------------------------------------------------ */ #include "test_private.h" #include "safe_str_lib.h" #if defined(TEST_MSVCRT) && defined(HAVE_STRCAT_S...
2.34375
2
2024-11-18T21:10:17.206990+00:00
2021-04-22T07:33:05
1b72c9ebe35e9c365aa54e707dcb692877eaaca5
{ "blob_id": "1b72c9ebe35e9c365aa54e707dcb692877eaaca5", "branch_name": "refs/heads/develop", "committer_date": "2021-04-22T07:33:05", "content_id": "47376be9a28e2573b3bbede05f8db8013bb806b7", "detected_licenses": [ "MIT" ], "directory_id": "466dd8e02ecf9ebf2147e2423d9b7daa30883983", "extension": "c...
stackv2
/* * Read device information */ #include "lwgsm/lwgsm.h" /** * \brief Device info string array */ static char dev_str[20]; /** * \brief Start SMS send receive procedure */ void read_device_info(void) { /* Read information */ /* Read device manufacturer */ lwgsm_device_get_manufa...
2.359375
2
2024-11-18T21:10:17.525150+00:00
2022-11-24T19:58:32
c0e27fdc505ad914bd23546944a2b3fa3c219f7e
{ "blob_id": "c0e27fdc505ad914bd23546944a2b3fa3c219f7e", "branch_name": "refs/heads/master", "committer_date": "2022-11-24T19:58:32", "content_id": "de837952d9adcee930da23aa83fb9d87b87a7024", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "ae41a6e8b1033015a5a622e4e7b5f90453632741", "extens...
stackv2
#ifndef LINUX_POISON_H #define LINUX_POISON_H /* * These are non-NULL pointers that will result in page faults * under normal circumstances, used to verify that nobody uses * non-initialized list entries. * Make sure the values raise faults when these addresses are * read/written. */ #define LIST_POISON1 ((void ...
2.15625
2
2024-11-18T21:10:17.757335+00:00
2023-02-06T19:13:47
b555c4766e133afeaa8cdba3cadeb01eba14c319
{ "blob_id": "b555c4766e133afeaa8cdba3cadeb01eba14c319", "branch_name": "refs/heads/master", "committer_date": "2023-02-06T19:13:47", "content_id": "f1e00c43a9d9a931d8f48e936e06f317319c5c55", "detected_licenses": [ "MIT" ], "directory_id": "951708999ab2f394416d8f3cc07898d9fbb24689", "extension": "c"...
stackv2
#include "os.h" #include <mp.h> #include "dat.h" // convert an mpint into a big endian byte array (most significant byte first; left adjusted) // return number of bytes converted // if p == nil, allocate and result array int mptobe(mpint *b, uchar *p, uint n, uchar **pp) { uint m; m = (mpsignif(b)+7)/8; if(m =...
2.421875
2
2024-11-18T21:10:18.018705+00:00
2022-06-06T11:41:15
942de373aabdde9416a2d05b60ba8593a35c1b10
{ "blob_id": "942de373aabdde9416a2d05b60ba8593a35c1b10", "branch_name": "refs/heads/master", "committer_date": "2022-06-06T11:41:15", "content_id": "7c9a4b00ed8347ecceb363a6453db9440efcce04", "detected_licenses": [ "MIT" ], "directory_id": "f1fff1ec58708a7770bdd5491ff54349587530e9", "extension": "c"...
stackv2
#include <stdio.h> struct color { int R; int G; int B; }; struct color blue = {.B = 255}; // initialize specific structure fields void print_color_info(struct color *c) { printf("%d %d %d\n", c->R, c->G, c->B); }; struct color f(int x, int y, int z) { return (struct color){.R = x, .G = y, .B = z}; }; int ...
3.609375
4
2024-11-18T21:10:18.303204+00:00
2018-06-17T06:30:47
d7f5788dd4e1a795c4afca9ed8bcef897fd29360
{ "blob_id": "d7f5788dd4e1a795c4afca9ed8bcef897fd29360", "branch_name": "refs/heads/master", "committer_date": "2018-06-17T06:30:47", "content_id": "0e285db2b694fac4f31978cfb4c10d40535d41e9", "detected_licenses": [ "MIT" ], "directory_id": "ece52181d25c29873552819266ac03062bb604aa", "extension": "c"...
stackv2
/* * definition for execv syscall * */ #include <types.h> #include <limits.h> #include <kern/errno.h> #include <proc.h> #include <proc_table.h> #include <thread.h> #include <current.h> #include <syscall.h> #include <vnode.h> #include <vfs.h> #include <addrspace.h> #include <copyinout.h> #include <files_table.h> #d...
2.609375
3
2024-11-18T21:10:18.887797+00:00
2018-11-15T18:54:18
71ec0889e9031a93a7b5c95a3da4a8d88056ddd4
{ "blob_id": "71ec0889e9031a93a7b5c95a3da4a8d88056ddd4", "branch_name": "refs/heads/master", "committer_date": "2018-11-15T18:54:18", "content_id": "e06e26078b76eee215273156cb54cbcfd4dbbe52", "detected_licenses": [ "BSD-3-Clause", "BSD-3-Clause-Open-MPI" ], "directory_id": "c609337f8d919e5e1e26775...
stackv2
/* * This test program is derived from a unit test created by Nick Park. * The original unit test is a work of the U.S. Government and is not subject * to copyright protection in the United States. Foreign copyrights may * apply. * * Copyright (c) 2017 Intel Corporation. All rights reserved. * This softwa...
2.1875
2
2024-11-18T21:10:19.168105+00:00
2019-07-07T10:31:15
9cb27b103304ca35c57338028634432b48d7ea7f
{ "blob_id": "9cb27b103304ca35c57338028634432b48d7ea7f", "branch_name": "refs/heads/master", "committer_date": "2019-07-07T10:31:15", "content_id": "f6213b781bf7336f315f63b38cc7f98898ede35c", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "660f68ac120169d35485e448b3558b2fbb389ae2", ...
stackv2
#include <limits.h> #include <math.h> #include "carp_stdbool.h" float Float__PLUS_(float x, float y) { return x + y; } float Float__MINUS_(float x, float y) { return x - y; } float Float__MUL_(float x, float y) { return x * y; } float Float__DIV_(float x, float y) { return x / y; } bool Float__LT_(float x, float y) { ...
2.75
3
2024-11-18T21:10:19.270951+00:00
2012-09-07T01:20:24
df7fdf2d800674eae0932f8c5e112ccc3efa8731
{ "blob_id": "df7fdf2d800674eae0932f8c5e112ccc3efa8731", "branch_name": "refs/heads/master", "committer_date": "2012-09-07T01:20:24", "content_id": "83704b48c8b38d39d401f1e2e122e6455966ad59", "detected_licenses": [ "Apache-2.0" ], "directory_id": "27889c6ea594acf18c0425812c9b3ff484f72e7e", "extensio...
stackv2
/* * libtcore * * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: Ja-young Gu <jygu@samsung.com> * * 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 *...
2.140625
2
2024-11-18T21:10:19.335171+00:00
2023-08-14T02:54:21
3c955557705bec29ed970d72bf814c4a4029260b
{ "blob_id": "3c955557705bec29ed970d72bf814c4a4029260b", "branch_name": "refs/heads/main", "committer_date": "2023-08-14T02:54:21", "content_id": "8c1d13fdfb5bc8c0e2b984b89f1050cf528d88ae", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7d614bd11481c2097962f9eb67e7afd9701922e7", "extensio...
stackv2
/* block-level tags for passing html blocks through the blender */ #include <stdio.h> #define __WITHOUT_AMALLOC 1 #include "config.h" #include "cstring.h" #include "tags.h" STRING(struct kw) blocktags; /* define a html block tag */ static void define_one_tag(char *id, int selfclose) { struct kw *p = &EXPAND(b...
2.625
3
2024-11-18T21:10:19.993359+00:00
2022-02-18T02:38:28
6e9c4c895843f32854df3bd0ce0422691b1e9711
{ "blob_id": "6e9c4c895843f32854df3bd0ce0422691b1e9711", "branch_name": "refs/heads/master", "committer_date": "2022-02-18T02:38:28", "content_id": "44a2804a498de08c9417f2442a85c39371be8a5d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ece93d5aa02aaa405c1f1be552c61914a84c7703", "extensio...
stackv2
/* * (C) 2010-2011 Alibaba Group Holding Limited * * 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...
2
2
2024-11-18T21:10:20.055422+00:00
2019-02-26T23:00:28
94ba710297db5b8bac4e22252dbdc90eb22e10db
{ "blob_id": "94ba710297db5b8bac4e22252dbdc90eb22e10db", "branch_name": "refs/heads/master", "committer_date": "2019-02-26T23:00:28", "content_id": "79c1b85e68bbec3b9d5ac5a436c543ac73a3a3cd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b0c89db4f26c3e0867c9b9031319a727e015db11", "extens...
stackv2
#ifndef FT_COLS_STACK_H_ #define FT_COLS_STACK_H_ // Lock-free (!) stack // // A lock-free stack doesn’t require the use of mutex locks. // More generally, it’s a data structure that can be accessed from multiple threads without blocking. // Lock-free data structures will generally provide better throughput than mute...
2.671875
3
2024-11-18T21:10:20.140332+00:00
2017-12-04T01:37:28
485bb33267a47690c110904295b9735230f9ca9e
{ "blob_id": "485bb33267a47690c110904295b9735230f9ca9e", "branch_name": "refs/heads/master", "committer_date": "2017-12-04T01:37:28", "content_id": "d698746c0684b32732ebb7617923b0e0ed3a03a3", "detected_licenses": [ "MIT" ], "directory_id": "954f27cf9a743b511a05ff9142e11d32cfe23456", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <limits.h> #include <string.h> #include <time.h> #include <sys/time.h> #include <netinet/in.h> #include "fsmCliente.h" #include "../commom/tp_socket.h" #include "../commom/arquivo.h" #include "../commom/pacote.h" #include "../commom/transacao.h" #defin...
2.359375
2
2024-11-18T21:10:20.204166+00:00
2015-03-15T21:09:15
82895ca545cfb4eca1dc2b8ddb491a2892f49895
{ "blob_id": "82895ca545cfb4eca1dc2b8ddb491a2892f49895", "branch_name": "refs/heads/master", "committer_date": "2015-03-15T21:09:24", "content_id": "b5606d6165bcab7fb165bf61582b8046a3aa700f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "21c99b5150004b2d2b532b41a625414277118a80", "extensio...
stackv2
/* * Copyright 2014 Samuele Maci (macisamuele@gmail.com) * * 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 applica...
2.109375
2
2024-11-18T21:10:20.278563+00:00
2023-08-17T16:08:06
faedc6aabe5bbe47df67206e0ddf1a9163a6e6db
{ "blob_id": "faedc6aabe5bbe47df67206e0ddf1a9163a6e6db", "branch_name": "refs/heads/main", "committer_date": "2023-08-17T16:08:06", "content_id": "1b542e2f4035d7ded4fbfebe82732a6ad150d079", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "eecd5e4c50d8b78a769bcc2675250576bed34066", "extensio...
stackv2
/* Formatted test for ISStride routines. */ static char help[] = "Tests IS stride routines.\n\n"; #include <petscis.h> #include <petscviewer.h> int main(int argc, char **argv) { PetscInt i, n, start, stride; const PetscInt *ii; IS is; PetscBool flg; PetscFunctionBeginUser...
2.078125
2
2024-11-18T21:10:20.365621+00:00
2016-05-13T07:24:43
d362b6a42bc303d3edb3f990f342639b77bbac29
{ "blob_id": "d362b6a42bc303d3edb3f990f342639b77bbac29", "branch_name": "refs/heads/master", "committer_date": "2016-05-13T07:24:43", "content_id": "33a1ba9b2ff6a16bc0a4247f930bb673297989e8", "detected_licenses": [ "MIT" ], "directory_id": "050d7d2439bdef7379ee52ae2fbce79ac0c8052b", "extension": "c"...
stackv2
/* * Author: Abdullah Khan * Date: 2016-01-30 * Program: save_name.c * Description: save_name takes an input from stdin (standard input). * Build instructions: make */ #include <fcntl.h> /* For creating, reading, and writing to files. */ #include <stdio.h> /* For standard input and output functions. */ #include ...
3.609375
4
2024-11-18T21:10:20.920019+00:00
2017-12-20T10:53:30
cbfc09496116c58dba799834a425e53cd43e3bce
{ "blob_id": "cbfc09496116c58dba799834a425e53cd43e3bce", "branch_name": "refs/heads/master", "committer_date": "2017-12-20T10:53:30", "content_id": "4a78929b7eb169c0a229d66bf142bbe28404a21e", "detected_licenses": [ "MIT" ], "directory_id": "e63ef51866c08a1525ec086b5bdbb8b4bbb2e4b2", "extension": "c"...
stackv2
#include "lab1.h" //INITIALIZATION void init(void){ //turning off analog mode for used ports LD1_ANSEL &= ~(1 << LD1); LD2_ANSEL &= ~(1 << LD2); LD3_ANSEL &= ~(1 << LD3); LD4_ANSEL &= ~(1 << LD4); BTN1_ANSEL &= ~(1 << BTN1); BTN2_ANSEL &= ~(1 << BTN2); //setting directions for each port //led ports to...
2.5625
3
2024-11-18T21:10:21.196412+00:00
2018-06-28T06:47:30
91693608b14611ba36813cc78f6ff65805ffb583
{ "blob_id": "91693608b14611ba36813cc78f6ff65805ffb583", "branch_name": "refs/heads/master", "committer_date": "2018-06-28T06:47:30", "content_id": "78412177acf4bb8dfff4d03ee28779a996150d24", "detected_licenses": [ "MIT" ], "directory_id": "accff61eec00c60211568d9ea1315fca36b84f18", "extension": "h"...
stackv2
#ifndef RAYMARCH_H_ #define RAYMARCH_H_ #include "algebra3.h" #include "VoxelGrid.h" double RayCubeSlabsIntersection(vec3 const& ro, vec3 const& rd, mat4 const& t_inv, mat4 const& tstar_inv); void MarchRay(vec3 orig, vec3 dir, VoxelGrid *grid, double step, vector<vec3> &points) { double t = RayCubeSlabsIntersection...
2.5625
3
2024-11-18T21:10:21.272560+00:00
2020-07-01T12:19:34
ea2283646f3e7162bf9160d2dbdeef75e3e095f0
{ "blob_id": "ea2283646f3e7162bf9160d2dbdeef75e3e095f0", "branch_name": "refs/heads/master", "committer_date": "2020-07-01T12:19:34", "content_id": "8e251116009fb384ba694e6015c2265fbfb83d53", "detected_licenses": [ "BSD-3-Clause", "MIT" ], "directory_id": "bbf91cfe87a36779afbc43b5392abc0722363870"...
stackv2
#ifndef SCALE_H #define SCALE_H /* * Multiply x by a/b while avoiding overflow when possible. Requires that * a*b <= max value of from_t, and assumes unsigned arithmetic. * * @param x Number to scale * @param a Numerator of scaling value * @param b Denominator of scaling value * @return round(x * a/b) */ inli...
2.671875
3
2024-11-18T21:10:21.800873+00:00
2018-06-19T00:55:17
9fa0563b0fa4923e303b054c7ce3146aba71bbe1
{ "blob_id": "9fa0563b0fa4923e303b054c7ce3146aba71bbe1", "branch_name": "refs/heads/master", "committer_date": "2018-06-19T00:55:17", "content_id": "ecdbfabcfbce03c95ff734fff4bac31bf8b1196b", "detected_licenses": [ "MIT" ], "directory_id": "70ae819d024aab57d3f11af006acc884b4a2b843", "extension": "c"...
stackv2
#include "command_interpreter.h" void checkData(char data[]) { char temp[15]; int rotation; uint8_t direction; int speed; int coord; // printf("%s %s\n", "data: ", UARTData); switch (data[0]) { case 'r': direction = data[2] == 'f' ? FORWARD : BACKWARD; for (uint8_t i = 4; i < UARTcount; i++) { ...
2.359375
2
2024-11-18T21:10:22.255777+00:00
2016-07-13T13:50:42
636b3134659c245efc45c43fba8418b63bf2dcce
{ "blob_id": "636b3134659c245efc45c43fba8418b63bf2dcce", "branch_name": "refs/heads/master", "committer_date": "2016-07-13T13:50:42", "content_id": "817916f93e4ad39143ba5f2e4b4cb29d43901fcd", "detected_licenses": [ "MIT" ], "directory_id": "cd004ef6ad32218c7153bd8c06cc83818975154a", "extension": "h"...
stackv2
#pragma once enum TradeSide { TradeSide_None = 0, TradeSide_Buy = 1, TradeSide_Sell = 2, TradeSide_Last = INT_MAX }; inline ostream& operator << (ostream& stream, TradeSide& side) { if (TradeSide_None == side) { stream<<"none"; } else if (TradeSide_Buy == side) { stream<<"buy"; } else if (TradeSide_Sel...
2.3125
2
2024-11-18T21:10:22.953258+00:00
2021-04-23T18:40:53
99711d7a766c1bfc1c162572ee588fed5548d305
{ "blob_id": "99711d7a766c1bfc1c162572ee588fed5548d305", "branch_name": "refs/heads/master", "committer_date": "2021-04-23T18:40:53", "content_id": "67c35f4385ee1ae4bde1be4120c87f8819091601", "detected_licenses": [ "MIT" ], "directory_id": "a37d6a5d606298f41eae3f70f82fd9b001f5bfc9", "extension": "h"...
stackv2
/** * @file crc32.h * @brief API for the "Fast CRC32" implementation by Stephan Brumme * @author Mike Tolkachev <contact@miketolkachev.dev> * @copyright Copyright 2020 Crypto Advance GmbH. All rights reserved. */ #ifndef CRC32_H_INCLUDED /// Avoids multiple inclusion of header file #define CRC32_H...
2.375
2
2024-11-18T21:10:23.134392+00:00
2016-06-19T14:54:33
81696adf098aaa8b137dc30eefa6708eeef451b5
{ "blob_id": "81696adf098aaa8b137dc30eefa6708eeef451b5", "branch_name": "refs/heads/master", "committer_date": "2016-06-19T15:00:00", "content_id": "632674bd4997dbc9cf33608163d649142a33328e", "detected_licenses": [ "MIT" ], "directory_id": "03d472aac184531216e3d0a3c0f3c8c171dc6e06", "extension": "c"...
stackv2
#include <Python.h> #include "MyDHT_RPi_Driver/dht_driver.h" static PyObject *sensor_read(PyObject *self, PyObject *args) { int sensor_type, gpio_pin; int result; if (!PyArg_ParseTuple(args, "ii", &sensor_type, &gpio_pin)) return NULL; struct dht_sensor_data data; result = dht_read(senso...
2.15625
2