text
stringlengths
7.55k
41.9k
/* spke15.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__6 = 6; /* $Procedure SPKE15 ( Evaluate a type 15 SPK data record) */ /* Subroutine */ int spke15_(doub...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYIN...
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corporation, 1997 - 1999 **/ /**********************************************************************/ /* ipsmhelp.h ...
#include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <Arus_dev_kit.h> #define BE #ifdef BE uint32_t h0 = 0x67452301; uint32_t h1 = 0xEFCDAB89; uint32_t h2 = 0x98BADCFE; uint32_t h3 = 0x10325476; uint32_t h4 = 0xC3D2E1F0; uint32_t k0 = 0x5A827999; uint32_t k1 = 0x6ED9EBA1; uint32_t k...
#include <stdbool.h> #include <stdint.h> #include <string.h> #include <pru_cfg.h> #include <pru_iep.h> #include <rsc_types.h> #include "iep.h" #include "stdint_fast.h" #include "gpio.h" #include "intc.h" #include "resource_table_def.h" #include "simple_lock.h" #include "commons.h" #include "hw_config.h" #include "ri...
#include <stdio.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <math.h> #include "bsp.h" #include "sysctl.h" #include "plic.h" #include "utils.h" #include "gpiohs.h" #include "fpioa.h" #include "lcd.h" #include "nt35310.h" #include "dvp.h" #include "ov5640.h" #include "ov2640.h" ...
/* * (C) 2003-15 - ntop * * 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, distribut...
/* 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...
/* -*- 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...
#include <signal.h> #include <rte_eal.h> #include <rte_ethdev.h> #include <rte_malloc.h> #include "include/MaoMacroTool.h" #include "include/MaoConstant.h" #include "include/main.h" // all runtime variables struct lcore_runtime lcore_runtime_config[Mao_MAX_LCORE]; struct port_runtime port_runtime_config[Mao_MAX_ETH...
/*- * Copyright (c) 2015-2016 <NAME> <<EMAIL>> * Copyright (c) 2017 The FreeBSD Foundation * All rights reserved. * * Portions of this software were developed by <NAME> * under sponsorship from the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are pe...
#include <rtmp.h> RtmpOutputMessage *rtmp_create_output_message() { RtmpOutputMessage *output = malloc(sizeof(RtmpOutputMessage)); output->message = NULL; output->length = 0; output->data_left = 0; return output; } void rtmp_allocate_output_message_content(RtmpOutputMessage *output, unsigned int length) { ...
/* * Written in 2013 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated * all copyright and related and neighboring rights to this software * to the public domain worldwide. * * This software is distributed without any warranty. * * You should have received a copy of the CC...
/* * $Id: space_file.c 40906 2011-10-10 10:35:18Z nazgul $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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...
/*++ Module Name: mxload.C Abstract: The module contains the functions that download the firmware code to hardware. Environment: kernel mode only Notes: Revision History: --*/ #include <ntddk.h> #include <wdmguid.h> #include <ntddser.h> #include <initguid.h> #includ...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #include <zlib.h> #include "init.h" #include "property_service.h" #include "bootenv.h" #inclu...
/*- * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates. * 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 so...
/* Copyright 2019, <NAME>, 3-clause BSD License */ #include "config.h" #include <assert.h> /* assert */ #include <string.h> /* memcpy, memset */ #include <cholmod.h> #include "matrix.h" /* coo_to_csc */ #include "fwd.h" #ifdef UNIT_TESTING extern void * _mock_test_malloc(const size_t size, const char * file, const in...
/******************************************************************************* * * demoBldc.c * * <NAME> * * This demo drives the a BLDC motor using the TWR-MC-LV3PH board. * * Copyright (C) 2012 www.laswick.net * * This program is free software. It comes without any warranty, to the extent * permitted by applicable...
/*! \file bcm56960_a0_bcmtm_tdm.c * * TDM library functions for bcm56960_a0 device. */ /* * 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 s...
/* Hexes Terminal Library Unix handling functions. Uses ANSI. Written by <NAME> <<EMAIL>> */ #include <stdio.h> #include <sys/ioctl.h> #include <string.h> #include <strings.h> #include <stdlib.h> #include <unistd.h> #include <limits.h> #include <signal.h> #include "hexes.h" #define GetOffset(X, Y, W) ((Y) * (W) ...
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 Xilinx, Inc. * (C) Copyright 2015 <NAME> <<EMAIL>> * * Xilinx Zynq Quad-SPI(QSPI) controller driver (master mode only) */ #include <common.h> #include <dm.h> #include <malloc.h> #include <spi.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; /* zynq qsp...
/* * * Copyright 2015 gRPC authors. * * 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 agree...
/* Copyright 2021 3araht * * 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...
#include<stdio.h> #include<stdlib.h> #include"cidade.h" #include"quadra.h" #include"moradias.h" #include"pessoas.h" #include"list.h" #include"hash.h" #include"arv.h" #include"arq.h" #include"svg.h" #include"loc.h" void * list_get_quadra (void * lista, float y) { return list_get(lista,busca_bin_quadra(lista,y)); } i...
/* -*- Mode: C ; indent-tabs-mode: nil ; c-file-style: "stroustrup" ; column-number-mode: t -*- Project: YAHA, DNA alignment tool designed to find optimal split-read mappings on single-end queries. Author: <NAME> (<EMAIL>) File: Query.c Process a Query file and align reads against the referenc...
#include <stdio.h> int print_hash_value = 1; static void platform_main_begin(void) { } static unsigned crc32_tab[256]; static unsigned crc32_context = 0xFFFFFFFFUL; static void crc32_gentab (void) { unsigned crc; unsigned poly = 0xEDB88320UL; int i, j; for (i = 0; i < 256; i++) { crc = i; for (j = 8; j > 0; j--...
#include "bcm283x_pl011.h" #include "bcm283x_io.h" #include "bcm283x_irq.h" #include "../kstddef.h" #include "../arm1176jzfs.h" #include "../../h/types.h" #include "../bcm283x_machdep.h" #include "../../h/param.h" #include "../../h/systm.h" #include "../../h/dir.h" #include "../../h/user.h" #include "../../h/tty.h" #i...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "psrcat.h" pulsar psr[MAX_PSR]; char pcat_parameters[MAX_PARAM][20]; paramtype defParam[MAX_PARAM]; float recordCompare(void const *a,void const *b); void displayEphemeris(pulsar *psr,linkedList *list,int n...
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <dirent.h> #include <stdbool.h> #include <limits.h> #include <errno.h> #include <common.h> #define POWER_SUPPLY_SUBSYSTEM "power_supply" #define POWER_SUPPLY_SYSFS_PAT...
/* * * Copyright 2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* $Id$ */ #include <sys/shm.h> #include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <unistd.h> #include <string.h> #include "shmem-mpid.h" #include "shmemdef.h" #include "shmemsysv.h" #include "shmemcommon.h" enum { CLIENT_CONTACT = ...
// // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES // WITH REGARD TO T...
/********************************************************************\ * FILE: rmd160.c * CONTENTS: A sample C-implementation of the RIPEMD-160 hash-function. * TARGET: any computer with an ANSI C compiler * AUTHOR: <NAME>, Dept. Electrical Eng.-ESAT/COSIC * DATE: 1 March 1996 VERSION: 1.0 ...
/* * Tiny arbitrary precision floating point library */ #pragma once #include <stddef.h> #include <stdint.h> #if !defined(_MSC_VER) && INTPTR_MAX >= INT64_MAX #define LIMB_LOG2_BITS 6 #else #define LIMB_LOG2_BITS 5 #endif #define LIMB_BITS (1 << LIMB_LOG2_BITS) #if LIMB_BITS == 64 typedef __int128 int128_t; typed...
#include <u.h> #include <libc.h> #include <bio.h> #include "dict.h" Dict dicts[] = { {"oed", "Oxford English Dictionary, 2nd Ed.", "oed2", "oed2index", oednextoff, oedprintentry, oedprintkey}, {"ahd", "American Heritage Dictionary, 2nd College Ed.", "ahd/DICT.DB", "ahd/index", ahdnextoff, ahdprintentry, ...
/* * Tencent is pleased to support the open source community by making TBase available. * * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * * TBase is licensed under the BSD 3-Clause License, except for the third-party component listed below. * * A copy of the BSD 3-Clause Li...
/* * Common hostapd/wpa_supplicant HW features * Copyright (c) 2002-2013, <NAME> <<EMAIL>> * Copyright (c) 2015, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "defs.h" #include...
/* Extended Module Player * Copyright (C) 1996-2016 <NAME> and <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...
/***************************************************************************** * video_epg.c : EPG manipulation functions ***************************************************************************** * Copyright (C) 2010 <NAME> * 2017 VLC authors, VideoLAN and VideoLabs * * Author: <NAME> <<EMAIL>> ...
/*- * Copyright (c) 2017, 2018 The FreeBSD Foundation * All rights reserved. * Copyright (c) 2018, 2019 Intel Corporation * * This software was developed by <NAME> <<EMAIL>> * under sponsorship from the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, a...
/* This is part of the OTF library. Copyright by ZIH, TU Dresden 2005-2013. Authors: <NAME>, <NAME>, <NAME>, <NAME> */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "OTF_Platform.h" #include "OTF_CopyHandler_stream.h" #include "OTF_WStream.h" /* *** Definition handlers *** ****************************...
/*=========================================================================== Copyright (c) 1998-2000, The Santa Cruz Operation 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...
#define thisprog "xe-ldas5-readdat1" #define TITLE_STRING thisprog"v 7: 12.September.2016 [JRH]" #define MAXLINELEN 1000 #define CHANNELMAX 256 #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <limits.h> /* to get maximum possible short value */ #include <sys/stat.h> /* this and ...
/* GStreamer * * Copyright (C) <2015> Centricular Ltd * @author: <NAME> <<EMAIL>> * @author: <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * versio...
/** * \file am572x/usb_wrapper.c * * \brief This file contains APIs for manipulating the SOC specific wrapper. * As the name suggests this file implements the USB wrapper as * impemented by AM57xx . * * \copyright Copyright (C) 2016 - 2018 Texas Instruments Incorporated - * ...
/* * Copyright (c) 2003-2008 <NAME> * Copyright (C) 2016 Veertu Inc, * Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the L...
/* packet-aoe.c * Routines for dissecting the ATA over Ethernet protocol. * <NAME> 2004 * * 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 ...
/* NuRAN Wireless Litecell 1.5 L1 API related definitions */ /* Copyright (C) 2015 by <NAME> <<EMAIL>> * based on: * sysmobts.c * (C) 2011 by <NAME> <<EMAIL>> * * All Rights Reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General ...
/* Geode LX framebuffer driver * * Copyright (C) 2006-2007, Advanced Micro Devices,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 * op...
#include <stdio.h> #include "spdf_types.h" #include "spdf_encrypt.h" #include "string.h" static const SPDF_BYTE SPDF_PADDING_STRING[] = { 0x28, 0xBF, 0x4E, 0x5E, 0x4E, 0x75, 0x8A, 0x41, 0x64, 0x00, 0x4E, 0x56, 0xFF, 0xFA, 0x01, 0x08, 0x2E, 0x2E, 0x00, 0xB6, 0xD0, 0x68, 0x3E, 0x80, 0x2F, 0x0C, 0xA9, 0x...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
/* specfunc/erfc.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 <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 lat...
// Copyright (C) 2016 <NAME> /* GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it i...
/*---------------------------------------------------------------------------*\ FILE........: c2wideband.c AUTHOR......: <NAME> & <NAME> DATE CREATED: July 2017 * TODO - what is this file doing? * \*---------------------------------------------------------------------------*/ /* Copyright <NAME> 2017 A...
/* Copyright (C) 2007-2020 Free Software Foundation, Inc. This file is part of GCC. GCC 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, or (at your option) any later version. GCC is distribute...
/*------------------------------------------------------------------------------ Copyright (c) 2012-2014 <NAME> (<EMAIL>) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either versio...
/* * Licensed to Systerel under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Systerel licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except ...
/******************************************************************************* * File: mkimage.c * Purpose: This file contains code to create an image file from a decompressed * LJPEG.1 image. The image can be mapped to opical density and can be * resampled. * Name: <NAME>, University of South Florida * Date: 1/25/20...
#include<stdio.h> #include<stdlib.h> typedef struct b{ int info1,info2; struct b *esq,*cen,*dir; int Ninfos; }arvore23; int hefolha(arvore23 *No){ int flag = 0; if (No != NULL){ if (No->esq == NULL && No->cen == NULL && No->dir == NULL) flag = 1; } return flag; } void criaNo(arvore23 **No, int info...
/* $OpenBSD: generic2e_machdep.c,v 1.7 2016/03/06 19:42:27 mpi Exp $ */ /* * Copyright (c) 2010 <NAME>. * * 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 cop...
/*$T \Sources/lexi.c GC 1.150 2011-09-22 20:52:18 */ /*$6 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /*$F ***...
/* * Copyright © 2020 Google, 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, merge, publish,...
/* Fp4/Fp4.c * by <NAME> and <NAME> (<EMAIL>), * Cryptography Research Group, MSR Redmond, 2014 * * This file is part of the ARITH library version 0.01 * * DISCLAIMER: * This is RESEARCH code. * Parts of the code might be incomplete. * Please use at your own risk. * DO NOT USE IN PRODUCTION CODE!!...
/* Copyright (c) 2009-2012, Structural Bioinformatics Laboratory, Boston University 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 notic...
/* GStreamer * Copyright (C) <1999> <NAME> <<EMAIL>> * <2005> <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, o...
#include "gui/image_process.h" #define PI 3.14159265358979323846 /* static const int g_blur_kernel_5[5][5] = {{1, 4, 7, 4, 1}, {4, 16, 26, 16, 4}, {7, 26, 41,...
// bit banged i2c due to lack of strong pullups (doh) // scl is PB8, sda is PB9 static inline void SCL1(void) { GPIOB->ODR|=(1<<8); GPIOB->MODER|=(1<<16); } static inline void SDA1(void) { GPIOB->ODR|=(1<<9); GPIOB->MODER|=(1<<18); } static inline void SDAIn(void) { GPIOB->ODR|=(1<<9); GPIOB->MODER&=~(1<<18);...
/*==================================================================================== EVS Codec 3GPP TS26.443 Oct 20, 2015. Version 12.4.0 ====================================================================================*/ #include <assert.h> #include "options.h" #include "prot.h" #include "rom_com.h" #inclu...
// disassemble 8080 instructions #include "i8080.h" #include <assert.h> #include <stdio.h> #include <string.h> // the op_str strings below are interpreted with the following escapes: // # = print immediate 8b value // ## = print immediate 16b value // // the value_str strings below are interpreted with the fol...
// // sha-256-amd64.c // sha #include "sha2-int.h" #include <xmmintrin.h> #include <stdint.h> static const uint32_t sha256_consts[] = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, /* 0 */ 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, /* 8 */ 0...
/* * Copyright (c) <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 later * version. * * This program is distri...
/* xPL-io.c - xPL I/O handling */ /* Copyright 2004 (c), <NAME> */ #include <errno.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <poll.h> #include <string.h> #include <sys/types.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/poll.h> #include <sys/ioctl.h> #include <fcntl.h> #in...
/* * TwoLAME: an optimized MPEG Audio Layer Two encoder * * Copyright (C) 2001-2004 <NAME> * Copyright (C) 2004-2006 The TwoLAME Project * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softw...
/* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #include "protocol.h" #include "orangefs-kernel.h" #include "orangefs-dev-proto.h" #include "orangefs-bufmap.h" __s32 fsid_of_op(struct orangefs_kernel_op_s *op) { __s32 fsid = ORANGEFS_FS_ID_NULL; if (op) ...
#include<stdio.h> #include<omp.h> #include "gdal.h" #include "sebal_eta.h" void usage() { printf( "-----------------------------------------\n"); printf( "--Modis Processing chain--OpenMP code----\n"); printf( "-----------------------------------------\n"); printf( "./eta inNDVI inAlbedo\n"); printf( "\tinB8 in...
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 # define rindex(X,Y) strrchr(X,Y) # define index(X,Y) strchr(X,Y) #else # include <strings.h> #endif #include "protos.h" #include "registry.h" #include "data.h" #include "sym.h" static FILE * fp ; #define GEN_INPUT 1 #define GEN_OUTPUT 2 #def...
/* $OpenBSD: viasio.c,v 1.12 2009/03/29 21:53:52 sthen Exp $ */ /* * Copyright (c) 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 cop...
/* * Copyright (c) 2021 <NAME> * https://github.com/vurtun/lib * * I have reformatted the code according to my coding style * * Copyright (C) 2021 <NAME> <<EMAIL>> * * license: MIT license */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> /* assert */ #include <limits.h> /* CH...
// IDDN FR.001.250001.004.S.X.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file VecSwizzle.h * @author <NAME> * @brief This file provides the macros for the Vec swizzle functions. * @copyright Co...
/* * Phoenix-RTOS * * ATA server * * Copyright 2019, 2020 Phoenix Systems * Author: <NAME>, <NAME> * * This file is part of Phoenix-RTOS. * * %LICENSE% */ #include <errno.h> #include <signal.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/file.h> #include <s...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this...
/* Copyright <2017> <Scaleable and Concurrent Systems Lab; Thayer School of Engineering at Dartmouth College> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restr...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* GOBNILP Copyright (C) 2012 <NAME> */ /* */ /* This program is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU General Public License as */ /* ...
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <signal.h> #include "SDL.h" #include <string.h> #include <sys/types.h> #include <fcntl.h> #include <sys/mman.h> // For mlockall #include <native/task.h> #include <native/timer.h> #include <rtdk.h> // Provides rt_print functions #define TASK_MODE 0...
/* * File: umbrella.c * * Created on August 10, 2012, 3:18 PM */ #include <stdio.h> #include <stdlib.h> #include "system.h" #include <math.h> #include <time.h> #include "ran250.h" typedef unsigned long long int ULONG; int HistSize; double *Hist; double *HistBackUp; double *HistRange; int lower,mid,uppe...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2006 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This progr...
/* * Copyright (C) 2013-2016 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/busfreq-imx.h> #include <linux/clk.h> #include <l...
/* * public domain sha512 crypt implementation * * original sha crypt design: http://people.redhat.com/drepper/SHA-crypt.txt * in this implementation at least 32bit int is assumed, * key length is limited, the $6$ prefix is mandatory, '\n' and ':' is rejected * in the salt and rounds= setting must contain a...
/* * runtime.c * * Copyright 2008-2010 Apple, 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, mer...
/* subroutines to do rsts file (virtual block) I/O */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "flx.h" #include "fldef.h" #include "fileio.h" #include "filename.h" #include "diskio.h" #include "fip.h" long totalbytes; /* total bytes transferred for get/put */ long curvbn; /* curr...
/* Copyright 2015 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 wri...
/* $XConsortium: miFont.c,v 5.7 94/04/17 20:37:39 rws Exp $ */ /* $XFree86: xc/programs/Xserver/PEX5/ddpex/mi/shared/miFont.c,v 3.0 1995/07/07 15:35:40 dawes Exp $ */ /* Copyright (c) 1989, 1990, 1991 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and assoc...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. * * * ************************************************************************************************************...
#include "file_system.h" #include "devices/hdd.h" #include "libkernel/malloc.h" #include "libkernel/memory.h" #include "libkernel/string.h" #include "libkernel/kernel.h" #define FAT_TYPE_FAT12 0 #define FAT_TYPE_FAT16 1 #define FAT_TYPE_FAT32 2 #define ATTR_LONG_NAME (ATTR_READ_ONLY | ATTR_HIDDEN | ATTR_SYSTEM ...
#include "shapes.h" #include "gfxutils.h" #include "baseSDL.h" #include "list.h" #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL2_gfxPrimitives.h> #define STRIPSIZE 5 #define BORDERSIZE 4 Rectangle_t *RectangleCreate(SDL_Rect pos, SDL_Color color, int flood){ Rectangle_t *out = malloc(sizeof(Re...
/* This file is part of SW2 code 2018-2020 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> UPC - ESEIAAT - TUAREG (c) <NAME>, <NAME> 2018-2020 LICENSED UNDER: Attribution 4.0 International */ // Use #define CHECK to activate matrix range check. This makes the code slow but safe // Don't use it for production runs /...
/* * Copyright (c) 2012-2013 Etnaviv Project * * 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...
/*- * Copyright (c) 1982, 1986, 1991, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California by American Telephone and Telegraph * Co. or Unix System Lab...
/* fast_strtof This is a subset (just float fast_strtof() ) of fast_atof by <NAME> 23/1/2020 See below for license information. The code should be robust to anything thrown at it (lots of leading of trailing zeros, extremely large numbers of digits, etc ). As well as floating point numbers th...