text
stringlengths
3.12k
18.7k
/* * Copyright (c) 2012-2013, The Linux Foundation. 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...
/* * libplayerc : a Player client library * Copyright (C) <NAME> 2002-2003 * * 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) a...
#include <errno.h> #include <unistd.h> #include <glib.h> #include <glib-object.h> #include <jansson.h> #include "rpcsyncwerk-utils.h" #if !GLIB_CHECK_VERSION(2, 32, 0) #define g_value_set_schar g_value_set_char #define g_value_get_schar g_value_get_char #endif static json_t *json_serialize_pspec (const GValue *value...
/** * syr2k.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <math.h> #ifdef __APPL...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include "sha3/extra.h" #include "sha3/sph_blake.h" #include "sha3/sph_bmw.h" #include "sha3/sph_groestl.h" #include "sha3/sph_jh.h" #include "sha3/sph_keccak.h" #include "sha3/sph_skein.h" #include "sha3/sph_luffa.h" #include "sha3/sph_cub...
/* Unix SMB/Netbios implementation. Version 1.9. SMB parameters and setup Copyright (C) <NAME> 1992-2000 Copyright (C) <NAME> 1996-2000 Modified by <NAME> 1995. Copyright (C) <NAME> <<EMAIL>> 2002-2003 Modified by <NAME> (<EMAIL>) 2002-2003 This program is free software; you can redistribute...
/* * File: hmac.c * * Author: <NAME> * GÉANT * * Description: HMAC-SHA1 verifications based on data from RFC 2202 */ #include <string.h> #include <I2util/hmac-sha1.h> #include <openssl/hmac.h> struct _test_case { int test_case; uint8_t *key; ...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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://aws.amazon.com/apache2.0 * * or in the "license" file...
// originating version hash: d8563d057179bd93dc4f6b3f6d098fea72d28cef #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <sys/signal.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/epoll.h> #include <netinet/in.h> #include <netinet/tcp.h> #include ...
/* bigBed - interface to binary file with bed-style values (that is a bunch of * possibly overlapping regions. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "localmem.h" #include "obscure.h" #include "dystring.h" #include "rangeTree.h" #include "cirTree.h" #include "bPlusTree.h" #include "ba...
/*- * Copyright (c) 2014-2016 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" /* * __sync_file -- * Flush pages for a specific file. */ static int __sync_file(WT_SESSION_IMPL *session, WT_CACH...
/* * Copyright © 2014 Intel Corporation * * 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, pub...
/* * uimsgbox.c - Common SDL message box functions. * * 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 L...
#include <stdint.h> #include "stm32f1xx.h" #include "loader.h" #include "crc16.h" #include "uart.h" #include "at45db321.h" #include "spi.h" #if 0 /* Протокол обмена - текстовый HEX Начало команды: '\n' Конец команды: '\r' Формат команды "\nCCLLLLLLLLDDDDDDDD...DDRRRR\r" CC - код команды...
/* $OpenBSD: noexec.c,v 1.15 2014/04/18 14:38:21 guenther Exp $ */ /* * Copyright (c) 2002,2003 <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...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#include "stddef.h" #include "vectors.h" #include "lpc810.h" #include "systick.h" extern unsigned int __data_section_table; static inline void c_init() { // clear RAM memclear((uint8*)SRAM_LOC, SRAM_LEN); // copy init value to RAM uint* ad = &__data_section_table; memcopy((uint8*)SRAM_LOC, (uint8*)ad[0], ad[1]...
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++// // Load Libraries // //+++++++++++++++++++++++++++++++++++++++++++++++++++++++// #include <kafkakdb_utility.h> //+++++++++++++++++++++++++++++++++++++++++++++++++++++++// // Global Variables ...
/* * Iterations runner for C benchmarks. * * Code style here is KNF, but with 4 spaces instead of tabs. */ /* To correctly expose asprintf() on Linux */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <stdlib.h> #include <errno.h> #include <dlfcn.h> #include <err.h> #includ...
/* * Mach Operating System * Copyright (c) 1992, 1991 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * s...
/* $OpenBSD: ami_pci.c,v 1.19 2004/02/28 02:03:34 mickey Exp $ */ /* * Copyright (c) 2001 <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 ...
#include <stdlib.h> #include <assert.h> #include "nrf52_network.h" #include "nrf_error.h" #include "nrf52_ravel_endpoint.h" #include "nrf52_ravel_frame.h" #include "ravel/nrf52-driver.h" #include "api/intrinsics.h" #define NRF_LOG_MODULE_NAME "NET::" #define NRF_LOG_LEVEL 4 #include "nrf_log.h" #include "nrf_log_ctrl...
/* * 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, p...
/**************************************************************************//** * @file main.c * @version V0.10 * @brief * Show how to set I2C in Slave mode and receive the data from Master. * This sample code needs to work with I2C_Master. * * SPDX-License-Identifier: Apache-2.0 * @cop...
/* $Id: vt52.c,v 1.19 2018/07/26 00:42:11 tom Exp $ */ #include <vttest.h> #include <ttymodes.h> #include <esc.h> static int testing(const char *name, int row) { char buffer[1024]; sprintf(buffer, "Testing %s. " "A real VT%d will not recognize %s at this point", name, terminal_id(),...
/* * LRC lyrics file format decoder * Copyright (c) 2014 StarBrilliant <<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...
/* * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. * * 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. */ #include <linux/clk.h> #include <linux/cpu.h> #include <linux/cpu...
/** * @file utils/audio_buffer.c * @author <NAME> <<EMAIL>> */ /* * Copyright (c) 2016-2021 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditions * are met: * * 1. Redistribut...
/** * \file * \brief Bootstrap logic for spawn daemon. * * \bug The monitor explicitly requires an indication * when it will not be asked to boot more cores. * So that it can setup its routing tables, etc. * To accomodate the bug, the domain waits for pci to finish iterating * the ACPI tables before informing t...
/* * Abilis Systems Single DVB-T Receiver * Copyright (C) 2008 <NAME> <<EMAIL>> * Copyright (C) 2010 <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, o...
/* $OpenBSD: owsbm.c,v 1.8 2010/07/08 07:19:54 jasper Exp $ */ /* * Copyright (c) 2007 <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 cop...
/* F B L I N E . C * BRL-CAD * * Copyright (c) 1988-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
/** * \file comp_w.c * * \brief Word-based compression. * * Table-lookup (word) compress, written by <NAME>. 21/Oct/95. * * This method maintains a table of 32768 words, where a "word" is defined * as a sequence of alpha or numeric characters (such as "dog123"). * * Compression * ----------- * * The text t...
/* Copyright 2018, UCAR/Unidata See COPYRIGHT file for copying and redistribution conditions. This program benchmarks the write and read of some radar files with different chunking and compression parameters set. $Id: bm_radar.c,v 1.6 2008/12/11 16:40:03 russ Exp $ */ #include <config.h> #include <nc_tests.h> #inc...
/* * Symbol objects can only be used with the Window * from which they were created. */ #include <Python.h> /* make sure Python.h is first */ #include <string.h> #include "grdel.h" #include "cferbind.h" #include "pyferret.h" #include "FerMem.h" static const char *grdelsymbolid = "GRDEL_SYMBOL"; typedef struct GDs...
/* * Segmentation-based user mode implementation * Copyright (c) 2001,2003 <NAME> <<EMAIL>> * $Revision: 1.23 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". */ #include <geekos/ktypes.h> #include <geekos/kassert.h> #include <geekos/defs...
/* * zle_utils.c - miscellaneous line editor utilities * * This file is part of zsh, the Z shell. * * Copyright (c) 1992-1996 <NAME> * All rights reserved. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software an...
/*- * Written by: <NAME> * Copyright (c) 2002 Adaptec Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notic...
/*************************************************************************** First version of the Dynax blitter. Can handle up to 8 256x256 bitmaps; in the games supported, every pair of bitmaps is interleaved horizontally to form 4 higher res 512x256 layer. The blitter reads compressed data from ROM and copies it t...
#include "config.h" #include "tubes.h" static tube_t tubes[NUMBER_OF_TUBES]; static char colors = USE_COLORS; static char color_picker; #if TUBE_CROSSINGS static clr_t * clrs; static void init_clr(){ clr_t * old = clrs; clrs = malloc(sizeof(clr_t) * LINES * COLS); int i; for(i = 0; i < LINES * COLS; ++i){ c...
// @file line_graph_card.c // @brief Rendering code for line graph view // // File contains all drawing code for rendering the line graph // view onto a card. // // @author <NAME> // @date December 23, 2015 // @bugs No known bugs #include "card_render.h" #include "../../utility.h" // Drawing Constants #define TEXT_BO...
/***************************************************************************/ /* */ /* Copyright (C) 1991-1998 <NAME> and <NAME> */ /* See file "README" for information about commercial use of this system */ /* ...
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2013 Conifer Software. // // ...
#include <unistd.h> #include <stdint.h> #include <signal.h> #include <string.h> #include <stdlib.h> #include "time.h" #include "global_config.h" #include "libmaix_debug.h" #include "libmaix_err.h" #include "libmaix_cam.h" #include "libmaix_image.h" #include "libmaix_disp.h" // #include "rotate.h" //#undef CONFIG_A...
/* hiinit.c - Hiquu I/O Engine Initialization * Copyright (c) 2006,2012 <NAME> (<EMAIL>), All Rights Reserved. * This is confidential unpublished proprietary source code of the author. * NO WARRANTY, not even implied warranties. Contains trade secrets. * Distribution prohibited unless authorized in writing. See f...
/*************************************************************************************/ /* */ /* Copyright (C) 2008, <NAME> <<EMAIL>>, */ /* Copyright (C) 2008, Linux Foundation ...
/*********************************************************************************************************************************** Test Log Handler ***********************************************************************************************************************************/ #include <fcntl.h> #include <unistd.h...
#include <iec_std_lib.h> #include <uavcan_node.h> // node status constants #include "app_config.h" #include "hal.h" #include "io.h" #include "locks.h" #include "plc.h" #include "ui.h" // "exported" to Matiec-compiled PLC program IEC_TIME __CURRENT_TIME; static void connect_buffers(void); static void plc_task(void *...
#define DEBUGTRACE 0 /* IirfLogging.c Ionic's Isapi Rewrite Filter [IIRF] ISAPI Filter that does URL-rewriting. Inspired by Apache's mod_rewrite . Implemented in C, does not use MFC. Copyright (c) <NAME>, 2005-2010. All rights reserved. ==============================================...
/* Generate attribute information (insn-attr.h) from machine description. Copyright (C) 1991, 1994, 1996, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. Contributed by <NAME> (<EMAIL>) This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the...
/* * <NAME> 12.02.2022 * Register kodlamasi ile servo motor kontrol. */ #include "stm32f4xx.h" #include "stm32f4_discovery.h" uint16_t adc_degeri=0; uint32_t bekle=0; void SysTick1_Config() { SysTick->CTRL |= SysTick_CTRL_CLKSOURCE_Msk ; SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk; SysTick->...
/** * sysinfo.c - v1.0 * author: <NAME> * * Contains the functions to retrieve system statistics * and publish them as PubSub events. * * These functions are for Solaris 7 or greater ONLY. **/ /** * Copyright 2001-2004 KnowNow, Inc. All rights reserved. * * @KNOWNOW_LICENSE_START@ * * Redistribution and...
/* ** Copyright (c) 2003, 2006, 2009 <NAME> */ static const char PROG_ID[] = "$Id: proj_ellps.c,v 5.1 2009/04/30 20:47:47 gie Exp gie $"; /* ** 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 Softw...
/* * Copyright (c) 2015-2020 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * 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 * * www.apache.org/licenses/LICEN...
/* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source ...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <assert.h> #include "scan.h" #include "gen.h" #define IUP_VARARG 0 #define IUP_NOVARARG "" static struct { const char *proper_case; const char *arginfo; } control_info[] = { { "Image", IUP_NOVARARG }, { "ImageRGB", IUP_NOVARARG }, { "I...
/************************************************************************************* * MIT License * * * * Copyright (C) 2017 <NAME>, <NAME> ...
/* ode-initval2/modnewton1.c * * Copyright (C) 2008, 2009, 2010 <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 3 of the License, or (at * your option) any later...
/* This is part of the netCDF package. Copyright 2005-2018, University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for conditions of use. Test that NetCDF-4 can read HDF4 files. <NAME>, <NAME> */ #include <config.h> #include <nc_tests.h> #include "err_macros.h" #include <mfhdf.h> #inc...
/* * Copyright (c) 2004-2006 <NAME> <<EMAIL>> * Copyright (c) 2006-2014 Sippy Software, Inc., http://www.sippysoft.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: * 1. Redistribution...
/* $Id: out.c,v 1.62 2015/10/12 00:08:16 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 <NAME> <<EMAIL>> * Copyright (c) 2011, 2014, 2015 <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 * cop...
/* * Copyright 2016 Sigma Designs, Inc. * * 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 ag...
/* ioerr.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__0 = 0; static integer c__2 = 2; /* $Procedure IOERR ( I/O error message w...
#include <runtime.h> #include <stdlib.h> #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 #define MAX_PAGE_ORDER 12 #define LENGTH_ORDER 16 #define RANDOM_TEST_PASSES 100 #define GTE_TEST_MAX 512 static boolean basic_test(heap h) { u64 base = 0x10000; u64 length = U64_FROM_BIT(LENGTH_ORDER); for (int pag...
/* Function dispatch tables for inplace. * * <NAME>, 8/2/95 */ /* This file is part of VIPS. VIPS 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 of the License, o...
#include <stdio.h> #include <stdlib.h> #include <ir/ir.h> #include <target/util.h> static char* TLHSREG[] = { "A", "B", "C", "D", "BP", "SP", }; static void tlhs_emit_line_2op(const int tlhs_inst_pc, const int current_table, const char* imm, const Inst* inst) { if (inst->src.type == REG) ...
#include <stdlib.h> #include <string.h> #include "grammar.h" #include "sge.h" #include "alloc.h" #define ONE_PER_GENE_MUTATION /******************************************************************************* * internal helper function prototypes ******************************************************************...
#include <genesis.h> #include "UI.h" #include "Map.h" #include "TileDefinitions.h" #include "Xor.h" #include "Players.h" #include "TileLoading.h" #include "../res/gfx.h" #include "../res/sprite.h" static u16 _miniMapVramIndex = 0; static s16 _previousMapCount = 0; static s16 _previousMasksCollected = 0; static s16...
/* * Written in 2011 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated * all copyright and related and neighboring rights to this software * to the public domain worldwide. * * This software is distributed without any warranty. * * You should have received a copy of the CC...
/******************************************************************************* NAME SPACE OBLIQUE MERCATOR (SOM) PURPOSE: The first method of Transforming input longitude and latitude to Easting and Northing for the SOM projection. The longitude and latitude must be in radians. The Ea...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpi.h" #include "mpiimpl.h" #include <stdio.h> /* * Simple segment test, including timing code */ /* * Build datatype structures * * Contiguous * n = 1, 4, ...
/***************************************************************************//** * @file main_s0.c * @brief This example shows how to use a timer and the DMA to output a sinewave * using the IDAC. This project operates in EM1. ******************************************************************************* * # Lice...
/* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 Massachusetts Institute of Technology * * 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 ...
/* * (C) Copyright 2007 * <NAME>, Pengutronix * * 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 the terms of the GNU General Public License as * published by the Free Software Foundation; either version...
#include "dio_main.h" #define MAX_DOUT_PORT 8 #define MAX_DIN_PORT 8 /* * For MC-7130-MP, There are 8 DI, 8 DO. * IO port bitmap: * DI0 0x301 bit 0 * DI1 0x301 bit 1 * DI2 0x301 bit 2 * DI3 0x301 bit 3 * DI4 0x302 bit 0 * DI5 0x302 bit 1 * DI6 0x302 bit 2 * DI7 0x300 bit 4 * DO0 0...
/* ATMega168 UART for ASK Wireless Modules. Author <NAME> Version 0.1.5 Date March 14,2017 Purpose For transmission and reception of UART over noisy wireless systems. Enpackets data with timing, checksumming, and target-device bytes to minimize packet loss. Intended for use wit...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * massF3.c * * Code generation for function 'massF3' * */ /* Include files */ #include <string.h> #include "...
/** * Copyright 2017 Comcast Cable Communications Management, 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 requir...
/* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 Massachusetts Institute of Technology * * 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 ...
// SPDX-License-Identifier: MIT /* * Copyright (C) 2018 PHYTEC Messtechnik GmbH * Author: <NAME> <<EMAIL>> */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <termios.h> #include <poll.h> #include <sys/ioctl.h> #include <asm/ioctls.h> #...
/* oozext.c -- extracts files from archive */ /* Main extraction module. This file is public domain. -- <NAME> 1991/07/07 The function fixfname() is currently defined to be empty but may be activated if needed to fix filename syntax to be legal for your computer system. Look near...
/* GStreamer * * appsrc-stream.c: example for using appsrc in streaming mode. * * Copyright (C) 2008 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * ...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
/* Copyright (c) 2008 - <NAME>. Permission is granted for use and modification of this file for research, non-commercial purposes. */ #include "common.h" #include "sysfunc.h" #include "trec_eval.h" #include "trec_format.h" #include <ctype.h> /* Read all relevance preference information from text_prefs_f...
/******************************************************************************* * Copyright (c) 2015 <NAME> * Copyright (c) 2019 <NAME> * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
/***************************************** coniFetch: A collection of utilies for extracting various data from VEXCEL Level-0 Granule files. Note that these routines allocate their return strings in the heap, so their strings must be free'd afterward, or memory will leak. */ #include "asf.h" #include "coniFetch.h" ...
#include <stdio.h> #include <stdlib.h> /* --------------------------------------------------------------- */ /* (smp_test07.c <NAME> 2015-05-14) */ /* smp_test20.c <NAME> 2016-01-18 */ /* function : test cpu0->cpu1 cpu1->cpu0 IPI (inter-processor- */ /* int...
/* * UNIBA/Ampere 1.3 * Gruppo n.16 - <NAME>, <NAME>, <NAME>, <NAME> * Progetto universitario di gruppo intento alla creazione di un gestore dati per la musica, es: WinAmp * da realizzare nell'ambito del corso di studi di Laboratorio di Informatica, a.a. 2019/20. * Maggiori informazioni sul copyright su https://gi...
#define __USE_MINGW_ANSI_STDIO 1 #include <string.h> #include <math.h> #include "umka_const.h" void constInit(Consts *consts, Error *error) { consts->error = error; } void constFree(Consts *consts) { } void constZero(void *lhs, int size) { memset(lhs, 0, size); } void constDer...
/* * Copyright IBM Corp. 2007 * * Authors: * <NAME> <<EMAIL>> * Windows porting - <NAME> <<EMAIL>> * * Copyright 2017-2021 SUSE LLC * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met : * 1. Redistributions ...
#include "menu.h" int firstMenu(Game * game) { int mode = 0; do{ mode = selectMode(); switch (mode) { case 3: printLeaderboard(); break; default: printf("mode %d\n", mode); getPlayerName(game, mode); selectVersion(game); break; } } while(mode > 2 && mode != 0); return mode; ...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/* * Copyright (C) 2017 NVIDIA Corporation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hop...
/*----------------------------------------------------------------------------*/ /* Hobbit bb-hosts file grep'er */ /* */ /* This tool will pick out the hosts from a bb-hosts file that has one of the...
#include "fzftab.mdh" #include "fzftab.pro" #include <stdlib.h> #include <sys/stat.h> #include <unistd.h> const char* get_color(const char* file, const struct stat* sb); const char* get_suffix(const char* file, const struct stat* sb); const char* colorize_from_mode(const char* file, const struct stat* sb); const char*...
#include <stdio.h> #include <ctype.h> #include <string.h> #include <dirent.h> #include "options.h" #include "odinlib.h" #include "osu.h" #define MAXFORMATS 32 static char rcsid[] = "$Id$"; int readonly = 0; int verbose = 0; static int rstcnt; static char osufile[MAXNAMLEN+1] = ""; #define GROUPS 5 #define HKGRP...
/* * * NMEA library * URL: http://nmea.sourceforge.net * Author: Tim (<EMAIL>) * Licence: http://www.gnu.org/licenses/lgpl.html * $Id: generate.c 17 2008-03-11 11:56:11Z xtimor $ * */ #include "tok.h" #include "sentence.h" #include "generate.h" #include "units.h" #include <string.h> #include <stdlib.h> #inclu...
/* * libwebsockets - lws-plugin-ssh-base * * Copyright (C) 2017 <NAME> <<EMAIL>> * * 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: * version 2.1 of the License. * * This li...
/* * drivers/staging/android/ion/ion_cma_heap.c * * Copyright (C) Linaro 2012 * Author: <<EMAIL>> for ST-Ericsson. * * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Softwa...
/*- * Copyright (c) 2014-2016 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" static int __ckpt_server_start(WT_CONNECTION_IMPL *); /* * __ckpt_server_config -- * Parse and setup the checkpoin...