text
stringlengths
7.55k
41.9k
/* Tomato Firmware Copyright (C) 2006-2009 <NAME> */ #include "rc.h" #include <sys/stat.h> // in mangle table void ipt_qos(void) { char *buf; char *g; char *p; char *addr_type, *addr; char *proto; char *port_type, *port; char *class_prio; char *ipp2p, *layer7; char *bcount; char *dscp; char *desc; i...
/* e_j0f.c -- float version of e_j0.c. * Conversion to float by <NAME>, Cygnus Support, <EMAIL>. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy,...
/* * Driver for Linear Technology LTC4245 I2C Multiple Supply Hot Swap Controller * * Copyright (C) 2008 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of th...
/* * Tencent is pleased to support the open source community by making IoT Hub available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the L...
/* * api.c - This file contains all of the API calls that are defined for * external driver code to use. * * $Id: api.c,v 1.140 2004/06/01 16:00:28 johns Exp $ */ #include "machine.h" #include "types.h" #include "macros.h" #include "parallel.h" #include "threads.h" #include "box.h" #include "cylinde...
/* File: cmovies.c Synopsis: main application code (entry point) Author: hackmac89 E-mail: <EMAIL> date: 09/27/2016 https://www.filmdatenbank-manager.de/ https://github.com/hackmac89/cMovies MIT License Copyright (c) 2016 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
// Contains the source for the naval program #include <stdio.h> #include <stdbool.h> #include <string.h> #include <ctype.h> #include <stdlib.h> // CONSTANTS ================================================================== #define INITIAL_BUFFER_SIZE 10 #define MIN_ARGC 5 #define STD_RULES_FILE "standard.rules" #defi...
#include "cache.h" #include "lockfile.h" #include "string-list.h" #include "rerere.h" #include "xdiff-interface.h" #include "dir.h" #include "resolve-undo.h" #include "ll-merge.h" #include "attr.h" #include "pathspec.h" #define RESOLVED 0 #define PUNTED 1 #define THREE_STAGED 2 void *RERERE_RESOLVED = &RERERE_RESOLVED...
/* * 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...
/* Copyright (c) 2015-2016, Apple 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 followin...
/* * linux/fs/proc/array.c * * Copyright (C) 1992 by <NAME> * based on ideas by <NAME> * * Fixes: * <NAME>: stat,statm extensions. * <<EMAIL>> * * <NAME> : Made cmdline,envline only break at '\0's, to * make sure SET_PROCTITLE works. Also removed * ...
/******************************************************************************* Source file for the Net Pres Encryption glue functions to work with Harmony Summary: Description: *******************************************************************************/ /***********************************************...
/*- * SPDX-License-Identifier: BSD-4-Clause * * Copyright (c) 2000, <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 copy...
#include <stdint.h> #include <string.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <kernel/adi.h> #include <libamc/libamc.h> #include <stdlibadd/array.h> #include <stdlibadd/assert.h> #include <agx/lib/screen.h> #include <agx/lib/shapes.h> #include <agx/lib/putpixel.h> #include <awm/awm_mes...
/* * modeset - DRM Double-Buffered VSync'ed Modesetting Example * * Written 2012 by <NAME> <<EMAIL>> * Dedicated to the Public Domain. */ /* * DRM Double-Buffered VSync'ed Modesetting Howto * This example extends modeset-double-buffered.c and introduces page-flips * synced with vertical-blanks (vsync'ed). A ve...
/* Server connection handling code. Copyright (C) 2006 <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,...
/* utpdf/utps margin-aware converter from utf-8 text to PDF/PostScript Copyright (c) 2021 by <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LIC...
/* bme680.c - Driver for Bosch Sensortec's BME680 temperature, pressure, * humidity and gas sensor * * https://www.bosch-sensortec.com/bst/products/all_products/bme680 */ /* * Copyright (c) 2018 Bosch Sensortec GmbH * * SPDX-License-Identifier: Apache-2.0 */ #include "bme680.h" #include <gpio.h> #include <i2c...
/* * Copyright (c) 2010 Broadcom Corporation * * 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 permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
/* * Copyright (C) <NAME> (Pull) * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include "ngx_multi_upstream_module.h" #include "ngx_http_multi_upstream_module.h" typedef struct { ngx_uint_t max_cac...
/* * 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...
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "vk_swapchain.h" #include <stdio.h> #include <stdlib.h> #include "vk_format_matcher.h" #include "vk_strings.h" #include "vk_surface.h" #include ...
/* * (C) Copyright 2001-2003 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2003-2005 Arabella Software Ltd. * <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <ioports.h> #include <mpc8260.h> #include <miiphy.h> /* * I/O Port configuration table * * i...
#include "../../shared.h" #include "hale.h" #include <float.h> #include <stdio.h> /* * NOTE: The repair phase is essentially a mesh-wide scattering stencil. * Essentially the whole stencil needs to be owned by a single thread to stop * data races... * * One method that could be employed here is to essentially bre...
/** * \file mmap_helper.c * * \brief This file contains pruss memory mapping code to allow * pruss-lld to run on Linux through UIO * * Copyright (c) 2015, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
// Legacy BASIC // Copyright (c) 2022 <NAME> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <math.h> #include <assert.h> #include "parse.h" #include "lexer.h" #include "token.h" #include "utils.h" #include "emit.h" #include "bcode.h" #include "builtin.h" #include "os.h" typede...
/* * 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...
/***************************************************************************** * Made with beer and late nights in California. * * (C) Copyright 2017-2020 AND!XOR LLC (https://andnxor.com/). * * PROPRIETARY AND CONFIDENTIAL UNTIL AUGUST 11th, 2020 then, * * Licensed under the Apache License, Version 2.0 (the "Li...
#include <ctype.h> #include "dirwrap.h" #include "uifc.h" #include "ciolib.h" #include "filepick.h" enum { DIR_LIST ,FILE_LIST ,MASK_FIELD ,CURRENT_PATH ,FIELD_LIST_TERM }; void drawfpwindow(uifcapi_t *api) { char lbuf[1024]; int i; int j; int listheight=0; int height; int width; char shade[1024]; w...
#include "tests.h" #include "client/pproto_client.h" #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <stdlib.h> int prepare_col_desc(uint8 *buf, uint8 dt_magic, uint64 len, uint8 p, uint8 s, const char *alias, uint8 nullable) { ui...
/* Copyright (c) 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, d...
/*--------------------------------------------------------------------------- ; Copyright (C) 2003 CYGNAL INTEGRATED PRODUCTS, INC. ; All rights reserved. ; ; ; FILE NAME: C8051F120.H ; TARGET MCUs: C8051F120, F121, F122, F123, F124, F125, F126, F127 ; DESCRIPTION: Register/bit definitions for the C8051F120 prod...
/*====================================================================*/ /* OPEN FILE MODULE +ListFiles with double linked list and selection menu in C. +Scroll function added. +Integrated with Fviewer Coded by Velorek. Target OS: Linux. */ /*=============...
/* Provided by IBEX UK LTD http://www.ibexuk.com Electronic Product Design Specialists RELEASED SOFTWARE The MIT License (MIT) Copyright (c) IBEX UK Ltd, http://ibexuk.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
/* Copyright (C) 2006-2007 <NAME> Copyright (C) 2014 <NAME> This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <stdio.h> #include <stdlib.h> #include <math.h> ...
/** * \file * * \brief Blood Pressure Sensor Application * * Copyright (c) 2016 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met...
/* * 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 "copyright.h" /*============================================================================*/ /*! \file cpaw3d.c * \brief Problem generator for circularly polarized Alfven wave (CPAW) in 3D * test. * * PURPOSE: Problem generator for circularly polarized Alfven wave (CPAW) in 3D * test. The angles...
#pragma once #include <stdint.h> #include "ff_ffplay_def.h" #include <libavformat/avformat.h> #include <libavcodec/avcodec.h> #include <libswresample/swresample.h> #include <libswscale/swscale.h> #include <libavutil/avutil.h> #include <libavutil/opt.h> #include <libavutil/log.h> #include <libavutil/attributes.h> ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdint.h> #include <limits.h> // for int limits etc. #include <assert.h> #include <time.h> #include <gsl/gsl_histogram.h> #include <omp.h> #include "main.h" #include "dSFMT-src-2.1/dSFMT.h" //#include "ziggurat/ziggurat.h" //#defin...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" volatile int16_t x77 = INT16_MAX; static volatile uint8_t x78 = 1U; volatile int8_t x118 = 5; uint8_t x119 = 5...
/* * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * 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 * vers...
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /* Include esp-idf headers first to avoid redefining BIT() macro */ #include <soc/dport_reg.h> #include <soc/i2c_reg.h> #include <rom/gpio.h> #include <soc/gpio_sig_map.h> #include <soc.h> #include <errno.h> #include <drivers/gpi...
/* Copyright 2009, Ifcaro, jimmikaelkael Licenced under Academic Free License version 3.0 Review OpenUsbLd README & LICENSE files for further details. */ #include "ee_core.h" #include "util.h" #define ALL_MODE -1 typedef struct { u32 addr; u32 val; u32 check; } game_patch_t; typedef str...
// Implementation of a simple JPEG decoder // <NAME>, FER, 2016, <EMAIL> // version: 1.0 2.4.2016. #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define EOI1 0xff #define EOI2 0xd9 #define SOS1 0xff #define SOS2 0xda #define PI 3.14159 static const unsigned int q_lum[8][8...
#include <stdio.h> #include <string.h> #include "util.h" #include "errormsg.h" #include "symbol.h" #include "absyn.h" #include "types.h" #include "env.h" #include "temp.h" #include "tree.h" #include "frame.h" #include "semant.h" #include "translate.h" /*Lab4: Your implementation of lab4*/ /* Definitions */ struct exp...
/* * Copyright (c) 2014 Netflix, 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: * * Redistributions of source code must retain the above copyright notice, this * list of conditions a...
#define BGBCC_COFF_MACH_SH3 0x01A2 #define BGBCC_COFF_MACH_SH3DSP 0x01A3 #define BGBCC_COFF_MACH_SH4 0x01A6 #define BGBCC_COFF_SCNT_NOPAD 0x00000008 #define BGBCC_COFF_SCNT_CODE 0x00000020 #define BGBCC_COFF_SCNT_IDATA 0x00000040 #define BGBCC_COFF_SCNT_UDATA 0x00000080 #define BGBCC_COFF_SCNT_GPREL 0x00008...
/*----------------------------------------------------------------------------*/ /* Xymon monitor network test tool. */ /* */ /* This is used to implement the testing of HTTP service. ...
/* * * Derived from distribution startd.c and xtrekII.sock.c (as of ~1/14/91). * * Installation: update the Prog and LogFile variables below, and * set the default port appropriately (presently 2592). Set debug=1 * to run this under dbx. Link this with access.o and subnet.o. * * Summary of chan...
/* * Copyright (c) 2001-2002 <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 * notice, this list of condition...
/* *-------------------------------------- * Program Name: FISHY * Author: Rodger "Iambian" Weisman * License: BSD (See LICENSE file) * Description: Eat the bigger fish and don't get eaten *-------------------------------------- */ #define VERSION_INFO "v0.2" #define TRANSPARENT_COLOR 0xF8 #define G...
/* BP: Entrenamiento de redes neuronales feedforward de 3 capas (entrada - oculta - salida). Algoritmo: Backpropagation estocastico. Capa intermedia con unidades sigmoideas. Salidas con unidades lineales. PMG - Ultima revision: 18/02/2002 */ #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h>...
/* $Id$ */ /* * Copyright (c) 2019 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
#include "pch.h" #include <microratchet.h> #include <stdlib.h> #include <string.h> #include <openssl/crypto.h> #include <openssl/aes.h> #define POLY1305_BLOCK_SIZE 16 #define POLY1305_DIGEST_SIZE 16 #define POLY1305_KEY_SIZE 32 typedef struct poly1305_context POLY1305; typedef void (*poly1305_blocks_f) (void* c...
/*- * Copyright (c) 2007, 2008 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list...
/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ /*...
/* * Copyright (c) 2016 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
/*- * BSD LICENSE * * Copyright(c) 2010-2015 Intel Corporation. All rights reserved. * 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 cod...
#include "general.h" #include "parser.h" #include "functions.h" #include "compute.h" #include "arb.h" int isLocalVariableStatement(const char* eq) { int i = -1; int isFirstChar = true; while(eq[++i] != '\0') { char ch = eq[i]; if(ch == '=') { if(isFirstChar) return 0; ...
/* $OpenBSD: netbsd_syscallargs.h,v 1.23 2004/01/14 05:26:56 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. * created from; OpenBSD: syscalls.master,v 1.21 2004/01/14 05:23:25 tedu Exp */ #ifdef syscallarg #undef syscallarg #endif #define syscallarg(x) ...
/* * Copyright (c) 2007, 2008 University of Tsukuba * 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 ...
/****************************************** * Communicate with a Gosp server process * * * * By <NAME> <<EMAIL>> * ******************************************/ #include "gosp.h" /* Send a string to the socket. Log a message and return GOSP_STATUS_FAIL on * error. */ #defin...
/* * 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...
/* * Greybus Simulator * * Copyright 2015 Google Inc. * Copyright 2015 Linaro Ltd. * * Provided under the three clause BSD license found in the LICENSE file. */ #define _GNU_SOURCE #include <errno.h> #include <fcntl.h> #include <libsoc_gpio.h> #include <linux/fs.h> #include <pthread.h> #include <stdbool.h> #inc...
/******************************************************* Copyright (C) 1995 <NAME> All rights reserved This file is part of yaehmop. 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 r...
/* Definitions of target machine for GNU compiler. SONY NEWS-OS 4 version. Copyright (C) 1987, 1989, 1993, 1994, 1996, 1997, 1998, 1999 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 License...
///////////////////////////////////////////////////////////////////////////////////// // // // phitsmcpl : Code for converting between MCPL and binary PHITS dump files. // // ...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * File: TempControlExperimentTest.c * * Code generated for Simulink model 'TempControlExperimentTest'. * * Mo...
/* ==== PERVASIVE REALS ==== * * Copyright 2013 Ravenbrook Limited <http://www.ravenbrook.com/>. * 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 sou...
#include "../common/gba.h" #include "assets.h" Sprite* goalUISprites[] = {&goalUI1Sprite, &goalUI2Sprite, &goalUI3Sprite, &goalUI4Sprite}; static inline void set_sprite_memory(Sprite sprite, volatile uint16* memory){ int memSize = (sprite.height * sprite.width) / 4; for(int i = 0; i < memSize; i++){ uint16 mem =...
/***************************************************************************** * * PidParam.c * * Copyright (c) 1999 Microsoft Corporation. All Rights Reserved. * * Abstract: * * Download PID parameter block(s) . * ****************************************************************************...
/* load PDF with libpoppler * * 7/2/16 * - from openslideload.c * 12/5/16 * - add @n ... number of pages to load */ /* This file is part of VIPS. VIPS 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 Fr...
/* * Calcurse - text-based organizer * * Copyright (c) 2004-2022 calcurse Development Team <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of sourc...
/* * Ogg bitstream support * <NAME> <<EMAIL>> * Based on tcvp implementation */ /* 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 ...
/* Mapping table for CP737. Copyright (C) 1998, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by <NAME> <<EMAIL>>, 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as p...
/**************************************************************************** ** CUBE http://www.scalasca.org/ ** ***************************************************************************** ** Copyright (c) 1998-2016 ** ** Fors...
/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this ...
/** * Copyright (c) 2012 - 2017, 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,...
/* Naval Observatory Vector Astrometry Software (NOVAS) C Edition, Version 3.1 solsys3.c: Self-contained Sun-Earth ephemeris U. S. Naval Observatory Astronomical Applications Dept. Washington, DC http://www.usno.navy.mil/USNO/astronomical-applications */ #ifndef _NOVAS_ #include "...
/* GStreamer base utils library plugin install support for applications * Copyright (C) 2007 <NAME> <tim centricular net> * Copyright (C) 2006 <NAME> <desrt desrt ca> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publis...
/* ------------------------------------------------------------------------------- Copyright (C) 1999-2006 Id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or modify it und...
/* sensord - Sensor Interface for XCSoar Glide Computer - http://www.openvario.org/ Copyright (C) 2014 The openvario project A detailed list of copyright holders can be found in the file "AUTHORS" This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gen...
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "FANSACTwoWayDataLinkCommunications" * found in "fans-cpdlc.asn1" * `asn1c -fcompound-names -fincludes-quoted -gen-PER` */ #include "FANSATCUplinkMessage.h" static asn_TYPE_member_t asn_MBR_FANSATCUplinkMessage_1[] = { { ATF_NOFLAGS...
/* QLogic qede NIC Driver * Copyright (c) 2015 QLogic Corporation * * This software is available under the terms of the GNU General Public License * (GPL) Version 2, available from the file COPYING in the main directory of * this source tree. */ #include <linux/version.h> #include <linux/types.h> #include <linux/netde...
#include "fixPCOpcode.h" //这里的代码建议看文章:《Android Inline Hook中的指令修复详解》(https://gtoad.github.io/2018/07/13/Android-Inline-Hook-Fix/) enum INSTRUCTION_TYPE { // BLX <label> BLX_ARM, // BL <label> BL_ARM, // B <label> B_ARM, // <Add by GToad> // B <label> BEQ_ARM, // B <label> BNE_ARM, // B <label> BCS_ARM,...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
#include <stdio.h> #include <stdlib.h> #include "cuda_runtime.h" #include "cuComplex.h" // Macro to catch CUDA errors in CUDA runtime calls #define CUDA_SAFE_CALL(call) \ do { \ cudaError_t err = call; ...
/*************************************************************************** * Copyright (C) 2005 to 2014 by <NAME> * * email: <EMAIL> * * * * This program is free software; you can r...
//===--------- libm/libm-nvptx.c ------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------------...
#include "memory.h" #include <math.h> typedef struct { float x; float y; float r; unsigned char type; unsigned char flags; unsigned short eatenBy; float age; float boostX; float boostY; float boost; } Cell; typedef struct { float x; float y; float hw; float hh; ...
/* * Copyright 2021 The UAPKI Project Authors. * Copyright 2016 PrivatBank IT <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright...
// This file is free software, distributed under the BSD license. #include "hack.h" #include "extern.h" enum { NOINVSYM = '#' }; static int lastinvnr = 51; // 0 ... 51 static void assigninvlet(struct obj *); static char *xprname(struct obj *, char); static void assigninvlet(struct obj *otmp) { bool inuse[52]; ...
/*CODE_BLOCK_BEGIN[UART001.c]*/ /****************************************************************************** Copyright (c) 2011, Infineon Technologies AG ** All rights reserved. ** ...
/* salsa20.c - Bernstein's Salsa20 cipher * Copyright (C) 2012 <NAME>, <NAME> * Copyright (C) 2013 g10 Code GmbH * * This file is part of Libgcrypt. * * Libgcrypt 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 So...
/* zchkpt.f -- translated by f2c (version 20061008). 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 end of...
/*******************************************/ /* Threaded Atomistic Configuration Viewer */ /* */ /* Fri Mar 31 2000 <NAME> <<EMAIL>> */ /*******************************************/ #include "A.h" #ifdef USE_P3D # include "p3dp.h" #endif int temporary_disable_bond = 0; /*...
/* This file is part of SAIL (https://github.com/smoked-herring/sail) Copyright (c) 2020 <NAME> The MIT License 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...
/* * 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. */ /*---------------------------------------------------------------------------...