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-19T03:27:48.306034+00:00 | 2018-02-26T11:58:09 | 06a79ebb06fb39f29f8eecaf282964959a0dcd84 | {
"blob_id": "06a79ebb06fb39f29f8eecaf282964959a0dcd84",
"branch_name": "refs/heads/master",
"committer_date": "2018-02-26T11:58:09",
"content_id": "de1afd2aa39c9a597deb7d441588a188aca7d58b",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "f54465f19bb6fe37cbbed0e32c07b55b396a9ec6",
"extensio... | stackv2 | /*
* Copyright (c) 2016 Jean-Paul Etienne <fractalclone@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief RISCV32 public exception handling
*
* RISCV32-specific kernel exception handling interface.
*/
#ifndef _ARCH_RISCV32_EXP_H_
#define _ARCH_RISCV32_EXP_H_
#ifdef __cplusplus
exter... | 2.0625 | 2 |
2024-11-19T03:27:48.396342+00:00 | 2019-09-10T08:47:24 | ff75829f1fe2f3b06466833f9bb34f018c439d1d | {
"blob_id": "ff75829f1fe2f3b06466833f9bb34f018c439d1d",
"branch_name": "refs/heads/master",
"committer_date": "2019-09-10T08:47:24",
"content_id": "a183c0271af142d98e13c85ffe6d5df70985b658",
"detected_licenses": [
"MIT"
],
"directory_id": "d2c54233a96b0de3137d320a86de726f87f6d3b4",
"extension": "c"... | stackv2 | #define _CRT_SECURE_NO_WARNINGS // sprintf 보안 경고로 인한 컴파일 에러 방지
#include <malloc.h>
#include <stdio.h>
#include "tostring_module.h"
int _tostring_process1(char * out, long long *pos, int *out_index, int out_size, int dim);
int _tostring_process2(char *out, float *array, long long *shape, long long *pos, int *out_in... | 2.78125 | 3 |
2024-11-19T03:27:48.530080+00:00 | 2015-04-17T17:56:20 | 18aed88033423f9f95129528c95716d7bcfb599d | {
"blob_id": "18aed88033423f9f95129528c95716d7bcfb599d",
"branch_name": "refs/heads/master",
"committer_date": "2015-04-17T17:56:20",
"content_id": "5ca0da69bf83862d0310fedcb062ac6997a1cd84",
"detected_licenses": [
"ISC"
],
"directory_id": "66bdc05e3e7e0a2069cbf59a8dad1fdf7a52caef",
"extension": "c"... | stackv2 | /*====================================================================*
*
* l2p.c - list-to-pair organizer;
*
*. Motley Tools by Charles Maier;
*: Copyright (c) 2001-2006 by Charles Maier Associates Limited;
*; Licensed under the Internet Software Consortium License;
*
*------------------------------------... | 2.25 | 2 |
2024-11-19T03:27:48.649696+00:00 | 2015-11-17T13:39:44 | 02d5415b8d961d8a57067c76a732e584127d2a69 | {
"blob_id": "02d5415b8d961d8a57067c76a732e584127d2a69",
"branch_name": "refs/heads/master",
"committer_date": "2015-11-17T13:39:44",
"content_id": "64d563f06ef18b5f165d424ba320683c3be3eeab",
"detected_licenses": [
"BSD-3-Clause",
"BSD-2-Clause"
],
"directory_id": "ec70381596f67a0be3bdcc8d54e35c1d... | stackv2 | /*
* Copyright (C) 2012-2015, Juan Manuel Barrios <http://juan.cl/>
* All rights reserved.
*
* This file is part of MultimediaTools. https://github.com/juanbarrios/multimedia_tools
* MultimediaTools is made available under the terms of the BSD 2-Clause License.
*/
#include "io_util.h"
#include <sys/stat.h>
#incl... | 2.65625 | 3 |
2024-11-19T03:27:48.775549+00:00 | 2013-12-05T23:03:21 | cb05b4476f1c811a6e508c671cdc957c31185874 | {
"blob_id": "cb05b4476f1c811a6e508c671cdc957c31185874",
"branch_name": "refs/heads/master",
"committer_date": "2013-12-05T23:07:06",
"content_id": "c747750169082a2f7bc93a4098c68b41698de4a7",
"detected_licenses": [
"MIT"
],
"directory_id": "a5f2557292288fc60468cc30dbeae623a35f4cdc",
"extension": "h"... | stackv2 | /**
* @file method_id.h
* @brief Contains debug utils
* Copied from: remote_gpu/include/method_id.h
*
* @date Feb 28, 2011
* @author Prepared by Magda Slawinska, magg@gatech.edu
*/
#ifndef __METHOD_ID_H
#define __METHOD_ID_H
// Method IDs we assign to API functions.
typedef enum METHOD_ID {
CUDA_INVALID_METHO... | 2.09375 | 2 |
2024-11-19T03:27:49.161335+00:00 | 2019-12-11T07:35:14 | d9b9afdcebea8b3624e43182f3e957a6dce7f2ac | {
"blob_id": "d9b9afdcebea8b3624e43182f3e957a6dce7f2ac",
"branch_name": "refs/heads/master",
"committer_date": "2019-12-11T07:35:14",
"content_id": "5a9a50b5edbe441a56342e84460a3b277445d787",
"detected_licenses": [
"MIT"
],
"directory_id": "dd4d5e409083e258ba3d47fc9d58891ddd2f7dd0",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <evbuffsock.h>
const static char * NEW_LINE = "\n";
const static int MAX_BUF_SIZE = 128;
void nsq_subscribe(struct Buffer *buf, const char *topic, const char *channel)
{
char b[MAX_BUF_SIZE];
size_t n;
n = sprintf(b, "SUB %s %s%s", topic, channel, NEW_LINE);
buffer_add(buf... | 2.203125 | 2 |
2024-11-19T03:27:49.874739+00:00 | 2017-01-08T12:19:55 | eec6ac8611dd8d78797ed8952e050020a39b7264 | {
"blob_id": "eec6ac8611dd8d78797ed8952e050020a39b7264",
"branch_name": "refs/heads/master",
"committer_date": "2017-01-08T12:19:55",
"content_id": "07b4f2f157c23c4d49f1da8c2f62793b3a890748",
"detected_licenses": [
"MIT"
],
"directory_id": "f70c67ffde643410fbdedc373419ab9ac4e48833",
"extension": "h"... | stackv2 | /*
*/
#pragma once
#include <stdint.h>
#include <math.h>
int jc_if_apply_curve(uint8_t* image, int w, int h, int nchannels,
uint8_t* curve_red, uint32_t curve_red_npoints,
uint8_t* curve_green, uint32_t curve_green_npoints,
uint8_t* curve_blue,... | 2.609375 | 3 |
2024-11-19T03:27:49.970420+00:00 | 2016-12-13T10:51:31 | 61ba2a06db2a506f3bde70202de859c9864e5670 | {
"blob_id": "61ba2a06db2a506f3bde70202de859c9864e5670",
"branch_name": "refs/heads/master",
"committer_date": "2016-12-13T10:51:31",
"content_id": "fb1afac927c7d48b8ebab1661813e383a73f1433",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "373036a2a44e578e2cdee3599f26da440ca04d66",
"extensio... | stackv2 | /*
* HydraBus/HydraNFC
*
* Copyright (C) 2014-2015 Benjamin VERNOUX
* Copyright (C) 2016 Nicolas OBERLI
*
* 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/LICE... | 2.09375 | 2 |
2024-11-19T03:27:50.047802+00:00 | 2018-08-13T12:20:33 | cf4ab6d14ca2065ba09740c958c86645f81fee36 | {
"blob_id": "cf4ab6d14ca2065ba09740c958c86645f81fee36",
"branch_name": "refs/heads/master",
"committer_date": "2018-08-13T12:20:33",
"content_id": "df598e78bf2630e86c05297cfdedd48b3a45bf2c",
"detected_licenses": [
"MIT"
],
"directory_id": "ceb687c69c8b806359253cea86997cc730464285",
"extension": "c"... | stackv2 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_calculate_normal_primitives.c :+: :+: :+: ... | 2.375 | 2 |
2024-11-19T03:27:50.248633+00:00 | 2017-10-09T19:47:48 | f1f87ed2572f0dfbf8cde539e49c02c6c888df33 | {
"blob_id": "f1f87ed2572f0dfbf8cde539e49c02c6c888df33",
"branch_name": "refs/heads/master",
"committer_date": "2017-10-09T19:47:48",
"content_id": "0dcb235c63f94af49a63bb3ad28bfc70c640d412",
"detected_licenses": [
"BSD-3-Clause",
"MIT"
],
"directory_id": "99edb88ea62f2823c1c92ee6474e899ae40a27c6"... | stackv2 | /**
* \file bench/bench.c
* \brief Generic workload benchmarking utility.
* \ingroup OFFBENCH
*
* This utility can be used to benchmark an arbitrary workload
* under a specific OSKI-Lua transformation.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <oski/oski.h>... | 2.453125 | 2 |
2024-11-19T03:27:50.923149+00:00 | 2019-09-19T20:46:24 | 4a8c22d5d4684e09a51547fda475e942ed0fbb11 | {
"blob_id": "4a8c22d5d4684e09a51547fda475e942ed0fbb11",
"branch_name": "refs/heads/master",
"committer_date": "2019-09-19T20:46:24",
"content_id": "d69a39498ef91d574efafd4d9cd919ba973dcb2f",
"detected_licenses": [
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI"
],
"directory_id": "a549c4fc1cea552f6714d87... | stackv2 | /*
* Copyright (c) 2018 Intel Corporation. All rights reserved.
* This software is available to you under the BSD license below:
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redi... | 2.53125 | 3 |
2024-11-19T03:27:51.104223+00:00 | 2014-11-12T15:02:14 | 0a400786b8fb6c0050c1f18f3bd0a8daf9db262f | {
"blob_id": "0a400786b8fb6c0050c1f18f3bd0a8daf9db262f",
"branch_name": "refs/heads/master",
"committer_date": "2014-11-12T15:03:10",
"content_id": "4b4fdf13450ccffe6d91c5bbebfad1477990e8b9",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "97a02857cb0ceee2c4359a20eea7f974a8e37052",
"extens... | stackv2 | /*
* Copyright (C) 2014 INRIA
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file LICENSE in the top level directory for more
* details.
*/
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include "thr... | 2.375 | 2 |
2024-11-19T03:27:51.287510+00:00 | 2018-11-04T10:10:31 | e2c6e66ae4d42c66779160fbf33050dc58addff0 | {
"blob_id": "e2c6e66ae4d42c66779160fbf33050dc58addff0",
"branch_name": "refs/heads/master",
"committer_date": "2018-11-04T10:10:31",
"content_id": "c854ba8c16ab5aaa9da1c0e2f6248407d88c089d",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "20abe3d8ea88112aa767f2e58de731d47ae3d9e4",
"extensio... | stackv2 | #include "interrupt.h"
#include "common.h"
#include "constants.h"
#include "fb.h"
#include "io.h"
#include "pic.h"
static interrupt_handler_t interrupt_handlers[IDT_NUM_ENTRIES];
uint32_t
register_interrupt_handler( uint32_t interrupt, interrupt_handler_t handler )
{
if ( interrupt > 255 ) {
return 1;
... | 2.109375 | 2 |
2024-11-19T03:27:51.380365+00:00 | 2021-07-03T16:20:50 | efb84175a79084f4640a08c790693072a55488ee | {
"blob_id": "efb84175a79084f4640a08c790693072a55488ee",
"branch_name": "refs/heads/main",
"committer_date": "2021-07-03T16:20:50",
"content_id": "f09468581717db939ec840d9dcee22896ab77dcc",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "1e291e4ef3963a37d7c7d953b469f8168b74e698",
"extensio... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include "xsqlite3.h"
static void xsqlite3_do_nothing(void *arg, sqlite3 *db, sqlite3_stmt *stmt)
{
}
void xsqlite3_err(const char *func, int res)
{
(void)fprintf(stderr, "%s => %d, %s\n", func, res, sqlite3_errstr(res));
exit(EXIT_FAILURE);
}
void xsqlite3_exec(sqlite3 *db,... | 2.53125 | 3 |
2024-11-19T03:27:51.647276+00:00 | 2017-03-04T15:50:59 | f298d2ea74231b717d24d8b679bebd3db63bcd17 | {
"blob_id": "f298d2ea74231b717d24d8b679bebd3db63bcd17",
"branch_name": "refs/heads/master",
"committer_date": "2017-03-04T15:50:59",
"content_id": "c9b61350eb53103a9bebe92027425f369d2a4520",
"detected_licenses": [
"Zlib"
],
"directory_id": "1e257878ee164e19929e6096d85fecb5d71887b4",
"extension": "h... | stackv2 |
#ifndef PYLITE_TYPES_NUMBER_H
#define PYLITE_TYPES_NUMBER_H
#include "../object.h"
typedef struct PyLiteIntObject {
PyLiteObject_HEAD;
pl_int_t ob_val;
} PyLiteIntObject;
typedef struct PyLiteFloatObject {
PyLiteObject_HEAD;
pl_float_t ob_val;
} PyLiteFloatObject;
pl_int_t pylt_obj_int_cmp(PyLite... | 2.03125 | 2 |
2024-11-19T03:27:51.748557+00:00 | 2023-07-26T01:37:05 | ae5e34b72b77833d3f9cb8f6cce46c163c68ebe2 | {
"blob_id": "ae5e34b72b77833d3f9cb8f6cce46c163c68ebe2",
"branch_name": "refs/heads/master",
"committer_date": "2023-07-26T01:37:05",
"content_id": "5f4ebb56ae4cb300e0b1bfe9c324420c310b628b",
"detected_licenses": [
"Unlicense"
],
"directory_id": "378daebf4dbf689a8bd8c6c865b098d0e99834aa",
"extension... | stackv2 | /**
* File: event_test.c
* Author: ZhuXindi
* Date: 2014-04-22
*/
#include <cbase/event.h>
#include <cbase/log.h>
#include <cbase/systime.h>
static struct event rev, wev, timer;
void callback(void *p)
{
if (p == &rev)
log_info("can read");
else if (p == &wev)
log_info("can write");
else /* timer */
log_... | 2.71875 | 3 |
2024-11-19T03:27:53.150641+00:00 | 2021-03-24T16:43:30 | 391f17134006b33c6d249caea8c8ac1b9a4f0c9b | {
"blob_id": "391f17134006b33c6d249caea8c8ac1b9a4f0c9b",
"branch_name": "refs/heads/master",
"committer_date": "2021-03-24T16:43:30",
"content_id": "d991cf2fb1919bcf9b237bffe5ef0921a6c88046",
"detected_licenses": [
"MIT"
],
"directory_id": "c304eba343baa45f373fece59eeeb963a295aa61",
"extension": "c"... | stackv2 | #include <lib9.h>
#include <image.h>
#include <interp.h>
#include <isa.h>
#include "../interp/runt.h"
#include <drawif.h>
#include <prefab.h>
void icondraw(Prefab_Element*, Image*, Rectangle, int, int);
void textdraw(Prefab_Element*, Image*, Rectangle, int, int);
void listdraw(Prefab_Element*, Image*, Rectangle, int,... | 2.046875 | 2 |
2024-11-19T03:27:53.233356+00:00 | 2021-08-09T06:15:06 | 1080190830681f588f21ff883b94faa3d4335282 | {
"blob_id": "1080190830681f588f21ff883b94faa3d4335282",
"branch_name": "refs/heads/main",
"committer_date": "2021-08-09T06:15:06",
"content_id": "388b1c18deada174dfbb064ec2c872a4176b8064",
"detected_licenses": [
"MIT"
],
"directory_id": "0fcadebe7208bb7682d7f8e73c5b124aac79c757",
"extension": "c",
... | stackv2 | /*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 microDev
*
* 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 Softwar... | 2.046875 | 2 |
2024-11-19T03:27:53.404972+00:00 | 2022-09-03T14:11:00 | 0385651ae89715e4ac0ab10977ee8c2d006bfde1 | {
"blob_id": "0385651ae89715e4ac0ab10977ee8c2d006bfde1",
"branch_name": "refs/heads/master",
"committer_date": "2022-09-03T14:11:00",
"content_id": "a2ed08aad09de08f02984c1d9106194711d03c6f",
"detected_licenses": [
"MIT"
],
"directory_id": "c1337b11e0dafe374183cbccd5d9ff6e3cd167de",
"extension": "c"... | stackv2 | /***********************************************************
* Program CAV1
* To compute the position (hour) angle of the telescope
* for a given time of observation.
*
* All angles in radians (internally)
*
* From "absp1.c" (version 19-12-93)
*
* Version 10-12-96
* JLP
************************************************... | 2.625 | 3 |
2024-11-19T03:27:53.643225+00:00 | 2018-10-28T16:12:26 | 5cacba675ac9a11e3610bedb642c2ea231a1b922 | {
"blob_id": "5cacba675ac9a11e3610bedb642c2ea231a1b922",
"branch_name": "refs/heads/master",
"committer_date": "2018-10-28T16:12:26",
"content_id": "1a942c3917cbfb80605932e97a2db92b5e19f512",
"detected_licenses": [
"Unlicense"
],
"directory_id": "e82c8a6c6aabd9320aae3c774d043fc8dc575647",
"extension... | stackv2 | // program to implement stack using arrays
#include<stdio.h>
#include<conio.h>
#define SIZE 5
int top=-1;
int s[SIZE];
void push(int);
int pop();
void display ();
main()
{
int ch;
int item,y;
do
{
printf("\n\t MENU ");
printf("\n\t1.Push");
printf("\n\t2.Pop");
printf("\n\t3.Display.");
printf("\n\t4.Exit");
printf("... | 3.703125 | 4 |
2024-11-19T03:27:53.872497+00:00 | 2023-06-27T07:28:38 | c6e46c439a1729e74b2fa3e91c7a9d784b68d783 | {
"blob_id": "c6e46c439a1729e74b2fa3e91c7a9d784b68d783",
"branch_name": "refs/heads/master",
"committer_date": "2023-06-27T07:28:38",
"content_id": "c3c6be9c8d618d16193e3eb1a4acffcd1c9f5cd7",
"detected_licenses": [
"MIT"
],
"directory_id": "c77d44b78d13170bf2b74e8cb88c2335d4073c3c",
"extension": "c"... | stackv2 | /*
* DATE.C --Date and time manipulation and parsing functions.
*
* Contents:
* adjust_ut() --Adjust a timestamp by a unit+delta.
*
* Remarks:
* This file contains code for adjusting timestamps.
*/
#include <xtd.h>
#include <xtd/date.h>
#include <xtd/estring.h>
#ifdef __WINNT__
#define localtime_r(timep_, res... | 3.03125 | 3 |
2024-11-19T01:24:32.573437+00:00 | 2016-01-15T03:49:45 | 2e4d501cf992fca45dcbc0859edd43b7333f250a | {
"blob_id": "2e4d501cf992fca45dcbc0859edd43b7333f250a",
"branch_name": "refs/heads/master",
"committer_date": "2016-01-15T03:49:45",
"content_id": "a22e1ba0746a5d853bd337d2670550aeebe47484",
"detected_licenses": [
"MIT"
],
"directory_id": "7e73f25d963ae19adc3428fb1f20ad1a302828b2",
"extension": "c"... | stackv2 | #include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "mellow_internal.h"
void* mellow_allocString(const char* str, const uint32_t strLength) {
// The length of the array of characters plus the bytes allocated to hold
// the ref-count plus the bytes allocated to hold the stri... | 3 | 3 |
2024-11-19T01:24:32.926676+00:00 | 2021-04-14T22:41:55 | c022fe81acd1a50daa4e4137e6d941dbcc580496 | {
"blob_id": "c022fe81acd1a50daa4e4137e6d941dbcc580496",
"branch_name": "refs/heads/master",
"committer_date": "2021-04-14T22:41:55",
"content_id": "5fa76cb5eb98e0efca27852c713093e4371bd71d",
"detected_licenses": [
"MIT"
],
"directory_id": "31a8e909556d043154e6341de1bdc1c9a185b8ca",
"extension": "h"... | stackv2 | /*
* MIT License
*
* Copyright (c) 2021 Ozan Tezcan
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | 2.34375 | 2 |
2024-11-19T01:24:33.027407+00:00 | 2020-05-23T16:46:49 | 7648b500de8d6ece785c9c74b3d9ecb3fcacb1a2 | {
"blob_id": "7648b500de8d6ece785c9c74b3d9ecb3fcacb1a2",
"branch_name": "refs/heads/master",
"committer_date": "2020-05-23T16:46:49",
"content_id": "27f20fce6268f034c898fa2a9d33c9467e5cbb2a",
"detected_licenses": [
"MIT"
],
"directory_id": "8fe57ee026656a7f74c84aaaf0bec617f588f5ae",
"extension": "c"... | stackv2 | #include "game.h"
/*
* reset_game: sets game fields to their initial state.
*/
static void reset_game(game *game);
/*
* spawn_next_on_top: changes the shape for game->falling with game->next_shape
* and tries to spawn game->falling on top of the grid. On
* success, puts ... | 2.640625 | 3 |
2024-11-19T01:24:33.795442+00:00 | 2015-12-26T13:17:12 | 69f65d034c51b246db9f77dc14e24e33db607dde | {
"blob_id": "69f65d034c51b246db9f77dc14e24e33db607dde",
"branch_name": "refs/heads/master",
"committer_date": "2015-12-26T13:17:26",
"content_id": "eb62e897658060fd66e9fd5618c8f84298dd5a82",
"detected_licenses": [
"MIT"
],
"directory_id": "cf669ba38d03fc67e2f9a7283d6917c50fe262a2",
"extension": "c"... | stackv2 | #include "text.h"
#include <string.h>
size_t text_words_num(char *string, size_t len, const char *separators)
{
size_t numof_words = 0;
char *p = string;
bool_t is_found_separator = TRUE;
if (!string) return 0;
if (!separators) return 0;
if (!*string) return 0;
if (!*separators) return 0;
if (!len) return 0;... | 2.8125 | 3 |
2024-11-19T01:24:33.916773+00:00 | 2016-09-14T11:52:28 | a3ba26fde1a3368489735f7d4c0efab82c95b7f6 | {
"blob_id": "a3ba26fde1a3368489735f7d4c0efab82c95b7f6",
"branch_name": "refs/heads/master",
"committer_date": "2016-09-14T11:52:28",
"content_id": "be4ea7a21cfce4a24ff604fab6f646c9554ce933",
"detected_licenses": [
"MIT"
],
"directory_id": "f2f0a757b1dc4b9aaf40e3c06589077c06ac855e",
"extension": "c"... | stackv2 | // Please note :
// this is script "C"
// Do not compile this code, it should run as it is
// uses:
// $$ Prompt >> run_myscript change_tab.c
#include <stdio.h>
int main(void)
{
printf("Change tab continous press Ctrl-C to exit\n");
while(1)
{
Cl_tab(0);
ClWait(1000);
Cl... | 2.59375 | 3 |
2024-11-19T01:24:33.989588+00:00 | 2019-02-10T14:32:16 | 28b098180a22f71153699eaaa14854f89f3a0f63 | {
"blob_id": "28b098180a22f71153699eaaa14854f89f3a0f63",
"branch_name": "refs/heads/master",
"committer_date": "2019-02-10T14:32:16",
"content_id": "097e8f60847d049f108ed42bacebfe50b2fb8a8f",
"detected_licenses": [
"MIT"
],
"directory_id": "d860fdebbf315293d6df93dc93eb7300785ed922",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "LMP3D/LMP3D.h"
/*
Portable Network Graphics (.png)
Windows Bitmap (.bmp)
ZSoft Paintbrush PCX (.pcx)
Basic Model (.bcm)
*/
LMP3D_Texture* LMP3D_Load_Texture(char *address,int offset,void *buffer,int size)
{
LMP3D_Texture *texture;
texture ... | 2.234375 | 2 |
2024-11-19T01:24:34.039506+00:00 | 2021-05-01T17:47:45 | a995a6ef5ee43095c6b6e862ba0596221b912f41 | {
"blob_id": "a995a6ef5ee43095c6b6e862ba0596221b912f41",
"branch_name": "refs/heads/master",
"committer_date": "2021-05-01T17:47:45",
"content_id": "41bb5975f0189ff4fbdd80368235b22e19f82ac2",
"detected_licenses": [
"MIT"
],
"directory_id": "64c2c5482831d475af44bc97f1b2bbe61ac8c482",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdint.h>
#include <esp_log.h>
#include <wolfssl/wolfcrypt/chacha20_poly1305.h>
#include "chacha20_poly1305.h"
#define TAG "CHACHA20_POLY1305"
static uint8_t nonce[][CHACHA20_POLY1305_NONCE_LENGTH] = {
{0, 0, 0, 0, 'P', 'S', '-', 'M', 's', 'g', '0', '5'},
{0, 0, 0, 0, 'P', 'S', ... | 2.59375 | 3 |
2024-11-19T01:24:34.394978+00:00 | 2016-03-02T21:12:41 | fbc0d032ead13ebf1c8bdb39db205bd10a8c69c2 | {
"blob_id": "fbc0d032ead13ebf1c8bdb39db205bd10a8c69c2",
"branch_name": "refs/heads/master",
"committer_date": "2016-03-02T21:12:41",
"content_id": "e819e1df32d9530f323c95f8011b4d9bd5b266cb",
"detected_licenses": [
"MIT"
],
"directory_id": "ecb3b2d06401cd4f5b5c10065804e0d717ede273",
"extension": "c"... | stackv2 | #include <string.h>
#include <stdio.h>
/*
* Swaps two input ints
*/
void
swap (int *x, int *y)
{
int temp = *x;
*x = *y;
*y = temp;
}
/*
* returns the index of pivot item (first element)
*/
size_t
partition (int A[], size_t n)
{
size_t i = 1,
j = 0;
int PI... | 3.78125 | 4 |
2024-11-19T01:24:34.495120+00:00 | 2017-03-25T23:00:39 | 1c7d71ba62639e63979197fa79778b491b5876e0 | {
"blob_id": "1c7d71ba62639e63979197fa79778b491b5876e0",
"branch_name": "refs/heads/master",
"committer_date": "2017-03-25T23:00:39",
"content_id": "ea0eb876f0342f4a7d4ea94943efb9f916b07566",
"detected_licenses": [
"MIT"
],
"directory_id": "cb495f025353cc7a8cdc6855aa45fd6c5172108e",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <string.h>
#include <termios.h>
static struct termios old, new;
void terminit(int echo){
tcgetattr(0, &old); //Grab old attributes.
new = old; //Make new attributes the same as the old.
new.c_lflag &= ~I... | 3.140625 | 3 |
2024-11-19T01:24:34.566826+00:00 | 2017-09-02T18:04:18 | b5ef711b85a6f411158bc164bbd830754df13e84 | {
"blob_id": "b5ef711b85a6f411158bc164bbd830754df13e84",
"branch_name": "refs/heads/master",
"committer_date": "2017-09-02T18:04:18",
"content_id": "6b642e8f081c37295fef258e682caef51c23a6c5",
"detected_licenses": [
"MIT"
],
"directory_id": "30f7951ccb8d5e57324e2df1af307284d854861f",
"extension": "h"... | stackv2 | #ifndef FUNC_H
#define FUNC_H
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#define NOT_GIVEN_FILE -1
#define NON_EXISTENT_FILE -2
#define NO_DATA -3
#define ALLOC_ERR -4
#define ERR -5
#define MORE INT_MAX
#define LESS INT_MIN
int read(FILE *f, int *start, int *end);
int fcount(FILE... | 2.421875 | 2 |
2024-11-19T01:24:37.465731+00:00 | 2023-08-31T10:26:21 | c855c4be94aff0cb30a3d27dfed3234c8af124db | {
"blob_id": "c855c4be94aff0cb30a3d27dfed3234c8af124db",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-31T10:26:21",
"content_id": "f4b56a7c58ecff30bda64e7e41cc63303410bda9",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "abe704eb3b53944cdd6505f922f58558e334c589",
"extensio... | stackv2 | /*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include "unity.h"
#include "hts221.h"
#include "esp_system.h"
#define I2C_MASTER_SCL_IO 22 /*!< gpio number for I2C master clock */
#define I2C_MASTER_SDA_IO... | 2.296875 | 2 |
2024-11-19T01:24:37.598994+00:00 | 2015-02-16T14:12:06 | 5c519dae6ce83272eb9b4285ea3e68a09ea3cd8d | {
"blob_id": "5c519dae6ce83272eb9b4285ea3e68a09ea3cd8d",
"branch_name": "refs/heads/master",
"committer_date": "2015-02-16T14:12:06",
"content_id": "a3767383972778de4efa38408b8923126dd471c3",
"detected_licenses": [
"Unlicense"
],
"directory_id": "ae4954458790e16ac8f9e158ce790745f059c704",
"extension... | stackv2 | #include <stdio.h>
#include <assert.h>
#include "bitvolver.h"
#define A "ASSERT "
#define I "INSPECT"
char targ[] = "Hello World!";
char ntar[] = "Pizza World!";
float fit(void* member){
int i = 0;
float fit = 0;
char* txt = (char*)member;
for(i = 0; i < 13; i++){
if(targ[i] == txt[i])
fit++;
}
return fit ... | 2.625 | 3 |
2024-11-19T01:24:39.076815+00:00 | 2019-06-08T07:52:11 | 59c0574115de84831a07bbdbdb2130474e26e187 | {
"blob_id": "59c0574115de84831a07bbdbdb2130474e26e187",
"branch_name": "refs/heads/master",
"committer_date": "2019-06-08T07:52:11",
"content_id": "72012c7d9d92602aeab3c6e8d114020755f1cd7f",
"detected_licenses": [
"MIT"
],
"directory_id": "2d4d4e1a21e2a53d7fcb806a468ce3decb2da14f",
"extension": "c"... | stackv2 | /*******************************************
University of Udine
Library for using Allegro A1335 with
Raspberry Pi
Authors:
- Alessandro Fornasier
*******************************************/
/*******************************************
NOTE:
- CRC diabled by default
- Self Test enabled by default
- To ... | 2.640625 | 3 |
2024-11-19T01:24:39.237187+00:00 | 2016-05-29T15:37:29 | 8b83da8718117bb6e54b6482c1f4fb760f437f22 | {
"blob_id": "8b83da8718117bb6e54b6482c1f4fb760f437f22",
"branch_name": "refs/heads/master",
"committer_date": "2016-05-29T15:37:29",
"content_id": "03ecd5a7718c3968253da006d96e25d07399b5bb",
"detected_licenses": [
"MIT"
],
"directory_id": "cb7c5787516adcd909eaa1c7a09e1787360ec530",
"extension": "c"... | stackv2 | #include "server_socket.h"
#include "../common/helpers.h"
#include "../common/sockets.h"
int init_server_socket(int port)
{
int sockfd;
struct sockaddr_in address;
sockfd = create_socket();
print_message("Socket created\n");
set_socket_options(sockfd);
bind_address(sockfd, "127.0.0.1", port... | 2.34375 | 2 |
2024-11-19T01:24:40.085223+00:00 | 2019-07-17T03:38:28 | f690793ada35e0b2206d9dde5dce26ce923e6716 | {
"blob_id": "f690793ada35e0b2206d9dde5dce26ce923e6716",
"branch_name": "refs/heads/master",
"committer_date": "2019-07-17T03:38:28",
"content_id": "3435f5718b9e6441c79b6713e00f3ae4cef075e1",
"detected_licenses": [
"MIT"
],
"directory_id": "0969cc92c6725c487a35e832613580e1be73958f",
"extension": "c"... | stackv2 | /* Test sparse graph
* $Id: test_graph.c 638 2010-11-22 04:24:21Z stepp $
*/
#include <stdio.h>
#include <stdlib.h>
#include "sparse_graph.h"
int main()
{
int i;
double weights1[4] = {1.0,2.0,3.0,4.0};
double weights2[4] = {4.5,3.5,2.5,1.5};
char *data_str;
arc_t *arc;
sparse_graph_t *graph = graph_init(10,... | 3.03125 | 3 |
2024-11-19T01:24:40.186738+00:00 | 2017-11-03T01:37:25 | 8d3047cdeb92618c353ecbd1f1a8f49128cdc33b | {
"blob_id": "8d3047cdeb92618c353ecbd1f1a8f49128cdc33b",
"branch_name": "refs/heads/master",
"committer_date": "2017-11-03T01:37:25",
"content_id": "38c64316a56b27ab9875522a344a48aca03d25e9",
"detected_licenses": [
"MIT"
],
"directory_id": "4b08f38c6ab99a10d16d61ba666b338883fbe668",
"extension": "c"... | stackv2 | #include "ch06.h"
char *env_init[]={"USER=unknow","PATH=/tmp",NULL};
char *path = "/home/zkj/book/ch06/echoall";
int main(void)
{
pid_t pid;
if ((pid=vfork()) < 0)
err_exit ("vfork error");
else if (pid == 0){ /* 子執行緒 */
if (execle(path, "echoall", "arg1", "ARG2", (char *)0, env_init) < 0)
... | 2.296875 | 2 |
2024-11-19T01:24:40.328979+00:00 | 2018-02-28T15:15:32 | d43727b3973149e1f916703a4444cff74503cb41 | {
"blob_id": "d43727b3973149e1f916703a4444cff74503cb41",
"branch_name": "refs/heads/master",
"committer_date": "2018-02-28T15:15:32",
"content_id": "87732f7e90e329756456e281a895d55c5a4ef25d",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "66321c94c561d60ceba6582e9e8c65a7352115d7",
"extensio... | stackv2 | #include <stdio.h>
#define KML 12.0
int main() {
int tempo;
int veloc;
scanf("%d", &tempo);
scanf("%d", &veloc);
printf("%.3lf\n", ((tempo * veloc) / KML));
return 0;
} | 2.546875 | 3 |
2024-11-19T01:24:41.242650+00:00 | 2019-04-29T12:31:59 | 4c24d2008cd95a844e44f4d2f1e42542b4387a1f | {
"blob_id": "4c24d2008cd95a844e44f4d2f1e42542b4387a1f",
"branch_name": "refs/heads/master",
"committer_date": "2019-04-29T12:31:59",
"content_id": "d20289415720642a124e4a1eb4255954ee43a732",
"detected_licenses": [
"MIT"
],
"directory_id": "66a46904481a215c92a63df2e044a3abdf54c2b1",
"extension": "h"... | stackv2 |
#ifndef SYMTAB_H
#define SYMTAB_H
#define PARAM_NUMBER 10
extern int line;
// Element tabele simbola
typedef struct sym_entry {
int level; // na kom nivou je simbol
char *name; // ime simbola
unsigned kind; // vrsta simbola
char* type; // tip vr... | 2.234375 | 2 |
2024-11-19T01:24:41.440839+00:00 | 2014-09-30T05:16:59 | 435e667f24c4a54bf7751141c589a5eb9f12529f | {
"blob_id": "435e667f24c4a54bf7751141c589a5eb9f12529f",
"branch_name": "refs/heads/master",
"committer_date": "2014-09-30T05:16:59",
"content_id": "8c2a97b5c790ce4c0d5b5436e998524461a1ff6f",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "e1f7f4c3bbf88609f0581d76ed2802d51ea8db1b",
"extensio... | stackv2 | /*
* Copyright 2013 MongoDB, 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 applicable law or agreed to ... | 2.25 | 2 |
2024-11-19T01:24:43.923989+00:00 | 2016-01-29T01:50:54 | ca6038ad104ae0945ffa04017c3aef3600416354 | {
"blob_id": "ca6038ad104ae0945ffa04017c3aef3600416354",
"branch_name": "refs/heads/master",
"committer_date": "2016-01-29T01:50:54",
"content_id": "162f578565c3289c9087592cef95ccd5dfb0bda8",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "c83ae89b4299ad5b0f493a165be627d5322a88d1",
"extensio... | stackv2 | /**
Atomix project, ORILIB_EthInterfaceInit_i.c, TODO: insert summary here
Copyright (c) 2015 Stanford University
Released under the Apache License v2.0. See the LICENSE file for details.
Author(s): Manu Bansal
*/
#include <osl/inc/swpform.h>
#include <osl/inc/eth/eth.h>
#include "ORILIB_util.h"
#include "ORILIB_EthIn... | 2.0625 | 2 |
2024-11-19T01:24:43.981288+00:00 | 2023-09-01T11:37:06 | 764776ea27b479ef6fbd3ee476c98e4fdfea378c | {
"blob_id": "764776ea27b479ef6fbd3ee476c98e4fdfea378c",
"branch_name": "refs/heads/master",
"committer_date": "2023-09-01T11:37:06",
"content_id": "905ba4a1fa0e11815f617c63f1fd61c38ff42556",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "248f9d022d678a8e12e84b9ed004d1f544b1962d",
"extensio... | stackv2 |
/*******************************************************************************
* Ledger Nano S - Secure firmware
* (c) 2021 Ledger
*
* 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.09375 | 2 |
2024-11-19T01:24:44.183553+00:00 | 2020-05-25T11:47:55 | 11f26d97428053dfcc7aac51801efed0d229e366 | {
"blob_id": "11f26d97428053dfcc7aac51801efed0d229e366",
"branch_name": "refs/heads/master",
"committer_date": "2020-05-25T11:47:55",
"content_id": "4e0dfa4900d0fb88a2a87d96c97ec841b9c2e263",
"detected_licenses": [
"MIT"
],
"directory_id": "ea98b619f10ded1394ee36ab36e62ba2165bfb7b",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <stdbool.h>
#include "klient.h"
#include <ctype.h>
/**
* \brief Struktura przechowująca klientów
* @param id_klienta unikalny identyfikator
* @param numer_klienta numer pesel
* @param numer_telefonu numer telefonu klienta
* @pa... | 2.828125 | 3 |
2024-11-19T01:24:44.290325+00:00 | 2023-08-15T12:51:41 | e131c68643e4d293e4c45129d467ba53ccecb8a2 | {
"blob_id": "e131c68643e4d293e4c45129d467ba53ccecb8a2",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-15T12:51:41",
"content_id": "b52395753877dfc746a15253e61382dc3b6a4822",
"detected_licenses": [
"MIT",
"BSD-2-Clause"
],
"directory_id": "a66c41243e165d0f605009c90853ca66fb650a8f"... | stackv2 | #include "m_config.h"
#include <stdlib.h>
#include <check.h>
#include <mstdlib/mstdlib.h>
#include <mstdlib/mstdlib_thread.h>
#include <mstdlib/mstdlib_io.h>
#include <mstdlib/mstdlib_tls.h>
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
M_uint64 active_client_connections;
M_ui... | 2.1875 | 2 |
2024-11-19T01:24:44.559668+00:00 | 2023-08-07T19:18:32 | 776a0cd69281bb0e1716e6de689d1f63adaf5718 | {
"blob_id": "776a0cd69281bb0e1716e6de689d1f63adaf5718",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-07T19:18:32",
"content_id": "4f4c86a25e69fb8eb989547e718b2453590534ff",
"detected_licenses": [
"curl",
"Apache-2.0"
],
"directory_id": "e1d9c54e9925e30e388a255b53a93cccad0b94cb",... | stackv2 | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "v1beta3_priority_level_configuration_list.h"
v1beta3_priority_level_configuration_list_t *v1beta3_priority_level_configuration_list_create(
char *api_version,
list_t *items,
char *kind,
v1_list_meta_t *metadata
) {
v1beta3_p... | 2.28125 | 2 |
2024-11-19T01:24:44.902057+00:00 | 2023-08-09T05:54:55 | 3e1916cc0d8454c178f65298dc6c196b03565aa0 | {
"blob_id": "3e1916cc0d8454c178f65298dc6c196b03565aa0",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-09T05:54:55",
"content_id": "7fdfe9aee262e0c60c176d9423d18dbf8270019f",
"detected_licenses": [
"MIT"
],
"directory_id": "974ed0e53fc0a1afe9a8a0b91cfa698adc47c9d5",
"extension": "c"... | stackv2 | #include "../common.h"
#include "02input.h"
uint32_t GetFirstCharCount(char* string)
{
char character = string[0];
uint32_t i = 1;
uint32_t count = 1;
while (string[i] != '\0')
{
if (string[i] == character)
{
count++;
}
i++;
}
return count;
}
ui... | 3.140625 | 3 |
2024-11-19T01:24:45.051351+00:00 | 2018-05-23T10:21:14 | 1c1c236e774883128fe2e3688b6a4acbd7ebafa6 | {
"blob_id": "1c1c236e774883128fe2e3688b6a4acbd7ebafa6",
"branch_name": "refs/heads/master",
"committer_date": "2018-05-23T10:21:14",
"content_id": "1bdd63cf263e700576b0bfd72b3ab9732c1f57da",
"detected_licenses": [
"Unlicense"
],
"directory_id": "03fbe4f9546fb287334d0a7db5c0427a55707959",
"extension... | stackv2 | // The contents of this file is free and unencumbered software released into the
// public domain. For more information, please refer to <http://unlicense.org/>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#define NUM_CHARS 26
struct TrieNode {
char data;
struct TrieNode *childre... | 3.265625 | 3 |
2024-11-19T01:24:45.296186+00:00 | 2023-08-11T07:49:36 | 90a35e1cda89f772efd11a76908408dc2c9cea0e | {
"blob_id": "90a35e1cda89f772efd11a76908408dc2c9cea0e",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-16T13:20:27",
"content_id": "9634d06ba74f4711445e9e9d2b033252e3b70e0e",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "1f399edf85d995443d01f66d77eca0723886d0ff",
"extens... | stackv2 | /*
* Copyright (C) 2018-2022 Intel Corporation.
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include "log_sys.h"
#include "crash_dump.h"
#include "cmdutils.h"
#include "fsutils.h"
#include "strutils... | 2.390625 | 2 |
2024-11-19T01:24:45.414474+00:00 | 2017-02-03T17:15:17 | df5742bc55113f7602a3faf5fadeebc956a5ff99 | {
"blob_id": "df5742bc55113f7602a3faf5fadeebc956a5ff99",
"branch_name": "refs/heads/master",
"committer_date": "2017-02-03T17:15:17",
"content_id": "88e21e8eccb084f02f71a5b991b7ef7e3993b3ed",
"detected_licenses": [
"MIT"
],
"directory_id": "caa8c77af97bdd856a9580ae8907f7827171e2d5",
"extension": "c"... | stackv2 | #include <stdlib.h>
#include <string.h>
#include "stm32f4xx_hal.h"
#include "TisTpmDrv.h"
#ifndef TISI2C
#ifndef TISSPI
#ifndef NTZI2C
#error No TPM Driver implementation selected!
#endif
#endif
#endif
static HAL_StatusTypeDef
TpmSubmitCmd(
const uint8_t* cmd,
uint32_t cmdLen,
uint32_t timeout
);
static ... | 2.34375 | 2 |
2024-11-19T01:24:45.476939+00:00 | 2023-09-02T14:55:31 | de4bf783398a2293b30a931f3ea8e650a49999d9 | {
"blob_id": "de4bf783398a2293b30a931f3ea8e650a49999d9",
"branch_name": "refs/heads/master",
"committer_date": "2023-09-02T14:55:31",
"content_id": "3bbb83b415971010e99ec6877f60acd44900ba7f",
"detected_licenses": [
"BSD-2-Clause"
],
"directory_id": "8838eb997879add5759b6dfb23f9a646464e53ca",
"extens... | stackv2 | /**
* @file
* @brief
*
* @date 28.09.13
* @author Ilia Vaprol
*/
#ifndef NET_L3_IPV4_IP_OPTIONS_H_
#define NET_L3_IPV4_IP_OPTIONS_H_
#include <net/skbuff.h>
#include <netinet/in.h>
struct sk_buff;
/**
* @struct ip_options
* @brief IP Options
*
* @var faddr - Saved first hop address
* @var is_data - Optio... | 2.171875 | 2 |
2024-11-19T01:24:45.904002+00:00 | 2023-09-01T13:02:25 | 247b9dc8038855898872b810c16ce55f24e9de29 | {
"blob_id": "247b9dc8038855898872b810c16ce55f24e9de29",
"branch_name": "refs/heads/master",
"committer_date": "2023-09-01T13:02:25",
"content_id": "2a24a53524bf11dd0e99151c5a770938b3223551",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "baa9fffc817a2a993d4ecc774d3f277783308c20",
"extens... | stackv2 | /**
* Copyright (c) NVIDIA CORPORATION & AFFILIATES, 2020. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <ucs/debug/memtrack_int.h>
#include <ucs/vfs/sock/vfs_sock.h>
#include <ucs/vfs/base/vfs_obj.h>
#include <ucs/sys/compiler.h>
#include <ucs/sy... | 2.28125 | 2 |
2024-11-19T01:24:46.027620+00:00 | 2015-10-28T08:41:39 | 9047d572ce08fcf556c947ad23391af9ca40a7e9 | {
"blob_id": "9047d572ce08fcf556c947ad23391af9ca40a7e9",
"branch_name": "refs/heads/master",
"committer_date": "2015-10-28T08:41:39",
"content_id": "593050b0232db9d1ce0eadf2a257006ef24193b3",
"detected_licenses": [
"MIT"
],
"directory_id": "647280883b3e872ee9bfb6cc9bba372f2e16bad1",
"extension": "c"... | stackv2 | /*
* Copyright (c) 2015 ARClab, Lionel Riem - https://arclab.ch/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | 2.203125 | 2 |
2024-11-19T01:24:47.665581+00:00 | 2018-11-08T18:18:23 | 740d8b0f4847560244331efb60001a5316615679 | {
"blob_id": "740d8b0f4847560244331efb60001a5316615679",
"branch_name": "refs/heads/master",
"committer_date": "2018-11-08T18:18:23",
"content_id": "fc5d3a4542b7be41fc710dbc80c35777dddd2a0f",
"detected_licenses": [
"MIT"
],
"directory_id": "92b60718198830091b67bf11a5d668ffc0c4d5fa",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
void main()
{
int randomNumber = 0;
int guess = 0;
int numberOfguess;
time_t t;
srand((unsigned) time(&t));
randomNumber = rand() % 21;
printf("I have Choosen a number between 0 and 20 you have to guess that number ! \n");
for (... | 3.3125 | 3 |
2024-11-19T01:24:47.750371+00:00 | 2020-03-24T13:24:54 | eb39118912795f7c0e657d5a1fe50e46ff827726 | {
"blob_id": "eb39118912795f7c0e657d5a1fe50e46ff827726",
"branch_name": "refs/heads/master",
"committer_date": "2020-03-24T13:24:54",
"content_id": "118ebec90c55d0515b7884a908228c0d1db24c06",
"detected_licenses": [
"MIT"
],
"directory_id": "e58c3c7281a612d3a1d4cd6e06fa7fb4ce67a5b4",
"extension": "c"... | stackv2 | /*-----------------------------------------------------------------------*
* filename - mbjmsjis.c
*
* function(s)
* _mbcjmstojis - Converts a character form Shift-JIS code
* to JIS code.
*-----------------------------------------------------------------------*/
/*
* C/C++ Run ... | 2.234375 | 2 |
2024-11-19T01:24:47.843697+00:00 | 2015-12-15T17:53:06 | 56d7200e1c6b4e875c75c446c7f369af24ecc65d | {
"blob_id": "56d7200e1c6b4e875c75c446c7f369af24ecc65d",
"branch_name": "refs/heads/master",
"committer_date": "2015-12-15T17:53:06",
"content_id": "d25e7571433c870b2e246b5b60a92d03b2103326",
"detected_licenses": [
"MIT"
],
"directory_id": "2a181895280c2e85b0f44658dcc87163395bf66b",
"extension": "c"... | stackv2 | /*******************************************************************
*** Runge-Kutta 4th order method for the solution of
*** 2nd order ODEs: main source file.
***
*** As usual, the 2nd order ODE is split into two coupled 1st order ODEs,
*** which are solved with the Runge-Kutta function:
***
*** ... | 2.828125 | 3 |
2024-11-19T01:24:47.945020+00:00 | 2019-04-11T12:43:41 | 9e6753f741c8e5b1cacfae8dc6724411e9953535 | {
"blob_id": "9e6753f741c8e5b1cacfae8dc6724411e9953535",
"branch_name": "refs/heads/master",
"committer_date": "2019-04-11T12:43:41",
"content_id": "7c3790b8fccdf07b7adc0177feac87f32bd58d63",
"detected_licenses": [
"MIT"
],
"directory_id": "d3aaa326aa784a7d06db9b1e26ae30162949ecbc",
"extension": "c"... | stackv2 | /*
* @Author: QianXu
* @LastEditors: QianXu
* @Description: NONE
* @Date: 2019-03-09 12:14:13
* @LastEditTime: 2019-03-09 12:20:10
*/
#include "led.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//ALIENTEK 精英STM32开发板
//LED驱动代码
//正点原子@ALIENTEK
/... | 2.234375 | 2 |
2024-11-19T01:24:48.221784+00:00 | 2013-06-21T13:22:30 | 791060cb98e89127962c6a97faca53f33a2de263 | {
"blob_id": "791060cb98e89127962c6a97faca53f33a2de263",
"branch_name": "refs/heads/master",
"committer_date": "2013-06-21T13:22:30",
"content_id": "705f0e2d378af5f0784d18f0df74adeb723a7d06",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "0ff71c0e2d2ed96d207a8f999767daa998b7167d",
"extens... | stackv2 | /**
* Copyright (C) 2010, Hyves (Startphone Ltd.)
*
* This module is part of Libredis (http://github.com/toymachine/libredis) and is released under
* the New BSD License: http://www.opensource.org/licenses/bsd-license.php
*
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errn... | 2.78125 | 3 |
2024-11-19T01:24:48.762282+00:00 | 2021-06-15T10:21:43 | 75bf6eb2d386c8da7ad410ddc942d7623648a430 | {
"blob_id": "75bf6eb2d386c8da7ad410ddc942d7623648a430",
"branch_name": "refs/heads/main",
"committer_date": "2021-06-15T10:21:43",
"content_id": "976059b5ae5c79f0553fc89ddb8760f7978d620a",
"detected_licenses": [
"MIT"
],
"directory_id": "0c0635228b15dfdd1d1c0fec2e86f6a7b4835dfb",
"extension": "c",
... | stackv2 | // GLEW must always come before SDL_opengl
#include <GL/glew.h>
#include <SDL.h>
#include <SDL_opengl.h>
#include "SDL_endian.h"
#include "renderer.h"
SDL_Window *Window;
GLuint Vbo, Vao, ShaderProg;
byte pal_idx[HEIGHT][WIDTH];
byte data[HEIGHT][WIDTH][3];
byte palette[256][3];
GLchar* vertexSrc = \
"#version 1... | 2.390625 | 2 |
2024-11-19T01:24:48.913034+00:00 | 2023-08-31T11:39:28 | 3001a9bd531b8218be0b7e0c81edd33c0703bccd | {
"blob_id": "3001a9bd531b8218be0b7e0c81edd33c0703bccd",
"branch_name": "refs/heads/master",
"committer_date": "2023-09-01T12:39:29",
"content_id": "da3b6c0c2a7c7807535cf87f1da9d871f8c92a78",
"detected_licenses": [
"BSD-2-Clause"
],
"directory_id": "cff4428975e403e4ef02d75498b78cd1a610a01a",
"extens... | stackv2 | /*
* Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file.
*
* 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 lis... | 2 | 2 |
2024-11-19T01:24:49.030677+00:00 | 2020-03-04T17:22:47 | 901364c3d103b8346277976645929a00eb01a79d | {
"blob_id": "901364c3d103b8346277976645929a00eb01a79d",
"branch_name": "refs/heads/master",
"committer_date": "2020-03-04T17:22:47",
"content_id": "0e620716dd3a4859cf125771163f407f1dff44bf",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "43fb8ce1f1b1dbc161651d366bed8f95768344c4",
"extens... | stackv2 | #define INCL_DOSMEMMGR
#define INCL_DOSERRORS
#define INCL_DOSSEMAPHORES
#include <os2.h>
#include "hmem.h"
#include "debug.h" // Must be the last.
// MIN_POOL_SIZE
// Size of one memory pool.
#define MIN_POOL_SIZE 0x100000
// MAX_POOLS
// The maximum number of memory pools.
#define MAX_POOLS 32
static U... | 2.328125 | 2 |
2024-11-19T01:24:50.129595+00:00 | 2021-01-22T22:20:06 | 602be899ab50387bd06d2596b04cd7de7977190a | {
"blob_id": "602be899ab50387bd06d2596b04cd7de7977190a",
"branch_name": "refs/heads/master",
"committer_date": "2021-01-22T22:20:06",
"content_id": "6cb524ced30874cb237ad821163bf9b0379ceb5d",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "c3ac780e5fa6ecde494af5fd46488a9af847d17e",
"extens... | stackv2 | /*
This file is part of ParTI!.
ParTI! is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
ParTI! is distributed... | 2.53125 | 3 |
2024-11-19T01:24:56.631460+00:00 | 2023-07-12T08:58:50 | 0f27768e569fe658ff206d07822665b629487372 | {
"blob_id": "0f27768e569fe658ff206d07822665b629487372",
"branch_name": "refs/heads/master",
"committer_date": "2023-07-12T08:58:50",
"content_id": "bbb660aa7329588527316f65d07d6f0a5959e605",
"detected_licenses": [
"BSD-2-Clause"
],
"directory_id": "ac6bbe82ff48310dee9acbdf8ff0a696b504988c",
"extens... | stackv2 | #include <stdio.h>
#include <ev.h>
#include <unistd.h>
#include <thread_pool.h>
#include <errno.h>
#include <stdatomic.h>
#include <signal.h>
#include <string.h>
#include <stdbool.h>
#include <ev_queue.h>
#include <pthread.h>
struct task_s {
task_func_type task_function;
task_argument_type * arg;
};
struct thr_s {... | 2.453125 | 2 |
2024-11-19T01:24:58.775251+00:00 | 2020-11-01T13:56:16 | a4b00016be3dba56ce1a58f97b7235656123c59e | {
"blob_id": "a4b00016be3dba56ce1a58f97b7235656123c59e",
"branch_name": "refs/heads/main",
"committer_date": "2020-11-01T13:56:16",
"content_id": "4782ff31a4f4ae0ab793d9ce482c2a7a73301152",
"detected_licenses": [
"MIT"
],
"directory_id": "d3f9bf57047d17c57c2f03bb7265c96a1b1a0c0e",
"extension": "c",
... | stackv2 | #include <inc/lib.h>
void _main(void)
{
// Create & run the slave environments
int ID;
for(int i = 0; i < 3; ++i)
{
ID = sys_create_env("dummy_process", (myEnv->page_WS_max_size), (myEnv->SecondListSize),(myEnv->percentage_of_WS_pages_to_be_removed));
sys_run_env(ID);
}
env_sleep(100000);
// To ensure that... | 2.375 | 2 |
2024-11-19T01:24:58.841966+00:00 | 2022-09-19T10:50:29 | 40d79c6a36bfd29a46d9a545e8cdc2cd17e227a1 | {
"blob_id": "40d79c6a36bfd29a46d9a545e8cdc2cd17e227a1",
"branch_name": "refs/heads/main",
"committer_date": "2022-09-19T10:50:29",
"content_id": "d0f9d210aea2009d0f0447638e01422fe4de4b41",
"detected_licenses": [
"MIT"
],
"directory_id": "af8b553fafb5cb931f8e0a652777b8bf86a99897",
"extension": "c",
... | stackv2 | #include <stdio.h>
int main(void)
{
int x, prev = 0, prevprev = 0;
int index = 0, start = 1, max = 0, max__left = 0, start__find = 0;
int left = 0, right = 0;//right負責暫存左半邊,等right固定再存到left
while (scanf("%d", &x) != EOF)
{
index++;
if ((x - prev) * (prev - prevprev) > 0) //山或谷左半邊
{
right++;
}
if ((x - ... | 3.03125 | 3 |
2024-11-19T01:24:59.020289+00:00 | 2020-12-25T14:04:04 | 1bdded483f2605cb5c4bcfaf9e08d8aa8f95ad07 | {
"blob_id": "1bdded483f2605cb5c4bcfaf9e08d8aa8f95ad07",
"branch_name": "refs/heads/master",
"committer_date": "2020-12-25T14:04:04",
"content_id": "1411026d57cd752d6356f855eb214069cf64f8fd",
"detected_licenses": [
"MIT"
],
"directory_id": "857fc21a40aa32d2a57637de1c723e4ab51062ff",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdbool.h>
// 自己写一个偷懒版的 isBadVersion()
bool isBadVersion(int version) {
// [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
// [G, G, G, G, G, G, G, B, B, B]
return version >= 100000000;
}
int firstBadVersion(int n) {
// [first, last)
unsigned int first = 1, last = (unsigned int)n + 1;... | 3.1875 | 3 |
2024-11-19T01:24:59.342752+00:00 | 2019-08-20T22:32:16 | 9380edabecca722eca6ed97267ee8306069c4ca4 | {
"blob_id": "9380edabecca722eca6ed97267ee8306069c4ca4",
"branch_name": "refs/heads/master",
"committer_date": "2019-08-20T22:32:16",
"content_id": "a8e76c8aa2309e65fe7cc136b28cd92245222bb1",
"detected_licenses": [
"MIT"
],
"directory_id": "b57951ab634d951d31f15c09ec2de6fcf0bb856b",
"extension": "h"... | stackv2 | // this file was borrowed from linux kernel
// originally it has name /usr/src/linux/include/linux/iso_fs.h
// unfortunately there was no copyright header on it,
// so i`m assume it have copyrighted under terms of
// GNU GENERAL PUBLIC LICENSE version 2
// as a whole linux kernel
// copy of this license included into f... | 2.015625 | 2 |
2024-11-19T01:25:00.596025+00:00 | 2014-09-17T14:51:07 | 6e0d9faea29bab5f3e6c6b8c09546078621656ee | {
"blob_id": "6e0d9faea29bab5f3e6c6b8c09546078621656ee",
"branch_name": "refs/heads/master",
"committer_date": "2014-09-17T14:51:07",
"content_id": "17579dc69c645b96e4d31cf68cf68f270ba47a9a",
"detected_licenses": [
"MIT"
],
"directory_id": "d0074be56bc938f703b98c6760d7a2afe67aaf2f",
"extension": "c"... | stackv2 | /*
Customisable Watch Pebble App
Shows how to use button functionality--as a standard app.
Also shows adding a second window.
Also shows how to have a full screen window.
(Note: Doesn't currently preserve location.)
*/
// Standard includes
#include "pebble.h"
// App-specific data
static Window ... | 2.484375 | 2 |
2024-11-19T01:25:01.265521+00:00 | 2016-09-20T10:11:22 | fb1934d8c2d4ca100d4ccc77adeb931acec33d26 | {
"blob_id": "fb1934d8c2d4ca100d4ccc77adeb931acec33d26",
"branch_name": "refs/heads/master",
"committer_date": "2016-09-20T10:11:22",
"content_id": "6e97958665213cda802e7161bdc13f0450070f57",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "7f5937c840ea0a0a33270040b15b1ec882422c87",
"extensio... | stackv2 | /** This exit type is for outdoor (outer wall) exits that
* cannot be closed (although they could be blocked if you stand
* in front of them...).
*
* Notes: An unusual property of these exits is that they can be
* set to 'invisible' -- they do this automatically when exit_shape
* is queried, and the room type is ... | 2.203125 | 2 |
2024-11-19T01:25:01.327626+00:00 | 2023-09-01T11:37:06 | 9dca5050f544f4950b6653c5626b1dcc2a758cd7 | {
"blob_id": "9dca5050f544f4950b6653c5626b1dcc2a758cd7",
"branch_name": "refs/heads/master",
"committer_date": "2023-09-01T11:37:06",
"content_id": "b85fc7fd4c6f34a18e6c3e0a2e4458eaa84c93da",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "248f9d022d678a8e12e84b9ed004d1f544b1962d",
"extensio... | stackv2 |
/*******************************************************************************
* Ledger Nano S - Secure firmware
* (c) 2021 Ledger
*
* 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.078125 | 2 |
2024-11-19T01:25:01.384876+00:00 | 2021-03-03T02:01:32 | 09549a101c42ee25380392374eebf5b63d0dc5e5 | {
"blob_id": "09549a101c42ee25380392374eebf5b63d0dc5e5",
"branch_name": "refs/heads/master",
"committer_date": "2021-03-03T02:01:32",
"content_id": "2715629d0629597b5649940a809ae35175c46fe3",
"detected_licenses": [
"MIT"
],
"directory_id": "135dc036d1a10b1672efd2cb10166578e9b7439d",
"extension": "c"... | stackv2 | #include "FILE.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
static size_t write_(FILE stream[restrict static 1], const void* restrict buffer, size_t size)
{
memcpy(stream->ptr, buffer, size);
stream->ptr += size;
return size;
}
int vsprintf(char s[restrict static 1], const char format[res... | 2.46875 | 2 |
2024-11-19T01:25:01.466309+00:00 | 2020-04-17T22:20:42 | 60a74dad73bd36a7e5cd95c3bea80350dcae9ae2 | {
"blob_id": "60a74dad73bd36a7e5cd95c3bea80350dcae9ae2",
"branch_name": "refs/heads/master",
"committer_date": "2020-04-17T22:20:42",
"content_id": "78eecfeafc2832b4d1fed71f1f291a24101bd85f",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "4c03419127e6df8e27b926025ff82224f7f9db0a",
"extensio... | stackv2 | #include <nrf_temp.h>
#include "ble_temp_sensor.h"
#include "temp.h"
#define TEMP_BUFFER_SIZE 10
#define TEMP_ERROR_VALUE 0x7FFF
typedef struct ringbuffer {
uint8_t head;
uint8_t size;
int16_t* buf;
}RB;
static RB rbuffer;
static int16_t buffer[TEMP_BUFFER_SIZE];
static struct os_mutex ringbuffer_mutex;
... | 2.796875 | 3 |
2024-11-19T01:25:01.650737+00:00 | 2021-08-08T11:46:15 | 5844d1b0ee310d12d37cc4ab47e415a5a3f0ba98 | {
"blob_id": "5844d1b0ee310d12d37cc4ab47e415a5a3f0ba98",
"branch_name": "refs/heads/master",
"committer_date": "2021-08-08T11:46:15",
"content_id": "d0c080853a1f2a8b44e28f3493400954b190953c",
"detected_licenses": [
"MIT"
],
"directory_id": "4588110975be850ee7ab715c14e0461251c1f55c",
"extension": "c"... | stackv2 | /*
* ch13/2_percpu/percpu_var.c
***************************************************************
* This program is part of the source code released for the book
* "Linux Kernel Programming"
* (c) Author: Kaiwan N Billimoria
* Publisher: Packt
* GitHub repository:
* https://github.com/PacktPublishing/Linux-... | 2.375 | 2 |
2024-11-19T01:25:01.862142+00:00 | 2022-03-16T14:20:23 | 77cf184700f4c82623b5e3a33e54eec5ce472175 | {
"blob_id": "77cf184700f4c82623b5e3a33e54eec5ce472175",
"branch_name": "refs/heads/master",
"committer_date": "2022-03-16T14:20:23",
"content_id": "99c63b07e322d60c58344b24d499909ea54aab5a",
"detected_licenses": [
"MIT"
],
"directory_id": "e645ac037b0184295569ba017e15bb65af89f3dc",
"extension": "h"... | stackv2 | //
// Created by mschnur on 11/16/19.
//
#ifndef FASTOCTREE_STACK_H
#define FASTOCTREE_STACK_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
typedef struct Stack {
int topIndex;
int elementSize;
int capacity;
void *data;
} Stack;
Stack *Stack__init(int elementSize, int numElements);
v... | 2.375 | 2 |
2024-11-19T01:25:01.986791+00:00 | 2018-05-04T15:14:08 | 09abf45984bfd30a8176c02a557d11e47fa68f54 | {
"blob_id": "09abf45984bfd30a8176c02a557d11e47fa68f54",
"branch_name": "refs/heads/master",
"committer_date": "2018-05-04T15:14:08",
"content_id": "8a2af666f1492d4d4b8c7fe74e630be116010a34",
"detected_licenses": [
"MIT"
],
"directory_id": "9ffeefd843b94981ea6e64bbd9824e9a70547a05",
"extension": "c"... | stackv2 | #include <stdlib.h>
#include "ParseTree.h"
#include "Token.h"
#include "LinkedList.h"
//////////////////////////////////
// Constructors and Destructors //
//////////////////////////////////
ParseTree *ParseTree_new(int symbol, Token *tkn_ptr){
return ParseTree_Node_new(symbol, tkn_ptr);
}
void ParseTree_destroy... | 3.015625 | 3 |
2024-11-19T01:25:02.059860+00:00 | 2022-08-30T19:53:19 | 3ce60ec01ac13a0b9636f6bbba2310b75ad8b637 | {
"blob_id": "3ce60ec01ac13a0b9636f6bbba2310b75ad8b637",
"branch_name": "refs/heads/master",
"committer_date": "2022-08-30T19:53:19",
"content_id": "67e1e819f977971d15dc946989ada76b8379139d",
"detected_licenses": [
"BSD-2-Clause"
],
"directory_id": "a9a591fc3964117db3b16583c3bfa5a24cfc0114",
"extens... | stackv2 | /***** includes *****/
#include "lfds720_list_singlylinked_ordered_internal.h"
/****************************************************************************/
enum lfds720_list_so_insert_result lfds720_list_so_insert( struct lfds720_list_so_state *lsos,
str... | 2.484375 | 2 |
2024-11-19T01:25:02.577965+00:00 | 2016-01-24T19:51:14 | 59a0558e343ead4aa0b2910a970ca50221933b3e | {
"blob_id": "59a0558e343ead4aa0b2910a970ca50221933b3e",
"branch_name": "refs/heads/master",
"committer_date": "2016-01-24T19:51:14",
"content_id": "b03fdc6db2652eee6b1a591852ceb3a65330c305",
"detected_licenses": [
"BSD-3-Clause"
],
"directory_id": "adee298ce30a4aa079dd47f438e35fbc463bcd88",
"extens... | stackv2 | #ifndef __TIMER_C__
#define __TIMER_C__
#include <stdbool.h>
/******* defines ********/
// 16MHz
#define TICKS_PER_MICROSEC 16
#define TICKS_PER_MILISEC 16000
#define TICKS_PER_SECOND 16000000
// 40MHz
/*#define TICKS_PER_MICROSEC 40
#define TICKS_PER_MILISEC 40000
#define TICKS_PER_SECOND 40000000*/
#define get_fa... | 2.671875 | 3 |
2024-11-19T01:25:02.684738+00:00 | 2017-02-06T14:24:50 | 4f1f763a7786ccb54c5805b3986f6581423eb370 | {
"blob_id": "4f1f763a7786ccb54c5805b3986f6581423eb370",
"branch_name": "refs/heads/master",
"committer_date": "2017-02-06T14:24:50",
"content_id": "a95fbcdd10c4415607e9fb4286c152daed3913f7",
"detected_licenses": [
"Unlicense"
],
"directory_id": "387ec1fc9bae065157b7e6950e4df9a1741515ed",
"extension... | stackv2 | Token lex_whitespace(Reader *reader)
{
Token token;
u32 c;
c = curr(reader);
token.type = Token_whitespace;
token.newline_count = 0;
token.space_count = 0;
while(c == ' ')
{
++token.space_count;
c = next(reader);
}
while(c == '\n')
{
token.space_c... | 2.71875 | 3 |
2024-11-19T01:25:02.857238+00:00 | 2021-11-08T22:25:24 | 5fa468c0309116f06bb54c6211bb38249a274f67 | {
"blob_id": "5fa468c0309116f06bb54c6211bb38249a274f67",
"branch_name": "refs/heads/main",
"committer_date": "2021-11-08T22:25:24",
"content_id": "6fb79423e2b3952dfe4f58937eca1d1e61805902",
"detected_licenses": [
"Unlicense"
],
"directory_id": "6ef063360d8cb25c89483d180da3a702462dde8c",
"extension":... | stackv2 | // Tic-tac-toe (T3) Network Game
// Jason Losh
//-----------------------------------------------------------------------------
// Compile notes for C99 code
//-----------------------------------------------------------------------------
// gcc -o t3 t3.c udp.c
//------------------------------------------------------... | 2.765625 | 3 |
2024-11-19T01:25:02.950414+00:00 | 2019-10-12T08:15:49 | 2be91065e76169a248a8d5310b0324e664121d10 | {
"blob_id": "2be91065e76169a248a8d5310b0324e664121d10",
"branch_name": "refs/heads/master",
"committer_date": "2019-10-12T08:15:49",
"content_id": "4079f9fcb525009fe00fa8a9140182763a02d842",
"detected_licenses": [
"MIT"
],
"directory_id": "76ef5f1a36a0d401295db2b7d766eb44c6088f82",
"extension": "c"... | stackv2 | /*
* Copyright 2017-2019 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "fsl_qspi.h"
#include "mflash_drv.h"
#include "pin_mux.h"
#include <stdbool.h>
#include "fsl_debug_console.h"
#define FLASH_ENABLE_OCTAL_CMD 0x2U
#define MAX_QSPI_CLK_DIV 0xFFU
/* Ratio between clock of cpu and qspi, qspi clk mus... | 2.09375 | 2 |
2024-11-19T01:25:03.254337+00:00 | 2023-08-17T16:38:01 | ed752388b538b05102f5e808fcac268259b2b54b | {
"blob_id": "ed752388b538b05102f5e808fcac268259b2b54b",
"branch_name": "refs/heads/master",
"committer_date": "2023-08-17T16:38:01",
"content_id": "62cbf9e17fe85540577f82328465d310d4222f41",
"detected_licenses": [
"Unlicense"
],
"directory_id": "97d351af16bfe99eac08a14f0838ae13af15ff23",
"extension... | stackv2 | /*
* hw_usbd.h
*
* USB register definitions for STM32F10x USBD peripheral.
*
* Written & released by Keir Fraser <keir.xen@gmail.com>
*
* This is free and unencumbered software released into the public domain.
* See the file COPYING for more details, or visit <http://unlicense.org>.
*/
struct usb {
uin... | 2.140625 | 2 |
2024-11-19T01:25:03.318059+00:00 | 2017-04-18T09:18:39 | 4bfaf1ce0be7c906d32019a89b256c5c474f26db | {
"blob_id": "4bfaf1ce0be7c906d32019a89b256c5c474f26db",
"branch_name": "refs/heads/master",
"committer_date": "2017-04-18T09:18:39",
"content_id": "6f92f67c2740c5799c97e8ec7bad32114d28c003",
"detected_licenses": [
"MIT"
],
"directory_id": "266d6e95c87aa5239901880ea6fa0e6ac0bc868d",
"extension": "c"... | stackv2 | #include <Python.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <alsa/asoundlib.h>
#include "structmember.h"
typedef struct {
PyObject_HEAD
int channel; // unsigned_char
int type; // snd_seq_event_type_t
int value1;
int value2;
PyObject... | 2.46875 | 2 |
2024-11-19T01:25:04.126555+00:00 | 2020-03-18T02:57:14 | 72514e4171be8be433f6d32091ad37f2096b9ffc | {
"blob_id": "72514e4171be8be433f6d32091ad37f2096b9ffc",
"branch_name": "refs/heads/master",
"committer_date": "2020-03-18T02:57:14",
"content_id": "4898f9b53c1467f4a093210302648ebb854b6b97",
"detected_licenses": [
"MIT"
],
"directory_id": "3934cf71d1ae19bd65ebc3f678395e2093a9a7d1",
"extension": "c"... | stackv2 | #include <stdio.h>
#include <stdlib.h>
typedef struct{ //Cria tipo de variavel Info
char Nome[50]; //Variavel nome
int Nota; //Variavel nota
}Info;
int main(){
printf("Desenvolvido por Ludwig Fonseca, Monitor da Disciplina Introdução a Informática para Automação, Algoritmos e Micropr... | 3.71875 | 4 |
2024-11-19T01:25:04.469326+00:00 | 2020-06-20T23:27:28 | 9391b2d149a893d422bc1cdf9090bb224de48fa7 | {
"blob_id": "9391b2d149a893d422bc1cdf9090bb224de48fa7",
"branch_name": "refs/heads/master",
"committer_date": "2020-06-20T23:27:28",
"content_id": "f3a3e1e15ab97af74bec0459190b055477ca4477",
"detected_licenses": [
"MIT"
],
"directory_id": "4def2cfd6b0c4e1d1e3cd1366189e1dea3e02fce",
"extension": "c"... | stackv2 | #include <bgbccc.h>
int BGBCC_FrBC_CheckExpandLvt4(BGBCC_FrCC_State *ctx)
{
int i;
if(!ctx->ctab_lvt4)
{
i=1024;
ctx->ctab_lvt4=bgbcc_malloc(i*sizeof(u32));
ctx->ctab_lvt4[0]=0;
ctx->n_ctab_lvt4=1;
ctx->m_ctab_lvt4=i;
}
if((ctx->n_ctab_lvt4+1)>=ctx->m_ctab_lvt4)
{
i=ctx->m_ctab_lvt4;
i=i+(i>>1);... | 2.546875 | 3 |
2024-11-19T01:37:31.247790+00:00 | 2020-01-25T10:31:04 | b4e372f06a62559bbecc6f4dae7e8b4cbc9ba914 | {
"blob_id": "b4e372f06a62559bbecc6f4dae7e8b4cbc9ba914",
"branch_name": "refs/heads/master",
"committer_date": "2020-01-25T10:31:04",
"content_id": "9f179fab2136eaba73879af74bdf9b5b63bef2f7",
"detected_licenses": [
"MIT"
],
"directory_id": "d27e6ec5453cdd252beb8520ba1940fec140bc0e",
"extension": "c"... | stackv2 | /*
* letimer.c
* This file contains functions for initializing LETIMER, delay generation
* and LETIMER interrupt handler.
*
* Created on: Jan 29, 2019
* Author: Mohit
*/
#include "letimer.h"
#if DEVICE_IS_BLE_SERVER
/* Initialization of structure for temperature events */
struct tempEvents TEMP_EVENT;
#e... | 2.90625 | 3 |
2024-11-19T01:37:31.314609+00:00 | 2021-05-16T21:46:26 | ef8ad9891839510235f903ccbb13452f9e2b44a1 | {
"blob_id": "ef8ad9891839510235f903ccbb13452f9e2b44a1",
"branch_name": "refs/heads/master",
"committer_date": "2021-05-16T21:46:26",
"content_id": "0769bca08d43b50dae536d60b28f0945af7b8bff",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "0853c4c87ccdbda20ad3facc7702baf187ebc8dc",
"extensio... | stackv2 | #pragma once
#include "mdv_netaddr.h"
typedef enum
{
MDV_SOCK_SHUT_RD = 1 << 0,
MDV_SOCK_SHUT_WR = 1 << 1
} mdv_socket_shutdown_type;
mdv_descriptor mdv_socket(mdv_socket_type type);
void mdv_socket_close(mdv_descriptor sock);
void mdv_socket_shutdown(mdv_descriptor sock, int how);
mdv_e... | 2.109375 | 2 |
2024-11-19T01:37:31.702364+00:00 | 2015-05-06T00:32:40 | b8b927918ad904936762609b17e8836a29bb0377 | {
"blob_id": "b8b927918ad904936762609b17e8836a29bb0377",
"branch_name": "refs/heads/master",
"committer_date": "2015-05-06T00:32:40",
"content_id": "afd8cd0934cbdac0861c70bf9c720d364586e5cb",
"detected_licenses": [
"MIT"
],
"directory_id": "52a95fc9bde2c62c63609898bd3689b5814f3140",
"extension": "c"... | stackv2 | #include <pebble.h>
static Window *s_main_window;
static GBitmap *s_bitmap;
static BitmapLayer *s_bitmap_layer;
static void main_window_load(Window *window) {
Layer *window_layer = window_get_root_layer(window);
GRect bounds = layer_get_bounds(window_layer);
s_bitmap = gbitmap_create_with_resource(RESOURCE_ID_... | 2.1875 | 2 |
2024-11-19T01:37:31.897581+00:00 | 2021-04-19T14:58:43 | 03f4cc51671621a23eedd17ff31a34ab1cd8695b | {
"blob_id": "03f4cc51671621a23eedd17ff31a34ab1cd8695b",
"branch_name": "refs/heads/master",
"committer_date": "2021-04-19T14:58:43",
"content_id": "f2af5e91ce87aa6f77ac42cfc06650ee568e05e0",
"detected_licenses": [
"MIT"
],
"directory_id": "933f1150b6efe6184f14a327459926f208b71471",
"extension": "c"... | stackv2 | #if defined(__unix__)
#include <tinyalsa/asoundlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <signal.h>
#include <string.h>
#include <limits.h>
static int capturing = 1;
static int prinfo = 1;
typedef int (*capture_callback)(void *pvData, int iLen);
void vStartCapture(capture_callback cb)
... | 2.40625 | 2 |
2024-11-19T01:37:31.976058+00:00 | 2021-02-23T00:30:16 | d1746e412ee9bdb7da923b447f5f387254f71e88 | {
"blob_id": "d1746e412ee9bdb7da923b447f5f387254f71e88",
"branch_name": "refs/heads/master",
"committer_date": "2021-02-23T00:31:07",
"content_id": "1bc5af4a155b6dd7b1be634c1cca4453b137d3c4",
"detected_licenses": [
"MIT"
],
"directory_id": "ebcf88daf1d94e77fcc2e307a82bde0a0837e900",
"extension": "c"... | stackv2 | /*
Copyright 2017 Brandon Foltz
Permission is hereby granted, free of charge,
to any person obtaining a copy of this software
and associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distribute, ... | 2.8125 | 3 |
2024-11-19T01:37:33.248990+00:00 | 2021-08-17T17:40:55 | 27dceebaab9f9a92915900db4475d2f44fc932e7 | {
"blob_id": "27dceebaab9f9a92915900db4475d2f44fc932e7",
"branch_name": "refs/heads/main",
"committer_date": "2021-08-17T17:40:55",
"content_id": "c619a4b44389838ebb01a37db0aa0971ddeca880",
"detected_licenses": [
"MIT"
],
"directory_id": "f7b0e3a6919a6cb270ec9edec8365dfad5c9b08e",
"extension": "c",
... | stackv2 | //LEARNPROGRAMO-PROGRAMMING MADE SIMPLE
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
#include<windows.h>
#define ANS 15
#define ACS 4
COORD coord= {0,0}; // this is global variable
void gotoxy(int x,int y)
{
coord.X=x;
coord.Y=y;
SetConsoleCursorPosition(GetSt... | 2.828125 | 3 |
2024-11-19T01:37:33.811891+00:00 | 2016-09-08T05:51:06 | bdeac9fdeb6d20c0fcc2dafc162cf98ad93cd30a | {
"blob_id": "bdeac9fdeb6d20c0fcc2dafc162cf98ad93cd30a",
"branch_name": "refs/heads/master",
"committer_date": "2016-09-08T05:51:06",
"content_id": "bf90056f5572fcf8825a26d24145de7e1f65b404",
"detected_licenses": [
"MIT"
],
"directory_id": "a4a26f08f2252b1f39475369e955669d05c31ab3",
"extension": "c"... | stackv2 | // This code written by Chris Davis
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
struct timeval begin, end;
struct node {
int data;
struct node *next;
struct node *prev;
}*trashHead, *trashTail, *trashCurrent;
struct timeNode {
double data;
struct timeNode *next... | 3.046875 | 3 |
2024-11-19T01:37:33.912847+00:00 | 2018-06-22T08:13:56 | c522a3b2052899408a1067127fa413844b6eb47e | {
"blob_id": "c522a3b2052899408a1067127fa413844b6eb47e",
"branch_name": "refs/heads/master",
"committer_date": "2018-06-22T08:13:56",
"content_id": "1350f758909e6bf19fac5225e001191a3d5ea0b5",
"detected_licenses": [
"MIT"
],
"directory_id": "b095b03fed35257501500b8dc440e637fc9961d2",
"extension": "c"... | stackv2 | /* 引用头文件 *****************************************************************/
#include "flash.h"
/* 私有数据类型 ***************************************************************/
/* 私有常数宏 *****************************************************************/
/* 私有动作宏 *****************************************************************... | 2.859375 | 3 |
2024-11-19T01:37:34.017358+00:00 | 2020-07-03T12:52:46 | a583005f8d62f02e900d14064ec270acabe44617 | {
"blob_id": "a583005f8d62f02e900d14064ec270acabe44617",
"branch_name": "refs/heads/master",
"committer_date": "2020-07-03T12:52:46",
"content_id": "37d4e7793a8ad5563aa56937f6cb89c12483754a",
"detected_licenses": [
"Zlib",
"ISC",
"Apache-2.0",
"MIT"
],
"directory_id": "06dfc13ac428efbc97ee... | stackv2 | /*
Ellipse Workstation 1100 (fictitious computer) Emulator (e1100em)
65c816 ALU implementation
Copyright (c) 2020 Sampo Hippeläinen (hisahi)
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 withou... | 2.1875 | 2 |
2024-11-19T01:37:34.085157+00:00 | 2021-05-19T19:08:42 | 92e66280d99650cebda6f3812c85d42cb114d398 | {
"blob_id": "92e66280d99650cebda6f3812c85d42cb114d398",
"branch_name": "refs/heads/master",
"committer_date": "2021-05-19T19:08:42",
"content_id": "c101b989c54bf9e0d6c089f6425abb8d1f9f5e0c",
"detected_licenses": [
"MIT"
],
"directory_id": "b1edd780d6827e947cdb6d052fe55ff3d289e25a",
"extension": "c"... | stackv2 | #include <stdlib.h>
#include <string.h>
#include "audio/audio.h"
#include "audio/sink.h"
#include "audio/sinks/openal_sink.h"
#include "utils/log.h"
audio_sink *_global_sink = NULL;
struct sink_info_t {
int (*sink_init_fn)(audio_sink *sink);
const char* name;
} const sinks[] = {
#ifdef USE_OPENAL
{openal_... | 2.59375 | 3 |
2024-11-19T01:37:34.186552+00:00 | 2021-06-23T23:03:37 | 9b1940a16c7e029845104f9d8f5b45e5dddfe6b2 | {
"blob_id": "9b1940a16c7e029845104f9d8f5b45e5dddfe6b2",
"branch_name": "refs/heads/main",
"committer_date": "2021-06-23T23:03:37",
"content_id": "11a8f1b3705fe5e18831629328890dacbe0a1189",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "1073a9f57367399e05672dadd545d19f1d6ced5c",
"extension"... | stackv2 | #include<stdio.h>
#include<string.h>
void comprobarPalindromo(char frase[])
{
char tempString[50];
int ajuste = 0;
int contador = 0;
int i;
for(i = 0; i <= strlen(frase); i++)
{
if(i == strlen(frase))
tempString[i - ajuste] == '\n';
if(frase[i] == ' ' || frase[i] ... | 3.46875 | 3 |
2024-11-19T01:37:34.256418+00:00 | 2021-12-13T05:39:35 | ebfc3f3157fcc30c18014ca54cd59a31267d5161 | {
"blob_id": "ebfc3f3157fcc30c18014ca54cd59a31267d5161",
"branch_name": "refs/heads/master",
"committer_date": "2021-12-13T05:39:35",
"content_id": "6ed6a63ece5b5ecb1b88cfee35c0354e9e00e3f1",
"detected_licenses": [
"MIT"
],
"directory_id": "df2d16927b200ca86d9d1134751aef82f0b4e6c1",
"extension": "c"... | stackv2 | #include <stdint.h>
#include <stdio.h>
#include <inttypes.h>
int main()
{
uint64_t a = 0x12;
printf("a:%"PRIu64"\n", a);
return 0;
}
| 2.15625 | 2 |
2024-11-19T01:37:34.441338+00:00 | 2021-05-11T21:44:57 | 67051671efd65470c72fcdecf6939860ebda776b | {
"blob_id": "67051671efd65470c72fcdecf6939860ebda776b",
"branch_name": "refs/heads/master",
"committer_date": "2021-05-11T21:44:57",
"content_id": "23c84ad8dd66381f1f04cdf282a4ca44ff3a6be9",
"detected_licenses": [
"MIT"
],
"directory_id": "ba1d508fb79a34b2e7f72da4f07af9ef8ec4740e",
"extension": "c"... | stackv2 | //////////////////////////////////
//// ////
//// Auteur: Quentin GRUCHET ////
//// Date : Avril 2021 ////
//// Fichier : chiffrement.c ////
//// ////
//////////////////////////////////
#include "chiffrement.h"
////////////////////////FONCTIONS PRINCIPALES/////////... | 3.203125 | 3 |
2024-11-19T01:37:34.521184+00:00 | 2014-12-03T01:19:47 | 55f4176caa7e1512e3713e39973c08c5c5cdc659 | {
"blob_id": "55f4176caa7e1512e3713e39973c08c5c5cdc659",
"branch_name": "refs/heads/master",
"committer_date": "2014-12-03T01:19:47",
"content_id": "d9e755e7d1389b43e08541ef2967829a0fb01d30",
"detected_licenses": [
"MIT"
],
"directory_id": "25cc0372c0612609b1efc346a2e8c5e5699946cd",
"extension": "h"... | stackv2 | //
// Support Functions.h
// calendar
//
// Created by Bruno Chroniaris on 11/5/14.
// Copyright (c) 2014 UNIUM automação. All rights reserved.
//
#ifndef __calendar__Support_Functions__
#define __calendar__Support_Functions__
#include "Headers.h"
/*This fucntion will return the maximum provided value*/
int max ... | 2.375 | 2 |
2024-11-19T01:37:34.668378+00:00 | 2020-06-26T08:04:28 | 7e6c46abb35094131831ac15d08de3c9316a8ae0 | {
"blob_id": "7e6c46abb35094131831ac15d08de3c9316a8ae0",
"branch_name": "refs/heads/master",
"committer_date": "2020-06-26T08:04:28",
"content_id": "c406679de16743dc6edc5d087b7008446b091fdd",
"detected_licenses": [
"Apache-2.0"
],
"directory_id": "83aeb5fa926d994985f7dd12d2b5b67b6e83842e",
"extensio... | stackv2 | /*
* Copyright 2017 Dell Inc. or its subsidiaries. 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 req... | 2.171875 | 2 |
2024-11-19T01:37:34.747114+00:00 | 2014-12-31T22:54:16 | 2f998a3a38a1300c87471e7dea4886656a4d0bdd | {
"blob_id": "2f998a3a38a1300c87471e7dea4886656a4d0bdd",
"branch_name": "refs/heads/master",
"committer_date": "2014-12-31T22:54:16",
"content_id": "a89ed339a9df76eb620c60c83bec0d99ff667d43",
"detected_licenses": [
"MIT"
],
"directory_id": "01dc3dd7854abf10928d9aa20197b3bc76cd3295",
"extension": "c"... | stackv2 | /*
* Code to set up clock interrupts
*
* CMPT 432: Operating Systems
* Group: Omar, Chris, Chad, Joseph, Matthew
*/
#include "interrupts.h"
/* Set the predivider register */
void loadPreDivValue(unsigned int value)
{
unsigned int *tmp = (unsigned int *)TIMERPREDIV;
*tmp = value;
}
/* Acknowledge timer interru... | 2.875 | 3 |
2024-11-19T01:37:36.259926+00:00 | 2014-05-28T07:02:28 | 0049b78a3447bb73e19f7f88bd8480c11e99362b | {
"blob_id": "0049b78a3447bb73e19f7f88bd8480c11e99362b",
"branch_name": "refs/heads/master",
"committer_date": "2014-05-28T07:02:28",
"content_id": "cd26c956bd35f0f0969f2b3b967ae3c1e8c88567",
"detected_licenses": [
"MIT"
],
"directory_id": "815ca262f3f52980fa9f7fefa9fbc76989c79423",
"extension": "h"... | stackv2 | /*
Copyright (c) 2012-2014 threestone.cn and chunbai.com
www.threestone.cn
www.chunbai.com
email:zhanglei0321@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, inclu... | 2 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.