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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f2d21ab5db2543dde04d50805e83aace0c4923e3 | 1d8bd6785fc676bbbc4da9390a9f0a28f7ad16e4 | /Source/Config.h | aa2639031243fe1d8b79b1f8684d080f46a90f30 | [] | no_license | ManuelRobles7AM/Naves_Inicio | 42ae45031de7d7a572883e7108b8991effb03ea6 | dd817373577eac4f9d829e1300107c2a879abd4e | refs/heads/master | 2021-01-15T09:18:26.104356 | 2014-12-17T04:42:53 | 2014-12-17T04:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 487 | h | #ifndef __CONFIG_H__
#define __CONFIG_H__
#define WIDTH_SCREEN 640
#define HEIGHT_SCREEN 480
#define BORDE_IZQUIERDO 1<<0
#define BORDE_SUPERIOR 1<<1
#define BORDE_DERECHO 1<<2
#define BORDE_INFERIOR 1<<3
#define FPS_LIMIT 30.0f
#define FPS_DELAY 1000.0f / FPS_LIMIT
#define MODULO_MINAVE_NAVE 0
#define MOD... | [
"dalay.m@gmail.com"
] | dalay.m@gmail.com |
8b78266f581717d356605db2d0c2d17198546e33 | 2abe537056d5e8b4acfa8946b563cdae12666f43 | /AssignmentNo26/QuestionNo4/Header.h | e1dfdb51ec50aa9f6c99e728cacfd508e037b6c7 | [] | no_license | imPrajwalKadam/C-Assignments | 13c4a6144e30ce665d67062a238b51d3ee8d88b3 | c48b55081fd0f6ceab11024dad5beda9ce175f44 | refs/heads/main | 2023-06-06T22:56:52.292662 | 2021-07-08T11:02:15 | 2021-07-08T11:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 56 | h | #include<stdio.h>
void StrCpyX(char *src,char *dest);
| [
"noreply@github.com"
] | imPrajwalKadam.noreply@github.com |
f24c813ec112121483ebc85f5c55695a30eaafdf | 3ee72449a67604227961af8ea950a3d0fbf212e5 | /CW6687/CW6687C/APP/config/user_14_164B/config_setting.h | 67165f062dd33f9d5e6214db71f7ba18ca3675c8 | [] | no_license | Edragon/buildwin | d0eca542f8a0e5b98f995801c4ac514f07ba558d | 258a1ca3409b64dfb41ef732df14790680d5a548 | refs/heads/master | 2020-03-18T01:48:01.332725 | 2018-05-20T15:29:01 | 2018-05-20T15:29:01 | 134,160,248 | 1 | 3 | null | null | null | null | GB18030 | C | false | false | 28,462 | h | /*****************************************************************************
* Module : Config
* File : config_setting.h
* Author : Hanny
* Function : 用户配置文件
*****************************************************************************/
#ifndef USER_CONFIG_H
#define USER_CONFIG_H
/*****************... | [
"info@electodragon.com"
] | info@electodragon.com |
546ae89cd96088e0e9b47bbc1a56a96d2cfe9805 | dcf26a6bcf853a3f8f6f50f9379998ef4d8aad40 | /vendor/hisi/hi35xx/third_party/uboot/board/freescale/t102xrdb/spl.c | 6c12ceec0522c1b4aaadc8a40fa5bcc56d91885f | [] | no_license | small-seven/testmem | c5f3202dce1c369e9d84cdaaccc2008b827c16d8 | 2771460c617439bd1be562ffdc94543ea170a736 | refs/heads/main | 2023-03-12T22:16:28.824577 | 2021-03-03T04:24:59 | 2021-03-03T04:24:59 | 343,847,762 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 685 | c | #include <common.h>
#include <console.h>
#include <env_internal.h>
#include <malloc.h>
#include <ns16550.h>
#include <nand.h>
#include <i2c.h>
#include <mmc.h>
#include <fsl_esdhc.h>
#include <spi_flash.h>
#include "../common/sleep.h"
#include "../common/spl.h"
#if defined(CONFIG_SPL_MMC_BOOT)
#define GPIO1_SD_SEL 0x00... | [
"huihuigong@users.noreply.github.com"
] | huihuigong@users.noreply.github.com |
df84f45b8c9f768c4a16ad1da1b354da1cc6d7d6 | a25458a119c844bb3cdf84bcd50de8bf1ba48b37 | /simple.c | a32df78a2830c2f0a28bbdcd7452b7927019b6bf | [] | no_license | curtisbright/mepn | 976653948ae9affca0767f1e944c209e0b60500c | 990e1f54a3b3b0ae184622546aeee4567689be30 | refs/heads/master | 2016-09-03T07:07:45.883246 | 2015-11-01T11:29:23 | 2015-11-01T11:29:23 | 17,382,771 | 1 | 2 | null | null | null | null | UTF-8 | C | false | false | 3,658 | c | #include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <dirent.h>
#include <string.h>
#include <time.h>
#include <gmp.h>
#define MAXSTRING 120000
int subword(char* prime, char* start, char middle, char* end, int* k)
{ int i=0, j=0, l=0;
*k = 0;
while(1)
{ if(j!=strlen(start))
{ if(prime[i]==start[... | [
"cbright@uwaterloo.ca"
] | cbright@uwaterloo.ca |
fa6eca76f18edec47a952f84b39372f5e4993358 | f71c2f58feba8799ccf50b18f8a3fef687e7b352 | /src/codeseg1/codeseg1_55.c | 352b9bfcccce266bd2692443eaa30ae732a3116a | [] | no_license | Ponmander/Rocket-Robot-On-Wheels | 6f2b546e5e10be48b062d66d9c49ab350d6f5c7d | a89320ee53fa07901c3e4a3d8104f1635b4a001a | refs/heads/master | 2023-03-08T11:30:27.807530 | 2021-02-25T02:57:46 | 2021-02-25T02:57:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 153 | c | #include <include_asm.h>
#include <ultra64.h>
INCLUDE_ASM(s32, "codeseg1/codeseg1_55", guMtxF2L);
INCLUDE_ASM(s32, "codeseg1/codeseg1_55", guMtxL2F);
| [
"mrwiseguyromhacking@gmail.com"
] | mrwiseguyromhacking@gmail.com |
d2fb8b799dad742de714214db5db9655614971db | a296a3a4cb2c2683331d80bff471ef61902f99fe | /Sources/LightSensor.h | 0c351a0cbf867431dbd68094430136b2a9dc3a12 | [] | no_license | davidhuwyler/LiDo | d3b4e12278553f59c9e2a1ce5989061bd11ac6b0 | f9bbc9eb17a92931f3cb8bc2630a70f371402858 | refs/heads/master | 2020-04-24T01:49:35.117676 | 2019-05-31T18:01:42 | 2019-05-31T18:01:42 | 171,613,997 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 896 | h | /*
* LightSensor.h
*
* Created on: Feb 20, 2019
* Author: dave
*
* Driver for the AS7264N LightSensor via I2C
*/
#ifndef SOURCES_LIGHTSENSOR_H_
#define SOURCES_LIGHTSENSOR_H_
#include <stdint.h>
#include "CLS1.h"
typedef struct {
uint16_t xChannelValue;
uint16_t yChannelValue;
uint16_t zChannelValue... | [
"david.huwyler@gmail.com"
] | david.huwyler@gmail.com |
e3571c12de58aecd04bc30b735b766a75254ea6f | fb4b0fc5326706e56a9eaf52a70d149349de46e7 | /rt1170_digital_cluster-develop/Source/middleware/usb/device/usb_device_ehci.c | 577a07be3f1d151159c565fe20203e4317f21397 | [] | no_license | Wenbo1234/rt1170 | 390b524fbcdb2f47cbd293ec556837f618c2fb3f | fc2b2825b5b8ac2c16526ee3577b091db5a79278 | refs/heads/master | 2023-01-14T01:05:54.300322 | 2020-11-17T07:20:36 | 2020-11-17T07:20:36 | 313,246,894 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 76,958 | c | /*
* Copyright (c) 2015 - 2016, Freescale Semiconductor, Inc.
* Copyright 2016 - 2017 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "fsl_common.h"
#include "usb_device_config.h"
#include "fsl_device_registers.h"
#include "usb.h"
#include "usb_device.h"
#if ((defined(USB_DEVICE_C... | [
"15600219330@163.com"
] | 15600219330@163.com |
f9c0a30ef6752d4ea31587847dae5c23e0a31ed3 | 7470a3a9fdc58d682cc9b900e52b533c68546457 | /UNIVERSITY-PRACTICE/30_rmv_frt_wrd.c | c5fc124a5c6b3a6e646a4520844c611f5e66e199 | [] | 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 | 703 | c | #include <stdio.h>
#include <string.h>
int main()
{
char ch[1000], ch1[1000];
int i, j, f, c = 0;
int l, l1;
printf("Enter any string: ");
gets(ch);
printf("Enter any word to search: ");
gets(ch1);
l = strlen(ch);
l1 = strlen(ch1);
for(i = 0; i <= l - l1; i++)
{... | [
"touhiduzzamantuhin95@gmail.com"
] | touhiduzzamantuhin95@gmail.com |
652d0e58bed3767ea21181bf8aadf0a117a4d4eb | 1fabbdfd1ca9ea1b6808893e12bd907eb74de414 | /xcode/Classes/Native/AssemblyU2DCSharp_SPacket_SocketInstance_GC_SYNC_PAY_ACTIVIT_0.h | 3baedb4c707e7c98f02da23d55dad993ec953dae | [] | no_license | Klanly/TutorialPackageClient | 6f889e96c40ab13c97d107708ae8f3c71a484301 | b9d61ba2f287c491c9565b432f852980ec3fee28 | refs/heads/master | 2020-12-03T01:42:35.256114 | 2016-11-01T02:40:21 | 2016-11-01T02:40:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 210 | h | #pragma once
#include <stdint.h>
// System.Object
#include "mscorlib_System_Object.h"
// SPacket.SocketInstance.GC_SYNC_PAY_ACTIVITY_DATA_PF
struct GC_SYNC_PAY_ACTIVITY_DATA_PF_t3969 : public Object_t
{
};
| [
"bu213200@gmail.com"
] | bu213200@gmail.com |
98e141a9927a3410f7a4324df086fcc0a23e7b2b | 4d5fc41a348f065f27d2c06305f31bb2e27b806e | /c_src/sumArray.c | e5a92856d797dffc844b4b04aeee478dad09c02d | [] | no_license | sykim9587/Linux_src | 4c81a22ba26f8657caaf13cd7a8ea2c8b178ec52 | 8b0201226eff580f6b33a8818842384a4f368aeb | refs/heads/master | 2022-12-18T04:30:01.130153 | 2020-09-13T07:30:08 | 2020-09-13T07:30:08 | 276,586,646 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 365 | c | #include <stdio.h>
//int sumArray(int pArr[5], int size) // pArr[] is also a pointer, and
//the number is ignored.
int sumArray(const int *pArr, int size){
int result=0;
for(int i =0; i <size; ++i)
result += pArr[i];
return result;
}
int main(void)
{
int nums[] = {1,2,3,4,5};
int re;
re = sumArray(nums, 5... | [
"sykim9587@gmail.com"
] | sykim9587@gmail.com |
d8edd16a4b5b5de86a60c9a0093bc7aed87de2bd | 42b2e559eeac3d2f632273d725d10df1b62dd424 | /Assesment/pro19.c | 98c188c75bc014774d4890d58452e643e7f9c722 | [] | no_license | EdwardView/JMI_PROGRAM_C | bb4f9ccb8a727887fe39df7da7056ce9b7110f4a | 00a8b43a44ff01f19e7de7d5edf20fe76bee298a | refs/heads/master | 2020-05-03T15:07:25.918388 | 2019-03-31T14:20:28 | 2019-03-31T14:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 431 | c | //Check number is prime or not between 1 to 10,000.
#include<stdio.h>
int check_prime(int);
int main()
{
int i,flag;
printf("Prime Number between 1 to 10,000 is : \n");
for(i=2; i<=10000; i++)
{
flag = check_prime(i);
if(flag == 1)
printf("%d is prime number.\t",i);
}
return 0;
}
int check_prime(int num)
{... | [
"noreply@github.com"
] | EdwardView.noreply@github.com |
11fa5ce333018735a9a59535b2af43f2ed8c1d7c | 6dbf099660ee82b72fb2526a3dc242d99c5fb8c8 | /nuitka/build/include/nuitka/helper/operations_binary_add.h | e2ad417c0b4a1fcf09fad05f7e1c41073709e4fb | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Hellebore/Nuitka | 3544af691bc352769858ec1d44b6e9de46087bcf | 252d8e5d24521f8fff38142aa66c6b9063151f57 | refs/heads/develop | 2021-01-06T15:33:49.111250 | 2020-02-18T14:24:49 | 2020-02-18T14:24:49 | 241,380,473 | 0 | 0 | Apache-2.0 | 2020-07-11T17:52:04 | 2020-02-18T14:21:01 | Python | UTF-8 | C | false | false | 7,789 | h | // Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com
//
// Part of "Nuitka", an optimizing Python compiler that is compatible and
// integrates with CPython, but also works on its own.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | [
"kay.hayen@gmail.com"
] | kay.hayen@gmail.com |
e3bc3ba3345cd892f0a2e6d39280dd39a5d55b20 | b0ae7a9cd95f4562454a53617eeaa59fd893c1a7 | /malloc.c | 8807db39f864da7c764d226315045258fadf16e2 | [] | no_license | KOSHVENDRA/dynamic-memory-allocation | eafad5c2e641c54b825c361a977795db0c934c62 | 20008dfb8457809cad1c429f9a7de9a5784927c9 | refs/heads/master | 2020-09-23T11:23:48.848511 | 2019-12-04T02:13:26 | 2019-12-04T02:13:26 | 225,489,723 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 650 | c | #include<stdio.h>
#include<stdlib.h>
double * kosh(int *data ,int n){
double sum=0;int i;
for(i=0;i<100;i++)
{sum=sum+data[i];
}
double mean=sum/100;
double var=0;
for(i=0;i<100;i++)
{
var=var+(data[i]*data[i]);
}
double variance=var/100;
static double val[2];
val[0]=mean;
val[1]=va... | [
"koshvendra1999@gmail.com"
] | koshvendra1999@gmail.com |
f9490dc30461521f6072f82803d991758306104e | 26f7ec43327f9d9baff3ebbfa553b1f1412590cf | /src/libxpeccy/fdc.h | 76817997c4be8f5d2819bf3d72babfaa6655ca40 | [
"MIT"
] | permissive | RandomAmbersky/Xpeccy | da7c97b2ac6fa7f5e966df8b7cd7d17bd1d4e38a | 78afe426adac6a04a8ee3eb33d4607e8737e1c6f | refs/heads/master | 2022-05-04T23:47:59.486684 | 2022-02-23T13:21:56 | 2022-02-23T13:21:56 | 87,579,979 | 0 | 0 | null | 2017-04-07T19:27:40 | 2017-04-07T19:27:39 | null | UTF-8 | C | false | false | 2,734 | h | #pragma once
#include <stdlib.h>
#include "floppy.h"
#define FDC_FAST 1
enum {
FDC_NONE = 0,
FDC_VG93,
FDC_UPD765,
FDC_VP1_128,
FDC_I8272
};
enum {
DIF_NONE = 0,
DIF_BDI,
DIF_P3DOS,
DIF_PC,
DIF_SMK512,
DIF_END = -1
};
#define BDI_SYS 0xff
#define FDC_COM 0x1f
#define FDC_TRK 0x3f
#define FDC_SEC 0x5... | [
"samstyle@list.ru"
] | samstyle@list.ru |
6910df48faf4aa112bfddec6134d3fe397e9cbbd | 707259d598611f942bb938636abb1048439d767a | /Projects/STM32H747I-EVAL/Examples/RTC/RTC_Alarm/CM4/Inc/stm32h7xx_hal_conf.h | b7b22400ff73280b922f3beeb20729a471fdda62 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | liuchao/STM32CubeH7 | 24170b07a915732e86625be56047ae933fef085d | 426ec38b02c3de7b24de20e1d2c39e6b98e0b925 | refs/heads/master | 2021-01-08T20:08:07.632354 | 2020-02-21T13:28:09 | 2020-02-21T13:28:09 | 242,129,212 | 0 | 0 | NOASSERTION | 2020-02-21T12:00:27 | 2020-02-21T12:00:26 | null | UTF-8 | C | false | false | 13,868 | h | /**
******************************************************************************
* @file RTC/RTC_Alarm/CM4/Inc/stm32h7xx_hal_conf.h
* @author MCD Application Team
* @brief HAL configuration template file for Cortex-M4.
* This file should be copied to the application folder and renamed
* ... | [
"ali.labbene@st.com"
] | ali.labbene@st.com |
6c291556df0769ef33c54ddaa118e5bac69a6205 | 40de3da30239862f11a946166b50438174c2fd4e | /lib/guilds/necro/base_guild_old.c | bbde29cff03c0a9109e95ee0155130f06ee89a0c | [
"MIT"
] | permissive | vlehtola/questmud | f53b7205351f30e846110300d60b639d52d113f8 | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | refs/heads/master | 2020-12-23T19:59:44.886028 | 2020-01-30T15:52:16 | 2020-01-30T15:52:16 | 237,240,459 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,044 | c | inherit "guilds/guilds/guild";
inherit "room/room";
reset(arg) {
load_plaque();
set_not_out(1);
set_light(3);
if(arg) return;
call_other("/wizards/celtron/cemetary/virtual_map", "loading_hc", 0);
add_exit("out","/wizards/celtron/cemetary/virtual_map: 30 8");
add_exit("south", "/guilds/necro/control1");
... | [
"ville.lehtola@iki.fi"
] | ville.lehtola@iki.fi |
3a6aa10f8155a3016efb0462efab529f34ad7ae8 | 3bda97c2d65cf226a54954b6fbbab2e26185e97a | /miniboard/firmware/src/time.h | f3328eb4bffb2100fec394bbd02c890b7a07ba97 | [] | no_license | OSURoboticsClub/Rover_2016_2017 | 1990422d01b216ca149a4b1bbd6b01f1f7596bdc | e000d62bf35676c78009c0508551138cbda2846b | refs/heads/master | 2021-06-16T17:48:15.184742 | 2017-06-03T08:15:03 | 2017-06-03T08:15:03 | 64,271,667 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 274 | h | /* OSU Robotics Club Rover 2016
* Miniboard Firmware
*
* time.h - Millisecond timekeeping.
*/
/* Start the timer used for timekeeping. */
void time_init(void);
/* Return the current time value (milliseconds since the rover was
* powered on). */
uint32_t get_ms(void); | [
"nick@fetchmodus.org"
] | nick@fetchmodus.org |
43342a1b322f65d8a5d1d69795cf5984680bb7a1 | b9a206812f4eed2261e718c95e19d1b3eb9f2438 | /FreeRTOS/models/FreeRTOSConfig.h | eade5fe1b30727c54e818df9be6b09ebeff98d25 | [] | no_license | glocklueng/MBMios32 | beefde5062257db74ea9a8ec7e898cac51eaddce | 676e9b6c644eae4111f7ef0a72b16655c0acd5b9 | refs/heads/master | 2021-01-20T21:26:06.568393 | 2016-05-13T20:28:41 | 2016-05-13T20:28:41 | 61,983,773 | 0 | 1 | null | 2016-06-26T10:15:26 | 2016-06-26T10:15:26 | null | UTF-8 | C | false | false | 4,351 | h |
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
// MIOS32 specific predefines - can be overruled in your local mios32_config.h file
// don't include complete mios.h, but only relevant parts!
#include "mios32_datatypes.h"
#include "mios32_config.h"
#include "mios32_sys.h"
#ifndef MIOS32_MINIMAL_STACK_SIZE
#define... | [
"neon.king.fr@gmail.com"
] | neon.king.fr@gmail.com |
d7379920e741b36584fa34666221b7d819e43575 | 9bc841644549e0494e213cdbf1036415a0037fb0 | /2019_07_11/memory-user.c | 755d9668e9aec753bacf254a9d30fe4fd39f0afa | [] | no_license | jheison0210/2019-SO-Electronica-1745184 | 4d498f8b686be8a80fcb249cf6765209357dcaec | e2f14fca3a041a61f273fcc81ae4c94d9ec62e27 | refs/heads/master | 2020-05-31T21:46:34.983622 | 2019-07-11T17:50:44 | 2019-07-11T17:50:44 | 190,506,576 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 377 | c | #include <stdio.h>
#include <stdlib>
#include <unistd.h>
int main(int arg, clar** argv){
if() {
printf("por favor digitar un numero\n");
exit(-1);
}
int memorysize = atoi(sgv[1]);
memorysize = 1024*1024;
int *arreglo = (int*) malloc(sizeof(int) * memorysize);
int i = 0;
for (; i <memorysize, i++) {
arre... | [
"invitado@s5pc41.eisc.univalle.edu.co"
] | invitado@s5pc41.eisc.univalle.edu.co |
c232e8659a196de359fe42005cf4b4e8123bf855 | 241edf34255ba6e1206b6f38846398919dcc6735 | /bubbleSort.c | ae100dadebd7553bd3991d1d259f1cfe73874629 | [] | no_license | jagadeesh2006/sorting | 4dbf5a6487fb1df64bf514ec1ed021183b07b029 | 3947684d76e436fcb2619228ad425226d3466923 | refs/heads/master | 2020-12-26T07:50:22.616507 | 2020-01-31T13:40:58 | 2020-01-31T13:40:58 | 237,438,103 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 449 | c | #include<stdio.h>
#include <stdlib.h>
int main()
{
int a[1000],n,i,j,temp;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
for(i=0;i<n-1;i++)
{
for(j=0;j<n-1-i;j++)
{
if(a[j]>a[j+1])
{
temp=a[j+1];
a[j+1... | [
"jagadeesh20062000@gmail.com"
] | jagadeesh20062000@gmail.com |
b8ced5d60284537342f2b8b8b140f8e9602cc276 | 817c4df6b5e2ef294f0a32e5300f849145e08da9 | /qnx/reference/openqnx-master/trunk/lib/c/1a/wordexp.c | 2c375ad171a549aab915e4d776e58f6434203f0f | [] | no_license | wizardst/mycode | c7a019816fb8274a067faaa1c0e47ca621b6b469 | deb5ac69d59892066cf59e7e1c87cd2e1e1fd14f | refs/heads/master | 2021-03-14T15:47:04.276266 | 2019-10-18T01:01:51 | 2019-10-18T01:01:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 959 | c | /*
* $QNXLicenseC:
* Copyright 2007, QNX Software Systems. All Rights Reserved.
*
* You must obtain a written license from and pay applicable license fees to QNX
* Software Systems before you may reproduce, modify or distribute this software,
* or any work that includes all or part of this software. Free dev... | [
"929391874@qq.com"
] | 929391874@qq.com |
b070aca23671d1156f0ed1bbd6f89be2e0ce663e | 05ae1e2c9c66c524ac6ef4c3bb6fea80119652ba | /heuristique.h | 5c47eff25d7b46abdb186f1c73ac7b1f7ad31958 | [] | no_license | BruJu/SolveurDeFutoshiki | 0a6ce092812500eab37049b275204197df2f1b3d | 91d2d62eea4c10db72e6d590268b0deeac6320b0 | refs/heads/master | 2021-06-01T11:54:08.042079 | 2019-11-06T17:39:36 | 2019-11-06T17:39:36 | 94,774,850 | 1 | 0 | null | null | null | null | ISO-8859-1 | C | false | false | 3,874 | h | #ifndef __H_HEURISTIQUE__
#define __H_HEURISTIQUE__
#include "definitions.h"
/* ==============================================
HEURISTIQUE ORDRE
============================================== */
/**
* Inverse les variables dans la liste des variables à instancier.
* Utilisé pour que l'instanciation soit le mêm... | [
"bruyat.ju@live.fr"
] | bruyat.ju@live.fr |
c0fa9df422416efbf85556f9f4a3422c9e4a5598 | 38c0ef1759dc9a9b715589ea632dd1ac6b64d598 | /Projects/NUCLEO-H723ZG/Examples/BSP/Src/stm32h7xx_it.c | e7b857273485038f290e4279acf7ab16324e917a | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | engycz/STM32CubeH7 | 9fb379f88d80ca8813557c9ab4e9f83dd7a97bf5 | 91dd6590d8904651ac01380dd1adaf0b2e8a3068 | refs/heads/master | 2021-11-26T04:15:14.720718 | 2021-11-18T14:07:06 | 2021-11-18T14:11:23 | 235,042,695 | 0 | 0 | NOASSERTION | 2020-01-20T07:27:10 | 2020-01-20T07:27:09 | null | UTF-8 | C | false | false | 4,151 | c | /**
******************************************************************************
* @file BSP/Src/stm32h7xx_it.c
* @author MCD Application Team
* @brief Main Interrupt Service Routines.
* This file provides template for all exceptions handler and
* peripherals interrupt service rout... | [
"ali.labbene@st.com"
] | ali.labbene@st.com |
e68252d17956b371e202753d2f5fd6c2cc06f9fd | fe23cf3b25cac1aa3d681c7fdac9b2c6a03c364a | /myBank.h | 023e8f5879700b2143204fde64fc49ca325b5291 | [] | no_license | AmitTzumi/SystemProg | 0e6f3aea41b725955af1987b904c502b64a7d4a9 | 99bae8941909933336d690e8afb4c56b0afa6676 | refs/heads/master | 2023-01-22T03:51:53.522480 | 2020-12-06T20:26:02 | 2020-12-06T20:26:02 | 319,058,721 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 220 | h | void O(double amount);
void B(int account_number);
void D(int account_number, double deposit);
void W(int account_number, double withdrawal);
void C(int account_number);
void I(double interest_rate);
void P();
void E();
| [
"amittzumi@hotmail.com"
] | amittzumi@hotmail.com |
077a0ae812a15a1437d6ed138c413a884ac4024b | 1baa0d9650e3ebe27109f47e229f89b6e292e39b | /ch12/12_16.c | 1c9be1167c6a6cd99654c94129c57e84d0f25e40 | [] | no_license | ppd0705/play_apue | de2eaef6330b78fc07c7e5621b314c718b8fc240 | b487fb7c08f8645e6d0aadbbec50b3627ff54a0d | refs/heads/master | 2022-12-19T21:00:38.993553 | 2020-10-12T00:43:48 | 2020-10-12T00:43:48 | 258,960,747 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,513 | c | #include <pthread.h>
#include "apue.h"
int quitflag;
sigset_t mask;
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
void *thr_fn(void *arg) {
int err, signo;
for (;;) {
err = sigwait(&mask, &signo);
printf("thread err %d\n", err);
... | [
"ppd0705@163.com"
] | ppd0705@163.com |
77d004d81c95f07da77acd3765a8409192c02d75 | 9085651d9f622782bc772750269f7efaafc0e24d | /0-1-aff_last_param/aff_last_param.c | e022f8e260ff39dac2818d553218b261971d551d | [] | no_license | brayanmcz/42ExamPrep | 7ec96db73dc575f4c08c2d86a546f7db542048c1 | b034d7efe8b42fb0f645fc1e53e71ecbea1c0a80 | refs/heads/master | 2020-03-28T14:57:02.272409 | 2018-09-13T14:35:37 | 2018-09-13T14:35:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,195 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* aff_last_param.c :+: :+: :+: ... | [
"bcastro@e1z1r6p14.42.us.org"
] | bcastro@e1z1r6p14.42.us.org |
5a5b2776b588beefac9895b6e3bf5a2607ee64b5 | 33db9339c1d42d2b7386994dfc6561595b5e178f | /src/memorization.c | 5d10586d075a52c2924106d3da6b1f82126db8e7 | [
"BSD-2-Clause"
] | permissive | ptrayal/d202PF | 9e0de97be63b7e9557816bc6d102b38e5c91fde4 | e075d49d985342011c3d2a0cb7e3bd3c33dfbe53 | refs/heads/master | 2021-01-23T17:33:34.809499 | 2020-08-03T09:58:24 | 2020-08-03T09:58:24 | 32,033,960 | 4 | 1 | null | 2016-02-11T15:47:07 | 2015-03-11T18:25:11 | C | UTF-8 | C | false | false | 73,069 | c | /*********************************
* Memorization of spells *
*********************************/
/*****************************************************************************+
A linked list takes care of the spells being memorized, then when it is
finished, it is saved using an array ch->player_specials->sav... | [
"ptrayal@gmail.com"
] | ptrayal@gmail.com |
5c9209d62fae2c9458f21499e44353ef2aa047fe | 91c38938989b9669982e4992a31d4cc12675bb09 | /gamelib.h | 9115f21c363e3f80c41151ebe6a1b2ed2af0ac2e | [
"MIT"
] | permissive | ftfetter/The-1024-Game | cf17c87bd8e60f5bbac6796bbf56e7e3097ccc54 | 4facdeee0ae3ea45d8726c97c2a14194e3e1ddfc | refs/heads/master | 2021-01-12T11:40:40.821007 | 2016-12-01T02:56:34 | 2016-12-01T02:56:34 | 72,255,717 | 2 | 0 | null | null | null | null | ISO-8859-1 | C | false | false | 7,771 | h | #define SIZE_NAME 45 //tamanho da string 'name'
#define RECORDS 10 //quantidade de registros salvos nos recordes
#define NORMAL 4 //tamanho do tabuleiro normal
#define MEDIUM 5 //tamanho do tabuleiro médio
#define LARGE 6 //tamanho do tabuleiro grande
#define HEIGHT 1 //altura do bloco (partindo do cen... | [
"noreply@github.com"
] | ftfetter.noreply@github.com |
1580981dfffb867a6783b3b5c59578a7c2d268de | 0f3d7af9b5566c7d3870ee296209d30d70f2af73 | /PapuEngine/MyScreens.h | c219d7978874a934f1d0ba707a048c344442d865 | [] | no_license | Altron01/Funda_Final | 5e75d9fb167bff5e915f599514b57fe6ec0adaff | 0019254387fa605c9ff67106855aaaf30deab142 | refs/heads/master | 2020-04-09T04:54:59.679882 | 2018-12-02T12:10:29 | 2018-12-02T12:10:29 | 160,043,179 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 193 | h | #pragma once
const int SCREEN_INDEX_NO_SCREEN = -1;
const int SCREEN_INDEX_MENU = 0;
const int SCREEN_INDEX_INSTRUCTIONS = 1;
const int SCREEN_INDEX_GAME = 2;
const int SCREEN_INDEX_OVER = 3;
| [
"diegoramirez194@gmail.com"
] | diegoramirez194@gmail.com |
fe86f37b614e939aa75cf673013bb94435a9412d | 39706994cd16c17189f2f38faff720ee804e8613 | /catkin_ws/src/katana_manipulator/mc_2565d6e0.c | 8af9a9c36af78fea297a3f7d4455ef58850dc038 | [] | no_license | RobotJustina/RCF-MathWorks-2020-14 | 103dd2cd4d7c762604ac644132641dca80f92e7c | c49314f0ae58b1c69067fc22d1c548df05f9990b | refs/heads/master | 2022-12-30T09:21:16.603653 | 2020-10-21T17:25:39 | 2020-10-21T17:25:39 | 300,088,934 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 37,255 | c | #include "pm_std.h"
#include "pm_std.h"
#include "mc_std.h"
#include "mc_std.h"
#include "pm_std.h"
PmfMessageId mc_kfurBusHpmK3ii_yoisMKW(PmSparsityPattern**
mc_VLr_Ia18P_8icXM9WFOfYI,PmRealVector**mc_FXE5BOU2zapujDAvVByFCm,const
PmSparsityPattern*mc_V_ku0ZO8TOxhc9438tlsBI,const PmRealVector*
mc_V8ujEMKrDU8Q_mvu4yja1b... | [
"contact@mnegretev.info"
] | contact@mnegretev.info |
f59b9a5d70841717b95487bab4ceaa1737f808db | 209011aef896ef5d47ef68cc848a16bf1d74424c | /ir100_driver/src/tinkerforge/lib/tinkerforge/source/bricklet_industrial_digital_in_4.h | 8e79e20c5136abdf2036f73dd3955c9631a3e45c | [
"CC0-1.0"
] | permissive | Sunspeed-Robotics/C100 | ec6f79180108b1a5489821006617c551b5eb9195 | 5400099ea0454e9008e9a5408382147e850a33ce | refs/heads/master | 2020-04-13T10:43:00.852283 | 2019-02-21T06:55:11 | 2019-02-21T06:55:11 | 163,150,659 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 13,975 | h | /* ***********************************************************
* This file was automatically generated on 2018-02-28. *
* *
* C/C++ Bindings Version 2.1.19 *
* *
* If... | [
"robotics@sensorobots.net"
] | robotics@sensorobots.net |
8c2b607a32eca8ff4b0f1ac57c5bdef5e0495036 | 3a795bf72e237a4b73c90cf1e5d8e962e7c71e3c | /lab_04_3_2/print_words.c | e556c9b338ae5486e59ffb66e59a09e588e468c4 | [] | no_license | MyMiDiII/bmstu-c | 669b35885cc9e969e802bcc98cfb5f0c25b2f4ba | f442c533288322683d643c1dbf4ffe7a4098f1b9 | refs/heads/main | 2023-02-25T04:50:31.570263 | 2021-01-31T12:20:33 | 2021-01-31T12:20:33 | 334,440,050 | 4 | 2 | null | null | null | null | UTF-8 | C | false | false | 1,255 | c | #include <stdio.h>
#include "print_words.h"
bool is_matching(const char *str1, const char *str2)
{
int i;
for (i = 0; *(str1 + i) != '\0' && *(str2 + i) != '\0'; i++)
{
if (*(str1 + i) != *(str2 + i))
{
return false;
}
}
if (!(*(str1 + i) == '\0' && *(str2 + i)... | [
"mymidi.student@yandex.ru"
] | mymidi.student@yandex.ru |
57ca8df46dba884f0d86350532213d1626527b1e | 829f433f724dc30ec808e1c363fb645c06555958 | /Projects/STM32F401-Discovery/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c | 0e31b5b255122c4a17bf6300ede94d7f6ec55921 | [
"BSD-2-Clause"
] | permissive | Bosvark/STM32Cube_FW_F4_V1.1.0 | 3d451932af8017a2459dd8ed8072df854af6707e | 6f48d86351bdd8a9f0ede4d89fa8ad651b4a2667 | refs/heads/master | 2020-05-29T20:55:36.815358 | 2014-09-24T01:59:22 | 2014-09-24T01:59:22 | 21,951,493 | 0 | 1 | null | null | null | null | MacCentralEurope | C | false | false | 14,866 | c | /**
******************************************************************************
* @file I2C/I2C_TwoBoards_ComDMA/Src/main.c
* @author MCD Application Team
* @version V1.0.1
* @date 26-February-2014
* @brief This sample code shows how to use STM32F4xx I2C HAL API to transmit
* ... | [
"dieter@bluebag.co.za"
] | dieter@bluebag.co.za |
ce4e9f33397a4d709c5a6bd68dba3d1ec692bdfa | 6e969e1f3e14e1251b02f4f3fc1a2b623ac5286e | /saclib/src/MPFFGEN.c | 0717dee97d3373c69cfda55c4004321e18d4afec | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | PetterS/qepcad | 11f4e1f5ba773bbfea5de69b85c01b9663aefa92 | d9b8661bc37bbb50a3ac4a90a3000e602fda8f15 | refs/heads/master | 2023-03-18T16:31:31.444303 | 2023-03-12T15:44:03 | 2023-03-12T15:44:03 | 21,304,917 | 24 | 13 | null | 2023-03-12T15:44:04 | 2014-06-28T14:55:20 | C | UTF-8 | C | false | false | 1,401 | c | /*=======================================================================
A <- MPFFGEN(p,F)
Medium prime finite field generator.
Inputs
p : a medium prime.
F: a monic irreducible polynomial over Z_p in aray
representation of degree n, n >= 2 and p^n < beta.
Output
A: a monic primitive element of Z... | [
"petter.strandmark@gmail.com"
] | petter.strandmark@gmail.com |
ee6f58bfc54f1f0b22f900124c5854041b319025 | 6489a8cc4a7c591cd073b5820a5cfc8dbcc6c0b5 | /soNetwork/resource.h | 3cc48bf3e40bbd21a4d332812926932da29a3251 | [] | no_license | Alex009/soProject | c6e744e8140078a09b6325f6df9f4ae40df35ddc | 975879900610cffd021f800caf057bd42b557ee1 | refs/heads/master | 2023-03-07T00:26:20.541740 | 2021-02-17T11:58:11 | 2021-02-17T11:58:11 | 339,708,580 | 2 | 0 | null | null | null | null | WINDOWS-1251 | C | false | false | 479 | h | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by soNetwork.rc
#include "../shared/version.h"
// Следующие стандартные значения для новых объектов
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE ... | [
"Aleksey.Mikhailov.ru@gmail.com"
] | Aleksey.Mikhailov.ru@gmail.com |
c0e255f087c25cd7aa625822becc432bc1640e6e | dbbef29b50d3e01698fe54b1d63b59f152fe41ed | /MS51DA9AE_MS51BA9AE/Library/StdDriver/inc/sys.h | 78b5ecb49b7af68ed410ecaa2c83157ced3e23e6 | [
"Apache-2.0"
] | permissive | OpenNuvoton/MS51BSP_KEIL | f66f200d11be4d0be8e13c364239fc6836e7faa4 | c0cb83d9d7379f3f32c58be2c0cd84b5dee026fe | refs/heads/master | 2023-06-25T07:55:19.370703 | 2023-06-12T08:21:22 | 2023-06-12T08:21:22 | 231,041,654 | 17 | 16 | Apache-2.0 | 2023-03-16T03:20:57 | 2019-12-31T06:49:21 | C | UTF-8 | C | false | false | 1,249 | h | /*---------------------------------------------------------------------------------------------------------*/
/* */
/* SPDX-License-Identifier: Apache-2.0 ... | [
"LCWANG0@nuvoton.com"
] | LCWANG0@nuvoton.com |
ffaba48f1087d665f2141e4a05c6dea88952eac9 | f5796d9226dbe2521983a6fcca8e7742e5d0a219 | /read-command.c | a125ada193e6e5513f60252ad32a08686d715b2b | [] | no_license | bkonold/CS111-Lab1 | bf5e4fce78279c4056a950346487535d4ddc01c9 | ff06f45ed3cc96a83c487f8b5cc7a6337744c3c5 | refs/heads/master | 2020-12-24T13:17:45.110340 | 2014-04-26T06:15:27 | 2014-04-26T06:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 24,711 | c | // UCLA CS 111 Lab 1 command reading
#include "command.h"
#include "command-internals.h"
#include "string.h"
#include "alloc.h"
#include "stack.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
//
/* FIXME: You may need to add #include directives, macro definitions,
static function definitions, etc. *... | [
"brettkonold@gmail.com"
] | brettkonold@gmail.com |
ccdb249625ef383685e0e8e70924c4178128a5fd | 2492857a845e0058c9ec734ba164977bc9b5a6cf | /Emerald/include/sh/sh_rot.h | b38a0ed0f7538c6c276ba56b9c4dbe68d79ce11f | [
"MIT"
] | permissive | kbiElude/Emerald | c597d67b4323481079968a368d33c52d02318e45 | d4309e9c1a9ff79790008958e5a2956aec67cd5f | refs/heads/master | 2020-04-03T21:32:47.573267 | 2017-02-19T20:04:42 | 2017-02-19T20:04:42 | 25,086,193 | 11 | 3 | null | 2015-07-02T21:22:33 | 2014-10-11T16:32:14 | C++ | UTF-8 | C | false | false | 2,388 | h | /**
*
* Emerald (kbi/elude @2012)
*
* TODO
*
*/
#ifndef SH_ROT_H
#define SH_ROT_H
#include "shared.h"
#include "sh/sh_config.h"
#include "sh/sh_types.h"
REFCOUNT_INSERT_DECLARATIONS(sh_rot, sh_rot)
/** TODO */
PUBLIC EMERALD_API sh_rot sh_rot_create(__in __notnull ogl_context,
... | [
"dominik.witczak@mobica.com"
] | dominik.witczak@mobica.com |
689febfb6f0d2bae63807227297a4176902e349f | e65423f7712cbcfc88acaecdeaf69b6b3f34ad54 | /libraries/server.h | 33a391138d41eda1f34a941ceb088c5abe8e5515 | [] | no_license | yasmws/joguinho | 24f785d271955d4e2d097bd6bdddd339df3c9026 | 5ae313cc14d8d1e67d1f3496ba3bd62d8f2ec6ce | refs/heads/master | 2020-09-08T06:53:08.222310 | 2019-11-20T15:28:25 | 2019-11-20T15:28:25 | 221,051,887 | 2 | 0 | null | 2019-11-15T06:35:27 | 2019-11-11T19:14:05 | null | UTF-8 | C | false | false | 702 | h | #ifndef LIB_SERVER_H_
#define LIB_SERVER_H_
#define MESSAGE_OK 0
#define NO_CONNECTION -1
#define NO_MESSAGE -2
#define NOT_VALID_CLIENT_ID -3
#define DISCONNECT_MSG -4
#define CLIENT_DISCONNECTED -5
#define WAIT_FOR_IT 1
#define DONT_WAIT 2
struct msg_ret_t{
int status, client_id, size;
};
void serverInit(int ma... | [
"noreply@github.com"
] | yasmws.noreply@github.com |
2c0f29d559449c88c365ab70fad642248963a038 | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/d3a08a47-f891-4123-b055-c19049baf996.c | 010ab06e9d10073bf22342e7647e5f7fed942e83 | [] | 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 | 562 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=4;
int j=142;
int k;
int l;
k = 53;
l = 64;
k = i/j;
l = i/j;
l = j/j;
l = l/j;
l = k%j;
k = k-k*i;
//variables
//random
/* START VULNERABILITY */
int a;
int b[76];
int c[60];
a = 0;
while... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
0df1ff7fb443df1e5596cbf6e11ff50ad253032e | 472138b1565006a581e4b33344d41d145a78bd92 | /Ejemplo Dash-Button ESP8266/app/user/udp_server.c | c8412c6b727b47b7bd5b9b42447411a886441c7b | [] | no_license | TodoElectronica21/ESP8266 | a864112580573917dcb80f08b36596627b27d442 | abddc724a452256b394e56823d598d71cf10ce0f | refs/heads/master | 2020-03-27T06:33:37.028075 | 2018-09-04T09:10:26 | 2018-09-04T09:10:26 | 146,114,991 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 1,826 | c | #include "udp_server.h"
#include "button_n_phase.h"
#include "access_spiflash.h"
#include "ip_addr.h"
#include "espconn.h"
#include "osapi.h"
struct espconn udp_server_conn;
esp_udp udp;
extern struct spi_config spi_config_buffer;
static void ICACHE_FLASH_ATTR serverSentCb(void *arg) {
os_printf("server... | [
"noreply@github.com"
] | TodoElectronica21.noreply@github.com |
ecc8dcf9cf9cba2edc39933f13952e550ef8a521 | c486a0a4764ce76cb3823cf9db56663a4977e57e | /dist/tools/mklist.c | da7fa952c79d08b6dc376067ea8196d0bc89fb3a | [] | no_license | rofl0r/irix-3.x-src | 5a78dec0ec7b88972ad49a6e005d9e6dd5d63966 | e5f21f6d1c77aad92583c20f6bf25285077f5fe1 | refs/heads/main | 2022-04-20T05:25:02.489203 | 2020-04-21T00:22:43 | 2020-04-21T00:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 12,658 | c | /* mklist [ -options ] [ name ] ...
Create a sorted list of pathnames on stdout. Options:
-d restrict output to directory names (equiv -od)
-e traverse directories as encountered, rather than
delaying until asciibetically correct.
-f restrict output to file names (equiv -obcflp)
-i read names to be proces... | [
"johncvalentine@protonmail.com"
] | johncvalentine@protonmail.com |
4f66c9826343ded02b8f91cf41fa25be90eeb02f | a04087e2e96de05f0fe97716cdad49f8f1f81f35 | /app/src/jni/mgncs/samples/src/list.c | fb9e9235ac35306cbb3b4f47a15dea26525e542e | [] | no_license | VincentWei/minigui-scripted | 58a24670bc0961520863a150e98debd45f419403 | 37cc1eba3493b9453ee88dd4c4914d73ec15851d | refs/heads/master | 2021-01-24T04:19:14.500625 | 2018-02-25T12:02:17 | 2018-02-25T12:02:17 | 122,927,862 | 6 | 1 | null | null | null | null | UTF-8 | C | false | false | 4,702 | c | /**
* $Id: list.c 1617 2011-03-24 09:48:44Z shidazhi $
*
* Listing P2C18.1
*
* list.c: Sample program for mGNCS Programming Guide
* The demo application for List.
*
* Copyright (C) 2010 Feynman Software.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// START_OF_INCS
#include <minigui/com... | [
"dongjunjie@xiaomi.com"
] | dongjunjie@xiaomi.com |
5c55a5b02d3a4a065a1ccb958033973f4dfa5427 | c9c3bb34458f447277c7fa2a372516c694208b33 | /date_calc.c | 57d2b1b19a76372375b1e3d541523b3cbf03770c | [] | no_license | mkillewald/linux-amiga-phoon | 10752fb6b299a87d7e078751d947eb71bfcfae65 | 46b4eca2669a95cdfe443f3dd292ef0fcd3a9452 | refs/heads/master | 2023-04-27T17:42:50.408165 | 2019-10-12T15:40:54 | 2019-10-12T15:40:54 | 213,600,358 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,522 | c | /* date_calc - add minutes, hours, days, months or years to a given date
**
** Copyright © 2019 by Mike Killewald <mkillewald yahoo.com>
** 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... | [
"mkillewald@yahoo.com"
] | mkillewald@yahoo.com |
be8fac148fcda0e99cf6623381cc6d1cd57a3e02 | 555a8e34e8c32e8435be0ea29ffbd1527cd3b3fc | /tests/includes/ft_tests.h | bb315c2743d4b0e3d658b3c9e41ee9b82df64b05 | [
"MIT"
] | permissive | kcosta42/Libftasm | 5423f481945b086fcd56000530598dba6a8b7274 | 894ef6a9e2a6699bd3faa52c5be6e4478763b0d6 | refs/heads/master | 2020-03-27T21:51:39.693578 | 2019-03-11T10:16:49 | 2019-03-11T10:16:49 | 147,181,255 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,678 | h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tests.h :+: :+: :+: ... | [
"kcosta@student.42.fr"
] | kcosta@student.42.fr |
e7ab3319e53f7cdf6d505dd34a31bbf7d2598dcb | d1cead6b83197392aa87d5b6a23f6277a8d4bddd | /UVa/11332 - Summing Digits (2).c | 2db22d7def2775b5ab2844d6a83f349a1a13aac5 | [] | no_license | shahidul-brur/OnlineJudge-Solution | 628cee3c9d744dedc16783a058131571d473f0ec | 21400822796d679b74b6f77df2fc8117113a86fd | refs/heads/master | 2022-09-22T00:42:21.963138 | 2022-09-21T14:01:09 | 2022-09-21T14:01:09 | 192,035,325 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 406 | c | #include<stdio.h>
int main()
{
int n,sum;
while(scanf("%d",&n) && n!=0)
{
sum=digSum(n);
printf("%d\n",sum);
}
int digSum(int n)
{
int rem,dig=0;
while(n!=0)
{
rem=n%10;
dig+=rem;
n/=10;
}
... | [
"noreply@github.com"
] | shahidul-brur.noreply@github.com |
806ec66e142c94c6280bf5ffa8f4497ebc5542cb | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/net/sched/extr_sch_qfq.c_agg_dequeue.c | c30f4558ff0a0126cd6219c01bc8cc648eec6227 | [] | 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,525 | c | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | [
"brenocfg@gmail.com"
] | brenocfg@gmail.com |
504c93a85ee510b3eca361a250ac6203e064d3e0 | 18a1687d0e0c81172ed7552a0984a29df56ba23d | /demos/benchmark/client_tipc.c | 5fc9e36b44ff7a57fd29195103584c31927ad23f | [] | no_license | enilsca/tipc-config-dev | ecc0e8649275de257a7082c6da46e59719864c6a | c66dcb7a0f05486d6ae4a0df59087a5c9b914ebb | refs/heads/master | 2016-08-07T06:25:33.625441 | 2012-08-08T11:57:15 | 2012-08-08T11:57:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 19,533 | c | /* ------------------------------------------------------------------------
*
* client_tipc.c
*
* Short description: TIPC benchmark demo (client side)
*
* ------------------------------------------------------------------------
*
* Copyright (c) 2001-2005, Ericsson Research Canada
* Copyright (c) 2004-2006, 2... | [
"allan.stephens@windriver.com"
] | allan.stephens@windriver.com |
a40c3e694b7c6fe695c204fe731b835a612f5354 | 7d81d1d3ca2b4a31bbf5789129950b480bd09a21 | /sample/reg_client/reg_client.h | bef274d67126faee82e8b70651975a8e7056d7e5 | [
"BSD-3-Clause"
] | permissive | 1375917982/FreeCoAP | 4ec58fd1928dbdcaeff0c963086933cd69c02213 | 2a027653964a0d25463bef706f4b79c4d3b98f33 | refs/heads/master | 2023-06-06T12:21:26.613305 | 2021-07-01T14:58:13 | 2021-07-01T14:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,175 | h | /*
* Copyright (c) 2017 Keith Cullen.
* 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 condit... | [
"12213462+keith-cullen@users.noreply.github.com"
] | 12213462+keith-cullen@users.noreply.github.com |
de34001cf02a28dc0c96def046e134ff954dd554 | e26c377ba92c9ed2cf296a5fc663e43087bed6d3 | /Inc/screen.h | 3ab4ee3222208711ac5867bb4402011f854a9564 | [] | no_license | KurlesHS/stm32f429i-disco-speccy-emul | 02ad4300bcc67d84839e569479fc233ecf3e9c82 | af5fba536210948ed6281e2cc2e49babe6218ead | refs/heads/master | 2021-01-01T16:55:48.094451 | 2015-08-11T04:13:58 | 2015-08-11T04:13:58 | 40,440,360 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 301 | h | #ifndef SCREEN_H
#define SCREEN_H
#include <stdint.h>
#include "speccy_hardware.h"
#include "stm32f4xx_hal.h"
#include "speccy_common.h"
void set_speccy_pixel(int current_line, int current_pixel, uint8_t color);
void gen_speccy_screen(speccy_hadrware *speccy);
#endif // SCREEN
| [
"kahshs@gmail.com"
] | kahshs@gmail.com |
cd06edf9b94c609cd39fa74895836e952119b38b | 53cec7c4ca4bef433c649c46d7cf208db4fb55e4 | /d/swordman/bingqipu.c | 6838f53bd4b8edf414b391d1d8f0aed8123c24df | [] | no_license | androids7/sjsh | c57b2f0f94932e228641a166efda8b7e19eefcc1 | 1c0391f6b8236f2c6e0c62a2bf904f47e3d5ca26 | refs/heads/master | 2021-01-09T15:35:19.076098 | 2016-02-21T11:27:48 | 2016-02-21T11:27:48 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 664 | c | //changan city
inherit ROOM;
void create ()
{
set ("short", "兵器铺");
set ("long", @LONG
刚一进门就看到兵器架上摆着各种兵器,从上百近重的大刀到轻如芥
子的飞磺石,是应有尽有。
LONG);
//set("item_desc", ([" *** " : " *** ", ]));
set("exits",
([ //sizeof() == 4
"north" : __DIR__"dalu7",
... | [
"liming.xie@gmail.com"
] | liming.xie@gmail.com |
c4bf9e228b542796930cfeb60eb96a3c2874ebba | 10ddfa982c2d87a52a261054d43bf902b10fd065 | /elog-parse/srcifruidentity.C | 3c8674ad13e3b730c00129d416a4cd40865aa0e8 | [] | no_license | open-power/errl | 9bb55022f57e14d5619f6fe03c2327d936b94f17 | 262210bf3bb90657f237a18cf181606efc04e61e | refs/heads/master | 2020-03-25T13:08:36.015255 | 2018-11-13T09:32:28 | 2018-11-13T09:32:28 | 143,810,496 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 8,544 | c | /*****************************************************************************/
// I n c l u d e s
/*****************************************************************************/
#include <srcifruidentity.H>
#include <cstring>
#include <utilstream.H>
#include <errlutility.H>
#include <srciutility.H>
#include <srcisrc.H... | [
"sampmisr@in.ibm.com"
] | sampmisr@in.ibm.com |
3ece623adeca87897d95ec763224bdc743e8b205 | ff7aa3960d5a0e99d19956678b547650471aa731 | /PL2ex6/batota.c | 75181fec95132209fbd54829553bdf81231ed6d1 | [] | no_license | 1100580/c-and-assembly | 70efb53a4c34411bb4e8a9bc32479755ed7f89d1 | 38357cba2703f767d4cd6c89b52701400eb273e5 | refs/heads/master | 2021-01-13T01:07:01.658693 | 2015-06-04T02:14:31 | 2015-06-04T02:14:31 | 36,842,528 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 167 | c | #include <stdio.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <stdlib.h>
int batota()
{
int ranN;
ranN = rand() % 5+1;
exit(ranN);
}
| [
"1100580@isep.ipp.pt"
] | 1100580@isep.ipp.pt |
0b9804bf41a4d98095b4114b38c0afa3ac3ed230 | 01e01e0ab0da769ac77a9b1c0b3c21f51582498c | /SDK/CHeaders/Widgets/XPWidgetDefs.h | 18a1bca8e0953f7223bc31287ec31ed771980ded | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | X-Plane/XLua | a299b74d78e8924b52191dd28a0a66a52101a5e0 | 8a7fb52dbb0ca98721a629e3799875b368ac764c | refs/heads/master | 2023-08-16T15:13:36.851423 | 2023-08-11T12:09:02 | 2023-08-11T12:09:02 | 56,715,495 | 31 | 21 | MIT | 2023-02-02T00:05:53 | 2016-04-20T19:32:48 | C | UTF-8 | C | false | false | 24,145 | h | #ifndef _XPWidgetDefs_h_
#define _XPWidgetDefs_h_
/*
* Copyright 2005-2012 Sandy Barbour and Ben Supnik
*
* All rights reserved. See license.txt for usage.
*
* X-Plane SDK Version: 2.1.1
*
*/
/*
* ... | [
"bsupnik@xsquawkbox.net"
] | bsupnik@xsquawkbox.net |
754ff695dcd49abef2006aa6d422daedae3493b2 | a53b9546fda6d8e81b479510c2c9b250562f291a | /src/u_crypto/crc16.c | 52b7098f0b0541096f53031a0aa7c6300f8f0e09 | [
"Unlicense"
] | permissive | Denis-Maksimov/u_cat | 82cb0ac65bd1b158e710c6dd7f6ce66d1fe30cd4 | 39dd337b419b5f3cb6b41ee407995b6310534bba | refs/heads/master | 2023-07-24T11:38:33.309085 | 2021-09-04T21:14:32 | 2021-09-04T21:14:32 | 379,257,473 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,993 | c | // #include <sys/types.h>
#include <u_crypto/crc16.h>
/*
Name : CRC-16
Poly : 0x8005 x^16 + x^15 + x^2 + 1
Init : 0xFFFF
Revert: true
XorOut: 0x0000
Check : 0x4B37 ("123456789")
MaxLen: 4095 байт (32767 бит) - обнаружение
одинарных, двойных, тройных и всех нечетных ошибок
*/
//-- private --
stat... | [
"dn.maksimow@gmail.com"
] | dn.maksimow@gmail.com |
2056f16ea1d262c94c69c153630dc80443663eb4 | 61668f501e80a95b30d4ad7e3d06985a7e024a8f | /RECO/BUILD/MME/BUILD/CMakeFiles/R10.5/S1ap-E-RABToBeSetupItemCtxtSUReq.c | e3a133ee0d30b0761f349f654a9f04304d0d0891 | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | linym/RECO_new | 838a174140d84f251fd1ab623b3bc42b0c89b19a | af5581bbb114b7488b3a564d3bb73dad1cd4581d | refs/heads/master | 2020-03-24T03:05:58.660441 | 2018-07-26T07:26:45 | 2018-07-26T07:26:45 | 142,404,717 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,419 | c | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "/RECO/SRC/S1AP/MESSAGES/ASN1/R10.5/S1AP-IEs.asn"
* `asn1c -gen-PER`
*/
#include "S1ap-E-RABToBeSetupItemCtxtSUReq.h"
static asn_TYPE_member_t asn_MBR_S1ap_E_RABToBeSetupItemCtxtSUReq_1[] = {
{ ATF_NOFLAGS, 0, ... | [
"rexlin2012001@gmail.com"
] | rexlin2012001@gmail.com |
b1d3a159fb0e168023a6e0a2fb68d033d8308bdc | 5e01aacbccfc562e320227d70dea66ac9c87c27a | /c_rx/MainRx_RT_types.h | 91668256746dbf2c814fb759c79fc681191dcd35 | [] | no_license | marinetech/RPI--c-based-rx-tx | b9f442cd4c582ea75a4c4437e95d41d1b5375225 | 914772d6c73fac343232214780aeb8d90a50c084 | refs/heads/master | 2020-03-21T15:40:36.706514 | 2018-06-26T08:22:59 | 2018-06-26T08:22:59 | 138,726,357 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,956 | h | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
* File: MainRx_RT_types.h
*
* MATLAB Coder version : 4.0
* C/C++ source code generated on : 12-Jun-20... | [
"amir.dgn@outlook.com"
] | amir.dgn@outlook.com |
e250e9233e581aadcf41ce7afb385420e0a4dd42 | a02a34430b88c0ea3fcf8f9df38d9209d8534df0 | /util.c | 48367a7d7a52c1195355d30cbf8c96f1976b5bd3 | [
"MIT"
] | permissive | lemoer/bpfcountd | 187b5de286db3c476a5ee4e0a78ac6436a841d3c | 8b1aeb18d686815f93e2bfe976e536c5699d6371 | refs/heads/master | 2022-08-19T18:45:38.803974 | 2022-06-25T22:49:30 | 2022-06-26T09:59:39 | 53,820,178 | 10 | 3 | MIT | 2022-06-26T09:59:40 | 2016-03-14T02:15:05 | C | UTF-8 | C | false | false | 1,278 | c | #include "util.h"
#include <stdlib.h>
#include <stdio.h>
void get_mac(char *dest, const char *iface) {
// TODO: how long must be size
const int path_len = 140;
char addr_path[path_len];
snprintf(addr_path, path_len, "/sys/class/net/%s/address", iface);
FILE *fp;
fp = fopen(addr_path, "r");
if (fp == NULL) {... | [
"git@irrelefant.net"
] | git@irrelefant.net |
35f7ce4bdcb10024e003941ef8a8370d2fe80511 | 5f35f53e92693072646ee197d3ef7ce8f5ac3fb2 | /media/liballwinner/LIBRARY/DEMUX/STREAM/mms/CdxMmstStream.c | 5642f2d4dd2a3d1ed617fd5740753e42ea45d264 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | ayufan-pine64/frameworks-av | bd62a117adc0ade59d58c3c8620179c958f577c8 | e424ac9d378763929f93da60637d6a8aca54cd99 | refs/heads/a64 | 2021-01-19T21:33:06.227888 | 2016-08-06T01:17:20 | 2016-08-06T01:17:20 | 67,256,344 | 0 | 4 | null | 2016-09-02T21:35:41 | 2016-09-02T21:35:39 | null | GB18030 | C | false | false | 33,267 | c | #include "CdxMmsStream.h"
#include <stdlib.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <errno.h>
#define MMST_BUF_SIZE 102400
#define MMST_HDR_BUF_SIZE 8192
#define MMST_MAX_STREAMS 20
#define READ_DATA_BUF_SIZE 128*1024
#define MMS_WA... | [
"jonsmirl@gmail.com"
] | jonsmirl@gmail.com |
191e6e0c3d9b2a213358651dd18aabc5486081d7 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /frameworks/native/libs/diskusage/dirsize.c | 24e5af02ab4206a8a3d2f6b9942e24e1bc95d3aa | [
"LicenseRef-scancode-unicode",
"Apache-2.0",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C | false | false | 1,939 | c | /*
*
* Copyright (C) 2008, The Android Open Source Project
*
* 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 ... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
f9f36b96cbf0e04f4d3b939fb751d27aebb6495c | 8806862fed285f2df6b0e6d3680b1cc0a969227b | /1d-CFHTLens-USE-a4700-ww-areabootstrap-zgb/e_profile_groupflag_r-and-xy.c | eddcedfb53d59e2a6094f80fb465942bbb69e191 | [] | no_license | yingyingdong/cfhtlens-ldp-lensing | 266423e1f430c1591cc71f6b4da62394b121194c | 5c3ed5f5539f8dfe163990ee5f6651d31d9a976c | refs/heads/master | 2020-06-07T23:47:35.547027 | 2019-06-22T05:01:36 | 2019-06-22T05:01:36 | 193,117,698 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 8,383 | c | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include "fftw3.h"
#include "omp.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_histogram.h>
#pragma comment(lib, "libgsl_d.lib")
#pragma comment(lib, "libgslcblas_d.lib")
#include "func.h"
#i... | [
"dfy@dongfy.local"
] | dfy@dongfy.local |
cd36a8660b46a8513047112d7213e7f8c0ad4c8e | f1e0600ee007f8f1e1820f4a732016bbacdb50a3 | /2nd Year/Concurrent Programming/PySC/Estructuras/Pila.c | 17890e2c1e587f96ef0762297366111305fe9312 | [] | no_license | MRJJavier/University | 9b288c73ea682b055d67f94b630aa4afc7c03ffe | 23e41430ed7c2a692bd4076017ccb362efdf91d3 | refs/heads/main | 2023-03-09T08:37:44.425681 | 2021-02-24T10:49:05 | 2021-02-24T10:49:05 | 318,643,332 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 796 | c | /*
* Pila.c
*
* Created on: 13 mar. 2019
* Author: José Javier Morente
*/
#include "Pila.h"
#include <stdlib.h>
#include <stdio.h>
void crearPila(Pila * ppila){
*ppila=NULL;
}
void mostrarPila(Pila pila){
printf("Pila: ");
while(pila!=NULL){
printf("%d",pila->valor);
pila=pila->sig;
}
printf("\n")... | [
"mrjjavier@uma.es"
] | mrjjavier@uma.es |
95e460b0598d95466f00e5af732ec3392cf5a37e | 1a6bde5279127a7830618998a821b3c709943f05 | /nvidia-410.93/common/inc/nv-linux.h | 3fa7657cf6745915d6f15242212acbcbd770a04e | [] | no_license | crespo2014/kernel_configuration | 5914a9c928110324edc06fbecff2122349d2dcc3 | c15292114b81affa0a07c2d8837dce1cae390b36 | refs/heads/master | 2021-09-11T08:04:04.558827 | 2021-08-28T13:47:19 | 2021-08-28T13:47:19 | 27,142,327 | 1 | 1 | null | null | null | null | UTF-8 | C | false | false | 67,929 | h | /* _NVRM_COPYRIGHT_BEGIN_
*
* Copyright 2001-2016 by NVIDIA Corporation. All rights reserved. All
* information contained herein is proprietary and confidential to NVIDIA
* Corporation. Any use, reproduction, or disclosure without the written
* permission of NVIDIA Corporation is prohibited.
*
* _NVRM_COPYRIG... | [
"lester.crespo@corvil.com"
] | lester.crespo@corvil.com |
1d90d10b814c5e7f2faeb40d555729f0671d519b | ccb06e0ef7e6a8a1dc8b6ce728b7071d5046318c | /team41/software/bios150v3/ascii.c | 62a5d642464a62b9a738e35e641dad2e8960aff6 | [] | no_license | HackLinux/MIPS_Processor | 7843649bafffd77af47a882464ad12d1a82cb93c | ed567c620a95ec49e5d181cfb811a5b4c855b9cf | refs/heads/master | 2021-01-22T05:54:46.128643 | 2013-02-15T07:11:58 | 2013-02-15T07:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,744 | c | #include "ascii.h"
#define DEFINE_FROM_ASCII_DEC(type) \
type##_t ascii_dec_to_##type(const char* s) \
{ \
type##_t t = 0; \
for (uint32_t i = 0; i < (((sizeof(type##_t)/sizeof(uint8_t))<<1)+1) && s[i] != '\0'; i++) { \
if (s[i] >= '0' && s[i] <= '9') { \
t = (t << 3) + (t << 1) + (... | [
"wakahiu@ubuntu.(none)"
] | wakahiu@ubuntu.(none) |
780609f74bde3557ca51aab454ac58ac800cc445 | 9e16f516eb052b5f49148634cfaef29fc68bc80b | /sources/code/mysdl.h | 09d34b7387ff605b286292f21e0e3b43810cb0fd | [] | no_license | Camillemns/readdigits | 5e9ad0cb58e916094c858adb2abf627c3dd0f6fa | fd8e190e41a55be4559c3bd5e6e8f4b248fca672 | refs/heads/master | 2020-04-13T15:46:55.848761 | 2019-01-06T21:12:59 | 2019-01-06T21:12:59 | 163,301,997 | 2 | 1 | null | null | null | null | UTF-8 | C | false | false | 275 | h | # ifndef MYSDL_H
# define MYSDL_H
SDL_Surface* load_image(char *path);
SDL_Surface* open_image(SDL_Surface *img);
void wait_for_keypressed(void);
void putpixel(SDL_Surface *surface, int x, int y, Uint32 pixel);
Uint32 getpixel(SDL_Surface *surface, int x, int y);
#endif
| [
"noreply@github.com"
] | Camillemns.noreply@github.com |
391e7a53a632a2a85a005d302334d434d987c224 | 9ac191522021388aa2c8eb5b234dc42e5ef2699b | /example/demo.c | f6c924db34b5a7ea8e2d71da73c0aa0d83f7334c | [
"Zlib"
] | permissive | caseybasichis/nanoVG | a5754cd63ab405005bef457115c7528273effa8c | 3c4ed53126815f45e14e621cea596276412df58d | refs/heads/master | 2020-05-20T00:10:09.951900 | 2015-06-30T21:16:43 | 2015-06-30T21:17:31 | 30,339,533 | 2 | 3 | null | null | null | null | UTF-8 | C | false | false | 32,184 | c | #include "demo.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef NANOVG_GLEW
# include <GL/glew.h>
#endif
#include <GLFW/glfw3.h>
#include "nanovg.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#ifdef _MSC_VER
#define snprintf _snprintf
#elif !defined(__MINGW32__)
#include <i... | [
"whitequark@whitequark.org"
] | whitequark@whitequark.org |
e13edfbb2e444ef52d2d45d746461d88bc43f8e7 | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/80f483ef-c23a-43f3-a025-21cfff7e31c6.c | ac8f507c17dfe1774a881e4b4bfef91a25dbd258 | [] | 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 | 578 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=0;
int j=12;
int k;
int l;
k = 53;
l = 14;
k = i/j;
l = i/j;
l = i/j;
l = l%j;
l = l-j;
k = k-k*i;
//variables
//random
/* START VULNERABILITY */
int a;
char b[82];
char c[10];
a = 0;
do {... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
2f91ea9fd38c2b43b312f5c57c0388297e5cc110 | aa41bf52467aae0452a7783a0953341b793cce79 | /eran/ELINA/elina_zonotope/elina_box_internal.c | 5f4c26b6fa7379a6c0c3a370ae0e7f8cc4c93aa6 | [
"Apache-2.0"
] | permissive | yqtianust/ReluDiff-ICSE2020-Artifact | ecf106e90793395d8d296b38828d65dc3e443aab | 149f6efe4799602db749faa576980c36921a07c7 | refs/heads/master | 2021-03-21T18:19:19.172856 | 2020-01-22T00:11:27 | 2020-01-22T00:11:27 | 247,319,555 | 1 | 0 | Apache-2.0 | 2020-03-14T17:12:17 | 2020-03-14T17:12:17 | null | UTF-8 | C | false | false | 5,886 | c | /*
*
* This source file is part of ELINA (ETH LIbrary for Numerical Analysis).
* ELINA is Copyright © 2019 Department of Computer Science, ETH Zurich
* This software is distributed under GNU Lesser General Public License Version 3.0.
* For more information, see the ELINA project website at:
* http://elina.et... | [
"bpaulsen@usc.edu"
] | bpaulsen@usc.edu |
7c23292995e2cd89d8818a202f2b4638b71df6cf | 507f4fd183bbdf8e35de8c333c6465620456ae9b | /canvas.c | 5a2c572ed8c13150680e6a764a294a9b8a6af84c | [] | no_license | tolgaparlan/game_of_life | 84e4c8b4cbaf8f99e68b1bee92f164e382cd4beb | cb645ccfca154d20e9e30869891672dadb7553c3 | refs/heads/master | 2023-03-17T22:06:55.727604 | 2021-03-06T13:16:56 | 2021-03-06T13:16:56 | 344,950,970 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,084 | c | #include <stdio.h>
#include <stdlib.h>
#include "canvas.h"
/**
* Print out the given canvas to stdout line by line
* @param canvas
* @param rows
* @param columns
*/
void canvasDisplay(Canvas canvas, size_t rows, size_t columns) {
for (size_t i = 0; i < rows; ++i) {
for (size_t j = 0; j < columns; ++j)... | [
"tolga@elnino.tech"
] | tolga@elnino.tech |
043e2de8326e69f8edf2c253e2236e16c42f17fe | ee667c8489d864111779be872171431f02c844b6 | /src/test.c | 362a4a7ce26f9b884309e7edfa3af756add00bdc | [] | no_license | ThilinaTLM/nsbm-assignment | 1c691794e260a689bad29d587d0c73ecd62543a9 | a9bb6d2bcbc7865607c51a1030146bfc86916858 | refs/heads/master | 2022-12-26T22:53:13.532363 | 2020-09-27T15:09:18 | 2020-09-27T15:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 138 | c | #include <stdio.h>
int main(int argc, char *argv[])
{
int i;
char a[100] = *argv[1];
printf("%s\n", a);
return 0;
} | [
"thilina.18@cse.mrt.ac.lk"
] | thilina.18@cse.mrt.ac.lk |
36ec560b67adc72f77e2c13b9f390b67403d77ef | eb1db4f41738ac886767809ebf7d86b29c03127b | /trunk/code/api/api_intc.h | 14b2e74e7e882d5ca522fbecb83b0cbcaa49ac00 | [] | no_license | mikeniu/Y740s | a55a0b9e6c23a2f3a930fec22c5526f375b4f484 | c5ed8db70be86734c684acd740ee53bb242a4098 | refs/heads/master | 2023-08-23T02:05:11.734670 | 2018-10-16T07:01:19 | 2018-10-16T07:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 15,777 | h | /*
* ****************************************************************************
* api_intc.h
* Version, 1.00
* Note, To link [api_xxx.o] if related api function be used.
* ****************************************************************************
*/
#ifndef API_INTC_H
#define API_INTC_H
/*
* ************... | [
"xuke891101@163.com"
] | xuke891101@163.com |
fd16a7d97d9c744bf474d34bec536e5544a3f832 | 710cc64fab5571cc228cd2e0ee60520deca21491 | /test-file.c | 7a93bfb6e56d1bf2824f9290f0086539195dedce | [] | no_license | droszkiewicz/test | 6fc77d4dad12356ff620ed9bc246282de68f56dc | 1f7c1a42c89983938bff227397f6ae191c578fb9 | refs/heads/master | 2021-03-12T19:59:40.869191 | 2012-12-04T12:48:19 | 2012-12-04T12:48:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 20 | c | MAMA
test
Test
| [
"droszkiewicz@p110-9.labpk.inf.ug.edu.pl"
] | droszkiewicz@p110-9.labpk.inf.ug.edu.pl |
cacda44141c54197e69a95a1e0959f1f8700fb86 | ca1d0539aef5dfc46a38ad5426f085864e12837c | /sources/lab3/lab3.c | 2bce78a9ea685d40b42f35ad8f8edbe92459a79a | [] | no_license | louisliuwei/Advanced-Embedded-System-Design-Flow-on-Zynq | 17b92bbb7f32897d7be329ec209f4db255ff4a2f | 7b8fc594fc53a1fac0542b561adff1aa33c7e2ee | refs/heads/master | 2020-03-28T14:36:54.120441 | 2018-09-12T15:58:37 | 2018-09-12T15:58:37 | 148,504,310 | 2 | 0 | null | 2018-09-12T15:46:04 | 2018-09-12T15:46:03 | null | UTF-8 | C | false | false | 1,399 | c | #include "xparameters.h"
#include "xgpio.h"
#ifdef MULTIBOOT
#include "xdevcfg.h"
#endif
//====================================================
int main (void)
{
XGpio leds;
int j=0;
int i;
xil_printf("-- Start of the Program --\r\n");
XGpio_Initialize(&leds, XPAR_LEDS_DEVICE_ID);
XGpio_SetDataDirec... | [
"noreply@github.com"
] | louisliuwei.noreply@github.com |
06c250d530cd92de3d359c79b66069100db1da00 | b3f4553cea6babe8b25ed0bc0865130c69cd5c72 | /SecurityPkg/Include/Library/TpmMeasurementLib.h | 45542f45ae9df0a6a258eafc6891e4dff07abf55 | [
"BSD-2-Clause"
] | permissive | ms-iot/RPi-UEFI | d7a7c3bb9820a8f68948cc5c8d494c6dbf6a17c4 | 5bfd48d674e6c7efea6e31f9eb97b9da90c20263 | refs/heads/ms-iot | 2021-05-03T08:03:45.752721 | 2019-08-12T21:38:44 | 2019-08-12T21:38:44 | 52,559,049 | 97 | 41 | NOASSERTION | 2019-10-29T21:34:57 | 2016-02-25T21:44:37 | C | UTF-8 | C | false | false | 1,621 | h | /** @file
This library is used by other modules to measure data to TPM.
Copyright (c) 2012, Intel Corporation. All rights reserved. <BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full t... | [
"czhang46@6f19259b-4bc3-4df7-8a09-765794883524"
] | czhang46@6f19259b-4bc3-4df7-8a09-765794883524 |
3cdfa2c315d03854069db29205e4eed436a06469 | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE122_Heap_Based_Buffer_Overflow/s05/CWE122_Heap_Based_Buffer_Overflow__CWE131_loop_68a.c | 74041e3ce2c72ceb7c6084a5d0c1f0569cbb1f04 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 2,605 | c | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__CWE131_loop_68a.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__CWE131.label.xml
Template File: sources-sink-68a.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate memory without using s... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
1023e0dc892f28fd6e3a1c3ddb0ed881d8c37c19 | d83dc5939b71af65706d02d07a1fea2eb06d53d6 | /lib/instances/items/food/plants/fruit/red-apple.c | 87221644c72fc33bfd893297e163936e9d97687f | [] | no_license | Yuffster/core-lib | e30c170826380e3074810adb6ab42a55fab3329d | 5d9bb20d0956a5262b4d71fb62925da6fd7cb487 | refs/heads/master | 2023-03-08T06:26:11.980952 | 2021-02-19T22:48:39 | 2021-02-19T22:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 638 | c | //*****************************************************************************
// Copyright (c) 2021 - Allen Cummings, RealmsMUD, All rights reserved. See
// the accompanying LICENSE file for details.
//*****************************************************************************
virtual inherit "... | [
"abc@maelstrom.cc"
] | abc@maelstrom.cc |
19e7aef24f689d89d9dda3aeb191ef24943fb78b | e246a3202f66f4e4429495819ce9b468224d65ca | /fillit/libft/ft_strtrim.c | 383ccaecd8c4a0b559d505fca2be8b5df703bad9 | [] | no_license | owalid/42_cursus | ea65bafd188fbfff1667191ebc6f310c6d8dc706 | 5aac99c75224f84db6444ba9d980cd88d2d6265a | refs/heads/master | 2021-06-18T17:05:11.779721 | 2021-01-27T17:23:40 | 2021-01-27T17:23:40 | 156,719,000 | 3 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,368 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strtrim.c :+: :+: :+: ... | [
"othmane.el.ayadi@gmail.com"
] | othmane.el.ayadi@gmail.com |
504dbfebea8c995b6827fe6bedc0db92c8c3ff99 | 53e9fe8c9a5e3a36bb364bc1ab36a97fb442e3f0 | /src/system/fs/ext4fs/lwext4/ext4.h | 48386eac454790c2d98c687ade82f70865916f7b | [] | no_license | rvivekabr/dnx-rtos | 9249015d7702c2a5fe359c1f7ba596c403526e74 | 3c4b715e41986b5017ce44e19fd9c0243a48146e | refs/heads/master | 2020-03-06T23:13:13.720338 | 2018-03-24T07:50:41 | 2018-03-24T07:50:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 18,804 | h | /*
* Copyright (c) 2013 Grzegorz Kostka (kostka.grzegorz@gmail.com)
* 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
... | [
"danzor87@gmail.com"
] | danzor87@gmail.com |
9039f2fbef5c630928300f63c71b7cfaeabd1a2e | d00f5a01f28bd81ec7f0bae027f88099b0960567 | /nRF5_SDK_14.2.0_17b948a/components/iot/ipv6_stack/tftp/iot_tftp.h | 1e47167f11d0cf23818d4288060953299f16d1d9 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mafaneh/ble-ebook-project | 18942cd8b5539bf32d8a986be0527ff974ced73b | 0d4638af5806bff5818337d4aedaf8526995e7e4 | refs/heads/master | 2023-02-07T14:11:40.688137 | 2023-01-30T22:39:11 | 2023-01-30T22:39:11 | 117,994,657 | 66 | 23 | MIT | 2020-03-07T21:15:58 | 2018-01-18T14:39:01 | C | UTF-8 | C | false | false | 11,276 | h | /**
* Copyright (c) 2015 - 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... | [
"mohammad@novelbits.io"
] | mohammad@novelbits.io |
d2ee0d60e8dd58a69cbdc10f37a911fdb427d177 | 40288c3fc1b28f5561adc5857a931ebd3bd7b787 | /coding_solutions/Kth_Digit.c | 9228a180e56a708f8a3333e830dbf106e0b3e878 | [] | no_license | alvas-education-foundation/Laxman_Budihal | 4da94cf89d7896a74152873606761ec231c0aeb2 | c1ab4e2550249088a94ee413fcf8ecbf0e4df7a0 | refs/heads/master | 2022-11-20T09:18:27.459352 | 2020-07-15T08:57:26 | 2020-07-15T08:57:26 | 265,616,938 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 988 | c |
/*
Write a C program to print kth digit
Given two numbers a and b, find kth digit from right of a^b.
Input:
The first line of the input contains T denoting the number of test cases.Each of the next T lines contains three space separated positive integers denoting the value of a , b and k respectively.
Output:
Fo... | [
"you@example.com"
] | you@example.com |
2e16faa1f124dd875392a9c9ddf25cdd1f98b4e9 | 1f3cfa69c45e294529b5a6df613763aa22f84585 | /models/modelBnew.c | ef7f4de7dd63a0cc9b6a24535608de8474eae55c | [
"Apache-2.0"
] | permissive | RalfG/ms2pip_c | 3d4ba4cb800a4888414a024522df53fc5f61c721 | 29b418c38459c37903056a1588d2f357c9291a67 | refs/heads/master | 2021-01-22T19:41:07.846167 | 2018-05-23T09:50:08 | 2018-05-23T09:50:08 | 85,225,306 | 0 | 0 | Apache-2.0 | 2018-01-30T09:55:18 | 2017-03-16T17:44:29 | C | UTF-8 | C | false | false | 2,452,841 | c | static float score_B(unsigned int* v){
float s = 0.;
if (v[8]<100){
if (v[6]<33){
if (v[12]<50){
if (v[1]<50){
if (v[10]<50){
if (v[8]<50){
if (v[17]<50){
s = s -5.600000;
}
else{
s = s -5.240110;
}}
else{
if (v[116]<129){
s = s -4.798260;
}
... | [
"sven.degroeve@gmail.com"
] | sven.degroeve@gmail.com |
99f5c6646f8e9639291a4231dc76c69f22e19f00 | 8f3e764cbe2768c0bfd608cd5c6ec1e5ed093816 | /nfp-sdk-sim-6.0.1/examples/nfsim/entl_libs/entl_state_machine_2.c | fa4e01601dde80753ae37b813b2f61796b985bea | [
"MIT"
] | permissive | earthcomputing/Netronome | 8aa8df0aabc24e27b2621eb1f4ce2c0c52652261 | 9f5132ecea3c134322305c9524da7189374881ec | refs/heads/master | 2023-05-30T09:21:27.617405 | 2021-06-14T01:54:02 | 2021-06-14T01:54:02 | 80,642,520 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 37,832 | c | /*
* Copyright (C) 2017, Earth Computing Inc. All rights reserved.
*
*
* @file entl_state_machine.c
* @brief ENTL state machine
*
* Author: Atsushi Kasuya
*
*/
//#ifndef _PKT_COUNT_C_
//#define _PKT_COUNT_C_
#ifdef NETRONOME_HOST
#include <stdio.h>
static debug_flag = 1 ;
#else
... | [
"akasuya@vitalconnect.com"
] | akasuya@vitalconnect.com |
d8ca2a41794a516660a571646a96210449dfb532 | b5b2c75c516458e333d28fe871a32a513d87e4d6 | /ch14AdvancedI_O/AIONotifyTest.c | bb1e17a58efb3de2738941fbaa6129f97f49c72c | [] | no_license | Charlyhash/apue | fd3f65513f99cd90827691218e2cfa557f014781 | 8ec3bdfc6a135adb093901da7ed98779c1ee9a7f | refs/heads/master | 2020-04-15T13:38:25.742202 | 2016-11-13T05:10:06 | 2016-11-13T05:10:06 | 58,361,200 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,129 | c | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <aio.h>
#include <fcntl.h>
void AsyncRead(int s, siginfo_t* info, void* context)
{
struct aiocb* ptr = (struct aiocb*)info->si_value.sival_ptr;
printf("read = %s\n", (char*)ptr->aio_bu... | [
"1062403542@qq.com"
] | 1062403542@qq.com |
e8bcebadf1ce866b3ba08dcaf326a7e1aa39fed5 | e431b6266c60af4589babc6dadc695d96f20cdbe | /nimcache/stdlib_math.c | 04632b0fd89e8a76a3864a98bce92882dcc1ee1b | [] | no_license | Julioevm/nim_tic_tac_toe | 3bbc89c0002a2da632dd795f46484dfca1767192 | 47d5e142c77027e32d0bfba9af08883c2a857b96 | refs/heads/master | 2020-08-02T14:11:11.926713 | 2019-10-29T20:24:37 | 2019-10-29T20:24:37 | 211,382,993 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 8,995 | c | /* Generated by Nim Compiler v0.18.0 */
/* (c) 2018 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -I/usr/lib/nim -o /home/coop/Projects/nim/tic_tac_toe/nimcache/stdlib_math.o /home/coop/Projects/nim/tic_tac... | [
"julioevm@gmail.com"
] | julioevm@gmail.com |
1e100cc28f913663c761653cb1f958c10f18eedf | ac362bb8969d647cd219430bc71c831d894e531c | /sys/arch/xen/include/xenbus.h | f28fff9e8464823062f0f5114e4f0e509e8eb7d5 | [] | no_license | noud/mouse-bsd-4.0.1 | efb3b16fcc872ab227e6bb651cf1e836796a0804 | 4c0a1e08df407a759afac2d6a98507df94f5f814 | refs/heads/master | 2023-02-24T23:42:54.060718 | 2020-08-16T20:10:53 | 2020-08-16T20:10:53 | 334,536,412 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 9,263 | h | /* $NetBSD: xenbus.h,v 1.6 2006/06/25 16:46:59 bouyer Exp $ */
/******************************************************************************
* xenbus.h
*
* Talks to Xen Store to figure out what devices we have.
*
* Copyright (C) 2005 Rusty Russell, IBM Corporation
* Copyright (C) 2005 XenSource Ltd.
*
* This... | [
"mouse@Rodents-Montreal.ORG"
] | mouse@Rodents-Montreal.ORG |
bb633f1eadadd5547584f754857a936c3ec060a0 | b341f33f51c8a3bd9e4b706581c7a6b8b95bd957 | /get_next_line.h | b40062f4cdd812aa6e5b3be642b565e9edf6bc9d | [] | no_license | Kmykhail/GNL | edfc032a9bf4331880249bd91cee69c8baf729a2 | 5d67a35b607e5001e0200eb812e223c1847bbe3a | refs/heads/master | 2020-03-16T13:58:33.582557 | 2018-07-09T21:33:32 | 2018-07-09T21:33:32 | 132,704,176 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,043 | h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: ... | [
"noreply@github.com"
] | Kmykhail.noreply@github.com |
30f43bbf0e21dc162eee63027b1bc6416c0c52e2 | 25be3e86dfe6b104925859c6f931461ad809ef4d | /0x1D-search_algorithms/1-binary.c | 2d38ba30838b1d5b3d0fda04d3a914ae4e3a9325 | [] | no_license | lizzieturner/holbertonschool-low_level_programming | b580301c782a00601974c22225225259e59245ce | f3c53944d0742fc42479691add62d2ac04331d72 | refs/heads/master | 2018-10-09T16:13:28.793277 | 2018-08-20T20:02:41 | 2018-08-20T20:02:41 | 117,878,549 | 0 | 5 | null | null | null | null | UTF-8 | C | false | false | 1,374 | c | #include "search_algos.h"
/**
* binary_search - searchs for a value using binary search algorithm
* @array: array to search in
* @size: size of array
* @value: value to search for
*
* Return: first index value is at, or -1 on failure
*/
int binary_search(int *array, size_t size, int value)
{
if (array)
{
r... | [
"hello@lizzieturner.com"
] | hello@lizzieturner.com |
b48abe91cb91effe6c00ee9ad7bf37a8c045e3f2 | 6920e231ef2f07b803f744f38b771a2f6a50e567 | /ft_printf/src/libft/ft_isprint.c | 703c8a4fba4d47d583de5c719eb4bba7af74edad | [] | no_license | chaidama/Academy | c5626dccd3f6dc7ea63c1d01263e4febd6435ecb | 2666b12234da601bd67bbd4af1aa154a4777c26a | refs/heads/master | 2020-03-23T15:36:21.758279 | 2018-07-23T02:11:16 | 2018-07-23T02:11:16 | 141,761,236 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 955 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: ... | [
"haidamac.cristian@gmail.com"
] | haidamac.cristian@gmail.com |
a8428a8be755f4e836db5ea156b844f267085f5c | 65c84f44144c457cb6a9ef66ea3c01a3dcf82ecd | /glist/export.h | 9ce15e27196d6b56fad9ab1faa752875d3dcc163 | [] | no_license | evgenyk22/glib2.0 | 8faa5e176cfe520df133b1c048869e63be368db8 | 46c045666e7df580f01b7309472bbbdefe7aa027 | refs/heads/main | 2023-03-03T16:13:47.304471 | 2021-02-11T18:08:30 | 2021-02-11T18:08:30 | 329,541,703 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 548 | h | #ifndef __GLIST_EXPORT__H
#define __GLIST_EXPORT__H
void addItems2List();
void addremtest ();
void removedup ();
void showItems ();
void showUData ();
void trysort ();
void createHash();
void intHash();
void pinthash ();
void unordermultimap ();
void createarray ();
void garappend ();
void gptrarray();
... | [
"a@EvgenyK-LT.il.corp.radware.com"
] | a@EvgenyK-LT.il.corp.radware.com |
bf952b1e232252e1fcd505f53f9add6d48feeafd | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/70e37ea3-7ce9-4a59-a43f-6b13ead28ef6.c | 385d9277b1ae7e15d37ab382a633ba4ad094574a | [] | 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 | 554 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=0;
int j=12;
int k;
int l;
k = 55;
l = 64;
k = i/j;
l = i%j;
l = l-j;
k = l--*i;
//variables
/* START VULNERABILITY */
int a;
int b[76];
int c[88];
a = 0;
while (a > -1) {
//random
/... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
35e62d08966b93c7e7431202c9ab98571a6bc387 | 84823eba0a9ad02f25d277474307bc096ab75e76 | /src/instructions/dataProcessing/dataProcessing.c | d375534f9a87fd7834c03ccdee429379e77fef41 | [
"MIT"
] | permissive | jkcso/Arm11 | c6c9c74d9a5b3beb4d8ec9a0eaa8202eee8f3b10 | 6c88d25ef5e39b9f729522e5dd2dae66fc7c2b31 | refs/heads/master | 2021-09-21T08:04:00.950099 | 2018-08-22T16:28:51 | 2018-08-22T16:28:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 785 | c | /*
*
* Purpose: Data processing instruction
*
*/
#include "dataProcessing.h"
/* Performs a data processing instruction */
void dataProcessing(instruction *instr, ARM11 *arm11) {
switch (instr->opcode) {
case AND:
arm11->gpr[instr->rd] = and(instr, arm11);
break;
case EOR:
arm11->gpr[instr->rd] = eor(ins... | [
"jk@Jk.local"
] | jk@Jk.local |
c92131860c354fb8c8e9822105d0b10592c9d231 | 03c42ab1f77bf7371869c7ee34d3551b6f13a0ef | /eclipseWorkspace/com.hosseinabady.noc_designer_plugin/code_templates/NoRC/tile/network_interface/include/interface.h | afe2e3b3fc9b29ccdc14f30dbbb924c961f2e970 | [] | no_license | Hosseinabady/norc | 4c654c40012a60d74777d349d20dfb79445e7fb3 | c0aa6d77c60b1b88c4ba3526e3e4246c7da6fb00 | refs/heads/master | 2021-01-13T13:39:13.715637 | 2016-12-14T01:41:29 | 2016-12-14T01:41:29 | 76,404,087 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 314 | h | #ifndef NETWORK_INTERFACE_H_
#define NETWORK_INTERFACE_H_
#include "physical_layer.h"
#include "network_layer.h"
#include "transport_layer.h"
#include "NoRC/utilities/include/utilities.h"
#include "tlm_utils/simple_initiator_socket.h"
#include "tlm_utils/simple_target_socket.h"
#endif /*NETWORK_INTERFACE_H_*/
| [
"mohamamd@hosseinabady.com"
] | mohamamd@hosseinabady.com |
cec9ba905a5b50bb9aa47c6c23e828585e240b88 | 9d88d27c9ddecf74a8d63b47e7040db24aa5c9ee | /第十三章/编程练习/6.c | 40daacef055d7b0bbb4b84e9be79a81acedc1e0a | [] | no_license | triplekill/C-Primer-Plus-Demo | 1e845944306797f3e4576c3f0abb0e0bd28dba94 | 09602dd7c1ae5307b15416d1aa9240e4ee9f834d | refs/heads/master | 2021-01-21T16:15:30.940777 | 2016-03-09T05:17:20 | 2016-03-09T05:17:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 697 | c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define LEN 40
int main()
{
FILE *in, *out;
int ch;
char file_in[LEN];
char file_out[LEN];
int count = 0;
printf("Please enter a filename: ");
gets(file_in);
if ((in = fopen(file_in, "r")) == NULL)
{
fprintf(stderr, "I couldn't open the file \" %s ... | [
"a471558277@gmail.com"
] | a471558277@gmail.com |
97dc3e70b9360e9383319f417e0a62111c9c73f4 | bbca6268e6b30e6945eee5d5d1852e0b164e294a | /tinyos-2.x/apps/LightControl/DeploymentsNew/nodes5degree2/run8/sensor.h | e44da1d76b0c8219eb8c53f81ed5a203ef50d1f1 | [] | no_license | nesl/hotline | 6f95415a1b00a21fa4cfe1226590338b6380fe2f | 46f71f7b505b3ede668ab74df39e6a1542d5f043 | refs/heads/master | 2021-01-01T17:33:44.725494 | 2011-09-21T20:06:33 | 2011-09-21T20:06:33 | 12,227,912 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 861 | h | #ifndef _SENSOR_H_
#define _SENSOR_H_
uint16_t sensor() {
uint16_t res = 0;
switch (TOS_NODE_ID) {
case 0: res = 508; break;
case 1: res = 679; break;
case 2: res = 628; break;
case 3: res = 700; break;
case 4: res = 579; break;
case 5: res = 690; break;
case 6: res = 760; break;
case 7: res = 755; b... | [
"rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c"
] | rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c |
6bd2c7f499ccaebd161701da9e7362a55e03228a | 7169f251067c54b4572f1dfafad839260a592244 | /day008/day10/06全局函数和静态函数.c | abf216b1b179cd78a7618381243953a8c3817051 | [] | no_license | mengjiaoliwang/window-file-C | fc2393dc1431c242bdeeb971ef65b62485fc102f | edb693c213259fc85d374877df1e0d344ba07a54 | refs/heads/master | 2021-08-08T16:26:30.849148 | 2017-11-10T17:46:35 | 2017-11-10T17:46:35 | 110,272,951 | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 541 | c | #define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
//如果在函数定义时,没有任何修饰就成为全局函数
//作用域:整个项目中所有文件
//生命周期:程序运行期间
void fun07()
{
return;
}
/*静态函数
作用域:当前文件中
生命周期:程序运行期间
*/
static int fun08()
{
printf("hello world\n");
return 1;
}
void fun09()
{
int val = fun08();
pri... | [
"mengjiao_liwang@yeah.net"
] | mengjiao_liwang@yeah.net |
2880fefd33c11f4ff707ac43bbff5ab5f9bf8bdc | 8517df601ff4007e9fc64f18bbd7a170b5d409c7 | /kern/thread/PCurID/PCurID.c | c6d0dca1467b445d133ec03a88b4b0db3f9ce7f3 | [] | no_license | konlzp/mcertikos | 60a9118a049522acec8544525ad280762d8cd22e | 1eb551b94c449030d42aa997825593c1e89532e7 | refs/heads/master | 2021-01-10T08:27:52.654214 | 2015-10-10T00:05:58 | 2015-10-10T00:05:58 | 43,985,693 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 125 | c | unsigned int CURID;
unsigned int get_curid(void)
{
return CURID;
}
void set_curid(unsigned int curid)
{
CURID = curid;
}
| [
"zhipei.luo@yale.edu"
] | zhipei.luo@yale.edu |
56097248460ed320e79dfdefedbb4958bf10dae3 | 00bc11b60e1088f22b11bafdd9b1e755aa004c12 | /SRC/H/_AIRC.H | a2936332294daf7650e8f73b52ab8619a1a2bc81 | [] | no_license | Almahmudrony/BattleOfBritain | 7a29c28eccfad7c9fb5c4082a6a988bcfe9a3d7a | ab87c6c9490c48912f1f6bf65cc5da97d5e0515b | refs/heads/master | 2022-01-11T16:19:14.153102 | 2015-08-11T22:39:41 | 2015-08-11T22:47:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 383 | h | //DEADCODE DAW 27/05/99 #ifdef _DEBUG
//DEADCODE DAW 27/05/99 void* __cdecl operator new(size_t nSize, char* lpszFileName, int nLine);
//DEADCODE DAW 27/05/99 #define THIS_FILE "AC:" __FILE__
//DEADCODE DAW 27/05/99 #define DEBUG_NEW new(THIS_FILE, __LINE__)
//DEADCODE DAW 27/05/99
//DEADCODE DAW 27/05/99 #endif
//DEA... | [
"hhhh@hotmail.com"
] | hhhh@hotmail.com |
122d1cc194c92fcb19dcd831b114f397677237d0 | b87ac5ff46f961a0567b3143df0fae4a0be661b9 | /daily/2019.03.05_(acm)2025_查找最大元素.c | 116df964515b45273c00fd0c81295b0684341ad2 | [] | no_license | Rui-Zgo/C_language_practice | 7143556e0559f1296085398f91d06dbc4af2c18d | b25dcb4b990407f0d792a467e66dc98b89fc3490 | refs/heads/master | 2020-04-27T13:06:44.138089 | 2019-09-02T15:50:37 | 2019-09-02T15:50:37 | 174,356,048 | 4 | 1 | null | 2019-03-15T11:29:36 | 2019-03-07T14:10:07 | C | UTF-8 | C | false | false | 408 | c | #include<stdio.h>
#include<string.h>
int main()
{
int i;
char a[100],n;
while(scanf("%s",a)!=EOF)
{
n='A';
for(i=0; i<strlen(a); i++)
if(n<=a[i])
n=a[i];
for(i=0; i<strlen(a); i++)
{
printf("%c",a[i]);
if(... | [
"noreply@github.com"
] | Rui-Zgo.noreply@github.com |
ea112fe6416afefb094306e53743fa87768c2df5 | 8d1aaac12c150b4ae7347492b937a204e95ed392 | /Cuaderno 08 - Ficheros/08A_fwrite_libros.c | 4ab1d50f4b18184cc5cc322be98f6578bb2d5620 | [] | no_license | Mario-Borja/EjerciciosProgramacion | 447e8aa72d064080ad5b1d842d66a5ce6dc319cd | aba7bd031a8476ccbc0b7aa64b5b5d2fe2461a0c | refs/heads/main | 2023-02-18T19:34:49.816243 | 2021-01-18T10:40:10 | 2021-01-18T10:40:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,383 | c | /*
*
* Demostración del epleo de fwrite()
* Referencia: http://www.cplusplus.com/reference/cstdio/fwrite/
*/
#include <stdio.h>
#define ARCHIVO_LIBROS "08_libros.bin"
typedef struct libro {
char titulo[40];
int nPaginas;
float precio;
} TLibro;
void escribeUnLibro() {
TLibro unLibro = {
... | [
"luispedraza@gmail.com"
] | luispedraza@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.