text
stringlengths
5.8k
28.2k
/* * Copyright (c) 2006-2018, ZINGTO UAV * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-03-04 serni first version */ #include <rtthread.h> #include <rtdevice.h> #include <board.h> #include "guardian.h" #include "general_pid.h" #define DBG_ENABLE...
/* * Copyright (C) 2021 Liquidaty and zsv contributors. All rights reserved. * * This file is part of zsv/lib, distributed under the MIT license as defined at * https://opensource.org/licenses/MIT */ #include <zsv.h> #include <zsv/utils/writer.h> #include <zsv/utils/signal.h> #include <zsv/utils/mem.h> #include <...
/****************************************************************************** * * Copyright (c) 2020 Intel. * * 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.apac...
/* FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
/************************************************************************** * * Copyright 2007 VMware, Inc. * 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 wit...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <signal.h> #include <getopt.h> #include <unistd.h> #include <assert.h> #include <pthread.h> #include <sys/resource.h> #include <ela_carrier.h> #include <ela_session.h> #include <vlog.h> #include <linkedhashtable.h> #include <rc_mem.h> #include "con...
/* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley Software Lice...
/* ** File: cfe_es_perf.c ** ** GSC-18128-1, "Core Flight Executive Version 6.6" ** ** Copyright (c) 2006-2019 United States Government as represented by ** the Administrator of the National Aeronautics and Space Administration. ** All Rights Reserved. ** ** Licensed under the Apache License, V...
/* * Copyright (c) 2012-2016 Synaptics Incorporated * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <linux/input.h> #include <linux/input/mt.h> #include <linux/rmi....
/* Файл : cl_game.с Описание: Собственно, игра История : 29.09.13 Создан */ #include <string.h> #include <stdlib.h> #include "../../nyan/nyan_publicapi.h" #include "cl_main.h" #include "cl_menu.h" #include "cl_game.h" #include "cl_score.h" typedef struct { unsigned int color; unsigned int isball; } cl_ball_...
/* -HEADER---------------------------------------------------------------------- UniCC LALR(1) Parser Generator Copyright (C) 2006-2019 by Phorward Software Technologies, <NAME> https://phorward.info ++ unicc<at>phorward<dash>software<dot>com All rights reserved. See LICENSE for more information. File: unicc.h Author:...
/********************************************************************* * Software License Agreement (BSD License) * * 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 *...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * jpeg_write.c * * JPEG_WRITE(JPEGOBJ,FILENAME) * * Reads JPEGOBJ, a Matlab struct containing the JPEG header, * quantization tables and the DCT coefficients (as returned by JPEG_READ), * and writes the information into a JPEG file with the name FILENAME. * * This software is based in part on the ...
/* client.c --- Experimental SASL mechanism KERBEROS_V5, client side. * Copyright (C) 2003, 2004 <NAME> * * This file is part of GNU SASL Library. * * GNU SASL 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...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 1999 - 2010 Intel Corporation. * Copyright (C) 2010 OKI SEMICONDUCTOR Co., LTD. * * This code was derived from the Intel e1000e Linux driver. */ #include "pch_gbe.h" #include "pch_gbe_phy.h" /* * pch_gbe_stats - Stats item information */ struct pch_gbe...
/// Copyright (c) 1992-1993 The Regents of the University of California. /// 2016-2017 Docentes de la Universidad Nacional de Rosario. /// All rights reserved. See `copyright.h` for copyright notice and /// limitation of liability and disclaimer of warranty provisions. #include "instr.h" #include "enco...
/** * Create a three tiled grid and write all data along with * mosaic and host files. * * "$Id: tst_three_tile_cubed_sphere.c 767 2011-06-06 23:20:19Z pletzer $" */ #include "nccf_host.h" #include <string.h> #include <stdio.h> #include <assert.h> #include <netcdf.h> #include "nccf_grid.h" #include "nccf_global...
/* * Creates all the application tasks, then starts the scheduler. The WEB * documentation provides more details of the standard demo application tasks. * In addition to the standard demo tasks, the following tasks and tests are * defined and/or created within this file: * * "OLED" task - the OLED task is a 'gat...
// Copyright 2013 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 appl...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <pthread.h> #include <assert.h> #include "memcached.h" #include "cproxy.h" #include "log.h" /* Callback to g_hash_table_foreach that f...
/*- * Copyright (c) 2000 <NAME> * Copyright (c) 2001 <NAME> * Copyright (c) 2000 BSDi * Copyright (c) 2001 Adaptec, 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. Redistribu...
#define thisprog "xe-ldas5-packetloss1" #define TITLE_STRING thisprog" 29.November.2018 [JRH]" #define MAXLINELEN 1000 #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> /* to get maximum possible short value */ /* <TAGS> detect </TAGS> */ /* 29.November.2018 [JRH] - ad...
/* * dumpe2fs.c - List the control structures of a second * extended filesystem * * Copyright (C) 1992, 1993, 1994 <NAME> <<EMAIL>> * Laboratoire MASI, Institut Blaise Pascal * Universite Pierre et <NAME> (Paris VI) * * Copyright 1995, 1996, ...
/* * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <unistd.h> #include <string.h> #include <time.h> #include <netinet/in.h> #include "mpi.h" /******* FG-MPI Boilerplate begin *********/ #include "fgmpi.h" // enum to keep tracking a node's internal state typedef enum { PROBING = 1000, ELECTIN...
/******************************************************************************* This file is part of VL53LX Protected Copyright (c) 2020, STMicroelectronics - All Rights Reserved License terms: STMicroelectronics Proprietary in accordance with licensing terms at www.st.com/sla0081 STMicroelectronics confident...
/****************************************************************************** Copyright (c) 1992, 1995, 1996 Xerox Corporation. All rights reserved. Portions of this code were written by <NAME>, aka ghond. Use and copying of this software and preparation of derivative works based upon this software are permi...
/** * This version is stamped on May 10, 2016 * * Contact: * <NAME> <pouchet.ohio-state.edu> * <NAME> <tomofumi.yuki.fr> * * Web address: http://polybench.sourceforge.net */ /* Nussinov.c Builds a random sequence of base pairs, runs the Nussinov algorithm. Unless FOUR_WAY_MAX_WITH_REDUNDANCY is define'd to...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#include "aFunCore.h" #include "__aFunlang.h" #include "__env.h" #include "__cycle_obj.h" #ifdef aFunWIN32_NO_CYGWIN #include <io.h> #define fileno _fileno #define isatty _isatty #else #include "unistd.h" #endif static int runCode_(af_Parser *parser, int mode, FilePath save_path, af_Environment *env); static bool aF...
// RunLength.c // RUNLENGTH - Run-length en- and decoding // Run-length encoding splits a vector into one vector, which contains the // elements without neighboring repetitions, and a second vector, which // contains the number of repetitions. This can reduce the memory for storing // the data or allow to analyse seque...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2020 ST...
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 <NAME> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sqlite3.h> #include "common/get_paths.h" #if defined(_WIN32) || defined(__WIN32__) #include "common/getopt.h" #else #include <unistd.h> int getopt(int argc, char * const argv[], const char *optstring); extern char *optarg; extern int optind, opt...
/* * Copyright (c) 2009-2012, Newcastle University, UK. * 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, ...
/***************************************************************************//** * @file * @brief This file defines the server behavior for the Ember proprietary bootloader * protocol. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laborator...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> /* Global variable declarations */ /** * Global object of linked list structure */ struct Node { struct Node *prev; int value; struct Node *next; }; /* Prototypes declarations */ void printListForward(struct Node *ancestor); ...
/* skipfish - Signature Matching ---------------------------------------- Author: <NAME> <<EMAIL>>, <NAME> <<EMAIL>> Copyright 2011, 2012 by Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
#include <stdlib.h> #include <string.h> #include "excrypt.h" // MD5 code based on <NAME>'s md5.c #define F(x,y,z) ((x & y) | (~x & z)) #define G(x,y,z) ((x & z) | (y & ~z)) #define H(x,y,z) (x ^ y ^ z) #define I(x,y,z) (y ^ (x | ~z)) #define FF(a,b,c,d,m,s,t) { a += F(b,c,d) + m + t; \ a...
/* Authored 2016-2018. <NAME>. Additional contributions, 2018: <NAME>, <NAME>, <NAME>, <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 ...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <inttypes.h> #include "span_hashtable.h" /** * Data structures */ // Structure for a hashtable entry typedef struct { // Return address that identifies call site uintptr_t call_site; // Function height int32_t height;...
/* * $QNXLicenseC: * Copyright 2007, 2008, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICEN...
/** * $ObjId file related functions * * Copyright (c) 2015-2016, <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 SOF...
/*************************************** Extented Node data type functions. Part of the Routino routing software. ******************/ /****************** This file Copyright 2008-2011 <NAME> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public ...
/* * Modified by <NAME> for integration into NTP 4.2.7 <<EMAIL>> * * Copyright (c) 1995 <NAME>. * * This code is based on code written by <NAME> <<EMAIL>>. * It may be used for any purpose as long as this notice remains intact on all * source code distributions. * * Copyright (c) 2008 <NAME>. * * This versio...
/* fox.c -- uses Fox's algorithm to multiply two square matrices * * Yohanes: modified to read matrix size (n) from cli argument * http://web.mst.edu/~ercal/387/MPI/ppmpi_c/chap07/fox.c * * Input: * n: global order of matrices * A,B: the factor matrices * Output: * C: the product matrix * * Notes...
/* * Command Line Twitter * Version: 1.0.0 * Author: <NAME> * Author URL: https://joiellantero.codes * Github: https://github.com/joiellantero/command-line-twitter * Command Line Twitter Copyright (c) 2020 <NAME> */ #include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct tweet_{ char **conte...
/* * hd.c * * This module contains utility functions which are used by all hard disk drives. * */ #include "hd.h" #include "kerrno.h" #include "debug.h" #include "lib/string.h" #include "mm.h" static char* __module = "HD "; /* * According to the ATA/ATAPI specification, ASCII strings are transferred * as ...
/* Part of i2cp C library Copyright (C) 2013 <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 3 of the License, or (at your option) any later version. Th...
/* * 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...
#ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif #include <stdio.h> #include "./homeassistant.h" #include "./mqtt.h" #include "./../logger/logger.h" #include "./../localsdk/init.h" #include "./../configs/configs.h" #include "./../yyjson/src/yyjson.h" // Device info static bool mqtt_homeassistant_json_device(yyjson_m...
#include <stdio.h> #include <stdlib.h> #include "headers.h" #include <unistd.h> #include <ctype.h> #include <string.h> #include <time.h> char* print_payload(const u_char *payload, int len); char* print_hex_ascii_line(const u_char *payload, int len); void got_packet(u_char *args, const struct pcap_pkthdr *header, con...
/*=========================================================================== // // File: processgrid.c // // Created: Fri Jun 19 08:46:53 2009 // // Author: <NAME> <<EMAIL>> // // $Date: 2012-10-03 10:08:03 +0200 (Wed, 03 Oct 2012) $ // // $Revision: 1005 $ // //========================================================...
/* listbasic.c: extract the BASIC listing from a snapshot or tape file Copyright (c) 2002 <NAME> 2003 <NAME>, <NAME> 2007 <NAME> Copyright (c) 2015 <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lice...
/* Copyright 2010-2013 SourceGear, LLC 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 writing, softwar...
#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...
/*----------------------------------------------------------------- * JumboMem memory server: Not-recently-used page replacement * * By <NAME> <<EMAIL>> *-----------------------------------------------------------------*/ /* * Copyright (C) 2010 Los Alamos National Security, LLC * * This material was produced u...
/* ARM EABI compliant unwinding routines. Copyright (C) 2004-2017 Free Software Foundation, Inc. Contributed by <NAME> This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or...
// // AESCore.c // SimpleCrypt // // Created by <NAME> on 26.08.18. // // * * * * * * * * * * * * * * * * * * * * * * * * * * // Compile with -fvisibility=hidden. // * * * * * * * * * * * * * * * * * * * * * * * * * * // /*! @file AESCore.c The source file of the library core which provides essentials used in a...
/* SO - Tarea #2 - Mr.Meeseeks Tecnológico de Costa Rica, Sede Central Cartago, Primer Semestre 2021 Escuela de Ingeieria en Computación, Principios de Sistemas Operativos Prof.: <NAME> Hecho por: <NAME> - 2018142999 <NAME> - 2017112650 Fecha de entrega: 24-4-2021 */ #include <stdio.h> #include <stdlib.h> #include <st...
/* * misc.c -- contains generic purposes routines * Part of the GNU netcat project * * Author: <NAME> <<EMAIL>> * Copyright (C) 2002 - 2004 <NAME> * * $Id: misc.c,v 1.38 2004-10-24 01:33:57 themnemonic Exp $ */ /*************************************************************************** * ...
/* * CHOICE_PUF.c * * Created on: Mar 18, 2021 * Author: <NAME> */ #include "CHOICE_PUF.h" /***********Basic defines and function prototypes************/ //Functions static int startManager(); static int parseCommands(int argc, char* argv[]); void xil_sprintf(char* s, const char *ctrl1, ...); //Globals FI...
/* * 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...
#include <linux/ctype.h> #include "spk_types.h" #include "spk_priv.h" #include "speakup.h" static struct st_var_header var_headers[] = { { "version", VERSION, VAR_PROC, NULL, NULL }, { "synth_name", SYNTH, VAR_PROC, NULL, NULL }, { "keymap", KEYMAP, VAR_PROC, NULL, NULL }, { "silent", SILENT, VAR_PROC, NULL, NULL ...
/* ************************************************************************ * File: spells.h Part of CircleMUD * * Usage: header file: constants and fn prototypes for spell system * * * * All rights re...
/* Generate files in perf.data format from raw PEBS ip file */ /* toperf pebs-ip-file elffile ... > perf.data */ /* * Copyright (c) 2015, Intel Corporation * Author: <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
/**************************************************************************//** * @file main.c * @version V1.00 * $Revision: 9 $ * $Date: 18/07/05 4:58p $ * @brief Capture the PWM0 Channel 0 waveform by PWM0 Channel 2, and use PDMA to transfer captured data. * Frequency of PWM Channel 0 is 1 MHz...
/* * 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 DISCL...
/* * File Name: thread.c * * * BSD 3-Clause License * * Copyright (c) 2019, nelsoncole * 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 ret...
#include "boardtype_friendlyelec.h" #include <ctype.h> const char* s5p_board_cputempfile = "/sys/class/hwmon/hwmon0/device/temp_label"; const char* s5p_board_max_cputempfile = "/sys/class/hwmon/hwmon0/device/temp_max"; const char* allwinner_tempfile = "/sys/class/thermal/thermal_zone0/temp"; #define LOGD printf #defi...
/* Copyright 2015 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
/* ======================================================================== D O O M R e t r o The classic, refined DOOM source port. For Windows PC. ======================================================================== Copyright © 1993-2012 id Software LLC, a ZeniMax Media c...
#include "bno055_utils.h" static const char *TAG_BNO = "bno055_utils"; //////////////////////////////////////////////////////////////////////////// BNO055_RETURN_FUNCTION_TYPE bno055_calib_accel(mpu_pos_t link) { // data array to hold accelerometer offsets struct bno055_accel_offset_t accel_bias; ESP_LOG...
/** * libdmtx - Data Matrix Encoding/Decoding Library * Copyright 2010 <NAME>. All rights reserved. * * See LICENSE file in the main project directory for full * terms of use and distribution. * * Contact: <NAME> <<EMAIL>> * * \file multi_test.c */ /** * This "multi_test" program is for experimental algorit...
/* BEGIN_ICS_COPYRIGHT5 **************************************** Copyright (c) 2015-2020, 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 copyrig...
#include "util.h" #include "melee.h" #include "menu.h" #include <math.h> #define TEXT_SIZE .3f #define TEXT_MARGIN 2.f #define CHAR_WIDTH (20.f * TEXT_SIZE) #define DASH_WIDTH (CHAR_WIDTH * 2) #define TEXT_HEIGHT (28.f * TEXT_SIZE) #define TEXT_Y_OFFSET (-90.f * TEXT_SIZE) #define HITBOX_COLOR 0xFF0000FF ...
#include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <linux/ip.h> #include <linux/netfilter.h> #include <linux/tcp.h> #include <linux/udp.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include...
/* * Copyright (c) 2017, <NAME> (<EMAIL>) * All rights reserved. * * License: BSD/MIT * * 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, thi...
/************************************************************************/ /* */ /* KW41Z Software UART (Tx&Rx) */ /* */ /* =================...
/* * $Id$ * * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2014, Professor <NAME> * Copyright (c) 2010-2011, <NAME> * Copyright (c) 2011, <NAME>, GSoC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Copyright (C) 2012-2014, 2018-2021 Intel Corporation * Copyright (C) 2013-2014 Intel Mobile Communications GmbH * Copyright (C) 2017 Intel Deutschland GmbH */ #include <net/mac80211.h> #include "fw-api.h" #include "mvm.h" /* Maps the driver specific channel ...
// odometry.c // Inputs to the system are left and right tachometer counts // System is called periodically, e.g., every 20 to 40 ms // Private global variables from the system are position (x,y) and orientation theta // This system will need calibration to your particular robot, adjust N D W C for your robot // Runs o...
#include "callname.h" #include "clos.h" #include "clos_class.h" #include "clos_combination.h" #include "clos_defgeneric.h" #include "clos_generic.h" #include "clos_method.h" #include "clos_redefine.h" #include "clos_type.h" #include "condition.h" #include "cons.h" #include "cons_list.h" #include "cons_plist.h" #include...
/****************************************************************************** Curse of War -- Real Time Strategy Game for Linux. Copyright (C) 2013 <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 Sof...
// SPDX-License-Identifier: GPL-2.0 /* * board/renesas/blanche/blanche.c * This file is blanche board support. * * Copyright (C) 2016 Renesas Electronics Corporation */ #include <common.h> #include <cpu_func.h> #include <init.h> #include <net.h> #include <asm/arch/mmc.h> #include <asm/arch/rcar-mstp.h> #inclu...
#include <xbook/process.h> #include <xbook/debug.h> #include <xbook/schedule.h> #include <xbook/rawblock.h> #include <xbook/elf32.h> #include <string.h> #include <math.h> #include <xbook/vmspace.h> #include <string.h> #include <xbook/resource.h> #include <xbook/pthread.h> #include <xbook/gui.h> #include <xb...
#include "skel.h" #include<stdio.h> #include<string.h> #include<stdlib.h> #include "queue.h" #include <net/ethernet.h> /* ether_header */ #include <arpa/inet.h> /* icmphdr */ #include <netinet/ip_icmp.h> /* arphdr */ #include <net/if_arp.h> #include <asm/byteorder.h> /* ether_arp */ #include<netinet/if_ether.h> typedef...
/* Target definitions for GNU compiler for mc680x0 running System V.4 Copyright (C) 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc. Contributed by <NAME> (<EMAIL>) and <NAME> (<EMAIL>). This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modif...
#include "build/gen/x.h" // #include <string.h> #include <stdarg.h> #include <stdint.h> #include <stivale2.h> typedef uintptr_t size_t; void *malloc(size_t); //< The standard function. void *realloc(void *, size_t); //< The standard function. void *calloc(size_t, size_t); //< The standard function. v...
/* * Copyright (c) 2008-2018, <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, merge, publis...
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // 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 app...
/** ****************************************************************************** * STM32L4 Bootloader ****************************************************************************** * @author <NAME> * @file main.c * @brief Main program * This file demonstrates the usage of the bootloader. * ...
/* ----- TESTS ----- */ /// \author <NAME> /// \details modulo tests functions with matrixes #include <stdio.h> #include <stdlib.h> #include <math.h> #include "divmem.h" #include "lib.h" #define eps 1E-9 /* DIFF(double, double) */ /// \author <NAME> /// \brief funtion compares 2 long numbers (double) /// \details r...
#include "../../include/game/sapotache_interface.h" #include <stdlib.h> #include <time.h> #include <assert.h> #include <stdio.h> struct tile_s{ enum card_id card; enum direction dir; }; struct state_s{ unsigned int id; int axe_broken; int lamp_broken; int cart_broken; }; struct board_s{ s...
/* * Universal Interface for Intel High Definition Audio Codec * * Generic proc interface * * Copyright (c) 2004 <NAME> <<EMAIL>> * * * This driver 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;...
/* Simple terminal using GraphApp * * Copyright (c) ITB CompuPhase, 2004-2005 * * This software is provided "as-is", without any express or implied warranty. * In no event will the authors be held liable for any damages arising from * the use of this software. * * Permission is granted to anyone to use th...
/* There must be a better version of this around somewhere in the Stark directory */ #include <string.h> #include <stdio.h> #include <math.h> #define KEPLER_FLAG 1 typedef struct { double x, y, z, xd, yd, zd; } State; typedef struct { /* To hold the partial-derivatives of an end-State w.r.t. the co...
#include <walc.h> #include <wasm.c> WasmType boundTypeToWasm(WlBType t) { switch (t) { case WlBType_bool: return WasmType_I32; case WlBType_i32: return WasmType_I32; case WlBType_u32: return WasmType_I32; case WlBType_i64: return WasmType_I64; case WlBType_u64: return WasmType_I64; case WlBType_f32: return Wasm...