text
stringlengths
7.55k
41.9k
/* Copyright (C) 2013-2016, The Regents of The University of Michigan. All rights reserved. This software was developed in the APRIL Robotics Lab under the direction of <NAME>, <EMAIL>. This software may be available under alternative licensing terms; contact the address above. Redistribution and use in source and bina...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
/* * Pinctrl data for Wondermedia WM8850 SoC * * Copyright (c) 2013 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is dis...
#include "sensing.h" //mode and oversampling config for BME280 uint8_t ctrlMeas = 0x25; uint8_t ctrlHum = 0x1; //mode and oversampling config for LIS3MDL // power down uint8_t ctrlMagnetometerPowerDown = LIS3MDL_MODE_POWERDOWN; uint8_t ctrlMagnetometerSingle = LIS3MDL_MODE_SINGLE; uint8_t ctrlMagnetometerContinous =...
/* * Itanium Platform Emulator derived from QEMU PC System Emulator * * Copyright (c) 2003-2004 <NAME> * * Copyright (c) 2007 Intel * Ported for IA64 Platform <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
// The MIT License (MIT) // // Copyright (c) 2013 <NAME>, <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, ...
/* * MIT License * ckube.c * Copyright (c) 2020 <NAME> */ #define _XOPEN_SOURCE_EXTENDED #include <ncurses.h> #include <locale.h> #include <time.h> #include <unistd.h> #include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> /* */ /*-------- m a t h --------*/ /* ...
/* FFTease for Pd */ #include "fftease.h" static t_class *disarrain_class; #define OBJECT_NAME "disarrain~" typedef struct _disarrain { t_object x_obj; float x_f; t_fftease *fft; t_float *last_channel; t_float *composite_channel; int *shuffle_mapping; int *last_shuffle_mapping; int *...
/*------------------------------------------------------------------------ * Copyright 2007-2009 (c) <NAME> <<EMAIL>> * * This file is part of the ZBar Bar Code Reader. * * The ZBar Bar Code Reader is free software; you can redistribute it * and/or modify it under the terms of the GNU Lesser Public License as...
#include "platform.h" #ifndef _SC_AIO_LISTIO_MAX #define _SC_AIO_LISTIO_MAX -1 #endif const C_Int_t Posix_ProcEnv_SC_AIO_LISTIO_MAX = _SC_AIO_LISTIO_MAX; #ifndef _SC_AIO_MAX #define _SC_AIO_MAX -1 #endif const C_Int_t Posix_ProcEnv_SC_AIO_MAX = _SC_AIO_MAX; #ifndef _SC_AIO_PRIO_DELTA_MAX #define _SC_AIO_PRIO_DELTA_MAX...
/* * 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 <stdio.h> #include <string.h> #include "esp_wifi.h" #include "esp_wps.h" #include "esp_event_loop.h" #include "nvs_flash.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "driver/spi_master.h" #include "driver/gpio.h" #include "sdkconfig.h" #include "lwip/...
/************************************************************************* * File Name main.c * Description Pass-code Comparator. * A passcode is received via serial terminal. * 115000 baud, 1 stop, 8 bits, no parity. * The received passcode is checked for size * requirements and the co...
/* * \file * * \brief ATSHA204 example module * * This file contains the main function and some helper functions. * * * Copyright (c) 2011-2012 Atmel Corporation. All rights reserved. * * \asf_license_start * * Redistribution and use in source and binary forms, with or without * modification, ...
#include <efi.h> #include <efilib.h> #include <stdarg.h> #include <stdbool.h> #include "smp.h" #include "regs.h" #include "lib_uefi.h" #include "ap_trampoline.h" #include "spinlock.h" #include "string.h" #include "vm_setup.h" #include "vmx_emu.h" #include "pic.h" int CPU_count = 0; volatile int * CPUs_activated; volat...
/* * Copyright 2013 Advanced Micro Devices, 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 * on the rights to use, copy, modify...
/* 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...
/** * (C) Copyright 2017 Intel Corporation. * * 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...
// SPDX-License-Identifier: GPL-2.0 /* * board/renesas/silk/silk_spl.c * * Copyright (C) 2018 <NAME> <<EMAIL>> */ #include <common.h> #include <malloc.h> #include <dm/platform_data/serial_sh.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/sy...
// naive debugdraw framework // - rlyeh, public domain. // // Credits: Based on work by @glampert https://github.com/glampert/debug-draw (PD) // [x] grid, axis, frustum, cube, sphere, triangle, square, pentagon, hexagon, circle, normal. // [x] arrow, point, // [x] text // [ ] plane, string, capsule, aabb, bone (pyramid...
// Inferno utils/5l/obj.c // http://code.google.com/p/inferno-os/source/browse/utils/5l/obj.c // // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. // Portions Copyright © 1995-1997 <NAME> (<EMAIL>) // Portions Copyright © 1997-1999 Vita Nuova Limited // Portions Copyright © 2000-2007 Vita Nuova Ho...
/* * Copyright (c) 2018 Elastos Foundation * * 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, ...
/* jsonkit ( https://github.com/zhuyie/jsonkit ) Copyright (c) 2014, zhuyie 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...
/* * (C) Copyright 2000 * <NAME>, DENX Software Engineering, <EMAIL>. * (C) Copyright 2001-2003 * * Changes for MATRIX Vision mvBLUE devices * MATRIX Vision GmbH / hg,as <EMAIL> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as *...
/* Copyright (C) 1994-2016 Lawrence Livermore National Security, LLC. LLNL-CODE-425250. All rights reserved. This file is part of Silo. For details, see silo.llnl.gov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * R...
#ifndef __I_O__ #include <ffs.h> #endif #ifndef _SYS_TIME_H #include "sys/time.h" #endif #ifndef _CM_SCHEDULE_H #include "cm_schedule.h" #endif #ifndef _CM_CONFIG_H #include "config.h" #endif #include <pthread.h> #define thr_mutex_t pthread_mutex_t #define thr_thread_t pthread_t #define thr_condition_t pthread_cond_t ...
#ifndef PLATFORM_INCLUDED #include "platform.h" #endif void ModuleInit(struct Module *module) { memset(module, 0, sizeof(*module)); } static struct CompiledExpression *_AddFunction( struct Module *global, int *expression_id ) { if (global->function_count == global->function_capacity) { int new...
/************************************************************************** * * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwa...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "crypto.h" #include "stream.h" #include "util.h" #include "db.h" #include "key.h" #include "config.h" // require for correct build #define OPTPARSE_IMPLEMENTATION #include "optparse.h" #include "dbg.h" #include "docs.h" enum comma...
/*************************************************** * * Author(s): <NAME>, <NAME> * Created Date: 3 Dec 2020 * Updated Date: 3 Jan 2020 * **************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdbool.h> #include "utils/f...
/* Generated by CIL v. 1.3.7 */ /* print_CIL_Input is true */ #line 211 "/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include/stddef.h" typedef unsigned long size_t; #line 92 "cpaudio.c" struct ushort8_s { unsigned short data[8] ; }; #line 92 "cpaudio.c" typedef struct ushort8_s ushort8; #line 203 "../spu_mfcio.h" extern vo...
#include "caml/mlvalues.h" #include "caml/prims.h" extern value caml_abs_float(); extern value caml_acos_float(); extern value caml_add_float(); extern value caml_alloc_dummy(); extern value caml_alloc_dummy_float(); extern value caml_array_append(); extern value caml_array_blit(); extern value caml_array_concat(); ext...
/* * modem_channels.c * */ #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/delay.h> #include <linux/timer.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/gpio.h> #include <linux/wait.h> #inclu...
/*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/LDA.c,v 1.12 2011/09/15 02:28:20 avi Exp $*/ /*$Log: LDA.c,v $ * Revision 1.12 2011/09/15 02:28:20 avi * trap nonsensical diemsnionality conditions * * Revision 1.11 2011/09/11 03:00:59 avi * options -c and -E * * Revision 1.10 2011/09/10 04:46:...
/* LANL IS&T Summer Co-Design School. Summer 2011 * <NAME> : 2D Monte Carlo simulation * * Created on Aug 21, 2011 */ #include "emmintrin.h" #include "cmc.h" #include "cmc_utils.h" #include "../ecodes.h" #ifdef DO_PAPI #include "papi.h" #endif #ifdef DO_MPI #include "mpi.h" #endif #define PI 3.1415926535897932384...
/* vcfisec.c -- Create intersections, unions and complements of VCF files. Copyright (C) 2012-2014 Genome Research Ltd. Author: <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 S...
/* $OpenBSD: rijndael.c,v 1.6 2000/12/09 18:51:34 markus Exp $ */ /* $PostgreSQL: pgsql/contrib/pgcrypto/rijndael.c,v 1.14 2009/06/11 14:48:52 momjian Exp $ */ /* This is an independent implementation of the encryption algorithm: */ /* */ /* RIJNDAEL by <NAME> and <NAME> */ /* ...
/** * @file * Support routines for managing PDP keys and secrets. * * @author Copyright (c) 2012, <NAME> * @author Copyright (c) 2012, <NAME> * @author Copyright (c) 2008, <NAME> * @date 2008-2013 * @copyright BSD 2-Clause License, * See http://opensource.org/licenses/BSD-2-Clause **/ /** @addtogro...
/* * Copyright (c) 1999-2000 Image Power, Inc. and the University of * British Columbia. * Copyright (c) 2001-2002 <NAME>. * All rights reserved. */ /* __START_OF_JASPER_LICENSE__ * * JasPer Software License * * IMAGE POWER JPEG-2000 PUBLIC LICENSE * ************************************ * * GRANT: * ...
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the...
/* Computer Graphics and Game Technology, Assignment Ray-tracing * * Student name .... <NAME>, <NAME> * Student email ... <EMAIL>, <EMAIL> * Collegekaart .... 10542590, 10784012 * Date ............ 4 maart 2015 */ #include <sys/time.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> ...
/* * This source code is public domain. * * Authors: <NAME> <<EMAIL>>, * <NAME> <<EMAIL>> (endian and char fixes for PPC) */ #include "libmodplug.h" //////////////////////////////////////////////////////// // FastTracker II XM file support #ifdef _MSC_VER #pragma warning(disable:4244) #endif #pra...
/* $NetBSD: hid.c,v 1.17 2001/11/13 06:24:53 lukem Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> (<EMAIL>) at * Carlstedt Research & Technology. * * Redistribution and use in source a...
/****************************************************************************** * @file system_gd32vf103.c * @brief NMSIS Nuclei Core Device Peripheral Access Layer Source File for * Device gd32vf103 * @version V1.00 * @date 22. Nov 2019 ******************************************************...
// vim:ts=4:sw=4:expandtab #include <ctype.h> #include <time.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #include "i3status.h" #if defined(LINUX) #include <errno.h> #include <glob.h> #include <sys/types.h> #endif #if defined(__FreeBSD__) || ...
#include "mesh_builder.h" /** shape_t * create_shape_point3(vec3_t *p1); shape_t * create_shape_line3(vec3_t *p1, vec3_t *p2); shape_t * create_shape_triangle3(vec3_t *p1, vec3_t *p2, vec3_t *p3); */ mesh_t * create_point3(const vec3_t *p){ mesh_t * point = alloc_mesh(1); point->shapes[0] = create_shape_point3(p); r...
// Copyright (c) 2019-present, iQIYI, 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 deal // in the Software without restriction, including without limitation the rights // to use, c...
/* * Copyright (c) 2017-2019 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 License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
// SPDX-License-Identifier: GPL-2.0+ /* * Sun8i a33 platform dram controller init. * * (C) Copyright 2007-2015 Allwinner Technology Co. * <NAME> <<EMAIL>> * (C) Copyright 2015 <NAME> <<EMAIL>> * (C) Copyright 2015 <NAME> <<EMAIL>> */ #include <common.h> #include <errno.h> #inclu...
/* Generic static probe support for GDB. Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of GDB. 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 versi...
#include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include "ngx_http_aws_sigv4_utils.h" #define AWS_SIGV4_AUTHORIZATION_HEADER "Authorization" #define AWS_SIGV4_AUTHORIZATION_HEADER_LOWCASE "authorization" #define AWS_SIGV4_X_AMZ_DATE_HEADER "x-amz-date" #define AWS_SIGV4_X_AMZ_...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "glut.h" #include "path.h" typedef struct atom { float radius; vector r; quaternion q; int no; } Particle; Slice *currentslice; int Npart; /* Number of pa...
#include "redis.h" #include <time.h> #include <signal.h> #include <sys/wait.h> #include <errno.h> #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <arpa/inet.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/uio.h> #include <limits.h> #include ...
/** * \file * * \brief Unit tests for FreeRTOS USART Interface Layer. * * Copyright (c) 2011 - 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
// Copyright (c) 2004-2020 Microchip Technology Inc. and its subsidiaries. // SPDX-License-Identifier: MIT #define _GNU_SOURCE #include <sys/signalfd.h> #include <sys/types.h> #include <sys/file.h> #include <sys/wait.h> #include <assert.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> #include <unistd.h...
/* # _____ ___ ____ ___ ____ # ____| | ____| | | |____| # | ___| |____ ___| ____| | \ PS2DEV Open Source Project. #----------------------------------------------------------------------- # Copyright 2001-2004, ps2dev - http://www.ps2dev.org # Licenced under Academic Free License ve...
// Define the papi_avail man page contents. /** * file papi_avail.c * @brief papi_avail utility. * @page papi_avail * @section Name * papi_avail - provides availability and detailed information for PAPI preset and user defined events. * * @section Synopsis * papi_avail [-adht] [-e event] * * @sectio...
// Copyright 2019, <NAME>. // SPDX-License-Identifier: BSL-1.0 /* * OpenHMD - Free and Open Source API and drivers for immersive technology. */ /* VR-Tek Driver */ #include <stdlib.h> #include <hidapi.h> #include <string.h> #include <stdio.h> #include <assert.h> #include "vrtek.h" #include "../hid.h" /* VR-Tek re...
/* * Copyright (c) 2019 Fraunhofer AISEC. See the COPYRIGHT * file at the top-level directory of this distribution. * * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or * http://www.apache.org/licenses/LICENSE-2.0> or the MIT license * <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your ...
/*------------------------------------------------------------------------- * * logtofile.c * pgaudit addon to redirect audit log lines to an independent file * * Copyright (c) 2020-2021, <NAME> * Copyright (c) 2014, 2ndQuadrant Ltd. * * This code is released under the PostgreSQL licence, as given at * h...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2022 STMicroelectr...
/* The MIT License (MIT) Copyright (c) 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, publis...
/* * Copyright 2019 <NAME> * * See LICENCE for the full copyright terms. */ #if __linux__ /* apparently you need this for Linux, and it breaks macOS */ # define _POSIX_C_SOURCE 200809L #endif #include <unistd.h> #include <dlfcn.h> #include <assert.h> #include <errno.h> #include <string.h> #include <stdlib.h> #i...
/* * Copyright 2017, International Business Machines * * 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 applica...
/*++ Copyright (C) Microsoft Corporation, 1991 - 2010 Module Name: disk.c Abstract: SCSI disk class driver Environment: kernel mode only Notes: Revision History: --*/ #include "classp.h" /* * Entry in static list used by debug extension to quickly find all class FDOs. */ LIST_ENTRY AllFdosLi...
// SPDX-License-Identifier: GPL-2.0 /* * Extcon charger detection driver for Intel Cherrytrail Whiskey Cove PMIC * Copyright (C) 2017 <NAME> <<EMAIL>> * * Based on various non upstream patches to support the CHT Whiskey Cove PMIC: * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. */ #include <lin...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 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 w...
// // DDC.c // DDC Panel // // Created by <NAME> on 7/10/09. // See http://github.com/jontaylor/DDC-CI-Tools-for-OS-X // #include "DDC.h" #include <stdarg.h> #define kMaxRequests 10 const UInt8 ZEROARRAY[256] = { 0 }; void setDebugMode(UInt8 debug_mode) { DEBUG_FLAG = debug_mode; } void setLogPath(const ch...
/****************************************************************************** * * Copyright 2017 Xaptum, 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 * * htt...
/* zdrvrfp.f -- translated by f2c (version 20061008). 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 o...
/* Huff Tab (Lookup): 7: 0, Symbol A 15: 8, Symbol B 19:16, Length A (0=Escape) 23:20, Length A+B (Escape) Huff Tab (Search): 15: 0, Bitmask 19:16, Length 31:24, Next Symbol. */ typedef unsigned char byte; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long long u64; typedef si...
// SPDX-License-Identifier: BSD-2-Clause /* * Keccak-f[1600] C Implementation - State permutation * Copyright (C) 2019 <NAME> <<EMAIL>> */ #include "keccak1600.h" /************************\ * PRE-COMPUTED CONSTANTS * \************************/ #if 0 /* * Pre-computed lane indices for the pi step, where * (x,y) ...
/* $Id$ */ /* Plots images */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2010 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; ...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <unistd.h> #include <inttypes.h> #include <string.h> #include <assert.h> #include <float.h> #include <pthread.h> #include <semaphore.h> #include <errno.h> #include <math.h> #include <sys/time.h> #include <sched.h> #include <sys/sendfile.h> #include <sy...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "window.h" #include "vm.h" const unsigned char chip8_fontset[] = { 0xF0, 0x90, 0x90, 0x90, 0xF0, // 0 0x20, 0x60, 0x20, 0x20, 0x70, // 1 0xF0, 0x10, 0xF0, 0x80, 0xF0, // 2 0xF0, 0x10, 0xF0, 0x10, 0xF0, // 3 0x90, 0x90, 0xF0, 0x10, 0x10, // ...
/////////////////////////////////////////////////////////////////////////////// // // // File: main.cpp // // Author: <NAME> // // Crea...
/* * VOTSLOANSPEC -- Query and access spectra from SDSS/BOSS * * Usage: * vosloanspec [<opts>] <obj> | {<ra> <dec>} | {<ra> <dec> <radius>} * * where * -%%,--test Run unit tests * -h,--help This message * -d,--debug Debug Flag * -v,--verbo...
#include <config.h> /* $Id: english.c,v 1.13 1994/11/08 13:30:50 a904209 Exp a904209 $ */ char *english_id = "$Id: english.c,v 1.13 1994/11/08 13:30:50 a904209 Exp a904209 $"; /* ** English to Phoneme rules. ** ** Derived from: ** ** AUTOMATIC TRANSLATION OF ENGLISH TEXT TO PHONETI...
/* Copyright (c) 2010 - 2018, Nordic Semiconductor ASA * 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 * l...
/* functions related to quadric error metrics */ /* compute the quadric error for a query position of a vertex */ starreal quadricerrorquery(struct tetcomplex *mesh, tag vtag, starreal v[3]) { struct quadric *q; starreal quad; /* fetch the quadric ...
/** * @file imu_funcs.c * @author <NAME> <<EMAIL>> * @version 1.0 * * @brief IMU functions file (contains IMU comms, logs and filters). * * This file contains all necessary functions regarding the communication with the * IMU and the processing (filtering) of received data. */ # include <stdio.h> # include <f...
/* MAPLOADER.C The functions which load CK maps (level files). */ // This loader also supports a so-called "Special Region", which in short, // uses some of the reserved fields in the official map spec as an offset // to a special region at the end of the file, which allows additional fields // to be saved, such as ...
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2015-2021 Micron Technology, Inc. All rights reserved. */ #include <hse/flags.h> #include <hse_util/slab.h> #include <hse_util/logging.h> #include <hse_util/hse_err.h> #include <hse_util/parse_num.h> #include <hse_util/event_counter.h> #include <hse_util...
/* Konami Twin16 Hardware - Video TODO: - convert background to tilemap - clean up sprite system - bad sprites in devilw, eg. odd colours for the mud/lava monster in the 1st level, or wrong sprite-sprite priority sometimes -- check real arcade first - unsure about some sprite ...
/* Copyright 2013-2014 IBM Corp. * * 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 2019, Intel Corporation * * 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 f...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 <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 (at your op...
// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ // $Id: mapped.c,v 1.8 2000/03/31 14:40:42 dwmw2 Exp $ /* ###################################################################### Flash MTD Routines These routine support IDing and manipulating flash....
/* * This file is part of Moonlight Embedded. * * Copyright (C) 2016 <NAME>, <NAME>, <NAME> * * Moonlight 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 ...
#include <string.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <assert.h> #include <limits.h> #include "spider_cipher.h" const char *const BASE40 = "BCDEFGHLMNPRSTUVWXYZbcdefghimnprstuvwxyz"; static int CIORandRead(CIORand *me) { uint8_t x; do { int status = fread((char*) &x,size...
/** ****************************************************************************** * @file sbus.c * @author weety * @version V1.0 * @date 8-Aug-2018 * @brief Sbus Decoder ****************************************************************************** */ #include <stdio.h> #include <stdbool.h> ...
/*+----------------------------------------------------------------- ecufkey.c -- function key definition <EMAIL> Defined functions: ffso(str) ikde_to_xf(ikde) kde_fgets(buf, bufsize, fp) kde_name_to_ikde(keystr) kde_text(ikde) keyset_define_key(bufptr) keyset_display() keyset_idstr(ikde) keyset_init() k...
/* * NB: This file is machine generated, DO NOT EDIT! * * Edit and run generate.py instead */ #include "config.h" #include <stdio.h> #include <ctype.h> #include "config.h" #include "vcc_priv.h" #include "vsb.h" #define M1() do {*q = p + 1; return (p[0]); } while (0) #define M2(c,t) do {if (p[1] == (c)) { *q = p...
/*- * Copyright (c) 1980, 1989, 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 * are met: * 1. Redistributions of source code must retain the abov...
/* * Tool to demonstrate VIO/VEU hardware acceleration of raw image scaling. * * The RGB/YCbCr source image is read from a file, scaled and displayed on the * framebuffer. It uses an ncurses interface to allow the user to zoom in/out * and pan the output image. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif ...
#include <ctype.h> #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <libcss/libcss.h> #include "stylesheet.h" #include "utils/utils.h" #include "testutils.h" /** \todo at some point, we need to extend this to handle nested blocks */ typedef struct exp_en...
/** * @section License * * The MIT License (MIT) * * Copyright (c) 2014-2017, <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 limit...
/* hgLoadEranModules - Load regulatory modules from Eran Segal. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "jksql.h" #include "dys...
/* Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distribution of free software. You can **...