text
stringlengths
3.08k
10.5k
#include "TellerHead.h" #include "MainPrg.h" #include "MsgManageHead.h" #include <stdio.h> #include "TimeManageHead.h" const int cTELLERTIMEDOUT = 301; const int cTELLERNONEXTCUSTOMER = 302; const int cTELLERNOMORECUSTOMER = 303; const int cTELLERTAKEMODE = 1; const int cTELLERFINISHMODE = 2; const int cTELLERDIE = 3;...
/*- * Copyright (c) 2010 <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 a...
/* * main.c * * Created on: 11 мая 2021 г. * Author: alexey */ #include <stdlib.h> #include <stdio.h> #include <libgen.h> #include <pthread.h> #include <math.h> #include "sim_avr.h" #include "sim_elf.h" #include "sim_vcd_file.h" #include "avr_ioport.h" #include "avr_adc.h" #include "sim_gdb.h" avr_t *avr =...
/* * Use at your own risk. * * Copyright (C) 2005-2008 Sourcefire, Inc. * * This file is autogenerated via rules2c, by <NAME> <<EMAIL>> !!! XXX DOES *NOT* USE BUILT-IN DETECTION FUNCTION XXX !!! alert ip $EXTERNAL_NET any -> 172.16.17.32/4 any (msg:"DOS Microsoft PGM fragment denial of service attempt"; ip_prot...
/* * Copyright (c) Wipro Technologies Ltd, 2002. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it w...
#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include "builtins.h" #include "lenv.h" #include "lval.h" #include "mpc.h" /* if we are compiling on Windows compile these functions */ #ifdef _WIN32 static char buffer[2048]; /* fake readline function */ char* readline(char* prompt) { fputs(prompt, std...
/* xts.c XEX-based tweaked-codebook mode with ciphertext stealing (XTS) Copyright (C) 2018 Red Hat, Inc. This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the ...
/* * mkbrncmdline.c - partially based on OpenWrt's wndr3700.c * * Copyright (C) 2011 <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. * * This program is di...
/* NOTE - this file only includes CHANGES from jconfig.doc! */ /* Kill any definition of FAR - else we get a warning when it is redefined below. */ #ifdef FAR #undef FAR #endif /* boolean is defined in rpcndr.h, we can't define it the same way here (unsigned char) because a == b is passed as an argument t...
/* * Copyright (C) 2015 <NAME> <<EMAIL>>. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use...
//================================================================= includes #include "../../qbAPI/src/qbmove_communications.h" #include "definitions.h" #include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <unistd.h> #include <signal.h> #if (defined(_WIN32) || defined(_WIN64)...
/* crypto/sm2/sm2_err.c */ /* ==================================================================== * Copyright (c) 2015 The GmSSL 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: * ...
/* * Copyright (c) 2020 <NAME> */ #include <hart_trap.h> #include <csr.h> static void setup_mmode_trap(struct hart * hartptr, uint32_t cause, uint32_t tval) { struct csr_entry * csr_mcause = &((struct csr_entry *)hartptr->csrs_base)[CSR_ADDRESS_MCAUSE]; csr_mcause->csr_blob = cause; struct csr_en...
/* * Copyright 2021 The UAPKI Project Authors. * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * * 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 ab...
/*--- db2flat -- Program to create a flat ASCII line file from * a random-access RIPEM public key database. * The random file is in GDBM format. * * <NAME> 28 July 1992 */ #include <sys/types.h> #include <sys/time.h> #include <sys/socket.h> #include <fcntl.h> #include <sys/file.h> #include <stdio.h> #includ...
#include <libk/string.h> #include <stdint.h> /** * @brief The x86 GDT entry structure */ struct gdt_entry_s { uint16_t limit_low; uint16_t base_low; uint8_t base_middle; uint8_t access; uint8_t granularity; uint8_t base_high; } __attribute__((packed)); typedef struct gdt_entry_s gdt_entry_t; /** *...
/* $OpenBSD: vsmsvar.h,v 1.2 2008/08/22 21:05:07 miod Exp $ */ /* * Copyright (c) 2008 <NAME>. * * 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. * *...
#include "paging.h" #include "paging_asm.h" /* * init_paging * Description: initializes paging by creating and initializing page directory and page table * Inputs: None * Return Value: None * Side effects: */ void init_paging(void) { // initialize page directory to 2 (not present) and page table values to 0 mems...
#include "searchResults.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <unistd.h> //Return the width of the window/terminal int getWindowWidth(){ struct winsize w; ioctl(STDOUT_FILENO, TIOCGWINSZ, &w); return w.ws_col; } //Return the number of digits of the given inte...
/** * \file * * \brief VEML60xx driver file * * Copyright (c) 2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Re...
#pragma bank 5 #include "states/ZeldasAdventure.h" #include "Actor.h" #include "Camera.h" #include "Collision.h" #include "DataManager.h" #include "GameTime.h" #include "Input.h" #include "Trigger.h" #include "data_ptrs.h" void Start_ZeldasAdventure() { camera_offset.x = 0; camera_offset.y = 0; camera_deadzone....
/* * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). * m_jupe.c: Jupes a server. * * Copyright (C) 2002 by the past and present ircd coders, and others. * * 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 ...
/* This file is part of the libtb project. * * BSD 3-Clause License * * 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 m...
/* packet-llt.c * Routines for Veritas Low Latency Transport (LLT) dissection * Copyright 2006, <NAME> (see AUTHORS file) * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the G...
/* to do list: 1. how to paste outside content to vim 2. how to use ctrl+D to select same block 3.* figur out how can execpv execute system command */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/wait.h> #define READ_LINE_BUFSIZE 1024 #define TOKEN_BUF...
/* Copyright 2015 9x6.me. 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 applic...
/* * Copyright (c) 2015 <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, pu...
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferab...
/* Unix SMB/Netbios implementation. Version 3.0 Samba select/poll implementation Copyright (C) <NAME> 1992-1998 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...
/*- * Copyright (c) 2010 <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 a...
// Copyright (c) 2018 emekoi // // This library is free software; you can redistribute it and/or modify it // under the terms of the MIT license. See LICENSE for details. // #include <stdint.h> #include <stddef.h> #define VGA_ADDRESS 0xB8000 typedef int32_t i32; typedef uint8_t u8; typedef uint16_t u16; typedef ...
/* ** $Id: kbd_tty.c 12545 2010-02-20 02:23:12Z wanzheng $ ** ** kbd_tty.c: /dev/tty TTY Keyboard Driver ** ** Copyright (C) 2003 ~ 2006 Feynman Software. ** Copyright (C) 2000 ~ 2002 <NAME> and <NAME>. */ /* ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU Gener...
/***************************************************************************//** * @file main_xgx2.c * @brief This project demonstrates use of the EUART with interrupts. * * After initialization, the MCU goes into EM1 where the receive interrupt * handler buffers incoming data until the reception of 80 characters ...
/******************************************************************************* NAME: <NAME> Z#: Z23146703 COURSE: Intro to C (COP 2200) PROFESSOR: Dr. <NAME> DUE DATE: 16.07.05 DUE TIME: 23:59 TOTAL POINTS: 100 ASSIGNMENT 4: hw4.cpp DESCRIPTION: Homework 4 In this assignment, you are going to turn in a single cpp ...
/* * Copyright (C) 1996-1998 <NAME> * Email: <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 of the License, or * (at your option) any later version. See the f...
#include <glib.h> #include <glib/gstdio.h> #include <glib/gprintf.h> #include <locale.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include "util.h" #include "options.h" static gchar *stdout_path = "NULL"; static gchar *stderr_path = "STDOUT"; static gchar *fif...
#include <avr/io.h> #include <util/delay.h> #include "matrix.h" // debounce time in milliseconds #ifdef DEBOUNCE_ENABLED #define DEBOUNCE_AMOUNT 2 #endif static void init_cols(void); static matrix_row_t read_cols(void); static void select_row(uint8_t row); static void unselect_rows(void); /*...
/* ///////////////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
/* * lws-api-test-lws_smd * * Written in 2020 by <NAME> <<EMAIL>> * * This file is made available under the Creative Commons CC0 1.0 * Universal Public Domain Dedication. * * This api test confirms lws_smd System Message Distribution */ #include <libwebsockets.h> #define HAVE_STRUCT_TIMESPEC #include <pthread...
/* * pcapreader.c * * Test for QPHi module. */ #include <qphi/qp_file.h> #include <qphi/qp_tiny_stack.h> #include <qphi/core/qp_debug.h> #define MAX_SNAPLEN 65535 typedef struct { qp_uint32_t magic; qp_ushort_t ver_major; qp_ushort_t ver_minor; qp_uint32_t tz; qp_uint32_t...
/* Stencil Probe Main function. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "common.h" #include "util.h" #include "cycle.h" #ifdef HAVE_PAPI #include <papi.h> #endif /* run.h has the run parameters */ #include "run.h" void StencilProbe(double* A0, double* Anext, int nx, int ny, int nz, ...
/* ============================================================================ Name : ParkscheinAutomat.c Author : <NAME> Programm : Das Programm soll die funktion eines Parkscheinautmats simulieren */ #include<stdio.h> #include<stdlib.h> #include<string.h> #include<time.h> #include<math.h> str...
// SPDX-License-Identifier: GPL-2.0 #include <linux/pci.h> #include <linux/delay.h> #include "nitrox_dev.h" #include "nitrox_hal.h" #include "nitrox_common.h" #include "nitrox_isr.h" #include "nitrox_mbx.h" /** * num_vfs_valid - validate VF count * @num_vfs: number of VF(s) */ static inline bool num_vfs_valid(int ...
#include "libavutil/avstring.h" #include "avformat.h" #include "ts_source.h" #define CAMERA_MODE 1 #define INPUT_SOURCE_NOLOCK 1 typedef struct TSDemodContext { TS_READER *tsReader; int fd; } TSDemodContext; static int tsdemod_read(URLContext *h, unsigned char *buf, int size) { TSDemodContext *s = h->priv_dat...
#include "helper.h" #include "initLB.h" #include "LBDefinitions.h" /** * Reads the parameters for the lid driven cavity scenario from a config file. * Throws an error if number of program arguments does not equal 2. **/ int readParameters( int *length, /* reads domain size. Parameter nam...
/* * Copyright (c) 2016 <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, pu...
/** * @file pairwise.c * @brief routine for simple pairwise epistasis test with a simple test driver * * @author <NAME> <<EMAIL>> * @date 08/27/2012 */ #include <stdio.h> #include <math.h> #define MATHLIB_STANDALONE #include "Rmath.h" double pairwise_epi_test (int cs[][3], int ct[][3]); int main () {...
#include "types.h" #include "stat.h" #include "user.h" #include "fs.h" #include "fcntl.h" char gusti[100][100]; char gusti2[100][100]; int line=0, i=0, chare=0; int kkk(char satu[100]){ if(strcmp(satu,"january")==0) return 1; else if(strcmp(satu,"february")==0) return 2; else if(strcmp(satu,"march")==0) r...
/* * Copyright (c) 2020 <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, dis...
/* simple.c * Simple watchface * RebbleOS * * Author: <NAME> <<EMAIL>> */ #include "librebble.h" #include "stdio.h" #include "string.h" #include "math.h" // const char *app_name = "Simple"; static void simple_update_proc(Layer *layer, GContext *nGContext); void simple_main(void); void simple_init(void); void s...
/* Copyright 2010-2013 SourceGear, 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 required by applicable law or agreed to in writing, softwar...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2021 microDev * * 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...
#include "dynamic_encoding.h" dyn_ushort dyn_encoding_length(const dyn_c *dyn) { dyn_ushort bytes = 1; // OP-CODE one byte dyn_int i = 0; START: switch (DYN_TYPE(dyn)) { case INTEGER: { i = dyn_get_int(dyn); bytes = (i > -128 && i < 127) ? 2 // char ...
#define MAX_UNKNOWNS 3 int unknown[MAX_UNKNOWNS]; /* skip some of the tests to focus on others? */ #define SKIP_OPERATORS 0 #define SKIP_POINTERS 0 #define SKIP_CONDITIONS 0 /* naming this function "operators" messes up the ROSE unparser... */ void ops(void) { #if !SKIP_OPERATORS int a; int b; a = (unkn...
#include "zmq_interface.h" #include "suo_macros.h" #include <string.h> #include <assert.h> #include <zmq.h> #include <pthread.h> #include <signal.h> // TODO: make these configurable #define PRINT_DIAGNOSTICS #define BITS_MAXLEN 0x900 #define DECODED_MAXLEN 0x200 /* One global ZeroMQ context, initialized only once */ ...
#define _BSD_SOURCE #include <stdio.h> #include <stdlib.h> #include <dirent.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/mman.h> #include "cpqHost/libcpqhost/cpqhost.h" #include "ams_rec.h" #include "recorder.h" #include "data.h" #include "data_access/service.h" ...
/* * ISC License * * Copyright (C) 1984-2018 by * <NAME> * <NAME> * Delft University of Technology * * 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 c...
#include <stdbool.h> #include <stdio.h> #include <SDL_image.h> #define IMG_FILE "ui.png" // 9 slice params #define TOP 24 #define BOTTOM 5 #define LEFT 17 #define RIGHT 17 int render( SDL_Renderer *renderer, SDL_Surface *s, SDL_Texture *t, int x, int y, int top, int bottom, int left, int right, int w, int h, bool...
/*------------------------------------------------------------------ * us5367.c - Unit Tests for User Story 5367 - Server-Side Keygen * via CoAP * * July, 2019 * * Copyright (c) 2019 by cisco Systems, Inc. * All rights reserved. *------------------------------------------------------------------ */ ...
/* 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 ...
/* * entry.c * Copyright (C) 2016 sabertazimi <<EMAIL>> * * Distributed under terms of the MIT license. */ #include <stdlib.h> #include <gdt.h> #include <idt.h> #include <drivers.h> #include <mm.h> #include <process.h> #ifdef KERN_DEBUG #include <spec.h> #endif multiboot_t *glb_mboot_ptr; ///< valid after settin...
/******************************************************* * * Author: <NAME>, <NAME>, <NAME> * * <EMAIL> * <EMAIL> * <EMAIL> * * Revision: 4.1 * Date: 01/12/07 * *******************************************************/ #include <stdio.h> #include <math.h> #include <AR/param.h> #include...
/* * Copyright (c) CERN 2013-2017 * * Copyright (c) Members of the EMI Collaboration. 2010-2013 * See http://www.eu-emi.eu/partners for details on the copyright * holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
/******************************************************************************************* * Copyright (c) 2006-7 Laboratorio di Sistemi di Elaborazione e Bioingegneria Informatica * * Universita' Campus BioMedico - Italy * * ...
/******************************************************************** * BenchIT - Performance Measurement for Scientific Applications * Contact: <EMAIL> * * $Id: randomaccess_init.c 1 2009-09-11 12:26:19Z william $ * $URL: svn+ssh://william@rup<EMAIL>.tu-dresden.de/svn-base/benchit-root/BenchITv6/kernel/memory/ran...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "optCodeData.h" #include "utils.h" /* define reserved words*/ char *reservedWords[NUM_OF_RESERVED_WORDS] = { ".extern", ".entry", ".data", ".string", "mov", "cmp", "add", "sub", "not", "clr", "lea", "inc", "dec", "jmp", ...
#include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <time.h> #define OPTPARSE_IMPLEMENTATION #include "lib/optparse.h" #include "lib/pdfgen.h" // page width is dervied from the height based on the aspect ratio #define PAGE_HEIGHT 540 #define FONT_SIZE 72 struct slide { bool monospace; int align; ...
/* ** Copyright 1994, Silicon Graphics, Inc. ** All Rights Reserved. ** ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.; ** the contents of this file may not be disclosed to third parties, copied or ** duplicated in any form, in whole or in part, without the prior written ** permission ...
/** * Ajastin * Copyright (C) <NAME>, 2016 * * 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,...
#include "util.h" #ifdef HAVE_WINDOWS_H void DisplayError(char *pszAPI) { LPVOID lpvMessageBuffer; CHAR szPrintBuffer[512]; FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LP...
/* @brief Lua interpreter for self-running programs @date 23.11.2021 @copyright Copyright 2019 <NAME> Copyright 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
/* * segmentFile.c * * Created on: Jul 7, 2009 * Author: sears */ #include <stasis/transactional.h> #include <stasis/bufferManager.h> #include <string.h> static inline off_t stasis_offset_from_page(pageid_t pid, int pageoffset) { return (pid * PAGE_SIZE) + pageoffset; } static inline pageid_t stasis_page...
/* * Copyright (c) 1991 <NAME> * * Disclaimer: No guarantees of performance accompany this software, * nor is any responsibility assumed on the part of the authors. All the * software has been tested extensively and every effort has been made to * insure its reliability. */ /* * disphist - display histogram ...
/* Example code for Exercises in C. This program shows a way to represent a BigInt type (arbitrary length integers) using C strings, with numbers represented as a string of decimal digits in reverse order. Follow these steps to get this program working: 1) Read through the whole program so you understand the design....
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee a...
/* * FreeRTOS V202107.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including ...
#include "sched.h" #include <helpers.h> #include <isr.h> #include <kheap.h> #include <logger.h> /* The pointer to current process/task */ volatile task_t *g_currentTask; /* Pointer to queue of processess/tasks that are ready to be scheduled */ volatile task_t *g_readyQueue; /* Placeholder to store original stack point...
/** * @file app_main.c * * @brief Communicates with TTTW labkit accelerometer over I2C protocol. Writes * results to log output. * * MMA8653FC datasheet * https://www.nxp.com/docs/en/data-sheet/MMA8653FC.pdf * * MMA8653FC application note * https://www.nxp.com/docs/en/application-note/AN4083.pdf...
/*------------------------------------------------------------------------- * * win32setlocale.c * Wrapper to work around bugs in Windows setlocale() implementation * * Copyright (c) 2011-2014, PostgreSQL Global Development Group * * IDENTIFICATION * src/port/win32setlocale.c * * * The setlocale() functio...
// RUN: %clang_cc1 "-triple" "x86_64-apple-ios13.1-macabi" -fsyntax-only -verify %s // RUN: %clang_cc1 "-triple" "x86_64-apple-ios13.1-macabi" -fapplication-extension -D APPEXT -fsyntax-only -verify %s #ifdef APPEXT #define maccatalyst maccatalyst_app_extension #define macCatalyst maccatalyst_app_extension #define io...
/*****************************************************************************\ ** ** ** FILE: mklib.c ** ** AUTHORS: Alexios ** **...
/** ****************************************************************************** * @file fatfs.c * @brief Code for fatfs applications * ****************************************************************************** */ #include <stdio.h> #include <errno.h> #include <string.h> #include <malloc.h> #include "fa...
/****************************************************************************** * * Copyright (C) 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: * * * Redistrib...
/*---------------------------------------------------------------------------- * File: ooaofooa_TE_SELECT_WHERE_class.c * * Class: OAL select_where (TE_SELECT_WHERE) * Component: ooaofooa * * your copyright statement can go here (from te_copyright.body) *-----------------------------------------...
/* Glidix Shell Utilities Copyright (c) 2014-2017, <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 ...
#include <inttypes.h> #include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "bench.h" #include "events.h" #include "kvldskey.h" #include "mkpair.h" #include "parsenum.h" #include "proto_kvlds.h" #include "sock.h" #include "warnp.h" #include "wire.h" #define BENCHM...
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // CRYPTO library project. Version 2.1 // // module: sign.c // $Revision: 34 $ // $Date: 2013-03-12 16:00:51 +0300 (Вт, 12 мар 2013) $ // description: // Cryptographic services provider library. // D...
/* * The MIT License (MIT) * * Copyright (c) 2007 <NAME>. * Copyright (c) 2016 <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 withou...
#include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include <sys/wait.h> #include <stdlib.h> #include <assert.h> #include <errno.h> #include <string.h> #include <signal.h> struct Apps { char name[80]; char cmd[300]; } apps[] = { {"Pax -r & rm", "pax -rf lcc-3.6.pax ; rm...
/* SPDX-License-Identifier: BSD-2-Clause */ /******************************************************************************* * Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG * All rights reserved. *******************************************************************************/ #ifdef HAVE...
/* * testrunner.c * * Created on: Jun 18, 2013 * Author: petera */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <dirent.h> #include <unistd.h> #include "testrunner.h" static struct { test *tests; test *_last_test;...
#include "internal.h" #include <stdlib.h> #include <string.h> void* rc_alloc_scratch(void* pointer, int* offset, int size, int alignment, rc_scratch_t* scratch, int scratch_object_pointer_offset) { rc_scratch_buffer_t* buffer; /* if we have a real buffer, then allocate the data there */ if (pointer) return...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2006-2010 Nokia Corporation * Copyright (C) 2004-2010 <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 Softwa...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2020 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; This program is free software; you can redistribute it and/or */ /*; modify it u...
#include <stdio.h> #include <math.h> #include <GL/glut.h> #include "common.h" #define PI 3.14159265 #define WD 64 #define HT 64 #define THR 25 /***********************************************::: LOW pass & HIGH pass :::***********************************************/ typedef unsigned char uchar; uchar *im, *resu...
/* * Copyright (c) 2019 Intel Corporation. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, ...
/* lab1-server.c * <NAME> * CS 407 */ #include <sys/types.h> #include <sys/socket.h> #include <stdio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #define SECRET "cs407rembash\n" #define PORT 4070 #define INPUT_SIZE 4096 int error...
#include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> /* See NOTES */ #include "log.h" #include "msg.h" #include "utils.h" /** * @brief 把用户输入的字符串转为FTP_CMD * * @param buf * * @return */ enum FTP_CMD get_cmd(char *buf, struct Msg *msg) { ...
/******************************************************************************* * Copyright (c) 2013-2017, <NAME> <<EMAIL> * * All rights reserved. * * * * This file is a ...
/* cipher.c - En-/De-ciphering filter * Copyright (C) 1998, 1999, 2000, 2001, 2003, * 2006, 2009 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by *...