text
stringlengths
5.8k
28.2k
/* =========================================================================== * uz80as, an assembler for the Zilog Z80 and several other microprocessors. * * Zilog Z80 CPU. * =========================================================================== */ #include "pp.h" #include "err.h" #include "options.h" #incl...
/** * \file * * \brief Common Sensor Service Light and Proximity Sensor Example * * 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 exclusive...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
// Copyright (C) 2012 - <NAME>. All rights reserved. #include "wrk.h" #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <getopt.h> #include <math.h> #include <netdb.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #incl...
/*- * 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 * notice, this list of conditions an...
#include "skifio.h" #include <string.h> #include <stdio.h> #include <fsl_common.h> #include <fsl_iomuxc.h> #include <FreeRTOS.h> #include <task.h> #include <semphr.h> #include <hal/assert.h> #include <hal/spi.h> #include <hal/gpio.h> #include <hal/time.h> #include <utils/crc.h> #define SPI_BAUD_RATE 25000000 #d...
/* BSD 2-Clause License * * Copyright (c) 2018, 2019 <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, * thi...
/*=====================================================================================================*/ /*=====================================================================================================*/ #include "stm32f4_system.h" #include "stm32f4_i2c.h" #include "QCopterFC.h" #include "QCopterFC_board.h" #in...
/* * 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...
/* portable code to decrunch XPK-SQSH files written from "xpksqsh.library 1.10 (6.3.94)" (24.12.97) <EMAIL> tested with sas6.51(m68k) gcc2.7.2(i386) gcc2.7.2(sparc) */ /* modified by <NAME> for use with xmp checksum added by <NAME> <<EMAIL>> */ #ifdef HAVE_CONFIG_H #include "con...
#include "linne_utility.h" #include <math.h> #include <stdlib.h> #include "linne_internal.h" /* CRC16(IBM:多項式0x8005を反転した0xa001によるもの) の計算用テーブル */ static const uint16_t st_crc16_ibm_byte_table[0x100] = { 0x0000, 0xc0c1, 0xc181, 0x0140, 0xc301, 0x03c0, 0x0280, 0xc241, 0xc601, 0x06c0, 0x0780, 0xc741, 0x0500, 0xc5...
#include "crypto/sha2.h" #include "stdlib.h" #include "string.h" /** * @file sha2.c * Self-contained implementation of SHA-2. */ /* * TODO: Detect the endianess of the machine * TODO: Change the return procedure depending on endianess * TODO: Change the input procedure depending on endianess */ /** * @def RO...
/* * System Interface Library for games * Copyright (c) 2007-2020 <NAME> <<EMAIL>> * Released under the GNU GPL version 3 or later; NO WARRANTY is provided. * See the file COPYING.txt for details. * * tools/makefont.c: Program to create a font file for use with the bitmap * font functionality from a texture and ...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
/* * FIPS 180-2 SHA-224/256/384/512 implementation * Last update: 02/02/2007 * Issue date: 04/30/2005 * * Copyright (C) 2005, 2007 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
#include "VX_lib.h" #include "ao_traversal.h" static int aoptimal_p( VX_aoct_node * root ){ /* raw case */ if( root->flags & (1 << 31) ) return 0; /* oct case - warn: test only the first byte in future! */ if( !root->flags ){ /* all subnodes are NULL */ return 1; } if(...
/* * Copyright 2002 by <NAME>, Sychdyn, North Wales, UK. * * 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 per...
/* Target-vector operations for controlling Unix child processes, for GDB. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Cygnus Support. ## Contains temporary hacks.. This file is part of GDB. This program is f...
#include "asn1.h" #include "data_types.h" #include "platform_invariance.h" #include "cosem_association.h" #include "apdu_types.h" #include "debug.h" #include "xDLMS.h" #include <stdio.h> uint8_t decode_asn_triplet(tlv_triplet_t * triplet, uint8_t * packet, uint32_t size) { if(0 == packet) return FALSE; triplet->tag...
/* * Copyright (c) 2001-2003, <NAME> * Copyright (c) 2002-2003, <NAME> * Copyright (c) 2003-2005, <NAME> and <NAME> * Copyright (c) 2005, <NAME>, FreeImage Team * Copyright (c) 2002-2005, Communications and remote sensing Laboratory, Universite catholique de Louvain, Belgium * Copyright (c) 2006, <NAME>, Image Pr...
/* * Copyright 2018-2019 Redis Labs Ltd. and Contributors * * This file is available under the Redis Labs Source Available License Agreement */ #include "ast.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../util/arr.h" #include "../util/rmalloc.h" #include "../procedures/procedure.h" #include...
/** * Copyright (c) 2017 <NAME> * All rights reserved * * FTI - A multi-level checkpointing library for C/C++/Fortran applications * * Revision 1.0 : Fault Tolerance Interface (FTI) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2014 Intel Corporation */ #include <stdint.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/time.h> #include <rte_common.h> #include <rte_cycles.h> #include <rte_random.h> #include <rte_malloc.h> #include <rte_memcpy.h> #inclu...
/* * * Copyright 2005, <NAME> <<EMAIL>> * * This file is licensed under the GPL v2. * */ #include "builtin.h" #include "repository.h" #include "packfile.h" #include "object-store.h" #define BLKSIZE 512 static const char pack_redundant_usage[] = "git pack-redundant [--verbose] [--alt-odb] (--all | <filename.pack>...)...
/****************************************************************************** * C language implementations of the AES-128 and AES-256 key schedules to match * the barrel-shiftrows representation. Note that those implementations rely on * Look-Up Tables (LUT). * * See the paper at https://eprint.iacr.org/2020/1123.pdf...
/* Code from https://github.com/miloyip/dtoa-benchmark/blob/master/src/fpconv/fpconv.c */ #include <stdbool.h> #include <string.h> #include <stdint.h> #define npowers 87 #define steppowers 8 #define firstpower -348 /* 10 ^ -348 */ #define expmax -32 #define expmin -60 typedef struct Fp { uint64...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
/* * qspi_driver.c * * * Created on: 24 May 2015 * Author: <NAME> * * Comments: Based on driver for Halo developped by <NAME> */ #include "qspi_driver.h" #define QSPI_FREQ void quadspi_switch(unsigned int mode) { SIUL2.MSCR[5].B.MUX_MODE = 0; // GPIO mux mode selected SIUL2.MSCR[5].B.OBE = 1; /...
/* $Id: proto_push_configure.c 24217 2013-05-31 03:51:24Z yamazaki $ */ /* * Copyright (c) 2012, Internet Initiative Japan, 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: * * 1. R...
/** * MD5 hashing realization * * Copyright (c) 2012, 2015, <NAME> <<EMAIL>> * * 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...
/* Copyright (c) 2019 <NAME> All rights reserved. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ /* system includes */ #include "FreeRTOS.h" #include "queue.h" #include "BCDS_WlanConnect.h" #include "BCDS_NetworkConfig.h" #include "PAL_...
/* * Copyright (c) 2005-2020 Imperas Software Ltd., www.imperas.com * * 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 requir...
/***************************************************************************** * matroska_ebml.c: matroska muxer utilities ***************************************************************************** * Copyright (C) 2005-2013 x264 project * * Authors: <NAME> <<EMAIL>> * * This program is free software; you can ...
/* Copyright (C) 2005 <NAME>, CSIRO, <NAME> File: vorbis_psy.c 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...
/* Copyright (c) 2001, Stanford University * All rights reserved * * See the file LICENSE.txt for information on redistributing this software. */ #include <stdlib.h> #include "server.h" #include "cr_unpack.h" #include "cr_error.h" #include "cr_mem.h" #include "server_dispatch.h" /** * Accept a new client connec...
#include <pthread.h> #include <errno.h> /* #include <unistd.h> */ /* for system information */ #include <stddef.h> #include <mex.h> #include <math.h> #include "matrix.h" #include "ow_homography.h" /* Function to do the heavy computation for variational blind deblurring Multi-threaded version, requires libp...
#include <8051.h> #include <stdbool.h> #include <math.h> // Unfortuantely, because of how memory is mapped in the 8051, the // special registers are _not_ indirectly accessibly by memory // They're only directly accessible. This means we need to set up something // of a roundabout method of referring to them when wri...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2015, <NAME> <<EMAIL>> * * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/* * File: TFT, keypad, DAC, LED, PORT EXPANDER test * With serial interface to PuTTY console * DMA GetMachineBuffer * !!!Modified scheduler!!! * * Author: <NAME> * For use with Sean Carroll's Big Board * http://people.ece.cornell.edu/land/courses/ece4760/PIC3...
/******************************************************************************/ /************* Here begins the "stem.c" module **************************/ /******************************************************************************/ /******************************* stem.c ************************...
/* * Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #define _GNU_SOURCE #include <assert.h> #include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #inclu...
/* * Copyright(c) 2020 ADLINK Technology Limited and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License * v. 1.0 which is available at * ...
#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 <string.h> #include "version.h" #include "internal.h" struct AVFormatContext; struct AVCodecContext; struct AVFrame; struct AVCodec; struct AVCodecParameters; struct AVPacket; typedef struct ncvisual { struct AVFormatContext* fmtctx; struct AVCodecContext* codecctx; // video codec context struct ...
/******************************************************************************* Memory System Service Functions for DDR Initialization Company: Microchip Technology Inc. File Name: plib_ddr.c Summary: Memory System Service implementation for the DDR controller. Description: The Memory Sys...
#include "structs.h" #include "globals.h" #include <stdbool.h> #include <strings.h> #include <unistd.h> typedef struct thread_info{ bool debugging; int npb; esp_fmed * pmed_toblc; int waitTime; pid_t pidClienteAtender; // Thread for life signal bool t_die; // <Thread_Die> pthread_t ti...
/* * Copyright 1996-2020 Cyberbotics Ltd. * * Licensed under the Apache License,file:///home/wu/Workspace/webots/camera/controllers/robot_cam/robot_cam.c 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.a...
/****************************************************************************** * * ghostshell - @emptymonkey's User Simulation Daemon - 2019-05-09 * * The purpose of this program is to have an artificial user interaction with a * shell and tty in the background without requiring an actual login. This is * ...
/* * <NAME> - 2021-2022 * * Calculate the CPU usage and display it. */ #include <stdbool.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <fcntl.h> #define USE_MICRO_SECONDS 1 #define LO...
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b...
/* * MPTCPList.c * * Created on: Jan 8, 2014 * Author: <NAME> */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pcap.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <netinet/tcp.h> #include <openssl/sha.h> #in...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <signal.h> #include <linux/input.h> #include <unistd.h> #include <fcntl.h> #include <math.h> #include "../libs/logger.h" #include "../common/network.h" #include "../common/protocol.h" #define PROGRAM_NAME "input-tools OSC translater 0.1" #define DE...
/********************************************************* * Copyright (c) 2005 <NAME> * * Proyecto : Space Planning con Branch and Bound * * Alumnos : <NAME> * * * * Profesor : Dr. <NAME> ...
#include "parser.h" #include "wstring.h" #include "table.h" #include <stdio.h> //creates or resizes a node //TODO: maybe make custom allocator //TODO: node resizing static inline ast_node_t *allocNode(winterState_t *state, ast_node_t *node, size_t size) { size_t original = 0; if (node != NULL) { original = node->n...
#include "importer.h" #include "ezxml/ezxml.h" #define MAX_TILEMAPS 256 #define MAX_TILESET_REFS 8 #define MAX_OBJECTS 256 #define MAX_LAYERS 8 STRUCT(TilesetRef) { Tileset* tileset; int first; int last; }; STRUCT(TilemapLayer) { Tile** data; }; STRUCT(TilemapObject) { int id; int x; int...
/* * Copyright (c) 2006-2007 University of Houston. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "math.h" #include "ADCL_internal.h" /* Twok function set functions */ int get_twok_function_set(ADCL_twok_factorial_t *twok, ADCL_fnctset_t *org_fnctset, ADCL...
#include "epd_driver.h" #include "epd_temperature.h" #include "esp_assert.h" #include "esp_heap_caps.h" #include "esp_log.h" #include "esp_types.h" // Simple x and y coordinate typedef struct { uint16_t x; uint16_t y; } Coord_xy; // Display rotation. Can be updated using epd_set_rotation(enum EpdRotation) st...
/*************************************************************************************************/ /*! * \file * * \brief HCI event module. * * Copyright (c) 2009-2018 Arm Ltd. All Rights Reserved. * * Copyright (c) 2019-2020 Packetcraft, Inc. * * Licensed under the Apache License, Version 2.0 (the "L...
#include <xv_hdmitxss.h> #include <xv_hdmirxss.h> #include <xvphy.h> #include <stdio.h> #include <libxlnk_cma.h> unsigned char edid_1920x1080[] = { 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x61, 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x18, 0x01, 0x03, 0xa1, 0x00, 0x00, 0x80, 0x06, 0xee, 0x91, 0xa3,...
/* * Copyright (c) 2014-2018, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this lis...
/* * adpcm.c -- * * Intel/DVI ADPCM coder/decoder. */ /*********************************************************** Copyright 1992 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved Permission to use, copy, modify, and distribute this software and its ...
// Super Grayland, Copyright 2020 <NAME> under the MIT license. See 'LICENSE.txt' for more information. #include "map.h" #include "game.h" #include "map.h" #include "obj.h" #include "player.h" #include "screen.h" // Struct containing all screen-related stuff static struct { // Actual window SDL_Window *window; // ...
/**************************************************************/ /* * Copyright (c) 2014-2015, <NAME>, IBM Research * 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...
#include <math.h> #include <string.h> #include "xwarp_input_configs.h" enum remap_err_type { REMAP_NO_ERR, REMAP_MEM_ERR, REMAP_SIZ_ERR, REMAP_USP_ERR, REMAP_EST_ERR, REMAP_UDE_ERR }; /*********************Static Declarations************************/ static enum remap_err_type get_affine2d(struct Geometric_info...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
/* * fbutils-linux.c * * Utility routines for framebuffer interaction * * Copyright 2002 <NAME> and <NAME> * * This file is placed under the GPL. Please see the * file COPYING for details. * * SPDX-License-Identifier: GPL-2.0+ */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string....
/** * Copyright (C) Mellanox Technologies Ltd. 2001-2020. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <limits.h> #include "xccl_hier_sbgp.h" #include "xccl_hier_team.h" #include "xccl_hier_context.h" #define SWAP(_x, _...
/** * Kodra (Russian Draught Engine) * * Unit tests * * (C) <NAME>, 2017 */ #include "greatest.h" #include "../src/game.c" #define w (WHITE|MAN) #define b (BLACK|MAN) #define W (WHITE|KING) #define B (BLACK|KING) #define _ FREE ///////////// // HELPERS // ///////////// /* Determine if a move is legal ...
/* This example demonstrates connection with AWS IoT through HTTPS protocol. * * AWS IoT: Publish to a topic through HTTPS/POST method: * http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html * * AWS IoT: Thing Shadow RESTful API: * http://docs.aws.amazon.com/iot/latest/developerguide/thing-shadow-...
/* * File module.c - module handling for the wine debugger * * Copyright (C) 1993, <NAME>. * 2000, <NAME> * * 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 Software Foundation; either * version 2....
/* ------------------------------------------------------------------------- */ /* ninex.c - created 2007 by <NAME> (<EMAIL>) */ /* */ /* gcc -ansi -O3 -I/opt/local/include -L/usr/X11R6/lib -L/opt/local/lib */ /* -lX11 -lj...
/** * net control Core code * DDK * 20180227 * */ #include "embARC.h" #define DBG_MORE #include "embARC_debug.h" #include "include.h" #include "esp8266.h" // #define WIFI_SSID "\"Andrew_Sun\"" // #define WIFI_PWD "\"<PASSWORD>\"" #define WIFI_SSID "\"WUT-test\"" #define WIFI_PWD "\"<PASSWORD>\"" ...
/*---------------------------------------------------------------------- This source distribution is placed in the public domain by its author, <NAME>. You may use it for any purpose, free of charge, without having to notify anyone. I disclaim any responsibility for any errors. Optionally, please be nice and tel...
/** \file cpu_solver.c * \brief Codice host degli algoritmo del solver. * * */ #ifndef MAX_THREADS #define MAX_THREADS 16 #endif #ifndef CHUNK_SIZE #define CHUNK_SIZE 4 #endif #include "cpu_solver.h" #include <omp.h> extern char* str; extern int counter_nodi; extern int counter_nodi0; //extern int counter_nodi...
/* Код вдохновлен либой tslib, можно сказать стандартом работы с тач скрином. Рекомендую использовать ее https://github.com/libts/tslib */ #include <signal.h>//for signal, to prevent leaking the layer on termination #include <string.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include "...
/* Copyright (C) 2013 by <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
/* * ecdsa-keys.c * * Copyright 2018 <NAME> <<EMAIL>> * * The MIT License (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 limi...
/* ============================================================================ * Name : PingPong.c * Author : <NAME> 081556 * Version : 1.0 * Copyright : ©mitxael * Description : Ping-Pong game that allows two network users to play against * ===================================================================...
#include "Globals.h" #include "Montgomery.h" #define MONT_BUFF_SIZE (39+4) uint32_t R2_1376_mod_p[] = { 0xB96EB342, 0x0219BCAA, 0xC9B86ED6, 0x5083C1AC, 0x3CD242FD, 0x879E77A7, 0x35770033, 0xB494AB4B, 0x982DF3DC, 0x2DA4A0D7, 0xBC322911, 0x74051AF4, 0x6096EC5E, 0xE8FE9507, 0x93DE34F5, 0x376CBA0F, 0xA285ED68, 0xAB...
/*This file is prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief Main file of the USB CDC example. * * - Compiler: IAR EWAVR32 and GNU GCC for AVR32 * - Supported devices: All AVR32 devices with a USB mod...
/* Copyright 2017 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Grunt board-specific configuration */ #include "adc.h" #include "adc_chip.h" #include "button.h" #include "charge_manager.h" #include "charge_s...
/*===========================================================================* * rgbtoycc.c * * * * Procedures to convert from RGB space to YUV space * * * * EXPORTED PROCEDURES: ...
/* * proxy.c - CS:APP Web proxy * * TEAM MEMBERS: * <NAME>, <EMAIL> * <NAME>, <EMAIL> * * IMPORTANT: Give a high level description of your code here. You * must also provide a header comment at the beginning of each * function that describes what that function does. */ #include "csapp.h" /* $begi...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "amd64.h" #define ALIGNED(p, a) (!(((uintptr)(p)) & ((a)-1))) #define PDMAP (0xffffffffff800000ull) #define PDPX(v) PTLX((v), 2) #define PDX(v) PTLX((v), 1) #define PTX(v) PTLX((v), 0) #define VMAP (0xffffffffe0...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "lab8part2lib.h" //#define DDEBUG //#define FILE //#define DEBUG struct available_move{ char *list; int size; }; struct node{ char x; char y; int value; }; void prt_mapp(char mapp[][26], int n); void init_move(char mapp[][26]...
#include <string.h> #include <inr.h> static int _verbose_ = 1; static int _debug_ = 0; /* Magic header for inrimages v4 */ #define INR4_MAGIC "#INRIMAGE-4#{" /** Magic header for inrimages */ #define INR_MAGIC "#INR" typedef struct stringListElementStruct { char *string; struct stringListElementStruct *n...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * This notice applies to any and all portions of this...
#include <math.h> #include <epoxy/gl.h> #include "gthreegeometrygroupprivate.h" #include "gthreegeometry.h" G_DEFINE_TYPE (GthreeGeometryGroup, gthree_geometry_group, GTHREE_TYPE_BUFFER); GthreeGeometryGroup * gthree_geometry_group_new (GthreeGeometry *geometry, guint32 material_index) { GthreeGeometryGroup *group...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/* * * user_management.h * * This file is part of Esp32_web_ftp_telnet_server_template project: https://github.com/BojanJurca/Esp32_web_ftp_telnet_server_template * * User_management initially creates user management files: * * /etc/passwd - modify the code below with your users * /etc/shadow ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* File....: zimpl.c */ /* Name....: Zuse Institute Mathematical Programming Language */ ...
/* The MIT License (MIT) * * Copyright (c) 2021 <NAME> * * Software repository: MoonUSB, https://github.com/stetre/moonusb * * 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 re...
/* program the secondary DAC */ /* Author: <NAME> 12/2003-9/2004 */ #define MODULE_BIT 0x00001000 #include "std.h" static status_t nv10_nv20_dac2_pix_pll_find( display_mode target,float * calc_pclk,uint8 * m_result,uint8 * n_result,uint8 * p_result, uint8 test); /* see if an analog VGA monitor is connected to c...
/* * ----------------------------------------------------------------- * $Revision: 1.2 $ * $Date: 2008/04/17 20:12:55 $ * ----------------------------------------------------------------- * Programmer(s): <NAME> and <NAME> @ LLNL * ----------------------------------------------------------------- * Copyright (c...
/* -*- 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 <stdio.h> #include <stdbool.h> #include <string.h> #include <assert.h> #include "ft2build.h" #include FT_FREETYPE_H #include FT_OUTLINE_H #include FT_FONT_FORMATS_H #include "fontconfig/fontconfig.h" #include "VG/openvg.h" #include "fontinfo.h" #include "fontsystem.h" #include "shapes.h" // Freetype library...
/* Copyright 2011 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 ...
/* * Copyright 2010, <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 foll...
/******************************************************************************* * * GL_UTILS * *******************************************************************************/ /******************************************************************************* * create_shader_program *******************************...
/* $Id$ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 <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 ...