text
stringlengths
5.8k
28.2k
#include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_argenta_log.h> #include <nginx.h> #include <ngx_stream.h> #include <sys/param.h> #include <fcntl.h> #include <assert.h> static char *ngx_argenta_log_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); static char *ngx_argenta_ngx_log...
/*===-------------------------------------------------------------------------- * ROCm Device Libraries * * This file is distributed under the University of Illinois Open Source * License. See LICENSE.TXT for details. *===------------------------------------------------------------------------*/ ...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Monkey HTTP Server * ================== * Copyright 2001-2017 <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 ob...
/* * Copyright © 2014 Broadcom * * 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, dis...
/* Copyright 2011 Google Inc. 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. 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 ...
/**************************************************************************** ** ** Copyright (C) 2015 Intel Corporation ** ** 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 restrict...
#include <stdint.h> #include "include/uart.h" #include "include/gpio.h" #include "include/sd.h" #include "include/delays.h" #define EMMC_ARG2 ((volatile uint32_t*)(MMIO_BASE+0x00300000)) #define EMMC_BLKSIZECNT ((volatile uint32_t*)(MMIO_BASE+0x00300004)) #define EMMC_ARG1 ((volatile uint32_t*)...
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. 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 t...
#include "common.h" static void print_help(char *argv) { END("%s -f <edge_file> [-o <output_file>] [-s <random_seed>] \ [-n <num_calculations>] [-w <max_temperature>] [-c <min_temperature>] \ [-g <gruops>] [-v <add vertexes>] [-B] [-D] [-H] [-L] [-M] [-N] [-O] [-h]\n", argv); } static void set_args(const int argc, ...
/***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * ...
/* * Recreate packet stream recorded with rtpdump -f dump. * Usage: * -v verbose * -T use absolute time rather than RTP timestamps * -f file to read * -b begin time * -e end time * -s local binding port * -p [file] profile of RTP PT to frequency mappings * destination/po...
/**************************************************************** * Copyright (C) 2014 mdm * * map[dot]plus[dot]plus[dot]help[at]gmail * * * * Licensed to the Apache Software Foundation (ASF) unde...
/* * 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 Semihalf, <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...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/arch/device.h" #include "sw/device/lib/base/mmio.h" #include "sw/device/lib/dif/dif_kmac.h" #include "sw/device/lib/runtime/log.h" #include "sw/d...
// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright (c) 2018 Hisilicon Limited. */ #include <rdma/ib_umem.h> #include <rdma/hns-abi.h> #include "hns_roce_device.h" #include "hns_roce_cmd.h" #include "hns_roce_hem.h" void hns_roce_srq_event(struct hns_roce_dev *hr_dev, u32 srqn, int event_type) { str...
/* SPDX-License-Identifier: Apache-2.0 * Copyright(c) 2017 Intel Corporation */ #include <stdio.h> #include <stdlib.h> #include <rte_lcore.h> #include <rte_per_lcore.h> #include <rte_debug.h> #include <rte_ether.h> #include <rte_ethdev.h> #include <rte_ring.h> #include <rte_mempool.h> #include <rte_mbuf.h> #include...
/************************************************************************** * * Copyright 2007 VMware, Inc. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software wit...
#include "main.h" void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_SPI1_Init(void); /* USER CODE BEGIN 0 */ #include "Nokia5110_LCD.h" #include "Images.h" #define ARRAY_SIZE(array) (sizeof((array)) / sizeof(unsigned char)) // Custom Characters for TEST 9 Custom Character const unsigne...
/* Splat Graphics Library Copyright (C) 2014 <NAME> <<EMAIL>> http://digitalbytes.net/projects/splatgl/ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted t...
/* * linux/fs/hfs/file.c * * Copyright (C) 1995, 1996 <NAME> * This file may be distributed under the terms of the GNU General Public License. * * This file contains the file-related functions which are independent of * which scheme is being used to represent forks. * * Based on the minix file system code, (C...
/* keyboard.c - Functions to initialize and handle keyboard interrupts * vim:ts=4 noexpandtab */ #include "keyboard.h" #include "pit.h" #include "lib.h" #include "i8259.h" #include "term_driver.h" #include "term_switch.h" /* maps keycode to ASCII character code */ char keymap[NUM_ASCII] = { '\0', '\0' /*0x01: es...
/* ---------------------------------------------------------------------- sjpcm_irx.c - SjPCM IOP-side code. (c) <NAME> (aka Sjeep), 2002 ---------------------------------------------------------------------- This library is free software; you can redistribute it and/or modify it under the terms of...
/** * * @file testing_dposv.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author <NAME>, <NAME> * @date 2010-11-15 * @generated d Tue Jan 7 11:45:18 2014 * **/ #include <stdl...
/*- * Copyright (c) 2003-2009 RMI 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 o...
/* * Copyright (c) 2014, ARM Limited and Contributors. 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 o...
/*- * Copyright (c) 2011 The FreeBSD Foundation * All rights reserved. * * Developed by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abo...
/* ** Copyright 1995-2095, Silicon Graphics, Inc. ** All Rights Reserved. ** ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.; ** the contents of this file may not be disclosed to third parties, copied or ** duplicated in any form, in whole or in part, without the prior written ** permis...
#include <stdlib.h> #define THIS_IS_MAIN #include "fh.h" int species_number; long power(short tonnage); char input_line[128]; /* Not actually used. */ struct galaxy_data galaxy; struct planet_data * planet, *home_planet; struct species_data *species; struct nampla_data * nampla_base,...
/* -*- C -*- */ /* * Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates * * 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...
//-----------------------BEGIN NOTICE -- DO NOT EDIT----------------------- // NASA Goddard Space Flight Center // Land Information System Framework (LISF) // Version 7.3 // // Copyright (c) 2020 United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. // All...
/** * @file * * @author <EMAIL> * * Copyright (c) 2015 Battelle Memorial Institute. */ #include "config.h" #include <stdint.h> #include <stdlib.h> #include <immintrin.h> #include "parasail.h" #include "parasail/memory.h" #include "parasail/internal_avx.h" #define NEG_INF (INT16_MIN/(int16_t)(2)) #if HAVE_AVX...
/* This is a small demo of the NetX SNTP Client on the high-performance NetX TCP/IP stack. This demo relies on Thread, NetX and NetX SNTP Client API to execute the Simple Network Time Protocol in unicast and broadcast modes. */ #include <stdio.h> #include "nx_api.h" #include "nx_ip.h" #include "nxd_sn...
/**************************************************************************** Author/Copyright: <NAME> Address: Institute of Geodesy and Photogrammetry ETH - Hoenggerberg CH - 8093 Zurich Creation Date: end of 97 Description: different drawing function to interact with Tcl/Tk ...
/* GELL 15.26: include file for the module: "x11struct" */ /* translation done: "Tue Aug 24 93 10:48:35 " */ /* impure LLM3 predefined */ extern Ptr GIdlink, GIllink, GIfcons, GIevalst; /* LLM3 functions */ extern Ptr GXunbind7(), GXunbind5(), GXunbind3(), GXunbind1(); extern Ptr ...
/******************************Module*Header*******************************\ * Module Name: gentex.c * * The Textured Flag style of the 3D Flying Objects screen saver. * * Texture maps .BMP files onto a simulation of a flag waving in the breeze. * * Copyright (c) 1994 Microsoft Corporation * \*****************...
#include "../gfx/renderer.h" #include "../state.h" #include "sky.h" // sun(rise/set) time in ticks #define SUN_CHANGE_TICKS (45 * TICKRATE) #define HALF_SUN_CHANGE_TICKS (SUN_CHANGE_TICKS / 2) enum SkyPlanes { SKY_PLANE = 0, FOG_PLANE, VOID_PLANE }; // sky colors corresponding to [SkyState][SkyPlane] const vec4s...
/* Hot-tux * Copyright (C) 2016 <NAME> <<EMAIL>> * Hot-babe * Copyright (C) 2002 DindinX <<EMAIL>> * Copyright (C) 2002 <NAME>. * * This program is free software; you can redistribute it and/or modify * it under the terms of the artistic License * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR ...
#include "common/bvh.h" #include <assert.h> #include <float.h> #include "common/log.h" static void _update_aabb(golf_bvh_aabb_t *aabb, vec3 p) { if (p.x < aabb->min.x) aabb->min.x = p.x; if (p.y < aabb->min.y) aabb->min.y = p.y; if (p.z < aabb->min.z) aabb->min.z = p.z; if (p.x > aabb->max.x) aabb->m...
/****************************************************************************** @{ @file EC.c @brief EC measurement of water quality. @par Revision History: @version V0.2 @author ADI @date Feb 2020 @par Revision History: - V0.2, Feb 27th 2020: initial version. Description: -- For EC (electical ...
/*! \file 3d chamfer distance transform. For each background voxel, the length of the shortest 3D path to the nearest foreground voxel is computed. The chamfer distance metric is an approximation to the Euclidian distance. \par References: <NAME> (1984). "Distance Transforms in arbitrary dimensions", CVGIP 27, pp.321...
// // Athena style config parser // (would be better to have "one" implementation instead of .. 4 :) // // // Author: <NAME> <<EMAIL>> // // Copyright (c) RAthena Project (www.rathena.org) - Licensed under GNU GPL // For more information, see LICENCE in the main folder // #include <stdio.h> #include <stdlib.h> #in...
/* * Copyright (c) 2012 The Linux Foundation. All rights reserved. * Source : APQ8064 LK boot * * Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
/*This file implements MTK boot mode.*/ #include <sys/types.h> #include <stdlib.h> #include <string.h> #include <debug.h> #include <err.h> #include <reg.h> #include <env.h> #include <video.h> #include <platform/mt_typedefs.h> #include <platform/boot_mode.h> #include <platform/mt_reg_base.h> #include <platform/mtk_key...
/* asmopcod.h -- include file for microsoft 80x86 assembler ** ** microsoft (r) macro assembler ** copyright (c) microsoft corp 1986. all rights reserved ** ** <NAME> */ #define IMUL3 0x69 /* 3 argument integer multiply */ #define ARITHBASE 0xF6 /* base opcode for arithmetic opcodes */ /* base opcode for all instru...
/***************************************************************************/ /* read_ALOSE_data reads an ERSDAC ALOS file containing raw signal data */ /* and creates a raw-file and PRM-file suitable for our esarp processor. */ /* The program skips the first 16252 bytes of the .raw file but copies the */ /* remai...
/* * ----------------------------------------------------------------- * $Revision: 855 $ * $Date: 2005-02-10 00:15:46 +0100 (Thu, 10 Feb 2005) $ * ----------------------------------------------------------------- * Programmers: <NAME>, and <NAME> @ LLNL * --------------------------------------------------------...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <rte_eal.h> #include <rte_ethdev.h> #include <rte_ether.h> #include <rte_string_fns.h> #include <rte_common.h> #include <rte_mbuf.h> #include <rte_mempool.h> #include "dkfw_config.h" #include "dkfw_intf.h" static DKFW_INTF g_dkfw...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* kdc/kdc_transit.c */ /* * Copyright (C) 2012 by the Massachusetts Institute of Technology. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/**** listshell.c ****/ /**** formatted with 4-column tabs ****/ /********************************************************************** * Copyright (c) 1991 - 1996 Iris Computing Laboratories. * * This software is provided for demonstration purposes only. As * freely-distributed, modifiable source code, this sof...
/*! \file src/approximation/haz_aaa.c * * Created by <NAME>, <NAME>, and <NAME> on 20170715. * Copyright 2017__HAZMATH__. All rights reserved. * * \note containing programs for the AAA algorithm for rational approximation * * \note See: <NAME>, <NAME>, and <NAME>. * Trefethen. The AAA algorith...
/**************************************************************************** ** ** Copyright (C) 2015 Stiftung Secure Information and ** Communication Technologies SIC and ** Graz University of Technology ** Contact: http://opensource.iaik.tugraz.at ** ** ** Commercial License Usa...
#include "lib9.h" #include "image.h" #include "tk.h" #define O(t, e) ((long)(&((t*)0)->e)) /* * Here are some conventions about our Tk widgets. * * When a widget is packed, its act geom record is * set so that act.{x,y} is the vector from the containing * widget's origin to the position of this widget. The po...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <gtk/gtk.h> #include <ctype.h> #include "bt/inc/btree.h" #define WORD_MAX_LEN 200 #define MEAN_MAX_LEN 40000 #define LINE_MAX_LEN 40000 // Khai báo các con trỏ cho các widget GtkComboBoxText *comboBoxText; GtkTextView *meaningView; GtkDialog *dialogA...
#pragma once #include "can_msg_defs.h" #include "can_pack_impl.h" #define CAN_PACK_BPS_HEARTBEAT(msg_ptr, status_u8) \ can_pack_impl_u8((msg_ptr), SYSTEM_CAN_DEVICE_BMS_CARRIER, SYSTEM_CAN_MESSAGE_BPS_HEARTBEAT, 1, \ (status_u8), CAN_PACK_IMPL_EMPTY,...
/* testtooltips.c: Test application for GTK+ >= 2.12 tooltips code * * Copyright (C) 2006-2007 Imendio AB * Contact: <NAME> <<EMAIL>> * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. * * This wor...
#include <errno.h> #include <assert.h> #include <sys/epoll.h> #include <sys/signalfd.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <arpa/inet.h> #include <netdb.h> #include <string.h> #include <nanomsg/nn.h> #include <nanomsg/pipeline.h> #include <nanomsg/reqrep.h> #include ...
#include <stddef.h> #include <stdint.h> #include "params.h" #include "rejsample.h" #include "indcpa.h" #include "poly.h" #include "polyvec.h" #include "randombytes.h" #include "neon_ntt.h" #include "symmetric.h" /************************************************* * Name: pack_pk * * Description: Serialize the pu...
/* * Nextion_HMI.c * * Created on: Jan 19, 2021 * Author: <NAME> */ #include "Nextion_HMI.h" ///Container for the Nextion objects (components) static Nextion_Object_t *Nextion_Object_List[NEX_MAX_OBJECTS]; static uint16_t Nextion_Object_Count = 0; //CMSIS_RTOS components const osThreadAttr_t hmiObjectTask...
/* * VIDIX driver for SuperH Mobile VEU hardware block. * Copyright (C) 2008, 2009 <NAME> * * Requires a kernel that exposes the VEU hardware block to user space * using UIO. Available in upstream linux-2.6.27 or later. * * Tested using WVGA and QVGA panels with sh7722 VEU and sh7723 VEU2H. * * This file is pa...
/** Copyright (c) 2017, The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions an...
#include <ais/ais_decode.h> #include <ais/ais_demod.h> #include <ais/ais_msg_format.h> #include <tsl/safe_alloc.h> #include <tsl/errors.h> #include <tsl/diag.h> #include <tsl/assert.h> #include <string.h> struct ais_decode { struct ais_demod *demod; uint32_t freq; ais_decode_on_position_report_func_t on_...
/* See LICENSE file for license and copyright information */ #include <stdlib.h> #include <JavaScriptCore/JavaScript.h> #include "userscripts.h" #include <girara/datastructures.h> #include <girara/utils.h> #define USER_SCRIPT_HEADER ".*//.*(==UserScript==.*//.*==/UserScript==).*" #define USER_SCRIPT_VAR_VAL_PAIR "//...
/* * support/export/client.c * * Maintain list of nfsd clients. * * Copyright (C) 1995, 1996 <NAME> <<EMAIL>> */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <netdb.h> #in...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch 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 Found- * ation, either version 3 of the...
/* * Copyright (c) 2013-2019 Intel Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this so...
/* Routines for ImageEntry_Func Copyright (C) 2003 <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, mer...
/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */ /* * Copyright © 2011 Texas Instruments, 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 witho...
/* 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" static int16_t x42 = 10035; int64_t x55 = 66885967276393LL; int32_t t4 = 3429; static int16_t x350 = INT16_MIN...
// // main.c // libtest // // Created by jl777 on 8/13/14. // Copyright (c) 2014 jl777. MIT License. // #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <memory.h> #ifndef _WIN32 #include <arpa/inet.h> #endif #include <sys/time.h> //Miniupnp code for supernet by chanc3r #inc...
/* MIT License - Copyright 2021 - <NAME> aka Dreg - <EMAIL> - http://www.rootkit.es/ http://github.com/David-Reguera-Garcia-Dreg/therealdreg http://www.fr33project.org/ - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
/* u8g_logo.c >>> PLEASE UNCOMMENT DISPLAY TYPE IN THE MAIN PROCEDURE <<< ARM U8glib Example Universal 8bit Graphics Library Copyright (c) 2013, <EMAIL> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
/* * ISC License * * Copyright (C) 1984-2018 by * <NAME> * <NAME> * <NAME> * Delft University of Technology * * 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 appea...
/****************************************************************************** * * Name: skproc.c * Project: GEnesis, PCI Gigabit Ethernet Adapter * Version: $Revision: 1.1.1.2 $ * Date: $Date: 2003/10/14 08:08:27 $ * Purpose: Funktions to display statictic data * ****************************************...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1988 <NAME> **********/ /* Postscript driver */ #include "ngspice/ngspice.h" #include "ngspice/cpdefs.h" #include "ngspice/graph.h" #include "ngspice/ftedbgra.h" #include "ngspice/ftedev.h" #include "ngspice/fteinput.h...
// Bump mapping (normal mapping) example // Texture borrowed from here: // http://polycount.com/discussion/89636/free-textures-to-use-i-only-ask-one-thing #include <3ds.h> #include <citro3d.h> #include <tex3ds.h> #include <string.h> #include "vshader_shbin.h" #include "diffuse_t3x.h" #include "normal_t3x.h" #define C...
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an inter...
#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 <getopt.h> #include <unistd.h> #include <string.h> #include <xdc/std.h> #include <ti/sdo/ce/Engine.h> #include <ti/sdo/ce/CERuntime.h> #include <ti/sdo/dmai/Dmai.h> #include <ti/sdo/dmai/Ccv.h> #include <ti/sdo/dmai/Cpu.h> #include <ti/sdo/dmai/Time.h> #include <ti/sdo...
/* $OpenBSD: trap.c,v 1.13 1999/03/13 01:49:07 rahnds Exp $ */ /* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */ /* * Copyright (C) 1995, 1996 <NAME>. * Copyright (C) 1995, 1996 TooLs GmbH. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
/* testGMC() */ /* Rip_GMC() */ /* Depack_GMC() */ #include "globals.h" #include "extern.h" /* * 20100902 - some test enhancements - less fake */ int16_t testGMC ( void ) { /* test #1 */ if ( (PW_i<7) || ((PW_Start_Address+444)>PW_in_size) ) { /*printf ( "#1\n" );*/ return BAD; } PW_Start_Address = PW...
/* handlers_virtual_keyboard.h. This file is part of the SunDog engine. Copyright (C) 2002 - 2016 <NAME> <<EMAIL>> www.warmplace.ru */ //Modularity: 100% struct kbd_data { int mx, my; int selected_key; int shift; WINDOWPTR send_event_to; int result; }; #define XKEYS 14 #d...
/* * Copyright(c) 2019 Intel Corporation * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at https://www.aomedia.org/license/soft...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2016 STMicroelectronics * * Redistribution and...
/* BEGIN_ICS_COPYRIGHT7 **************************************** Copyright (c) 2015-2020, Intel Corporation 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 copyrig...
/* Copyright (C) 1998 <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope t...
#define _COMPILING_INTERRUPTS_MANAGER_ #include "kernel.h" #include <headers/x86.h> const char* hardware_exceptions[] = { "Divide Error", "Debug", "NMI Interrupt", "Breakpoint", "Overflow", "BOUND Range Exceeded", "Invalid Opcode", "Device Not Available", "Double Fault", "Coprocessor Segment Overrun", "Inv...
/* * main.c * * Created on: Mar 24, 2021 * Author: <NAME> */ #include <stdbool.h> #include "sleep.h" #include "stepper.h" #include "xgpio.h" //GPIO functions definitions #include "xil_cache.h" #include "xparameters.h" //DEVICE ID, UART BASEADDRESS, GPIO BASE ADDRESS definitions #include "xuartps.h" //UART d...
/* Library libcerf: * Compute complex error functions, based on a new implementation of * Faddeeva's w_of_z. Also provide Dawson and Voigt functions. * * File w_of_z.c: * Computation of Faddeeva's complex scaled error function, * w(z) = exp(-z^2) * erfc(-i*z), * nameless function (7.1.3) of Abramowi...
/* Copyright (C) 1997-2001 Id Software, Inc. Copyright (C) 2000-2002 Mr. Hyde and <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
#undef G_DISABLE_ASSERT #undef G_LOG_DOMAIN #ifdef GLIB_COMPILATION #undef GLIB_COMPILATION #endif #include "glib.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <locale.h> #include <time.h> gboolean failed = FALSE; guint32 passed = 0; guint32 notpassed = 0; #define TEST(m,cond) G_STMT_START...
/* * FreeRTOS V202107.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 restriction, including ...
/* tinytest.c -- Copyright 2009-2012 <NAME> * * 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 follow...
/* $FreeBSD: src/usr.sbin/rtadvd/rrenum.c,v 1.9 2004/03/10 08:46:39 bde Exp $ */ /* $KAME: rrenum.c,v 1.12 2002/06/10 19:59:47 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, a...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* $Xorg: xwd.c,v 1.5 2001/02/09 02:06:03 xorgcvs Exp $ */ /* Copyright 1987, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that ...
#include "cache.h" #include "pkt-line.h" #include "run-command.h" char packet_buffer[LARGE_PACKET_MAX]; static const char *packet_trace_prefix = "git"; static struct trace_key trace_packet = TRACE_KEY_INIT(PACKET); static struct trace_key trace_pack = TRACE_KEY_INIT(PACKFILE); void packet_trace_identity(const char *p...
/* * Copyright (c) 2018 <NAME>, <<EMAIL>> * * SPDX-License-Identifier: Apache-2.0 */ #include <errno.h> #include <i2c.h> #include <soc.h> #include <i2c_imx.h> #include <misc/util.h> #include <logging/log.h> LOG_MODULE_REGISTER(i2c_imx); #include "i2c-priv.h" #define DEV_CFG(dev) \ ((const struct i2c_imx_config...
#include <stdio.h> #include <stdint.h> /*#include <mpi.h>*/ #include <stdlib.h> #include <getopt.h> #include "XT_Main.h" #include "XT_Constants.h" #include "vfetmbir.h" #include <math.h> /*Function prototype definitions which will be defined later in the file.*/ void read_data (float **data_unflip_x, float **data_unfl...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdint.h> #include "goppa.h" // if sqrtzmod != NULL it is equal to sqrt(z) mod g(z) /** Initialize a goppa_t structure from the given parameters. */ goppa_t goppa_init(gfelt_t * L, poly_t g, int length, int degree, int order, poly_t sqrtzmod) { ...