text
stringlengths
5.8k
28.2k
#include <errno.h> #include <pthread.h> #include <sched.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define THREADNUM 3 void *HelloFunc(void ...
/* * Copyright (C) 2005 aCaB <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch 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 Found- * ation, either version 3 of the...
// ---------------------------------------------------------------------- // info and license // ---------------------------------------------------------------------- // // filename: bldc.c // // MIT License // // Copyright (c) 2019 <NAME> // // Permission is hereby granted, free of charge, to any person o...
/* * Copyright 1995 by the Massachusetts Institute of Technology. All * Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibility of any person or organization contemplating * export to obta...
/* * pacman-conf.c - parse pacman configuration files * * Copyright (c) 2013-2021 Pacman Development Team <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2...
//-------------------------------------------------------------------------------------------------- #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <time.h> #include "sound.h" #include "graphics.h" #include "midi.h" #include "midisurf.h" #include "io.h" #include "menu.h" #include "bitmap.h" #incl...
/* * 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...
/* * Copyright (c) 2017 Rockchip, 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...
#include <stdio.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <stddef.h> #include <assert.h> #include <poll.h> #include <errno.h> #include <time.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/uio.h> #include <netinet/in.h> #include <stdbool.h> #include <limits.h> #include "rl...
/* <<<< Cartographic projection filter program >>>> */ #include "projects.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <math.h> #include "emess.h" /* TK 1999-02-13 */ #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__WIN32__) # include <fcntl.h> ...
/** * AES GCM routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2012 International Business Machines 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 * the Free Software Foundation; versi...
/*---------------------------------------------------------------------------- * Name: Can.c * Purpose: CAN interface for STM32 * Version: V1.01 *---------------------------------------------------------------------------- * This file is part of the uVision/ARM development tools. * This software may only be us...
/* Public Domain Curses */ #include "pdcdos.h" /*man-start************************************************************** pdckbd ------ ### Synopsis unsigned long PDC_get_input_fd(void); ### Description PDC_get_input_fd() returns the file descriptor that PDCurses reads its input from. It can be used for...
#include <errno.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdio.h> #include <sys/time.h> #include <assert.h> #include <sys/mman.h> #include <stdint.h> // Three simple allocators: K&R, region, and buddy // compile on Linux: $ gcc -O2 -o malloc malloc.c // run: $ ./mal...
/* Simple GTK3 App for Ubuntu Touch on PinePhone (Not working yet) (1) Make a copy of the camera app: cp /usr/share/click/preinstalled/.click/users/@all/com.ubuntu.camera/camera-app $HOME (2) Build the GTK app: gcc \ -g \ -o gtk \ gtk.c \ `pkg-config --cflags --libs gtk+-wayland-3.0` \ -Wl,-Map=g...
/*$Header: /data/petsun4/data1/src_solaris/var_4dfp/RCS/var_4dfp.c,v 1.20 2010/12/23 03:36:23 avi Exp $*/ /*$Log: var_4dfp.c,v $ * Revision 1.20 2010/12/23 03:36:23 avi * long -> int in rnan() * * Revision 1.19 2010/10/01 01:38:49 avi * correct serious error in coding of format pointer * option -G * * Rev...
/*++ BUILD Version: 0001 // Increment this if a change has global effects Copyright (c) 1989 Microsoft Corporation Module Name: macimage.h IMAGE_SYM_CLASS_FAR_EXTERNAL Abstract: This is the include file that describes all mac-specific image info Author: <NAME> (billjoy) Oct 1992...
/* * Copyright (C) 2002 <NAME> * Copyright (C) 2002 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later vers...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
// Copyright (c) 2014 <NAME> - https://github.com/EddyLuten/lib-semver // Distributed under MIT license. #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <assert.h> #include <semver.h> // Custom allocators, default to the defaults. static semver_malloc_fnc semver_malloc = (semver_malloc_fnc)malloc;...
/*************************************************************************** * ZBOSS ZigBee Pro 2007 stack * * * * Copyright (c) 2012 DSR Corporation Denver CO, USA. * * ...
/* pbTracks.c - UCSC Proteome Browser main cgi script. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hCommon.h" #include "portable.h" #include "jksql.h" #include "vGfx.h" #include "cheapcgi.h" ...
/* instructions.c Copyright (C) 2003-2008 <NAME>, http://ragestorm.net/distorm/ This library is licensed under the BSD license. See the file COPYING. */ #include "instructions.h" #include "insts.h" #include "prefix.h" #include "textdefs.h" #include "x86defs.h" #include "wstring.h" /* I use the trie ...
/*---------------------------------------------------------------------------*\ FILE........: tfdmdv.c AUTHOR......: <NAME> DATE CREATED: April 16 2012 Te...
/** ** A Template for developing new terminal application **/ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> /** These two files are necessary for calling CTOS API **/ #include <ctosapi.h> #include"iso8583c.h" #include"wub_lib.h" static USHORT usPackDataAddr[64]; static BYTE baPackDat...
/// This program makes sure that all the symbols that a /// GNUABI-compatible compiler (clang or gcc) can generate when /// vectorizing functions call from `#include <math.h>` are present in /// `libsleefgnuabi.so`. /// /// The header `math.h` is not the same on all systems, and different /// macros can activate differ...
#include <stdio.h> #include <strings.h> #include "perfect6502.h" typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int BOOL; extern uint8_t memory[65536]; #define YES 1 #define NO 0 #define BRK_LENGTH 2 /* BRK pushes PC + 2 onto the stack */ #define MAX_CYCLES 100 #define SETUP_ADDR...
/* * %CopyrightBegin% * * Copyright Ericsson AB 1997-2012. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public Lice...
#include "xvmaininc.h" #include "ftnbridge.h" #include "applic.h" #include "rtlintproto.h" #if FORSTR_METHOD_A #include <descrip> #endif #if FORSTR_METHOD_D #include <fortran.h> #endif /************************************************************************/ /* sfor2c and v2_sfor2c transform an input Fortran string...
/* * Copyright 2015 <NAME> * * 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 wr...
/************************************************************************ ** MODULE: TYPES.H ** PROJECT: EPANET-MSX ** DESCRIPTION: Global constants and data types used by the EPANET ** Multi-Species Extension toolkit. ** COPYRIGHT: Copyright (C) 2007 <NAME>, <NAME>, and <NAM...
#include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include <ngx_string.h> #include <openssl/evp.h> #include <openssl/hmac.h> #include <openssl/crypto.h> #define NGX_DEFAULT_HASH_FUNCTION "sha256" typedef struct { ngx_http_complex_value_t *hmac_variable; ngx_http_complex_value_t *hmac_mes...
/* * Copyright (c) 2018 Dell 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 * * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARR...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2018 * * <NAME> <<EMAIL> dot bal<EMAIL> at gmail dot com> * * TinnyModbus * * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
#include <miniz.h> #include <tm.h> #include <errno.h> #include <string.h> #define MZ_MIN(a,b) (((a)<(b))?(a):(b)) // full set of 64 zlib headers // from https://groups.google.com/forum/#!msg/comp.compression/_y2Wwn_Vq_E/EymIVcQ52cEJ // Common: // 78 01, 78 5e, 78 9c, 78 da // Rare: // 08 1d, 08 5b, 08 99, 08 d7, 18 1...
/* * IMS Open Corpus Workbench (CWB) * Copyright (C) 1993-2006 by IMS, University of Stuttgart * Copyright (C) 2007- by the respective contributers (see file AUTHORS) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publish...
/* * Wslay - The WebSocket Library * * Copyright (c) 2011, 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...
#include "proto.h" void generate_BMP_data (struct context * context) { if (context -> source -> frames > 1) throw(context, PLUM_ERR_NO_MULTI_FRAME); if ((context -> source -> width > 0x7fffffffu) || (context -> source -> height > 0x7fffffffu)) throw(context, PLUM_ERR_IMAGE_TOO_LARGE); unsigned char * header = ap...
/* * window.c * This file is part of sgui * * 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 ri...
#include "hinter.h" // hinter main capture/calculate/print loop void mumsh_hinter(char *buffer) { strcpy(path, "./"); // main loop while (1) { // get keyboard input int c = keyboard_get(); // enter key if (c == KEY_ENTER) { clean_hint(); clean_history_hint(); save_history(buffer...
/** * collectd - src/memory.c * Copyright (C) 2005-2008 <NAME> * Copyright (C) 2009 <NAME> * Copyright (C) 2009 <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; only...
/* * Copyright (c) 2009-2018 NLNet Labs. * 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 con...
// SPDX-License-Identifier: GPL-2.0 /* * PCI Virtual Channel support * * Copyright (C) 2013 Red Hat, Inc. All rights reserved. * Author: <NAME> <<EMAIL>> */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/pci_regs.h> #include <linux/types.h...
/* Copyright 2015 <NAME>.P. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
#include "e_lib.h" #include "shared_data.h" #include "fastmath.h" #define BUF_ADDRESS 0x8e000000 #define FRAME_ADDRESS (BUF_ADDRESS + sizeof(msg_block_t)) #define PAGE_OFFSET 0x2000 #define PAGE_SIZE 0x2000 #define ROWS 4 #define COLS 4 #define NSUBSAMPLES 1 #define NAO_SAMPLES 4 unsigned int wang_hash(unsigned int ...
#include <Python.h> #include <math.h> #include <stdio.h> #define PI 3.141592653589793 #define PI_OVER_TWO 1.5707963267948966 #define RADIAN_CONSTANT 0.017453292519943295 typedef struct { double rho, phi; } Polar; typedef struct { double x, y; } Cartesian2D; typedef struct { double x, y, z; } Cartesian3D...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* * Copyright (c) 2021 HopeBayTech. * * This file is part of Tera. * See https://github.com/HopeBayMobile for further info. * * 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 * * ...
/** * FreeRDP: A Remote Desktop Protocol Implementation * XKB Keyboard Mapping * * Copyright 2009-2012 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
/** * Author <NAME> <<EMAIL>> * www: www.Domski.pl * * work based on DORJI.COM sample code and * https://github.com/realspinner/SX1276_LoRa */ #include <string.h> #include <SX1276.h> uint8_t SX1276_SPIRead(SX1276_t *module, uint8_t addr) { uint8_t tmp; SX1276_hw_SPICommand(module->hw, addr); tmp = SX1276_hw_...
#include "meta_wifi.h" #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <net/if_arp.h> /* For ARPHRD_ETHER */ #include <sys/socket.h> /* For AF_INET & struct sockaddr */ #include <net...
/** * dimgutil: disk image and archive utility * Copyright (C) 2022 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
/* * Copyright © 2018, VideoLAN and dav1d authors * Copyright © 2018, Two Orioles, 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: * * 1. Redistributions of source code must retain the...
/* * modemlog * * Usage: /system/bin/modemlog [filename] * * Grabs BP panic data from: /proc/last_kmsg and /proc/kmsg or a log file * given on the command line BP panic data is stuck into * /data/panicreports. AP panic data is stuck into /data/kernelpanics. * * Author: <NAME> <EMAIL> License: Motorola Propriet...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* * 2017, <NAME>, public domain software: * ///// USE AT YOUR OWN RISK! ///// */ // General includes #include <stdlib.h> #include <stdio.h> // termkcd includes #include "memory.h" #include "util.h" #include "web.h" #include "image.h" #include "framebuffer.h" // Commit changes: // #1: // - Prevented pos...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <X11/Xlib.h> #include <X11/keysym.h> #include <X11/Xutil.h> #include <X11/Xft/Xft.h> #include <X11/extensions/Xrender.h> #include <X11/extensions/Xinerama.h> #include <fontconfig/fontconfig.h> #include <ctype.h> #include <strings.h> #define MAX(A, B) ...
//****************************************************************************** // Version 1.6.0 28.06.2012 // // MSP430G2xx3 - USCI_A0 SPI Master Interface to TM1638, Read/Write // command, key scanning, show digit and switch LEDs on board // Description: SPI communicate with a TM1638 in read and write mode ...
/* * ui_playlist_widget.c * Copyright 2011-2012 <NAME>, <NAME>, and <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this ...
/* $Id: run_with_lock.c 625755 2021-02-18 19:34:22Z ivanov $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" u...
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <getopt.h> #include <time.h> #include <signal.h> #include <pthread.h> #include <GLES2/gl2.h> #include <EGL/egl.h> #include <vt/vt_openapi.h> #include "debug.h" #include "hyperion_client.h" #define MAX(a, b) ...
#include "m_pd.h" #include "math.h" static t_class *faustchorus_tilde_class; typedef struct _faustchorus_tilde { t_object x_obj; t_float f; t_sample *in_l_buffer; t_sample *in_r_buffer; t_inlet *inlet_right; t_outlet *outlet0; t_outlet *outlet1; t_outlet *outlet2; t_outlet *outlet3; t_inlet *inlet_freq; ...
/* Copyright 2021 <NAME> * * 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...
#include "self.h" void self_read_headers(FILE *in,SELF *self,APP_INFO *app_info,ELF *elf,ELF_PHDR **phdr, ELF_SHDR **shdr, SECTION_INFO **section_info,SCEVERSION_INFO *sceversion_info,CONTROL_INFO **control_info) { // SELF if (fread (self, sizeof(SELF), 1, in) != 1) { fail("Couldn't read SELF header"); } self->...
#include <string.h> #include <graphx.h> #include <debug.h> #include <keypadc.h> #include <compression.h> #include <fileioc.h> #include "defs.h" #include "vars.h" #include "gfx/output/gfx_base.h" #include "gfx/output/gfx_charequtiles.h" char *items_StatDesc(uint8_t offset); #define fl2fx(x) (x*256) #define MD(memb...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the terms found in...
/* (C) <NAME>, some minor bug fixes (C) <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 program is distribut...
/* * CMUCS AFStools * dumpscan - routines for scanning and manipulating AFS volume dumps * * Copyright (c) 1998, 2001, 2003 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyri...
#include <arpa/inet.h> #include <errno.h> #include <fcntl.h> #include <netinet/if_ether.h> #include <netinet/ip_icmp.h> #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/tcp.h> #include <netinet/udp.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <unistd.h>...
/** * @file graphics.c * @author <NAME> * @brief * @version 0.1 * @date 2019-11-20 * * @copyright Copyright (c) 2019 * */ // INCLUDES // #include "rtssp/graphics.h" #define STB_IMAGE_IMPLEMENTATION #include <stb/stb_image.h> #include <math.h> #include <assert.h> // DEFINITIONS // #define LOG_SIZE 51...
#include "../c_header/mpe_fft.h" //在过渡版代码中,主核u0已经不是evv的地方了。在完成传递的任务之后,就是从核的输出数据的地方。 void total_dt_transpose_x_y(double* in, double* out) { #define ux_idx(a, b, c) ((a - 1) + ((b - 1) + (c - 1) * ny_) * nx_) int i, j, k; for(i = 1; i <= nx_; i++) { for(j = 1; j <= ny_; j++) { f...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> struct stack { void* end; struct stackValue* data; struct definition* defs; struct definition* lastdef; struct definition* enddefs; }; struct program { struct stackValue* prog_start; struct stackValue* prog_pastlast; struct stackValu...
#include <GL/glut.h> #include <stdio.h> #include <string.h> #define MODEL_LOADER_TYPE "OBJ Wavefront" typedef float vec3[3]; typedef float vec4[4]; /* Vertex struct */ struct vertex_t { vec4 xyzw; }; /* UVWs struct */ struct uvws_t { vec3 uvw; }; /* Normal struct */ struct normal_t { ...
/*******************************/ /* DRAFT NOT READY FOR RELEASE */ /*******************************/ /* libscratch: A library of C functions for network sampling estimation. Copyright 2020 <NAME> under the Gnu General Public License. ************************************************************************** time g...
/* * Copyright 2006 - <NAME> * All rights reserved * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and th...
/* * Copyright (C) 2020 "IoT.bzh" * Author <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
#define nelem(x) (sizeof(x)/sizeof((x)[0])) #define assert(x) if(!(x))PM_assert(0, __FILE__, __LINE__) /* * mem routines */ extern void* memccpy(void*, void*, int, ulong); extern void* memset(void*, int, ulong); extern int memcmp(void*, void*, ulong); extern void* memcpy(void*, void*, ulong); extern void* memmove(vo...
#include <stdio.h> #include <dsballegro.h> #include <fmod.h> #include "objects.h" #include "global_data.h" #include "defs.h" #include "uproto.h" #include "gproto.h" extern const char *CSSAVEFILE[]; char *Iname[4]; char *Backup_Iname = NULL; extern BITMAP *pcxload(const char *p_str, const char *longname); extern void ...
#include <stdio.h> // for printf #include <string.h> // for nstrcpy #include <stdlib.h> // for free and malloc #include "nrf_delay.h" #include "pixy2_spi.h" //#include "Pixy2Line.h" //#include "Pixy2Video.h" // Zed's debug macros #define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)...
/* scan.c */ /* ------------------------------------------------------------------- * miRanda- An miRNA target scanner, aims to predict mRNA targets for microRNAs, * using dynamic-programming alignment and thermodynamics * * Copyright (C) (2003) Memorial Sloan-Kettering Cancer Center, New York * * Distributed und...
/* * graphics.c * * Created on: Dec 20, 2017 * Author: nds */ #include "graphics.h" #include <time.h> #include "wifi.h" #include "timesync.h" #include "CGA8x8thick.h" #include "mainHUD.h" #include "AH.h" #include "compassSprite.h" #include "Background.h" #include "buttons.h" #define CRITICAL_BATTERY_VOLTA...
/* ----------------------------------------------------------------------------- * libmpxtn by stkchp * ----------------------------------------------------------------------------- * * The MIT License * * Copyright (c) 2017 stkchp * * Permission is hereby granted, free of charge, to any person obtaining a cop...
/* Copyright: (c) 2009-2010 by <NAME> */ /**************************************************************************** PREPROCESS PACKETS This function parses the entire TCP/IP stack looking for IP addresses and ports. The intent is that this is the minimal parsing necessary to find address/port informa...
#include "main.h" #include "revolution/os.h" static int _readHex(const char *str, int len, const char **out) { int result = 0; while(len--) { int n = 0; char c = *(str++); if(!c) break; else if(c >= '0' && c <= '9') n = c - '0'; else if(c >= 'A' && c <= 'F') n = (c - 'A...
/* * Copyright (c) 2009 <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 DISCLAIM...
/****************************************************************************** * * PROGRAM: dc_lissage (diane_lissage) * * PURPOSE: compute smoo...
#include "syrk_diagonal_ref.h" /* * Structure which includes all additional information beyond what is * already stored in the obj_t structure. * * This structure is **read-only** during the operation! */ typedef struct packm_diag_params_t { void* d; inc_t incd; } packm_diag_params_t; typedef void (*pack...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
#include "jkGUIMap.h" #include "General/stdBitmap.h" #include "General/stdFont.h" #include "Engine/rdMaterial.h" // TODO move stdVBuffer #include "stdPlatform.h" #include "jk.h" #include "Gui/jkGUIRend.h" #include "Gui/jkGUI.h" #include "Gui/jkGUISetup.h" #include "World/jkPlayer.h" #include "World/sithMap.h" #include...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the Apache Licen...
/* cheevd.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the e...
/***************************************************************************//** * @file sl_token_manufacturing.c * @brief Manufacturing toke API implementation. * @version 1.0.0 ******************************************************************************* * # License * <b>Copyright 2019 Silicon Laboratories In...
/* SDL_mixer: An audio mixer library based on the SDL library Copyright (C) 1997-2013 <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 a...
/* bootpackのメイン */ #include "bootpack.h" #include <stdio.h> void make_window8(unsigned char *buf, int xsize, int ysize, char *title); void putfonts8_asc_sht(struct SHEET *sht, int x, int y, int c, int b, char *s, int l); void make_textbox8(struct SHEET *sht, int x0, int y0, int sx, int sy, int c); struct TS...
/****************************************************************************** pkblocker.c - Blocking tasks handled outside the main event loop. This file is Copyright 2011, 2012, The Beanstalks Project ehf. This program is free software: you can redistribute it and/or modify it under the terms of the Apache Lice...
/* Copyright (C) 1994-2016 Lawrence Livermore National Security, LLC. LLNL-CODE-425250. All rights reserved. This file is part of Silo. For details, see silo.llnl.gov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * R...
/*! \file drw.c * See LICENSE file for copyright and license details. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <X11/Xlib.h> #include <X11/Xft/Xft.h> #include "drw.h" #include "util.h" #define UTF_INVALID 0xFFFD //character to be used when character is invalid #define UTF_SIZ 4 //amx...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2018, Bootlin * Author: <NAME> <<EMAIL>> */ #include <common.h> #include <dm.h> #include <tpm-v2.h> #include <asm/state.h> #include <asm/unaligned.h> #include <linux/crc8.h> /* Hierarchies */ enum tpm2_hierarchy { TPM2_HIERARCHY_LOCKOUT = 0, TPM2_HIERARCHY_...
#include <argp.h> #include <bcm_host.h> #include <fcntl.h> #include <math.h> #include <poll.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "bcm283x.h" #include "git_version.h" #include "log.h" #include "memory.h" #include "raspdif.h" #include "spdif.h" #include "utils.h" #d...