text
stringlengths
5.8k
28.2k
/* errhan.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; /* $Procedure ERRHAN ( Insert DAF/DAS file name into long error messag...
/* * File: ash-v3.h * Description: ASHv3 Functionality for realiable UART communication * * Copyright 2013 by Silicon Laboratories. All rights reserved. *80* */ /** * @addtogroup ashv3 * @verbatim ASHv3 Header (4 bytes) 0 1 2 3 +-+-+-+-+-...
/* pnmcrop.c - crop a portable anymap ** ** Copyright (C) 1988 by <NAME>. ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both that ** copyright notic...
/* транспорт, T13.654-T14.596 $DVS:time$ */ #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include "transport.h" #include "storage.h" #include "block.h" #include "netdb.h" #include "init.h" #include "sync.h" #include "miner.h" #include "pool.h" #include "version.h" #include "../dnet/dn...
/*----------------------------------------------------------------------------*/ /* Big Brother webpage generator tool. */ /* */ /* This is a replacement for the "mkbb.sh" and "mkbb2.sh" scripts from the ...
#include <stdlib.h> #include <gtk/gtk.h> #include <epoxy/gl.h> #include <gthree/gthree.h> #include "utils.h" GthreeScene *scene; GthreePerspectiveCamera *camera; GthreeObject *group = NULL; GthreeScene *ortho_scene; GthreeOrthographicCamera *ortho_camera; GthreeTexture *sprite0_texture; GthreeTexture *sprite1_text...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
/* * Driver for the Epson RTC module RX-6110 SA * * Copyright(C) 2015 Pengutronix, <NAME> <<EMAIL>> * Copyright(C) SEIKO EPSON CORPORATION 2013. All rights reserved. * * This driver software is distributed as is, without any warranty of any kind, * either express or implied as further specified in the GNU Public...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* * ***** 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 License, or (at your option) any later version. * * This program is ...
/********************************************************************* * * $Id: dbficonv.c,v 1.3 2008/04/21 18:23:17 woodbri Exp $ * * dbfxlate * Copyright 2005, <NAME>, All rights Reserved * Redistribition without written permission strictly prohibited * ************************************************************...
/* * Copyright (c) 1993-1994 by Xerox Corporation. All rights reserved. * * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. * * Permission is hereby granted to use or copy this program * for any purpose, provided the above notices are retained ...
/* $NetBSD: ibm40x_machdep.c,v 1.2 2003/12/30 12:33:19 pk Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. * All rights reserved. * * Written by <NAME> and <NAME> for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
/***************************************************************************** * * Elmer, A Finite Element Software for Multiphysical Problems * * Copyright 1st April 1995 - , CSC - IT Center for Science Ltd., Finland * * This library is free software; you can redistribute it and/or * modify it under the term...
#include "eaarlio/error.h" #include "eaarlio/memory_support.h" #include "eaarlio/raster.h" #include "eaarlio/tld.h" #include "greatest.h" #include "assert_error.h" #include "mock_memory.h" #include "mock_stream.h" #include <assert.h> #include <math.h> #include <stdint.h> #include <stdio.h> #ifdef _MSC_VER /* Visual St...
#include <assert.h> #include <fcntl.h> #include <pthread.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <complex.h> #include <math.h> #include <portaudio.h> // Compile with: gcc synth.c -Wall -pthread -lm -lportaudio -O3 -o synth `pkg-config --cflags gtk+-3.0` `pkg-config -...
/* smtpauth.c -- authenticate to SMTP server, then give normal protocol * * uses sfio * */ #include <config.h> #include <sfio.h> #include <sfio/stdio.h> #include <ctype.h> #include <pwd.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/file.h> #include <netinet/in.h> #include <netdb.h> #include <uni...
/** * Copyright 2018 * * \author <<EMAIL>> * * 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 la...
#include <string.h> #include "types.h" #include "debug.h" #include "heap.h" #include "djtimer.h" #include "wkpf.h" #include "wkpf_wuobjects.h" #include "wkpf_properties.h" #include "wkpf_links.h" wuobject_t *wuobjects_list = NULL; uint16_t last_updated_wuobject_index = 0; uint16_t last_propagated_property_wuobject_ind...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not ...
/* * NanoWM - Window Manager for Nano-X * * Copyright (C) 2000, 2010 <NAME> <<EMAIL>> * Copyright (C) 2000 <NAME> <<EMAIL>> */ static void set_resize_cursor(int wid); /* * This function performs a depth first search on window * and finds if any of its children has focus. * i.e. wid equal to ref * -- <NAME...
/* * Copyright (c) 2015 Google 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 notice, * this list of conditions and...
#define _XOPEN_SOURCE 220112L #define _POSIX_C_SOURCE 200112L #define _GNU_SOURCE /** * @file myfind.c * * Beispiel 1 *@brief This is a simple GNU-like Find command. * A clone of the Find -> myfind with 5 implementation of the find options * * @author <NAME> <ic16b026> * @author <NAME> <ic16b089> * @details ...
/* * Copyright 1994 by OpenVision Technologies, Inc. * * 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 appears in all copies and * that both that copyright notice and this permi...
#include "../include/siphon/hash.h" #include "../include/siphon/endian.h" #include <ctype.h> uint32_t sp_mix_uint32 (uint32_t x) { x ^= x >> 16; x *= 0x85ebca6b; x ^= x >> 13; x *= 0xc2b2ae35; x ^= x >> 16; return x; } uint32_t sp_mix_uint32s (uint32_t x, uint32_t y) { static const uint32_t mul = 0xdeadfa11; ...
/* * conversion from text forms of addresses to internal ones * Copyright (C) 2000 <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 (...
/* SC A Spreadsheet Calculator * Range Manipulations * * <NAME>, 4/87 * * $Revision: 7.16 $ */ #include <sys/types.h> #ifdef BSD42 #include <strings.h> #else #ifndef SYSIII #include <string.h> #endif #endif #include <stdio.h> #include <ctype.h> #include <unistd.h> #include <curses.h> #include "s...
/* * link_ip6tnl.c ip6tnl driver module * * 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. * * Authors: <NAME...
/* id3dump: Print ID3 tags of files, scanned using libmpg123. copyright 2007 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by <NAME> */ #include "config.h" #include "compat.h" #include "mpg123.h" #include ...
/* * 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; version 2 of the License * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
// SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE #include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) typedef unsigned int u32; typedef unsigned long long u64; char *def_csv = "/usr/share/misc/cpuid.csv"; char *...
// Lab 2-3. // This is the same as the first simple example in the course book, // but with a few error checks. // Remember to copy your file to a new on appropriate places during the lab so you keep old results. // Note that the files "lab1-1.frag", "lab1-1.vert" are required. // Should work as is on Linux and Mac. M...
/* nv.c - a name-value tool using System V shared memory. * * `nv(1)` is a simple tool to demonstrate the usage of System V shared * memory as a means of interprocess communication. It is able to parse * scripts and execute them based on the contents of a shared memory * segment, possibly previously created and concurr...
/******************** (C) COPYRIGHT 2012 ************************************** * File Name : co1.c * Hackeroo : deh * Date First Issued : 12/25/2012 * Board : STM32F103VxT6_pod_mm * Description : Use pod board to prototype a sensor logger ### DEH OLIMEX 1 ### *******************...
/* * Copyright © 2007 <NAME> * Copyright © 2007 Red Hat, Inc. * * 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, c...
/* * Copyright (c) 1999, Traakan Software * 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 unmodified, this...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <GL/glut.h> #include "texture.h" /* Some <math.h> files do not define M_PI... */ #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifndef __sgi /* Most math.h's do not define float versions of the trig functions. */ #define s...
void generate_gauss_filter(XRESOURCES* res) { //interpolate blur kernel int i; int j; double first = 1.0 / (2.0 * M_PI * BLUR_SIGMA * BLUR_SIGMA); double div = 2.0 * BLUR_SIGMA * BLUR_SIGMA; double val; double sum = 0.0; int half_dim = BLUR_KERNEL_DIM / 2; // generate gauss values for (i = half_dim * (-1.0)...
// // glob.c // // Path name pattern matching // // Copyright (C) 2002 <NAME>. All rights reserved. // // This code is derived from software contributed to Berkeley by // <NAME>. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following condition...
/*-------------------------------------------------------------*/ /*--- Private header file for the library. ---*/ /*--- bzlib_private.h ---*/ /*-------------------------------------------------------------*/ /* ---------------------------------------------------...
#ifndef lint static const char RCSid[] = "$Id: bsdfmesh.c,v 2.8 2013/03/20 01:00:22 greg Exp $"; #endif /* * Create BSDF advection mesh from radial basis functions. * * <NAME> */ #ifndef _WIN32 #include <unistd.h> #include <sys/wait.h> #include <sys/mman.h> #endif #define _USE_MATH_DEFINES #include <stdio.h> #incl...
#include <assert.h> #include <string.h> #include "reference_impl.h" #define CHUNK_START 1 << 0 #define CHUNK_END 1 << 1 #define PARENT 1 << 2 #define ROOT 1 << 3 #define KEYED_HASH 1 << 4 #define DERIVE_KEY_CONTEXT 1 << 5 #define DERIVE_KEY_MATERIAL 1 << 6 static uint32_t IV[8] = { 0x6A09E667, 0xBB67AE85, 0x3C6E...
/* * 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...
/* $OpenBSD: client.c,v 1.22 2011/03/31 09:19:35 sobrado Exp $ */ /* * Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistrib...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "ED25519/sha512.h" #include "ED25519/ed25519.h" /* To build: 1. download ED25519 code from https://github.com/encedo/ed25519 or https://github.com/orlp/ed25519 to folder ED25519 2. compile gcc signer.c ED25519/*....
/* szip.c * * Copyright 1997,1998,2021 <NAME> <EMAIL> * * 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...
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2002 Open Source Development Labs, Inc. * 2002-2022 <NAME> * * 7 August 2002 */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #inclu...
#include <sys/types.h> #include <sys/time.h> #include <string.h> #include "report.h" #include "serial.h" #include "vmsfs.h" #include "maple.h" #include "dc_time.h" #include "notlibc.h" //gtext #include "video.h" #include "gtext.h" //#include "cdfs.h" #include "ta.h" #ifdef VMUCOMPRESS #include "zlib.h" #endif #defi...
/* * Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2002 Internet Software Consortium. * * 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...
/* PLAN - tremolo and other effects by feeding $d41b in to other controls regularly */ #include <stdbool.h> #include <stdint.h> #include <c64.h> #include <conio.h> #include <stdlib.h> // The 6481 registers are write-only, so a copy of their values must be kept // for display: struct __sid _shadow_SID; // So tha...
/* The MIT License (MIT) * * Copyright (c) 2020 Monetra Technologies, LLC. * * 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 righ...
/****************************************************************************** * @file system_XMC4500.c * @brief Device specific initialization for the XMC4500-Series according * to CMSIS * @version V2.6 * @date 14 May 2012 * * @note * Copyright (C) 2011-2012 Infineon Technologies AG. All rights r...
/* * Copyright (c) 2007 - 2015 <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, merge, publi...
/* * ISC License * * Copyright (C) 1984-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...
/* (C) Copyright 2010, 2011, 2012 <NAME> * * This file is part of MCL. You can redistribute and/or modify MCL under the * terms of the GNU General Public License; either version 3 of the License or * (at your option) any later version. You should have received a copy of the * GPL along with MCL, in the file CO...
/* Topology Builder <NAME> IUPUI Physics Dept. NMR Center 402 N. Blackford St. Indianapolis, IN 46202 USA Defining declarations for external variables Created solely for increased portability based on a suggestion in Harbison & Steele (1984) C: A Reference Manual, Prenti...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "mesh.h" #include <unistd.h> #include "pdb_coordinates.h" #include <getopt.h> #include "parameters.h" // IMPLEMENT CORRECT CALL TO MESH API /*void contacMap (pdbCoordinateContainer_t *pdbCoordinateContainerI, pd...
/*** btree.c -- simple b+tree impl * * Copyright (C) 2016-2021 <NAME> * * Author: <NAME> <<EMAIL>> * * This file is part of clob. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of ...
// ---------------------------------------------------------------------------- // // ** ** ** ** **** ** ********** ********** ® // ** ** ** ** ** ** ** ** ** // ** ** ** ** ** ** ** ** ** // ** ...
/** * \copyright * MIT License * * Copyright (c) 2020 Infineon Technologies AG * * 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 ...
struct File *readFile(char*); #include "shell_commands.h" #include "kernel.h" #include "sh_exec.c" #include "util.h" #include "sh_lisp.c" #include "buildData.h" #include "driver.h" #include "editor.h" char *shCommandList[] = {"shell", "read", "exec", "edit", "ls", "head","cat", "textdump", "memdump", "help", "glissa...
/*- * Copyright (c) 2016 <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...
/* Based on the public domain implementation in * crypto_hash/keccakc512/simple/ from http://bench.cr.yp.to/supercop.html * by <NAME> * and the public domain "TweetFips202" implementation * from https://twitter.com/tweetfips202 * by <NAME>, <NAME>, and <NAME> */ #include <stdint.h> #include <assert.h> #include "...
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <inttypes.h> #include "vx_world.h" #include "common/zarray.h" #include "vx_resc.h" #include "vx_codes.h" // The most important job the world does is to coordinate buffer swapping. // On a buffer swap, we must carefully serialize...
#include "awral.h" #include <math.h> #include <stdio.h> #include <stdlib.h> const int HYPS_LEN = 20; // +++ Should be supplied as input value; 20 hardcoded in other places void copycells(const double *restrict in, double *restrict out, int len) { for (int i =0; i<len; i++){ out[i] = in[i]; } } void b...
/* * stm32f407XX_spi_driver.c * * Created on: Nov 27, 2021 * Author: pro */ #include "stm32f407xx_spi_driver.h" // spi peripheral clock control void SPI_PeripheralClockControl(SPI_RegDef_t *pSPIx , uint8_t EnorDi) { if (EnorDi == ENABLE) { if (pSPIx == SPI1) { SPI1_CLOCK_ENABLE(); }else if (...
/* * $Id$ * * Copyright (C) 2003 <NAME>, <NAME> * * This file is part of paparazzi. * * paparazzi 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 ...
# include <stdio.h> # include <stdlib.h> /* calloc */ # include <string.h> # include <math.h> /* fabs, sqrt */ # include "c_iraf.h" # include "hstio.h" # include "xtables.h" # include "stis.h" # include "calstis7.h" # include "hstcalerr.h" # include "stisdef.h" typedef struct { IRAFPointer tp; /* pointer to tab...
/* main.c - Application main entry point */ /* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/types.h> #include <ztest.h> #include <stdbool.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <misc/printk.h> #include <linker/sections.h> #incl...
/*****************************************************************************\ ** ** ** FILE: distclub.c ** ** AUTHORS: Alexios ** **...
/* * Acess2 * Common Library Functions */ #include <acess.h> // === CONSTANTS === // Jan Feb Mar Apr May Jun Jul Aug Sept Oct Nov Dec const short DAYS_BEFORE[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; #define UNIX_TO_2K ((30*365*3600*24) + (7*3600*24)) //Normal years...
/*********************************************************** Copyright 1987, 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 co...
/* * 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...
/* * MIT License * * Copyright (c) 2018 <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...
/* $OpenBSD: boot.c,v 1.2 2004/09/09 22:11:39 pefo Exp $ */ /* * Copyright (c) 2004 Opsycon AB, www.opsycon.se. * * 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 t...
/*++ /* NAME /* smtp_addr 3 /* SUMMARY /* SMTP server address lookup /* SYNOPSIS /* #include "smtp_addr.h" /* /* DNS_RR *smtp_domain_addr(name, misc_flags, why) /* char *name; /* int misc_flags; /* VSTRING *why; /* /* DNS_RR *smtp_host_addr(name, misc_flags, why) /* char *name; /* int misc_flags; /* VSTRING *why; /* DE...
// SPDX-License-Identifier: GPL-2.0 /* * Texas Instruments CPSW Port's PHY Interface Mode selection Driver * * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ * * Based on cpsw-phy-sel.c driver created by <NAME> <<EMAIL>> */ #include <linux/platform_device.h> #include <linux/module.h> #inc...
/*- * Copyright (c) 2011 NetApp, Inc. * Copyright (c) 2015 xhyve developers * 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 copy...
/* Copyright (C) Intel Corp. 2006. All Rights Reserved. Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to develop this 3D driver. 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 ...
/* * 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 the hope that it will be use...
#if MINIMIZE_INCLUDES #include <stdarg.h> int sscanf(const char *s, const char *format, ...); typedef unsigned long size_t; size_t strlen(); char *strcpy(), *strdup(), *strstr(), *getenv(); void *calloc(), *malloc(), *memset(), *memmove(); void exit(); /* lots of math functions from math.h */ extern double acos(doub...
/* *************************************************************************** * * Copyright 2019 Samsung Electronics 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. * You may obtain a copy of the License a...
/* PDCurses */ #include "pdcsdl.h" #include <ctype.h> #include <string.h> static SDL_Event event; static SDL_Keycode oldkey; static MOUSE_STATUS old_mouse_status; static const struct { SDL_Keycode keycode; bool numkeypad; unsigned short normal; unsigned short shifted; unsigned short control; ...
/* * Copyright (C) 2019 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm/e820.h> #include <asm/mmu.h> #include <asm/guest/vm.h> #include <asm/guest/ept.h> #include <reloc.h> #include <vacpi.h> #include <logmsg.h> #include <asm/rtcm.h> #include <ptdev.h> #define EN...
/** @file Copyright (c) 2016-2018, Marvell International Ltd. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://openso...
/* * * lucille | Global Illumination Renderer * * Copyright 2003-2203 <NAME> (<EMAIL>) * * */ /* * Copyright 2003-2203 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
/** * @file * Ethernet Interface Skeleton * */ /* * Copyright (c) 2001-2004 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. Redistribution...
#include "maxminddb_test_helper.h" MMDB_entry_data_list_s *test_array_value(MMDB_entry_data_list_s *entry_data_list) { MMDB_entry_data_list_s *array = entry_data_list = entry_data_list->next; cmp_ok(array->entry_data.type, "==", MMDB_DATA_TYPE_ARRAY, "'array'...
/* * Copyright 1996, 1997, 1998, 1999 <NAME> */ /* mkreiserfs is very simple. It supports only 4 and 8K blocks. It skips first 64k of device, and then writes the super block, the needed amount of bitmap blocks (this amount is calculated based on file system size), and root block. Bitmap policy is primiti...
/* * FIG : Facility for Interactive Generation of figures * Copyright (c) 1985-1988 by <NAME> * Parts Copyright (c) 1989-2007 by <NAME> * Parts Copyright (c) 1991 by <NAME> * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalt...
/* * aflib_ipc_common.c * * Contains the code common to servers and clients * * Copyright (c) 2015-2016 Afero, Inc. All rights reserved. * */ #include <string.h> #include <errno.h> #include <pthread.h> #include <stdlib.h> #include "af_ipc_common.h" #include "af_ipc_prv.h" #include "af_log.h" uint16_t af_ipc_get...
/* * Copyright (c) 2019 kosay All rights reserved. * * See the file 'LICENSE' for licensing information. * */ /* * Copyright (c) 2006-2013 The StarBED Project All rights reserved. * * See the file 'LICENSE' for licensing information. * */ /******************************************************************...
/** * @cond internal * @file strobe.c * @copyright * Copyright (c) 2015-2016 Cryptography Research, Inc. \n * Released under the MIT License. See LICENSE.txt for license information. * @author <NAME> * @brief STROBE and spongerng instances. * @warning All APIs in here are toys. They will change behavior ...
/* debug.h: if DEBUG defined: debugging macro fprintf wrappers else: macros defined to do nothing That saves typing #ifdef DEBUG all the time and still preserves lean code without debugging. public domain (or LGPL / GPL, if you like that more;-) generated by debugdef.pl, what was trivially written by <NAME...
/* gngeo a neogeo emulator * Copyright (C) 2001 <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 ve...
/* * --INFO-- * Address: 8020CC78 * Size: 0001F8 */ void UpdateIconOffsets(void) { /* .loc_0x0: lwz r8, 0x2C(r3) addis r0, r8, 0x1 cmplwi r0, 0xFFFF bne- .loc_0x24 li r0, 0 stb r0, 0x2E(r4) li r8, 0 sth r0, 0x34(r4) sth r0, 0x36(r4) ...
#include "ptest.h" #include "../mpc.h" void test_grammar(void) { mpc_parser_t *Expr, *Prod, *Value, *Maths; mpc_ast_t *t0, *t1, *t2; Expr = mpc_new("expression"); Prod = mpc_new("product"); Value = mpc_new("value"); Maths = mpc_new("maths"); mpc_define(Expr, mpca_grammar(MPCA_LANG_DEFAULT, " <p...
/* * Copyright (C) 2015 Ell-i open source co-operative * <NAME> <<EMAIL>> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup drivers_encx24j600 * @{ ...