text
stringlengths
7.55k
41.9k
/** * @file integrator_hermes.c * @brief HERMES. A WHFAST/IAS15 hybrid integration scheme. * @author <NAME> <<EMAIL>> * @details This file implements a hybrid integration scheme capable * of handling close encounters, simple collisions, and * planetesimal forces. Details are describe in Silburt et al (in ...
/* * This file is part of the coreboot project. * * Copyright (C) 2013, 2014 <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; version 2 or (at your option) * any later version o...
/* <NAME> | V00205547 DESC: This program reads and performs text compression and extraction from .ph1 files to .ph2 files and vice versa. The program makes use of dynamic memory allocation and doubly linked lists to perform the transformation. LAST MODIFIED: 28.07.2017 */ #include <stdio.h> #include <stdlib...
/* * File contexts backend for labeling system * * Author : <NAME> <<EMAIL>> * Author : <NAME> <<EMAIL>> */ #include <assert.h> #include <fcntl.h> #include <stdarg.h> #include <string.h> #include <stdio.h> #include <ctype.h> #include <errno.h> #include <limits.h> #include <stdint.h> #include <pcre.h> #include <un...
#include <fcntl.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include "alloc.h" #include "macro.h" #include "memory.h" #include "objformat.h" #include "os.h" #include "pe.h" typedef struct { char* base; int fd; } dso; static void* alloc_vaddress(void* imagebase, int size_of_image); // thi...
/* * Copyright (c) 2016, CESAR. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * */ #include <stdint.h> #include <string.h> #include <stdbool.h> #include "spi_bus.h" #include "nrf24l01.h" #include "nrf24l01_io.h" ...
// SPDX-License-Identifier: Apache-2.0 /* Copyright 2021 IBM Corp.*/ #include <stdio.h> #include <string.h> #include <stdlib.h>// for exit #include <mbedtls/pk_internal.h> // for validating cert pk data #include "external/extraMbedtls/include/pkcs7.h" #include "secvar/include/edk2-svc.h"// import last!! #define CERT_B...
/** Copyright (c) 1995, California Institute of Technology **/ /** U. S. Government sponsorship under NASA contract is acknowledged **/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "return_status.h" #include "lbl_gen_api.h" #include "zvproto.h" #define USE_NEW_VERSIONS 1 static char ErrorB...
/* uade123 - a simple command line frontend for uadecore. Copyright (C) 2005-2010 <NAME> <<EMAIL>> This source code module is dual licensed under GPL and Public Domain. Hence you may use _this_ module (not another code module) in any way you want in your projects. */ #define _GNU_SOURCE #include "uade12...
/* *************************************************************************** * * 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...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* Feature : Subnet NAT * * Usage : BCM.0> cint subnet_nat.c * * config : subnet_nat_config.bcm * * ...
/* * gosthash.c * 21 Apr 1998 <NAME> <<EMAIL>> * * GOST R 34.11-94, Russian Standard Hash Function * * Copyright (c) 1998 SSH Communications Security, Finland * All rights reserved. */ /* Copyright © 2014, <NAME> <<EMAIL>> All rights reserved. Redistribution and use in source and binary forms, with or...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> int MazeGenerate(int* maze, int dim); void MazePrint(int* maze, int dim); void PrintBorder(char* str, int* maze, int dim, int row); void PrintRow(char* str, int* maze, int dim, int row); int randGap(int, int); int chooseBorder(int dim); int maz...
/* inrypl.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__3 = 3; static doublereal c_b17 = 1.; /* $Procedure INRYPL ( Intersection of ray and plane ) */ /*...
/* driver.c -- Functions defined on output drivers. * * From: <NAME> <<EMAIL>> */ #include <assert.h> #include "types.h" #include "bitset.h" #include "driver.h" #include "generator.h" #include "variable.h" #include "parser.h" #include "resist.h" #include "generator_int.h" struct driverout { char *module; floa...
/* * 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...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2013 Red Hat Inc. * * Authors: <NAME> <<EMAIL>> */ /* * Refer to include/linux/hmm.h for information about heterogeneous memory * management or HMM for short. */ #include <linux/pagewalk.h> #include <linux/hmm.h> #include <linux/init.h> #include <linux/...
/* GStreamer * Copyright (C) <1999> <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 * version 2 of the License, or (at your option) any later version. * ...
/* x86 specific analysis in C */ #include "janus_arch.h" static const char *regNameMaps[] = { "NULL", /**< Sentinel value indicating no register", for address modes. */ /* 64-bit general purpose */ "RAX", /**< The "rax" register. */ "RCX", /**< The "rcx" register. */ "RDX", /**< The "rdx" register....
/** * quicksecpm_xmlconf_i.h * * @copyright * Copyright (c) 2002-2006 SFNT Finland Oy - * all rights reserved. * * Internal definitions for the QuickSec XML configuration module. * */ #include "quicksecpm_xmlconf.h" #ifdef SSHDIST_XML #include "sshxml.h" #include "sshxml_dom.h" #endif /* SSHDIST_XM...
// Xception: generates an Intel hex file representing the exception // EPROM for a CTS256A text to allophone IC. // // The format of the input text file is as follows: // // BASE n <-- The 4K page where the EPROM will be generated. // Allowed values: 1..9,A-E // <[word1]<=[allophone list] ; comment ...
/** @mainpage DocComment: * Introduction, basic syntax/features */ #if __STDC_VERSION__ >= 199901L #define _XOPEN_SOURCE 600 #else #define _XOPEN_SOURCE 500 #endif /* __STDC_VERSION__ */ #include <stdio.h> #include <stdlib.h> //#include <unistd.h> #include <time.h> #include <assert.h> #include <string.h> #include <...
#include "can-bridge-firmware.h" //Status volatile uint8_t poweroff = 1; //1 if the car is ready to go and 0 if it is stopped volatile uint8_t calibration_pending = 1; //1 if calibration procedure should be fired volatile uint8_t charging_state = 0; //current charging status //GIDS calculation ...
/* * $Id: numfmt.c,v 1.1 2005-09-18 22:05:43 dhmunro Exp $ * compute size, alignment, byte order, and floating point format */ /* Copyright (c) 2005, The Regents of the University of California. * All rights reserved. * This file is part of yorick (http://yorick.sourceforge.net). * Read the accompanying LICENSE f...
/* $NetBSD: setup.c,v 1.32 2014/12/04 01:41:37 christos Exp $ */ /* * Copyright (c) 1980, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * a...
#include "common.h" // Payload Binaries #include "../cfw/ios_kernel/ios_kernel.h" #include "../cfw/ios_mcp/ios_mcp.h" #include "../cfw/ios_odm/ios_odm.h" #include "../cfw/ios_usb/ios_usb.h" #define CHAIN_START 0x1016AD40 #define SOURCE 0x01E20000 #define KERNEL_CODE_START 0x08134100 #define IOS...
/* normalscan.c ============ Author: R.J.Barnes & J.Spaleta */ /* LICENSE AND DISCLAIMER Copyright (c) 2012 The Johns Hopkins University/Applied Physics Laboratory This file is part of the Radar Software Toolkit (RST). RST is free software: you can redistribute it and/or modify it under the terms of t...
/* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
/* Copyright (c) 2015-2106, 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 of...
#include <sys/param.h> #include <sys/resource.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/event.h> #include <dirent.h> #include <err.h> #include <errno.h> #include <fcntl.h> #include <libgen.h> #include <limits.h> #include <paths.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <...
// Copyright (C) 2015-2020 Virgil Security, 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 // ...
/* * Copyright 2012 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, copy, modify, merge, publish, d...
/** * * \file * * \brief WINC1500 Wi-Fi Serial example. * * Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip produ...
/* * Copyright (c) 2015 Rituwall Inc, authored by <EMAIL> * * 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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" ...
/* * some functions for MP4 files */ #include "mp4ff.h" #include "faad.h" #include <gtk/gtk.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <xmms/plugin.h> #include <xmms/titlestring.h> #include <xmms/util.h> const char *mp4AudioNames[]= { "MPEG-1 Audio Layers 1,2 or 3", "MPEG-2 low...
void eval_abs(void); void absval(void); void absval_nib(void); void absval_tensor(void); void eval_add(void); void add(void); void add_terms(int n); void add_terms_nib(int n); void flatten_terms(int h); void combine_terms(int h); void combine_terms(int h); int combine_terms_nib(int i, int j); void sort_terms(int n); in...
/* worker.c serve gps/glonass terminnals in separate thread caution: when terminal is retranslated from another server, then worker gets many imeis in one connection (volatile imei), else worker gets one imei permanetly (constant imei). note: 1. We do not retranslate retranslated terminals. 2. We retranslate ...
/* dqawoe.f -- translated by f2c (version 20190311). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
/* * XMap Copyright 2021 <NAME> from Network and Information Security Lab * Tsinghua University * * 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....
/* * Copyright (c) 2016 PrivatBank IT <<EMAIL>>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include "atest.h" #include "sha2.h" #include "hmac.h" uint8_t test_data_3[3] = {'a', 'b', 'c'}; uint8_t test_data_56[56] = { 'a', 'b', 'c', 'd', 'b', 'c', 'd', 'e',...
/* * * This code 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 code is distributed in the hope that it will be useful,...
#include "consts.h" #include "fe10.h" #include <inttypes.h> void fe10_mul(fe10 *h, const fe10 *f_orig, const fe10 *g_orig) { fe10 f, g; for (unsigned int i = 0; i < 10; i++) f.v[i] = f_orig->v[i]; for (unsigned int i = 0; i < 10; i++) g.v[i] = g_orig->v[i]; // Precompute (19*g_1, ..., 19*g_9) cons...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#include <stdlib.h> #include <string.h> #include <stdarg.h> #include <unistd.h> #include "editor.h" #include "util.h" #ifdef NCURSES_VERSION # ifndef NCURSES_EXT_COLORS # define NCURSES_EXT_COLORS 0 # endif # if !NCURSES_EXT_COLORS # define MAX_COLOR_PAIRS 256 # endif #endif #ifndef MAX_COLOR_PAIRS # define MAX_COLO...
#pragma once enum EMonsterState { eGlobalState = u32(1) << 15, // ------------------------------------------------------------- eStateRest = eGlobalState << 1, eStateRest_WalkGraphPoint = eStateRest | 1, eStateRest_Idle = eStateRest | 2, eStateRest_Fun = eStateRest | 3, eState...
/* -*-c-*- */ /* 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 option) any later version. * * This program is...
/* * * iddb.c - Identity database / VCF parser * */ #include "iddb.h" #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <libgen.h> #include <dirent.h> #include <errno.h> #include <ctype.h> #include <string.h> #include <sqlite3.h> int usage(const char *err, const flag *f) { if(err[0]...
/* * Code to deal with internal libopenspotify playlist retrieving * * Program flow: * * + iothread() * +--+ playlist_process(REQ_TYPE_PC_LOAD) * | +--+ playlistcontainer_send_request() * | | +--+ cmd_getplaylist() * | | +--+ channel_register() with callback playlistcontainer_callback() * | +--- Upda...
/**************************************************************************** * @file main.c * @version V2.0 * $Revision: 4 $ * $Date: 15/08/18 6:03p $ * @brief NUC200 Series CAN Driver Sample Code * * @note * Copyright (C) 2014 Nuvoton Technology Corp. All rights reserved. * ***************...
/* viterbi.c * for 2.0: SRE, Tue Sep 28 09:15:07 1993 * from 1.0: SRE, Wed Jun 30 17:42:44 1993 * as revised Tue Aug 24 12:06:12 1993: integer two-matrix version * * Implementation of the three-dimensional dynamic programming * algorithm for aligning a covariance model to a sequence. * * To optimize...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ***** 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 Licen...
#include <pebble.h> /* Layout constants */ #if defined(PBL_PLATFORM_CHALK) #define PBL_X 180 #define PBL_Y 180 #define BASE_Y_SMALL 51 #define BASE_X_SMALL 110 #define LINE_HEIGHT_SMALL 18 #define LAYER_Y_SMALL 23 #define BASE_X_LARGE 30 #define BASE_Y_LARGE 20 #define LINE_HEIGHT_LARGE 55 #define TIME_PAD...
/* stlink common and stlink-v1 specific functions (c) <NAME>, 2012-2013 */ #include <stdio.h> #include <stddef.h> #include <malloc.h> #include <assert.h> #include <string.h> #include <stdbool.h> #include <stdarg.h> #include <unistd.h> #include "stm8.h" #include "pgm.h" #include "stlink.h" #include "utils.h" #ifnd...
/* GStreamer * Copyright (C) 2006 <NAME> <thomas at apestaart dot org> * Copyright (C) 2014 <NAME> <tim centricular com> * * 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 *...
/*************************************************************************/ /* Xania (M)ulti(U)ser(D)ungeon server source code */ /* (C) 1995-2000 Xania Development Team */ /* See the header to file: merc.h for original code copyrights */ /* ...
 /* linphone Copyright (C) 2000 <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 of the License, or (at your option) any later version. This program is distributed...
/* Copyright (c) 2017, Plume Design 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 the...
/*-----------------------------------------------------------------------*/ /* Low level disk I/O module skeleton for FatFs (C)ChaN, 2016 */ /*-----------------------------------------------------------------------*/ /* If a working storage control module is available, it should be */ /* attached ...
/* * Copyright 2018-2019 NXP * * SPDX-License-Identifier: BSD-3-Clause * * Author <NAME> <<EMAIL>> */ #include <platform_def.h> #include <arch_helpers.h> #include <utils_def.h> #include <sys/types.h> #include <_null.h> #include <debug.h> #include <plat_arm.h> #include <stdint.h> #include <string.h> #include <uti...
#include "Vectors.h" #include "ExtMath.h" #include "Funcs.h" Vector3 Vector3_Create1(Real32 value) { Vector3 v; v.X = value; v.Y = value; v.Z = value; return v; } Vector3 Vector3_Create3(Real32 x, Real32 y, Real32 z) { Vector3 v; v.X = x; v.Y = y; v.Z = z; return v; } Vector3I Vector3I_Create1(Int32 va...
/** * Copyright 2019 <NAME>, UVM AERO * * Pack Manager (PacMan) Firmware */ #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <util/twi.h> #include <avr/sfr_defs.h> #include <avr/wdt.h> #include <avr/eeprom.h> #include "inc/mcp2515.h" #include "inc/defaults.h" #include "inc/global.h"...
/* GStreamer * Copyright (C) 2017 <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 * version 2 of the License, or (at your option) any later version. * *...
#include <string.h> #include <time.h> #include <stdlib.h> #include <SDL2/SDL.h> #include <shadowdive/shadowdive.h> #include "utils/log.h" #include "game/text/text.h" #include "game/text/languages.h" #include "audio/music.h" #include "video/video.h" #include "game/settings.h" #include "game/scene.h" #include "game/scene...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * This notice applies to any and all portions of this file * that are not...
/*D************************************************************ * Modul: GUI - BM dialog bboard.c * * Contains the BM board * * Functions: * * Copyright: yafra.org, Basel, Switzerland ************************************************************** */ #include <uinclude.h> #include <psmatri...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <libusb-1.0/libusb.h> #define TYPE_CTRL 1 #define TYPE_INT 2 #define TYPE_BULK 3 #define TYPE_ISOC 4 #define SIGN_EQ 1 #define SIGN_LT 2 #define SIGN_LTE 3 #define SIGN_GT 4 #define SIGN_GTE 5 #define VAR_ID 1 #define VAR_TYPE 2 #define VAR_...
/* libdmtx - Data Matrix Encoding/Decoding Library Copyright (C) 2008, 2009 <NAME> 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 l...
/* $Id: dcfldd.c,v 1.7 2005/06/15 14:33:04 harbourn Exp $ * dcfldd - The Enhanced Forensic DD * By <NAME> */ /* Copyright (C) 85, 90, 91, 1995-2001, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
/* * Filtermapper unit tests for Quartz * * Copyright (C) 2008 <NAME> * * 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) an...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * arcus-memcached - Arcus memory cache server * Copyright 2010-2014 NAVER Corp. * Copyright 2015-2016 JaM2in Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complian...
/* Program to receive data for logging to a file. * Copyright (c) 2021 <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 limitatio...
/* Digram tree encoder By <NAME>, August 2019 https://github.com/jroatch/dte This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercia...
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
/* * Live smooth streaming fragmenter * Copyright (c) 2012 <NAME> * * 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 of th...
/* * PostScript driver downloadable font functions * * Copyright 2002 <NAME> for CodeWeavers * * 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...
/* * Calcurse - text-based organizer * * Copyright (c) 2004-2017 calcurse Development Team <<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: * * - Redistributions of sourc...
/************************************************************************************************** * * * This file is part of HPIPM. * * ...
/* FUNCTION list --- --- --- --- --- --- --- */ /* BASE headers --- --- --- --- --- --- --- */ //#include "agi.h" #include "../agi.h" //~ RaDIaT1oN: //~ fix const declaration in compare func //~ cast in strtok_r //~ lower string for linux //~ unnamed union members /* LIBRARY headers --- --- --- --- --- --- --- */...
/****************************************************************************** * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER * * This file is part of Open PHIGS * Copyright (C) 2011 - 2012 Surplus Users Ham Society * * Open PHIGS is free software: you can redistribute it and/or modify * it under ...
// pdchess.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <assert.h> #include "pdchess.h" void free_stuff( shared_type * sh ) { unsigned int i, j; move_assoc_list_type * alist; slot_type * slot; free( sh->move_rec ); free( sh->best_move_slot.moves ); // printf( "Slot...
#include "naru_coder.h" #include "naru_utility.h" #include "naru_internal.h" #include <stdio.h> #include <stdlib.h> #include <math.h> /* 再帰的ライス符号の最大段数 */ #define NARUCODER_MAX_NUM_RECURSIVERICE_PARAMETER 8 /* 固定小数の小数部ビット数 */ #define NARUCODER_NUM_FRACTION_PART_BITS 8 /* 固定小数の0.5 */ #define NARUCODER_FIXED_FL...
/***************************************************************************** * * capillary.c * * This utility produces an output file suitable for initialising * a capillary structure in Ludwig. * * Some examples of uniform, and less uniform capillary initialisations. * Options are selected at compile t...
/* S-Function for Extended Minimum Allocation Resource Network *****************************/ /* <NAME>, June 2007 **************************************************************/ #define S_FUNCTION_NAME emran8 #define S_FUNCTION_LEVEL 2 #include "simstruc.h" #include <math.h> /* mdlCheckParameters, ch...
//A lot of this code is heavily influenced by and even directly copied from the work done by SubDrag and // <NAME> on the N64 Sound Tool and VADPCM decoding/encoding. This wouldn't be possible without their // enormous contribution. Thanks guys! #include <math.h> #include <stdio.h> #include <string.h> #include <stdlib...
#define RASTCALL_INTERNALS #define WNDO_INTERNALS #include <limits.h> /* for SHRT_MAX etc */ #include <stdio.h> #include "errcodes.h" #include "gfx.h" #include "input.h" #include "marqi.h" #include "memory.h" #include "ptrmacro.h" #include "reqlib.h" #include "wndo.h" typedef void (*Bhblit)(Raster *behin...
/* Unix SMB/CIFS implementation. new hash based name mangling implementation Copyright (C) <NAME> 2002 Copyright (C) <NAME> 2002 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 Foundatio...
/* Reincarnation Server. This servers starts new system services and detects * they are exiting. In case of errors, system services can be restarted. * The RS server periodically checks the status of all registered services * services to see whether they are still alive. The system services are * expected t...
/** * @file key_define.c * @brief MIDI channel definition * @details This file defines MIDI Control Change(CC) / Note ON-OFF event on MIDI build. * LrTMAX has 8 encoder as enc0~7, and 8 individual switch(SW) as SW1~8 and SW on encoder as 'enc0~7 push' * In MIDI use , users can send individual CC/Note event channel...
/* * Copyright (C) 2011 <NAME> ( http://amarullz.com/ ) * * 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...
// File: mumps/database/db_ic.c // // module database - Database Functions, Integrity Check /* Copyright (c) 1999 - 2014 * <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: ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #define cot(x) (1.0 / tan(x)) #define TRUE 1 #define FALSE 0 #define max_surfaces 10 /* Local variables */ static char tbfr[132]; static short current_surfaces; static short paraxial; static double clear_aperture; ...
/* * (C) Copyright 2001 * <NAME>, DENX Software Engineering, <EMAIL>. * * 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 Fo...
/* GStreamer android.hardware.Sensor Source * Copyright (C) 2016 SurroundIO * Author: <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 * version 2 of th...
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/internal/cccap/intel.h * * Purpose: Compiler feature discrimination for Intel C/C++. * * Created: 7th February 2003 * Updated: 3rd February 2012 * * Thanks: To <NAME> for working on the ...
/*- * 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...
/* * regression.c * * Created on: Jun 5, 2013 * Author: <NAME> */ #include "regression.h" reg_object reg_init(int N, int p) { reg_object obj = NULL; int i; /* * reg_init initializes the regression object. * N - number of observation samples. All variables (indepnedent and dependent) * are of ident...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, <NAME> <<EMAIL>> * * Version: MPL 1.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 Lic...
/** * @file gui.c * @brief Functions to draw the GUI. * * @author <NAME> (<<EMAIL>>) * @version 1.0 * @since 1.0 * * @copyright Copyright © 2017 <NAME>. All rights reserved. */ /** * @addtogroup Utils * @{ */ #include <ncurses.h> #include "shared.h" #include "gui.h" #define CHAR_PER_CELL 2 /**<@brief Nu...
#include "system_call_handler.h" #include "../file_system.h" #include "../drivers/rtc.h" #include "terminal.h" #include "../lib.h" #include "../x86_desc.h" #define STARTING_LOCATION 0x08048000 // program image is loaded here #define FDA_LENGTH 8 // file descriptor array has 8 blocks at most /* file jump tables for ea...
/* * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed...