text
stringlengths
3.12k
18.7k
/*************************************************************************** * Original Source Code by <NAME> (EoD) * * Ported to Rom2.4b4 by <NAME> <<EMAIL>> * * Bugfixes by Bogardan <<EMAIL>> * * (C) Last Modification February 1998 * ********************************************...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* Copyright (C) 2004, 2005, 2008, 2011 <NAME> <<EMAIL>> Copyright (C) 1998 Monty <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 3 of the License, or (at your opti...
/* version 0.2.1 WORKING draw text clear rectangle attributes other than color */ #include <sys/select.h> #include <iterm/core.h> #include <iterm/unix/ttyio.h> #include <ncurses.h> void vtDrawText(VTScreenView *view, int col, int row, char *mbstring, int length, int width) { mvwaddnstr((WINDOW*)view->object, row...
/* * Copyright © 2018 alibaba. All rights reserved. */ #include <be_osal.h> #include "be-debuger/be_debuger.h" #include "be_jse_module.h" #include "fs/module_fs.h" #include "gpio/module_gpio.h" #include "http/module_http.h" #include "js-lite/module_js_lite.h" #include "mqtt/module_mqtt.h" #include "net/module_net.h"...
#include "startup.h" #include "hardware.h" #include "coplist.h" #include "gfx.h" #include "ilbm.h" #include "blitter.h" #include "circle.h" #include "fx.h" #include "2d.h" #include "random.h" #include "sprite.h" #include "tasks.h" STRPTR __cwdpath = "data"; #define WIDTH 320 #define HEIGHT 256 #define DEPTH 4 #define...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> static uint16_t tga_width; static uint16_t tga_height; static uint8_t *tga_data = NULL; static uint8_t *tga_font; static int glyph_cnt; static int bits_per_0; static int bits_per_1; static int bits_per_char_width; static int bits_per_cha...
/** * \file ui-object.c * \brief Various object-related UI functions * * Copyright (c) 1997 <NAME>, <NAME>, <NAME> * Copyright (c) 2007-9 <NAME>, <NAME>, <NAME>, <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License a...
/********************************************************************************* * The MIT License (MIT) * * <p/> * * Copyright (c) 2016 <NAME> ...
#include <stdlib.h> #include <stdbool.h> #include <stdint.h> #include <math.h> #include <setjmp.h> #include <memory.h> #include <errno.h> #include <stdio.h> #include "sgc.h" #if defined(_MSC_VER) #define __builtin_frame_address(x) ((void)(x), _AddressOfReturnAddress()) #endif #define _PTRSIZE sizeof(char*) static ...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
#define _CRT_SECURE_NO_WARNINGS /* El programa lee el nro de receta, se fija si ya fue cargada. Si lo fue, muestra los datos en la pantalla. Sino, se procede a cargar la receta y hacer los calculos correspondientes. Mostrando si están habilitadas o no para ser facturadas. */ #include <stdio.h> #include <string.h> #i...
/* Copyright (c) 2019 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
/* * SPDX-License-Identifier: MIT * Copyright (C) 2004 - 2021 AJA Video Systems, Inc. */ ///////////////////////////////////////////////////////////////////////////// // NTV2 Linux v2.6 Device Driver for AJA OEM devices. // ntv2driverstatus.c // //////////////////////////////////////////////////////////////////////...
#include <stdio.h> #include <tap.h> #include "../src/structures/array.h" int zero = 0, one = 1, two = 2, three = 3, four = 4; char compare_ascending(void *const one, void *const another) { int one_value = *((int *) one); int another_value = *((int *) another); char comparison = 0; if (one_valu...
/* * Copyright © 2019 Yandex LLC. All rights reserved. * */ #include <sys/socket.h> #include <stdlib.h> #include <stdio.h> #include <arpa/inet.h> #include <unistd.h> #include <sys/syscall.h> #include <errno.h> #include <linux/bpf.h> #include <linux/filter.h> #include <linux/if_ether.h> #include <linux/ip.h> #inclu...
// File: Thermistor.h // Author: JSpicer // Date: 10/20/17 // Purpose: Thermistor utilities // Hardware: TM4C123 Tiva board #include <stdint.h> #include "Thermistor.h" // Use the following forumla in the Vishay Excel spreadsheet to convert // the temperature to the ADC output. // =CONCATENATE(TEXT(40960000/(C30+10...
/* File: mpi_mat_vect_time.c * * Purpose: Implement parallel matrix-vector multiplication using * one-dimensional arrays to store the vectors and the * matrix. Vectors use block distributions and the * matrix is distributed by block rows. This version * generates a r...
/* * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/licens...
/* rpcap.exe : simple remote pcap sniffer => connects to remote vnet server as a client => dumps a pcap file on stdout Usage : ./rpcap.exe [host_ip port] default is host_ip=127.0.0.1 port=12346 Can be used to feed wireshark in real time : ./rpcap.exe | wireshark -k -i - */ #include <stdio.h> #include <s...
/** * * @file test_dotu.c * * @author Samuel <NAME> * @author Pedro <NAME> * @author <NAME> * @date 2016-06-15 * @precisions normal z -> c * **/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include<time.h> #ifdef BBLAS_WITH_MKL #include <mkl_cblas.h> #include <mkl_l...
/* * Copyright (C) 2019 - 2020 Arm Ltd. All Rights Reserved. * SPDX-License-Identifier: MIT * * 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 lim...
//\Ignore{ #ifdef HAVE_CONFIG_H #include <config.h> #endif /* HAVE_CONFIG_H */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "types.h" #include "errordef.h" #include "alphadef.h" #include "arraydef.h" #include "chardef.h" #include "multidef.h" #include "genfile.h" #include "debugdef.h" #include...
/* * theme: use a template to create a webpage (markdown-style) * * usage: theme [-d root] [-p pagename] [-t template] [-o html] [source] * */ /* * Copyright (C) 2007 <NAME>. * The redistribution terms are provided in the COPYRIGHT file that must * be distributed with this source code. */ #include "config.h"...
#include <syscalls.h> #include <video.h> #include <keyboard.h> #include <bga.h> #include <timer.h> #include <rtc.h> #include <memlib.h> #include <process.h> extern void haltcpu(void); static uint64_t sys_exit(uint64_t code, uint64_t arg2, uint64_t arg3); static uint64_t sys_clear(uint64_t arg1, uint64_t arg2, uint64_...
/************************************************************************************ * Copyright (c) 2015, University of Arkansas - Hybridthreads Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are...
/* * explosion.c - Simple particle system based explosion demonstration. * , * Author: <NAME>, <EMAIL> * * This program is in the Public Domain. You may freely use, modify * and distribute this program. * * * Description: * This program shows an easy way to make simple explosions using *...
#include "sndintrf.h" #include "streams.h" #include "hc55516.h" #include <math.h> /* default to 4x oversampling */ #define DEFAULT_SAMPLE_RATE (48000 * 4) #define INTEGRATOR_LEAK_TC 0.001 #define FILTER_DECAY_TC 0.004 #define FILTER_CHARGE_TC 0.004 #define FILTER_MIN 0.0416 #define FILTER_MAX 1.0954 #defi...
#include <string.h> #include <stdio.h> #include <stdint.h> #include <math.h> #define BIG_ENDIAN_32(X) (((X) << 24) | (((X) << 8) & 0xff0000) | (((X) >> 8) & 0xff00) | ((X) >> 24)) #define ROL(V, B) (((V) << (B)) | ((V) >> (32 - (B)))) #define BLOCK_INTS 16 void md5_buffer_to_block(char* buffer, uint32_t block[16]) { ...
/* Header per funzioni e strutture utilizzate da: * Centrale.c */ #define SEM_PATH "/sem_Server" #define SEM_PATHThread "/MutexThread" #define SEM_PATHLista "/MutexLista" #define SEM_PATHMutexPararm "/Sem_MutexPararm" #define SEM_PATHPrimoRis "/Sem_PrimoRis" #define SEM_PATHwaitRisCont "/waitRisCont" #define MA...
/*! * main.c * SEdetector - Sandbox Evasion detector * * Copyright (c) 2019, <NAME> * Released under the BSD 2 clause license. * see LICENSE.txt */ #include "main.h" int main(int argc, char *argv[]){ // initialize char *path, *cmd; PROCESS_INFORMATION pInfo = {}; HANDLE hPipe; OVERLAPPED Overlapped = {}; ...
/* * $Id: rip6admin.c,v 1.1 2004/09/22 07:24:59 t-momose Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Red...
// Copyright (c) 2003-2019 Xsens Technologies B.V. or subsidiaries worldwide. // 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 ...
/** * @file * Ethernet Interface Skeleton * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * 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. R...
/* -*- linux-c -*- * * Copyright (C) Copyright Nokia Siemens Networks 2010 * (C) Copyright <NAME> 2011 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This * file and...
/* dutils2D.c */ /*---------------------------------------------------------------------------*/ /* */ /* dutils2D.c: 2D data utilities */ /* ...
/***************************************************************************** * Copyright (c) 2009, OpenJAUS.com. * All rights reserved. * * This file is part of OpenJAUS. OpenJAUS is distributed under the BSD * license. See the LICENSE file for details. * * Redistribution and use in source and binar...
/****************************************************************************** Copyright (c) 2021, <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 ...
/************************************************************ * HMMER - Biological sequence analysis with HMMs * Copyright 1992-1995 <NAME> * * This source code is distributed under the terms of the * GNU General Public License. See the files COPYING and * GNULICENSE for details. * ***********************...
// 0x07021E50 - 0x07021E68 static const Lights1 ssl_seg7_lights_07021E50 = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x07021E68 - 0x07021EE8 static const Vtx ssl_seg7_vertex_07021E68[] = { {{{ -224, 0, -224}, 0, { 990, 990}, {0xd6, 0xac, 0xac, 0xff}}}, {{{ ...
/** * @file cmd_data.c * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @brief 'data' command of the libyang's yanglint tool. * * Copyright (c) 2015-2020 CESNET, z.s.p.o. * * This source code is licensed under BSD 3-Clause License (the "License"). * You may not use this file except in compliance with th...
// Porres 2018 #include "m_pd.h" #include "magic.h" #include "buffer.h" #include <math.h> static t_class *wt_class; typedef struct _wt{ t_object x_obj; t_buffer *x_buffer; double x_phase; double x_last_phase_offset; t_float x_freq; t_inlet *x_inlet_phase; t_inlet *x_inlet_sync;...
/* Copyright (c) 2020 <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 DISCLAIMS ALL WARRANTIE...
#include <stdio.h> #include <string.h> #include <stdint.h> #include "wwd_network.h" #include "wwd_management.h" #include "wwd_wifi.h" #include "wwd_debug.h" #include "wwd_events.h" #include "wwd_assert.h" #include "RTOS/wwd_rtos_interface.h" #include "platform/wwd_platform_interface.h" #include "lwip/tcpip.h" #include...
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2008 litl, 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 witho...
/* * FreeRTOS+UDP V1.0.4 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including ...
/* * Multi2Sim * Copyright (C) 2012 <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. * ...
/* * My_Alarm.c * * AUTHORS: * <NAME> - cse13187 * <NAME> - cse13131 * <NAME> - cse31078 * <NAME> - cse93170 * * This is an enhancement to the alarm_thread.c program, which * created an "alarm thread" for each alarm command. This new * version uses a single alarm thread, which reads the next * ent...
/* List and enable/disable service configurations * * Copyright (c) 2017-2021 <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 ...
#include <stdio.h> #include "bsp.h" #include "dvp.h" #include "ft6236u.h" #include "gpiohs.h" #include "incbin.h" #include "keypad.h" #include "kpu.h" #include "lcd.h" #include "operation.h" #include "pin_config.h" #include "region_layer.h" #include "save_data.h" #include "sleep.h" #include "st7789.h" #include "stdio.h...
// Needed for any key constants used in the request/response dics: #include "CPHTasks_Typicapp.h" // Needed for COMMAND_PROC_ARGUMENTS:// Provides some handy utilities for dealing with CF (CoreFoundation). // It may not be used in all tasks but is included so you don't lose it. #include "MoreCFQ.h" #include <copyfile...
/*******************\ * * * DIALIGN 2 * * * * input.c * * * \*******************/ #include <stdio.h> #include <stdlib.h> #inc...
/** _____ ,-. * _______ _____ _____ ___ _,. / / * ___ |__ ____(_)_____ __ /______________ __ ; \____,-==-._ ) * __ /| |_ | / /_ /_ __ `/ __/ __ \_ ___/ _ //_ `----' {+> * _ ___ |_ |/ /_ / / /_/ // /_ ...
// C program for AVL Tree insertion and deletion #include <stdio.h> #include <stdlib.h> // An AVL tree node struct Node { int key; struct Node *left; struct Node *right; int height; }; // A utility function to get height of the tree int height(struct Node *N) { if (N == NULL) return 0; return N->height; } //...
/* objectmap.c - Foundation library - Public Domain - 2013 <NAME> * * This library provides a cross-platform foundation library in C11 providing basic support * data types and functions to write applications and games in a platform-independent fashion. * The latest source code is always available at * * htt...
#include <pebble.h> #include <time.h> // The number of sections of menu #define NUM_MENU_SECTIONS 2 // The number of items for first menu #define NUM_FIRST_MENU_ITEMS 8 // The number of items for the second menu #define NUM_SECOND_MENU_ITEMS 1 Window *my_window; Window *splash_window; Window *event_description_wi...
/* mipslabfunc.c This file written 2015 by <NAME> Some parts are original code written by <NAME> For copyright and licensing, see file COPYING */ #include <stdio.h> #include <stdint.h> /* Declarations of uint_32 and the like */ #include <pic32mx.h> /* Declarations of system-specific addresses etc */ #incl...
/* bootparms.h base on Linux kernel include/asm-x86/bootparam.h */ #include "types.h" #define EDD_MBR_SIG_MAX 16 #define E820MAX 128 #define EDDMAXNR 6 /* extensible setup data list node */ struct setup_data { __u64 next; __u32 type; __u32 len; __u8 data[0]; }; struct screen_info { __u8 orig_x; /* 0x00 */ ...
#include "abclang.h" #include <string.h> /* * Functions to create parser tree, used in yacc * All the memory will be stored in the interpreter_storage. * Need to use abc_storage_malloc to malloc memory. * This memory will be stored in memory all the way through the running of programs. * */ void abc_create_fun...
#define UNICODE #include <nt.h> #include <ntrtl.h> #include <nturtl.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <mmsystem.h> #include <strsafe.h> #include <resrc1.h> #include "internal.h" const WCHAR *InRangeLabelKey = TEXT("AppEvents\\EventLabels\\InfraredInRange"); c...
/* * Copyright (c) 2006-2019, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2019-07-29 zdzn first version */ #include "drv_i2c.h" #if defined (BSP_USING_I2C0) #define I2C1BUS_NAME "i2c0" #endif /*BSP_USING_I2C0*/ #if...
/** * Copyright (C) 2021, Axis Communications AB, Lund, Sweden * * 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 ...
/********************************************************************* * seedutil.c: * * Utility routines for Mini-SEED records. * * Written by <NAME>, IRIS Data Management Center *********************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #i...
#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <signal.h> #include <stdbool.h> #include <unistd.h> #include <time.h> #include <pthread.h> #include "configs.h" #include "access-list.h" #include "db_mysql.h" ...
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <stdint.h> #include <assert.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <amqp_tcp_socket.h> #include <amqp.h> #include <amqp_framing.h> #include "utils.h" #include "lcfg_static.h" static void run ...
/* * Copyright (C) 2000, 2002 <NAME> (<EMAIL>) * Licensed under the GPL */ #include "linux/config.h" #include "linux/fs.h" #include "linux/tty.h" #include "linux/tty_driver.h" #include "linux/major.h" #include "linux/mm.h" #include "linux/init.h" #include "asm/termbits.h" #include "asm/irq.h" #include "line.h" #in...
/* * Copyright (c) 2014 TRUSTONIC LIMITED * All rights reserved * * The present software is the confidential and proprietary information of * TRUSTONIC LIMITED. You shall not disclose the present software and shall * use it only in accordance with the terms of the license agreement you * entered into with TRUSTO...
/* ============================================================================================== * * * * Galaxia Blockchain * * ...
// Running on a STC15F204EA at 11.0529 MHz #include <stc12.h> #include <stdio.h> // Version A only #define RXB P0_0 #define TXB P0_1 // Version B only /* #define RXB P5_4 #define TXB P5_5 */ #define BAUD 0xfe80 // 9600 at 11.0529 MHz #define WRITE_SECOND 0x80 #define WRITE_MINUTE 0x82 #define WRITE_HOUR 0x84 #...
/* glschool_gl.c, Copyright (c) 2005-2012 <NAME> <<EMAIL>> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this pe...
/* Wisp side decompression algorithm @author: <NAME> */ #include "decompression.h" #include "codeTable.h" #include "msp430fr5969.h" /* * TODO Stork must first unlock the decompression function * which will lock itself at the end of data decompressoin */ unsigned int * WP1 = (unsigned int *) 0x18b0; // Write un...
#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <libssh/libssh.h> #include "module.h" #include "module-ssh.h" #include "socket.h" #include "database.h" #include "probeably.h" #include "config.h" #define SSH_BUFFER_SIZE (16*1024) #define SSH_BANNER "SSH-2.0-OpenSSH_7.9 FreeBSD-20200214\r\n" static ...
#include <stdio.h> #include <stdlib.h> #include <vulkan/vulkan.h> #include "shader/simhash.h" #define VK_DEVICE_ENUM_SIZE 10 VkInstance init_vulkan() { VkApplicationInfo app_info = { .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, .pApplicationName = "Hello world!!!", .applicationVersion = VK_MAKE_VERSION(...
#pragma once #include "../db.h" #include "../db_object.h" #include "../db_handle.h" #include "../db_arena.h" #include "../db_map.h" #include "../db_api.h" #include "../db_cursor.h" #include "../db_frame.h" #include "../db_lock.h" #define Btree2_maxkey 4096 // max key size #define Btree2_maxtower 16 // max height of...
/* testTP1() */ /* Rip_TP1() */ /* Depack_TP1() */ #include "globals.h" #include "extern.h" int16_t testTP1 ( void ) { PW_Start_Address = PW_i; /* size of the module */ PW_WholeSampleSize = ( (in_data[PW_Start_Address+4]*256*256*256)+ (in_data[PW_Start_Address+5]*256*256)+ (in_data[PW_Start_Address+6...
/* BB_Encoder.c * * <NAME> & <NAME> & <NAME> * * Created February 22, 2017, 3:07PM * */ /******************************************************************************* * #INCLUDES * ***********************************************************...
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <assert.h> #include <memory.h> #include <xok/sysinfo.h> #include <sys/termios.h> #include <sys/ioctl.h> #include <sys/wait.h> #include <signal.h> #include <errno.h> #include <string.h> #include <sys/utsname.h> /* for uname */ #incl...
/* * Copyright (C) 2019 BiiLabs Co., Ltd. and Contributors * All Rights Reserved. * This is free software; you can redistribute it and/or modify it under the * terms of the MIT license. A copy of the license can be found in the file * "LICENSE" at the root of this distribution. */ #include "remote_interface.h" #...
/* * Copyright (c) 2009-2012 <NAME> and <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the fo...
/* FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
/* Copyright 2020, <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following discl...
/* * 4X Technologies .4xm File Demuxer (no muxer) * 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 * v...
/*---------------------------------------------------------------------------- * File: ooaofooa_O_RTIDA_class.c * * Class: Referred To Identifier Attribute (O_RTIDA) * Component: ooaofooa * * your copyright statement can go here (from te_copyright.body) *-----------------------------------------...
/* Create & delete files at random, with random sizes. This is for testing the jffs filesystem code. Before you run filegen, you almost certainly want to set up jffs so that it runs out of RAM instead of flash. Edit linux/fs/jffs/jffs_fm.h, change: "#define JFFS_RAM_BLOCKS 0" to be non-zero. */ #include <stdio...
/* * Copyright 2021 The UAPKI Project Authors. * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * * 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 a...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "pra.h" #include "Lista.h" #include "ABP.h" void Comprimir(char *arquivo){ FILE *texto, *comp; char c; int pos; Info aux; texto = fopen(arquivo, "r"); if(texto == NULL){ exit(1); } arquivo = strtok(arquivo, "."); strcat(arquivo, ".pra"...
/* * Copyright (c) 2016 NLNet Labs. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
/* $Id$ */ /* Copyright (c) 2011-2019 <NAME> <<EMAIL>> */ /* This file is part of DeforaOS Desktop Accessories */ /* 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...
/* Bacula(R) - The Network Backup Solution Copyright (C) 2000-2018 <NAME> The original author of Bacula is <NAME>, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the license defined in the LICENSE ...
// // HHArray.c // HHArray // // Created by <NAME> on 4/21/15. // Copyright (c) 2015 harlanhaskins. All rights reserved. // #include <stdlib.h> #include <stdint.h> #include <string.h> #include "utilities.h" #define ITEM_SIZE sizeof(void *) typedef struct HHArray_S { size_t size; size_t capacity; void...
/********************************************************************************************** File: agent.c Description: Here are all the function needed to initiate the work of the agents. *******************************************************************************************...
/*----------------------------- [configurations.c] - <NAME> 2019-2020 -----------------------------*/ #include <limits.h> #include <math.h> #include <setjmp.h> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <cmocka...
/** Copyright (C) 2004 <NAME>, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
#include "fioFormatV.c" #include <stdio.h> status_t my_printf (const char *buf, size_t nchars, size_t outarg) { printf("%.*s", (int)nchars, buf); return 0; } #define SANITY "this is a string\n" #define SANITY_2 "this is a string\n%d aaaaaaaaa\n" #include <stdlib.h> #in...
/*** debwalk.c - walk bound expression tree and perform operations * */ #include "debexpr.h" bool_t PushCXT (peval_t); bool_t GetCXTL (pnode_t); bool_t GetCXTFunction (pnode_t, pnode_t); /** DoGetCXTL - Gets a list of symbols and contexts for expression * * status = DoGetCXTL (phTM, phCXT...
/********************************************************* * From C PROGRAMMING: A MODERN APPROACH, Second Edition * * By <NAME> * * Copyright (c) 2008, 1996 <NAME> & Company, Inc. * * All rights reserved. * * This program may be freely ...
#include "GenerateLLVTD.h" /************ Parsing arguments function ************/ /* Parse command line to initialize GenLLVTDparams object */ /* Masses are input in solar masses and distances in Mpc - converted in SI for the internals */ static void parse_args_GenerateLLVTD(ssize_t argc, char **argv, GenLLVTDparams*...
/*-------------- Telecommunications & Signal Processing Lab --------------- Routine: AFILE *AFrdNShead(FILE *fp) Purpose: Get file format information from an NSP file Description: This routine reads the header for an NSP file. The header information is used to set the file data format information in the audi...
/* * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.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.tizenopensource.org/license * * Unless required by applicable law or ...
/* Partner : Stephanie <EMAIL> * Lab Section : 021 * Assignment: Lab3 Exercise 1-3 (SPI Transmission) * Created: 2019-10-16 오후 3:52:18 * Author : Lincoln * * I acknowledge all content contained herein, excluding template * or example code, is my own original work. */ #include <avr/io.h> #include <a...