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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17df0ecad1852f0cb7b94031f90cbe6b1de80473 | 50a6630d2d463375563e324730a76a8400289d9d | /2602/2602.c | 021696d6745743a8821e8689b26eb745309820e3 | [] | no_license | lazyparser/poj | e5669745142110561dd5eacd74de98c92cdd784e | f758d3092e1f1c34a8ca37fdb5dab711f7b1b951 | refs/heads/master | 2020-12-24T13:18:02.943048 | 2016-01-27T06:33:13 | 2016-01-27T06:33:13 | 5,670,079 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 766 | c | /*
* 说明:
* 题目保证了和的位数不会超过N
* 前置的0需要输出,例如 001 + 002 需要输出 003。
* 如果最后不使用 printf("%s\n") 而使用循环进行输出,会导致超时。
* */
#include <stdio.h>
char a[1000008],b[1000008];
int main(){
int n,i,inc,sum;
scanf("%d\n",&n);
/*printf("%d\n",n);*/
for(i=1;i<=n;i++)
scanf("%c %c\n",a+i,b+i);
/*
for(i=1;i<=n;i++)
printf("%c",*(a+... | [
"lazyparser@gmail.com"
] | lazyparser@gmail.com |
0e2329e139cfef6ac1ec845370430fad2a120f6d | 56425322bf560653842a172b415c114a825ad4cd | /09_USB_Bootloader/proc/proc_handlers.c | ebe91c2e75a4e61c484dfaa85168279be303478c | [
"MIT"
] | permissive | allexoll/BBB-BareMetal | 2d4b379ef3f174ca9587532e9daa5eafca58f172 | 4dce20eef8f6d6b2e04de149588df446c0e7fcc7 | refs/heads/master | 2023-06-22T06:44:37.096603 | 2023-06-07T10:11:36 | 2023-06-07T10:11:36 | 27,220,290 | 111 | 49 | MIT | 2023-06-07T10:11:38 | 2014-11-27T10:26:05 | C | UTF-8 | C | false | false | 10,849 | c | /**
* @file proc_handlers.c
* @author Alexis Marquet
* @date 28 Apr 2015
* @brief procIrqHandler deals with the interrupt vectoring
**/
#include <stdint.h>
#include "../core/llma.h"
#include "../board/LED.h"
#include "UART.h"
#define WEAK __attribute__ ((weak))
#define ALIAS(f) __attribute__ ((weak, alias (#f))... | [
"allexoll.m@gmail.com"
] | allexoll.m@gmail.com |
c3fe5282cb718c21b97bbd8605ac5ef658d52cae | be159f59dab8780c0644a2164c1dbe9453ffe443 | /include/usart_basic.h | 51f5b797654eaa9667cd233b8808f487b9317e01 | [] | no_license | COEN-ELEC-490-14-Tree-planting-Robot/SI4468-atmega328 | 151f08ce416d0d3bf374988679d8728b453a7ba7 | 6152bb79fcf93b37fa832306e7d5164b3e210770 | refs/heads/main | 2023-04-03T12:10:06.918059 | 2021-04-14T02:14:59 | 2021-04-14T02:14:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,826 | h | /**
* \file
*
* \brief USART basic driver.
*
(c) 2020 Microchip Technology Inc. and its subsidiaries.
Subject to your compliance with these terms,you may use this software and
any derivatives exclusively with Microchip products.It is your responsibility
to comply with third party license terms applica... | [
"mlz961116@gmail.com"
] | mlz961116@gmail.com |
71226aa779a7c6fd9ec5df07082c73f7a555dea7 | ccfb18c22f6c046922dc310a7783a7c69f67e507 | /LcdDriver/LcdDriver/HAL_MSP432P401R_adafruit320x240_ILI9341_SPI.c | 9cbed92b714e3cccbaaf54acd4d7f705e7549376 | [] | no_license | gregflores/ILI9341_TI_GRLIB | 5f3aa1a8ad2a18156cec2258662eba8f1f925141 | c43403a4fbf49b0b5850282d2aacac28d698eb9b | refs/heads/master | 2021-01-21T05:21:16.924600 | 2017-02-27T01:28:38 | 2017-02-27T01:28:38 | 83,176,761 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 7,357 | c | //*****************************************************************************
//
// HAL_MSP432P401R_adafruit320x240_ILI9341_SPI.c
//
//*****************************************************************************
//
//! \addtogroup display_api
//! @{
//
//**************************************************************... | [
"floresgreg@hotmail.com"
] | floresgreg@hotmail.com |
ad19ac6041f0a9b5547c18eb6d1ff39c9a0ddd67 | f1e2ec2cfaee509690d4ad58913f4971a6577c49 | /examples/nortos/MSP_EXP432P401R/drivers/spiffsinternal/spiffsinternal.c | 49e842018e1f26e79b96e1124d20ffb4e60a0073 | [
"MIT"
] | permissive | AdrianoRuseler/MSP-EXP432P401R | 45373bf9cadcc19ffb8c9bb60187c1099eb7f1c6 | 0e4cf7f0a455719fa5246f95db729df24bbe889a | refs/heads/master | 2018-07-17T12:07:41.376042 | 2018-06-01T19:23:07 | 2018-06-01T19:23:07 | 119,988,769 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 6,674 | c | /*
* Copyright (c) 2018, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice... | [
"ruseler@inep.ufsc.br"
] | ruseler@inep.ufsc.br |
d33ac05d2de948788d50291ee4b4f36fd92ee93c | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/543c8d2b-0e70-4b23-8460-0bb5c5c34935.c | 7cee0c28be14349e6438421a71d93ffba63ec61f | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944740 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 599 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=4;
int j=12;
int k;
int l;
k = 53;
l = 64;
k = i/j;
l = i/j;
l = i/j;
l = l/j;
l = k-j;
l = i+j;
j = k-j*i;
//variables
//random
/* START VULNERABILITY */
int a;
int b[83];
int c[86];
a = 0... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
7bfd8632d336b81adf01a72b0c3f59aff0e57b9e | fe01b163455ccdd9279cbd2a53fd03ef750b8ef2 | /src/threads/thread_incr.c | ad9c80636ab7e0989a3ed75f29f7da20214db98a | [] | no_license | ysouyno/study_notes_the_linux_programming_interface | bc9e1d5fccbeae8caed5a07f720dceabb73b4cbb | 67110b1589e43493382f50134c9b6313bc98a6e8 | refs/heads/master | 2021-06-12T12:35:56.529501 | 2019-12-09T06:01:42 | 2019-12-09T06:01:42 | 186,344,621 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 839 | c | #include <pthread.h>
#include "tlpi_hdr.h"
static int glob = 0;
static void *thread_func(void *arg)
{
int loops = *((int *)arg);
int loc, j;
for (j = 0; j < loops; ++j) {
loc = glob;
loc++;
glob = loc;
}
return NULL;
}
int main(int argc, char *argv[])
{
pthread_t t1, t2;
int loops, s;
... | [
"ysouyno@163.com"
] | ysouyno@163.com |
ad251f817d11cf7c06acb5e8f017597c554e19bc | 2420fa35efe2cc9463cb74a45ab957d1cdce3515 | /day07/ex12.c | 2dee05e8e5960608cdbcda98b3447d774f5d2491 | [] | no_license | gbox3d/c_lecture | 45fb7a5f33697e1714a74de9b6eea58e89b45979 | a22308235f948a324a93bc8499499028ae8fd9e3 | refs/heads/master | 2022-12-07T15:12:02.796009 | 2020-08-28T06:53:56 | 2020-08-28T06:53:56 | 281,044,293 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 673 | c | #include <stdio.h>
#include <string.h>
#include <SDL2/SDL.h>
int main(int argc,char *argv[])
{
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
printf("error initializing SDL: %s\n", SDL_GetError());
return 1;
}
char data[256] = "Happy BirthDay";
printf("length : %d \n",strlen(data));
printf("length : %d... | [
"gbox3d@gmail.com"
] | gbox3d@gmail.com |
c692e431976026595a4c98e2055328c01be568aa | 0e4dbdbde5cb681a4620bc5b3808da87d2d22aa3 | /IDLFactoring.h | 1c94bf7daace030d4a750a03a53c52639bca2f0d | [] | no_license | tt-nakamura/IDL | 1cda0ca899b17052ab7c50bcfc6646dad649977e | f141ce30f3ab7bd42eed65ea5632a872d6b9fa2f | refs/heads/main | 2023-03-27T10:16:51.193748 | 2021-03-27T23:54:30 | 2021-03-27T23:54:30 | 352,041,371 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 265 | h | #include "IDL.h"
#include<NTL/pair.h>
void BuildIrred(ZZX&, long, long);
void factor(Vec<Pair<IDL2, long> >&, const ZZ&);
void factor2(Vec<Pair<IDL2, long> >&, const ZZ&);
void mul(IDL&, const Vec<Pair<IDL, long> >&);
void mul(IDL&, const Vec<Pair<IDL2, long> >&); | [
"noreply@github.com"
] | tt-nakamura.noreply@github.com |
3fd57b4a8d9540481311e34af8d1828b4beb07f8 | 07ef19cd04b672005a2f19ff235c1f91722ddf09 | /archive/2453/8581656_AC_32MS_360K.c | 93c1455f44ac0ba3327e7116fa80b9dce90b9a27 | [] | no_license | majesty17/c_mypoj | 6f61aa12f3e9f3ffd248ec185295d5c5267b8b4d | 4c4529038b2ce0ee5bc753941a836e70cf0a0d94 | refs/heads/master | 2021-01-12T02:46:24.862517 | 2017-01-05T09:09:28 | 2017-01-05T09:09:28 | 78,097,030 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 360 | c | #include <stdio.h>
int n;
int getones(int num){
int count=0;
int m=num;
while(m){
m=m&(m-1);
count++;
}
return count;
}
int handle(int num){
int i;
int ones=getones(num);
for(i=num+1;;i++){
if(getones(i)==ones){
return i;
}
}
return -1;
}
int main(){
while(1){
scanf("%d",&n);
if(!n)break;
pr... | [
"a-o@qq.com"
] | a-o@qq.com |
1a001d85e4379fe7d714ab08805e1748d09f585a | 62c41dc19a900f13b428251d4524afc7337b28ea | /2019.10.1/2019.10.1/contact.h | d5b9b6727aee92362b6484fbf86f86d6bba26d33 | [] | no_license | jiwentao/wentao666 | 2591e16d041786dc0393cb64533bda720cb0ccc7 | b87577255ef554863c3ffe620622eba917f1f855 | refs/heads/master | 2020-07-04T18:03:24.964703 | 2019-10-01T13:44:12 | 2019-10-01T13:44:12 | 202,364,965 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 691 | h | #include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<string.h>
#define NAME_MAX 20
#define SEX_MAX 10
#define TELE_MAX 12
#define ADRR_MAX 25
#define Num 10
enum option
{
EXIT,
ADD,
DELETE,
MODIFY,
DISPLAY,
SORT,
SEARCH
};
typedef struct P_Info
{
char Name[NAME_MAX];
short Age;
char Sex[SEX_MAX... | [
"1043238267@qq.com"
] | 1043238267@qq.com |
3ad05c65a21324d3bca3955e21d3b00e25b36dd5 | 0c5d3b088080577388f5766431487534f93a2c40 | /Github-Projects-Origin/linux-master/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c.bak.c | b7ed6d64b48559bc510dd54dabacfae80bb66c43 | [] | no_license | zhiyuanjia/WoBench | 878255ce45e76ef57f88743c7f43acdfa59e93e7 | 6b337780cbd598de98fc0eabd19efaf1a01b6012 | refs/heads/master | 2021-09-23T03:12:08.091319 | 2018-06-14T10:17:59 | 2018-06-14T10:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 7,640 | c | #include <assert.h>
#include <string.h>
#define INCLUDEMAIN
/*******************************************************************************
Copyright (C) 2007-2009 STMicroelectronics Ltd
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Pu... | [
"wangcong15@mails.tsinghua.edu.cn"
] | wangcong15@mails.tsinghua.edu.cn |
ee3c3c21b9faa1544a58effbc79bc7ba91c534a3 | 27bcd5c9ded70102540c0ccd03f3e2b281dbf58c | /mudlib/w/oldcreators/asleigh/objetos/cuero.c | b3a11dfa8a0a61393a9cd458fe7f511fdd03ad78 | [] | no_license | unleashed/ninetears | 57fdc71fd651b3ff95e5e7c14b0566729584e006 | 4edd22c75e3fa99be4b5820300491c6b62e06085 | refs/heads/master | 2020-07-14T04:25:56.302027 | 2019-08-29T18:46:57 | 2019-08-29T18:46:57 | 205,225,438 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 763 | c | inherit "/obj/armour";
void setup()
{
set_base_armour("elfin chain");
set_name("vestido de cuero blanco");
set_short("Vestido de Cuero %^BOLD%^Blanco%^RESET%^");
set_long("Es un hermoso vestido de cuero blanco que se ajusta "
"al cuerpo de la que lo viste como si fuera un guante, "
"marcando todas... | [
"amr@redhat.com"
] | amr@redhat.com |
0bb80d095dbd25d13d90d4a062494d0782c75fff | 3bb313f5ebf766d3776f3188849b19d3eb268a8f | /srcs/core/ft_err2.c | a6d48be7e809fa8673400c48ed5678a0f2367823 | [] | no_license | bnoufel/ft_ls | ad7167528135c5a4a50603b65a647d05bf1a12fe | b36c41469cbe1802f8d17939a404dccf3028c9ca | refs/heads/master | 2022-03-20T12:52:12.527310 | 2019-11-02T10:25:24 | 2019-11-02T10:25:24 | 119,194,093 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,661 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_err2.c :+: :+: :+: ... | [
"benjamin.noufel@gmail.com"
] | benjamin.noufel@gmail.com |
37b5f79d73377eabd7e0adddae82e7fc129ddb86 | beed99556c202764b4165c64c02601a1321e2919 | /include/get_next_line.h | f495e53070ba176d60f10921bc7ef7f8b0930fd1 | [
"MIT"
] | permissive | KASOGIT/get_next_line | 04181d73afd8b9b297baa976a88a43dc98981a9e | fceb133059bd5ceb09c5fe34f73a5748fece7828 | refs/heads/master | 2021-01-17T18:06:37.918370 | 2016-10-16T11:17:26 | 2016-10-16T11:17:26 | 70,997,739 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 525 | h | /*
** get_next_line.h for get_next_line in /home/soto_a/rendu/CPE_2014_get_next_line
**
** Made by Kaso Soto
** Login <soto_a@epitech.net>
**
** Started on Fri Nov 14 12:29:34 2014 Kaso Soto
** Last update Sat Oct 15 15:42:59 2016
*/
#ifndef GET_NEXT_LINE_H_
# define GET_NEXT_LINE_H_
#include <stdlib.h>
#includ... | [
"attitude-moa@live.fr"
] | attitude-moa@live.fr |
c31fe642060ebf6ecd936431fd314ca2a1aa7ed9 | 376f1e46221d0891a377d44052fd5f7574a264d0 | /driver/serial.c | e71c2f408632acfbb2cf0f3c3721c1d27d521f1f | [] | no_license | melon-os/melon | 14310363465e34003cafe632bc66873761ef04ea | 2ce5eccf585692c9fb728ef96ea4faf2d5eaf752 | refs/heads/master | 2016-09-06T13:39:56.549400 | 2013-10-17T13:50:21 | 2013-10-17T13:50:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C | false | false | 9,304 | c | /******************************************************************************
Copyright (C), 2004-2013, melon_os@163.com, All Rights Reserved
* LICENSING TERMS:
* ---------------
* Melon is provided in source form for FREE evaluation, for educational use or for peaceful research.
* If you p... | [
"mesmm@163.com"
] | mesmm@163.com |
56f621f82fb22f80819b6e8df1ff089f06eebc71 | 4cd580701959e61a3e34db2b812d8a533b3ad9e2 | /src.bak/d22t2Testfreopen.c | 6e6bb4890ca37d8a963a806d4600f3c2dceccf1f | [] | no_license | SilentKris/Train | 6b684a1f920a109ad81301e1937821ed1699c92e | b464aae5d3d0870c4e0cd718ec33f19a2fe534f1 | refs/heads/master | 2023-01-03T13:37:22.874874 | 2020-11-02T13:36:13 | 2020-11-02T13:36:13 | 288,479,545 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 378 | c | #include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
FILE *fp;
fp = fopen("1.txt", "w+");
if(NULL == fp)
{
perror("fopen fail");
return -1;
}
printf("fopen ok before\n");
freopen("1.txt", "w+", stdout);
printf("after 1 here\n");
printf("append\n");
freopen("/dev/tty", "w+", stdout... | [
"dwl130802305@gmail.com"
] | dwl130802305@gmail.com |
7bca7a866e0af89c59f58f0e12217137de7aaabe | 20907450a240a1cda9fe03078ee30ec343b32175 | /semaphore.h | a9eb0a0a6e2cc9e1df7bcb7e50b0993db4cbfe5d | [
"MIT"
] | permissive | xplfin/MVME101kernel | 00b29441fd75e394e9b2ec05958230e381278a1a | d1d065bab660e94e43ce40231704327e5846d80c | refs/heads/master | 2021-09-10T01:13:28.034657 | 2018-03-20T13:28:08 | 2018-03-20T13:28:08 | 126,020,654 | 1 | 0 | null | 2018-03-20T13:24:57 | 2018-03-20T13:20:25 | null | UTF-8 | C | false | false | 156 | h | struct Semaphore {
char Lock;
char Spare;
short int Count;
struct Context *Wq;
};
void SemP( struct Semaphore* );
void SemV( struct Semaphore* );
| [
"noreply@github.com"
] | xplfin.noreply@github.com |
fffe5d817c17e5b29f0e54707e192fcf3f801b9e | 00e5d06f4f73e77b205f6df0c37cc756e1b43d28 | /PR/src/console/filedir.c | 6730c9c1832190df102ccc86f44d772181c8e6b6 | [] | no_license | ecalot/princed | 5841529fa53a466cf2e06abe0ec4ceacd0c5cdc1 | 89dec600b0068fd6eb41f9ac94c3550f0be25b33 | refs/heads/master | 2021-01-16T19:34:32.697334 | 2013-06-02T13:52:35 | 2013-06-02T13:52:35 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C | false | false | 8,304 | c | /* Princed V3 - Prince of Persia Level Editor for PC Version
Copyright (C) 2003 Princed Development Team
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 2 of the Licen... | [
"ecalot"
] | ecalot |
e25ebe4483ee6cf8cfc24283f694754e047edd4b | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/94446b29-b6f8-45e0-9edb-191778a8b929.c | 6199a9836335c2b7148e63d39e33e279e427bf34 | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944740 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 543 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=4;
int j=14;
int k;
int l;
k = 53;
l = 64;
k = i%j;
l = i/j;
l = l%j;
l = l+j;
k = l-j*j;
//variables
/* START VULNERABILITY */
int a;
char b[7];
char c[81];
a = 0;
do {
/* START BUFFER S... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
f401301613816c7b79ab4809bea88d6ddf14abf3 | 7202e466b44b54d0316196411e636702ce47ce59 | /fitMass_125.c | 669cf48de0493fd04e799d32d5f15d88713d38ce | [] | no_license | bonanomi/MassAnalysis | a946299fabe1bf7abbf629cc09ec0c50596aa895 | cfd169b9c9f7e60a12d8432673988b0b21027ec2 | refs/heads/main | 2023-03-29T14:17:26.000795 | 2021-04-06T17:49:24 | 2021-04-06T17:49:24 | 352,075,535 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,850 | c | void fitMass_125(int year=2018){
gStyle->SetOptStat(0);
gStyle->SetOptFit(0);
TString chanName[3]={"4mu","4e","2e2mu"};
RooRealVar *ZZMass =new RooRealVar("ZZMass","",105,140);
RooRealVar *chan=new RooRealVar("chan","",0,1000);
RooRealVar *weight=new RooRealVar("weight","",1.e-9,1.e9);
for (int j =0;j<3;j++){... | [
"matteo.bonanomi@cern.ch"
] | matteo.bonanomi@cern.ch |
ed659f617614783fb544af843a36974fc033c36e | bc983c8c24704a7682d29e071a312f31ea88098d | /radio/mac_layer.c | dc802e41525e2c7fbb91c6b7b2076037e2096f23 | [] | no_license | StefanRickli/rs232-remote-control-receiver | 69adfb4e01e074326fe9d273e589daaea26e73dd | 62716a8811b57c22ffc59eea012d8be832d9031d | refs/heads/master | 2020-12-24T05:47:42.766936 | 2016-06-12T20:01:03 | 2016-06-12T20:01:03 | 60,986,642 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,706 | c | /*
* mac_layer.c
*
* Created on: 10 mars 2016
* Author: faitaoudia
*/
#include <mac_layer.h>
#include <sx1276_driver.h>
#include <string.h>
#include <misc.h>
#include <spi.h>
#include <wurx.h>
#include <timers.h>
// -----------------------------------------------------------------------------------
// Inte... | [
"stefanrickli@gmx.ch"
] | stefanrickli@gmx.ch |
46e8e842969b4710010426057536ff29332fa95d | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/base/busdrv/acpi/tools/acpisim/simulation/app/asunld/asunld.c | c3055b58c70661b404b2d665a85e52ad1211feae | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,138 | c |
/*++
Copyright (c) 2001 Microsoft Corporation
Module Name:
asunld.c
Abstract:
This application is used with the ACPI BIOS Simulator.
Author(s):
Vincent Geglia (vincentg) 06-Apr-2001
Environment:
Console App; User mode
Notes:
Revision History:
--*/
//
// General includes
//
#inc... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
b6b59e665fb0fffc00b0ccbf0a9e3e99f9fc45e9 | 52223f37be9b807b9380f789ed43e0794b3f17e5 | /Lab3_3.c | 61b41126f979afe8fbd5f057c96cc60009190511 | [] | no_license | damo59/Scalable-Computing | 5eef21b66ccfcbbed7d44c5001f9267cf62089d2 | 16c109f1c318c7543199107089706dee3caf0c75 | refs/heads/master | 2021-01-09T07:05:15.210770 | 2016-12-12T14:57:27 | 2016-12-12T14:57:27 | 68,637,971 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,718 | c | /*
* to compile this file: gcc cprogram.C -o cprogram
* to run this file: ./cprogram
*/
#include <stdio.h>
#include <stdlib.h>
typedef enum { false, true } bool;
//declare one of our own functions so the compiler will understand the references below
int Average(int intarray[] );
int Median(int intarray... | [
"noreply@github.com"
] | damo59.noreply@github.com |
bafd411b6951ff2cdfdf91321976ecd2f5eef705 | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/a420c00f-f015-4c53-b5b5-503b25a4d20c.c | 15236f831e0a42d072548c0bc7488068f6f90667 | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944740 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 572 | c | #include <string.h>
#include <stdio.h>
int main() {
float i;
float j;
float k;
float l;
i = 6;
j = 9;
//variables
//random
/* START VULNERABILITY */
int a;
char b[57];
char c[68];
a = 0;
while (a > -1) {
//random
/* START BUFFER SET */
*((... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
c903a0879af0b6540f812af4eb3b57d9ec4b62e5 | 6091447b6b89c828311d025cc52d3844babc9243 | /C/34-while.c | 05531589f735dc4a3d038d45a57213d916e733e2 | [] | no_license | Swannhs/Shamim_Sir | 08d74041be7ef2678ce8dc944094ff6e3c21ef09 | 8e0486babd66665dfdf39b2d0a04df852e068a70 | refs/heads/main | 2023-05-04T10:03:12.757509 | 2021-05-15T21:46:26 | 2021-05-15T21:46:26 | 364,941,346 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 349 | c | #include<stdio.h>
int main() {
int num,i,f,r,sum=0,temp;
printf("Enter a number: ");
scanf("%d",&num);
temp=num;
while(num) {
i=1,f=1;
r=num%10;
while(i<=r) {
f=f*i;
i++;
}
sum=sum+f;
num=num/10;
}
if(sum==temp)
printf("%d is a strong number",temp); else
printf("%d is not a strong... | [
"princeapurbask@gmail.com"
] | princeapurbask@gmail.com |
8f8795a1149bd078f70dbe3299c8b07d76904ad7 | afc8d5a9b1c2dd476ea59a7211b455732806fdfd | /Configurations/EXO/VBS_OS/2016/Zeppll.C | c3420c208b605b05a256c881fe991d17811b96f9 | [] | no_license | latinos/PlotsConfigurations | 6d88a5ad828dde4a7f45c68765081ed182fcda21 | 02417839021e2112e740607b0fb78e09b58c930f | refs/heads/master | 2023-08-18T20:39:31.954943 | 2023-08-18T09:23:34 | 2023-08-18T09:23:34 | 39,819,875 | 10 | 63 | null | 2023-08-10T14:08:04 | 2015-07-28T07:36:50 | Python | UTF-8 | C | false | false | 459 | c | #include "TLorentzVector.h"
#include "TVector2.h"
#include <iostream>
using namespace std;
Float_t Zeppll(double pt1, double phi1, double eta1,
double pt2, double phi2, double eta2,
double jet_eta1, double jet_eta2, double detajj){
TLorentzVector l1;
l1.SetPtEtaPhiM(pt1,eta1,phi1,0);
TLorentzVe... | [
"piergiulio.lenzi@cern.ch"
] | piergiulio.lenzi@cern.ch |
8f97046fdc6ae9ed7b1425227f89fddd8f1fc340 | cb35fce724381972fea28a93dddaad97d2402cee | /pointers_practice_1.c | 9bd9c94af7ca193e7ae730dbd15125d9bd4467e9 | [] | no_license | TanwirulHassan/c-program-example | b95b33608c469f78891f9b1a2a0bdf85d46f42a5 | 03bc877ec35d59113d5919b107488e461c9c430c | refs/heads/main | 2023-08-23T14:26:16.191931 | 2021-10-31T13:59:10 | 2021-10-31T13:59:10 | 423,163,008 | 0 | 0 | null | 2021-10-31T13:58:33 | 2021-10-31T13:58:33 | null | UTF-8 | C | false | false | 251 | c | // write a program to print the address of a variable. use this address to get the value of this variable
#include<stdio.h>
int main(){
int a;
printf("the address of a is%u\n",&a);
scanf("%d",&a);
printf("%d\n",a);
return 0;
} | [
"90839355+AmanSarraf@users.noreply.github.com"
] | 90839355+AmanSarraf@users.noreply.github.com |
42565e4b8b838bc6fe86f68ae8cd8bed7d156f03 | 9d9e4088862468b4ff8baf38431e603b101c02ef | /3D RUN/3DRun/Classes/Native/AssemblyU2DCSharp_GooglePlayGames_Native_PInvoke_Callbacks_U_2.h | 3b880d297b36bd9dbf66317b3947102769891d0c | [] | no_license | jmh6672/Run_3D | 22ca1ba59b8d7fe567df3781a31b80b28788e3aa | f72d30ce5ffbe493020a92b105a59c0fe348f747 | refs/heads/master | 2021-09-14T00:17:56.572759 | 2018-02-13T08:59:05 | 2018-02-13T08:59:05 | 115,467,966 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,358 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Object_t;
// GooglePlayGames.Native.PInvoke.Callbacks/<AsOnGameThreadCallback>c__AnonStorey53`2<System.Boolean,System.Object>
struct U3CAsOnGameThreadCallbackU... | [
""
] | |
8200c5bb958b0d273337069fbc29a62931e9f3fb | ae20380e235c6869c17bbe473fd80871f1755d37 | /creacion.c | 60acf1d16525e1566e960bcc5cd7437ba825447b | [] | no_license | joseisaacz/elpuente | d5e4293fed1f6294f28b420fd29040cba27a2558 | 0c946b235c1bf98b8a121505ef0206e79ad53ced | refs/heads/master | 2020-05-04T17:54:49.388695 | 2019-04-22T03:26:47 | 2019-04-22T03:26:47 | 179,331,559 | 0 | 2 | null | 2019-04-22T03:27:27 | 2019-04-03T16:45:45 | C | UTF-8 | C | false | false | 1,017 | c | size_t longitudpuente;
size_t modoejecucion;
//datos del Este
size_t cantidaddecarros1;
size_t promediollegada1;
size_t tiempodelsemaforo1;
size_t velominima1;
size_t velomaxima1;
size_t cvpp1;
size_t ambulancias1;
//datos del Oeste
size_t cantidaddecarros2;
size_t promediollegada2;
size_t tiempodelsemaforo2;
size_t ve... | [
"39786721+joseisaacz@users.noreply.github.com"
] | 39786721+joseisaacz@users.noreply.github.com |
9cd8218dafc4970a59e17c805bef5c212655bedd | c90c61fe0b5f298b7e3db683c853d4b11edab66a | /MPI programming/Ex1/e1.c | 25023e083e540e75e6b3b388641d06cb2653b3e6 | [] | no_license | PanagiotisKlironomos/ParallelProgrammingExercises | 73d2fd2ff0db0f18f35996b27cfa404249bee6f4 | 2328ae9b12dc1945aaa4fc1f50d7a17c9008dc61 | refs/heads/main | 2023-01-24T09:13:09.835039 | 2020-11-17T15:11:42 | 2020-11-17T15:11:42 | 313,593,683 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 16,832 | c |
/* Copyright (C) 2019 Panagiotis Klironomos - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the GNU GENERAL PUBLIC LICENSE
*/
/*
sudo apt install libopenmpi-dev
export PATH="$PATH:/home/root/.openmpi/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/root/.openmpi/lib" ... | [
"noreply@github.com"
] | PanagiotisKlironomos.noreply@github.com |
a02fc202f44e9e7a91110d6f9f5875ac4e2ffe42 | 90a2c6eadab01ad13c5415d77ce5554ecd36ffdb | /constant.h | 85380193711fa0405b1bdb12311d64d592cf0272 | [] | no_license | yun-yan-cheng-yu/GredySnake | 378f4aafeb48fede83ba8fd966ab1e9cc8e45968 | 06b7181591c6cfb3b1360dbb7740a2a527d25c0d | refs/heads/master | 2023-08-14T03:00:34.566511 | 2021-09-14T06:19:17 | 2021-09-14T06:19:17 | 405,335,675 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 408 | h | #pragma once
#define SCALE 10 //缩放因子 10意味着一个像素代表10个像素
#define BACKGROUND_COLOR 0xA4D3EE//自己定义的一个颜色 忘记了...好像是橙色
#define SNAKE_MAX 500//蛇最长
#define SCREEN_LENGTH 640 //屏幕长
#define SCREEN_WIDTH 480 //屏幕宽
//以下是上下左右对应的ASCII码 不能自定义
#define UP 72
#define LEFT 75
#define RIGHT 77
#define DOWN 80
| [
"1090042044@qq.com"
] | 1090042044@qq.com |
0de78cdf2e65f676ad15b00ed81d965c8ce71289 | 14ad480f39b08044a7a35980f21573afa75ab9b9 | /Ficha2/ex9.c | 4e6c92c6a01f3b258e264b86e6ec6921664b0186 | [] | no_license | joaobernardino-22003183/ProjetoTeste | eedb74ab4d4e0f4f4cb9a0897c88e2b9b8737192 | f23fe2daf4f288cbb4e2e98d3b69ae0d7ddbfe56 | refs/heads/master | 2023-05-09T07:12:18.296174 | 2021-05-28T14:46:15 | 2021-05-28T14:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 204 | c | #include <stdio.h>
int main()
{
int euro;
float dolares;
printf("Euros: \n");
scanf("%d", &euro);
dolares = euro * 1.23;
printf("%d euros são %0.2f dólares\n", euro, dolares);
}
| [
"joaobernardino@MacBook-Air-de-Joao.local"
] | joaobernardino@MacBook-Air-de-Joao.local |
7960ce79442154adbe5e0b125ee5a06ce70d7089 | 12df19dfe94f6d54694d8c22ba19712f76303232 | /3rd_party/SISL/src/s1341.c | 502b6b45d8ec2f383dff650685790be9b9615945 | [] | no_license | cangyu/Sky | 11e20ed8c24008afbbd01f675a28b963c679f6e7 | 3f7b769c9fc3edbfd808b9f98cd0c6ada159a01d | refs/heads/master | 2021-01-24T00:42:03.102009 | 2018-04-15T14:52:34 | 2018-04-15T14:52:34 | 68,723,436 | 7 | 0 | null | null | null | null | UTF-8 | C | false | false | 8,527 | c | /*
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
* Applied Mathematics, Norway.
*
* Contact information: E-mail: tor.dokken@sintef.no
* SINTEF ICT, Department of Applied Mathematics,
* P.O. Box 124 Blindern, ... | [
"yhcy1993@gmail.com"
] | yhcy1993@gmail.com |
4da1d5fbc2071712bdd8dc05fce1508ca6e74268 | b1f27a393aeee812ac196c0bb555007ba9d0fe1c | /ADC Single Converter/ADC_HAL_Library/main.c | 249fff364ad23a2269fb53b41eaf209b2a673344 | [] | no_license | BrndAlx/Workspace-STM32F4-Discovery-Board | 739a6b45ae2a98ec0e64c4ea1de5c819c6eab920 | c11d16747a2da23713e335e3578c64bfdbf18573 | refs/heads/master | 2020-07-23T16:28:17.563852 | 2019-09-10T18:51:28 | 2019-09-10T18:51:28 | 207,627,683 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,657 | c | #include "stm32f4xx_hal.h"
void GPIO_config(void);
void ADC_config(void);
void Systick_Config(void);
ADC_HandleTypeDef myADCtypeDef; //defined globaly so we can use it in multiple functions
uint32_t myAdcValue;
int main(void){
HAL_Init();
GPIO_config();
ADC_config();
Systick_Config();
while(1){
//1.Re... | [
"alexandruberende@gmail.com"
] | alexandruberende@gmail.com |
c1bb08a51712e2037d3de98d4c783327016424a0 | a70a76c4b267fc01c9d392271695a75532fda751 | /Source/Zekamashi/loader/instdrv.c | 5eb9e4aee71c805a32cc2bdb0f956e4421a80b56 | [
"BSD-2-Clause"
] | permissive | z09045540/VBoxHardenedLoader | 3d0abfaff3ba83f4f53f3a79ebace2a72e59cfcb | c49e39b21e4b52010db74bf067714bba3d288199 | refs/heads/master | 2020-05-25T18:54:13.359950 | 2017-03-11T06:24:56 | 2017-03-11T06:24:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,468 | c | /*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2015 - 2017, portions (C) Mark Russinovich, FileMon
*
* TITLE: INSTDRV.C
*
* VERSION: 1.80
*
* DATE: 01 Feb 2017
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KI... | [
"hfiref0x@users.noreply.github.com"
] | hfiref0x@users.noreply.github.com |
b7a2ad03530c20ba6c600380fc64b5d5af93c59e | 3eb722a41f095e7e8dcbc70e99a022ce10ad5974 | /src/libpmem2/pmem2.c | 1671339f44e626c13001f6a4dbc78cbf5cda2db1 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ClothoQ/pmdk | 974ad7df9c3be3b713b80cf2f6c64fcfac7796b6 | a6031710f7c102c6b8b6b19dc9708a3b7d43e87b | refs/heads/master | 2020-08-11T02:43:32.944895 | 2019-10-11T09:05:44 | 2019-10-11T09:05:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,711 | c | /*
* Copyright 2019, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the f... | [
"jan.m.michalski@intel.com"
] | jan.m.michalski@intel.com |
f2ee7d7f026379f042ab10d7b5b7b63e9cbd2c31 | 5dc25c5980cbe8ea9aeef9c75a6d3e480f7c2c9e | /mtgf/gfserver.main.c | eae936b8bf4187bb90f2930c42f0e0cb51dc3ccc | [] | no_license | xzhou-ct/getfile-library | 1eb5fa6c3f7ff12b9949f6416ab7541f0598c32f | 20aceee766824c6e328f86bc97ef9e20ae5c3321 | refs/heads/master | 2021-09-23T14:23:10.473702 | 2018-09-24T14:12:55 | 2018-09-24T14:12:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,858 | c | #include <getopt.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/signal.h>
#include <string.h>
#include <netdb.h>
#include <netinet/in.h>
#include <pthread.h>
#include "gfserver.h"
#include "content.h"
#... | [
"noreply@github.com"
] | xzhou-ct.noreply@github.com |
6632fc3947a756363b91643d05f2a25161c8d384 | 9d14105d10f710b83fe3967e341b960e81f1b1a0 | /C/runoff.c | 6869192620b36855a5e4749c2ff770be7bfc90b7 | [] | no_license | inqi007/cs50 | ef0513d1fdf689a1c72e64114ec7c2d25972b31e | 8c3af944e48d5dbf46d16234be902cf19a6339af | refs/heads/master | 2022-12-03T09:56:30.595754 | 2020-07-30T18:06:10 | 2020-07-30T18:06:10 | 283,695,791 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,098 | c | #include <cs50.h>
#include <stdio.h>
#include <string.h>
// Max voters and candidates
#define MAX_VOTERS 100
#define MAX_CANDIDATES 9
// preferences[i][j] is jth preference for voter i
int preferences[MAX_VOTERS][MAX_CANDIDATES];
// Candidates have name, vote count, eliminated status
typedef struct
{
string name... | [
"inqiyad18@gmail.com"
] | inqiyad18@gmail.com |
d0b54474524b9e7abdf96185e466f7a8fbdafb49 | 381d91d452381f7b8793ac1f3985d9855b283edf | /include/parallel_evolution/log.h | fa7e473cf3c351f11909d6148237ae5569f142d5 | [] | no_license | frt/parallel_evolution-lib | f1c7605da2274a0383bb494993981b8ecda5b8df | ec5961b4913534dd51da4eccd5674f3ebeb131ca | refs/heads/master | 2021-07-09T10:22:14.889292 | 2021-04-23T00:57:34 | 2021-04-23T00:57:34 | 6,118,500 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 548 | h | #pragma once
#define LOG_PRIORITY_EMERG 0
#define LOG_PRIORITY_ALERT 1
#define LOG_PRIORITY_CRIT 2
#define LOG_PRIORITY_ERR 3
#define LOG_PRIORITY_WARNING 4
#define LOG_PRIORITY_NOTICE 5
#define LOG_PRIORITY_INFO 6
#define LOG_PRIORITY_DEBUG 7
typedef int log_priority_t;
// TO... | [
"fr.teodoro@gmail.com"
] | fr.teodoro@gmail.com |
9b20d8d5eaed3c08560d6a83458c6a31abf7187a | be53be707c24a8751d93e3bd5fce53f8755212e6 | /Make_Lang/win_sjis/crowbar_book_0_4/error_message.c | 504e4eddb031a6001bd46ea95e05faa3fb6a9640 | [] | no_license | dboyliao/C_Cpp | b54bfeb0b91085701469bf7d50460f9737469390 | 0c56104107778213217e26d85ed3d9bbc2df532c | refs/heads/master | 2022-06-12T14:44:48.638880 | 2022-05-27T13:11:19 | 2022-05-27T13:11:19 | 46,228,690 | 4 | 2 | null | null | null | null | SHIFT_JIS | C | false | false | 8,634 | c | #include <string.h>
#include "crowbar.h"
CRB_ErrorDefinition crb_compile_error_message_format[] = {
{"dummy", NULL},
{"文法エラー($(token)付近)", NULL},
{"不正な文字($(bad_char))", NULL},
{"関数名が重複しています($(name))", NULL},
{"不正なマルチバイト文字です。", NULL},
{"正規表\現に改行が含まれています。", NULL},
{"正規表\現が作れません。$(message)", N... | [
"qmalliao@gmail.com"
] | qmalliao@gmail.com |
c6df9b0e7225b91a2e685428ac98daca9413e48e | d287db9479aebac8f082a3baeb2e14c0fba06708 | /Projects/ble/HIDEmuKbd-Mouse/Source/hidemukbd.c | fdf46c81df91d5b1bbc7cf1d656e64f7076aa0ce | [] | no_license | HelloDavid2020/BLE-CC254x-HID | b6ca1552959b03de29d82ecd6fd6c224bc3ec2be | a783b14daeb6a49aaa430b630548bb91bd83e9d6 | refs/heads/master | 2021-06-05T17:18:50.934399 | 2016-11-10T11:21:47 | 2016-11-10T11:21:47 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 18,594 | c | /**************************************************************************************************
Filename: hidemukbd.c
Revised: $Date: 2012-02-09 14:40:40 -0800 (Thu, 09 Feb 2012) $
Revision: $Revision: 65 $
Description: This file contains the HID emulated keyboard sample application
... | [
"13021286541@163.com"
] | 13021286541@163.com |
87dd1b3e0d408b5ec9bb8aa3f0a8dece2114bbe0 | 43cbe60e96c7761a447529bad00b8b172fd15966 | /chest/net/smtp/src/main/include/internet/esmtpLib.h | 162a0b9842ab42f13532106c41e0ba31b2f37b7e | [
"Apache-2.0"
] | permissive | MaskerPRC/communitychest | e913dcdc9c71a94d5c5f5ee540ae0d6fc64a6965 | 5d4f4b58324cd9dbd07223e2ea68ff738bd32459 | refs/heads/master | 2023-03-19T00:43:03.353389 | 2016-04-16T13:42:47 | 2016-04-16T13:42:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 10,342 | h | #ifndef _EXT_SMTP_LIB_H_
#define _EXT_SMTP_LIB_H_
#include <internet/smtpLib.h>
/*--------------------------------------------------------------------------*/
/* extended error codes */
#define ESMTP_E_AUTH_SUCCEED 235 /* Authentication successful */
#define ESMTP_E_AUTH_DATA 334 /* Authentication client respons... | [
"lyor.goldstein@gmail.com"
] | lyor.goldstein@gmail.com |
4dcaf3b7e26ffa4df052cfe3dfa8eeea4b6d65fb | 4047e436b72109369bd3f1eb36cfb72e331d2be8 | /2019_3_27_2/2019_3_27_2/test.c | 209eadcd89a98317fdc8e385750b9fe963b305ad | [] | no_license | ts0313/learningC | 4f5a8403c22442218e71534c80c3c960be378365 | 9294be678971d1e869f46801310d308f979ccabe | refs/heads/master | 2020-05-01T05:40:10.052425 | 2019-05-27T15:31:07 | 2019-05-27T15:31:07 | 177,308,537 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 434 | c | //实现一个函数判断year是不是闰年
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
int leap_year(int year) {
if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) {
return 1;
}
else {
return 0;
}
}
int main() {
int x;
printf("请输入年份: ");
scanf("%d", &x);
if (leap_year(x) == 1) {
printf("闰年! ")... | [
"48542534+ts0313@users.noreply.github.com"
] | 48542534+ts0313@users.noreply.github.com |
c7c8250ca36e290f9d119422631ddd230aaa16fc | fa04ee5d7196d2faeb6556eaabecadc1b22a1d9a | /genie_app/bluetooth/mesh/mesh_model/src/time_scene_server.c | fbfe95ae57298af40b861a26a5cd6c188f623f0e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | YangAlex66/bk3633_mesh_sdk | 3824df47698c160ab630de03f7d05382ed8cfce6 | 116c46813264b1d0b663015a2c1fd94e19c0c3a3 | refs/heads/master | 2023-07-25T09:12:04.729726 | 2021-08-28T07:10:38 | 2021-08-28T07:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 47,948 | c | // Copyright 2017-2019 Espressif Systems (Shanghai) PTE 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 app... | [
"yulong.huang@bekencorp.com"
] | yulong.huang@bekencorp.com |
d3d44ae8daed04a2a157d348cf4dc3bb41eaab48 | e20b348ff50a0d8f87bc002853128316a740f0b4 | /src/act.item.c | e4c227686ecbd4c12f36dc94a071e4fe672e99a1 | [
"BSD-2-Clause"
] | permissive | elenoalazyfake/CircleMudKr | 4f0a84a098df96f725e06e1df27834dac78cc01f | ad7397f928fab87479b3e1d8a73e97b9a306c050 | refs/heads/master | 2023-03-12T18:59:18.872873 | 2021-03-01T07:37:29 | 2021-03-01T07:37:29 | 342,785,760 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 44,159 | c | /* ************************************************************************
* File: act.item.c Part of CircleMUD *
* Usage: object handling routines -- get/drop and container handling *
* *
* All rights re... | [
"elenoa@hanafos.com"
] | elenoa@hanafos.com |
4e71b4e59a34e1d4e019656da0bb9698418655ca | 78ddac77e83de766718be219cacd15c6bfe36482 | /lib/drv/nl_i2c.h | a14f418f41dcb6ad4afb6b46f6fbb6fc9498f18c | [] | no_license | nonlinear-labs-dev/nllpc | d8206237ad1995329bf637991467e86f438c8c5c | 4a37fca3188b90d756b943c25fd4bf663b148164 | refs/heads/master | 2020-03-27T15:50:18.173105 | 2019-02-27T11:57:12 | 2019-02-27T11:57:12 | 146,742,743 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 2,511 | h | /******************************************************************************/
/** @file nl_i2c.h
@date 2015-06-24
@brief I2C driver for LPC43xx
@author Nemanja Nikodijevic 2015-06-24
*******************************************************************************/
#ifndef _NL_I2C_H_
#define _NL_I2C... | [
"pascal.huerst@gmail.com"
] | pascal.huerst@gmail.com |
459d6c2e48e3c5295ad71c7ec3a9ba8312bd71a2 | 0518e53526c214da6142d940c42a428ec7d58122 | /CWE-119/source_files/72820/CWE122_Heap_Based_Buffer_Overflow__c_dest_char_cat_31.c | 565800a8ecd1c3e8df8bb85d45892216091aa352 | [
"Apache-2.0"
] | permissive | Adam-01/VulDeePecker | eb03cfa2b94d736b1cba17fb1cdcb36b01e18f5e | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | refs/heads/master | 2023-03-21T07:37:26.904949 | 2020-11-17T19:40:13 | 2020-11-17T19:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,071 | c | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_dest_char_cat_31.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_dest.label.xml
Template File: sources-sink-31.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using malloc() and s... | [
"王苏菲"
] | 王苏菲 |
6ff2d2d368cbb281c5fbdc4e621012390ba5f321 | 0f247bf2bc80abf94ea9f1939960a3cd7a6c45aa | /rb_tree.h | 4b21f83283fa18d7ca64967d88a6ed3eca195064 | [] | no_license | seawindy/Algorithm | 8d7ecce074ad6dc3acf846d277e0c3bfce80c070 | e126fbef8ad19121a3cf16be0d0077275650294b | refs/heads/master | 2021-04-06T06:11:10.750658 | 2018-03-11T15:14:03 | 2018-03-11T15:14:03 | 124,718,470 | 0 | 0 | null | 2018-03-11T07:18:39 | 2018-03-11T03:03:15 | null | UTF-8 | C | false | false | 259 | h | #ifndef __RB_TREE_H__
#define __RB_TREE_H__
struct rb_node {
unsigned int member;
struct rb_node *leftNode;
struct rb_node *rightNode;
};
rb_node * insert_RB(rb_node *root, unsigned int);
rb_node * delete_RB(rb_node *root, unsigned int);
#endif | [
"1928285729@qq.com"
] | 1928285729@qq.com |
84421f2d6505eef1c159883d4b6c0bf3ce151491 | 61387be85711cf03ca2cc4144c15369ee9a46796 | /zo-mb-es-defender/project.IOs/Project.IOs/Classes/Native/UnityEngine_UnityEngine_Events_UnityEvent_1_gen_1754861056.h | f947b05db44d446d4b15c51f7e09e645cdfaca57 | [] | no_license | hoangwin/raci-ngc-ar_Du-o-iHin-hBa-tC-Hu | 6bb6b64052f05bc4026e1cfc6e10844c3dfc574b | 29c4f918482e9b850503d9912ebdf7afdafcafed | refs/heads/master | 2021-01-10T10:00:33.196405 | 2016-08-14T23:06:31 | 2016-08-14T23:06:31 | 44,680,146 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 535 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object[]
struct ObjectU5BU5D_t_591698798_0;
#include "UnityEngine_UnityEngine_Events_UnityEventBase_449017582.h"
// UnityEngine.Events.UnityEvent`1<UnityEngine.EventSystem... | [
"hoang.nguyenmau@hotmail.com"
] | hoang.nguyenmau@hotmail.com |
546e3ccc2eac6504f8e834fb04c46464a8b81306 | fbd75759a01d1cb99629bcf28773cf121f50744a | /modules/modified_ble_nus/ble_nus.h | 8c63fec8238ef14548fe4e77b1b8e917a01c3605 | [] | no_license | slapab/dpf_pressure_firmware | 3f72b0fea822bfc18107381d89f6ed68f973d395 | 9d7967e1e7cda04297124705269c2d6cd904d452 | refs/heads/master | 2023-04-13T12:45:54.561646 | 2020-03-22T14:13:31 | 2020-03-22T14:13:31 | 249,178,003 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 7,348 | h | /**
* Copyright (c) 2012 - 2017, Nordic Semiconductor ASA
*
* 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... | [
"scott@localhost.localdomain"
] | scott@localhost.localdomain |
53c9a55d7e66df7f40679cea4090c80c8ae2341f | 273317824099a5cec5083a8179a0302cedb80a66 | /codec/fsl_codec_i2c.h | 09877a99974b50f32390ced3066219120b5cfe31 | [
"BSD-3-Clause"
] | permissive | wandering-sounds/speakEZ | 0322b8d5c42e76bf4adaa4f0f374d2b401ab8f58 | 641be325a1d69eecf8a316368c32b6c1d397af7b | refs/heads/master | 2021-01-07T02:18:07.024175 | 2020-02-27T03:37:27 | 2020-02-27T03:37:27 | 241,550,719 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,560 | h | /*
* Copyright 2019 NXP
* All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _FSL_CODEC_I2C_H_
#define _FSL_CODEC_I2C_H_
#include "fsl_common.h"
#include "i2c.h"
/*******************************************************************************
* Definitions
**********... | [
"create@wanderingsounds.com"
] | create@wanderingsounds.com |
bb00633b96e60e72e730b11f34d227a324365552 | 4496c639bd2c1320a14075ef7177e6bcea1b0625 | /src/launch.c | 083a24d8a4986f40d22b232764bd5eb280bc43ac | [
"Zlib"
] | permissive | PepperDev/micro-container | 65bd7e60183abb1d5bfd55b90e9eabaadfe72812 | 6c833e17ffb8e880064859157554def3317c60cf | refs/heads/master | 2023-04-22T11:07:15.398244 | 2023-02-16T17:46:01 | 2023-02-16T17:46:01 | 122,681,450 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,570 | c | #include "launch.h"
#include "proc.h"
#include "io.h"
#define _GNU_SOURCE // required for vfork, setreuid, setregid, setgroups, execvpe
#include <unistd.h>
#undef _GNU_SOURCE
#define _POSIX_SOURCE // required for setenv
#include <stdlib.h>
#undef _POSIX_SOURCE
#include <stdio.h>
#include <sys/type... | [
"tiagoapimenta@gmail.com"
] | tiagoapimenta@gmail.com |
147bfcf90680a3641dda536126268cd76c82567c | eb63afbb5a8bf84f589d033106e559718c747cab | /MDK-ARM/RTE/_STM32C8T6/RTE_Components.h | 4e5057cdefaca0bf8fc15b560ae420221d1ccf8d | [] | no_license | GKoSon/tuyago | fdbf627de13839ca3b7ae289f91e7de95025edd7 | 676fcbf2c01e298329582e83a114f6328dbffe5c | refs/heads/master | 2023-03-29T22:50:08.071132 | 2021-03-28T02:55:58 | 2021-03-28T02:55:58 | 344,714,495 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 330 | h |
/*
* Auto generated Run-Time-Environment Component Configuration File
* *** Do not modify ! ***
*
* Project: 'STM32C8T6'
* Target: 'STM32C8T6'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_device_header "stm32f10x.h"
#endif /* RTE_COMPON... | [
"18818209416@139.com"
] | 18818209416@139.com |
2149020ed688ff561d3e84e2b0dc03833161926e | e632d713d63901c06189e2240e68ffab71b39f25 | /V2Analyzer/macros/compareAch_ver2.C | e45f98ddb2b5e04b96fc9f55892d08ff0612ca94 | [] | no_license | SangeonPark/Flow | 0736aa715bd30cb136e59bf8d097a033c70df6b9 | 84a65d9014b8b1d795545ef4e23f3da2e1750eee | refs/heads/master | 2020-05-21T17:52:58.372744 | 2017-01-25T17:13:34 | 2017-01-25T17:13:34 | 59,998,012 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,366 | c | #include "RiceStyle.h"
void compareAch_ver2()
{
TH1D* ChargeAsym;
TH1D* weiAch;
TH1D* myAch;
TH1D* myAchtemp[7];
gStyle->SetLegendFont(42);
TCanvas *c1 = new TCanvas("c1","show profile",1,1,600,600);
c1->cd();
f = new TFile("~/Summer2016/rootfiles/autocorr_Merged.root");
weiAch = (T... | [
"sp35@rice.edu"
] | sp35@rice.edu |
e339a1df0096ee15dafdfdafcfa541a99095d032 | 390779a53f605b3275db74c5a092db35a7375e24 | /derivatives/freesurfer/sub-043/surf/lh.inflated.H | eccc6c0664e08217e662264d8e265033c955f43a | [] | no_license | OpenNeuroDatasets/ds001734 | 65f26497304dfd18bbaa0930a4c2500d4127b0e3 | 0ad017e7f83ecda943fb85cc93bb3a8a122b2e60 | refs/heads/master | 2021-07-10T13:27:39.771755 | 2020-05-07T20:10:08 | 2020-05-07T20:10:08 | 186,529,946 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 134 | h | ../../../../.git/annex/objects/FQ/KV/MD5E-s672583--b0b6250fbdd010473c350107b3f9a0ba.H/MD5E-s672583--b0b6250fbdd010473c350107b3f9a0ba.H | [
"git@openneuro.org"
] | git@openneuro.org |
8f2aba567213dbb082b6a60c52a34e14352f9c88 | d9ef4bd57ac073cce1d05ab5ee250279358c6554 | /libft/ft_putendl_fd.c | 33197d3b583e1d7f6155243aa25d8cfdfb28ecb2 | [] | no_license | phperrot/cub3d | 58429c1271fce5451f9c77a24cf281707d5cb155 | 201d420531f2e73a1a16857f7a63e9b6d95c2404 | refs/heads/master | 2022-04-29T22:13:45.873132 | 2022-03-17T07:50:47 | 2022-03-17T07:50:47 | 241,887,420 | 29 | 9 | null | null | null | null | UTF-8 | C | false | false | 1,000 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl_fd.c :+: :+: :+: ... | [
"noreply@github.com"
] | phperrot.noreply@github.com |
37c03800d23cb4e6828633a6d137622f9a795065 | a4d8e1f9c678c4b780f7da51e0b145798825b725 | /vyqchat/m_freeimage.h | 4f2691f63af4d1c3379d098f80edf26f70284b73 | [] | no_license | Sebijk/miranda-im-plugins | 029c34494c0fe4bdb76a32157b6aafe6284b53d3 | ee668504f24cb78806054dc50753a540f14d30f3 | refs/heads/master | 2021-07-08T15:39:53.120873 | 2020-06-27T13:06:54 | 2020-06-27T13:06:54 | 130,753,055 | 0 | 0 | null | null | null | null | ISO-8859-1 | C | false | false | 44,999 | h | // ==========================================================
// FreeImage 3
//
// Design and implementation by
// - Floris van den Berg (flvdberg@wxs.nl)
// - Hervé Drolon (drolon@infonie.fr)
//
// Contributors:
// - Adam Gates (radad@xoasis.com)
// - Alex Kwak
// - Alexander Dymerets (sashad@te.net.ua)
// ... | [
"noreply@github.com"
] | Sebijk.noreply@github.com |
12afe2ae3681069910a676507a710aad2fd7dd16 | c05f9f6817f74263bdc078d3872ba8fab6f1b09b | /1495629452.c | a7431f17b955d2911942e47bbd3ba63f4b51abc2 | [] | no_license | Saisi/secret-octo-wookie | 71aa331779216775ee10d8d0a738dd364a5c5202 | a8e52e3fed94ab6993d4baaeaa926d659cac3735 | refs/heads/master | 2021-01-23T18:59:00.780545 | 2017-06-03T05:33:28 | 2017-06-03T05:33:28 | 25,811,730 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 456 | c | /*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.2.0
* Git version: dcef523
* Options: (none)
* Seed: 4159735784
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
union U0 {
volatile uint32_t f0;
const uint32_t f1;
const volatile uint3... | [
"saisi@users.noreply.github.com"
] | saisi@users.noreply.github.com |
71ca63f3171c52ae74f112ebca07f6f71c115fcc | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/u-boot_new/drivers/video_sunxi/sunxi_v3/de/lowlevel_sun50iw1p1/de_lcd.c | 9a94d95f8d3d2d26d98107a6ad89bc31228baef3 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"GPL-2.0-or-later"
] | 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 | 35,743 | c |
#include "de_lcd_type.h"
#include "de_lcd.h"
static volatile __de_lcd_dev_t *lcd_dev[2];
extern s32 disp_delay_us(u32 us);
extern s32 disp_delay_ms(u32 ms);
s32 hmdi_src_sel(u32 sel)
{
lcd_dev[0]->tcon_mul_ctl.bits.hdmi_src = sel;
return 0;
}
s32 dsi_src_sel(u32 sel)
{
lcd_dev[0]->tcon_mul_ctl.bits.dsi_src = sel... | [
"gamishev@gmail.com"
] | gamishev@gmail.com |
5da4db28c562c1febb82383b20e042b04e47925f | 2758462b415a66359afe8a0dda7dddf22cd39d66 | /src/dhcpd-pools.c | 79afc21663e2dce1d3f79aa4bad4b1bfb2bf4d06 | [
"BSD-2-Clause"
] | permissive | bg6cq/dhcpd-pools-cn | 70430d9c1553d868e64d8fc1e8e3dcbd1d8a4f82 | 0b08894dd03469392a09a54783c171562acdea9c | refs/heads/master | 2021-09-02T07:11:44.820846 | 2017-12-31T09:44:18 | 2017-12-31T09:44:18 | 115,483,045 | 0 | 2 | null | 2017-12-31T09:44:19 | 2017-12-27T04:58:32 | C | UTF-8 | C | false | false | 11,041 | c | /*
* The dhcpd-pools has BSD 2-clause license which also known as "Simplified
* BSD License" or "FreeBSD License".
*
* Copyright 2006- Sami Kerola. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
... | [
"james@ustc.edu.cn"
] | james@ustc.edu.cn |
a12d286b8e19e337b663840564b6b434d254a399 | e46b909cdf0361f6c336f532507573c2f592cdf4 | /catboost/libs/algo/apply.h | 5a82a431f71a0fcf9070dcd13e7080343127bcf3 | [
"Apache-2.0"
] | permissive | exprmntr/test | d25b50881089640e8d94bc6817e9194fda452e85 | 170138c9ab62756f75882d59fb87447fc8b0f524 | refs/heads/master | 2022-11-01T16:47:25.276943 | 2018-03-31T20:56:25 | 2018-03-31T20:56:25 | 95,452,782 | 0 | 3 | Apache-2.0 | 2022-10-30T22:45:27 | 2017-06-26T14:04:21 | C++ | UTF-8 | C | false | false | 1,437 | h | #pragma once
#include "index_calcer.h"
#include <catboost/libs/data/pool.h>
#include <catboost/libs/model/model.h>
#include <catboost/libs/model/formula_evaluator.h>
#include <util/generic/vector.h>
TVector<TVector<double>> ApplyModelMulti(const TFullModel& model,
const TPoo... | [
"exprmntr@yandex-team.ru"
] | exprmntr@yandex-team.ru |
a234f22c9a54e29f356b00c3cce7d9fc92bde63c | c04836828b9305101eff20499a8196d9089f90d5 | /computer_architecture/optimization/6-1.c | f2e3e800ca36ae8b4ee33e3b80885bcfaa01026f | [] | no_license | alyssakelley/projects_in_c | cc82af20c631a1d37e215051b36bcbe85f9c91d4 | f57409d947e1d5adddf53dae9ba644851f9e99cb | refs/heads/master | 2020-12-11T23:35:57.885893 | 2020-01-15T02:56:57 | 2020-01-15T02:56:57 | 233,984,753 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,333 | c | // Author: Alyssa Kelley
// Assignment 6 - Part 1
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define N 800
typedef int array_t[N][N];
int dim()
{
return N;
}
void old_f(array_t a, int x, int y)
{
for (int i = 0; i < dim(); ++i)
{
for (int j = 0; j < dim(); ++j)
{
a[i][j] = i * x * y... | [
"abkelley97@gmail.com"
] | abkelley97@gmail.com |
f3d622977387ab69b8a405216d40d6c1751321bc | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/a2799aae-0438-4edf-b7b4-844006a62935.c | c2e9af0c611ce925a18486f4a489c177e10867cb | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944740 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 605 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=4;
int j=12;
int k;
int l;
l = 53;
l = 64;
k = i/j;
k = i/j;
l = l%j;
l = l-j;
k = k-k*i;
//variables
//random
/* START VULNERABILITY */
int a;
long b[18];
long c[73];
a = 0;
while (( a - 1 )... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
3808bc59e0d1070766aabb89dc4e850147a7112b | d0fcf3a4d6e81d518d1e43cea603b9689904a06f | /philo_two/philosophers.h | 5186f757d1b9cd10a2231afdfc20ca41758b904b | [] | no_license | janusz1995/philoshophers | 3a5116525bb2044522d0447a0d4e049c659510b5 | 58eb6256c544ee6fd885ce82a1bca6a4897f1617 | refs/heads/master | 2023-01-13T17:14:36.440464 | 2020-11-19T15:32:19 | 2020-11-19T15:32:19 | 313,007,849 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,441 | h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* philosophers.h :+: :+: :+: ... | [
"drina@ox-f3.msk.21-school.ru"
] | drina@ox-f3.msk.21-school.ru |
4ae00b338d34f254fd619d808994390114ad9f37 | 6f2a1e93079a0bff0da773d5fc377986ef5a7dc9 | /app/src/main/cpp/render/opengl_helper.h | 64d70f70bd353b82335b713e5c14486ff01d4347 | [] | no_license | mydecember/player | 17877dc5d8f035c0423fa953a3646b4d97bfa090 | b797d800cd3daa5d55dda8675b4ec19be9bd7977 | refs/heads/master | 2021-01-30T19:51:41.791703 | 2020-04-06T15:19:10 | 2020-04-06T15:19:10 | 243,505,938 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 388 | h |
#ifndef __OPENGL_HELPER__
#define __OPENGL_HELPER__
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
GLuint glhelp_create_texture_id(GLenum target);
GLuint glhelp_create_program(const GLchar *vertex_shader, const GLchar *fragment_shader);
#define CHECK_ERROR(label) if (glGetError() != GL_NO_ERROR) goto label;
#defi... | [
"zhaofuqiang@xiaomi.com"
] | zhaofuqiang@xiaomi.com |
d5f8ccbe2f78b3a7d92284be87511e8f15ff53b8 | b31455b2a61a166ad13efc9394eb6b5ca9d958c0 | /board/eve/usb_pd_policy.c | b6cdeb4b5a33aba623e634d626f63635994fd3cf | [
"BSD-3-Clause"
] | permissive | nishuaidai/google-ec | 8cb7dd5fc02f9756c988eadb2c1a6f072135c96a | b52f9b8ea614804e5e198f00cc24a5084e14470e | refs/heads/master | 2020-09-09T13:17:34.374059 | 2017-08-28T20:57:05 | 2017-08-30T10:58:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 11,841 | c | /* Copyright 2016 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.
*/
#include "atomic.h"
#include "extpower.h"
#include "charge_manager.h"
#include "common.h"
#include "console.h"
#include "driver/charger/bd9995x.h"
... | [
"chrome-bot@chromium.org"
] | chrome-bot@chromium.org |
e48d6c7a86bdb3443b22f10d3f37520cef10f148 | 7f47f810fb9c103144969086cd4d94c6439cdba7 | /Chapter-09/exercises/ex9_16.c | 77698404c0e7d78772c918fd6b3505afa6c3206f | [] | no_license | GSantos23/C-Programming_King | c24b10a1a7ab0921eacb6e00ef356a730df41707 | e6cb0dd101a27f9a5ca4e38e38cac335ca43c41d | refs/heads/master | 2021-07-20T18:14:00.013087 | 2021-07-06T21:35:59 | 2021-07-06T21:35:59 | 156,139,229 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 391 | c | /*
Condense the fact function in the same way we condensed power
*/
#include <stdio.h>
// Fact function, page 204
/*
int fact(int n)
{
if (n <= 1)
return 1;
else
return n * fact(n -1);
}
*/
int fact(int n)
{
return n <= 1 ? 1 : n * fact(n-1);
}
int main(void)
{
int result = 0;
re... | [
"santosgerson64@gmail.com"
] | santosgerson64@gmail.com |
d3446e41b23d79b3f10715ad7b61ac38c8db5104 | d1ee6c7f462356203caca84e40a9d42f35d5ad69 | /Perulangan/pola_i.c | 461ddcb7a0b491802ddbcbd7b057af5a1ca6b483 | [] | no_license | aimarwibowo46/toki | f50d8fdb9135ba0812983503ea7fa354d67489dc | 0ad381bb4e8a5e0a0a2b6a67693b147c3fe7c62b | refs/heads/main | 2023-02-03T06:16:56.541477 | 2020-12-23T11:24:29 | 2020-12-23T11:24:29 | 323,881,479 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 225 | c | #include <stdio.h>
void main() {
int a, b, i;
scanf("%d %d", &a, &b);
for(i=1; i<=a; i++) {
if(i%b == 0) {
printf("*");
} else {
printf("%d", i);
}
if(i!=a) {
printf(" ");
}
}
printf("\n");
}
| [
"aimarwibowo46@gmail.com"
] | aimarwibowo46@gmail.com |
a6c1339ec5d000db911c14ac5e459978ddb143a8 | b971a90cae26aa076f474e87fda647f29679f999 | /Practica12/include/arboles.h | 8ca46b626144b6e2642369ecfcfc6f3b0138a0c3 | [] | no_license | Albermonte/Programacion | 16d0a75faf8d2e5bbafb55c90e5ed3dab596afb7 | eb0de088f30ebbf55dfa7942b158418be8630cf3 | refs/heads/master | 2021-07-11T07:38:54.802649 | 2021-04-11T11:42:26 | 2021-04-11T11:42:26 | 82,828,260 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,805 | h | /*
* arboles.h
*
* Created on: Jan 26, 2017
* Author: Departamento de Automática - UAH
*/
#ifndef ARBOLES_H_
#define ARBOLES_H_
// Estructura de un nodo de árbol binario
// Representa puntos de un mapa y las distancias entre ellos.
struct Punto
{
char id; //Identificador del punto
float distancia; ... | [
"alberto.monterroso@hotmail.com"
] | alberto.monterroso@hotmail.com |
6592735c8f7e0330edb5c0269e81efc607d8f331 | abd32296585618b20ceee5990b4e81002613878c | /examples/sample.source.PKIX1/TeletexDomainDefinedAttribute.c | f6529341fd6b693bd8abaa4e9be2de32a6e5cd0f | [
"BSD-2-Clause"
] | permissive | dmbaggett/asn1c | 564b53dc9dd44d7c3b4aa498ab1f9b8e1076b588 | ed65a4ec1c9e07254fd830f4a8fdc657b27bee6a | refs/heads/master | 2021-01-16T19:42:57.153649 | 2013-03-06T20:59:52 | 2013-03-06T20:59:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,561 | c | /*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "PKIX1Explicit88"
* found in "../rfc5280-PKIX1Explicit88.asn1"
* `asn1c -S ../../skeletons`
*/
#include "TeletexDomainDefinedAttribute.h"
static int
memb_type_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_const... | [
"dmb@arcode.com"
] | dmb@arcode.com |
b622378d8d7f287e5fb94658499d4dcb4bf40916 | c56a1b4130a2ce24f478142cbb83f1aeaaf9f07f | /Examples/C8051F326_7/USB_HID/HIDtoUARTExample/F3xx_USB0_Descriptor.c | a016ec0fec54518bcd8efcb989c4969a95adc03d | [] | no_license | ee230/C8051F | 3f17498bfb81f09b19ed62095f34077a5818cc61 | 745f76a39709e31c882c674ecd0dfcc0a840e553 | refs/heads/master | 2021-08-15T22:39:02.329747 | 2017-10-18T13:06:00 | 2017-10-18T13:06:00 | 111,205,934 | 8 | 6 | null | null | null | null | UTF-8 | C | false | false | 7,609 | c | //-----------------------------------------------------------------------------
// F3xx_USB0_Descriptor.c
//-----------------------------------------------------------------------------
// Copyright 2008 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// Stub file for Firmware Template... | [
"aa@bb.com"
] | aa@bb.com |
6852d9274f10eec232e955b4f3c0845ab97d673d | 4b2244643665cce164c3739f845308d96bb9c8d3 | /ProblemSets1/ps1/task_5.c | a4c69ef9c044ad9dcc96cc13f8555c51d6a8441f | [] | no_license | StasMercer/CProjects | 95c3152d4115cc311c01d3076ddf14b68084576d | 7a4b94ee6e0acb12618ec62ffb5185fdd9324680 | refs/heads/master | 2023-04-04T19:28:56.056070 | 2021-04-16T13:19:48 | 2021-04-16T13:19:48 | 358,606,090 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,791 | c | #include <superkarel.h>
void turn_right();
void go_forward();
void face_north();
void face_east();
void face_west();
void face_south();
void step_back();
bool is_beeper_front();
void get_center_x();
void get_center_y();
bool beetwen_beepers();
void turn_back();
void find_center();
int main(){
turn_on("task_5.kw... | [
"mercerstas@gmail.com"
] | mercerstas@gmail.com |
e8b7c40d56d39c19e18cab165c2906f78b288a2b | 42601acd36fa9c8dfab2e72adb674ab3aea367cc | /experiment-3-code-transformation/Associative_memory.c | 426bed21c2326cdfada1a0b6e5ff24757abd0cb7 | [
"MIT"
] | permissive | DHLSan/HDAcc | 93f7fc071e55aa0dd64963e84f4f355a15d09b1f | 2eed872c2f3a6fb3618869892b3cde0ab5dd85a4 | refs/heads/main | 2023-06-05T08:47:49.594410 | 2021-07-04T09:54:00 | 2021-07-04T09:54:00 | 346,435,824 | 4 | 1 | null | null | null | null | UTF-8 | C | false | false | 601 | c | #include <stdio.h>
#include <stdlib.h>
struct AM
{
int key ;
char* value ;
};
struct model
{
int D = 10000 ; // dimension of hypervector
int N ; // size of N-gram
int noch = 4 ; // number of input channels
};
int i = 0;
int main(void)
{
int number_of_keys = 4;
struct AM *kv = malloc(sizeof(st... | [
"noreply@github.com"
] | DHLSan.noreply@github.com |
1162bf69038107b43b8362307627f05785961b14 | 9c0101445f5c0394e3a2b26c23970d0d1f390b95 | /example/sarray.c | 96c8c9b7ab31c30340e513860b703bbd0e1cf0b7 | [] | no_license | heybeachboy/clang | 631adb0005df51f0a843e1b24723ed9f82a1ccb8 | 8d59eb742cce09f037fa31d947d08d6a093e432b | refs/heads/main | 2023-02-16T13:01:25.235149 | 2021-01-18T15:51:27 | 2021-01-18T15:51:27 | 330,667,881 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 443 | c | #include <stdio.h>
void test(const char ** x, int len) {
for(int i = 0; i < len; i++) {
printf("test: %d = %s\n", i, *(x + i));
}
}
int main(int argc, char * argv[]) {
char * a = "aaa";
char * b = "bbb";
char * c = "ccc";
const char * ss[] = { a, b, c };
for(int i = 0; i <... | [
"mr.zhou.leon@gmail.com"
] | mr.zhou.leon@gmail.com |
fe76d794c1f12c8cfd1fe251015ab31bfc1f9539 | 42089f96f515b3e4a32461300108f6fb80d3fafd | /AulaMOC32/BSP.h | 48c1e651971baf01f489e3a0f80586c96d43e03b | [] | no_license | mauortega/Texas-LaunchPad-and-BoosterPack-MK-II | c4a08cae808810ef75a56505348bf60e264f3e6c | e0ac9197d5cb2297694352dfd76feb18be4b8b2b | refs/heads/master | 2020-05-05T07:41:05.165468 | 2019-03-31T22:05:18 | 2019-03-31T22:05:18 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C | false | false | 38,727 | h | // BSP.h
// Runs on either the TM4C123 or MSP432 with an Educational BoosterPack MKII (BOOSTXL-EDUMKII)
// This file contains the function prototypes for the software interface to the MKII BoosterPack.
// This board support package (BSP) is an abstraction layer,
// forming a bridge between the low-level hardware and ... | [
"leandro.poloni@gmail.com"
] | leandro.poloni@gmail.com |
4beda9f62aaf4736bb77bd4c5a04d7aea753caed | 9e635cbe3fcf9f5ecef1c49683c235df43af0d4b | /0x0C-sockets/src/todo_api_2.c | a583d0bbbabe892bd4d2f7ea24c4a46efba9d31c | [] | no_license | patrickdeyoreo/holbertonschool-system_linux | 3d6e36cdcffb909b2f246c9042db36b963da2540 | c5e574534d3f791ee65cfe5b833da19c94be0251 | refs/heads/master | 2023-03-07T21:47:27.581765 | 2021-02-18T02:54:47 | 2021-02-18T02:54:47 | 280,771,938 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 972 | c | #include <stdio.h>
#include <string.h>
#include "api.h"
#include "dict.h"
#include "http.h"
#include "server.h"
#include "util.h"
/**
* main - entry point
*
* Return: If an error occurs, return EXIT_FAILURE.
* Otherwise, return EXIT_SUCCESS.
*/
int main(void)
{
return (start_server(PORT));
}
/**
* handle_requ... | [
"pdeyoreo@gmail.com"
] | pdeyoreo@gmail.com |
fd0991d50b3f8d5e9b05066c64232570036cd807 | cbc2d1c04711e60a3f76f9cb9c5c28717185d0a1 | /sdp-test/sdp.h | e142d95806fde7d73cc9452d285f5dfddcb99b1e | [] | no_license | kim0051/HIDSlave | c3805d16c65937ef4ea48753e678b0246b378947 | d25b8d1f0e7611bfe42314c6dcfdf1e10c993e13 | refs/heads/master | 2020-12-28T23:35:05.849517 | 2011-04-14T20:29:07 | 2011-04-14T20:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 245 | h | /*
* xkbd-bthid
*
* Collin R. Mulliner <collin@betaversion.net>
*
* http://www.mulliner.org/bluetooth/
*
* License: GPL
*
*/
#ifndef __SDP_H__
#define __SDP_H__
void sdp_add_keyboard();
void sdp_remove();
void sdp_open();
#endif
| [
"etienne.brodu@insa-lyon.fr"
] | etienne.brodu@insa-lyon.fr |
f329f6002d37d0272672506b437f2f9a43fbb02b | de8c0ea84980b6d9bb6e3e23b87e6066a65f4995 | /3pp/linux/drivers/gpu/drm/nouveau/nouveau_vga.h | 951a83f984dd94606904be2609732822959e7278 | [
"Linux-syscall-note",
"GPL-2.0-only",
"MIT"
] | permissive | eerimoq/monolinux-example-project | 7cc19c6fc179a6d1fd3ec60f383f906b727e6715 | 57c4c2928b11cc04db59fb5ced962762099a9895 | refs/heads/master | 2021-02-08T10:57:58.215466 | 2020-07-02T08:04:25 | 2020-07-02T08:04:25 | 244,144,570 | 6 | 0 | MIT | 2020-07-02T08:15:50 | 2020-03-01T12:24:47 | C | UTF-8 | C | false | false | 238 | h | /* SPDX-License-Identifier: MIT */
#ifndef __NOUVEAU_VGA_H__
#define __NOUVEAU_VGA_H__
void nouveau_vga_init(struct nouveau_drm *);
void nouveau_vga_fini(struct nouveau_drm *);
void nouveau_vga_lastclose(struct drm_device *dev);
#endif
| [
"erik.moqvist@gmail.com"
] | erik.moqvist@gmail.com |
1aaecdfed31bad2611bc6a182782b244874f3bc5 | 883e815a8d3dd9ea4e82b464ee7bc44c4fa13e15 | /postgres/postgresql-8.3.9/src/bin/pg_dump/pg_backup_null.c | f31a173ce1fe3baea83567c73cbb945179503ff3 | [
"PostgreSQL"
] | permissive | KunZheng/mosbench | e73a79aa2426f6ec93882af9e85abe7e01300826 | c250c395fab356ab83413db43bf9844cb4f63d4f | refs/heads/master | 2020-05-18T14:07:55.438038 | 2013-03-04T21:06:55 | 2013-03-04T21:06:55 | 25,909,871 | 4 | 4 | null | null | null | null | UTF-8 | C | false | false | 5,095 | c | /*-------------------------------------------------------------------------
*
* pg_backup_null.c
*
* Implementation of an archive that is never saved; it is used by
* pg_dump to output a plain text SQL script instead of saving
* a real archive.
*
* See the headers to pg_restore for more details.
*
* Copyright... | [
"aclements@csail.mit.edu"
] | aclements@csail.mit.edu |
100905a2592794241d0c180650f84853cea6a40d | a070dd5f80fa020c6e5d1dc7009419f5ab763032 | /mediatek/platform/mt6572/kernel/core/include/mach/mt_freqhopping.h | 279c1ed7cb705c37f2597183508b8a2d479580b0 | [] | no_license | kirito96/android_kernel_alcatel_4035 | d3438491a0e9cddaec771e6be966f96c096a27b9 | c234b2b2837b73b330bacaddea60eaea3937cc6d | refs/heads/master | 2021-01-13T10:45:09.696406 | 2016-12-18T17:32:54 | 2016-12-18T17:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,361 | h |
#ifndef __MT_FREQHOPPING_H__
#define __MT_FREQHOPPING_H__
#include "mach/mt_typedefs.h"
#include "mach/mt_fhreg.h"
#define MT_FREQHOP_DEFAULT_ON
#ifdef __MT_FREQHOPPING_C__
#define FREQHOP_EXTERN
#else
#define FREQHOP_EXTERN extern
#endif
#define FHCTL_SUCCESS 0
#define FHCTL_FAIL 1
#define FHDMA_MODE_IDENTICA... | [
"aquammie96@gmail.com"
] | aquammie96@gmail.com |
2487440e60f77ad76b281c4e92be30033e044270 | 62a9961bfabc1955c7eac0acb4a35bd6dca1d156 | /Calmari/Mirror/mirror_fmw/delay_util.c | 14ef7463ec2081c00140196615e1a915f8938d0c | [] | no_license | jordoin/nute | 712ffe2aaf57ac41e44004613bc727a35ad123e0 | 830adcd3bd5386d03d8d49ab422f5f568643adb5 | refs/heads/master | 2021-01-17T07:00:40.751579 | 2015-03-28T20:05:30 | 2015-03-28T20:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,043 | c | #include <avr/io.h>
#include "delay_util.h"
#include "common.h"
volatile uint16_t TickCounter;
FORCE_INLINE void DelayInit(void) {
// Millisecond timer initialization, with output compare interrupt enabled
TCCR1A = 0;
TCCR1B = (0<<WGM13)|(1<<WGM12)|(0<<CS12)|(1<<CS11)|(0<<CS10); // CTC mode, 1 MHz/8 = 12... | [
"laellin@3623c4fa-fa74-b9b9-717e-9badfcd41e35"
] | laellin@3623c4fa-fa74-b9b9-717e-9badfcd41e35 |
1522ed462d931fafea5a824ab58012beb1215a96 | 7208b75dc811d1a051dfe502a3513509d44d66cc | /Firmware/RTApp/DI/DIDriveMsg.h | 6c4b325f1dac22d8023b4b6ce525459fd5a0b500 | [
"MIT"
] | permissive | cal7stkfHt2QY/Cactusphere-100 | 26c113c8182b2cd6e8295292adf5c2c6a78ac00a | f9da3983e0f6d9453c62281c882da16e76605ef5 | refs/heads/master | 2022-11-16T06:49:07.644792 | 2020-07-08T02:27:42 | 2020-07-08T02:27:42 | 280,097,002 | 0 | 1 | null | 2020-07-16T08:24:33 | 2020-07-16T08:24:32 | null | UTF-8 | C | false | false | 2,912 | h | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Atmark Techno, Inc.
*
* 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
* ... | [
"naomi.todori@atmark-techno.com"
] | naomi.todori@atmark-techno.com |
9511570f8ce5d7f00f599f18ee5b5626efd38762 | 1fa8036d35d797b725fabd464f47361ae5c36e3e | /src/compiler.h | 074894af8a8ecd7deab6b438feccaf16589c488b | [] | no_license | sysprog21/bf-runtime | ae06e1dda21932579156d2f3e6b6e811a54f3add | 3b069079392b8a633805b9233db0761ad595d144 | refs/heads/master | 2021-01-18T22:23:34.743650 | 2017-03-13T01:11:43 | 2017-03-13T01:11:43 | 72,517,649 | 1 | 3 | null | 2017-03-13T01:11:44 | 2016-11-01T08:27:39 | C | UTF-8 | C | false | false | 1,504 | h | #ifndef _BF_COMPILER_H_
#define _BF_COMPILER_H_
#include <stdlib.h>
#include <stdbool.h>
#include "vm.h"
typedef enum {
BF_ADD,
BF_SFT,
BF_PUT,
BF_GET,
BF_CLEAR,
BF_MUL
} bf_op_type;
typedef struct {
const char* filename;
int fd;
char* code;
size_t code_size;
} bf_state;
s... | [
"jserv.tw@gmail.com"
] | jserv.tw@gmail.com |
5a56936f7cf4bc17ea1cd0efdb124accad9a08dc | de176335eb8caf8c5de2f25a987eea5b8f23d78d | /sysroot/usr/include/kernel/kb.h | 1b80d2648775bdd9783a21b6a8fb05348c6e96ac | [] | no_license | iammaguire/casteOS | 40cf8fa6ea1e091c696c38b57df7c5472a8532ca | 5816b4e513ff685f995da6ce52e55907cc95c6f5 | refs/heads/master | 2022-05-31T02:00:28.714049 | 2016-07-15T21:23:28 | 2016-07-15T21:23:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,436 | h | #define KB_BUF_SIZE 20
#define MAX_HOOKS 100
enum kbOpts
{
LSHIFT = 0x01,
CTRL = 0x02,
LALT = 0x04,
CAPS_LOCK = 0x08,
RALT = 0x10,
RSHIFT = 0x20
};
struct kb_hook_struct
{
void* func;
int key;
} __attribute((packed));
typedef struct kb_hook_struct kb_hook_t;
unsigned char kbdus[128] =
{
0, 27, '... | [
"connorperkins@cox.net"
] | connorperkins@cox.net |
28a6ad70fbe51f70ed4ee4d697eb56f793b30233 | 6f90de50c2e2c56fd1192bcaaed1543e0d1bc9f1 | /ip_repo/xilinx_com_hls_hls_hotspot_1_0/drivers/hls_hotspot_top_v1_0/src/xhls_hotspot.c | 8c9c3e286aa7f22337e92c774cafc68165be755b | [] | no_license | amirzainol/cpcie-hotspot | ea3d7b94fe1fa31612b275d4d5aa97cdf1696e22 | 1e3694b7cb4d0029828637022c716218b7b10ea0 | refs/heads/master | 2021-06-05T12:18:24.651103 | 2016-10-24T09:06:36 | 2016-10-24T09:06:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,321 | c | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2014.4
// Copyright (C) 2014 Xilinx Inc. All rights reserved.
//
// ==============================================================
/******************... | [
"noreply@github.com"
] | amirzainol.noreply@github.com |
04f5bfeb1c1734cea86410ea8b045801bf98e4ee | 0b90d18bf8e2000d3c47a17f3403be51b4a8ecd8 | /src/Core/Math/LinAlg.h | 1de09b06fdc3f4c00c6503c28342e94d44d2cdc1 | [
"MIT"
] | permissive | merced317/scirun4plus | c3d8d65dd68f9d119b43cf084ea8b9d94921ce33 | f29630e03d3cf13c0ce8b327676ad202e3981af0 | refs/heads/master | 2020-12-10T19:20:18.401161 | 2018-06-27T09:21:54 | 2018-06-27T09:21:54 | 233,683,375 | 0 | 0 | null | 2020-01-13T20:09:14 | 2020-01-13T20:09:13 | null | UTF-8 | C | false | false | 2,148 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | [
"ppetrov@joker.umcutrecht.nl"
] | ppetrov@joker.umcutrecht.nl |
50cc5a8d4602041949135c340a91f939ec121910 | 7470a3a9fdc58d682cc9b900e52b533c68546457 | /SHEET/4.11.c | 11023ecf0a1ee74c885adb865be2b35cc125b264 | [] | no_license | touhiduzzaman-tuhin/c-code-university-life | 6344d2ead67ed6d2f0c3222c6bfcc5f1da7f10ae | e1ec70d08d2f8775ad1fba2c7bfa710470392449 | refs/heads/master | 2023-03-14T12:00:47.696819 | 2021-03-06T18:49:53 | 2021-03-06T18:49:53 | 332,627,421 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 508 | c | #include<stdio.h>
int main()
{
int n;
printf("Enter the mark : ");
scanf("%d", &n);
if(n >= 80){
printf(" Grade is A+");
}
else if(n >= 70){
printf("Grade is A");
}
else if(n >= 60){
printf("Grade is A-");
}
else if(n >= 50){
printf("Grade is B"... | [
"touhiduzzamantuhin95@gmail.com"
] | touhiduzzamantuhin95@gmail.com |
675e64b6ded88b811efe07d0123ad94c2ec6f475 | f6bb9ec7e79aef377a492157857576c9cd1a9036 | /mbed_config.h | 82c772641cee6a8518ca4e8882519bbe91c87533 | [] | no_license | BloodyF/lsn50_mbed | 66762c0857375ff7fb8f1b472567858e2294fbc4 | de4367104e4ffc8be856364b2f91f8778a71ed58 | refs/heads/master | 2020-03-31T05:35:45.339483 | 2018-10-07T15:40:14 | 2018-10-07T15:40:14 | 151,951,914 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 28,351 | h | /*
* mbed SDK
* Copyright (c) 2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | [
"iotserver0703@gmail.com"
] | iotserver0703@gmail.com |
246e7766accca0bfe5cb5a8a82afa02c84472589 | bcd32907dc7b292350371ac5cc9b67bd3b7a99c2 | /development/core/src/include/SOCmnCfg.h | 2cdc6df6bd87d390c5792f9451009ac13d9aeb09 | [
"MIT"
] | permissive | SoftingIndustrial/OPC-Classic-SDK | c6d3777e2121d6ca34da571930a424717740171e | 08f4b3e968acfce4b775299741cef1819e24fda1 | refs/heads/main | 2022-07-28T14:53:00.481800 | 2022-01-17T13:58:46 | 2022-01-17T13:58:46 | 335,269,862 | 41 | 16 | MIT | 2022-01-17T15:11:39 | 2021-02-02T11:43:04 | C++ | UTF-8 | C | false | false | 11,137 | h | //-----------------------------------------------------------------------------
// Supported defines:
//
// Operating systems:
// SOOS_WINDOWS : Microsoft Windows operating systems
// SOOS_WINDOWS_CE : Microsoft Windows CE and Windows CE .NET
// operating systems.
// ... | [
"35690118+FischerSeb@users.noreply.github.com"
] | 35690118+FischerSeb@users.noreply.github.com |
301e93db2abd0ba6cc75ea20ca529025bb55059d | 196219141cc6e4b8adc307fc23e19bba2db49961 | /2/rw_lock.h | 77f6657fc5b901f3f02cdd21e6f16f802a42052b | [] | no_license | JeHwanYoo/os-thread | 8f465e2dce922d495df74438264e0ba927f1cffe | 654c6290277f5aad21482384055760475709f6a1 | refs/heads/main | 2023-04-27T03:16:16.588080 | 2020-11-04T10:02:26 | 2020-11-04T10:02:26 | 308,863,143 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 460 | h | #include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#define MAX_THREAD_SIZE 1000
struct rw_lock
{
int lock; // -1: read, 0: unused, 1: write
int read_length;
};
void init_rwlock(struct rw_lock * rw);
void r_lock(struct rw_lock * rw);
void r_unlock(struct rw_lock * rw);
void w_lock(stru... | [
"yoojehwan1875@gmail.com"
] | yoojehwan1875@gmail.com |
f4615354c9b6c8b89e62e7f0337457b34255ae1c | 81dc46d55f0f568524328ec197a7ec8aa19b21aa | /src/array_utils.c | 0609802df31b3fc95b571390cf143c0feec680b7 | [] | no_license | BulaevAleksander/libft | f68a7dff09e7f5c0bb43d795543f4fe5ac0ec151 | 81355b1c39f6695446e71dc0f76cb4f37bcf0a45 | refs/heads/main | 2023-02-14T01:32:56.567043 | 2021-01-12T14:11:26 | 2021-01-12T14:11:26 | 328,998,909 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,070 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* array_utils.c :+: :+: :+: ... | [
"noreply@github.com"
] | BulaevAleksander.noreply@github.com |
a0444806851face3b112979a39fd2f739b90538a | 7008d4e39c15ea01d9dcc59c37c7ed517ee67d7c | /src/xview/moxftp-2.2/X11/Wc/WcCreate.h | 32284edb19bacdf191eb6f6b47fe10f5150cf1a6 | [] | no_license | LegalizeAdulthood/OpenLookCDROM | d99b829a446cfa281947c449c8496943f944fd2a | 2aa032ddc0a737bb420463c0a508a0f4867c1667 | refs/heads/master | 2023-03-19T12:02:53.777816 | 2021-03-11T14:36:41 | 2021-03-11T14:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 27 | h | ../../Wcl-2.4/Wc/WcCreate.h | [
"ian@darwinsys.com"
] | ian@darwinsys.com |
11cf34609ee36d87abc4e589f3aa97cec5c7be84 | ed3b24ae57df21a5b089148235dd1b6d728e56f3 | /corecrypto/include/corecrypto/ccpad.h | 7cbe895c03b818555e9860868ef489f0fcbe0ad3 | [
"MIT"
] | permissive | michaeleisel/zld | 36ce14511ca9e0a971a0ed614bbee5dac9bb6fa1 | 519197a3bf4dbe47ea5a3bbce609df166f6f976d | refs/heads/master | 2023-08-23T13:46:50.509156 | 2023-02-15T06:02:03 | 2023-02-15T06:02:03 | 237,002,244 | 1,217 | 55 | MIT | 2023-02-15T06:00:43 | 2020-01-29T14:32:45 | C++ | UTF-8 | C | false | false | 4,811 | h | /* Copyright (c) (2010,2011,2012,2014,2015,2019) Apple Inc. All rights reserved.
*
* corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which
* is contained in the License.txt file distributed with corecrypto) and only to
* people who accept that license. IMPORTANT: Any license rights grant... | [
"noreply@github.com"
] | michaeleisel.noreply@github.com |
3d6ea26b1aa7dd9fe85934279ad821ebabae8117 | 05da40a19755f3cc1eaf6bb8e557c0459f0d3fce | /j08/ex01/ft_boolean.h | 2ea53c9bd08c3c4d4a1067717d78a20f8c31f3c9 | [] | no_license | badakzz/piscine42 | 95344ede7e862e231d111170086e379386580d8d | 42c67937027b1a1c6d2d02b6ec0c837b2b7f73cf | refs/heads/main | 2023-05-03T22:21:34.866173 | 2021-05-25T15:27:57 | 2021-05-25T15:27:57 | 353,987,388 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 469 | h | #include <unistd.h>
#define _DECL
#define _INIT(x) = x
typedef int t_bool;
_DECL t_bool TRUE = 1;
_DECL t_bool FALSE = 0;
_DECL int SUCCESS = 1;
int EVEN(int nbr)
{
if (nbr < 0)
nbr = -nbr;
if(nbr > 10)
{
while(nbr > 0)
{
nbr = nbr / 10;
}
}
if(nbr == 1 || nbr == 3 || nbr == 7 || nbr == 9)
return (... | [
"lucas.deray@gmail.com"
] | lucas.deray@gmail.com |
e7d50a4ef425c3a5188336d32c8ccfd20dbf21a8 | 5c0bf818e2b4a9c9d19e5a8d043e0795a0f9bc88 | /src/libebmm-2.0/ebaacdec/libfaad/iq_table.h | 976abb298428227ee6258a7cfbfedfc4a7eb3977 | [] | no_license | entboost/ebc | 4e55f45053b8816f7318dd552f94d9f9f893d402 | b05c4ddbbb3221ebb1126b8a75c7eabc6be9f1f8 | refs/heads/master | 2021-01-19T20:29:18.207141 | 2020-09-22T07:36:43 | 2020-09-22T07:36:43 | 67,870,859 | 31 | 9 | null | null | null | null | UTF-8 | C | false | false | 524,457 | h | /*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com
**
** 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 Foundati... | [
"akee.yang@gmail.com"
] | akee.yang@gmail.com |
5b73452d4c763de8ac787c75729433859708bd6e | 8b5533ee98d50e3c511d550d112815d3a8d5196a | /user/memory_management.c | 98c410e90a189d360ffb0457bb0d41e129683540 | [
"MIT"
] | permissive | tomaspzpeborges/xv6-OS-improvements | f128fa336ae659e307f3e586a679e64a0c657214 | 872bc3286530483a68c70abf6058cbc28ced5fd8 | refs/heads/master | 2023-01-13T17:10:28.194741 | 2020-11-08T20:18:56 | 2020-11-08T20:18:56 | 304,307,463 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,728 | c | #include "memory_management.h"
static header *freep = 0; //global pointer to start of the heap
header * find_block(header **last, uint nunits){
header * b = freep; //start at the beginning of the list
//int flag = 0;
while(b!= 0 && !(b->s.free && b->s.size >= nunits) ){
//printf("INSIDE ... | [
"topizipiebo@gmail.com"
] | topizipiebo@gmail.com |
162cb530e47291e003e8e6798821751d21ab724f | ad48f07a2015721f34c29083cef7f7bbd3fe06f3 | /kernel/drivers/srf02/srf02.c | eca9b8209a972126eba3135da57e06bdaf889671 | [] | no_license | Allegra42/android-srf02 | 1c41b18ba686b999a8f2c205eed81d00778b7f5b | 214e43a6f3415aaad8937b6bfe13751af8c89625 | refs/heads/master | 2021-01-17T14:09:17.529440 | 2016-07-22T08:56:14 | 2016-07-22T08:56:14 | 46,998,591 | 10 | 4 | null | null | null | null | UTF-8 | C | false | false | 17,489 | c | /* ------------------------------------------------------------------------- */
/* Copyright (C) 2015 Anna-Lena Marx
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 2 of ... | [
"anna-lena.marx@web.de"
] | anna-lena.marx@web.de |
6c9ccb34207daad09e41488514ea566dc4eeae97 | bfbc5efbdf480056636207f3b2a3a6ca99f87d20 | /04_10_err/fat32_test/fat32_test/driver.c | f3a674c3f2036dc64d5d64c340c2291f81b071f2 | [] | no_license | BessieChen/FAT32_FileSystem | 58badadcbdfe42b4cb8d4f5288b639edab274f5a | 25de65cb893af142fdbe12b3c65817ba5d733b6e | refs/heads/master | 2022-12-06T21:44:10.445353 | 2020-08-31T14:06:16 | 2020-08-31T14:06:16 | 285,924,755 | 1 | 0 | null | null | null | null | GB18030 | C | false | false | 4,393 | c | //1.1 前面定义了disk的结构和接口, 所以这里实现disk的接口driver
#include "xdisk.h"
#include "xfat.h" //todo, 这里不太明白为什么要这个头文件
#include <stdio.h>//1.2 会使用到c语言的文件读写接口
//1.1 实现驱动driver的接口:开关读写
//注意: 定义成了static类型, 说明只是属于这个.c文件
static xfat_err_t xdisk_hw_open(xdisk_t* disk, void* init_data)
{
//1.2 path可以是固定值, 或者是相对值. 这里是init_data复制
const cha... | [
"33269462+BessieChen@users.noreply.github.com"
] | 33269462+BessieChen@users.noreply.github.com |
cf420da305a963cb15e2ac553ddcf370b0369c6e | 1cc5d45273d008e97497dad9ec004505cc68c765 | /cheatsheet/编程笔记/kernel/src/uulp/CH07/bounce2d.c | 4c05ebc8cf297eb1924d06938fb4d6646357f0f8 | [] | no_license | wangfuli217/ld_note | 6efb802989c3ea8acf031a10ccf8a8a27c679142 | ad65bc3b711ec00844da7493fc55e5445d58639f | refs/heads/main | 2023-08-26T19:26:45.861748 | 2023-03-25T08:13:19 | 2023-03-25T08:13:19 | 375,861,686 | 5 | 6 | null | null | null | null | UTF-8 | C | false | false | 3,154 | c | /* bounce2d 1.0
* bounce a character (default is 'o') around the screen
* defined by some parameters
*
* user input: s slow down x component, S: slow y component
* f speed up x component, F: speed y component
* Q quit
*
* blocks on read, but timer tick sends SIGALRM caught by ball_move
* build: cc b... | [
"wangfl217@126.com"
] | wangfl217@126.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.