added
stringdate
2024-11-18 17:54:19
2024-11-19 03:39:31
created
timestamp[s]date
1970-01-01 00:04:39
2023-09-06 04:41:57
id
stringlengths
40
40
metadata
dict
source
stringclasses
1 value
text
stringlengths
13
8.04M
score
float64
2
4.78
int_score
int64
2
5
2024-11-18T22:02:42.753113+00:00
2023-09-01T02:41:42
f14771cc4aa223f13a1ac0b3c937bf602e7602ec
{ "blob_id": "f14771cc4aa223f13a1ac0b3c937bf602e7602ec", "branch_name": "refs/heads/master", "committer_date": "2023-09-01T02:41:42", "content_id": "a898f36815c7893dbe0c3790b6a4e49f31cf4579", "detected_licenses": [ "MIT" ], "directory_id": "461619a84c6617ceaf2b7913ef58c99ff32c0fb5", "extension": "c"...
stackv2
/* ヘッダファイルのインクルード */ #include <stdio.h> /* 標準入出力 */ #include <stdlib.h> /* 標準ユーティリティ */ #include <sys/types.h> /* 派生型 */ #include <unistd.h> /* UNIX標準 */ /* main関数の定義 */ int main(void){ /* 変数の宣言 */ pid_t pid; /* getpidでプロセスIDを取得し, pidに格納. */ /* プロセスIDの取得 */ pid = getpid(); /* getpidでプロセスIDを取得し, pidに格納. */ ...
3.046875
3
2024-11-18T22:02:42.852449+00:00
2018-09-21T21:38:30
9fdafc0e5d5b42f037224ea76522478aee55755c
{ "blob_id": "9fdafc0e5d5b42f037224ea76522478aee55755c", "branch_name": "refs/heads/master", "committer_date": "2018-09-21T21:38:30", "content_id": "30275eec6cc78d539bdfea7793d73b3a14404a62", "detected_licenses": [ "Unlicense" ], "directory_id": "0c209438be9dd6fc82116f0e13b9831aa755b5b4", "extension...
stackv2
#include <stdio.h> #include <stdlib.h> #include "tadListaDeVoo.h" //ED do TAD item da matriz typedef struct { tadListaVoo listaVoo; int numVoos; char horarioAtualizacao[9]; } tadItemMatriz; /** * Inicializa o TAD item da matriz * @param itemMatriz Endereço para ED do TAD item da matriz */ void iniciali...
2.84375
3
2024-11-18T22:02:44.505594+00:00
2020-02-06T18:43:51
4ecd72e5619bb89f1907d5365ea2311cc501faa3
{ "blob_id": "4ecd72e5619bb89f1907d5365ea2311cc501faa3", "branch_name": "refs/heads/develop", "committer_date": "2020-02-06T18:43:51", "content_id": "6328d6b35eff5efd850b028281cb77cdab82574b", "detected_licenses": [ "MIT" ], "directory_id": "97c44f18459163c0baa546ab2578339b716c3238", "extension": "c...
stackv2
// // BREthereumHash.c // BRCore // // Created by Ed Gamble on 5/9/18. // Copyright © 2018-2019 Breadwinner AG. All rights reserved. // // See the LICENSE file at the project root for license information. // See the CONTRIBUTORS file at the project root for a list of contributors. #include <stdio.h> #include <s...
2.484375
2
2024-11-18T22:02:44.700938+00:00
2018-11-21T13:04:09
0f8120da443af0fcebb78b2e1276f53b05636037
{ "blob_id": "0f8120da443af0fcebb78b2e1276f53b05636037", "branch_name": "refs/heads/master", "committer_date": "2018-11-21T13:04:09", "content_id": "f34b205c8b34ee2f3450a8ef2e034ef1943db50b", "detected_licenses": [ "MIT" ], "directory_id": "cf6c5cde3a8d24891bd95887ad47867394490c17", "extension": "c"...
stackv2
//---------------------------------------------------------- // AUTEUR : REYNAUD Nicolas | // FICHIER : block_group.c | // DATE : 10/02/15 | //---------------------------------------------------------- #include <s...
2.3125
2
2024-11-18T22:02:44.810925+00:00
2021-06-26T03:38:58
c1c070fea1456565604e88a9239e790af3f9c7c2
{ "blob_id": "c1c070fea1456565604e88a9239e790af3f9c7c2", "branch_name": "refs/heads/main", "committer_date": "2021-06-26T03:38:58", "content_id": "83b6edf915c818c51431172848b4444edc7dcc6b", "detected_licenses": [ "MIT" ], "directory_id": "ae714b43b79f6498d775abdae780c126644e6ffa", "extension": "c", ...
stackv2
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <locale.h> int main(int argc, char *argv[]) { int res, res1; setlocale (LC_ALL, "Portuguese"); do{ printf ("====================================================\n"); printf (" QUAL É O ANIMAL? \n"); print...
3.046875
3
2024-11-18T22:02:45.227124+00:00
2020-08-08T15:16:27
5a1547719ae28100c4c34654c2003a2e7c04fb31
{ "blob_id": "5a1547719ae28100c4c34654c2003a2e7c04fb31", "branch_name": "refs/heads/master", "committer_date": "2020-08-08T15:16:27", "content_id": "90de80f6d75390089b81986f3a87b43d0656fdcb", "detected_licenses": [ "MIT" ], "directory_id": "f85a16180e5cc60e5382b6ff2b563002686f1f3e", "extension": "c"...
stackv2
#define SIG_ERR -1 #define SIG_DONE -2 #define KEYWORD_AUTO 0 #define KEYWORD_BREAK 1 #define KEYWORD_CASE 2 #define KEYWORD_CHAR 3 #define KEYWORD_CONST 4 #define KEYWORD_CONTINUE 5 #define KEYWORD_DEFAULT 6 #define KEYWORD_DO 7 #define KEYWORD_DOUBLE 8 #define KEYWORD_ELSE 9 #define KEYWORD_ENUM 10 #def...
2.1875
2
2024-11-18T22:02:45.700593+00:00
2020-11-02T01:18:12
851c2f093f323ba58c63cf7f2a896d0c2319cfea
{ "blob_id": "851c2f093f323ba58c63cf7f2a896d0c2319cfea", "branch_name": "refs/heads/main", "committer_date": "2020-11-02T01:18:12", "content_id": "2e809a65099af176cb9572b4356ea88916b78e02", "detected_licenses": [ "MIT" ], "directory_id": "bdd93c0637c372e10e676c14d11d7ff1b4f80bfd", "extension": "c", ...
stackv2
#include <stdio.h> int main ( ) { int x[29],cont,cont1,val,cont_aux=0; for(cont=0;cont<30;cont++) { printf("Digite n %d: ",cont+1); scanf("%d",&val); for(cont1=0;(cont1 < cont_aux) && (val != x[cont1]);cont1++) {} if (cont1 == cont_aux) { x[cont_aux] = val; cont_au...
2.90625
3
2024-11-18T22:02:45.957540+00:00
2022-07-13T17:40:32
589878d920ce6849727d64537ee123d74e94a338
{ "blob_id": "589878d920ce6849727d64537ee123d74e94a338", "branch_name": "refs/heads/master", "committer_date": "2022-07-13T17:40:32", "content_id": "0ce08496744f3bab4611a92b42665c3556db3284", "detected_licenses": [ "MIT" ], "directory_id": "96e8b2039a8b85c75280c790e0a798ec2632fcda", "extension": "c"...
stackv2
#include <sl.h> #include <slfile.h> #include <pushbase.h> #include "push.h" static const char bom_utf8[] = {0xEF,0xBB,0xBF}; typedef struct tagPROFILEKEY { WCHAR *Value; struct tagPROFILEKEY *next; WCHAR Name[1]; } PROFILEKEY; typedef struct tagPROFILESECTION { s...
2.03125
2
2024-11-18T22:02:48.330298+00:00
2017-11-07T03:33:05
026f386269f88bf9f34204f30d8d40b982158749
{ "blob_id": "026f386269f88bf9f34204f30d8d40b982158749", "branch_name": "refs/heads/master", "committer_date": "2017-11-07T03:33:05", "content_id": "3a9b185a12a2430a42cbce3fc61f33ec445f6e57", "detected_licenses": [ "Zlib" ], "directory_id": "4b03b5b5813644d1cfce965e4b277ce903f48df2", "extension": "h...
stackv2
/** * @file * @brief Container: key map. * @author 王文佑 * @date 2017/03/13 * @copyright ZLib Licence */ #ifndef _CCNTR_MAP_H_ #define _CCNTR_MAP_H_ #include <stddef.h> #include <stdbool.h> #include "ccntr_spinlock.h" #ifdef __cplusplus extern "C" { #endif /** * @class ccntr_map_node_t * @brief Nod...
2.59375
3
2024-11-18T22:02:48.618142+00:00
2022-01-19T01:26:16
2cbb2ef261473596149482513d83cca8ce350457
{ "blob_id": "2cbb2ef261473596149482513d83cca8ce350457", "branch_name": "refs/heads/master", "committer_date": "2022-01-19T01:26:16", "content_id": "1989322ea3ad9ec15e2fb0b3a8b01ae04bb701c3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "67305fcba68fdf469862aed2959ad1dd5b22a536", "extensio...
stackv2
/** * @File: flexible_button.c * @Author: MurphyZhao * @Date: 2018-09-29 * * Copyright (c) 2018-2018 MurphyZhao <d2014zjt@163.com> * https://github.com/zhaojuntao * All rights reserved. * License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); y...
2.609375
3
2024-11-18T22:02:49.142898+00:00
2023-03-17T16:03:44
f1049d794ab5f162843068693f6f542b99d24efc
{ "blob_id": "f1049d794ab5f162843068693f6f542b99d24efc", "branch_name": "refs/heads/master", "committer_date": "2023-03-17T16:03:44", "content_id": "7b1368d3a1c8d0e1185a3bafb7537c4361ee51a2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "93dc2677497a99d0a2df6b1f190af2434383367c", "extensio...
stackv2
/* * This work is part of the Core Imaging Library developed by * Visual Analytics and Imaging System Group of the Science Technology * Facilities Council, STFC and Diamond Light Source Ltd. * * Copyright 2017 Daniil Kazantsev * Copyright 2017 Srikanth Nagella, Edoardo Pasca * Copyright 2018 Diamond Light Source...
2.015625
2
2024-11-18T22:02:50.779538+00:00
2017-11-17T01:47:46
6626e07ac3fc169345b2e6ae5da791db9bd00997
{ "blob_id": "6626e07ac3fc169345b2e6ae5da791db9bd00997", "branch_name": "refs/heads/master", "committer_date": "2017-11-17T01:47:46", "content_id": "ecae9633bce101587e8b3704f25b63dcdce576cd", "detected_licenses": [ "MIT" ], "directory_id": "3e7c6701b3ee6a12c2d0d6c82c609e73a5971a6c", "extension": "c"...
stackv2
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; static struct TreeNode *last = NULL; static struct TreeNode *m1 = NULL; static struct TreeNode *m2 = NULL; static int wrong = 0; static void traverse(struct TreeNode* n...
3.421875
3
2024-11-18T22:02:50.855712+00:00
2023-05-26T07:03:59
3005c707567a2d315580941dab0dcf801f52db66
{ "blob_id": "3005c707567a2d315580941dab0dcf801f52db66", "branch_name": "refs/heads/hx20-hx30", "committer_date": "2023-05-26T07:03:59", "content_id": "9dc31ff1d441d20ad09dd43b6cd009322a782b46", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "f9e7d65cb784c01a0200145ba8d289afe41d4a56", "ext...
stackv2
/* Copyright 2018 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef __CROS_EC_LED_PWM_H #define __CROS_EC_LED_PWM_H #include "ec_commands.h" #define PWM_LED_NO_CHANNEL -1 struct pwm_led { enum pwm_channe...
2.453125
2
2024-11-18T22:02:50.934982+00:00
2023-08-07T08:40:16
78a6d70045d51a9e76391aab48f885a576263d72
{ "blob_id": "78a6d70045d51a9e76391aab48f885a576263d72", "branch_name": "refs/heads/master", "committer_date": "2023-08-07T08:40:16", "content_id": "a849f20c1b7ceadfa823795fe4fd245ae67f1594", "detected_licenses": [ "MIT" ], "directory_id": "31311a8dee0ef6a1bff5e0510dea9f888d3fe0d3", "extension": "c"...
stackv2
#include <jni.h> #include <screenrecorderrtmp.h> #include <malloc.h> #include "rtmp.h" JNIEXPORT jlong JNICALL Java_net_yrom_screenrecorder_rtmp_RtmpClient_open (JNIEnv * env, jobject thiz, jstring url_, jboolean isPublishMode) { const char *url = (*env)->GetStringUTFChars(env, url_, 0); LOGD("RTMP_OPENING:%s...
2.171875
2
2024-11-18T22:02:51.092213+00:00
2018-03-25T07:59:34
0e09121eee54fac8e899a6ab47515df50fbf909a
{ "blob_id": "0e09121eee54fac8e899a6ab47515df50fbf909a", "branch_name": "refs/heads/master", "committer_date": "2018-03-25T07:59:34", "content_id": "fbc0e525b72093e09e2e68ed7bb6d8717c10d094", "detected_licenses": [ "MIT" ], "directory_id": "c1bd6b553b11ff0a5b4019217ab066c28a8b240c", "extension": "c"...
stackv2
#include "speck.h" #include "rotate.h" /* * round function */ #define roundFunction(x, y, k) \ x = ror32(x, SPECK_A); \ x += y; \ x ^= k; \ y = rol32(y, SPECK_B); \ y ^= x \ /* * invert round function */ #define invertRoundFunction(x, y...
2.859375
3
2024-11-18T22:02:51.384914+00:00
2017-12-15T14:00:03
050f38ec92f9abb917b43dafac252746722f9d25
{ "blob_id": "050f38ec92f9abb917b43dafac252746722f9d25", "branch_name": "refs/heads/master", "committer_date": "2017-12-15T14:00:03", "content_id": "18c5476847fadcff69e114187c9e90166e73e8e2", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b59165ebda7542b0c1a6f16d0e3e522819100813", "extensio...
stackv2
#include <unistd.h> #include <stdio.h> int main() { pid_t pd; int i = 10; printf("test0 for fork\n"); pd = fork(); printf("test2 for fork\n"); if( pd == -1) printf("fork child PID failure\n"); else if(pd == 0) { //printf("child PID\n"); //return 0; printf("child pd = %d\n", pd); printf("child pro...
2.8125
3
2024-11-18T22:02:51.659242+00:00
2022-06-14T13:55:09
74353d32c37f038e5c6abb9ba50e24fad37fc14e
{ "blob_id": "74353d32c37f038e5c6abb9ba50e24fad37fc14e", "branch_name": "refs/heads/master", "committer_date": "2022-06-14T13:57:18", "content_id": "f3d56fdb67533ffa529db8126175668aa86ce366", "detected_licenses": [ "Apache-2.0" ], "directory_id": "22bb6e674a53da4090c65abc44afce4825cf4915", "extensio...
stackv2
// Copyright 2019 Shift Cryptosecurity AG // Copyright 2020 Shift Crypto AG // // 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 // // Unl...
2.0625
2
2024-11-18T22:02:52.657507+00:00
2023-08-20T18:47:17
e9890bde4e76f853ef173ca0c5eaa314d4859934
{ "blob_id": "e9890bde4e76f853ef173ca0c5eaa314d4859934", "branch_name": "refs/heads/master", "committer_date": "2023-08-20T18:55:38", "content_id": "7a377dc2837e9d3662cb63b9d621e0a05bd66878", "detected_licenses": [ "MIT" ], "directory_id": "367e9471f2b7c5598b3ddf3a8daab1e68b37290f", "extension": "h"...
stackv2
/* * ANSI C implementation of vector operations. * * Copyright (c) 2007-2010 Naoaki Okazaki * All rights reserved. * * 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 restr...
2.34375
2
2024-11-18T22:02:52.730387+00:00
2018-03-17T15:29:59
dfc91b62680d2712dc2cd11d8110e8ad16bd706f
{ "blob_id": "dfc91b62680d2712dc2cd11d8110e8ad16bd706f", "branch_name": "refs/heads/master", "committer_date": "2018-03-17T15:29:59", "content_id": "9dd2c18374a36f7360ce8094797ecbd4896e6626", "detected_licenses": [ "MIT" ], "directory_id": "fd708f0829f136258939fafb98b39e44feec2a96", "extension": "h"...
stackv2
#ifndef _EXEC_H_ #define _EXEC_H_ enum{ EXEC_TYPE_MASK = 0xFF, EXEC_TYPE_ELF32 = 1, EXEC_TYPE_BUILTIN = 10, EXEC_FLAG_DYNAMIC_SECTION = (1 << 15), EXEC_FLAG_DYNAMIC_SYMBOLS = (1 << 16), }; typedef struct ExecImage_s{ uint32 ExecType; //type of executable image uint32 ImageSize; void* BaseAddress; ...
2.1875
2
2024-11-18T22:02:52.877178+00:00
2019-07-18T08:33:31
aa3a1c2e348acc6f8a076274bf7e80ca3d47bd50
{ "blob_id": "aa3a1c2e348acc6f8a076274bf7e80ca3d47bd50", "branch_name": "refs/heads/master", "committer_date": "2019-07-18T08:33:31", "content_id": "597d044d9ab7704e0501832e0e91c685b611ae39", "detected_licenses": [ "MIT" ], "directory_id": "c9cd3684b853f3e4bf8ee7de1464bd8b6a07921c", "extension": "c"...
stackv2
#include "user.h" #define CHILD_NUMBER 10 #define N 1000 void printing(int number) { int i; for (i = 0; i < N; ++i) { printf(1, "Child %d prints for the %d time.\n", number, i); } } void RRsanity(void) { int wTime[CHILD_NUMBER]; int rTime[CHILD_NUMBER]; int pid[CHILD_NUMBER]; i...
2.703125
3
2024-11-18T22:02:52.955703+00:00
2023-07-05T02:39:45
f88a3411ed47462b9b54d56f21c573b623314d77
{ "blob_id": "f88a3411ed47462b9b54d56f21c573b623314d77", "branch_name": "refs/heads/master", "committer_date": "2023-07-05T02:39:45", "content_id": "a6aa57ba2d5a5c005717a4d7ac7f24f3b3f49847", "detected_licenses": [ "MIT" ], "directory_id": "282a0d0b6aeb86964772e44042b2fac1614d28c2", "extension": "c"...
stackv2
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "./common.h" static int is_valid_b32_input(const char *user_data, size_t data_len); static int get_char_index(unsigned char c); static const unsigned char b32_alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; char * base32_enc...
2.578125
3
2024-11-18T22:25:34.073541+00:00
2018-02-28T15:15:32
7e733bdb3b728263ce1dddc8adcf84380c9a250d
{ "blob_id": "7e733bdb3b728263ce1dddc8adcf84380c9a250d", "branch_name": "refs/heads/master", "committer_date": "2018-02-28T15:15:32", "content_id": "4d24c6473c1392f39a8f18a72a63c0bb52ce0d6b", "detected_licenses": [ "Apache-2.0" ], "directory_id": "66321c94c561d60ceba6582e9e8c65a7352115d7", "extensio...
stackv2
#include <stdio.h> #define peso1 3.5 #define peso2 7.5 int main() { double nota1; double nota2; double media; scanf("%lf", &nota1); scanf("%lf", &nota2); nota1 *= peso1; nota2 *= peso2; media = nota1 + nota2; media /= (peso1 + peso2); printf("MEDIA = %.5lf\n", media); return 0; }
2.875
3
2024-11-18T22:25:34.563233+00:00
2023-04-06T05:08:12
9f52b62511da4005181ca9a15e3d52760e991fd4
{ "blob_id": "9f52b62511da4005181ca9a15e3d52760e991fd4", "branch_name": "refs/heads/master", "committer_date": "2023-04-06T05:08:12", "content_id": "d65b438e1065da7eeaf62f5b0ec3b73caf5e3c49", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "6a86ce9191e89ecf9095b0cce34f16a86785f065", "extens...
stackv2
// SPDX-License-Identifier: BSD-3-Clause /* Copyright (C) 2018 - 2021 Intel Corporation. */ #include <memkind.h> #include <limits.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define NUM_THREADS 10 #define NUM_ALLOCS 100 static char path[PATH_MAX] = "/tmp/"; static void print_...
3.0625
3
2024-11-18T22:25:34.663208+00:00
2022-12-22T00:52:35
8cc3b0f46ce1864330cfb3844ebd89f32451181f
{ "blob_id": "8cc3b0f46ce1864330cfb3844ebd89f32451181f", "branch_name": "refs/heads/master", "committer_date": "2022-12-22T00:52:35", "content_id": "b7e41030cd3832e73ce91080a697b2affee199d6", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "9e27698a1b2442d9480046573e1df54467b855b7", "extens...
stackv2
#include "error.h" void errno_check(int func_return, char * func_name) { if (func_return == -1) { char msg[BUF_SIZE]; memset(msg, 0, BUF_SIZE); strerror_r(errno, msg, BUF_SIZE); fprintf(stderr, "%s : %s\n", func_name, msg); exit(EXIT_FAILURE); } }
2.125
2
2024-11-18T22:25:34.936729+00:00
2021-01-24T15:48:30
83e01acc2116491f98041c5bd9dda3b0b49a2be3
{ "blob_id": "83e01acc2116491f98041c5bd9dda3b0b49a2be3", "branch_name": "refs/heads/master", "committer_date": "2021-01-24T15:48:30", "content_id": "1f9b00202b563fdc83932c7cd012bebbeec6512b", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "bba97ee4f94a225f213b8a6f042bf084bdee831d", "extens...
stackv2
/*---------------------------------------------------------------------------- * Name: sample.c * * This software is supplied "AS IS" without warranties of any kind. * * Copyright (c) 2019 Politecnico di Torino. All rights reserved. *----------------------------------------------------------------------------*...
2.4375
2
2024-11-18T22:25:35.417295+00:00
2014-06-02T02:58:12
7b3278491d259f3bc72558ca2c029a3006c29b78
{ "blob_id": "7b3278491d259f3bc72558ca2c029a3006c29b78", "branch_name": "refs/heads/master", "committer_date": "2014-06-02T02:58:12", "content_id": "c3739a5c84bbea0e77ff6ff52b38185066837615", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "c55586eaac2187a7e8e96d8890214696b820b5f8", "extens...
stackv2
enum tokentype { OPERATOR, NUMBER }; // The order here is important. // It is ordered by precedence, and matches the order // in the operators string in token.c enum optype { PLUSOP, MINUSOP, TIMESOP, DIVIDEOP, MODOP, POWEROP, LPAREN, RPAREN }; enum datatype { INTEGER,...
2.21875
2
2024-11-18T22:25:35.583531+00:00
2013-10-04T07:10:33
36e7eb16afc70728ba40568e6953fe1303857766
{ "blob_id": "36e7eb16afc70728ba40568e6953fe1303857766", "branch_name": "refs/heads/master", "committer_date": "2013-10-04T07:10:33", "content_id": "54de9e0b68502e528dd0366b16d00d33e7ab90fb", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a6563408adcf0e838320f546d08f8172e1bae79a", "extensio...
stackv2
#include "properties.h" // Returns the bit depth int getDepth(MkvsynthMetaData *metaData) { switch(metaData->colorspace) { case MKVS_RGB48: return 16; case MKVS_RGB24: return 8; case MKVS_YUV444_48: return 16; case MKVS_YUV444_24: return 8; } return -1; } // Returns the number of bytes in the ...
2.59375
3
2024-11-18T22:25:35.759802+00:00
2022-11-03T16:59:32
b9cac65973838afc63c237bb3fd56b9be228cc17
{ "blob_id": "b9cac65973838afc63c237bb3fd56b9be228cc17", "branch_name": "refs/heads/main", "committer_date": "2022-11-03T16:59:32", "content_id": "b4bcbf6211c4b28de4a17698dedbf4bf8ab7d1d8", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ec67aaabcd3cb04c5e6bc547331ecbc718557c93", "extension"...
stackv2
#include "pkl.h" #include "pklParse.h" #include "pklMacroExpansion.h" PklRef macroExpansion (PklRef source) { if (! valIsList (source)) { /* not a tree--no processing */ return (source); } else { PklRef potential = valCar (source); if (valIsSymbol (potential)) ...
2.359375
2
2024-11-18T22:25:36.215270+00:00
2015-08-20T22:21:19
b49552971ab4625d5747df8caaf358afe67b2404
{ "blob_id": "b49552971ab4625d5747df8caaf358afe67b2404", "branch_name": "refs/heads/master", "committer_date": "2015-08-20T22:21:19", "content_id": "69236976f9db3b3647b9e0252d3030164ba40a64", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "76819d7ec89b0d59cc54c0e554ed176f6668ffa2", "extens...
stackv2
#ifndef SD_ITER_H_ #define SD_ITER_H_ /* * sophia database * sphia.org * * Copyright (c) Dmitry Simonenko * BSD License */ typedef struct sditer sditer; struct sditer { int validate; int compression; ssbuf *compression_buf; ssbuf *transform_buf; sdindex *index; char *start, *end; char *page; char *pages...
2.15625
2
2024-11-18T22:25:36.300854+00:00
2015-12-16T10:12:06
f5714dba25e89426184c1a76d380fcab5aa2ec53
{ "blob_id": "f5714dba25e89426184c1a76d380fcab5aa2ec53", "branch_name": "refs/heads/master", "committer_date": "2015-12-16T10:12:06", "content_id": "4e88cadb635918f94487025ece21c3d26063f56e", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "ed68a1ac51764885be1d6cebeaaccc5f1b0f81bd", "extens...
stackv2
#include <stdlib.h> #include <string.h> #include "hash_table.h" #include "utility.h" int ht_keycmp(ht_key key1, ht_key key2) { return strcmp(key1, key2); } ht_key ht_keycpy(ht_key key) { return safe_strdup(key); } ht_hash ht_dohash(hashtable_t *ht, ht_key key) { ht_hash sum = 0; for(int i = 0; key[i...
3.09375
3
2024-11-18T22:25:36.524854+00:00
2015-09-30T18:12:49
b9ee482624374815c933cc97264cae24fc8a2bae
{ "blob_id": "b9ee482624374815c933cc97264cae24fc8a2bae", "branch_name": "refs/heads/master", "committer_date": "2015-09-30T18:12:49", "content_id": "8fc406cd39142becca85f94856d1b45e8768a898", "detected_licenses": [ "Unlicense" ], "directory_id": "1d201504615b58da4b39e660a9afdaa547e7c2dd", "extension...
stackv2
#include <stdio.h> #include <string.h> void seven_1(void); void seven_2(void); int x; int main() { seven_1(); printf("\n*******\n\n"); seven_2(); return 0; } void seven_1(void) { char dwarf[7][8]; strcpy(dwarf[0], "bashful"); strcpy(dwarf[1], "doc"); strcpy(dwarf[2], "dopey"); ...
3.296875
3
2024-11-18T22:25:36.831025+00:00
2010-11-15T02:46:03
824cd2fce4f8e26e25b4c8fa15378c14d0838d69
{ "blob_id": "824cd2fce4f8e26e25b4c8fa15378c14d0838d69", "branch_name": "refs/heads/master", "committer_date": "2010-11-15T02:46:03", "content_id": "5a11eb054ae45df2111fe35fa57dd198ece521b1", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "f1416989141e71e9073d68389e0470dc...
stackv2
#include <string.h> #include "globals.h" #include <avr/io.h> #include <avr/interrupt.h> // LCD Ram addresses #define HOME 0x80 #define LINE_2 0XC0 void write_lcd(u08 data) { cli(); DDRC = 0xff; //make port C outputs PORTC = data; delay_us(1); sbi(PORTB,0); //set the clock ...
2.9375
3
2024-11-18T22:25:36.961022+00:00
2021-06-06T21:28:21
18bae66da2ba92e05462329c7a00f838c7ae3db4
{ "blob_id": "18bae66da2ba92e05462329c7a00f838c7ae3db4", "branch_name": "refs/heads/main", "committer_date": "2021-06-06T21:28:21", "content_id": "1ea1b78dcbac502ae939c391ac64d96e7b5a0466", "detected_licenses": [ "MIT" ], "directory_id": "0b82e6c340618e23bcdc1b81562921e79f58a13b", "extension": "c", ...
stackv2
// going to run a single thread and exit: makes it easier to test. #include "rpi.h" #include "rpi-thread.h" static void thread_code(void *arg) { unsigned *x = arg; // check tid rpi_thread_t *t = rpi_cur_thread(); printk("in thread %p, tid=%d with %x\n", t, t->tid, *x); assert(t->tid == 1 && *x == 0...
2.640625
3
2024-11-18T22:25:37.085187+00:00
2021-06-10T14:57:30
1bb29daf5d27e133b708063dc3a0ef946aef4fcb
{ "blob_id": "1bb29daf5d27e133b708063dc3a0ef946aef4fcb", "branch_name": "refs/heads/main", "committer_date": "2021-06-10T14:57:30", "content_id": "f90889dced85624641fdbe192624c84f55c1fd88", "detected_licenses": [ "MIT" ], "directory_id": "28bf7793cde66074ac6cbe2c76df92bd4803dab9", "extension": "c", ...
stackv2
#include <stdio.h> #include <string.h> #include <stdbool.h> int main () { int n, m; char string[] = {}; printf("Enter the value of n(string chatacters): "); scanf("%d", &n); printf("\nEnter the value of m (operations): "); scanf("%d", &m); printf("\nEnter the string: "); scanf("%s", st...
3.53125
4
2024-11-18T22:25:37.188590+00:00
2020-05-11T17:36:40
ce8f7d2b2b2fd4b7b383532d57ad4b26c2441454
{ "blob_id": "ce8f7d2b2b2fd4b7b383532d57ad4b26c2441454", "branch_name": "refs/heads/master", "committer_date": "2020-05-11T17:36:40", "content_id": "450bd246d6d81f16340a3742aab562eab0c93d2e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "022319c2727cb06020cdf97699c2c3b84bdad1e9", "extens...
stackv2
/* * AH_Math * * This header file provides definitions or code for math.h functions not present under Windows using Visual Studio * */ #ifndef _AH_MATH_ #define _AH_MATH_ #ifndef __APPLE__ #define _USE_MATH_DEFINES #include <math.h> #include <float.h> #ifdef isnan #undef isnan #endif #ifdef isinf #undef...
2.203125
2
2024-11-18T22:25:37.537673+00:00
2023-08-02T09:06:56
da5753726707e25f7ed31440d73501fb9f8e700f
{ "blob_id": "da5753726707e25f7ed31440d73501fb9f8e700f", "branch_name": "refs/heads/master", "committer_date": "2023-08-08T07:01:20", "content_id": "16b7b7cff76e695057a62f8eaf8343b8c7dffa3d", "detected_licenses": [ "Intel", "BSD-2-Clause", "BSD-3-Clause" ], "directory_id": "a8194cf6ffd12f7551e...
stackv2
/* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 2008-2012 Daisuke Aoyama <aoyama@peach.ne.jp>. * Copyright (C) 2016 Intel Corporation. * All rights reserved. */ #include "spdk/stdinc.h" #include "spdk/sock.h" #include "spdk/scsi.h" #include "spdk/log.h" #include "iscsi/iscsi.h" #include "iscsi/...
2.265625
2