text
stringlengths
5.8k
28.2k
/* ==================================================================== * * * BSD LICENSE * * Copyright(c) 2016-2019 Intel Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *...
/* pico2wave.c * Copyright (C) 2009 <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 * * Unless required by applic...
/* MIT Copyright Notice Copyright 2003 M.I.T. Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following three paragraphs appear in all copies of this ...
/* human.c -- print human readable file size Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, 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 Foun...
// Copyright 2020 Espressif Systems (Shanghai) PTE 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 applic...
// Copyright 2017 Espressif Systems (Shanghai) PTE 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 applic...
/* Copyright (C) 1996-1997 Id Software, 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; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
/* * Based on acpi.c from coreboot * * Copyright (C) 2015, <NAME> <<EMAIL>> * Copyright (C) 2016, <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <cpu.h> #include <dm.h> #include <dm/uclass-internal.h> #include <asm/acpi_table.h> #include <asm/io.h> #include <asm/lapic.h> ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* This file includes: X2DCorr7 CheckBoundary PixelPhys ApplyLT EvalTrace FreeInang */ # include <math.h> # include <stdio.h> # include <string.h> # include <c_iraf.h> # include <hstio.h> # include "stis.h" # include "calstis7.h" # include "hstcalerr.h" # include "stisdq.h" # include "stisdef.h" /* Don't inte...
/*--------------------------------------------------------------------------------- Tetris by <NAME> Feb 2018 for NGC DevKitPro. https://www.cedar.net.au Initial gc code adopted from: nehe lesson 2 port to GX by WinterMute And tetris logic adopted from c++ consolegameengine example by Javidx9 Docs & api: htt...
/* * (C) 2005-2020 MediaTek Inc. All rights reserved. * * Copyright Statement: * * This MT3620 driver software/firmware and related documentation * ("MediaTek Software") are protected under relevant copyright laws. * The information contained herein is confidential and proprietary to * MediaTek Inc. ("MediaTek"...
#include "util.h" #include "mser.h" #include "unionfind.h" #include "geometry.h" Ellipse FilterEllipse( Ellipse e ); void DrawRegion( Region key, float scale ); void ResetMSERArray( MSERArray pa ); MSERArray FreeMSERArray( MSERArray pa ); MSERArray ImageToMSERArray( Image image ); char MSERArrayIsGood( MSERArray array...
/* File: prog3.9b_mpi_redist.c * * Purpose: Convert data that has a block distribution to data that has * a cyclic distribution and vice versa * * Compile: mpicc -g -Wall -o prog3.9b_mpi_redist prog3.9b_mpi_redist.c * Run: mpiexec -n <comm_sz> ./prog3.9b_mpi_redist <vector order> * * Input:...
/* Copyright (C) 2011, 2012, 2013 The uOFW team See the file COPYING for copying permission. */ /* * uOFW/trunk/src/clockgen/clockgen.c * * sceClockgen_Driver - a driver for the PSP's CY27040 clock generator. * * The clockgen driver main function is to supply users with a simple way * to enable/disable audio ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "../inc/utils.h" #include "../inc/types.h" #include "../inc/chars.h" #include "../inc/xor.h" #include "../inc/c2.h" #include "../inc/c3.h" /** * Fonction : load_dict * --------------------- * Charge le fichier dictionnaire da...
#include "rl.h" void take_and_process_screenshot(raster_t *r, mipmap_t *mm) { free_raster(r); free_mipmap(mm); *r = take_desktop_screenshot(); convert_image_srgb8_fullarg(r, (uint8_t *) r->srgb, IMAGE_USE_SQRGB, 0); *mm = raster_to_tiled_mipmaps_fast_defaults(*r, IMAGE_USE_SQRGB); free_null(&r->sq); } xy_t sel...
/* ****************************************** Find deltaN and count numbers to be tested for a 2^k sieve that is to me used to find maximum number of steps to 1. For n = A 2^k + B, A>0 must be true when using this sieve. Compile and run via something like... clang -O3 collatzSieve2toK_FindPatterns_GPU_reduceTo1.c...
/*- * Copyright 2003-2005 <NAME> * Copyright 2012 <NAME> * Copyright (c) 2018-2019 ARM Limited * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source code must r...
/* * Copyright (C) 2015 Advanced Driver Information Technology Joint Venture GmbH * * 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 copies and that both that * copy...
/* * The MIT License * * Wavefront Alignments Algorithms * Copyright (c) 2017 by <NAME> <<EMAIL>> * * This file is part of Wavefront Alignments Algorithms. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentati...
/****************************************************************************** * @file HIDTransfer_Main.c * @brief Nano1xx Touch Key configuration sample code (UART interface) * @version 1.0.1 * @date 04, December, 2012 * * @note * Copyright (C) 2012-2014 Nuvoton Technology Corp. All rights r...
/* spksub.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__2 = 2; static integer c__6 = 6; /* $Procedure SPKSUB ( S/P Kernel, subset ) */ /* Subroutine */ int sp...
#include "param.h" #include "types.h" #include "defs.h" #include "x86.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "elf.h" #include "spinlock.h" #include "sleeplock.h" #include "file.h" extern char data[]; // defined by kernel.ld pde_t *kpgdir; // for use in scheduler() __thread struct cpu ...
/* bam_import -- Import of FASTQ files. * * samtools import -1 a_1.fq -2 a_2.fq --i1 a_i1.fq --i2 a_i2.fq * samtools import a_1.fq a_2.fq * samtools import a_interleaved.fq * * Copyright (C) 2020 Genome Research Ltd. * * Author: <NAME> <<EMAIL>> */ /* Permission is hereby granted, free of charge, to any...
/* eggtrayicon.c serial-0085-0 *************************************** * Copyright (C) 2002 <NAME> <<EMAIL>> * * Modified by <NAME>, Jr <<EMAIL>> * - To enhance events and size management 4/2006 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
/* hgdpClick -- handlers for Human Genome Variation Project tracks */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hgc.h" #include "hgdpGeo.h" #include "hgConfig.h" #include "trashD...
/* * Application for the bubble game * */ #include <stdio.h> // Used for printf() #include "xparameters.h" // Contains hardware addresses and bit masks #include "xil_cache.h" // Cache Drivers #include "xintc.h" // Interrupt Drivers #include "xtmrctr.h" // Timer Drivers #include "xtmrctr_l.h" // Low-level ti...
/** LICENCE The MIT License (MIT) Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use...
/* Copyright (C) 2018 <NAME> * Copyright (C) 2015 <NAME>. * * MLton is released under a HPND-style license. * See the file MLton-LICENSE for details. */ #include "chunk.h" /******************************/ /* Static Function Prototypes */ /******************************/ /** * A function to pass to ChunkPool_it...
/*************************************************** * file: userconfig/uc_scsi.c * * Copyright (c) 1996 <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. Redistribu...
/** ****************************************************************************** * @file spwf04_serial_to_spi.c * @author Central LAB * @version V2.1.0 * @date 17-May-2016 * @brief Converts AT Cmd Strings to SPI Cmd structure ****************************************************************************...
/* * Copyright (C) 2011 Freescale Semiconductor, Inc. * * Copyright (c) 2011, Chips & Media. All rights reserved. */ /* * The code contained herein is licensed under the GNU Lesser General * Public License. You may obtain a copy of the GNU Lesser General * Public License Version 2.1 or later at the following ...
/* * Copyright (c) 1980, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above...
/* * Copyright (c) 2007-2008 Intel 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 the rights to ...
#include "ruby.h" #include "shared.h" VALUE GQLParser = Qnil; VALUE QLGParserToken = Qnil; VALUE gql_eParserError = Qnil; const char *GQL_VALUE_KEYWORDS[] = { "true", "false", "null" }; const char *GQL_EXECUTION_KEYWORDS[] = { "query", "mutation", "subscription", "fragment", "on" }; const char *GQL...
/* * (C) Copyright 2005- 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...
#include <stdio.h> #include <sys/wait.h> #include <getopt.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> #include <string.h> #include <locale.h> #include <sys/time.h> #include <time.h> #include <sys/queue.h> #include <math.h> #include <errno.h> #include "glo...
/* Copyright (C) 2006, 2008, 2010-2011, 2014, 2017 <NAME> <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version....
/* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <sys/stat.h> #include <sys/socket.h> #include <sys/signal.h> #include <sys/resource.h> #include <fcntl.h> #include <netinet/in.h> #include <errno.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <pthread.h>...
/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy o...
#include <citer_base.h> #include <citer_base.local.h> #include <cntr_base.h> #include <cntr_base.local.h> #include <cntr_tree.h> #include <cntr_algorithm.h> #include <cntr_factory.h> #include <memheap/heap_global.h> typedef struct __cntr_rbt_vtable { /* from cntr_linear_vtable */ pf_cntr_attribute __attri...
/* * ***** 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 is ...
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/******************************************************************************* * Magneto-FFT-Demo.c * * (c)2015 LimiFrog / CYMEYA * This program is licensed under the terms of the MIT License. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. * Please refer to the License File LICENSE.txt...
/* primesieve (BIT_ARRAY, N) -- Fills the BIT_ARRAY with a mask for primes up to N. Contributed to the GNU project by <NAME>. THE FUNCTION IN THIS FILE IS INTERNAL WITH A MUTABLE INTERFACE. IT IS ONLY SAFE TO REACH IT THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST GUARANTEED THAT IT WILL CHANGE OR DISAPPEAR IN ...
/* ======================================================================== D O O M R e t r o The classic, refined DOOM source port. For Windows PC. ======================================================================== Copyright © 1993-2012 id Software LLC, a ZeniMax Media c...
/* * COPYRIGHT AND LICENSE * * Copyright (c) 2004-2005, Juniper Networks, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * 1. Redistributions of source code must retain...
#include "__ic__helper__.h" int qq4_code4_table[16] = { 0, -20456, -12896, -8968, -6288, -4240, -2584, -1200, 20456, 12896, 8968, 6288, 4240, 2584, 1200, 0 }; int qq5_code5_table[32] = { -280, -280, -23352, -17560, -14120, -11664, -9752, -8184, -6864, -5712, -4696...
/* * License for the BOLOS OTP 2FA Application project, originally found here: * https://github.com/parkerhoyes/bolos-app-otp2fa * * Copyright (C) 2017 <NAME> <<EMAIL>> * * This software is provided "as-is", without any express or implied warranty. * In no event will the authors be held liable for any damages ar...
/* * Copyright (C) 2016 Amarula Solutions B.V. * Copyright (C) 2016 Engicam S.r.l. * Author: <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <asm/io.h> #include <asm/gpio.h> #include <linux/sizes.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/...
#include <pebble.h> #define COLORS PBL_IF_COLOR_ELSE(true, false) #define ANTIALIASING true #define RADIUS_MARGIN PBL_IF_ROUND_ELSE(40, 20) #define DIAL_DOTS_MARGIN PBL_IF_ROUND_ELSE(20, 17) #define INNER_DIAL_MARGIN PBL_IF_ROUND_ELSE(40, 35) #define BATT_DOTS_MARGIN PBL_IF_ROUND_ELSE(50, 45) #define HAND_RADIUS PBL_I...
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <assert.h> #include <ctype.h> #include "../util/where.h" #include "../util/util.h" #include "../util/dynarray.h" #include "../util/platform.h" #include "expr.h" #include "decl.h" #include "const.h" #include "funcargs.h" #include "...
#include <amlib.h> #include <agdraw.h> #include <vdpreg.h> #include <aggl.h> #include <ag3d.h> #include <ag3danime.h> #include <agGamePad.h> #include "export.h" #include "pad.h" #include "extern.h" #define READY_COUNT 90 #define TRANSITION_COUNT 10 #define SCORE_TRANSITION_COUNT 30 extern void DrawPlane(); extern...
/* dust_getval_sub.c modification of dust_getval_serv.c for subroutine. */ /* 10dec1999 to make dust_getval_fini more technically correct. */ /* --definitely will not hurt anything, may help multiple fini call prob.*/ /* 07,09June199 comments updated. */ /* ...
/* ======================================================================== * * Module ............. libbtsystem * File ............... btseg.c * Creation Date ...... 20 Oct 2005 * Author ............. <NAME> * Addtl Authors ...... <NAME> * ...
/** * Auxiliary caching HTTPD for ODROID GO sketch PIMwatch * Compile it with: [diet] gcc -O2 -Wall ... ; sstrip ... * License is BSD 2-Clause. */ #include <errno.h> #include <stdlib.h> #include <string.h> #include <unistd.h> //#include <sys/syscall.h> #include <arpa/inet.h> #include <sys/socket.h> #include <sys/w...
/*------------------------------------------------------------ * JumboMem memory server: Common header file * * By <NAME> <<EMAIL>> *------------------------------------------------------------*/ /* * Copyright (C) 2010 Los Alamos National Security, LLC * * This material was produced under U.S. Government contr...
#include "FFT_Header.h" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////...
#include "parser.h" int isLegalPortNameChar (const char portname_char) { // Port names can only contain: // a-z, A-Z, 0-9 and '_' return isalnum(portname_char) || portname_char == '_'; } int containsAlpha (const char * str) { size_t i = 0; for (i = 0; i < strlen(str); i++) if (isalpha(s...
#include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> #include "sig.h" #include "strerr.h" #include "error.h" #include "fifo.h" #include "fmt.h" #include "open.h" #include "lock.h" #include "seek.h" #include "wait.h" #include "closeonexec.h" #include "ndelay.h" #include "env.h" #include "...
#include "common.h" #include "opts.h" #include <getopt.h> #include <string.h> #include <pwd.h> #include <errno.h> #include <unistd.h> #include <limits.h> #define NUM_ENTRIES 10 static void version() { printf("appjail " APPJAIL_VERSION " by <NAME> <<EMAIL>>\n" "\n" "Available at https://github.com/...
/* Modified from Copyright 2017 <NAME> <<EMAIL>> @drashna 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 dis...
#include "md_xtc.h" #include <core/md_common.h> #include <core/md_array.inl> #include <core/md_file.h> #include <core/md_allocator.h> #include <core/md_log.h> #include <core/md_sync.h> #include <md_trajectory.h> #include <ext/xtc/xdrfile.h> #include <string.h> #include <stdio.h> #define MD_XTC_TRAJ_MAGIC 0x162365da...
#include <ruby.h> #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <stdio.h> #include <libavutil/opt.h> #include <libavutil/dict.h> #include <libavutil/pixdesc.h> void my_dump_metadata(void *ctx, AVDictionary *m, const char *indent, VALUE res) { if(m && !(av_dict_count(m) == 1 && av_dict...
#include <stdlib.h> #include <stdio.h> #include <string.h> #define copyState(s, s2) memcpy(s2, s, sizeof(State)) #define MAX_Node 100000000 #define ID_HASH 100000000 #define MAX_PATH_SIZE 3000 //Para trocar o nível a ser resolvido, mude o valor presente na linha 279 para level__, onde __ representa o nível que quer e...
#include <ctype.h> #include <stdbool.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "list.h" #include "stack.h" #include "expression.h" #include "log.h" #include "readline.h" #include "stringop.h" #include "operators.h" #include "objects.h" static operator_t operators[] = {...
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1998 <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 ...
/* * LEW-19710-1, CCSDS SOIS Electronic Data Sheet Implementation * * Copyright (c) 2020 United States Government as represented by * the Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not...
// Copyright 2021 Espressif Systems (Shanghai) PTE 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 applicab...
/* src/interfaces/ecpg/preproc/ecpg.c */ /* Main for ecpg, the PostgreSQL embedded SQL precompiler. */ /* Copyright (c) 1996-2018, PostgreSQL Global Development Group */ #include "postgres_fe.h" #include <unistd.h> #include "getopt_long.h" #include "extern.h" int ret_value = 0; bool autocommit = false, auto...
#ifndef lint static const char RCSid[] = "$Id: rhcopy.c,v 3.27 2011/05/20 02:06:39 greg Exp $"; #endif /* * Copy data into a holodeck file */ #include "platform.h" #include "rterror.h" #include "holo.h" #include "view.h" #ifndef BKBSIZE #define BKBSIZE 256 /* beam clump size (kilobytes) */ #endif int checkdepth ...
/**************************************************************************** * arch/arm/src/lpc17xx/lpc17_lowputc.c * * Copyright (C) 2010-2013 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
/* * Copyright (C) 2005 <NAME>, <NAME> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, ...
/* ../netlib/v3.9.0/chegv_2stage.f -- translated by f2c (version 20160102). 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 ord...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * This notice applies to any and all portions of this file * that are not betwee...
#include <device/dma.h> #include <plibc/stdio.h> #include <kernel/rpi-interrupts.h> #include <mem/kernel_alloc.h> #include <kernel/systimer.h> extern int dma_src_page_1; extern int dma_dest_page_1; extern int dma_dest_page_2; extern int dma_cb_page; #define CB_ALIGN 32 #define CB_ALIGN_MASK (CB_ALIGN - 1) #define PER...
#include <mgos.h> /*#ifdef MGOS_HAVE_MJS #include <mjs.h> #endif*/ #include "mgos_ds3231.h" #include "mgos_i2c.h" struct mgos_ds3231_date_time *mgos_ds3231_date_time_create() { struct mgos_ds3231_date_time *dt = (struct mgos_ds3231_date_time *) calloc( 1, sizeof(struct mgos_ds3231_date_time)); if (NULL == d...
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atidga.c,v 1.18 2008/01/01 00:39:59 tsi Exp $ */ /* * Copyright 2000 through 2008 by <NAME> (TSI @ UQV), <EMAIL> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, prov...
/************************************************************************************************** Phyplus Microelectronics Limited confidential and proprietary. All rights reserved. IMPORTANT: All rights of this software belong to Phyplus Microelectronics Limited ("Phyplus"). Your use of this Software is...
/* * Copyright (c) 2011 The Chromium OS Authors. * * SPDX-License-Identifier: GPL-2.0+ */ /* * The code in this file is based on the article "Writing a TPM Device Driver" * published on http://ptgmedia.pearsoncmg.com. * * One principal difference is that in the simplest config the other than 0 * TPM localitie...
/* tokenizer.c * * <NAME> * May 2021 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "value.h" #include "talloc.h" #include "linkedlist.h" #define BUFSIZE 512 /* Calls fgetc on stdin and returns the resulting char. */ char get() { return (char)fgetc(stdin); } /* Calls ungetc on stdin ...
/* information about connections between hosts and clients * 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 ...
/** @license 2019 <NAME>, distributed under the terms of the [MIT License](https://opensource.org/licenses/MIT). Outputs between tokens based on a hierarchical lazy state; one should call this before every token group thing. It also encodes things. Is is really strict. */ #include "cdoc.h" #include "buffer.h" #i...
/* Tcl in ~ 500 lines of code. * * Copyright (c) 2007-2016, <NAME> <<EMAIL> at <EMAIL> dot <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 code m...
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b...
/* quotearg.c - quote arguments for output Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, 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; either version 2, or (at you...
/* * Copyright (c) 2006-2013 <NAME>. * All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the BSD_LICENSE file. */ #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #define __STDC_FORMAT_MACRO...
/* $NetBSD: dr_1.c,v 1.27 2009/03/14 22:52:52 dholland Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
#include <stdint.h> typedef float float_t; typedef union { float f; struct { uint64_t m : 23; uint64_t e : 8; uint64_t s : 1; }; } float_s_t; typedef union { double d; struct { uint64_t m : 52; uint64_t e : 11; uint64_t s : 1; }; } double_s_t; do...
// Header Prototypes int * get_column_frequency(char *, int, int); int get_first_col(char *, int, int *, int, int); int * get_key2_putative(char *, int, char *, int, int, int *, int, int); int * rearrange_key_putative(int *, int); int * key2_find_permutations(char *, int, char *, int, int *, int, int, int *, int); char...
/////////////////////////////////////////////////////////////////////////////// // // IMPORTANT NOTICE // // The following open source license statement does not apply to any // entity in the Exception List published by FMSoft. // // For more information, please visit: // // https://www.fmsoft....
/* *********************************** program slice program to slice and/or project 4kx4k matrices author: <NAME> first written: Oct 1986 latest revision: May 2000 description: Prompt for the filename of a 4k x 4k matrix. Ask if matrix is to be sliced or not...
#include "mantle_internal.h" #include "amdilc.h" typedef struct _Stage { const GR_PIPELINE_SHADER* shader; const char* entryPoint; const VkShaderStageFlagBits flags; } Stage; static VkDescriptorSetLayout getVkDescriptorSetLayout( const VkDevice vkDevice, const Stage* stage) { VkDescriptorSetLa...
/* Copyright 2015 <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 to in writing...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2008 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; This program is free software; you can redistribute it and/or */ /*; modify it un...
/** Includes. */ #include "string.h" #include "stdio.h" #include "stdlib.h" #include "math.h" #include "lexer.h" /** Number of tokens to allocate at a time. */ #define MP_TOKEN_CHUNK_SIZE 8 // Variable data type typedef struct { /** String containing variable name. */ char* str; /** Variable value. */ double va...
/*- * Copyright (c) 1993, 1994 * The Regents of the University of California. All rights reserved. * Copyright (c) 1992, 1993, 1994, 1995, 1996 * <NAME>. All rights reserved. * * See the LICENSE file for redistribution information. */ #include "config.h" #ifndef lint static const char sccsid[] = "@(#)vs_line...
#include "shs.h" static uint32_t endian = 0xaabcdeff; // constants static unsigned long long K[80] = { 0x428a2f98d728ae22, 0x7137449123ef65cd, 0xb5c0fbcfec4d3b2f, 0xe9b5dba58189dbbc, 0x3956c25bf348b538, 0x59f111f1b605d019, 0x923f82a4af194f9b, 0xab1c5ed5da6d8118, 0xd807aa98a3030242, 0x12835b0145706fbe,...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* gxyzcalib.c GAM 27 v 03 */ /* input left and right profile edge frequ...