text
stringlengths
3.12k
18.7k
/**************************************************************************** * * MODULE: Jennic Module Programmer * * COMPONENT: Main file * * VERSION: $Name: $ * * REVISION: $Revision: 1.2 $ * * DATED: $Date: 2009/03/02 13:33:44 $ * * STATUS: ...
/* -*- linux-c -*- * * (C) Copyright IBM Corp 2006 * (C) Copyright Nokia Siemens Networks 2010 * (C) Copyright <NAME> 2011 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ...
/* * (C) Copyright 2018-2022 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <stdint.h> #include <assert.h> #include <getopt.h> #include <semaphore.h> #include "crt_utils.h" #include "test_group_rpc.h" #include "test_group_n...
/* 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...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <fcntl.h> #include <signal.h> #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> #include <dirent.h> #ifdef WIN32 # include <winsock2.h> typedef int socklen_t; # define mkdir(fn,...
/* * Copyright (C) 2009-2010, 2012 <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 version. * * This program is ...
// SPDX-License-Identifier: GPL-2.0 // // Lochnagar regulator driver // // Copyright (c) 2017-2018 Cirrus Logic, Inc. and // Cirrus Logic International Semiconductor Ltd. // // Author: <NAME> <<EMAIL>> #include <linux/bitops.h> #include <linux/device.h> #include <linux/err.h> #include <linux/mo...
/* moxie-opc.c -- Definitions for moxie opcodes. Copyright (C) 2009-2015 Free Software Foundation, Inc. Contributed by <NAME> (<EMAIL>). This file is part of the GNU opcodes library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
/* *------------------------------------------------------------------ * l2tp_api.c - l2tpv3 api * * Copyright (c) 2016 Cisco and/or its affiliates. * 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 ...
#include <stdio.h> #include <stdlib.h> #include "ibm.h" #include "device.h" #include "cdrom-ioctl.h" #include "cdrom-image.h" #include "ide.h" #include "filters.h" #include "sound_opl.h" #include "sound.h" #include "sound_adlib.h" #include "sound_adlibgold.h" #include "sound_audiopci.h" #include "s...
#include "code.h" #include "gf2x.h" #include "hqc.h" #include "nistseedexpander.h" #include "parameters.h" #include "parsing.h" #include "randombytes.h" #include "vector.h" #include <immintrin.h> #include <stdint.h> #include <string.h> /** * @file hqc.c * @brief Implementation of hqc.h */ /** * @brief Keygen of ...
/**HEADER******************************************************************** * * Copyright (c) 2011 Freescale Semiconductor; * All Rights Reserved * *************************************************************************** * * THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR * IMPLIED WARRANTIE...
#include "includes.h" /* Set for tracking memory allocation and free operations */ static bool memStatsEnabled = false; /* Enable memory stats */ void lc_memStatsEnable() { memStatsEnabled = true; } static struct lc_memory { /* Total memory currently used for data pages */ uint64_t m_totalMemory; /...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
#include "../c_header/mpe_weno.h" void exchange_boundary() { //copy_back_boundary_u(); double* tmpdp; tmpdp = c_last_u; c_last_u = c_cur_u; c_cur_u = tmpdp; //just get the cur_u //and exchange its boundary //next step, it will be the last_u exchange_boundary_x_standard_(c_last_u, p...
/* * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that this notice is preserved and that due credit is given * to the University of California at Berkeley. The name of the Univers...
/***************************************************************************** * Copyright(C)2009-2019 by VSF Team * * * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
/* * MIT License * * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include "cosmology.h" #define FUNC(x,y) ((*func)(x,y)) float cosm_midpnt(float (*func)(float, struct cosmology), struct cosmology cosm, float a, float b, int n) { float x, tnm, sum, del, ddel; static float s; int it, j; if (n == 1) { ret...
#include <linux/tcp.h> #include <linux/udp.h> #include <net/if.h> #include <netinet/ether.h> #include <netinet/in.h> #include <netinet/ip.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <linux/if_packet.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <arpa/inet.h> #include <pthread.h> ...
#include <stdio.h> void stampaHeader(); void trovaChiave(int *key); void code(int key); int stringToInt(); void mostraOpzioni(); void indicaOpzione(int *option); int main(void) { int key = 0; // chiave di codifica int option = 256; // puntatore opzione del menu while (key == 0 && ...
// SPDX-License-Identifier: MIT #include <ctype.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "pico/stdlib.h" #include "pico/time.h" #include "tusb.h" #include "mruby.h" #include "mruby/array.h" #include "mruby/proc.h" #include "mruby/compile.h" #incl...
/* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, ...
#include <perfmon/pfmlib_perf_event.h> #include <errno.h> #include <err.h> #include <stdlib.h> #include <string.h> #include <locale.h> #include <sys/time.h> static int enabled = 0; static int *perf_event_fds; static struct perf_event_attr *perf_event_attrs; void nop(void* anything) { } struct timeval* cur_time() { ...
// For getline() (should be fine to require POSIX compliance since OSX // is POSIX-compliant.) #define _POSIX_C_SOURCE 200809L #include <getopt.h> #include <errno.h> #include <stdio.h> #include "cactus.h" #include "sonLib.h" #include "pairwiseAlignment.h" #include "bioioC.h" static void usage(void) { fprintf(stde...
/* * 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...
/* Approccio euristico al salto del cavallo */ #include <stdio.h> #include <stdbool.h> #define N 8 bool isLegal(int x, int y); int bestMove(int x, int y); int lookUp(int x, int y); bool isCircolar(int x, int y); void p_board(); void fillN(); void assignValue(); void resort(int moves[], int siz_1, int m_possibili[]...
#pragma ident "$Id: inbitmap.c,v 1.4 2017/07/20 17:26:55 dechavez Exp $" /*====================================================================== * * Manage input bitmap (channel and pre-amp enable/disable) * *====================================================================*/ #include "qmon.h" #define MUXA ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 <NAME> │ │ ...
/* * Copyright (C) 2008 The Android Open Source Project * * 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <stdint.h> #include <stdbool.h> #include <libgen.h> // dirname, basename #include "lw.h" #include "parson.h" #include "conf.h" #include "str2hex.h" #include "log.h" #include "app.h" #include "v...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> /* -------- aux stuff ---------- */ void _clear(void*); void* mem_alloc(size_t item_size, size_t n_item) { size_t *x = calloc(1, sizeof(size_t)*2 + n_item...
/*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ │vi: set et ft=c ts=8 tw=8 fenc=utf-8 :vi│ ╚──────────────────────────────────────────────────────────────────────────────╝ │ ...
#include "../h/syntax_highlight.h" #include "opl/src/h/system.h" color get_field(char *field, ovp *config, color defaultc){ color retval; /*printf("getting color for:%s\n",field);*/ for(int i=0; i<config->identifiers_size; i++){ if(str_eq(field,config->identifiers[i])){ if(conf...
/* * lib.h - library include for command line tools * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * 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...
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD // All rights reserved. #include <freertos/FreeRTOS.h> #include <freertos/timers.h> #include "va_button.h" #include <media_hal.h> #include <va_mem_utils.h> #include "speaker.h" #include <alerts.h> #include <tone.h> #include <voice_assistant.h> #include "va_dsp.h" ...
/***************************************************************************//** * @file * @brief Parse source file ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> *****************************************...
// #include <FastLED.h> #include <WiFi.h> #include <ESPmDNS.h> // used by OTA #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <wifitechwrangler2.h> // #include <vacawifi.h> //////////////////////////////////////// // GEOMETRY //////////////////////////// //////////////////////////////////////// // which LED str...
/* * Copyright (c) 1996-2001 <NAME>. * See README file for details. */ #include "local.h" int lf_maxit = 20; int lf_debug = 0; static double s0, s1, tol; static lfdata *lf_lfd; static design *lf_des; static smpar *lf_sp; int lf_status; int ident=0; int (*like)(); extern double robscale; void lfdata_init(lf...
/* -*- C -*- */ /* * Copyright (c) 2011-2020 Seagate Technology LLC and/or its Affiliates * * 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...
/* * Copyright (c) 2006, <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 a...
/* Copyright 2018 Canaan 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 agreed to in ...
/* * * Copyright (c) 1991, <NAME> * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * * Revision 1.1.1.1 1998/06/15 21:09:09 pinckney * Initial checkin of the exokernel sources from the MIT repository. This * ...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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...
#include <time.h> #include <errno.h> #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <unistd.h> #include <highgui.h> #include "algorithm/heapsort.h" /** * Build a convex hull for a given set of points * @author: <NAME> **/ #define ON_LINE 0x13 #define SECTION_LOWER 0x11 #define SECTION_UPPER 0x1...
/**************************************************************** transfer.c ============================================================= Copyright 1996-2020 <NAME>. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
/****************************************************************************** * @file main.c * @version V1.00 * $Revision: 5 $ * $Date: 18/07/23 4:56p $ * @brief * Show how a slave receives data from a master in GC (General Call) mode. * This sample code needs to work with I2C_GCMode_M...
/**************************************************************************//** * @file main.c * @version V3.00 * @brief Use BPWM0 channel 0 to capture the BPWM1 channel 0 waveform. * * @copyright SPDX-License-Identifier: Apache-2.0 * @copyright Copyright (C) 2020 Nuvoton Technology Corp. All rights reser...
/** *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 n...
/*- * Copyright (c) 2016 <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...
/*******Test ranks of 100,000 6x8 binary matrices************** *******Each row a byte from a RNG, overlapping rows*************/ #include "header.h" #include "macro.h" /* define a binary matrix */ typedef struct binmatrix { uniform *row; int no_row, no_col; unsigned long mask; } binmatrix; /*print the titl...
struct KeyNameEntry { const WCHAR *pwszName; DWORD dwValue; }; static KeyNameEntry ModKeys[] = { { L"alt", MOD_ALT }, { L"control", MOD_CONTROL }, { L"ctrl", MOD_CONTROL }, { L"shift", MOD_SHIFT }, { L"win", MOD_WIN } }; static KeyNameEntry Keys[...
int skip_line(FILE *fp) // function to skip lines, i.e move cursor to next line ! { int c; while (c = fgetc(fp), c != '\n' && c != EOF); return c; } void get_samples(FILE* fp , double *samples ){ // Read 320 samples from test.txt for step 1 char line_buffer[20]; double Xi; int c = 0; do...
/* Chapter 6 */ /* JobShell.c One program combining three job management commands: Jobbg - Run a job in the background jobs - List all background jobs kill - Terminate a specified job of job family There is an option to generate a console control signal. */ /* Contains several fixes suggested by <...
/* * debugfs.h --- header file for the debugfs program */ #include "ss/ss.h" #include "ext2fs/ext2_fs.h" #include "ext2fs/ext2fs.h" #ifdef __STDC__ #define NOARGS void #else #define NOARGS #define const #endif /* * Flags used by the common argument processing functions */ #define CHECK_FS_RW 0x0001 #define CHEC...
/* -*- C -*- */ /* * Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates * * 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 ...
#include <sys/types.h> #include <stdint.h> #include <string.h> #include <x86intrin.h> #include "avx_hash2.h" static const __m128i k1 = { 0xcc9e2d51db873593, 0xcc9e2d51db873593 }; static const __m256i m1 = { 0xcc9e2d51db873593, 0xcc9e2d51db873593, 0xcc9e2d51db873593, 0xcc9e2d51db873593 }; static const __m256i...
/** *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 n...
/******************************************************************************* * - FILE: worker.c * - DESC: WORKER object. * Master worker object. Maintains memory for all data structures used in pipeline. * Contains data shared by all worker threads. * TODOS: * - ...
/* * Copyright (c) 2022 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...
#include "novoTrab.h" NODE *inicializaNode(int numBolas){ /* Inicializa a estrutura apontando para a primeira caixa. Requer o numero de bolas como parametro da primeira caixa. */ NODE *newBox = (NODE *)malloc(sizeof(NODE)); newBox -> inicio = preencheCaixa(numBolas); // Chama a funcao para preencher as bolas ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2020 ST...
//----------------------------------------------------------------------------// //| //| MachOKit - A Lightweight Mach-O Parsing Library //| _mach_lcstr.c //| //| D.V. //| Copyright (c) 2014-2015 D.V. All rights reserved. //| //| Permission is hereby granted, free of char...
#include <stdio.h> #include <string.h> #include "wavesynth.h" #include "USB.h" int tuning_lookup[] = { 3110, 3295, 3491, 3698, 3918, 4151, 4398, 4661, 4937, 5230, 5542, 5871, 6220, 6590, 6982, 7397, 7837, 8303, 8797, 9320, 9874, 10461, 11084, 11743, 12441, 13181, 13965, 14795, 15975, 16607, 17594, 18641, 19...
/* No copyright is claimed in the United States under Title 17, U.S. Code. All Other 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 limitat...
#include "pdu_sender.h" #include <errno.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> /* INET_ADDRSTRLEN */ #include "clients.h" #include "common.h" #include "config.h" #include "log.h" #include "rtr/pdu_serializer.h" #include "rtr/db/vrps.h" /* * Set all...
#include "libmymap.h" #include "libmymap-rbtree-dump.h" #include <assert.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include "libmymap-rbtree.h" struct MymapObjectTree { struct RBTree node; void* addr_first; void* o; unsigned int size; unsigned int flags; }; //enum RBTreeError ...
/****************************************************************************** @file util.c @brief some utils for this QCM tool. DESCRIPTION Connectivity Management Tool for USB network adapter of Quectel wireless cellular modules. INITIALIZATION AND SEQUENCING REQUIREMENTS None. ------...
#include "tinyspline.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include <stdarg.h> // To use functions with variables arguments #include <string.h> #include <float.h> #define MAX_CURVE_N 100 long double traveled[MAX_CURVE_N] = {0.f}; long double oldEvaluateX[MAX_CURVE_N]; long double oldEvaluate...
/* Copyright © INRIA 2009-2014. Authors: <NAME> & <NAME> Contact: <EMAIL> <EMAIL> This file is part of Yael. Yael 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 ...
/************************************************************************* * Copyright (C) 2017-2019 Barcelona Supercomputing Center * * Centro Nacional de Supercomputacion * * All rights reserved. * * ...
/* * << Haru Free PDF Library 2.0.5 >> -- hpdf_encryptdict.c * * Copyright (c) 1999-2006 <NAME> <<EMAIL>> * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies a...
#include <stdio.h> #include <stdlib.h> #include <math.h> //#pragma warning(disable:4996) /* *created by <NAME> */ #define EPSILON 0.000001 #define MAXT 1.509*(24 * 60 * 60) #define G 6.67 *pow(10,-11) #define M1 .08*1.989*pow(10,30) #define M2 .85*5.9722*pow(10,24) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) /* *I...
#include <stdio.h> #include <stdlib.h> #include <3ds.h> #include <dirent.h> #include <math.h> #include <sys/stat.h> #include "ext.h" #include "actu.h" Result writeFilesToExtdata() { Handle extfile; FS_Archive archive; Result ret; u64 badgeDataSize = 0xF4DF80; u64 badgeMngFileSize = 0xD4A8; u32 extpath[3] =...
#include "main.h" #include "GPIO_STM32F10x.h" //#include "eeprom_stm.h" /** * @brief Watch D0G * @param None * @retval Dong nay o cuoi cung ko thi ko chay : RCC_APB1PeriphClockCmd(RCC_APB1Periph_WWDG, ENABLE); */ void WWDG_Init(void) { /* On Value line devices, WWDG clock counter = (PCLK1 (24MHz)/409...
/* ***************************************************************************** * Copyright (C) 2016 Maxim Integrated Products, Inc., 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 d...
/*-------------------------------------------------------------------------- File : sdcard.c Author : <NAME> June 9, 2011 Desc : SD card driver Copyright (c) 2011, I-SYST, all rights reserved Permission to use, copy, modify, and distribute this software for any purpose with or without fee is ...
// // An application which initializes the coprocessor and rf resampler // // #include <stdlib.h> #include <stdint.h> #include <ajit_access_routines.h> #include <core_portme.h> #include <math.h> #include <navic_includes.h> #include <app_defines.h> #include <acquire.h> #include <satellite.h> #include <hook_includes.h> ...
#include "jsonobj_delete.h" static struct jsonObj *jsonObjDeleteFromBox(unsigned char box, sds populate_as); /* ==================================================================== * Recusively Delete Entire Document * ==================================================================== */ /* Largely copied from lr...
/* -*- Mode: c; c-basic-offset: 2 -*- * * raptor_nfc_test.c - Raptor Unicode NFC validation check * * Copyright (C) 2004-2006, <NAME> http://purl.org/net/dajobe/ * Copyright (C) 2004-2004, University of Bristol, UK http://www.bristol.ac.uk/ * * This package is Free Software and part of Redland http://librdf.org...
/* 高精度除法 */ #include <stdio.h> #include <string.h> #include <stdlib.h> /* 全局变量,存储大数运算的结果 */ char c[1000]; /* 高精度除以高精度的余数 */ char arr[1000]; /* 高精度除以低精度的余数 */ long z=0; /* 判断字符串ch是否全为0 * 若全为0,返回0,否则返回1 */ int Judge(char ch[]) { int i,k; k=strlen(ch); for(i=0;i<k;i++) if(ch[i]!='0') ...
/* GCVideo DVI Updater Copyright (C) 2019-2020, <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,...
#include <signal.h> #include <errno.h> #include "biblioteca.h" #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> /* Estructura que almacena los datos de una reserva. */ typedef struct { int posiciones[ANCHO_AULA][ALTO_AULA]; int cantidad_de_personas; int rescatistas_disponibles; int para_salir;...
/* ---- A Lempel-Ziv-Welch (LZW) Algorithm Implementation ---- Filename: LZWGT.C Description: An LZW implementation using a Binary Search Tree. Author: <NAME>, 2005/2009/2010 Decompression program: LZWGTD.C We reserve code 256 as the END-of-FILE code (EOF_LZW_CODE). *Variable-length* l...
/* * Phoenix-RTOS * * Operating system kernel * * VGA console * * Copyright 2012, 2016, 2020, 2021 Phoenix Systems * Copyright 2001, 2005-2008 <NAME> * Author: <NAME>, <NAME> * * This file is part of Phoenix-RTOS. * * %LICENSE% */ #include "../console.h" #include "../string.h" #include "../spinlock.h" #i...
/* BAREOS® - Backup Archiving REcovery Open Sourced Copyright (C) 2000-2010 Free Software Foundation Europe e.V. Copyright (C) 2011-2012 Planets Communications B.V. Copyright (C) 2013-2013 Bareos GmbH & Co. KG This program is Free Software; you can redistribute it and/or modify it under the terms of...
/*-------------------------------------------------------------------- * Symbols referenced in this file: * - operator_precedence_warning *-------------------------------------------------------------------- */ /*------------------------------------------------------------------------- * * parse_expr.c * hand...
/* Copyright (c) 2017, <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...
/* $OpenBSD: modload.c,v 1.43 2007/11/25 19:21:37 mikeb Exp $ */ /* $NetBSD: modload.c,v 1.30 2001/11/08 15:33:15 christos Exp $ */ /* * Copyright (c) 1993 <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
/*************************************************************************** Gomoku sound driver (quick hack of the Wiping sound driver) used by wiping.c ***************************************************************************/ #include "emu.h" #include "streams.h" #include "includes/gomoku.h" ...
/* * Copyright (c) 2009 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
#include "dragonflylib.h" #include <mpi.h> #include <unistd.h> typedef struct hotspot_t { double value; int id; } HotSpot; void DA_Parallel(int id, int p, int iteration, int dragonfly_no, int dim, int test_func, Result result); int main(int argc, char *argv[]) { int id, p; Result result; MPI_Ini...
#include <string.h> #include <stdlib.h> #include "Lexer.h" #include "Token.h" #include "HashTable.h" #include "Token_Data.h" #include "Lexer_init.h" #include "Dfa_init.h" //////////// // Arrays // //////////// char *error_evaluate_error_strings[] = { /*STATE_N_START*/ "Unexpected character, not in language", /*...
#include "../common/pch.h" #define TIMEOUT 5.0 void parse_url(char* url, char** hostname, char** port, char** path); void send_request(SOCKET s, char* hostname, char* port, char* path); SOCKET connect_to_host(char* hostname, char* port); int main(int argc, char* argv[]) { // Winsock is initialized, if needed #if def...
/* * File: Fixed point_test_2_BRL4.c * Author: <NAME> * For use with Sean Carroll's Big Board * Adapted from: * main.c by * Author: <NAME> * Target PIC: PIC32MX250F128B */ //////////////////////////////////// // clock AND protoThreads configure! // You MUST check this file! #incl...
/* Copyright 1990, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in suppor...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
/****************************************************************\ * * * Code generation module for C4 * * * * <NAME>.. mailto:<EMAIL> * *...
/* * $RCSfile: phone.h,v $ * $Revision: 1.9 $ * $Author: yooh1 $ * $Date: 2011/06/23 00:17:05 $ */ /************************************************************************ * * phone.h * * Definitions for Phone Module's internal users. * * Copyright 2004 - 2009 Conexant Systems, Inc. * 4000 M...