text
stringlengths
5.8k
28.2k
/* * microsim360 - Microcode converter for Model 2030 * * Copyright 2021, <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...
#include "stdlib.h" #include "malloc.h" #include "mcas.h" typedef void thread_run(void *data); //@ requires thread_run_pre(this)(data); //@ ensures true; /*@ predicate_family thread_run_pre(void *run)(void *data); @*/ void thread_start(thread_run *run, void *data); //@ requires is_thread...
#include "stm32f1xx_hal.h" #include "usb_device.h" #include "bwl_simplserial.h" #include <stdint.h> ADC_HandleTypeDef hadc1; DMA_HandleTypeDef hdma_adc1; I2C_HandleTypeDef hi2c1; SPI_HandleTypeDef hspi2; TIM_HandleTypeDef htim5; TIM_HandleTypeDef htim6; UART_HandleTypeDef huart4; UART_HandleTypeDef huart1; sserial_re...
#include <allegro.h> #include <winalleg.h> #include <lua.h> #include <lauxlib.h> #include <lualib.h> #include <fmod.h> #include "objects.h" #include "lua_objects.h" #include "esb_lua_support.h" #include "uproto.h" #include "lproto.h" #include "champions.h" #include "gproto.h" #include "timer_events.h" #include "global_...
#include <aws/nitro_enclaves/kms.h> #include <aws/nitro_enclaves/nitro_enclaves.h> #include <aws/common/command_line_parser.h> #include <aws/common/encoding.h> #include <aws/common/logging.h> #include <json-c/json.h> #include <linux/vm_sockets.h> #include <sys/socket.h> #include <errno.h> #include <unistd.h> #defi...
/*************************************************************************** makemeta.c Laserdisc metadata generator. Copyright (c) 1996-2007, <NAME> and the MAME Team. Visit http://mamedev.org for licensing and usage restrictions. ********************************************************************...
#include "header/game.h" /* Main game loop. Returns the winning player or NULL if draw. */ Player * playGame(Player * first, Player * second) { /* Board array declared. */ Cell board[BOARD_WIDTH][BOARD_HEIGHT]; /* Pointers for keeping track of original player numbers. */ Player * origFirst; Player * origSecond;...
/* dmfit_func.f -- translated by f2c (version 20090411). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en...
// // NMEA183.c // Drone-Foundation // // Created by <NAME> on 2013-07-14. // Copyright (c) 2013 <NAME>. All rights reserved. // #include "NMEA183.h" #pragma mark - #pragma mark Private //----------------------------------------------------------------------------// // PRIVATE VARIABLES / FUNCT...
/* -*- mode: C -*- */ /* IGraph library. Copyright (C) 2005-2012 <NAME> <<EMAIL>> 334 Harvard street, Cambridge, MA 02139 USA 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; e...
// CELULAR #include "soporteGeneral.h" #include "soporteCelular.h" //Variables Globales int socketCentral; int ESTADO; //0 para Apagado y 1 para PRENDIDO int estoyTransfiriendo =0; int estoyHablando = 0; int soyMigrado; const char* vcodigos[MAXCODIGOS] = {"llamar", "cortar","apagar","pren...
/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, <NAME> <<EMAIL>>. * Copyright (c) 2012-2019, <NAME> <<EMAIL>>. */ #include "taisei.h" #include "laser.h" #include "draw.h" #include "internal.h" #include "renderer/api.h" #i...
/****************************************************************************** * * * Copyright (C) 1995 * * University Corporation for Atmospheric Research * ...
/* Copyright (c) 2015 by <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, subli...
#include <lib/lvgl.h> #include <kernel/thread.h> #include <sys/types.h> #include <debug.h> #include <err.h> #include <reg.h> #include <video.h> #include <platform/mt_typedefs.h> #include <platform/boot_mode.h> #include <platform/mt_reg_base.h> #include <platform/mtk_key.h> #include <platform/mt_gpt.h> #include <target/...
/*++ /* NAME /* master 8 /* SUMMARY /* Postfix master process /* SYNOPSIS /* \fBmaster\fR [\fB-Ddtvw\fR] [\fB-c \fIconfig_dir\fR] [\fB-e \fIexit_time\fR] /* DESCRIPTION /* The \fBmaster\fR(8) daemon is the resident process that runs Postfix /* daemons on demand: daemons to send or receive messages via the /* network, d...
/************************************************************************************************** * \file gpsManager.c * \brief Functions to handle and maintain the gps module. * The GPS module should only be turned on one time upon activation to obtain a GPS fix. * It should then remain po...
/* Teensyduino Core Library * http://www.pjrc.com/teensy/ * Copyright (c) 2013 PJRC.COM, 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...
/* OpenCP Module Player * copyright (c) '94-'05 <NAME> <<EMAIL>> * * IT 2.14/2.15 sample decompression routines. * * revision history: (please note changes here) * -kb980717 <NAME> <<EMAIL>> * -first release * * Minor changes for xmp 2.2.0 by <NAME> * * Well. * The existance of this file,...
/* * Copyright (c) 2017 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 the rights * to use...
//* Aula 3 da 9 semana // mesmo projeto das priemrias aulas #include "lista.h" #include <stdio.h> #include <stdlib.h> void cria(lista *l) { l->tamanho = 0; l->elementos = malloc(sizeof(elem)*TAM); l->contagens = malloc(sizeof(long)*TAM); l->copia = malloc(sizeof(elem)*TAM); return; } void destro...
// Copyright 2016 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #pragma once // The compiler predefines macros __<type>_TYPE__, __<type>_MAX__, // and __<type>_C for the various types. All we ...
/* This file is part of the sgui samples collection. I, <NAME>, author of this file hereby place the contents of this file into the public domain. */ /* This small programm is supposed to demonstrate how to use the sgui texture canvas with Direct3D 11. */ #include "sgui.h" #include "sgui_d3d11.h" ...
/****************************************************************************** * Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * HYPRE Project Developers. See the top-level COPYRIGHT file for details. * * SPDX-License-Identifier: (Apache-2.0 OR MIT) **************************************...
#include <lib/math.h> static float one = 1.0, tiny=1.0e-30, huge = 1.000e+30, pi = 3.1415925026e+00, /* 0x40490fda */ pio2_hi = 1.57079637050628662109375f, pio2_lo = -4.37113900018624283e-8f, pio4_hi = 0.785398185253143310546875f, /* coefficient for R(x^2) */ pS0 = 1.6666667163e-01, /* 0x3e2aaaab */ pS1 = -3.2556...
/* * Copyright(C) 1999-2020 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * See packages/seacas/LICENSE for details */ #include "defs.h" #include "params.h" #include "sma...
/*------------------------------------------ Source file content Eleven part Part Zero: Include Part One: Local data Part Two: Local function Part Three: Define Part Four: Kernel main Part Five: Kernel Initialization Part Six: Kernel signal handle Part Seven: Exec part Part Eight: PLC control Part Nine: Ti...
#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <netdb.h> #include <xtables.h> #include <linux/netfilter/xt_policy.h> enum { O_DIRECTION = 0, O_POLICY, O_STRICT, O_REQID, O_SPI, O_PROTO, O_MODE, O_TUNNELSRC, O_TUNNELDST, O_NEXT, F_STRICT = 1 << O_STRICT, }; static v...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "pic_utils.h" #include "tga_utils.h" /* macros for handling 2 bytes per pixel 565 pictures */ #define BITMASK_RED(x) ((x >> 11) & 0x1F) #define BITMASK_GREEN(x) ((x >> 5) & 0x3F) #define BITMASK_BLUE(x) (x & 0x1F) /* palette positioni...
#include <math.h> #include <stdio.h> #include <stdlib.h> #define ORDER 3 typedef struct _B_node { int n_keys; struct _B_node *child[ORDER]; int key[ORDER-1]; } B_node; struct return_package { short is_overflow; int overflowed_key; B_node *overflowed_child; // 오른쪽으로 삐져나간 child를 담아서 올림. }; B_n...
/* * 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 <stdio.h> //added by AA1GD aug 22 '21 #include "unpack.h" #include "text.h" #include <string.h> #define MAX22 ((uint32_t)4194304L) #define NTOKENS ((uint32_t)2063592L) #define MAXGRID4 ((uint16_t)32400L) // n28 is a 28-bit integer, e.g. n28a or n28b, containing all the // call sign bits from a packed messag...
/** * \file * * \brief Task to manage the sensor sampling * * Copyright (c) 2014-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 prod...
/* * Copyright (c) 2014 The Linux Foundation. All rights reserved. * Copyright (C) 2013 Red Hat * 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. * ...
/* Nib - nibble (4 bit) representation of nucleotide sequences. * * This file is copyright 2002 <NAME>, but license is hereby * granted for all use - public, private or commercial. */ #include "common.h" #include "hash.h" #include "dnautil.h" #include "dnaseq.h" #include "nib.h" #include "sig.h" static char const...
/** * \file MCP9903_hal.c * * \brief MCP9903 firmware device driver; application specific * * \section Legal * **Copyright Notice:** * Copyright (c) 2018 All rights reserved. * * **Proprietary Notice:** * This document contains proprietary information and neither the document * nor sai...
/*---------------------------------------------------------------- * connhelp.c -- helper conn functions for drivers to use *---------------------------------------------------------------- * libnet is (c) Copyright <NAME> and <NAME> 1997-1998 * * Please look in `docs' for details, documentation and * distri...
// ------------------------------------------------------------------------------------------- // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License. // License details at: https://github.com/aws/aws-cdi-sdk/blo...
/* * Copyright (C) 2000-2019 <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, or (at your option) * any later version. * * SPDX-License-Identifier: GPL-2.0-or-late...
#include <stdlib.h> #include "utils.h" #include "isn.h" /* Decode flag for type 0 instruction */ static inline uint8_t op_decode_flag0(opcode op) { return (op >> 30) & 0x3; } /* Decode flag for type 2 instruction */ static inline uint8_t op_decode_flag2(opcode op) { return (op >> 22) & 0x7; } /* Decode flag for ...
/* * Copyright (c) <NAME>. All rights reserved. * * This file is part of ntlmclient, distributed under the MIT license. * For full terms and copyright information, and for third-party * copyright information, see the included LICENSE.txt file. */ #include <stdlib.h> #include <stdint.h> #include "ntlm.h" #inclu...
/* CSD 331 Computer Networks Lab, Fall 2019 Client Code Team: <NAME>(075), <NAME>(027), <NAME>(036), <NAME>(035) */ //for compile: gcc `pkg-config gtk+-2.0 --cflags` client.c -o client `pkg-config gtk+-2.0 --libs` // ./client 127.0.0.1 /* Including all the header files required for socket programming */ #include...
// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2022, Linaro Limited */ #include <compiler.h> #include <drivers/tpm2_chip.h> #include <initcall.h> #include <io.h> #include <kernel/tcg.h> #include <kernel/tpm.h> #include <malloc.h> #include <string.h> #include <tpm2.h> #include <trace.h> static struct tc...
/* Definitions of target machine for GNU compiler, for HPs running HPUX using the 64bit runtime model. Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lice...
/* * Copyright (c) 2017 MediaTek Inc. * Author: <NAME> <<EMAIL>> * Copyright (c) 2020-2022 <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. * * This program ...
#include <stdint.h> #include <stddef.h> #include <stdbool.h> #include <fs/ext2fs.h> #include <drivers/disk.h> #include <lib/libc.h> #include <lib/blib.h> /* EXT2 Filesystem States */ #define EXT2_FS_CLEAN 1 #define EXT2_FS_ERRORS 2 /* EXT2 Error Handling */ #define EXT2_ERR_IGNORE 1 #define ...
#include <inttypes.h> #include "c.h" #include "nls.h" #include "xalloc.h" #include "path.h" #include "pathnames.h" #include "ipcutils.h" #include "strutils.h" #ifndef SEMVMX # define SEMVMX 32767 /* <= 32767 semaphore maximum value */ #endif #ifndef SHMMIN # define SHMMIN 1 /* min shared segment size in bytes */ #en...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
#include "header.h" void allocFitchArray(void) { int lc, rc, val; fitchArray = (int ***)calloc(16, sizeof(int **)); assert(fitchArray); for (rc=0; rc < 16; rc++) { fitchArray[rc] = (int **)calloc(16, sizeof(int *)); assert(fitchArray[rc]); } for (rc=0; rc < 16; rc++) { for (lc=0; lc < 16; ...
/** * Copyright (c) 2014 - 2020, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, th...
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (c) 1992 - 1999 Microsoft Corporation. All rights reserved.*/// // File: corerc.h // // Contents: Resource identifiers for Core project. // //---------------------------------------------...
/*Trabalho de Algoritmos e Estruturas de Dados Professora: <NAME> Participantes: <NAME> <NAME> <NAME> <NAME> Trabalho de Grafo - Tema:Nêmesis */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> //necessário para usar o INT_MAX, maior valor de um inteiro #include <tim...
#include "render.h" #include "eventos.h" #include <math.h> #include <stdio.h> #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> #define V (-0.8) #define PI 3.141592 #define PLACAR (al_map_rgba_f(0, 0, 0, 0.9)) static const char* msg1 = "PRESSIONE ENTER PARA RETORNAR AO MENU"; static const char* msg2 ...
/* skeleton.c: A sample network driver core for linux. */ /* Written 1993 by <NAME>. Copyright 1993 United States Government as represented by the Director, National Security Agency. This software may only be used and distributed according to the terms of the GNU Public License as modified by SRC, incorporated he...
/*! \file src/mesh/mesh_create.c * * \brief Contains generic routines for initializing, building, and creating mesh data. * * Created by <NAME>, <NAME>, and <NAME> on 1/9/15. * Copyright 2015__HAZMATH__. All rights reserved. * * \note updated by <NAME> 07/25/2018 */ #include "hazmath.h" /*! * \fn void initialize_me...
#include "sf_camera.h" #include <sfcore.h> #include <pylonc/PylonC.h> #include <string.h> #include <assert.h> #define NUM_BUFFERS 2 #define GOTO_ERROR_IF_FAILED(res) { if ((res) != GENAPI_E_OK) { log_pylon_error (res); goto error; } } struct _SfCamera { PYLON_DEVICE_HANDLE hDev; ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "inttypes.h" #include "platform.h" #include "colortbl.h" const rgb_triple_t color_table_1_bit [2] = { { 0x00, 0x00, 0x00 }, { 0xFF, 0xFF, 0xFF } }; const rgb_triple_t color_table_4_bit [16] = { { 0x00, 0x00, 0x00 }, { 0x00, 0x...
#include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <time.h> #include <getopt.h> #include <glib.h> #include <lcm/lcm.h> // GRegex was new in GLib 2.14.0 #if GLIB_CHECK_VERSION(2,14,0) #define USE_GREGEX #endif #ifdef WIN32 #define USE_GREGEX #define __STDC_FORM...
#include "cryptlib.h" #include "asn1.h" #include "asn1t.h" #include "objects.h" static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass); static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int ta...
/* ** Copyright (C) 1999-2003 <NAME> <<EMAIL>> ** ** This program 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. ** ** Thi...
/* * Copyright 2019-present Open Networking Foundation * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd. * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <string.h> #include <unistd.h> #include "mm...
// public domain zlib decode v0.2 <NAME> 2006-11-18 // simple implementation // - all input must be provided in an upfront buffer // - all output is written to a single output buffer (can malloc/realloc) // performance // - fast huffman // implementation: #ifdef HAVE_CONFIG_H #include "config....
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <stdbool.h> #include <time.h> #include <getopt.h> /* file/dir processing */ #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> /* libexif headers */ #include <libexif/exif-data.h> /* libjpeg */ #in...
/* * Software WEP encryption implementation * Copyright 2002, <NAME> <<EMAIL>> * Copyright 2003, Instant802 Networks, Inc. * * 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 "dave_base.h" #include "dave_tools.h" #include "tools_log.h" /* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is...
/* * 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...
/* testNoisepacker3() */ /* Rip_Noisepacker3() */ /* Depack_Noisepacker3() */ #include "globals.h" #include "extern.h" int16_t testNoisepacker3 ( void ) { if ( PW_i < 9 ) { return BAD; } PW_Start_Address = PW_i-9; /* size of the pattern table */ PW_j = (in_data[PW_Start_Address+2]*256)+in_data[PW_St...
/* * MPlayer GUI for Win32 * Copyright (C) 2003 <NAME> <<EMAIL>> * Copyright (C) 2006 <NAME> <<EMAIL>> * Copyright (C) 2006 <NAME> <<EMAIL>> * * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
/* * Spawning processes. * * Author: * <NAME> (<EMAIL> * * (C) 2006 Novell, 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 limita...
/* futdefs.h */ // MIT License // // Copyright (c) 2017 softwaredev // // 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 u...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/* (c) Copyright 2013 Hewlett-Packard Development Company, L.P. 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 agre...
#include <string.h> #include "iconbrowserapp.h" #include "iconbrowserwin.h" #include "iconbrowsericon.h" #include "iconbrowsercontext.h" #include <gtk/gtk.h> struct _IconBrowserWindow { GtkApplicationWindow parent; GtkWidget *symbolic_radio; GtkWidget *searchbar; GListModel *icon_filter_model; GListStore *...
#include "L0.h" static uint16_t L0_TX(se3_device* device, uint16_t cmd, uint16_t cmd_flags, uint16_t len, const uint8_t* data); static uint16_t L0_RX(se3_device* device, uint16_t* resp_status, uint16_t* resp_len, uint8_t* resp_data); #ifdef CUBESIM #include "se3_proto.h" bool se3c_write_sim(uint8_t* buf, s...
#include <Python.h> #include <numpy/ndarrayobject.h> void weights_gauss_legendre003003 (const double *restrict sigma, int n, int ssi, int ssr, double *restrict omega, int wsi, int wsl, int wsr) { int i; double acc, sigma0, sigma1, sigma2, omega1, omega4p, omega0, omega5m, omega3p, omega7, omega3m, ome...
#define __DBL_MIN_EXP__ (-1021) #define __HQ_FBIT__ 15 #define __UINT_LEAST16_MAX__ 65535 #define __ATOMIC_ACQUIRE 2 #define __SFRACT_IBIT__ 0 #define __FLT_MIN__ 1.1754943508222875e-38F #define __UFRACT_MAX__ 0XFFFFP-16UR #define __UINT_LEAST8_TYPE__ unsigned char #define __DQ_FBIT__ 63 #define __INTMAX_C(c) ...
/* * Amazon FreeRTOS V1.4.2 * Copyright (C) 2017 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 restriction, includi...
/* Runtime library for supporting Coarray Fortran Copyright (C) 2011-2014 University of Houston. 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...
/* packet-sdh.c * Routines for SDH/SONET encapsulation dissection * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 - 2012 <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 F...
#include "common.h" static double uniform_rand() { return ((double)random()+1.0)/((double)RAND_MAX+2.0); } static void print_result_header() { PRINT_R0(" Times\tTemp\t\tCur. ASPL GAP\t\tBest ASPL GAP "); PRINT_R0("Cur. Dia. GAP Best Dia. GAP Accept Rate\n"); } static void print_results(con...
/* * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. * See https://llvm.org/LICENSE.txt for license information. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * */ /** \file lower.h \brief definitions for Fortran front-end's lower module */ /* * Compatibility Histor...
/* * Copyright (c) 2014, Brookhaven Science Associates, Brookhaven * National Laboratory. 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 t...
/* 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 terms of...
/************************************************************************** * * Copyright 2009 VMware, Inc. * Copyright 2007-2008 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated...
/* * Copyright (C) 2011 Samsung Electronics * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * 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 * published by the Fre...
/* $Id: minissdp.c,v 1.17 2009/08/20 09:10:38 nanard Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006-2009 <NAME> * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */ #include <stdio.h> #include <string.h...
/******************************************************************************** The MIT License Copyright (c) 2017 Yeonji 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, incl...
/****************************************************************************** Filename : rmp_platform_x86_linux.c Author : pry Date : 04/02/2018 Licence : The Unlicense; see LICENSE for details. Description : The platform specific file for x86 Linux port. *******************************************...
#include <stdio.h> #include <string.h> #include "icm/icmCpuManager.h" #include "platform.h" #include "hexLoader.h" #include "ppi.h" #include "commonPeripherals.h" #include "instructions_analyser.h" #include "currentUsage.h" #include "cycles_table.h" #define TOTAL_SIMULATION_TIME (1.2) //#define TRACE 1 #ifdef TRACE...
/* * * Copyright (c) 2014 <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...
#include "crypto_kem.h" /* for namespacing */ #include <immintrin.h> #include "params.h" #include "crypto_uint32.h" #include "rq.h" #define alpha_top _mm256_set1_epi32(0x43380000) #define alpha _mm256_set1_pd(6755399441055744.0) #define v10923_16 _mm256_set1_epi16(10923) #define floor(x) _mm256_floor_pd(x) void rq_ro...
#include <linux/ceph/ceph_debug.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/ceph/cls_lock_client.h> #include <linux/ceph/decode.h> /** * ceph_cls_lock - grab rados lock for object * @oid, @oloc: object to lock * @lock_name: the name of the lock * @type: lock type (CEPH_CLS_LOCK_EXCLUSIVE ...
/* * Copyright (c) 2016 Dell 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 License at http://www.apache.org/licenses/LICENSE-2.0 * * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARR...
#include "f2c.h" #include "blaswrap.h" /* Table of constant values */ static integer c__1 = 1; static integer c__2 = 2; static integer c__3 = 3; /* Subroutine */ int dchkec_(doublereal *thresh, logical *tsterr, integer * nin, integer *nout) { /* Format strings */ static char fmt_9989[] = "(\002 Tests of the...
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2007-2009 ST-Ericsson AB * * ABX500 core access functions. * The abx500 interface is used for the Analog Baseband chips. * * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> */ #include <li...
/* ** $Id$ ** Main file ** See Copyright Notice in COPYRIGHT */ #include "Main.h" #include "Macros.h" #include "FileIO.h" #include "Font.h" #include "Graphics.h" #include "Mouse.h" #include "Keyboard.h" #include "Joystick.h" #include "Sound.h" #include "Movie.h" /* luafilesystem */ #include "luafilesystem/lfs.h" /*...
#include <stdio.h> #include <stdlib.h> #include <math.h> #define EPSILON 0.1 #define NTOT 1000 #define ROWS 53 #define COLS ROWS #define NX (ROWS-2) #define NY (COLS-2) #define XMID (NX/2) #define YMID (NY/2) #define SIZE (ROWS*COLS) #define ALIGNMENT 64 //#define host_t int #define host_t...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include "dns.h" #include "test.h" /* This is just reference. Packet details for a cor...
/* * Copyright (C) 2015-2021 IoT.bzh Company * Author "<NAME>" * * $RP_BEGIN_LICENSE$ * Commercial License Usage * Licensees holding valid commercial IoT.bzh licenses may use this file in * accordance with the commercial license agreement provided with the * Software or, alternatively, in accordance with the...
/* crc8.c * Implementation CRC-8 declarations and routines * * 2011 <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <glib.h> #include <wsutil/crc8.h> /* @brief Precompiled ...