text
stringlengths
7.55k
41.9k
#include <sys/stat.h> #include <unistd.h> #include "lasrc.h" /****************************************************************************** MODULE: lasrc (Landsat Surface Reflectance Code - LaSRC) PURPOSE: Computes the surface reflectance values for the Landsat 8 products. RETURN VALUE: Type = int Value ...
// This file is part of Deark. // Copyright (C) 2016 <NAME> // See the file COPYING for terms of use. // icns - Apple Icon Image format #include <deark-config.h> #include <deark-private.h> DE_DECLARE_MODULE(de_module_icns); static const u32 pal16[16] = { 0xffffff,0xfcf305,0xff6402,0xdd0806,0xf20884,0x4600a5,0x0000d...
/* * Copyright (c) 2015-2021 ACOINFO Co., Ltd. * All rights reserved. * * Detailed license information can be found in the LICENSE file. * * File: esp32_connect.c ESP32 Wi-Fi AP connect and smart config. * * Author: Jiao.jinxing <<EMAIL>> * */ /* Common functions for protocol examples, to establish Wi-Fi or ...
/* 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, ...
/* GStreamer ReplayGain volume adjustment * * Copyright (C) 2007 <NAME> <<EMAIL>> * * gstrgvolume.c: Element to apply ReplayGain volume adjustment * * 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 So...
/****************************************************************************** * $Id$ * * Project: MapServer * Purpose: Implementation of the union layer data provider (RFC-68). * Author: <NAME> (<EMAIL>). * ****************************************************************************** * Copyright (c) 1996...
/* GNU Objective C Runtime class related functions Copyright (C) 1993-2017 Free Software Foundation, Inc. Contributed by <NAME> and <NAME>. Lock-free class table code designed and written from scratch by <NAME>, 2001. This file is part of GCC. GCC is free software; you can redistribute it and/or modify i...
/* dc4.c: SWTP DC-4 FDC Simulator Copyright (c) 2005-2011, <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...
#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...
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com * * 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 requir...
/* * Copyright (c) 2017, Intel Corporation * 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...
#include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> typedef enum { TLITERAL, TIDENTIFIER, TLBRACE, TRBRACE, TLBRACKET, TRBRACKET, TLPAREN, TRPAREN, TEQ, TDOT, TPIPE, } token_type_t; typedef enum { LIDLE, // Skippin...
/* Extended Module Player * Copyright (C) 1997-2010 <NAME> and <NAME> * * This file is part of the Extended Module Player and is distributed * under the terms of the GNU General Public License. See doc/COPYING * for more information. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <stdli...
/*- * Copyright (c) 1982, 1986 The Regents of the University of California. * Copyright (c) 1989, 1990 <NAME> * Copyright (c) 1994 <NAME> * All rights reserved. * * This code is derived from software contributed to Berkeley by * the Systems Programming Group of the University of Utah Computer * Science Departme...
/* GStreamer base utils library plugin install support for applications * Copyright (C) 2007 <NAME> <tim centricular net> * Copyright (C) 2006 <NAME> <desrt desrt ca> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publis...
#include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <ctype.h> #include "trace.h" #include "logging.h" #include "utils.h" #include "poe_err.h" #include "vec.h" #include "cstr.h" #include "margins.h" #include "tabstops.h" #include "bufid.h" #include "key_interp.h" #include "buffer.h" #include "window....
/* (C) Copyright 2001, 2002, 2003, 2004, 2005 <NAME> * (C) Copyright 2006, 2007, 2008, 2009, 2010, 2011 <NAME> * (C) Copyright 2012, 2013 <NAME> * * This file is part of MCL. You can redistribute and/or modify MCL under the * terms of the GNU General Public License; either version 3 of the License or * (at...
/* * write by <EMAIL> */ #include <linux/videodev2.h> #include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> #include <stdio.h> #include <sys/mman.h> #include <sys/select.h> #include <errno.h> #include <string.h> #include <time.h> static int fd_dev = -1; static struct v4l2_capability v4l2_cap_capture; stati...
#include "freertps/udp.h" #include "freertps/spdp.h" #include "freertps/disco.h" #include "freertps/sub.h" #include "freertps/pub.h" #include "freertps/bswap.h" #include <limits.h> #include <string.h> #include <stdio.h> #include "freertps/psm.h" const struct rtps_psm g_rtps_psm_udp = { .init = frudp_init }; ///////...
/* Copyright 1993 <NAME>. * Permission granted to Spec to use and distribute as a computer benchamrk * permission is not granted to use or modify this code for any * purpose other than benchmarking or computer system performance tuning. * * This program is available (with a user interface) for: * IBM-PC/DOS from ...
/* ==================================================================== * Copyright (c) 2016 The GmSSL Project. 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. Redistribution...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2013 Semtech Description: Generic lora driver implementation License: Revised BSD License, see...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. 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 ...
/* * RTC Driver for X-Powers AC100 * * Copyright (c) 2016 <NAME> * * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in th...
/*- * Copyright (c) 1997, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice unmodified, thi...
/* * * 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"); y...
/**@file main.c * @brief Extensions and driver for the 'pickle' interpreter. The * interpreter is a copy and modification of the 'picol' interpreter * by antirez. See the 'pickle.h' header for more information. * @author <NAME> * @license BSD */ #include "pickle.h" #include "block.h" #include <assert.h> #include ...
/* * Copyright (C) 2016-2019 <NAME> <<EMAIL>> * * Licence: wxWindows Library Licence, Version 3.1 */ #include "gumcodesegment.h" #include "gum-init.h" #include "gumcloak.h" #include "gumdarwin.h" #include "substratedclient.h" #include <CommonCrypto/CommonDigest.h> #include <dlfcn.h> #include <errno.h> #include <...
/* * --INFO-- * Address: 80215648 * Size: 0002A4 */ void __dec2num(void) { /* .loc_0x0: mflr r0 stw r0, 0x4(r1) stwu r1, -0x48(r1) stfd f31, 0x40(r1) stmw r26, 0x28(r1) lbz r0, 0x4(r3) lbz r31, 0x0(r3) cmpwi r0, 0x1 lfd f31, -0x3C18(r2) ...
/* * Copyright (C) 2019 <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, or (at your option) * any later version. * * SPDX-License-Identifier: BSD-2-Clause *...
#include "saturn_engine/_lib.h" static saten_menu_sfx sfx_def; static saten_sprite *def_iconset; static int acceptbtn; static int acceptkey; static int cancelbtn; static int cancelkey; static int drawn; // Number of elements drawn saten_menu* saten_menu_create(int mtype, int malign, int x, int y, uint8_t f...
/* * Copyright Daniel Industries. * * Created by: <NAME> (<EMAIL>) * * This code is released under the GPL version 2. See the file COPYING * for more details. * * Software distributed under the Licence is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. * See the Li...
/* * Copyright (c) 1999-2000 Image Power, Inc. and the University of * British Columbia. * Copyright (c) 2001-2003 <NAME>. * All rights reserved. */ /* __START_OF_JASPER_LICENSE__ * * JasPer License Version 2.0 * * Copyright (c) 2001-2006 <NAME> * Copyright (c) 1999-2000 Image Power, Inc. * Copyright (c...
#include "lab_lms.h" #include "backend/arm_math.h" #include "blocks/sources.h" #include "blocks/sinks.h" #include "util.h" #include "config.h" #include "backend/systime/systime.h" #include "backend/printfn/printfn.h" #include "backend/asciiplot.h" /** @brief Relative change in mu on increase/decrease events */ #define...
/*------------------------------------------------------------------------- * * Utility routines for SQL dumping * * Basically this is stuff that is useful in both pg_dump and pg_dumpall. * * * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the Un...
/* * vim: ts=8:sw=8:tw=79:noet * * Copyright 2012 the Redfish authors * * 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...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2011 UT-Battelle, LLC. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #inc...
/* * This file is part of the coreboot project. * * Copyright (C) 2010 Advanced Micro Devices, 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; version 2 of the License. * * This ...
/* * Copyright 2005-2019 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 int...
#define COND_SHIFT 28 #define COND_EQ (0x0 << COND_SHIFT) #define COND_NE (0x1 << COND_SHIFT) #define COND_CS (0x2 << COND_SHIFT) #define COND_CC (0x3 << COND_SHIFT) #define COND_MI (0x4 << COND_SHIFT) #define COND_PL (0x5 << COND_SHIFT) #define COND_VS (0x6 << COND_SHIFT) #define COND_VC (0x7 << COND_SHIFT) #define CO...
// SPDX-License-Identifier: GPL-2.0 /* CAN bus driver for Microchip 25XXFD CAN Controller with SPI Interface * * Copyright 2019 <NAME> <<EMAIL>> */ /* controller details * * It has 32 FIFOs (of up to 32 CAN-frames). * * There are 4 Fifo types which can get configured: * * TEF - Transmission Event Fifo - whic...
/* Copyright (C) 1996-2001 Id Software, Inc. Copyright (C) 2002-2009 <NAME> and others 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 v...
/* ebt_ip * * Authors: * <NAME> <<EMAIL>> * * Changes: * added ip-sport and ip-dport; parsing of port arguments is * based on code from iptables-1.2.7a * Innominate Security Technologies AG <<EMAIL>> * September, 2002 * * Adapted by <NAME> <<EMAIL>> * to use libxtables for ebtables-compat in 201...
/* prescr.c */ /* Copyright (C) 2001-2009 <NAME> and <NAME>. Copyright (C) 2009 <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 a...
/* zxidoidc.c - Handwritten nitty-gritty functions for OpenID Connect 1.0 (openid-connect oidc) * Copyright (c) 2011-2014,2017 <NAME> (<EMAIL>), All Rights Reserved. * This is confidential unpublished proprietary source code of the author. * NO WARRANTY, not even implied warranties. Contains trade secrets. * Dist...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
/* * The MIT License (MIT) * Copyright (c) 2019 <NAME> greymattr(at)gmail.com 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...
// This file is licensed under the Elastic License 2.0. Copyright 2021 StarRocks Limited. #pragma once // The macros in this file are elaborated to constructor 2-ary and 3-ary guard/table entries. // Actually, at most 5-ary guard/table entries are also supported, as long as // the length of arguments passed to META_M...
/* * Intel 82557 Fast Ethernet PCI Bus LAN Controller * as found on the Intel EtherExpress PRO/100B. This chip is full * of smarts, unfortunately none of them are in the right place. * To do: * the PCI scanning code could be made common to other adapters; * PCI code needs rewritten to handle byte, word, dword acc...
// SPDX-License-Identifier: (MIT) /* * Copyright (c) 2020 Institute for Control Engineering of Machine Tools and Manufacturing Units, University of Stuttgart * Author: <NAME> <<EMAIL>> */ /* Demoapplication to receive/send values via TSN and simulate a drive */ #include <limits.h> #include <pthread.h> #include <...
#include "ptv.h" /* declaration */ void qs_coord2d_x (); void qs_target_y (); void qs_coord2d_pnr (); void qs_con (); void bubble_foundpix1 (); void bubble_foundpix2 (); void tclimg2cimg(); /* tools / makros */ int round (double x) /* round input double x to integer */ { if (x>=0) return((int)(x...
#include "cubic_spline.h" #include <math.h> #include <stdlib.h> #include <string.h> /* Useful marcos */ #define ABS(a) ( (a) > 0.0 ? (a) : (-(a)) ) #define FLOOR(a)((a)>0.0 ? (int)(a):(((int)(a)-a)!= 0.0 ? (int)(a)-1 : (int)(a))) #define ROUND(a)(FLOOR(a+0.5)) #ifdef _MSC_VER #define inline __inline #endif /* ...
/* * Copyright (c) 2021 Actility. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions a...
/** * Enhanced Seccomp x86_64 Syscall Table * * Copyright (c) 2012 Red Hat <<EMAIL>> * Author: <NAME> <<EMAIL>> */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of version 2.1 of the GNU Lesser General Public License as * published by the Free Software Foundatio...
/* edlimb.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 doublereal c_b18 = 1.; static integer c__9 = 9; /* $Procedure EDLIMB ( Ellipsoid Limb ) */ /* Subroutine */ int...
/*- * Copyright (c) 2018 Microsemi Corporation. * 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...
/* mafToAnc - Find and report anchors in a maf file. Anchors are defined * as ungapped alignments with a minimum length of 100bp. The user * can utilize the -minLen paramater to change the minimum ungapped * length required to define an anchor. */ /* Copyright (C) 2011 The Regents of the University of Calif...
/*Copyright (c) <NAME> Berkeley Seismological Laboratory University of California, Berkeley */ /* Moment Tensor Inversion */ /* Uses previously determined Green's functions in D. Helmbergers format*/ #include <stdlib.h> #include"tdmtinv_iso.h" void gaussj(); int correlate(),fclose(); FILE *fopen(), *par,*fd, *fd1, *f...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <math.h> #include <omp.h> #include "H2Pack_config.h" #include "H2Pack_aux_structs.h" #include "H2Pack_utils.h" #include "utils.h" // Check if two boxes are admissible int H2P_check_box_admissible(const DTYPE *box0, c...
/* * $QNXLicenseC: * Copyright 2009, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/license...
/* $Source: /var/local/cvs/gasnet/gm-conduit/gasnet_core_conf.c,v $ * $Date: 2011/02/09 04:10:19 $ * $Revision: 1.25 $ * Description: GASNet GM conduit Implementation * Copyright 2002, <NAME> <<EMAIL>> * Copyright 2002, <NAME> <<EMAIL>> * Terms of use are as specified in license.txt */ /* Much of the code below ...
/* * Google virtual Ethernet (gve) driver * * Copyright (C) 2015-2018 Google, Inc. * * This software is available to you under a choice of one of two licenses. You * may choose to be licensed under the terms of the GNU General Public License * version 2, as published by the Free Software Foundation, and may be c...
/* * drivers/video/tegra/dc/mode.c * * Copyright (C) 2010 Google, Inc. * * Copyright (c) 2010-2014, NVIDIA CORPORATION, All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distribute...
/* * Copyright (C) 2007. PathScale, LLC. All Rights Reserved. */ /* * Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* 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 versi...
/* * vidcat.c * * Copyright (C) 1998 - 2001 <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 later version. * * This ...
#include <u.h> #include <libc.h> #include "git.h" typedef struct Buf Buf; struct Buf { int len; int sz; char *data; }; static int readpacked(Biobuf *, Object *); Objset objcache; int bappend(void *p, void *src, int len) { Buf *b = p; char *n; while(b->len + len >= b->sz){ b->sz = b->sz*2 + 64; n = reall...
/** @file MyAdeptnessService.c * @brief Specific adeptness microservice * * Copyright(c) 20 * Ikerlan */ /* Include */ #include <math.h> #include <time.h> #include <sys/time.h> #include <inttypes.h> #include "CanMonitor.h" #include "rest_server/rest_server_impl.h" #include "mqtt/mqtt_payload_helpers.h" #include ...
/* * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.h...
/* NetHack 3.7 fountain.c $NHDT-Date: 1596498170 2020/08/03 23:42:50 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.69 $ */ /* Copyright <NAME>, <EMAIL>, 10/27/86 */ /* NetHack may be freely redistributed. See license for details. */ /* Code for drinking from fountains. */ #include "hack.h" static void dowat...
#include "c.h" static char rcsid[] = "$Id$"; #define SWSIZE 512 #define den(i,j) ((j-buckets[i]+1.0)/(v[j]-v[buckets[i]]+1)) struct code codehead = { Start }; Code codelist = &codehead; float density = 0.5; Table stmtlabs; static int foldcond(Tree e1, Tree e2); static void caselabel(Swtch, long, int); static void ...
/* * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the...
/* mnspgr.f -- translated by f2c (version 19961017). 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 real c_b21 = 0.f; static integer c__3 = 3; static integer c__100 = 100; static integer c_...
/************************************************************************************************************ * Copyright (c) 2018, Dolby Laboratories Inc. * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditio...
/* * GM20B PMU * * Copyright (c) 2015-2018, NVIDIA CORPORATION. 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...
#include <stdio.h> #include <ctype.h> #include <fcntl.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <stdio.h> #include <unistd.h> #include <errno.h> #include <poll.h> #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> extern void dbg_time (const char *fmt, ...); #...
//Day17a.c // //The seventeenth challenge is to navigate a 4x4 grid of rooms ("the grid"). //The doors in each room open and close based on the path taken through the //grid. It is possible to become trapped in a room if the wrong path is taken. // //The state of the doors in the current room is determined by the MD5 h...
/* * main.c * * Copyright 2016 <<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 progra...
/** ****************************************************************************** * @file system_win.c * @author MCD Application Team * @brief System information functions ****************************************************************************** * @attention * * <h2><center>&copy; Copyright ...
/* * ***** BEGIN LICENSE BLOCK ***** Copyright (C) 2009-2019 <NAME> and <NAME> This file is part of CLIXON. 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...
/************************************************************************** * * Copyright 2013 Advanced Micro Devices, 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 ...
/****************************************************************************** * qDecoder - http://www.qdecoder.org * * Copyright (c) 2000-2012 <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
/* crypto/sha/sha256.c * Code copied from openssl distribution and * Modified just enough so that compiles and runs standalone * * Copyright (C) 2011, Broadcom Corporation. All Rights Reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby g...
typedef struct Config Config; typedef struct AMap AMap; typedef struct AMapN AMapN; typedef struct Arena Arena; typedef struct AState AState; typedef struct ArenaCIG ArenaCIG; typedef struct ArenaHead ArenaHead; typedef struct ArenaPart ArenaPart; typedef struct ArenaTail ArenaTail; typedef struct ATailSta...
/*! * \file * \brief Spiisolator Click example * * # Description * The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface. * In this example we have used an 8x8 click board connected to a SPI Isolator click board. * * The dem...
/* 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. */ /* * This test demonstrates Routing Over Trill unicast ingress and egress scenarios. * * Terminology: * RBB: RBridge...
/* Summary of the main trigonometry functions: format format new float float in out speed speed equivalent ---------------------------------------------------------------------------------------------------------- isqrt(x) u64 u32 ~15.5 10-65 sqrt(x) fplog2(x) 32.0 s5.26 31.33 66 log2(x), fplog2(0) returns...
/* $Id: gssstdio.c,v 1.6 2010/04/14 11:26:50 dowdes Exp $ */ /*- * Copyright 2009 <NAME> and Co. Incorporated * * 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, inc...
/*====================================================================== * apply_mask.c - insert a region from a grid file * * 25-Nov-2004 T.Haran <EMAIL> 303-492-1847 * National Snow & Ice Data Center, University of Colorado, Boulder *======================================================================*/ stati...
#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <unistd.h> #include <netdb.h> #include <signal.h> #include <pthread.h> #include <string.h> #define MAXHOSTNAMELEN 128 /* Prototypes */ void *...
#include <string.h> #include <plib.h> #include "comm.h" #include "picsetup.h" #include "lcd.h" #define A0 LATBbits.LATB13 #define RST LATAbits.LATA1 #define SPI_CHANNEL SPI_CHANNEL1 #define LCD_NUM_PAGES (4) #define LCD_NUM_COLS (128) #define SET_PAGE_ADDRESS(page) (0xB0 | (page...
/***************************************************************************** * d3d11_deinterlace.c: D3D11 deinterlacing filter ***************************************************************************** * Copyright (C) 2017 Videolabs SAS * * Authors: <NAME> <<EMAIL>> * * This program is free software; you ca...
#include "mj_player_cui.h" #include "mj_utility.h" #include "mj_shanten.h" #include <stdlib.h> #include <assert.h> #include <curses.h> #include <stdarg.h> #include <string.h> /* メモリアラインメント */ #define MJPLAYER_CUI_ALIGNMENT 16 /* メッセージバッファの縦幅 */ #define MJPLAYER_CUI_MESSAGE_WINDOW_HEIGHT 16 /* メッセージバッファの行サイズ */ ...
// dc4wContext.c // RIGHT MOUSE BUTTON CONTEXT MENU #include "dc4w.h" extern BOOL DeleteOneIsOK( PCFDLGSTR pcfds ); #define DONEUPDCHK2 // a FAST one file update (L->R) /* ================================= typedef struct tagLSTSTATS { DWORD dwid; // id of stats DWORD dwleftcnt; // total in left DWORD...
#include "collection.h" #include "common.h" #include "vpk.h" #include "zip.h" #include "atto/app.h" #ifndef _WIN32 #include <alloca.h> #else #define alloca _alloca #pragma warning(disable:4204) #endif enum CollectionOpenResult collectionChainOpen(struct ICollection *collection, const char *name, enum FileType type...
/* <NAME> - 03/2020 */ #include "chip8.h" #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <stdio.h> /* TODO: Some instructions were different in a few sites, for those, it would be a good idea to add a flag to select a version to use when executing the code. Maybe add ...
/* tsv2vcf.c -- convert from tab-separated text file to VCF/BCF with extra INFO field * * Author: * <NAME> <EMAIL> */ #include "utils.h" #include <stdlib.h> #include "htslib/hts.h" #include "htslib/faidx.h" #include "htslib/vcf.h" #include "htslib/bgzf.h" #include "htslib/kstring.h" #include "htslib/khash...
/* * Mesa 3-D graphics library * Version: 6.3 * * Copyright (C) 1999-2005 <NAME> 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, includ...
/* * Interface routines for bare support of ELO touch screens. * Chunks of this stolen from xf86Elo.c, publicly-available xf86 driver * code available from the hardware manufacturer. * * <NAME>, Jan 2007. */ #include <stdio.h> #include <unistd.h> #include <termios.h> #include <sys/types.h> #include <fcntl.h> #in...
// // Copyright 2012-2013, <NAME> // // 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 ...
/* * @brief ADC ROM API declarations and functions * * @note * Copyright(C) NXP Semiconductors, 2014 * 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 sup...