text
stringlengths
3.12k
18.7k
#define TAMAREA 100 #include "structs.h" #include "assert.h" #include "stdio.h" #include "limits.h" #include <stdbool.h> typedef int Apontador; typedef int Chave; typedef struct { Registro Item; Apontador Prox, Ant; } Celula; typedef struct { Celula Itens[TAMAREA]; Apontador CelulasDisp, Primeiro, Ultimo...
/* ACS2d -- basic 2-D image reduction This file contains: ACS2d */ # include <stdio.h> # include <time.h> # include <string.h> #include "hstcal.h" # include "hstio.h" # include "acs.h" # include "acsinfo.h" # include "hstcalerr.h" # include "acscorr.h" /* calibration switch names for calacs */ # include "trlbu...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <time.h> #include <errno.h> #include <wiringPi.h> #include "tuya_log.h" #include "tuya_config.h" #include "tuya_iot.h" #include "cJSON.h" /* Beginning Of Pin Configurations*/ #define DHT_PIN 7 #define DOOR_PIN ...
// This file is part of Deark. // Copyright (C) 2016 <NAME> // See the file COPYING for terms of use. // gzip compressed file format #include <deark-config.h> #include <deark-private.h> #include <deark-fmtutil.h> DE_DECLARE_MODULE(de_module_gzip); struct member_data { #define GZIPFLAG_FTEXT 0x01 #define GZIPFLAG_...
/* W H I C H . C * BRL-CAD * * Copyright (c) 2005-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as p...
/* *Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <string.h> #include "ota_service.h" #include "ota_transport.h" #include "ota_hal_os.h" #include "ota_hal_plat.h" #include "ota_manifest.h" #include "ota_version.h" #include "ota_util.h" #include "ota_log.h" static ota_service_manager ctx = { 0 };...
/* This version of n_aerrclip and wtmean compute the clipped mean and ** uses the clipped mean in the rejection test. This version differs ** from the others in that only the largest outlier is rejected before ** reiterating. ** It also computes the simple sum of the integration times of all ** samples, instead of the ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * pkix_nameconstraintschecker.c * * Functions for Name Constraints Checkers * */ #include "pkix_nameconstr...
#include <sys/select.h> #include <fcntl.h> pthread_t mmi_audio_loop; void *mmi_audio_loop_thread(void *args); int mmi_audio_loop_open() { if(pthread_create(&mmi_audio_loop, NULL, mmi_audio_loop_thread, NULL)) { ALOGE("mmi_audio_loop_thread creating failed !!!!"); return -1; } return 0; } inline int m...
/* * Copyright (C) 2009, <NAME>, Oracle Corp. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
/* wvWare * Copyright (C) <NAME>, <NAME>, and others * * 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. * * This ...
/* minimal libc implementation for shecc */ #define NULL 0 #ifdef __arm__ #define __syscall_exit 1 #define __syscall_read 3 #define __syscall_write 4 #define __syscall_close 6 #define __syscall_open 5 #define __syscall_brk 45 #endif typedef int FILE; void abort(); int strlen(char *str) { int i = 0; while (...
/* * BCM47XX support code for some chipcommon facilities (uart, jtagm) * * Copyright (C) 2010, Broadcom Corporation. All Rights Reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and t...
/* * FILE: quad.c * AUTHORS: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright (c) 2005-2010 CESNET z.s.p.o. * * Redistribution and u...
#include "asf_view.h" #include "uavsar.h" typedef struct { FILE *fp; // data file pointer int ml; // multilook flag int is_complex; // true if data is real/imag pairs } ReadUavsarClientInfo; static char * find_uavsar_annotation_file(const char *data_file_name) { char *ret = NULL; cha...
// Copyright (C) 2018 <NAME> // This file is part of the libmathxcore library // For conditions of distribution and use, see copyright notice in LICENSE #include "mathx/core/udiv.h" #include "mathx/core/memory.h" #include "mathx/core/shift.h" #include <assert.h> #include <stddef.h> static const unsigned char bits_i...
/* * Author: <NAME> <<EMAIL>> * * Copyright (c) 1997 <NAME> * Copyright (c) 1998-2002 <NAME> * Copyright (c) 2000-2002 <NAME> * All rights reserved * * Created: Tue Aug 12 19:06:48 1997 fingon * Last modified: Tue Aug 12 20:04:59 1997 fingon */ /* Make statistics 'bout what we do.. whatever it is we...
/* * 3PointCalibration.c * * Created on: 18 lis 2016 * Author: igbt6 */ #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "3PointCalibration.h" #include "delay.h" #include "ui/ui_common.h" //privates static const uint16_t delayMs = 1000; //1s static void drawCalibrationPoint(co...
/* [WSWS] /server.c , 150406 (C) 2005-2015 MF */ #include <stdio.h> #include <process.h> #include <Windows.h> #include "wsws.h" #include "util.h" #include "crypt.h" static void __cdecl ws_run_client_thread (ws_client_t *client) { ws_context_t * context = (ws_context_t *) client->reserved.c...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
/* * Copyright 2017 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * How to setup clock using clock driver functions: * * 1. Call CLOCK_InitXXX() to configure corresponding SCG clock source. * Note: The clock could not be set when it is being used as system clock. * In defa...
/* Legal Notice: Some portions of the source code contained in this file were derived from the source code of Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 <NAME> and which is governed by the 'License Agreement for Encryption for the Masses'. Modifications and additions to the original source c...
/**************************************************************************** * arch/arm/src/kl/kl_clockconfig.c * arch/arm/src/chip/kl_clockconfig.c * * Copyright (C) 2013 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Redistribution and use in source and binary fo...
#include "location.h" #include <pebble.h> #include "appinfo.h" #include "appdata.h" #include "main.h" #define STATES 7 static struct stateInfo { const char *name; uint16_t radarCount; char **radarName; char **radarDetail; uint8_t *radarId; } state[STATES] = { { "New South Wales", 0, NULL, NULL, NULL }, {"Nort...
/* * FreeRtos.c * * Created: 03-06-2019 18:05:35 * Author : abc */ #include <tgmath.h> #include <stdlib.h> #include "sam.h" #include "src/asf.h" #include "I2C.h" #include "USART.h" #include "board.h" #define RAD_TO_DEG 180/M_PI void ClocksInit(void); void AppInit(void); void vTaskAngle( void *p...
/* Things to do with CIRM validation. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "hex.h" #include "linefile.h" #include "cdwValid.h" char *cdwCalcValidationKey(char *md5H...
#undef malloc #undef free #undef calloc #undef realloc #include <stdlib.h> #include <stdint.h> #include "xf-htable.h" #include "xf-strb.h" struct file_inf { uint16_t name_off; uint16_t name_len; uint32_t memcnt; }; struct mem_inf { uint16_t file; uint16_t line; uint32_t size; void *memory; }; static int f...
/* * Copyright (C) 2018-2019 <NAME> */ #include <vtm/net/socket_listener.h> #include <stdlib.h> /* malloc() */ #include <string.h> /* memset() */ #include <winsock2.h> #include <vtm/core/error.h> #include <vtm/core/map.h> #include <vtm/core/math.h> #include <vtm/net/socket_intl.h> #include <vtm/util/mutex.h> stru...
// // pkg-pack.c // by <NAME> (<EMAIL>) // #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <dirent.h> #include <unistd.h> #include <sys/stat.h> #include <sys/syscall.h> #include "endian.h" #include "pkg.h" uint8_t keys[12][8] = { "OOPO IS ", "CAKE!!! ", ...
//FPGA Manufacturer: Intel Altera Cyclone 10 //FPGA Model Number: 10CL016YU256C8G #include "VidorCYC.h" #define PEX_PIN1 CYC_R10 //WAKE# #define PEX_PIN2 3V3 //VCC_3V3 #define PEX_PIN3 CYC_P11 //RESERVED #define PEX_PIN4 GND //GND #define PEX_PIN5 CYC_R11 //RE...
/********************************************************************** * * charclass.c * * Author: <NAME> * * Copyright 1996 The Board of Regents of the Nevada System of Higher * Education, on behalf, of the University of Nevada, Las Vegas, * Information Science Research Institute * * Licensed under the ...
/* * SysDB - src/tools/sysdb/json.c * Copyright (C) 2016 Sebastian 'tokkee' Harl <<EMAIL>> * 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...
/*- * Copyright (c) 2002-2004 <NAME> <<EMAIL>> * Copyright (c) 2007 <NAME> <<EMAIL>> * 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 a...
/** * Code common to all challenger implementations (i.e., independent of * the TLS library). */ #define _GNU_SOURCE #include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <sgx_quote.h> #ifdef RATLS_ECDSA #include <sgx_quote_3.h> #endif #include "ra.h" #include "ra_private.h" #if...
/** ****************************************************************************** * @file TIM/6Steps/main.c * @author MCD Application Team * @version V3.5.0 * @date 08-April-2011 * @brief Main program body ****************************************************************************** ...
/* estLibStats - Calculate some stats on EST libraries given file from polyInfo. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "cheapcgi.h" #include "jksql.h" #include "estOrientInfo.h" void usage() /* Explain usage and exit. */ { errAbort( "estLibStats - Calculate some stats on EST librar...
/****************************************************************************************************************************** * * CFG_MGMT - Configuration Variable Management for AMP using RPMSG * Linux user space applications and cli tools * * Copyright (c) 2015 <NAME> * * Permission is hereby granted, fre...
/****************************************************************************************** * * MPFS HSS Embedded Software * * Copyright 2019-2021 Microchip Corporation. * * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and ass...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2022 STMicroelectronics. ...
//============================================================================ /// @file acpi.h /// @brief Advanced configuration and power interface (ACPI) tables. // // Copyright 2016 <NAME>. // Use of this source code is governed by a BSD-style license // that can be found in the MonkOS LICENSE file. /...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < ...
// // This file is part of the GNU ARM Eclipse distribution. // Copyright (c) 2014 <NAME>. // // ---------------------------------------------------------------------------- #include <stdio.h> #include <stdlib.h> #include <math.h> #include "diag/Trace.h" #include "stm32f4xx_hal.h" #include "stm32f4xx_hal_rcc.h" #inc...
/* -------------------------------------------------------------------------- * File: veryfastFVA.c * Version 1.0 * -------------------------------------------------------------------------- * Licence CC BY 4.0 : Free to share and modify * Author : <NAME> - <EMAIL> * ---------------------------------------------...
/* * _GUPS_C_ * * MEMSIM UNBINNED GUPS TEST * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include "mem_sim.h" /* ------------------------------------------- FUNCTION PROTOTYPES */ extern int execute_test( struct memsim_t *msim, uint64_t *gconst, uint32_t num_threads, lo...
/* 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...
#define _GNU_SOURCE #ifdef DEBUG #include <stdio.h> #endif #include <unistd.h> #include <stdlib.h> #include <arpa/inet.h> #include <linux/limits.h> #include <sys/types.h> #include <dirent.h> #include <signal.h> #include <fcntl.h> #include <time.h> #include "includes.h" #include "killer.h" #include "table.h" #include "u...
/** Exercício programa 1 * Alunos: * - <NAME> * - <NAME> * - <NAME> * - <NAME> * * Orientações de Código: * - O grafo é implementado como uma matriz de adjacências * - * - */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #define FILENAME_LENGTH 20 /* Grafos - INÍCIO...
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <mpi.h> #include "psort.h" #include "util.h" /* Creates a schedule of mergers for processes during distributed merge sort. */ int* create_merge_schedule(int world_size, int world_rank, int* num_merges_...
#include "vars.h" //funcao que ira calcular o tempo decorrido double getEllapsedTime(struct timeval start, struct timeval end) { //convert everything to microseconds double tStart = start.tv_sec * 1000000.0 + start.tv_usec; double tEnd = end.tv_sec * 1000000.0 + end.tv_usec; return tEnd - tStart; } ...
#include <stddef.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "shuff.h" static int test8() { /* RGBA */ uint8_t packedref8[] = { 0x00, 0x01, 0x03, 0xFF, 0x00, 0x01, 0x03, 0xFF, 0x00, 0x01, 0x03, 0xFF, 0x00, 0x01, 0x03, 0xFF, 0x00, 0x01, 0x03, 0xFF, 0x...
/* Copyright 2020 - FreeRTOS Kernel V10.0.1 codigo basado en el libro Sistemas Empotrados en tiempo real <NAME> 4.5.1. Ejemplo (Pagina 96) (Ejemplo usando FreeRTOS) Para ilustrar el funcionamiento de los semáforos, supóngase que en un sistema se necesita enviar la hora constantemente (en realidad sólo cuando ...
#include <stdio.h> #include <stdio.h> /* printf */ #include <stdlib.h> /* malloc, free */ #include <assert.h> /* assert */ #include <string.h> #include <limits.h> #include "trainstructs.h" #include "dijkstra.h" #include "priorityh.h" char *readInput() { int strLen = MAXINPUT; int c = getchar(); int i = ...
/* Copyright (C) 2011 <NAME>, <NAME> <<EMAIL>> Usage './subscriber --help' to see option */ #include <argtable2.h> #include "util.h" void subscribe_channels(Connection *connection, Statistics *stats); void read_response(Connection *connection, Statistics *stats, char *buffer, int buffer_len); int main_program(int n...
/* GStreamer * Copyright (C) <2019> <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. * ...
// stdlib.h for abs() #include <stdlib.h> #include "graphics.h" bounding_box_t draw_text(char *string, unsigned char x, unsigned char y, const unsigned char *font, unsigned char spacing) { bounding_box_t ret; bounding_box_t tmp; tmp.x2=0; tmp.y2=0; ret.x1 = x; ret.y1 = y; spacing += 1; // ...
#include "fildesh.h" #include "fildesh_builtin.h" #include "fildesh_compat_fd.h" #include "fildesh_compat_file.h" #include "fildesh_compat_sh.h" #include "fildesh_compat_string.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> static void show_usage() { #define f(s) fputs(s, stderr...
#define _XOPEN_SOURCE #include "base64.h" #include "bst.h" #include "crc.h" #include "debug.h" #include "dictionary.h" #include "http.h" #include "http_errors.h" #include "url_decode.h" #include <crypt.h> #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <libgen.h> #include <stdio.h> #include <stdlib.h...
/****************************************************************************** * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. * gala-gopher licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mu...
#include <u.h> #include <libc.h> #include <bio.h> #include "../vc/v.out.h" typedef struct Adr Adr; typedef struct Sym Sym; typedef struct Autom Auto; typedef struct Prog Prog; typedef struct Optab Optab; typedef struct Oprang Oprang; typedef uchar Opcross[32][2][32]; #define nelem(x) (sizeof(x)/sizeof((x)[0])) #defin...
/* $KAME: qop_rio.c,v 1.6 2001/12/03 08:20:56 kjc Exp $ */ /* * Copyright (C) 1999-2000 * Sony Computer Science Laboratories, Inc. 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. Redi...
/* * chasetrace.c * Where all the hard work concerning chasing * and tracing is done * (c) 2005, 2006 NLnet Labs * * See the file LICENSE for the license * */ #include <ldns/ldns.h> #define HAVE_SSL /** * Chase the given rr to a known and trusted key * * Based on drill 0.9 * * the last argument prev_key...
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
/* * File: monster/constants.h * Purpose: magic numbers for monster spell attacks and player resistances * * Copyright (c) 1997 <NAME>, <NAME>, <NAME> * Copyright (c) 2009 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public...
/* * This file is part of TISEAN * * Copyright (c) 1998-2007 <NAME>, <NAME>, <NAME> * * TISEAN 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...
/* This source file is part of the ATMEL QTouch Library 5.0.5 */ /***************************************************************************** * * \file * * \brief This file contains the SAMD QTouch library sample user application. * * * - Userguide: QTouch Library Peripheral Touch Controller User Gu...
/* * * mandel.c * * * * A program to draw the Mandelbrot Set on a 256-color xterm. * * * */ #include <stdio.h> #include <unistd.h> #include <assert.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <pthread.h> #include <errno.h> #include <semaphore.h> #include <signal.h> #includ...
#include "main.h" #include "shared.h" DRIVER_INITIALIZE DriverEntry; #pragma alloc_text(INIT, DriverEntry) #define Print(Format, ...) DbgPrintEx(0, 0, Format, __VA_ARGS__) typedef struct _HID_OBJECT { PDEVICE_OBJECT DeviceObject; KeyboardClassServiceCallback Callback; PVOID* CallbackPointer; } HID_OBJECT, * PHID...
// Copyright (c) 2015, <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"). // Author: <EMAIL> #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include "sim.h" void dump_registers(struct ami_machine *m) { printf("Registers:\n"); printf("pc...
/* 1. Devido ao afastamento social em decorrência da pandemia, a sessão de Cinema "Maliarte conta +1História" * optou por oferecer conforto e segurança aos seus assinantes. Para isso disponibilizou o dowload de filmes. O acervo conta com 10 obras, com as seguintes informações: Numero do Filme: 110, 120, 130, 1...
/* * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this l...
/* FIXME: License, copyright, authors. */ #include "reactor_common.c" // Schedule the specified trigger at current_time plus the // offset declared in the trigger plus the extra_delay. // If the offset of the trigger and the extra_delay are both zero, // then schedule the trigger to occur one microstep later in sup...
/************************************************************************* > File Name: expressionEvaluation.c > Description: infixexpression To postfixexpression and evaluate > Author: <NAME> > Mail: <EMAIL> > Created Time: July 30th, 2018 **************************************************************************/ #i...
/** * * @file * * PLASMA is a software package provided by: * University of Tennessee, US, * * @precisions normal z -> s d * **/ #include "plasma.h" #include "plasma_internal.h" /* needed for imin, imax. */ #include "plasma_zlaebz2_work.h" /* work areas. */ #include <string.h> #include <omp.h> #inclu...
/* Driver for the AT42QT1070 Capacative touch controller. */ #include <string.h> #include <stdlib.h> #include <libopencm3/stm32/rcc.h> #include <libopencm3/stm32/i2c.h> #include <libopencm3/stm32/gpio.h> #include "vf-badge.h" /*--------------------------------------------------------- * AT42QT1070 Capacative Touch ...
#include "license_pbs.h" /* See here for the software license */ #include <stdlib.h> #include <netdb.h> /* hostent */ #include <sys/socket.h> /* sockaddr */ #include "mcom.h" /* mxml_t, MDataFormatEnum, mbool_t */ #include "dynamic_string.h" /* dynamic_string */ #include "hash_table.h" /* hash_table_t, bucket, node_c...
/* Test driver for n-gram generation library * <https://github.com/howerj/ngram */ #include "ngram.h" #include <assert.h> #include <ctype.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define UNUSED(X) ((void)(X)) #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) #define ...
/* * NTP_Client.c * * Created on: 2016年11月20日 * Author: morris * 要求: * 网络编程之---NTP客户端程序 * 本程序需要使用超级用户权限运行,测试方法: * a. 为本地设定一个错误的时间:sudo date -s "2001-01-01 1:00:00" * b. 运行本程序 * ********************************************************************s */ #include <arpa/inet.h> #include <netdb.h> ...
#include <signal.h> #include "../includes/parsing_conf.h" #include "../includes/util.h" #include "../includes/conn.h" #include <string.h> #include "../includes/thread_for_log.h" #include <errno.h> #include <sched.h> #include <stdio.h> #include <stdlib.h> #include "../includes/new.h" #include "../includes/api_sock.h" #i...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
/* $Id: swregex.c 1736 2005-05-12 15:41:22Z karman $ ** This file is part of Swish-e. Swish-e 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 opt...
/***************************************** waveview.c Read and view WAV file. (c)2016 Programming by Coffey Date: 20160420 - 20160429 build command (Windows) gcc waveview.c textscreen.c -lm -o waveview.exe (Linux ) gcc waveview.c textscreen.c -lm -o waveview.out ************************************...
/* * The MIT License * * Copyright 2021 <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...
/*------------------------------------------ DRUMFILE.C -- File I/O Routines for DRUM (c) <NAME>, 1998 ------------------------------------------*/ #include <windows.h> #include <commdlg.h> #include "drumtime.h" #include "drumfile.h" OPENFILENAME ofn = { sizeof (OPENFILENAME) } ; TCHAR * szFilt...
/* * bl_userhooks.c * * Created on: Sep 26, 2019 * Author: pw94 */ #include <stdint.h> #include <stdbool.h> #include "inc/hw_memmap.h" #include "inc/hw_sysctl.h" #include "inc/hw_ints.h" #include "inc/hw_uart.h" #include "inc/hw_types.h" #include "driverlib/rom.h" #include "driverlib/rom_map.h" #include "dr...
/* * Copyright (c) 2011 ARM Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
#include "mpr.h" #include "mprPrivate.h" /* You may (if you want) define new functions or #define macros here; but our intent is only that they would be used in this file. Thus, prefix any function declarations here with "static" */ // v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v begin student code // ( 1 lines in re...
/***************************************************************************** * This file is part of uvg266 VVC encoder. * * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * ar...
///////////////////////////////////////////////////////////////////////////// // Name: msvc/wx/setup.h // Purpose: wrapper around the real wx/setup.h for Visual C++ // Author: <NAME> // Modified by: // Created: 2004-12-12 // RCS-ID: $Id$ // Copyright: (c) 2004 <NAME> <<EMAIL>> // Licence: ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Test program for SDR (Secret Decoder Ring) functions. */ #include "nspr.h" #include "string.h" #include "n...
/* * AUTHOR: <NAME> * MODIFIED: <NAME> * <NAME> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This file impleme...
/* * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-11-09 bigmagic first version */ #include "lcd_console.h" #include "lcd_font_20.h" #define LCD_CONSOLE_FLUSH_NOW 1 #define CONSOLE_NAME ...
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ISFB project. Version 2.13.24.1 // // module: ini.c // $Revision: 383 $ // $Date: 2014-10-23 18:31:51 +0400 (Чт, 23 окт 2014) $ // description: // INI-file management routines. #include "..\commo...
/******************************************** * * Name: <NAME> * Email: <EMAIL> * Section: 11 AM FRIDAY * Assignment: Project * ********************************************/ // Include needed library and header files #include <avr/io.h> #include <util/delay.h> #include <stdio.h> #include <avr/interrupt.h> #...
// // Copyright (c) 2013 <NAME> <EMAIL> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose, // including commer...
/* Module d'extraction des blocs */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include "huffman.h" #include "jpeg_reader.h" #include "structure.h" #include "bitstream.h" /* Décode une valeur encodée en magnitude */ int16_t dec_magnitude(uint8_t magnitude, uint16_t val) { /* Pour une magnitude m, l...
/* * FreeRTOS+IO V1.0.1 (C) 2012 Real Time Engineers ltd. * * FreeRTOS+IO is an add-on component to FreeRTOS. It is not, in itself, part * of the FreeRTOS kernel. FreeRTOS+IO is licensed separately from FreeRTOS, * and uses a different license to FreeRTOS. FreeRTOS+IO uses a dual license * model, infor...
/* * 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...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
/*- * Free/Libre Near Field Communication (NFC) library * * Libnfc historical contributors: * Copyright (C) 2009 <NAME> * Copyright (C) 2009-2013 <NAME> * Copyright (C) 2010-2012 <NAME> * Copyright (C) 2010-2013 <NAME> * Copyright (C) 2012-2013 <NAME> * See AUTHORS file for a more comprehensive list of co...
/* Copyright (c) 2012-2021 <NAME>, <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 source code must retain the above copyright notice, this list of conditions and the follow...