blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 357 | content_id stringlengths 40 40 | detected_licenses listlengths 0 58 | license_type stringclasses 2
values | repo_name stringlengths 4 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-14 21:31:45 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-01 00:00:00 2023-09-05 23:26:37 | committer_date timestamp[ns]date 1970-01-01 00:00:00 2023-09-05 23:26:37 | github_id int64 966 689M โ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 24
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 โ | gha_created_at timestamp[ns]date 2008-02-03 21:17:16 2023-08-24 19:49:39 โ | gha_language stringclasses 180
values | src_encoding stringclasses 35
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 6 10.4M | extension stringclasses 121
values | filename stringlengths 1 148 | content stringlengths 6 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aee1849937673a370fb490271fccd04c22fcbc4c | 47d596285429c4e152e90082d7011dab36568cae | /lib/ksr_pinout/ksr_pinout.h | 48e4b272fc7377a7cc9f6d32d7dc3fdc3387d752 | [] | no_license | mykolaf/KSRobot0428 | b1d04e8a6670540de03725c4a877199b2c685ed6 | cca53d9a74a7396dd54413f9eebedac5073a3c75 | refs/heads/master | 2023-03-02T02:23:34.384217 | 2021-02-11T22:31:25 | 2021-02-11T22:31:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 515 | h | ksr_pinout.h | #ifndef KSR_pinout
#define KSR_pinout
#include "Arduino.h"
enum Pin : uint8_t
{
/* KS007 motor shield */
motor_rb_speed = 11,
motor_la_speed = 3,
motor_rb_dir = 13,
motor_la_dir = 12,
/* KS007 sensor shield v5 */
ult_sonic_echo = 4,
ult_sonic_tr1g = 5... |
dc73ed7dd4ce23795ab024e8fec94cc84b126f4c | a0638ca86e71ef880efea28039d2c12df5043e50 | /ft_putstr.c | 24201df5c916b9e8120bab84337a316f20c736ae | [] | no_license | Vaynn/libft | e7c7c6e880e0bd94490271bacef398009d5869b4 | 9ce2dd23b08892656e00848cc297de5b934d205b | refs/heads/master | 2022-12-21T05:16:17.768307 | 2020-09-16T15:02:44 | 2020-09-16T15:02:44 | 296,063,002 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,119 | c | ft_putstr.c | /* ************************************************************************** */
/* LE - / */
/* / */
/* ft_putstr.c .:: .:/ . .:: ... |
2b660daac1c600e6e494b2c82bf19d785dae716c | 7b29dd52eb4600157e37d6f1dcdc5f1264751b1d | /Algorithms_and_data_structure/101/pa5/Graph.c | f292a30cbadb660e665e65571f854c21a8e1ff1d | [] | no_license | rickstao/Snippets | 2b8360a92d5b650d6f07e7c90bb89df13ae220ed | 7ddc5a018234d750137191ada8bdc614ec28e8d8 | refs/heads/master | 2021-08-07T22:57:02.174167 | 2017-11-09T05:32:01 | 2017-11-09T05:32:01 | 110,070,233 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,846 | c | Graph.c | // Ruikang Tao
// rtao6
// PA5
#include <stdio.h>
#include <stdlib.h>
#include"Graph.h"
#define WHITE 'w'
#define GREY 'g'
#define BLACK 'b'
int time;
/*** structs ***/
typedef struct GraphObj{
List* neighbors;
char* color;
int* discover;
int* parent;
int* finish;
int order;
int size;
}GraphObj;
typedef Gr... |
174d9bc18ddb0b8c483abcf28304959de3a59897 | 1f856cef5691c8bc1c21be37b0fd58cde409b728 | /Animate.h | d65bdff47254f41599a412ea3dd7e092b5fad384 | [] | no_license | mlopeza/GLUT-Animation-Project | 35ed9c847825561a4eca6002eac99e74f7d68cbc | bada29b0291fc6a9c89c4a266540b23da408a68a | refs/heads/master | 2021-01-13T01:55:48.130065 | 2011-11-23T21:40:19 | 2011-11-23T21:40:19 | 2,599,760 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,999 | h | Animate.h | int speed = 200;
char *animatedNodes[13];
int numAnimatedNodes;
int keyFrames;
int aniMatrix[100][13][3];
int animateMatrix = 0;
int direccion = 1;
void animateModel(int id){
if(id == keyFrames-1){
direccion = -1;
}
if(id == -1){
direccion = 1;
animateMatrix = 0;
return;
}
Elemento *nodo;
for(int i=0;i... |
878f523511c0967ac700dcc09a7c09337ba0b9ad | 9b9a4a39f8c8382a68f15aecfe4e711c47bd45ec | /itp1/8c_countingcharacters.c | 5f8d92f691341ad671a3fba3674a1bbb557182e4 | [] | no_license | ktateish/aoj | 960e7d09563a38cec7326d9cc6a3a7ab9d26f8c3 | e4b6c07983172c551937ffdce40ae4b8e0a61461 | refs/heads/master | 2021-01-24T16:09:52.790700 | 2017-10-13T07:59:26 | 2017-10-13T07:59:26 | 34,558,118 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 481 | c | 8c_countingcharacters.c | #define dbg(fmt,...) fprintf(stderr,fmt,__VA_ARGS__)
#define dpri(x) dbg(#x ": %d\n", x)
#define dprs(x) dbg(#x ": %s\n", x)
#include <stdio.h>
#include <ctype.h>
typedef long long ll;
const int MYINF = 1e9+7;
#define len 30
static int count[len];
int main(int argc, char **argv)
{
int c, i;
while ((c = getchar()) !... |
62a2b38927916f52b9f9d0a7aef6c3a6c56d962c | 6d162c19c9f1dc1d03f330cad63d0dcde1df082d | /qrenderdoc/3rdparty/qt/include/QtWidgets/qtwidgets-config.h | 3229c5626be0e4705b873ce9acd7b09975b41bcf | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"Python-2.0",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-mit-old-style",
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-sc... | permissive | baldurk/renderdoc | 24efbb84446a9d443bb9350013f3bfab9e9c5923 | a214ffcaf38bf5319b2b23d3d014cf3772cda3c6 | refs/heads/v1.x | 2023-08-16T21:20:43.886587 | 2023-07-28T22:34:10 | 2023-08-15T09:09:40 | 17,253,131 | 7,729 | 1,358 | MIT | 2023-09-13T09:36:53 | 2014-02-27T15:16:30 | C++ | UTF-8 | C | false | false | 2,499 | h | qtwidgets-config.h | #define QT_FEATURE_abstractbutton 1
#define QT_FEATURE_abstractslider 1
#define QT_FEATURE_groupbox 1
#define QT_FEATURE_buttongroup 1
#define QT_FEATURE_label 1
#define QT_FEATURE_pushbutton 1
#define QT_FEATURE_menu 1
#define QT_FEATURE_lineedit 1
#define QT_FEATURE_spinbox 1
#define QT_FEATURE_slider 1
#define QT_FE... |
61ec94e13d458101241de6163a665a82704eef14 | 161f2bda0a29e59cc5eeae306e54d326f4765fa7 | /S32K144/Mcal/Spi_TS_T40D2M10I1R0/src/Spi.c | 92f4981fc1e11b7db9ae6d580a3b8bce6ed578c8 | [] | no_license | hao507/S32K144 | cfecb97ee9357d4c8175d4a6b50e71b20eabaac0 | bd59a2638b4f6851f3c934200817c8644765d219 | refs/heads/master | 2022-08-01T01:10:55.337924 | 2020-05-19T03:17:49 | 2020-05-19T03:17:49 | 266,337,378 | 0 | 1 | null | 2020-05-23T12:59:55 | 2020-05-23T12:59:54 | null | UTF-8 | C | false | false | 122,379 | c | Spi.c | /**
* @file Spi.c
* @implements Spi.c_Artifact
* @version 1.0.1
*
* @brief AUTOSAR Spi - Implements the AUTOSAR SPI driver functionality.
* @details Implements the AUTOSAR SPI driver. All the API functions are described by AUTOSAR
*
* @addtogroup [SPI_MODULE]
* @{
*/
/*====================... |
a6c515b78552071d1f4d4a18fcd8a80f7cc05c8e | fb91185c9a7f0d12981d3321b15571685dd266fd | /3.19/source/main.c | c8263f644c33fdff9e886f274110f764a4f78566 | [] | no_license | gun1205/C-homework02 | 3f6b5858321dc6e9c612e84a2b928243d9f9e370 | dc0359d34b6b718b0d7563f675523cbcc097753c | refs/heads/master | 2023-08-25T14:59:21.479429 | 2021-10-27T10:48:48 | 2021-10-27T10:48:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 551 | c | main.c | #include <stdio.h>
#include <stdlib.h>
int main(void)
{
float principal, rate, days, charge;
printf("Enter loan principal (-1 to 100):");
scanf_s("%f", &principal);
while (principal != -1)
{
printf("Enter interest rate:");
scanf_s("%f", &rate);
printf("Enter term of the loan in days:");
scanf_s("%f",... |
0171bcb1424e3e9eb12dd711967abac62726eb44 | 7aafe04b3be9e3e8e7485ce3a0ad4414be1e1384 | /BinarySearchTree/bstMaker.c | 17516fb6f5fedfbc702160a00b3eefb289ad7ec3 | [] | no_license | Adam-Makaoui/Low-Level-Programming | 5d512c5bf79a919600620169aa6b3b451064a24d | cdcf1c0b4a8b1d1b5fbb536792eb469052dcce17 | refs/heads/master | 2023-06-04T07:42:27.767179 | 2021-06-26T17:57:34 | 2021-06-26T17:57:34 | 156,791,351 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 961 | c | bstMaker.c | /**
* This class creates a bst given any data
*
* @author Adam M., 250726961
*/
#include <stdio.h>
#include "bst.h"
int main(void)
{
BStree bst; //pointer to the BST
int size, id, data;
char quit, name[256];
printf("Enter the size of the tree: \n");
... |
d625fd710c065045d313195a6a268ab3f429a2cf | e40003253b3108ce10fa1407cadca8e0bc4eac7e | /sprites/final_c_arrays/bmp_arsh_slide.c | 256d21b6b8584bf536a5b8690b06d0d123ac8f93 | [
"MIT"
] | permissive | jvaneg/ARSH | 8ba162f439b6c83626d5d1e7095752264d198275 | c6eab54bec50802838e3abc0bc38795c8e7e20d5 | refs/heads/master | 2020-12-30T11:39:52.523850 | 2019-01-08T09:11:47 | 2019-01-08T09:11:47 | 91,514,979 | 2 | 1 | null | null | null | null | UTF-8 | C | false | false | 2,313 | c | bmp_arsh_slide.c | /*
Name: arsh_slide
Size: UINT32
Width: 96
Height: 60
*/
UINT32 bmp_arsh_slide_96 [] = {
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x000000... |
ccc56aa6b0ce474e2106283857e38dcf1b41e513 | f99f7594cc9e62d1a4b8cc8b6ae2fbc84381b44c | /user/modules/vpn/bin/sslvpn/sslvpn_web_acc_rewrite.c | 71da977039c23b01cf8f1f0684a435e36cb191a2 | [] | no_license | xianlimei/zhuxianB30 | be06c7d14e5f71f62f18b84474ca626f6fbc97c9 | b5cb7cfbb2909832dd9795cedd9fb4afb93824a5 | refs/heads/master | 2017-05-11T12:46:11.019820 | 2015-10-22T02:47:33 | 2015-10-22T02:47:33 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 115,916 | c | sslvpn_web_acc_rewrite.c | /*******************************************************************************
Copyright (C) 2012 Hangzhou DPTech Technologies Co.,Ltd. All Rights Reserved.
--------------------------------------------------------------------------------
ๆไปถๅ็งฐ: sslvpn_web_acc_rewrite.c
ๅ่ฝๆ่ฟฐ: sslvpn็webๆฅๅ
ฅๅฎไฝๆนๅ
*************************... |
b1bc57ae9e682f199e268ce5c4b5fdd6ed789591 | b39417ab35af25c224407746ccb349c564b475a5 | /include/pthread_rdwr.h | ef45c1d1b68e5b488e85692b5e9abc93e72b77ab | [
"MIT"
] | permissive | colinw7/CThread | db1eaf80ddc9af240dea6a157bb65893798dbfc5 | 90616f0283521ddecd32485863ea18109b015a81 | refs/heads/master | 2023-01-28T07:58:23.303586 | 2023-01-16T14:45:03 | 2023-01-16T14:45:03 | 12,322,164 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 667 | h | pthread_rdwr.h | #ifndef PTHREAD_RDWR_H
#define PTHREAD_RDWR_H
typedef struct pthread_rdwr_t pthread_rdwr_t;
struct pthread_rdwr_t {
int readers_reading;
int writer_writing;
pthread_mutex_t mutex;
pthread_cond_t lock_free;
};
typedef void *pthread_rdwrattr_t;
#define pthread_rdwrattr_default NULL;
... |
41b2269faa4b70e140a6c719b99803b06d280271 | 299fbad28cde120b4d46948fe07e2d78c3e8459d | /New folder/C-Programing-master skillup sudhir sir/con_ones.c | b8ac8d9255e89c7f4d9605bfee79e5c43dce74e7 | [] | no_license | subbareddykovvuri/100-days-coding | ae29a3e1c332f519cf9b96e4a883dfd7881f805c | 138ba60ad8746ae90d60d90bf92d51d3f8a19c10 | refs/heads/master | 2023-01-12T21:06:29.914441 | 2020-11-01T17:13:32 | 2020-11-01T17:13:32 | 292,535,750 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 232 | c | con_ones.c | #include<stdio.h>
int lcos(int n)
{
int c=0;
while(n)
{
n=n&(n>>1);
c++;
}
return c;
}
int main()
{
int c,n;
scanf("%d",&n);
c=lcos(n);
printf("%d",c);
}
/*
lonest con ones
10101010
01010101
--------
00000000
c++
*/
|
6ccfdc8e0f29cf376a0cfc4f4c96bddbd94fe743 | 1847cc51095bef9d50f8134d1c1e736991eef12e | /buaa_2017/2017_5_3.c | dd08de0c2c9b35767b9b48e9f8f4a3f43051cf3a | [] | no_license | a422478514/c-algorithm-gitlab | 7c0f65e663ec5d49095acfb341cf05b3284b1a6b | b357b0dffaad1665134047c89fae17cfdd93303a | refs/heads/master | 2022-11-02T20:17:14.437121 | 2020-06-15T11:38:19 | 2020-06-15T11:38:19 | 272,405,323 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 363 | c | 2017_5_3.c | #include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <malloc.h>
int accul(int base,int factor,int max){
int i,result = 0;
for (int i = 1; i <= max; ++i)
{
if(i%factor==0){
continue;
}
result+=base;
}
return result;
}
int main(int argc, char const *argv[])
{
int result;
result = accul(10,... |
05e66f201ef6cbde8cdeeb803a1bf4d638985da4 | dc6d8843d4964f1a260c5232040b6adb3091227b | /main.c | 4b2103d0e3b735d6c1661f092d05d7390018b008 | [
"MIT"
] | permissive | artursg/benfords-law-checker | e235640eae2e24ca561e05b9a2f5bafe0dee86bf | 5545b340951f211f3d44c5fb850f2f39784ed0d6 | refs/heads/master | 2021-01-19T05:39:11.328819 | 2016-08-09T11:52:07 | 2016-08-09T11:52:07 | 65,290,278 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 671 | c | main.c | #include <stdio.h>
#include <string.h>
char accumulator[10];
int main(int argc, char ** argv)
{
if (argc != 2)
{
printf("Benford law checker.\nUsage: ./benford [filename]\n");
return -1;
}
FILE * f = fopen(argv[1], "r");
memset(accumulator, 0, 10);
if (f == NULL)
{
printf("Error.... |
09d02f3b6555b96de469189607dd3cffd751edcd | 262d82c2325aa1a479704f3a1263499392b3724f | /isim/MCU_tb_isim_beh.exe.sim/work/a_4266264580_1486280680.c | f768c4f2fdf34c2ab16b457811a150eb17f9712b | [] | no_license | pcielecki/Softcore-ATMega8535 | 25d1e5e25e77e17d11aa14aa842433cd31e20b1c | 1c6c24907443703523a62fe55d024dab53a4191e | refs/heads/master | 2023-01-24T17:12:36.946255 | 2016-01-24T17:16:14 | 2016-01-24T17:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 6,917 | c | a_4266264580_1486280680.c | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
fdd4fdc47684f6d501ad3c21167636b8932ceba9 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_libXNVCtrl_NVCtrl.c | ac5f5048d107a87d963811870fb709de6f37d907 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C | false | false | 601 | c | patch-src_3rdparty_chromium_third__party_libXNVCtrl_NVCtrl.c | --- src/3rdparty/chromium/third_party/libXNVCtrl/NVCtrl.c.orig 2018-11-13 18:25:11 UTC
+++ src/3rdparty/chromium/third_party/libXNVCtrl/NVCtrl.c
@@ -27,10 +27,6 @@
* libXNVCtrl library properly protects the Display connection.
*/
-#if !defined(XTHREADS)
-#define XTHREADS
-#endif /* XTHREADS */
-
#define NEED_EVE... |
014a7150ac825fd5d24a94d65dfa8ff77c071c50 | 42547f4cb0c3a60eac18474a186848f48af47509 | /main.c | dad9a71eac3294a3662f49696bf30bd8b85c8662 | [] | no_license | willcannings/protoio | 00e7f120200444ef9e9ea1fcea97a0aec698300d | 5697e44c074e1ba888d33db2f1a22f0455b8b1db | refs/heads/master | 2021-01-20T01:03:44.357279 | 2009-03-19T03:13:27 | 2009-03-19T03:13:27 | 151,991 | 4 | 1 | null | null | null | null | UTF-8 | C | false | false | 327 | c | main.c | #include <stdio.h>
#include "http.h"
#include "listener.h"
#include "event_queue.h"
int main (int argc, const char * argv[]) {
http_connection connection;
int port = 80;
connection.context = 0;
start_listener(port);
start_event_queue();
for(int i = 0; i < 1000; i++)
process_http(&connection);
retur... |
c367aefb33f9041fd0151992fe78227ff1cac072 | 6931c4c695f2883cd455c90a920ab18b34ce2a32 | /ponteiro62.c | 36b6f839d016b9b1b4c26ea559ad4e5f9b5308ef | [] | no_license | DheymeGitCompetitions/Faculdade-algoritmos | 2f87f1454a37ab294d82b27be5c7c73c21e8869c | 52879fca9a3db6544c6be920009e5fc4772fad89 | refs/heads/main | 2023-05-03T08:19:53.851688 | 2021-05-25T22:01:16 | 2021-05-25T22:01:16 | 370,834,276 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 334 | c | ponteiro62.c | #include <stdio.h>
int main ()
{
int x = 10;
double y = 20.50;
char z = 'a';
int *pX = &x;
double *pY = &y;
char *pZ = &z;
int *valor = 10;
int *ponteiro;
ponteiro = 2686616;
printf ("Resultado = %i \n", &x);
getchar();
re... |
29e2d872c34a6fb475655327ff5202bf260b035e | fc214bfc7caf6050eec8ec5201e7f7eb568e3a17 | /Windows/Qt/Qt5.12-msvc2019_static_64/5.12/msvc2019_static_64/include/QtFontDatabaseSupport/qtfontdatabasesupportversion.h | 0c1dbf5da7ce1f493e127a28fa5aa3e6d238dd1b | [] | no_license | MediaArea/MediaArea-Utils-Binaries | 44402a1dacb43e19ef6857da46a48289b106137d | 5cde31480dba6092e195dfae96478c261018bf32 | refs/heads/master | 2023-09-01T04:54:34.216269 | 2023-04-11T08:44:15 | 2023-04-11T08:44:15 | 57,366,211 | 4 | 1 | null | 2023-04-11T08:44:16 | 2016-04-29T07:51:36 | C++ | UTF-8 | C | false | false | 274 | h | qtfontdatabasesupportversion.h | /* This file was generated by syncqt. */
#ifndef QT_QTFONTDATABASESUPPORT_VERSION_H
#define QT_QTFONTDATABASESUPPORT_VERSION_H
#define QTFONTDATABASESUPPORT_VERSION_STR "5.12.12"
#define QTFONTDATABASESUPPORT_VERSION 0x050C0C
#endif // QT_QTFONTDATABASESUPPORT_VERSION_H
|
3020969dfcfb0b059ec75f330b1f43ed32a46380 | 0fb306192d1c715f50e7c20f55f0f0e4273ef32e | /cqsa/utilities/orion/SIM_router_power.h | f54fee0571e18f08daab5451e4b7da517f9c4f3b | [] | no_license | archfp/floorplan | e168d3c96f10d3f63e802d908aeb0ac290b02b83 | b3646f1d523687f27a767b100f5ea89edef40b5b | refs/heads/master | 2021-01-22T08:28:33.950842 | 2014-02-10T02:28:20 | 2014-02-10T02:28:20 | 8,962,309 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 723 | h | SIM_router_power.h | #ifndef _SIM_ROUTER_POWER_H
#define _SIM_ROUTER_POWER_H
#include "SIM_port.h"
#if (PARM(POWER_STATS))
#include <SIM_power_router.h>
/* global variables */
extern GLOBDEF(SIM_power_router_t, router_power);
extern GLOBDEF(SIM_power_router_info_t, router_info);
/* function prototypes */
extern int FUNC(SIM_router_p... |
4f586543a166f2ceed38c5fa040e284c3cfe80b2 | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/drivers/message/fusion/extr_mptbase.c_mpt_read_ioc_pg_3.c | 9ad14a404caf1ef92af38e943493c4886e85262b | [] | 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 | 3,096 | c | extr_mptbase.c_mpt_read_ioc_pg_3.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... |
2ebc6cce2dd29a3b4aeaf4af50f5ebf03c96ec25 | cdbdb0d6974ac8b601922e1e8d17506b232b9d4b | /5_Multiporgramacion_2daU1/multiporgramacion_2da.c | 28d92dac28cbc350d7241afeb1968a00a612d762 | [] | no_license | Sahad16/SAHAD_JOSHELINE_MENDOZA_TAFOLLA_IC_0602_TALLER_SO | 1d336ed6c7a92b1e1ad7f37e03788b9dd7834081 | 59d1d9afc35815551bb262d470b574877e8c747a | refs/heads/main | 2023-06-05T06:55:01.754366 | 2021-06-29T22:45:04 | 2021-06-29T22:45:04 | 344,251,180 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 710 | c | multiporgramacion_2da.c | //Programa multiprogramacion en c 2da oportunidad
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void tarea1(){
printf("Tarea 1\n");
}
void tarea2(){
printf("Tarea 2\n");
}
void tarea3(){
printf("Tarea 3\n");
}
void main () {
time_t t1;
double tiempo_inicial = time(&t1);
printf("Presiona En... |
0a360ec6b9657d8adf2a1739c834d6f83f25fb97 | 9073f87d41fa9e89ed20dcba082245c35ab8ec79 | /src/ft_total_test.c | 30a6d768c9a561d1ce8da8a3ed229c57db3192ae | [] | no_license | msicot/ft_ls | e03446fd60690c0f5836228f08ece75be6add80d | 46a811dac65141d6248331507281e6e2576daf70 | refs/heads/master | 2021-04-30T04:42:25.634634 | 2018-08-29T09:28:10 | 2018-08-29T09:28:10 | 121,542,991 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,053 | c | ft_total_test.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_total_test.c :+: :+: :+: ... |
00711725c0dcb52b7dc057188240132ed5930d14 | 4e5d752b5cb443c5bff0ec66f8c17538828c60d1 | /f&d/Fillet.c | 17a43272bde6e4e52dcfa7362c5815ae9ed21ec8 | [] | no_license | JensenDied/Sinbyen | 7c0cb2387b707661ffa91cdb9881281f5862e0db | a061fa1923b7bd50b3becb2c397f77c22fc2e51b | refs/heads/master | 2021-01-18T03:15:08.349442 | 2014-04-19T05:41:45 | 2014-04-19T05:41:45 | 18,931,868 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 806 | c | Fillet.c | #include <Sinbyen.h>
#include <item.h>
inherit "/std/comestible";
void configure() {
::configure();
set_creator(({ "kenobi" }));
set_comestible_type("food");
set_pleasure(0.30);
set_food(24);
set_portable(True);
set_consume_message("The fresh fish is soft and ta... |
3302a6442e9ede33e401aee9d2157577d0730054 | cc74a392ef3292a226d75afd69e4efb0a8cbf57a | /RCT2/rct2_chunk.h | cf5586c689bb9522b3dce338ac5653b80fdc530c | [] | no_license | janisozaur/rct2lib | 55304b845a66402fdba4c9b3f119dbabeadb59ca | d4ae9d95e0515d2e93cdce11bddbe56cb48fbede | refs/heads/master | 2021-01-15T10:42:04.757288 | 2017-08-07T15:40:36 | 2017-08-07T15:50:59 | 99,593,854 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 277 | h | rct2_chunk.h | #ifndef RCT2_CHUNK__H
#define RCT2_CHUNK__H
#if 0
typedef enum
{
ET_LITERAL,
ET_RLE,
ET_RLE_STRING,
ET_ROTATE_1357,
ET_AUTODETECT=0xff,
}
SV6_ENCODETYPE;
#endif
typedef struct
{
BYTE encodeType;
DWORD chunkSize_Encoded;
} SV6_CHUNKHEADER;
#endif RCT2_CHUNK__H
|
f5f39c708ba948cf940d95722ee909bea3fc8696 | 26a141ac81324c544793cd417c23e510f5bb4b77 | /src/BB.h | f3ba1d279490860f411be415bffe7d27d149d1de | [] | no_license | christianfriedl/BabelBarbe | 26c75977a9eba1da9eede89e87f4c8bd1f854e03 | f5a3d7c20e06e22bb178ce997fe8c5150cec1d5b | refs/heads/master | 2021-01-19T10:38:45.162979 | 2012-07-20T14:36:03 | 2012-07-20T14:36:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 201 | h | BB.h | #ifndef _BB_H
#define _BB_H
#define bool int
#define true (-1)
#define false (0)
#define bool__to_string(a) (((a) == true) ? "true" : "false")
#define BB_INDENTATION_SIZE (2)
#undef DEBUG
#endif
|
40381efbb624188ca7cff411f63b639bf4222c5c | 8f2b2bc234849a20d4ec2dd7c1e12956bb8199e3 | /include/push_swap.h | c9fb07d9c057b5dfa366f62cf9b824e59f9a0e7d | [] | no_license | f-huang/push_swap | 255042f1b33fd6232f8812a43ae54cbdf8c231e7 | c502643db63c160aff2450fd220462c47cd5b047 | refs/heads/master | 2021-05-07T08:46:45.720537 | 2017-11-03T15:30:18 | 2017-11-03T15:30:18 | 109,411,814 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,435 | h | push_swap.h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* push_swap.h :+: :+: :+: ... |
5770c290afdefd7be1607f8ee2ef084cc4018f9d | e86fc96ecdff6d8ae5884ab75bc5bbf82e0c5961 | /NUC97x/Driver/NUC97x_NAND.c | 393298bae269daf1f8eff1c660edcef990d064c5 | [] | no_license | gdgly/NUC97X_JS | 80dcf3e749d836ed12ea5bdffba289b0db0ae3f6 | b8a5193b1d447f25864483a55bad4befe441b956 | refs/heads/master | 2022-12-05T11:14:52.268951 | 2020-08-18T11:26:04 | 2020-08-18T11:26:04 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 62,641 | c | NUC97x_NAND.c |
#if MainProtocol==376
#include "../../STM32F4xx/Head/Project.h"
#endif
#if MainProtocol==698
#include "../../STM32F4xx/H698/Project698.h"
#endif
#if MainProtocol==CSG
#include "../../STM32F4xx/Hcsg/ProjectCSG.h"
#endif
#include "../../STM32F4xx/Device/NAND.h"
#include "../../STM32F4xx/STM32F4xx/STM32F4xx_SoftDelay.h"... |
905f58156f90aa370d6581ee27ada5fb0c0906a7 | 727ac22b930225eb8e1c87e4a2289ff978cb4570 | /HARDWARE/keyboard.c | 8b2a4a51fe1d09892115d319731c41fa255e2a97 | [] | no_license | gdgly/JK525N | 5374cabfd90df37f13ade646c938e0502da8ea52 | f89067538622ea4ab4ddff4ed24767d8aa0c102a | refs/heads/master | 2022-04-01T18:11:22.407642 | 2020-02-03T00:10:52 | 2020-02-03T00:10:52 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 21,106 | c | keyboard.c | #include "pbdata.h"
//#include "touchscreen.h"
//==========================================================
//ๅ
จๅฑๅ้
Key_TypeDef Keyboard;//้ฎ็ ็ปๆไฝ
static u8 LastKeyVal;//ไธๆฌก้ฎๅผ
static u8 LastKeyTicks;//ๆ้ฎ่ๆ
static u8 ContinueKeyTicks;//ๆ็ปญๆ้ฎ่ๆ
const u8 Scan_Value[]={0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe};
void Key_Delay... |
12b23b65e20533c50d5e8789382904b972f51fe7 | 7ee9ffe15051dbca8409955c6c8fef392024a527 | /src/clock/queue.c | 0e69dfa78a64ccc5650e5e6cdd0c952279e0d0aa | [] | no_license | parkernewton/Page-Replacement-Algorithms | 41374dd198e9fda1117b8ab76847eb5c7ba89377 | f7b4b8fbaa8bf206690aa01dff9aa6bda2e8f953 | refs/heads/master | 2021-01-10T05:26:03.851955 | 2015-11-18T22:28:41 | 2015-11-18T22:28:41 | 46,451,393 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,082 | c | queue.c | //
// queue.c
//
//
// Created by Parker Newton on 11/8/15.
//
//
#include "queue.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
QUEUE* createQueue(unsigned long long size) {
QUEUE *q = (QUEUE *)malloc(sizeof(QUEUE));
assert(q != NULL);
q->size = size;
q->count = 0;
q->pHead = ... |
a71b93ccf94c45cff0fb0da2649e6eee9f572e53 | 02b414889b4460daf8b407a16efa194f1ac928cc | /models/static/objects/lunchtable/model_lunchtable.c | f795d259c8855aa3413af70982c01c31c9771e3a | [] | no_license | zestydevy/birdjam | f55705bf51d5d9d5e7e0097df06d4217ba19ad45 | df75b4fcac132428194a72a1f12963947b66a765 | refs/heads/master | 2023-03-18T21:52:17.923304 | 2021-03-07T00:42:09 | 2021-03-07T00:42:09 | 304,097,213 | 5 | 2 | null | 2020-12-12T04:10:05 | 2020-10-14T18:08:11 | C | UTF-8 | C | false | false | 13,456 | c | model_lunchtable.c | #include <ultra64.h>
Lights1 lunchtable_metal_f3d_lights = gdSPDefLights1(
0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x28, 0x28, 0x28);
Lights1 lunchtable_plastic_f3d_lights = gdSPDefLights1(
0x7F, 0x7F, 0x7F,
0xFE, 0xFE, 0xFE, 0x28, 0x28, 0x28);
Lights1 lunchtable_tableleg_f3d_lights = gdSPDefLights1(
0x7F, 0x7F, 0x7F,
0... |
31c32eafbe03ba44a7828a0dff4550ad1ecaff6c | a8e3dabe3221b4e26f02961bf3f446b29700b212 | /TCP_socket/server.c | 3150843bd3ad7557af08991b5a3a63b34b047400 | [] | no_license | TungYu/TCPIP_pratice | b52c22ef68e00994251562b18da7ed651a5fe2c4 | c909a1b44ce9bb7a442d4ef3e2353088bca13fb9 | refs/heads/master | 2021-01-21T04:40:26.046604 | 2016-06-20T09:13:35 | 2016-06-20T09:13:35 | 54,955,286 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 1,486 | c | server.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h> //for bzero()
#include <unistd.h> //for close()
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#define PortNumber 5555
#define Packet_Num 20
int main(int argc, char *argv[]) {
struct sockaddr_in server_addr,client_addr;
int so... |
c9f7a533c73343b76171ae55d76e3122df0ce9b8 | 5c3d1f90985a6e9f71b4c07c8c12736d9629529f | /src/pro_document.c | a0c1aa4e409aa1c6d513c7f88ba008d4ddf63990 | [] | no_license | hackerlank/documents_hens | 9539648232058b5ea2fce0610ff0dd16c053353f | 0caf53a63e30ea2fc7e46ca8def35bbe9f629220 | refs/heads/master | 2021-01-13T14:40:17.797367 | 2011-11-26T06:56:43 | 2011-11-26T06:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 692 | c | pro_document.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int pro_document_manager(const char *path, char ch)
{
char buf[256];
memset(buf, 0, 256);
if(ch == 'f')
{
sprintf(buf, "touch %sๅฏ่กๆงๅๆ.odt %s้ๆฑๅๆ.odt %sๆฆ่ฆ่ฎพ่ฎก.odt %s่ฏฆ็ป่ฎพ่ฎก.odt %sๆต่ฏ่ฎกๅๅ็ปๆ.odt %sไฝฟ็จๆๅ.odt", path, path, path, path, path, pa... |
fcdcbedd85dcd8339289eaa67c0a04ca83b886eb | a953e57eb65d231aee259fab9cdf8e69ae6482e9 | /array1.c | 9181881adc63bc78154ff4fd756ae9863d515720 | [] | no_license | adityasunny1189/C-programming-codes | bb3ffd5db2b0169eed7e12f7566fc5be69927052 | 4f3d65eeaa7be49b0ac3aa296ec314c9f5aedd11 | refs/heads/master | 2020-06-12T15:06:42.307403 | 2019-08-29T17:28:38 | 2019-08-29T17:28:38 | 194,340,537 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 744 | c | array1.c | #include<stdio.h>
int main()
{
int a[100],n,i,s;
printf("enter the no of elements you want in the given array\n");
scanf("%d",&n);
printf("write the desired elements\n");
for (i=0;i<n;i++)
{
printf("the %d element is : ",i+1);
scanf("%d",&a[i]);
}
printf("the given array ... |
b8c027db0368039232bff3aeaf54373176ea7c7a | d186513444c448660ab8829bab2ee4aea473f225 | /code/visualstudio/vs2005/Visual Studio 2005/Projects/base/base/Include/Mp3Lib.h | 606c8de4e039145f2934969cd77ed3932d9c1262 | [] | no_license | pkxpp/Study | bc4844bda1bd1113deb68ba3a616cf28d94afeff | 88498ba5dcd8e0b4b843766eebbc60f0f62e287a | refs/heads/master | 2023-03-02T04:33:45.527441 | 2023-02-08T09:27:57 | 2023-02-08T09:27:57 | 19,522,370 | 6 | 5 | null | 2020-10-16T18:59:38 | 2014-05-07T05:26:18 | C | UTF-8 | C | false | false | 2,198 | h | Mp3Lib.h | //---------------------------------------------------------------------------
// Sword3 Engine (c) 1999-2000 by Kingsoft
//
// File: Mp3lib.h
// Desc: MP3 Decoder
//---------------------------------------------------------------------------
#ifndef Mp3lib_H
#define Mp3lib_H
//-------------------------------------------... |
4834ee6b6c9da8c8d94cde325e68ed59f7f02c58 | 1c3dbc033229e622642a6acc1d7dcfae94f51cba | /LAB-I/PILHA/pilha.h | 75bec1a6245dd3f894a2fae2c3589b8e310b4927 | [] | no_license | nathaliafialho/unipampa-disc | 5fe3c965c855df40bfde09479cfa672899c1beae | 8cb08d7ab12a4b5cc817c7cfbba8c06b3574a252 | refs/heads/master | 2023-08-20T11:17:50.565006 | 2021-09-08T03:43:55 | 2021-09-08T03:43:55 | 374,699,840 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 270 | h | pilha.h | #include <stdio.h>
#include <stdlib.h>
typedef struct info {
char nome[50];
float nota;
struct info *prox;
} elem;
typedef struct pilha {
elem *topo;
}tpilha;
void inicializa(tpilha *p);
void push(tpilha *p);
void pop(tpilha *p);
void mostra_pilha(tpilha *p); |
fbadc7ea583bd1c8de3f0d0faf0fa15663de328f | 813028300811cf135f96e302eb4de86f1f5e5eb1 | /linux/home/radar/ros.3.6/doc/html/base/src.lib/task/convert/src/ConvertFwriteInt.c | 204d4dd1f89854778314f331807dd169b0635512 | [
"MIT"
] | permissive | UAF-SuperDARN-OPS/SuperDARN_MSI_ROS | 228b864fe2b69c6bbbfad3a7df968168ebca1498 | c6c3ae2fccd4694a9c8e6047e9df5febcb3c391b | refs/heads/master | 2022-11-22T07:58:52.415306 | 2013-07-30T06:29:50 | 2013-07-30T06:29:50 | 39,792,221 | 1 | 3 | MIT | 2022-11-17T18:45:31 | 2015-07-27T18:58:01 | C | UTF-8 | C | false | false | 384 | c | ConvertFwriteInt.c | /* ConvertFwriteInt.c
==================
Author: R.J.Barnes
*/
#include <stdio.h>
#include <stdlib.h>
#include "rtypes.h"
#include "rconvert.h"
#define FNAME "test.dat"
int main(int argc,char *argv[]) {
int i;
int32 val[8]={2,4,4,-5,6,3,10,-8};
FILE *fp;
fp=fopen(FNAME,"w");
for (i=0;i<8;i++) C... |
f3fe51029d61feb9950186a0ea741db2f333e856 | 3243039d0f10935581a8cac5db5a60971f8c28b8 | /fabric_management/librio/test/rio_standard_test.c | 321b4653325e1dc06870415777fa08a38cfc0267 | [
"BSD-3-Clause"
] | permissive | RapidIO/rapidio_sw | 9a7c7e6f37edd0beaa51223f18cd61ed2832f9d5 | 2d862bc1725c95228d1b43f6d32c2e01cd704890 | refs/heads/master | 2023-05-10T00:36:14.243626 | 2019-03-08T05:01:42 | 2019-03-08T05:01:42 | 36,737,050 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 22,359 | c | rio_standard_test.c | /*
************************************************************************
Copyright (c) 2017, Integrated Device Technology Inc.
Copyright (c) 2017, RapidIO Trade Association
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the fol... |
835e90c4b1c75aa36b121d3f284396cd4fa43976 | ec0dfe948a7585cd255a6ddcd213940a752c0031 | /uri-problem-solutions/1960.c | 0234e8765b4da17ab55120e02f3baaf146cb7b14 | [] | no_license | iqbal17115/URI-Solutions | 2a081413d64589cb08b36757bd37c3b3a4a2e745 | f800158fa9ef29a19dea57a3acdac3e0d3490459 | refs/heads/master | 2020-12-02T08:33:59.056521 | 2019-12-30T15:59:52 | 2019-12-30T15:59:52 | 230,943,070 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,757 | c | 1960.c | #include <stdio.h>
#include <string.h>
int main(){
char n[4];
int length;
gets(n);
length=strlen(n);
if(length==3){
if(n[0]=='9'){
printf("CM");
}else if(n[0]=='8'){
printf("DCCC");
}else if(n[0]=='7'){
printf("DCC");
}else if(n[0]=='6'){
printf("DC");
}else... |
1fea3e7911dd9628b7ab140b1276f112521e8b99 | 184f1bbd1068ae5cd59c1c4ee9e09b4f13d05b79 | /assignment4/src/shapes.c | 9dfe48186f94be828699a8043e7d15d6724249ba | [
"Zlib",
"MIT"
] | permissive | felipecustodio/cg | 316085cae20597bfd5d686fbc142c40e485989ee | 7cb4d209ba9eec8f87772fab2fdd8490b08718c5 | refs/heads/master | 2021-01-11T08:48:38.311715 | 2018-03-27T16:22:03 | 2018-03-27T16:22:03 | 76,828,861 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 15,713 | c | shapes.c | #include "../includes/shapes.h"
/* ----------------------------- TEXTURES ------------------------------ */
GLuint loadTexture(const char *filename) {
// Load texture with RGBA
// Transparency enabled
GLuint tex = SOIL_load_OGL_texture(filename,
SOIL_LOAD_RGBA,
SOIL_CREATE_NEW_... |
97a5f86fc0d5cfa4c04ce80b712680aadaab797f | b6a26569f334ba847e474427ecf81b50b0362cea | /Intel/ServerSecurityPkg/Library/AppAdapterSgx3v0InternalLib/AppAdapterSgx3v0InternalLib.c | ef2c59a48f3cbc3056ab0852a8ba0e64e77afc57 | [] | no_license | marktsai0316/Transformer | fd553728daa5aaa5b3f3fed9b9a2352d70dcd51c | e39ec3030ef0fd1841c6d916bdb77cddaaebc6ad | refs/heads/master | 2022-12-10T22:30:54.984958 | 2020-09-10T05:55:24 | 2020-09-10T05:55:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,781 | c | AppAdapterSgx3v0InternalLib.c | /** @file
@copyright
INTEL CONFIDENTIAL
Copyright 2020 Intel Corporation. <BR>
The source code contained or described herein and all documents related to the
source code ("Material") are owned by Intel Corporation or its suppliers or
licensors. Title to the Material remains with Intel Corporation or its s... |
206090a370e4e0727db0cd1b08b56802823d67d3 | 63b4a698bc22fd54857c8fa097b1331f79c39e5a | /src/gdb/gdb-8.3/gdb/testsuite/gdb.threads/watchpoint-fork-child.c | 90c9671c80bc00a58edc39f6d9ea47fce86bb781 | [
"Apache-2.0",
"GPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"AGPL-3.0-or-later",
"GPL-3.0-or-later",
"LGPL-3.0-only",
"GPL-2.0-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"LGPL-2.0-only",
... | permissive | MinimSecure/unum-sdk | 67e04e2b230f9afb3ae328501a16afa4b94cdac6 | 30c63f0eccddba39a760671a831be3602842f3f4 | refs/heads/master | 2023-07-13T07:33:43.078672 | 2023-07-07T13:52:05 | 2023-07-07T13:52:05 | 143,209,329 | 33 | 22 | Apache-2.0 | 2021-03-05T22:56:59 | 2018-08-01T21:13:43 | C | UTF-8 | C | false | false | 3,004 | c | watchpoint-fork-child.c | /* Test case for forgotten hw-watchpoints after fork()-off of a process.
Copyright 2012-2019 Free Software Foundation, Inc.
This file is part of GDB.
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 Softw... |
871d18560f46d6964ef6fd497bbf2322cac0853d | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/mpv/stream/extr_stream_dvb.c_dvb_strtok_r.c | 430877ee7fa983413ba08850df9357bc0214f52f | [] | 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 | 923 | c | extr_stream_dvb.c_dvb_strtok_r.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... |
9279666c377895e7a25e8201f9b95400ff96483d | a12efc266b1105d0a56878bd66d6fe40942719df | /memorypark/pop/walk/omsg.h | 163d314b22fc5ae5913f5b1cd0713fc4fb0de8a0 | [] | no_license | adderly/cmoon | 11df92b45e5d383aea4f133832ab627bfc17c140 | 5a48bfa85f3a1bafd50a560d8de08ccfb2c22528 | refs/heads/master | 2020-12-07T03:49:57.240112 | 2014-04-03T10:18:40 | 2014-04-03T10:18:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 182 | h | omsg.h | #ifndef __OMSG_H__
#define __OMSG_H__
#include "mheads.h"
__BEGIN_DECLS
NEOERR* msg_data_get(CGI *cgi, HASH *dbh, HASH *evth, session_t *ses);
__END_DECLS
#endif /* __OMSG_H__ */
|
4893a74228de59ba9d6e93c9f5ad032a622fd896 | 2ef91f4f949a514fa33157a807730d7f4bed6185 | /src/gametypes.h | f73dc0721aee63e5501e211befe2e0d7fa3e7320 | [
"MIT"
] | permissive | jsdf/goose64 | 329798d1f83a46fe23d04d5aa84e762fee8808ba | 9462834c7581ea36679927abbc5dbc1a4e1dcfda | refs/heads/master | 2023-08-13T00:03:12.853788 | 2022-05-21T18:57:22 | 2022-05-21T18:57:22 | 214,956,666 | 72 | 7 | null | null | null | null | UTF-8 | C | false | false | 2,401 | h | gametypes.h |
#ifndef _GAMETYPES_H_
#define _GAMETYPES_H_
#include "animation.h"
#include "characterstate.h"
#include "gameobject.h"
#include "pathfinding.h"
#include "physics.h"
typedef enum ItemHolderType {
PlayerItemHolder,
CharacterItemHolder,
} ItemHolderType;
struct ItemStruct;
// composable struct for players and cha... |
21aa7161bd80643954247cc4cc3b1e3344ad0b4c | 79d296b4ee7ae4255d1105a2a70ea1ffe4351f76 | /arifpucit-spvl-repo/28/sender.c | 27e8ca270a937b39f5f5635cb0bb2356961472a1 | [] | no_license | usmanfcit/SP-VLecs | d876b410078e5b3f84aae8c5e8104b48f75a9501 | cdb35ac04dfbf92f118cf801d8213c1851524a18 | refs/heads/master | 2023-08-22T15:54:05.024449 | 2021-09-27T11:55:47 | 2021-09-27T11:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 838 | c | sender.c | /*
* Video Lecture: 28
* Programmer: Arif Butt
* Course: System Programming with Linux
* Program creates a message queue,
* sends two messages in that queue and terminate
* usage: ./sender
*/
#include <stdio.h>
#include <sys/msg.h>
#include <sys/ipc.h>
#include <stdlib.h>
#include <string.h>
#define SIZE 512
str... |
9024c8e11405b2b339f15042a74a8f8a3804acbb | bf547590c7e2099d2c80c949a1925ba6f30a83c2 | /tetris_uart.c | a4a3bc2f89464b4a25fbc488e316f217e82dab31 | [] | no_license | mhlyv/pico-tetris | 7a90520e83e67a99ef2b69711bee0ba50eef65fc | 53d44c68146695ff5cd2a6476323cc46a140da72 | refs/heads/main | 2023-04-21T15:59:30.540801 | 2021-05-12T23:25:26 | 2021-05-12T23:25:26 | 363,734,731 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 945 | c | tetris_uart.c | #include <stdbool.h>
#include "hardware/uart.h"
#include "pico/stdlib.h"
#include "tetris.h"
#include "tetris_uart.h"
// initialize uart
void tetris_uart_init() {
gpio_set_function(UART_TX_PIN, GPIO_FUNC_UART);
gpio_set_function(UART_RX_PIN, GPIO_FUNC_UART);
uart_init(UART_ID, UART_BAUD_RATE);
uart_set_hw_flo... |
02b9d30c41d627d9175381ddba81c6ab2b82fa5d | 938ccf596552d4a098a38c7d9c647ef5144533e5 | /C/Greplace.c | eed614cfe6922ff5b54b855ce2ae0429f06641ec | [] | no_license | jamesrwelch/BToolkit | 07aa14418cd4765eeabc6683e99685d30ef12122 | fb199a70f4648a90bb9f5a9ccf57f32e3195687c | refs/heads/master | 2021-01-24T01:01:06.505985 | 2012-06-19T21:44:00 | 2012-06-19T21:44:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 8,516 | c | Greplace.c | /* Copyright (c) 1985-2012, B-Core (UK) Ltd
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 foll... |
e92084d75793f11cf940384970b57839440cc25a | a066f4086325b60a96f5e6e1ac8f628dd65fd3ed | /src/ms_ia_full.c | 438df18a3bce64863ab008af0f449246010dda9f | [
"MIT"
] | permissive | JosephCHS/Matchstick | 3693f0c730850d912d64b3374d4d53d5da539123 | d37d46caeba29b533ca1c308410399e6ba4da6ce | refs/heads/master | 2021-04-30T04:19:06.519983 | 2018-02-15T13:09:21 | 2018-02-15T13:09:21 | 121,534,107 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 907 | c | ms_ia_full.c | /*
** EPITECH PROJECT, 2018
** ia play full
** File description:
** made by Joseph Chartois
*/
#include "my.h"
int ia_play_full(char **map, int nb_max_matches, int idx, int *line)
{
int nb_m = nb_max_matches;
*line = find_line_ia(map, idx);
while (nb_max_matches != 0) {
(*map)[idx] = ' ';
--nb_max_matches;
... |
ba973f3084c493846a70e9972b3624783e30a9eb | 8101c7bcc07bb1f9013f915474d9ec742a864da8 | /src/sqltest.h | 208600e0fc7ac07e4d659d45d65959156d2bdfae | [
"MIT"
] | permissive | w5292c/test | 9360ec07c09444f1aab66b3f418f397495e0821e | 0db5b28d30514726f7eb301e7cb1d8ec26a173a6 | refs/heads/master | 2021-01-18T22:35:36.881970 | 2017-12-08T12:53:07 | 2017-12-08T12:53:07 | 4,491,481 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 96 | h | sqltest.h | #ifndef TEST_SQL_TEST_H
#define TEST_SQL_TEST_H
void test_sql();
#endif /* TEST_SQL_TEST_H */
|
fc642abc79e34278cceec60a0d84366872c28d20 | 187e6ef891d00e91de2b564bbdbeeb92204a00d1 | /src/main.h | 1fbd3481a3e3eeb596027096ade413f21bbc7f83 | [] | no_license | SilentFlyBy/quadroino-flight-controller | 6d3d07a09e6c0827d723c7d950f29e4444a36b40 | a65eef1b774f8b2373bbc67ccf70a0f722a564ea | refs/heads/master | 2021-01-22T19:48:23.883133 | 2017-03-16T20:47:35 | 2017-03-16T20:47:35 | 85,239,222 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 68 | h | main.h | #ifndef MAIN_H_
#define MAIN_H_
void setup();
void loop();
#endif
|
b36a39acb48937b9003f7930152593f98f716d9a | 2000c8ffbd1fe786c47804a9df7cc2ab4476181d | /hafta 4/address7.c | 87268ffe796e19cb8b6df1aee51efbce241e1700 | [] | no_license | berkcangumusisik/CS50 | 49f4207aff1eb494b305af3bd39e1684ac16219e | 362ecc63813f6e41c1dc0cbc939fa88536fdb689 | refs/heads/main | 2023-07-08T20:22:41.589793 | 2021-08-14T14:37:52 | 2021-08-14T14:37:52 | 352,071,672 | 6 | 1 | null | null | null | null | UTF-8 | C | false | false | 273 | c | address7.c | #include <stdio.h>
int main(void)
{
char *s = "Merhaba!";
printf("%c\n",*s);
printf("%c\n", *(s+1));
printf("%c\n", *(s+2));
printf("%c\n", *(s+3));
printf("%c\n", *(s+4));
printf("%c\n", *(s+5));
printf("%c\n", *(s+6));
printf("%c\n", *(s+7));
} |
ff13747896b25cfa004f988afecdce70e6268642 | cd7998b413fa64b5d7d51b15b29da2781c4160f9 | /MotionController/peripherals/DSP2833x_Xintf.c | 9e3f68f21f9d5cc0b485880ade36de23ab9265c2 | [] | no_license | ImQUENTIN/MotionController | 5da951e14b9f8d8ffc1a158144313678f10ae3cf | 9334ec438e7fe78fc1e56057196d34260ef8d127 | refs/heads/master | 2021-01-02T08:31:27.416723 | 2017-03-22T10:26:09 | 2017-03-22T10:26:09 | 99,017,776 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 17,743 | c | DSP2833x_Xintf.c | // TI File $Revision: /main/5 $
// Checkin $Date: August 16, 2007 11:06:26 $
//###########################################################################
//
// FILE: DSP2833x_Xintf.c
//
// TITLE: DSP2833x Device External Interface Init & Support Functions.
//
// DESCRIPTION:
//
// Example initialization... |
f3337e462ecad83ea292392943ecab1305ebff69 | a1c504ff289f7b1d18d2e2485a43346a3711554b | /src/corewar/operation/loadindex_op.c | 12738355559ef0588e531196e9712fa4e19d8ff6 | [] | no_license | nvd-ros/corewar | 227288154843bd67c175c3872dfa5c11a487c863 | 4a2a68a6571bf29e95d01c4428ca1e56217587b8 | refs/heads/master | 2021-10-18T05:06:08.361967 | 2019-02-13T16:48:52 | 2019-02-13T16:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,920 | c | loadindex_op.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* loadindex_op.c :+: :+: :+: ... |
e878206a0b6ce124179fa4cdeb355bc5ac0ee674 | c45d4b198b86c70e8dba8480ef80e3476dafc988 | /WarShipBoard/Driver/DriverBoard/BoardRS232.c | 75747b385b67c46e09934b6d6ac057f289b5b5bb | [
"MIT"
] | permissive | lkdingbao/STM32F407 | 802f92e34bbd9d666276e656b20279ce91ef0808 | bed4d3b114f45b5690650f2fd91557f42e81cbd6 | refs/heads/master | 2022-12-29T19:48:09.403612 | 2020-10-06T14:42:05 | 2020-10-06T14:42:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,468 | c | BoardRS232.c | /*******************************************************************
**Description: Copyright(c) 2018-2090 DengXiaojun,All rights reserved.
**Author: DengXiaoJun
**Date: 2020-09-26 14:36:49
**LastEditors: DengXiaoJun
**LastEditTime: 2020-10-05 20:41:51
**FilePath: \HardWareCheckUCOS3.08d:\DinkGitHub\STM32F407\WarShipBo... |
90b052875c02755502e0d9a7b80aebebe3d08b20 | 6000d2a9432e00f24ec9d76dcebb2038195016df | /Fitel/CommonLibrary/Category/CGRectAdditions.h | 837e29f4562ff1957b26c709dacbd67c2c14b415 | [] | no_license | JamesChenGithub/Fitel | 3e3246cefe753ed9eb7d4b9d37ef4a17b36199c4 | f92b43a44d5c193a33bb12d321475d02f2fa315c | refs/heads/master | 2016-09-05T16:24:28.873177 | 2015-03-20T15:07:48 | 2015-03-20T15:07:48 | 31,307,149 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 825 | h | CGRectAdditions.h |
//
// CGRectAdditions.h
// FitelCommon
//
// Created by ้่ๆญฆ on 14-2-21.
// Copyright (c) 2014ๅนด Fitel. All rights reserved.
//
#ifndef FitelCommon_CGRectAdditions_h
#define FitelCommon_CGRectAdditions_h
static __inline__ CGRect CGRectFromCGSize( CGSize size )
{
return CGRectMake( 0, 0, size.width, size.height... |
420410976866ff33e076292a3c3e3886aa6c05cc | 032122f0a1848d48cfd16dd94357bf92eaf4af23 | /leetcode/1034_coloring_a_border.h | 7c862d2dbcc571135e1ec51ecdcd179a735405f9 | [] | no_license | runningrunning/wasteland | 380510a0074b19bcd281ad3711cf43cbd30a5070 | f25148816cfe3ae0709e795be2a69e55630975f2 | refs/heads/master | 2023-03-11T03:01:13.794859 | 2021-02-26T08:50:11 | 2021-02-26T08:50:11 | 184,945,993 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,745 | h | 1034_coloring_a_border.h | /**
* Return an array of arrays of size *returnSize.
* The sizes of the arrays are returned as *returnColumnSizes array.
* Note: Both returned array and *columnSizes array must be malloced, assume caller calls free().
*/
void _color(int** g, int r, int c, int x, int y, int oc, int nc)
{
if (x < 0 || x >= r || ... |
3a6b2ea346b78ddaf9d15631b4ba48d0cebc3056 | 0c846407b8c1356580208e2fff8c86e5e54f5b47 | /original/GenProg/schedule/rds/v4/8/result/processor.c | c3555b1a654cf875c0f125522ae71469d3517cee | [] | no_license | ymxl85/MRs-based-test-suite-for-APR | 3522691bab1b8f126ed47ee930895e7b98a222a3 | b6c6e7e027629fef00e737726161970760a2d560 | refs/heads/master | 2020-11-29T22:26:05.610363 | 2020-04-27T02:59:34 | 2020-04-27T02:59:34 | 230,019,140 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 898 | c | processor.c | #include <stdio.h>
#include "processor.h"
float getOperand(char * str)
{
float r=0.0;
char b[10];
int i,j,len;
int minus=0;
int value;
i=strlen(str)-1;
while(i>=0 && str[i]=='0')
{
i--;
minus++;
}
/*if(i<0)
{
b[0]=0;b[1]='\0';
value=atoi(b);
r=value*1.00;
return r;
}*... |
cca74dd560bfae72ef8b8866e1d3e597f5e702c2 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/gcc.target/msp430/pr78818-data-region.c | 5b0721e728a4521eede85d25293ba326cd8857ad | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C | false | false | 285 | c | pr78818-data-region.c | /* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-mcpu=msp430" } { "" } } */
/* { dg-options "-mlarge -mdata-region=either" } */
/* { dg-final { scan-assembler-not "\\.either\\.data" } } */
/* { dg-final { scan-assembler-not "\\.either\\.bss" } } */
#include "pr78818-real.c"
|
6d70c392baba5c9958782975f73978bf0684e215 | 1a325b810a9488dc82934ce9809dd8954d8ce06c | /utils.h | 9ffb7a2520feb958933a34f164a5a210be7f00c4 | [
"BSD-2-Clause"
] | permissive | Fruneau/libcommon | 91aeade5371a5649cd90f24ef76cf461fc11383d | 29ae0bdd18c52577baaa7641147ad6c1f2d21c9c | refs/heads/master | 2021-01-02T09:08:08.662294 | 2017-01-08T21:55:41 | 2017-01-08T21:55:41 | 5,222,156 | 7 | 2 | null | 2017-01-08T21:55:42 | 2012-07-29T12:24:26 | C | UTF-8 | C | false | false | 5,064 | h | utils.h | /****************************************************************************/
/* pfixtools: a collection of postfix related tools */
/* ~~~~~~~~~ */
/* ______________________________________________________________________ */
/* ... |
4f4e89a3e7a83549bb448b36b29016704b41a237 | 6a7a4794224ac8c8025201cbb9abd9af7f5e590d | /src/LCDShiftReg.c | 3eb7289494569e51cd2124a947487902bfc768e5 | [] | no_license | ideras/pic-lcd-library | d214659f59e33cffb4ac112aeaf680f89f916b4f | 1ae51460019d09cda3bbd52d402b2ba66dbc8be0 | refs/heads/master | 2021-01-15T13:44:47.012915 | 2015-06-26T02:41:08 | 2015-06-26T02:41:08 | 5,574,489 | 4 | 2 | null | null | null | null | UTF-8 | C | false | false | 4,991 | c | LCDShiftReg.c | // Original library created by Francisco Malpartida on 20/08/11.
// Copyright 2011 - Under creative commons license 3.0:
// Attribution-ShareAlike CC BY-SA
//
// Ported to PIC microcontrollers by Ivan de Jesus Deras (ideras@gmail.com)
//
// You can find more information of the original library at:
// https://gi... |
7490b2c643d57ff8e0dc1aaf45677199e8522f68 | 1802fdcd9763c40f4dcb2d5bfefdc7e1627430b9 | /examples/xenomai3/userspace_programs/isr/isr.c | f3e6f78760291dd36baa6f74754b853a233d4881 | [] | no_license | capitaneanu/xenomai3_rpi_gpio | 2cabad23651c329ffed0e870cb5481788d4fd6a3 | a506f6d87b906aa0757df0111671484fe1d3b0dc | refs/heads/master | 2023-03-16T11:51:18.306232 | 2020-04-08T10:09:29 | 2020-04-08T10:09:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,596 | c | isr.c | #include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <alchemy/task.h>
#include <alchemy/timer.h>
#include <rtdm/gpio.h>
#define IN 0
#define OUT 1
#define LOW 0
#define HIGH 1
#define POUT 22... |
2cf6e2e384453eac43358efc14e8c6ff8e12d247 | 419691817a8ff17fa003fa3d7575fa5d66fba170 | /libft/ft_strrchr.c | 7ff09fb34f900e1231ca7ba2512a29700ce0ff62 | [] | no_license | BretzelLudique/get_next_line | 1cba6c3eb99d657e5492d95f3ee1a03d5a1bb411 | a240999149af18955d6b103cb90a989f5923a048 | refs/heads/main | 2022-12-27T22:16:05.063503 | 2020-10-18T07:31:25 | 2020-10-18T07:31:25 | 305,046,494 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,156 | c | ft_strrchr.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strrchr.c :+: :+: :+: ... |
8ca897b5ae8efdd388735017c69c07e78a12ff62 | 53a807507449594cb2aa4fe165c976ef3b5a6ef0 | /Libft/ft_lstmap.c | 99492e61d1bf7ffe53a52ff087943929b51fb522 | [] | no_license | CheeseB/42SEOUL | 4f575a4c6e6ef9d966806c5a045fa61bad750d18 | 3a00c29270c6cce30e655a48ab3fba0ac52afc27 | refs/heads/master | 2021-01-09T11:52:56.237430 | 2020-10-22T04:17:15 | 2020-10-22T04:17:15 | 242,290,650 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,245 | c | ft_lstmap.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstmap.c :+: :+: :+: ... |
e7556e8bb4f46adfcaade9d34891c7134bdf25cc | 9d4ebe19586fc61ad9a742a69f2827cf8e32161b | /Implementacoes/filacesar/filacomnodescritor/fila.c | 12d6429b118e0a1f9b00cf998e63bd205df73c95 | [] | no_license | italoneves/Estrutura.de.Dados-C | f4e21812cb7088152677bfc18d64df8645bf07b8 | 6f27ded1f4ee262708b1aec5c26a4e25e13d5aba | refs/heads/master | 2023-05-26T07:46:20.593525 | 2021-06-11T14:17:03 | 2021-06-11T14:17:03 | 244,164,391 | 0 | 0 | null | null | null | null | ISO-8859-1 | C | false | false | 1,823 | c | fila.c | #include <stdlib.h>
#include <stdio.h>
#include "fila.h"
head_fila * criar_fila( ){
head_fila * f = (head_fila*) malloc(sizeof(head_fila));
f->final = f->inicio = NULL;
f->tam_fila = 0;
return f;
}
int tamanho_fila( head_fila * f ){ // VERIFICA O TAMANHO DA FILA
return f->tam_fila;
... |
a90fdd15be326fc121b8b04139152129018945de | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/sound/usb/line6/extr_driver.c_line6_hwdep_push_message.c | 522a86d776eb3a65638c0fa272e63133db50ce95 | [] | 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,272 | c | extr_driver.c_line6_hwdep_push_message.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... |
a4670de1e15836be1e726db37a2a99f863d7a2eb | e7f314ab4fe6b063a026cb9af0eb0ad0933f335d | /ZNuQ2Pt2eta_aa_all_allPt2_UML_bkgExpPol1_full_Tvz/data_FeD_Fe/rspic/hM1_4.C | c5fcfc9614ff96b84fe1efce8545927ca1804057 | [] | no_license | orsosa/EG2_analysis | 016f91bb3761b0cf309523837ebf2124944f8341 | 08cea395b98d050ea9ffbca866e267158578f147 | refs/heads/master | 2021-01-21T22:35:47.935595 | 2018-10-03T19:06:10 | 2018-10-03T19:06:10 | 102,161,447 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 58,171 | c | hM1_4.C | {
//=========Macro generated from canvas: c/The canvas
//========= (Thu May 3 15:53:21 2018) by ROOT version5.34/34
TCanvas *c = new TCanvas("c", "The canvas",1,1,920,666);
gStyle->SetOptStat(0);
c->SetHighLightColor(2);
c->Range(0,0,1,1);
c->SetBorderSize(2);
c->SetFrameFillColor(0);
// --------... |
2cddf5f9ed29540453836ef53e11cae8ff5312ae | 4ac81025610b3c51a0f4cdfa741c6e6e75ae925f | /HARDWARE/MOTOR/motor.c | a9fd3f3e83b337f3e56999055f89d1c3297cf609 | [] | no_license | yisea123/MOTOR-CODE-OF-SMART-SIGNPOST | a330665857d6a25af75addd4f7a29a08dcb5b746 | c32d378fc1d400dcfb999e222607e1016e534354 | refs/heads/master | 2020-06-17T00:22:53.571068 | 2019-05-16T10:02:31 | 2019-05-16T10:02:31 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 10,429 | c | motor.c | /***************************************************************************/
/***************************************************************************/
/***************************************************************************/
/**********็ตๆบ็ธๅ
ณๅฝๆฐ*****************************************************/
/*********... |
b209ec7aecd16f73c178dc1236356753ab94e756 | 98ee5bc94e754d9b1802d66d7b5c5fcf184a6c90 | /lib/include/snow3g_submit.h | 1f7293115a012087d15475d4addc8aef67c5dbf0 | [
"BSD-3-Clause"
] | permissive | intel/intel-ipsec-mb | f180701ca3dbdc26f310c5706cb3e8577defa2df | 9e17d6cad1f99e64f3534053a3ff096c46646058 | refs/heads/main | 2023-08-30T13:20:47.709185 | 2023-08-28T13:17:46 | 2023-08-29T13:14:00 | 73,856,328 | 255 | 89 | BSD-3-Clause | 2023-08-30T08:42:45 | 2016-11-15T21:22:17 | C | UTF-8 | C | false | false | 2,958 | h | snow3g_submit.h | /*******************************************************************************
Copyright (c) 2012-2023, 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 r... |
73bf6a4d7da1e572b123305cd73a8327c7b96c1c | 3499b1145f0827498625ec0ac71ba82bbbbda4ed | /board-package-source/libraries/Arduboy/src/ab_logo.c | 3718e5cde969f5bb9c3970dd3d85dca135af7bd7 | [
"BSD-3-Clause",
"BSD-2-Clause",
"CC0-1.0"
] | permissive | MrBlinky/Arduboy-homemade-package | 09120974a9c6a9ad1871ac68cbf852bb253bbd8e | 3b71be313e1a4daaa745a15cdf2b58c92b101441 | refs/heads/master | 2023-07-22T18:36:15.664481 | 2023-07-15T22:08:51 | 2023-07-15T22:08:51 | 121,283,656 | 104 | 31 | CC0-1.0 | 2023-01-02T08:24:54 | 2018-02-12T18:16:15 | C++ | UTF-8 | C | false | false | 1,246 | c | ab_logo.c | #include <avr/pgmspace.h>
#ifndef ARDUBOY_LOGO_CREATED
#define ARDUBOY_LOGO_CREATED
// arduboy_logo.png
// 88x16
PROGMEM const unsigned char arduboy_logo[] = {
0xF0, 0xF8, 0x9C, 0x8E, 0x87, 0x83, 0x87, 0x8E, 0x9C, 0xF8,
0xF0, 0x00, 0x00, 0xFE, 0xFF, 0x03, 0x03, 0x03, 0x03, 0x03,
0x07, 0x0E, 0xFC, 0xF8, 0x00, 0x00, ... |
ccc9dee273b29502ee66d57654c14f21c731fe35 | a990004e8263ed825eb4ee21c7eb842dd886cde2 | /src/lib/crypto/test/iso8859.c | bed724491092ca4f2aae0a77314378aac318f6ca | [
"BSD-2-Clause"
] | permissive | opendnssec/SoftHSMv2 | 8233f100f47c62f3b091c00706d9d13bfd1486bc | f4661af6680e187f220921c0a91d17d71a680345 | refs/heads/develop | 2023-08-04T23:48:24.514490 | 2023-08-02T20:51:58 | 2023-08-02T20:51:58 | 10,314,787 | 643 | 327 | NOASSERTION | 2023-09-01T07:23:24 | 2013-05-27T12:54:47 | C++ | UTF-8 | C | false | false | 878 | c | iso8859.c | /* This code was taken from http://www.fourmilab.ch/random/ where it states that:
This software is in the public domain. Permission to use, copy, modify, and distribute
this software and its documentation for any purpose and without fee is hereby granted,
without any conditions or restrictions. This softwar... |
265bc0ecfae49576f44a6964c915080afeb1be40 | 004fc94631b8b8572200eef17ed0eb04adddc6f1 | /lcd1602.c | c2c3a1bb3f35f4f49dab8d6e68485e28dbce1a27 | [] | no_license | Vincent-Canada/lcd1602-i2c-stm32-hal | 1ac094b336bce352a7ba358f415fef5372ce11e0 | afbdc0d08b6f33469949d3e6226dfd3ddf184ec9 | refs/heads/main | 2023-03-20T16:22:09.129128 | 2021-03-18T20:02:06 | 2021-03-18T20:02:06 | 349,196,101 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,770 | c | lcd1602.c | /*
* lcd1602.c
*
* Created on: Mar 18, 2021
* Author: Janmay
*/
#include "stm32f4xx_hal.h"
#include "lcd1602.h"
#include "i2c.h"
/*This function is used to send commands to lcd1602 through PCF8574
* lcd1602 is using 4 bit connection mode, and one byte needs to be sent two times. Upper 4 bits first.
* EN=1... |
e9864f1557db208cc8b6585c937ba6a3360721ca | ad8d01ab8e6b409d706484350bc6664618548051 | /project/blink/stateMachines.c | e04d8e84be1d330dd7d848cc248d894f3ed06095 | [] | no_license | utep-cs-arch-classes/proj2-blinky-toy-naescobedo | 7f24ddbef1f893b6e641cd9280b3e0c51bd720ce | 8c390407568d6352ea2be6e6e9e6488e6fbc1e06 | refs/heads/master | 2023-04-09T20:48:23.736178 | 2021-04-15T12:20:45 | 2021-04-15T12:20:45 | 352,481,270 | 0 | 0 | null | 2021-03-29T01:29:42 | 2021-03-29T01:29:38 | null | UTF-8 | C | false | false | 785 | c | stateMachines.c |
#include <msp430.h>
#include "stateMachines.h"
#include "led.h"
char toggle_red() /* always toggle! */
{
static char state = 0;
switch (state) {
case 0:
red_on = 1;
state = 1;
break;
case 1:
red_on = 0;
state = 0;
break;
}
return 1; /* always changes an led */
}
char toggle_gr... |
372df1adb1a618ec927736dee3d9310560c78e29 | 8239a5b618fce4f1f137d674eaee74e706e665ee | /tp6ex1.c | cd15e9373bad90c22628c5b9e49f59a1775121a9 | [] | no_license | ISET-Charguia/tp6-hamzayaakoubi | fabf4dccbe75036c75ed62365603186269c0cf6c | e497d8623c9f6824c37e0fb5e693c373867e357c | refs/heads/master | 2021-08-20T05:59:42.169836 | 2017-11-28T10:51:56 | 2017-11-28T10:51:56 | 111,579,851 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 861 | c | tp6ex1.c | #include <stdio.h>
#include <string.h>
int nbmot(char ch[]);
int separateur(char c);
char majus(char c);
void main ()
{
char ch[30];
printf("Donner une chaine " );
gets(ch);
printf("nombre de mot %d \n", nbmot(ch));
printf("%s\n",ch );
}
int separateur (char c)
{
char caractere[]=" .,;!?";
... |
3cd16ba49e5ff9ddb8589c83355ae3164ebdc2a1 | 1e074e828ca4bd5e4ee239c81745b6b2b818a6c7 | /apv5sdk-v15/autelan/wtpd_ng/src/wcpss/src/app/pub/CWCommon.h | 8d409a9632ef0eebdf5fbda9f3f6b7be092da2f2 | [] | no_license | hades13/apv5sdk-v15 | 51698f727b17f0cc05cbfd0df6ffff3da31d5b6e | 56b8a22a93e026580ecc8b33d18267e4ace4e02a | refs/heads/master | 2020-03-18T11:34:29.809253 | 2016-05-03T10:45:27 | 2016-05-03T10:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,479 | h | CWCommon.h | /*******************************************************************************************
* Copyright (c) 2006-7 Laboratorio di Sistemi di Elaborazione e Bioingegneria Informatica *
* Universita' Campus BioMedico - Italy *
* ... |
9b7e84420dd686ce370f5a804fd6a6eacf843642 | e3ddebd5c8cf9b2c7af2c0b70beb6faeb14b8209 | /LimeSDR-Mini_lms7_trx/software/lms_ctr_bsp/HAL/inc/nios2.h | 663810a20268bd6cd2bc186b6d731f8e44bf1cb5 | [
"Apache-2.0"
] | permissive | myriadrf/LimeSDR-Mini_GW | 7537053cc5a98664fc0334e81bb203131bc7277b | 05820628809ea4a10fa7eab5388766ed5de97812 | refs/heads/master | 2022-09-06T15:14:14.456399 | 2022-08-27T13:43:30 | 2022-08-27T13:43:30 | 95,960,868 | 51 | 40 | Apache-2.0 | 2022-06-09T13:33:27 | 2017-07-01T11:42:38 | VHDL | UTF-8 | C | false | false | 10,841 | h | nios2.h | #ifndef __NIOS2_H__
#define __NIOS2_H__
/******************************************************************************
* *
* License Agreement *
* ... |
83b6089636fc0e89481320e75b8b77fa5832a4e0 | 148d0c150fc4e8320cefe290e3016279facfeb07 | /Array/arrat sum+avg.c | 807402b65771e809cb8fdac87b976454aaf0a198 | [] | no_license | Arnab1899/Competitve-Programming | 78b15dcb4dcf492478ddf6a7ddcede0f256796e6 | 244b64363f0f45ba6126f25c13b2a3f063b91914 | refs/heads/master | 2023-03-23T07:16:13.960200 | 2021-03-14T17:35:22 | 2021-03-14T17:35:22 | 347,706,485 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 303 | c | arrat sum+avg.c | #include<stdio.h>
int main()
{
float arr[10],avg,sum=0;
int i;
for(i=0; i<10; i++)
{
scanf("%f",&arr[i]);
sum=sum+arr[i];
}
{
printf("Simulation= %.2f\n",sum);
}
avg=sum/10;
{
printf("Average = %.2f",avg);
}
return 0;
}
|
ec187fd16ed8c7858e65c6ab428485ea9a29fb7e | cbea49eecad8f9e13d7c6170b496ca5db4147cb2 | /Introduction-to-Programming/ZSR6/Z3/main.c | ec830f880f95d7d8f20ac510ed59d6f9da259abb | [] | no_license | amsiljak/c9-Projects | ea53221a9d83f955d8225797950783db8ae7be8f | 60a8242cd6dbf8edefc47bde3b0daa0f15993cdc | refs/heads/main | 2023-04-21T03:05:41.851590 | 2021-05-02T23:02:57 | 2021-05-02T23:02:57 | 363,766,433 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 186 | c | main.c | #include <stdio.h>
int main() {
int niz[2];
int i=0;
FILE* ulaz=fopen("Ime","r");
while(i<2 && fscanf(ulaz, "%d", &niz[i] )==1) i++;
printf("%d el",i);
fclose(ulaz);
return 0;
}
|
7d1e33e58ea4acef50a59f9809c8b76549602161 | 750ed0e697a2c6e418d5d8cfddab6f184b00b154 | /3.ybx/20.ds/11.DSAAC/binheap.h | dfedd34c76e6c7e4cedb20cb749fcebf0ffd781e | [] | no_license | wcybxzj/shang | 35b08b42d2534f414d15a7ba732c61dc99d8ac4b | 559e4173683c9949d5e82f915afd39b9d191f83b | refs/heads/master | 2021-06-05T15:57:08.178390 | 2021-04-20T05:08:52 | 2021-04-20T05:08:52 | 41,600,858 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 528 | h | binheap.h | #ifndef _BINHEAP_H_
#define _BINHEAP_H_
typedef int ElementType;
struct HeapStruct;//ๅจtestheap.cไธญๅฎไน
struct HeapStruct {
int capacity;//ๅฎน้
int size;//ๅฝๅไธชๆฐ
ElementType * arr;
};
typedef struct HeapStruct *PriorityQueue;
PriorityQueue Init(int max);
void Destroy(PriorityQueue H);
void MakeEmpty(PriorityQueue H);
void... |
706a9e9ea1b292b7ecd52ed1478869e04a5642a4 | 144fdeec6dec6ed22e702f8902f94d77ba0d6059 | /tests/com.oracle.truffle.llvm.tests.sulong/c/truffle-c/allDatatypeLiterals/longTest.c | 8c4867433c2b292e2e658e22ee1aad03be022acd | [
"BSD-3-Clause",
"NCSA",
"MIT"
] | permissive | pointhi/sulong | cb9dc61f54a113e988911f1e3654d6e5792c2859 | 5446c54d360f486f9e97590af5f466cf1f5cd1f7 | refs/heads/master | 2021-01-16T22:17:36.966183 | 2018-07-03T16:12:12 | 2018-07-03T16:12:12 | 67,107,046 | 1 | 1 | null | 2016-09-01T07:06:28 | 2016-09-01T07:06:28 | null | UTF-8 | C | false | false | 47 | c | longTest.c | int main() {
long a = 4L;
return (int)a;
}
|
40b63e526921c9e54140b4c79487580876947e2e | d6afaba8a7c3cdfcae78fb2eabc8589b4512d241 | /operator/connector.c | 605edf5c743bbe8903f65f93acedbfdc1370197f | [] | no_license | lkiversonlk/netsimulator | 85df16bcd7a11d486912ec8a4596a2794dca057d | ae35ea7d11616839ba7b11bab914b2cc77a03726 | refs/heads/master | 2021-01-22T23:15:59.717083 | 2013-04-28T06:35:41 | 2013-04-28T06:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 266 | c | connector.c | #include "operator/connector.h"
inline void connector_connect(Net *net, Connector *conn){
//clear the net's situation
net_reset(net_default_cap(net), net);
conn->connect(net, conn);
}
inline void connector_destroy(Connector *conn){
conn->destroy(conn);
}
|
7ee89c81bec861ff5a8d74f5ecc60c8f5e98c860 | 98dd5a3f2a5cd1949e9284d204a0a353e256aad6 | /test/main.c | f04625dd7b1834fc1e6c12d5dfaccef173146bba | [
"MIT"
] | permissive | topfreegames/libpitaya | ba4e2b141879f1b527a1a6137db88c05516d8e11 | 86b2f882c058e5bba0fbe6c37fe44842531d3eca | refs/heads/master | 2023-06-25T15:31:11.352779 | 2023-05-05T17:46:09 | 2023-05-05T17:46:09 | 128,069,735 | 64 | 39 | MIT | 2023-06-09T15:06:47 | 2018-04-04T13:56:25 | C | UTF-8 | C | false | false | 3,045 | c | main.c | #include <stdio.h>
#include <pitaya.h>
#include "test_common.h"
// HACK(leo): DO NOT EDIT THE LINES BETWEEN SUITES_START AND SUITES_END
// In order to update the number of suites automatically when a new suite is added,
// we compute the number of suites based on the number of lines between SUITES_START
// and SUITES_... |
4d3630af30f244f64bec1cb580c003af5b87033c | f8429058e3d73c62096ec1fbc219cd42ad5f9270 | /inicializacao.h | 975bca9bce8fe1d8874c0b88492640f9d91fba48 | [] | no_license | vanessavieira/SokobanBrBa | e7aba62ced8394a15bdb2c6a8898d2bfcb3bb116 | 741177cf24a6055f969aec699b6367534295f257 | refs/heads/master | 2020-04-17T08:24:36.612763 | 2015-11-16T13:33:11 | 2015-11-16T13:33:11 | 37,697,858 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,657 | h | inicializacao.h | volatile int exit_program = FALSE;
void keyboard_input()
{
int x;
for(x = 0; x < KEY_MAX; x++)
teclas_anteriores[x] = key[x];
poll_keyboard();
}
int apertou(int TECLA)
{
return(teclas_anteriores[TECLA] == 0 && key[TECLA] != 0);
}
int segurou(int TECLA)
{
return(teclas_anteriores[TECLA] ... |
8b204ac67036899e1b726948d7e2ad0143bbe1ba | c395b3f43bd6e03ad09e8d2cb3d865517012ad98 | /ip.h | dd80b327db57e4a9d6dfd5a59110d57fe38e9550 | [] | no_license | birdatdotty/dhcp | 0b27824200bbc07b2e231fffd563c964ef827781 | 634186bd06665ca09c749a73c021dae54d4f7484 | refs/heads/master | 2016-08-11T20:47:06.118051 | 2016-04-07T05:32:26 | 2016-04-07T05:32:26 | 54,829,859 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 699 | h | ip.h | #ifndef IP_H
#define IP_H
#include "server.h"
struct host_ip {
unsigned int oct0:8;
unsigned int oct1:8;
unsigned int oct2:8;
unsigned int oct3:8;
};
struct host_ip* host_ip_create (char *str);
char* get_ip (struct host_ip* ip);
char* get_arpa_ip (struct host_ip* ip);
int host_ip_destroy (struct host_ip* ip);... |
6e216c25f033ef9b36ec3641a1eba8cd6035f1e0 | f01be269423465bbb764ae27ea15e958146f2cea | /kernel/kernel.c | f657350bdaac2d456c4396107e2993d94f35f0af | [] | no_license | MyEyes/Nos-ARM | 93a06712472f0ec97a0abe8b75654f6417b5fbf4 | edf4004764c16975a4625c74f57329d433e9f9bb | refs/heads/master | 2020-04-15T12:42:40.236653 | 2017-08-03T12:15:40 | 2017-08-03T12:15:40 | 65,037,269 | 4 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,479 | c | kernel.c | #if !defined(__cplusplus)
#include <stdbool.h>
#endif
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include __PLATFORM__
#include "kernel/init.h"
#include "kernel/mem/mem.h"
#include "kernel/mem/paging.h"
#include "kernel/hw/reset.h"
#include "kerne... |
924e8ef2cb0981cbe5a034917bda4f3f5573b74e | 558018e099bf2fe74d938ea0e889efbcd14c0b67 | /src/pbr/utils/diagnostic.h | e56c0d636a1161f834cd12874b62d0c35dc897ce | [
"MIT"
] | permissive | moddyz/PBR | 1b4676da088a7e287fa1f0c241ebcbd8a5e610b4 | fa92b09a98d07503e1dc381fcb0e9d9b6ae88915 | refs/heads/master | 2021-01-27T19:07:42.068046 | 2020-08-17T08:53:04 | 2020-08-17T08:53:04 | 243,485,708 | 0 | 0 | MIT | 2020-07-26T11:49:03 | 2020-02-27T09:53:46 | C++ | UTF-8 | C | false | false | 4,555 | h | diagnostic.h | #pragma once
#include <pbr/pbr.h>
#include <pbr/utils/log.h>
#include <pbr/utils/stacktrace.h>
#include <stdarg.h>
/// \file utils/diagnostic.h
///
/// Diagnostic utilities.
/// \def PBR_ASSERT( expr )
///
/// Asserts that the expression \p expr is \em true in debug builds. If \p expr evalutes \em false,
/// an er... |
186708a1e7a61a03429c7afae140c65437a19899 | 824bed58a8dccf77d5f0db715f4767fa6894ac9a | /2.socket_project/ไธไธชๅฐๆธธๆ/UDP_FootBall_Game/common/show_strength.c | 9328d9aa9de4e059a072cfb97146591731608203 | [] | no_license | hello-sources/Linux_OS | da93f8790a97ad21656c1dd19eeca80e09b73bf2 | 4ba5c9d7329393ffdaf88645076311b9991a60f7 | refs/heads/master | 2021-12-28T20:07:46.704105 | 2021-12-15T12:15:00 | 2021-12-15T12:15:00 | 247,025,132 | 4 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,331 | c | show_strength.c | /************************************************************
File Name : show_strength.c
Author: Ginakira
Mail: ginakira@outlook.com
Github: https://github.com/Ginakira
Created Time: 2020/06/30 19:54:35
************************************************************/
#include "head.h"
extern WINDOW ... |
68740367f6f47032a701e4a64f39cbb8b905b147 | 88e2e389e1fbfd981249025447fc0887037b081e | /CPE-practice/22801-doomsday.c | e924e531369e7101b313082c6f833c9fc4d616bc | [] | no_license | TMYuan/Cpp-practices | 6ece9935769b432e1bb14615b5c7a9ac5ffbb8bd | e417ed78f031570623c7d253d247ddcd3b39a5d2 | refs/heads/master | 2021-06-30T08:52:04.342361 | 2017-09-19T17:25:55 | 2017-09-19T17:25:55 | 103,153,932 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,600 | c | 22801-doomsday.c | #include <stdlib.h>
#include <stdio.h>
int main(){
int num;
scanf("%d", &num);
while(num--){
int month, day, start_day, count=0;
scanf("%d %d", &month, &day);
if(month == 3){
day += 28;
month = 2;
}
switch(month){
case 5:
... |
4baf3860520829e8cba03a9c4212fdd6dc80ae7f | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/drivers/iio/humidity/extr_hdc100x.c_hdc100x_set_it_time.c | 6868534d0f9244d519b7870a4022799e43060167 | [] | 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,158 | c | extr_hdc100x.c_hdc100x_set_it_time.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... |
7ce5c6ea75084e5bec22da87f129b4a1f14e4dae | 39d8ece183f84c6dc0c3ee45df8c3c8fa356163f | /liancancai/20160905/2016-12-09/test/test1.c | 18c50f4dcc8bd35feec658f7d020f43d44bb647f | [] | no_license | cyysu/Study | 2f785943334e51f8b70e1fb057a880a408347374 | 489bbf11d03940007d37e3e77eeb0bf5da2f5cb9 | refs/heads/master | 2021-01-12T05:37:49.346902 | 2016-12-11T09:19:50 | 2016-12-11T09:19:50 | 77,150,994 | 4 | 0 | null | 2016-12-22T14:29:47 | 2016-12-22T14:29:46 | null | UTF-8 | C | false | false | 767 | c | test1.c |
#include <stdio.h>
#include "va_arg.h"
void function(int a , ...);
//getchar
//putchar
int main(void)
{
0;
4832904;
32;
function(10,20,'C',"hello",60,70);
return 0 ;
}
void function(int a , ...)
{
va_list ap ;
va_start(ap , a);
int number ;
number = va_arg(ap , int);
printf("number:%d \n" , nu... |
345aa486f6af03cdfab674fb3c84e912635ac201 | 091864a78f5e0efe326c824b897d870a9f0d3560 | /factors.c | f16717fd4cd69469df0718d4f6b9c7d64fde44b9 | [
"MIT"
] | permissive | AshokKumarAK/Basic-programs-using-C | 084cd2550321edcaaf63a25c21b0688539e526be | d48ad4a22d732f56a2d93c040e5f694becff2759 | refs/heads/master | 2020-03-20T18:33:18.245733 | 2018-06-16T16:31:09 | 2018-06-16T16:31:09 | 137,593,408 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 176 | c | factors.c | #include<stdio.h>
void main(){
int num=124,end,ctr;
end=num/2;
for(ctr=2;ctr<=end;ctr++){
if (num%ctr==0){
printf("%d ",ctr);
}
}
}
|
57154331f66ef1921c4dfe17370ee4978bb97a09 | a91796ab826878e54d91c32249f45bb919e0c149 | /3rdparty/libtiff/tif_fax3sm.c | ba2fc532e8014ba7842da95821e6ad95ead1f87d | [
"libtiff",
"IJG",
"Zlib",
"BSD-3-Clause",
"Libpng",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | opencv/opencv | 8f1c8b5a16980f78de7c6e73a4340d302d1211cc | a308dfca9856574d37abe7628b965e29861fb105 | refs/heads/4.x | 2023-09-01T12:37:49.132527 | 2023-08-30T06:53:59 | 2023-08-30T06:53:59 | 5,108,051 | 68,495 | 62,910 | Apache-2.0 | 2023-09-14T17:37:48 | 2012-07-19T09:40:17 | C++ | UTF-8 | C | false | false | 104,760 | c | tif_fax3sm.c | /* WARNING, this file was automatically generated by the
mkg3states program */
#include <stdint.h>
#include "tiff.h"
#include "tif_fax3.h"
const TIFFFaxTabEnt TIFFFaxMainTable[128] = {
{12,7,0},{3,1,0},{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},{1,4,0},{3,1,0},
{5,3,1},{3,1,0},{2,3,0},{3,1,0},{4,3,1},{3,1,0},... |
fcda887822a711f12b4c17bfb36d53b04dc4c2df | 51218fe80b2c18823449915dc4a51f30a34ecbd7 | /user_defined.c | 49b1955d03282b8decb102e14676228ca6ab44b5 | [] | no_license | Ruanfc/a_la_ursa | 0ec158901aea830eb495b46372b0de81ab79beae | 6a78e169edbb4d307f766d079c895f92e2414230 | refs/heads/master | 2023-05-19T20:53:06.294219 | 2021-06-14T00:38:15 | 2021-06-14T00:38:15 | 372,588,707 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 834 | c | user_defined.c | #include "user_defined.h"
#include <msp430g2553.h>
//#include "multi.o"
// ===============================================================
// --- Declaraรงรฃo de funรงรตes definidas pelo assembler ---
int mult(int a, int b);
int ab(int x);
int div(int dividendo, int divisor);
// ===========================================... |
cbec6872703063bbb0d708174d26ebc363f0ad58 | 08bfdbd06384ce5587e2947821f3b26a824eae9f | /secp256k1-zkp-sys/depend/secp256k1/src/ecmult_gen_impl.h | 901c477f2b64b3ed1937b3da14413db6053f051d | [
"CC0-1.0",
"MIT"
] | permissive | rishflab/rust-secp256k1-zkp | 499786cba0e8fe3ab248a5f7cd05388a1692f208 | 5e21a5f1e3de678a21bc6173b3d5cce031b41fe7 | refs/heads/master | 2023-06-06T17:59:17.834024 | 2021-05-04T21:41:17 | 2021-05-04T21:41:17 | 386,136,371 | 0 | 0 | CC0-1.0 | 2021-07-21T04:31:59 | 2021-07-15T02:25:08 | null | UTF-8 | C | false | false | 10,047 | h | ecmult_gen_impl.h | /***********************************************************************
* Copyright (c) 2013, 2014, 2015 Pieter Wuille, Gregory Maxwell *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
***************************... |
80ef642686790af0fc8d7822656eb18c1a10091e | 2f4e5097509015d70d80f538f67d99f4638703ca | /1BIT/letnรญ/IJC/DU1/error.h | a4c68f8cd72c256587f39de14b5422ed0abf01a9 | [] | no_license | matejMitas/VUT_FIT_BIT | c36c33bf9158097074be9b2504afa69d1775689d | 45cfa3f593c15f264a9c8a484eeb07546a3eb661 | refs/heads/master | 2022-11-05T17:31:00.998989 | 2019-06-23T09:52:48 | 2019-06-23T09:52:48 | 193,276,025 | 0 | 0 | null | 2022-10-05T23:59:19 | 2019-06-22T20:18:59 | C++ | UTF-8 | C | false | false | 308 | h | error.h | // error.h
// ลeลกenรญ IJC-DU1, pลรญklad a), 28.02.2017
// Autor: Matฤj Mitaลก, FIT
// Pลeloลพeno: gcc 4.9
#ifndef errors_h
#define errors_h
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#endif /* errors_h */
void warning_msg(const char *fmt, ...);
void error_msg(const char *fmt, ...);
|
9fe7329fd84e5891b385b924f799e98a9210145c | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/arch/um/drivers/cow.h | 6673508f342603554c4fbe874511ab6df14af45f | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.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 | 1,037 | h | cow.h | #ifndef __COW_H__
#define __COW_H__
#include <asm/types.h>
extern int init_cow_file(int fd, char *cow_file, char *backing_file,
int sectorsize, int alignment, int *bitmap_offset_out,
unsigned long *bitmap_len_out, int *data_offset_out);
extern int file_reader(__u64 offset, char *buf, int len, void *arg);
ext... |
376a88be1be6169640bdd580f85776143232fe45 | c31e42dd14bf642571957dac82bc656ad7174c75 | /Whitebook/Ch2/3_Constants.c | 267233159b79dfd31d30ec5aed49df1385096bfb | [] | no_license | Jaeeunykim/CodingTrip | 9434f9b5799daeb7b5dd52a1a38cce1016ed1572 | 607376c25c84afcf9b93dc23ba47616aff2c3cad | refs/heads/master | 2020-12-02T19:17:26.214139 | 2017-07-13T08:53:37 | 2017-07-13T08:53:37 | 96,318,922 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,052 | c | 3_Constants.c | 2.3 Constants
int์ ๋ค์ด๊ฐ์ง ์์๋งํผ ํฐ ์ ์๋ long์ผ๋ก ๊ฐ์ฃผ
Unsigned ์์(๋ถํธ๊ฐ ์๋ ์์)๋ ํฐ๋ฏธ๋uํน์ U๋ก ์ด๋ค
Unsigned long๋ ul๋๋ UL๋ก ํ์ํ๋ค
๋ถ๋์์์ ์์์๋ ์์์ (123.4)๋๋ ์ง์ (1e-2) ๋๋ค ํฌํจ๋๋ค
์ ๋ฏธ์ฌ f๋๋ F๋ถ๋์์์ ์์๋ฅผ ๋ํ๋ธ๋ค
์ ๋ฏธ์ฌ l๋๋ L๋ long double์ ๋ํ๋ธ๋ค
// ๋ฌธ์์ด์ ๊ธธ์ด ๊ตฌํ๊ธฐ
ํจ์์ ์ : charํ string๋ฐฐ์ด์ ์ธ์๋ก ๊ฐ์ง๊ณ ์๊ณ return ํ์
์ด int์ธ strlen ํจ์
ํจ์๊ตฌํ :
์ ์ํ์ธ ๋ณ์ i ์ ์ธ,
string๋ฐฐ์ด i๋ฒ์งธ ... |
941d5b5cd6219cd21c1074233822da015511d849 | fd5c9a04dce47ffb7c04679ba0aa3c881ac9a9e8 | /edk2_LG_G7_THINQ/workspace/Build/LgG7ThinQPkg/DEBUG_GCC5/AARCH64/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib/DEBUG/AutoGen.h | 8d40a0704f3b2724ef537107984e58a0a80f4adc | [] | no_license | vicenteicc2008/Lg_G7_EDK2 | 806d989be213be958ede975a70216ecc73c7fc2f | 1210b68969df4d6e3d7490e203f1b19acf4ad8e8 | refs/heads/master | 2023-05-01T15:15:35.497559 | 2021-05-25T23:48:38 | 2021-05-25T23:48:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,226 | h | AutoGen.h | /**
DO NOT EDIT
FILE auto-generated
Module name:
AutoGen.h
Abstract: Auto-generated AutoGen.h for building module or library.
**/
#ifndef _AUTOGENH_36F6E94E_6E8E_488E_89A4_7AD911C5AFB1
#define _AUTOGENH_36F6E94E_6E8E_488E_89A4_7AD911C5AFB1
#ifdef __cplusplus
extern "C" {
#endif
#include <Base.h>
#i... |
10f9148d08611acd4ae2ae5c0bc9a9e3a5c7fe55 | 9077cc094b39b88ae2dec76a4dc0335f11822c54 | /parseoEntrada.c | 4e0879e0a3ae11e1f67d318c0b272ed64a205076 | [] | no_license | nachochiappe/7541-carolo-tp2 | 27c66c8de0a1c8cae2329021693df51626886fb9 | 0b8ffdb96c800e6905ccef6c7b040bb29cfb0fe7 | refs/heads/master | 2021-07-21T17:07:50.121963 | 2017-11-01T15:48:50 | 2017-11-01T15:48:50 | 105,069,567 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,655 | c | parseoEntrada.c | /*
* parserXML.c
*
* Created on: 28 oct. 2017
* Author: fernando
*/
#include "parseoEntrada.h"
#include <string.h>
#include <stdlib.h>
void parseaClienteXML(TElemCliente *clienteNuevo, char *lineaXML) {
char *inicio, *token;
char cadenaAuxiliar[4];
char *cadenaTemp = malloc(strlen(lineaXML) + 1);
if (!... |