text
stringlengths
7.55k
41.9k
#include "dev_mem_map.h" #include "uart.h" #include "pwm.h" #include "i2c.h" #include "cli.h" void enable_irq(void); #define ABROAD extern #include "driver.h" #undef ABROAD // Leaning center to the right to compensate #define CENTER (5900 + center_bias) #define TIMER_INTERVAL 100 volatile unsigned int timer_next; int...
/* * Copyright 2010-2021, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/* * 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 ...
/* $Id: html.c 1736 2005-05-12 15:41:22Z karman $ ** Copyright (C) 1995, 1996, 1997, 1998 Hewlett-Packard Company ** Originally by <NAME>, <EMAIL>, 3/11/94 ** This file is part of Swish-e. Swish-e is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
/* ** Copyright (C) 2004 <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. ** ** This program i...
/* vms.c * * Wiretap Library * Copyright (c) 2001 by <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Notes: * TCPIPtrace TCP fragments don't have the header line. So, we are never * to look for that line for the first line of a packet except the first * packet. This allows us to r...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Copyright (C) 2018 SiFive, Inc. * <NAME> * <NAME> * * 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 * publish...
#include <stdio.h> #include <stdlib.h> #include <SDL2/SDL.h> #include "harv.h" #include "loot.h" #include "maps.h" #include "rand.h" /* Colors for tiles */ char red[3] = { 255, 0, 0 }; char green[3] = { 0, 192, 0 }; char lightgreen[3] = { 0, 255, 0 }; char medgreen[3] = { 0, 144, 0 }; char darkgreen[3] = { 0, 64, 0 };...
#include <stdint.h> #include <pru_cfg.h> #include <pru_intc.h> #include <resource_table.h> #include <pru_rpmsg.h> #include <prb_pwmss.h> #include <prb_motors_utils.h> #include <pru_controller.h> #define VIRTIO_CONFIG_S_DRIVER_OK 4 #define PWMSS_DEVICE_FRONT 0 #define PWMSS_DEVICE_REAR 2 volatile register uint32_t __...
#define _GNU_SOURCE 1 #include "onion_key.h" #include "secp256k1.h" #include "secp256k1_ecdh.h" #include "version.h" #include <openssl/hmac.h> #include <openssl/evp.h> #include <openssl/aes.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <err.h> #include <stdbool.h> #include <assert.h> #include ...
#include "namcos3d.h" #include "matrix3d.h" #include "vidhrdw/poly.h" #include "includes/namcos22.h" #include <math.h> /* Renderer: each pixel->(BN,TX,TY,BRI,FLAGS,CZ,PAL) BN: texture bank TX,TY: texture coordinates BRI: brightness for gouraud shading FLAGS: specifies whether affected by dept...
/* ** Copyright 2007-2018 RTE ** Author: <NAME> ** ** This file is part of Sirius_Solver. ** This program and the accompanying materials are made available under the ** terms of the Eclipse Public License 2.0 which is available at ** http://www.eclipse.org/legal/epl-2.0. ** ** This Source Code may also be made availabl...
// ------------------------------------ // // DSRT Game - APC Turma D - 2019.1 // <NAME> - 180098632 // // ------------------------------------ #include <stdio.h> #include <stdlib.h> #include <time.h> // faz os acentos funcionarem // terminal precisa estar em utf8 também typedef char UTF8; typedef unsigned char ...
/* * vtestcall: make a single video test call with IAXCLIENT * * IAX Support for talking to Asterisk and other Gnophone clients * * Copyright (C) 1999, Linux Support Services, Inc. * * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <mihai AT hates DOT ms> * * This program is free software, distributed under the terms of ...
#include "SDIO.h" #include "EvalBoard.h" #include "stm32f4xx.h" #include "UARTLib.h" static uint32_t SD_Command(uint32_t cmd, uint32_t resp, uint32_t arg); static uint32_t SD_Response(uint32_t *response, uint32_t type); static void SD_Panic(uint32_t code, uint8_t *message); static void SD_StartBlockTransfer(uint8_t *b...
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/sis/sis_accel.c,v 1.40 2006/01/09 15:00:02 dawes Exp $ */ /* * 2D acceleration for SiS5597/5598 and 6326 * * Copyright (C) 1998, 1999 by <NAME>, Wigan, England. * Parts Copyright (C) 2001-2004 <NAME>, Vienna, Austria. * * Licensed under the following terms: * ...
/* $Id$ */ /* * Copyright (c) 2003-2009 <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, th...
#include <citrine/citrine.h> #include <curl/curl.h> #include <stdio.h> #include <string.h> #include <errno.h> #define CTR_OBJECT_RESOURCE_CURL 54 /** * @internal * * Throws error with object, message, and a description * **/ void ctr_curl_internal_error(ctr_object* myself, char* msg, char* desc) { char errstr[8...
#include "chunk.h" #include <common.h> #include <noise.h> #include <renderer.h> #include <server.h> #include <inttypes.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdbool.h> #include <pthread.h> #include <math.h> void chunkUpdate(struct chunkdata* data, int32_t c) { if ((int)c % (int)d...
/* * Drone.c * * Created: 15.10.2017 14:14:19 * Author : flola */ /* // Enable IO PIOB->PIO_PER = PIO_PB27; // Set to output PIOB->PIO_OER = PIO_PB27; // Disable pull-up PIOB->PIO_PUDR = PIO_PB27; PIOB->PIO_CODR = PIO_PB27; */ #include "sam.h" #include "Modules/BNO055/BNO055.h" #include "Modules/ESCControl/...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2012 Semihalf. * 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 ...
/* dafac.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 logical c_false = FALSE_; static integer c__1 = 1; /* $Procedure DAFAC ( DAF add comments ) */ /* Subroutine */ in...
/******************************************************************************* * * Font metric data for ITC Bookman Demi Italic * * Copyright 2001 <NAME> * * * See dlls/wineps/data/COPYRIGHTS for font copyright information. * */ #include "psdrv.h" #include "data/agl.h" /* * Glyph metrics */ static con...
/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* * VIM - Vi IMproved by <NAME> * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * os_unix.c -- code for all flavors of Unix (BSD, SYSV, SVR4, POSIX, ...) * *...
/* ****************************************** Sieves of size 2^k are used, where k can be very large! Not a huge amount of RAM is used. Storage drive not used. You will need two OpenCL kernel files to run this code. On Linux, compile via something like... clang -O3 collatzSieveless_npp_GPU.c -lOpenCL You'll need ...
/* * 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 ...
/***********************************************************************************/ /* listbox.c - GtkTreeView displaying a file list */ /* Copyright (C) 2020-2021 wdlkmpx <<EMAIL>> */ /* ...
/* Kessels engine for GOLD. See the "readme.txt" file. <NAME> Internet Engineer http://www.kessels.com/ Copyright: <NAME> Date: 22 march 2006 Version: 1.8 */ #include <stdio.h> /* fprintf() */ #include <stdlib.h> /* malloc(), free() */ #include <wchar.h> ...
/* $OpenBSD: osiopreg.h,v 1.2 2003/02/11 19:20:27 mickey Exp $ */ /* $NetBSD: osiopreg.h,v 1.1 2001/04/30 04:47:51 tsutsui Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME> of Lawrence Ber...
/* * (MPSAFE) * * Copyright (c) 1990 University of Utah. * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * Copyright (c) 1993, 1994 <NAME> * Copyright (c) 1995, <NAME> * * This code is derived from software contributed to Berkeley by * the Systems Programming Group of ...
/* * ps.c - show process status * * Copyright (c) 1992 <NAME> * * Snarfed and HEAVILY modified for procps by <NAME>, * (<EMAIL>). What is used is what is required to have a * common interface. * * Massive modifications by <NAME> (<EMAIL>). Rewrite * of the system process table code, multilev...
/* slapd-totp.c - Password module and overlay for TOTP */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 2015-2019 The OpenLDAP Foundation. * Portions Copyright 2015 by <NAME>, Symas Corp. * All rights reserved. * * Redistribution and use in source and binary ...
#include <stdio.h> #include <string.h> #include <assert.h> #include "steps.h" #include "tedwards.h" #include "uintbig.h" #include "poly.h" // a*x^2+y^2=1+d*x^2*y^2 // a = A.x/A.z + 2, d = A.x/A.z - 2 bool ted_is_on_curve(point const *P, proj const *E) { fp2 x2, y2, z2, tmp1, tmp2; fp2_sq2(&x2,&P->x); fp...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // PE (Portable Executable) file writing // http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx #include "l.h" #include "../ld/lib.h" #include "...
/* * Amazon FreeRTOS V201908.00 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, inc...
/* See LICENSE file for copyright and license details. */ #include <ctype.h> #include <stdbool.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <wayland-client.h> #include <xkbcommon/xkbcommon.h> #include "draw.h" #define INRECT(x,y,rx,ry,...
/** * \file wiz-spoil.c * \brief Spoiler generation * * Copyright (c) 1997 <NAME>, and others * * 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, version 2, or * * b) th...
/* * Mesa 3-D graphics library * Version: 6.5 * Copyright (C) 1995-2006 <NAME> * * 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, or (at your ...
/** * @file vp6.c * VP6 compatible video decoder * * Copyright (C) 2006 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ...
/* * Copyright (c) 2007-2008 Apple Inc. All rights reserved. * Copyright (c) 2005-2006 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source ...
/* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
/** * \file usb_phdc_drive.c * \brief Functions to read/write data to USB PHDC compatible devices * * Copyright (C) 2011 Signove Tecnologia Corporation. * All rights reserved. * Contact: Signove Tecnologia Corporation (<EMAIL>) * * This library is free software; you can redistribute it and/or * modify it under...
/** @file vol_av.c * Volograms SDK Audio-Video Decoding API * * Version: 0.7.1 \n * Authors: <NAME> <<EMAIL>> \n * Copyright: 2021, Volograms (http://volograms.com/) \n * Language: C99 \n * Licence: The MIT License. See LICENSE.md for details. \n */ #include "vol_av.h" #include <libavcodec/avcodec.h> #i...
#import <TargetConditionals.h> #import <Foundation/Foundation.h> #define PREFIX_ONE(a) 1##a #define EMPTY_DEFINE(a) (PREFIX_ONE(a) == 1) // Memory management kind #if !defined(USING_GC) # if defined(__OBJC_GC__) # define USING_GC 1 # else # define USING_GC 0 # endif #elif EMPTY_DEFINE(USING_GC) # undef...
/* * AM335X ECC.C */ /* * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ */ /* * 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 a...
/** * @file hash.c * @author <NAME> * @date 19th May 2015 * @brief Implementation of the Secure Hashing Algorithm (SHA-256/384/512) * * LICENSE * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additio...
/* * <NAME> (<EMAIL>) 2016 * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <inttypes.h> #include <sys/stat.h> #include <fcntl.h> #ifdef DEBUG #include <sys/ioctl.h> #endif #include "intern.h" #include "core.h" #include "epoll.h" #include "evloop.h" ...
/* ZModem file transfer protocol. Written from scratches. Support CRC16, CRC32, variable header, ZedZap (big blocks) and DirZap. Sender logic. $Id: ls_zsend.c,v 1.7 2004/05/19 09:52:13 sisoft Exp $ */ #include "headers.h" #include "ls_zmodem.h" #include "qipc.h" #include "crc.h" #include "tty.h" /* Finish ...
/* * Test 128-bit floating-point arithmetic on arm64: * build with two different compilers and compare the output. * * Copyright (c) 2015 <NAME> * * Copying and distribution of this file, with or without modification, * are permitted in any medium without royalty provided the copyright * notice and this noti...
/*===================================================================== ======= COPYRIGHT NOTICE ======= Copyright (C) 1996, Carnegie Mellon University, Cambridge University, <NAME> and <NAME>. All rights reserved. This software is made available for research purposes only. It may be redistribut...
/************************************************************************* * Copyright (c) 2015>, MIRACL Ltd * All rights reserved. * ...
#ifndef VUI_STBTT_MANAGER_H #include "vui_stbtruetype_manager.h" #endif #ifndef __STB_INCLUDE_STB_TRUETYPE_H__ #define STB_TRUETYPE_IMPLEMENTATION #include "stb_truetype.h" #endif #ifndef vui_stbtt_glyph_texture_default_width_and_height #define vui_stbtt_glyph_texture_default_width_and_height 512 #endif #ifndef vui_...
#include <stdio.h> #include <fcntl.h> #include <ctype.h> #include <assert.h> #include <stdint.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <curl/curl.h> #include "kurl.h" /********************** *** Core kurl APIs *** **********************/ #define KU_DEF_BUFLEN 0x8000 #define KU_MAX_S...
/* * (C) Gražvydas "notaz" Ignotas, 2008-2012 * * This work is licensed under the terms of any of these licenses * (at your option): * - GNU GPL, version 2 or later. * - GNU LGPL, version 2.1 or later. * - MAME license. * See the COPYING file in the top-level directory. */ #include <stdio.h> #include <stdl...
/* * yaidspcap.c - YAIDS PCAP Source Code * * This file is a part of or derived from YAIDS: https://github.com/wrayjustin/yaids * * COPYRIGHT (C) 2020 <NAME> - <EMAIL> / https://www.justinwray.com * ALL RIGHTS RESERVED * * Redistribution and use in source and binary forms, with or without modification, ...
// // Created by moqi on 2019-07-08. // #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libavformat/avc.h> #include <libavformat/hevc.h> #include <libavformat/avio_internal.h> #include <pthread.h> #include <utils/frame_work_log.h> #include <libavutil/avstring.h> #include <assert.h> #include...
/** * ngx_http_whitelist.c * * by <NAME> <<EMAIL>> * */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include <ngx_http_core_module.h> #include <ngx_http_whitelist.h> static ngx_rbtree_t ngx_http_wl_dns_rbtree; static ngx_rbtree_node_t ngx_http_wl_dns_sentinel;...
#include <stdio.h> #include <errno.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <mpfr.h> #include "matrice_grad.h" #include "tools/inputOutput.h" #include "tools/matrixUtils.h" #include "tools/arrayUtils.h" #include "tools/errorHandling.h" #include "tools/customMath.h" #include "tools/util...
/* * OpenBIOS - free your system! * ( firmware/flash device driver for Linux ) * * pcisets.c - support functions to map flash devices to kernel space * * This program is part of a free implementation of the IEEE 1275-1994 * Standard for Boot (In...
/* Copyright (c) 2020, <NAME>. (<EMAIL>) All rights reserved. This file is part of the topaz project (https://github.com/jcorks/topaz) topaz was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
/* This file is part of PolyLib. PolyLib 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. PolyLib is distributed in ...
/* * $Id: doNtStreets.c,v 1.6 2011/02/21 21:01:23 woodbri Exp $ * * doNtStreets style infile outfile * * This utility program processes Navteq Arcview data * need for iMaptools.com Mapping For Navteq data. * It handles the following layers: * * Streets and AltStreets * * This utility checks for multiple rec...
/* Simple DirectMedia Layer Copyright (C) 1997-2019 <NAME> <<EMAIL>> 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 this software for any ...
/* ** Copyright (C) 2006-2020 by Carnegie Mellon University. ** ** @OPENSOURCE_LICENSE_START@ ** See license information in ../../LICENSE.txt ** @OPENSOURCE_LICENSE_END@ */ #include <silk/silk.h> RCSIDENT("$SiLK: rwscan.c ef14e54179be 2020-04-14 21:57:45Z mthomas $"); #include "rwscan.h" #include "rwscan_db.h" /* ...
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2008 litl, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including witho...
/** ****************************************************************************** * @file QSPI/QSPI_perfs/Src/main.c * @author MCD Application Team * @brief QSPI performance application ****************************************************************************** * @attention * * Copyright (c)...
/* Definitions for CPP library. Copyright (C) 1995 Free Software Foundation, Inc. Written by <NAME>, 1994-95. 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, or (at your optio...
#pragma ide diagnostic ignored "hicpp-signed-bitwise" #include <ctype.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include "input.h" #include "watches.h" #include "util.h" #include "breakpoints.h" #define BUFFER_SIZE 1024 // Just reads in a binary file. loadFile_t loadBinFile(FILE *file, uint8_t ...
/* * HIDPP protocol for Logitech Unifying receivers * * Copyright (c) 2011 Logitech (c) * Copyright (c) 2012-2013 Google (c) * Copyright (c) 2013-2014 Red Hat Inc. */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publishe...
/* Copyright © 2020 Arista Networks, Inc. All rights reserved. * * Use of this source code is governed by the MIT license that can be found * in the LICENSE file. */ #include <assert.h> #include <ctype.h> #include <err.h> #include <errno.h> #include <getopt.h> #include <inttypes.h> #include <limits.h> #include <si...
/* ************************************************************************************************* * * Emulation of AT91RM9200 Timer Counter (TC) * * state: very incomplete, only working with u-boot * * Copyright 2006 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with o...
#include <bits/types/struct_timeval.h> #include <stdint.h> #include "Tpm.h" #include "BaseTypes.h" #include "TpmTypes.h" #include "CreateLoaded_fp.h" #include "CreatePrimary_fp.h" #include "Create_fp.h" #include "ExecCommand_fp.h" #include "Marshal_fp.h" #include "PQC_Private_fp.h" #include "PQC_Public_fp.h" #include "...
#include "map.h" #include <assert.h> #include <ctype.h> #include <errno.h> #include <math.h> #include <stdio.h> #include <string.h> #include <stdbool.h> #include <stdlib.h> #include <SDL2/SDL.h> #include "glob.h" #include "log.h" #include "max.h" #include "misc.h" #define COMPILE_TIME_STRLEN(s) (sizeof(s)-1) /* Small...
// Runtime code for C programs generated by the milone-lang compiler. // Some of functions are not declared in milone.h // but usable with __nativeFun. // Use C standard functions only. // Other functions that require platform-specific functions are defined in `milone_platform.c`. // Customization: // Define MI...
/* * Copyright (c) 2020 Intel Corporation. All Rights Reserved. * Copyright (c) 2020 <NAME> <<EMAIL>> * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in t...
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
/* * Copyright (c) 2013-2016 <NAME>. * All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the BSD_LICENSE file. */ #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <getopt.h> #includ...
/* * konfd.c * * The konfd daemon to store user configuration commands. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/wait.h> #include <errno.h> #inc...
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * 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 opt...
/*------------------------------------------------------------------------- * * gistvacuum.c * interface routines for the postgres GiST index access method. * * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * I...
#include <stdio.h> #include <stdarg.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <errno.h> #include "../../util/util.h" #include "../../util/platform.h" #include "../../util/alloc.h" #include "../../util/dynarray.h" #include "../../util/math.h" #include "../../util/io.h" #include "../type.h...
/* index.c -- indexing for Texinfo. $Id: index.c,v 1.1.1.3 2006/07/17 16:03:46 espie Exp $ Copyright (C) 1998, 1999, 2002, 2003, 2004 Free Software Foundation, Inc. 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 ...
// // main.c // // ImageInfo // // A command line tool to display info about image files // Copyright (c) 2012-2016 BitBank Software, Inc. // Written by <NAME> // // Project started 4/12/2012 // Version 1.0 released 4/15/2012 // 5/18/12 - added support for PBM/PGM/PPM and Targa // 9/5/13 - added support for OS/2 BMP, ...
/* * 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...
// Copyright (c) 2012 DotNetAnywhere // // 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...
/* Free ISQL - An isql for DB-Library (C) 2007 <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 later version. * * This...
//Analysis program for the output of the simulation of the Ising model in 2D #include<stdio.h> #include<stdlib.h> #include<math.h> #include<stdarg.h> //Needed for the function print_and_exit() //Global definitions #define MAXIT 10000 //Maximum-lenght of the data file #define MAXBETAS 21 //Maximum number of extrapola...
/** * Smarc * * Copyright (c) 2009-2011 Institut Télécom - Télécom Paristech * Télécom ParisTech / dept. TSI * * Authors : <NAME>, <NAME> * * This file is part of Smarc. * * Smarc is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publishe...
/* Copyright (c) <NAME>, 1997. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ /* Example showing how to use OpenGL's feedback mode to capture transformed vertices and outp...
/* Copyright (c) 2011, <NAME>, ASL, ETH Zurich, Switzerland You can contact the author at <markus dot achtelik at mavt dot ethz dot ch> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * ...
/* * budget-core.c: driver for the SAA7146 based Budget DVB cards * * Compiled from various sources by <NAME> <<EMAIL>> * * Copyright (C) 2002 <NAME> <<EMAIL>> * * Copyright (C) 1999-2002 <NAME> * & <NAME> for convergence integrated media GmbH * * 26feb2004 Support for FS Activy Card (Grundig tuner) by * ...
/******************************************************************************* * mt_pwm.c PWM Drvier * * Copyright (c) 2012, Media Teck.inc ...
#include <stdio.h> #include <termios.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <stdlib.h> #include <strings.h> #include <string.h> #include <poll.h> #include <unistd.h> #include <getopt.h> #include <time.h> #include <linux/serial.h> #include <...
/* * Copyright (c) 2017-2018 <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 condi...
/* * Copyright © 2011 Intel Corporation * * 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, pub...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <errno.h> #include <sys/file.h> /* flock() */ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/mman.h> #include <sched.h> #include "pmgr_collective_cl...
/*------------------------------------------------------------------------- * * remote_seq.c * Kunlun remote sequences implementation. * * * Copyright (c) 2019-2021 ZettaDB inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * combined with Common Clause Condition 1.0, as det...
/* 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 Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope t...
//#define DEBUG_VOLVO #ifdef DEBUG_VOLVO int giraffe_forward_camera_volvo_prev = 0; bool controls_allowed_prev_v = 0; bool relay_malfunction_prev = false; bool valid_prev = false; bool ok_to_send_prev = false; int tx_prev = 0; int counterloop = 0; #endif /* Volvo Electronic Control Units abbreviations and network top...