text
stringlengths
5.8k
28.2k
#include "exodusII.h" #include <stdio.h> #include <stdlib.h> /* for free() */ #ifdef EXODUSII_HAVE_MALLOC_H # include <malloc.h> #endif /* EXODUSII_HAVE_MALLOC_H */ #define EX_TEST_FILENAME "edgeFace.exo" #define EXCHECK(funcall,errmsg)\ if ( (funcall) < 0 ) \ { \ fprintf( stderr, errmsg ); \ retur...
/* * 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...
/* * SpanDSP - a series of DSP components for telephony * * gsm0610_rpe.c - GSM 06.10 full rate speech codec. * * Written by <NAME> <<EMAIL>> * * Copyright (C) 2006 <NAME> * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser...
/* Nintendo Switch Remote Control Based on the LUFA library's Low-Level Joystick Demo (C) Dean Camera Based on the HORI's Pokken Tournament Pro Pad design (C) HORI Based on the Nintendo Pro Controller design (C) Nintendo This project implements a modified version of the Nintendo Pro Controller USB descrip...
/* * Copyright © 2013-2014 Collabora, Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
#include <lighttpd/core_lua.h> #include <lualib.h> #include <lauxlib.h> liLuaState *li_lua_state_get(lua_State *L) { liLuaState *LL; lua_getfield(L, LUA_REGISTRYINDEX, LI_LUA_REGISTRY_STATE); /* +1 */ LL = lua_touserdata(L, -1); lua_pop(L, 1); LI_FORCE_ASSERT(LL != NULL && LL->L == L); return LL; } /* repl...
/** Implementation of main functions Leap - network protocols and much more Copyright (C) 2020 <NAME> <<EMAIL>> Copyright (C) 2020 <NAME> <<EMAIL>> Leap 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 ...
/* * Copyright (c) 2003-2021 <NAME> <<EMAIL>> * All rights reserved. See MIT LICENSE for redistribution. */ #include "btype.h" #include "bpool.h" #include "mthread.h" #include "memory.h" #include "epcore.h" #include "epump_local.h" #include "worker.h" #include "iodev.h" #include "iotimer.h" #include...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU Gener...
/* * Copyright (C)2005-2022 Haxe 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,...
/* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
#include "application.h" #include "calendar/calendar.h" #define BUFLEN 256 // guarded free #define FREE_IF(ptr) if (ptr != NULL) free(ptr) /** * Decode process arguments */ static const struct option longopts[] = { {"help", no_argument, NULL, 'h'}, {"version", no_argument, NULL, 'V'}, {"scrot", no_argu...
/****************************************************************************** * * Copyright (C) 2012 - 2016 Texas Instruments Incorporated - http://www.ti.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
/* Copyright (c) 2019-2022 <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, d...
#include "ESF.h" /****************************************************************** * This is a c script to output the big info file * * Input: * * * Output: * * * DATE: Keywords: * Reference: ******************************************************************/ int output_final_pick_onset_info_for_record(...
/* Example program to setup pwm on a Longan Nano board with a Risc V processor GD32VF103 to produce a rainbow color cycle with the on board rgb led. It uses purely hardware driven alternate function pins and an interrupt driven approach. Hardware driven approach is faster and uses no CPU cycles but only works on select...
/* * @file paulaemul.c * @brief Paula emulator (Amiga soundchip) * @author http://sourceforge.net/users/benjihan * * Copyright (C) 1998-2011 <NAME> * * Time-stamp: <2011-10-27 12:13:51 ben> * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU General P...
/* Boolector: Satisfiability Modulo Theories (SMT) solver. * * Copyright (C) 2007-2009 <NAME>. * Copyright (C) 2007-2017 <NAME>. * Copyright (C) 2012-2019 <NAME>. * Copyright (C) 2012-2019 <NAME>. * * This file is part of Boolector. * See COPYING for more information on using this software. */ #include...
#include <stdio.h> #include "aos/hal/gpio.h" #include "aos/hal/spi.h" #include "hal_lcd.h" // user define area #ifdef AOS_APP_GAME_DEMO #define ILI9341_HEIGHT 320 #define ILI9341_WIDTH 240 #else #define ILI9341_HEIGHT 240 #define ILI9341_WIDTH 320 #endif #define ILI9341_DC_PIN 1 #define ILI9341_RESET_PIN...
/* Copyright (c) 2003 Novell, Inc. All Rights Reserved. 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 progr...
#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...
/* * QEMU Uart Emulator. * * Copyright (c) 2003 <NAME> * Copyright (c) 2006 Openedhand Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without li...
/* * File: perfctr.c * Author: <NAME> * mucci at cs.utk.edu * Mods: <NAME> * london at cs.utk.edu * Mods: <NAME> * maynardj at us.ibm.com * Mods: <NAME> * bsheely at eecs.utk.edu */ #include <string.h> #include <linux/unistd.h> #include <errno.h> #include <sys/time.h> ...
/******************************Module*Header*******************************\ * Module Name: enable.c * * This module contains the functions that enable and disable the * driver, the pdev, and the surface. * * Copyright (c) 1992 Microsoft Corporation \**************************************************************...
/* * PowerPC64 port by <NAME> and <NAME> * {<EMAIL>|<EMAIL> * * Copyright (c) 2000 <NAME> <<EMAIL>> * * SMP scalability work: * Copyright (C) 2001 <NAME> <<EMAIL>>, IBM * * Module name: htab.c * * Description: * PowerPC Hashed Page Table functions * * This program is free software; you...
/* Cored sharpen of LABQ image. * * Returns 0 on success and -1 on error * * Copyright: 1995 <NAME> * Author: <NAME> * Written on: 30/01/1995 * 15/5/95 JC * - updated for latest 7.3 mods * - m3 parameter removed * - bug fixes and speed-ups * 4/7/95 JC * - x3 parameter added * - xs are now double * 6/7/9...
/*------------------------------------------------------------------------/ / Bitbanging MMCv3/SDv1/SDv2 (in SPI mode) control module /-------------------------------------------------------------------------/ / / Copyright (C) 2010, ChaN, all right reserved. / / * This software is a free software and there is ...
/* gui_progress_bar.c - GUI progress bar component. */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2008,2009 Free Software Foundation, Inc. * * GRUB 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...
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: expandtab:ts=8:sw=4:softtabstop=4: /////////////////////////////////////////////////////////////////////////////// // /// \file subblock_decoder.c /// \brief Decoder of the Subblock filter // // Author: <NAME> // // This file has b...
/*- * Copyright 2005 <NAME> * Copyright 2013 <NAME> & <NAME> * Copyright 2016 <NAME> <<EMAIL>> * Copyright 2016 OTA keys S.A. * 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. Redis...
#include "config.h" #include "utils.h" #include <setjmp.h> jmp_buf nmt_exception_buffer; int nmt_exception_status; int nmt_error_policy=EXIT_ON_ERROR; char nmt_error_message[256]="No error\n"; int my_linecount(FILE *f) { int i0=0; char ch[1000]; while((fgets(ch,sizeof(ch),f))!=NULL) { i0++; } return i0;...
/* * Written in 2013 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated * all copyright and related and neighboring rights to this software * to the public domain worldwide. * * This software is distributed without any warranty. * * You should have received a copy of the CC...
/**************************************************************************** * * VESA Generalized Timing Formula (GTF) * Version 1.1 * * ======================================================================== * * The contents of this file are subject to the SciTech ...
/* util.c - Implementation of misc. functions related to IRC * libsrsirc - a lightweight serious IRC lib - (C) 2012-20, <NAME> * See README for contact-, COPYING for license information. */ #define LOG_MODULE MOD_IRC_UTIL #if HAVE_CONFIG_H # include <config.h> #endif #include <libsrsirc/util.h> #include <inttype...
/* * Authors: <NAME> <<EMAIL>> * * $Id: main.c,v 1.3 2006/12/19 08:33:14 hochstenbach Exp $ * */ #include "defs.h" /* Prototypes */ static int daemon_start(void); static void loop(void); static void print_request(void); static request_struct *get_request(session_struct session); static int free_request(request_...
#include "uart.h" #include "mbox.h" #include "general.h" #include "diy_sscanf.h" #include "diy_string.h" #include "cpio.h" #include "diy_malloc.h" #include "fdtb.h" #include "thread.h" #include "timer.h" #include "sys_reg.h" #include "system_call.h" #include <stdint.h> #define MACHINE_NAME "rpi5-baremetal-lab5$ " #de...
/* * charset.c * * Conversion tables and routines to support different character sets. * The PGP internal format is latin-1. * * (c) Copyright 1990-1994 by <NAME>. All rights reserved. * The author assumes no liability for damages resulting from the use * of this software, even if the damage results from defec...
/* Copyright (c) 2021, Nokia * * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <string.h> #include <stdint.h> #include <inttypes.h> #include <stdlib.h> #include <getopt.h> #include <odp_api.h> #include <odp/helper/odph_api.h> typedef struct test_options_t { u...
/* * Modified * Copyright (C) 2021 Intel Corporation * Licensed under the MIT license. See LICENSE file in the project root for * full license information. * Origin(Terasic) * See Copyright.txt file in the <project root/LICENSES/origin/de10nano-samples> for * full license information. * "Hello World" exampl...
/* * The Shadow Simulator * Copyright (c) 2010-2011, <NAME> * See LICENSE for licensing information */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #if !defined __USE_LARGEFILE64 #define __USE_LARGEFILE64 #endif #include <errno.h> #include <glib.h> #include <glib/gstdio.h> #include <stddef.h> #include <unistd.h...
/* * wslua_frame_info.c * * Wireshark's interface to the Lua Programming Language * for frame data and meta-data from a capture file. * * (c) 2014, <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * SPDX-License-Identifier: GPL-2.0-or-later */ #incl...
/* * (C) Copyright 1988- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
// dump1090, a Mode S messages decoder for RTLSDR devices. // // Copyright (C) 2012 by <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: // // * Redistributions of sourc...
/* * Copyright (C) 2014 BlueKitchen GmbH * * 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 follo...
/* Functions specific to running gdb native on an ns32k running NetBSD Copyright 1989, 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2001, 2004 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 Genera...
/* Do CTE loss correction for the current set of extensions. The primary header will be updated with history information, and the calibration switches in the header will be reset from "PERFORM" to "COMPLETE". 12-Aug-2012 PLL: Separated PCTECORR from ACSCCD. */ # include <string.h> # include <stdio.h> # include <ti...
// A C Program to demonstrate adjacency list representation of graphs #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include "random64.h" ////// // Voltage List ///// // a single node in the network struct VoltNode { double voltageNew; double voltageOld; double conductance...
/* rbspscan.c ============ Author: <NAME> This code is largely based off of the themisscan.c RCP. The credits for this go to: Author: J.Spaleta With Modifications by <NAME> */ /* (c) 2010 JHU/APL & Others - Please Consult LICENSE.superdarn-rst.3.1-beta-18-gf704e97.txt for more information. */ #include <mat...
#include <stdio.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <stdbool.h> #include <time.h> #include <string.h> #include <stdint.h> #include "pcg_basic.h" int getMax(int array[], int size); void countSort(int array[], int base, int exp, int size, bool c...
/* * Copyright (c) 2015-2020 Red Hat, Inc. * * All rights reserved. * * Author: <NAME> (<EMAIL>) * * This software licensed under BSD license, the text of which follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
#include <stdio.h> #include <stdarg.h> #include "common.h" #include <sawpads.h> #include "lz4.h" #define VERSION_MAJOR 1 #define VERSION_MINOR 0 #define HEADER_SIZE sizeof(level_header_t) extern uint8_t icon_raw[]; static int card_initialized = 0; static uint32_t card_sector_map[20]; static void init_card(save_prog...
#include <stdlib.h> #include "sdk_common.h" #include "nrf52_ble_rad.h" #include "ble_srv_common.h" #include "nrf52_ravel_frame.h" #define NRF_LOG_MODULE_NAME "BLE_RAD" #define NRF_LOG_LEVEL 1 #include "nrf_log.h" #include "nrf_log_ctrl.h" #include "nrf52_ble_interface.h" #include "nrf52_ble_rad.h" #include "api/intri...
/* * Alaska Communications UDP Echo Tools * Copyright (C) 2020 Alaska Communications * * 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 copyrig...
#pragma ident "$Id: envproc.c,v 1.2 2016/01/23 00:09:34 dechavez Exp $" /*====================================================================== * * Parse Q330_configuration.envproc * *====================================================================*/ #include "protos.h" static void set_value(MYXML_PARSER ...
/* gmx_amide_bond.c contains subroutines for operations involving the * t_protbond structures used for storing bond inforation by g_amide. * * Written by <NAME> (2015) */ #include "gmx_amide_bond.h" // Cut-off lengths for covalent bonds const double rcutDEFAULT = 0.200; const double rcutOC = 0.2000; const dou...
// Copyright (C) strawberryhacker #include <citrus/mmc.h> #include <citrus/print.h> #include <citrus/panic.h> #include <citrus/gpio.h> #include <citrus/clock.h> #include <citrus/apic.h> #include <citrus/thread.h> #include <citrus/kmalloc.h> #include <stddef.h> // This code is configuring the MMC driver to work in SD ...
/* * Copyright (c) 2011-2015, <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 con...
/* dasudi.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; /* $Procedure DASUDI ( DAS, update data, integer ) */ /* Subroutine */ int dasudi_(integer *han...
/* * sbpcd.h Specify interface address and interface type here. */ /* * these definitions can get overridden by the kernel command line * ("lilo boot option"). Examples: * sbpcd=0x230,SoundBlaster * or * sbpcd=0x300,La...
/* * STV0680 Vision Camera Chipset Driver * Copyright 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 ...
#include <stdlib.h> #include <stdio.h> #include <fcntl.h> #include <strings.h> #include <assert.h> #include <unistd.h> /** * Parameters */ #define PAGE_SIZE 4096 #define PAGE_SIZE_LOG_2 12 #define NUM_VIRTUAL_PAGES 2048 #define NUM_PHYSICAL_FRAMES 32 #define MAX_MAP_ENTRIES 4 /** * Performance ...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2010 <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) ...
/* * dpic - troff post-processor for anti-aliased scan-conversion into picture files * output language from troff: * all numbers are character strings * * sn size in points * fn font as number from 1-n * cx ascii character x * Cxyz funny char xyz. terminated by white space * Nn character at position n of cur...
/* * Copyright (C) 2009 QUALCOMM Incorporated. */ #include "mt9t013.h" #include <linux/kernel.h> struct reg_struct const mt9t013_reg_pat[2] = { { /* Preview 2x2 binning 20fps, pclk MHz, MCLK 24MHz */ /* vt_pix_clk_div:REG=0x0300 update get_snapshot_fps * if this change */ 8, /* vt_sys_clk_div: REG=0x0302 upd...
#include "apr.h" #include "apr_file_info.h" #include "apr_file_io.h" #include "apr_strings.h" #include "apr_hash.h" #include "apr_uri.h" #include "shell.h" #include "config.h" #include "util.h" #include "logparse.h" #include "autoconfig.h" apr_hash_t *g_config_opts; static apr_status_t config_set_string(config_t *cf...
/* Copyright (c) 2019-2022 <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, d...
/* Mnemonic: config.c Abstract: Functions to read and parse the various config files. Author: <NAME> Date: 26 Feb 2016 Mods: 10 Mar 2016 : Added support for additional parm file values. 01 Apr 2016 : Support variable mtu for each pciid in the parm file. 10 May 2016 : Add keep boolien from main config....
/*! \file issu_struct_upgrade.c * * ISSU Structure data upgrade (for HA memory). */ /* * 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. */ #include <sal/sal_types.h> #...
/* Copyright (c) 2007 <NAME> <<EMAIL>> Copyright (c) 2007 Center for Bioinformatics, University of Hamburg 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 cop...
/* * ulong.c * * Functions to generate printf-like number strings. * * Copyright 1991, 2015 by <NAME>. All rights reserved. */ /*********************************************************************** *** No configuration below this point. **********************************************************************...
/* ************************************************************************ * Copyright 2013 Advanced Micro Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
/* MIT License Copyright (c) 2022 <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, d...
/*============================================================================= response =============================================================================== This module contains callbacks from and services for a request handler. Copyright information is at the end of the fi...
/* hypervisor traps and emulations * @author pwang * @mail <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 ve...
/* Title: Parse PacBio Alignement codon library Author: <NAME> Version: 23th July 2021, 8:30 (GMT+1) Notes: For Saccharomyces Cerevisiae */ #include <stdio.h> #include <stdlib.h> #include <string.h> char codon2aa (char *codon) { if (strcmp (codon, "TTT") == 0) return 'F'; else if (strcmp ...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include "function.h" #define ROWS 128 #define COLS 128 #define SQR(x) ((x)*(x)) #define WINDOW 5 //#define ANGLE MI_PI/4 //#define ANGLE 25 extern int _ROWS; extern int _COLS; extern int _BYTES; extern char _header[320...
/* ############################################################################ Name : main.c Company : ALCON 2009 Project : Finding Clones Programmer : ALCON 2009 Revisor : <NAME> Description : Main function Procedure Description =====================...
#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...
// File system implementation. Five layers: // + Blocks: allocator for raw disk blocks. // + Log: crash recovery for multi-step updates. // + Files: inode allocator, reading, writing, metadata. // + Directories: inode with special contents (list of other inodes!) // + Names: paths like /usr/rtm/xv6/fs.c for ...
/* Copyright (c) 2008-2009 <NAME> <<EMAIL>> Copyright (c) 2008-2009 Center for Bioinformatics, University of Hamburg 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 ...
/****************************************************************************** * $Id$ * * Project: MapServer * Purpose: Commandline App to build tile index for raster files. * Author: <NAME>, <EMAIL> * ****************************************************************************** * Copyright (c) 2001, <NAM...
/* * AMx3 Wkup M3 IPC driver * * Copyright (C) 2015 Texas Instruments, Inc. * * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distri...
/*************************************************************************** Sprite/tile priority is quite complex in this game: it is handled both internally to the CUS29 chip, and externally to it. The bg tilemap is always behind everything. The CUS29 mixes two 8-bit inputs, one from sprites and one from the fg ti...
/* $OpenBSD: auth2-pubkey.c,v 1.30 2011/09/25 05:44:47 djm Exp $ */ /* * Copyright (c) 2000 <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 ...
/*++ Copyright (C) 1994-98 Microsft Corporation. All rights reserved. Module Name: diag.c Abstract: This file contains helper routines to get the callerid/calledid and connect response. Author: <NAME> (raos) 23-Feb-1998 Revision History: --*/ #include <nt.h> #include <ntr...
/*==================[inlcusiones]============================================*/ // Includes de FreeRTOS #include "../../../RTOS_I/RTOSI_CLASE06_IRQ_QUEUE/inc/FreeRTOSConfig.h" #include "FreeRTOS.h" //Motor del OS #include "task.h" //Api de control de tareas y temporización #include "semphr.h" //Api de sincronizaci...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2018 <NAME> for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
/* linux/drivers/media/video/samsung/s3c_post_regs.c * * Register interface file for Samsung Post Processor driver * * <NAME>, Copyright (c) 2009 Samsung Electronics * http://www.samsungsemi.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
/* bio_asn1.c */ /* Written by Dr <NAME> (<EMAIL>) for the OpenSSL * project. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are perm...
/***************************************************************************** * * sc61860.c * portable sharp 61860 emulator interface * (sharp pocket computers) * * Copyright (c) 2000 <NAME>, all rights reserved. * * - This source code is released as freeware for non-commercial purposes. * - You a...
/* * Copyright 2019-2020 NXP * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <common/debug.h> #include <drivers/delay_timer.h> #include <lib/mmio.h> #include <lib/psci/psci.h> #include <lib/smccc.h> #include <services/std_svc.h> #include <gpc.h> ...
// This program demonstrates stepper motor position control // using the Pololu Tic T825 USB Multi-Interface Stepper Motor Controller. // // https://www.pololu.com/product/3130/resources #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> #include <signal.h> #include <m...
/* * Copyright (C) 2007, 2008 Nokia Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOU...
/************************************************************************* Program: BallStick File: BallStick.c Version: V3.0 Date: 19.08.19 Function: Preprocessor for QTree to create a Ball & Stick image Copyright: (c) SciTech Software 1993-2019 Author: Prof. <NAM...
/* * Copyright (C) 2010 * <NAME> <<EMAIL>> * <NAME>, EMK Elektronik <<EMAIL>> * * Original Driver: * Copyright (C) 2004-2006 Atmel Corporation * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <mmc.h> #include <part.h> #include <malloc.h> #include <asm/io.h> #include <asm/errno.h> #include...
// Copyright 2017 <NAME>, KAIST. All rights reserved. // Licensed under MIT (https://github.com/ducalpha/greenbag/blob/master/LICENSE) #include <stdio.h> #include <assert.h> #include "player_time.h" #include "energy.h" #include "recovery.h" #include "gb.h" #include "util.h" #define HEADROOM_SINGLE_DUAL_FACTOR 0.9 #de...
#include <stdio.h> #include "types.h" #include "imports.h" #include "devices.h" #include "sdio.h" #include "text.h" extern unsigned char io_buffer[0x40000]; #define PARTITION_TYPE_FAT32 0x0c #define MAX_PARTITIONS 32 /* Maximum number of partitions that can be found */ #define MAX_MOUNTS 10 /* Maximum n...
#include "pebble.h" #include "string.h" #include "stdlib.h" #define MINUTE_H 64 //長針の長さ #define GOLDEN_R 0.618 //黄金比の値(短針の長さに使用 #define NUM_CLOCK_TICKS 12 //文字盤の点の数 // 文字盤の時間を示す点 static const struct GPathInfo ANALOG_BG_POINTS[] = { //1 { 4, (GPoint []){ {104, 7}, {111, 11}, {107, 17}, ...
/* zzedtmpt.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__9 = 9; static doublereal c_b31 = 1e-14; /* $Procedure ZZEDTMPT ( Ellipsoid terminator point in half-...
// // Created by burso on 6/18/15. // #include <stdio.h> #include <assert.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "zio.h" #include "config.h" #include "vdev_status.h" #include "memlist.h" int zpool_print_vdev(zpool_handle_t * zhp, void * data) { zstatus_t * zstat = (zstatus_t *)dat...