text
stringlengths
5.8k
28.2k
/* * ACE/gredit - 2d finite element grid generation * * <NAME> and <NAME> * * Copyright 1990-2003 Oregon Health and Science University * All Rights Reserved. * */ /* * * strings, lines, and boxes * */ #ifndef lint static char RCSid[] = "$Id: strwin.c,v 1.2 2003/07/24 15:44:06 pturner ...
#define MICROPY_HW_BOARD_NAME "01Studio Columbus" #define MICROPY_HW_MCU_NAME "STM32F407ZGT6" #define MICROPY_HW_FLASH_FS_LABEL "COLUMBUS" #define MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE (0) #define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_FLASH (1) #define MICROPY_HW_ENABLE_RNG ...
#include <math.h> #include "ibm.h" #include "dma.h" #include "pic.h" #include "sound.h" #include "sound_ad1848.h" #include "x86.h" static int ad1848_vols_6bits[64]; static uint32_t ad1848_vols_5bits_aux_gain[32]; void ad1848_setirq(ad1848_t *ad1848, int irq) { ad1848->irq = irq; } void ad1848...
/* Console output module (terminal I/O) for the Pawn AMX * * Since some of these routines go further than those of standard C, they * cannot always be implemented with portable C functions. In other words, * these routines must be ported to other environments. * * Copyright (c) ITB CompuPhase, 1997-2015 * *...
/* Copyright (c) 2018, <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 followi...
#include "mex.h" #include "math.h" #include "matrix.h" #include "float.h" /* * VestBMS_c2corrpostandlikec2sum_discrete_mat_mex.c * *VESTBMS_C2CORRPOSTANDLIKEC2SUM_DISCRETE Multiple computations for C=2 (correlated,discrete) * * ================ INPUT VARIABLES ==================== * PRIORPDF2D: 2d prior over s_v...
/* $OpenBSD: if_liireg.h,v 1.4 2008/09/01 14:38:31 brad Exp $ */ /* * Copyright (c) 2007 The NetBSD Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions...
/* * Copyright (C) 2017 <NAME>. All Rights Reserved. */ #include "vk_init.h" extern SDL_Window* g_window; extern const char* g_program_name; extern const char* const g_engine_name; extern const u32 g_program_major_version; extern const u32 g_program_minor_version; extern const u32 g_program_patch_version...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, <NAME> <<EMAIL>> * * Version: MPL 1.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 Lic...
/** * What it's all about, managing session instances! * * Copyright (C) 2018-2020 <NAME>. All Rights Reserved. * See the LICENSE file accompanying the distribution your rights to use * this software. */ #include "stdconfig.h" #include <openssl/rand.h> #include "manager.h" #include "hash.h" #include "thread.h" ...
/* * A tool for reading the TFFS partitions (a name-value storage usually * found in AVM Fritz!Box based devices) on nand flash. * * Copyright (c) 2018 <NAME> <<EMAIL>> * * Based on the fritz_tffs_read tool: * Copyright (c) 2015-2016 <NAME> <<EMAIL>> * and on the TFFS 2.0 kernel driver from AVM: * Copy...
/* $NetBSD: cgsixreg.h,v 1.4 2001/01/10 14:58:08 tsutsui Exp $ */ /* * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and * contribute...
/** * Send email when your Hypernode is down * If status is -1 (offline your HN) then its send out a mail that HN is offline. * JSON Hypernode status list: https://hypernodes.bismuth.live/status.json. Updated every 3 minutes. * * Requirements: * json-h - https://github.com/sheredom/json.h * include in pr...
/******************************************************************************* * * loader.c * * <NAME> * * UART bootloader for the Kinetis K60 chip: * Module resides in the first 16Kbytes of flash memory. On powerup the * loader checks to see if application code exists at the start of the next * memory location (0x40...
// Author: wangha <wangha at emqx dot io> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses/MIT. // // // This i...
#include <stdlib.h> #include <ctype.h> #include <limits.h> #include <string.h> #include "erl_nif.h" /* TODO: - Use unsigned integer type for loop indices and handle wrap-around properly */ /* SYNTAX OF POLL FILES poll_file = { header_line }, { poll_line } ; header_line = "#", { all_characters }, "\n" ; poll_line ...
/* * xmlManager.c * UITS_Tool * * Created by <NAME> on 10/24/11. * * Copyright 2011 Universal Music Group. All rights reserved. * * XML management functions for creating UITS or CME payloads * * $Date$ * $Revision$ * */ #include "uits.h" char *xmlManagerFileName = "xmlManager.c"; /* * Functi...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/LIC...
typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef volatile unsigned char vuint8; typedef volatile unsigned short vuint16; typedef volatile unsigned int vuint32; #define DPRAM_ATM CFG_IMMR + 0x3000 #define ATM_DPRAM_BEGIN (DPRAM_ATM - CFG_IMMR - 0x2000) #define NUM_CONN...
/* * Copyright 2017, 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 the f...
/* * Copyright (c) 2010 <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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL...
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include "util/common.h" #include "util/log.h" #include "algo/group_gen.h" /* A000041 */ struct npart_iter_state_t { struct group_iter_t; uint32_t state_min_allowed; uint32_t last_allowed; int finished; }; /* TODO: XX */ struct dual_npart_iter_stat...
/*************************************************************************** * Copyright (C) 2011 by Broadcom Corporation * * <NAME> - <EMAIL> * * * * This program is free soft...
/* * foo-tools, a collection of utilities for glftpd users. * Copyright (C) 2003 Tanesha FTPD Project, www.tanesha.net * * This file is part of foo-tools. * * foo-tools 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 Soft...
/****************************************************************************** * FILE: @(#)tetris.c 1.11 04/09/21 * DESCRIPTION: * Source tetris module *****************************************************************************/ #include <osek/osek.h> #include "tetris.h" /* all possible tetris piece types: i...
/* sc1_i2c.c: SC1 I2C/SPD simulator Copyright (c) 2005-2006, SiCortex, Inc. All rights reserved. Based on SIMH; SIMH copyrights attached. Copyright (c) 1998-2005, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
#include <stdint.h> #include <stdio.h> #include <math.h> #include "AutoTilerLib.h" #include "nntool_extra_generators.h" #include "Gap.h" // Returns floor of square root of x int floorSqrt(int x) { // Base cases if (x == 0 || x == 1) return x; // Staring from 1, try all numbers until // i*i is gre...
/* $XFree86: xc/programs/Xserver/os/log.c,v 1.18 2008/05/01 16:13:24 tsi Exp $ */ /* Copyright 1987, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copi...
/* * The Yices SMT Solver. Copyright 2014 SRI International. * * This program may only be used subject to the noncommercial end user * license agreement which is downloadable along with this program. */ /* * TEST TERM SUBSTITUTIONS */ #include <assert.h> #include <stdio.h> #include <inttypes.h> #include <stdli...
#include "physics.h" #include "audio.h" #include "math_util.h" #include "game_state.h" #include "globals.h" #include <ultra64.h> #include <stdlib.h> #include <math.h> #include <gu.h> void updateVerletBody(VerletBody* verletBody, const Physics* physics) { Vec2f velocity = sub2f(verletBody->position, verletBody->o...
#include "../Parameter_files/INIT_PARAMS.H" #include "../Parameter_files/ANAL_PARAMS.H" #include "../Parameter_files/Variables.h" #include "bubble_helper_progs.c" #include "heating_helper_progs.c" #include "gsl/gsl_sf_erf.h" /* Throughout this and other 21cmMC drivers, the use of Deltac is not for checking against th...
#include "quad_tree.h" // **************** UTILITIES *********************** static void *emalloc(size_t amt,char * location) { void *v = malloc(amt); if(!v){ fprintf(stderr, "out of mem in quad_tree: %s\n",location); exit(EXIT_FAILURE); } return v; }; double dot_points(double p1x,d...
/* * Copyright (c) 2013 OmniTI Computer Consulting, 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 ...
/* * Macros to handle different function calling conventions. * * Copyright (c) 2018--2019 <NAME> * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and ...
/******************** (C) COPYRIGHT 2011 ************************************** * File Name : adc_packetize.c * Hacker : deh * Date First Issued : 09/06/2011 * Board : STM32F103VxT6_pod_mm * Description : Buffering/unbuffering adc averaged readings ************************************...
/* * Copyright 1992 by <NAME> and <NAME>, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. */ #include <stdio.h> #include <assert.h> #include "gsm610_priv.h" #include "gsm.h" /* 4.2.13 .. 4.2.17 RPE ENCODING SECTION */...
/* * Copyright © 2013 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1985 <NAME> Modified: 2000 AlansFixes **********/ /* * This routine should only be called when circuit topology * changes, since its computations do not depend on most * device or model parameters, only on topology (as...
/** * @file io.c * @author <NAME> * @brief source of assembly ias translator module. */ #include "../include/translator.h" #include "../include/macro.h" #include "../include/iastype.h" #include <stdio.h> #include <stdlib.h> #include <string.h> /** * ################### * # INSTRUCTION SET # * ###############...
/* $OpenBSD: cgthree.c,v 1.24 2003/08/01 19:24:49 miod Exp $ */ /* $NetBSD: cgthree.c,v 1.33 1997/05/24 20:16:11 pk Exp $ */ /* * Copyright (c) 2002 <NAME>. All rights reserved. * Copyright (c) 2001 <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * ...
/* -*- Mode: c; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 8; -*- */ /* * Copyright © 2006 Mozilla Corporation * Copyright © 2006 Red Hat, Inc. * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without * fee, provided that the...
/* gunicollate.c - Collation * * Copyright 2001,2005 Red Hat, Inc. * * The Gnome Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) an...
/*===========================================================================*/ /* Copyright (C) 2001 Authors */ /* */ /* This source file may be used and distributed without restriction provided */ ...
/** * Copyright (C) 2021 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/******************************************************************************/ /* writer-disk.c -- Default pcap disk writer * * Copyright 2012-2016 AOL Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this Software except in compliance with the Lice...
/* $OpenBSD: tty_tb.c,v 1.5 2003/08/11 09:56:49 mickey Exp $ */ /* $NetBSD: tty_tb.c,v 1.18 1996/02/04 02:17:36 christos Exp $ */ /*- * Copyright (c) 1982, 1986, 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
#ifdef HAVE_CONFIG_H # include "config.h" #endif #define QTHREAD_NO_ASSERTS 1 #include <stdlib.h> #include <stdio.h> #include <assert.h> #if (HAVE_MEMALIGN && HAVE_MALLOC_H) # include <malloc.h> /* for memalign() */ #endif #include "qthread/qthread.h" #include "qthread/cacheline.h" #include "qthrea...
/*- * Copyright (c) 1997, 1998, 2000 <NAME>. * Copyright (c) 1997, 1998, 1999 <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 ...
/* * Copyright © 2019 Red Hat, Inc. * * 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, publish...
/* lspcn.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__10 = 10; static integer c__3 = 3; static integer c__2 = 2; /* $Procedure LSPCN ( Longitude of the s...
/* * Copyright 2019-present Open Networking Foundation * Copyright (c) 2019, Infosys Ltd. * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd. * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string....
/*------------------------------------------------------------------------- * * remotetup.c * Cache TupleTableSlot tuples produced by executor into executer's per * leaf table buffer in order to send to the remote storage node. * Code in this file is derived from printtup.c, for now we only produce * ...
// SPDX-License-Identifier: ISC /* Copyright (C) 2020 MediaTek Inc. */ #include "mt7915.h" #include "eeprom.h" #include "mcu.h" /** global debugfs **/ static int mt7915_implicit_txbf_set(void *data, u64 val) { struct mt7915_dev *dev = data; if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) return -EBUSY; de...
/* GELL 15.26: include file for the module: "format" */ /* translation done: "Wed June 16 93 18:01:57 " */ /* impure LLM3 predefined */ extern Ptr GIdlink, GIllink, GIfcons, GIevalst; /* LLM3 functions */ extern Ptr GXunbind7(), GXunbind5(), GXunbind3(), GXunbind1(); extern Ptr GXp...
#include <pthread.h> #include <string.h> #include <stdio.h> #include <ctype.h> #include <fcntl.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define BUF_LEN 512 struct options { const char *opt; unsigned char val; }; static struct options kmod[] = { {.opt = "left-ctrl", .val...
#include <stdlib.h> #include <string.h> #include <assert.h> #include "rtpp_util.h" #include "rtp.h" #include "rtpp_log.h" #include "rtpp_defines.h" #include "rtpp_session.h" #define CHECK_SEQ_OVERFLOW(seq) ((seq > RTP_MAX_SEQ)?RTP_MIN_SEQ:seq) //#define NO_LOG #ifdef NO_LOG #define srtp_log(level, handle, format...
#include <stdio.h> #include <stdlib.h> #include <vic411_vicNl.h> #include <string.h> static char vcid[] = "$Id: vic411_set_output_defaults.c,v 5.2.2.3 2008/04/14 22:44:54 vicadmin Exp $"; vic411_out_data_file_struct *vic411_set_output_defaults(vic411_out_data_struct *out_data) { /*************************************...
/* $Id$ */ /* * Copyright (c) 2003-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: * 1. Redistributions of source code must retain the above copyright * notice, th...
/* ../netlib/dptrfs.f -- translated by f2c (version 20100827). 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 en...
// testcard.c #include <simple2d.h> S2D_Window *window; S2D_Image *img_bmp; S2D_Image *img_jpg; S2D_Image *img_png; S2D_Image *img_r; S2D_Image *img_g; S2D_Image *img_b; S2D_Sprite *spr; int sprite_step = 0; S2D_Text *txt_r; S2D_Text *txt_g; S2D_Text *txt_b; S2D_Text *fps; S2D_Text *fps_val; const cha...
/** *************************************************************************** * @file uart.c * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A * PARTICULA...
/*********************************************************************** * pc_patch_dght.c * * GHT compressed patch handling. Create, get and set values from the * geohashtree (ght) ordered PCPATCH structure. * * PgSQL Pointcloud is free and open source software provided * by the Government of Canada * Copyright (...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
#include <stdio.h> #include <pthread.h> #include "curses.h" #include "tetris.h" #include "client_server.h" // import client library header file /***************************************************************************/ // TETRIS MACROS (see <NAME>'s implementation at https://github.com/brenns10/tetris) // 2 colum...
/* * util.c * * Copyright: * Copyright (c) 2002, 2003, 2005 SFNT Finland Oy. * All rights reserved. * * General utility functions. * */ #include "sshincludes.h" #include "quicksecpm_internal.h" #define SSH_DEBUG_MODULE "SshPmUtil" int ssh_pm_rule_render(unsigned char *buf, int buf_size, int p...
#include "nvim/mbyte.h" #include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <stddef.h> #include "nvim/ascii.h" #include "nvim/types.h" const uint8_t utf8len_tab_zero[] = { // 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once // See: PCI/PCI-X Family of Gigabit Ethernet Controllers // Software Developer's Manual // 317453006EN.PDF // Revision 4.0 #d...
/*- * Copyright (c) 2010-2011 <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, this list ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* * sgiflag.c: * * This program displays a waving flag with an SGI logo trimmed out of * it. The flag is a single nurbs surface (bicubic, bezier). It "waves" * by making it control point oscillate on a sine wave. * * The logo is cut from the flag using a combination of piecewise-linear * and bezier...
/* cairo - a vector graphics library with display and print output * * Copyright © 2002 University of Southern California * * This library is free software; you can redistribute it and/or * modify it either under the terms of the GNU Lesser General Public * License version 2.1 as published by the Free Softw...
// ------------------------------------------------------------------ // vcf_gt.c // Copyright (C) 2019-2022 Black Paw Ventures Limited // Please see terms and conditions in the file LICENSE.txt #include "vcf_private.h" #include "seg.h" #include "context.h" #include "file.h" #include "strings.h" #include "dict_i...
// This file is part of Deark. // Copyright (C) 2016 <NAME> // See the file COPYING for terms of use. // MAKIchan graphics // Supported: Most .MAG, .MKI // Not supported: .MAX, some variant formats #include <deark-config.h> #include <deark-private.h> DE_DECLARE_MODULE(de_module_makichan); typedef struct localctx_s...
/* * cryptsetup - setup cryptographic volumes for dm-crypt * * Copyright (C) 2004 <NAME> <<EMAIL>> * Copyright (C) 2004-2007 <NAME> <<EMAIL>> * Copyright (C) 2009-2019 Red Hat, Inc. All rights reserved. * Copyright (C) 2009-2019 <NAME> * * This program is free software; you can redistribute it and/or * modify ...
#ifndef __ASSEMBLER__ #include "drv_mem.h" #endif #include "drv_base.h" #include "drv_elf.h" #include "drv_list.h" #include "mm/drv_page_pool.h" #include "mm/page_table.h" #include "drv_util.h" /* Each Eapp has their own program break */ uintptr_t prog_brk; uintptr_t pt_root; uintptr_t drv_start_va; #define __pa(x) ge...
// This file contains the implementation of the calcTxnHash command. It is // significantly more complicated than the other commands, mostly due to the // transaction parsing. // // A high-level description of calcTxnHash is as follows. The user initiates // the command on their computer by requesting the hash of a spe...
#ifdef _JOS_KERNEL_BUILD #include <jos.h> #include <collections.h> #include <extensions/slices.h> #include <extensions/pdb_index.h> #else #define _CRT_SECURE_NO_WARNINGS 1 #include <jos.h> #include "..\..\kernel\include\collections.h" #include "..\include\extensions\slices.h" #include "..\include\extensions...
/* GTK - The GIMP Toolkit * gtkfilechooserutils.c: Private utility functions useful for * implementing a GtkFileChooser interface * Copyright (C) 2003, Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publi...
/********************************************************************************************************************* * COPYRIGHT NOTICE * Copyright (c) 2017,逐飞科技 * All rights reserved. * 技术讨论QQ群:179029047 * * 以下所有内容版权均属逐飞科技所有,未经允许不得用于商业用途, * 欢迎各位使用并传播本程序,修改内容时必须保留逐飞科技的版权声明。 * * @file MK60_spi * @com...
#include "ms.h" #include "msenum.h" #include "mslimit.h" #include "msdefault.h" #include "msstruct.h" #include "msglobal.h" #include "msfunction.h" /* Copyright 1995 by <NAME> */ /* December 13, 2001 */ /* CHUNK routines */ /* gather atoms genuinely participating in reentrant face */ int gather (struct face *fac, ...
/************************************************************************************************************ * 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...
// ---------------------------------------------------------------------------------- // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // Author: Shihua (<NAME>, <EMAIL> // ---------------------------------------------...
/* * Author: <NAME> * Copyright (c) 2012 All rights reserved. */ // library includes #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <float.h> // module includes #include "LPSolver.h" // vector constructor Vector* Vector_new(unsigned int n) { // memory allocation Vec...
/* p7_FLogsum() function used in the Forward() algorithm. * * Contents: * 1. Floating point log-sum-exp-2arg: LSE2 * 2. Debugging/development tools * 3. Footnotes * 4. Benchmark driver * 5. Unit tests * 6. Test driver * 7. Example * 8. Copyright and license information * * Exegesis:...
/* Cairo - a vector graphics library with display and print output * * Copyright © 2009 <NAME> * Copyright © 2010 Intel Corporation * Copyright © 2010 Red Hat, Inc * * This library is free software; you can redistribute it and/or * modify it either under the terms of the GNU Lesser General Public * License vers...
/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
#include "test.h" #include "fifo.h" #include <assert.h> void testSkipWrite(void) { printf("Test of fifo_skip_write() and _n() started\n"); fifo_handle_t *pHandle = fifo_init_malloc(32, sizeof(uint32_t)); for (uint8_t i = 0; i < 31; i++) { if (fifo_getLevel(pHandle) != i) print_debuginfo(i); if (fifo_...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2021 Broadcom. All Rights Reserved. The term * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. */ #include "efct_driver.h" #include "efct_unsol.h" #define frame_printf(efct, hdr, fmt, ...) \ do { \ char s_id_text[16]; \ efc_node_fcid_display(n...
/******************************************************************************* * Copyright (c) 2013-2021, <NAME> <<EMAIL>> * * All rights reserved. * * * * This file is a ...
// Copyright (c) 1987 by <NAME> <<EMAIL>> // This file is free software, distributed under the BSD license. #include "atc.h" //{{{ Constants and types ---------------------------------------------- enum { MAXRULES = 6, MAXDEPTH = 15, HELPTOKEN = '?', ALPHATOKEN = 250, NUMTOKEN, BACKTOKEN }; ...
/* gpgtar.c - A simple TAR implementation mainly useful for Windows. * Copyright (C) 2010 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 Fou...
/****************************************************************************** * File Name : hfinit.c * Date First Issued : 10/15/2014 * Board : F103 * Description : Initialize highflash structs "manually" *******************************************************************************/ /*...
/************************************************************************** Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in...
#include <alloca.h> #include "kdtree.h" /* Friend of Friend: * * Connected component via edge enumeration. * * The connected components are stored as trees. * * (visit) two vertices i, j connected by an edge. * if splay(i) differ from splay(j), the components shall be * visited, call merge(i, j...
#include "nav/tui/menu.h" #include "nav/log.h" #include "nav/macros.h" #include "nav/compl.h" #include "nav/tui/ex_cmd.h" #include "nav/tui/layout.h" #include "nav/tui/window.h" #include "nav/option.h" #include "nav/event/fs.h" #include "nav/info.h" #include "nav/ascii.h" #include "nav/util.h" static int ROW_MAX; stat...
/************************************************************************** * Copyright (c) 2004, 2005, 2006, 2010, 2015 by <NAME>, /k/ Embedded * * Java Solutions and KIFFER Ltd. All rights reserved. * * * * Redistribution and...
/******************************************************************************* Copyright (c) 2016, <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: * Redistributions of source co...
/****************************************************************************** * Troll Raider * * Created by: <NAME> * ******************************************************************************/ #define VERSION "0.5.0" ...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch 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 Found- * ation, either version 3 of the...
#include <foundation.h> #include <kernel/task.h> #include <kernel/timer.h> #include <kernel/systick.h> #include <asm/pinmap.h> #define NR_PIXELS (NR_PIXELS_ROW * NR_PIXELS_COL) /* 76800 */ #define NR_PIXELS_COL 240 #define NR_PIXELS_ROW 320 #define LCD_ALINE_ADDR 0x60000000 /* index register(IR) */ #define LCD_DL...