text
stringlengths
3.12k
18.7k
#include <stdio.h> #include <string.h> #include <unistd.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "freertos/timers.h" #include "lwip/err.h" #include "lwip/sockets.h" #include "nvs_flash.h" #include "esp_err.h" #include "esp_log.h" #include "esp_sleep.h" #i...
/* * SPDX-License-Identifier: BSD-3-Clause * * Copyright 2019-2021, <NAME> <<EMAIL>> */ #include <errno.h> #include <getopt.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "parse.h" #include "utils.h" static const struct option opts[] = { {"columns...
#include "config.h" #include "i2c.h" #include "HDMI.h" #ifdef OLD_EVB #define HDMI_I2C I2C2 #else #define HDMI_I2C I2C1 #endif // ifdef OLD_EVB void HDMI_configuration(void) { // -------------------------------------------------------------------- // 1280*720@60Hz, HDMI Output, RGB 4:4:4 24-Bit Input // ...
/* $XConsortium: ppaste.c,v 1.4 94/04/17 20:33:50 rws Exp $ */ /* $XFree86: xc/programs/Xserver/XIE/dixie/process/ppaste.c,v 3.0 1996/03/29 22:11:04 dawes Exp $ */ /**** module ppaste.c ****/ /****************************************************************************** Copyright (c) 1993, 1994 X Consortium Permiss...
// Copyright 2019 Shift Cryptosecurity AG // // 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 ...
/*- * Copyright (c) 2005 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions an...
/* * Copyright (C) 2019-2020, Advanced Micro Devices. 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...
/** NAME: <NAME> DATE: 2019-10-01-233045 BRIEF: BUTTON_TOUCH 是设置的中断的IO口, 上升沿的时候触发中断,下降沿的时候中断停止触发, 触发中断之后,定时器开始计时,计时的间隔为LED_TOGGLE_INTERVAL, 在定时器溢出之后,调用led_toggle_timeout_handler函数,即s_tx(), s_tx()函数先启用高频时钟, 然后用温度传感器采集温度信息,通过ESB发送, 延时200ms,再从高频时钟调整成低频时钟 BUTTON_TOUCH is the IO port set. When BUTTON_TOUCH is rising edge,...
/* * This software is Copyright (c) 2016-2017 <NAME> * [denis_burykin yahoo com], [denis-burykin2014 yandex ru] * and it is hereby released to the general public under the following terms: * Redistribution and use in source and binary forms, with or without * modification, are permitted. * */ #include <stdio.h> ...
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include <uuid/uuid.h> #include "sem_dynamic_array.h" #include "sem_error.h" #include "sem_heap.h" #include "sem_signal.h" #include "sem_track_cache.h" #include "sem_timer.h" #include "sem_world.h" sem_success sem_track_accept(sem_train* train, sem_track* tra...
// SPDX-License-Identifier: GPL-2.0-only // // tegra_audio_graph_card.c - Audio Graph based Tegra Machine Driver // // Copyright (c) 2020-2021 NVIDIA CORPORATION. All rights reserved. #include <linux/math64.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <sound/gr...
/* * 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...
/** * \file * * \brief LIN example for SAM. * * Copyright (c) 2012-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 Microchip products. * It is...
// File: HAL_PWM.c // Author: JSpicer // Date: 10/04/17 // Purpose: PWM utilities // Hardware: TM4C123 Tiva board #include <stdint.h> #include <assert.h> #include "HAL.h" #include "tm4c123gh6pm.h" // These are base IO addresses of the PWM modules. #define PWM0_REG_BASE ((volatile uint32_t *)0x40028000) #define PW...
#include "postgres.h" #include "fmgr.h" #include "funcapi.h" #include "catalog/pg_type.h" /* oids of known types */ #include "utils/builtins.h" /* Builtin functions, including lower() */ #include <math.h> #include <stdlib.h> #include <stdio.h> #include <strings.h> /* Do the module magic dance */ #ifdef PG_M...
/* * @brief This file contains USB HID Generic example using USB ROM Drivers. * * @note * Copyright(C) NXP Semiconductors, 2013 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC prod...
/* hgGtexGeneBed - Load BED6+ table of per-gene data from NIH Common Fund Gene Tissue Expression (GTEX) Format: chrom, chromStart, chromEnd, name, score, strand, geneId, transcriptId, transcriptClass, expCount, expScores (gtexGeneBed.as) Uses hgFixed ...
#include <stdio.h> #include <string.h> struct Instruction { unsigned int opcode; unsigned int a; unsigned int b; unsigned int c; }; void addr(struct Instruction instruction, long long state[6]) { state[instruction.c] = state[instruction.a] + state[instruction.b]; } void addi(struct Instruction in...
/* <NAME> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <libpq-fe.h> #include <sys/stat.h> #include <sys/types.h> #define READ_BUF_LENGTH 1024 #define MAX_DB_STATEMENT_BUFFER_LENGTH 5000 /* Change these variables to match your database. */ #define DBNAME "cs161" #define HOST "localhost" #de...
/* * The MIT License (MIT) * * Copyright (c) 2016 <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, cop...
#include "conjgrad.h" static int richolu(double *A,int N, int stride, double *U22) { int sc; int j,i,u,w; double u11; if (N == 1) { if (A[0] > 0) { A[0] = sqrt(A[0]); return 0; } else { return -1; } } else { if (A[0] < 0) { return -1; } u11 = sqrt(A[0]); A[0] = u11; for (j = 1; j < N...
/* * Copyright (c) 2011-2015, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of con...
/****************************************************************************** * * Copyright (C) 2012 <NAME> Microdevices Corporation, Japan * * 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 Licens...
/* edtcmd.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__1 = 1; /* $Procedure EDTCMD ( Edit a file using a specified text editor ) */ /* Subroutine */ int ...
/* $OpenBSD: if_hme_pci.c,v 1.8 2003/02/14 21:05:12 henric Exp $ */ /* $NetBSD: if_hme_pci.c,v 1.3 2000/12/28 22:59:13 sommerfeld Exp $ */ /* * Copyright (c) 2000 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
/** * @file url.c * @author <NAME> * @see parser.h * @date 2018-07-01 * @version 2018-07-08 * * DISCLAIMER * This file has no copyright assigned and is placed in the Public Domain. * All contributions are also assumed to be in the Public Domain. * Other contributions are not permitted. * * THE SOFTWARE IS ...
/*$Header: /data/petsun4/data1/src_solaris/ecat/RCS/ecatto4dfp.c,v 1.6 2011/08/31 16:24:35 larsc Exp $*/ /*$Log: ecatto4dfp.c,v $ * Revision 1.6 2011/08/31 16:24:35 larsc * Changed Start column in rec file to Midpoint and added Ecat_Frame. Eliminated frame factor stout. * * Revision 1.5 2011/07/08 17:21:01 la...
//------------------------------------------------------------------------------ // Copyright (C) 2010, Raditex AB // modified by <NAME> 2012 // All rights reserved. // // FreeSCADA // http://www.FreeSCADA.com // <EMAIL> // //------------------------------------------------------------------------------ #include <sys...
/* CPMIO: CP/M console emulation library Copyright (C) 1998 - 1999, <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, ...
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <time.h> #define Z 3 typedef struct { pthread_barrier_t* syncLayer; int ij[2]; } ThreadRecord; double dt = 1, dx = 1, dy = 1, dz = 1; double a = 1; double*** matrix; int N = 0, M = 0, T = 0; double force_impact(double x, double y, double t) { ...
/* * Copyright (c) 2016 Google, Inc * * From coreboot src/soc/intel/broadwell/sata.c * * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/intel_regs.h> #include <asm/lpc_common.h> #include <asm/pch_common.h> #include <asm/pch_common.h...
#include<stdio.h> void diagonal_principal(int mat[3][5], int loop, int produto1, int linha, int coluna , int ordem ,int *dp){ //percorre os valores da diagonal princípal e retorna // na variavel dp o calculo dos valores da diagonal principal if( loop > 0 ){ if(linha < ordem)...
/* The Keccak sponge function, designed by <NAME>, <NAME>, <NAME> and <NAME>. For more information, feedback or questions, please refer to our website: http://keccak.noekeon.org/ Implementation by <NAME>, hereby denoted as "the implementer". To the extent possible under law, the implementer has waived all copyright a...
/* deem version 1.0 - Key-Value ar Archive for Non-File Makefile Dependencies Copyright (c) 2015 <NAME> MIT License 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 w...
#include <sodium.h> #include <string.h> #include <stdio.h> #include <arpa/inet.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> typedef struct { unsigned char id[3]; unsigned char version; uint32_t opslimit; uint32_t memlimit; unsigned char salt[16]; unsigned char non...
/* SPDX-License-Identifier: BSD-2-Clause */ #include <stdarg.h> #include <string.h> #include "ts_zpu.h" /* FIFO Connection to CPU * * While the ZPU can be used standalone, its often beneficial to move data * between it and the host CPU. We have created a simple FIFO that resides in * the ZPU memory space. Due to...
#define global #include "stdio.h" #include "barrier.h" #include "stdint.h" #define NPROC 64 volatile int CountLock = 0; #define cmp0_0 0x1ff000000 #define cmp0_1 0x1ff000100 #define cmp0_2 0x1ff000200 #define cmp0_3 0x1ff000300 #define cmp0_4 0x1ff000400 #define cmp0_5 0x1ff000800 #define cmp0_6 0x11fde6f50 #define ...
/* sdl: audio output via SDL cross-platform API copyright 2006-2016 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by <NAME> */ #include "out123_int.h" #include <math.h> #include <SDL.h> #ifdef WIN32 #inc...
/* * Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The RACE - Runtime for Airspace Concept Evaluation platform is licensed * under the Apache License, Version 2.0 (the "License"); you may not use...
/* * Ruby9i -- a Ruby library for accessing Oracle9i through the OCI * Copyright (C) 2003-2004 <NAME> <<EMAIL>> * * This file is part of the Ruby9i library. This Library is free software; * you can redistribute it and/or modify it under the terms of the license * contained in the file LICENCE.txt. If you did no...
/* * Copyright (c) <NAME>, 2020, 2021 * * Copyright holder grants permission for redistribution and use in source * and binary forms, with or without modification, provided that the * following conditions are met: * 1. Redistribution of source code must retain the above copyright * notice, this l...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <time.h> #include "../inc/utils.h" #include "../inc/blocking.h" void blocked_csr_init(blocked_csr *blk_A, csr_format *csr_A, int b){ blk_A->nz = csr_A->nz; blk_A->N = csr_A->N; blk_A->M = csr_A->M; blk_A->b ...
/* ** mouse:~ppr/src/lprsrv/lprsrv_client_info.c ** Copyright 1995--2005, Trinity College Computing Center. ** Written by <NAME>. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are met: ** ** * Redistributions of source cod...
#include <rte_common.h> #include <rte_log.h> #include <rte_memory.h> #include <rte_memcpy.h> #include <rte_eal.h> #include <rte_launch.h> #include <rte_atomic.h> #include <rte_ether.h> #include <rte_ethdev.h> #include <rte_cycles.h> #include <rte_prefetch.h> #include <rte_lcore.h> #include <rte_per_lcore.h> #include <r...
#include <stdio.h> #include <limits.h> #include <stdlib.h> #include <string.h> /* Little map. {char -> int} * * Supports (get, set, has, keys) * No error checking, really. Quick and dirty. * */ struct tablet { // size => allocated. // length => num of elements. int size, length; unsigned (*hashfunc...
#include <stdlib.h> #include "yxml.h" #include "lua.h" #include "lauxlib.h" #include "lualib.h" #define BUFSIZE 4096 struct yxml_state { yxml_t *x; }; int yxml_new (lua_State *L) { struct yxml_state * state; /* create a userdata object */ state = (struct yxml_state *) lua_newuserdata(L, sizeof(struct yxml_s...
// Lab 4, terrain generation #ifdef __APPLE__ #include <OpenGL/gl3.h> // Linking hint for Lightweight IDE // uses framework Cocoa #endif #include "MicroGlut.h" #include "GL_utilities.h" #include "VectorUtils3.h" #include "loadobj.h" #include "LoadTGA.h" mat4 projectionMatrix,worldToViewMatrix; vec3 cam_pos,cam_dir...
#include <tlm.h> /* * rm.c: This model provides the functions required by ROSS to * execute the TLM Model Logical Processes. */ /* * This function initializes the TLM Model LP state. The purpose * of this function is to initialize the LP state variables. */ void _tlm_init(tlm_state *state, tw_lp * lp) ...
#include <limits.h> #include <stdlib.h> #include <glib/gprintf.h> #include <libmount/libmount.h> #include "util.h" #include "whitelist.h" GHashTable *find_files_in_packages(const char *base) { const gchar *cent, *pent; GDir *dirp = g_dir_open(base, 0, NULL); GHashTable *set = g_hash_table_new_full( ...
#include<stdlib.h> #include<stdio.h> #include<errno.h> #include<string.h> #include<math.h> #include "curvefit.h" #define GETMAT_COLUMN(matrix, icol, yvec) \ do{ \ for(int idx=0; idx < matrix->nrow; idx++) { \ ...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * 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 versio...
#include "imageri.h" #include <stdio.h> static volatile im_slot_t slot_count = 1; static im_slot_destroy_t *volatile slot_destructors; static volatile i_mutex_t slot_mutex; /* =item im_context_new() Create a new Imager context object. =cut */ im_context_t im_context_new(void) { im_context_t ctx = malloc(sizeof(i...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
/********************************************************************** Each of the companies; Qualcomm, and Lucent (hereinafter referred to individually as "Source" or collectively as "Sources") do hereby state: To the extent to which the Source(s) may legally and freely do so, the Source(s), upon submission of a ...
/* * Copyright (c) 2014 <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: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and ...
/** ***************************************************************************** @file AfeHPDacLib.c @brief Set of high Power DAC peripheral and wave generator functions @version V0.1 @author ADI @date September 2016 @par Revision History: - V0.1, September 2016: initial vers...
/* * Low level TCP and UDP IO communication implementation for * bjnp backend for the Common UNIX Printing System (CUPS). * Copyright 2008-2014 by <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 Soft...
/* * honeread - Example reader for hone character device * * Copyright (C) 2011 Battelle Memorial Institute * * Licensed under the GNU General Public License Version 2. * See ../src/LICENSE for the full text of the license. * See ../src/DISCLAIMER for additional disclaimers. * * Author: <NAME> * * honeread i...
// Header files #include <limits.h> #include <os_io_seproxyhal.h> #include <string.h> #include "common.h" #include "menus.h" #include "state.h" // Constants // Hexadecimal characters static const char HEXADECIMAL_CHARACTERS[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; // Su...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdbool.h> #include <SDL2/SDL.h> #include "zip.h" #include "snes.h" #include "tracing.h" /* depends on behaviour: casting uintX_t to/from intX_t does 'expceted' unsigned<->signed conversion ((int8_t) 255) == -1 same with ass...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <arpa/inet.h> #include <assert.h> #include <signal.h> #include <fcntl.h> #include <sys/epoll.h> #include <unistd.h> #include <openssl/ssl.h> #include <openssl/err.h> #include <readline/readline.h> #include "util.h" #include "...
/****************************************************************************** * * Copyright (C) 2009-2012 Broadcom Corporation * * 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: * ...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
/* Copyright (c) 2013-2016, <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: * * * Redistributions of source code must retain the above copyright notice, * this list of cond...
/* * * Copyright (c) International Business Machines Corp., 2002 * * 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 l...
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
#include <stdint.h> #include <stdbool.h> #include <string.h> #include <pru_cfg.h> #include <pru_intc.h> #include <pru_iep.h> #include "rpmsg.h" #include "iep.h" #include "gpio.h" #include "commons.h" #include "shepherd_config.h" /* The IEP is clocked with 200 MHz -> 5 nanoseconds per tick */ #define TIMER_TICK_NS 5 ...
/* @file main.c @brief Bare-Metall example main.c for ATSAMD51/ATSAME51 @date 2020-05-01 @author <NAME> */ #include "sam.h" #include "tft.h" volatile uint8_t system_tick = 0; void SysTick_Handler(void) { system_tick = 42; } void init_clock(void) { /* AUTOWS is enabled by default in REG_NVMCTRL_CTRL...
//============================================================================ /// @file heap.c /// @brief A simple heap memory manager // // Copyright 2016 <NAME>. // Use of this source code is governed by a BSD-style license // that can be found in the MonkOS LICENSE file. //============================...
#include "texpack.h" #include <stdlib.h> #include <string.h> #include <assert.h> struct tp_node { struct texpack_pos pos; // pack int16_t is_split_y; struct tp_node *next, *child, *parent; int remain_area, remain_len, remain_space; }; struct texpack { int w, h; struct tp_node* root; size_t free_next, free...
/* * MIT License * * Copyright (c) 2020 dead-end * * 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,...
/* fivmr_target.h. Generated from fivmr_target.h.in by configure. */ /* fivmr_target.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* prefix for JNI */ #define FIVMSYS_JNIPRE "lib" /* suffix for JNI */ #define ...
/****************************************************************************/ /* */ /* PC-DCL - DCL command line interpreter for Windows. */ /* Copyright (C) 1991-2007 by <NAME> */ /* ...
// 网络连接相关 #include <string.h> #include <errno.h> #include <unistd.h> // for close #include "app.h" #include "msgbuf.h" extern appServer app; /* =========================== c call lua =========================== */ void cl_handlePkt(int fd, msgPack * pkt){ // lua_handleMsg(fd,cmd,fromTy,fromId,toTy,toId,pkt); lua_...
/* PsychAlphaBlending.c PLATFORMS: Only OS X for now. AUTHORS: <NAME> awi <EMAIL> HISTORY: 1/7/04 awi Wrote it DESCRIPTION: Functions for getting and setting the alpha blending rule in windows. To assure consistent treatement of state ONLY functions in this file should be used as a gate...
#include "array_count.h" size_t hstoreCheckKeyLen( size_t len ) { if( len > HSTORE_MAX_KEY_LEN ) ereport( ERROR, ( errcode( ERRCODE_STRING_DATA_RIGHT_TRUNCATION ), errmsg( "string too long for hstore key" ) ) ); return len; } HStore * adeven_count_text_array( Datum* i...
/* ** Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved. ** Copyright (C) 2005-2013 Sourcefire, 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. You m...
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/library/container.h> #include <net-snmp/library/snmp_debug.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #incl...
/* Electric Sheep Party: Bot Code * This is the code that runs on the ESP32, that controls the bots. * * It works on a request response model. First it instantiates all of the peripherals * Then it connects to the wifi access point, and then enters the main loop * In the main loop, it constantly listens from a com...
/** ** to_png.c: Portable Network Graphics (PNG) converter part of project "hp2xx" ** <NAME>, <EMAIL> ** Derived from: to_gif.c (GIF module; no longer supported due to copyright ** problems with the GIF-internal LZW compression) ** 94/08/22 V 1.00 MS started from scratch, using to_pbm.c...
/*++ Copyright (c) 1988-1999 Microsoft Corporation Module Name: ctable.c Abstract: Command dispatch --*/ /*** Operator and Command Jump Table * * This file is included by cmd.c and contains the operator and command jump * table. Every command and operator has an entry in the t...
/* * <legal> * CERT Rosecheckers * Copyright 2007-2021 Carnegie Mellon University. * * NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING * INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON * UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR * IMPLIED, AS TO A...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus - ai_controller.c * * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * * Copyright (C) 2014 <NAME> * * ...
// EMPLOYEE DATABASE MANAGEMENT SYSTEM #include <stdio.h> //for input output functions like printf, scanf #include <stdlib.h> #include <conio.h> #include <windows.h> //for windows related functions (not important) #include <string.h> //string operations //#include<graphics.h> /* List of Global Variable */ COORD...
/* * auth node * * can NODE_EXIT * * $Id$ * * Copyright 1999-2004 <NAME> under the ARTISTIC LICENSE. (See LICENSE). */ #include "c_defs.h" #include "context.h" #include "global.h" #include "datatypes.h" #include "color.h" #include "conf.h" #include "gldisplay.h" #include "node.h" #include "client.h" #include ...
/* # # ---------------------------------------------------------------------------- # # Copyright 2021 IBM Corporation # # 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.or...
// Copyright 2007-2009 Google 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 agreed ...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <dirent.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "b_tree.h" #include "directory.h" #include "file.h" #include "inverted_index.h" #define SEARCH_PATH "/data/wiki/origins/" B_Tree *create_node(char *word,...
#include "s.h" #include "r.h" #include "sparc.h" #include <signal.h> /* #include <sys/sysinfo.h> #include <sys/proc.h> #ifdef sparc #include <siginfo.h> #endif */ extern int my_sigaction(int, const struct sigaction*, struct sigaction*); #ifdef sparc unsigned long GetIReg(ucontext_t *uctxt, int i) { if (i == 0...
#include "driverlib/legacy.h" #ifndef DRIVERLIB_BUILD_CC13X2_CC26X2 enum { CHIP_TYPE_CC2640R2 = 8, //!< 8 means that this is a CC2640R2 chip. CHIP_TYPE_CC2642 = 9, //!< 9 means that this is a CC2642 chip. CHIP_TYPE_unused = 10,//!< 10 unused value CHIP_TYPE_CC2652 = 11,/...
#include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <string.h> #include <stdbool.h> #include "brainfuck.h" #define COMMAND_LINE_STR_SIZE (20) #define FILE_NAME_SIZE (20) static bf_env *global_env; static struct option long_options[] = { {"version", no_argument, 0, 'v'}, {"help", no_arg...
#include <shell.h> #include <clib.h> #include <fanorona.h> #include <command.h> #include <scanf.h> #include <fractal.h> #include <c_syscall.h> #include <prod_con.h> #define NULL 0 void * memset(void * destiny, int32_t c, uint64_t length); extern char bss; extern char endOfBinary; extern void cvinitlock(); /* command ...
#include "ogg_decoder.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include "ogg/vorbis/vorbisenc.h" struct _OGGDecoder { ogg_sync_state oy; /* sync and verify incoming physical bitstream */ ogg_stream_state os; /* take physical pages, weld into a logical stream of packets */ og...
/*╭─────────────────────────────────────────────╮ │ File: proj1.c │ │ Author: <NAME> (94230) │ │ Description: Contem as funcoes principais │ ╰─────────────────────────────────────────────╯ */ #include "aux.h" /*╭─────────────────────────────────────┬───────┬─────...
/*----------------------------------------------------------------------------- * $RCSfile: sec_dconv.c,v $ * * See Copyright for the status of this software. * * The OpenSOAP Project * http://opensoap.jp/ *----------------------------------------------------------------------------- */ #include <OpenSOAP/Error...
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<string.h> #include<fcntl.h> #include<errno.h> #include"log.h" #include"service.h" #include"service_http.h" #include"string2.h" #include"thread_l...
#include "gcode_parse.h" /** \file \brief Parse received G-Codes */ #include <stdlib.h> #include "config.h" #include "sersendf.h" #include "serial.h" #include "sermsg.h" #include "gcode_process.h" /// current or previous gcode word /// for working out what to do with data just received uint8_t last_field = 0; ///...
/* * This file is part of the coreboot project. * * Copyright (C) 2017 <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; version 2 of the License. * * This program is d...
/* * Common code related to colorspaces and conversion * * Copyleft (C) 2009 <NAME> <<EMAIL>> * * This file is part of MPlayer. * * MPlayer 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 versi...
/* Fake86: A portable, open-source 8086 PC emulator. Copyright (C)2010-2013 <NAME> 2019 <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 ...