text
stringlengths
3.08k
10.5k
/* Processed by ecpg (10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #line 1 "routesv.pcg" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h...
/**************************************************************************//** * @file main.c * @version V3.00 * @brief Convert Band-gap (channel 29) and print conversion result. * * SPDX-License-Identifier: Apache-2.0 * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. *****************...
#include <stdio.h> #include "core/chunk.h" #include "core/debug.h" #include "core/object.h" #include "core/value.h" void disassemble_chunk(Chunk *chunk, const char *name) { printf("== %s ==\n", name); for (int offset = 0; offset < chunk->count;) { offset = disassemble_instruction(chunk, offset); } } static int...
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
/* * 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 "Data.h" #include "List.h" #include "Point.h" #include <math.h> #include <stdlib.h> #define NDEBUG #include <assert.h> static const unsigned TOLERANCE = 1000; // diferenta maxima dintre 2 valori // temporale ce nu declanseaza //...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <signal.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> #include "parser.h" int hay_background(tline * tok){ return tok->background != 0; } int es_comando_cd(tline *tok){ return strcmp(to...
// DLL.H [160912] // Definitions and code for linked list of nodes containing strings. // Putting code in a header file is not the preferred method - header files // should only be used to define/describe the interface to a piece of code. // The implementation of that code should be in a separate C source file. But // ...
/* Quaternion implementation of the 'DCM filter' [Mayhony et al]. Incorporates the magnetic distortion compensation algorithms from <NAME> filter which eliminates the need for a reference direction of flux (bx bz) to be predefined and limits the effect of magnetic distortions to yaw axis only. This is...
#include "string.h" #include "stm32f4xx_hal.h" #ifdef FREERTOS #include "FreeRTOS.h" #include "task.h" #include "timers.h" #include "semphr.h" #endif typedef struct { uint16_t pin; uint16_t delay; } pin_toggle_t; pin_toggle_t pin_toggle[4]; void SystemClock_Config(void); void Error_Handler...
/**************************************************************************//** * @file main.c * @version V1.00 * @brief Demonstrate how to use ACMP window latch mode. * * SPDX-License-Identifier: Apache-2.0 * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. *****************************...
/* cmt.c Copyright © 2010 <NAME> This file is part of LWTOOLS. LWTOOLS 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 di...
//--------------------------------------------------------------------------- // NEOPOP : Emulator as in Dreamland // // Copyright (c) 2001-2002 by neopop_uk //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- // Th...
#include <arpa/inet.h> #include <errno.h> #include <netdb.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <time.h> #define MAX_PENDING 5 #define MAX_LINE 4096...
// Copyright (c) 1980, InfoCom Computers and Communications, Cambridge MA 02142 // All rights reserved, commercial usage strictly prohibited. // Written by <NAME>. // Revisions Copyright (c) 2021, <NAME> (<NAME>). #include <string.h> #include <stdarg.h> #include "extern.h" #include "common.h" // Dungeon functions whic...
/* Copyright (C) 2022 ARIES Embedded GmbH 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, distrib...
/* Copyright (c) 2014, <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: * Redistributions of source code must retain the above copyright notice, this lis...
// // tun.c // flee // // Created by Unit.2B on 2017/7/21. // #define __FL_LIB_SOURCE__ #include <flee/internal.h> #include <flee/tun.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <net/if.h> #include <netinet/in.h> #include <sys/ioctl.h> #include...
/* * MIT License * * Copyright (c) 2022 <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, m...
/* * stress1.c * * * -------------------------------------------------------------------------- * * Pthreads4w - POSIX Threads for Windows * Copyright 1998 <NAME> * Copyright 1999-2018, Pthreads4w contributors * * Homepage: https://sourceforge.net/projects/pthreads4w/ * * The curren...
//**********************************************************************; // Copyright (c) 2015-2018, Intel Corporation // 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...
/* See COPYRIGHT for copyright information. */ /* $OpenBSD: isareg.h,v 1.2 1997/11/07 08:07:03 niklas Exp $ */ /* $NetBSD: isareg.h,v 1.5 1995/04/17 12:09:13 cgd Exp $ */ /* * ISA Bus conventions */ /* * Input / Output Port Assignments */ #ifndef IO_ISABEGIN #define IO_ISABEGIN 0x000 /* 0x000 - Beginning of I/...
/* Zmodem.h -- exported constants, variables and functions for zmodem * * Copyright 1990 by Hilgraeve Inc. -- Monroe, MI * All rights reserved * * $Revision: 2 $ * $Date: 8/27/01 9:14a $ */ /* * Z M O D E M . H Manifest constants for ZMODEM * application to application file transfer protocol...
#include <sys/time.h> #include "omp.h" #include <math.h> #include <stdlib.h> #include "stdio.h" #include "compute.h" #define M_SQRT2 1.41421356237309504880 /* Does the reduction step and return if the convergence has setteled */ static inline int fill_report(const struct parameters *p, struct results *r, ...
// 0x07019A98 - 0x07019B18 static const Vtx lll_seg7_vertex_07019A98[] = { {{{ 5, 41, 1024}, 0, { -26, 1000}, {0x0d, 0x7e, 0x00, 0xff}}}, {{{ 384, 0, -1023}, 0, { 1006, -4116}, {0x0d, 0x7e, 0x00, 0xff}}}, {{{ 5, 41, -1023}, 0, { -14, -4108}, {0x0d, 0x7e, 0x00, 0xff}}}, ...
/* 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 ...
/* This file performs the following test: start, read, stop and again functionality - It attempts to use the following three counters. It may use less depending on hardware counter resource limitations. These are counted in the default counting domain and default granularity, depending on the platform. Us...
#define _BSD_SOURCE #include <errno.h> #include <stddef.h> #include <resolv.h> #include <arpa/nameser.h> const struct _ns_flagdata _ns_flagdata[16] = { { 0x8000, 15 }, { 0x7800, 11 }, { 0x0400, 10 }, { 0x0200, 9 }, { 0x0100, 8 }, { 0x0080, 7 }, { 0x0040, 6 }, { 0x0020, 5 }, { 0x0010, 4 }, { 0...
/* * dictionary.c : a simple hashtable that can handle lookup/insert/grow * * */ #include "./dictionary.h" float get_timelag( struct timeval start, struct timeval end) { //printf("%ld, %d\n", start.tv_sec, start.tv_usec); //printf("%ld, %d\n", end.tv_sec, end.tv_usec); return (float)((...
/** * Program to convert number to words and Number letters count. * https://projecteuler.net/problem=17 */ #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include <stdbool.h> #define MAX_LETTERS_LENGTH 100 const char LETTERS[20][10] = { "One", "Two", "Three",...
/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.2.0 * Git version: dcef523 * Options: (none) * Seed: 1049277448 */ #include "csmith.h" static long __undefined; /* --- Struct/Union Declarations --- */ union U0 { volatile int8_t * volatile f0; const uint8_t f1; int8_t * con...
/** * @file pulse/player.c Pulseaudio sound driver - player * * Copyright (C) 2010 - 2016 Creytiv.com */ #include <pulse/pulseaudio.h> #include <pulse/simple.h> #include <pthread.h> #include <re.h> #include <rem.h> #include <baresip.h> #include "pulse.h" struct auplay_st { const struct auplay *ap; /* inher...
/* * 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. * * Copyright (C) 2017 <NAME>, IBM Corporation */ #include "namespaces.h" #include "util.h" #include "event.h" #include <sys...
/*----------------------------------------------------------------------------*/ /* Big Brother bb-hosts file grep'er */ /* */ /* This tool will pick out the hosts from a bb-hosts file that has one of the...
/* * 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...
/****************************************************************************** ** Copyright (c) 2013-2018, <NAME> ** ** All rights reserved. ** ** ** ** Redistrib...
/*c7inadwpmlg2d.c - A 2Q-1Q 2D sequence using C7 with homonuclear decoupling during F1 and F2 using PMLG and windowed PMLG. See: <NAME>.. <NAME>. <NAME>. and <NAME>., <NAME>., (2004) 126,13230-13231. Relative to the reference this sequence replaces ...
// // Created by mondotosz on 08/03/2020. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include "utilities/utilities.h" #include "utilities/logs.h" #include "score.h" //TODO:make it more flexible with format specifier %*s /** * displays scores from score file */ void displayScores() { scoreboa...
/* Copyright (c) 2017 Kaluma * * 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, distri...
/* Author: <NAME> Date of Program completion: 09/28/2019 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> //Function takes two strings and determines which string //is longer and which is shorter. Once computed the function //returns 1 if the first name is greater...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. */ /* * CBFS commands */ #include <common.h> #include <command.h> #include <cbfs.h> static int do_cbfs_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) { uintptr_t end_of_rom = 0xffffffff; ...
/* */ /*- * Copyright 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,...
/* * Copyright (c) 2015-2021 University of Antwerp, Aloxy NV. * * This file is part of Sub-IoT. * See https://github.com/Sub-IoT/Sub-IoT-Stack 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...
/* * MPSC/UART driver for the Marvell mv64360, mv64460, ... * * Author: <NAME> <<EMAIL>> * * 2007 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. ...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, Primary Data, Inc. All rights reserved. * * <NAME> <<EMAIL>> */ #include <linux/dcache.h> #include <linux/exportfs.h> #include <linux/nfs.h> #include <linux/nfs_fs.h> #include "internal.h" #include "nfstrace.h" #define NFSDBG_FACILITY NFSDBG_VFS enum ...
/* * 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 may...
/* * Copyright (C) 2019 Assured Information Security, Inc. * * 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,...
/* * Copyright(c) 2021 <NAME> * Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. * * SPDX-License-Identifier: Apache-2.0 * * 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 Licens...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <errno.h> #include "parse.h" static void disasm_rtype(uint16_t i, uint16_t unused, struct instruction *inst) { (void)unused; inst->type = INST_TYPE_R; inst->inst.r.oper = GET_OPER(i); inst->inst.r.dest = GET_REG_DEST(i); inst->inst.r.left = GET_...
/* * @file list_enumerations_in_exe.c * @date 22 Sep 2019 * @author <NAME> * @brief Program which uses libdw to demonstrate extracting the enumerations from the debug information from an ELF executable. * @todo For simplicity, the return value from all libdw functions is not always checked. */ #include <stdlib.h...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <signal.h> #include <x86intrin.h> #include <unistd.h> #include <string.h> #include <sys/mman.h> #include "common.h" // Defines the bandwidth we can communicate // from speculative -> von neuman // e.g. 256 would be 1 byte of info // Tradeoff here is l...
/* @(#)e_fmod.c 1.3 95/01/18 */ /*- * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided ...
/* tracker --- A simple gps fix smoothing algorithm * Usage --- ./gps * <NAME>, 03-21-2018 * Tested on an EOS Linux System */ #include <stdio.h> #include <math.h> /* Global variable declarations */ #ifndef SECRET_TESTS double M1=-1.0, B1=0; double M2=1.0, B2=0; #else double M1=SECRET_M1, B1=SECRET_B1; double M2=S...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
#include "inc/descompress.h" void descompress(char *toDescompressFile){ // Enter with the file to be descompressed. if (toDescompressFile != NULL) { // check if the file is valid. FILE *toDescompress = NULL; // Creates toDescompress file. FILE *descompress = NULL; // Creates descompress file. toDescompress =...
/* $OpenBSD: ttyio.c,v 1.40 2021/03/20 09:00:49 lum Exp $ */ /* This file is in the public domain. */ /* * POSIX terminal I/O. * * The functions in this file negotiate with the operating system for * keyboard characters, and write characters to the display in a barely * buffered fashion. */ #include <sys/ioctl...
/* * LibGtoint: an analytical GTO integral library for C and Fortran. * * Copyright (c) 2020-2021 <NAME>. 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...
/* * RSD demuxer * Copyright (c) 2013 <NAME> * * 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 * version 2.1 of the License, or (at your option)...
/* * validator/val_kcache.c - validator key shared cache with validated keys * * Copyright (c) 2007, NLnet Labs. All rights reserved. * * This software is open source. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ...
/** Sudoku solver program in C. * This program takes input of lines of * a sudoku puzzle as array input * and provides the possible solution * * ==================================== * * ==================================== */ #include "stdio.h" int InBlock[81], InRow[81], InCol[81]; const int BLA...
/* * MIT License * * Copyright (c) 2016-2017 Kalray * * 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, modi...
// typedef enum { GTK_ENTRY_ICON_PRIMARY, GTK_ENTRY_ICON_SECONDARY } GtkEntryIconPosition; typedef enum { GTK_IMAGE_EMPTY, GTK_IMAGE_ICON_NAME, GTK_IMAGE_GICON, GTK_IMAGE_PAINTABLE } GtkImageType; // struct _GtkEntry { GtkWidget parent_instance; }; struct _GtkEntryClass { GtkWidgetClass parent_cla...
/* * PSP Software Development Kit - https://github.com/pspdev * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * main.c - Dump the Initial Program Loader (IPL). * * Copyright (c) 2005 <NAME> <<EMAIL>> * Copyrigh...
/* * Copyright 2017, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details...
#include <err.h> #include <sodium.h> #include "stdio_helpers.h" enum { CONVERT_PUBLIC_KEY_ED25519_TO_CURVE25519 = 1, CONVERT_SECRET_KEY_ED25519_TO_CURVE25519 = 2 }; void convert_public_key(unsigned char* buf, int pos, int len); void convert_secret_key(unsigned char* buf, int pos, int len); void write_error(unsigned...
#include <assert.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <secp256k1.h> #include <secp256k1_bulletproofs.h> void printn(unsigned char *s, size_t n) { size_t i; for(i=0; i< n; i++) { printf("%02x", s[i]); } printf("\n"); } void print_pubkey(const secp256k1_context...
#include "tile-apinfo.h" #define BLUE RGB(0x5,0x9,0xf) #define TAG "[tile::wifi::apinfo]" static tile_t apinfo_tile; static widget_label_t title_lbl, mac_lbl, channel_lbl, security_lbl, rssi_lbl; static widget_label_t mac_address, channel, security, rssi; static widget_frame_t frame; static wifi_ap_t ap_info; static...
#include <stdlib.h> #include "text.h" #include "../interface.h" void ui_box_draw_method_text (ui_box_t *element, interface_t *interface, region_t clipping_region, region_t element_region) { ui_text_draw ((ui_text_t *) eleme...
/* * Copyright (c) 2012, Texas Instruments Incorporated - http://www.ti.com/ * 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 copy...
/* zip_algorithm_xz.c -- XZ (de)compression routines Bazed on zip_algorithm_deflate.c -- deflate (de)compression routines Copyright (C) 2017-2018 <NAME> and <NAME> This file is part of libzip, a library to manipulate ZIP archives. The authors can be contacted at <<EMAIL>> Redistribution and use in so...
/* The MIT License (MIT) Copyright (c) 2019 Techno Road Inc. 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, mod...
/*- * Copyright (c) 1980, 1992, 1993 * The Regents of the University of California. 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 abov...
#define _DEFAULT_SOURCE #include <arpa/inet.h> #include <ctype.h> #include <ifaddrs.h> #include <netdb.h> #include <linux/if_link.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <strings.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/...
/* * TimerCounter.c * * Created: 2020-12-29 오후 11:57:28 * Author: SON */ #include "TimerCounter.h" volatile uint8_t CNT1_1ms = 0; volatile uint8_t CNT1_10ms = 0; volatile uint8_t CNT1_500ms = 0; volatile uint8_t duty = 10; volatile uint8_t dir = (uint8_t)CW; pAngle_3Dim Accelero_Angle; pAngle_3Dim Gyro_Angle;...
/* Target independent definitions for LynxOS. Copyright (C) 1993, 1994 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC 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 (...
/* Author: <NAME> * Source: https://leetcode.com/problems/minimum-index-sum-of-two-lists/ * * You need to help them find out their common interest with the least list * index sum. If there is a choice tie between answers, output all of them with * no order requirement. You could assume there always exists an answe...
/* * SPDX-License-Identifier: BSD-2-Clause * * Copyright 2016-2020 SUSE LLC * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
/* $OpenBSD: mappedcopy.c,v 1.11 2003/06/02 23:27:48 millert Exp $ */ /* $NetBSD: mappedcopy.c,v 1.1 1997/02/02 06:54:10 thorpej Exp $ */ /* * XXX This doesn't work yet. Soon. --<EMAIL> */ /* * Copyright (c) 1988 University of Utah. * Copyright (c) 1982, 1986, 1990, 1993 * The Regents of the University of Cali...
// SPDX-License-Identifier: GPL-2.0+ /* * ipmi_si_pci.c * * Handling for IPMI devices on the PCI bus. */ #include <linux/module.h> #include <linux/pci.h> #include "ipmi_si.h" #define PFX "ipmi_pci: " static bool pci_registered; static bool si_trypci = true; module_param_named(trypci, si_trypci, bool, 0); MODULE...
/** * \file * * \brief megaAVR STK600 UART interrupt example * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip p...
/* * libEtPan! -- a mail stuff library * * Copyright (C) 2001, 2005 - <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 co...
/** * Copyright (c) 2013-2014 <NAME> * Copyright (c) 2013-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 t...
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id: wadread.c,v 1.3 1997/01/30 19:54:23 b1 Exp $ // // Copyright (C) 1993-1996 by id Software, Inc. // // This source is available for distribution and/or modification // only under the terms...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "../include/InfoFatur.h" /** Módulo responsável pela criação da estrutura que irá ser utilizada para preencher a AVL da Faturação Global.*/ /** Esta struct armazena certas informações adquiridas através da leitura de uma linha de venda válida.Portan...
/** * @file conn.c * @brief connection functions * @author simpart */ /*** include ***/ #include <stdlib.h> #include <string.h> #include "protopia.h" #include "tetraring.h" #include "com.h" #include "conf.h" #include "tcpcon.h" /*** global ***/ extern int g_pkhtcn_conchn; /*** function ***/ int pkhtcn_chkconn ...
/** * \file * * \brief Unit tests for QTouch component driver with I2C interface. * * Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusi...
/* * button.c - window buttons */ /* * Copyright 2006 <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,...
/* * Copyright 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining * 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, distribut...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2019 <NAME> <<EMAIL>> * * 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 ...
/* Author: <NAME> (c) 1997 The following program determines the square roots of a very long integer modulo a composite very long integer n = p * q where p and q are prime. See "Handbook of Applied Cryptography" by <NAME> et al 3.5.1 Section pages 100 - 101, 3.34 Algorithm page 100 and 3.5.2 S...
#include "scan/rce-scan.h" #include "techniques/rce.h" #include "request/request.h" #include "regex/pcre.h" #include "io/utils.h" #include "output.h" #include <string.h> #include <sys/mman.h> void php_input_scan(url_t *url, int pos) { char *rce, *target; xinfo("testing php://input...\n"); target = buildurl(url, s...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #define NMAX 20 /************************************************************/ /****************DICHIARAZIONE DI FUNZIONI*******************/ /*tipo nome_funzione (TIPI DEI VALORI IN IN INPUT);*/ void PrintInitMessage(void); int getN(void); int...
/* cdfnor.f -- translated by f2c (version 20190311). 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 end of...
/* * Copyright (c) 2014 <NAME> <<EMAIL>> */ #include <linux/fs.h> #include <linux/sunrpc/sched.h> #include <linux/nfs.h> #include <linux/nfs3.h> #include <linux/nfs4.h> #include <linux/nfs_xdr.h> #include <linux/nfs_fs.h> #include "nfs4_fs.h" #include "nfs42.h" static int nfs42_set_rw_stateid(nfs4_stateid *dst, stru...
/* SPDX-License-Identifier: BSD-2-Clause */ #include <tilck_gen_headers/config_boot.h> #include <tilck/common/basic_defs.h> #include <tilck/common/fat32_base.h> #include <tilck/common/printk.h> #include <tilck/common/color_defs.h> #include <multiboot.h> #include "basic_term.h" #include "realmode_call.h" #include "m...
/* * Copyright 2012 by <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 the * rights to use, copy, modify, merge, pub...
/** * @file * Various system console commands. * * Derived from ESP8266_RTOS_SDK example * examples/system/console/components/cmd_system/cmd_system.c, which * is licensed as Public Domain. */ #include <stdio.h> #include <string.h> #include <ctype.h> #include "esp_log.h" #include "esp_attr.h" #include "esp_conso...
#include <stdio.h> #include <stdlib.h> #define CL_USE_DEPRECATED_OPENCL_2_0_APIS #define CL_SILENCE_DEPRECATION #ifdef __APPLE__ #include <OpenCL/opencl.h> #else #include <CL/cl.h> #endif // Use a static data size for simplicity #define DATA_SIZE (20*1024*1024) // Simple compute kernel that computes the square of ...
/* OpenCL runtime library: pocl_image_util image utility functions Copyright (c) 2012 <NAME> / Tampere University of Technology 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 with...
/*----------------------------------------------------------------------------* * Copyright Statement: * * * * This software/firmware and related documentation ("MediaTek Software") * ...