text
stringlengths
5.8k
28.2k
/* * This code implements the MD5 message-digest algorithm. * The algorithm is due to Ron Rivest. This code was * written by <NAME> in 1993, no copyright is claimed. * This code is in the public domain; do with it what you wish. * * Equivalent code is available from RSA Data Security, Inc. * This code has been t...
#define _POSIX_C_SOURCE 200809L #include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <wordexp.h> #include <unistd.h> #include "log.h" #include "list.h" #include "swaynag/swaynag.h" #include "swaynag/types.h" #include "util.h" #include "wlr-layer-shell-unstable-v1-client-protocol.h" static char *read_and...
/********************************************************************** * * geo_print.c -- Key-dumping routines for GEOTIFF files. * * Written By: <NAME>. * * copyright (c) 1995 <NAME> * * Permission granted to use this software, so long as this copyright * notice accompanies any products derived the...
/* * hw_dwc_otg.c * * USB handling for DWC-OTG USB 2.0 controller. * * Written & released by <NAME> <<EMAIL>> * * This is free and unencumbered software released into the public domain. * See the file COPYING for more details, or visit <http://unlicense.org>. */ #include "hw_dwc_otg.h" static struct { ...
/* * config.c - configuration file management and options processing * * By default check for two configuration files in following order: * * $HOME/.wspy/config * /usr/share/wspy/config * * If the first is found, don't look at the second. */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #inc...
/* * QEMU System Emulator * * Copyright (c) 2003-2008 <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, c...
#include "hevent.h" #include "hsocket.h" #include "hatomic.h" #include "hlog.h" uint64_t hloop_next_event_id() { static hatomic_t s_id = HATOMIC_VAR_INIT(0); return ++s_id; } uint32_t hio_next_id() { static hatomic_t s_id = HATOMIC_VAR_INIT(0); return ++s_id; } static void fill_io_type(hio_t* io) { ...
/* * Copyright 2017-2018, 2020-2021 Uber Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
/* * Arm SCP/MCP Software * Copyright (c) 2015-2022, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Description: * SGM775 DMC-500 module. */ /* The use of "primary" may not be in sync with older versions of TRM */ #include <mod_sgm775_dmc500.h> #include <m...
/* Shifter, Copyright (c) 2015, The Regents of the University of California, ## through Lawrence Berkeley National Laboratory (subject to receipt of any ## required approvals from the U.S. Dept. of Energy). All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, a...
/* Copyright (c) 2012- PPSSPP Project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 2.0 or later versions. * * This program is distributed in the hope that it will be useful, ...
/* Do basic CCD image reduction for the current set of extensions. If we're processing the first set (extver = 1), then the primary header will be updated with history information, and the calibration switches in the header will be reset from "PERFORM" to "COMPLETE". <NAME>, 1998 June 1: Revised to only...
#include <sys/stat.h> #include <unistd.h> #include <stdio.h> #include <mpi.h> #include <string.h> #include <errno.h> #include <math.h> #include <sys/types.h> #include <dirent.h> #include <io500-util.h> #include <io500-phase.h> #include <phase-definitions.h> #define INVALID_RUN(...) do{ if (opt.rank == 0){fprintf(fil...
/* * Copyright (C) 2017 BlueKitchen GmbH * * 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 follo...
/* GStreamer * Copyright (C) 2004 <NAME> <<EMAIL>> * Copyright (C) 2006 <NAME> <tim centricular net> * * 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 Li...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
/* * 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...
/* P L O T 3 - X . C * BRL-CAD * * Copyright (c) 1988-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as...
/* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Sony Corp. and <NAME> of Software Research Associates, Inc. * * %sccs.include.redist.c% * * from: $Hdr: fbdefs.h,v 4.300 91/06/09 06:33:54 root ...
#include <lua.h> #include <lauxlib.h> #include <dirent.h> #include <time.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <signal.h> #include <errno.h> #include <stdio.h> #include <string.h> #include <fcntl.h> #include <poll.h> #include <stdlib.h> #define EXTOS_MAX_ERR...
/* * Copyright (c) 2016, <NAME> * * 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 IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIM...
/*****************************************************************************/ /* */ /* Routines to classify vertices */ /* */ ...
/* * horus3a.h * * Sony Horus3A DVB-S/S2 tuner driver * * Copyright 2012 Sony Corporation * Copyright (C) 2014 NetUP Inc. * Copyright (C) 2014 <NAME> <<EMAIL>> * Copyright (C) 2014 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/ccache/ccmarshal.c - Functions for serializing creds */ /* * Copyright (C) 2014 by the Massachusetts Institute of Technology. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
/* 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 (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merg...
/* tables.h -- Various lookup tables for fast comparisons. Copyright (C) 2012 <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 t...
/* * Convert JFS2 NFS4/AIXC acls to NT acls and vice versa. * * Copyright (C) <NAME>, 2006 * * 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 you...
/* * ----------------------------------------------------------------- * $Revision: 1.2 $ * $Date: 2008/12/31 00:04:42 $ * ----------------------------------------------------------------- * Programmer(s): <NAME>, <NAME>, <NAME>, * and <NAME> @ LLNL * ------------------------------------------------...
/* * SOCK_DGRAM echo ping. This illustrates the following effects: * * - Dropped packets * - Corruption * - Out of order responses * - Duplicate packets * * Pending responses are stored in a simple linked list; these are removed * either when a response is received, or on timeout. A checksum is included * in ...
/* x = symbfwblk(L, b) % This file is part of SeDuMi 1.1 by <NAME> and <NAME> % Copyright (C) 2005 McMaster University, Hamilton, CANADA (since 1.1) % % Copyright (C) 2001 <NAME> (up to 1.05R5) % Dept. Econometrics & O.R., Tilburg University, the Netherlands. % Supported by the Netherlands Organization f...
/* * 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...
/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * Extrae * * Instrumentation package for parallel applications * **...
/* symbol.c * by <NAME> * * Copyright (C) 2014, <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 u...
#include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_log.h" #include "esp_event_loop.h" #include "esp_wifi.h" #include "../cgi/include/cgiwifi.h" #include "../adapt/include/esp32_wifi.h" static const char *TAG = "cgiWifi"; // -----...
/* * hcsecd.c * * Copyright (c) 2001-2002 <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 code must retain the above copyright * noti...
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology 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 e...
/* $Id$ */ /* * Copyright (c) 2015 <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 A...
/* ArcDVI video output control * * Copyright 2021 <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, ...
/*------------------------------------------------------------------------/ / Bitbanging MMCv3/SDv1/SDv2 (in SPI mode) control module for PFF /-------------------------------------------------------------------------/ / / Copyright (C) 2010, ChaN, all right reserved. / / * This software is a free software and there i...
/* * Copyright (C) 2019-2020 Intel Corporation * * 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...
/* * Copyright (c) 2019 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * This code uses concepts and configuration based on 'synth', by * <NAME> <<EMAIL>>, which was written in ada. * * Redistribution and use in s...
/** \file navigation.c \brief GNSS core 'c' function library: navigation functions. \author <NAME> (GDM) \date 2007-11-29 \since 2005-08-23 \b "LICENSE INFORMATION" \n Copyright (c) 2007, refer to 'author' doxygen tags \n All rights reserved. \n Redistribution and use in source and binary forms, with or wi...
/********************************************************************* * * Authors: <NAME> - <EMAIL> * * Copyright (c) Members of the EGEE Collaboration. 2004-2010. * See http://www.eu-egee.org/partners/ for details on the copyright holders. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
/* $KAME: mld6.c,v 1.20 2006/11/16 22:48:54 itojun Exp $ */ /* * Copyright (C) 1998 WIDE Project. * 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 mus...
/* * $Id: hid-input.c,v 1.1.1.4 2003/10/14 08:08:50 sparq Exp $ * * Copyright (c) 2000-2001 <NAME> * * USB HID to Linux Input mapping module * * Sponsored by SuSE */ /* * 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 (c) 2009-2014, Structural Bioinformatics Laboratory, Boston University Copyright (c) 2014, Acpharis 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...
#include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<sys/wait.h> #include<dirent.h> #include<fcntl.h> #include<string.h> #include<math.h> #include<time.h> #include<signal.h> #include<errno.h> #include"functions.h" #include"fifo_fcts.h" #include"PCOptions.h" #incl...
#ifndef INT3 #define INT3(a,b,c) ((1-(int) ((unsigned) (a & 0x80) >> 6)) * (int) (((a & 127) << 16)+(b<<8)+c)) #endif #ifndef INT2 #define INT2(a,b) ((1-(int) ((unsigned) (a & 0x80) >> 6)) * (int) (((a & 127) << 8) + b)) #endif #ifndef INT1 #define INT1(a) ((a & 0x80) ? - (int) (a & 127) : (int) (a & 127)) #endif ...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <math.h> #include <time.h> #include <sys/time.h> #include "rebound.h" #include "spring.h" #include "tools.h" #include "output.h" #include "kepcart.h" extern int NS; // number of springs extern int NPERT; // number of external pe...
#include <stdlib.h> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <GL/glew.h> #include <time.h> #include <assert.h> #include "prof.h" struct drawstate { unsigned width; unsigned height; unsigned char *pixels; unsigned stride; }; struct v3 { float x, y, z; }; struct color { unsig...
/* spkw05.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__2 = 2; static integer c__6 = 6; static integer c__1 = 1; /* $Procedure SPKW05 ( Write SPK segment, ty...
/* Copyright © 2018 Neph <<EMAIL>> This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE...
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <stdint.h> #include <assert.h> #include <string.h> #include <err.h> #include <errno.h> #include <zlib.h> #include <ctype.h> #include "glean.h" #include "set.h" #include "word.h" #include "fname.h" #include "array.h" #include "gln_index.h" #include "db...
/* * * ***** 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 License, or (at your option) any later version. * * This program i...
typedef struct slab_descriptor{ void *start; u32 refcount; void *next; void *prev; } slab_descriptor_t; typedef struct block_descriptor{ void *start; slab_descriptor_t *slab_desc; void *prev; void *next; } block_descriptor_t; typedef struct kheap{ u32 flags; //0:(1=Small) 1-31:RESERVED u32 block...
/* * 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 ...
#pragma once #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <infiniband/verbs.h> #include <inttypes.h> #include <netdb.h> #include <netinet/in.h> #include <pthread.h> #include <rdma/rdma_cma.h> #include <semaphore.h> #include <signal.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <st...
/* * 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 ...
#include <htslib/khash.h> #include <sam.h> #include "bamfile.h" #include "bam_data.h" #include "scan_bam_data.h" #include "utilities.h" #define BAM_PARSE_STATUS_OK 0 static const int BAM_INIT_SIZE = 1048576; enum { CIGAR_SIMPLE = 1 }; /* _BAM_DATA */ static BAM_DATA _Calloc_BAM_DATA(int blocksize, int cigar_buf_sz...
/* Unofficial driver for Vive Trackers and up to two lighthouses, with an emphasis on pulling tracker and lighthouse calibration data from devices. Adapted from: https://github.com/cnlohr/libsurvive Which was based off: https://github.com/collabora/OSVR-Vive-Libre Originally Copyright 2016 <NAME> ...
// <NAME>, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2019 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.1 (2018/10/05) // Compute the closest points on the line segm...
/* * DiskSim Storage Subsystem Simulation Environment (Version 4.0) * Revision Authors: <NAME>, <NAME> * Contributors: <NAME>, <NAME>, <NAME> * * Copyright (c) of Carnegie Mellon University, 2001-2008. * * This software is being provided by the copyright holders under the * following license. By obtaining, usin...
/* * $Id: gc.c 792 2009-04-06 08:07:33Z michael.haupt $ * Copyright (c) 2007 <NAME>, <NAME> Software Architecture Group, Hasso Plattner Institute, Potsdam, Germany http://www.hpi.uni-potsdam.de/swa/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta...
/** * tbxsosd/libdb/ldapdb_domino.c * Copyright (C) 2006-2012 Opersys 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 * * Un...
/* test27: stat() fstat() Author: <NAME> (<EMAIL>) */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <errno.h> #include <limits.h> #include <string.h> #include <limits.h> #include <time.h> #include <stdio.h> #define MODE_MASK (S_IRWXU | S_IRWXG | S_IRW...
/** * src/hash.c * Copyright (C) 2005-2012 Opersys inc., All rights reserved. */ #include <string.h> #include "khash.h" #include "kmem.h" #include "kstr.h" #include "kutils.h" #include "kerror.h" /* Prime table used to grow the hash. */ static unsigned int khash_prime_table[] = { 23, 53, 97, 193, 389, 769, 154...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> #include "util.h" #include "net.h" #include "ip.h" #include "arp.h" struct ip_hdr { uint8_t vhl; // Version(4bit) and IP Header(4bit) uint8_t tos; uint16_t total; uint16_t id; ui...
/* * S9 Core Toolkit * By <NAME>, 2007-2015 * In the public domain */ /* * Ugly prelude to figure out if * we are compiling on a Un*x system. */ #ifdef __NetBSD__ #ifndef unix #define unix #endif #endif #ifdef __unix #ifndef unix #define unix #endif #endif #ifdef __linux #ifndef unix #define unix ...
/* * Copyright (c) 2006 Apple Computer, 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. Redistributions of source code must retain the above copyright * notice, this list of...
/* Copyright (c) (2010,2011,2012,2015,2016,2017,2018,2019) Apple Inc. All rights reserved. * * corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which * is contained in the License.txt file distributed with corecrypto) and only to * people who accept that license. IMPORTANT: Any license ri...
/* fleaTLS cryptographic library Copyright (C) 2015-2019 cryptosource GmbH 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 applica...
#include <glib.h> #include <glib/gprintf.h> #include <msgpack.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <zmq.h> #include "common.h" #include "server.h" #include "mlockfile.h" void lockfile_print_tag(gpointer data, gpointer user_data) { const gcha...
#include <stdbool.h> #include <time.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <limits.h> #include "SDL.h" #include "font8x8_basic.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define NONE -1 typedef unsigned char byte; typedef struct { int x; int y; int w; int h; } ...
double C4; double S4; double C5; double S5; double C6; double S6; double C7; double S7; double C8; double S8; double C9; double S9; double C10; double S10; double C11; double S11; double C12; double S12; double C13; double S13; double C14; double S14; do...
#include <curses.h> #include <getopt.h> #include <locale.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <wchar.h> #include "autopilot.h" #include "essentials.h" #include "snake.h" #include "xymap.h" int direction = East; int cols, rows; i...
// // boing.s // Boing Ball NES demo by <NAME> 2021 // http://rainwarrior.ca // #include "temp/sprite.h" // sprite enums // // NES library // typedef unsigned char uint8; typedef signed char sint8; typedef unsigned short int uint16; typedef signed short int sint16; typedef unsigned long int uint32; ty...
/* OmniVision OV6630/OV6130 Camera Chip Support Code * * Copyright (c) 1999-2004 <NAME> <<EMAIL>> * http://alpha.dyndns.org/ov511/ * * 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...
/* * Wi-Fi UG * * Copyright 2012 Samsung Electronics Co., Ltd * Licensed under the Flora License, Version 1.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.tizenopensource.org/license * Unless required by applicable law or...
/* * This file or a portion of this file is licensed under the terms of * the Globus Toolkit Public License, found in file GTPL, or at * http://www.globus.org/toolkit/download/license.html. This notice must * appear in redistributions of this file, with or without modification. * * Redistributions of this Softwar...
#ifdef ESP_LWIP #include "lwip/opt.h" #endif #if LWIP_SOCKET #include "lwip/sockets.h" #include "lwip/sys.h" #include "lwip/tcpip.h" #include "lwipcfg.h" #include "default_netif.h" #else #define sys_msleep(ms) usleep(1000*ms) #include <sys/socket.h> #include <errno.h> #include <unistd.h> #include <netinet/in.h> #inclu...
/*****************************************************************************/ /* */ /* Random Polygon Generator (RPG) */ /* */ ...
/*- * Copyright (c) 2020 <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 and...
/******************************************************** ** Authors: <NAME>, <EMAIL> ** <NAME>, <EMAIL> ** <NAME>, <EMAIL> ** <NAME> (DTNbox project supervisor), <EMAIL> ** ** Copyright 2018 University of Bologna ** Released under GPLv3. See LICENSE.txt for details. ** ****...
/* <NAME> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #ifndef uint typedef unsigned int uint; // readability > non-standard #endif #define MAXVAL 255 // maxval: default maximum value of a pixel's color // <PGM> .......................................................................
/* * * Copyright 2015 Rockchip Electronics Co. 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 applica...
/*************************************************************** sausage64.c A very simple library that handles Sausage64 models exported by Arabiki64. https://github.com/buu342/Blender-Sausage64 ***********************************************************...
/* * Copyright (C) 2011, <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, publish, di...
#include <stdio.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <fcntl.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <time.h> #include <signal.h> #include <locale.h> #include <sys/socket.h> #include <sys/un.h> #define N_TRA...
/***************************************************************** | | Stings Test Program | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modification, are permitted provided that the following conditions are met:...
/* Unit Tests */ #define _POSIX_C_SOURCE 1 /* for fileno(3) */ #define _XOPEN_SOURCE 500 /* for snprintf(3) */ #include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "wildmatch.h" #include "testing.h" bool rmatch(const char *pat, const char *s...
#include "gif.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> // //#ifndef FALSE //enum { FALSE, TRUE }; //#endif struct ColorEntry { u8 red, green, blue; }; // RETOUR #define RGB15(R,G,B) ((((R...
/* Copyright (c) 2016-2019 <NAME>. All rights reserved. */ /* Licensed under the ISC License. See the LICENSE file in the project root for full license information. */ #include <xcb/xcb.h> #include <err.h> #include <errno.h> #include <getopt.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <str...
/* Universidad Galileo * Turing Research Lab * <NAME> * Galileo Bionic Hand * CMSIS-DSP Application * Embedded Prostheses Controller * May-09-2017 * main.c */ #define ARM_MATH_CM4 #include "MK20D7.h" // Device header #include "arm_math.h" // ARM::CMSIS:DSP #incl...
/* For license: see LICENSE file at top-level */ // Copyright (c) 2018 - 2020 Arm, Ltd #include "shmemio.h" #include "shmemio_test_util.h" #include <ucp/api/ucp.h> #include <ucs/config/global_opts.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/epoll.h> #include <sys/stat.h> #include <netinet/in.h> #...
/* -*- mode: c; c-basic-offset: 4; -*- */ /******************************************************************************* * * Copyright (c) 2020 <NAME>. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for details. * * Description: * ArmV7 Neon extension acceleration fu...
// Main module to cal SA (central) // The full set of equations can be found in [Aliev RR. Conceptual and Detailed Models of Electrical Activity of the Myocardium. // Lambert Academic Publishing: Saarbrucken, Germany. 2012. ISBN:978-3-8465-3943-9 (in Russian).] #include <stdio.h> #include <stdlib.h> #includ...
#define _GNU_SOURCE #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <errno.h> #include <assert.h> #include <dlfcn.h> #include <fcntl.h> #include <signal.h> #include <sys/syscall.h> #include <sys/mman.h> #include <sys/resource.h> #include <asm/prctl.h> /* Repl...
/*------------------------------------------------------------------------- * * btree.c-- * Implementation of Lehman and Yao's btree management algorithm for * Postgres. * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $Header: /usr/local/cvsroot/postgres95/src/b...
/* aviout.cpp * * Copyright (C) 2006-2008 Zeromus * * This file is part of DeSmuME * * DeSmuME 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) an...
#include <pebble.h> #include <time.h> #include "keys.h" #include "locales.h" #include "health.h" #include "text.h" #include "weather.h" #include "configs.h" #include "positions.h" #include "screen.h" #include "clock.h" #include "accel.h" #include "compass.h" static Window *watchface; static uint8_t min_counter; stati...