text
stringlengths
3.12k
18.7k
/* * Copyright (c) 2021, suncloudsmoon and the Encrypt On The Go contributors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rig...
/* * main.c * * Created on: 18 de Junho de 2020 * Author: <NAME> */ #include <string.h> #include <stdio.h> #include "stm32f4xx_hal.h" #include "main.h" void GPIO_Init(void); void Error_handler(void); void UART2_Init(void); void SystemClock_Config_HSE(uint8_t clock_freq); void GPIO_AnalogCon...
/* ----------------------------------------------------------------------- * * * Copyright 2006 <NAME> - All Rights Reserved * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software wi...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or its l...
#include <stdint.h> #include <stdlib.h> #include <string.h> #include "telehash.h" #include "telehash.h" // make a new exchange // packet must contain the raw key in the body e3x_exchange_t e3x_exchange_new(e3x_self_t self, uint8_t csid, lob_t key) { uint16_t i; uint8_t token[16]; e3x_exchange_t x; remote_t rem...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2018 <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notic...
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * righ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* * ARM big.LITTLE Platforms CPUFreq support * * Copyright (C) 2013 ARM Ltd. * <NAME> <<EMAIL>> * * Copyright (C) 2013 Linaro. * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Fr...
#include "cconfigspace_internal.h" #include "tuner_internal.h" #include "utarray.h" struct _ccs_random_tuner_data_s { _ccs_tuner_common_data_t common_data; UT_array *history; UT_array *optimums; UT_array *old_optimums; }; typedef struct _ccs_random_tuner_data_s _cc...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
/* @source tfm application ** ** Displays a program's help documentation manual ** ** @author Copyright (C) <NAME> (<EMAIL>) ** @@ ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License ** as published by the Free Software Foundation; either ve...
/* $NetBSD: acpi_bat.c,v 1.1 2002/03/24 03:46:10 sommerfeld Exp $ */ /* * Copyright 2001 <NAME>. * 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 ...
/* Bluetooth codec * * Copyright 2020 <NAME>, Univ. Lille, CNRS. * * This file is part of Project Ubertooth. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at yo...
#include "jdtalk.h" static const char *usage_text = \ "usage: %s [-h] [-befHlrtx] [-s salad_word_count] [-c line_limit] [-p pattern] [-a acronym]\n" " -a str Acronym mode\n" " -b Enable benchmark output\n" " -c num Output `num` lines\n" " -j Enable JSON o...
/* * Copyright (C) 2011 Red Hat Inc. * * Author: * <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option)...
//Copyright (c) 1998 - 1999 Microsoft Corporation /****************************************************************************** * * QUSER.C * * query user information * * *******************************************************************************/ #include <nt.h> #include <ntrtl.h> #include <nturtl...
/* * tuneup.c * * Created on: Jan 7, 2020, 9:10:57 AM * Author: <NAME> */ #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #if HAVE_UNISTD_H #include <unistd.h> #endif #include "speed.h" #include "tmp-alloc.h" #include "yarrow.h" #define DEFAULT_MAX_SIZE 100...
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2012 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
/*============================================================================== * Includes *============================================================================*/ #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "soc/rtc_periph.h" #include "so...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> #include <unistd.h> #include <utime.h> #include <fcntl.h> #include "chrome-cache-dump.h" #define EPOCH_1600 11644473600000000L static int dry_run = 0; static void date_from_uint64(const uint64...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "api.h" #define LENGTH 64 struct telemetry_api_frame* parse_frame (char* data) { return (struct telemetry_api_frame *) data; } void hex_to_bytes (char* src, char* out) { char *pos = src; unsigned char val[LENGTH]; /* WARNING: no sanitizat...
/* * *************************************************************************** * Copyright (C) 2016 Marvell International Ltd. * *************************************************************************** * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
/* * mad - MPEG audio decoder * Copyright (C) 2000-2001 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. ...
#include "common.h" #include <math.h> /* Protoypes (static) */ static memcached_return server_add(memcached_st *ptr, const char *hostname, unsigned int port, uint32_t weight, memcached_connection type); memcached_...
/* * df4iah_fw_ringbuffer.c * * Created on: 19.12.2014 * Author: DF4IAH, <NAME> */ // tabsize: 4 #include "df4iah_fw_clkPullPwm.h" #include <util/delay.h> #include <string.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/wdt.h> #include "df4iah_fw_main.h" #include "df4iah_fw_memory.h...
/* * Derived from Arduino Tone class * Modified from C++ to C by LeonH */ //----------------------------------------------------------------------------- #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <string.h> #include "samd11.h" #include "hal_gpio.h" #include "pitches...
#include "matrix_partition.h" #include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <time.h> struct factor_list_element { int factor; struct factor_list_element* next; struct factor_list_element* previous; }; struct factor_list { struct factor_list_element* last_element; struct factor_l...
/* * vim: set et ts=4 sw=4 *------------------------------------------------------------ * ___ ___ _ * ___ ___ ___ ___ ___ _____| _| . | |_ * | _| . |_ -| _| . | | | . | . | '_| * |_| |___|___|___|___|_____|_|_|_|___|___|_,_| * |_____| * ---...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2018 <NAME> <<EMAIL>> * * 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 ...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/* * (C) British Crown Copyright 2021 Met Office * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "ectrans/transi.h" #include "transi_test.h" ...
#include <avr/io.h> #include <stdio.h> #include <avr/interrupt.h> #include <string.h> #include <util/delay.h> #include "../error.h" #include "../interrupt.h" #include "../samples.h" #include "adc.h" #include "usart.h" #include "timer.h" #include "dma.h" #include "gpio.h" #include "uart.h" #include "led.h" static vola...
#include <math.h> #include <stdio.h> #include <stdlib.h> #ifdef _WIN32 #define GLEW_STATIC #pragma comment(lib, "glew32s.lib") #pragma comment(lib, "glfw3.lib") #pragma comment(lib, "opengl32.lib") #endif #include <GL/glew.h> #include <GLFW/glfw3.h> #include "matrix.h" struct context { unsigned in...
/* * Copyright (c) 2008-2009 <NAME> (<EMAIL>) * and the University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your...
#include<stdio.h> #include<vsip.h> #include<VU.h> void VU_house_d(vsip_vview_d*,vsip_vview_d*, vsip_scalar_d*); void VU_houseqr_d(vsip_mview_d*,vsip_scalar_d*); void VU_qprodm_d(vsip_mview_d*,vsip_mview_d*,vsip_scalar_d*); void VU_mprodq_d(vsip_mview_d*,vsip_mview_d*,vsip_scalar_d*); void VU_qtprodm_d(vsip_mview_d*,vs...
#include <stdio.h> #include <limits.h> #include <jansson.h> #include <grammar.h> #include <json.h> #include <symbol.h> #include <value.h> static json_t * _json_flags(VALUE_FLAG Flags); static json_t * _json_token(TOKEN *Token); static json_t * _json_type(VALUE_TYPE Type); static json_t * _json_union(VALUE_TYPE Ty...
#include <linux/module.h> #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/errno.h> #include <rtai.h> #include <rtai_sched.h> #include <rtai_fifos.h> #define KB 1024 #define MB 1024*KB #define FIFO_DAT 0 #define FIFO_CMD 1 #define FIFO_STM 2 #define FIFO_ARG 3 // Commands #define CMD...
#include <stdint.h> // ******** SSE2 ******** #ifdef ENABLE_SSE2 #include <immintrin.h> #define VECTLENDP 2 #define VECTLENSP 4 typedef __m128d vdouble; typedef __m128i vint; typedef __m128 vfloat; typedef __m128i vint2; static vdouble vloadu(double *p) { return _mm_loadu_pd(p); } static void vstoreu(double *p, v...
/* Does not use built-in detection function! alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"WEB-CLIENT Powerpoint Viewer malformed msoDrawing property table vulnerability"; flow:established, to_client; flowbits:isset,file.ppt; content:"|0B F0|"; metadata:policy balanced-ips drop, policy security-ips drop; ...
/* * MIT License * * Copyright (c) 2020 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
/* * nsd-ldnsd. Light-weight DNS daemon, which sends IXFRs * * Tiny dns server to show how a real one could be built. * This version is used for NSD test, send out IXFR's only. * * (c) NLnet Labs, 2005, 2006 * See the file LICENSE for the license */ #include "config.h" #include <ldns/ldns.h> #include <sys/typ...
/* * Copyright (C) 2013 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope i...
#pragma once #include "driver/spi_master.h" #include "fontx.h" #define RED 0xf800 #define GREEN 0x07e0 #define BLUE 0x001f #define BLACK 0x0000 #define WHITE 0xffff #define GRAY 0x8c51 #define YELLOW 0xFFE0 #define CYAN 0x07FF #define PURPLE 0xF81F #define DIRECTION0 0 #define DIRECTION90 1 #define DIRECTION180 2 #d...
/* * Copyright (c) 2012, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the fol...
/***************************************************************************** * darwin.c : Put text on the video, using freetype2 ***************************************************************************** * Copyright (C) 2015 VLC authors and VideoLAN * $Id: bf9f8268384c584988d88bd72494862da141709b $ * * Autho...
/* _______ ____ __ ___ ___ * \ _ \ \ / \ / \ \ / / ' ' ' * | | \ \ | | || | \/ | . . * | | | | | | || ||\ /| | * | | | | | | || || \/ | | ' ' ' * | | | | ...
/* * Copyright 2010 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distrib...
// imports // standard library imports #include <math.h> #include <pthread.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> // compiler defs #define BENCH true #define BROKERS_N 100 #define EXCHANGE_DELAY 0.2 #define EXCHANGE_DAYS 10000 #define STOCKS_N 5 // type de...
/* Copyright 2020 HPS/SAFARI Research Groups * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge,...
/* NetBSD port */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <time.h> #include <unistd.h> #include <err.h> #include <limits.h> #include <paths.h> #include <kvm.h> #include <nlist.h> #include <sys/time.h> #include <sys/param.h> #include <sys/sysctl.h> #include <sys/types.h>...
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * 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...
#include <errno.h> #include "sp1_p2.h" const char * const not_string = "<KEY>"; char ***filters; int program_pid; int num_filters; int main_cnt; int main(int argc, char *argv[]) { printf("Program started, pid: %i, ppid: %i\n", getpid(), getppid()); program_pid = getpid(); main_cnt = 0; // argc 0 is th...
/* The MIT License (MIT) Copyright (c) 2014-2015 CSAIL, MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
#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...
#include <string.h> #include <stdio.h> #include "emul.h" extern MIPS_State* mstate; // Reset the Translation Lookaside Buffer. void reset_tlb(MIPS_State* mstate) { // Clear the TLB map. memset(mstate->tlb_map, 0, sizeof(mstate->tlb_map)); // Add all TLB entries to the last (otherwise unused) TLB chai...
#include <stdio.h> #include <string.h> #include <poll.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <stdbool.h> #include <xkbcommon/xkbcommon.h> #include <wayland-client.h> #include <libinput.h> #include <libudev.h> #include "virtual-keyboard-unstable-v1-client-protocol.h" struct wpadremap {...
#include "reader.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> void reader_init(struct thorium_actor *self); void reader_destroy(struct thorium_actor *self); void reader_receive(struct thorium_actor *self, struct thorium_message *message); struct thorium_script reader_script =...
/* events.h * * User handling for banana. */ #include "banana.h" /* typedef struct event { // json is not a full JSON struct. It expects to be surrounded by {}s. // This is so we can include seen. By using: // "{ seen: %d, updateCount: %d, %s }", seen, updateCount, json int seen; int updateCount; char ...
/* RTP Retransmission receiver element for GStreamer * * gstrtprtxreceive.c: * * Copyright (C) 2013-2019 Collabora Ltd. * @author <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Li...
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<time.h> #include<errno.h> #include<dirent.h> #include<unistd.h> #include<poll.h> #include<sys/types.h> #include<sys/stat.h> int itol(int value){ int counter=1; if(value<0) value*=-1; while((value/=10)>0) counter++; return counter; } char* myitoa(int ...
/* * Copyright(C) 2012 <NAME>. All Rights Reserved. * * This file is part of the YARD-ICE. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3.0 of the License,...
#include "image.h" #include "file.h" #include "str.h" #include "int.h" #include <stdlib.h> #ifdef CHECK_LEAKS #include "stb_leakcheck.h" #endif #define STBI_NO_STDIO #define STBI_NO_HDR #define STBI_ASSERT(x) #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define STB_IMAGE_RESIZE_IMPLEMENTATION #include "s...
/*********************************************************************************** * Copyright (c) 2013, <NAME> * 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 so...
/* * (c) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 requir...
/* * * This file is part of the ALPBench Benchmark Suite Version 1.0 * * Copyright (c) 2005 The Board of Trustees of the University of Illinois * * All rights reserved. * * ALPBench is a derivative of several codes, and restricted by licenses * for those codes, as indicated in the source files and the ALPB...
#include "sensors.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "driver/i2c.h" #define _I2C_NUMBER(num) I2C_NUM_##num #define I2C_NUMBER(num) _I2C_NUMBER(num) #define I2C_MASTER_SCL_IO CONFIG_I2C_MASTER_SCL /*!< gpio number for I2C master clock */ #define I2C...
// // en_spider.c // gen_shmupc // // Created by Victor "dicelander" Sander on 28/08/21. // #include "../inc/en_spider.h" void en_spider_move(Enemy* enemy, Action_Arg arg0, Action_Arg arg1, Action_Arg arg2, Action_Arg arg3, Action_Arg arg4, Action_Arg arg5) { enemy->pos_x += enemy->vel_x; enemy->pos_y += e...
/* * Copyright (c) 2019-2022, <NAME> * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <string.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <esp_partition.h> #include <esp_sleep.h> #include "driver/gpio.h" #include "adapter/adapter.h" #include "bluetooth/host.h" #include ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* See LICENSE for licence details. */ #include <errno.h> #include <fcntl.h> #include <stdint.h> #include <stdlib.h> #include <stdbool.h> #include <stdarg.h> #include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <unistd.h> enum misc { VERBOSE = false,...
/** * Licensed to JumpMind Inc under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. JumpMind Inc licenses this file * to you under the GNU General Public License, version 3.0 (GPLv3) * (the "License"); yo...
/* * Copyright (c) 1996-2001 <NAME>. * See README file for details. * * miscellaneous functions that may not be defined in the math libraries. The implementations are crude. lflgamma(x) -- log(gamma(x)) lferf(x) -- erf(x) lferfc(x) -- erfc(x) lfdaws(x) -- dawson's function where required, ...
#include "main.h" #include "bst.h" #include "check1003.h" struct in_addr dest_ip; int s1; struct timeval read_timeout2; /* Hasieratu iterazioa zuhaitzaren erroarekin eta statraren arabera, 1003 exekutatu edo jarraitu egitura osoa iteratzen behin eta berriro * Ez du hasteko argumenturik behar, zuhaitza baizik... 1001...
/* ============================================================================ Name : Project.c Author : <NAME> and <NAME> Version : Copyright : Your copyright notice Description : Gyroscope and color sensor ============================================================================ */ #in...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <assert.h> #include "_cgo_export.h" #include "mpeoslib.h" static struct eosapi s_eosapi; //mpeoslib.cpp typedef struct eosapi* (*fn_get_eosapi)(); void set_get_eosapi_func(fn_get_eosapi fn); //mpeoslib.cpp mp_obj_t uint64_to_st...
#include "directorios.h" #include <sys/wait.h> #include <errno.h> #include <stdio.h> #include <time.h> struct registro { time_t fecha; int pid; int nEscritura; int posicion; }; char dir_sim[60]; int escrituras(); int verificacion(); void enterrador(); static unsigned int acabados = 0; //pid=0; static ...
/* GStreamer * Copyright (C) 2010 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * *...
/* This program gives the reference implementation of stream cipher HC-128 HC-128 is a final portfolio cipher of eSTREAM, of the European Network of Excellence for Cryptology (ECRYPT, 2004-2008). The docuement of HC-128 is available at: 1) <NAME>. ``The Stream Cipher HC-128.'' New Stream Cipher Designs -- ...
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cutie.h" const Atom nil = {ATOM_NIL, {0}}; /* IO */ int nilp(Atom atom) { return atom.type == ATOM_NIL; } /* Evaluation */ int listp(Atom expr) { while (!nilp(expr)) { if (expr.type != ATOM_PAIR) return 0; exp...
#include "led.h" #include "buzzer.h" #include "fan.h" #include "button.h" #include "iwdg.h" #include "delay.h" #include "stdio.h" #include "string.h" #include "sht.h" #include "oled.h" #include "oledfont.h" #include "fire.h" #include "ldt.h" #include "mq5.h" #include "esp8266.h" #include "iot.h" #includ...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <unistd.h> #include <signal.h> #include <pthread.h> #include "craptev1.h" #include "crypto1_bs.h" #include "crypto1_bs_crack.h" #include <inttypes.h> #include <math.h> #include <time.h> #define __STDC_FORMAT_MACROS #define llx PRIx64 #define lli PRIi64...
/* Copyright (c) 2014-2017 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "buffer.h" #include "istream.h" #include "ostream.h" #include "sha1.h" #include "randgen.h" #include "test-common.h" #include "compression.h" #include <unistd.h> #include <fcntl.h> static void test_compression_hand...
#include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include "constants.h" #include "btree.h" void print_row(Row *row) { printf("(%d, %s, %s)\n", row->id, row->username, row->email); } void print_constants() { printf("ROW_SIZE: %d\n", ROW_SIZE); ...
#include <math.h> #include <stdio.h> #include <string.h> #include "vicmain_c.h" #include "applic.h" #include "defines.h" #include "zifmessage.h" #include "zmabend.h" #include "cartoMemUtils.h" #ifndef MIN #define MIN(a,b) (((a)<(b))?(a):(b)) #endif /******************************************************************...
/* the name was converted to pgm5.c */ /******************************************************* program: MISR.C This program creates two MISR's one which contains the true outputs and the other in which the outputs are not currupted with the probability given in the input. The values of the MISR's are compared to...
/**************************************************************************** * PROJECT: Android event-driven beat logic for Stack VM * FILE: sqAndroidEvtBeat.c * CONTENT: * * AUTHOR: <NAME>, based on Eliot Miranda's heartbeat code * ADDRESS: * EMAIL: <EMAIL> * RCSID: $Id$ * * NOTES: * ******...
#include "malnJoinWithinSet.h" #include "malnSet.h" #include "malnBlk.h" #include "malnComp.h" #include "malnBlkSet.h" #include "malnJoinBlks.h" #include "sonLibSortedSet.h" #include "sonLibList.h" #include "genome.h" #include "common.h" #include <stdbool.h> #include <unistd.h> /* join two blocks by associated root co...
/* # File: blah_utils.c # # Author: <NAME> # e-mail: <EMAIL> # # # Revision history: # 30 Mar 2009 - Original release. # # Description: # Utility functions for blah protocol # # # Copyright (c) Members of the EGEE Collaboration. 2007-2010. # # See http://www.eu-egee.org/partners/ for details on th...
/* This source file is part of the AVR Software Framework 2.0.0 release */ /*This file is prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief Main file of the USB enumeration example. * * - Compiler: ...
#include <time.h> #include "bstream.h" void test_advance() { TEST_BEGIN(); bstream_t *bstream = bstream_init_size(32); // Buffer size is 32 bytes bstream_advance(bstream, 0); // Corner case assert(bstream_get_byte_pos(bstream) == 0 && bstream_get_bit_pos(bstream) == 0); bstream_advance(bstream, 8); // Singl...
/**************************************************************************//** * @file main.c * @version V3.00 * @brief Use PDMA channel 2 to transfer data from memory to memory. * * SPDX-License-Identifier: Apache-2.0 * @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. *****************...
// vim: noet ts=4 sw=4 #ifdef __clang__ #pragma clang diagnostic ignored "-Wmissing-field-initializers" #endif #include <arpa/inet.h> #include <assert.h> #include <dirent.h> #include <fcntl.h> #include <mqueue.h> #include <netdb.h> #include <netinet/in.h> #include <pthread.h> #include <regex.h> #include <sys/ioctl.h> ...
/** * @file bl_syscalls_test.c * @brief System call emulation for unit tests * @author <NAME> <<EMAIL>> * @copyright Copyright 2020 Crypto Advance GmbH. All rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include "bl_util.h" #include "bl_syscalls...
/*************************************************************************** machine.c Functions to emulate general aspects of the machine (RAM, ROM, interrupts, I/O ports) ***************************************************************************/ #include "emu.h" #include "cpu/z80/z80.h" #include "sound/ms...
/** ****************************************************************************** * @file FSMC/OneNAND/main.c * @author MCD Application Team * @version V3.5.0 * @date 08-April-2011 * @brief Main program body ****************************************************************************** * @att...
/* RPC extension for IP connection matching, Version 2.2 * (C) 2000 by <NAME> <<EMAIL>> * - original rpc tracking module * - "recent" connection handling for kernel 2.3+ netfilter * * (C) 2001 by <NAME> <<EMAIL>> * - upgraded conntrack modules to oldnat api - kernel 2.4.0+ * * (C) 2002,2003 by <NAME> <<EMAIL>> ...
/* * Copyright (c) 2005-2017 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
/* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor a...
/***************************************************************************** * Copyright (c) 2009, OpenJAUS.com * All rights reserved. * * This file is part of OpenJAUS. OpenJAUS is distributed under the BSD * license. See the LICENSE file for details. * * Redistribution and use in source and binary for...