text
stringlengths
7.55k
41.9k
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
//============================================================================= // Simulation in the binary Gaussian channel // // Copyright 2001 and onwards <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...
#define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <string.h> // ***************** // * CONSTANTS * // ***************** // Initial and minimum column array size #define MIN_COL_SIZE 4 // Initial playground changes array size #define INITIAL_CHANGES_SIZE 8 // Initial piece...
/* * Copyright (c) 2013-2018, <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 code must retain the above copyright * notice, this list of ...
/*! \file memgrind_c.c \brief Client source file for memgrind_c \author <NAME> \date 13 Feb 2021 \details memgrind unit tests A: malloc() 1 byte and immediately free it - do this 150 times B: malloc() 1 byte, store the pointer in an array - do this 150 ti...
#include "ssd1306.h" #include "driver/i2c.h" #include "sdkconfig.h" #include "stdint.h" #include "esp_log.h" #include "string.h" #define i2c_port 1 #define I2C_MASTER_TX_BUF_DISABLE 0 #define I2C_MASTER_RX_BUF_DISABLE 0 #defin...
#include "gmcc-snd.h" #include "gmcc-util.h" Agent * GmccSrcInit (int nodeId, uint16 agentId, uint32 pktDstAddr, uint16 pktDstAgentId) { Agent * a = GetAgent (nodeId, (uint32) agentId); GmccSrcInfo * gsi; if (a != NULL) return a; a = RegisterAgent (nodeId, agentId, _nodeTable[node...
/**************************************************************************** * Copyright (C) 2021 by NQMCyber Ltd * * * * This file is part of EDGESec. * * ...
#include "methods.h" /* Bu fonksiyon A matrisini b vektΓΆrΓΌnΓΌ parametre olarak alΔ±r ve hatanΔ±n normunu return eder */ double calculateErrorNorm(double a[][MAXSIZE], double x[], double b[], int m, int n) { int i,j; double multiply[MAXSIZE]; double error[MAXSIZE]; double sum = 0.0; double y[MAXSIZE][MAXSIZE]; ...
/* * * philips saa7134 registers */ /* ------------------------------------------------------------------ */ /* * PCI ID's */ #ifndef PCI_DEVICE_ID_PHILIPS_SAA7130 # define PCI_DEVICE_ID_PHILIPS_SAA7130 0x7130 #endif #ifndef PCI_DEVICE_ID_PHILIPS_SAA7133 # define PCI_DEVICE_ID_PHILIPS_SAA7133 0x7133 #endif #ifnde...
#include <string.h> #include <math.h> #include "logger.h" int main(void) { int retval = 0; GtkApplication *app; // Set the application name. strcpy(application_name, "MCC 134 Data Logger"); // Set the default filename. getcwd(csv_filename, sizeof(csv_filename)); strcat(csv_filename, "/L...
#include "ppu.h" #include <stddef.h> #include <stdint.h> #include "cpu.h" #include "main.h" /*********************PPUCTRL MACROS************************/ #define BASENAMETABLE (PPU->registers.PPUCTRL & 0x3) #define CTRLNMI (PPU->registers.PPUCTRL & (1 << 7)) #define CHRSIZE (PPU->registers.PPUCTRL & (1 <...
#include <linux/input.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "keycodes.h" #include "helpers.h" #include "shkd.h" reg_key_t reg_dict[] = { {"esc" , KEY_ESC} , {"1" , KEY_1} , {"2" , KEY_2} , ...
/* $Id$ */ /** @file * kLdr - Module interpreter testcase. */ /* * Copyright (c) 2006-2007 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, i...
/* * Copyright (c) 2011, 2014 Intel Corporation. All Rights Reserved. * Copyright (c) Imagination Technologies Limited, UK * * 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 rest...
/* * Cypress Trackpad PS/2 mouse driver * * Copyright (c) 2012 Cypress Semiconductor Corporation. * * Author: * <NAME> <<EMAIL>> * * Additional contributors include: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms of ...
/* Target-dependent code for PowerPC systems running FreeBSD. Copyright 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
/* load.c --- parsing a 'dumpfile'-formatted stream. * * ==================================================================== * 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 ...
/* File: ed25519-test.c Package: Apple CarPlay Communication Plug-in. Abstract: n/a Version: 410.8 Disclaimer: IMPORTANT: This Apple software is supplied to you, by Apple Inc. ("Apple"), in your capacity as a current, and in good standing, Licensee in the MFi Licensing Program. Use of this Apple softwa...
/* * Copyright (C) 2009 <NAME>. * Copyright 2011 <NAME> <<EMAIL>> * * 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 ...
/* * PsxVram-SDL.c * * 2013-08-31: Griever.Magicteam * */ #include <stdio.h> #include <stdlib.h> #include "SDL2/SDL.h" #include <string.h> #include <unistd.h> #define VRAM_WIDTH 1024 #define VRAM_HEIGHT 512 #define VRAM_WIDTH_24BPP ((VRAM_WIDTH*sizeof(u16))/3) #define CYAN_PIXEL 0x0000FFFF #define MAGENTA_PIXEL ...
/********************************************************************* INTERACTIVE N-D GAUSSIAN PROCESS INTERPOLATOR (MODEL EMULATOR) Copyright 2012, The University of North Carolina at Chapel Hill. DESCRIPTION: Meant to be included in the GP-Emulator program <https://github.com/jackdawjackdaw/emulator> by C.Colem...
/* * APP_REQ_REP.C * Simple Request-Reply (client-server) application to test the new HAL API * February 2021, Perspecta Labs * * 1) Compilation (with the necessary includes and libraries): * cd ~/gaps/build/src/hal/test/ * make clean; make * * 2) View APP Options: * ./app_req_rep -h * * 3) Run AP...
/* mini_httpd_filter.c - Emulate mod_auth_saml for mini_httpd * Copyright (c) 2012-2013 Synergetics SA (<EMAIL>), All Rights Reserved. * Copyright (c) 2009-2011 <NAME> (<EMAIL>), All Rights Reserved. * Copyright (c) 2008-2009 Symlabs (<EMAIL>), All Rights Reserved. * Author: <NAME> (<EMAIL>) * This is confidenti...
/* * Copyright (c) 2004, 2005, 2006 Voltaire, Inc. All rights reserved. * * 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 (GPL) Version 2, available from the file * COPYING in the main directory of this...
//2020 11-18 //compile: gcc liuy.c -lgmp -lpbc -lcrypto -o liuy // Efficient Privacy-Preserving Dual Authentication and Key Agreement Scheme fo Secure V2V Communications in an IoV Paradigm # include<pbc/pbc.h> # include<pbc/pbc_test.h> # include<openssl/sha.h> # include<openssl/aes.h> # include<string.h> # include<stdl...
#include <stdint.h> #include <stdbool.h> #include <string.h> #include <stdio.h> #include <timer.h> #include <gpio.h> #include "nrf.h" #include "ser_phy.h" #include "ser_config.h" #include "nrf_error.h" #include "nordic_common.h" #include "app_timer.h" #include "nrf51_serialization.h" #include "ble_serialization.h" #...
/* $OpenBSD: util.c,v 1.63 2016/02/10 05:49:50 guenther Exp $ */ /* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and ...
// SPDX-License-Identifier: GPL-2.0+ /* * FIPS-180-2 compliant SHA-512 and SHA-384 implementation * * SHA-512 code by Jean-Luc Cooke <<EMAIL>> * * Copyright (c) <NAME> <<EMAIL>> * Copyright (c) <NAME> <<EMAIL>> * Copyright (c) 2003 <NAME> <<EMAIL>> * Copyright (c) 2020 <NAME> <<EMAIL>> */ #ifndef USE_HOSTCC #...
/* * Copyright (c) 2014-2015, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC) * 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 r...
// Copyright 2017-2019 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 app...
/* * Copyright (c) 2003-2021 <NAME> <<EMAIL>> * All rights reserved. See MIT LICENSE for redistribution. */ #include "adifall.ext" #include "http_mgmt.h" #include "http_msg.h" #include "http_header.h" #include "http_chunk.h" #include "http_variable.h" #include "http_fcgi_srv.h" #include "http_fcgi_con.h" #include ...
/* MX 86251 driver chipset MX 0 1 # 86251 chipset MX 0 0 # 86250 - not tested. Unless I make sure I lock after every unlock, after the first run, et4000 autodetects. This slows down the bank switching and setting display start. Fixes should be made either to vga.c (to run chipset_lock when entering text mode) or to...
/* <3DmapEM.c> for EM fitting for Gaussian Mixture Model for 3D Voxel Map Data LastModified: 2015/08/03 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <math.h> #include "globalvar.h" #include "pdbstruct.h" #include "PdbIO.h" #include "Radius.h" #include "gauss.h" #in...
/* * Copyright 2019 <NAME> <<EMAIL>> * * This file is part of HackRF. * * 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. * * T...
/* dtx.c Comfort Noise Generation Copyright (C) 2015 Belledonne Communications, Grenoble, France Author : <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 Lice...
#define icon_bitmap_width 41 #define icon_bitmap_height 41 static char icon_bitmap_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, ...
/*==========================================================================*\ * * flasher.c - Standalone Adobe Flash (TM) 7 player window. * flasher (C) 2006 <NAME> * \*==========================================================================*/ #include <dlfcn.h> #include <getopt.h> #include <stdlib.h> #inclu...
/* packet-ieee80211-prism.c * Routines for Prism monitoring mode header dissection * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * Copied from README.developer * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
/* * Copyright (C) 2007, <NAME> <<EMAIL>> * * (C) Copyright 2008-2010 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * pu...
#include "fch.h" #include "cmph_structs.h" #include "fch_structs.h" #include "hash.h" #include "bitbool.h" #include "fch_buckets.h" #include <math.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> #define INDEX 0 /* alignment index within a bucket */ //#define DEBUG #include "debug.h" s...
/*---------------------------------------------------------------------------*\ FILE........: sine.c AUTHOR......: <NAME> DATE CREATED: 19/8/2010 Sinusoidal analysis and synthesis functions. \*---------------------------------------------------------------------------*/ /* Copyright (C) 1990-2010 <NAME> ...
/* * 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...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020 BAIKAL ELECTRONICS, JSC * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Baikal-T1 CCU PLL interface driver */ #define pr_fmt(fmt) "bt1-ccu-pll: " fmt #include <linux/kernel.h> #include <linux/printk.h> #include <linux/limits.h> #inclu...
#include "cache.h" #include "lockfile.h" #include "tree.h" #include "tree-walk.h" #include "cache-tree.h" #include "object-store.h" #include "replace-object.h" #ifndef DEBUG #define DEBUG 0 #endif struct cache_tree *cache_tree(void) { struct cache_tree *it = xcalloc(1, sizeof(struct cache_tree)); it->entry_count = ...
/* * 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...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2019 Linaro Ltd */ #include <dt-bindings/interconnect/qcom,qcs404.h> #include <linux/clk.h> #include <linux/device.h> #include <linux/interconnect-provider.h> #include <linux/io.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/of_d...
// Copyright (C) 2015-2020 Virgil Security, Inc. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // (1) Redistributions of source code must retain the above copyright // ...
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "bf.h" #include "../mem.h" #include "../archive.h" #include "../stage.h" #include "../random.h" #include...
/* vi: set sw=4 ts=4: */ /* * A small little ldd implementation for uClibc * * Copyright (C) 2000 by Lineo, inc and <NAME> * Copyright (C) 2000-2002 <NAME> <<EMAIL>> * * Several functions in this file (specifically, elf_find_section_type(), * elf_find_phdr_type(), and elf_find_dynamic(), were stolen from elflib....
/* * Copyright (C) 2013 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pu...
/*----------------------------------------------------------------------------*/ /* Xymon monitor library. */ /* */ /* This is a library module, part of libxymon. ...
#include <assert.h> #include <stdarg.h> #include <stdio.h> #include <strings.h> #include "vm.h" #include "compile.h" #include "Parse/debug_parse.h" #include "Objects/function.h" #include "Vendor/bdwgc/include/gc.h" static unsigned compile_node_count(Compiler *self, ASTNode* ast, unsigned *count); static unsigned comp...
/* * Author: <NAME> * Copyright (c) 2021, Private Octopus, Inc. * All rights reserved. * * 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. * * THIS SOFTWARE ...
#include <raykernel.h> #include <rmi/rmi.h> #include <threads/sleep.h> #include <kdisplay/kprintf.h> #include <memory/memory.h> #include "../fs/fs.h" #include "fat16.h" #include "fatfs.h" #include "myfs.h" #define SECTORSNEEDED(length) (((length) >> 9) + (((length) & 0x1ff) != 0)) #define MIN(a,b) ((a)<(b)?a:b) UC...
/* * Copyright (c) 2016 MediaTek Inc. * Author: <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. */ #include <linux/module.h> #include <linux/of.h> #include <...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2001 * BIOSON Research Institute, Dept. of Biophysical Chemistry * University of Groningen, The Netherlands * Copyright (c) 2012,2013, by the GROMACS development team, led by * <NAME>, <NAME>, <NAME>, and including many *...
/* * TiVo ty stream demuxer * Copyright (c) 2005 VLC authors and VideoLAN * Copyright (c) 2005 by <NAME> (<EMAIL>) - February 2005 * based on code by <NAME> for tivo-mplayer * tivo(at)wingert.org, February 2003 * Copyright (c) 2017 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can r...
/* $NetBSD: hack.objnam.c,v 1.11 2011/08/07 06:03:45 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, * Amsterdam * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/* * File: snap_stress.c * Author: <NAME> <<EMAIL>> * Description: * snap_stress.c is part of ASCYLIB * * The MIT License (MIT) * * Copyright (c) 2014 <NAME> <<EMAIL>> * Distributed Programming Lab (LPD), EPFL * * Permission is hereby granted, free of charge, to any person obtaining ...
/* D4Player * player.c */ #include "player.h" #include "../common.h" #include "../extract.h" #include "../director/movie.h" #include "../director/palette.h" #include "../director/cast.h" #include "../director/clut.h" #include "../director/packbits.h" #include "allegro.h" #include "effects.h" #include "patterns.h" #...
/* Copyright (c) 2018, The Linux 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: * * Redistributions of source code must retain the above copyright * notice, this list of condit...
/* * icdfa.c: This file is part of libicdfa. * * libicdfa 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. * * libicdfa is distr...
/* * Copyright (C) 2018 Microchip Technology Inc. All rights reserved. * <NAME> <<EMAIL>> */ #include "m2d/m2d.h" #include <assert.h> #include <drm/atmel_drm.h> #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioct...
/** @file output.h @brief Outputting data to the user @author Alexios This header file includes functions used to send output to the user, and to control how this output is sent. It largely implements high-level functions, with the really low-level ones abstracted away (they're horrible, ...
/* * GM20B L2 * * Copyright (c) 2014-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 ...
/* * Driver for the Macintosh 68K onboard MACE controller with PSC * driven DMA. The MACE driver code is derived from mace.c. The * Mac68k theory of operation is courtesy of the MacBSD wizards. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
/* Copyright (C) 2017, AdaCore */ /** @file HL_system.c * @brief System Driver Source File * @date 08-Feb-2017 * @version 04.06.01 * * This file contains: * - API Functions * . * which are relevant for the System driver. */ /* * Copyright (C) 2009-2016 Texas Instruments Incorporated - www.ti.com * ...
#include "copyright.h" /*============================================================================*/ /*! \file streaming2d_multi.c * \brief Problem generator for non-linear streaming instability in * non-stratified disks. * * PURPOSE: Problem generator for non-linear streaming instability in * non-stratifi...
/* clusterlist.c by <NAME> function: formulate the clusters and cluster functions v1: Feb 2, 2018 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <sys/stat.h> //#include <cem.h> void mat2d_prod(double*,int,int,double*,int,int,double*,int,int); void vec_subs(double*,double*,double*); doubl...
/* * * Copyright (c) 2015 <NAME> <<EMAIL>> * * 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 Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This...
/*------------------------------------------------------------------------ * Copyright 2008-2009 (c) <NAME> <<EMAIL>> * * This file is part of the ZBar Bar Code Reader. * * The ZBar Bar Code Reader is free software; you can redistribute it * and/or modify it under the terms of the GNU Lesser Public License as...
#include <stdint.h> #include <stdio.h> #include "commons.h" #include "shepherd_config.h" #include "gpio.h" #include "hw_config.h" #include "stdint_fast.h" #include "virtual_converter.h" #include "math64_safe.h" #include "calibration.h" /* --------------------------------------------------------------------- * Virtual...
/* * 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...
/* Hand coded 3d software renderer project. Graphics engine code. <NAME> <EMAIL> 2015 */ #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <limits.h> #include <float.h> #ifdef __linux__ #include <SDL2/SDL.h> #define M_PI 3.14159265358...
// gbk2uni.cpp : Transform GBK characters in .out file to unicode codes. // the initial code is from out2uni in dvipdfmx project of KTUG // authors: cxterm and <NAME> in 2003 // reach them at http://www.ctex.org // enhancer: hooklee (Shujun Li) in 2003 // reach hooklee at http://www.hooklee.com or www.chinate...
/* T-MATS -- Compressor_TMATS.c * % ************************************************************************* * % written by <NAME> based on work by <NAME> and <NAME> * % NASA Glenn Research Center, Cleveland, OH * % February 27th, 2013 * % * % This file models the Compressor Element for T-MATS simulation * % ...
/* file: hf_risc_sim.c * description: HF-RISC simulator * date: 08/2015 * author: <NAME> <<EMAIL>> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #define MEM_SIZE 0x00100000 #define SRAM_BASE 0x40000000 #define EXIT_TRAP 0xe0000000 #define IRQ_V...
/* * HAL device Open, Find and Print * March 2021, Perspecta Labs * * z) ZMQ to application * u) IPC to application (unix pipe and ZMQ process) * n) INET device (tcp or udp) * t) Bidirectional Serial Device (tty) * i) Unidirectional Serial Device (ilp) */ #include "hal.h" #include "../ap...
#pragma once /* Copyright (C) 2020 <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, publish, d...
/*************************************************************************** * PHAST: PHylogenetic Analysis with Space/Time models * Copyright (c) 2002-2005 University of California, 2006-2010 Cornell * University. All rights reserved. * * This source code is distributed under a BSD-style license. See the * fi...
/* * torture.c - torture library for testing libssh * * This file is part of the SSH Library * * Copyright (c) 2008-2009 by <NAME> <<EMAIL>> * * The SSH 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 Softw...
/* ** mouse:~ppr/src/pprd/pprd_pprdrv.c ** Copyright 1995--2010, Trinity College Computing Center. ** Written by <NAME>. ** ** This file is part of PPR. You can redistribute it and modify it under the ** terms of the revised BSD licence (without the advertising clause) as ** described in the accompanying file LICENSE....
#include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <string.h> #include <stdlib.h> #include <libgen.h> #include <sys/stat.h> #ifdef SPI #include "spilib.h" #endif #ifndef SPI #include "8bitlib.h" #endif #define MAXLINE 8 #define MAXCHAR 32 #define _DEBUG_ 0 uint16_t _FONT_DIRECTION_; uint16_t _FONT_F...
/* * Copyright 2019 <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 DISCLAIMS...
/* * This file is part of linux driver the digital TV devices equipped with B2C2 FlexcopII(b)/III * * flexcop-fe-tuner.c - methods for attaching a frontend and controlling DiSEqC. * * see flexcop.c for copyright information. */ #include "flexcop.h" #include "stv0299.h" #include "mt352.h" #include "nxt200x.h" #in...
/* 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 copies and that both that copyright notice and this permission notice appear in suppor...
/* Copyright (c) 2016-17, <NAME> <<EMAIL>> "http://haxlab.org" 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...
// Copyright (c) 2004-2005 <NAME> <<EMAIL>> // "THE BEER-WARE LICENSE" (Revision 42): // Sergey Lyubka wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can buy me a beer in return. // // <NAME> <<EMA...
/* Copyright (C) 1997-2001 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 distribut...
// Copyright 2021 <NAME> // SPDX-License-Identifier: Apache-2.0 #include <kernel.h> #include <stdio.h> #include <stdlib.h> #include <ztest.h> #include "blake2b_data.h" #include "core/models/message.h" #include "core/models/payloads/transaction.h" #include "core/utils/byte_buffer.h" #include "crypto/iota_crypto.h" //...
/* * Copyright (c) 2019, SUSE LLC * * This program is licensed under the BSD license, read LICENSE.BSD * for further information */ /* * conda.c * * evr comparison and package matching for conda */ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <unistd.h> #include <string.h> #include <sy...
/* * $Id: sendserver.c,v 1.30 2010/06/15 09:22:52 aland Exp $ * * Copyright (C) 1995,1996,1997 <NAME> * * Copyright 1992 Livingston Enterprises, Inc. * * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan * and Merit Network, Inc. All Rights Reserved * * See the file COPYRIGHT for the re...
/* Test builtins for MIPS MSA ASE instructions */ /* { dg-do compile } */ /* { dg-options "-mfp64 -mhard-float -mmsa -ffat-lto-objects" } */ /* Because this test only uses dg-error, we need to guarantee assembly generation ourselves by using -ffat-lto-objects. */ #include <msa.h> v16i8 v16i8_x; v16u8 v16u8_x; v8i1...
/* * This program tests darrays with async and non-async. * * @author <NAME> * @date 7/8/17 */ #include <config.h> #include <pio.h> #include <pio_tests.h> #include <pio_internal.h> /* The number of tasks this test should run on. */ #define TARGET_NTASKS 4 /* The minimum number of tasks this test should run on. *...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2020 <NAME> <<EMAIL>> * * 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 ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdint.h> #include <inttypes.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <time.h> #include <limits.h> #include <x86intrin.h> #include "libzdb.h" #include "libzdb_private.h" // NOTE: there is no more...
/* * This file is part of the * β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— * β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• * β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— * β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β• β–ˆ...
/* * * Atmel DataFlash probing * * Copyright (C) 2004-2009, 2015 Freescale Semiconductor, Inc. * <NAME> (<EMAIL>) * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> #include <spi.h> #include <spi_flash.h> #include <div64.h> #include <linux/err.h> #...