Datasets:
blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 357 | content_id stringlengths 40 40 | detected_licenses listlengths 0 58 | license_type stringclasses 2
values | repo_name stringlengths 4 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-14 21:31:45 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-01 00:00:00 2023-09-05 23:26:37 | committer_date timestamp[ns]date 1970-01-01 00:00:00 2023-09-05 23:26:37 | github_id int64 966 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 24
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-02-03 21:17:16 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 180
values | src_encoding stringclasses 35
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 6 10.4M | extension stringclasses 121
values | filename stringlengths 1 148 | content stringlengths 6 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9802e438483cc1d0dbde7a313a387eca5f06179 | a1782ef8b19a1a2d07a9314dd2b02ba73b2144f4 | /0x08-recursion/5-sqrt_recursion.c | a3912bba4688c4eba9364d3144036816d53bef08 | [] | no_license | DiegoSusviela/holbertonschool-low_level_programming | e5d01edadecbc3505c288683622e4bfafabb1536 | 1805d346ecbbe560b6f0ff9b277afb5c75bbc10b | refs/heads/main | 2023-07-19T04:37:24.501000 | 2021-09-02T01:31:42 | 2021-09-02T01:31:42 | 335,614,488 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 561 | c | 5-sqrt_recursion.c | #include "holberton.h"
/**
* recursion - imprime
* @n: numero a imprimir
* @cand_root: un char ahi
*
* Description: Show a message blablabla
* Return: Always 0 (Success)
*/
int recursion(int n, int cand_root)
{
int aux = cand_root * cand_root;
if ((aux) < n)
return (recursion(n, cand_root + 1));
if (aux == ... |
098e24bf8b8d78377c0a8fe5d7a860bbddc7dac0 | 5069aab5743db98be7692a438d0c59c1fb01fa28 | /Core/Inc/MPU_9255.h | b33c94acc3c41e9d6dd725d8ddcaf62291278b0a | [] | no_license | alone141/SRHEX | 10495d06066111280ef6395cacbc6b4257a7b48e | de2cc27e6948539b8d4f672a86e1a433e0d504a0 | refs/heads/main | 2023-08-18T01:22:54.081000 | 2021-08-28T21:08:42 | 2021-08-28T21:08:42 | 400,886,764 | 0 | 0 | null | 2021-09-13T18:15:03 | 2021-08-28T20:43:26 | C | UTF-8 | C | false | false | 2,019 | h | MPU_9255.h | /*
* MPU_9255.h
*
* Created on: Jul 15, 2021
* Author: Meliksah Sagun
*
* Disclaimer:
* This is a free software under the GNU license as published by the Free Software Foundation, either version 3 of the License, or any later version.
* This program is published without any warranty... |
f0f87a553654e8dd118d1ce530596532ca79f599 | 06695d43ac30e328d372e62ad2e48566840688be | /include/fifo.h | 92db65415859fa345701f67b00433a4397dab373 | [] | no_license | duhuasong/myos | 3d83faedc0b3b1ba81309e372e056af41e3dac25 | 6360fb1d771d5bafcd47c880128f39959aff22e2 | refs/heads/master | 2021-05-01T22:52:45.234000 | 2013-08-09T03:27:05 | 2013-08-09T03:27:05 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 387 | h | fifo.h | #ifndef _CTYPE_H_
#define _CTYPE_H_
struct TASK;
struct FIFO{
int *buf;
int cur;
int p;
int free;
int size;
struct TASK* task;//我们让任务与fifo对应。
};
extern void fifo_init(struct FIFO * fifo, int * buf, int size,struct TASK* task);
extern int fifo_put(struct FIFO*fifo, int data);
extern int fifo_get(struct FIFO*fifo);... |
0b1dcbf21b4cfb2f82bd6567f6158bccb9fcd4b0 | 4223eee4e127ac2d182baaa2bbfce5cfe7ada946 | /src/syscall.h | fbd13a0e3c479e7b2e175ba6186daf0d75fbfbfa | [] | no_license | oaioa/advancedOperatingSystem | 0930ca5cd248ae6ff8ca21d0d5d7b0694f953f80 | 45c275968709ab025a239f39eae05de87edaf9db | refs/heads/master | 2020-04-09T02:41:38.512000 | 2018-12-01T14:14:33 | 2018-12-01T14:14:33 | 159,950,306 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 128 | h | syscall.h | #include <inttypes.h>
void sys_reboot();
void sys_nop();
void sys_settime(uint64_t date_ms);
void sys_yieldto();
int* sp_svc;
|
9b6962fbcc1fabcd0fbea42ea3a77ef1adf79a83 | 40b83dec47e6e24acf12f2c57fbd34a92205aa02 | /cpu-cycles/libcpucycles/cpucycles/arm64-vct.c | a04b59e108edf6d1ba1e61cc82371f27b69be12a | [
"CC0-1.0",
"Apache-2.0"
] | permissive | nymtech/nym | 803133d223108773dfd65838707f00b23c83bdc2 | a50b4ad211261a3d37a53eafd67770d57568dbeb | refs/heads/develop | 2023-08-30T07:03:32.700000 | 2023-08-29T15:18:36 | 2023-08-29T15:18:36 | 232,312,458 | 896 | 254 | null | 2023-09-14T15:54:13 | 2020-01-07T11:42:53 | Rust | UTF-8 | C | false | false | 358 | c | arm64-vct.c | // version 20230105
// public domain
// djb
// adapted from supercop/cpucycles/vct.c
#include "cpucycles_internal.h"
long long ticks(void)
{
long long result;
asm volatile("mrs %0, CNTVCT_EL0" : "=r" (result));
return result;
}
long long ticks_setup(void)
{
if (!cpucycles_works(ticks)) return cpucycles_SKIP;... |
f1db4ad614a5ed627110551fa98f0ee0d95f2dbb | 7e125605816ac46d01679b7f20f8c679322efe3e | /ext/toml/keytable.zep.c | fec1267549d06cfc8fd4808e2c716bcbce3e2ffe | [] | no_license | betrixed/toml-zephir | 4689436d63c7e9854cb8445927d2e3127fb6af7d | ff33a41bc6ce64251585f70d4d8a48a6da8f3202 | refs/heads/master | 2021-05-01T21:57:08.153000 | 2018-02-23T01:57:31 | 2018-02-23T01:57:31 | 120,981,528 | 1 | 0 | null | null | null | null | UTF-8 | C | false | true | 11,353 | c | keytable.zep.c |
#ifdef HAVE_CONFIG_H
#include "../ext_config.h"
#endif
#include <php.h>
#include "../php_ext.h"
#include "../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/object.h"
#include "kernel/memory.h"
#include "kernel/ope... |
4cd08a2abcd527351a8c1982d7b0667bf39de073 | 933b3ba215f53617d722b479ca2fe972e7225610 | /GUICode/Core/GUI2DLib.c | f9448ba6388973412adf50fc4ce90bd6b9acac9f | [] | no_license | symfund/eclipse_ucgui_3.98 | 92cc02be1930bd504e22e271366ae950f2f7024e | d49b0da1a044e4e997e6dede1df81fc821c6a0e4 | refs/heads/master | 2023-03-29T03:27:58.459000 | 2021-03-24T02:20:02 | 2021-03-24T02:20:02 | 296,966,304 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,304 | c | GUI2DLib.c | /*
*********************************************************************************************************
* uC/GUI V3.98
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
* ... |
06491a5a27a2ddef41c62fc33d0230cefb6016fc | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/ata/libata-acpi.c | cf4e7020adacde5e69881a21adb0c578d31d7a3e | [
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483000 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 28,836 | c | libata-acpi.c | /*
* libata-acpi.c
* Provides ACPI support for PATA/SATA.
*
* Copyright (C) 2006 Intel Corp.
* Copyright (C) 2006 Randy Dunlap
*/
#include <linux/module.h>
#include <linux/ata.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/acpi.h>
#include... |
3c777fe3796cacc5f6ffc85d327845e4996c3574 | ef37f427ddd18b37bf1a882423ba6f81e879864f | /usb_core.c | eb089b73e7c22df0094faca7feec541b311fdbca | [
"MIT"
] | permissive | ahmedalkabir/bluepill-serial-monster | 23ba538cfcce3810ec70c9f42df2508cb7ba0464 | f7d85767b855b9efed46befa293c1ab5f6d2bb54 | refs/heads/main | 2023-08-28T21:58:39.353000 | 2021-09-28T11:07:30 | 2021-09-28T11:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 12,693 | c | usb_core.c | /*
* MIT License
*
* Copyright (c) 2020 Kirill Kotyagin
*/
#include <stddef.h>
#include <string.h>
#include "status_led.h"
#include "usb_core.h"
#include "usb_std.h"
#include "usb_cdc.h"
#include "usb_descriptors.h"
#include "usb_io.h"
#include "usb_uid.h"
#include "usb_panic.h"
#include "usb.h"
/* Device Level... |
c27f899bdced95e8dd1aafcf3119ae5cb604039b | 2a34b0c2779c8220272cd3781a39c5867146b615 | /src/libc/uv/uv_mutex_init_recursive.c | 3714d711d8379209be160bb6458bcf6ab1a16288 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | yurydelendik/cloudlibc | f824043879ee7147049eb2bf5b243e7b0b5ac530 | b25d9232b3e5b3757231afdc888d2b9072673917 | refs/heads/master | 2020-04-10T02:42:27.618000 | 2018-12-15T00:53:03 | 2018-12-15T00:53:03 | 160,750,519 | 0 | 0 | NOASSERTION | 2018-12-07T00:43:43 | 2018-12-07T00:43:43 | null | UTF-8 | C | false | false | 538 | c | uv_mutex_init_recursive.c | // Copyright (c) 2017 Nuxi, https://nuxi.nl/
//
// SPDX-License-Identifier: BSD-2-Clause
#include <pthread.h>
#include <uv.h>
int uv_mutex_init_recursive(uv_mutex_t *handle) {
pthread_mutexattr_t attr;
int error = pthread_mutexattr_init(&attr);
if (error != 0)
return -error;
error = pthread_mutexattr_sett... |
0213c7e4791f16d922488d7e3a2994da2fedc128 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/g++.dg/overload/ref-conv1.C | 1c525fbc7822bcf86df68fc93cb3516ceffc9e56 | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256000 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C | false | false | 242 | c | ref-conv1.C | // PR c++/50442
// { dg-additional-options "-Wno-return-type" }
template <typename T> struct MoveRef { operator T& () {} };
template <typename T> MoveRef <T> Move(T&) {}
struct Thing {};
Thing foo(const Thing* p) { return Thing(Move(*p)); }
|
4532eced121b288fdffbbf947f47f2dcd8027840 | 987c34058d582d9f64eb4386e1eaca515d31ec82 | /0x03-more_functions_nested_loops/10-print_triangle.c | 24a430cbd53e69e69e38e3de7f6998fd926f702c | [] | no_license | GucciGerm/holbertonschool-low_level_programming | 44f0c7ba22752e7a097bf338c6899d260fdce09c | e69b3a515443816b0c77dfc608e8afab46103787 | refs/heads/master | 2021-03-19T16:20:52.638000 | 2018-08-10T17:10:23 | 2018-08-10T17:10:23 | 117,909,465 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 446 | c | 10-print_triangle.c | #include "holberton.h"
/**
* print_triangle - Function prints a triangle followed by a new line
* @size: Represents the size of the triangle
*
*/
void print_triangle(int size)
{
int a;
int b;
if (size > 0)
{
for (a = 1; a <= size; a++)
{
for (b = 0; b < size; b++)
{
if (b < size - a)
{
... |
47e39a23e4995b46b01d8fb6514edef3b3ea965b | d6e1d668d99a482922081c7f36002fbc538a7729 | /A3Q1/syntax.h | e44965e613c737d6e1e36faeccba133440678686 | [] | no_license | afuadhossain/Intro_Modular_Programming | e47ce1349acb14edcb80c1d17f5f2430f6e68332 | 8c7ba0d311ec2574d6c7f1cb91006cc6f9b0a7ff | refs/heads/master | 2021-05-05T01:52:08.822000 | 2016-04-30T22:36:57 | 2016-04-30T22:36:57 | 119,763,491 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 156 | h | syntax.h |
//these are all the functions from syntax.c that can be utilzed by other c files
int isValidCommand(char *token);
int isValidExpression(char *expression);
|
5636859c81b44071565bfb4127f30035017be3e6 | 405d5d6c4b0e89562d67d354689c20cfe0d10d9e | /WinRTInteropTools/streamHelpers.h | 9855bb5ad7a1ed41f5aa87549694a10ba5e987a8 | [
"MIT"
] | permissive | asdlei99/WinRTInteropTools | 7f8c7c86dcf6f29de57ca10b7bcd70882d26b3a6 | 0db9d30abb39669421977dbefbf8a684914d2f85 | refs/heads/master | 2023-07-13T23:35:03.211000 | 2021-08-23T07:17:45 | 2021-08-23T07:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 417 | h | streamHelpers.h | #pragma once
#include <shcore.h>
#include <windows.storage.streams.h>
inline auto CreateStreamOverRandomAccessStream(
winrt::Windows::Storage::Streams::IRandomAccessStream const& stream)
{
winrt::com_ptr<IStream> result;
auto unknown = stream.as<IUnknown>();
winrt::check_hresult(::CreateStreamOverRando... |
ccee1842691901d4fd2186107bb603dc7e78df95 | 0598f42d187f67094f97a3dab94728ec2f088208 | /C/Testh/newton.h | 3b7a95a5f3b74b57070e972bae1b061aa69681d6 | [] | no_license | TanXze/HaiZei | 4ff8f7d667728644e53518c76344d48aecba3521 | 848a8d42e721d5166827acbdaec309d98b59f7f0 | refs/heads/master | 2020-03-28T18:20:19.267000 | 2019-01-21T11:36:02 | 2019-01-21T11:36:02 | 148,872,749 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 349 | h | newton.h | /*************************************************************************
> File Name: newton.h
> Author: Tanxiaoze
> Mail: 2406577693@qq.com
> Created Time: 2018年10月07日 星期日 19时48分52秒
************************************************************************/
#ifndef _NEWTON_H
#define _NEWTON_H
double newton(doubl... |
c1fa477c4e670ba96cf53290fe01ac06c9eb4663 | 06cc925a6a1aa30ab239b398705d23895aac9bd4 | /GPIO_driver/GPIO_interface.h | 2bb5c8fcf361e38a6c56ec1cef8c6b41e36d9a06 | [] | no_license | shaimaa-77/STM32_drivers | 9d34096fa91729d991e74074c733e3883be9a793 | 55eb7840de6a9b5c3aa69f26b73d91f3d76a63d2 | refs/heads/main | 2023-08-30T21:40:18.895000 | 2021-10-02T15:51:45 | 2021-10-02T15:51:45 | 310,468,421 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,844 | h | GPIO_interface.h | /****************************************************************************************/
/* Author : Shaimaa Mahmoud */
/* Date : 18/8/2020 */
/* version : v01 */
/****************************************************************************************/
#ifndef... |
41017852ae7e7036cd36e2592fe2121e391d068a | fb3561e80f6d7d38458c58e5e0d208422a3a787f | /src/chainparamsseeds.h | 5fe267aff24204924da2eb81376f9d4d40fc32f9 | [
"MIT"
] | permissive | cryptoghass/sifcash | f375a0fab2323c15be6ee27c5614d5d1cc6d0e87 | 775954d5a61b9c876ca6c0ad90ad922a9e41250f | refs/heads/master | 2020-03-30T08:12:08.827000 | 2018-08-22T15:07:48 | 2018-08-22T15:07:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,450 | h | chainparamsseeds.h | #ifndef BITCOIN_CHAINPARAMSSEEDS_H
#define BITCOIN_CHAINPARAMSSEEDS_H
/**
* List of fixed seed nodes for the bitcoin network
* AUTOGENERATED by contrib/seeds/generate-seeds.py
*
* Each line contains a 16-byte IPv6 address and a port.
* IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.
... |
426cc8680f715e069070b70e402f6ba53edb2594 | 280f5ac90d60c77f3f24b6c8803893e860d73937 | /lab 5/dzialka.c | 4e533b80f913598b4837393174336b70540bbfff | [] | no_license | mpyrek/PI | fe0dfb8d0b054663e5d14ca45d7617c4ad4931a6 | 8a12d6952f483d0454b186a07a45333322c0ff33 | refs/heads/main | 2023-08-02T08:05:16.859000 | 2021-09-24T18:41:34 | 2021-09-24T18:41:34 | 409,977,289 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,929 | c | dzialka.c | #include <stdio.h>
#include <stdlib.h>
int licz(int **T,int **S,int **G,int n){
for(int i=0;i<n;i++){
if(T[0][i]==0){
G[0][i]=1;
}
else{
G[0][i]=0;
}
}
for(int i=1;i<n;i++){
for(int j=0;j<n;j++){
if(T[i][j]==0){
... |
1ed8bf13bac870fdc95f9cde3387ccb97449a25c | 4945846704933d53a67178523c691cc9b1ca63c2 | /libft/ft_strclr.c | 43adfea9344b5ccb12c34eaea05c5d6f7e09c370 | [] | no_license | mpotapov/fractol | 676339cfa3910f45271e58f7221b3ac1935f10bd | e2a885877395a97cd890eabc5b2af7c18d525cd3 | refs/heads/master | 2021-09-16T22:32:43.540000 | 2018-05-30T14:51:38 | 2018-05-30T14:51:38 | 107,035,047 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 982 | c | ft_strclr.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: ... |
55bfb81efa1999fc0c7a138fb47a0f3b36edb739 | afafb6a0608c658b5b0b0e96f071c8539f0aee60 | /mydll/MyLib.h | 033bf8fc8d87c9a3844a621e0da486b5a47ad646 | [] | no_license | OlehKostiv/mydll | 7d69f9c7e6ba995665117703b20727951b30ecdc | 45f501649e6a565b3c1f8dbc83ad0d6c46a8eeed | refs/heads/master | 2021-09-07T16:56:16.194000 | 2018-02-26T12:07:33 | 2018-02-26T12:07:33 | 122,381,365 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 150 | h | MyLib.h | #pragma once
#ifndef MYLIBAPI
#define MYLIBAPI extern "C" __declspec(dllimport)
#endif
MYLIBAPI int g_result;
MYLIBAPI int Add(int nLeft, int nRight); |
9e74c9a92457d019b135360e21725fc80ec7070e | f82e4c16ed3dbb95b6753e25b477cb9f9c1d379d | /Bai3_1.c | 708e86b8000ad3b04b2e453440d9a3f677d6c5a1 | [] | no_license | sandl99/THDC | 78cb0f37e5f1d7600e891e7a02f523f2a4626ce6 | dcf8110fefe17bad1784c742fff8580c91f9b37b | refs/heads/master | 2021-10-09T04:37:00.145000 | 2018-12-21T07:54:56 | 2018-12-21T07:54:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 445 | c | Bai3_1.c | // Đặng Lâm San (20170111)
#include <stdio.h>
#include <conio.h>
#include <math.h>
double Abs(double x) {
if (x<0) return -x;
else return x;
}
int main() {
double x,y,z;
printf("Nhap vao 3 so thuc bat ky\n");
scanf("%lf %lf %lf", &x,&y,&z);
double F;
F = (x+y+z)/(x*x+y*y+1)-Abs(... |
0dfa8420cd3a47ccfb20926d56c22315bfb19db0 | 153c0ffa46ac87be61199a6f2d05ea8f30abd4f4 | /lib/gmfcore/gevent.c | a1e2ae0efb280611e2336ac69c2b674db35817ec | [] | no_license | gmobi-tian/iot-gmf | b8067217ee75447f1c88d82732f9bc1c93c13923 | 3666d9b002208f25865331d64526ac18b3064e31 | refs/heads/master | 2021-01-21T21:33:23.250000 | 2016-06-03T10:05:10 | 2016-06-03T10:05:10 | 47,596,570 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,656 | c | gevent.c | #include "include/gevent.h"
GEvent * g_event_new(gpointer sender)
{
GEvent * self = g_new(GEvent, 1);
self->sender = sender;
self->callback_list = NULL;
self->data_list = NULL;
self->event_firing = FALSE;
self->items_to_free = NULL;
return (GEvent *)self;
}
void g_event_free(GEvent * self)
{
if (self == NULL) ... |
2c46152f1f756de53a2675017404209e5c59d290 | 5ff4b6986e6799bc0e143e060bafc14369030d8b | /toolchain/riscv-isa-sim/riscv/insns/vwsub_wx.h | f72341ba8089e65f75d81736fd4140f0748d8ef6 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-1.0-or-later",
"LLVM-exception",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-bsd-3-clause-jtag",
"GPL-3.0-or-later"
] | permissive | pulp-platform/mempool | 7583204b2436cfc12ed95599463e51ad4df51557 | c98fb3ada4f255623eaf9b09861f397a60c3d96b | refs/heads/main | 2023-08-08T09:07:56.696000 | 2023-07-27T17:24:38 | 2023-07-27T17:24:38 | 223,218,149 | 178 | 28 | Apache-2.0 | 2023-07-27T17:24:39 | 2019-11-21T16:34:37 | C | UTF-8 | C | false | false | 100 | h | vwsub_wx.h | // vwsub.wx vd, vs2, rs1
VI_CHECK_DDS(false);
VI_VX_LOOP_WIDEN
({
VI_WIDE_WVX_OP(rs1, -, int);
})
|
20a8234192e6db4083e771d342c6c30bf29cb25a | ee57eff47054b37673f06f94a00c4375597f3602 | /project/libraries/liblist/sources/item_next.c | b084f887f7795ee36034b0eae6113cc7195d4241 | [] | no_license | damiensauv/zappy | 2f69ac9ce650a34c9065ad8ca10224023a48fe32 | b0c7bf64b3adf0dac531087fbbce3e437cb17758 | refs/heads/master | 2021-01-18T08:58:39.680000 | 2014-07-13T13:29:33 | 2014-07-13T13:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 409 | c | item_next.c | /*
** item_next.c for liblist in /home/raphy/Epitech/Libraries/liblist/sources
**
** Made by raphael defreitas
** Login <defrei_r@epitech.net>
**
** Started on Thu Apr 17 19:22:53 2014 raphael defreitas
** Last update Sun Jun 29 06:25:59 2014 raphael defreitas
*/
#include <stdlib.h>
#include "list.h"
t_item *i... |
25d32b075c72aefc39cfbda785ebeaa66025846e | ab276b278dd84d1b5d2859b3093b6ed404fbd965 | /bg.h | 1bb8ec3993cbb1e463f9f935d92f5089e3e83526 | [] | no_license | hachemba/RoadToEarth | 8f0d9b9e5483e556b966eaaa569dae63bc697bd0 | 87dff0c98c5c742d1b99895e566697d3e17a6037 | refs/heads/master | 2022-10-17T16:33:33.583000 | 2020-06-11T14:07:47 | 2020-06-11T14:07:47 | 271,327,728 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 682 | h | bg.h |
/**
@file bg.c
@brief test du code du background
@date 06/06/2020
@version 1.0
@author amal
*/
#ifndef BG_H_INCLUDED
#define BG_H_INCLUDED
#include<stdio.h>
#include"SDL/SDL.h"
#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include <stdbool.h>
#include <SDL/SDL_image.h>
#include <S... |
c088e91450937df730aa66ef016ce55d4d082b6b | 19a955385f0ce4e1530161c379e6bc8e14326482 | /da/odas_name_info.h | 085efc61c87c2b0eac588a0d149d6f944f6fd56d | [
"MIT"
] | permissive | awsdert/da | 4086b9eef09f4a9560cad6113f4539e6283e0e48 | 9e30e9f22a6e4bd7d9e9d5bc2eb1dcda229e951f | refs/heads/master | 2020-04-17T23:22:26.064000 | 2019-02-21T11:12:09 | 2019-02-21T11:12:09 | 167,032,491 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 173 | h | odas_name_info.h | #ifndef INC_ODAS_NAME_INFO
#define INC_ODAS_NAME_INFO
#include "odas.h"
#include "odas_ucs.h"
#ifndef DA_OS_MSWIN
struct odas_name_info {
odas_ucs_t Name;
};
#endif
#endif
|
20a69731093b1281dce2a6f60adae1cf2d564bde | 922f61dbfa70d4ad86ecc67bf715e0b70969c645 | /tree/tree.h | 54c57ac7808ea84dd50541f6811b93593ca2fef0 | [] | no_license | sumitvarude/DSA | 1b436c0b9c9292ea739955c340f4098abda2296c | 3309fcb3de83edce8c172c0bcd74d245056a96da | refs/heads/master | 2021-01-15T11:18:39.636000 | 2014-01-08T09:17:54 | 2014-01-08T09:17:54 | 14,852,755 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 373 | h | tree.h | #include "../DLinked-list/iterator.h"
typedef int (*compareFunc)(void* first,void* second);
typedef struct {
void* root;
compareFunc compare;
} Tree;
Tree createTree(compareFunc compare);
int insertTreeNode(Tree* tree,void* parent,void* data);
int removeTreeNode(Tree *tree,void* data);
Iterator getChildren(Tree *tree... |
dc9a9408ae891a97e280c462df328693be64f8e9 | d91ec0184f1c638ae3a28d0f7c6ac976d548ad67 | /src/v1/str.c | 742a6b95c8f403d8b5298567ded6b5b0ed6a28ff | [
"BSD-2-Clause"
] | permissive | riboseinc/retrace | cba06d1af0073f2630288263431f4918f373f3da | cccf46a001adaf006e5ce8c070d366966cbd4353 | refs/heads/main | 2022-03-06T04:34:27.418000 | 2022-02-09T18:18:58 | 2022-02-14T08:16:20 | 92,924,805 | 61 | 24 | NOASSERTION | 2022-02-17T14:52:55 | 2017-05-31T08:44:14 | C | UTF-8 | C | false | false | 11,063 | c | str.c | /*
* Copyright (c) 2017, [Ribose Inc](https://www.ribose.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 condi... |
fcf63812b18b33db2bd41a310449b6d2b67edb30 | cbec2fbe3dc9d16f140dd0de818dccb5a508733f | /examples/solv/solv.c | 6a5dab7360614e61aee241bc35fbaae4f76951fd | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | jdieter/libsolv | 9f0f7e9a889ebf95c0a66055a35bb43481a14b06 | 2234584efcc601dcb9a780b13f503cf60707782e | refs/heads/master | 2020-03-18T20:02:09.946000 | 2018-10-08T11:24:57 | 2018-10-08T11:24:57 | 135,192,308 | 1 | 0 | null | 2018-05-28T17:46:15 | 2018-05-28T17:46:15 | null | UTF-8 | C | false | false | 26,456 | c | solv.c | /*
* Copyright (c) 2009-2015, SUSE LLC.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/* solv, a little software installer demoing the sat solver library */
/* things it does:
* - understands globs for package names / dependencies
* - understands .arch suffix... |
967cbbb57c98f8b6cd47a5a90d03d40c91a2633e | b6c008b671fa8e735c89fa7836ede44d498f9e75 | /TP_04_Canepa/Canepa_TP_04/getUTN.c | 5b3aa09a108b35640964a3ef8f5b28271d43fb2a | [] | no_license | sacanepa/tp_laboratorio_1 | d0a0028597358a1d3fe7f759f782a03aa449e412 | 8e3f4b77afe9765a96628523387551e47e4a83c2 | refs/heads/master | 2021-01-21T04:50:33.239000 | 2016-06-22T01:43:41 | 2016-06-22T01:43:41 | 54,387,083 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,925 | c | getUTN.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "getUTN.h"
/** \brief desplega menu y solicita una opcion
* \param item Es el texto desplegado en el menu
* \return devuelve un entero que representa la opción elegida
*
*/
int menu (char* item)
{
int choice; //Almacena ... |
548c340df12472810094a9646a14d4b881b0620c | 8553ff106e88fb5c263664b4337984530a4c479b | /LCS.c | 1f4dfd63105c943263309a1402b1626c0fed628d | [] | no_license | kartikmanaguli/DataStructureAndAlgorithms | d53e87d57bd33f4a27e83e2034f1f491afcc7a4b | e87a3098b546535935d44c6ffe2d4b6875e936e7 | refs/heads/master | 2021-08-16T01:39:40.267000 | 2021-07-23T11:15:39 | 2021-07-23T11:15:39 | 246,648,388 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,289 | c | LCS.c | /* --------------------------------------------------------------------------------------------------------------------------
THE LONGEST COMMON SUBSEQUENT ALGORITM (MEMORY EFFICIENT) USING DYNAMIC PROGRAMMING APPROACH (BOTTOM-UP APPROACH)
AUTHOR : KARTIK MANGULI, SOFTWARE DEVELOPER WIPRO LTD.
-------------... |
27195c836d8d41316fb058ab60878a5b71b5014f | 08875e634d7f8c704f32a9e11c8ed99a3f7849c9 | /include/md.h | 1c63fc865710689e74c1dada6d8afd4f2a54a093 | [] | no_license | Hypo-Li/glToy | 8de93f0fd6e13ac4a15a267ec637f08d967f0389 | fbbd4a5fc7ea7eddcd015c9a7fbe827f79fb2764 | refs/heads/master | 2022-11-30T20:08:46.880000 | 2020-08-14T12:44:19 | 2020-08-14T12:44:19 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C | false | false | 2,764 | h | md.h | #pragma once
#include <glm/glm.hpp>
#include <typedef.h>
enum TextureType
{
TEXTURE_TYPE_AMBIENT = 0x0,
TEXTURE_TYPE_DIFFUSE = 0x1,
TEXTURE_TYPE_SPECULAR = 0x2,
TEXTURE_TYPE_NORMALS = 0x3,
TEXTURE_TYPE_HEIGHT = 0x4,
};
const DWORD BONE_NUM_PER_VERTEX = 4;
const DWORD STATIC_MESH_SIZE = 24;
const DWORD VERTE... |
97e389021a5526b2ea985503f52f09e2b27c3e15 | 440a7caaf14c75c3a2bd3f8337fc3ade4bca4da8 | /TP 3/1.minimum.c | e8722c89b4fcd10968c3aebc4a9f4d04f94a2df8 | [] | no_license | ly-hourt/TP | c284a260619f17eba3b60db188ff7795c9b16b2f | ba9bad538f788db49973471a013922f3974c6170 | refs/heads/master | 2022-07-05T13:32:56.700000 | 2020-05-15T17:42:23 | 2020-05-15T17:42:23 | 264,257,804 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,344 | c | 1.minimum.c | #include<stdio.h>
int main()
{
int num1 ,num2 ,num3,num4,num5,num6,num7;
printf("Enter your the 7 numbers : ");
scanf("%d%d%d%d%d%d%d",&num1 ,&num2 ,&num3,&num4,&num5,&num6,&num7);
if(num1<num2&&num1<num3&&num1<num4&&num1<num5&&num1<num6&&num1<num7)
{
printf("The biggest number is : ... |
b357d303078754dc2e017c99e86f2ba1392a5e53 | bbf3855ea8fcd83922c70b6a9234e0c3125c497e | /src/fifo.c | 8e842e195c47be4d661e90efe133b4b360d1851e | [] | no_license | N3U2O/CFIFO | 8dc2e768b813db08803701f287e49890d19b3829 | bc468e39f52a8c71a7f5fa5005022b4fc2865d1e | refs/heads/master | 2021-01-18T15:21:40.231000 | 2015-10-14T19:04:46 | 2015-10-14T19:04:46 | 24,559,743 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 7,842 | c | fifo.c | //- --------------------------------------------------------------------------
//! \file fifo.c
//! \brief A FIFO implementation using circular buffer with stored last
//! operation. The main file tests the functionality of the FIFO.
//! \author Adrian Gugyin
//! \date 28/09/2014
//- ----------------------... |
9894ee315425b883f9d4c4c08cac24894fcc65f9 | 1375cc7e1bd596fa6a449f58aa4dd4a9d718f240 | /netWorkSocketProgram/1thNetworkBook/6Chapters/server/server.c | e7d1d357734d4bdd525d88b562e1dc07fc1777ec | [] | no_license | Skin---yang/StudyCode | c09697ed654a793c7711d9af8f51ffb0396948e1 | 824e939141bed5599ae11794093f2cd19e8fe2eb | refs/heads/master | 2021-01-15T11:58:18.807000 | 2017-11-02T10:20:06 | 2017-11-02T10:20:06 | 99,637,276 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,284 | c | server.c | #include "../../comm/unp.h"
// this is a base sever
// this server use select deal with the client connect.
void ServerBase()
{
int sevSocket, i;
struct sockaddr_in serveraddr;
int transSocket, connSocket;
int nready, client[FD_SETSIZE];
fd_set reset, allset;
int maxfd, maxi;
char buf[M... |
58493daffd4692cd6b57ace892007b54a4844695 | 74a44e5174847a60c747428a9271a234954163a2 | /SquiLu-ext/sq_axtls.c | 67573d8801b2a068d60b72e2250c93d9e3edba4b | [] | no_license | mingodad/squilu | 8bc74484d0af7c5c5a66cb577e1feeebc9ce9774 | ef96bae1f0b226737367c3ad662de2526fd58a65 | refs/heads/master | 2022-12-10T06:56:55.251000 | 2022-12-08T17:31:36 | 2022-12-08T17:31:36 | 33,980,799 | 81 | 15 | null | null | null | null | UTF-8 | C | false | false | 15,349 | c | sq_axtls.c | #ifdef __cplusplus
extern "C" {
#endif
#ifdef USE_AXTLS
#include "squirrel.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h> /* for malloc */
#include <assert.h> /* for a few sanity tests */
#include "os_port.h"
#include "ssl.h"
#include "crypto.h"
static const SQChar SQ_LIBNAME[] = _SC("axtls");
stat... |
5135e6fc5f8193701a99da84450e231dab2585e0 | fcddd423d14a62a1fe1de3fb53abf3155b044b59 | /test/t/t_comb.c | 07994b5f713cd6aa5bab2837df89f86ab649060e | [
"MIT"
] | permissive | theisro/Soundpipe | f39b098a30d4d21fff99b1dc788fe0aefe12f7a0 | a7f029d212c4868daa92b38203afd63f8f0b2dd7 | refs/heads/master | 2021-04-15T06:50:26.725000 | 2018-03-26T04:54:43 | 2018-03-26T04:54:43 | 126,774,733 | 2 | 0 | MIT | 2018-03-26T04:49:14 | 2018-03-26T04:49:14 | null | UTF-8 | C | false | false | 1,163 | c | t_comb.c | #include "soundpipe.h"
#include "md5.h"
#include "tap.h"
#include "test.h"
typedef struct {
sp_comb *comb;
sp_tenv *env;
sp_noise *nz;
} UserData;
int t_comb(sp_test *tst, sp_data *sp, const char *hash)
{
sp_srand(sp, 0);
uint32_t n;
int fail = 0;
SPFLOAT tick = 0, env = 0, noise = 0, c... |
The Stack v2 Subset with File Contents (Python, Java, JavaScript, C, C++)
TempestTeam/dataset-the-stack-v2-dedup-sub
Dataset Summary
This dataset is a language-filtered and self-contained subset of bigcode/the-stack-v2-dedup, part of the BigCode Project.
It contains only files written in the following programming languages:
- Python 🐍
- Java ☕
- JavaScript 📜
- C ⚙️
- C++ ⚙️
Unlike the original dataset, which only includes metadata and Software Heritage IDs, this subset includes the actual file contents, enabling out-of-the-box training and analysis of code models, without requiring SWH downloads or AWS credentials.
Use Cases
This dataset is intended for:
- Pretraining or fine-tuning Code LLMs on high-quality and permissively licensed code
- Language-specific evaluation or benchmarking
- Research on code representation, generation, or completion across the 5 selected languages
How to Use
from datasets import load_dataset
ds = load_dataset(
"TempestTeam/dataset-the-stack-v2-dedup-sub",
name="Python",
split="train",
streaming=True
)
Dataset Structure
Each example in the dataset contains the following fields (inherited from the original Stack v2):
content(string): The full file content, decoded in UTF-8language(string): Programming language of the file (detected by go-enry / linguist)path(string): File path within the repositoryrepo_name(string): Repository name on GitHubdetected_licenses(list of strings): SPDX license identifierslicense_type(string): License type:permissiveorno_licenseis_vendor(bool): Whether the file is from a dependencyis_generated(bool): Whether the file is detected as generatedlength_bytes(int): File size in bytes- Plus other metadata like:
blob_id,directory_id,revision_id,snapshot_id,visit_date,committer_date- GitHub metadata:
github_id,gha_language,gha_license_id, etc.
Source Dataset
This dataset is derived from:
The full Stack v2 dataset is built from the Software Heritage archive and GitHub Archive metadata, and spans 600+ programming languages. This subset narrows the focus to 5 popular languages while retaining full file content.
Curation Rationale
The five selected languages are among the most widely used in open-source projects and code LLM research. By focusing on this curated set, we reduce dataset size, eliminate irrelevant files, and speed up experimentation while preserving linguistic diversity and utility for real-world applications.
License and Legal Considerations
- Only permissively licensed files (or those with no license) are included.
- Licensing information is provided at file level.
- The dataset may contain personal information (e.g., emails, keys) present in public repositories. Sensitive data has been reduced via deduplication but may still exist.
- Usage must comply with the original license of each file.
To request the removal of your code, refer to the BigCode opt-out process.
Citation
If you use this dataset, please cite the original Stack v2 paper:
@misc{lozhkov2024starcoder,
title={StarCoder 2 and The Stack v2: The Next Generation},
author={Anton Lozhkov and Raymond Li and Loubna Ben Allal and others},
year={2024},
eprint={2402.19173},
archivePrefix={arXiv},
primaryClass={cs.SE}
}
- Downloads last month
- 1,472