text
stringlengths
5.8k
28.2k
/* packet-mdshdr.c * Routines for dissection of Cisco MDS Switch Internal Header * Copyright 2001, <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
#include <assert.h> #include "benchmark_list.h" #include "qsbr.h" #include "util.h" typedef struct vlist_slot { unsigned long epoch; struct node *next; struct vlist_slot *slot_next; struct vlist_record *rec; } vlist_slot_t; #define VLIST_ENTRIES_PER_TASK 2 typedef struct vlist_record { unsigned long epoch; st...
//////////////////////////////////////////////////////////////////////////////// /* sts_net.h - v0.07 - public domain written 2017 by <NAME> VERSION HISTORY 0.07 (2017-02-24) added checks for a valid socket in every function return 0 for an empty socket set 0.06 (2017-01-14) fixed war...
/* * 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, prop...
#include <back_store.h> #include <bitmap.h> #include <stdint.h> #include <stdio.h> #include <time.h> #include "S16FS.h" // There's just so much. SO. MUCH. // Last time it was all in the file. // There was just so much // It messes up my autocomplete, but whatever. #include "backend.h" /// /// Formats (and mounts) a...
/** Copyright (c) 2010, <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 t...
/* * Copyright © 2003-2018 Acronis International GmbH. */ #include <stdio.h> #include <stdarg.h> #include <string.h> #include "pcs_error.h" #include "pcs_errno.h" #include "pcs_compat.h" #include "pcs_sock_ssl.h" #include "pcs_malloc.h" #include "log.h" #define ARR_SZ(a) (sizeof(a)/sizeof((a)[0])) #define ERR_NAME...
#include "html.h" // Holds the event data struct click_event click_events[BUFSIZ]; int click_event_counter = 0; /** * mygumbo_count_nodes - Count the number of nodes in a gumbo tree rooted at a node */ static int mygumbo_count_nodes(GumboNode *n) { if (n->type == GUMBO_NODE_ELEMENT) { GumboElement *e; int sum;...
// // ngx_http_google_request.c // nginx // // Created by Cube on 14/12/15. // Copyright (c) 2014年 Cube. All rights reserved. // #include "ngx_http_google_util.h" #include "ngx_http_google_request.h" static ngx_http_google_ctx_t * ngx_http_google_create_ctx(ngx_http_request_t * r) { ngx_http_google_loc_conf_t *...
/* WiFi station Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <string.h> #i...
/* CSD 331 Computer Networks Lab, Fall 2019 Server Code Team: <NAME>(075), <NAME>(027), <NAME>(036), <NAME>(035) */ //Commands for compilation and running //gcc server.c //./a.out 127.0.0.1 /* Including all the header files required for socket programming */ #include <netinet/in.h> #include <netdb.h> #include <arpa/...
/* ** Copyright (c) 2009 <NAME> */ static const char PROJ_ID[] = "$Id: proj_in_inv.c,v 5.2 2009/05/06 18:46:51 gie Exp gie $"; /* ** 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...
#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...
#include <string.h> #include <unistd.h> #include <fcntl.h> #include <dirent.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <termios.h> #include <sys/mman.h> #include <sys/xattr.h> #include <sys/file.h> #include <poll.h> #include "kernel/errno.h" #include "kernel/calls.h" #include "kernel/fs.h" #include "fs/d...
/* Last changed Time-stamp: <2005-10-27 16:35:04 raim> $Id: interactive.c,v 1.4 2005/10/27 14:52:51 raimc Exp $ */ /* * * This application 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...
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <time.h> #include <SDL2/SDL.h> #include "fractal.h" #include "pixel_ops.h" #include "pthread_pool.h" #define WINDOW_WIDTH 1600 #define WINDOW_HEIGHT 1200 #define HORIZONTAL_REGIONS 16 #define VERTICAL_REGIONS 16 /* Contains data to send to fractal...
/******************************************************************************/ /** @file open_address_hash_dictionary_handler.c @author <NAME> @brief The handler for a hash table using linear probing. @copyright Copyright 2017 The University of British Columbia, IonDB Project Contributors (see AUTHORS.md) @p...
/* * Copyright Amazon.com, Inc. and its affiliates. 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; version 2 * of the License. * * This program is distributed in ...
/*************************************************************************\ * Copyright (C) <NAME>, 2022. * * * * This program is free software. You may use, modify, and redistribute it * * under the terms of the ...
/* Copyright 2016-2020 <NAME> * Copyright 2020 JohSchneider * 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. * * ...
/* * Copyright (C) 2016-2022 T-Head Semiconductor Co., Ltd. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * 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 * * www.apache....
/* * AFPProtocol.h * MRFS * * Created by han9kin on 2011-04-12. * */ #import <Foundation/Foundation.h> /* * DSI: Data Stream Interface (Transport Layer of AFP over TCP) */ #pragma mark - #pragma mark DSI Commands #define kDSIAttention 8 #define kDSICloseSession 1 #define kDSICommand 2 #define ...
/* This file is part of actube. actube 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 option) any later version. libcapwap is distributed in ...
/* * jcparam.c * * Copyright (C) 1991-1998, <NAME>. * Modified 2003-2019 by <NAME>. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains optional default-setting code for the JPEG compressor. * Applicati...
#include "catalog.h" #include "catutil.h" #include "charset.h" #include "string16.h" #include "stdio16.h" #include "dtd.h" #include "url.h" #include "input.h" #include "xmlparser.h" #include "namespaces.h" #include "rxputil.h" int catalog_debug = 0; static int DoElement(XBit bit, Parser p, CatalogEntryFile c, ...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without restriction, * including without...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <locale.h> #include <conio.h> #include <time.h> #include <windows.h> #define TAM 7 // dimensionamento #define tam 18 // dimensionamento // Prot. Function void showMenu(int n, int x); // menu inicial void composition(); // composição final >> solo/dual...
/* * (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...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2017 Intel Corporation. All rights reserved. // // Author: <NAME> <<EMAIL>> #include <sof/common.h> #include <sof/debug/panic.h> #include <sof/drivers/gpio.h> #include <sof/drivers/ipc.h> #include <sof/drivers/spi.h> #include <sof/lib/alloc.h> #include <sof/l...
/* $OpenBSD: usb_quirks.c,v 1.64 2011/03/09 17:03:06 sthen Exp $ */ /* $NetBSD: usb_quirks.c,v 1.45 2003/05/10 17:47:14 hamajima Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is der...
/* Bacula(R) - The Network Backup Solution Copyright (C) 2000-2015 <NAME> The original author of Bacula is <NAME>, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the license defined in the LICENSE ...
/* * Copyright 1994-2009 The MathWorks, Inc. * * File: ode14x.c * */ #include <math.h> #include <string.h> #include "tmwtypes.h" #ifdef USE_RTMODEL # include "simstruc_types.h" #else # include "simstruc.h" #endif #include "rt_matrixlib.h" #include "odesup.h" #define MAXORDER 4 static int_T rt_ODE14x_N[M...
// SPDX-License-Identifier: GPL-2.0-or-later /* * USB SD Host Controller (USHC) controller driver. * * Copyright (C) 2010 Cambridge Silicon Radio Ltd. * * Notes: * - Only version 2 devices are supported. * - Version 2 devices only support SDIO cards/devices (R2 response is * unsupported). * * Referenc...
// ITU-T H.222.0(06/2012) // Information technology - Generic coding of moving pictures and associated audio information: Systems // 2.4.3.1 Transport stream(p34) #include "mpeg-ts-proto.h" #include "mpeg-ps-proto.h" #include "mpeg-pes-proto.h" #include "mpeg-util.h" #include "mpeg-ts.h" #include <stdlib.h> #include <...
// Copyright 2021 DeepMind Technologies Limited // // 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 la...
// Copyright(c) 2018-2020, 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...
//IDEA: we might should split the sector into a several streams.. for now lets call it 'header' and 'codec' //the point being, several opcodes from the header portion will read data from the codec stream, which wont need to be interleaved with the opcode bytes. //this would allow us to keep the codec running without ha...
/*- * Copyright (c) 2002-2007 <NAME>, <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...
// redcuba.c Copyright 2014 <NAME> // A C-coded library that can be accessed using the CSL-Reduce foreign // function interface and that passes requests to the Cuba numerical // integration library. Note that Cuba is subject to LGPL 3 and so // while this code is unencumbered, any binary cr...
/*- minbzcat - minimalistic bzcat Copyright (C) 2011, 2012 <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 3 of the License, or (at your option) any later version. ...
/**************************************************************** * IEC60601-1-8 * * This modules provides the IEC Medical Alert tones. * * * Copyright(C) 2007, NXP Semiconductor * All rights reserved. * * Port to mbed 2012 (WH) ****************************************************************/ #incl...
/** * @file common_sw_timer.c * * @brief * * Copyright (c) 2013-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. ...
/* * input.c * Copyright (C) 2014 hzsunshx <hzsunshx@onlinegame-13-180> * * Distributed under terms of the MIT license. */ #include <assert.h> #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stddef.h> #include <sys/...
/* * 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...
#include <Windows.h> #include <stdio.h> #include "texture.h" int getTexelSize(int width, int height, int texImageParam) { int nPx = width * height; int bits[] = { 0, 8, 2, 4, 8, 2, 8, 16 }; int b = bits[FORMAT(texImageParam)]; return (nPx * b) >> 3; } typedef struct { BYTE r; BYTE g; BYTE b; BY...
/*****************************************************************************************\ * * * Distribution generator data abstraction * * One can create a distribution generato...
/* * Header file for scr_djvesa.c driver * * June 2011 <NAME> * based on examples from the DJGPP website * */ #include <dpmi.h> #include <go32.h> #include <dos.h> #include <stdio.h> #include <string.h> #include <sys\farptr.h> #pragma pack(1) typedef struct VESA_INFO { char VESASignature[4...
/********************************************************************************** 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 foll...
/** \file * \brief ThingRendevous's Task Info implementation * * Generated by Trtgen.py. */ #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include "trBidt.h" #include "trPl.h" #include "trEvt.h" #include "trMsg.h" #include "trStrm.h" #include "trT.h" #include "trEvtP.h" #include "trMsgP.h" #include "t...
/* MIT License * * Copyright (c) 2017-2021 <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...
/* * This file is part of the libpayload project. * * Copyright (C) 2008-2010 coresystems 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 copyrigh...
/* origin: FreeBSD /usr/src/lib/msun/src/e_lgammaf_r.c */ /* * Conversion to float by <NAME>, Cygnus Support, <EMAIL>. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Per...
/*----------------------------------------------------------------------------*/ /* Big Brother webpage generator tool. */ /* */ /* This is a replacement for the "mkbb.sh" and "mkbb2.sh" scripts from the ...
/* ** SUPL clinet cli code ** ** Copyright (c) 2007 <NAME> <tatu a-t tajuma d-o-t com> ** All rights reserved. ** Redistribution and modifications are permitted subject to BSD license. ** */ #include <stdlib.h> #include <stdio.h> #include <time.h> #include <math.h> #include <getopt.h> #include <string.h> #include <err...
/** * \addtogroup uip * @{ */ /** * \defgroup uiparp uIP Address Resolution Protocol * @{ * * The Address Resolution Protocol ARP is used for mapping between IP * addresses and link level addresses such as the Ethernet MAC * addresses. ARP uses broadcast queries to ask for the link level * address of a known...
/* * Copyright (c) 2016-2018, 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 ...
/* $OpenBSD: tcp_timer.c,v 1.49 2016/03/07 18:44:00 naddy Exp $ */ /* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or...
/* ** Copyright 2005-2019 Solarflare Communications Inc. ** 7505 Irvine Center Drive, Irvine, CA 92618, USA ** Copyright 2002-2005 Level 5 Networks Inc. ** ** 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 ...
/* * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
/* // RC6 & RC5 block cipher supporting unusual block sizes. This // implementation is designed only for testing interoperability. // // Written by <NAME> (<EMAIL>). Modified April 10, 2018. // // RC6 and RC5 were both patented and trademarked around the time // each was invented. The author of this code believes the p...
#include "label.h" #include "dfont.h" #include "shader.h" #include "matrix.h" #include "spritepack.h" #include "screen.h" #include "array.h" #include "render.h" #include <assert.h> #include <string.h> #include <stdio.h> #define TEX_HEIGHT 1024 #define TEX_WIDTH 1024 #define FONT_SIZE 31 #define TEX_FMT TEXTURE_A8 s...
// // Copyright (C) 2011-2020 Nat!, <NAME>. // // 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 followi...
/* This file provides a series of functions for integrating RetroAchievements with libretro. * These functions will be called by a libretro frontend to validate certain expected behaviors * and simplify mapping core data to the RAIntegration DLL. * * Originally designed to be shared between RALibretro and RetroArc...
#include "stdinc.h" #include "send.h" #include "channel.h" #include "client.h" #include "common.h" #include "config.h" #include "ircd.h" #include "numeric.h" #include "s_conf.h" #include "s_serv.h" #include "hash.h" #include "msg.h" #include "parse.h" #include "modules.h" #include "whowas.h" #include "monitor.h" #incl...
/* SQUID - A C function library for biological sequence analysis * Copyright (C) 1992-1995 <NAME> * * This source code is distributed under terms of the * GNU General Public License. See the files COPYING * and GNULICENSE for further details. * */ /* cluster.c * SRE, Sun Jul 18 09:49:47 1993 * move...
/* GUI "new CA" dialog including self-signed CA cert generation. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <gtk/gtk.h> #include <glade/glade.h> #include "frontend.h" #include "countrycodes.inc" static int make_cert(const char *dn_c, const char *dn_sp, const char *dn_l, ...
/* Test mpz_gcd, mpz_gcdext, and mpz_gcd_ui. Copyright 1991, 1993, 1994, 1996, 1997, 2000-2005, 2008, 2009, 2012 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
/** * @file block_fsm.c * @brief Source file for 3D Block Fast Sweeping Method (FSM). * * The basic parallel algorithm for FSM is taken from the paper * published in the Journal of Computational Physics titled * "A parallel fast sweeping method for the Eikonal equation" by...
/*- * Copyright (c) 2011 NetApp, 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
/** * \file * * \brief Empty user application template * */ /** * \mainpage User Application template doxygen documentation * * \par Empty user application template * * Bare minimum empty user application template * * \par Content * * -# Include the ASF header files (through asf.h) * -#...
/* * svd_golub_reinsch.c * * Created on: 1 mars 2020 * Author: <NAME> */ #include "../../Headers/Functions.h" // Private functions static void Householders_Reduction_to_Bidiagonal_Form(float *A, uint16_t nrows, uint16_t ncols, float *U, float *V, float *diagonal, float *superdiagonal); static int Givens_Re...
/* Copyright (c) 2015, Plume Design 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
/* GStreamer * Copyright (C) 2019 <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 version. * *...
/* * upsimage - cgi program to create graphical ups information reports * * Original Author: <NAME> <<EMAIL>> * * When used together, upsstats and upsimage create interesting looking web * pages with graphical representations of the battery capacity, utility * voltage, and UPS load. * * This program utilizes ...
/*++ Copyright (c) 1996-1997 Microsoft Corporation Module Name: ppdchar.c Abstract: Functions for parsing the lexical elements of a PPD file Environment: PostScript driver, PPD parser Revision History: 08/20/96 -davidx- Common coding style for NT 5.0 drivers. ...
#include "sapi.h" // <= Biblioteca sAPI #include <string.h> /*==================[definiciones y macros]==================================*/ #define UART_PC UART_USB #define UART_BLUETOOTH UART_232 #define MAX_STACK 5 #define mon_MAX 1017 // lectura ADC considerada MAX #define mon_M...
#include <syscallcode.h> #include <system.h> #include <syscalls.h> #include <types.h> #include <proc.h> #include <kernel.h> #include <kstring.h> #include <mm/trunkmalloc.h> #include <mm/kmalloc.h> #include <mm/shm.h> #include <ipc.h> #include <types.h> #include <kserv.h> #include <fsinfo.h> #include <scheduler.h> #incl...
/*======================================================================== * parse_evn_filename.c -- EVN filename parser routines * * Accepts filenames not entirely EVN filename format compliant. * * Accepted formats: * [experimentName]_[stationCode]_[scanName]_[startTimeUTCday].vsi * [experimentName]_[sta...
/* zzekdps.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__1014 = 1014; static integer c__126 = 126; static integer c__254 = 254; /* $Procedure ZZEKDPS ( E...
/* ooLiftSpec - * This will make ordered.lft and random.lft 'lift specifications' in * each chromosome subdir of ooDir based on cloneMap. */ #include "common.h" #include "linefile.h" #include "cheapcgi.h" #include "portable.h" #include "hash.h" #include "chromInserts.h" /* Variables that can be overridden from comm...
#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 _GNU_SOURCE #include "envprep.h" #include "memprep.h" #include "memwrite.h" #include "specex_utils.h" #include "specex_leaks.h" #include "llc_prime_probe.h" #include "config.h" #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <time.h> #include <unistd...
/******************************************************************************* * File Name: ADC_SAR_INT.c * Version 2.50 * * Description: * This file contains the code that operates during the ADC_SAR interrupt * service routine. * * Note: * *********************************************************...
/* NMPRunner by SKGleba This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details. */ #include <stdio.h> #include <string.h> #include <taihen.h> #include <vitasdkkern.h> #define NMPCORRUPT_RANGE(off, end) \ do { \ int curr = 0; \ while (off + curr < en...
/* * Copyright (c) 2017, MammothDB * 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 ...
// // Created by <NAME> on 2020/6/28. // #include "index_engine.h" typedef struct IndexCache { Index *index; ID *shared_start_id; unsigned int block_size; unsigned int initial_leaf_size; unsigned int leaf_size; bool split_by_summarizations; } IndexCache; Node *route(Node const *parent, S...
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <sys/time.h> #include <signal.h> #define __USE_GNU #include <sched.h> #include "../../BBBio_lib/BBBiolib.h" //----------------------------------------------------------------- void keypad_4x4_scan(); void Thread_4x4_scan(); // S03T 2BBMG 0.33s /60 de...
/* Copyright (c) 2001, Stanford University * All rights reserved * * See the file LICENSE.txt for information on redistributing this software. */ #include "cr_mothership.h" #include "cr_mem.h" #include "cr_environment.h" #include "cr_string.h" #include "cr_error.h" #include "cr_glstate.h" #include "server.h" #ifd...
/*############################################################################ # Copyright 2016-2019 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ht...
#define SMON_DEBUG #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <sys/mman.h> #include <poll.h> #include <sys/types.h> #include <signal.h> #include <libgen.h> #include <semaphore.h> #include <sys/stat.h> ...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
// sounds.c #include "doomdef.h" #include "sounds.h" // Music info musicinfo_t S_music[] = { { "MUS_E1M1", 0 }, // 1-1 { "MUS_E1M2", 0 }, { "MUS_E1M3", 0 }, { "MUS_E1M4", 0 }, { "MUS_E1M5", 0 }, { "MUS_E1M6", 0 }, { "MUS_E1M7", 0 }, { "MUS_E1M8", 0 }, { "MUS_E1M9", 0 }, { "MUS_E2M1", 0 }, // 2-1 { "MUS...
//--------------------------------------------------------------------------- //-- (c) 2015 <NAME> //-- I am happy for anyone to use this for non-commercial use. //-- If my vhdl/c files are used commercially or otherwise sold, //-- please contact me for explicit permission at me _at_ alsp.net. //-- This applies for sou...
/* ======================================================================== * * Module ............. libbtsystem * File ............... btlogger.c * Creation Date ...... 03 Apr 2003 * Author ............. <NAME> * Addtl Authors ...... <NAME> * ...
/*++ /* NAME /* trivial-rewrite 8 /* SUMMARY /* Postfix address rewriting and resolving daemon /* SYNOPSIS /* \fBtrivial-rewrite\fR [generic Postfix daemon options] /* DESCRIPTION /* The \fBtrivial-rewrite\fR daemon processes three types of client /* service requests: /* .IP \fBrewrite\fR /* Rewrite an address to stand...
/* -*- c-file-style: "GNU" -*- */ /* * Copyright © <NAME>. * See COPYING in top-level directory. */ #include <stdlib.h> #include <sys/stat.h> #include <math.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include "litl_tools.h" #include "litl_read.h" /* * Initializes the trace header */ static vo...
#include "audio_loader.h" #include "camera.h" #include "check.h" #include "color.h" #include "font_loader.h" #include "font.h" #include "interpolate.h" #include "menu.h" #include "paths.h" #include "shader.h" #include "stringutil.h" #include "texture_loader.h" #include "window.h" #include <GL/glew.h> #include <GL/gl.h...
/* $OpenBSD: omkbdmap.c,v 1.2 2013/11/16 18:31:44 miod Exp $ */ /* Partially from: * $NetBSD: lunaws.c,v 1.6 2002/03/17 19:40:42 atatat Exp $ * * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * R...
/*- * Copyright (c) 2016, <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 an...
/* ** EPSG/POSC GCS Codes -> ERM datums ** ** ** [01] 06Nov02 maw Added NTF projection mapping ** [02] 11Nov03 dc Added mapping for GDA94 datum */ struct gcs_erm_mapping { int gcs_code; char *datum; }; /* Datums for which only the ellipsoid is known are not yet supported */ /* Standard datums only are suppor...