text
stringlengths
7.55k
41.9k
#include "nv20.h" #include "regs.h" #include <core/client.h> #include <core/device.h> #include <core/handle.h> #include <engine/fifo.h> #include <subdev/fb.h> #include <subdev/timer.h> /******************************************************************************* * Graphics object classes ************************...
/* * TorqueVSI.c * * Created on: Jul 17, 2014 * Author: sever212 */ #include "../src/project_include.h" #define OMEGA_DA_RAMP_RATE 0.001 #define DEFAULT_T_SINE_TRIANGLE 1 #define MAX_PHASE_CURRENT 1 const u8 TVSI_INDEX[NUM_TVSI] = {2}; TVSI_context TVSIs[NUM_TVSI]; #define IField ...
/* * qethqoat - Query the OSA address table and display physical and logical * device information * * Copyright IBM Corp. 2012, 2017 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include <arpa/inet.h> #inc...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2019 Intel Corporation. All rights reserved. // Copyright 2020 NXP // // Author: <NAME> <<EMAIL>> /* Host MU support for i.MX8 audio DSP. */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <string.h> #include <stdint.h...
//////////////////////////////////////////////////////////////////////// // COMP2521 20T2 ... The Fury of Dracula // Places.c: places and place utilities // // 2012-01-01 v1.0 Team Dracula <<EMAIL>> // 2017-11-25 v1.1 Team Dracula <<EMAIL>> // 2018-12-31 v2.0 Team Dracula <<EMAIL>> // 2020-07-10 v3.0 Team Dracula ...
/* File: startup_TM4C123GH6PM.c * Purpose: startup file for TM4C123GH6PM Cortex-M4 device. * Should be used with TI CCS-ARM Compiler * Version: CMSIS 4.3.0 * Date: 2016-Sep-09 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com * * NOTE: * The function ...
/* * Copyright (C) 2019-2021 Deutsche Telekom AG * * 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...
// Copyright (c) 2011, <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...
/* FILE DETAILS description: Matlab interface to lexicographic Lemke algorithm. project: MPT 3.0 filename: lcp.c COMPILATION: Requires BLAS, LAPACK libraries installed (should be by default in Matlab). Requires lcp.h, lcp_main.c, lcp_matrix.h, lcp_matrix.c, lumod_dense.h, lumod_dense.c To compile this to M...
/** ffbase/string.h tester 2020, <NAME> */ #include <ffbase/string.h> #include <ffbase/slice.h> #include <test/test.h> #define STR(s) (char*)(s), FFS_LEN(s) void test_str_conv(); void test_ffstr_fmt(); void test_ffstr_rm() { ffstr s; const char *data = "01234"; ffstr_setz(&s, data); x(ffstr_popfront(&s) == '0...
//************************************************************************* //** ** //** AMACH1.H ** //** ** //** Cop...
/* * This file is part of the Sofia-SIP package * * Copyright (C) 2006 Nokia Corporation. * * Contact: <NAME> <<EMAIL>> * * 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 v...
/* wf3sum -- Sum repeatobs data This file contains: Wf3Sum Wf3Init GetSumKeyInfo SumGrps PutSumHdrInfo SquareErr SquareErrLine SqrtErr RptSumLine */ # include <stdio.h> # include <stdlib.h> # include <string.h> # include <math.h> #include "hstcal.h" # include "hstio.h" # include "wf3.h" # include "wf3su...
#include <stdlib.h> #include <math.h> #include <pthread.h> #include "libp2p/crypto/encoding/base58.h" #include "ipfs/routing/routing.h" #include "ipfs/core/null.h" #include "libp2p/record/message.h" #include "libp2p/net/stream.h" #include "libp2p/conn/session.h" #include "libp2p/routing/dht_protocol.h" #include "libp2...
/*- * Copyright (c) 1986 MICOM-Interlan, Inc., Boxborough Mass * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% * * @(#)npreg.h 7.4 (Berkeley) 05/09/91 */ /* * Merged header file for MICOM-Interlan NP100. */ /* * np100.h version 1.3 * * ...
#define VOLTEA 1 #define NO_VOLTEA 0 #define TAM_TABLERO 8 // usamos tabla_valor como variable global para que sea mas facil encontrarlas en el simulador // almacenamos el tablero en un 8x8. char tabla_valor[TAM_TABLERO][TAM_TABLERO] = { 8,2,7,3,3,7,2,8, 2,1,4,4,4,4,1,2, 7,4,6,5,5,6,4,7, ...
/* Computing all or a subset of eigenvalues and optionally eigenvectors * of a symmetric tridiagonal matrix. * * See README and header file 'mrrr.h' for more information. * * Copyright (c) 2010, RWTH Aachen University * All rights reserved. * * Redistribution and use in source and binary forms, with or * with...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2019 Intel Corporation. All rights reserved. // // Author: <NAME> <<EMAIL>> // Author: <NAME> <<EMAIL>> /* Core IA host SHIM support for Haswell audio DSP. */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <string.h> ...
/* * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. */ /* * Copyright 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* * Copyright (c) 2006. QLogic Corporation. All rights reserved. * * Unpublished -- rights reserved under the copyright laws of the United * States. USE OF A COPYRI...
#pragma ident "$Id: isi.c,v 1.37 2016/02/12 21:56:27 dechavez Exp $" /*====================================================================== * * Remote ISI raw disk loop input * * **** READ THIS **** * * When this module was first written it was designed to allow one to * establish a single connection to a ...
/* * tsh - A tiny shell program with job control * * Name: <NAME> * userID: <EMAIL> * */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <ctype.h> #include <signal.h> #include <sys/types.h> #include <fcntl.h> #include <sys/wait.h> #include <errno.h> /...
/* Copyright (c) 2015–2018 <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, publish, distr...
#include <stdio.h> #include <string.h> #include <u8g.h> #include "board.h" #include "sd_card.h" #include "FatFs/mmc_avr.h" #include "Input.h" #include "config.h" /* * lcd.c * * Created: 10.03.2022 21:45:58 * Author: marek.hummel */ #define VER "0.5" u8g_t u8g; typedef enum { PAGE_START = 0, PAGE_CD_CARD_S...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /// exit the program, displaying an error message void panic(const char *message) { fputs("PANIC:", stderr); fputs(message, stderr); exit(-1); } #ifdef DEBUG #define DEBUG_PRINT(...) ...
#include "vm.h" #include "list.c" #include "dict.c" #include "misc.c" #include "string.c" #include "vm_api.c" #include "gc.c" #include "operations.c" void vm_compiler(type_vm *tp); /* File: VM * Functionality pertaining to the virtual machine. */ #include "defines/dict.sys.h" type_vm *sub_vm_init(void) { in...
/* $OpenBSD: brgphy.c,v 1.15 2003/10/13 16:18:56 krw Exp $ */ /* * Copyright (c) 2000 * <NAME> <<EMAIL>>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source co...
#include "f2c.h" #include "blaswrap.h" /* Common Block Declarations */ struct { integer infot, nunit; logical ok, lerr; } infoc_; #define infoc_1 infoc_ struct { char srnamt[6]; } srnamc_; #define srnamc_1 srnamc_ /* Table of constant values */ static integer c__1 = 1; static integer c__2 = 2; static...
/* * 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...
/* ODE: a program to get optime Runge-Kutta and multi-steps methods. Copyright 2011-2019, <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, ...
/* vim: noet sw=8 * This is a butchered version of the Mono log profiler; most features have * been removed, except for some features needed for heap analysis of niecza * which have been added. Changes by sorear. */ /* * proflog.c: mono log profiler * * Author: * <NAME> (<EMAIL>) * * Copyright 2010 Novell...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 BayLibre, SAS * Author: <NAME> <<EMAIL>> * Copyright (C) 2015 Amlogic, Inc. All rights reserved. * Copyright (C) 2014 Endless Mobile */ #include <linux/export.h> #include <linux/bitfield.h> #include <drm/drm_fourcc.h> #include "meson_drv.h" #i...
// Copyright 2019 J Forristal LLC // Copyright 2016 Addition Security 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...
/* Copyright 2012-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 an...
/* * tkhash.c * Trimmed version of reference code from "Simple Security Network (SSN) for * IEEE 802.11", v0.20, plus test routine. * * Copyright (C) 2012, Broadcom Corporation * All Rights Reserved. * * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; * the contents of this file may not b...
/** * FreeRDP: A Remote Desktop Protocol Client * Windows GDI * * Copyright 2009-2011 <NAME> * Copyright 2010-2011 <NAME> * Copyright 2010-2011 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
/*_ * Copyright (c) 2018-2019 <NAME> <<EMAIL>> * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2002-2003 <NAME> <<EMAIL>> * Copyright (C) 2002-2010 <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 Softwar...
/************************************************************************** * * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwa...
/*----------------------------------------------------------------------------*/ /* Hobbit RRD handler module. */ /* */ /* Copyright (C) 2004-2006 <NAME> <<EMAIL>> */ /* ...
/* GStreamer Wavpack parser * Copyright (C) 2012 <NAME> <<EMAIL>> * Copyright (C) 2012 Nokia Corporation. All rights reserved. * Contact: <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 th...
#include <wiringPiI2C.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <sys/time.h> // PID parameters double Kp = 2.5; // 2.5 double Ki = 0.8; // 1.0 double Kd = 8.0; // 8.0 double K = 1.9*1.12; // Complimentary Filter parameters double K0 = (double) 0.98; double K1 = (double) 0.02;...
/*- * Defines for Cronyx-Sigma adapter driver. * * Copyright (C) 1994-2001 Cronyx Engineering. * Author: <NAME>, <<EMAIL>> * * Copyright (C) 1998-2003 Cronyx Engineering. * Author: <NAME>, <<EMAIL>> * * This software is distributed with NO WARRANTIES, not even the implied * warranties for MERCHANTABILITY or F...
/* * Copyright 2021 IBM * * 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 writi...
// SimplexNoise1234 // Copyright � 2003-2011, <NAME> // // Contact: <EMAIL> // // This library is public domain software, released by the author // into the public domain in February 2011. You may do anything // you like with it. You may even remove all attributions, // but of course I'd appreciate it if you kept my na...
#include "cardinal_regex.h" #include <string.h> #include <stdlib.h> #include <ctype.h> #include <setjmp.h> #define MAX_CHAR 0xFF #define OP_GREEDY (MAX_CHAR+1) // * + ? {n} #define OP_OR (MAX_CHAR+2) #define OP_EXPR (MAX_CHAR+3) //parentesis () #define OP_NOCAPEXPR (MAX_CHAR+4) //parentesis (?:) #de...
/* * $Id: editface.c 36644 2011-05-12 16:47:36Z campbellbarton $ * * ***** 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 Licen...
/* * Glide64 - Glide video plugin for Nintendo 64 emulators. * Copyright (c) 2002 Dave2001 * Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski * * 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; ei...
/* * Instruction printing */ #include "defs.h" /* * Flags of instruction formats. */ #define FRD1 (1 << 0) /* rd, ... */ #define FRD2 (1 << 1) /* .., rd, ... */ #define FRT1 (1 << 2) /* rt, ... */ #define FRT2 (1 << 3) /* .., rt, ... */ #define FRT3 (1 << 4) /* ..,...
/***************************************************************************** * * pocoface.c - interface between poco and programs calling poco. * * Routine to compile a source file and pass back an executable * memory structure (compile_poco), execute that structure (run_poco) * and free it up (free_poco...
/** * * \file * * \brief SAME70 Weather Client Demo Example. * * Copyright (c) 2015-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 ...
#include "asm.h" // tabella opcode e wchar_t asmOpCodeTab_t asmOpCodeTab[] = { { L"NOP" } , { L"MOVI cI -> vr+" } , { L"MOVR cR -> vr+" } , { L"CNV2RL left" } , { L"CNV2RR right" } , { L"FADD" } , { L"FSUB" } , { L"FMUL" ...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" static uint32_t x94 = 844011U; int8_t x95 = 10; int32_t x246 = 6; static volatile uint8_t x289 = UINT8_MAX; st...
/** * @file server_net.h * @author ruskonert * @brief TLS 핸드쉐이크 과정을 구현하고, 클라이언트 연결 정보를 관리하기 위한 기능, * 구조체를 정의합니다. * @version 1.0 * @date 2022-02-17 */ #include <stdio.h> #include <unistd.h> #include <string.h> #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <arpa/inet.h> #include ...
// 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...
/** * Copyright (c) 2011, <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 con...
/*------------------------------------------------------------------------- * * varsup.c * postgres OID & XID variables support routines * * Copyright (c) 2000-2014, PostgreSQL Global Development Group * * IDENTIFICATION * src/backend/access/transam/varsup.c * *--------------------------------------------...
#define TESTING //------- opentime.h starts here #ifndef OPENTIME_PROTO_H #define OPENTIME_PROTO_H #include <float.h> #include <math.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> typedef struct { float t; } OT_seconds; typedef struct { OT_seconds start; OT_seconds end; } OT_TimeInterv...
/* Derived from Plan 9 from User Space's src/libmach/elf.h, elf.c http://code.swtch.com/plan9port/src/tip/src/libmach/ Copyright © 2004 <NAME>. Portions Copyright © 2008-2010 Google Inc. Portions Copyright © 2010 The Go Authors. Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
/* File: auth.c * ------------ * 注:核心函数为Authentication(),由该函数执行801.1X认证 */ int Authentication(const char *UserName, const char *Password, const char *DeviceName); #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <time.h> #include <stdbool.h> #include <pcap...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
# include <stdio.h> # include <string.h> #include "hstcal.h" # include "hstio.h" # include "xtables.h" # include "acs.h" # include "acsinfo.h" # include "hstcalerr.h" # define NUMCOLS 26 /* Defined locally to be specific to CCDTAB */ typedef struct { IRAFPointer tp; /* pointer to table descriptor */ IRAFPointe...
/* * @file ibv_message_bw_receive.c * @date 8 Oct 2017 * @author <NAME> * @brief Contains functions to receive messages on a communication path for the ibv_message_bw program */ #include <stddef.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <limits...
/****************************************************************************** preframe.c - interactive data input for frame analysis program to compile: gcc -O -o preframe preframe.c to run: preframe output_file <NAME>, Duke University, April, 1997 ************************************************************...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
#include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #include <math.h> #ifndef CRANESUB char *fn1="crane1io.dat"; char *fn2="crane2io.dat"; FILE *fp; #endif//#ifndef CRANESUB typedef struct{ double g;//gravity double M;//mass of the car double m;//mass of the load double r;//length ...
/* * * owonb35 - Owon B35 Bluetooth client for newer meters with the Semic CS7729CN-001 chip * instead of the earlier Fortune Semiconductor FS9922 chip * * Copyright (C) 2018 <NAME> <<EMAIL>> * * https://github.com/DeanCording/owonb35 * * This program is free software; you can redistribute it and/or modi...
/* Copyright (c) 2012 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. */ #include <stddef.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <ctype.h> ...
/* * tx.c * * Copyright 2017 <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 limitation t...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Bluetooth HCI UART H4 driver with Nokia Extensions AKA Nokia H4+ * * Copyright (C) 2015 <NAME> <<EMAIL>> * Copyright (C) 2015-2017 <NAME> <<EMAIL>> */ #include <linux/clk.h> #include <linux/errno.h> #include <linux/firmware.h> #include <linux/gpio/consumer.h> #...
//////////////////////////////////////////////////////////////////////////////// // // Cave - a roguelike library/engine for Lua // // // MIT License // // Copyright(c) 2017 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(t...
/* instructions.c diStorm3 - Powerful disassembler for X86/AMD64 http://ragestorm.net/distorm/ distorm at gmail dot com Copyright (C) 2003-2016 <NAME> This library is licensed under the BSD license. See the file COPYING. */ #include "instructions.h" #include "insts.h" #include "prefix.h" #include "x86defs.h" #inclu...
/****************************************************************************** * File Name : uarttest.c * Date First Issued : 11/06/2013 * Board : Discovery F4 * Description : Test F4 uart routines *******************************************************************************/ /* 11-23-...
/*************************************************************************** * Copyright (C) 2007 by <NAME> * * <EMAIL> * * * * This program is free sof...
/* * SCI Clock driver for keystone based devices * * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free...
/* read with libwebp * * 6/8/13 * - from png2vips.c * 24/2/14 * - oops, buffer path was broken, thanks Lovell * 28/2/16 * - add @shrink * 7/11/16 * - support XMP/ICC/EXIF metadata * 18/10/17 * - sniff file type from magic number * 2/11/18 * - rework for demux API * - add animated read * 19/4/19 *...
/* BEGIN_ICS_COPYRIGHT7 **************************************** Copyright (c) 2015, Intel Corporation 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 no...
/* * Copyright (c) 2016-2020, ETH Zurich, Computer Engineering Group * 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 not...
/* Copyright (c) 1994, <NAME>. Permission is hereby granted * to use, copy, modify and distribute this software provided that both * the copyright notice and this permission notice appear in all copies * of the software, derivative works or modified versions, and any * portions thereof. * * Questions, comments, ...
/*************************************************************************** * ZBOSS ZigBee Pro 2007 stack * * * * Copyright (c) 2012 DSR Corporation Denver CO, USA. * * ...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <stdbool.h> //allow use of fopen and make vs shut up about null pointers bc it seems to warn about them even if it's impossible #pragma warning (disable : 4996 6385 6387 6011) #define biome (hChunkExitsAndBiome >> 4 & 3) #define ex...
#include "user_input.h" //#define TEST_INPUT #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <sys/time.h> #include <sys/timeb.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/timeb.h> #include <fcntl.h> #include <linux/input.h> #in...
#include "skynet.h" #include "skynet_harbor.h" #include "skynet_socket.h" #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <assert.h> #include <stdint.h> #include <unistd.h> #define HASH_SIZE 4096 #define DEFAULT_QUEUE_SIZE 1024 struct msg { uint8_t * buffer; size_t size; };...
#include <config_parser.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <zstd.h> #define STB_IMAGE_IMPLEMENTATION #define STBI_FAILURE_USERMSG #include <stb_image.h> #define STB_DXT_IMPLEMENTATION #include <stb_dxt.h> // To enable BC7, set BC7E_OBJ on the...
/****************************************************************************** * @section DESCRIPTION * * Calculate energy of sublimation from blowing snow. *****************************************************************************/ #include <vic_run.h> /*******************************************************...
/** * @brief Driver for e-Paper display * @author <NAME> * @date July 7, 2019 * @version 1.0 * */ #include "epaper.h" #include "epaperreg.h" #include "simpletools.h" void spi_out(int, int); void writeCmd(int); int readCmd(int); void drawLine(short, short, short, short, char); int _DIN; int _CLK; int _CS; int _...
/** * \file obj-desc.c * \brief Create object name descriptions * * Copyright (c) 1997 - 2007 Angband contributors * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * Foundation, vers...
#include <string.h> #include "miniGUI.h" #include "AsciiLib.h" extern IT8951DevInfo gstI80DevInfo; extern uint8_t *gpFrameBuf; //Host Source Frame buffer void EPD_Clear(uint8_t Color) { memset(gpFrameBuf, Color, gstI80DevInfo.usPanelW * gstI80DevInfo.usPanelH); } void EPD_DrawPixel(uint16_t x0, uint16_t y0, uint...
/* * Copyright (c) 2014-2016 IBM Corporation. * 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...
/* 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 Publi...
#define _GNU_SOURCE #include <dlfcn.h> #include <errno.h> #include <limits.h> #include <sched.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/ptrace.h> #include <sys/syscall.h> #include <sys/user.h> #include <sys/wait.h> #include...
#include "libabl_int.h" #include "time.h" #include "stdio.h" #include "CL/cl.h" #include "omp.h" typedef struct { double velocity; float2 pos; int id; bool isFinished; bool forwardOnLane; double milage; }Point; static const type_info Point_info[] = { { TYPE_FLOAT, offsetof(Point, velocity)...
/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ *...
/* * move.c * * Created on: 07-04-2012 * Author: wino * * Move mode module. */ #include <stdio.h> #include <stdlib.h> #include "fpge.h" #include "maingui.h" #include "drawmap.h" #include "tables.h" #include "move.h" unsigned char move_points[MOVE_MAP_X][MOVE_MAP_Y]; unsigned char move_directions_RC[MOV...
#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...
/*============================================================================= socket_win.c =============================================================================== This is the implementation of TChanSwitch and TChannel for a Winsock socket. =================================...
// vim: set ai et ts=4 sw=4: // change for your MCU #include "stm32f1xx_hal.h" #include <si5351.h> #define SI5351_ADDRESS 0x60 #define I2C_HANDLE hi2c1 extern I2C_HandleTypeDef I2C_HANDLE; // Private procedures. void si5351_writeBulk(uint8_t baseaddr, int32_t P1, int32_t P2, int32_t P3, uint8_t divBy4, si5351RDiv_t ...
/* Copyright 2017 <NAME> <<EMAIL>>, Ledger SAS * * 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...
#include "types.h" #include "program_mem.h" #include "debug.h" #include "djarchive.h" #include "panic.h" #include "wkcomm.h" #include "wkreprog.h" #include "wkpf.h" #include "wkpf_wuobjects.h" #include "wkpf_properties.h" #include "wkpf_comm.h" #include "wkpf_links.h" #include "wkpf_wuclasses.h" #include "wkpf_wuobject...
////////////////////////////////////////INCLUDES////////////////////////////////////////////////// #include "SrvMultiWii.h" #include "SrvIhm.h" #include "SrvImu.h" #include "SrvPID.h" #include "SrvMotors.h" #include "Drv/DrvUart.h" #include "Drv/DrvTwi.h" #include "Drv/DrvServo.h" ////////////////////////////////////...