blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 268 | content_id stringlengths 40 40 | detected_licenses listlengths 0 58 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 816
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.31k 677M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 151
values | src_encoding stringclasses 33
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.3M | extension stringclasses 119
values | content stringlengths 3 10.3M | authors listlengths 1 1 | author_id stringlengths 0 228 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
def1015985226890a18cc3078bb304027a613840 | cdfde89cee9b3a0b2d6e0b72ec38dab33edb17e6 | /Sender/receiveACKs.c | ded31f454e730f86cfadd661074744756aaea9a5 | [] | no_license | Laracuet/GBNReliableTransportProtocol | 3b2acbf8a284b0e09486189d8b29a71e90a4d70e | 7745fc4ae3677bca40c3b149a29161404484c29b | refs/heads/master | 2021-01-20T04:30:02.595797 | 2013-04-23T06:43:58 | 2013-04-23T06:43:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 785 | c | //
// receiveACKs.c
//
//
// Created by Tyler Laracuente on 4/2/13.
//
//
#include <stdio.h>
#include <string.h>
#include "Header.h"
#define PKT_SIZE 1024
void* receiveACKs(void *args) {
//forever loop
//wait semaphore to be posted by the sender thread
//read from ... | [
"Laracuet@gmail.com"
] | Laracuet@gmail.com |
1e03b7374f2ce9062cf37dd676d078f5f3e13172 | fb87227d44f680d8c739feaedd715de912668eb0 | /Shaders/Volume/EmptyRayContext.h | 7fd662c847e079d6cb6509927113b631e973734c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | matthew-reid/Graphtane | 2b65f2917a5c414616375e2a54bdbdb85901a43b | 3148039993da185cfb328f89b96c9e5a5b384197 | refs/heads/master | 2020-06-08T06:59:21.176867 | 2019-08-02T13:41:09 | 2019-08-02T13:41:09 | 16,577,571 | 41 | 8 | null | null | null | null | UTF-8 | C | false | false | 1,322 | h | // Copyright (c) 2013-2014 Matthew Paul Reid
// 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, p... | [
"matthewreid87@gmail.com"
] | matthewreid87@gmail.com |
e1d7be801168e60aeb8ead3835e7e229c9d9c0f6 | ac4a744e284f9224c18ae10c5a1fd7b283950d83 | /inc/status.h | 9fa42a0da099ced6fcede9aa97e871801811544b | [
"MIT"
] | permissive | uw-midsun/ms-common | 8d48b77e4881aea23ab7c5fc56386d402e1ace69 | a1bd9430c012ea0d574f718a836622de484e889b | refs/heads/master | 2021-05-03T10:52:18.966352 | 2016-12-16T02:49:50 | 2016-12-16T02:49:50 | 69,842,928 | 2 | 0 | null | 2016-12-16T02:49:51 | 2016-10-03T05:13:37 | C | UTF-8 | C | false | false | 2,834 | h | #pragma once
// Status Library for more verbose error handling
//
// Usage:
// Use this library in any function where an error could occur. A verbose error will improve
// debugability and allow for logging and attempts at recovery.
//
// If an error has occured in a function that returns a StatusCode then:
// return s... | [
"noreply@github.com"
] | uw-midsun.noreply@github.com |
cace8f70c5624a016207334850d97527080da582 | ec36948786d6b30019e5169f7004560dc9c2ccdd | /work/OpenGLSL/ShaderSources.h | d50aa5541346eeb472f7fcae03f4f3a7aaf05d14 | [] | no_license | AngusXi/LearnOpenGL | f82a7270c78d2b137b92992b25d3e6d9c508a9f5 | 0332815f5eaf42af304dc4bbd19343de2e28c3cc | refs/heads/master | 2022-12-17T08:17:16.462571 | 2020-09-17T12:37:28 | 2020-09-17T12:37:28 | 294,318,462 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 629 | h | #pragma once
const char* vertexShaderSource4 = "#version 330 core\n"
"layout(location = 0) in vec3 aPos;\n" // 位置变量的属性位置值为 0
"layout(location = 1) in vec3 aColor;\n" // 颜色变量的属性位置值为 1
"out vec3 ourColor;\n" // 向片段着色器输出一个颜色
"void main()\n"
"{\n"
" gl_Position = vec4(aPos, 1.0);\n"
" ourColor = aColor;\n" // 将ourColor... | [
"hours10000@gmail.com"
] | hours10000@gmail.com |
ff67f095d83b66c5c77e1d07ef02afd10ad19e52 | 370911ab70e0910a0a965189295b098bf26de7e7 | /filedir/access.c | 426fdcb7d7f11470fe5ae1eb0de9917f780ad5db | [] | no_license | MemoryReload/APUE-Example-Code | f7129dc8f9e6be79af47b459adec02337f1990e4 | 6c1992d5486c5ac55ad35e264a35bb6f88074224 | refs/heads/master | 2021-07-25T11:24:36.208439 | 2020-09-18T12:02:31 | 2020-09-18T12:02:31 | 217,856,110 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 577 | c | //
// Created by 何平 on 2020/4/16.
//
#include "apue.h"
#include <fcntl.h>
int main(int argc, char * argv[])
{
printf("real user id: %d\n",getuid());
printf("effective user id: %d\n",geteuid());
if (argc != 2) {
err_quit("usage: a.out <pathname>");
}
if (access(argv[1],R_OK)<0)
{
... | [
"ping.he@kuwo.cn"
] | ping.he@kuwo.cn |
9da66a2ecbc8c950d739d70345f1808a29bc4d39 | 527421f3589e943db64c476656927c62829d1524 | /system/ulib/inspector/dso-list-impl.h | 7800c89385d8e4b98928e899eff112a1afcaf299 | [] | no_license | wahwahwinner/smartnix | 5e0d0248ed8eaeb38d51a4b44c41eaa21d9c9b59 | f3aa1cc8873ec08f3ea7d66713843d3fdbebd7b5 | refs/heads/master | 2020-04-28T21:01:49.414154 | 2019-03-04T03:58:26 | 2019-03-04T03:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 299 | h |
#pragma once
#include <zircon/types.h>
#include "utils-impl.h"
struct inspector_dsoinfo {
struct inspector_dsoinfo* next;
zx_vaddr_t base;
char buildid[MAX_BUILDID_SIZE * 2 + 1];
bool debug_file_tried;
zx_status_t debug_file_status;
char* debug_file;
char name[];
};
| [
"376305680@qq.com"
] | 376305680@qq.com |
1e5e0c8345269772c76e06e53c4c05bb8601bdad | 27f5754ca02645d95c12be510d27767e1756048a | /Fixed/include/fixed.h | 7ab383a1efe162130266a27865332895a42b075c | [] | no_license | ayuckhulk/gldemo | 08d3a5093532446fb21d9c46a7f7c549efcd7a29 | 870fb3edd809e18ce9443e228107a6e3d611a6fe | refs/heads/master | 2020-04-02T08:01:32.028010 | 2018-10-22T22:27:55 | 2018-10-22T22:27:55 | 154,225,815 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,476 | h | #ifndef __fixed_h_
#define __fixed_h_
#include <limits.h>
#include <assert.h>
#include <stdint.h>
#include <math.h>
//#include "SDL/SDL.h"
#define FIXED_SHIFT 16
#define FIXED_INT_BITS 0xFFFF0000
#define FIXED_FRAC_BITS 0x0000FFFF
typedef int32_t fixed;
uint64_t divide32(uint32_t y, uint32_t x);
#define fixed_rou... | [
"igor.kulaychuk@gmail.com"
] | igor.kulaychuk@gmail.com |
22455ed12ce3ff409e716c71e61bf92003f5db09 | 4c1206eb5bbbaab945efeb35ec1dc6ffaa50e717 | /srcs/queue.c | d8179d64d2191d8e221efefbcf242d5ed97626f0 | [] | no_license | clongmor/Lem_in | b5d8c1601c28a87c76bc156732e33e9977a2065a | 4e7899d1aac9d7f17f982183ff054c562b7c3863 | refs/heads/master | 2020-07-11T07:08:48.660471 | 2020-05-16T13:06:30 | 2020-05-16T13:06:30 | 204,474,048 | 0 | 0 | null | 2020-05-13T21:54:29 | 2019-08-26T12:46:24 | C | UTF-8 | C | false | false | 2,365 | c | #include "../includes/lem.h"
static t_node *clone_path(t_node *head)
{
t_node *curr = head;
t_node *new_path = NULL;
t_node *tail = NULL;
while (curr)
{
if (new_path == NULL)
{
new_path = create_node(curr->room);
tail = new_path;
}
else
... | [
"marthen.vandereems@gmail.com"
] | marthen.vandereems@gmail.com |
3784b00066a9e362272e81e94b1f67111810e360 | b4bec7c9905e7a320a7a8c1706d67961b935ae5b | /evatopostfix.c | 72e65fb68975caaeeb8e3c00bc2fe8bfc06ca1a3 | [] | no_license | ObaidKazi/DSLAB | 18bea1babec3527badf389d6dcac71727217b21b | 69b49eca7066a5459ae2efaf1f9e9bcfa6628dbf | refs/heads/master | 2021-07-21T01:15:19.310366 | 2017-10-23T09:22:58 | 2017-10-23T09:22:58 | 102,563,750 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,057 | c | #include<stdio.h>
#include<ctype.h>
#define MAX 100
typedef struct stack
{
int a[MAX];
int top;
}stack;
void push(struct stack *ps,char n)
{
if(ps->top!=MAX-1)
{
ps->top++;
ps->a[ps->top]=n;
}
else
printf("\nSTACK IS FULL");
}
int pop(struct stack *ps)
{
return(ps->a[ps->top--]);
}
int operati... | [
"noreply@github.com"
] | ObaidKazi.noreply@github.com |
f11b6fd0643954385d694863c43306ca821cc86a | f2ad82525768c2a45edcbd59ce22445b36b3403b | /otherio/lib/rt/src/os_linux/rt_io_mb_rtu.h | b92825ee4a2ec18e02e71584639bdc6a04aba93c | [] | no_license | jordibrus/proview | 55fdf2623ff7b46f0ccfce1bcdce4543457a9d9a | 29f5e0cc6dab430593c1d6bf95dd5077d6732953 | refs/heads/master | 2021-01-18T00:18:45.670513 | 2013-11-16T20:03:39 | 2013-11-16T20:03:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,186 | h | /*
* Proview Open Source Process Control.
* Copyright (C) 2005-2013 SSAB EMEA AB.
*
* This file is part of Proview.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version ... | [
"claes.sjofors@proview.se"
] | claes.sjofors@proview.se |
05d940404b36cc1d38b58cf01fe6acf0cde09373 | 38dcc977c2ddee2af139ae8cd2ff8df672372433 | /Charset.h | 491d7116db9f414623bfb74342cab541358f2bcf | [] | no_license | wojciechwisniowski/atmega_ster_buffor | 11aa6164a321e4dc3c306a89cea9e8f18153901a | 5c338602fbc9ec7f51b05393c282ec6a5462abb3 | refs/heads/master | 2021-01-17T12:19:23.488737 | 2014-12-19T22:22:55 | 2014-12-19T22:22:55 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C | false | false | 8,095 | h | #ifndef CHARSET_H
#define CHARSET_H 1
#include <inttypes.h>
#include "BasicLCD.h"
#include "AdvancedLCD.h"
//==============================================================
// CONSTANTS AND GLOBAL VARIABLES
//==============================================================
//znaki specjalne
//odstęp w pikselach
#defin... | [
"wojciech.wisniowski@comarch.com"
] | wojciech.wisniowski@comarch.com |
01cbf8d5e5d113c1b66a9c5a452290c008f283ca | b9ca689e2994507beb8f97816fd3178c920cea3e | /production/pygsl-0.9.5/src/simanmodule.c | 7accc521496ed465f6bc464e936132f262e97494 | [
"MIT",
"GPL-2.0-only"
] | permissive | juhnowski/FishingRod | 78f117f1d91c55ed5ba0aa0e582d0837ca5f3872 | 457e7afb5cab424296dff95e1acf10ebf70d32a9 | refs/heads/master | 2021-03-12T23:46:24.171759 | 2014-12-27T20:56:13 | 2014-12-27T20:56:13 | 28,544,669 | 0 | 1 | MIT | 2018-10-02T06:27:42 | 2014-12-27T19:38:05 | C | UTF-8 | C | false | false | 17,655 | c | /**
* Original Author:
* * author: Jochen K"upper
* * created: April 2002
*
* author: Pierre Schnizer
* created: December 2003
* file: pygsl/src/simanmodule.c
* $Id: simanmodule.c,v 1.9 2008/10/25 20:45:04 schnizer Exp $
*
* Jochen K"upper wrote the original version of this module. In December 2003 I
* rewr... | [
"info@phreebie.net"
] | info@phreebie.net |
8229ac14b5106ea8363d47f75b240c779c825284 | e0632c2f725102946da96275f651aaebc8c1ed63 | /memory/refer_free/test_lib_incorrect/11_loop_while_do_continue.c | bbdd588068c2114bfc144de264affe0fc9d440fb | [
"MIT"
] | permissive | rvantonder/JM2018TS | b3a0ba0d4e99a55143c25ae2c8cca83ebd1836f5 | 8070fb9b5efae20e1d7a01550e0f267f1362e59b | refs/heads/master | 2020-04-25T19:40:54.972541 | 2019-02-28T02:47:48 | 2019-02-28T02:47:48 | 173,028,858 | 0 | 0 | null | 2019-02-28T02:48:00 | 2019-02-28T02:48:00 | null | UTF-8 | C | false | false | 686 | c | #include <stdio.h>
#include <stdlib.h>
#include "refer_free.h"
void refer_free_do_while_continue(int x) {
int* data;
int val = 0;
int i = 0;
data = malloc(5*sizeof(int));
if(!data) {
return;
}
free(data);
do {
if(i == 8) {
i++;
continue;
... | [
"rvantonder@gmail.com"
] | rvantonder@gmail.com |
dc9895ca131c10c4e34a84b46cdf9791ed42782a | a3c604effcb34c7a9594a7a37e2ec618aab4c74f | /reference/cvs/inc/gdecjj.h | 905ffbb1ed2104cdca243a1e3af94625e5ead40c | [] | no_license | jvonwimm/aleph64bit | 09d9d48db51ed8c5f868b5409c6b7a78bfff8e6f | a779f00fd147a2fd3b1f81e0d65ca09509045c88 | refs/heads/main | 2023-02-04T06:10:49.338430 | 2020-12-16T00:59:48 | 2020-12-16T00:59:48 | 301,156,974 | 0 | 2 | null | null | null | null | UTF-8 | C | false | false | 107 | h | *CD gdecjj
INTEGER JGDEPN,JGDEBR,JGDEDM,LGDECA
PARAMETER(JGDEPN=1,JGDEBR=2,JGDEDM=8,LGDECA=13)
| [
"jvonwimm@protonmail.com"
] | jvonwimm@protonmail.com |
13a4a3034eeb305b271bce71395aa014f0e6ef28 | 042009bfef1534b2329fa3b2cee50f4806e443b8 | /iOS-Unity-Bridge/UnityBundle/Classes/Native/UnityEngine.UnityAnalyticsModule_CodeGen.c | 886890bc99550e445f8e425e913cf21f6f82946b | [] | no_license | Lafree317/iOS-Unity-Bridge | fef1abe7c750df327d1a5188e13ebfd8c17cd4c0 | c043f61b364252f40d9de20b34c6b1b26c3248ff | refs/heads/master | 2020-07-09T10:53:27.147539 | 2019-08-23T11:39:37 | 2019-08-23T11:39:37 | 203,952,168 | 4 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,374 | c | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
// 0x00000001 System.Void UnityEngine.Analytics.AnalyticsSessionInfo::CallSessionStateChanged(UnityEngine.Analytics.Anal... | [
"lafree317@163.com"
] | lafree317@163.com |
69ae5fb1744607b79f638250de961f1003907044 | 7b9e626cfc3aa45ff44f79b0fb31b782a17d6c98 | /src/functors/analytical/indicator/indicator2D.h | f347223995bf6b57e27db84e6497c4d6e75632a2 | [] | no_license | lex16000/LBv1.2 | e95b1b42925aaa892e6099be83496a0a56271dff | cee82cc6fe75d2f9b25a9f62ce8d50d3480c47ac | refs/heads/master | 2021-04-06T01:41:48.099885 | 2018-04-04T12:01:09 | 2018-04-04T12:01:09 | 125,254,173 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,149 | h | /* This file is part of the OpenLB library
*
* Copyright (C) 2012 Lukas Baron, Mathias J. Krause
* E-mail contact: info@openlb.net
* The most recent release of OpenLB can be downloaded at
* <http://www.openlb.net/>
*
* This program is free software; you can redistribute it and/or
* modify it under the te... | [
"schulz_a_alexander@hotmail.com"
] | schulz_a_alexander@hotmail.com |
a89ff37d03e173e095a93ef17e648b65e93d8f38 | 070f3f98f7e4accb0bc8eba2c41f29b65c60f5a4 | /Assert.h | eac67f30fb15ac7f01b23a7430d95d0ee6fc3cf1 | [] | no_license | davormrkoci/dodo-math3d | 96f0ef2400f9a0d8b3ae3761efd24e955b218dd4 | f33d871807c16dab4ce9bfe7a22cbc6df6274c4a | refs/heads/master | 2021-01-10T19:03:48.808227 | 2013-11-09T18:08:02 | 2013-11-09T18:08:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 114 | h | #if !defined(DODOENG_ASSERT_H_)
#define DODOENG_ASSERT_H_
//assert
#define DE_ASSERT(exp) assert(exp)
#endif | [
"davormrkoci@gmail.com"
] | davormrkoci@gmail.com |
948cbd42601dc5a2113d9f3ab433776b744cc4fe | f791c1d59ec412dc89cfec1d1720bd1415d8a610 | /ARM_KERNEL/02/06_ioctl/test.c | c9c476c5fe4fb987c1f32592c915629075f7dcca | [] | no_license | md-jamal/arm | 77080500f8f98ab9a0bc8320564170fc7cd38481 | a46ed1db6f78e417f0236c70494c0ba46743168a | refs/heads/master | 2020-05-18T22:48:59.155897 | 2017-03-22T11:29:49 | 2017-03-22T11:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,314 | c | #include <linux/module.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include "ioctl-dev.h"
#include <linux/gpio.h>
#define DEV_NAME "test-dev"
#define MAX 1024
struct test_dev {
char dev_buf[MAX];
int cur;
void *reg_base;
u32 gpio_irq;
struct file_operations fops;
int major... | [
"18503051964@126.com"
] | 18503051964@126.com |
d8533b0a7edefd161b2709610b091944576a8143 | 96ebd2756f7877edf58701e48939a6a2c847be2c | /source/examples/dma/dma_prev_trigger.c | 621634c09992d501b05258df8676115b2506f1a4 | [] | no_license | parth98988/Indoor-Positioning-System | 007814db85d6542043ef06c251b94fe241ca10b5 | 19692a8203d24cbd5470963c7bc2d955d0e361f7 | refs/heads/master | 2020-04-05T04:04:14.972452 | 2018-11-07T12:26:31 | 2018-11-07T12:26:31 | 156,536,769 | 0 | 0 | null | null | null | null | MacCentralEurope | C | false | false | 8,780 | c | /*******************************************************************************
Filename: dma_man_trigger.c
Description: This example shows both how to trigger a DMA channel manually and
how to trigger a DMA channel by the completion of the previous
channel. Both channels cop... | [
"noreply@github.com"
] | parth98988.noreply@github.com |
47f68d220d591be9ffbc9bd6cc6b6e0fad590e4a | e52ead4c385656280f7084ef27f528ced277a302 | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen_30.h | 5a015754834a0c3774654250f213b659c057055f | [] | no_license | P0nj4/Roll-a-Ball-Unity | 9aacbf6f21c1b6774116f97849aaff38eef7fa7f | 86e42295507bed9f4eac78ea01d8d92e0f0eea07 | refs/heads/master | 2021-01-10T16:00:13.441187 | 2015-10-13T19:29:56 | 2015-10-13T19:29:56 | 44,198,657 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 602 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Array
struct Array_t;
#include "mscorlib_System_ValueType.h"
// System.Array/InternalEnumerator`1<UnityEngine.SocialPlatforms.GameCenter.GcScoreData>
struct InternalEnume... | [
"german.f.pereyra@gmail.com"
] | german.f.pereyra@gmail.com |
b42f242198d9c48b52b20cefec94c40ad38d7453 | 62a59f23c6f298d508ce29e5d679b408205efaae | /using_multiple_containers.c | d83abb0dcefc251b0fe2dcd89fa369e94fa95bd3 | [] | no_license | ggarlic/gtk-learning | cbe3e820790df6122f7d4f3482b2dcb2cbbc8b8a | d1a06a7e43add7a6ec423f9e0c36015a2f33e863 | refs/heads/master | 2016-09-10T23:09:55.520041 | 2014-06-02T14:49:08 | 2014-06-02T14:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,425 | c | #define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include<gtk-2.0/gtk/gtk.h>
static void prev_tab(GtkButton *button, GtkNotebook *notebook){
if (gtk_notebook_get_current_page(notebook) == 0)
gtk_notebook_set_current_page(notebook, 3);
else
gtk_notebook_prev_page(notebook);
}
static v... | [
"yangbo@admaster.com.cn"
] | yangbo@admaster.com.cn |
9f39cccc78d24af84a070b2b1f10e8080400ae11 | 79514cfd79f256f2d2b2c5721b330aa5526a9f07 | /Experiment/7 I2C/7-2 I2C_NixieTube/I2CISR.c | 130ce8a11bdcc0b0e7d9af7d1a69323b7b17d786 | [] | no_license | williamwjs/StellarisWare | 6d51fd2ac20da57eea5960b77fe228bb9e2f9e82 | 63ac267954295a864a0318aa14070c970d50a961 | refs/heads/master | 2020-03-29T13:01:32.704345 | 2015-02-01T15:44:53 | 2015-02-01T15:44:53 | 30,150,343 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 2,768 | c | #include "HardwareLibrary.h"
#include "LuminaryDriverLibrary.h"
#include "I2CConfigure.h"
#include "NixieTubeConfigure.h"
#include "I2CISR.h"
unsigned char I2C0TransmitionState=0;
void I2C0_ISR(void)
{
unsigned long ulStatus;
/****************************Put your code here!!*****************************... | [
"williamwjs.sjtu@gmail.com"
] | williamwjs.sjtu@gmail.com |
e3179b14bdd8e1cfc606cc2eacbde04068655d5f | 050a4391eea71db3405d986390b74e3e9930089f | /FW/document/documents/en.stsw-stm8066/STM8-128-EVAL_FW_V1.1.0/Project/STM8-128-EVAL/inc/demo_timer.h | f31115de076e329c703cbf4e5f18a93acc80fa18 | [] | no_license | pdkyll/STM8SDataLogger | d71b1f5cc182d7421e40a0f95bd0fe8f9e35dfde | 69bd0fed412b01fe6c8e99ea5eb58f4ca219d8fc | refs/heads/master | 2023-02-22T01:43:45.992948 | 2021-01-24T23:53:56 | 2021-01-24T23:53:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,877 | h | /**
******************************************************************************
* @file demo_timer.h
* @brief This file contains functions prototypes for the TIMER demo.
* @author MCD Application Team
* @version V1.1.0
* @date 11-March-2011
****************************************************... | [
"xiadong.br@gmail.com"
] | xiadong.br@gmail.com |
628155ed13850565f593cd2fa57b257c4ff453fd | f512d3171f9378352fb1ab084c84dcc61dcbe628 | /src/main.c | f7aa2db340d03224459ea1b6d273ce57e34ddb30 | [] | no_license | chuan6/link-state-routing | c03f39454a2f60d7fc3da91c904cd6cdc14eb444 | 98853c4fc1ebc55d689deb67702b6e567f1143c4 | refs/heads/master | 2016-09-10T23:35:19.628762 | 2015-04-30T04:53:18 | 2015-04-30T04:53:18 | 30,507,961 | 3 | 7 | null | null | null | null | UTF-8 | C | false | false | 4,630 | c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cs542.h"
#define NDIGITS 16
static const char *menu = "1-Load File\n2-Build Routing Table for Each Router\n3-Out Optimal Path and Minimum Cost\n0-Exit";
static const char *prompt0 = "Invalid input. Please try again. Only character '1', '2', or '3' is... | [
"chuan6.dev@gmail.com"
] | chuan6.dev@gmail.com |
7b7f45b4dba50ed7b1ea6120c2babc7114cbc5c6 | c76346e1ac0e6ac32c2ada9496a5a92133146ced | /include/helper/photospline/bspline.h | 442149eff7c724bdbb32e2e9080d134d46eab54d | [] | no_license | mhieronymus/GUSTAV | ed2cf58c4c6d4c6acf870118d88c142d9030829e | 97d09ae60e6734acf06c2780d0d4f814e0800446 | refs/heads/master | 2020-03-30T04:14:09.223343 | 2018-10-19T07:34:32 | 2018-10-19T07:34:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,122 | h | #ifndef _BSPLINE_H
#define _BSPLINE_H
#include "helper/photospline/splinetable.h"
#include "helper/types.hpp"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Compute the value of the ith nth-order basis spline of a set
* defined by knots at the poindex_t x.
*/
value_t bspline(const value_t *knots, value_t x, index_t... | [
"mhierony@students.uni-mainz.de"
] | mhierony@students.uni-mainz.de |
bd0fbd4b7d4c53301b0921d0c3bcedaa7c738bcc | 6ecc6c96cf0e59741a1755f503f9d57b9572e6db | /2741/2741/main.c | bc87b74ad4ccd3675bfb097c1f2bf695de8ec0b5 | [] | no_license | mooner92/BOJ | 9d84a0361f5aa2b1c4719b73f959daf3e9729c8f | 2b8e3fa3c21fc3a926ae0dedb97aa55ea56160c2 | refs/heads/master | 2021-04-01T02:48:49.995629 | 2020-03-18T06:13:04 | 2020-03-18T06:13:04 | 248,151,123 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 123 | c | #include <stdio.h>
int main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++){
printf("%d\n",i);
}
}
| [
"noreply@github.com"
] | mooner92.noreply@github.com |
d3e1c4217f368d78d48c54bb30c77b3e4d20e9c3 | f6cb1b34668f4e864836c595efce40083baa8f91 | /common/recipes-lib/vr/files/xdpe12284c.c | 7f781b06ee0be8c59d44709eb7bc1cfcc4b4f7de | [] | no_license | isabella232/openbmc | d419d61092f457d2c25a057831fc8d56cd482e8a | 7a0ece893ac2d985af85701d8a003fa62a34cae0 | refs/heads/helium | 2023-04-06T06:29:29.854842 | 2021-04-16T01:04:35 | 2021-04-16T01:54:48 | 358,585,013 | 0 | 0 | null | 2021-04-16T12:02:45 | 2021-04-16T12:01:40 | null | UTF-8 | C | false | false | 14,434 | c | #include <stdio.h>
#include <syslog.h>
#include <string.h>
#include <unistd.h>
#include <openbmc/obmc-i2c.h>
#include <openbmc/obmc-pal.h>
#include <openbmc/kv.h>
#include "xdpe12284c.h"
extern int i2c_io(int, uint8_t, uint8_t *, uint8_t, uint8_t *, uint8_t);
static int
get_xdpe_crc(int fd, uint8_t addr, uint32_t *cr... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4185219012df655e9d4a074c5e76b8e22854dcb5 | 23dcf7c62f0dd28080f02251a74ba990fec8d563 | /lab2a/lab2_add.c | ee70fabae81e0430da3bf258971bcf462a33445b | [] | no_license | sjl1826/CS111 | af19dfc5f576d2e87c55a5185207815af3212cbc | 7a853ed7ecf451b23c84d2d24dc3855bbb31187a | refs/heads/master | 2020-05-07T20:53:19.529962 | 2019-04-11T21:49:12 | 2019-04-11T21:49:12 | 180,882,379 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,055 | c | //NAME: Samuel Lee
//EMAIL: heysamlee@gmail.com
//ID: 504969381
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <pthread.h>
#include <time.h>
#include <sched.h>
#include <unistd.h>
#include <string.h>
long long counter = 0;
int numthreads = 1;
int iterations = 1;
int opt_yield = 0;
char syncV = 'l... | [
"heysamlee@gmail.com"
] | heysamlee@gmail.com |
092a6bda02c72bf63fd8b5cbbb2b7232639e5fa4 | 2c642ac5e22d15055ebf54936898a8f542e24f14 | /Example/Pods/Headers/Private/boost/boost/predef/os/solaris.h | a6c29d9cdc5bae4bc32c8ae56a42ee31c2936add | [
"Apache-2.0"
] | permissive | TheClimateCorporation/geofeatures-ios | 488d95084806f69fb6e42d7d0da73bb2f818f19e | cf6a5c4eb2918bb5f3dcd0898501d52d92de7b1f | refs/heads/master | 2020-04-15T05:34:06.491186 | 2015-08-14T20:28:31 | 2015-08-14T20:28:31 | 40,622,132 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 61 | h | ../../../../../../boost/Pod/Classes/boost/predef/os/solaris.h | [
"tony@mobilegridinc.com"
] | tony@mobilegridinc.com |
e40c2747807452dbe3b03e6f39d71a15ef1e5465 | fe44a81dde80ca8dc7669aac5307212f10219d2c | /Pointers/pointers_arrays.c | ca2ca464f1b8fa70a57cca657f2069d7867e53d5 | [] | no_license | cristiangabor/C-work | c20639f55ebeb139f1694456e3ed56aabffeed6a | 24291c197f14c4152ba67437e8be705f783b778b | refs/heads/master | 2021-01-10T12:41:47.807428 | 2015-10-25T20:38:14 | 2015-10-25T20:38:14 | 44,928,379 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 599 | c | #include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<ctype.h>
#include<string.h>
int main()
{
int i;
int meatBalls[5] = { 7,9,43,11,24 };
printf("\n\n\nElement: \t Adress: \t\t Value: \n");
for(i=0; i<5; i++)
{
printf("meatBalls[%d] \t %p \t %d \n",i, &meatBalls[i],meatBalls[i]);
}
// print the ... | [
"cristi26.gabor@gmail.com"
] | cristi26.gabor@gmail.com |
4196b35a829a93b90c387902ff436b1f6edd5412 | 55ff6a1187b1338c03decd9414e79409e59ea219 | /picine reloaded/ex15/ft_putstr.c | 85f5cee2bf585b10e9fd83fa3a1fcfb9b4b01ae2 | [] | no_license | dnettoRaw/files_old | 53b49d48dd4d7f62fb46eed4b392ce34f00ac7fe | 9107dfb8e6a1862a3e0c0698a42392f114c61ff5 | refs/heads/master | 2021-06-16T05:42:43.422131 | 2017-05-17T10:02:57 | 2017-05-17T10:02:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,006 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: ... | [
"dnetto@e2r6p16.42.fr"
] | dnetto@e2r6p16.42.fr |
2ac43cb46c4904616f390f163c0a28bf50615edc | e3829fe2fd089410f6f4e4bbbf91b42922eec039 | /examples/Blynk.Edgent/Edgent_Wio_Terminal/Console.h | 088729bdb0a8cd7c730031082efe3b6d009596c8 | [
"MIT"
] | permissive | blynkkk/blynk-library | 975ec76dea5b0ea0d62c8ddc3722da5d88c2f3ed | fcea6fd06d27bd8ef39faa456b3c4dee9514a66b | refs/heads/master | 2023-09-05T14:06:02.152635 | 2023-09-05T08:30:27 | 2023-09-05T08:30:27 | 32,791,821 | 4,063 | 1,506 | MIT | 2023-01-10T19:45:16 | 2015-03-24T10:31:07 | C++ | UTF-8 | C | false | false | 1,870 | h |
#include <Blynk/BlynkConsole.h>
BlynkConsole edgentConsole;
void console_init()
{
#ifdef BLYNK_PRINT
edgentConsole.begin(BLYNK_PRINT);
#endif
edgentConsole.print("\n>");
edgentConsole.addCommand("reboot", []() {
edgentConsole.print(R"json({"status":"OK","msg":"rebooting wifi module"})json" "\n");
... | [
"vshymanskyi@gmail.com"
] | vshymanskyi@gmail.com |
436aa2fdafacec26ec8b53dfa3afba91a3967324 | 66cb8e707d43a908044e7dc6f946e48097c4d1c1 | /libft/ft_strmap.c | 814ad981a424edcd4c38c992beec46340c034212 | [] | no_license | SergeiGusachenko/Printf | 320dd3d32313b7c40fd4318b7354b65a73d57826 | 3a5739ec7fb456448a70636dd90178d0c1240a79 | refs/heads/master | 2020-06-06T17:47:21.100510 | 2019-06-28T03:52:50 | 2019-06-28T03:52:50 | 192,811,179 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,209 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strmap.c :+: :+: :+: ... | [
"sgusache@e1z3r6p4.42.us.org"
] | sgusache@e1z3r6p4.42.us.org |
fb1425f9e0e691ee97e2088f39fb18b2c0287dea | c1718cfcfe79774ccc588f251d62abd18bee9739 | /c/adt/llist.c | 78f9803f2fa55bad2d7ae756b946e92ecd958183 | [
"MIT"
] | permissive | petarov/sandbox | adeb926187692cf7446a0e988d84d2cf6c0828d2 | e1c75175ff4b6bca3df29b8f19daf00d485421cd | refs/heads/master | 2023-09-04T10:55:38.097519 | 2023-08-26T20:31:56 | 2023-08-26T20:31:56 | 13,807,570 | 0 | 0 | MIT | 2022-01-29T10:28:47 | 2013-10-23T16:03:01 | JavaScript | UTF-8 | C | false | false | 3,704 | c | /**
* C (Double) Linked-List Implementation
* https://github.com/petarov/
*/
#include <assert.h>
#include <stdlib.h>
#include "variant.h"
#include "llist.h"
static llist_node_t* s_create_node(llist_t *llist, void *ptr) {
// new item
variant_t *var = var_ptr(ptr);
// insert node
llist_node_t *node ... | [
"petar.petrov.georgiev@gmail.com"
] | petar.petrov.georgiev@gmail.com |
5c573be2749c1c3136949de39356a1c8fb407c1c | 63bcef8912b2f78a683c50059b61b6c19e410d54 | /tmp/apcu-master/apc.c | a64eb0131f4df84e7c5dc8091c18ab55b36f3f7e | [] | no_license | yubird/onstring | 0c7923a1a52366535945b31131b654e98e1bf6af | 326cd759775db219853b76f8709ddec59b1f83a8 | refs/heads/master | 2020-03-15T19:41:00.429201 | 2020-02-17T15:57:23 | 2020-02-17T15:57:23 | 132,314,704 | 3 | 1 | null | null | null | null | UTF-8 | C | false | false | 13,139 | c | /*
+----------------------------------------------------------------------+
| APC |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2011 The PHP Group |
+--------------... | [
"root@azunyan.afelab.local"
] | root@azunyan.afelab.local |
8b0ada06c0bb33d2dc478f715d0d5fa7a3512fb3 | 885f3fb6bb648f84e22086e5ecaa0b13408972e7 | /Xinu-OS/sys/evec.c | 84f273fe3edea893878cea90fb0ed1a0c23d25ef | [] | no_license | abhishekgupta930/Demand-Paging-XINU-OS | ad41112f3952daf0dc859abb9d4ef94c52794e89 | fe85d6e3d7c852b417a5075e331ecf8b6a2bd0a6 | refs/heads/master | 2020-09-29T01:57:29.960616 | 2020-08-27T15:02:15 | 2020-08-27T15:02:15 | 226,920,860 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,512 | c | /* evec.c -- initevec, doevec */
#include <conf.h>
#include <i386.h>
#include <kernel.h>
#include <proc.h>
#include <sem.h>
#include <mem.h>
#include <tty.h>
#include <q.h>
#include <io.h>
#include <stdio.h>
/*#define STKTRACE*/
/*#define REGDUMP*/
/*
* The girmask is used as a mask for interrupts that don't ha... | [
"agupta38@ncsu.edu"
] | agupta38@ncsu.edu |
3cd4224f5c53f22a17cfbfd5824e74710b3bb015 | fbff5b23293a9f9c1570c1f5e55b0767f090acf0 | /pset2/caesar.c | c13fdb74ed9320f646a9dc8ed21265e184b1a603 | [] | no_license | jfknox/cs50 | 5eca84ee9094b8efa44096a10912a65708e10503 | f14e2902ed0c56ef7dc30967996ab2a6ce473bb6 | refs/heads/master | 2021-01-01T05:42:22.274041 | 2014-08-10T04:47:07 | 2014-08-10T04:47:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,854 | c | #include <stdio.h>
#include <cs50.h>
#include <stdlib.h>
#include <string.h>
#include <ctyps.h>
int main(int argc, string argv[])
{
// checks if there is only one command line arg
if (argc !=2)
{
printf ("Please enter only one positive numeric amount in the command line.\n");
return 1;
}
/... | [
"jfknox3@gmail.com"
] | jfknox3@gmail.com |
86ed101f9ceb9adef02563d4db3d9a599a9cba63 | eaae3529ea65c9be62e4b177a498dd0459396052 | /modified_lib_dw_ws/OliverSchmidt_ctk-mouse.c | 9383f265e0ce1aca6b463965013eefde836a784e | [] | no_license | mgsanusi/blame-dodger | badac55079b0bc84c1c3ddff9357caffd480b512 | c8b1f19d48e09200c9d59f3dda3b298ced7103d7 | refs/heads/master | 2021-01-20T04:50:14.975609 | 2018-01-12T00:02:14 | 2018-01-12T00:02:14 | 89,739,285 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 121 | c | #include <mouse.h>
#include <stdlib.h>
#include <modload.h>
#include "cfs/cfs.h"
#include "ctk.h"
#include "ctk-mouse.h"
| [
"marina@virginia.edu"
] | marina@virginia.edu |
e923f432764aed5b5b2db4f790ec772356601782 | 8d853c7d8f8a43633b9d12d0bb070a15a737b61b | /tuhou project源代码/34復/mydat/include/GV.h | 03b23e0610f6dca1e4ac287962eaca29c114f480 | [] | no_license | chowcs/C-and-assemble | e03cd60cd198819c966014602e498f27968a8567 | 00ce7309d15fb817630cfd4cfbb004cad24b6ba7 | refs/heads/master | 2020-12-31T00:30:08.767973 | 2017-03-28T04:05:10 | 2017-03-28T04:05:10 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C | false | false | 1,918 | h | #include "../../../include/DxLib.h"
#include "define.h"
#include "math.h"
#ifdef GLOBAL_INSTANCE
#define GLOBAL
#else
#define GLOBAL extern
#endif
#include "function.h"
//画像用変数宣言部
GLOBAL int img_ch[2][12]; //キャラクタ画像12枚分 X2(変身用)
GLOBAL int img_chetc[10]; //キャラクタに関する他の画像
GLOBAL int img_enemy[3][9]; //敵画像9枚分
GLOBAL in... | [
"403760189@qq.com"
] | 403760189@qq.com |
400411fa52d733dd06e793f591d32e7c061afea5 | 3292ef3dec335e032568ac5015a93caf236f8118 | /header/snake.h | 246fb73804450251f44f50023232a0bc095515f2 | [] | no_license | JeyserYang/Snake-game-in-C | f50a5de2e02d68f5ce78a8147f4fef02a50823fa | d976c7ccff9653bbd77baa836684835008395c27 | refs/heads/master | 2020-04-16T14:28:10.387835 | 2019-01-16T14:52:22 | 2019-01-16T14:52:22 | 165,667,890 | 0 | 0 | null | 2019-01-16T14:52:23 | 2019-01-14T13:38:44 | C | UTF-8 | C | false | false | 607 | h | #ifndef SNAKE_H_INCLUDED
#define SNAKE_H_INCLUDED
#define WIDTH 40 //The width of map
#define HEIGHT 20 //The height of map
#define WINMAXLENGTH 15 //The snake max length while you win
#define UP -1,0
#define DOWN 1,0
#define LEFT 0,... | [
"jeyseryang@gmail.com"
] | jeyseryang@gmail.com |
d05829f31cf25df2a766b728177e4cece2e89765 | 1e32f9a8a19e77c1feadd9ca9fa25348a4943d91 | /src/linux/headers/linux-headers-4.19.0-xlnx-v2019.1-zynqmp-fpga/arch/ia64/include/asm/machvec_dig_vtd.h | bb44eb9039ddf80e0b1cfb09c31fb97ad80b613a | [
"GPL-2.0-only",
"MIT"
] | permissive | maxpark/ultra96-v2_design_mipicamera | d02a4c8cced4e25fbfae20c557a2dd66bf684a34 | cff1d24bc605585e8f0e4e716b409ef9eb2e1bcf | refs/heads/master | 2022-07-19T18:15:02.208637 | 2020-05-19T06:13:01 | 2020-05-19T06:13:01 | 265,425,370 | 1 | 0 | MIT | 2020-05-20T02:20:48 | 2020-05-20T02:20:47 | null | UTF-8 | C | false | false | 558 | h | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_IA64_MACHVEC_DIG_VTD_h
#define _ASM_IA64_MACHVEC_DIG_VTD_h
extern ia64_mv_setup_t dig_setup;
extern ia64_mv_dma_init pci_iommu_alloc;
/*
* This stuff has dual use!
*
* For a generic kernel, the macros are used to initialize the
* platform's machvec structure... | [
"hw_zw@autobrain.cn"
] | hw_zw@autobrain.cn |
42a9e5457d3ef6b34e26417d21a7c7d2f1cccdfb | 2885e55a039e28777a012101fe632fa941852cd6 | /calc3/infixtopostfix_test.c | 5ac0ccbe704a5274a527399cedf2c0a410647067 | [] | no_license | bosmithr/workingCalculator | e863b5bed9a29c196f56a4d0f3d35946e5eea0df | ce0844173f96e9472f979e176e8a411ea07fd53c | refs/heads/master | 2020-09-20T01:08:29.491498 | 2019-11-27T04:00:16 | 2019-11-27T04:00:16 | 224,340,542 | 0 | 1 | null | 2019-11-27T14:56:35 | 2019-11-27T03:58:52 | C | UTF-8 | C | false | false | 1,080 | c | #include "ctap.h"
#include "tokenizer.c"
#include "infixtopostfix.c"
TESTS {
// ok(is_operator('+')==1, "1 does in fact equal 1");
int temp=top;
push('1');
//ok(top==temp, "Stack Overflow");
//ok(top==temp+1, "push function success");
// ok(pop()==stack[top+1],"pop function success");
... | [
"noreply@github.com"
] | bosmithr.noreply@github.com |
12b591a22e1dad4458a1e1d4ee9cb06795f60710 | 386eb3cf6f9c2bfed78f65cc28e8d60f36a3cdef | /iar_bsp/os/networking/net/src/mii.c | 96cff210e77ccdc26706d71b3631624422eba773 | [] | no_license | ahonkan/eth_spi_bridge | cc046eee9a142d3915c0b78de2f5326ababe5a71 | 8c22d74f56420d54f72ecfe3370cd91e13682447 | refs/heads/master | 2022-02-24T07:13:52.370211 | 2014-08-25T17:45:17 | 2014-08-25T17:45:17 | 23,126,588 | 0 | 5 | null | null | null | null | UTF-8 | C | false | false | 9,957 | c | /*************************************************************************
*
* Copyright 1993 Mentor Graphics Corporation
* All Rights Reserved.
*
* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS
* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AN... | [
"avinash.honkan@gmail.com"
] | avinash.honkan@gmail.com |
6ab593bcada3ac80b7600951cfefadd72361434b | 5bd547d3d4d31bd63aff39fb70cf3ca5dd5a4333 | /dlist.c | 6ea32885365bdb2c31102454f36185b09c3d54dd | [] | no_license | Mario640211/Practica-8 | 4496c53e819fdb463749330e385ee7f25920ec6d | 7d94f1d55fa9a0479303182102d89f3a8355f86e | refs/heads/master | 2022-06-29T04:43:25.426451 | 2020-05-06T00:01:04 | 2020-05-06T00:01:04 | 261,609,198 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,576 | c | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "dlist.h"
dlist *create_dlist(){
dlist *l = (dlist*)malloc(sizeof(dlist));
l->head = NULL;
l->tail = NULL;
l->num = 0;
return l;
}
bool remove_dlist(dlist *l){
if(!is_empty_dlist(l))
empty_dlist(l);
free(l);
r... | [
"noreply@github.com"
] | Mario640211.noreply@github.com |
cd4aa8ad1697dc5c85edc6429b3dfcf1fc749141 | 34710cab0d560d98b5060019d35565643d46a7b7 | /29-08-2019/quatro.c | a76adc1f3bdde9019032bcc07b7e67db1a4191fa | [] | no_license | JessePires/ed1 | 4fec8132281ed43356fd90fed510f1a971676634 | 699fb6cb616ac93bf83d874e4ae94a1fd69ae90c | refs/heads/master | 2020-07-05T20:52:14.951636 | 2019-12-09T23:08:56 | 2019-12-09T23:08:56 | 202,771,258 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 526 | c | #include <stdio.h>
void dobraVetor(int *v, int tam);
void dobraVetor(int *v, int tam){
for(int i = 0; i < tam; i++){
v[i] *= 2;
}
}
int main(){
int v1[5] = {10,20,30,40,50};
printf("Vetor antes da dobra de valores:\n");
for(int i = 0; i < 5; i++){
printf("%d\t", v1[i]);
... | [
"jessepires2010@gmail.com"
] | jessepires2010@gmail.com |
7c44bc5389d2d6114e07197f435596bcade22c54 | 8ea9d74a17ba3bb0ed0427210ac3ec2e11c24a2c | /LightingEstimation_OpenCV/configs_opencv.h | 225f8e8989273e8c9d0c0461b0e37083d7a3365a | [] | no_license | jwlee-vcl/shading-based-refinement-of-RGBD | 61744fba71f59d40e5fd17c76e1896199a782c86 | 3edb8fbb37a4e1896ee94f18c0a3e213763189a5 | refs/heads/master | 2022-12-11T17:15:36.023631 | 2020-09-11T04:16:02 | 2020-09-11T04:16:02 | 294,583,297 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 989 | h | #pragma once
#ifdef _DEBUG
#pragma comment(lib, "opencv_core300d.lib")
#pragma comment(lib, "opencv_imgproc300d.lib")
#pragma comment(lib, "opencv_highgui300d.lib")
#pragma comment(lib, "opencv_videoio300d.lib")
#pragma comment(lib, "opencv_imgcodecs300d.lib")
#pragma comment(lib, "opencv_calib3d300d.lib")
#pragma co... | [
"sosuminjok@users.noreply.github.com"
] | sosuminjok@users.noreply.github.com |
c42545c0785f3fecb5e3eedba7005e20d212d902 | fe665bfaedfbf8b1ff76ee94a2e5c3db1ed9d525 | /93.compile_reorder.c | 398d8bf0c75ee056aaa2d040341858c33389a4c2 | [] | no_license | cacard/CDemo | b5d825cb3f3a667cb7e6534732ddb3ee5d9d5785 | 9cfa89534d149f57ec5aacf1676a7b112ad5a416 | refs/heads/master | 2020-05-20T06:21:21.910406 | 2016-11-22T14:16:03 | 2016-11-22T14:16:03 | 18,459,019 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 440 | c | //
// 测试编译器指令重排
//
// gcc -S 默认编译:
// movl %eax, value
// movl $1, isValueUpdated
//
// gcc -o2 开启优化:
// movl $1, isValueUpdated
// movl %eax, value
//
int value=0;
int isValueUpdated=0;
void m(int x)
{
value=x;// update the valuei
asm volatile("" ::: "memory"); // 放置一个Barrier避免优化重排
isValu... | [
"cacard@126.com"
] | cacard@126.com |
8e377707ceb945bdc2f017c14b198a9bdc326c7d | cb16d28f832633ddc6a67210317175bccd54234d | /cpp/DoggieRobot/STM32/HARDWARE/MSG/msg.h | b9d6117b8463ab7c5ead7bdc37010b3533473b91 | [] | no_license | wozhouh/Trivial-Code | 780e32d83acaf77615ec908911489d24ac554036 | 3396f8ceebaa1b1fb97c183a35e2a862d8fcf061 | refs/heads/master | 2020-03-26T03:35:24.224379 | 2019-03-08T01:21:44 | 2019-03-08T01:21:44 | 144,462,186 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 326 | h | #ifndef _MSG_H
#define _MSG_H
#include "sys.h"
#define TIME 5000 //每隔TIME微秒检查一次串口蓝牙信息
#define END "e" //信息标志:系统开始采样
#define STOP "s" //信息标志:系统开始采样
#define BEGIN "b" //信息标志:系统开始工作
u8 checkState(void);
void init_msg(void);
#endif
| [
"hwz17@mails.tsinghua.edu.cn"
] | hwz17@mails.tsinghua.edu.cn |
c7c481c3f442d00deee00235f41819d2484be683 | 3d85f498423ca8124c13f3f9064489f0f150fc49 | /pwmtachtool/src/pwmtach.c | edb3516e41b9bc305804d066b876cd0062943792 | [
"Apache-2.0",
"LicenseRef-scancode-dco-1.1"
] | permissive | openbmc/openbmc-tools | 21b81d1a29ca411d4abbb52ea48cf14134211287 | cff0bfa003d9f8a2f12f13c9b80646315c6f6b8c | refs/heads/master | 2023-07-20T05:19:59.353809 | 2023-07-12T16:28:17 | 2023-07-12T16:28:17 | 106,747,877 | 29 | 28 | Apache-2.0 | 2019-03-19T02:20:55 | 2017-10-12T21:36:22 | Python | UTF-8 | C | false | false | 11,922 | c |
/*
* Simple interface library for fan control operations
* This file provides interface functions to support pwmtachtool.
* Copyright (C) <2019> <American Megatrends International LLC>
*
*/
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl... | [
"andrew@aj.id.au"
] | andrew@aj.id.au |
8916bcd09b5c500a87e8909c07be1c700b48b671 | e54763deb8187dce0deb10de4e779b6c11891a10 | /QAMDecFS2019/double_buffer_read_out.c | d8550fb1c9c18663c9979e70901ff83f80ecddb7 | [] | no_license | swissbyte/QAMDecFS2019 | 84b703fac9fef07ac47262d64858b6bc338b2b0e | 57b81c4f91ce4b0f43599f49f57c2ac2d7f54d7a | refs/heads/master | 2020-04-30T03:23:40.375326 | 2019-06-17T10:59:26 | 2019-06-17T10:59:26 | 176,585,239 | 0 | 0 | null | 2019-03-19T19:33:49 | 2019-03-19T19:33:49 | null | UTF-8 | C | false | false | 10,391 | c | /*
* demodulator.c
*
* Created: 15.06.2019
* Author: C. Hediger
*/
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "event_groups.h"
#include "double_buffer_read_out.h"
#include "dma_config.h"
#include "errorHandler.h"
#include "NHD0420Driver.h"
volatile uint8_t ucActiveBuffer = DMA_EVT_GRP_... | [
"claudio@databyte.ch"
] | claudio@databyte.ch |
9d8711325e97ce27aacc8b61754d4ecc821731b8 | 43a05c6f1c7b8761f6ec6374f14ae4b526cd98df | /test/test_mig1.c | 682a0eedbd27f319ee04a11dcaeb4ff25d27e10b | [] | no_license | mikoto2000/toppers-fmp3 | 98ad85594f2fa5a56d6c67c0e6d6b4518e6dd6bd | 9430d9fbcd15ae8068ab2d32029a080b85d7a5e2 | refs/heads/master | 2022-12-16T15:00:55.952865 | 2020-08-27T16:35:37 | 2020-08-27T16:35:37 | 290,827,582 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,107 | c | /*
* TOPPERS Software
* Toyohashi Open Platform for Embedded Real-Time Systems
*
* Copyright (C) 2007-2018 by Embedded and Real-Time Systems Laboratory
* Graduate School of Information Science, Nagoya Univ., JAPAN
*
* 上記著作権者は,以下の(1)~(4)の条件を満たす場合に限り,本ソフトウェ
* ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複... | [
"mikoto2000@gmail.com"
] | mikoto2000@gmail.com |
d6057de4dde6bb10ec33dba6f561fb5a26481fa5 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/gpu/drm/nouveau/core/subdev/gpio/priv.h | 2ee1c895c7825ab46d21ca8a67ceb1762f90fd38 | [
"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.483792 | 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 | 558 | h | #ifndef __NVKM_GPIO_H__
#define __NVKM_GPIO_H__
#include <subdev/gpio.h>
void nv50_gpio_dtor(struct nouveau_object *);
int nv50_gpio_init(struct nouveau_object *);
int nv50_gpio_fini(struct nouveau_object *, bool);
void nv50_gpio_intr(struct nouveau_subdev *);
void nv50_gpio_intr_enable(struct nouveau_event *, int ... | [
"gamishev@gmail.com"
] | gamishev@gmail.com |
57c54e1d6ce96b7ffbc77d1da67edb91a3904c28 | 9a55353cc8e13219fa4f4e48c5a6dfd581d69d16 | /freebsd/sys/dev/ofw/ofw_bus_subr.h | 4afd84e32573ded47031836443dd06bffd3f56bc | [] | no_license | hahchenchen/rtems-libbsd | 3e4a84f633172869e4302405883eb74168997fc9 | 3c967ca2388b57d828f16e8b55ec6ccb34824a18 | refs/heads/master | 2021-01-13T03:51:07.284700 | 2017-06-08T11:15:12 | 2017-06-08T11:20:09 | 94,212,493 | 0 | 1 | null | 2018-02-24T16:18:01 | 2017-06-13T12:51:06 | C | UTF-8 | C | false | false | 5,528 | h | /*-
* Copyright (c) 2005 Marius Strobl <marius@FreeBSD.org>
* All rights reserved.
*
* 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
* notic... | [
"sebastian.huber@embedded-brains.de"
] | sebastian.huber@embedded-brains.de |
fede0ff67762b657140c73ff603e6275a84c655f | 0e44888e12bf6edc0ffd3324070a31d90e58c2c5 | /42_cursus/fract_ol/libft/srcs/ft_strreftrim.c | e7270d828019aed8f033d808b7bfeb338bc32340 | [] | no_license | Akiminos/ecole42 | 0d609ed0c338eec796215e1cae4fea411cb56a52 | e80a8f73d849d486c827b56a93dbfbfd7983bb1c | refs/heads/master | 2021-11-11T23:46:36.269880 | 2021-11-04T18:18:31 | 2021-11-04T18:18:31 | 204,735,159 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,942 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strreftrim.c :+: :+: :+: ... | [
"bdruez@student.42.fr"
] | bdruez@student.42.fr |
7951bd210c3de9f97f202fca43954558c92788a0 | a2cff1e3daa0affffb37d99ad425eb84bb030f0c | /Bit_Manipulation/Highest_Bit_Set.c | a2d8f7ca7998c81a4833ae93514a237c33741196 | [] | no_license | AdishiSood/Programming-and-Problem-Solving-using-C-language | 46a2bdd5dbb2c9d01000255d7322434a3086dafb | d6a0311ef055bffff1957dc651a080c7d93d6c64 | refs/heads/main | 2023-03-16T20:15:29.598476 | 2021-03-19T05:54:46 | 2021-03-19T05:54:46 | 329,997,960 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 697 | c | #include <stdio.h>
#define NUM_BITS sizeof(int)*8
int highest_bit_set(int);
void display(int);
int i = NUM_BITS;
void main()
{
int num, pos;
printf("\nenter the number:");
scanf("%d", &num);
display(num);
pos = highest_bit_set(num);
printf("\nthe position of the highest bit set is %d", p... | [
"noreply@github.com"
] | AdishiSood.noreply@github.com |
d6492988a75730425662729a5c2fb499c7af7a6b | 55be001b40b9434bf4e28dbf1b4772b933b7c3f9 | /Exam 17/TCPConcurrentS.c | 788e6a051d9eb9c51c43a09eaaf736f7ca0bc660 | [] | no_license | salvatorecorvaglia/System-Network-Programming | 45e2ab1bb2a1649000293365be0852b5b0435d4a | 0a94181171c72742ef1b3fd2fb3036e3189cfa84 | refs/heads/master | 2021-05-20T23:02:37.517879 | 2020-04-02T13:05:51 | 2020-04-02T13:05:51 | 252,445,739 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 10,599 | c | /**
@defgroup Group9 TCPResolution
@brief TCP Echo client-server <em>with hostname resolution</em>
@{
*/
/**
@file TCPConcurrentS.c
@author Catiuscia Melle
@brief Esempio TCP echo server concorrente con utilizzo di <em>getaddrinfo()<em>.
Esempio base di TCP server concorrente basato su <em>fork()</em>:
il proces... | [
"s.corvagliabooking@gmail.com"
] | s.corvagliabooking@gmail.com |
d8a5bd7aad2967b9990787d39a4a121182545d86 | 0f87ef58bedee87db401d2b6ab2d017c47999fa4 | /ft_printf/srcs/handle_buff.c | 8edea5c5ccf9ddb7446ffd2241e4adeec8297b0d | [
"MIT"
] | permissive | flcarre/CoreWar42 | ac6a4c35b5b431d399e00fb25a0e48d3806a622e | ec0de8148bb639555b0cd2159e47e4ae2a998e1e | refs/heads/master | 2021-01-02T06:40:19.933916 | 2020-05-16T16:09:48 | 2020-05-16T16:09:48 | 239,532,911 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,877 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* handle_buff.c :+: :+: :+: ... | [
"lutsiara@student.42.fr"
] | lutsiara@student.42.fr |
9d9e00ce4b4040428df00faf7d95ea27988889a1 | d26fc94c7ab48f5a003c9c88e005cff072f933fe | /src/ConEmu/LngDataHints.h | 37d517737b55dbb26508ae4b8022789437f28eee | [
"BSD-3-Clause"
] | permissive | ricksladkey/ConEmu | 2c5adaf1bdff05904c9f6305d81521aa32db629c | f5d865ac92a06ba6b61a65d1f7aa1d2ed9f31853 | refs/heads/master | 2021-01-17T11:52:02.992973 | 2016-03-20T05:54:23 | 2016-03-20T05:54:23 | 15,370,584 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 46,890 | h |
/*
Copyright (c) 2016 Maximus5
All rights reserved.
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 conditions and the following dis... | [
"ConEmu.Maximus5@gmail.com"
] | ConEmu.Maximus5@gmail.com |
56e3acb7d89632285e6cb3a655ce23b05ce108a1 | fc6d8490871ccf4aa3b016270b5ff42cbcfb554f | /libs/astra-sdk/include/astra/capi/astra.h | cc810379b1e1ef2db86f5706553d7bd1215a8065 | [] | no_license | galsasson/ofxOrbbec | ecd323b2c0a0ef6a1519903fc8d87a9ea97f46c9 | 9c22d932c94c0184c388dd563bd417f33829d292 | refs/heads/master | 2021-01-21T14:19:19.115901 | 2016-04-20T17:01:16 | 2016-04-20T17:01:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 963 | h | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lice... | [
"elliot@kimchiandchips.com"
] | elliot@kimchiandchips.com |
161715350224d5dbd4a30136e8fa83302f73f2ae | b0749491b3967a5739519a6f510b1d5a8b33eee7 | /customers.c | a96b1f2ab336730d1000a8ca3d0c3d8dd6f4b573 | [] | no_license | muhammadsidd/C-programs | 4788b4f923f629bfcdd4e32b3c7513bc3181d1d8 | 4842f96eb03d74fc58779b8cdd0b5bb76a13e93f | refs/heads/master | 2021-01-03T18:10:15.198659 | 2020-02-13T05:39:20 | 2020-02-13T05:39:20 | 240,185,716 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,547 | c | #include<stdio.h>
#include<string.h>
#define MAX_CUSTOMERS 200
struct customer{
char email[100];
char name[100];
int purchased;
};
void selection_sort(struct customer top10[], int n);
int main(){
char finput[50]; //holding the output file variable
printf("Enter input filename: ");
scanf... | [
"noreply@github.com"
] | muhammadsidd.noreply@github.com |
3c1dc35ac027566b898be26961ee46e483d0aaf2 | 72de5e38e79e2acf2e2e02d8878ccbf5baa0e677 | /caesarCipher.c | c4bb89844588f8715ee1eff610201dcb8e981330 | [] | no_license | ShrinathRaje/Ciphers | 6a92fa3dfeb0e2562d83eeb5be39d3f8e4066459 | 412661c1033b6ade7f9814345974d525e4df5c16 | refs/heads/master | 2021-05-21T21:05:03.324248 | 2020-04-13T18:17:47 | 2020-04-13T18:17:47 | 252,800,907 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 604 | c | //Caesar Cipher Algorithm
#include<stdio.h>
#define SHIFT 30
int main(void) {
char str[1000], caesar[1000];
int i, offset;
printf("Enter a string: ");
scanf("%999[^\n]", str);
for(i = 0; str[i] != '\0'; ++i) {
if(str[i] <= 90 && str[i] >=65) {
offset = str[i] - 65;
caesar[i] = 65 + ((offset + SHIFT)... | [
"developer.shrinath@gmail.com"
] | developer.shrinath@gmail.com |
3f5f657c27c76729ac4f7b592842e9ddc530139a | 9acc9245eb6ef163b379ec8391feb8a9ab5819d7 | /word_counting/linked_list.c | 92c8838a061f11e6edd8184e6ca703d7a3837a74 | [] | no_license | JoeDumoulin/CSCD240S20 | 84083968a79aa846bf7ef2aff7a355a7b0183059 | 15d2d896f0d0767edc494ffceef7c41650f7cdda | refs/heads/master | 2021-05-19T11:01:20.706288 | 2020-05-28T17:12:27 | 2020-05-28T17:12:27 | 251,663,640 | 3 | 4 | null | null | null | null | UTF-8 | C | false | false | 4,577 | c | /***********************
* linked_list.c - Use a linked list to store words.
*/
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
#define FILE_BF_SZ 1024
#define WORD_BF_SZ 100
int stringlength(char* s)
{
int i = 0;
while (s[i++] != '\0')
;
return i;
}
voi... | [
"joe.dumoulin@gmail.com"
] | joe.dumoulin@gmail.com |
b77ef4852bd3f1431c085e0abb54bea11763110c | 395f82d479ed07ec2b79387e35c5b500efa3af58 | /ALL_LABS/lab4/prelab/p1/wait.c | 34d3725dbbf64da83f2d4841dd6afbe9dde90b66 | [] | no_license | zalameedi/Arm-OS | 4e5e549227138ae09a3c4f926e21f58d9d760306 | 1be8b41fd59972d1f3e0896919ef0d4abbc2c7b9 | refs/heads/master | 2022-05-28T12:06:52.602154 | 2020-05-04T20:21:25 | 2020-05-04T20:21:25 | 259,583,772 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,442 | c | int tswitch();
int sleep(int event)
{
printf("proc %d going to sleep on event=%d\n", running->pid, event);
running->event = event;
running->status = SLEEP;
enqueue(&sleepList, running);
printList("sleepList", sleepList);
tswitch();
}
int wakeup(int event)
{
PROC *temp, *p;
temp = 0;
printList("slee... | [
"zeid.al-ameedi@wsu.edu"
] | zeid.al-ameedi@wsu.edu |
fa27dbc89489fb9903c52a95881bbb6ac146fae2 | 073072fbfe90062479347813f5c6b7602f30e329 | /clone/book/sword_book.c | ca389a273f815f8e003e94ba4887c2dd1df11354 | [] | no_license | cao777/mudxkx2019 | c06905cc8bf91de2d95e8bd0d6098e0c0c50f452 | 3abcba647e1342db1d73acdb09b5f6f3b6dd5e80 | refs/heads/master | 2023-03-16T05:57:31.164287 | 2019-04-10T09:33:47 | 2019-04-10T09:33:47 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 743 | c | // sword_book.c
inherit ITEM;
void create()
{
set_name("华山剑谱", ({ "sword book", "book" }));
set_weight(600);
if( clonep() )
set_default_object(__FILE__);
else {
set("unit", "本");
set("long",
"封面上写著「华山剑法 -- 卷一(入门)」\n");
set("value", 100);
set("material", "paper");
set("skill", ([
"name": "sword", /... | [
"prion.w@gmail.com"
] | prion.w@gmail.com |
04eed07cd4f926fdffa8db3854f2ad45e31d921a | a9dfa872766fc214de804e5ee33ca580c5ead456 | /DataStructure/BOOK_G/第3章 栈和队列/顺序栈/C3-1.H | f4741003bff1d45843862909c6db26ff0e68e966 | [
"MIT"
] | permissive | boredbird/C_playground | 50a3651379fde60412b2990a06d1242ef4f866c1 | 93eccfd93b02ec8febf02db4a266739adf470ded | refs/heads/master | 2021-04-27T03:56:02.782644 | 2018-02-24T09:17:10 | 2018-02-24T09:17:10 | 122,722,719 | 2 | 0 | null | null | null | null | GB18030 | C | false | false | 1,191 | h | // c3-1.h 栈的顺序存储表示
#include "C1.H"
#ifndef C3_1_H
#define C3_1_H
#define STACK_INIT_SIZE 10 // 存储空间初始分配量
#define STACKINCREMENT 2 // 存储空间分配增量
typedef int SElemType;
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top; // 栈顶指针
int stacksize; // 当前已分配的存储空间,以元素为单位
}; // 顺序栈
extern Status ... | [
"1002937942@qq.com"
] | 1002937942@qq.com |
f3e6e3307a826ca9bb17f27ccbefd2f7fce4e314 | 064447c4177de53fb5b66c8eb7e604ce58c541b3 | /user/sht2x_i2c.h | 73519b6887d0769bdb674f372ccfc288bc9ff6ed | [] | no_license | potatozerogo/Atmosphere_Sensor | f163fe76cac746ca0cd8f0ebd97afdd8b46ad4ad | 65467f35702ca68310d592819be9121bcde71c67 | refs/heads/master | 2023-03-13T19:19:23.804645 | 2021-03-12T02:42:05 | 2021-03-12T02:42:05 | 312,526,620 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 871 | h | #ifndef __SHT2x_I2C_H
#define __SHT2x_I2C_H
#include "stm32f1xx_hal.h"
#include "bsp_i2c_gpio.h"
#define TRIG_TEMP_MEASUREMENT_HM 0xE3 //command trig. temp meas. hold master
#define TRIG_HUMI_MEASUREMENT_HM 0xE5 //command trig. humidity meas. hold master
#define TRIG_TEMP_MEASUREMENT_POLL 0xF3 //command ... | [
"potatozero@126.com"
] | potatozero@126.com |
f64e34a29e4f6f90964ce75b79870840d04e8d7b | 33a7b623a12fd0f657f397d5a37f95e711e0e21a | /d10/ex05/ft_is_sort.c | 43e842e2cdb519e7efe81d33e27d8bfd124d3eab | [] | no_license | FtLucas/Piscine-Juillet | 5354480546535065524d83f8287851889b5ebd63 | 5cbdea55bc0e3b6523d34db0ba5774ee0ee9f779 | refs/heads/master | 2021-07-05T11:40:43.439918 | 2020-08-04T14:45:06 | 2020-08-04T14:45:06 | 143,645,780 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,067 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_is_sort.c :+: :+: :+: ... | [
"noreply@github.com"
] | FtLucas.noreply@github.com |
d165474dd0bd59bff8a9f2334ee10a551b53ae12 | 3a0dfdede0338a6b35215244adc96fba6ddaedbe | /iof_tipsy.c | d5befa024ab1eabb1da35e3bc02968fc8fd173c4 | [
"MIT"
] | permissive | mzemp/iof | af087efa5aeb0b1c1ed99f65e6cf44e1d04c6bdc | 73692d10ff868bbe47ecdce598b452da30d18dc9 | refs/heads/main | 2023-03-07T00:53:51.023227 | 2014-07-08T09:15:55 | 2014-07-08T09:15:55 | 21,485,313 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 29,728 | c | /*
** iof_tipsy.c
**
** Various handling functions for tipsy format
**
** Written by Marcel Zemp
*/
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <assert.h>
#include "iof_tipsy.h"
/*
** Functions
*/
void copy_tgp_to_tgpdpp(const TIPSY_GAS_PARTICLE *tgp, TIP... | [
"marcelzemp@gmail.com"
] | marcelzemp@gmail.com |
7d1859b282749af799980c698b8f57733ee016e5 | 85c07d99a55a0b5859cd8fe3ac7c0822517bc4c9 | /dynamicProgramming/coinChange/main.c | 59c573ed1325d007341932c22e3683250c9c899b | [] | no_license | wtffqbpl/algorithmTutorials | 878239d4c25a61efb0c368387192243e240d888f | e1263e14f9b7c21a35477b52120be174389846ee | refs/heads/master | 2022-12-14T14:41:06.848510 | 2020-09-04T15:50:44 | 2020-09-04T15:50:44 | 198,069,201 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 960 | c | #include <stdio.h>
#define MAX_VALUE (0xFFFFFFF)
int coinChange(int const *coinList, const int coinCataNum, const int changes)
{
// Abnormal cases.
if (changes < 0) {
return -1;
}
// 0 ... n: [n+1]
int f[changes+1];
int idx, jdx;
f[0] = 0;
for (idx = 1; idx <= changes; idx++) {... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
6626aef436cb9133bb20726d95c84d4e2bf0b541 | b6d0d1f4411740c06488e9a7424a415e229a5817 | /system/src/app/TestStubRx.c | 737c4802176f52027b7721f76df16f09b55caf3a | [] | no_license | liushaofang/magnetic_sensor | f7f07e8c24f59524b41147ce5b8d8fd18dea4042 | 66ae7b254e4729001883fc42e3c91fbea1688666 | refs/heads/master | 2021-01-15T13:00:40.960253 | 2016-09-21T03:24:49 | 2016-09-21T03:24:49 | 68,775,119 | 1 | 0 | null | null | null | null | GB18030 | C | false | false | 2,335 | c | /*
* SimpleTest is a tool for test the mrfi layer.
* This is the main program for SimpleTest RX.
*
* 多TX 到 1RX 的设计,采用瘦中断方式
* TXNUM 用于指定 TX的个数,默认为1
*
* 测试的结束采用timerB延时判断
* 通过闪灯显示丢包数,没有丢包LED1循环长亮
*
* @author liusf
*
*/
#include "TestStub.h"
#include <string.h>
/*标记收到网络数据包*/
#define FLAG_RCV_PACKAGE 1
/*标... | [
"liushaofang@qiyi.com"
] | liushaofang@qiyi.com |
d3c8cf82b6173a9ed47e6a7a6299aa20abd27ef2 | 71050556d20b1152fa08fdfa545480e0ec6948c6 | /server.c | 3df24725b9a4fc200a5c4eec9d0e03051dec58ef | [] | no_license | AngelaYang123/OX-Chess | 4c946d9f5cddfd33d6a1945908e5e3ceea4a2ac0 | ea51d1d16c9fd0f05c6d758c383ca9881e3ce90a | refs/heads/main | 2023-01-13T20:25:38.416338 | 2020-11-22T04:43:34 | 2020-11-22T04:43:34 | 314,960,293 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 10,756 | c | #include<time.h>
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<string.h>
#include<pthread.h>
#define MAXLINE 512
#define MAXMEM 10
#define NAMELEN 20
#define SERV_PORT 8080
#define LISTENQ 5
int listenfd,connfd[MAXMEM];
pthread_mutex_t mutex = PTHREAD_... | [
"noreply@github.com"
] | AngelaYang123.noreply@github.com |
39dd8d01577b680d059c63be649a661c866f7788 | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/drivers/acpi/extr_irq.c_acpi_irq_get.c | 5808b51b43c632369c6d2abed82f8df670e1e63e | [] | no_license | isabella232/AnghaBench | 7ba90823cf8c0dd25a803d1688500eec91d1cf4e | 9a5f60cdc907a0475090eef45e5be43392c25132 | refs/heads/master | 2023-04-20T09:05:33.024569 | 2021-05-07T18:36:26 | 2021-05-07T18:36:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,395 | c | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | [
"brenocfg@gmail.com"
] | brenocfg@gmail.com |
cb58301d0598edaf83f9a0123d8f06b35baaba90 | 3db023edb0af1dcf8a1da83434d219c3a96362ba | /windows_nt_3_5_source_code/NT-782/PRIVATE/NTOS/TDI/TCPIP/IP/IPDEF.H | c9b11f9ad214e9ed5565b1b1f9e35f87535319cd | [] | no_license | xiaoqgao/windows_nt_3_5_source_code | de30e9b95856bc09469d4008d76191f94379c884 | d2894c9125ff1c14028435ed1b21164f6b2b871a | refs/heads/master | 2022-12-23T17:58:33.768209 | 2020-09-28T20:20:18 | 2020-09-28T20:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 11,396 | h | /********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1990-1992 **/
/********************************************************************/
/* :ts=4 */
//** IPDEF.H - IP... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
bd8bbcff3043c2055aa60900576b58b31023757e | 3fa6be71d186a94aa0c27ce2df856426d16c0a80 | /parse_wasm.c | 947d86cb0a17b1775af4339d3a8b9299ace885c3 | [] | no_license | mikeakohn/parse_wasm | d3e878bc7e946438819d4148b9ffa352369dbd0b | 556a1bd7aa8b727d77095c7c1582bbe478f26676 | refs/heads/master | 2020-04-23T11:57:49.298200 | 2019-02-18T17:08:23 | 2019-02-18T17:08:23 | 171,153,785 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 10,142 | c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
enum
{
TYPE_I32 = 0x7f,
TYPE_I64 = 0x7e,
TYPE_F32 = 0x7d,
TYPE_F64 = 0x7c,
TYPE_ANYFUNC = 0x70,
TYPE_FUNC = 0x60,
TYPE_BLOCK_TYPE = 0x40,
};
static const char *section_names[] =
{
"",
"Type", // 1
"Import", // 2... | [
"mike@mikekohn.net"
] | mike@mikekohn.net |
06975ed23f11f00d4e5b26026c6ffad919c34826 | 9451e84e65e3bc93ad71286de10ae121e92d4b55 | /BillionWallet/MACRO.h | 433c3be0335f86294bdb97f2b09b413736898b80 | [
"MIT"
] | permissive | yukishilo/billion-wallet-ios | 974501368a556f58ac899de51097a4b85a41842f | ebb42011c2af7afad66a9971ee4fec76a84662a2 | refs/heads/master | 2021-04-29T22:19:42.577166 | 2017-11-04T12:31:43 | 2017-11-04T12:31:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,725 | h | //
// MACRO.h
// BillionWallet
//
// Created by Evolution Group Ltd on 11.05.17.
// Copyright © 2017 Evolution Group Ltd. All rights reserved.
//
#if DEBUG
#define PEER_LOGGING 1
#else
#define PEER_LOGGING 0
#endif
#define EVENT_LOGGING 0
#define LOCK @"\xF0\x9F\x94\x92" // unicode lock symbol U+1... | [
"deadpool@billionapp.org"
] | deadpool@billionapp.org |
6572a967c7608d622a4edb5a2a794d7de736504c | 97bbccfdf36400968d12633b7ac46e4c1dcef4cc | /Host_MCU1/stm32f1xx_drivers/Src/009_Master_Tx_Testing.c | c586c0fce3aa7ffd7bbbb6f98988701ab51bb79f | [] | no_license | dariash95/MCU1 | 5d128f9cf3a545a51e8e29b0458548080a92a38e | 49b80f18e5c0ef47a19a1bba227e8155ba67df3d | refs/heads/master | 2023-05-30T19:36:38.967780 | 2021-06-18T22:38:24 | 2021-06-18T22:38:24 | 283,876,447 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,922 | c | /*
* 010_Master_Tx_Testing.c
*
* Created on: May 19, 2021
* Author: Daniela
*/
#include<stdio.h>
#include<string.h>
#include "stm32f103xx.h"
#define SLAVE_ADDR 0x68
uint8_t some_data[] = "Testing\n";
I2C_Handle_t I2C1Handle;
void delay(void)
{
for(uint32_t i = 0 ; i < 500000/2 ; i ++);
}
void I2C_GPIOI... | [
"daniariash@gmail.com"
] | daniariash@gmail.com |
a61069d133489f4527bdcc73a312f02b049221d1 | bc95bf854130875655ac1709269843f875685282 | /main.c | 4ff8bfcf68536d809b9cbf557ba87ef6dd193b1f | [] | no_license | muhhammdsallam/Phonebook | 60b3db449cf3bfcd270d9f6008d99888fb471fd0 | 39d0f7cbe7094c7361ca8b6b2ddecc52f0c30148 | refs/heads/master | 2023-04-25T02:51:46.795588 | 2021-05-02T23:32:58 | 2021-05-02T23:32:58 | 363,766,706 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 279 | c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "structures.h"
#include "headers.h"
int contacts=0;
int main()
{
printf("\n");
printf("\t\t\t\t Telephone Book\\n");
contacts=counter();
load();
menu();
return 0;
}
| [
"m.sallam2622000@gmail.com"
] | m.sallam2622000@gmail.com |
ba985e267bc6f0dfec93850850b2f9e3e2bb864b | d6b2ec883d8a1a1177007cd69456aed6d6f73d23 | /src/ch01_game/c1-7.c | 36fd1c6786cdcf0f555154df070e83e6d2993a5e | [] | no_license | OctopusLian/the-beauty-of-programming | 5aabd8f1132f664b65f342564e2a1d6153e20d0a | f7f2776e03359cc784bf42eb8a57a9245f9c8ddb | refs/heads/master | 2023-06-06T18:32:09.720879 | 2021-07-07T08:50:04 | 2021-07-07T08:50:04 | 373,002,628 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 456 | c | /*
* @Author: your name
* @Date: 2021-06-02 09:39:34
* @LastEditTime: 2021-06-02 09:39:34
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \the-beauty-of-programming\src\ch01_game\c1-7.c
*/
struct {
unsigned char a:4;
unsigned char b:4;
} i;
for(i.a = 1; i.a <=... | [
"zoctopus@qq.com"
] | zoctopus@qq.com |
8d709adaee523600ad4fc3040dd6c94f82521026 | 0d8c0b0103f87e8d41b0476a69d67a380f4e211f | /_assignments/UART/e. UART_LED/UART_LED/main.c | 65aec3992d25efdde8469c2c6760fa6be0301163 | [] | no_license | bambooSocks/AVR_projects | 48b36135dd046fe8dc8f38ebb177629159d8ec95 | 143b21b3d6c967b95623c778f5e237d5e594a498 | refs/heads/master | 2021-01-23T01:08:32.433422 | 2017-04-10T07:20:35 | 2017-04-10T07:20:35 | 85,880,378 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,338 | c | /*
* UART_LED.c
*
* Created: 3/18/2017 1:38:40 AM
* Author : Matej Majtan
*/
#include <avr/io.h>
unsigned char charRX();
void charTX(char c);
void initUART();
int main(void)
{
DDRB |= 0x07; // setting b0-3 as output
PORTB &= 0xF8; // turning leds off
initUART();
while (1)
... | [
"majtan.matej@gmail.com"
] | majtan.matej@gmail.com |
18e9d5c43fe360f1cff9c303f5c63ef5bbb73468 | e493056db9e6b2e78c34f3c8ebf77a81658951ad | /C언어/6-3.c | 5f1a6a1b4556e4bd2a0e39a6d0ce9adc67cd78a1 | [] | no_license | yunkyung318/C | 058257912c9b28c11ebe4093fabe3a871d1a3fd5 | 11ef42a84a7dd03a63e5e3e84920e9f94ac20b9b | refs/heads/master | 2023-02-07T13:35:13.023421 | 2020-12-29T14:48:29 | 2020-12-29T14:48:29 | 324,917,084 | 0 | 0 | null | null | null | null | UHC | C | false | false | 456 | c | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void main()
{
int x, y, z;
printf("3개의 정수를 입력하시오 : ");
scanf("%d %d %d", &x, &y, &z);
if (x < y) {
if (x < z)
printf("제일 작은 정수는 %d입니다.\n", x);
else
printf("제일 작은 정수는 %d입니다.\n", z);
}
else {
if (y < z)
printf("제일 작은 정수는 %d입니다.\n", y);
else
p... | [
"dbsrud318@naver.com"
] | dbsrud318@naver.com |
9eedd822c29b6a871ab50cc49a6bbb67d0029bda | 7f4c0849690ffcb83549993bbd702c37040b5af2 | /master 5/Pods/Headers/Public/UIToast/UIApplication+AppDimensions.h | a75ded280747fc1222e0a4cf9df221b1e3658d1e | [] | no_license | ccjxh/baoself1.0 | 509f9b2c61818f76a859e27a6b811e349f89f282 | beb2be97411067687438e39dc443cda8a7f7d683 | refs/heads/master | 2016-09-10T20:43:58.130513 | 2015-08-27T15:30:13 | 2015-08-27T15:30:13 | 41,398,156 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 54 | h | ../../../UIToast/UIToast/UIApplication+AppDimensions.h | [
"ccjxh@sina.com"
] | ccjxh@sina.com |
47c16d0e26991b56c36a4732f0c4343cb99d0cb1 | 3aa9b59ceb163f534ebf13d0403efd19b6996118 | /libs/luajit/src/lj_frame.h | 1c03e3e1116131f0a02fc04b20af2b3f164e86e9 | [
"MIT",
"CC-PDDC"
] | permissive | ghisguth/lua-cmake-source | 4c9f5c32dd3947200bc472196608179c1d1553b3 | 5080ee17219bd9e347cf3cba1ffcf5219c2619ab | refs/heads/master | 2021-01-18T13:57:42.953405 | 2009-11-15T18:11:57 | 2009-11-15T18:11:57 | 373,709 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,064 | h | /*
** Stack frames.
** Copyright (C) 2005-2009 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_FRAME_H
#define _LJ_FRAME_H
#include "lj_obj.h"
#include "lj_bc.h"
/* -- Lua stack frame ----------------------------------------------------- */
/* Frame type markers in callee function slot (callee base-1). *... | [
"ghisguth@gmail.com"
] | ghisguth@gmail.com |
a75b8603ac7bb481e0c0d0d514e66dbcc1eb4362 | 32380df244603a899dba2c48e301f64fe3db091d | /tests/internal/flb_event_loop.c | dc6ea784f7adf7ebcf740fca69744dfea60248d9 | [
"Apache-2.0"
] | permissive | pivotal/fluent-bit | 2f9f4ff5ccc9a2098529a56caf7ebdee1b1fa16e | 619277847c6343dea9e4215deacd36cf61caf0a3 | refs/heads/master | 2023-09-03T10:42:03.314613 | 2022-03-18T14:33:46 | 2022-03-18T14:33:46 | 198,672,055 | 2 | 0 | Apache-2.0 | 2023-03-23T12:02:27 | 2019-07-24T16:28:13 | C | UTF-8 | C | false | false | 19,134 | c | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include <fluent-bit/flb_compat.h>
#include <fluent-bit/flb_info.h>
#include <fluent-bit/flb_mem.h>
#include <fluent-bit/flb_pack.h>
#include <fluent-bit/flb_mp.h>
#include <msgpack.h>
#include "flb_tests_internal.h"
#include <sys/types.h>... | [
"eduardo@calyptia.com"
] | eduardo@calyptia.com |
d272c424b3576b0a2954d25beb4a616e5c787e8f | 1e1a6d6eddcf28d0eec77de85fa9da69a8dde735 | /DLA/SKL/skl_autotune/kernel/11.11x4kernel11x16x0_33x1376x1246_198+352.c | 71f5afd19fa4613102229a09388181f9fde0834b | [] | no_license | hpc-sslab/lamma | 8d0b55d6d1e8811110927d210b37a1bea4e02f9c | 52caa049fa9cb70021f7f7a3952c232125b3632e | refs/heads/master | 2020-03-25T17:51:14.860753 | 2018-08-08T11:45:28 | 2018-08-08T11:45:28 | 143,999,367 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 12,829 | c | #include "immintrin.h"
#include "x86intrin.h"
#include "zmmintrin.h"
//#include <hbwmalloc.h>
#define MR 11
#define NR 16
#define MB 33
#define NB 1376
#define KB 1246
#define L1_DIST_A 198
#define L1_DIST_B 352
void micro_kernel0(int k, const double * A, const double * B, double * C, int ncol)
{
int i;
register... | [
"choi@ssu.ac.kr"
] | choi@ssu.ac.kr |
29f94c00c1cc18018fe851b582d1c8394cf2a927 | 1070058d0a4d16da70e990dc62e118cc1bf2e026 | /Windows Build/PanteonDemoEmirhanKUY_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppGenericMethodTable.c | 1d9c78d456e45e3fb1a96ebe27bdd7a056b12dc0 | [] | no_license | EmirhanKuy/PanteonDemo | 2e6c96bc6306da2db74b605dc529576a30694a06 | bcd697f9c00b1325bf6222fb89f9943f69be9b03 | refs/heads/main | 2023-03-25T08:12:07.787626 | 2021-03-21T12:14:26 | 2021-03-21T12:14:26 | 349,985,126 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,300,224 | c | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
extern const Il2CppGenericMethodFunctionsDefinitions s_Il2CppGenericMethodFunctions[];
const Il2CppGenericMethodFunction... | [
"EmirhanKuy@users.noreply.github.com"
] | EmirhanKuy@users.noreply.github.com |
8d2befc8fd154909697960161e21149f151ed781 | 8175f89bd31481e5f1cdd4f0455b5e8f648f8068 | /Device/STM32F407VG/inc/stm32f4xx.h | 1befae714937cc137784c5b3481bbc0b1f97ebc5 | [] | no_license | kuangfei2019/STM32F407VG_project_template | 0c1d8678ac0316489fc09eb31218499ae9456e81 | 5b8ba4261bb3c22a49104e35f922d86c9052bd9e | refs/heads/main | 2023-03-16T00:26:51.096625 | 2021-01-11T12:09:06 | 2021-01-11T12:09:06 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C | false | false | 9,233 | h | /**
******************************************************************************
* @file stm32f4xx.h
* @author MCD Application Team
* @brief CMSIS STM32F4xx Device Peripheral Access Layer Header File.
*
* The file is the unique include file that the application programmer
* ... | [
"thaiviet271@gmail.com"
] | thaiviet271@gmail.com |
c4da3450529a7fb8267aa532c5fdd741574c2441 | 1a6199bf7694272e25d7363f63fde55c6939f1a5 | /eybuild_broadband_router_demo/bbr/cspsrc/csp_p/_dhcp_server_csp.c | 81d606b017e3b123f8b7a398045ea1edd412ad42 | [] | no_license | link4all/eybuild | a02e8db7aa5feecf9996bfb78eab08d7e40b957a | 1ecbb812b19cbe9a731af2cef37d96f0e6e0fdd0 | refs/heads/master | 2021-01-10T08:09:03.713476 | 2016-01-22T10:00:05 | 2016-01-22T10:00:05 | 50,172,914 | 6 | 1 | null | null | null | null | GB18030 | C | false | false | 11,969 | c | /* NOTE: DO NOT EDIT THIS FILE,
* this file is created by tool (CSP/eybuild 1.0.3) automaticly,
* build at: Mon Oct 09 23:31:48 2006
*/
/* NOTE: YOU SHOULDN'T ADD THIS FILE TO YOUR PROJECT DIRECTLY,
* When you add `../xx_maplist.c' to your project,
* this file will be added into your project.
*/
#include <stri... | [
"hewenhao2008@sina.com"
] | hewenhao2008@sina.com |
996a6c3961b53e4d7d9ab41aa57714e1eb56338d | 4a69644d846bf74bb650e321d98b48bccfba3cd0 | /C-ex12/ex12-2.c | 122c99f41b3249abf4cd519bb0e736ffb51dc40f | [] | no_license | ikeda-masato/C | 3fc43c4b0d4c039a70f6b980de3b9649121dad2e | 7445b271f6728bb4c2e57409179ce67f272713d1 | refs/heads/master | 2021-01-10T20:19:55.157541 | 2015-04-20T06:11:56 | 2015-04-20T06:11:56 | 33,912,931 | 0 | 0 | null | null | null | null | SHIFT_JIS | C | false | false | 572 | c | /*第12回演習課題2 11515009 池田将都*/
#include<stdio.h>
#include<stdlib.h>
main(int argc,char *argv[])
{
float sum;
if(strcmp(argv[2],"+")==0){
sum=atof(argv[1])+atof(argv[3]);
}
else if(strcmp(argv[2],"-")==0){
sum=atof(argv[1])-atof(argv[3]);
}
else if(strncmp(argv[2],"x",1)==0){
... | [
"in221en@gmail.com"
] | in221en@gmail.com |
dfd8000e05e97e8986ae7a3567679cba60d70352 | de32943cf79c8f99528eead65123edd75bfe00ab | /39-tree_depth.c | 7262dcc5c9043de153618747e3a0f678744192b8 | [] | no_license | Watermelon1108/interview | f528633e432c3627ab8c0e66fd5026e4e38bfa1f | 8f28ce199d880282a5ca7a17198b7109fb2e8713 | refs/heads/master | 2021-01-23T19:26:57.061755 | 2014-11-19T12:04:29 | 2014-11-19T12:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 817 | c | #include <stdio.h>
#include <stdlib.h>
typedef struct tNode{
int data;
struct tNode *lchild;
struct tNode *rchild;
}treeNode;
int tree_depth(treeNode *proot)
{
if(proot==NULL)
return 0;
int left_depth=tree_depth(proot->lchild);
int right_depth=tree_depth(proot->rchild);
return (left... | [
"taohi@taohi.net"
] | taohi@taohi.net |
8ede1ddfbcf5e0f79d9b401af5b5592caee1a6bd | 07bb81d15abfb2fe77da74e4d34c49f36c6f60c7 | /StackExample/link.c | 1852dcadde595aca56ed57841408c8e3186c4eda | [] | no_license | gzg1984/DataStructure | 9cd1c6cd086191393f55bf1f2ac297fe6a0cf7f0 | bb19a96510540337763541ee084a2d2b3e8d9c4f | refs/heads/master | 2020-09-20T06:31:35.130350 | 2016-09-08T14:18:11 | 2016-09-08T14:18:11 | 67,701,837 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,292 | c | #include <stdio.h>
#include "link.h"
int IsEnd(const LinkNode* nod)
{
return (nod == NULL );
}
int IsBegin(const LinkNode* nod)
{
return (nod->prev == NULL );
}
LinkNode* GetNext(LinkNode* this)
{
return this->next;
}
LinkNode* GetPrev(LinkNode* this)
{
return this->prev;
}
int ForEachLink (LinkNode *begin,LinkN... | [
"gzg1984@aliyun.com"
] | gzg1984@aliyun.com |
6f895d2749eee5da638fa16464a13734d18022a9 | d4138d1a8326ee4bdff60f6715ce3058aeb06a76 | /misc/pass_array.c | cffaa08a711b8aba46a6ffd091ee0c3a688c425e | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | isabella232/rv-predict | 65fce39fce22093fe4c61b9a5a0f46ef16c95aab | 6733dcc0811c16be8e10ea7df77ef238dc152d87 | refs/heads/master | 2023-06-16T20:30:47.419240 | 2019-01-03T19:35:53 | 2019-01-03T19:35:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 430 | c | #include <stdio.h>
#include <stdlib.h>
#include "nbcompat.h"
double
sum(double mat[5][5])
{
double sum = 0.0;
int i, j;
for (i = 0; i < 5; i++) for (j = 0; j < 5; j++) {
sum += mat[i][j];
}
return sum;
}
int
main(int argc __unused, char **argv __unused)
{
double mat[5][5] = {{1},
{0, 1},
{0, 0... | [
"dyoung@pobox.com"
] | dyoung@pobox.com |
ce1edd7fd808d188c1a6a55d907aad92a26dec18 | 3b108bf2e77bb49e65e180a479f45565b9dc3315 | /programs/a8.c | 331804e50d478ad02d402f0ad35d973d8ed71146 | [
"Apache-2.0"
] | permissive | tejasa97/Code-Checker | 7b36a593d31e2746154801e74c055110630bf21d | c2cd774abf2f15874f1b3ccf3a29fe524cde13af | refs/heads/master | 2020-03-22T23:33:09.264108 | 2018-11-03T17:01:41 | 2018-11-03T17:01:41 | 140,816,966 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 376 | c | /*c program to print Armstrong numbers between 100 to 500 */
#include<stdio.h>
int main()
{
int num, rem, sum, temp;
printf(" Armstrong numbers are: ");
for (num = 100; num <= 500; num++) {
temp = num;
sum = 0;
while (temp != 0) {
rem = temp % 10;
temp /= 10;
sum = sum + (rem * rem * rem);
}
if ... | [
"tejasarlimatti@gmail.com"
] | tejasarlimatti@gmail.com |
381d7c1f9f5798c42ab80d64aa77eddd0a828fff | d71a162e928b777bf83321e4f70638e642132112 | /ex08.c | 6c60b55498edf2033a6f5efd7b57f1ab25f834e3 | [] | no_license | jake-jake-jake/learning-c-so-hard | 70b44df841361259b3328b2f4e885df146154365 | 33905d83ef82003b05e2fe42ea2992762b57b38c | refs/heads/master | 2021-01-21T13:57:21.658694 | 2016-05-19T18:20:46 | 2016-05-19T18:20:46 | 55,527,523 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,053 | c | #include <stdio.h>
int main(int argc, char *argv[])
{
int areas[] = {10, 12, 13, 14, 20};
char name[] = "Zed";
char full_name[] = {
'Z', 'e', 'd',
' ', 'A', '.', ' ',
'S', 'h', 'a', 'w', '\0'
};
// WARNING: On some systems you have to change the
// %ld in this code to ... | [
"jcdavis@awedge.net"
] | jcdavis@awedge.net |
d5d3ee5e2b39ae976045c7b72f687dfb6998a8b6 | a280aa9ac69d3834dc00219e9a4ba07996dfb4dd | /regularexpress/home/weilaidb/work/kernel/linux-3.0.8/arch/powerpc/include/asm/pmi.h | 88d178ace1d7f52cda59f11665147733edf355dd | [] | no_license | weilaidb/PythonExample | b2cc6c514816a0e1bfb7c0cbd5045cf87bd28466 | 798bf1bdfdf7594f528788c4df02f79f0f7827ce | refs/heads/master | 2021-01-12T13:56:19.346041 | 2017-07-22T16:30:33 | 2017-07-22T16:30:33 | 68,925,741 | 4 | 2 | null | null | null | null | UTF-8 | C | false | false | 538 | h | #define _POWERPC_PMI_H
#define PMI_TYPE_FREQ_CHANGE 0x01
#define PMI_TYPE_POWER_BUTTON 0x02
#define PMI_READ_TYPE 0
#define PMI_READ_DATA0 1
#define PMI_READ_DATA1 2
#define PMI_READ_DATA2 3
#define PMI_WRITE_TYPE 4
#define PMI_WRITE_DATA0 5
#define PMI_WRITE_DATA1 6
#define PMI_WRITE_DATA2 7
#define PMI_ACK ... | [
"weilaidb@localhost.localdomain"
] | weilaidb@localhost.localdomain |
1d7f67dfed61b5030231f604365eaf8178cfa05c | 7faa6044c51b1a70c3a19908e72fb6f8c25ef5a7 | /world/d/gao/obj/ruler.c | 871d355fc0adc612976ef42d52bf1473bd59e851 | [] | no_license | losep/xyj45 | b55ca0f087bde4082b5ebe05945f36df86afcb9c | 3a699e543eec0f3c3965986ca98d7ba3b603c0cd | refs/heads/master | 2020-07-04T14:14:49.565808 | 2016-11-18T19:31:57 | 2016-11-18T19:31:57 | 74,157,577 | 1 | 1 | null | 2016-11-18T18:52:37 | 2016-11-18T18:52:37 | null | GB18030 | C | false | false | 671 | c | // 神话世界·西游记·版本4.50
/* <SecCrypt CPL V3R05> */
#include <weapon.h>
inherit SWORD;
void create()
{
set_name("戒尺", ({ "ruler" }) );
set_weight(700);
if( clonep() )
set_default_object(__FILE__);
else {
set("unit", "把");
set("long", "一把黑黝黝的戒... | [
"liming.xie@gmail.com"
] | liming.xie@gmail.com |
6a9504f7e370d004835e5ac404245e46e68c8d84 | 190a4e3f7ea2b58dbcf4bb394cea328cdb5322a7 | /projects/robots/bluebotics/shrimp/controllers/shrimp/shrimp.c | 4e3913a2b1e8648c7308bf5ced3f5d7280fc4b9a | [
"Apache-2.0"
] | permissive | congleetea/webots | e4bb1ec369572467cad3e6f036880aabc7a3d3c4 | f7bf0cb385842478c5635e29db8e25689d3d0c65 | refs/heads/master | 2022-12-23T19:12:18.468134 | 2020-09-28T08:30:23 | 2020-09-28T08:30:23 | 299,242,767 | 1 | 0 | Apache-2.0 | 2020-09-28T08:34:28 | 2020-09-28T08:34:28 | null | UTF-8 | C | false | false | 6,903 | c | /*
* Copyright 1996-2020 Cyberbotics Ltd.
*
* 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 ... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
5da9c3bc79566d6be3cc0ece3f4a069f82d671bf | 13727cef9984680ed279e3c1d7fc79b5ca457fc8 | /fppoly/relu_approx.h | 5eb05db126ccda4fd62eb727137ff6d36706a380 | [] | no_license | JacksonZyy/Initial_staging_dp | e90a2d3c002cb6818cf7326456f1930c8edaa549 | 6902ef43c32259176de980a442b6622336714769 | refs/heads/main | 2023-02-26T17:20:15.869052 | 2021-01-21T13:47:38 | 2021-01-21T13:47:38 | 331,497,385 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,509 | h | /*
*
* This source file is part of ELINA (ETH LIbrary for Numerical Analysis).
* ELINA is Copyright © 2019 Department of Computer Science, ETH Zurich
* This software is distributed under GNU Lesser General Public License Version 3.0.
* For more information, see the ELINA project website at:
* http://elina.et... | [
"noreply@github.com"
] | JacksonZyy.noreply@github.com |
99340401e5149b2c2d6275f0626915544b4c26af | 3b11c466ff7772773f60507f529c471217c5a092 | /Práctica 2/ejercicio4.c | 3dec0ef651b54f522221283019ac7a6abba3ade0 | [] | no_license | XXXPROGRAMACION/soper | fd5844be783838e7d2b99159a39f01a1f8d81f24 | f376a32546f707e17422cd600f969e05237da0f7 | refs/heads/master | 2020-09-21T21:22:31.562058 | 2019-05-09T22:36:33 | 2019-05-09T22:36:33 | 224,935,747 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,420 | c | #include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <unistd.h>
#define N_PROC 5
void manejador_padre(int sig) {
printf("¡Todos los participantes listos!\n");
fflush(stdout);
}
void manejador_gestor(int sig) {
printf("Participante listo\n");
... | [
"victoryrazustaibarra@gmail.com"
] | victoryrazustaibarra@gmail.com |
294d483007524b18fced8071a4ae3c4a29dee2b2 | fd1c5079d587bbe57dfb3342c296c391c3678096 | /ft_putstr_fd.c | d23ef67a41f96d106616d29d9342a80ac6214d4a | [] | no_license | akh9001/philo | 69d2002e5adc284a5f4ab3ffb704f14dd85af2de | 662a7aa6b9346f33054d09438099b17d9a3bd1a7 | refs/heads/main | 2023-08-11T09:36:34.759150 | 2021-10-02T07:28:58 | 2021-10-02T07:28:58 | 408,105,955 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,051 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_fd.c :+: :+: :+: ... | [
"akhalidy9001@gmail.com"
] | akhalidy9001@gmail.com |
46f3e8b478ac63cf941cc246f3cf82677756a4ee | 68b42e175e2dffb239fb784c3b8cb89777d8422c | /src/step9/mymath.h | 30a60b0371155d06cb774c10755c7f89ef1f7730 | [
"Unlicense"
] | permissive | montib/rays1bench | 310ff65333176d6892ec4a03b3166bfe468c8cb8 | 569b433a5c4cb8f993ae6b78dd619e60fbe01245 | refs/heads/master | 2022-11-26T01:37:13.872519 | 2022-11-18T20:51:21 | 2022-11-18T20:51:21 | 230,617,996 | 0 | 1 | Unlicense | 2022-11-18T20:51:22 | 2019-12-28T14:06:38 | C++ | UTF-8 | C | false | false | 2,543 | h | #pragma once
#include <math.h>
static uint32_t xorshift_state = 1236787;
inline static uint32_t XorShift32(uint32_t& state)
{
uint32_t x = state;
x ^= x << 13;
x ^= x >> 17;
x ^= x << 15;
state = x;
return x;
}
inline float myrand()
{
return (XorShift32(xorshift_state... | [
"montib@gmail.com"
] | montib@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.