text
stringlengths
7.55k
41.9k
/* * Proxy variables and functions. * * Copyright 2000-2009 <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; either version * 2 of the License, or (at your option) any ...
/* ** ################################################################### ** Compilers: ARM Compiler ** Freescale C/C++ for Embedded ARM ** GNU C Compiler ** IAR ANSI C/C++ Compiler for ARM ** ** Reference manual: K70...
#include "k_api.h" #include "stm32l4xx_hal.h" #include "irda.h" #include <stdlib.h> #include <string.h> extern TIM_HandleTypeDef htim1; extern TIM_HandleTypeDef htim16; extern TIM_HandleTypeDef htim17; #define IR_SIG_REVERSE /* in sec */ #define STUDY_TIME 12 #define SEND_TIME 4 #define FEATUR...
/* SKaMPI MPI-Benchmark Copyright 2003-2008 <NAME>, <NAME> Lehrstuhl Informatik fuer Naturwissenschaftler und Ingenieure Fakultaet fuer Informatik University of Karlsruhe This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as publis...
/* * NAME * predsat -- Predict Slowness, Azimuth and Travel-time bounds. * FILE * predsat.c * SYNOPSIS * Computes maximun and minimum bounds on the travel-time slowness, * and azimuth for a set of data (station-phase-datatype) based on * an event location, confidence ellipse and travel-time curves. ...
/* * Copyright 2019 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, m...
/* The MIT License (MIT) Copyright (c) 2016-2019 <NAME>, Shift Cryptosecurity 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 t...
/* * 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...
/****************************************************************************** * INCLUDES *****************************************************************************/ #include "base.h" #include "mttkrp.h" #include "timer.h" #include "thd_info.h" #include "reorder.h" #include "sort.h" #include "io.h" #include "tile...
/* * Copyright (c) 1998-2001 * University of Southern California/Information Sciences Institute. * 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 ...
/* * Copyright (c) 2018 <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 of con...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
/* Copyright (C) 2002, <NAME> */ #include<unistd.h> #include<stdarg.h> #include<math.h> #include<stdlib.h> #include<stdio.h> #include "interface.h" #include "cut.h" #include "4_vector.h" #include "q_kin.h" #include "regul.h" #include "runVegas.h" #include "rw_sess.h" #include "subproc.h" #include "vegas.h" #include ...
/* $OpenBSD: nofnreg.h,v 1.5 2002/05/16 22:52:17 jason Exp $ */ /* * Copyright (c) 2002 <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 co...
/* * Copyright (C) 2019 BlueKitchen GmbH * * 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 follo...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
/* * Copyright (c) 2007-2011 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * c...
/* ACVP Proxy application * * Copyright (C) 2018 - 2021, <NAME> <<EMAIL>> * * License: see LICENSE file in root directory * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPO...
/* superstrip - strip an ELF executable of all unmapped information */ /* Written by <NAME> <<EMAIL>> */ /* Modified by <NAME> <<EMAIL>> for use with skalibs */ /* First version: 2002-09-03 */ /* This version: 2011-06-28 */ /* This file is in the Public Domain -- David Madore */ /* However, I kindly request tha...
/* * Copyright (c) 2011-2014 UT-Battelle, LLC. All rights reserved. * Copyright (c) 2011-2014 Oak Ridge National Labs. All rights reserved. * * See COPYING in top-level directory * * Copyright © 2012 Inria. All rights reserved. * $COPYRIGHT$ * */ #include <stdio.h> #include <string.h> #include <strings.h> ...
/* BEGIN_ICS_COPYRIGHT2 **************************************** 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) 2001 <NAME>, <NAME>, <NAME> * <NAME>, <NAME>, <NAME> * Copyright (c) 2002, 2003 <NAME> * Copyright (c) 2008 <NAME> * Copyright (c) 2008 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
/* regMotif.c - stuff for displaying details of regulatory * motifs and the like. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "dnaseq.h" #include "jksql.h" #include "hCommo...
/* Copyright (c) 2019-2022 <NAME> 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 to anyone to use this software for any purpose, including commercial applications, and ...
/* Copyright (C) 1996-1997 Id Software, Inc. 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 th...
/* Copyright (c) 2018-2019 <NAME> (<EMAIL>) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
#include "updi.h" #include "ihex.h" #include "log.h" #include <stdlib.h> #include <string.h> #include <unistd.h> #include <termios.h> #include <sys/types.h> #include <fcntl.h> static device_t *_dev = 0; static bool _prog_mode = false; static int _fd = -1; static uint16_t crc16(uint8_t byte, uint16_t crc) ...
/* * FILE: testcard.c * AUTHOR: <NAME> <<EMAIL> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright (c) 2...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <stdbool.h> void create(float []); void down_adjust(float [],int); int my_comparator(const void*, const void*, int); int my_comparator(const void* a, const void* b, int n) { double da = ((double*)a...
/*. * h264bitstream - a library for reading and writing H.264 video * Copyright (C) 2005-2007 Auroras Entertainment, LLC *. * Written by <NAME> <<EMAIL>> * Modified by <NAME> <<EMAIL>> *. * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include "blobsBack.h" typedef enum {CMD_START, CMD_MOVE, CMD_SAVE, CMD_QUIT, CMD_RESET} getCmdState; typedef enum {EAT, MOVE} mapType; void generate(typeBoard * board){ // Genera el tablero estándar int i,j; for( i = 0 ; i < board->h; i++){ ...
#include <stdint.h> #include <stdbool.h> #include <intrin.h> #define UNICODE #include <Windows.h> #undef UNICODE #include <d3d11_1.h> #include <d3dcompiler.h> #if defined(_MSC_VER) && !defined(__clang__) #define REAL_MSVC #endif // msvc does not properly support restrict #ifdef REAL_MSVC #define restrict __restrict...
#include <stdlib.h> #include <string.h> #include <assert.h> #include "kthread.h" #include "kvec.h" #include "kalloc.h" #include "sdust.h" #include "mmpriv.h" #include "bseq.h" void mm_mapopt_init(mm_mapopt_t *opt) { memset(opt, 0, sizeof(mm_mapopt_t)); opt->max_occ_frac = 1e-5f; opt->mid_occ_frac = 2e-4f; opt->sdu...
#include <stdio.h> #include "../test-lib.h" #include "test-abi.h" // These functions are called from test-abi-function-caller.c void accept_spf(struct spf spf) { assert_float(1.1, spf.f1, "accept_spf"); } void accept_spd(struct spd spd) { assert_double(2.1, spd.d1, "accept_spd"); } void accept_spdf(struct spdf spdf)...
/* * Tool zur Registerbelegung */ #include <stdlib.h> #include <stdio.h> #include "reg.h" #include "debug.h" #include "tools.h" #include "list.h" #include "vlist.h" #define REG_ANZ 8 #define MAX_FPARAM 6 char *phreg_names[] ={"%rdi","%rsi","%rdx","%rcx","%r8", "%r9", "%r10", "%r11" }; char *phr...
#include "tpd_custom_generic.h" #include "tpd.h" #include <linux/delay.h> #include "tpd_adc.h" #include "mach/mt_clkmgr.h" #include <linux/interrupt.h> //#define MT6585_FPGA extern struct tpd_device *tpd; extern int tpd_register_flag; int tpd_intr_status = 0; int tpd_suspend_flag = 0; int tpd_event_status = 0; // de...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <stdint.h> #include "bootstrap.h" #define DESTINATION_SEGMENT 0x1000 #define DEFAULT_DISK_LABEL "Booterify" unsigned char payload[0x10000]; // EXE header fields #define SIG 0 #define LAST_PAGE_SIZE 1 #define FILE_PAGES 2 ...
#include <hal/simd.h> #include <math.h> #define c_inv_mant_mask ~0x7f800000u #define c_cephes_SQRTHF 0.707106781186547524 #define c_cephes_log_p0 7.0376836292E-2 #define c_cephes_log_p1 -1.1514610310E-1 #define c_cephes_log_p2 1.1676998740E-1 #define c_cephes_log_p3 -1.2420140846E-1 #define c_cephes_log_p4 +1.42493227...
/* * Copyright (c) 2008, ETH Zurich. All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. */ /* * e1000.c * * Created on: Fe...
/*! \file bcmbd_cmicx_intr.c * * CMICx interrupt handler framework. */ /* * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to * Broadcom Limited and/or its subsidiaries. * * Broadcom Switch Software License * * This license governs the use of the accompanying Broadcom software. Your ...
/* * testgen.c * <NAME> * * Compile: gcc -g -O2 -Wall -o testgen testgen.c -lm -lgsl -lcblas -latlas * * Usage: testgen [options] * * -i : incremental matrices * -z : compute Schur vectors and test them * -n size : size of matrices * -l lower-bound : lower bound for matrix elem...
#include <arpa/inet.h> #include <dirent.h> #include <fcntl.h> #include <errno.h> #include <math.h> #include <netinet/in.h> #include <netdb.h> #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> #include ...
/* * Interplay MVE File Demuxer * Copyright (c) 2003 The FFmpeg project * * This file is part of FFmpeg. * * FFmpeg 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 L...
/* crypto/bn/bn_mont.c */ /* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME> (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as *...
/*------------------------------------------------------------------------- * * sinvaladt.c * POSTGRES shared cache invalidation data manager. * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION ...
/* * @HEADER * * *********************************************************************** * * Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring * Copyright 2012 Sandia Corporation * * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, * the U.S. Governm...
#include "config.h" #include "broadcasters.h" #include "ble.h" #include "ble_utils.h" #include "log.h" #include "mqtt.h" #include "ota.h" #include "resolve.h" #include "wifi.h" #include <esp_err.h> #include <esp_log.h> #include <esp_system.h> #include <nvs.h> #include <nvs_flash.h> #include <mdns.h> #include <freertos/...
/* Proxy shell designed for use with Emacs on Windows 95 and NT. Copyright (C) 1997, 2001-2018 Free Software Foundation, Inc. Accepts subset of Unix sh(1) command-line options, for compatibility with elisp code written for Unix. When possible, executes external programs directly (a common use of /bin/sh b...
#include "piclib.h" #include "gif.h" #include "ff.h" #include "delay.h" ////////////////////////////////////////////////////////////////////////////////// //本程序只供学习使用,未经作者许可,不得用于其它任何用途 //ALIENTEK战舰STM32开发板V3 //图片解码 驱动代码-gif解码部分 //正点原子@ALIENTEK //技术论坛:www.openedv.com //创建日期:2014/5/15 //版本:V1.0 //版权所有,盗版必究。 //Copyright(C...
/** \brief Vector Interrupt tables ** ** This file contains the vector interrupt tables ** **/ /** \addtogroup CIAA_Firmware CIAA Firmware ** @{ */ /** \addtogroup Vector Vector interrupt tables ** @{ */ /* * Initials Name * --------------------------- * */ /* * modification history (new versions fi...
/* $OpenBSD: engine.c,v 1.69 2020/01/26 12:41:21 espie Exp $ */ /* * Copyright (c) 2012 <NAME>. * * Extensive code modifications for the OpenBSD project. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Re...
/* * Some of the stuff in this file is not X-dependent and should be elsewhere. */ #include <u.h> #include "x11-inc.h" #include <libc.h> #include <draw.h> #include <memdraw.h> #include <keyboard.h> #include <mouse.h> #include <cursor.h> #include "x11-memdraw.h" #include "devdraw.h" static void plan9cmap(void); stati...
/* * **************************************************************************** * Copyright (c) 2013-2021, PyInstaller Development Team. * * Distributed under the terms of the GNU General Public License (version 2 * or later) with exception for distributing the bootloader. * * The full license is in the file C...
/* * Arm SCP/MCP Software * Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Description: * N1SDP I2C Driver */ #include "n1sdp_core.h" #include <internal/n1sdp_i2c.h> #include <mod_n1sdp_i2c.h> #include <fwk_assert.h> #include <fw...
/* PR c/77531 - __attribute__((alloc_size(1,2))) could also warn on multiplication overflow PR c/78284 - warn on malloc with very large arguments Test exercising the ability to detect and diagnose calls to allocation functions decorated with attribute alloc_size that either overflow or exceed the default...
/* Copyright (C) 2019-2020 JingWeiZhangHuai <<EMAIL>> Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
/* ! Program Particles ! mimics the behaviour of a system of particles affected by mutual forces ! ! Final application of the Course "Parallel Computing using MPI and OpenMP" ! ! This program is meant to be used by course participants for demonstrating ! the abilities acquired in optimi...
/* Copyright (C) 2008, 2009 <NAME>. This file is part of the Kate codec library. Written by <NAME>. Use, distribution and reproduction of this library is governed by a BSD style source license included with this source in the file 'COPYING'. Please read these terms before distributing. */ #ifdef HAVE_...
/* * Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/* * Copyright (c) 2009, <NAME> * Copyright (c) 2008, SWITCH - Teleinformatikdienste fuer Lehre und Forschung * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributi...
/** This is an AST interpreter with no memory management whatsoever. It is meant as a base for a just for fun experiment to write a baker garbage collector. - Right now we just allocate and never free. - The code is ugly as hell. - Not covered by any test cases. **/ #include <stdint.h> #include <stdbool.h> #include ...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it * unde...
/* * (C) Copyright 2013 Kurento (http://kurento.org/) * * 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 applicab...
/* * bpt.c */ #define Version "1.14" #include <aos/bptree.h> #include <assert.h> /* * * bpt: B+ Tree Implementation * Copyright (C) 2010-2016 <NAME> http://www.amittai.com * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
/* * Copyright (c) 2022 The Chromium OS Authors. * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/zephyr.h> #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/smf.h> #include <zephyr/drivers/usbc/usbc_tcpc.h> #include "board.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTE...
/* * Copyright (c) 2002 <NAME> <<EMAIL>> * Portions of this code derived from via82c686.c: * Copyright (c) 2000 <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. Re...
/* Copyright (C) 1998-2015 by <NAME> (<EMAIL>) */ #include "config.h" #include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <ctype.h>...
/**************************************************************************** * Driver for Solarflare Solarstorm network controllers and boards * Copyright 2006-2011 Solarflare Communications Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publi...
// ------------------------------------------------------------------ // codec_pbwt.c // Copyright (C) 2020-2021 Black Paw Ventures Limited // Please see terms and conditions in the file LICENSE.txt // The codec implements a modified version of the PBWT algorithm. The permutation logic is loosely based on the lo...
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * Specific register map for NPCX5 family of chips. * * Support chip variant: * - npcx5m5g * - npcx5m6g * * This header file should not be...
/* $Id$ */ /* Abstract: Process management. Responsible for starting and stopping processes and threads. */ /* Authors: <NAME> <<EMAIL>> <NAME> <<EMAIL>> */ /* Copyright 1999-2000 chaos development. */ /* Copyright 2007 chaos development. */ /* FIXME: Most of this should be put into the generic subdire...
/***************************************************************************//** * @file * @brief ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ***********************************************************...
/* * Device Driver for National Semiconductor LM78 */ #include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" #include "interp.h" #include <isa.h> #include "runt.h" enum { /* Define the memory locations, registers, * and bit patterns for the nslm78 c...
#define STRING_328 "CAAAAAAA" #define STRING_327 "BDDDAAAA" #define STRING_326 "BDDCAAAA" #define STRING_325 "BDDBAAAA" #define STRING_324 "BDDAAAAA" #define STRING_323 "BDCDAAAA" #define STRING_322 "BDCCAAAA" #define STRING_321 "BDCBAAAA" #define STRING_320 "BDCAAAAA" #define STRING_319 "BDBDAAAA"...
/* $OpenBSD: ti_iic.c,v 1.5 2016/06/26 07:25:05 jsg Exp $ */ /* $NetBSD: ti_iic.c,v 1.4 2013/04/25 13:04:27 rkujawa Exp $ */ /* * Copyright (c) 2013 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
//******************************************************************* //Author: <NAME> //Description: FLPv3S 6-Socket Testing //******************************************************************* #include "PRCv17.h" #include "FLPv3S.h" #include "FLPv3S_RF.h" #include "mbus.h" #define PRC_ADDR 0x1 #define FLP_ADDR ...
/********************************************************************************************************\ * DJI FreeRTOS TASK PART * * (c) Copyright 2015; Dji, Inc. * * All rights reserved. Protected by international copyright laws...
#include <math.h> #if !defined(M_PI) # define M_PI 3.14159265358979323846 #endif #include <stdio.h> #include "lpclib.h" #include "sys.h" #include "imetprivate.h" #include "bsp.h" #if (BOARD_RA == 2) #include "usbuser_config.h" #endif #define UART_BUFFER_SIZE 64 #define IMET_UART_BAUDRATE ...
#include "gui/line.h" #include "gui/map.h" #include "gui/rect.h" #include "gui/text.h" #include "window.h" #include <hammer/error.h> #include <hammer/time.h> #include <hammer/vector.h> #define MAX_TEXT_INPUT_LEN 64 struct frame { struct gui_text_frame gui_text_frame; struct gui_rect_frame gui_rect_frame; struct gu...
#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...
/* * Sun6i platform dram controller init. * * (C) Copyright 2007-2012 * Allwinner Technology Co., Ltd. <www.allwinnertech.com> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * (C) Copyright 2014 <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <errno.h> #include <asm/io.h> #inc...
/* gbmbpp.c - Change bits per pixel in a General Bitmap */ /*...sincludes:0:*/ #include <stdio.h> #include <ctype.h> #include <string.h> #include <stddef.h> #include <stdlib.h> #include <stdarg.h> #if defined(AIX) || defined(LINUX) || defined(MAC) #include <unistd.h> #else #include <io.h> #endif #include <fcntl.h> #...
/* * Main GUI screen related functions, callbacks and event handlers * * Copyright 2020 <NAME> * * This file is part of life. * * life 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 3 ...
/* Copyright (c) 2017-2018 ARM Limited * * SPDX-License-Identifier: Apache-2.0 * * 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 * *...
/* * SPDX-License-Identifier: BSD-2-Clause * * Copyright 2012-2021 SUSE LLC * * 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, thi...
// porres 2021-2022 #include "m_pd.h" #include <stdlib.h> #include <string.h> #include "g_canvas.h" #define DEFNTICKS 960 #define MAX_N 10 #define MAX_SIZE 40 typedef struct _metronome{ t_object x_obj; // t_int x_dir; t_clock *x_clock; t_symbol *x_sig; t_symbol *x_s_...
/*============================================================================== * mmc.c - Linksys WRT54G/WRT54GS/WRT54GL hardware mod - MMHC/SDHC card driver * * Version: 2.0.1 * * Authors: * * Madsuk/Rohde/<NAME>/<NAME>/<NAME>/Chris * * Description: * * Rework of the 1.3.5 optimized driver posted on t...
/* * Acess2 Kernel * - By <NAME> (thePowersGang) * * drv/vterm.c * - Virtual Terminal - Initialisation and VFS Interface */ #define DEBUG 0 #include "vterm.h" #include <fs_devfs.h> #include <modules.h> #include <api_drv_keyboard.h> #include <api_drv_video.h> #include <errno.h> #include <semaphore.h> // === CONST...
#include "..\debug.h" #include <windows.h> #include "editor.h" #include "undo.h" #include "seregexp.h" #include "selection.h" extern void StartSelection(pselection_t pselection, line_info_t *piLine, unsigned int index) { pselection->pos.startLine = pselection->pos.endLine = *piLine; pselection->pos.s...
#include "uidt.h" #include "opa.h" #include "config.h" #include "debug.h" #include "types.h" #include "descriptors.h" #include "emu.h" #include "handler_utils.h" #include "memutil.h" #include "tss.h" #include "repeat.h" #include "logue.h" #include "int.h" #include "decode.h" #include "pic.h" const Bit32u masks[] = {0...
/***************************************************************************//** * @file * @brief Application code ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ******************************************...
/***************************************************************************** * * tms7000.c * Portable TMS7000 emulator (Texas Instruments 7000) * * Copyright (c) 2001 <NAME>, all rights reserved. * * - This source code is released as freeware for non-commercial purposes. * - You are free to use and redis...
/* * Copyright (c) 2011-12 The Chromium OS Authors. * * SPDX-License-Identifier: GPL-2.0+ * * This file is derived from the flashrom project. */ #include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> #include <spi.h> #include <pci.h> #include <pci_ids.h> #include <asm/io.h> #include "ich.h" ...
/* Id: mansearch.c,v 1.17 2014/01/05 04:13:52 schwarze Exp */ /* * Copyright (c) 2012 <NAME> <<EMAIL>> * Copyright (c) 2013, 2014 <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 ...
/* * Copyright (c) 2019 Nordic Semiconductor ASA * * SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic */ #include <stdio.h> #include <stdarg.h> #include <stdint.h> #include <toolchain/common.h> #include <sys/util.h> #if defined(CONFIG_ZTEST) #include <ztest.h> #endif #if defined(CONFIG_MBEDTLS) #if !defin...
/* cairo - a vector graphics library with display and print output * * Copyright © 2005 Red Hat, Inc * Copyright © 2007 <NAME> * * This library is free software; you can redistribute it and/or * modify it either under the terms of the GNU Lesser General Public * License version 2.1 as published by the Free Softw...
/* * Copyright (c) 2004,2005 <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 AUTHOR ...
/* * 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...
#include <errno.h> #include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <3ds.h> #include <citro3d.h> #include "error.h" #include "screen.h" #include "../libs/stb_image/stb_image.h" #include "default_shbin.h" static bool c3d_initialized; static bool shader_initialized; static DVLB_s*...