text
stringlengths
5.8k
28.2k
/* * proc01.c - Tests Linux /proc file reading. * * Copyright (C) 2001 <NAME> <<EMAIL>> * Copyright (c) 2008, 2009 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Found...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_DIRECTORY_ENTRY_NAME_LENGTH 208 #define HKFS_END_OF_CHAIN 0xFFFFFFFFFFFFFFFF enum hkfs_header_offsets_t { HKFS_HEADER_JUMP_TO_CODE_OFFSET = 0, HKFS_HEADER_SIGNATURE_OFFSET = 2, HKFS_HEADER_VERSION_OFFSET = 6, H...
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
/* * Copyright (c) 1990,1997, Silicon Graphics, Inc. * ALL RIGHTS RESERVED * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the above * copyright notice appear in all copies and that both the copyright notice * and this permission...
#include <pebble.h> #include <pebble-effect-layer/pebble-effect-layer.h> #include "main.h" #include "languages.h" #include "ctype.h" #ifdef PBL_RECT // on rectangular watches need to dynamically change DoW font based on length GFont font_neon_18, font_neon_22; #endif Window *my_window; Layer *window_layer; GRect w...
/* ----------------------------------------------------------------------------- PicoModel Library Copyright (c) 2003, <NAME> & seaw0lf All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * AMD MP2 platform driver * * Setup the I2C adapters enumerated in the ACPI namespace. * MP2 controllers have 2 separate busses, up to 2 I2C adapters may be listed. * * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> */ #include <linux/acpi.h> #inclu...
// SPDX-License-Identifier: GPL-2.0-or-later /* * cx18 ADEC VBI functions * * Derived from cx25840-vbi.c * * Copyright (C) 2007 <NAME> <<EMAIL>> */ #include "cx18-driver.h" /* * For sliced VBI output, we set up to use VIP-1.1, 8-bit mode, * NN counts 1 byte Dwords, an IDID with the VBI line # in it. * T...
/** * user32.c * * Author: <NAME> * License: MIT * License URL: https://opensource.org/licenses/MIT * */ #include "system32.h" #include "system32.c" #include "sts32/notes.h" #include "sts32/presets.h" #include "user32_tempo.h" #include "user32_percussion.h" #include "user32_sample.h" /** * Global Variables an...
/* * Copyright (C) 2019-2021 Data Ductus AB * * 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 following disc...
/* Extended Module Player * Copyright (C) 1996-2018 <NAME> and <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...
#include <stdio.h> #include <stdint.h> /* Opcode definitions */ #define OP_SPM 0x04 /* src1 = R1, src2 = R2 */ #define OP_BALR 0x05 /* src1 = R1, src2 = R2 */ #define OP_BCTR 0x06 /* src1 = R1, src2 = R2 */ #define OP_BCR 0x07 /* src1 = R1, src2 = R2 */ #define...
/* * File: main.c * * ?? * Main file for the Gramado Network Server. * * * History: * 2020 - Created by <NAME>. */ #include <gns.h> // // == Gramado Network Protocol =============================== // // Standard. (First version) // This is the standard header. #define GNP_WID 0 ...
/* Copyright (C) 1996-2001 Id Software, Inc. Copyright (C) 2002-2009 <NAME> and others Copyright (C) 2011-2016 OldTimes Software 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 ...
/*- * Copyright (c) 2014-present MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" /* * It wasn't possible to open standalone files in historic WiredTiger databases, you're done if you * lose the...
/* * Copyright (c) 2021 hpmicro * * SPDX-License-Identifier: BSD-3-Clause * */ /*---------------------------------------------------------------------* * Includes *---------------------------------------------------------------------*/ #include "board.h" #include "hpm_enet_drv.h" #include "hpm_conctl_regs.h" /...
/* * Copyright (C) 2010-2011 <NAME> <<EMAIL>> * Copyright (C) 2010-2011 LunarG Inc. * * drm_gem_intel_copy is based on xorg-driver-intel, which has * * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. * All Rights Reserved. * Copyright (c) 2005 <NAME> <<EMAIL>> * * Permission is hereby granted,...
#include "csGraphics.h" #include "csInput.h" #include "csUtility.h" #include "csCurl.h" #include "csMap.h" #include "csAudio.h" typedef struct _intArray { int* arr; int length; } intArray; size_t randIntCallback(char* ptr, size_t size, size_t nmemb, void* userdata); void getNewRandInts(intArray* arr); int get...
#include "lm5710.h" #include "init_defs.h" /* Vnics per mode */ #define ECORE_PORT2_MODE_NUM_VNICS 4 /* QM queue numbers */ #define ECORE_ETH_Q 0 #define ECORE_TOE_Q 3 #define ECORE_TOE_ACK_Q 6 #define ECORE_ISCSI_Q 9 #define ECORE_ISCSI_ACK_Q 11 #define ECORE_FCOE_Q 10 /* Vnics per mode */ #define ECORE_P...
/*#*STARTLICENCE*# Copyright (c) 2005-2009, Regents of the University of Colorado 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, ...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
/* * 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 ...
#include "atlas_misc.h" #include "atlas_threads.h" #include "atlas_tlvl3.h" #include "math.h" /* * Recursive decompositon on trapazoidal-shaped matrix ($C$ after splitting) */ #ifndef ATL_MINL3THRFLOPS #ifdef ATL_TGEMM_ADDP #define ATL_MINL3THRFLOPS \ (((2.0*ATL_TGEMM_ADDP)*ATL_TGEMM_ADDP)*ATL_TGEMM...
/* cabinet decompression regression test suite */ #ifdef HAVE_CONFIG_H # include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <mspack.h> #include <system.h> #define __tf3(x) #x #define __tf2(x) __tf3(x) #define TESTFILE(fname) (__tf2(TEST_FILES) "/" fname) unsigned int test_...
#include "nocc.h" struct Preprocessor { Vec *result; Token **tokens; int index; Vec *include_directories; Vec *include_stack; Map *macros; Map *keywords; }; typedef struct Preprocessor Preprocessor; void pp_push_token(Preprocessor *pp, Token *t); void pp_else(Preprocessor *pp, bool accept...
#include "label.h" #include "dfont.h" #include "shader.h" #include "opengl.h" #include "matrix.h" #include "spritepack.h" #include "screen.h" #include "array.h" #include <assert.h> #include <string.h> #include <stdio.h> #define TEX_HEIGHT 1024 #define TEX_WIDTH 1024 #define FONT_SIZE 31 #define TEX_FMT GL_ALPHA stat...
#include "regex.h" char* mError = NULL; /************************* * answer: must be deallocated after the call to match and align iif succeeded * regex: regex string * tomatch: the string to match with the regex * **************************/ int matchandalign(char** answer,char* regex,char* tomatch,int exactlymatch,...
/* $OpenBSD: uark.c,v 1.1 2006/08/14 08:30:22 jsg Exp $ */ /* * Copyright (c) 2006 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies....
/*! \file bcma_cli_parse_data_net.c * * Parse data drivers for net objets */ /* * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to * Broadcom Limited and/or its subsidiaries. * * Broadcom Switch Software License * * This license governs the use of the accompanying Broadcom software. Y...
/* * Copyright 2012 <NAME> (<EMAIL>) * * Based on sample code by <NAME>, available at * http://audioprograming.wordpress.com/2012/03/03/android-audio-streaming-with-opensl-es-and-the-ndk/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
/* * Copyright (c) 2013, infinit.io * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information on the terms and * conditions. */ #inc...
/* * OpenBOR - http://www.chronocrash.com * ----------------------------------------------------------------------- * All rights reserved, see LICENSE in OpenBOR root for details. * * Copyright (c) 2004 - 2014 OpenBOR Team */ // Generic control stuff (keyboard+joystick) #include "video.h" #include "globals.h" #i...
/* * eCTF Collegiate 2020 MicroBlaze Example Code * Audio Digital Rights Management */ #include <stdio.h> #include "platform.h" #include "xparameters.h" #include "xil_exception.h" #include "xstatus.h" #include "xaxidma.h" #include "xil_mem.h" #include "util.h" #include "secrets.h" #include "xintc.h" #include "const...
#include "Banks/SetBank7.h" #include "../res/src/diagnew.h" #include "../res/src/font.h" #include "../res/src/tiles.h" #include "../res/src/mapboss0.h" #include "../res/src/mapboss1.h" #include "../res/src/mapboss2.h" #include "../res/src/mapboss3.h" #include "../res/src/mapboss4.h" #include "ZGBMain.h" #include "Scr...
#include <stdlib.h> #include "play.h" #include "lsk_ui.h" #include "level.h" #include "entities.h" #include "string.h" static const int W = 600; static const int H = 600; int ox = 50; int oy = 70; static const Vector2 origin = { 0, 0 }; static const Color background = {28, 17, 23, 255}; Rectangle enemy_spites[4] = {...
/* * 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...
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "button.h" #include "conf.h" #include "data.h" #include "debug.h" #include "led.h" #include "syscfg.h" #include "wifi.h" volatile uint32_t g_SystemTick = 0; volatile uint32_t g_SystemDelay = 0; static char g_httpHeader[HTTP_HEADER...
/** * Logger * * Processor: PIC32MZ2048EFM100 * Compiler: Microchip XC32 * Author: <NAME> * Created: 2016-2017 */ #include "Logger.h" // Count number of seconds and milliseconds since start of code execution volatile uint32_t seconds = 0; volatile uint32_t millis = 0; // State/status variables de...
/*$ Copyright (c) 2014-2017, Azel All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
/* type1.c -- translate human readable text to a type 1 font */ #include <stdio.h> #include <ctype.h> #include <string.h> #include <stdarg.h> #include <stdlib.h> #ifdef _MSC_VER /* defined by Microsoft Compiler */ #include <fcntl.h> #include <io.h> #endif #define streq(s, t) (strcmp(s, t) == 0) #define length_of(ar...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <netdb.h> #include <sys/select.h> #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #include <arpa/inet.h> #include <limits.h> #include <sys/stat.h> #include "openssl/ssl.h" #include "openssl/err.h" #include "fram...
/* IOS Project 2 Multiprocess program with semafores Autor: <NAME> (xkoval20) */ #include <stdio.h> #include <unistd.h> #include <wait.h> #include <stdlib.h> #include <semaphore.h> #include <sys/mman.h> #include <sys/shm.h> #define SharedMemoryKey 4242 //shared memory struct typedef struct{ int va...
//****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
#include "core.h" #include "platform.h" #include "error.h" #include "str.h" #include "server.h" #include "world.h" #include "event.h" #include <zlib.h> void Worlds_SaveAll(cs_bool join, cs_bool unload) { for(cs_int32 i = 0; i < MAX_WORLDS; i++) { World *world = Worlds_List[i]; if(i < MAX_WORLDS && world) { if...
/* <NAME>, <NAME>, <NAME> Milestone 3 Team 1-F */ #define PRINT_STRING 0 /* args: char* */ #define READ_STRING 1 /* args: char* */ #define READ_SECTOR 2 /* args: char*, int */ #define READ_FILE 3 /* args: char*, char* */ #define EXECUTE_PROG 4 /* args: char* */ #define TERMINATE 5 #define WRITE_SECTOR 6 /* args:...
#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...
////////////////////////////////////////////////////////////////////// //// //// //// Interrupt-driven Ethernet MAC test code //// //// //// //// Description ...
/* joinedRmskClick - Click handler for joinedRmskTrack. This is based * loosely on the original rmsk click handler inside * of hgc.c. * * Written by <NAME> 12/2012 */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc....
#include <stdint.h> #include <string.h> #include "bme280_dht.h" #define BME280_CONCAT_BYTES(msb, lsb) (((uint16_t)msb << 8) | (uint16_t)lsb) bme280_ret_t _bme280_read_trim_data(bme280_t *bme); double _bme280_compensate_T(bme280_t *bme, int32_t adc_T); double _bme280_compensate_P(bme280_t *bme, int32_t adc_P); doubl...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
/* send out an IKE "ping" packet. * Copyright (C) 2002 <NAME> * Copyright (C) 2002 <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 *...
/* * ----------------------------------------------------------------- * Programmer(s): <NAME> @ IAC-CNR * ----------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2019, Lawrence Livermore National Security * and Southern Methodist University. * All rights...
// Meridian 59, Copyright 1994-2012 <NAME> and <NAME>. // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // Meridian is a registered trademark. /* * language.c: Builds a menu containing available resource languages. * */ #inc...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <bdd.h> #include "transition_system.h" State PSEUDO_END = {.id = 0, .activity = "__END__", .children = NULL, .children_size = 0}; static int initial_numstates = 2; static int ceil_of_log2_of(int num) { int res = 1; int tmp = 2; wh...
/* * IMS Open Corpus Workbench (CWB) * Copyright (C) 1993-2006 by IMS, University of Stuttgart * Copyright (C) 2007- by the respective contributers (see file AUTHORS) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publi...
/** Copyright (c) 2018, Analog Devices, Inc. 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 code mu...
// ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code. // Copyright (C) 1998-2016 <NAME> // Have a look at "acme.c" for further info // // Macro stuff #include "macro.h" #include <string.h> // needs strlen() + memcpy() #include "config.h" #include "platform.h" #include "acme.h" #include "alu.h" #include...
/*************************************************************************/ /*! @File @Title Linux mmap interface @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @License Dual MIT/GPLv2 The contents of this file are subject to the MIT license as set out below. Permissio...
/***********************************************************************/ /* */ /* Objective Caml */ /* */ /* <NAME>, p...
/* b64enc.c - Simple Base64 encoder. * Copyright (C) 2001, 2003, 2004, 2008 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG 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; eithe...
static char help[] = "Solves 2D advection-diffusion problems using FD discretization,\n" "structured-grid (DMDA), and -snes_fd_color. Option prefix -bth_.\n" "Equation:\n" " - eps Laplacian u + Div (a(x,y) u) = g(x,y),\n" "where the (vector) wind a(x,y) and (scalar) source g(x,y) are given smooth\n" "functions. Th...
/* ********************************************************************** * voicemgr.c - Voice manager for emu10k1 driver * Copyright 1999, 2000 Creative Labs, Inc. * ********************************************************************** * * Date Author Summary of changes * ...
// // Created by vasilis on 10/09/20. // #include "hr_inline_util.h" static inline void fill_inv(hr_inv_t *inv, ctx_trace_op_t *op, hr_w_rob_t *w_rob) { if (ENABLE_ASSERTIONS) assert(op->opcode == KVS_OP_PUT); memcpy(&inv->key, &op->key, KEY_SIZE); memcpy(...
/* MIT License Copyright (c) 2021 <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, publish,...
#pragma once #include <math.h> #include "lib/core/types.h" #include "lib/globals/display.h" inline void swap(i32 *a, i32 *b) { i32 t = *a; *a = *b; *b = t; } inline void subRange(i32 from, i32 to, i32 end, i32 start, i32 *first, i32 *last) { *first = from; *last = to; if (to < from) swap(fi...
/* * icmpquery.c - send and receive ICMP queries for address mask * and current time. * * Version 1.0.3 * * Copyright 1998, 1999, 2000 <NAME> <<EMAIL>> * <<EMAIL>> * http://www.angio.net/ * * All rights reserved. * T...
#include <allegro5/allegro.h> #include <allegro5/allegro_primitives.h> #include <math.h> #include "defines.h" #include "game.h" #include "global.h" #include "menus.h" #include "music.h" #include "physics.h" #include "vcontroller.h" /* All variables relevant to player position and level / level status. Only thing of...
/* $Id$ */ /* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* I N L I N E S U B S T I T U T I O N * * I L 3 _ C H A N G E . C */ #include <stdio.h> #include <em_mnem.h> #include <em_pseu.h> #incl...
/* textbox ui component * by <NAME> * May 20 2011 */ #include <ui/textbox.h> textbox textbox_new(float x, float y, int line_width, int lines, int data_len); void textbox_set_text(textbox tb, const char *str); void textbox_add_text(textbox tb, const char *str); void textbox_clear_text(textbox tb); void textbox_find_...
#include "bluetooth.h" static ble_gap_sec_params_t m_sec_params; /**< Security requirements for this application. */ static uint16_t m_conn_handle = BLE_CONN_HANDLE_INVALID; /**< Handle of the current connection. */ static ble_nus_t ...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <immintrin.h> #include <mmintrin.h> #include "simd.h" #define W8_BUFFER_SIZE (1024 * 32) #define W32_BUFFER_SIZE (W8_BUFFER_SIZE / 4) #define W64_BUFFER_SIZE (W8_BUFFER_SIZE / 8) size_t write_bp_chunk( uint8_t *result_ib, uint8_t *res...
/* Open Sensor Platform Project * https://github.com/sensorplatforms/open-sensor-platform * * Copyright (C) 2015 Audience 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 * * ...
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
/* * * Copyright 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/** * @file * @author <NAME> <<EMAIL>> * * @section LICENSE * * Copyright (c) 2019, National Instruments Corp. * * 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,...
/** * @file statistique.c * * @brief Gère le stockage de donnée et la récupération de métrique. * * Contient: * - créer une base de donnée * - ajouter à une base de données * - exporter une base de données * - dériver les valeurs de la base de données * - obtenir des Statistique * - exporter et afficher un g...
#include "zkp.h" void RSA_NIZK(void) { BIGNUM *n, *e, *c, *m, *r1, *r1inv, *r2, *x1, *x2, *x1x2, *r1p, *r1pinv, *x1p, *x2p, *einv, *x, *x1px2p; BN_CTX *ctx; bool verify; ctx = BN_CTX_new();//holds bn temp vars n = BN_new(); e = BN_new(); m = BN_new(); c = BN_new(); r1 = BN_new(...
/* * OpenHMD - Free and Open Source API and drivers for immersive technology. * Copyright (C) 2013 <NAME>. * Copyright (C) 2013 <NAME>. * Distributed under the Boost 1.0 licence, see LICENSE for full text. */ /* OpenGL Test - Main Implementation */ #include <openhmd.h> #include <stdbool.h> #include <assert.h> #i...
/****************************************************************************** pkhooks.c - Callbacks for various internal events This file is Copyright 2011-2020, The Beanstalks Project ehf. This program is free software: you can redistribute it and/or modify it under the terms of the Apache License 2.0 as publi...
/* Stuff lifted from hgTables that should be libified. */ #include "common.h" #include "cheapcgi.h" #include "customTrack.h" #include "grp.h" #include "hdb.h" #include "hgFind.h" #include "hubConnect.h" #include "hui.h" #include "trackHub.h" #include "wikiTrack.h" #include "annoGratorQuery.h" #include "annoGratorGpVar....
/* * Test program to convert to a FITS file * * Usage: * votinfo [-v] <votable> */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "votParse.h" #include "votParseP.h" #include "fitsio.h" int vot = 0; /* VOTable handle */ int verbose = 0; ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #define ERR_DIV_ZERO 0 #define ERR_OVERFLOW 1 #define ERR_PAREN_MISM 2 #define ERR_FUNC_INP_MISS 3 #define ERR_INV_OP 4 #define MAX_TOK_LEN 32 #define MAX_INP_LEN 256 #define MAX_OUT_LEN 256 #define MAX_TOKENS 64 #de...
/* GStreamer unit tests for the srtp elements * Copyright (C) 2007 <NAME> <tim centricular net> * Copyright (C) 2008 <NAME> <<EMAIL>> * Copyright (C) 2016 Collabora Ltd <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Lice...
/* buchberger's systematic interreduction */ /* ported to one cm-5 node Sat Nov 28 20:49:06 PST 1992 */ #include <cm/cmmd.h> #include <cm/timers.h> #include <cmam/cmam.h> #include "cmump.h" #include "multpol.h" #include "gbas.h" typedef struct npt_ { MPOL *p; struct npt_ *l; } npt; typedef struct nst_ { MPOL *p1...
/* * GStreamer AVTP Plugin * Copyright (C) 2019 Intel Corporation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any lat...
/* This file is part of SW2 code 2018-2020 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> UPC - ESEIAAT - TUAREG (c) <NAME>, <NAME> 2018-2020 LICENSED UNDER: Attribution 4.0 International */ #define VERSION "SW 0.125" #define G_universal 6.67408e-11 // Universal gravity constant #define PI (4.0*atan(1.0)) // Pi va...
/* -*- buffer-read-only: t -*- * * opnames.h * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, * 2008 by <NAME> and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * * !!!!!!...
/* * * Copyright (c) 2020 Project CHIP Authors * 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 at * * http://www.apache.org/licenses/LICENSE...
/**************************************************************************** ** Copyright (c) 2017, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: ** *...
/** * Copyright (c) 2016 - 2018 Nordic Semiconductor ASA and Luxoft Global Operations Gmbh. * * 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 ...
/* This file is part of SHOMS. Copyright (C) 2014-2105, UT-Battelle, LLC. This product includes software produced by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the Department of Energy. This program is free software; you can redistribute it and/or modify it under the terms of the Ne...
/******************************************************************************* bytevector.c Basic bytevectors ... - data length is always less than memory available (capacity), unless both are zero. The key invariant is: (length == 0 && capacity == 0) || (0 <= length < capacity) Bytevector...
/* GStreamer H.263 Parser * Copyright (C) <2010> <NAME> <<EMAIL>> * Copyright (C) <2010> <NAME> <<EMAIL>> * Copyright (C) <2010> Collabora Multimedia * Copyright (C) <2010> Nokia Corporation * * Some bits C-c,C-v'ed and s/4/3 from h264parse: * (C) 2005 <NAME> <<EMAIL>> * (C) 2008 <NAME> <<EM...
/* Copyright 2015 Google Inc. 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 at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
/****************************************************** Copyright (c) 2011 Percona Ireland Ltd. Compressing datasink implementation for XtraBackup. 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; ve...
/******************************************************************************/ /* */ /* Copyright (c) International Business Machines Corp., 2001 */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Publi...
/* gs_md2shadowvol.c - OpenGL-based shadow volume visualization example using Cg 2.0 geometry programs. */ /* Requires the OpenGL Utility Toolkit (GLUT) and Cg runtime (version 2.0 or higher). Requires a GPU with geometry program support such as GeForce 8800. */ #include <stdio.h> /* for printf and NULL...
// // BuddyBox.c // BuddyBox // // Created by <NAME> on 12/23/12. // Copyright (c) 2012 <NAME>. All rights reserved. // #include "BuddyBox.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> void initializeBuddyBox(BuddyBox *bb, unsigned int sampleRate) { int i; printf("BuddyB...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <errno.h> #include <math.h> #include <string.h> #include "struct.h" #include "helpers.h" #define HELP_TEXT "Usage: calc [OPTION] <EXPRESSION>...\n\ \n\ Options\n\ \n\ The following flags can be used,\n\ \n\ 1. -d, consider all angles to be degrees...