text
stringlengths
3.12k
18.7k
#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...
//#define __SFILE__ "cli_cmd.c" #include <stdio.h> #include "soc_types.h" #include "cli.h" #include "drv/gpio/hal_gpio.h" #include "drv/gpio/drv_gpio.h" #include "drv/pwm/hal_pwm.h" #include "drv/pwm/drv_pwm.h" uint32_t pwm_gpio_int_pin = 5; /*---------------------------------- CMDs ---------------------------------...
// // noise.cpp // PinkTrombone - VST3 // // Created by <NAME> on 8/29/19. // #include "noise.h" #include "../../include/globals.h" #include <stdbool.h> #include <sys/time.h> #include <math.h> typedef struct grad { double x; double y; double z; } grad_t; static double dot2(grad_t *gin, double x, doubl...
#include "comm.h" static AppTimer *s_timeout_timer; static bool s_quick_started = false; static void inbox_received_handler(DictionaryIterator *iter, void *context) { if(s_timeout_timer) { app_timer_cancel(s_timeout_timer); s_timeout_timer = NULL; } int size = (int)iter->end - (int)iter->dictionary; ...
// option.c // includes #include <stdlib.h> #include <string.h> #include "option.h" #include "util.h" // defines #define NNB { NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL } // constants static const bool UseDebug = FALSE; // variables option_list_t Option[1]; option_t De...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
/* * Copyright (C) 2011 <NAME> <<EMAIL>> * 2005-2007 <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 late...
/* * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1995-1999 by Internet Software Consortium * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission n...
/* * Bindle Binaries Tools * Copyright (C) 2014 Bindle Binaries <<EMAIL>>. * * @BINDLE_BINARIES_BSD_LICENSE_START@ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source co...
/* $NetBSD: strhash.c,v 1.4 2014/12/10 04:37:55 christos Exp $ */ #ifndef lint static char *rcsid = "Id: strhash.c,v 1.1 2003/06/04 00:26:13 marka Exp "; #endif /* * Copyright (c) 2000 Japan Network Information Center. All rights reserved. * * By using this file, you agree to the terms and conditions set forth ...
/* tc-sparc.h - Macros and type defines for the sparc. Copyright (C) 1989-2018 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS 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 F...
/* mpf_get_str (digit_ptr, exp, base, n_digits, a) -- Convert the floating point number A to a base BASE number and store N_DIGITS raw digits at DIGIT_PTR, and the base BASE exponent in the word pointed to by EXP. For example, the number 3.1416 would be returned as "31416" in DIGIT_PTR and 1 in EXP. Copyright...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> FILE *pfout = NULL; char ffrvout[128] = {0}; #define FRAME_NUM 1 #define ENABLE_YUV_SAVE #define ENABLE_PRINT_FRAME_BYTES #define PRINT_BYTES 30 /** * save yuv420p frame [YUV] */ void yuv4...
#include <stdlib.h> #include <stdio.h> #define MAXL 100 #define NDIA 3 #define NELE 5 #define BONUS 8.0f typedef struct{ char nome[MAXL]; // Nome dell'elemento int tipo; // Tipologia: 2 = avanti, 1 = indietro, 0 = di transizione int dir_in; // Direzione di ingresso: 1 = frontale, 0 = di spa...
/* Copyright (c) 2001 <NAME>. * Copyright (c) 2001-2004, <NAME>. * Copyright (c) 2004-2006, <NAME>, <NAME>. * Copyright (c) 2007-2019, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file buffers_net.c * \brief Read and write data on a buf_t object. **/ #define BUFFERS_PRIVATE #inclu...
/* This is a benchmarking program for netCDF-4 parallel I/O. */ /* Defining USE_MPE causes the MPE trace library to be used (and you * must also relink with -llmpe -lmpe). This causes clog2 output to be * written, which can be converted to slog2 (by the program * clog2TOslog2) and then used in the analysis program ...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* psg4cs.c - check the pulse sequence for CompSens.h include file and modify...
/* mz_os_posix.c -- System functions for posix part of the MiniZip project Copyright (C) 2010-2020 <NAME> https://github.com/nmoinvaz/minizip This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include "mz.h...
#pragma ident "$Id: idadtc.c,v 1.2 2003/12/10 06:31:22 dechavez Exp $" /*====================================================================== * * Dump an IDA data disk to tape. * *====================================================================*/ #include <stdio.h> #include <stdlib.h> #include <time.h> #incl...
/*- * Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved. * Copyright Nokia 2007-2019 * Copyright Siemens AG 2015-2019 * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in t...
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2013 Conifer Software. // // ...
/* libpaillier - A library implementing the Paillier cryptosystem. Copyright (C) 2006 SRI International. 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 (...
/* linux/arch/arm/plat-s3c/pm-check.c * originally in linux/arch/arm/plat-s3c24xx/pm.c * * Copyright (c) 2004-2008 Simtec Electronics * http://armlinux.simtec.co.uk * <NAME> <<EMAIL>> * * S3C Power Mangament - suspend/resume memory corruption check. * * This program is free software; you can redistribute it a...
/* * Copyright (C) 2008 dhewg, #wiidev efnet * * this file is part of geckoloader * http://wiibrew.org/index.php?title=Geckoloader * * 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; eithe...
/* **************************************************************** */ /* */ /* I-Search and Searching */ /* */ /* **************************************************************** */ /* Copyright (C) 1987,1989 Free Software Foundation, Inc. This file contains the Readline Library (the...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * Copyright (C) 2016-2019 - <NAME> * * RetroArch 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 Foun...
// // main.c // from sim-wattch-1.02e - http://www.eecs.harvard.edu/~dbrooks/wattch-form.html // // updated for modeling Base-Delta-Immediate compression [Pekhimenko, Seshadri, Mutlu, Mowry, Gibbons, and Kozuch] // changes wrapped in //sdrea-begin ... //sdrea-end // // <NAME>, P. Eng. // Graduate Student // Electri...
#include <stdlib.h> #include <Windows.h> #include "iup.h" #include "common.h" short calcChance(short chance) { // notice that here we made a copy of chance, so even though it's volatile it is still ok return (chance == 10000) || ((rand() % 10000) < chance); } static short resolutionSet = 0; void startTimePer...
/* $Id$ Copyright 1989-2014 MINES ParisTech This file is part of Linear/C3 Library. Linear/C3 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 3 of the License, or an...
/* * Copyright (c) 2018-2019 <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...
/* * Match running platform with pre-defined OPP values for CPUFreq * * Author: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright (C) 2015 STMicroelectronics (R&D) Limited * * This program is free software; you can redistribute it and/or modify * it under the terms of the version 2 of the GNU General P...
/* STLport configuration file * It is internal STLport header - DO NOT include it directly * Microsoft Visual C++ 6.0, 7.0, 7.1, 8.0, ICL */ #if !defined (_STLP_COMPILER) # define _STLP_COMPILER "Microsoft Visual Studio C++" #endif #if !defined (__ICL) && !defined (_STLP_MSVC) # define _STLP_MSVC _MSC_VER #endif...
/* Copyright 2018 Canaan 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/*************************************************************************** TMP68301 basic emulation + Interrupt Handling The Toshiba TMP68301 is a 68HC000 + serial I/O, parallel I/O, 3 timers, address decoder, wait generator, interrupt controller, all integrated in a single chip. ******************...
/* $Id: build.c 3224 2005-11-21 14:28:31Z truelight $ */ #include "../../stdafx.h" #include "../../openttd.h" #include "../../debug.h" #include "../../functions.h" #include "../../map.h" #include "../../tile.h" #include "../../command.h" #include "trolly.h" #include "../../engine.h" #include "../../station.h" #include...
#include "builtin.h" #include "cache.h" #include "config.h" #include "commit.h" #include "diff.h" #include "string-list.h" #include "revision.h" #include "utf8.h" #include "mailmap.h" #include "shortlog.h" #include "parse-options.h" static char const * const shortlog_usage[] = { N_("git shortlog [<options>] [<revisio...
#pragma once int DRAW_SIZE_X = 48; int DRAW_SIZE_Y = 32; int camera_x = 1; int camera_y = 1; int picked_tile = 0x25; int picked_sprite = -1; int mouse_x, mouse_y; int block_size = 0; //Placement size int updates = 0; bool snap = false; double stick_x = 0.0; double stick_y = 0.0; bool mouse_l = false; bool mouse_r = f...
/* --COPYRIGHT--,BSD * Copyright (c) 2017, Texas Instruments Incorporated * 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 cop...
/* * Copyright (c) 2015, 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 follow...
#include <fudge.h> #include <kernel.h> #include <modules/base/driver.h> #include <modules/system/system.h> #include <modules/console/console.h> #include <modules/arch/x86/platform/platform.h> #include <modules/arch/x86/pic/pic.h> #include <modules/arch/x86/io/io.h> #define REG_RBR 0x0000 #defin...
// gcc -O4 -c vm5.c && gcc -o vm5 vm5.o && time ./vm5 // clang -O4 -c vm5.c && clang -o vm5 vm5.o && time ./vm5 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #define INLINE __inline__ #define DUMMY UINT64_MAX #define D DUMMY // #define DISPATCH inst++; goto *inst->op // #define DISPATC...
// ------------------------------------------------------------------ // vcf_piz.c // Copyright (C) 2019-2022 Black Paw Ventures Limited // Please see terms and conditions in the file LICENSE.txt #include <math.h> #include "vcf_private.h" #include "zfile.h" #include "txtfile.h" #include "seg.h" #include "context...
/* * fwt_TFM.c * 3/30/93 * Build troff font width table from HP TFM file. * Reference: <NAME>, "Tagged Font Metric Specification". * However, as of 6/7/91, steve has not seen the official spec, * so this code is based on the braindamaged source code for HP TFM reader. * Prints useful debugging output to stderr i...
/* * BSD 3-Clause License * * Copyright (c) 2020, <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, t...
/* BSD 3-Clause License Copyright (c) 2017, <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: * Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* * system.c * * Created on: 30.09.2017 * Author: kurt */ #include <main.h> void system_changevalue(int touchbutton); #define ITEMS_TOPMARGIN 54 #define ITEMS_BOTTOMMARGIN 414 #define SYSTEM_ITEM_ANZ 9 #define SYSTEM_ITEM_ANZ_PWR 7 int system_editline = TB_SYSTEM1; unsigned char tmp_display_reverse; ch...
/* * SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR * * Copyright IBM Corp. 2013 * Author(s): <NAME> (<EMAIL>) * */ #define KMSG_COMPONENT "hmcdrv" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/kernel.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux...
#include <assert.h> #include <math.h> #include <midi-parser.h> const char * midi_file_format_name(int fmt) { switch (fmt) { case MIDI_FILE_FORMAT_SINGLE_TRACK: return "single track"; case MIDI_FILE_FORMAT_MULTIPLE_TRACKS: return "multiple tracks"; case MIDI_FILE_FORMAT_MULTIPLE_SONGS: return "multiple songs"...
#include <ruby.h> #include <assert.h> #ifndef RARRAY_LEN #define RARRAY_LEN(arr) RARRAY(arr)->len #define RARRAY_PTR(arr) RARRAY(arr)->ptr #define RSTRING_LEN(str) RSTRING(str)->len #define RSTRING_PTR(str) RSTRING(str)->ptr #endif static ID unpack_id; static VALUE U_fmt, C_fmt; /* give GCC hints for better branch...
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* ==================================================================== * Copyright (c) 2008 Carnegie Mellon University. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
// Copyright (C) Microsoft Corporation. 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. #in...
/**************************************************************************//** * @file main.c * @version V3.00 * $Revision: 2 $ * $Date: 16/10/25 4:27p $ * @brief Demonstrate how to use PWM Dead Zone function. * @note * Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. * *******...
/*- * Copyright (c) 2006 <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 a...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> int X_RESN = 1000; /* x resolution */ int Y_RESN = 1000; /* y resolution */ int MAX_ITER = 200; // ref: Creating bitmap files from byets data: https://stackoverflow.com/a/47785639 const int BYTES_PER_PIXEL = 3; /// red, ...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* * Copyright (c) 2014,2015 DeNA Co., Ltd., <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...
/** * \file radio_driver_SX1276.c * * \brief This is the Radio drivers SX1276 source file which contains LoRa-specific * Radio drivers functions declarations and defines for SX1276 * * Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your com...
// sf_aiffwav.c // // Functions to read an AIFF file and convert (in memory) to WAV format, // as libmikmod only reads WAV samples // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include "sf_frotz.h" #ifndef HUGE_INT32 #define HUGE_INT32 0x7fffffff #endif /* HUGE_VAL */ #ifndef...
/* $Id$ * * Accelerators, especially for bytecode */ #include "caml/mlvalues.h" #include "caml/alloc.h" #include "caml/memory.h" #include "caml/fail.h" #include "caml/callback.h" /* Accelerator for Netaux.ArrayAux.int_blit */ value netstring_int_blit_ml (value src, value srcpos, value dest, value destpos...
// Imaging.c // OpenGL SuperBible // Demonstrates Imaging Operations // Program by <NAME>. #include "../../common/openglsb.h" // System and OpenGL Stuff #include "../../common/gltools.h" // OpenGL toolkit #include <math.h> #include <stdio.h> ////////////////////////////////////////////////////////////////// // Module...
/*- * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * 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 cod...
// carddeck.c // Chapter 16 // Learn C Programming // // carddeck.c is the final version of carddeck_3. // // compile with: // // cc carddeck.c -o carddeck -Wall -Werror =std=c11 // #include <stdbool.h> // for Boolean #include <stdio.h> // for printf() #include <string.h> // for strcpy() and strcat() #i...
/* tests for compressed response handling. Copyright (C) 2001-2004, 2006, <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 y...
/* * Copyright (c) 2015-2017, Texas Instruments Incorporated * 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...
/* * Sandboxing example * * Uses custom memory allocation functions which keep track of total amount * of memory allocated, imposing a maximum total allocation size. */ #include <stdio.h> #include <stdlib.h> #include "duktape.h" /* * Memory allocator which backs to standard library memory functions but * ...
/** ****************************************************************************** * @file rtl8721dhp_usi_ssi.c * @author * @version V1.0.0 * @date 2017-11-27 * @brief This file contains all the functions prototypes for USI-SPI: * - Initialization * - Clock polarity and phase setting * - S...
/* This is part of the netCDF package. Copyright 2010 University Corporation for Atmospheric Research/Unidata See COPYRIGHT file for conditions of use. Test dim rename that is causing problems with v2 API. */ #include <nc_tests.h> #include "err_macros.h" #define FILE_NAME "tst_rename.nc" void check_err(con...
#include "config.h" #include "mnqtt.h" #include <netinet/in.h> /* For ntohs/htons. */ #ifdef ARRAY_SIZE # undef ARRAY_SIZE #endif #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a) [0])) #ifndef MNQTT_SEND # define MNQTT_SEND mnqtt->send # define MNQTT_SENDV mnqtt->sendv #endif static void err (struct mnqtt *mn...
/* Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved. The Weather Channel (TM) funded Tungsten Graphics to develop the initial release of the Radeon 8500 driver under the XFree86 license. This notice must be preserved. Permission is hereby granted, free of charge, to any person obtaining a copy of t...
/* GCVideo DVI Firmware Copyright (C) 2015-2017, <NAME> <<EMAIL>> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice...
/*********************************************************** Copyright 1994 by <NAME>, Cathedral City, California Republic, United States of America. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereb...
#include <stdlib.h> #include <stdio.h> #include "cml_config.h" #include "cml_stax_writer.h" #include "utf8.h" struct cml_stax_writer_tag { int (*putc)(void *context, char c); void *putc_context; int depth; int in_array; int blank_line_needed; int in_error; }; static int put_s(cml_stax_writer *w, const char *s) ...
/* * asc2log.c - convert ASC logfile to compact CAN frame logfile * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * 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. R...
/*** * Bitwuzla: Satisfiability Modulo Theories (SMT) solver. * * This file is part of Bitwuzla. * * Copyright (C) 2007-2022 by the authors listed in the AUTHORS file. * * See COPYING for more information on using this software. */ #include "preprocess/bzlaskolemize.h" #include "bzlacore.h" #include "bzlaexp....
// // E1000 hardware definitions: registers and DMA ring format. // from the Intel 82540EP/EM &c manual. // https://www.intel.com/content/dam/doc/manual/pci-pci-x-family-gbe-controllers-software-dev-manual.pdf /* Registers */ #define E1000_CTL 0x00000 /* Device Control Register - RW */ #define E1000_STATUS 0x0...
/* * Copyright (C) 2008 The Android Open Source Project * * 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...
/* * Copyright (c) 2012, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright notice, this list...
/* * Copyright (C) 2006-2012 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ /* * sonLibString.c * * Created on: 24-May-2010 * Author: benedictpaten */ #include "sonLibGlobalsInternal.h" char *stString_copy(const char *string) { if (string == NULL) { return NULL;...
// 0x07006668 - 0x07006680 static const Lights1 wf_seg7_lights_07006668 = gdSPDefLights1( 0x66, 0x66, 0x66, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x07006680 - 0x070066C0 static const Vtx wf_seg7_vertex_07006680[] = { {{{ 256, 1075, -255}, 0, { -9228, 990}, {0x00, 0x7f, 0x00, 0xff}}}, {{{ -...
/** * File Name : morph_hindi.c */ /** Function : fun_morph * Description: This function is the main functuon. It extracts suffixes and calls different * routines for analysis * Input Arguments: * morph of char array,swit1 of int type ,fpt1 filepointer ,fp_pdgm filepointer * DBM_FLAG of int type ,db_lex fi...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved * * $Header$ */ #include <sys/file.h> #include <fcntl.h> #include <unistd.h> #include <k5-int.h> #include "policy_db.h" #include <stdlib.h...
/* * The *hackish* Lua Debugger in this file is based on the one Included * in MojoSetup: <http://icculus.org/mojosetup/> * * We have modified it to use our own logger, and to fit in our * Lua Module loading structure, but at its core it is the same. * * Later we added more debugger like thigns, breakpoints and ...
#include <stdlib.h> #include <stdio.h> #include <math.h> static const unsigned int MIN_FREQ = 20; static const unsigned int MAX_FREQ = 22050; // These structures map .wav headers to C structures. // See http://ccrma.stanford.edu/courses/422/projects/WaveFormat/ to understand why they have the form // that they have, ...
#include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include <sched.h> #include <fcntl.h> #include <errno.h> #include <time.h> #include "BBBiolib.h" #include "BBBiolib_McSPI.h" //----------------------------------------------------------------------------------------------- /* Argument de...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2001, 2013 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ #include "db_config.h" #include "db_int.h" #include "dbinc/txn.h" #include "dbinc/db_page.h" #include "dbinc/db_dispatch.h" #include "dbinc_auto/db_auto.h" #inc...
/**** includes ****/ #include<stdio.h> #include<termios.h> // tcgetattr(), tcsetattr() #include<unistd.h> // read(), write() #include<stdlib.h> // atexit(), exit() #include<ctype.h> // iscntrl() #include<stdio.h> // printf(), perror(), sscanf() #include<errno.h> // errno, EAGAIN #include<sys/ioctl.h> // (input/output ...
/******************************************************************************* Project: CAN Bus Driver for EPICS File: devMbbiCan.c Description: CANBUS Multi-Bit Binary Input device support Author: <NAME> <<EMAIL>> Created: 14 August 1995 Version: $Id: devMbbiCan.c 177 2008-11-11 20:41:45Z...
#include "plan.h" #include "ancient.h" //#include "plan.h" //Ancient ruins //Alakajam 11 entry by voxel #include <stdlib.h> #include <string.h> #include <stdlib.h> #include <string.h> // include NESLIB header #include "neslib.h" // include CC65 NES Header (PPU) #include <nes.h> #include "bcd.h" //#link "bcd.c" ...
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology 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 e...
/******************************************************************** Copyright 2010-2017 <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 3 of the License, or (at your...
#include <stdio.h> #include<stdlib.h> #include<fcntl.h> #include<errno.h> #include<math.h> #include<sys/mman.h> #include<linux/ioctl.h> #include"cj1_regs.h" unsigned int *u_control_base; unsigned int buffer[0x10000]; unsigned int * cb; unsigned long temp_address; int flag=1; int k = 0; int t_count; float adj=0.1; int ...
#include "recorder.h" #include <assert.h> #include <libavutil/time.h> #include "config.h" #include "compat.h" #include "util/lock.h" #include "util/log.h" static const AVRational SCRCPY_TIME_BASE = {1, 1000000}; // timestamps in us static const AVOutputFormat * find_muxer(const char *name) { #ifdef SCRCPY_LAVF_HAS_...
typedef int ptrdiff_t; typedef unsigned int size_t; typedef unsigned int wchar_t; typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; typedef signed char __int8_t; typedef unsi...
/* * Copyright 2010 <NAME> <<EMAIL>> * Copyright 2016 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 *...
/* * Copyright (C) 2014-2016 Jolla Ltd. * Contact: <NAME> <<EMAIL>> * * You may use this file under the terms of BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributio...
// file ex05.c // gcc -Isrc -undefined -shared -fPIC -o ex05.so src/ex05.c #include "lua.h" #include "lualib.h" #include "lauxlib.h" #include <stdio.h> #include <assert.h> #include <malloc.h> #include <string.h> // See lua.h for LUA_TNONE, ... 100 will not clash w/ predefined types #define OE_TINTEGER 100 /* OddlyEv...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * Copyright (c) 2013 Mellanox Technologies, Inc. * All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "oshmem_config.h" #include <stdio.h> #include "oshmem/constants.h" #include "oshmem/mca/atomic/atomic.h" #include "oshmem/mca/spml...
/* * Copyright (C) 1997 Massachusetts Institute of Technology * * This software is being provided by the copyright holders under the * following license. By obtaining, using and/or copying this software, * you agree that you have read, understood, and will comply with the * following terms and conditions: * *...