text
stringlengths
5.8k
28.2k
/* * md2.h * Used in ipmilan.c * * 05/26/2006 ARCress - copied from freeipmi ipmi-md2.c, * added md2_sum() subroutine, added WIN32 flag * 08/14/2008 ARCress - moved md2 routines from md2.c to md2.h */ /* * (c) (C) 2003 FreeIPMI Core Team * * This program is free software; you can red...
/* * Running commands. * * These are the functions for running external commands under remctld and * calling the appropriate protocol functions to deal with the output. * * Written by <NAME> <<EMAIL>> * Based on work by <NAME> * Copyright 2015-2016, 2019 <NAME> <<EMAIL>> * Copyright 2016 Dropbox, Inc. * Copyr...
/* saa7111 - Philips SAA7111A video decoder driver version 0.0.3 Copyright (C) 1998 <NAME> <<EMAIL>> Slight changes for video timing and attachment output by <NAME> <<EMAIL>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
/***************************************************************************** * Griffin_ADC_DAC_Codes_Core1.c *****************************************************************************/ #include <sys/platform.h> #include "Griffin_ADC_DAC_Codes_Core1.h" #include "ADAU_1962Common.h" #include "ADAU_1979Commo...
/* Copyright (C) 2016 <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, modify, merge, publi...
/* *********************** INFO ***************************** "ITERATIVE FILE TRANSFER TCP SERVER" Exercise 2.3 Lab 2 (client) Developer: <NAME> ************ BRIEF EXPLANATION OF THE ALGORITHM ************* In this exercise I am developing a client that connect to a...
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: vars.c Abstract: This module contains Author: <NAME> (DanKn) 18-Sep-1995 Revision History: Notes: --*/ #include "esp.h" char szTab[] = " "; char szhdLine[] = "hdLine"; c...
/* * pic.h: 8259 Programmable Interrupt Controller functions */ #pragma once #include "../C/stdbool.h" #include "../global/global_addresses.h" #include "../ports/io.h" #include "../interrupts/idt.h" #include "../print/print_types.h" #include "../keyboard/keyboard.h" #define PIC_1_CMD 0x20 #define PIC_1_DATA 0x21 ...
/* * nanddump.c * * Copyright (C) 2000 <NAME> (<EMAIL>) * <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 Free Software Foundation. * * Overview: * This ut...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * This notice applies to any and all portions of this file * that are not...
#include "main_task.h" #include "cmsis_os.h" #include "ucdc.h" #include "common.h" #include "main_task_internal.h" #include "stm32g0xx_ll_ucpd.h" #include "usbpd_core.h" #include "usbpd_dpm_conf.h" #include "usbpd_dpm_core.h" #include "usbpd_hw.h" #include "usbpd_pwr_if.h" #include <stdlib.h> static osMessageQId Main...
/* The MIT License * * Copyright (C) 2008-2009 <NAME> * * Copyright (C) 2008-2009 Abilisoft Ltd. * * * 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 wi...
/* Extended Module Player * Copyright (C) 1996-2018 <NAME> and <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...
#include "mmt_core.h" #include "plugin_defs.h" #include "extraction_lib.h" #include "../mmt_common_internal_include.h" #include "sctp.h" /////////////// PROTOCOL INTERNAL CODE GOES HERE /////////////////// static attribute_metadata_t sctp_attributes_metadata[SCTP_ATTRIBUTES_NB] = { {SCTP_SCR_PORT, SCTP_SCR_PORT_A...
/* SO - Tarea #2 - Mr.Meeseeks Tecnológico de Costa Rica, Sede Central Cartago, Primer Semestre 2021 Escuela de Ingeieria en Computación, Principios de Sistemas Operativos Prof.: <NAME> Hecho por: <NAME> - 2018142999 <NAME> - 2017112650 Fecha de entrega: 24-4-2021 */ #include <stdio.h> #include <stdlib.h> #include <st...
#include <Windows.h> #include <StdIO.h> #include <TChar.h> #include <WChar.h> #include <String.h> #include <Assert.h> #include "..\\List.h" #include "..\\Set.h" #include "..\\Unit.h" #include "..\\UnitScroll.h" #include "Position.h" #include "Paragraph.h" #include "Calculate.h" #include "Resource.h" #include "Word.h" #...
/* This is where `Buy Ticket` category located Its purpose is to track the transactions and sales report Here is the tree list of the flow of the functions (Take note that I didn't list the functions from other file): * buyTicket() * buyReservedTicket() * proceedPayment() * storeCodeD...
/* * Copyright (C) 2019-2020, Xilinx Inc - All rights reserved * Xilinx Resouce Management * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8...
/* expfnm_2.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__1 = 1; static integer c__2 = 2; static integer c__32 = 32; /* $Procedure EXPFNM_2 ( Expand a fi...
/* Definitions of structures used in multiwavelet routines <NAME>, July 1998 */ /* Note multiwavelt code uses a series of datascope libraries with a nested include here. This is bad form if this were placed in a library, but the current presumption is that this is an encapsulated set of C programs */ #include "stock...
/* $OpenBSD: asr_debug.c,v 1.17 2014/03/26 18:13:15 eric Exp $ */ /* * Copyright (c) 2012 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all c...
//***************************************************************************** // Filename : 'lcdncurses.c' // Title : Lcd ncurses stub functionality for emuchron emulator //***************************************************************************** // Everything we need for running this thing in Linux #include ...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2011-2012 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2011 UT-Battelle, LLC. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #inc...
/* * jpegparser.c - JPEG parser * * Copyright (C) 2011-2012 Intel Corporation * * 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 2.1 * of the License, or (at y...
/***************************************************************** HotKnot: A heuristic algorithm for RNA secondary structure prediction including pseudoknots File: goodStem.c Description: This file is used to generate a list of hotspots, using loc...
#include <msp430.h> #include <driverlib.h> #include "StopWatchMode.h" #include "TempSensorMode.h" #include "hal_LCD.h" #define STARTUP_MODE 0 volatile unsigned char mode = STARTUP_MODE; volatile unsigned char stopWatchRunning = 0; volatile unsigned char tempSensorRunning = 0; volatile unsigned char...
#include "X11/Xlib.h" #include "drawing.h" #include "errors.h" #include "resourceTypes.h" #include "window.h" #include "display.h" #include "util.h" #include "gc.h" #include "colors.h" #include "events.h" #define SDL_VIEWPORT_INCORRECT_COORDINATE_ORIGIN void drawWindowDataToScreen() { Window* children = GET_CHILD...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "types.h" #include "utils.h" // return 0 on success int lex(class *class) { FILE *fp = NULL; char *line = NULL; size_t len = 0; int prog_line = 0; char *token = NULL; parsed_op *curr = NULL; parsed_op *next = NULL; // inject bootst...
/** ****************************************************************************** * @file lib_NDEF_Email.c * @author MMY Application Team * @version V1.0.0 * @date 20-November-2013 * @brief This file help to manage NDEF file that represent Email. ******************************************...
#include "synth.h" #include "board.h" #include "audio.h" #include <math.h> #include <string.h> #include "stm32f4xx_ll_tim.h" #include "notes.h" #define PI 3.1415926f SynthConfig synth; SynthConfig cfg; // Osc/env/filter state: typedef struct { float z1; float z2; float z3; float z4;...
/* * Linear.c * By <NAME> * * A Linear Regression Modeling Program * * AP Computer Science Principles Create Task Submission * * Program characteristics: * -Inputs coordinate data from user * -Plots and displays coordinate data * -Calculates linear reg...
/* * pptpgre.c * * originally by <NAME> * Modified for PoPToP * * $Id: pptpgre.c,v 1.9 2007/04/16 00:21:02 quozl Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __linux__ #define _GNU_SOURCE 1 /* broken arpa/inet.h */ #endif #include "our_syslog.h" #include <stdio.h> #include <stdlib.h> #inc...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2005 <NAME> Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as...
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <string.h> #include <time.h> #include <sys/stat.h> #include <sys/wait.h> #define DEFAULT_STDOUT_PRI "user.info" #define DEFAULT_STDERR_PRI "user.err" #define DEFAULT_CHDIR "/" #define LOGGER_C...
/* * 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 program is distributed in the hope that it will be use...
/* ip_nat_helper.c - generic support functions for NAT helpers * * (C) 2000-2002 <NAME> <<EMAIL>> * (C) 2003-2006 Netfilter Core Team <<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 Free Soft...
/* * ----------------------------------------------------------------- * $Revision: 1.1 $ * $Date: 2006/11/08 01:07:06 $ * ----------------------------------------------------------------- * Programmer: <NAME> @ LLNL * ----------------------------------------------------------------- * Copyright (c) 2006, The R...
/* * Copyright (c) 2020 <NAME> <<EMAIL>> * <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 notice, * this...
/* * Size memory and create the kernel page-tables on the fly while doing so. * Called from main(), this code should only be run by the bootstrap processor. * * MemMin is what the bootstrap code in l.s has already mapped; * MemMax is the limit of physical memory to scan. */ #include "u.h" #include "../port/lib.h"...
/* This module makes GNU readline available to Python. It has ideas * contributed by <NAME>, LLNL, and <NAME>, Cornell Theory * Center. The completer interface was inspired by Lele Gaifax. * * More recently, it was largely rewritten by <NAME> who is * now maintaining it. */ /* Standard definitions */ #include ...
/* ZEsarUX ZX Second-Emulator And Released for UniX Copyright (C) 2013 <NAME> This file is part of ZEsarUX. ZEsarUX 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 3 of th...
/* * Copyright 2007, 2010-2011 Freescale Semiconductor, Inc. * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * FSL DIU Framebuffer driver * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under th...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2022 The Fluent Bit Authors * * 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <errno.h> #include "ceos.h" #include "asf.h" #include "asf_meta.h" #include "get_ceos_names.h" #include "metadisplay.h" #include "cla.h" #ifdef win32 #include <unistd.h> #include <signal.h> #include <process.h> #endif void add(char ...
#include <signal.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/time.h> #include "routines.h" #include "spidev.h" #include "gpio.h" #include <getopt.h> #include <sys/file.h> #include <sys/stat.h> #include <strings.h> #in...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <alsa/asoundef.h> #include <assert.h> #include "common.h" #include "midi.h" #include "xv.h" #include "id.h" #include "patch.h" #include "sex.h" extern char *manufacturer[]; static struct bank_sel bank[] = { { "USER", 1, 128, 0x57, 0x00, 0 }, ...
/** * \file frne.c * \author <NAME> * \brief MEX file body * * * FRNE MEX file version of RNE.M * * TAU = FRNE(ROBOT, Q, QD, QDD) * TAU = FRNE(ROBOT, [Q QD QDD]) * * where Q, QD and QDD are row vectors of the manipulator state; pos, * vel, and accel. * * Returns the joint torque required to ac...
#include "lala/lala.h" #include "ichaudio.h" #include "io.h" status_t ichaudio_attach(audio_drv_t *drv, void **cookie); status_t ichaudio_powerctl(audio_drv_t *drv, void *cookie, int op); status_t ichaudio_detach(audio_drv_t *drv, void *cookie); status_t ichaudio_stream_attach(audio_drv_t *drv, void *cookie, int strea...
/* Copyright (c) 2007, Stanford University * 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 condi...
/* Redis Windows Service. * * Copyright (c) 2011, <NAME> <rgl at ruilopes dot 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 ab...
/* Copyright 2004,2007,2008,2010-2012,2014,2018,2020 IPB, Universite de Bordeaux, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules...
/* * fmfcompress: Read in a movie in FMF, output the movie in M4V. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "avformat.h" #include "swscale.h" /*#include <math.h> #ifndef M_PI #define M_PI 3.14159265358979323846 #endif */ /* in the compressed output, how many bits per pixel? */ #define ...
/* packet-aarp.c * Routines for Appletalk ARP packet disassembly * * <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published ...
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. */ #include <stdio.h> #include <ctype.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <time.h> #include <pwd.h> #define import_spp #define import_error #include <iraf.h> #include "sgiUtil.h" /* * SGI2UAPL.C --...
/* * EAP server/peer: EAP-pwd shared routines * Copyright (c) 2010, <NAME> <<EMAIL>> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/const_time.h" #include "crypto/sha256.h" #include "crypto/crypt...
#include <math.h> #include <stdio.h> #include <sys/time.h> #include <SDL/SDL.h> #include <SDL/SDL_gfxPrimitives.h> #include <errno.h> #include "globals.h" #include "screen.h" #include "route.h" #include "json_output.h" /* TODO: * * a global scene for easy rerender * fast image switch */ SDL_Surface *screen; voi...
/* Redis CLI (command line interface) * * Copyright (c) 2009-2010, <NAME> <antirez at gmail dot 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 ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #include <stdbool.h> #include "tsp_lib.h" #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) int** tsp_input_to_adj_matrix(FILE *input_file, int *num_pts) { // Initial array size -- ...
/* kiss_crc.c - stand-a-lone executable to test encode and decode of kiss frames utilizing a crc across the entire payload. I/O: reads stdin until EOF for a Frame, writes to stdout Options: e - encode the input into kiss frame with the additional CRC d - decode a kiss frame verif...
/******************************************************************************* * Vite Wallet for Ledger Nano S * (c) 2020 Vite Labs * (c) 2016 Ledger * * 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 ...
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
// SWU map operations // // (C) 2019 <NAME> <<EMAIL>> #include "arith.h" #include "bint.h" #include "curve.h" #include "globals.h" #include "iso.h" #include "ops.h" // ************************************************************* // S-vdW-Ulas simplified map for curves with nonzero j-invariant // ********************...
/* * hotpatch is a dll injection strategy. * Copyright (c) 2010-2011, <NAME>, Selective Intellect LLC * 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 m...
/** \file exif.c \author <NAME> \brief EXIF Tag Extraction Copyright (c) 2009 by <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 right...
/* * pptp.c * * Copyright (C) 2007 <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 version 2 * of the License. * * This program is distributed in the hope tha...
/* * csopendi.c -- open connection to CSDPS agent * * (c) Copyright 1990-1994 Adobe Systems Incorporated. * All rights reserved. * * Permission to use, copy, modify, distribute, and sublicense this software * and its documentation for any purpose and without fee is hereby granted, * provided that the above cop...
/* * linux/fs/hfsplus/extents.c * * Copyright (C) 2001 * <NAME> (<EMAIL>) * (C) 2003 Ardis Technologies <<EMAIL>> * * Handling of Extents both in catalog and extents overflow trees */ #include <linux/errno.h> #include <linux/fs.h> #include <linux/pagemap.h> #include <linux/version.h> #if LINUX_VERSION_CODE >=...
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. 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 ...
/* C extensions for dinterp, tools for displacement interpolation <NAME>, Courant Institute, <<EMAIL>> See LICENSE */ #include "Python.h" #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include "arrayobject.h" #include <stdio.h> #include <math.h> /* Compute 1D barcyentric coordinate */ double coord(doubl...
/* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998 University of Maryland at College Park * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that *...
/**************************************************************************** * tw_spi_access.c - Demo apps demonstrating how to access registers of the * device over spi or I2C. Loading a firmware and or config into the device * * **************************************************************************** * Cop...
/* * 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 ...
/* ADMesh -- process triangulated solid meshes * Copyright (C) 1995, 1996 <NAME> <<EMAIL>> * Copyright (C) 2013, 2014 several contributors, see AUTHORS * * 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...
/* ------------------------------------------------------------------------------ Licensing information can be found at the end of the file. ------------------------------------------------------------------------------ rnd.h - v1.0 - Pseudo-random number generators for C/C++. Do this: #define RND_IMPLE...
/*- * Copyright (c) 2005 <NAME> * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
#include "json_writer.h" #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <parson/parson.h> #include "../logger.h" const char *bsg_crumb_type_string(bugsnag_breadcrumb_type type) { switch (type) { case BSG_CRUMB_ERROR: return "error"; case BSG_CRUMB_LOG: return "l...
// // printer.c // #include "printer.h" #include "settings.h" #include "time.h" #include "flash.h" #include "led.h" #include "settings.h" #include "heater.h" #include "axis.h" #include "uart.h" //Save printer function until movements are done typedef void (*saved_f)(); typedef struct { int available; saved...
/* * scsi.c * * Created: 27.02.2022 20:28:14 * Author: marek.hummel */ #include <stdio.h> #include <stdint.h> #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include <avr/sfr_defs.h> #include "board.h" #include "debug.h" #include "scsi.h" #include "sd_card.h" //#define DBG 1 //********...
/** * \file * \brief Copied directly from the UM7 version of the UM6_config.h file, available online here: * http://sourceforge.net/p/um6firmware/code/34/tree/trunk/UM6%20Firmware/UM6_config.h#l14 * Note: while while the source of this code is named "UM6_config.h", it is not the same ...
#include "MSPd.h" #include "fftease.h" #if MSP void *shapee_class; #endif #if PD static t_class *shapee_class; #endif #define OBJECT_NAME "shapee~" typedef struct _shapee { #if MSP t_pxobject x_obj; #endif #if PD t_object x_obj; float x_f; #endif int R; int N; int N2; ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file usart.c * @brief This file provides code for the configuration * of the USART instances. ****************************************************************************** * @att...
/* * perf_test.c - get a command to execute and sample multuiple events * in one group * * Copyright (c) 2009 Google, Inc * Contributed by <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 ...
/*- * Copyright 2009 <NAME>, 2011 ArtForz, 2013 Neisklar, * 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,...
#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "getopt.h" #include "fs4000-scsi.h" /* defines for cross-platform portability */ #ifdef WIN32 #include <io.h> /* for dup2 */ #define Dup2(x,y) _dup2(x,y) #define Fileno(x) _fileno(x) #else #include <unistd.h> /* for dup2 */ ...
/* $OpenBSD: omehcivar.h,v 1.1 2013/09/04 14:38:31 patrick Exp $ */ /* * Misc */ #define OMAP_HS_USB_PORTS 3 /* * USB TTL Module */ #define OMAP_USBTLL_REVISION 0x0000 #define OMAP_USBTLL_SYSCONFIG 0x0010 #define OMAP_USBTLL_SYSSTATUS ...
#include "czmq.h" #include "certs.h" #define ZAP_ENDPOINT "inproc://zeromq.zap.01" // -------------------------------------------------------------------------- // The self_t structure holds the state for one actor instance typedef struct { zsock_t *pipe; // Actor command pipe zsock_t *handl...
#include "fs.h" #include <string.h> #include <assert.h> static void *worker_main(void *arg); static void worker_sleep(void); static void worker_wake(struct worker_thread *worker); static mthread_attr_t tattr; static unsigned int pending; static unsigned int busy; static int block_all; #if defined(_MINIX_MAGIC) # def...
#include <string.h> #include <stdlib.h> #include "gff-common.h" #include "gfftypes.h" #include "gff.h" #include "player.h" #include "map.h" #include "wizard.h" #include "rules.h" #include "region-manager.h" #include "port.h" #include "settings.h" #include "gameloop.h" #include "narrate.h" #include "trigger.h" static e...
/***************************************************************** * SQUID - a library of functions for biological sequence analysis * Copyright (C) 1992-2002 Washington University School of Medicine * * This source code is freely distributed under the terms of the * GNU General Public License. See the fi...
/* * Copyright 2020-2021 Jetperch 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 or agre...
/* XMMS - Cross-platform multimedia player * Copyright (C) 1998-2004 <NAME>, <NAME>, <NAME>, * <NAME> and 4Front Technologies * Copyright (C) 1999-2004 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
/* * Pro-MPEG Code of Practice #3 Release 2 FEC * Copyright (c) 2016 Mobibase, France (http://www.mobibase.com) * * This file is part of FFmpeg. * * FFmpeg 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 Fo...
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2002 Open Source Development Labs, Inc. * 2002-2022 <NAME> */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <strin...
/* * 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...
/**************************************************************************** ** PC-LISP (C) <NAME> 1986. ** ** MODULE ERRORS ** ** ---------------------------------------------------------------------- ** ** This module cont...
#include <limits.h> #include <math.h> #include <stdio.h> #include <assert.h> #include <SDL2/SDL.h> #include "../XError.h" #include "../XFlow.h" #ifndef M_PI #define M_PI 3.141592f #endif #define UNUSED_PARAM(p) ((void) (p)) enum { DEFAULT_WIDTH = 640, DEFAULT_HEIGHT = 480 }; #define DEFAULT_TITLE "Splines 2D"...
/*----------------------------------------------------------------------------*/ /* Xymon demonstration tool. */ /* */ /* This tool fakes several hosts that can be tested by Xymon, both with ...