text
stringlengths
5.8k
28.2k
//***************************************************************************** // // character.c // // Basic implementation of the character datastructure (PCs and NPCs). Includes // data for storing room, inventory, body, equipment, and other "essential" // information. If you plan on adding any other information to ...
#include <stdio.h> #include <pthread.h> #include <unistd.h> #include <string.h> #include <sys/socket.h> #include <stdlib.h> #include <netinet/in.h> #include <sys/stat.h> #include <fcntl.h> #include <math.h> #include <sys/time.h> #include <netdb.h> #include <dirent.h> #include "support.h" #include "jobexec.h" int page...
/** * @file joincommon.c * @author <NAME> <<EMAIL>> * @date Sat Dec 15 15:39:54 2012 * @version $Id $ * * @brief Common structures, macros and functions of sort-merge join algorithms. * * (c) 2012-2014, ETH Zurich, Systems Group * * \ingroup Joins */ #include <stdio.h> #include <stdlib.h> /* posix_...
#include <math.h> #include "player.h" #include "main.h" #include "../src/combat.h" #include "../src/dsl.h" #include "sprite.h" #include "screens/narrate.h" #include "../src/trigger.h" #include "../src/ds-player.h" #include "../src/dsl-var.h" #include "../src/gff-map.h" #include "../src/gff-image.h" #include "../src/gff...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Mach-O file writing // http://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html #include "l.h" #...
#include "embroidery.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> /* MACRO LIBRARY * * These macros aren't intended for users of the library. * * In order to reduce the number of function calls and definitions for embedded * compatibility some macros can serve as multiple functi...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
/* ccid.h: CCID structures Copyright (C) 2003-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) any l...
// -*- c-basic-offset: 8; indent-tabs-mode: t -*- // vim:ts=8:sw=8:noet:ai: /* Copyright (C) 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 Lice...
/* * Copyright (c) 2009-2012 Xilinx, Inc. All rights reserved. * * Xilinx, Inc. * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS * ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR * STANDARD, XILINX IS MAKING NO REPR...
/************************************************************************** * File: scripts.h * * Usage: header file for script structures and contstants, and * * function prototypes for scripts.c * * ...
/* * Command-line processing. * * The MIT License (MIT) * * Copyright (c) 2013, TAG Universal Machine. * * 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 Soft...
void swap_statistics(u8 *p) { u32 y; u32 *lp, h_lp; u16 *sp, h_sp; u8 *bp; lp = (u32 *)p; sp = ((short *)lp) + 1; /* Convert Header */ h_sp = *sp = ntohs(*sp); lp++; do { sp = (u16 *)lp; /* Convert SubHeader */ *sp = ntohs(*sp); bp = (u8 *) lp; y = *(bp + 3); lp++; ...
/* Example Elliptic Curve Diffie-Hellman program for 16-bit constrained environments. Uses point compression. Stack-only memory allocation Use with this mirdef.h header (for a PC using MS C) (Use this header also with Blackfin processor, and mex 10 blackfin mrcomba) #define MR_LITTLE_ENDIAN #define MIRACL 16 #defi...
#define HCX_EAPOL_TIMEOUT 1 #define HCX_NC 2 #define HCX_IE 3 #define HCX_CONVERT_ALL 4 #define HCX_ESSIDS 5 #define HCX_EAPMD5_OUT 6 #define HCX_EAPLEAP_OUT 7 #define HCX_EAPMD5_JOHN_OUT 8 #define HCX_NMEA_OUT 9 #define HCX_PMKID_OUT_DEPRECATED 10 #define HCX_HCCAPX_OUT_DEPRECATED 11 #defi...
#include <avr/pgmspace.h> #include "sequencer.h" #include "input.h" #include "timer.h" #include "euclid.h" #include "pattern.h" #include "scale.h" #include "dac.h" #include "eeprom.h" #include "variables.h" #include "wavetable.h" #include "bit_magic.h" volatile uint8_t divide_idx = 1; volatile uint8_t pitch_duration_...
/* SCREENSelectStereoDrawBuffer.c AUTHORS: mario.kleiner at tuebingen.mpg.de mk PLATFORMS: All. HISTORY: 04/03/05 mk Created. 10/30/05 mk Synopsis string changed. DESCRIPTION: Selects the target buffer for drawing commands on a stereoscopic display: ...
/* * VideoCore IV assembler for the ACK * © 2013 <NAME> * This file is redistributable under the terms of the 3-clause BSD license. * See the file 'Copying' in the root of the distribution for the full text. */ #include <stdint.h> #define maskx(v, x) (v & ((1<<(x))-1)) static void toobig(void) { serror("offset...
/* wialonips.c shared library for decode/encode gps/glonass terminal Wialon IPS messages help: https://docs.google.com/spreadsheets/d/15s-2ZbqOQ1bZvAtFFm9sIEuKy3jbJzxdeynp72sjoYU/edit?usp=sharing compile: make -B wialonips */ #include <stdlib.h> /* malloc */ #include <string.h> /* memset */ #includ...
/* * make sure _GNU_SOURCE is defined */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <stdio.h> #include <fcntl.h> #include <assert.h> #include "log.h" #include "stat_cache.h" #include "fdevent.h" #in...
/* * btl.c - Boot-time RDOFF linker/loader. * Copyright (c) 2002 RET & COM Research. */ #include <stddef.h> #include <string.h> #include <sys/rdf.h> #include <sys/multiboot.h> #include <sys/boot.h> #include <machine/param.h> #include "btl.h" #define _PGALIGN(x) (((x) + ADDR_OFSMASK) & ~ADDR_OFSMASK) #define PGAL...
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
/* * Copyright (c) 2015 <NAME> (xerpi) */ #include "ps4.h" #include "defines.h" #include "debug.h" #include "ftps4.h" #include "dump.h" #include "remount.h" int nthread_run; char notify_buf[1024]; void copyFile(char *sourcefile, char* destfile) { int src = open(sourcefile, O_RDONLY, 0); if (src != -1) ...
/* Copyright 2014 <NAME> Some of this code is based on Multiwii code by <NAME> (www.multiwii.com) 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 any later versi...
#include <string.h> #include <stdio.h> /* Include files needed to use the UART protocol. */ #include "vn/util.h" #include "vn/protocol/upack.h" #include "vn/protocol/upackf.h" #include "vn/int.h" /* This include file normally contains higher level abstractions for working * with VectorNav sensors. However,...
/* * 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...
#include <stdint.h> #include "libgit_utils.h" // mxArray *lhs,*rhs[2]; //!mxIsClass( prhs[0] , "function_handle") // rhs[0] = const_cast<mxArray *>(prhs[0]); // A = *mxGetPr(prhs[1]); // rhs[1] = mxCreateDoubleScalar(A); // mexCallMATLAB(1,&lhs,2,rhs,"feval"); //TODO: Can we make credentials p static char...
/* * Copyright (C) 1999-2002 <NAME>. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms stated in the LICENSE file which should be * enclosed with sources. */ static char rcsid[] = "$Id: radlist.c,v 1.8 2003/07/08 13:20:42 kiavik Exp $"; #d...
/** ****************************************************************************** * @file MQTT-3,1-app.c * @author <NAME>, * @brief Example MQTT publish - Subscribe client, for mosquitto MQTT Broker * * Info * Only for testing, (POSIX compatible only.) * ***************************************...
#include <u.h> #include <libc.h> #include <draw.h> #include <memdraw.h> #include <fcall.h> #include <9pclient.h> #include <thread.h> #include <cursor.h> #include <mouse.h> #include <keyboard.h> #include <frame.h> #include <plumb.h> #include <html.h> #include "dat.h" #include "fns.h" void del(Text *, Text *, int, int, ...
/* libDaltonLens - public domain library - http://daltonlens.org no warranty implied; use at your own risk Author: <NAME> <<EMAIL>> LICENSE information at the end of the file. */ /* For more information about the math of these two algorithms see https://daltonlens.or...
#define XP_WIDE_API #include "gen.h" #include <math.h> #define DEBUG int subdiv(float v0, float v1, float interval, xp_long *n, float *x0, float *d); void make_axis(OMobj_id *mod_id, char *name, char *vname, int m, int *pos, xp_long *n, float *xyz, float *d, float *c0, float *v0, float *dv, int ...
/* Copyright (c) 2015-2016, <NAME> 2-clause BSD license. */ /* Wrapper around FASM to simulate NASM. How to use: - get FASM - compile this program and name it n2f.exe or n2f (as appropriate for your OS) - make n2f[.exe] and fasm[.exe] available via the PATH environment variable - when using smlrcc, eit...
#include "daq.h" #include "sys_conf.h" #include "calc.h" #define NTC_TEMP_SCALE 191 #define NTC_TEMP_OFFSET 39 #define NTC_TEMP_DT 15 //#define K_FACTOR_HI_PRESS 174 #define K_FACTOR_HI_PRESS 124 #define K_FACTOR_HI_ZERO 62 #define K_FACTOR_LO_PRESS 232 #define ACL_TEM_MAX 1400 // 0.1?? #define ACL_TEM_MIN -280 ext...
#include <string.h> /** for memcpy */ #include "baseX.h" unsigned char base16_alphabet[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; unsigned char base16_ascii[128] = { /** 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
/** * Bit-Slice Implementation of PRESENT in pure standard C. * v1.5 26/08/2011 * * The authors are * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * This work was partly funded by the Technology Strategy Board * in the United Kingdom under Project No 9626-58525. * * NEW FEAT...
#include <string.h> /* for strrchr() */ #include "tiffio.h" #include "ptbl_returncode.h" #include "pri.h" #include "cpu_byte_order_is_little_endian.h" #include "tif.h" #include "tif_stat.h" static void _tif_stat_detail_reading_byte_swap_info( int i_read_is_byte_swap ) { int i_file_is_swapped_order; int is_little...
/* vim: set noet: */ #include <X11/Xatom.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #define SIGPREFIX ("fsignal:") #define IMPPREFIX ("important:") #define SYNCTIME (10) #define DEFTIMEOUT (100) #define FCOMMANDHE...
// Mais detalhes do protocolo: // http://sasdocs.sascar.com.br/share/page/site/parser/document-details?nodeRef=workspace%3A%2F%2FSpacesStore%2F05b33b8d-b91e-4989-a21b-f1156f656697 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <arpa/inet.h> #include <string.h> #define USAGE_MSG "...
#include "wavesim/mesh/intersections.h" #include <string.h> #include <math.h> #include <float.h> /* ------------------------------------------------------------------------- */ int intersect_point_aabb_test(const wsreal_t point[3], const wsreal_t aabb[6]) { return ( point[0] >= aabb[0] && point[0] <= aabb[...
/*************************************************************************** * Copyright (C) 2005 by <NAME> * * <EMAIL> * * * * Copyright (C) 2007,2008 <...
// Source file for sending a receiving data over bluetooth #include "Compiler.h" #include "GenericTypeDefs.h" #include "TimeDelay.h" #include "HardwareProfile.h" #include "Peripherals/Uart_vdma.h" #include "Bluetooth/Bluetooth.h" #include "Peripherals/Rtc.h" // Module commands const char* bt_cmd_enter_co...
/* * EVOLUTION * * Computes new (or intermediate) values of conservative variables * using two- or three-stage TVD Runge-Kutta algorithms. * */ #include "type.h" #include "def.h" /* Definitions, parameters */ #include "global.h" /* global variables */ #include "evolution.h" void Evolution( int numStages, int...
/************************************************************************** * * Copyright 2003 Tungsten Graphics, Inc., <NAME>, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software")...
#if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #else #include <sys/cdefs.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <assert.h> #include <getopt.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "pack_dev.h" #de...
/* * Copyright (C) 2021 skgleba * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "cmep.h" #include "cmep-payloads/spl-defs.h" #include "sk.h" // legit secure_kernel.enp header #include "cmep-payloads/sk_framework/sk_framework.h" ...
#include <gb/gb.h> #include <rand.h> #include "dialogue.c" // Include all of the sprites #include "assets/wisp.c" #include "assets/child.c" #include "assets/BabaYagaLeft.c" #include "assets/BabaYagaRight.c" // include all the story backgrounds #include "assets/title_screen.c" #include "assets/babayaga_background.c" ...
#include <citro2d.h> #include <3ds.h> #include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> #include <time.h> #define TOP_SCREEN_WIDTH 400 #define TOP_SCREEN_HEIGHT 240 #define BOTTOM_SCREEN_WIDTH 320 #define BOTTOM_SCREEN_HEIGHT 240 #define RED_COLOR C2D_Color32(0xAD, 0x68, 0x5A, 255) #...
/**********************************************************************/ /* */ /* FILE: wilcoxon.c */ /* WRITTEN BY: <NAME> */ /* DATE: April 14 1989 ...
#include "gecko.h" #define PREV_POS_COUNT 30 typedef struct NumberPair { Number a; Number b; } NumberPair; NumberPair nb_to_same_half_circle_degrees(Number a, Number b) { if (a - b > nb_from_int(180)) { b += nb_from_int(360); } if (a - b < -nb_from_int(180)) { a += nb_from_int(360...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <math.h> #include <stdint.h> #include "citrine.h" int ctr_clex_bflmt = 255; ctr_size ctr_clex_tokvlen = 0; /* length of the string value of a token */ char* ctr_clex_buffer; char* ctr_code; char* ctr_code_start...
/* Glidix Debugger Copyright (c) 2014-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 cond...
// This file is part of the Corinthia project (http://corinthia.io). // // See the COPYRIGHT.txt file distributed with this work for // information regarding copyright ownership. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
/** * Projet BCS - Master 2 SSI - Istic (Univ. Rennes1) * * <NAME> * <NAME> * * ============================================================================ * Took from the tinyAES project of kokke on Github as it is in public domain. * Available here: https://github.com/kokke/tiny-AES128-C */ #include "aes.h"...
/* * ____ _____ * ________ _________ ____ / __ \/ ___/ * / ___/ _ \/ ___/ __ \/ __ \/ / / /\__ \ * / / / __/ /__/ /_/ / / / / /_/ /___/ / * /_/ \___/\...
/* * dmcf_pubsub.c * * Created on: Aug 26, 2017 * Author: <NAME> */ #include "dmcf_msgdef.h" #include "dmcf_pubsub.h" #include "dmcf_i2c_internals.h" #include "messaging.h" #include "dmcf_debug.h" #include <pthread.h> #include <unistd.h> #include <time.h> #include <mqueue.h> #include <string.h> #include <st...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
#include <stdio.h> #include <unistd.h> #include <getopt.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <endian.h> #define VALIDATION_WORD 0x31305341 #define BRANCH_INST 0xea /* ARM opcode for "b" (unconditional...
#include "pigfx_config.h" #include "uart.h" #include "utils.h" #include "timer.h" #include "framebuffer.h" #include "console.h" #include "gfx.h" #include "irq.h" #include "dma.h" #include "nmalloc.h" #include "ee_printf.h" #include "../uspi/include/uspi.h" #define GPFSEL1 0x20200004 #define GPSET0 0x2020001C #define...
#include <GL/freeglut.h> #include <stdio.h> #include <math.h> #include <time.h> #include <string.h> #define numeroAsteroides 150 #define radianoParaGraus(radianos) (radianos * (180.0 / M_PI)) #define grausParaRadianos(graus) ((graus * M_PI) / 180.0) #define PI 3.14159265 int alturaJanela, larguraJanela, tempoAtual = ...
/******************************************************************* <NAME> * <EMAIL> * * CS 385 * Spring 2007 * Homework #3 *********************************************************************/ /************************************* * Include all headders in the project **************************************/ #in...
/* * Copyright (c) 2016-present <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, pub...
/*- * Copyright (c) 2016 <NAME> <<EMAIL>> * * 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 followi...
/********************************************************************************** Avatar Tools Copyright (c) 2019, National Technology and Engineering Solutions of Sandia, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followi...
#include <stdio.h> int print_hash_value = 1; static void platform_main_begin(void) { } static unsigned crc32_tab[256]; static unsigned crc32_context = 0xFFFFFFFFUL; static void crc32_gentab (void) { unsigned crc; unsigned poly = 0xEDB88320UL; int i, j; for (i = 0; i < 256; i++) { crc = i; for (j = 8; j > 0; j--...
/* * Buffering of output and input. * Copyright (C) 1998 <NAME> * * This file is part of GNU Zebra. * * GNU Zebra 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, or (at your * option...
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <fitsio.h> #include <cpgplot.h> #include <math.h> #define CVALLEN 10 #define SIGNUM 90000 #define DMNUM 10 struct Fitsinfo { char pol_type[CVALLEN]; int nCHAN; int nPOL; int nSBLK; int nROW; float tBIN; }; struct FreqData { float freq; int* ...
/**//*************************************************************************** Parse config file Petit-ami pulls config files in plain text, in the order PUD or "Program, User, current directory". The file name is "petit_ami.cfg" or ".petit_ami.cfg". The first is visible, the second is not. They are looked for in ...
/* * Copyright 1999-2006 University of Chicago * * 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...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <math.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <SOIL.h> #include <vec.h> #define arrayLength(x) (sizeof(x) / sizeof(x[0])) #define clamp(n, x, y) \ ((n) < (x) ? (x) : (n) > (y) ? (y) : (n)) struct textureOpts { char *file; GL...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
#include <stdio.h> #include <errno.h> #include <assert.h> #include <stdlib.h> #include <stddef.h> #include <signal.h> #include <inttypes.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/syscall.h> #include <sys/resource.h> #include <sys/mman.h> #include <sys/uio.h> #include <linux/f...
/* * Copyright (c) 1990 Regents of the University of Michigan. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that this notice is preserved and that due credit is given * to the University of Michigan at Ann Arbor. The name of the University * may not be use...
#include <stdio.h> #include <gmp.h> #include <assert.h> #include <time.h> #include <stdlib.h> #include <math.h> void PGCD(mpz_t result, mpz_t a, mpz_t b); void bePrime(mpz_t p, mpz_t t); void isPrime(mpz_t result, mpz_t n); void computeInvert(mpz_t d , mpz_t e , mpz_t n); void genPrime(mpz_t p, mpz_t q, int n, gmp_ran...
/* * Copyright (c) 2012, LiteStack, 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 a...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2020 <NAME> for Adafruit Industries * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
#include <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "util.h" #include "cc.h" #define INTTYPE(k, n, r, s, p) { \ .kind = k, .size = n, .align = n, .repr = r, .basic.issigned = s, \ .prop = PROPOBJECT|PROPSCALAR|PROPARITH|PROPREAL|PROPINT|p,...
/* * Copyright (c) 2013 ASMlover. 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 ofconditions ...
/** * \file * JIT trampoline code for MIPS * * Authors: * <NAME> (<EMAIL>) * * Based on tramp-ppc.c by: * <NAME> (<EMAIL>) * <NAME> (<EMAIL>) * <NAME> <<EMAIL>> * * (C) 2006 Broadcom * (C) 2001 Ximian, Inc. */ #include <config.h> #include <glib.h> #include <mono/metadata/abi-details.h> #include...
/* COPYRIGHT AND PERMISSION NOTICE Copyright (c) 2000, 2001 Nokia Home Communications 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 ...
/* $Xorg: indicators.c,v 1.3 2000/08/17 19:54:31 cpqbld Exp $ */ /************************************************************ Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby ...
/* * requestHandler.c * * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
#include "blaswrap.h" /* -- translated by f2c (version 19990503). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static real c_b3 = -1.f; static integer c__1 = 1; /* Subroutine */ int slaed2_(integer *k, integer *n, int...
/* * webmitm.c * * HTTP / HTTPS monkey-in-the-middle. * * Copyright (c) 2000 <NAME> <<EMAIL>> * * $Id: webmitm.c,v 1.11 2001/03/17 08:35:05 dugsong Exp $ */ #include "config.h" #include <sys/param.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <openssl...
/* * Copyright 2020 Makani Technologies 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 required by applicable law ...
/* * This code was created by <NAME> '99 * (ported to Linux/SDL by <NAME> '01) * (converted to lesson23 by <NAME> '03) * * If you've found this code useful, please let me know. * * Visit Jeff at http://nehe.gamedev.net/ * * or for port-specific comments, questions, bugreports etc. * email to <EMAIL> */ #inc...
#include <stdio.h> #include <string.h> #include <assert.h> #if defined( _WIN32) || defined( DOS) #include <conio.h> #define USE_CONIO #else #include <sys/select.h> #include <unistd.h> #endif #include "curspriv.h" #include "pdcvt.h" #if defined( __BORLANDC__) || defined( DOS) #define WINDOWS_VERSION_OF_K...
/* This file is a wrapper for the Z3 SMT solver that implements the interface described in extern_solver.h */ #include<stdlib.h> #include<z3.h> #include"extern_solver.h" #define Z3_INT_LIMIT 2147483647 Z3_context mk_context_custom(Z3_config cfg, Z3_error_handler err){ Z3_context ctx; Z3_set_param_valu...
/**************************************************************** * * $Source: /pv/CvsTree/pv/gen/src/prg/methods/NSPECT/parsRelations.c,v $ * * Copyright (c) 2002 -2003 * Bruker BioSpin MRI GmbH * D-76275 Ettlingen, Germany * * All Rights Reserved * * $Id: parsRelations.c,v 1.4.2.7 2008/04/25 15:05...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of t...
#include "redis_index.h" #include "doc_table.h" #include "redismodule.h" #include "inverted_index.h" #include "rmutil/strings.h" #include "rmutil/util.h" #include "util/logging.h" #include "util/misc.h" #include "tag_index.h" #include "rmalloc.h" #include <stdio.h> RedisModuleType *InvertedIndexType; void *InvertedIn...
/* ======================================================================== * Copyright 1988-2007 University of Washington * * 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:...
/* * BLE Combined Advertising and Scanning Example. * * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Unlicense OR CC0-1.0 */ #include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_bt.h" #include "esp_log.h" #i...
/* * Copyright (c) 1989, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above...
/* * jbgtopbm - JBIG to Portable Bitmap converter * * <NAME> -- http://www.cl.cam.ac.uk/~mgk25/jbigkit/ * * $Id$ */ #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include "jbig.h" char *progname; /* global pointer to argv[0] */ /* * Print usage message and abort */ static voi...
/* esl-mixdchlet : utilities for estimating new mixture Dirichlet priors * * Contents: * 1. main : subcommand brokerage * 2. fit : fit new mixture Dirichlet to count data * 2. score : score count data with a mixture Dirichlet * 3. gen : generate synthetic count data from a mixture Dirichlet ...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <dlfcn.h> #include <elf.h> #include <sys/mman.h> #if __has_attribute(__fallthrough__) # define fallthrough ...
/* -*- C -*- * * Copyright (c) 2010 * MIT Lincoln Laboratory * Massachusetts Institute of Technology * * All Rights Reserved * * FILE: plsa_estimation_combined_file.c * Adapted from TJ Hazen's code to use a "combined" file -- a file with document counts per line. * BC: 5/09/13 * */ #include <stdio.h> #incl...
#include <dirent.h> #include <errno.h> #include <fcntl.h> #include <netinet/in.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include "esp_log.h" #include "esp_spiffs.h" #inclu...
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...