text
stringlengths
5.8k
28.2k
#include "led.h" #include "adc.h" #include "main.h" #include "stdbool.h" #include "debug_leds.h" /** A potential performance improvement, if needed: Keep two "led_data" arrays: one for the current one being clocked out, and another one to process data into when staging data. Alternate them ...
#include "ov7725.h" #include "common.h" #include "i2c.h" #define OV7725_DEBUG 1 #if ( OV7725_DEBUG == 1 ) #include <stdio.h> #define OV7725_TRACE printf #else #define OV7725_TRACE(...) #endif //!< register defination #define OV7725_GAIN 0x00 #define OV7725_BLUE 0x01 #define OV7725_RED 0x02 #define ...
/* * Copyright (c) 2018 <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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL...
/* SPDX-License-Identifier: BSD-2 */ #ifndef EDK2_BUILD #include <efi/efi.h> #include <efi/efilib.h> #else #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/ShellCommandLib.h> #endif #include <inttypes.h> #include <stdlib.h> #include <string.h> #include <wchar.h> #include <tss2/tss2_tpm2_types.h> #inc...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview * I2C address is allways 0xC0. * * * Copyright (c) 2005 <NAME> (<EMAIL>) * This code is placed under the terms of the GNU General Public License * * tea5767 autodetection thanks to <NAME> and <NAME> * from their contributions on DSca...
#include "expression.h" #include "lavender.h" #include "command.h" #include "operator.h" #include <string.h> #include <assert.h> #define REQUIRE_MORE_TOKENS(x) \ if(!(x)) { LV_EXPR_ERROR = XPE_UNTERM_EXPR; return RETVAL; } else (void)0 #define INCR_HEAD(x) { REQUIRE_MORE_TOKENS((x)->next); (x) = (x)->next; } /** ...
/* * 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 ...
/*- * Copyright (c) 2013 <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 above copyright * notice, this list of co...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2021 ST...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> static int Disassemble6502Op(unsigned char *codebuffer, int pc) { char opstr[256]; uint8_t *opcodes = &codebuffer[pc]; int count=1; switch (opcodes[0]) { case 0x00: sprintf(opstr, "BRK"); break; case 0x01: sprintf(opstr, "ORA ($%02x,...
/** \ingroup rpmds * \file rpmdb/rpmevr.c */ #include "system.h" #include <rpmiotypes.h> #include <rpmmacro.h> #define _MIRE_INTERNAL #include <mire.h> #include <rpmtag.h> #define _RPMEVR_INTERNAL #include <rpmevr.h> #include "debug.h" /*@unchecked@*/ int _rpmevr_debug = 0; #if !defined(MAX) #define MAX(x, y) ( ...
/***** spin: structures.c *****/ /* Copyright (c) 1991,1995 by AT&T Corporation. All Rights Reserved. */ /* This software is for educational purposes only. */ /* Permission is given to distribute this code provided that this intro- */ /* ductory message is not removed and no monies are exc...
/**************************************************************************** ** Copyright (C) 2020 MikroElektronika d.o.o. ** Contact: https://www.mikroe.com/contact ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"...
/* Simple RTMP Server * Copyright (C) 2009 <NAME> * 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 ve...
#include "mpeg4-aac.h" #include <assert.h> #include <string.h> int mpeg4_aac_adts_pce_load(const uint8_t* data, size_t bytes, struct mpeg4_aac_t* aac); int mpeg4_aac_adts_pce_save(uint8_t* data, size_t bytes, const struct mpeg4_aac_t* aac); int mpeg4_aac_audio_specific_config_load2(const uint8_t* data, size_t bytes, s...
/* $NetBSD: sig_machdep.c,v 1.8 2004/03/26 14:11:01 drochner Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use in source and binary forms, with or without * mod...
#include "asf_tiff.h" #include "asf.h" #include "asf_nan.h" #include "dateUtil.h" #include "shapefil.h" #include "asf_vector.h" #include "geotiff_support.h" typedef struct { char id[50]; char format[20]; int bits_per_sample; char planes[25]; int band_count; double lat[5]; double lon[5]; } geotiff_type_t;...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <glib.h> #include <dirent.h> #include <gnutls/gnutls.h> #include <gnutls/crypto.h> #include <attr/xattr.h> #include <sys/wait.h> struct digest_t { char *name; gnutls_dige...
/* * entries.c : manipulating the administrative `entries' file. * * ================================================================ * Copyright (c) 2000 CollabNet. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
#include "dma.h" #include "hi_addr_def.h" #include "hihw.h" #include "int.h" #include "krnl_log.h" #include "libconv.h" #include "lock.h" #include "operators/hi_krnl_param_conv2d.h" #include "operators/hi_krnl_param_conv1s1_upsmp2x_add.h" // #include "qemu.h" extern void buf_print(uint32_t buf_addr, uint3...
/* * Copyright (c) 2018 IOTA Stiftung * https://github.com/iotaledger/entangled * * MAM is based on an original implementation & specification by apmi.bsu.by * [ITSec Lab] * * Refer to the LICENSE file for licensing information */ #include <stdio.h> #include <stdlib.h> #include "common/defs.h" #include "commo...
#include "lvgl/lvgl.h" #include "lv_ex_conf.h" #include "window.h" #if LV_EX_KEYBOARD || LV_EX_MOUSEWHEEL #include "lv_drv_conf.h" #endif #if LV_EX_KEYBOARD #include "lv_drivers/indev/keyboard.h" #endif #if LV_EX_MOUSEWHEEL #include "lv_drivers/indev/mousewheel.h" #endif lv_obj_t * password=NULL; static lv_obj_t *...
// (C) 2011, <NAME> (<EMAIL>) // Check LICENSE.txt for the legal blah-blah. #include "dual.h" // performs an iteration of the dual process void dual_run (dual_t *dual) { switch(dual->detailed_state) { case dual_state_prep_phase1: dual_prep_phase1(dual); break; case dual_state_prep_phase2: dual_prep_ph...
/****************************************************************************/ /* */ /* */ /* This code and any software associated is covered by */ ...
#include "posix_stdlib_tests.h" #include "../crt/limits.h" #include "../posix/errno.h" #include "../posix/stdlib.h" #include "../../ttf/ttf.h" static void test_abs() { const int pre_errno = errno; ASSERT_EQUALS("abs: Checking, if abs(0) returns 0", abs(0), 0); ASSERT_EQUALS("abs: Checking, if abs(1) ret...
#include <stdio.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> #include <sys/socket.h> #include <unistd.h> #include <errno.h> #include "steady/steady.h" typedef struct { // generated during setup, read from fs, the policy for the device and its signing key struct stead...
/* ============================================================================= * Pure64 -- a 64-bit OS/software loader written in Assembly for x86-64 systems * Copyright (C) 2008-2017 Return Infinity -- see LICENSE.TXT * ============================================================================= */ #include "a...
/* * GStreamer * Copyright (C) 2016 <NAME> <<EMAIL>> * * gsttimecodestamper.c * * 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 op...
/* * 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, Version 2.0 * (the "License"); you may...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> #include <mpi.h> #include <string.h> #include <omp.h> //param /*#define RUN_SERIAL*/ #define RUN_PARALLEL #define N 100 #define WEAK_SCALING // if weak_scaling is defined, n = N * np * omp_get_num_threads() //debug /*#define DEBUG*/ /*#defin...
// t2.c - main routines for "grub rtsis", include epoch data /********************************************************************************* Licence for TCGBK - Tsurphu Calendar software for "grub & byed rtsis" Copyright (c) 2009-2013 <NAME> Permission is hereby granted, free of charge, to any person obtai...
#include <stdio.h> #include "board_uart0.h" #include "cbor.h" #include "net/ng_netapi.h" #include "net/ng_netif.h" #include "net/netopt.h" #include "posix_io.h" #include "unistd.h" #include "ps.h" #include "board.h" #include <relic.h> #include <norx.h> #include <malloc.h> #ifndef NO_KNOT_PRINT #define KNOT_PRINT(.....
/* c402.c: ********************************************************************} {* Téma: Nerekurzivní implementace operací nad BVS ** Implementace: <NAME>, prosinec 1994 ** Úpravy: <NAME>, listopad 1997 ** ...
/* * RFC 1321 compliant MD5 implementation * * Copyright (C) 2006-2007 <NAME> * * 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 * ...
/* * Copyright (c) 2008, Swedish Institute of Computer Science * 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 * no...
/* * Prime number generator and tests utilizing Rabin's * compositeness test and Gordon's strong prime concept. * * coded by <NAME>, December, 1991 * * Copyright (c) 1991 Bell Laboratories */ #include "lib9.h" #include <libcrypt.h> static int long_log(int); static int fakelog(int); s...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <sys/ipc.h> #include <sys/types.h> #include <sys/time.h> #include <signal.h> #include <sys/resource.h> #include <errno.h> #include <wait.h> #include <unistd.h> /* Threads to create and control vehiclepthreads ...
/* * <NAME> (<EMAIL>) 2016 * * This application dynamically adds and removes USB devices to/from a * libvirt-managed virtual machine if the devices are plugged in or out or if * virtual machines are started. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <libvirt/libvirt.h> #include <lib...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not ...
// Fig. 10.3: fig10_03.c // Card shuffling and dealing program using structures #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #define CARDS 52 //52張牌 #define FACES 13 //13個號碼 #define HANDS 5 //抽5次 //#define _DEBUG_ //debug開關 /* 枚舉變量定義 */ enum Mode{ pairMode = 1, ...
/*! \file bcmltm_nc_lta_cth.c * * Logical Table Manager - Node Cookies * * Logical Table mappings with Custom Table Handler groups. * * This file contains routines to construct LT information * for LT with Custom Table Handler groups. * * This information is used by the LTM metadata during * the FA and EE sta...
// // Created by eugen on 5/15/2017. // #include "sign.h" xtra_sign_p xtra_sign(enum xtra_sign_e type) { xtra_sign_p sign = (xtra_sign_p) malloc(sizeof(xtra_sign_t)); sign->type = type; sign->arry = NULL; sign->var = NULL; return sign; } xtra_sign_p xtra_sign_with_arry(enum xtra_sign_e type, xtr...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <errno.h> #include <string.h> #include <math.h> #include "searcher.h" #include "bits.h" #include "hashtable.h" struct st_dimension { int concept_id; float ...
/* MIT (BSD) license - see LICENSE file for details */ /* crc32c.c -- compute CRC-32C using the Intel crc32 instruction * Copyright (C) 2013, 2015 <NAME> * Version 1.3 31 Dec 2015 <NAME> */ /* This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liab...
/* * Copyright (c) 2002-2012 Balabit * Copyright (c) 1998-2012 <NAME> * * 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 your option) any...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include "grb2.h" #include "wgrib2.h" #include "fnlist.h" /* * ave_var * * v 0.1 * * 12/2016: Public Domain: <NAME> * based on Ave_test.c public domain (<NAME>) * * ave_var, computes the mean and variance u...
#include <sys/types.h> #include <sys/ioctl.h> #include <dev/iicbus/iic.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #define IICBUS "/dev/iic1" #define IICADDR 0x3c #define SSD1306_LCDWIDTH 64 #define SSD1306_LCDHEIGHT 48 #define SSD1306_SETCONTRAST 0x81 #defin...
/*! @file GPMF_demo.c * * @brief Demo to extract GPMF from an MP4 * * @version 2.4.0 * * (C) Copyright 2017-2020 GoPro Inc (http://gopro.com/). * * Licensed under either: * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 * - MIT license, http://opensource.org/licenses/MIT * a...
#include <stdio.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <math.h> #include "bsp.h" #include "sysctl.h" #include "plic.h" #include "utils.h" #include "gpiohs.h" #include "fpioa.h" #include "lcd.h" #include "nt35310.h" #include "dvp.h" #include "ov5640.h" #include "ov2640.h" #include "uarth...
/* * Copyright (c) 2014, 2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * 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 not...
/* An example demonstrating how to use ALLEGRO_TRANSFORM to represent a 3D * camera. */ #include <allegro5/allegro.h> #include <allegro5/allegro_primitives.h> #include <allegro5/allegro_color.h> #include <allegro5/allegro_font.h> #include <math.h> #include "common.c" #define pi ALLEGRO_PI typedef struct { float...
/* vim: ts=3 sw=3 sts=3 tw=80 sta noet list */ /** * \file src/t_htp_req.c * \brief OOP for HTTP Server incoming Request * \author tkieslich * \copyright See Copyright notice at the end of t.h */ #include <string.h> // memset #include <ctype.h> // tolower #include <time.h...
// SPDX-License-Identifier: GPL-2.0 /* * Real Time Clock driver for AB-RTCMC-32.768kHz-EOZ9 chip. * Copyright (C) 2019 Orolia * */ #include <linux/module.h> #include <linux/rtc.h> #include <linux/i2c.h> #include <linux/bcd.h> #include <linux/of.h> #include <linux/regmap.h> #include <linux/hwmon.h> #include <linux/...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "process_rgb.h" #include "process_grayscale.h" #include "process_binary.h" #include "image_processing.h" /********************************************//** * FUNCTION DEFINITIONS ***********************************************/ BinaryImage* convert...
/* Generate perfect square testing data. Copyright 2002-2004, 2012, 2014 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 either: * the GNU Lesser General Public License as published by the Free...
/* pdp8_rf.c: RF08 fixed head disk simulator Copyright (c) 1993-2011, <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 r...
/* * This file is part of RGBDS. * * Copyright (c) 2019, <NAME> and RGBDS contributors. * * SPDX-License-Identifier: MIT */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include <limits.h> #include "link/assign.h" #include "link/main.h" #include "link/object....
#include <event2/event.h> #include <event2/bufferevent.h> #include <event2/buffer.h> #include <sys/socket.h> #include <netinet/tcp.h> #include <string.h> #include <stdlib.h> #include <string.h> #include <stdlib.h> #include <tux_ztdh.h> #include <dhsocket.h> #include <tas.h> int64_t total_bytes_read = 0; int64_t to...
/* Copyright (C) <2010> <<NAME> and <NAME>> This file is part of IFT-demo. IFT-demo 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) an...
/* * darknet-wrapper.c * * Copyright 2019 chehw <<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, or * (at your option) any later version. *...
//#define DEBUG //#define ENCRYPT #include<unistd.h> #include<stdio.h> #include<ctype.h> #include<string.h> #include<stdlib.h> #include<assert.h> #include<time.h> #include<fcntl.h> #include<sys/types.h> #include<sys/socket.h> #include<netinet/in.h> #include<netinet/tcp.h> #include<arpa/inet.h> #include<ev.h> // for l...
/* Author: Romain "Artefact2" Dalmaso <<EMAIL>> */ /* Contributor: <NAME> <<EMAIL>> */ /* This program is free software. It comes without any warranty, to the * extent permitted by applicable law. You can redistribute it and/or * modify it under the terms of the Do What The Fuck You Want To Public * License, Versio...
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <string.h> int N; int **a; int **b; int **c; int **M1; int **AUXM11; int **AUXM12; int **M2; int **AUXM21; int **M3; int **AUXM31; int **M4; int **AUXM41; int **M5; int **AUXM51; int **M6; int **AUXM61; int **AUXM62; int **M7; int **AUXM71; int **AUX...
/* fdd.c: Routines for emulating floppy disk drives Copyright (c) 2007-2016 <NAME>, <NAME> Copyright (c) 2015 <NAME> Copyright (c) 2016 <NAME> $Id: fdd.c 817 2016-07-18 11:56:29Z fredm $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
/****************************************************************************** * * Copyright(c) 2007 - 2018 Realtek Corporation. All rights reserved. * ******************************************************************************/ #include "mmf2_link.h" #include "mmf2_siso.h" #include "mmf2_miso.h" #in...
/************************************************************************** * Copyright (c) 2001, 2002, 2003 by Acunia N.V. All rights reserved. * * * * This software is copyrighted by and is the sole property of Acunia N.V. * * and its licens...
#include "btpd.h" //#include <sys/mman.h> #include "msvc_dirent.h" #include <iobuf.h> #include <io.h> HTBL_TYPE(numtbl, tlib, unsigned, num, nchain); HTBL_TYPE(hashtbl, tlib, uint8_t, hash, hchain); static unsigned m_nextnum; static unsigned m_ntlibs; static struct numtbl *m_numtbl; static struct hashtbl *m_hashtbl;...
/* * Copyright (C) 2009-2010 Advanced Micro Devices, Inc. All Rights Reserved. */ /* * Copyright 2002, 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modif...
#include "SDTFile.h" #include "ZipCompress.h" // The SPC_data_file_structure.h provided by BH at the time of this writing // does not compile. We use a fixed copy, generated by the shell script // fix-spc-data-file-structure-h.sh (which runs in Git Bash). // In addition, the data structures are fully packed in the fi...
/* * Copyright (C) 2021-2022 Liquidaty and zsv contributors. All rights reserved. * This file is part of zsv/lib, distributed under the license defined at * https://opensource.org/licenses/MIT */ #include <zsv.h> #include <zsv/utils/writer.h> #include <zsv/utils/signal.h> #include <zsv/utils/arg.h> #include <zsv/u...
// ------------------------------------------------------------------------------------------- // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License. // License details at: https://github.com/aws/aws-cdi-sdk/blo...
/* hcatParseParth - Parse through Parth Shah's Project Tracker json and turn it into fodder for sqlUpdateRelated.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "localmem.h" #include "dystring.h" #include "obscure.h" #include "portable.h" #include "jsonParse.h" #include "c...
// Interfaces between ESP32/FreeRTOS and Forth typedef int cell; #include "freertos/FreeRTOS.h" #include "esp_system.h" #include "nvs_flash.h" #include "driver/uart.h" #include "string.h" extern void forth(void); // This is the routine that is run by main_task() from cpu_start.c, // i.e. the "call in" from FreeRTOS...
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ /* * This file contains the agent's view of the appinfo command: * it is used by agents to query the daemon about the status of applications. */ #include "nr_axiom.h" #include <errno.h> #include <stddef.h> ...
/************************************************************************* * Copyright (c) 2016-2020, NVIDIA CORPORATION. All rights reserved. * * See LICENSE.txt for license information ************************************************************************/ #include <pthread.h> #include <stdint.h> #include <str...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpidimpl.h" #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif /* THE CALL TO MPI_IPROBE BELOW HAS BEEN COMMENTED OUT OTHERWISE EVEN THE ACTIVE-TARGET RMA WILL NOT WO...
#ifndef lint static const char RCSid[] = "$Id: rc3.c,v 2.18 2012/11/15 19:41:03 greg Exp $"; #endif /* * Accumulate ray contributions for a set of materials * Controlling process for multiple children */ #include <signal.h> #include "rcontrib.h" #include "selcall.h" #define MAXIQ (int)(PIPE_BUF/(sizeof(FVECT)*2))...
/** * @file kernel/arch/x86_64/smp.c * @brief Multi-processor Support for x86-64. * * Locates and bootstraps APs using ACPI MADT tables. * * @copyright * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2021 <NAME> */...
/* Copyright (c) 2009, <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 foll...
/* Command line main driver module for paraFlow compiler. */ /* Copyright 2005 <NAME>. All rights reserved. */ #include "common.h" #include "linefile.h" #include "options.h" #include "hash.h" #include "dystring.h" #include "localmem.h" #include "ra.h" #include "pfType.h" #include "pfScope.h" #include "pfToken.h" #incl...
#include <stdio.h> #include <unistd.h> #include <sys/syscall.h> #include <stdlib.h> #include <pthread.h> #include <runtime.h> #include <linux/futex.h> #include <limits.h> #include <time.h> #include <errno.h> #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 #define FUTEX_INITIALIZER 11 #define WAKE_OP_VAL3(op, oparg, cmp,...
/* * @file djcs_t.c * @author <NAME> * @date 15 March 2015 * * Implementation of the Paillier Cryptosystem (djcs_t). * * This scheme is a threshold variant of the Paillier system. It loosely follows * the scheme presented in the paper by damgard-jurik, but with a chosen base of * 2, rather than the variable s+...
#include "../../config.h" #include <sys/types.h> #include <errno.h> #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif #include <limits.h> #include <netdb.h> #include <signal.h> #include <stdio.h> #ifdef HAVE_STDINT_H #include <stdint.h> #endif #include <stdlib.h> #include <string.h> #include <unistd.h> #ifdef HAVE...
/********************************************************************/ /* */ /* FILE: McNemar_sent.c */ /* WRITTEN BY: <NAME> */ /* DATE: May 31 1989 ...
/** * \file * * \brief Virtual file system management. * * Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip product...
// // Copyright (C) 2020 by The Board of Trustees of Stanford University // This program is free software: you can redistribute it and/or modify it under // the terms of the Modified BSD-3 License as published by the Open Source // Initiative. // If you use this program in your research, we request that you reference ...
/*---------------------------------------------------------------------- * dlep_config.c -- Routine to parse the configuration file * * August 2010, <NAME> * * Copyright (c) 2010 by Cisco Systems, Inc. * All rights reserved. * * Permission is hereby granted, free of charge, to any person * obtaining a cop...
#include <lighttpd/angel_base.h> static void sigint_cb(liEventBase *watcher, int events) { liServer *srv = LI_CONTAINER_OF(li_event_get_loop_(watcher), liServer, loop); UNUSED(events); li_server_stop(srv); } static void sigpipe_cb(liEventBase *watcher, int events) { /* ignore */ UNUSED(watcher); UNUSED(events)...
// File created: 2012-01-28 00:49:36 #include "bounds/ray-intersects.98.h" #include <assert.h> #define ABS(x) ((x) < 0 ? -(x) : (x)) static void check_one_axis(mushcoords, mushcoords, const mushbounds*, mushcell, mushcell, mushdim, bool*, mushucell*); static bool matches(mushucell, mushce...
/* entities.c -- recognize HTML ISO entities (c) 1998-2008 (W3C) MIT, ERCIM, Keio University See tidy.h for the copyright notice. Entity handling can be static because there are no config or document-specific values. Lookup table is 100% defined at compile time. */ #include <stdio.h> #include "entities....
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1998 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any ...
/* See LICENSE. */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <sched.h> #include <sys/mount.h> #include <stdarg.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/wait.h> #include <sys/sysmacros.h> #includ...
/*************************************************************************** * (c)2004-2009 Broadcom Corporation * * This program is the proprietary software of Broadcom Corporation and/or its licensors, * and may only be used, duplicated, modified or distributed pursuant to the terms and * conditions of a se...
/*****************************************************************************\ ** ** ** FILE: stats.c ** ** AUTHORS: Alexios ** **...
#include <signal.h> #include <stdio.h> #include <stdarg.h> #include <limits.h> #include <errno.h> #include <string.h> #include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <getopt.h> #include <math.h> #include <byteswap.h> #include <assert.h> #include <termios.h> #include <unistd.h> #include <stdio.h> #i...
/* Copyright 2008,2011,2014 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 of distribution of free ...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Monkey HTTP Server * ================== * Copyright 2001-2014 Monkey Software LLC <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
// SC is free software distributed under the MIT license #include "sc.h" static const char intro[] = { " \0" " Overview:\0" " \0" " A: This overview\0" " B: Toggle Options\0" " C: Set Options\0" " D: Cursor movement commands\0" " E: Cell entry and editing commands\0" " F: Line Editing\0" " G: File comma...
extern void *callback_up; // #include "stdint.h" // #include "stdlib.h" #include <string.h> #include "pin_map.h" #define NOPULL 0 #define GPIO_INPUT 0 #define GPIO_OUTPUT 1 #define ESP8266_REG(addr) *((volatile uint32_t *)(0x60000000+(addr))) #define ESP8266_CLOCK 80000000UL #define HSPI_REG(offset) ESP8266_REG(0x10...