text
stringlengths
7.55k
41.9k
/* * ESP8266.c * * Driver for the ESP8266. * * Notes: * - This file depends on ESP8266_RxBuf.h (ring buffer driver used for * buffering incoming data) and AS1.h (serial device driver). The dependency * hierarchy is illustrated below. * * ESP8266.h * + ESP8266_RxBuf.h (ring buffer driver used f...
/* zzbodker.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__2000 = 2000; /* $Procedure ZZBODKER ( Private --- Process Body-Name Kernel ...
/* Copyright (c) 2009-2011 <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 rights to use, copy, modify, merge, pu...
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * High-level firmware wrapper API - entry points for kernel selection */ #include "sysincludes.h" #include "2sysincludes.h" #include "2common...
#include <cards_logic/gl_cards.h> #include <helpers/log.h> #include <signal.h> // trap #include <string.h> // memset #define GLCARD STXYZ_QUAD #define CARD_FIRST_LAYER 64 #define CARD_WIDTH 11 // ~174px - ~Bridge ratio #define CARD_HEIGHT 32 // ~270px - ~Bridge ratio #define CARD_ALPHA_PART_HEIGHT 7 // 13.5px * 2 (T...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include "wcc.h" void get_debug_env_value(char *key, int *val) { char *env_value; if ((env_value = getenv(key)) && !strcmp(env_value, "1")) *val = 1; } char *replace_extension(char *input, char *ext) { char *p = strrchr(input...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #define EXTERN extern #include "basic.h" #include "structN.h" #include "coderN.h" #include "init_encN.h" #include "memoryN.h" #include "dpx.h" #include "util_filtering.h" #include "structN.h" #include "general...
/* Copyright (c) 2002 Graz University of Technology. 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, * thi...
/* cmines.h: The guts of the game. * * Copyright (C) 2000 by <NAME>, under the GNU General Public * License. No warranty. See COPYING for details. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <ctype.h> #include <errno.h> #include <getopt.h> #include "cmines.h" #include "...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not ...
/* BOOTLEG 3D A super simple software renderer written in C99. by <NAME>, 2020 This file is available under two licenses; see end of file. */ #include <stdint.h> // Public API void b3d_init(uint32_t * pixel_buffer, float * depth_buffer, int w, int h, float fov); void b3d_clear(); void b3d_reset(); vo...
/* * LameNES - Nintendo Entertainment System (NES) emulator * * Copyright (c) 2005, <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...
#include "postgres.h" #include "utils/syscache.h" #include "access/hio.h" #include "access/xact.h" #include "access/multixact.h" #include "tdb/storage_processor.h" #include "tdb/kv_universal.h" #include "tdb/tdbkvam.h" #include "tdb/kvengine.h" #include "tdb/range.h" #include "tdb/rocks_engine.h" #include "paxos/paxos...
#ifndef _BSD_SOURCE #define _BSD_SOURCE #endif // suppress assert() elimination, as we are currently heavily relying on it #ifdef NDEBUG #undef NDEBUG #endif #include<assert.h> #include<errno.h> #include<fcntl.h> #include<inttypes.h> #include<pthread.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #includ...
/*====================================================================* - 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...
/* * BIN to .cas program file (NEC PC computers) * * Original code name: hex2cas,(c) 2003-2007 * by <NAME>. * * MC loader by <NAME>, (c) 2013 * * $Id: nec.c,v 1.5 2015/01/28 04:32:59 aralbrec Exp $ */ #include "appmake.h" static char *binname ...
/* * File: src/monster/mon-power.c * Purpose: functions for monster power evaluation * * Copyright (c) 2000-11 <NAME>, <NAME>, <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * ...
/* Copyright (c) 2001, <NAME>. * Copyright (c) 2001-2004, <NAME>. * Copyright (c) 2004-2006, <NAME>, <NAME>. * Copyright (c) 2007-2016, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file util_format.c * * \brief Miscellaneous functions for encoding and decoding various things * i...
/* mn_wordlist.c 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 rights to use, copy, modify, merge...
/* Definitions of target machine for GNU compiler, for 64 bit PowerPC linux. Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the ...
/*####COPYRIGHTBEGIN#### ------------------------------------------- Copyright (C) 2008 <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 optio...
/* test/test-vcf-api.c -- VCF test harness. Copyright (C) 2013, 2014, 2017-2020 Genome Research Ltd. Author: <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 res...
/********************************************************************************* 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: 1. Redistributions of source code mus...
/* * Copyright (c) 2013 Broadcom Corporation * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Copyright (C) 2018-2019, Advanced Micro Devices, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provid...
/* mpfr_gamma_inc -- incomplete gamma function Copyright 2016-2020 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
/* * Raw Video Codec * Copyright (c) 2001 <NAME> * * 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 Foundation; either * version 2.1 of the License, or (at your opt...
#include "xyolo2_fpga_hw.h" double what_time_is_it_now() { struct timeval time; if (gettimeofday(&time,NULL)){ return 0; } return (double)time.tv_sec + (double)time.tv_usec * .000001; } int YOLO2_FPGA(unsigned int In_Address, unsigned int Out_Address, unsigned int Weight_offset, unsigned int ...
/* * Copyright (c) 2016, <NAME> and <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 c...
#define FFI_LIB "/Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/lib/server/libjvm.dylib" char *strdup(const char *s); typedef int jint; typedef long jlong; typedef signed char jbyte; typedef unsigned char jboolean; typedef unsigned short jchar; typedef short jshort; typedef float jf...
/* Copyright 2016 Vanderbilt University 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...
/* * This file is a part of viewssld package. * * Copyright 2007 <NAME> <<EMAIL>> * * 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...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2020-2021 S...
#ifndef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 #endif #include <assert.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include "cwalk.h" #include "libxml2_encoding.h" #include "minivhd_internal.h" #include "minivhd_util.h" #include "minivhd_struct_rw.h" #include "minivhd_io.h"...
/******************************************************************************** * Creator: <NAME> and <NAME> * * (San Diego State University, Scripps Institution of Oceanography) * * Date : 10/03/2007 * *******...
// Copyright (C) 2012 - <NAME>. All rights reserved. #include "main.h" #include "wrktcp.h" /** wrk的整体汇总数据 **/ config cfg; /** wrk这么写看起来像对象的属性,毫无意义 **/ static struct sock sock = { .connect = sock_connect, .close = sock_close, .read = sock_read, .write = sock_write, ...
/* ***************************************************************************** */ /* A C-program for MELG19937-64 */ /* Copyright: <NAME>, Ritsumeikan University */ /* <NAME> */...
/* Copyright (c) 2021, <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 and the follow...
/******************************************************************************* ** File: sample_app.c ** ** Purpose: ** This file contains the source code for the Sample App. ** *******************************************************************************/ /* ** Include Files: */ #include <string.h> #in...
/* * Copyright (C) 2016-2017 FIX94 * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <string.h> #include <malloc.h> #include <unistd.h> #include <stdio.h> #include <fat.h> #include <sys/stat.h> #include <polarssl/md5.h> #include <...
/** @file * * Copyright (c) 2015, Hisilicon Limited. All rights reserved. * Copyright (c) 2015, Linaro Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License * which accompanies this distribution. The full t...
/* * BlueALSA - aplay.c * Copyright (c) 2016-2018 <NAME> * * This file is a part of bluez-alsa. * * This project is licensed under the terms of the MIT license. * */ #if HAVE_CONFIG_H # include "config.h" #endif #include <getopt.h> #include <poll.h> #include <pthread.h> #include <signal.h> #include <stdbool.h...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Module Name: st_defs.h Abstract: Contains ExtSTA station specific defines Revision History: When What ---------- ---------------------------------------------- 09-04-2007 Created Notes: --*/ #pragma once #defin...
#include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/ip.h> #include <linux/tcp.h> #include <linux/ipv6.h> #include <net/ipv6.h> #include <linux/skbuff.h> #include <linux/module.h> #include <linux/timer.h> #include <linux/version.h> #include <linux/sockios.h> #include <mach/ccci_config.h> #include...
/* * S9core Toolkit, Mk IVc * By <NAME>, 2007-2018 * In the public domain * * Under jurisdictions without a public domain, the CC0 applies: * https://creativecommons.org/publicdomain/zero/1.0/ */ #define S9_VERSION "20181111" /* * Ugly prelude to deal with some system-dependent stuff. */ #ifdef __NetBSD__ ...
/***************************************************************************** * * \file * * \brief QT60168 driver example driver for AVR32 UC3. * * This file provides an example for the QT60168 driver. * * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License ...
/* * Copyright (C) 2021, <NAME> * * SPDX-License-Identifier: Apache-2.0 * * Open Drone ID Linux transmitter example. * * Maintainer: <NAME> * <EMAIL> */ #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <sys/param.h> #include <lib/bluetooth.h> #include <lib/hci.h> #include...
/* * @brief LPC8xx clock driver * * @note * Copyright(C) NXP Semiconductors, 2012 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This software is supplied "AS IS" witho...
/* * cfg_storage.c * * Copyright (c) 2018 Aerospike, Inc. 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 r...
/* * Modified based on repp.f from MOPAC 7-1.11 */ #include <math.h> /* * NATORB IS THE NUMBER OF ATOMIC ORBITALS PER ATOM. */ int MOPAC_NATORB[] = {0, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4, 4, 0, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 9, 9, 9...
/* $OpenBSD: if_xgereg.h,v 1.4 2007/02/27 22:39:39 kettenis Exp $ */ /* $NetBSD: if_xgereg.h,v 1.1 2005/09/09 10:30:27 ragge Exp $ */ /* * Copyright (c) 2004, SUNET, Swedish University Computer Network. * All rights reserved. * * Written by <NAME> for SUNET, Swedish University Computer Network. * * Redistributio...
// // Code from https://forum.digikey.com/t/using-the-segment-lcd-controller-on-the-kinetis-kl46/13277 // #include "MKL46Z4.h" #include "lcd.h" const static uint8_t LCD_Frontplane_Pin[LCD_NUM_FRONTPLANE_PINS] = { LCD_FRONTPLANE0, LCD_FRONTPLANE1, LCD_FRONTPLANE2, LCD_FRONTPLANE3, LCD_FRONTPLANE4, LCD_FRONTPLANE5,...
/** * 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...
/* * vim: set et ts=4 sw=4 *------------------------------------------------------------ * __ __ * | | |___ ___ ___ ___ ___ * |- -| . |_ -| -_| _| .'| * |__|__|___|___|___|_| |__,| * * Xark's Open Source Enhanced Retro Adapter * * - "Not as clumsy or random as a GPU, an embedded retro * adapter for ...
/******************************************************************************************* * * Displays the contents of a .las file * * Date : May 2015 * * Author : <NAME> * *******************************************************************************************/ #include <stdio.h> #include <stdlib...
#include "UnimplementedInstruction.c" int parity(int x, int size) { int i; int p = 0; x = (x & ((1<<size)-1)); for (i=0; i<size; i++) { if (x & 0x1) p++; x = x >> 1; } return (0 == (p & 0x1)); } void LogicFlagsA(State8080 *state) { state->cc.cy = state->cc.ac = 0; state->cc.z = (state->a == 0); state->c...
#pragma once #include <Windows.h> #include <cstdint> #include "D2Constants.h" struct ItemsTxt { char szFlippyFile[32]; //0x00 char szInvFile[32]; //0x20 char szUniqueInvFile[32]; //0x40 char szSetInvFile[32]; //0x60 union { uint32_t dwCode; //0x80 char szCode[4]; //0x80 }; uint32_...
/* ** Copyright (C) 2003-2020 by Carnegie Mellon University. ** ** @OPENSOURCE_LICENSE_START@ ** See license information in ../../LICENSE.txt ** @OPENSOURCE_LICENSE_END@ */ /* * rwfileinfo * * Prints information from the header of a SiLK file; also reports * the file's size and the number of records in the ...
/**************************************************************/ /* * Copyright (c) 2014-2015, <NAME>, IBM 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. Redistributions...
/* * Copyright (C) 2018 Marvell International Ltd. * * SPDX-License-Identifier: BSD-3-Clause * https://spdx.org/licenses */ #include <addr_map.h> #include <a8k_i2c.h> #include <ap810_setup.h> #include <ap810_init_clocks.h> #include <ccu.h> #include <debug.h> #include <gwin.h> #include <mmio.h> #include <mv_ddr_if...
/***********************************************\ * draw.c * * <NAME> (C) 2016 * \***********************************************/ #include "draw.h" #include "barber.h" #include "customer.h" #include "main.h" #define WALL_VERTICES 12 #define DOOR_VERTI...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include <assert.h> #ifdef __DREAMCAST__ #include <kos.h> #endif #include "GL/gl.h" #include "GL/glu.h" #include "GL/glext.h" #include "GL/glkos.h" #ifdef __DREAMCAST__ #include <kos.h> extern uint8 romdisk[]; KOS_INIT_ROMDISK...
/* * normalize_eucjp.c */ #include "postgres.h" #include "mb/pg_wchar.h" #include "textsearch_ja.h" #define WIDEN(c1, c2) (((unsigned char) (c1) << 8) | (unsigned char) (c2)) #define BETWEEN(c, lo, hi) ((lo) <= ((unsigned char) (c)) && ((unsigned char) (c)) <= (hi)) /* アルファベットと数字の変換 */ #define EUCJP_IS_ALNUM(s) ...
/* Copyright (c) 2017, CenturyArks 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 following...
/* $OpenBSD: uslcom.c,v 1.38 2016/03/31 12:41:46 reyk Exp $ */ /* * Copyright (c) 2006 <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 appear in all cop...
#include <string.h> #include <stdio.h> #include "dynamic_libs/os_functions.h" #include "ios_exploit.h" #define ALIGN4(x) (((x) + 3) & ~3) #define CHAIN_START 0x1016AD40 #define SHUTDOWN 0x1012EE4C #define SIMPLE_RETURN 0x101014E4 #define SOURCE (0x120000) #define IOS_CR...
/* Copy this structures into the LocalDB of IDAPro and then syncrhonize */ typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY, *PLIST_ENTRY; typedef struct _SINGLE_LIST_ENTRY { struct _SINGLE_LIST_ENTRY *Next; } SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY; typedef str...
/* * Copyright (c) 2016 PrivatBank IT <<EMAIL>>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <string.h> #include "dsa.h" #include "macros_internal.h" #include "math_int_internal.h" #include "math_gfp_internal.h" #include "sha1.h" #include "sha2.h" #und...
/* * SPDX-License-Identifier: BSD-2-Clause * * Copyright 2010-2012 Novell, Inc. * Copyright 2012-2020 SUSE LLC * * 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 t...
/* gpgparsemail.c - Standalone crypto mail parser * Copyright (C) 2004, 2007 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG 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; eith...
//////////////////////////////////////////////////////////////////////////////// // // File: hyrel.h // //////////////////////////////////////////////////////////////////////////////// // // Purpose: include file for common public defines and functions. // ///////////////////////////////////////////////////////////...
#include "sctk.h" int chop_WTOKE_2(WTOKE_STR1 *ref, WTOKE_STR1 *hyp, int Rstart, int Hstart, int Rendconv, int Hendconv, int max_words, int *Rret_end, int *Hret_end); SCORES *align_ctm_to_ctm(char *hyp_file, char *ref_file, char *set_title, int feedback, int fcorr, int opt_del, int case_sense, int time_align, int le...
#include "Platform/stdControl.h" #include "Engine/sithControl.h" #include "Win95/Window.h" #include "stdPlatform.h" #include <SDL.h> #include "jk.h" const uint8_t stdControl_aSdlToDik[256] = { 0, 0, 0, 0, DIK_A, DIK_B, DIK_C, DIK_D, DIK_E, DIK_F, DIK_G, DIK_H, DIK...
/** ****************************************************************************** * @file LCD_DSI/LCD_DSI_CmdMode_TearingEffect/Src/main.c * @author MCD Application Team * @version V1.0.4 * @date 06-May-2016 * @brief This example describes how to configure and use LCD DSI to display an image...
/* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * 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, ...
/* $OpenBSD: inet6.c,v 1.31 2004/11/17 01:47:20 itojun Exp $ */ /* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */ /* * Copyright (c) 1983, 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
/*****************************************************************************/ /* ファイル操作に関する処理 */ /* */ /* 仕様の詳細は、ヘッダファイル file-op.h 参照 */ /* */ /*****************************************************************************/ #include <stdio.h> #inclu...
/** Lexer * @file * * The lexer divides up the source program into tokens, producing each for the parser on demand. * The lexer assumes UTF-8 encoding for the source program. * * This source file is part of the Cone Programming Language C compiler * See Copyright Notice in conec.h */ #include "lexer.h" #include...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
/* ------------------------------------------------------------------------------ Licensing information can be found at the end of the file. ------------------------------------------------------------------------------ http.hpp - v1.0 - Basic HTTP protocol implementation over sockets (no https). Do this: ...
/*- * Copyright (c) 2015-2019 <NAME>. * Copyright (c) 2019 <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 * ...
/* * $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ * $FreeBSD: src/sys/dev/usb/umodem.c,v 1.48 2003/08/24 17:55:55 obrien Exp $ */ /*- * Copyright (c) 2003, <NAME> <<EMAIL>>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
#include "private.h" #include <Elementary.h> #include "config.h" #include "col.h" typedef struct _Color Color; struct _Color { unsigned char r; unsigned char g; unsigned char b; unsigned char a; }; static const Color default_colors[2][2][12] = { { // normal { // normal { 0xaa, 0xa...
/* * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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...
#include <assert.h> #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include "exec_stack.h" #include "bytecode.h" #include "jv_alloc.h" #include "jq_parser.h" #include "locfile.h" #include "jv.h" #include "jq.h" #include "parser.h" #include "builtin.h" struct jq_stat...
/* Bit operations. * * Copyright (c) 2009-2012, <NAME> <<EMAIL>irez at gmail dot com> * 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...
/* * * WKTRaster - Raster Types for PostGIS * http://trac.osgeo.org/postgis/wiki/WKTRaster * * Copyright (C) 2011-2013 Regents of the University of California * <<EMAIL>> * Copyright (C) 2010-2011 <NAME> <<EMAIL>> * Copyright (C) 2010-2011 <NAME> <<EMAIL>> * Copyright (C) 2009-2011 <NAME> <<EMAIL>> * Copyri...
/* * Simple Open EtherCAT Master Library * * File : nicdrv.c * Version : 1.3.0 * Date : 24-02-2013 * Copyright (C) 2005-2013 <NAME> v.o.f. * Copyright (C) 2005-2013 <NAME> * Copyright (C) 2008-2009 TU/e Technische Universiteit Eindhoven * * SOEM is free software; you can redistribute it and/...
/* zchkrfp.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end o...
/* +----------------------------------------------------------------------+ | PHP HTML Embedded Scripting Language Version 3.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2000 PHP Development Team (See Credits file) | +--------...
#include <arpa/inet.h> #include <assert.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> int max_error = 3; #include "common.h" #define err() e(__LINE__) static void printstr(const char *s) { if (s) printf("\"%s\"", s); else printf("NULL"); } static void t...
// Copyright (c) 2019, 2020 <NAME> // // SPDX-License-Identifier: MIT #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <string.h> #include <strings.h> #include <errno.h> #include <libgen.h> #include <histedit.h> #include <unistd.h> #include <ctype.h> #include <locale.h> #include ...
#include <u.h> #include <libc.h> #include <bio.h> #include <ctype.h> #include <mach.h> /* * file - determine type of file */ #define LENDIAN(p) ((p)[0] | ((p)[1]<<8) | ((p)[2]<<16) | ((p)[3]<<24)) uchar buf[6000]; short cfreq[140]; short wfreq[50]; int nbuf; Dir mbuf; int fd; char *fname; char *slash; enum { Cwo...
// // Created by <NAME> on 2017-11-07. // #include "vm.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include "vminst.h" #define min(a,b) \ ({ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ _a < _b ? _a : _b; }) /* * Error Codes: * 1: Bad Opcode * ...
// SPDX-License-Identifier: GPL-2.0 /* * Memory bandwidth monitoring and allocation library * * Copyright (C) 2018 Intel Corporation * * Authors: * <NAME> <<EMAIL>>, * <NAME> <<EMAIL>> */ #include "resctrl.h" #define UNCORE_IMC "uncore_imc" #define READ_FILE_NAME "events/cas_count_read" #define WRITE_F...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2004-2008 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This program...
/****************************************** ** DES-Implementation ** Author: B-Con (<EMAIL>) ** Copyright/Restrictions: GNU GPL ** Disclaimer: This code is presented "as is" without any garuentees; said author holds liability for no problems rendered by the use of this code. ** Details: This code is the ...
/* Tables for conversion from and to IBM856. Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by <NAME> <<EMAIL>>, 2000. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public...
/******************************************************************* Routine: orientation.c Author/Copyright: <NAME> Address: Institute of Geodesy and Photogrammetry ETH - Hoenggerberg CH - 8093 Zurich Creation Date: summer 1988 Description: computes 6 parameters of ex...
/* $NetBSD: rtc.c,v 1.9 2003/10/25 15:05:00 simonb Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. * All rights reserved. * * Written by <NAME> for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...