text
stringlengths
3.12k
18.7k
/*- * Copyright (c) 2004 <NAME> * Copyright (c) 2001 <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 * noti...
/* File: * ex3.13_mpi_vect_sum_dot.c * * Description: * Implement a vector sum and a dot product allowing vectors whose * order isn't evenly divisible by comm_sz * * Compile: * mpicc -g -Wall -o ex3.13_mpi_vect_sum_dot ex3.13_mpi_vect_sum_dot.c * Run: * mpiexec -n <number of ...
/* *header file for my helper functions */ #include "helper.h" #include "debug.h" /*Converts a string to a positive int *returns -1 if the string was not a integer */ int string_to_int(char *string){ int i = 0; int number = 0; while(*(string+i) != 0){ //while not reaching the Null terminiator if( *(string + i...
#include <types.h> #include <pio.h> #include <kernel.h> #include <debug.h> #include <ata.h> #include <terminal.h> #include <pci.h> // ------------------------------------------------------------------------- // Static Types // ------------------------------------------------------------------------- struct ata_channel...
#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 "kvm/kvm-cpu.h" #include "kvm/kvm.h" #include "kvm/virtio.h" #include <asm/ptrace.h> #define COMPAT_PSR_F_BIT 0x00000040 #define COMPAT_PSR_I_BIT 0x00000080 #define COMPAT_PSR_E_BIT 0x00000200 #define COMPAT_PSR_MODE_SVC 0x00000013 #define SCTLR_EL1_E0E_MASK (1 << 24) #define SCTLR_EL1_EE_MASK (1 << 25) st...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils.h" #include "bin.h" #include "textCheck.h" #include "errors.h" #define numOfAction 16 #define CharsInLabel 31 /*Insert the label to the symbol table. */ void symbolTable(char *labelWord,int num,char *attributes, int *errorNum) { ...
/* * Example code for using zip.library * * Copyright (C) 2017 <NAME> <<EMAIL>> * * Compiles with: * ppc-amigaos-gcc -O2 -Wall -Wwrite-strings -Werror -o extract_zip -I/SDK/local/newlib/lib/libzip/include extract_zip.c * * Usage: * extract_zip <archive> [PASSWORD=<password>] */ #include <proto/exec.h> #inclu...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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 ...
/************************************************************************/ /* */ /* svm_util.c */ /* */ /* Definitions and...
#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...
// g_local.h -- local definitions for game module #include "q_shared.h" // define GAME_INCLUDE so that game.h does not define the // short, server-visible gclient_t and edict_t structures, // because we define the full size ones in this file #define GAME_INCLUDE #include "game.h" // the "gameversion" client command...
#include <string.h> #include <stdlib.h> #include <assert.h> #include <stdio.h> #include <limits.h> #define TRUE 1 #define FALSE 0 typedef unsigned char uint8_t; typedef short int16_t; #define ARRAY_CREATE(array, init_capacity, init_size) {\ array = malloc(sizeof(*array)); \ array->data = malloc((init_capacity) ...
/************************************************************************* > File Name: load_unipath_size.c > Author: > Mail: ************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <malloc.h> #include <string.h> #include <diren...
#include <stdlib.h> #include <stdint.h> #include <unistd.h> #include <wchar.h> #include <locale.h> #include <ncurses.h> #include "colors.h" #include "unicode.h" uint8_t parseKey(int key); void redraw(); void rectangle(uint8_t y1, uint8_t x1, uint8_t y2, uint8_t x2); void error(char *msg); void final(); enum { F_READ...
/****************************************************************************** * Locke's __ __ NIM Server Software * * ___ ___ (__)__ __ __ __ ___| | v5 Version 5 (ALPHA) * * | / \ __| \__/ | | | | | * ...
/* * Copyright (c) 1995, 1996, 1998 <NAME>. All rights reserved. * Copyright (c) 1983, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
/* * 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 ...
#include "transceiver.h" // receive state int16_t rx_dma_frame_start; int16_t rx_dma_frame_end; int16_t rx_dma_cursor = 0; bool rx_dma_waiting_end = false; // transmit state uint8_t tx_cursor = 0; uint8_t fletcher_sum1 = 0; uint8_t fletcher_sum2 = 0; static int16_t circular_find_symbol(transceiver_t* transceiver, in...
/* Copyright (c) 2003-2011, The Ohio State University. All rights * reserved. * * This file is part of the MVAPICH2 software package developed by the * team members of The Ohio State University's Network-Based Computing * Laboratory (NBCL), headed by Professor <NAME>. (DK) Panda. * * For detailed copyright and l...
#define _GNU_SOURCE #include "noise.h" #include "timespan.h" #include <errno.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> static unsigned int ec; #define TS_PI_STR1 "31y4M1w5d9h26m53s589ms793us" #define TS_PI_STR2 "31y 4M 1w 5d 9h 26m 53s 589ms 793us" #defi...
/* Copyright (c) 2013, 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 co...
/* DHT11 temperature sensor library Usage: Set DHT PIN using setDHTPin(pin) command getFtemp(); this returns temperature in F <NAME> October 2016 This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this soft...
/* This file is part of the software similarity tester SIM. Written by <NAME>, Vrije Universiteit, Amsterdam. $Id: pass3.c,v 2.43 2017-12-15 17:15:21 dick Exp $ */ #include <stdio.h> #include <string.h> #include "system.par" #include "debug.par" #include "sim.h" #include "options.h" #include "fname.h" #include "utf...
/** * @defgroup DISPLAY * @{ * * @file display.c * * @version 1.0 * @author <NAME>, <NAME>, <NAME>. * @date 12 Julio 2018 * * @brief Módulo que permite el manejo del display utilizado. * * @paragraph * * Proporciona funciones para la inicializar el hardware y controlar los píxeles. * El circuito in...
/******************************************************************************* * BSD 3-Clause License * * Copyright (c) 2017, <NAME> (enferex) https://github.com/enferex * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/fs.h> #include <linux/errno.h> #include <linux/proc_fs.h> #include <asm/uaccess.h> #include <linux/timer.h> #include <linux/ioctl.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/replay.h> #include <linux/ds...
/* * ethernet_bsd.c * * Copyright 2013 <NAME>, contributed to the project by <NAME> (School of engineering Valais). * * This file is part of libIEC61850. * * libIEC61850 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
#include <string.h> #include <stdlib.h> #include <stdio.h> #include <psp2/ctrl.h> #include <psp2/kernel/threadmgr.h> #include <psp2/registrymgr.h> #include <sys/time.h> #include <vitasdk.h> #include "graphics.h" #define printf psvDebugScreenPrintf int ret; int pos = 0; int get_key() { static unsigned buttons[] = { ...
/*************************************************************************\ * Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE is distributed subj...
#include <string.h> #include <stdio.h> #include <assert.h> #include "theft.h" #include "theft_bloom.h" #include "theft_types_internal.h" /* This is a dynamic blocked bloom filter, loosely based on * _Cache Efficient Bloom Filters for Shared Memory Machines_ * by <NAME>. * * The top level of the bloom filter uses ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <pthread.h> #include <semaphore.h> #include <curses.h> #include "util.h" #define MAX_LINE 12 sem_t input_sem; int input = STILL; int end_connection = 0; v...
/* * Copyright © 2011 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 restriction, including without limitation * the rights to use, copy, modify, merge, pub...
static size_t rdata_to_str_string_unquoted(const uint8_t *src, size_t len, ubuf *u) { size_t n_bytes = 0; while (len--) { uint8_t c; c = *src++; if (c == '"') { ubuf_add_cstr(u, "\\\""); } else if (c == '\\') { ubuf_add_cstr(u, "\\\\"); } else if (c >= ' ' && c <= '~') { ubuf_append(u, &c, 1); ...
/* * FFTX Copyright (c) 2020, The Regents of the University of California, through * Lawrence Berkeley National Laboratory (subject to receipt of any required * approvals from the U.S. Dept. of Energy), Carnegie Mellon University and * SpiralGen, Inc. All rights reserved. * * If you have questions about your rig...
#include "amatrix.h" #include "glbopts.h" #include "linalg.h" #include "minunit.h" #include "scs.h" #include "util.h" static scs_float Ax[] = {-1.0, -0.25035003149, -0.214684983694, -0.0013696512491, -1.0, -1.0, 0.0941450010301, -0.0929840802212, 0.0143905024814, -1.0, -1.41421356237, -1.0, 0.0941450010301, -0.0929840...
//*----------------------------------------------------------------------------- //* ATMEL Microcontroller Software Support - ROUSSET - //*----------------------------------------------------------------------------- //* The software is delivered "AS IS" without warranty or condition of any //* kind, either...
/* * * Bluetooth File Transfer utility * * Copyright (C) 2003 <NAME> <<EMAIL>> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * Software distributed under the ...
/* Copyright 2020 Espressif Systems (Shanghai) PTE LTD * * 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 applic...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2002-2018 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; This program is free software; you can redistribute it and/or */ /*; modify it u...
/* * Copyright 2006 National Institute of Advanced Industrial Science * and Technology (AIST), and contributors. * * 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.apa...
#include <stdio.h> #include <stdlib.h> #include <string.h> #define TILES 592 // A guess. #define MAX_TILES 10000 #define ITERATION 100 /* * - 0 1 2 3 4 5 * - 0 1 2 3 4 5 * 0 1 2 3 4 5 */ typedef struct Coord{ int x; int y; // 0 -> not registered, 1 -> flipped, 2 -> unflipped int flipState; } Coo...
#include "parse.h" void format_file(FILE *stream, register char *buffer) { /* take care of end of lines and multiple spaces in linear time */ register char aux; register bool catched_space = false; while ((aux = fgetc(stream)) != EOF) { if ((!iscntrl(aux) && aux != ' ') || (aux == ' ' && !catched_space)) ...
#include <msp430.h> #include "lcdutils.h" #include "lcddraw.h" #include "bitmaps.h" #include "draw_shapes.h" // global vars for the dinosaur and cactus Dinosaur din1; Cactus cac1; u_int playing = 1; // The game is ongoing u_int new_game = 1; // Start a new game int dy; int old_dy; u_int dinosaur_jump = 0; // Makes t...
#include "cal_num_grid.h" /** * cal_b2net - calculate the distance between the boundary and the net * @b: boundary * @minsp: A structure that stores information such as minimum spacing * @set: A structure that stores direction information * note: cal_b2net() will return the distance between the boundary and the n...
/* * fractal.c: X-Fractals / routines to calculate point values and draw fractal image * * Authored by <NAME> (2017) * * Licensed under the MIT license as per the Open Source Initiative 2017. * See the LICENSE file for the complete license information, * or visit https://opensource.org/licenses/MIT for details....
#include <stdio.h> #include <inttypes.h> #include <string.h> #include "pinkie_sscanf.h" /*****************************************************************************/ /* Defines */ /*****************************************************************************/ #ifndef SSCANF # define SSCANF pinkie_sscanf #endif #d...
#include <stdio.h> #include <stdlib.h> #include "lista.h" struct lista{ int info; Lista* prox; }; Lista* lst_cria(){ return NULL; } int lst_vazia(Lista *l){ return l == NULL; } Lista* lst_insere(Lista *l, int info){ Lista* ln = (Lista*)malloc(sizeof(Lista)); ln->info = info; ln->prox = l; return ln; } Li...
/*********************************************************************** * * MOVEM.C * Routines for the MOVEM instruction and the REG directive * * Function: movem() * Builds MOVEM instructions. The size of the instruction * is given by the size argument (assumed to be word if * not specified). The labe...
/* * vim: sw=2 ts=2 expandtab * * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): * <NAME> <<EMAIL>> wrote this file. As long as you retain this * notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a pizza in return. *...
#include "output.h" #include <float.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "SDL/SDL.h" #include "UI/UI.h" #include "bench.h" #include "buffer.h" #include "denoiser.h" #include "frametime.h" #include "log.h" #include "png.h" #include "raytrace.h" #inc...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <stdbool.h> void birdMaker(FILE *birdFile, FILE *outFile, char *birdTypes[], int birdnumber); int main(void) { FILE *base_html; FILE *bird_def; FILE *html_out; static char *fline_read = NULL; static size_t fread...
#include <ctype.h> #include <gmp.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "fp.h" #include "globals.h" struct fptree_node { /* item value */ int val; /* count of item on this path */ int cnt; /* next node in item-chain in tree */ struct fptree_node *next; /* number of children node...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <dirent.h> #include <sys/stat.h> #include <errno.h> #include "meta.h" #include "meta_db.h" uint32_t tag_split(char *buf) { int i; for(i=0;i<256;i++) { if(buf[i] == '=') { return i; } if((buf[i] >= 'a') && (bu...
/***************************************************************************** * Copyright 2005 <NAME> * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may n...
/*- * Copyright (c) 2014 <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 co...
/* * halm/platform/stm32/gen_2/uart_defs.h * Copyright (C) 2020 xent * Project is distributed under the terms of the MIT License */ #ifndef HALM_PLATFORM_STM32_UART_DEFS_H_ #error This header should not be included directly #endif #ifndef HALM_PLATFORM_STM32_GEN_2_UART_DEFS_H_ #define HALM_PLATFORM_STM32_GEN_2_UA...
/* resize an image ... up and down resampling. * * 13/8/14 * - from affine.c * 18/11/14 * - add the fancier algorithm from vipsthumbnail * 11/11/15 * - smarter cache sizing */ /* This file is part of VIPS. VIPS is free software; you can redistribute it and/or modify it under the terms of t...
/** * Common utilities for the ESP32-Duktape framework. */ #if defined(ESP_PLATFORM) #include <esp_log.h> #include <esp_system.h> #include <espfs.h> #else // ESP_PLATFORM #include <sys/mman.h> #endif // ESP_PLATFORM #include <duktape.h> #include <errno.h> #include <fcntl.h> #include <nvs.h> #include <stdio.h> #...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <math.h> #include <omp.h> #include "H2Pack.h" #include "LRD_precond.h" // Evaluate a kernel matrix with OpenMP parallelization extern void H2P_eval_kernel_matrix_OMP( const void *krnl_param, kernel_eval_fptr krnl_e...
/*P:600 The x86 architecture has segments, which involve a table of descriptors * which can be used to do funky things with virtual address interpretation. * We originally used to use segments so the Guest couldn't alter the * Guest<->Host Switcher, and then we had to trim Guest segments, and restore * for userspac...
/* curses.h */ /* Author: * <NAME> * 14407 SW Teal Blvd. #C * Beaverton, OR 97005 * <EMAIL> */ /* This is the header file for a small, fast, fake curses package */ /* termcap stuff */ extern char *tgoto(); extern char *tgetstr(); extern void tputs(); #if MSDOS /* BIOS interface used instead of termcap for MS-...
/* * Copyright (c) 2015, Intel Corporation * All rights reserved. * * Authors: <NAME> <<EMAIL>> * * 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 c...
/* * * Copyright © 2000 <NAME>, member of The XFree86 Project, Inc. * Copyright © 2000 SuSE, Inc. * 2005 <NAME> & <NAME>, Trolltech * Copyright © 2007 Red Hat, Inc. * * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted wi...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2021 Intel Corporation. All rights reserved. // // Author: <NAME> <<EMAIL>> // Author: <NAME> <<EMAIL>> #include <sof/audio/buffer.h> #include <sof/audio/component_ext.h> #include <sof/audio/ipc-config.h> #include <sof/common.h> #include <sof/drivers/alh.h> #...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2017 The University of Tennessee a...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Example code to write and read data to 24LC02B EEPROM ****************************************************************************** * Edit "eeprom_24...
/* ============================================================================ Name : exceptionHandlerFuncsEL3.c Author : CAP-TEE Version : Copyright : CAP-TEE 2021 Description : EL3 exception handler functions Contains a FIQ exception handler for secure group 0 generated by E...
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights ...
/* DOORBITS.C Bits and pieces for doors games. By <NAME>, 1989. (c) Copyright <NAME>, 1989. Originally for The Basement BBS. RS232 Communication Routines (UTILS.LIB) by <NAME>. */ #include <dir.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include ...
#include "plat_func.h" #include "plat_gpio.h" #include "plat_i2c.h" #include "plat_ipmi.h" #include "hal_snoop.h" #include "kcs.h" #include "cmsis_os2.h" #include "libipmi.h" #include "sensor_def.h" #include "plat_def.h" static bool is_DC_on = 0; static bool is_post_complete = 0; static bool bic_class = sys_class_1; s...
/***************************************************************************//** * @file main_xg23.c * @brief Demonstrates interrupt-driven calibration of the LFRCO against * the HFXO with output to a pin. ******************************************************************************* * # License * <b>Copy...
#include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <math.h> #include <string.h> typedef char *Input; typedef struct { int part1; int part2; } Results; typedef union uwb { unsigned w; unsigned char b[4]; } WBunion; typedef unsigned Digest[4]; unsigned f0(unsigned abcd[]) { retu...
/*********************************************************************** ** ** REBOL [R3] Language Interpreter and Run-time Environment ** ** Copyright 2012 REBOL Technologies ** REBOL is a trademark of REBOL Technologies ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this...
/* * FreeRTOS Kernel V10.3.0 * 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, includ...
/** ****************************************************************************** * @file vcom.c * @author MCD Application Team * @brief manages virtual com port ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c...
/* * Device probe and attach routines for the following * Advanced Systems Inc. SCSI controllers: * * Connectivity Products: * ABP902/3902 - Bus-Master PCI (16 CDB) * ABP3905 - Bus-Master PCI (16 CDB) * ABP915 - Bus-Master PCI (16 CDB) * ABP920 - Bus-Master PCI (16 CDB) * ABP3922 - Bus-Master PCI (16 CDB...
/** * \file timer_hw.c * * \brief Handler timer functionalities * * Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchi...
// Copyright (c) 2019-present, iQIYI, 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 without restriction, including without limitation the rights // to use, c...
//****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
/**************************************************************************/ /*! @file adc.c @author <NAME> (microBuilder.eu) @date 22 March 2010 @version 0.10 @section Description SW-based single-channel A/D conversion. If you wish to convert multiple ADC channels...
/* * Copyright 2011-2012 Freescale Semiconductor, Inc. * * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> #include <i2c.h> #include <hwconfig.h> #include <fsl_ddr.h> #include <asm/mmu.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/fsl_law.h> DECLARE_GLOBAL_DATA_PTR; dimm_pa...
/* ehci.c - EHCI Support. */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2011 Free Software Foundation, Inc. * * GRUB 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 o...
/* * Copyright (c) 2010 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...
/* Author: <NAME> <<EMAIL>> Copyright (c) 2015 Cromulence LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
/* as3compile.c Compiles ActionScript 3.0 (.as) files into .swf files. Part of the swftools package. Copyright (c) 2008/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 F...
// This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // input.c: high level functions for prompting the user or input // like yes/no or number prompts. #include <inttypes.h> #include <stdbool.h> #include "nvim/...
/******************************************************** * * Used with ICCARM and AARM. * * (c) Copyright IAR Systems 2006 * * File name : main.c * Description : Main module * * History : * 1. Date : 2, December 2006 * Author : <NAME> * Description : Create * * ...
/* * This file is part of the OpenKinect Project. http://www.openkinect.org * * Copyright (c) 2011 individual OpenKinect contributors. See the CONTRIB file * for details. * * This code is licensed to you under the terms of the Apache License, version * 2.0, or, at your option, the terms of the GNU General Public...
/** * \file control/control.c * \brief CTL interface - parse ASCII identifiers and values * \author <NAME> <<EMAIL>> * \date 2010 */ /* * Control Interface - ASCII parser * Copyright (c) 2010 by <NAME> <<EMAIL>> * * * This library is free software; you can redistribute it and/or modify * it under the t...
/* * linux/fs/minix/namei.c * * Copyright (C) 1991, 1992 <NAME> */ #include "linux/fs.h" #include "linux/minix_fs.h" #include "linux/pagemap.h" //#include "asm/highmem.h" static inline void inc_count(struct inode *inode) { inode->i_nlink++; mark_inode_dirty(inode); } static inline void dec_count(struct inod...
/* * Copyright (c) 2010-2012 Postgres-XC Development Group */ #include <sys/types.h> #include <unistd.h> #include "gtm/gtm_c.h" #include "gtm/libpq-fe.h" #include "gtm/gtm_client.h" #include <sys/time.h> #include <sys/file.h> #include <sys/types.h> #include <sys/wait.h> #define client_log(x) extern int optind...
/* * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this l...
/* * File: ray.c * * The top of the "moray" ray trace algorithm * */ /* * * MIT License * * 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 witho...
/* * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is confidential property of Nordic Semiconductor. The use, * copying, transfer or disclosure of such information is prohibited except by express written * agreement with Nordic Semiconductor. * */ #include "b...
// Copyright (c) 2009-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
#include <lib/xlat_tables/xlat_tables_v2.h> #include <drivers/arm/tzc400.h> #include "rkp_process.h" uintptr_t rkp_process(uint32_t smc_fid, u_register_t x1, u_register_t x2, u_register_t x3, u_register_t x4, void *cookie, void *handle, u_register_t flags){ u...
/* RetroArch - A frontend for libretro. * Copyright (C) 2014-2017 - <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...
/****************************************************************************** ** This material was prepared as an account of work sponsored by an agency ** ** of the United States Government. Neither the United States Government ** ** nor the United States Department of Energy, nor Battelle, nor any of ** ...
/** \file cli.c \author <NAME> \date 2021-03-04 \version 0.1 \brief implementation of a command line interface base implementation of a command line interface base to be used with a serial terminal from: https://www.avrfreaks.net/forum/simple-command-interpreter (search for Graynomad) Execute call-...