text
stringlengths
5.8k
28.2k
/* * geoid.c -- ECEF to WGS84 conversions, including ellipsoid-to-MSL height * * Geoid separation code by <NAME>, from data by <NAME>. * ECEF conversion by <NAME>. * * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ #include <...
/** ****************************************************************************** * File Name : application.c ****************************************************************************** */ #include "application.h" #include "main.h" #include "usart.h" #include "mb.h" #include "mbporttimer.h" ...
/* * rdf-tree.c - Retrieve statements from persistent Redland storage. * * Copyright (C) 2003-2004 <NAME> - http://purl.org/net/morten/ * * and * * Copyright (C) 2000-2006, <NAME> http://purl.org/net/dajobe/ * Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/ * * This package is Fr...
/* * Lab-Project-coreMQTT-Agent 201215 * 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 restricti...
/******************************************************************************************** * SIDH: an efficient supersingular isogeny cryptography library * * Abstract: Torsion basis generation for compression *********************************************************************************************/ #de...
//---------------------------------------------------------------- // vlog2Cel //---------------------------------------------------------------- // Generate a .cel file for the GrayWolf placement tool from a // verilog source, plus LEF files for the technology, standard // cells, and (if present) hard macros. // // Re...
/* * $Id: loopcut.c 36490 2011-05-04 20:34:30Z campbellbarton $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 Licens...
/* Copyright (C) 1996-1997 Id Software, Inc. 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 th...
/* * Copyright (c) 1997, 1998, 1999 * <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, th...
// (c)2010 by Texas Instruments Incorporated, All Rights Reserved. /*-----------------------------------------------------------------------------+ | | | Texas Instruments | | ...
/* * CAN module object for Microchip dsPIC30F microcontroller. * * @file CO_driver.c * @author <NAME> * @copyright 2004 - 2013 <NAME> * * This file is part of CANopenNode, an opensource CANopen Stack. * Project home page is <https://github.com/CANopenNode/CANopenNode>. * For more informa...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the Apache Licens...
#include <stdio.h> #include <string.h> #include <inttypes.h> #include "streamfile.h" #include "util.h" #include "gcdsp_decoder.h" /* * brsar_unpack 0.0 * * Unpacks and decodes sounds. Only tested with Smash Bros Brawl and doesn't work perfectly there. */ #ifdef __MSVCRT__ #define mkdir(name,mode) _mkdir(name) #d...
#include "test.h" int ret3(void) { return 3; return 5; } int add2(int x, int y) { return x + y; } int sub2(int x, int y) { return x - y; } int add6(int a, int b, int c, int d, int e, int f) { return a + b + c + d + e + f; } int addx(int *x, int y) { return *x + y; } int sub_char(char a, char b, char c...
/* Copyright 2006 <NAME> Copyright 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 of the License, or (at your option) any later version. This program is distribu...
/* Copyright (C) <NAME> * See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing. */ /* Portions of this file are Copyright (C) 2015-2018 <NAME> <<EMAIL>> * See /doc/license/gpl-2.0.txt for details about the licensing. */ /* Portions of this file are Copyright (C) 9front's team. * See /doc/license/9f...
/* ** Copyright (c) , 2004, <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 conditi...
/** * (C) Copyright 2016-2020 Intel Corporation. * * 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 l...
/* * 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...
// Copyright 2020 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 ...
/* * (c) <NAME>, Intel, 2005-2006. * 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 condition...
/* * Copyright (C) 2020-2021 Alibaba Group Holding Limited */ #include <string.h> #include <aos/spi_core.h> #define XFER_TIMEOUT 1000 #define EVENT_XFER_COMPLETE ((uint32_t)1 << 0) #define EVENT_XFER_ERROR ((uint32_t)1 << 1) aos_status_t aos_spi_get(aos_spi_ref_t *ref, uint32_t id) { ret...
/** * Finding Filesystems * CS 241 - Spring 2019 */ #pragma once #include <dirent.h> #include <stdint.h> #include <sys/stat.h> #include <sys/types.h> #include <time.h> #define KILOBYTE (1024) #define INODES_NUMBER (1024) #define DATA_NUMBER (2 * KILOBYTE) #define FILE_NAME_LENGTH (248) #define FILE_NAME_ENTRY (FI...
#include "param.h" #include "types.h" #include "defs.h" #include "x86.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "elf.h" #include "spinlock.h" extern char data[]; // defined by kernel.ld pde_t *kpgdir; // for use in scheduler() uint pgref[PHYSTOP >> PTXSHIFT]; struct spinlock pgref_loc...
/* Name: <NAME> COMP 3430 Operating System <NAME> Assignment 4 */ #define _FILE_OFFSET_BITS 64 #define SECTOR_LENGTH 512 #include <stdlib.h> #include <stdio.h> #include <sys/stat.h> #include <fcntl.h> #include <assert.h> #include <stdbool.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include...
#include <nds/ndstypes.h> #include "module_params.h" #include "patch.h" #include "find.h" #include "cardengine_header_arm7.h" #include "debug_file.h" // // Subroutine function signatures ARM7 // static const u32 relocateStartSignature[1] = {0x027FFFFA}; static const u32 nextFunctiontSignature[1] = {0xE92D4000}; sta...
/* * Renesas Sampling Rate Convert Sound Card for DPCM * * Copyright (C) 2015 Renesas Solutions Corp. * <NAME> <<EMAIL>> * * based on ${LINUX}/sound/soc/generic/simple-card.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version ...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2012 <NAME> 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) a...
#include "HaD_Badge.h" #include "font5x8.h" #define FILLERDELAY 100 #define HORIZONTALSCROLL_DELAY 100 #define VERTICALSCROLL_DELAY 100 #define BOUNCEBALL_DELAY 100 #define MANY0_DELAY 100 #define MANY1_DELAY 80 #define MANY2_DELAY 120 #define MANY3_DELAY 60 #define SCREENPIXELS_X...
/* * ui_infoarea.c * Copyright 2010-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 conditio...
/* * Copyright 2012 ClinRisk Ltd. * * This file is part of QRISK2-2012 (http://qrisk.org, http://svn.clinrisk.co.uk/qrisk2). * * QRISK2-2012 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, eit...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 <NAME> <<EMAIL>> */ #include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> #include <edid.h> #include <video_bridge.h> #include "../anx98xx-edp.h" #define DP_MAX_LINK_RATE 0x001 #define DP_MAX_LANE_COUNT 0x002 #define DP_MAX_LANE_COUNT_...
/* * Acess2 USB Stack - OHCI Driver * - By <NAME> (thePowersGang) * * ohci.c * - Open Host Controller Interface driver */ #define DEBUG 1 #define VERSION VER2(0,1) #include <usb_host.h> #include "ohci.h" #include <modules.h> #include <drv_pci.h> #include <timers.h> // === CONSTANTS === #define MAX_CONTROLLERS 4 ...
#include <stdio.h> #include <stdbool.h> #include "pico/stdlib.h" #include "hardware/uart.h" #include "hardware/gpio.h" #include "hardware/dma.h" #include "hardware/pio.h" #include "hardware/irq.h" #include "spi_slave_sender.pio.h" #include "dmd_counter.pio.h" #include "dmd_interface_wpc.pio.h" #include "dmd_interface_...
#include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "bitstream.h" #include "huffman.h" #include "jpeg_reader.h" /* Quelques types enumeres et structure */ struct jpeg_desc { /* DQT */ /* a malloc */ uint8_t nb_quantization_tables; struct table *qtables; /* SOF */ uint16_...
/* * ISC License * * Copyright (C) 1991-2018 by * <NAME> * <NAME> * Delft University of Technology * * 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 this permission notice appear in all c...
/* Pascal language support routines for GDB, the GNU debugger. Copyright 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. 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 th...
#include "pixz.h" #include <errno.h> #include <stdarg.h> #include <math.h> #pragma mark UTILS FILE *gInFile = NULL, *gOutFile = NULL; lzma_stream gStream = LZMA_STREAM_INIT; void die(const char *fmt, ...) { va_list args; va_start(args, fmt); vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); ...
/* * branch_smpl.c - example of a branch sampling on another task * * 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 deal * in the Software without restriction, including w...
/* * (C) Copyright 1996-2015 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...
/****************************************************************************** * File Name : tension_a_functionS.c * Date First Issued : 05/29/2016 * Board : f103 * Description : Tension function_a for both AD7799s Capital "S" for plural! *************************************************...
#include "lv_gui_basic_multi_desc.h" #include "core/multiprotocol.h" const char *multi_protocols_opts = "PROTOLIST\n" "FLYSKY\n" "HUBSAN\n" "FRSKYD\n" "HISKY\n" "V2X2\n" "DSM\n" "DEVO\n" "YD717\n" "KN\n" "SYMAX\n" "SLT\n" "CX10\n" "CG023\n" "BAYANG\n" "FR...
/********************************************* * vim:sw=8:ts=8:si:et * To use the above modeline in vim you must have "set modeline" in your .vimrc * Author: <NAME> * Copyright:LGPL V2 * See http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html * * A DHCP client. * This code uses the UDP_client framework. You ...
#include <stdio.h> #include <assert.h> #include <ctype.h> #include "clowndev.h" #include "registers.h" /* So far, this function does not seem to work for multisegment files. */ static struct DebugFile *lookup_debug_info (Dword address, int *record) { int j; /* Search bottom up */ for (j = current_module - 1; j >...
/* * LitePCIe test * * This file is part of LitePCIe. * * Copyright (C) 2018-2020 / EnjoyDigital / <EMAIL> * SPDX-License-Identifier: BSD-2-Clause */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include <inttypes.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h...
/*This code is part of the krystart Init System. * The Krystart Init System is maintained by bzolt8 * The Krystart is a fork of Epoch by Subsentient. * This software is public domain. * Please read the file UNLICENSE.TXT for more information.*/ /**This file contains functions and utilities used across Krystart * for ...
/** * ENSICAEN * 6 <NAME> * F-14050 Caen Cedex * * This file is owned by ENSICAEN students. * No portion of this document may be reproduced, copied * or revised without written permission of the authors. */ /** * @author <NAME> <<EMAIL>> * @version 0.0.1 - 2020-04-20 * * @todo the list of improvements dor the file...
/*! \file rm_hash_key_extract.c * * Key extraction implementation for hash table * * This file contains the functions that implements key extraction for hash table */ /* * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to * Broadcom Limited and/or its subsidiaries. * * Broadcom Switch S...
#include <math.h> #include "xvt.h" #include "noddy.h" #define DEBUG(X) /* ********************************** */ /* External Globals used in this file */ extern GEOLOGY_OPTIONS geologyOptions; extern GEOPHYSICS_OPTIONS geophysicsOptions; extern double iscale; /* scaling factor...
// 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 contributing projec...
/**************************************************************************//** * @file main.c * @version V1.00 * $Revision: 9 $ * $Date: 18/07/19 2:20p $ * @brief M031 I2S Driver Sample Code * This is a I2S demo with PDMA function connected with NAU8822 codec. * * SPDX-License-Identifier: Apa...
#include "timer.h" #include "common.h" // form sketched matrices: A'*S (or S'*A) and S'*B, // A can be either sparse or dense, B is dense void sketch_matrix(const SketchMethod method, const int sketch_size, const int offset, const int local_size, const VSLStreamStatePtr stream, const Matrix A, const Matrix B, M...
#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdio.h> #include <string.h> #include <errno.h> #include <stdlib.h> #include <event.h> #include <event2/bufferevent.h> #include <event2/bufferevent_ssl.h> #include <openssl/err.h> #include <sys/stat.h> #include <dirent.h> #include <fcntl.h> #include <unistd.h> ...
// // CBLibEventSockets.c // cbitcoin // // Created by <NAME> on 30/05/2012. // Copyright (c) 2012 <NAME> // // This file is part of cbitcoin. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://www.cbitcoin.com/license.html. No part ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ ...
/* <NAME> 2005 <NAME> 2010 */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <ctype.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include "genomescan_Markov0_3.h" //#include "mt64.h" #define MINCOUNT 20 // minimum number of hits required to calculate cent...
/* dispn.c associated subroutines for matching sequences */ /* $Name: fa_34_26_5 $ - $Id: c_dispn.c,v 1.21 2005/10/25 20:22:52 wrp Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "defs.h" #include "structs.h" #include "param.h" #define XTERNAL #define YES 1 #define N...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* * Feature : VPLS with SD-TAG scenario * * Usage : BCM.0> cint vpls_sdtag.c * * config : mpls_config.b...
/*====================================================================== A utility to convert a plain text description of a Card Information Structure into its packed binary representation. pack_cis.c 1.17 2000/11/15 01:10:41 The contents of this file are subject to the Mozilla Public License Ver...
/** utilities-mod-test.c Tests of integer overflow-safe utility functions in modular arithmetic. The following command line arguments can be used to customize tests: utilities-mod-test [0, size_t width) : n for 2**n # trials in tests [0, size_t width) : a [0, size_t width) : b s.t. 2**a ...
#include <stdio.h> #include <stdlib.h> #include <math.h> /// #include "InputOutput.h" #include "ScalarVectors.h" #include "hb_io.h" #include "SparseProduct.h" /*********************************************************************************/ // This routine creates a sparseMatrix from the next parameters // * numR ...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. * * File: cint_ipmc_bidir.c * Purpose: Example shows how to configure IP multicast BIDIR. * * Soc-Property: * ...
#include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/unistd.h> #include <sys/time.h> #include <getopt.h> #include <termios.h> #include <time.h> #include <sys/time.h> #include <math.h> #include <stdi...
#pragma once #include "common.h" #include "bm.h" enum { UNIT_WEAPON_EXP_COUNT = 8 }; enum { UNIT_SUPPORT_COUNT = 10 }; enum { UNIT_LEVEL_MAX = 20 }; enum { UNIT_AMOUNT_BLUE = 62, UNIT_AMOUNT_RED = 50, UNIT_AMOUNT_GREEN = 20, UNIT_AMOUNT_PURPLE = 5, }; enum { UNIT_ATTR_MOUNTED = (1 << 0), UN...
/* Copyright: <NAME> <<EMAIL>> C99 */ /* OpenGL Version Required: 4.1 ============================================================================================================================================================ OpenGL Extensions Required Extensions Name | Core | Support* | Notes ========...
/* * SPDX-License-Identifier: Apache-2.0 * * Date Author Notes * 2021-06-02 MrzhangF1ghter first implementation */ #include "mp3_tag.h" #include <rtthread.h> #include <string.h> #define LOG_TAG "mp3 tag" #define LOG_LVL DBG_INFO #include <ulog.h> #ifndef MIN #define MIN(a, b) ((a) < (b) ?...
/* Copyright (C) 2019-2020 JingWeiZhangHuai <<EMAIL>> Licensed under the Apache License, Version 2.0; 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 agreed to in writing, software di...
/* This file handles everything related to command string processing, such as, extracting commands and their arguments. */ /* -------------------- Includes -------------------- */ #include "cmd_processor.h" #include "pista_main.h" /* -------------------- Statics and Globals -------------------- */ /* Error...
#include <stdio.h> #include<stdlib.h> #include<string.h> typedef struct fields{ char *nome_arquivo; char *tipo; char *chave; char *field_name; char *field_type; char *aux; char *c; int *i; float *f; double *d; }fields; typedef struct tamanho_bytes{ int codigo; int ta...
// // Created by louis on 11/25/19. // #include "alex.h" #include <assert.h> #include <math.h> #include <time.h> #include <pthread.h> #include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stddef.h> /* * Uses monte carlo tree search, multi...
/* Copyright 2010 BartSimpson aka skindle 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 agr...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <zlib.h> #include "bwtindex.h" #include "protein.h" #include "bntseq.h" #include "utils.h" #include "uniprot.h" #include "main.h" #ifdef _DIVBWT #include "divsufsort.h" #endif #ifdef USE_MA...
//========================================================================== // // omap3530_mem.h // // Author(s): <NAME>, Cogent Computer Systems, Inc. // Contributors: // Date: 12/09/2008 // Description: This file contains register base addresses and offsets // and access macros for the OMAP3530 Cort...
/* ----------------------------------------------------------------------------- * templ.c * * Expands a template into a specialized version. * * Author(s) : <NAME> (<EMAIL>) * * Copyright (C) 1999-2000. The University of Chicago * See the file LICENSE for information on usage and redistribution. * ...
/*************************************************************************\ * Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE is distributed subj...
#include "Ants.h" // initializes the game_info structure on the very first turn // function is not called after the game has started void InitAntsData(char *data, game_info_t *game_info) { char *replace_data = data; while (*replace_data != '\0') { if (*replace_data == '\n') *replace_data ...
/** * $Id: matrix_addon.c,v 1.17 2007/03/18 18:49:08 skimo Exp $ * * Polylib matrix addons * Mainly, deals with polyhedra represented as a matrix (implicit form) * @author <NAME> <<EMAIL>> * */ #include <stdlib.h> #include<polylib/polylib.h> #include <polylib/matrix_addon.h> /** Creates a view of the constr...
#define _GNU_SOURCE #include "buffer.h" #include "connection.h" #include "dict.h" #include "http_parser.h" #include "lotos_epoll.h" #include "misc.h" #include "response.h" #include "server.h" #include "ssstr.h" #include <assert.h> #include <errno.h> #include <fcntl.h> #include <stddef.h> #include <stdio.h> #include <st...
typedef unsigned long long int puyos_t; void fprint_puyos(FILE *f, puyos_t puyos) { fprintf(f, " "); for (int i = 0; i < WIDTH; ++i) { fprintf(f, " %c", 'A' + i); } fprintf(f, "\n"); for (int i = 0; i < 64; ++i) { if (i % V_SHIFT == 0) { int j = i / V_SHIFT; ...
/* * encrypt.c * * Created on: 29 Jan 2019 * Author: mrz * * * Beetle[Light+] * ------------- * - r=64 * - c=80 */ #include "crypto_aead.h" int crypto_aead_encrypt( unsigned char *c,unsigned long long *clen, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned l...
// // entero_largo_lista.h // Taller 1 // // Creado por <NAME> - <NAME> - <NAME> el 18/5/20. // #ifndef stdlib_h #define stdlib_h #include <stdlib.h> #endif /* stdlid_h */ #ifndef stdio_h #define stdio_h #include <stdio.h> #endif /* stdio_h */ #ifndef string_h #define string_h #include <string.h> #endif /* string...
/* * qaul.net is free software * licensed under GPL (version 3) */ /** * Minimal DHCP Implementation */ #include "../qaullib_private.h" #include "qaullib_captive.h" // -------------------------------------------------------------------------- #define DHCPDISCOVER 1 #define DHC...
#include <stdio.h> #include <sys/socket.h> #include <arpa/inet.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include "wfd.h" #define SYNC_BYTE 0x47 AUDIO_TYPE audio_type = AAC; static unsigned short pmt_pid = 0; static unsigned short video_pid = 0; static unsigned short audio_pid = 0; #defin...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2021-2022 Intel Corporation */ #include <errno.h> // for errno, ENODEV, ENOMEM, EINVAL #include <fcntl.h> // for open, O_RDWR #include <pthread.h> // for pthread_mutex_unlock, pthread_mut... #i...
#include "hppa-opcode.h" #include <stdio.h> extern uint32_t random(); #define RANGE(number) (random() % (number)) #define COIN (RANGE(2)) #define IMM_NUM(range) { int tmp000111000usv = RANGE(range); \ if (tmp000111000usv == 0) \ printf(" %d", tmp000111000usv); \ else \ printf(" %c%d",...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that ar...
/* * Legal Notice * * This document and associated source code (the "Work") is a part of a * benchmark specification maintained by the TPC. * * The TPC reserves all right, title, and interest to the Work as provided * under U.S. and international laws, including without limitation all patent * and trademark rig...
/************************************************************** 1.3 - Added End-Of-File record to the end of HEX file. Added support for start address above 0xffff 1.2 - Changed last_sequence_file file format from binary to ASCII. Old binary files can still be read. 1.1 - promjenjeno ime ovog fajla iz Arm...
/* * @file ibv_time_retry_timeout.c * @date 12 May 2019 * @author <NAME> * @brief Time the elapsed retry time for an Infiniband Reliable-Connected (RC) for a range of timeout and retry_cnt. * @details This is to determine if the retry time: * a. Scales with the number of retries. * b. If the In...
// symboltable.c #include "jat.h" Context *GlobalContext = NULL; // static prototypes static void _AddSymbolToContext(Context *co, Symbol *s); static Symbol *NewSymbol(Context *co); //----------------------------------------------------------------------------- // NewSymbolFun...
/* ------------------------------------------------ * * The MIT License (MIT) * Copyright (c) 2020 <EMAIL> * ------------------------------------------------ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <EGL/egl.h> #include <GLES2/gl2.h> #include <math.h> #include "shapes.h" #include "asser...
/* * Copyright (C) 2019 GreenWaves Technologies * * 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 l...
/* * File: score.c * Purpose: Highscore handling for Angband * * Copyright (c) 1997 <NAME>, <NAME>, <NAME> * <NAME>, <NAME> * * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * ...
/* sha3.c - an implementation of Secure Hash Algorithm 3 (Keccak). * based on the * The Keccak SHA-3 submission. Submission to NIST (Round 3), 2011 * by <NAME>, <NAME>, <NAME> and <NAME> * * Copyright: 2013 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of...
/* IPsec IKE Dead Peer Detection code. * Copyright (C) 2003 <NAME> <<EMAIL>> * Copyright (C) 2004 <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...
/* Mapping table for IBM1162. Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by <NAME> <<EMAIL>>, 2001. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as...
/*! * * Source from Adafruit. Modified by <NAME>, City Science - MIT Media Lab. * * @section intro_sec Introduction * * This is the documentation for Adafruit's NeoPixel library for the * Arduino platform, allowing a broad range of microcontroller boards * (most AVR boards, many ARM devices, ESP8266 and ESP32...
// pngsym - convert png to compressed symbol format #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <png.h> void Fail(char *msg) {printf("%s\n", msg); exit(99);} void Check(int err, char *msg) {if (err) {printf("%s %d.\n", msg, err); exit(99);}} void Assert(...
/********************************************************************* Copyright (c) 1995 ISO/IEC JTC1 SC29 WG1, All Rights Reserved formatBitstream.c **********************************************************************/ /* Revision History: Date Programmer Comment ========== =======...
/**************************************************************************** Alpha 8201/8301 Disassembler Copyright (C) 2006 <NAME> Originally written for the MAME project. ****************************************************************************/ ...