text
stringlengths
3.12k
18.7k
/*Interpolate etopo bathymetry to a coarser grid. */ /*Uses the same mehod as gridgen matlab coade*/ #include <glib.h> #include <netcdf.h> #include <stdio.h> #include <stdlib.h> #define max(a, b) (((a) > (b)) ? (a) : (b)) #define min(a, b) (((a) < (b)) ? (a) : (b)) int main() { int i, j; int ncid; int stat...
/*===-- gupcr_shutdown.c - UPC Runtime Support Library -------------------=== |* |* The LLVM Compiler Infrastructure |* |* Copyright 2012-2014, Intel Corporation. All rights reserved. |* This file is distributed under a BSD-style Open Source License. |* See LICENSE-INTEL.TXT for details. |* |*===--...
/** * Copyright © 2009 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, pu...
/* * Copyright (C) 2018-2020, Advanced Micro Devices. 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...
#include <string.h> #include <stdio.h> #include "ke_mem.h" #include "ke_msg.h" #include "ble_proc.h" #include "protocol.h" #include "local_event.h" #include "ble_scan_proc.h" #include "user_sps_device.h" #include "sharebike.h" #include "app_easy_timer.h" #include "user_timer.h" #include "uart1.h" #include "rf_585.h" #i...
/* * Support for Extended Window Manager Hints * http://standards.freedesktop.org/wm-spec/wm-spec-latest.html */ /* * Copyright 2006-2007 <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...
#include "list.h" #include "node.h" //Function to create a 3 node list with position 1 being the first position 2 the second //Pre:Pointer of type nodeEl, pointer to inv to store number of nodes //Post:Returns pointer to first node of created list, number of nodes stored in memory piontet to by size struct nodeEl *...
/********************************************************************** Log_DeriF.c: Log_DeriF.c is a subroutine to calculate the logarithmic derivatives of radial wave functions which are calculated under the all electron unscreened potential, semi-local pseudo potentials, and separable (KB and...
/* * Copyright (c) 2021 Espressif Systems (Shanghai) CO LTD * 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, ...
/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #include <stdint.h> #include...
/* zgv 5.3 - GIF, JPEG and PBM/PGM/PPM viewer, for VGA PCs running Linux. * Copyright (C) 1993-2001 <NAME>. See README for license details. * * readprf.c - read PRF files, heavily based on <NAME>'s `prftopnm'. */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "zgv.h" #include "rcfile.h" #inclu...
/*---------------------------------------------------------------------------- | File: | clock.c | | Description: | High resolution clock and time functions for Linux and Window | Support relative and absolute (UTC like) time stamps | Compile with: -lrt | | Code released into public domain, no attribution req...
/* Mulator - An extensible {e,si}mulator * Copyright 2011-2020 <NAME> <<EMAIL>> * * Licensed under either of the Apache License, Version 2.0 * or the MIT license, at your option. */ #include "decode_helpers.h" #include "cpu/registers.h" void DecodeImmShift(uint8_t type, uint8_t imm5, enum SRType *shift_t, uint8...
/* ***************************************************************************** * Copyright (C) 2016 Maxim Integrated Products, 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 d...
/* Test set consisting of words */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include <stdbool.h> #include <unistd.h> #include "dtype.h" #include "report.h" #include "table.h" /* set being tested */ static set_ptr st_table; /* Array of nonzero-valued words. These get set to 0...
#include "mupdf/fitz.h" #define DPI 72.0f typedef struct img_document_s img_document; typedef struct img_page_s img_page; struct img_page_s { fz_page super; fz_image *image; }; struct img_document_s { fz_document super; fz_image *image; }; static void img_drop_document(fz_context *ctx, img_document *doc) { fz...
/* $OpenBSD: arcbios.c,v 1.6 2004/09/09 22:11:38 pefo Exp $ */ /*- * Copyright (c) 1996 <NAME>. All rights reserved. * Copyright (c) 1996-2004 Opsycon AB. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
/* * (C) Copyright 2006 * <NAME>, DENX Software Engineering, <EMAIL> * * (C) Copyright -2003 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2001 * <NAME> <<EMAIL>>, Mission Critical Linux, Inc. * * See file CREDITS for list of people who contributed to this * project. * * This program is f...
/* $Id: update.c 231 2011-06-27 13:46:19Z marc.noirot $ FLV Metadata updater Copyright (C) 2007-2012 <NAME> <<EMAIL> AT <EMAIL>> This file is part of FLVMeta. FLVMeta is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
/* * vim:ts=4:sw=4:expandtab * * © 2010 <NAME> * * See LICENSE for licensing information * */ #include <X11/Xlib.h> #include <cairo.h> #include <cairo/cairo-xcb.h> #include <ev.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <xcb/xcb.h> #include "blu...
/* * Copyright (C) 2008 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...
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* GELL 15.26: include file for the module: "virbit" */ /* translation done: "Tue Aug 24 93 10:48:50 " */ /* impure LLM3 predefined */ extern Ptr GIdlink, GIllink, GIfcons, GIevalst; /* LLM3 functions */ extern Ptr GXunbind7(), GXunbind5(), GXunbind3(), GXunbind1(); extern Ptr GXp...
/** ****************************************************************************** * File Name : TIM.c * Description : This file provides code for the configuration * of the TIM instances. ****************************************************************************** ...
/////////////////////////////////////////////////////////////////////////////// // IronBridge RNG Provider Service // Copyright 2020 Cambridge Quantum Computing Ltd. All Rights Reserved. // Original: JGilmore (2020/06/23 15:26:31) // // Licensed under the Apache License 2.0 (the "License"). You may not use // this fil...
/***************************************************************************** * * * PLAST : Parallel Local Alignment Search Tool * * Version 2.3, released November 2015 * * ...
/** * uart.c * UART routines for polled serial I/O * * ARM-based K70F120M microcontroller board * for educational purposes only * CSCI E-92 Spring 2021, Professor <NAME>, Harvard Extension School * * Written by <NAME> (<EMAIL>) * * Copyright (c) 2021, 2017, 2015, 2014, 2012 <NAME>. All rights reserved. */...
void f_001(void) { } void f_002(void) { } void f_003(void) { } void f_004(void) { } void f_005(void) { } void f_006(void) { } void f_007(void) { } void f_008(void) { } void f_009(void) { } void f_010(void) { } void f_011(void) { } void f_012(void) { } void f_013(void) { } void f_014(void) { } void f_015(void) { } void ...
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 #include<stdlib.h> #include<fcntl.h> #include<unistd.h> #include<errno.h> #include<string.h> #include"log.h" #include"proxy_instance.h" #include"ssh_tunnel.h" #include"unit_test.h" #include"config_file.h" void...
// ljspawn -- spawn a process in a lightweight jail environment #include <sys/param.h> #include <sys/jail.h> #include <sys/wait.h> #include <sys/socket.h> #include <sys/mman.h> #include <sys/file.h> #include <sys/stat.h> #include <sys/resource.h> #include <arpa/inet.h> #include <pwd.h> #include <signal.h> #include <st...
/*********************************************************************** * Microsoft (R) Debugging Information Dumper * * Copyright (c) Microsoft Corporation. All rights reserved. * * File Comments: * * ***********************************************************************/ /* The first typedef index after the p...
/** * @brief Filters the input signal with the given FIR filter coefficients * * This file is part of the bladeRF project * * Copyright (C) 2016 Nuand LLC * * 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...
/* * This file is part of TISEAN * * Copyright (c) 1998-2007 <NAME>, <NAME>, <NAME> * * TISEAN 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...
#include "command.h" #include "parser.h" void initialize_command(Command_t *command, int line_len) { command->output_files_app = malloc(sizeof(char *) * 1); command->output_files = malloc(sizeof(char *) * 1); command->input_file = NULL; command->itsbg = 0; command->has_redirect = 0; command->ha...
/***************************************************************************** * @file xmodem-main.c * @brief ******************************************************************************* Copyright 2020 GL-iNet. https://www.gl-inet.com/ Licensed under the Apache License, Version 2.0 (the "License"); y...
#include "ijg.h" METHODDEF(void) init_source (j_decompress_ptr cinfo) { //my_src_ptr src = (my_src_ptr) cinfo->src; // src->start_of_buf = TRUE; } METHODDEF(void) init_destination (j_compress_ptr cinfo) { my_dest_ptr dest = (my_dest_ptr) cinfo->dest; /* Allocate the output buffer --- it will be released...
/* * Copyright (C) 2016-2017 <NAME> <<EMAIL>> * * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, includ...
/* * YUV4MPEG muxer * Copyright (c) 2001, 2002, 2003 <NAME> * * This file is part of Libav. * * Libav 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...
/*$Id: xmotd.c,v 1.20 2003/02/14 00:37:38 elf Exp $*/ /* * Copyright 1994-97, 2003 <NAME> <<EMAIL>> * * Permission to use, copy, hack, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and * tha...
/** * \file tester.c * * \brief Tester application * * Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. ...
/* * cifra - embedded cryptography library * Written in 2014 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide. This software is distributed without any * warranty. * * You ...
/* * (c)2012 <NAME> All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions and the fol...
/* MIT License 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, distri...
// Copyright 2019 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 ...
#include <stdio.h> #include "balvm.h" #include "balvm-instructions.h" unsigned char *program; extern unsigned char* threads[MAX_THREADS]; extern unsigned char states[MAX_STATES]; extern unsigned char joins[MAX_JOINS]; extern unsigned char signals[MAX_SIGNALS]; extern int stack[MAX_STACK]; extern int registers[MAX_REGI...
/* * 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...
#define _XOPEN_SOURCE 700 #include <stdlib.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <stdbool.h> #include <string.h> #include <malloc.h> #include <locale.h> #include <curses.h> #include "string-array.h" #include "util.h" static void endwin_void(void) { endwin(); } static const char *fi...
#include "auth_enc.h" #include <stdlib.h> #include <string.h> //@ #include "quantifiers.gh" #define SERVER_PORT 121212 void sender(char *key, char *msg, unsigned int msg_len) /*@ requires [_]public_invar(auth_enc_pub) &*& principal(?sender, _) &*& [?f1]cryptogram(key, KEY_SIZE, ?key_ccs, ?...
#include <stdlib.h> #include <stdio.h> #include <math.h> typedef struct vector_t { float x; float y; float z; } vector_t; typedef struct vector_container_t { vector_t* vector_array; size_t num_elements; } vector_container_t; vector_t create_vector(float x, float y, float z) { vector_t v; v.x = x; v.y = y; v...
#include <erl_nif.h> #include <GeoIP.h> #include <GeoIPCity.h> #include <iconv.h> #include <ctype.h> #define IS_KNOWN(str) (((str) != NULL) && (strcmp((str), "--") != 0) && \ (strcmp((str), "N/A") != 0) && \ (strcmp((str), "(null)") != 0) && \ (strcmp((str), "null") != 0) && \ (strcmp((str), "Unkno...
/* * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * 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 ...
/* * Copyright (c) 2017 <NAME> <<EMAIL>>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_internal.h> #include <constr_SEQUENCE.h> #include <OPEN_TYPE.h> /* * Return a standardized complex structure. */ #undef RETURN #define RETURN(_code) ...
#pragma once // Note, even if you remove a value from this list, you must NEVER remove it from m_Achievements // or the Enum to string assignments will not line up, and you will be handing out wrong achievements! enum EAchievements { BETA_ACHIEVEMENT_1_0 = 0, FIRST_MINER_KILL_1_1 = 1, FIRST_CON_KILL_1_2 = 2, FIRST...
#include <getopt.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <openssl/bio.h> #include <openssl/err.h> #include <openssl/ssl.h> #include <openssl/x509.h> #includ...
/* * Copyright (c) 2014 DeNA Co., Ltd. * * 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, publ...
/* * Copyright (C) 2013 Glyptodon LLC * * 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, publi...
// engler, cs49n: simplistic mpu6500 driver code. // // everything is put in here so it's easy to find. when it works, // seperate it out. // // KEY: document why you are doing what you are doing. // **** put page numbers for any device-specific things you do *** // **** put page numbers for any device-specific thin...
/*++ /* NAME /* dotforward 3 /* SUMMARY /* $HOME/.forward file expansion /* SYNOPSIS /* #include "local.h" /* /* int deliver_dotforward(state, usr_attr, statusp) /* LOCAL_STATE state; /* USER_ATTR usr_attr; /* int *statusp; /* DESCRIPTION /* deliver_dotforward() delivers a message to the destinations /* listed in a rec...
int pug_base_x= 60; int pug_base_y= 10; int sun_xx = 118; int sun_yy = 10; void sun_radius_1() { display.drawLine((sun_xx - 10), (sun_yy - 4), (sun_xx - 12), (sun_yy - 4)); display.drawLine((sun_xx - 10), (sun_yy + 1), (sun_xx - 14), (sun_yy + 2)); display.drawLine((sun_xx - 8), (sun_yy + 6), (sun_xx - 10), (sun...
/* * Copyright (C) 2018 Intel Corporation * * SPDX-License-Identifier: MIT */ #include "mkl.h" #include "stdio.h" #include "stdlib.h" #include "time.h" #define SAMPLE_SIZE 100000 #define INNER_REPS 512 #define OUTER_REPS 6 /* mkl_random.uniform(-1,1) */ extern void sample_uniform(VSLStreamStatePtr stream, MKL_IN...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
/* NASA/TRMM, Code 910.1. This is the TRMM Office Radar Software Library. Copyright (C) 1996, 1997 <NAME> Space Applications Corporation Vienna, Virginia This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library Ge...
/************************************************************************* * * * Module: input * * * * Formatted input ...
/************************************************************************************************************* Copyright 2015-2019, Silicon Laboratories, Inc. 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 Li...
/* Copyright 2016, <NAME> * Copyright 2016, <NAME>. * Copyright 2020, <NAME>. * All rights reserved. * * This file is part sAPI library for microcontrollers. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * *...
/** * * Copyright (c) 2020 <NAME> <<EMAIL>, <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, m...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> #include <sys/types.h> #include <sys/socket.h> #include <event.h> #include <arpa/inet.h> #include <memory.h> const int thread_num = 10; #define BUF_SIZE 1024 typedef struct { pthread_t tid; pid_t pid; struct event_bas...
// // virtioblk.c // // Block device driver for virtio // // Copyright (C) 2011 <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 ...
/* * axp192 for standby driver * * Copyright (C) 2015 allwinnertech Ltd. * 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 "../standby....
/* ------------------------------------------------------------ * * file: tft-xbee-info.c * * purpose: TFT test program for Digi XBee modules on RPi * * return: 0 on success, and -1 on errors. * * requires: TFT as framebuffer /dev/fb0, openvg head...
/* $XConsortium: miDynamics.c,v 5.3 94/04/17 20:37:31 hersh Exp $ */ /* Copyright (c) 1989, 1990, 1991 X Consortium 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...
// ADC.c // Runs on LM4F120/TM4C123 // Provide a function that initializes Timer0A to trigger ADC // SS3 conversions and request an interrupt when the conversion // is complete. // <NAME> // September 11, 2013 // Modified by // <NAME> // January 31, 2014 /* This example accompanies the book "Embedded Systems: Real ...
/* * lzss.c * * Created on: Dec 11, 2014 * Author: spoofy */ //libs #include <stdio.h> #include "lzss.h" #include <string.h> #include <stdlib.h> #include "tools.h" //Do not exceed 4096 or risk of buffer overflows might occur when a match of length longer than 8192 or index = 8192 #define LOOKAHEADBUFFER 40...
/* * switch.c -- Switch, used to represent the switching between two states or * on-off state. * * Copyright (c) 2019, <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: * * ...
/* gen.c */ #include "zcc.h" #include <memory.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> static list_st *tvars; static list_st *tlabels; /* label should be global across assembly */ static char* name_var(var_st *); static void emit(inst_st* inst) { func_st *func = context.func; ...
/* * aster2txt.c -- Conevert ASTER data to ASCII format for Airborne Radar QC navigation code * <NAME> * Based on listgeo.c by <NAME> * */ #include "geotiff.h" #include "xtiffio.h" #include "geo_normalize.h" #include "geo_simpletags.h" #include "geovalues.h" #include "tiffio.h" #include "cpl_serv.h" #include <std...
/* Program to make a non-bootable ISO file into a USB ** bootable file. ** ** Author: <NAME> (<EMAIL>) ** File: mkbootaboe.c ** Date: Fri Aug 13 17:51:44 EDT 2021 ** ** The authors have placed this program in the public ** domain; they make no warranty and accept no liability ** for this program. */ #define _POSIX_C_S...
#include <curses.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include "Device.h" #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #define dDV_Sleep( nanosecs ) Sleep( ( int ) ( ( nanosecs ) / 1000.0f ) ) #define NORMAL_COLOR_CHAR 32 #define DARK_COLOR_CHAR 104 #de...
/* Copyright (C) 1996-2001 Id Software, Inc. Copyright (C) 2002-2009 <NAME> and others Copyright (C) 2007-2008 <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, ...
/* Visual Studio 2019 */ /* * The MIT License * * Copyright 2021 Vinh2k1bn (<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 limitat...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* sha384_process.c :+: :+: :+: ...
#include "ui.h" #include "msemu.h" #include <SDL/SDL.h> #include <SDL/SDL_rotozoom.h> // Primary SDL screen surface SDL_Surface* screen; // Master palette SDL_Color colors[6]; // Surface for the Mailstation LCD SDL_Surface *lcd_surface; // Surface to load CGA font data, for printing text with SDL SDL_Surface *cga...
/* * Copyright (c) 2003-2021 <NAME> <<EMAIL>> * All rights reserved. See MIT LICENSE for redistribution. */ #include "adifall.ext" #include "epump.h" #include <signal.h> #include "http_header.h" #include "http_msg.h" #include "http_mgmt.h" #include "http_con.h" #include "http_request.h" #include "htt...
/* * arch/arm/mach-sunxi/arisc/message_manager/message_manager.c * * Copyright (c) 2012 Allwinner. * 2012-10-01 Written by superm (<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 Founda...
/* * Copyright (c) 2015-2018 Nexenta Systems, inc. * * This file is part of EdgeFS Project * (see https://github.com/Nexenta/edgefs). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional informat...
//========================================================================== // // ads7846.c // // Author(s): <NAME> - Cogent Computer Systems, Inc. // Date: 03/06/03 // Description: ADS7846 Interface routines for CSB740 // Modified from MC9328mxl version to use SPI1 // //=============================...
//LAB 3 TASK C SKELETON FILE //ADD INCLUDE FILES HERE //e.g. #include <stdint.h> #include <stdbool.h> //#include <stdio.h> #include <string.h> /* XDC module Headers */ #include <xdc/std.h> #include <xdc/runtime/System.h> #include <xdc/runtime/Types.h> /* BIOS Header files */ #include <ti/sysbios/BIOS....
/* Just a little test program to help developers analyze what a system call does. * * 1. Modify do_child() to perform the system call(s) you need to investigate. * * 2. Compile with "gcc -m32 -static -Wall -g debug.c" * * 3. Run with no arguments as, "i386 -LRB3 a.out" * * The output will show: * ...
/***************************************************************************** * Benchmark to measure performance of CmiSyncBroadcast * * Does two types of benchmarking- * * 1. A flurry of Bcasts followed by a reduction * * 2. Singleton broadcast followed by reduction (clocks synchronized * ...
/* * plot.c * * This module takes care of actual plotting and writing postscript commands * to output file. * * Plot parameters given by macros below specify smoothness and number * of lines in resulting plot. Tweaking those can result in plots * with different smoothness properties. */ #include <stdio.h> #...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #define HEADER_SIZE 9 * sizeof(double) + 4 * sizeof(uint64_t) #pragma pack(push, 1) struct results_file_t { double x_start; dou...
//////////////////////////////////////////////////////////////////////////////// /// @file SYSTEM_MM32.C /// @author <NAME> /// @version 2.0.0 /// @date 2018-08-01 /// @brief THIS FILE PROVIDES ALL THE SYSTEM FUNCTIONS. //////////////////////////////////////////////////////////////////////////////// /// @atten...
/** * Hei Platform Library * Copyright (C) 2017-2021 <NAME> <<EMAIL>> * This software is licensed under MIT. See LICENSE for more details. */ #include "image_private.h" /* http://rewiki.regengedanken.de/wiki/.TIM * https://mrclick.zophar.net/TilEd/download/timgfx.txt */ typedef struct TIMHeader { uint8_t fl...
#include "ops.h" #include "expr_struct.h" #include "../sue.h" #include "../out/asm.h" #include "../type_is.h" #include "../type_nav.h" #include "../fopt.h" #include "expr_identifier.h" #define struct_offset(e) ( \ (e)->bits.struct_mem.d->bits.var.struct_offset + \ (e)->bits.struct_mem...
/** * dbg.h * * Copyright (c) 1998-1999, Microsoft Corporation * */ #pragma once /* * ASP.NET debugging functionality includes the following: * * C++: ASSERT(assertion), ASSERTMSG(assertion, msg), and VERIFY(statement) * C#: Debug.Assert(assertion), Debug.Assert(assertion, message) * * ...
/** ****************************************************************************** * @file lib_NDEF_Geo.c * @author MMY Application Team * @version V1.0.0 * @date 20-November-2013 * @brief This file help to manage NDEF file that represent geolocation. **************************************...
/* * Copyright (c) 2017, <NAME>. * License: BSD 2-clause * * For copyright and credits, please refer to the corresponding files * in the project's root directory. */ #include "interrupts.h" #include "stdio.h" #include "string.h" #include "terminal.h" #include "io.h" #define IDT_SIZE 256 struct idt_t_ { uint16...
/** * @file h265/decode.c H.265 Decode * * Copyright (C) 2010 Creytiv.com */ #include <re.h> #include <rem.h> #include <baresip.h> #include <libavutil/pixdesc.h> #include <libavcodec/avcodec.h> #include "h265.h" #if LIBAVUTIL_VERSION_MAJOR < 52 #define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P #endif enum { FU_HDR_S...
/*****************************************************************************/ /* Hardware Abstraction Layer for SDRAM interface on STM32F429-DISCO */ /* */ /* Copyright (C) 2016 <NAME> */ /* All...
/***************************************************************************/ /* sha.c */ /* */ /* Public domain SHA-1 implementation. */ /* */ /* Taken from the SHA implementation by <NAME> of 9/2/1992 */ /* and modified by <NAME> to be SHA-1. */ /***********************...