text
stringlengths
5.8k
28.2k
/* * Copyright (C) 1997 Massachusetts Institute of Technology * * This software is being provided by the copyright holders under the * following license. By obtaining, using and/or copying this software, * you agree that you have read, understood, and will comply with the * following terms and conditions: * *...
/* minimal CoAP client * * Copyright (C) 2018-2021 <NAME> <<EMAIL>> */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include "sys/socket.h" #include "lwip/netdb.h" #include "common.h" //#include "cmsis_os.h" #include "main.h" //////////////////// static coap_tid_t clear_obs(coap_context_t *ctx, coa...
/* * XDD - a data movement and benchmarking toolkit * * Copyright (C) 1992-23 I/O Performance, Inc. * Copyright (C) 2009-23 UT-Battelle, LLC * * This 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 * F...
/* * FreeRTOS Kernel V10.3.1 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, ...
static char help[] = "Solves structured-grid Poisson problem in 1D, 2D, 3D. Option prefix fsh_.\n" "Equation is\n" " - cx u_xx - cy u_yy - cz u_zz = f,\n" "subject to Dirichlet boundary conditions. Solves three different problems\n" "where exact solution is known. Uses DMDA and SNES. Equation is put in form\n" "...
#include <rlang.h> #include "walk.h" #define SEXP_STACK_INIT_SIZE 256 enum sexp_iterator_type { SEXP_ITERATOR_TYPE_node, SEXP_ITERATOR_TYPE_pointer, SEXP_ITERATOR_TYPE_vector, SEXP_ITERATOR_TYPE_atomic }; enum sexp_iterator_state { SEXP_ITERATOR_STATE_done, SEXP_ITERATOR_STATE_attrib, SEXP_ITERATOR_STA...
/* Copyright 2020-2021 IGEL Co., 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * ============================================================================ * Copyright (c) 2012 Marvell International, Ltd. All Rights Reserved * * Marvell Confidential * ============================================================================ * * Net-SNMP Sub-Agent * Printe...
/*------------------------------------------------------------------------- * * shmem.c * create shared memory and initialize shared memory data structures. * * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * I...
// SPDX-License-Identifier: GPL-2.0 /* * Driver for Marvell SOC Platform Group Xenon SDHC as a platform device * * Copyright (C) 2016 Marvell, All Rights Reserved. * * Author: <NAME> <<EMAIL>> * Date: 2016-8-24 * * Included parts of the Linux driver version which was written by: * <NAME> <<EMAIL>> * * Ported...
/* * Copyright (c) 1988, 1990, 1993 * The Regents of the University of California. 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 (c) 1988-1997 <NAME>ler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the above copyright notices and this permission notice appear ...
//******************************************************************* //Author: <NAME> //Description: Developed during PRCv13 tape-out for verification //******************************************************************* #include "PRCv13.h" #include "PRCv13_RF.h" #include "mbus.h" #include "SNSv7.h" #include "HRVv2.h"...
/* Audio File Library Copyright (C) 1998-2000, <NAME> <<EMAIL>> Copyright (C) 2000-2001, Silicon Graphics, Inc. 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 ...
/* * Copyright (c) 2009, 2010 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. */ #include <kernel.h> #inclu...
#include "statistic.h" #include "utils.h" struct rstats_t * stats_create(struct dnsconfig_t *config) { if (config == NULL) fatal("%s: null pointer to config", __func__); struct rstats_t *stats = xmalloc_0(sizeof(struct rstats_t)); struct serv_stats_t *serv_stats = xmalloc_0(sizeof(struct ...
/*- * Copyright (c) 2015 * <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 retain the above copyright * notice, this list of conditions ...
#include <dlfcn.h> //#include <GLES/gl.h> #include "gles.h" #ifndef NOEGL #include <EGL/egl.h> #include <EGL/eglext.h> #endif #include <inttypes.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "khash.h" #include "logs.h" #ifdef __ARM_NEON__ #include <arm_ne...
/* Shared library add-on to iptables to add string matching support. * * Copyright (C) 2000 <NAME> <<EMAIL>> * * 2005-08-05 <NAME> <<EMAIL>> * - reimplemented to use new string matching iptables match * - add functionality to match packets by using window offsets * - add functionality to select the string ...
#ifdef COMPILE_FOR_TEST #include <assert.h> #define assume(cond) assert(cond) #endif void main(int argc, char* argv[]) { int x_0_0;//main::argc T0 int x_1_0;//t3 T0 int x_2_0;//t2 T0 int x_3_0;//functioncall::param T0 int x_3_1;//functioncall::param T0 int x_4_0;//functioncall::param T0 int x_4_1;//functioncall::param...
/* * See the comments at the beginning of bb.c and bbc.h * for an outline of how this bitblt works * The VGA screen on the 386 has an awful bit/byte order: * the high order bit of a byte is leftmost, but the low * order byte of a word is leftmost. This causes havoc * if the source is shifted relative to the de...
#define F_CPU 8000000UL //8Mhz internal RC oscillator for Tiny45 /* Program Name: Powerbank_TINY Author : <NAME> aka N.Srinivas Date : 01-09-2014 Email id:striker.dbz[at]hotmail.com The software is provided with The MIT License (MIT) Copyright (c) 2014 N.Srinivas Permission is hereby granted, free of charge, to an...
/* spkw05.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__2 = 2; static integer c__6 = 6; static integer c__1 = 1; /* $Procedure SPKW05 ( Write SPK segment, typ...
/* * Copyright (c) 2009-2012 <NAME> and <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 * notice, this list of conditions and the fo...
/* ASSIGNMENT 3 * Author : <NAME> * Date : 26.09.2010 * B.Sc. Computer Science 2nd Year * Text Editor using Ncurses * Version 3.0 * (This version includes scrolling) */ #include<stdlib.h> #include<curses.h> #include<ctype.h> #include<string.h> #define MAX_WINDOWS 10 #define BUFFER_SIZE 10000 #define COPY_BUFF...
/* * PostScript driver Type42 font functions * * Copyright 2002 <NAME> for CodeWeavers * * 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 (...
// Copyright 2019 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
/* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1999-2016 The OpenLDAP Foundation. * Portions Copyright 1999 <NAME>. * Portions Copyright 2002 <NAME>. * Portions Copyright 2004 <NAME>. * All rights reserved. * * Redistribution and use in source and binary for...
#include <stdlib.h> #include <stdio.h> #include "myLib.h" #include "game.h" #include "text.h" // place for the extra assets #include "titlescreen.h" #include "HowToPlayScreen.h" #include "victoryScreen.h" #include "spritesheet.h" #include "TitleSpritesheet.h" // parallax background #include "parallaxBG.h" // SOUND! ...
/* Authors: <NAME>, <NAME>, <NAME> University: University of Colorado Boulder Date: 8th August 2017 Course: Real time Embedded Systems Professor: <NAME>, PhD */ /* Description: This is the part of the project on VOIP between two NVIDIA Jetson boards over TCP connection. This code is the initialization code and sc...
/* $OpenBSD: ucycom.c,v 1.34 2016/01/09 04:14:42 jcs Exp $ */ /* $NetBSD: ucycom.c,v 1.3 2005/08/05 07:27:47 skrll Exp $ */ /* * Copyright (c) 2005 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> * * Redistribution and us...
/* * Memory Map (upated from SA1100 v2.2 Specification) */ #define PCMCIAbase 0x20000000 #define PCMCIAsize 0x10000000 #define PCMCIAcard(n) (PCMCIAbase+((n)*PCMCIAsize)) #define INTERNALbase 0x80000000 #define PERPHbase (INTERNALbase+0x0) #define SYSCTLbase (INTERNALbase+0x10000000) #define MEMCTLbase (INTERNALbas...
#include "../include/io.h" // UART0 enum { ARM_UART0_BASE = PERIPHERAL_BASE + 0x201000, ARM_UART0_DR = ARM_UART0_BASE + 0x00, ARM_UART0_FR = ARM_UART0_BASE + 0x18, ARM_UART0_IBRD = ARM_UART0_BASE + 0x24, ARM_UART0_FBRD = ARM_UART0_BASE + 0x28, ARM_UART0_LCRH = ARM_UART0_BASE + 0x...
/* * ds1216e.c - DS1216E RTC emulation. * * Written by * <NAME> <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
/*! @file filexfer.h @brief Uploading and downloading files. @author Alexios Original banner, legalese and change history follow. @par @verbatim ***************************************************************************** ** ...
/* Nitfol - z-machine interpreter using Glk for output. Copyright (C) 1999 <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 op...
/*** NAME EBTasj.c asj DEB model with reprod buffer handling: lay egg as soon as buffer allows ***/ /*========================================================================== * INCLUDING THE HEADER FILE & splines for temp correction and food input *========================================================...
/* $Id: shmiq.c,v 1.19 2000/02/23 00:41:21 ralf Exp $ * * shmiq.c: shared memory input queue driver * written 1997 <NAME> (<EMAIL>) * * We implement /dev/shmiq, /dev/qcntlN here * this is different from IRIX that has shmiq as a misc * streams device and the and qcntl devices as a major device. * * minor number...
/* * Wapiti - A linear-chain CRF tool * * Copyright (c) 2009-2013 CNRS * 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 co...
/* Copyright 2014 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "adc.h" #include "common.h" #include "console.h" #include "dma.h" #include "gpio.h" #include "hooks.h" #include "hwtimer.h" #include "inje...
/* * Copyright (C) 2011 <NAME> ( http://amarullz.com/ ) * * 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 app...
/* * sharpslpart.c - MTD partition parser for NAND flash using the SHARP FTL * for logical addressing, as used on the PXA models of the SHARP SL Series. * * Copyright (C) 2017 <NAME> <<EMAIL>> * * Based on SHARP GPL 2.4 sources: * http://support.ezaurus.com/developer/source/source_dl.asp * drivers/mtd/nan...
/************************************************************************** * function [res loc] = minkmex(list, k) * Matlab C-Mex * Purpose: Same as MINK, i.e., * Return in RES the K smallest elements of 2D matrix * LOC is Location of the smallest values * - For full matrix, LOC contains linear indexing of the ...
/****************************************************************************** * File Name : can_driver_filter.c * Date First Issued : 05-30-2015 * Board : F103 or F4 * Description : CAN routines common for F103 and F4 CAN drivers: filter **************************************************...
/* Exercise mpz_*_kronecker_*() and mpz_jacobi() functions. */ /* Copyright (C) 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP 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...
/* * This file is part of LibParserUtils. * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2007 <NAME> <<EMAIL>> */ #include <assert.h> #include <stdlib.h> #include <string.h> #include <parserutils/charset/mibenum.h> #include <parserutils/charset/u...
/* Copyright (c) 2018, <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 retain the above copyright notice, this list of conditions and the following discl...
#include "usynth.h" #include <avr/io.h> #include <avr/interrupt.h> #include <inttypes.h> #include <stddef.h> #include "utils.h" #include "mul.h" #include "midi.h" #include "midi_program.h" #include "midi_cc.h" #include "ppg/ppg_osc.h" #include "eg.h" #include "lfo.h" #include "filter.h" #include "data/notes_table.h" #...
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
/* * Copyright (c) 2005, 2008 Sun Microsystems, Inc. All Rights Reserved. * Use is subject to license terms. * * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T * All Rights Reserved * * University Copyright- Copyright (c) 1982, 1986, 1988 * The Regents of the University of California * All Rights Reserv...
/* * orbis.c * Orbis Rotary Encoder driver for TI StarterWare * * This driver uses McSPI0 module channel 0 in single-channel, * four-pin, FIFO Rx-only (half duplex), interrupt-driven mode. * * The TX_EMPTY and RX_FULL interrupts are processed. * * Since no command is being sent, the size of response is 5 bytes...
// # rsa_sighash_all // same as secp256k1_blake2b_sighash_all_dual but with RSA (mbedtls) //#define CKB_C_STDLIB_PRINTF //#include <stdio.h> #include "rsa_sighash_all.h" #include <string.h> #include "blake2b.h" #include "mbedtls/md.h" #include "mbedtls/memory_buffer_alloc.h" #include "mbedtls/rsa.h" #define CKB_SUC...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <math.h> #include <stdint.h> #include "citrine.h" int ctr_clex_bflmt = 255; ctr_size ctr_clex_tokvlen = 0; /* length of the string value of a token */ char* ctr_clex_buffer; char* ctr_code; char* ctr_code_eoi; ...
/******************************************************************************************* * * calculate the quality and trim track * * Date : October 2015 * * Author : <NAME> * *******************************************************************************************/ #include <stdio.h> #include <std...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_errno.h> #include "ccl.h" ccl_a_finder *ccl_a_finder_new(int na, double *a_arr) { if(na<=0) return NULL; ccl_a_finder *finda=malloc(sizeof(ccl_a_finder)); ...
/* * Copyright (C) 2012 Free Software Foundation, Inc. * * This file is part of GnuTLS. * * GnuTLS 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 the License, or * (at your option)...
/*********************************************************************** * * Copyright (c) Geoworks 1994 -- All Rights Reserved * * PROJECT: GEOS Bitstream Font Driver * MODULE: C * FILE: TrueType/sfnt.h * AUTHOR: <NAME> * * DESCRIPTION: * This file contains C code for the GEOS Bitstream Font Driver...
/* $OpenBSD: rbox.c,v 1.14 2006/08/11 18:33:13 miod Exp $ */ /* * Copyright (c) 2005, <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 ...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/Xutil.h> #include <X11/extensions/Xrandr.h> #include <gif_lib.h> enum { STYLE_CENTER, STYLE_TILE, STYLE_STRETCH, STYLE_FIT, STYLE_FILL, }; t...
/* lavToAxt - Convert blastz lav file to an axt file (which includes sequence). */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "lav.h" #include "hash.h" #include "options.h" #include "dlist.h" #include ...
// // pbuf.c // // Packet buffer management // // Copyright (C) 2002 <NAME>. All rights reserved. // Portions Copyright (C) 2001, Swedish Institute of Computer Science. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are m...
/* * Copyright (c) 2019-2020, NVIDIA CORPORATION. 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 rights t...
#include <stdio.h> #include <string.h> #include "gpio.h" #include "pmic.h" #include "spi.h" #include "MAX30003.h" #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "api/interrupt-sender.h" #include "epicardium.h" #include "modules/log.h" #include "modules/modules.h" #include "modules/stream.h" #in...
#include "bfgs.h" void print_vec(gsl_vector* x, int n); /* double fRosenbrock( gsl_vector* x, int nparams){ */ /* double xp, yp; */ /* assert(nparams == 2); */ /* xp = gsl_vector_get(x, 0); */ /* yp = gsl_vector_get(x, 1); */ /* return(pow((1-xp), 2.0) + 100.0*pow((yp-pow(xp, 2.0)), 2.0)); */ /* } */ /* double ...
// Generated by HLC 4.2.1 (HL v4) #define HLC_BOOT #include <hlc.h> #include <haxe/ds/ArraySort.h> int hl_types_ArrayDyn_get_length(hl__types__ArrayDyn); void haxe_ds_ArraySort_rec(hl__types__ArrayDyn,vclosure*,int,int); void haxe_ds_ArraySort_swap(hl__types__ArrayDyn,int,int); void haxe_ds_ArraySort_doMerge(hl__types...
/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* PECI interface for Chrome EC */ #include "chipset.h" #include "clock.h" #include "common.h" #include "console.h" #include "gpio.h" #include "ho...
/* --------------------------------------------------------------------------- tc.c --- time converter (c) 1997-1999 <NAME> (<EMAIL>) $Id: tc.c,v 1.1.1.1 2000/04/04 15:53:18 jraines Exp $ ------------------------------------------------------------------------ */ /* Idea: ** there are two ways of storing d...
// // Copyright 2019 <NAME> (<EMAIL>). All rights reserved. // License: https://github.com/septag/rizz#license-bsd-2-clause // #include "rizz/reflect.h" #include "rizz/core.h" #include "sx/allocator.h" #include "sx/array.h" #include "sx/hash.h" #include "sx/string.h" #include <alloca.h> #define DEFAULT_REG_SIZE 512...
// ============================================================================ // Copyright (c) 2013, FORTH-ICS / CARV // (Foundation for Research & Technology -- Hellas, // Institute of Computer Science, // Computer Architecture & VLSI Systems Laboratory)...
#include <stdio.h> #include <stdlib.h> #include "sddapi.h" /* Rule representation: termRules[][2] rule(i) is of the form X->x rules[i][0] = X rules[i][1] = x nonRules[][3] rule(i) is of the form X->AB rules[i][0] = X rules[i][1] = A rules[i][2] = B String is an array of integers, corresp...
/** @file * Implementation of digit animation construction. * * @author <NAME> * Licensing informations in LICENSE.md file. */ #include <pebble.h> #include "digit_info.h" #include "digit_anim.h" // =============== // PRIVATE TYPES = // =============== /** All info about a digit animation step. */ typedef stru...
#include <assert.h> #include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "gitversion.h" #include "main.h" #include "tests.h" #include "engine/algebraicnotation.h" #include "engine/board.h" #include "engine/common.h" #include "engine/datatypes.h" #...
/* Copyright (C) 2009 <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, or (at your option) any later version. This program is distributed in the hope that i...
#include "md5.h" /* MD5_F, MD5_G and MD5_H are basic MD5 functions: selection, majority, parity */ #define MD5_F(x, y, z) (((x) & (y)) | ((~x) & (z))) #define MD5_G(x, y, z) (((x) & (z)) | ((y) & (~z))) #define MD5_H(x, y, z) ((x) ^ (y) ^ (z)) #define MD5_I(x, y, z) ((y) ^ ((x) | (~z))) /* ROTATE rotates x l...
/* ***************************************************************************** */ /* A C-program for MELG4253-64 */ /* Copyright: <NAME>, Ritsumeikan University */ /* <NAME> */...
/** * Term Project - Concurrency, IPC, Semaphores, Shared Memory * * Database Server * * Carleton University * Department of System and Computer Engineering * SYSC 4001 - Operating Systems * * @authors <NAME>, 101148695 & <NAME>, 100848232 * @version v1.00 * @release April 27, 2021 * * The database (DB) s...
#include "mgos.h" #include "mgos_gpio.h" #include "mgos_spi.h" #include "mgos_mqtt.h" #include "ds18b20.h" /* for gpio. low level = on */ #define ON false #define OFF true /* dumper positions */ #define OPEN 100 #define CLOSED 0 /* states */ #define WB_state_stop 0 #define WB_state_warming_up 1 #define WB_state_burni...
#include "sci/Kernel/Cels.h" #include "sci/Kernel/Graphics.h" #include "sci/Kernel/Palette.h" #include "sci/Kernel/Window.h" // Maximum "normal" priority. #define MAXPRI 0x10 #define REPEATC 0x80 #define REPSKIP 0x40 #define UNIQUE 0x00 #define REMAPOFFSETINC 0xff static int s_end...
/* 02.Feb.2010 v2.1 ============================================================================ PCMDEMO.C ~~~~~~~~~ Description: ~~~~~~~~~~~~ Example program for testing the correct implementation of the sta...
/* * Copyright 2016 GoPro Inc. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are no...
/* * 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...
/* For license: see LICENSE file at top-level */ // Copyright (c) 2018 - 2020 Arm, Ltd #include "shmemu.h" #include "shmemc.h" #include "shmem.h" #include "shmemio.h" #include "shmemio_client.h" #include "shmemio_test_util.h" #include "shmemio_client_fpe.h" #include "shmemio_client_region.h" #include "shmemio_strea...
#include "fishhook.h" #include <dlfcn.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/types.h> #include <mach/mach.h> #include <mach/vm_map.h> #include <mach/vm_region.h> #include <mach-o/dyld.h> #include <mach-o/loader.h> #include <mach-o/nlist.h> #ifdef __LP64__ //...
/* * iodefine.h * * update 2018 forester3 * * 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 re...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <netdb.h> #include <netinet/in.h> #include <pthread.h> #include <string.h> #include <stdbool.h> #include <wchar.h> #include <locale.h> #include <signal.h> #include "board.c" #define PORT 8080; // Waiting player conditional variable pthread_cond_t ...
#pragma once #define GEO_MAGIC 0xc01337 #define GEO_VERSION 2 #include <stdint.h> #include <assert.h> #include <math.h> // #include "half.h" // convenience struct for SSE things typedef union { __m128 m; float f[4]; unsigned int i[4]; } float4_t; #define dotproduct(u, v) ((u)[0]*(v)[0] + (u)[1]*(v)[1] + (u)[2...
/* $OpenBSD: topcat.c,v 1.15 2006/08/11 18:33:13 miod Exp $ */ /* * Copyright (c) 2005, <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 r...
typedef unsigned int mode_t; typedef unsigned long int dev_t; typedef unsigned long int ino_t; typedef long int off_t; typedef long int nlink_t; typedef unsigned int uid_t; typedef unsigned int gid_t; typedef int pid_t; typedef long int blksize_t; typedef long int blkcnt_t; typedef unsigned long int fsblkcnt64_t; typed...
// includes #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include "main.h" #include "stm32f4xx_ll_tim.h" #include "stm32f4xx_ll_gpio.h" #include "stm32f4xx.h" // declare static functions static inline void MX_GPIO_Init(void); // GPIO static inline void PWMLed(void); // TIM3 // declar...
/* -------------------------------------------------------------------------- */ /* TS-Warp - Transparent SOCKS protocol Wrapper */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2021, 2022, <NAME> <<EMAIL>> Redistribution and use in sou...
#include <stdio.h> #include <stdint.h> #include <stddef.h> #include <string.h> #include "esp_wifi.h" #include "esp_system.h" #include "nvs_flash.h" #include "esp_event.h" #include "esp_netif.h" #include "protocol_examples_common.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/semphr.h" ...
/*********************************************************************\ * Copyleft (>) 2014 Roman 'Fallout' Ilichev <<EMAIL>> * * * * This file is part of OpenXHC project * * WTFPL LICENSE ...
/* SNEeSe, an Open Source Super NES emulator. Copyright (c) 1998-2015, <NAME>. Portions copyright (c) 1998-2003, <NAME>. Portions copyright (c) 2003-2004, <NAME>. Portions copyright (c) 2004-2005, Nach. ( http://nsrt.edgeemu.com/ ) Unzip Technology, copyright (c) 1998 <NAME>. zlib Technology ( www.gzip.org/zlib/ ), ...
/* * Argonaut Games ASF (de)muxer * * Copyright (C) 2020 <NAME> (<EMAIL>) * * 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 Foundation; either * version 2.1 of th...
/* Created by <NAME> (<EMAIL>) - <http://www.fabgl.com> Copyright (c) 2019-2021 <NAME>. All rights reserved. * Please contact <EMAIL> if you need a commercial license. * This library and related software is available under GPL v3. FabGL is free software: you can redistribute it and/or modify it under the...
#include <math.h> #include "fitsio2.h" #define D2R 0.01745329252 #define TWOPI 6.28318530717959 /*--------------------------------------------------------------------------*/ int ffwldp(double xpix, double ypix, double xref, double yref, double xrefpix, double yrefpix, double xinc, double yinc, double rot, ...
/* Copyright 1998 by the Massachusetts Institute of Technology. * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without * fee is hereby granted, provided that the above copyright * notice appear in all copies and that both that copyright * notice and t...
// // Author: <NAME> // // This is free and unencumbered software released into the public domain. // For details see the UNLICENSE file at the root of the source tree. // #include <stdio.h> #include <string.h> #include <stdlib.h> #include "helper.h" #define LINE_LENGTH 1024 struct line_buf { // buf[0] == 0 signal...
/*$ Copyright (c) 2014-2017, Azel 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...