text
stringlengths
5.8k
28.2k
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "proj.h" #include "grb2.h" #include "wgrib2.h" #include "fnlist.h" /* Gctpc.c interface routines to the gctpc library 2/2012 Public Domain <NAME> gctpc_get_latlon: fill grid with lat/lon values mercator 10 polar stereographic 20 lambert ...
#include "json.h" #include "../asprintf.c/asprintf.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../jsmn/jsmn.h" #include <assert.h> #include <float.h> #include <limits.h> //source found at:http://www.cse.yorku.ca/~oz/hash.html static size_t djb2(const void *key, int l, uint32_t seed){ size...
/*- * Copyright (c) 2016-2018 The University of Oslo * 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...
#include "hd_44780.h" #include <stdio.h> #include "driver/i2c.h" #include "esp32/rom/ets_sys.h" #include "esp_event.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "sdkconfig.h" #include "i2c_utils.h" #include "print_utils.h" #include "ultrasonic.h" static const char *TA...
/* * Sony OpenMG (OMA) demuxer * * Copyright (c) 2008 <NAME> * 2008 <NAME> * 2011 <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 Softw...
/* * tps65218-regulator.c * * Regulator driver for TPS65218 PMIC * * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ * * 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 Softwa...
/*- * Copyright (c) 2011-2012 <NAME> * Copyright (c) 2011-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: * 1. Redistributions of source code must retain the above copyright ...
/* * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: <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 ...
/* ****************************************************************************** TODO: add license ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_hal.h" #include "adc.h" ...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/*********************************************************************** * Copyright (c)2008-2080 pepstack.com, <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: * * ...
/** @file */ /***************************************************************************** * Copyright (c) 2016-2017, Cisco Systems, 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. Red...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2013 Semtech Description: Target board general functions implementation License:...
#include "imu_sensor_fusion_9-axis.h" #include "imu_sensor_9-axis.h" #include "math.h" #include "app.h" #define BETADEF 0.4f // 2 * proportional gain static float invSqrt(float x) { float halfx = 0.5f * x; float y = x; long i = *(long*)&y; i = 0x5f3759df - (i>>1); y = *(float*)&i; y = y * (1.5f - (halfx * y *...
/* $OpenBSD: relay_udp.c,v 1.32 2014/08/08 18:26:50 reyk Exp $ */ /* * Copyright (c) 2007 - 2013 <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 ...
/* * AWS IoT Device SDK for Embedded C 202108.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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...
// Module for interfacing with i2s hardware #include <string.h> #include "module.h" #include "lauxlib.h" #include "lmem.h" #include "platform.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "esp_task.h" #include "task/task.h" #include "driver/i2s.h" #include "com...
#include <ruby.h> #include <ruby/encoding.h> #include <windows.h> #include <shlwapi.h> #include <sddl.h> #ifdef __MINGW32__ #define swprintf _snwprintf #endif #ifdef HAVE_PATHCCH_H #include <pathcch.h> #define MAX_WPATH PATHCCH_MAX_CCH #else #define MAX_WPATH MAX_PATH * sizeof(wchar_t) #endif // Equivalent to raise...
/* * primecandidate.c: implementation of the PrimeCandidateSource * abstraction declared in sshkeygen.h. */ #include <assert.h> #include "ssh.h" #include "mpint.h" #include "mpunsafe.h" #include "sshkeygen.h" struct avoid { unsigned mod, res; }; struct PrimeCandidateSource { unsigned bits; bool ready,...
/*- * Copyright (c) 1990, 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 copy...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2019 Semtech Description: Minimum test program for the loragw_gps module License: Revise...
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the...
/** * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditio...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/** * All new code in this distribution is Copyright 2005 by North Carolina * State University. All rights reserved. Redistribution and use in * source and binary forms are permitted provided that this entire * copyright notice is duplicated in all such copies, and that any * documentation, announcements, and...
/* Support for printing C values for GDB, the GNU debugger. Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under...
/* dasrdc.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__1 = 1; /* $Procedure DASRDC ( DAS, read data, character ) */ /* Subroutine */ int dasrdc_(integer...
#include "copyright.h" /*============================================================================*/ /*! \file par_shwave2d.c * \brief Problem generator shear wave test with Lagrangian particles. * * PURPOSE: Problem generator shear wave test with Lagrangian particles. * Must work in 3D, and the wavevector is...
/* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without e...
/* * Common structures and definitions for FT1000 Flarion Flash OFDM PCMCIA and USB devices * * Originally copyright (c) 2002 Flarion Technologies * */ #define DSPVERSZ 4 #define HWSERNUMSZ 16 #define SKUSZ 20 #define EUISZ 8 #define MODESZ 2 #define CALVERSZ 2 #define CALDATESZ 6 #define ELECTRABUZZ_ID 0 /* ...
//Header Files and Macros #include<string.h> #include<stdio.h> #include<stdlib.h> #include<dirent.h> #include<time.h> #include<math.h> #include<cstdlib> #define NODES 50 #define INT_MAX 100000 int n; //global variable for number of edges in the graph //Loading Function void loading() { int i; char ch; system("reset")...
#include "solvers.h" #include <limits.h> /* * Generic PCG: * * Starting value for cfac modified: <NAME>, 03/25/2010 * * Iterative method for approximating the solution to Ax=b * where x is an r_vector structure representing the initial guess * and b is an r_vector structure representing the right-h...
#include <stdio.h> #include "pico/stdlib.h" #include "hardware/pio.h" #include "hardware/timer.h" #include "hardware/sync.h" #include "pico/binary_info.h" #include "wh1080_pwmpulsebits.pio.h" #include "queues_for_msgs_and_bits.h" #include "wh1080_decode_bits.h" #include "output_format.h" #include "serial_io.h" #includ...
/* Handle a .class file embedded in a .zip archive. This extracts a member from a .zip file, but does not handle uncompression (since that is not needed for classes.zip). Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. GCC is free...
/* * 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> #include <aper_opentype.h> /* * Check whether we are inside the extensions group. */ #define I...
#include "poly.h" /* Polynomial multiplication using */ /* Toom-4 and two layers of Karatsuba. */ #define L PAD32(NTRU_N) #define M (L/4) #define K (L/16) static void toom4_k2x2_mul(uint16_t ab[2 * L], const uint16_t a[L], const uint16_t b[L]); static void toom4_k2x2_eval_0(uint16_t r[9 * K], const uint16_t a[M...
/* This substrate should never malloc anything. All allocation should be done by the high level API. */ #include "papi.h" #include "papi_internal.h" #include "papi_vector.h" extern hwi_search_t *preset_search_map; extern native_event_entry_t *native_table; extern hwi_search_t _papi_hwd_t3e_preset_map; extern nativ...
/********** Copyright (c) 2016, Xilinx, 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 notice, this list of conditions and the fol...
/** \file * \brief GLSubCanvas Control. * * See Copyright Notice in "iup.h" */ #ifdef WIN32 #include <windows.h> #endif #if defined (__APPLE__) || defined (OSX) #include <OpenGL/gl.h> #else #include <GL/gl.h> #endif #include <stdio.h> #include <stdlib.h> #include "iup.h" #include "iupcbs.h" #include "iupgl.h" ...
/* Copyright 2010 SourceGear, 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
//////////////////////////////////////////////////////////////////////////////// // Includes //////////////////////////////////////////////////////////////////////////////// #include <fcntl.h> #include <float.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <unistd.h> #include <s...
/* Copyright (c) 2013-2021, Antmicro 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: * * * Redistributions of source code must retain the above copyright notice, this * list of condit...
// Copyright 2018 <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, distribute...
/***************************************************************************** * RRDtool 1.4.9 Copyright by <NAME>, 1997-2014 ***************************************************************************** * rrd_info Get Information about the configuration of an RRD *************************************************...
/* URI manipulation routines. Copyright (C) 1999-2021, <NAME> <<EMAIL>> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option)...
/************************************************************************************************** Copyright (c) 2008-2009, Motorola, 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: - Redistributio...
/*---------------------------------------------------------------*/ /*--- begin host_generic_simd128.c ---*/ /*---------------------------------------------------------------*/ /* This file is part of Valgrind, a dynamic binary instrumentation framework. Copyright (C) 2010-2010 Op...
#include "config.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #include <signal.h> #include <pthread.h> #include "urweb.h" #include "request.h" #define MAX_RETRIES 5 void *urweb_memmem(const void *b1, size_t ...
//******************************************************************* //Author: <NAME> //Description: FLPv1S Testing with PMUv2 //******************************************************************* #include "PRCv13.h" #include "FLPv1S_RF.h" #include "PMUv2_RF.h" #include "mbus.h" #define PRC_ADDR 0x1 #define FLS_AD...
/* * 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. */ /*--------------------------------------------------------------------------...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
#include <ctype.h> #include <stdarg.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #define min(a, b) \ ({ ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/time.h> #include "ue_extract.h" #include "ue_utils.h" #include "ucvm_proj_bilinear.h" #include "ucvm_proj_ucvm.h" /* Insert 2D grid at required resolution in a buffer */ int insert_grid_buf(ue_cfg_t *cfg, etree_addr_t *pn...
/* * Demo for GLSL procedural noise. * * The shaders are loaded from external files, named in * the macro definitions VERTSHADERFILE and FRAGSHADERFILE. * The main program draws a sphere covering most of the * viewport, activates the demo shader and runs indefinitely, * reporting the fragment shading performanc...
/* * ---- The Unbalanced Tree Search (UTS) Benchmark ---- * * Copyright (c) 2010 See AUTHORS file for copyright holders * * This file is part of the unbalanced tree search benchmark. This * project is licensed under the MIT Open Source license. See the LICENSE * file for copyright and licensing i...
/* Kernel for the Apple matrix coprocessor. */ #include "blis.h" #include "amx.h" #include "amx_ext.h" #include <stdlib.h> #include <assert.h> // Const memory for zeroizing. extern const uint8_t amx_zeros[64]; void bli_dgemm_aaplmx_mac_32x16 ( dim_t k, double* restrict alph...
/** * ntfslabel - Part of the Linux-NTFS project. * * Copyright (c) 2002 <NAME> * Copyright (c) 2002-2005 <NAME> * Copyright (c) 2002-2003 <NAME> * * This utility will display/change the label on an NTFS partition. * * This program is free software; you can redistribute it and/or modify * it under the terms o...
#include "platform.h" #include <stdlib.h> #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <string.h> #include <unistd.h> #include "../ponyrt.h" #include "../messageq.h" #include "../scheduler.h" #include "../actor.h" #include "../cpu.h" #incl...
/* * Phoenix-RTOS * * ttypc - keyboard handler (map derived from BSD 4.4 Lite kernel). * * Copyright 2012, 2017, 2019 Phoenix Systems * Copyright 2001, 2007-2008 <NAME> * Author: <NAME>, <NAME> * * This file is part of Phoenix-RTOS. * * %LICENSE% */ #include <errno.h> #include <stdint.h> #include <stdio.h>...
/* File: readseq.c * Author: <NAME> (<EMAIL>) * Copyright (C) 1993-2021 <NAME>, Wellcome Sanger Institute * License: available under the MIT license as in the accompanying LICENSE file *------------------------------------------------------------------- * Description: generic code to read Pearson format files...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2018 STMicroelectronics * * Redistribution and use in ...
/* ESP HTTP Client Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <string...
/* i7094_drm.c: 7289/7320A drum simulator Copyright (c) 2005-2011, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the righ...
#include "pieces.h" #include "move_checker.h" #include "board_state.h" #include "move.h" #include <stdlib.h> #define max(a,b) (((a) > (b)) ? (a) : (b)) #define min(a,b) (((a) > (b)) ? (b) : (a)) #define abs(a) (((a) < 0) ? (-(a)) : (a)) struct move_checker_t * new_move_checker(int board[6][6]) { struct move_chec...
/* * uhttpd - Tiny single-threaded httpd * * Copyright (C) 2010-2013 <NAME> <<EMAIL>> * Copyright (C) 2013 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permis...
#include "misc.h" #include "common\twb_i2c.h" #include "common\memory_mgmt.h" #include "common\twb_timer.h" #include "common\twb_debug.h" #define I2C_400K 400000 I2CJob_t *__twbI2CCurrentJob; I2CJob_t *__twbI2CSyncJob; uint8_t I2CQueueJobHead; uint8_t I2CQueueJobTail; I2C_LastError_e __i2cLastError = I2C_Error_Non...
#include "defines.h" #include "defines_battle.h" #include "../include/event_data.h" #include "../include/event_object_movement.h" #include "../include/random.h" #include "../include/script.h" #include "../include/constants/maps.h" #include "../include/constants/species.h" #include "../include/new/battle_start_turn_sta...
/* pdp11_stddev.c: PDP-11 standard I/O devices simulator Copyright (c) 1993-1998, <NAME>, Digital Equipment Corporation Commercial use prohibited ptr paper tape reader ptp paper tape punch tti terminal input tto terminal output clk line frequency clock 25-Jun-98 RMS Fixed bugs in pape...
/* * 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...
#include "stm32f0xx_conf.h" #include "dig_inouts.h" #include "pwm.h" #include "adc.h" //#define FREERUN /************************ * Time keeping * ************************/ volatile uint32_t tmr_ping[4]={0,0,0,0}; volatile uint32_t tmr_reset[4]={0,0,0,0}; volatile uint32_t tmr_tapin[4]={0,0,0,0}; volatile uint3...
/************************************************************************* * Copyright(c) 2009, xxxcorporation * All rights reserved * dhcp_socket.c : dhcp socket layer implement * version: 1.0 * author: ywg * time: 2009-02-07 * history: none *************************************************************...
#include "../protocol/tcp_raw.h" #include "../protocol/tcp_shadowsocks.h" #include <getopt.h> enum { GETOPT_VAL_KEY = 300, GETOPT_VAL_TYPE, GETOPT_VAL_KEEPALIVE, }; #define KB_UNIT (1024) #define MB_UNIT (1024*1024) #define GB_UNIT (1024*1024*1024) typedef struct client { char *password; char *...
/* Conversions library All conversions are based on the data conversion protocol: https://utat-ss.readthedocs.io/en/master/our-protocols/data-conversion.html Conversion functions between raw data (bits represented as `uint` types) and actual measurements for all software systems in the satellite. ADC - ADS7952 - PAY...
#include "main.h" #include "bluetooth.h" #include "display.h" #include "um6.h" #include "u8g.h" #include "i2cmaster.h" #include "uart.h" #include "system.h" #include "i2cdev.h" #include "funktionen.h" #include "maze.h" #include "drive.h" //////////////////////////////////////////////////////////////////// //UART: #def...
#include "F28x_Project.h" #include <stdint.h> #include <math.h> #include "..\Test_setting.h" #include "..\Peripheral\Peripheral.h" #include "Meas.h" #include "control.h" #include "..\Comm\IPC.h" //***********************************************************************// // G l o b a l V a r i a b l...
/***** spin: pangen3.c *****/ /* Copyright (c) 1989-2003 by Lucent Technologies, Bell Laboratories. */ /* All Rights Reserved. This software is for educational purposes only. */ /* No guarantee whatsoever is expressed or implied by the distribution of */ /* this code. Permission is given to distribute this code...
#include <stdio.h> #include <stdint.h> #include <string.h> #include <assert.h> #include "tuya_log.h" #include "tuya_url.h" #include "system_interface.h" #include "http_client_interface.h" #include "core_json.h" #include "cJSON.h" #include "aes_inf.h" #include "uni_md5.h" #include "base64.h" #include "atop_base.h" #def...
#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <drm_fourcc.h> #include <fcntl.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <wayland-util.h> #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_matrix.h> #include <wlr/util/log.h> #include "backend/drm...
/** Info file parser * * A parser has a list of hooks (which are run across new lines given to * parser_parse()) and a list of the set of named values for the current line. * Each hook has a list of specs, which are essentially named formal parameters; * when we run a particular hook across a line, each spec in th...
// Copyright (c) 2015-2016 Nuxi, https://nuxi.nl/ // // SPDX-License-Identifier: BSD-2-Clause #include <common/float10.h> #include <common/locale.h> #include <common/numeric_grouping.h> #include <assert.h> #include <errno.h> #include <fenv.h> #include <float.h> #include <limits.h> #include <math.h> #include <stdarg.h...
// because if I make a file called game.c it should motivate me to actually make a game, right? #define SHOW_DEBUG void game_init(void); static vec3 mworld_v[(VISRANGE*2+2)*(VISRANGE*2+2)]; static uint16_t mworld_i[6*(VISRANGE*2+1)*(VISRANGE*2+1)]; static uint32_t mworld_c[6*2*(VISRANGE*2+1)*(VISRANGE*2+1)+1]; stati...
/* * Written in 2013 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 should have received a copy of the CC...
/* # # Copyright (c) 2006-2012 University of Houston. All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow # # $HEADER$ # */ #include "MCFA.h" #include "MCFA_internal.h" extern int SL_this_listensock; extern fd_set SL_send_fdset; extern fd_set SL_recv_fdset; extern int SL_this_...
/* See the file "COPYING" for the full license governing this code. */ #include "common.h" #include "handle_args.h" #include <stdlib.h> #include <inttypes.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <fcntl.h> /** Where we should keep statistic...
/* * Marvell Armada CP110 System Controller * * Copyright (C) 2016 Marvell * * <NAME> <<EMAIL>> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ /* * CP110 has 5 core ...
#include <common.h> #define MAX_PARAMETERS 64 #define FILE_FSTAB "/bootloader/multiboot/etc/fstab" #define FSTAB_PREFIX "fstab." #define FSTAB_RECOVERY "/etc/recovery.fstab" #define FILE_RECOVERY_BINARY "/sbin/recovery" static struct module_data module_data; static int prepare_fstab(void); static int run_init(struc...
/* setelm.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__10 = 10; static integer c__8 = 8; static integer c__12 = 12; static integer c__11 = 11; static integer ...
/* Copyright <2017> <Scaleable and Concurrent Systems Lab; Thayer School of Engineering at Dartmouth College> 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 restr...
#include "sequential_batch_sign.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include "randombytes.h" #include "zerobytes.h" #include "params.h" #include "wots.h" #include "horst.h" #include "hash.h" #include "crypto_hash_blake512.h" #include "hash_address.h" #include "tree.h" #include "entropy.h" #...
#include "game.h" #include "game_shared.h" #include <stdint.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <time.h> #include <assert.h> #include <cairo/cairo.h> int SCREEN_PITCH = 0; static cairo_surface_t *surface = NULL; static cairo_surface_t *static_...
#pragma once // This is the customizable colorscheme const char *colornames[256] = { "#1e2127", "#e06c75", "#98c379", "#d19a66", "#61afef", "#c678dd", "#56b6c2", "#abb2bf", "#5c6370", "#e06c75", "#98c379", "#d19a66", "#61afef", "#c678dd", "#56b6c2", "#fff...
/* An example of how to interact with multiple memories. You can compile and run this example on Linux with: cargo build --release -p wasmtime-c-api cc examples/multimemory.c \ -I crates/c-api/include \ -I crates/c-api/wasm-c-api/include \ target/release/libwasmtime.a \ -lpthread -ld...
// -*- C++ -*- The GNU C++ exception personality routine. // Copyright (C) 2001-2015 Free Software Foundation, Inc. // // This file is part of GCC. // // GCC 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; e...
/* Himax Android Driver Sample Code for HMX852xF chipset * * Copyright (C) 2017 Himax Corporation. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program...
/* -*- c -*- */ /* * Copyright 2014 <NAME> techie AT whiterocker.com * * This file is part of libbtbb * * 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 optio...
/** This software is released under the terms of the Apache License version 2. For details of the license, see http://www.apache.org/licenses/LICENSE-2.0. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include "sax.h" #ifdef TRACE #define trace(event,flags) trace_event(event,flags) ...
/* T R I E . C * BRL-CAD * * Copyright (c) 2004-2016 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as pu...
/** 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, me...
// // Created by <NAME> on 7/26/18. // #include <stdlib.h> #include <globals.h> #include "verifyP.h" logical enableVerify = True; // True if we verify code as it is loaded typedef struct { segPo *stack; int max; int top; } BlockStack, *blockStackPo; static segPo initVerify(methodPo mtd, vectorPo block...