text
stringlengths
7.55k
41.9k
// Written by z5191493 // If you use C library functions add includes here. #include "emu.h" #include "ram.h" #include "registers.h" #include <limits.h> #include <ctype.h> // Definition of the instruction code #define ADD 1 #define ADDU 2 #define SUB 3 #define MUL 4 #define AND 5 #define OR 6 #define XOR 7 #define SLL...
#define _BSD_SOURCE #define _GNU_SOURCE #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <signal.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/time.h> #include <sys/types.h> #include <term...
/*********************************P2TEST.C******************************* * * Test program for the Kaya Kernel: phase 2. * * Produces progress messages on Terminal0. * * This is pretty convoluted code, so good luck! * * Aborts as soon as an error is detected. * * Modified by <NAME> on May 15, 2004 * ...
/*--------------------------------------------------------------- * Programmer(s): <NAME> @ SMU *--------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2020, Lawrence Livermore National Security * and Southern Methodist University. * All rights reserved. *...
/* Copyright (C) 2004 <NAME> <<EMAIL>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is...
/* * Copyright 2021 Two Sigma Open Source, LLC * * 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 require...
#include <stdio.h> #include <math.h> //NCKH2 //const float MaxValue = 3.40282e+038f; //using namespace std; typedef struct { float rawValue; float FastF; float AvgF; float SlowF; float MaxBound; float AvgBound; float MinBound; }VelocityFuzzy; VelocityFuzzy veloc...
#include <stdio.h> #include <string.h> #include "dynamic_libs/os_functions.h" #include "exploit.h" #define CHAIN_START 0x1016AD40 #define SHUTDOWN 0x1012EE4C #define SIMPLE_RETURN 0x101014E4 #define SOURCE 0x01E20000 #define IOS_CREATETHREAD 0x1012EABC #define ARM_CODE_BASE ...
/* * 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. */ /* * According to the packet format, if not simple bridged, * set the rules to extract the ECN value (2 bits),...
#include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <errno.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <time.h> #include <dirent.h> #include <linux/input.h> #include <sys/epoll.h> #include <poll.h> #include <sys/inotify.h> #include <sys/ioctl.h> #include ...
/****************************************************************************** * Copyright (c) 2012-2014 Marvell International, Ltd. All Rights Reserved * * Marvell Confidential ******************************************************************************/ #include <stdint.h> #include ...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2004-2009 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This progra...
// CS 87 - Final Project // <NAME> // // Radix-2 Cooley-Tukey Fourier Transform on C^n - parallel 'pi' version // on Xeon Phi // #include <stdio.h> // C's standard I/O library #include <stdlib.h> // C's standard library #include <stdint.h> // C's exact width in...
#include "render2d.h" #define MAX_TEXTURES (256) // Maximum draw commands allowed in the draw list #define MAX_DRAW_CMDS (1024) // Batch limits #define MAX_BATCH_RANGES (1024) #define MAX_BATCH_VERTS (MAX_DRAW_CMDS*6) // Helper function for loading a file from disk static u8* r2d_load_entire_file(const char *file...
/* * qt-faststart.c, v0.2 * by <NAME> (<EMAIL>) * This file is placed in the public domain. Use the program however you * see fit. * * This utility rearranges a Quicktime file such that the moov atom * is in front of the data, thus facilitating network streaming. * * To compile this program, start from the bas...
/******************************************************************************* * <NAME> * Description: shellyeah (implementation file) * Created: 11/4/18 ******************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <signal...
/* 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 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would...
#include "sfs_inode.h" #include "disk_emu.h" #include <stdio.h> #include <string.h> #include <limits.h> // Private helper method to add an entry to the table - returns the index static int addFDTEntry(iNode node, int inode_idx) { // Find an open fdt slot int fdt_index = -1; for(int i = 0; i < fdt.allocat...
#include <inttypes.h> #include <Windows.h> #include <stdbool.h> #include <malloc.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <math.h> #pragma comment(lib, "gdi32") #pragma comment(lib, "user32") #ifndef max #define max(a, b) ((a) > (b) ? (a) : (b)) #endif //!defined max #ifndef min #define ...
#define DEBUGGING 1 #include <cwm.h> #include <opengl.h> #include <math.h> #include <unistd.h> #include <sys/param.h> // structures and types typedef struct { unsigned internal_id; int exists; int visible; uint64_t farness; float opacity; float x, y; float width, height; float visual_opacity; float vi...
/* ======================================================================== * Copyright 2008 <NAME> * ======================================================================== */ /* * Program: Procmail-Callable Mail Delivery Module * * Author: <NAME> * * Date: 5 April 1993 * Last Edited: 19 November 2008 * *...
// Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. #include "lora_sx1276.h" // sx1276 registers #define REG_FIFO 0x00 #define REG_OP_MODE 0x01 #define REG_FRF_MSB 0x06 #define REG_FRF_MID 0x07 #define REG_FRF_LSB 0x08 #de...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2005 <NAME> Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as...
#include "__cf_simulation.h" #include "rt_logging_mmi.h" #include "simulation_capi.h" #include <math.h> #include "simulation.h" #include "simulation_private.h" #include "simulation_dt.h" extern void * CreateDiagnosticAsVoidPtr_wrapper ( const char * id , int nargs , ... ) ; RTWExtModeInfo * gblRTWExtModeInfo = N...
#include "builtin.h" #include "config.h" #include "lockfile.h" #include "object-store.h" #include "repository.h" #include "commit.h" #include "refs.h" #include "dir.h" #include "tree-walk.h" #include "diff.h" #include "revision.h" #include "reachable.h" #include "worktree.h" /* NEEDSWORK: switch to using parse_options...
/* * Copyright (C) 2012 <NAME> <<EMAIL>> * 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,...
#include "chibicc.h" // Input file static File *current_file; // A list of all input files. static File **input_files; // True if the current position is at the beginning of a line static bool at_bol; // True if the current position follows a space character static bool has_space; // Reports an error and exit. voi...
/* * Copyright (c) 1999, 2003, 2004, 2007, 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this ...
/** @file vl_svmtrain.c ** @brief vl_svmtrain MEX definition ** @author <NAME> ** @author <NAME> ** @author <NAME> **/ /* Copyright (C) 2012 <NAME>. Copyright (C) 2013 <NAME> Copyright (C) 2011-13 <NAME>. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BS...
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this ...
/** * \file */ #include <glib.h> #include "w32process.h" #include "w32process-internals.h" #include "w32file.h" #include "object.h" #include "object-internals.h" #include "class.h" #include "class-internals.h" #include "image.h" #include "utils/mono-proclib.h" #include "utils/w32api.h" #include "icall-decl.h" #def...
/* This is a demo of how to use the espkfw library to access features of the the very excellent keyboard featherwing by solder.party https://kfw.solder.party/ I might have over engineered things by adding breakout to a simple demo... ATTENTION: Game assets are loaded from SD card, make sure you copy the espkfw folde...
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this ...
#include <assert.h> #include <limits.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <getopt.h> #include "cactus.h" #include "avl.h" #include "commonC.h" #include "hashTableC.h" #include "sonLibSortedSet.h" //#include "cactus_addReferenceSeq.h" /* *Feb 7 2011: modify to inclu...
/* * ISO Media common code * Copyright (c) 2001 <NAME> * Copyright (c) 2002 <NAME> <<EMAIL>> * Copyright (c) 2006 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by...
// Copyright 2015 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
/*------------------------------------------------------------------------- * * bgwriter.c * * The background writer (bgwriter) is new as of Postgres 8.0. It attempts * to keep regular backends from having to write out dirty shared buffers * (which they would only do when needing to free a shared buffer to read ...
/* * From coreboot southbridge/intel/bd82x6x/lpc.c * * Copyright (C) 2008-2009 coresystems GmbH * * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> #include <errno.h> #include <fdtdec.h> #include <rtc.h> #include <pci.h> #include <asm/acpi.h> #include <asm/interrupt.h> #include <asm/io.h> #include <asm/i...
/* $OpenBSD: amireg.h,v 1.4 2003/06/02 19:24:22 mickey 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 re...
/* Functions for sets of long ints, to factor (Z/NZ)* into a set of sums as described in section 5 of "Improved Stage 2 to $P\pm{}1$ Factoring Algorithms" by <NAME> and <NAME>, ANTS 2008 (8th Algorithmic Number Theory Symposium). Copyright 2007, 2008, 2009, 2012 <NAME>, <NAME>. This file is part of the EC...
/* * Copyright (C) 2019 GreenWaves Technologies * * 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 l...
/* $NetBSD: err.c,v 1.17 2002/01/31 19:36:54 tv Exp $ */ /* * Copyright (c) 1994, 1995 <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 ret...
/* * Copyright 2021 NXP * * SPDX-License-Identifier: BSD-3-Clause * */ #include <errno.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <common/debug.h> #include <ddr.h> #include <drivers/delay_timer.h> #include <immap.h> #define BIST_CR 0x80060000 #define BIST_CR_EN ...
/* * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source ...
#include "../include/siphon/path.h" #include "../include/siphon/alloc.h" #include "../include/siphon/error.h" #include "mu.h" #include <errno.h> #define SP_TEST_ROOT PROJECT_SOURCE_DIR "/test" #define SP_TEST_DIR_ROOT SP_TEST_ROOT "/dir" #define TEST_JOIN(base, rel, exp) do { \ char bu...
/* vim: set tabstop=8:softtabstop=8:shiftwidth=8:noexpandtab */ /* * Copyright (c) 2011-2013 UT-Battelle, LLC. All rights reserved. * Copyright (c) 2011-2013 Oak Ridge National Laboratory. All rights reserved. * * See COPYING in top-level directory * * Copyright © 2012 Inria. All rights reserved. * $COPYRIGH...
/* zzeksinf.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__1 = 1; static integer c__64 = 64; static integer c__32 = 32; /* $Procedure ZZEKSINF ( EK, retur...
#pragma once #define ELFLOADER_USERDATA "elfloader_userdata" #define ELF_ST_BIND(i) ((i) >> 4) #define ELF_ST_TYPE(i) ((i) & 0xF) #define ELF_ST_INFO(b,t) (((b) << 4) + ((t) & 0xF)) #define ELF_ST_VISIBILITY(o) ((o) & 0x3) #define EI_NIDENT 16 #define EI_MAG0 0 #define EI_MAG1 ...
/** Copyright (C) 2003-2005 <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, copy, modif...
/* $OpenBSD: xdreg.h,v 1.3 1997/08/08 08:25:36 downsj Exp $ */ /* $NetBSD: xdreg.h,v 1.3 1996/03/31 22:38:54 pk Exp $ */ /* * * Copyright (c) 1995 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
/* Copyright (c) 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 * list of ...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <assert.h> #ifdef __linux__ #include "ws2811.h" #include <unistd.h> #include <linux/input.h> #include <fcntl.h> #else #include "fakeled.h" #endif // __linux__ #include "colours.h" #include "commo...
/* * GStreamer * Copyright (C) 2007-2009 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later versi...
/****************************************************************************** * INCLUDES *****************************************************************************/ #include "admm.h" #include "../util.h" #include "../splatt_debug.h" #include <omp.h> #include <math.h> /*************************************...
/* $OpenBSD: getaddrinfo_async.c,v 1.50 2015/12/16 16:32:30 deraadt Exp $ */ /* * Copyright (c) 2012 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appe...
#include <time.h> #include <stdio.h> #include "raylib.h" #include "config.h" #define mcollide(x, y, w, h) \ CheckCollisionPointRec(GetMousePosition(), (Rectangle){x, y, w, h}) #define lmbdown IsMouseButtonDown(MOUSE_LEFT_BUTTON) #define lmbup IsMouseButtonReleased(MOUSE_LEFT_BUTTON) #define focused(i) (i >= WINDO...
#include "MSPd.h" #include "fftease.h" #if MSP void *dentist_class; #endif #if PD static t_class *dentist_class; #endif #define OBJECT_NAME "dentist~" typedef struct _dentist { #if MSP t_pxobject x_obj; #endif #if PD t_object x_obj; float x_f; #endif int R; int N; int N2; ...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" volatile uint32_t x54 = 0U; uint32_t t0 = UINT32_MAX; static volatile uint8_t x158 = 0U; uint16_t x194 = 79U; ...
/* magick/magick-config.h. Generated from magick-config.h.in by configure. */ /* magick/magick-config.h.in. Generated from configure.ac by autoheader. */ /* Define if coders and filters are to be built as modules. */ #define BuildMagickModules 1 /* Define to 1 if the `closedir' function returns void instead of `i...
/*<html><pre> -<a href="index.htm#TOC" >-------------------------------</a><a name="TOP">-</a> rbox.c Generate input points for qhull. notes: 50 points generated for 'rbox D4' This code needs a full rewrite. It needs separate procedures for each distribut...
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <bi.h> /* for the logging system used by TSS */ setenv("TCSD_FOREGROUND", "1", 1); /* * standard bit length extension to obtain a uniformly distributed number * [0,element] */ int test_exp_multi(void); void foo (bi_t r...
/****************************************************************************** * tbr.c * * TBRs and input tree * * Authors: <NAME> and <NAME> * *************...
/* * @file mfp_io.c * @brief MFP-68901 I/O plugin * @author http://sourceforge.net/users/benjihan * * Copyright (c) 1998-2016 <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 Foundati...
#include <stdint.h> #include <string.h> #include <stdbool.h> #include <stdio.h> #include <math.h> #include <agx/font/font.h> #include <agx/lib/shapes.h> #include <agx/lib/rect.h> #include <libgui/libgui.h> #include <stdlibadd/assert.h> #define MAGNITUDE_SCALE 300 #define BRICKS_PER_ROW 12 #define BRICK_ROWS 4 type...
/* * 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. */ /*---------------------------------------------------------------------- | T...
/***************************************************************************** * * * MATH.C Mathematical subroutines for use with Lattice or Microsoft- * * compiler. * * By <NAME> * * * *********************************************************************...
// C Source File // Created 3/31/2005; 5:13:07 PM #define __IN_DLL__ #include <tigcclib.h> #include "gbsram.h" #include "lzfo1.h" #include "gb68k.h" #include "gbsetup.h" #include "gbinit.h" const unsigned char battery_table[] = { 0, //00 0, //01 0, //02 1, //03 0, //04 0, //05 1, //06 0, //...
/* Copyright 2000-2004 The Apache Software Foundation 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 o...
#include <stdio.h> #include <malloc.h> #include <string.h> #include <stdlib.h> /* #define mymalloc malloc #define myrealloc realloc #define myfree free #define myprintf printf */ #include "mex.h" #include "matrix.h" #define mymalloc mxMalloc #define myrealloc mxRealloc #define myfree mxFree #define myprintf mexPrin...
/* Copyright (c) 2012, Broadcom Europe Ltd 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 t...
/* $OpenBSD: z8530reg.h,v 1.4 1996/11/28 23:27:56 niklas Exp $ */ /* $NetBSD: z8530reg.h,v 1.7 1996/10/23 00:32:31 gwr Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence...
#include <dirent.h> #include <limits.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <unistd.h> #include <getopt.h> #include <time.h> /* asctime / localtime */ #include <stdarg.h> /* variable length args */ #include <pwd.h> /* for...
#include <assert.h> #include <inttypes.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <xcb/xcb.h> #include <xcb/xcb_keysyms.h> #include "./gol.h" #define ARRAY_COUNT(arr) (sizeof(arr)/sizeof((arr)[0])) /* * Connection to the X serv...
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright (C) 2001 Red Hat, Inc. * * Created by <NAME> <<EMAIL>> * * The original JFFS, from which the design for JFFS2 was derived, * was designed and implemented by Axis Communications AB. * * The contents of this file are subject to the Red Hat eC...
/* specfunc/dilog.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 <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 la...
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2010 <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 l...
/* ggcPic - Generic picture of conservation of features near a gene. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "memalloc.h" #include "portable.h" #include "axt.h" #include "genePred.h" static char const rcsid[] = "$Id: ggcPic.c,v 1.8 2003/05/06 07:22:28 kate Exp $"; ...
/* * Copyright (C) 2011 Red Hat, Inc. * * This file is released under the GPL. */ #include "dm-btree-internal.h" #include "dm-space-map.h" #include "dm-transaction-manager.h" #include <linux/export.h> #include <linux/device-mapper.h> #define DM_MSG_PREFIX "btree" /*----------------------------------------------...
// functions for stats process #include <assert.h> #include <common/sharedif.h> #include <statproc/statproc_utils.h> #include <net/ports.h> #include <string.h> // memcpy #include <time.h> #include <stdio.h> #include <stdlib.h> #include <utils/sort.h> #include <export/export.h> #ifndef min //(a,b) #define min(a,b) ((a)...
/* * Common mpeg video decoding code * Copyright (c) 2000,2001 <NAME> * Copyright (c) 2002-2004 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software ...
#include "../lpc_incl.h" #include "../comm.h" #include "../file_incl.h" #include "../file.h" #include "../backend.h" #include "../compiler.h" #include "../main.h" #include "../eoperators.h" #include "../efuns_main.h" #include "../efun_protos.h" #include "../simul_efun.h" #include "../add_action.h" #include "../array.h"...
/* Copyright (c) 2012 Rebecca (bx) Shapiro 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, pub...
/* -*- Mode: c; c-basic-offset: 2 -*- * * rasqal_result_formats.c - Rasqal RDF Query Result Formats * * Copyright (C) 2003-2008, <NAME> http://www.dajobe.org/ * Copyright (C) 2003-2005, University of Bristol, UK http://www.bristol.ac.uk/ * * This package is Free Software and part of Redland http://librdf.org/ ...
typedef enum { ES, CS, SS, DS } SREGS; typedef enum { AW, CW, DW, BW, SP, BP, IX, IY } WREGS; #define NEC_NMI_INT_VECTOR 2 typedef enum { AL = NATIVE_ENDIAN_VALUE_LE_BE(0x0, 0x1), AH = NATIVE_ENDIAN_VALUE_LE_BE(0x1, 0x0), CL = NATIVE_ENDIAN_VALUE_LE_BE(0x2, 0x3), CH = NATIVE_ENDIAN_VALUE_LE_BE(0x...
/* * Copyright (c) 2001-2002 Packet Design, LLC. * All rights reserved. * * Subject to the following obligations and disclaimer of warranty, * use and redistribution of this software, in source or object code * forms, with or without modifications are expressly permitted by * Packet Design; provided, however, ...
/* $Id: fasta.c,v 1.23 2009/06/16 23:26:21 rumble Exp $ */ #include <assert.h> #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <zlib.h> #include <sys/types.h> #include <sys/stat.h>...
/* Copyright (C) 2014 <NAME> and contributors * * 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...
/* * SBUS and OpenPROM access functions. * * Copyright (C) 2000 <NAME> (<EMAIL>) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
/* * OSS-7 - An opensource implementation of the DASH7 Alliance Protocol for ultra * lowpower wireless sensor communication * * Copyright 2015 University of Antwerp * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
/* Copyright (c) 2012-2015, <NAME> <<EMAIL>> All rights reserved. Android port contributor: Copyright (c) 2014-2015, Haofeng "<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 me...
#include "../headers/map_edit.h" /* Deallocates the memory for the removed node */ void popRectNode(rectList list, int index) { rectNode* curr = list; for ( int i = 0; i < index - 1; i++ ) { curr = curr->next; } rectNode* toBeRemoved = curr->next; curr->next = toBeRemoved->next; printf...
void SetupMatrixStuff(void); void Fold(void); /* * the_matrix is a 3D array of struct cell */ void SetupMatrixStuff(void) { int i, j, k; struct cell *the_cell; for (i=0; i<MATRIX_SIZE; i++) for (j=0; j<MATRIX_SIZE; j++) for (k=0; k<MATRIX_SIZE; k++) the_matrix[i][j][k].natoms = 0; for (i=0; i<...
/* Autoconf patching by <NAME>, <EMAIL> */ /*********************************************************************/ /* file: main.c - main module - signal setup/shutdown etc */ /* TINTIN++ */ /* (T)<NAME>(I)cki(N) (T)<NAME>(I)<NAME>(N)t ...
#pragma ident "$Id: twind.c,v 1.14 2015/12/08 18:39:06 dechavez Exp $" /*====================================================================== * * Service a time window based data request where the packets come from * the NRTS disk loop. * *====================================================================*/ ...
/* $RCSfile$ Copyright (C) 1996-1997 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 i...
/* * reconstruction.c * Author: sunder */ #include "hype.h" //---------------------------------------------------------------------------- // Value of Nth Order basis functions //---------------------------------------------------------------------------- PetscReal basis(PetscReal x, PetscReal y, PetscInt n...
/* Combines an EVEN and ODD ROM into one file. */ #include <stdio.h> #include <stdint.h> #include <stddef.h> #include <ctype.h> #include <string.h> #include <errno.h> #define PROGRAM_NAME "splice" #define VERSION_TEXT PROGRAM_NAME " v1.0" #define USAGE_TEXT_1 "Usage: " #define USAGE_TEXT_2 " [OPTIONS]\n\ ROM....
/* * Copyright (C) 2014 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...
/* MIT License Copyright (c) 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, publis...
#include "MSPd.h" #include "fftease.h" #if MSP void *multyq_class; #endif #if PD static t_class *multyq_class; #endif #define OBJECT_NAME "multyq~" typedef struct _multyq { #if MSP t_pxobject x_obj; #endif #if PD t_object x_obj; float x_f; #endif int R; int N; int N2; int Nw...