text
stringlengths
5.8k
28.2k
/* * libpostscriptbarcode - postscriptbarcode.c * * Barcode Writer in Pure PostScript * https://bwipp.terryburton.co.uk * * Copyright (c) 2004-2015 <NAME> * * Permission is hereby granted, free of charge, to any * person obtaining a copy of this software and associated * documentation files (the "Software"), ...
#include "VX_lib.h" #include <stddef.h> #include <math.h> #include "octree_traversal.h" /* octree OpenCL code compiled into somethin like MAKEINTRESOURCE on Windows */ extern char * _binary___cltmp_octree_traversal_cl_cl_start; #define CL_OCT_CODE _binary___cltmp_octree_traversal_cl_cl_start /* * TODO: make...
/* * @Author: <NAME> * @Date: 2020-04-15 11:33:22 * @Last Modified by: <NAME> * @Last Modified time: 2020-05-14 18:13:16 */ #include "audioprocessing.h" #include "arm_math.h" #include "arm_const_structs.h" #include "hostinterface.h" #include "util.h" #include "cyclecounter.h" #include "audio/mel_constants.h" /*-...
#include "config.h" #include <stdio.h> #include <signal.h> #include <errno.h> #include <unistd.h> #include <string.h> #include "defs.h" #include "struct.h" #include "data.h" #include "ip.h" #include "proto.h" /* * queue.c: Wait queue handling routines * The waitq is handled in a deterministic manner by a double l...
#include "tp3.h" T_Produit *creerProduit(char *marque, float prix, char qualite, int quantite) { T_Produit *prod = malloc(sizeof(T_Produit)); strcpy(prod->marque, marque); prod->prix=prix; prod->quantite_en_stock=quantite; prod->qualite=qualite; prod->suivant=NULL; return prod; ...
/* * Copyright (c) 2020, <NAME> (TU Wien) * 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...
/** * @file my_client.c * @author <NAME> * @date 2009/07/01 */ #include <sys/types.h> #include <sys/socket.h> #include <stdio.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <arpa/inet.h> #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #i...
#include <ctype.h> #include <stdio.h> #include <string.h> #include "assembler.h" #include "linked_list.h" ll_t *tokens; ll_t *label_def; ll_t *label_ref; ll_t *output; uint16_t *out_full; int main(int argc, char *argv[]) { // Sanity check if (argc < 3) { fprintf(stderr, "Not Enough Arguments!\n"); fprintf(stde...
/* ui-log.c: functions for log output * * Copyright (C) 2006-2014 cgit Development Team <<EMAIL>> * * Licensed under GNU General Public License v2 * (see COPYING for full license text) */ #include "cgit.h" #include "ui-log.h" #include "html.h" #include "ui-shared.h" #include "argv-array.h" static int files, a...
// gcc dfServer.c -o server // ./server DFS1/ 8886 #include <stdlib.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> #include <sys/stat.h> #include <signal.h> #include <fcntl.h> #include <dirent.h> #define FILEPACKETSIZE 50*1024 ...
#include <GL/glx.h> #include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/keysym.h> #include <X11/Xutil.h> #include <immintrin.h> /* render layer */ static void GrInit(); /* os layer */ typedef struct _OsTime* OsTime; static void Die(char* fmt, ...); static OsTime MkOsTime(); static void RmOsTime(OsTime t); sta...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ * This is GNU Go, a Go program. Contact <EMAIL>, or see * * http://www.gnu.org/software/gnugo/ for more information. * * * * Copyright 1999, 2000, 2001, 2002, 2003...
// // equivalence_set.c // libmsym // // Created by <NAME> on 08/02/15. // Copyright (c) 2015 <NAME>. // // Distributed under the MIT License ( See LICENSE file or copy at http://opensource.org/licenses/MIT ) // #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include "equivalence_set...
/* * Copyright (c) 2022, <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 conditio...
/* * OpenDBX - A simple but extensible database abstraction layer * Copyright (C) 2004-2007 <NAME> and others * * Distributed under the terms of the GNU Library General Public Licence * version 2 or (at your option) any later version. */ #include <unistd.h> #include <string.h> #include <stdlib.h> #include <...
/* $OpenBSD: dsrtc.c,v 1.11 2009/11/07 14:49:01 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of ...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not betwe...
//11horas #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> typedef struct _ll{//lista ligada int t, b, d;//terminal, banco, banco de destino char o, e;//operacao, erro float v;//valor struct _ll *n;//proxima celula }ll; typedef struct _s{//estutura de soma int id, qt, au;//numero do banc...
/* mpfr_mul_1 -- internal function to perform a one-limb multiplication This code was extracted by Kremlin from a formal proof in F* done by <NAME> in April-August 2018: do not modify it! Source: https://github.com/project-everest/hacl-star/tree/dev_mpfr/code/mpfr Copyright 2004-2020 Free Software Foundation, I...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2004-2009 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This program...
/* * libfreespace - library for communicating with Freespace devices * * Copyright 2010-15 Hillcrest Laboratories, 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://ww...
#include <stdio.h> #include "platform.h" #include "xparameters.h" #include "xil_exception.h" #include "xstatus.h" #include "util.h" #include "xintc.h" #include "constants.h" #include "sleep.h" //#include "blake2s.h" #include "aes.h" #include "hmac.h" #include "xtmrctr.h" #define change_state(state) c->drm_state = stat...
void Accum(GLenum op, GLfloat value); void AlphaFunc(GLenum func, GLfloat ref); void Begin(GLenum mode); void Bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); void BlendFunc(GLenum sfactor, GLenum dfactor); void CallList(GLuint list); void ...
/* MIT License Copyright (c) <NAME> 2021 miniwin Embedded Window Manager 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...
// // prior_box.c // MetalImage // // Created by <NAME> on 2019/6/25. // Copyright © 2019 fengshi. All rights reserved. // #include "ssd_prior_box.h" #include <stdlib.h> #include <assert.h> #include <math.h> #include "numpy.h" void make_pb_sizes(pb_size *sizes, int *n_ars, pb_ratios *aspect_ratios, bool two_boxes...
/* cpress - C library for simulating keypress. Requirements: - Linux - running uinput (modprobe uinput) - root privileges There are Python and Go bindings for this library. ------------------------------------------------------------------------------- License: MIT (http://www.opensource.org/licenses/mit-license.ph...
#include "rokscope.h" void assert_sr(int ret, const char *string) { if (ret != SR_OK) { fprintf(stderr, "Error %s (%s): %s.\n", string, sr_strerror_name(ret), sr_strerror(ret)); exit(1); } } const char *configkey_tostring(int option) { const char *option_name; switch (option) { case SR_CONF_LOGIC_ANAL...
/* * Copyright (c) 2015, EURECOM (www.eurecom.fr) * 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 ...
/* * 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 <string.h> #include <sys/socket.h> #include <netdb.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_system.h" #include "esp_wifi.h" #include "esp_event_loop.h" #include "esp_log.h" //#include "esp_ota_ops.h" #include "esp_https_ota.h" #include "nv...
#include <grilled_cheese.h> #include <mm/mm.h> #include <net/x540.h> #include <vm/vm.h> #include <vm/svm.h> #include <disp/disp.h> #include <generic/stdlib.h> #include <time/time.h> #include <dstruc/hash_table.h> #include <fuzzers/chrome.h> #include <fuzzers/helpers.h> /* svm_init() * * Summary: * * Initialize the...
/* Copyright (c) 2010-2012, The Linux Foundation. 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 ...
/* * ChromeOS EC communication protocol helper functions * * Copyright (C) 2015 Google, Inc * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This progr...
/* * Copyright (C) 2005, 2012 IBM Corporation * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Maintained by: <<EMAIL>> * * Access to the event log created by a system's firmware / BIOS * * This program is free software; yo...
/* * Device driver for the IIsi-style ADB on some Mac LC and II-class machines * * Based on via-cuda.c and via-macii.c, as well as the original * adb-bus.c, which in turn is somewhat influenced by (but uses no * code from) the NetBSD HWDIRECT ADB code. Original IIsi driver work * was done by <NAME> and integrate...
/* Simple DirectMedia Layer Copyright (C) 1997-2014 <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) 2001-2021 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
// Copyright (c) YugaByte, 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 by applicable law or agreed to in writ...
/* * tegra_hv_comm.c: TTY over Tegra HV * * Copyright (c) 2014-2017 NVIDIA CORPORATION. All rights reserved. * * Very loosely based on altera_jtaguart.c * * 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...
/**************************************************************************** * @file main.c * @version V1.00 * $Revision: 8 $ * $Date: 14/10/06 9:55a $ * @brief Transmit and receive data in UART RS485 mode. * * @note * Copyright (C) 2011 Nuvoton Technology Corp. All rights reserved. * *****...
/* * obc_i2c_int.c * * Copied over from Pegasus Flight Software on: 2019-11-21 */ #include <stdio.h> #include <string.h> #include "chip.h" #include "obc_i2c.h" #include "obc_i2c_rb.h" #include "obc_i2c_int.h" #define DEBUG_MODE 0 // module variables I2C_RB I2C_buffer[3]; // This is(are) a(3) ringbuffer(s...
/* Copyright (c) 2021 <NAME> */ /************************************************************************ SACPOLWH - SAC Test program for polarization attributes defined by Wu & Horiuchi (2008) for S-wave identification (based on SACPOLAR v.2009-09-11) *******************************************...
/* crypto/ripemd/rmd_dgst.c */ /* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME> (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long a...
// ---------------------------------------------------------------------------- // Copyright 2018 ARM 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....
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited */ #include "infra_config.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #ifdef __UBUNTU_SDK_DEMO__ #include <unistd.h> #endif #include "infra_types.h" #include "infra_defs.h" #include "infra_compat.h" #ifdef INFRA_MEM_STAT...
/* * Copyright (c) 2016 Etnaviv Project * * 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...
/* * SHA-256 hash implementation and interface functions * Copyright (c) 2003-2007, <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this s...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2012 <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 option) a...
/* * Project Name: ERMCH1115 * File: ERMCH1115.c * Description: ER_OLEDM1 OLED driven by CH1115 controller source file * Author: <NAME>. * Project URL: https://github.com/gavinlyonsrepo/pic_32_projects */ #include "ER_OLEDM1_CH1115.h" #include "my_utils.h" bool _sleep = true; // False awake/ON , true sleep/OFF uint8...
/** * Copyright 2018 Comcast Cable Communications Management, 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 requir...
// // super.c // // Disk filesystem superblock routines // // Copyright (C) 2002 <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 th...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* * Feature : VPWS QoS mapping from access to network * * Usage : BCM.0> cint vpws_qos_1.c * * config :...
/**CFile**************************************************************** FileNameIn [parseCore.c] PackageName [MVSIS 1.3: Multi-valued logic synthesis system.] Synopsis [Boolean formula parser.] Author [MVSIS Group] Affiliation [UC Berkeley] Date [Ver. 1.0. Started - Febr...
/* $NetBSD: cs4280reg.h,v 1.4 2001/02/07 14:41:11 tacha Exp $ */ /* * Copyright (c) 1999, 2000 <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 m...
/* * A utility program originally written for the Linux OS SCSI subsystem. * * Copyright (C) 2000-2009 <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 2,...
/* * sparcgen.c * <NAME> (2006) * * Sparc V8 backend code generator. Converts code from LIR (low level * intermediate code) to Sparc assembly. The generated code is written to a * file which can then be compiled using gas or gcc. * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "symtable...
#include "nrf_log.h" #include "nrf_delay.h" #include "nrf_gpio.h" #include "app_util_platform.h" #include "hal_oled_ssd1306_128x64.h" #include "platform.h" /* 12864--0.96英寸的OLED屏幕,以SSD1306为驱动IC 在SSD1306中的映射地址是COLUMN0--COLUMN127 ; PAGE0--PAGE7 */ /**************************************** (0,0) ------...
/* Copyright 2018 eomain this program is licensed under the 2-clause BSD license see COPYING for the full license info THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILI...
/* Copyright (c) 2015, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #include <odp_api.h> #include "api/ofp_types.h" #include "api/ofp_pkt_processing.h" #include "ofpi_in.h" #include "ofpi_ip.h" #include "ofpi_udp.h" #include "ofpi_if_vxlan.h" #include "ofpi_if_vlan.h" #include "ofpi...
#include <sys/types.h> #include <string.h> #include <kernel/interrupts.h> #include <kernel/console.h> #include <kernel/kernutil.h> #include <kernel/task.h> #include <kernel/vmm.h> #include <kernel/elf.h> #include <kernel/backtrace.h> /* task.c */ extern bool task_switching; volatile bool in_isr = false; // True if th...
/* * Copyright (C) 2007 The Android Open Source Project * * 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...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1996 - 1999 // // File: dsid.c // //-------------------------------------------------------------------------- #include <NTDSpch.h> #pragma hdrstop #inc...
/* G N O K I I A Linux/Unix toolset and driver for the mobile phones. This file is part of gnokii. Copyright (C) 1999-2000 <NAME> & <NAME>. Copyright (C) 1999-2000 <NAME>, <NAME> Copyright (C) 1999-2006 <NAME> Copyright (C) 2000-2002 <NAME>, <NAME>, <NAME> Copyright (C) 2001 <NAME>, <NAME>...
/* * Copyright (c) 2004 <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...
/******************************************************************************* * lcdr_user.c - Controleur pour LCd HD44780 ( 20x4 ) ******************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <stdint.h> #include <string.h> #inc...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "../port/error.h" #include "devtab.h" #include <libg.h> #include <gnot.h> #include "screen.h" enum { monomaxx= 1152, monomaxy= 900, colmaxx= 2048, colmaxxvis= 1280, colmaxy= 1024, colrepl= 16, ...
/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ * ...
/* Trace file support in GDB. Copyright (C) 1997-2016 Free Software Foundation, Inc. This file is part of GDB. 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...
/* * Copyright (C) 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/gp...
/**************************************************************************************************** * FileName: init.c * Processor: dsPIC33CK * Compiler: XC16 V1.41 * Programmer(s): <NAME> * Description: Source file for Barracuda 4 *******************************************************...
#include <time.h> /* etherfabric/base.h */ typedef int ef_driver_handle; extern int ef_driver_open(ef_driver_handle* dh_out); extern int ef_driver_close(ef_driver_handle); /* etherfabric/ef_vi.h */ typedef uint32_t ef_eventq_ptr; typedef uint64_t ef_addr; typedef c...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <string.h> /* CSL 0.0 */ /* extract and decode DSP from CSL files from Baten Kaitos */ /* This is likely a whole sequence format, but here it looks like we have files which each contain a minimal sequence and a single program ...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or its l...
/* Copyright 2014 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Example main() function for Brotli library. */ #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #...
/* * Amazon FreeRTOS Platform V1.0.0 * 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 restr...
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/* * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file fxls8471_demo.c * @brief The fxls8471_demo.c file implements the ISSDK FXLS8471 sensor * demo example demonstration with interrupt mode. */ ...
/* module to compile and execute a c-style arithmetic expression. * public entry points are compile_expr() and execute_expr(). * * field names are defined to be anything in double quotes when compiling. * the compiler will build a table of names it sees; indexes into this table * are part of the opcode. Field nam...
/** ******************************************************************************* * @file system_TMPM3Hx.c * @brief CMSIS Cortex-M3 Device Peripheral Access Layer Source File for the * TOSHIBA 'TMPM3Hx' Device Series * @version V1.0.7.0 * $Date:: 2017-11-06 #$ * * DO NOT USE THIS SOFTWARE WITH...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
// // Created by liuzikai on 12/7/19. // #include "gui_objs.h" #include "gui_font_data.h" #include "../file_system.h" #include "upng.h" /** * GUI objects: to accelerate rendering of GUI components, each of them is rendered in advance to invisible part of * video memory or a canvas (see below) and rep...
/* * Copyright (c) 1999-2000, Image Power, Inc. and the University of * British Columbia. * Copyright (c) 2001-2002 <NAME>. * All rights reserved. */ /* __START_OF_JASPER_LICENSE__ * * JasPer Software License * * IMAGE POWER JPEG-2000 PUBLIC LICENSE * ************************************ * * GRANT: *...
#include "mltaln.h" #include "mpi.h" #include <errno.h> #define DEBUG 0 #define IODEBUG 0 #define SCOREOUT 0 #define SHISHAGONYU 0 // for debug // from tbfast static int treein; static int treeout; // from pairlocalalign static int stdout_dist; static void arguments( int argc, char *argv[] ) { int c; nthre...
#include <openssl/asn1.h> #include <openssl/evp.h> #include <openssl/x509.h> #include <types.h> #include <string.h> #include <sigil.h> #include "auxiliary.h" #include "config.h" #include "constants.h" #include "cryptography.h" #include "types.h" /** @brief Converts hexadecimal characters to the decimal value. Operate...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_randist.h> #include <errno.h> #include <string.h> #include <time.h> const int SAMPLENUM = 1000; int obsnum; gsl_rng * r; typedef struct { int prey; int predator; } lvstate; typedef struct { double time; double rawdata; } obsdata; void simPrior(lvstate *si...
#include <stdio.h> #include <string.h> #include <windows.h> #include "command_processor_util.h" #include "nxdk_dxt_dll_main.h" #include "xbdm.h" // The dxtmain must do at least two things (assuming it is linked with the // nxdk): // // 1) `#include "nxdk_dxt_dll_main.h"` // This defines the DXTMainCRTStartup funct...
/********************************************************************** * * This file is part of the AWeb-II distribution * * Copyright (C) 2002 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the AWeb Public License as included in this * distribution. *...
/** * Generates a correlation matrix from an ANALYZE75 volume, saving it as a * symmetric MAT file. * * Author: <NAME> <<EMAIL>> */ #include <argp.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include "io/mat.h" #include "io/analyze75.h" #include "util/startup.h" #include "g...
#include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include "assembler.h" #include "common.h" #include "bytecode.h" #define MAX_INT32_VALUE 256 int cpuGetRegisterIndex(const char* name); typedef enum InstructionKind { UNKNOWN, CONSTANT_DEF, LABEL_DEF, BYTECODE_DEF, } Ins...
#define EV_INTERNAL_H typedef enum { Event_App_Owned, Event_Freeable, Event_CM_Owned } event_pkg_contents; typedef struct _event_item { int ref_count; int event_encoded; event_pkg_contents contents; void *encoded_event; int event_len; void *decoded_event; FFSEncodeVector encoded_eventv; ...
/* *++ * scanner.c - Lexeme scanner. * * This module is responsible for scanning an external * input stream (a file or programmed input source) and * breaking the input up into tokens that represent BLISS * lexemes. It is the lowest layer of the lexical processing * subsystem. * * The scanner can be directed...
/* * read disk partition tables, intended for early use on systems * that don't use (the new) 9load. borrowed from old 9load. */ #include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "ureg.h" #include "pool.h" #include "../port/error.h" #include "../por...
/* * Copyright (C) 2002 <NAME> <<EMAIL>> * * This file is part of MPlayer. * * MPlayer 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 v...
/* ## Copyright 2017 <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 law or agree...
#include "mpi.h" #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <math.h> #include <string.h> #include <stdbool.h> #ifdef __APPLE__ #include <cblas.h> #include <libiomp/omp.h> #define set_num_threads(x) openblas_set_num_threads(x) #define get_num_threads() openblas_get_num_threads() #else #includ...
/* * senone.c -- Mixture density weights associated with each tied state. * * ********************************************** * CMU ARPA Speech Project * * Copyright (c) 1996 Carnegie Mellon University. * ALL RIGHTS RESERVED. * ********************************************** * * HISTORY * * $Log: ms_senone....
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com * * 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 requir...
/* command */ /* gcc -Wall -g -o test inotify_example.c && gdb -q -args /tmp/swp ` */ /* TODO */ /* transform file format */ /* to create file to store the info */ /* the file store 500 lines */ #include <stdio.h> #include <assert.h> #include <unistd.h> #include <stdlib.h> #include <errno.h> #include <string.h> #incl...