text
stringlengths
3.12k
18.7k
/*************************************************************************** Atari Escape hardware ****************************************************************************/ #include "driver.h" #include "machine/atarigen.h" #include "eprom.h" #include "thunderj.h" /************************************* * ...
/* * Copyright 2011-2018 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...
// SPDX-License-Identifier: GPL-2.0+ /* * rcar_du_group.c -- R-Car Display Unit Channels Pair * * Copyright (C) 2013-2015 Renesas Electronics Corporation * * Contact: <NAME> (<EMAIL>) */ /* * The R8A7779 DU is split in per-CRTC resources (scan-out engine, blending * unit, timings generator, ...) and device-g...
/* LUFA Library Copyright (C) <NAME>, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2014 <NAME> (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is her...
/* $OpenBSD: lock.c,v 1.33 2016/05/28 16:11:10 tedu Exp $ */ /* $NetBSD: lock.c,v 1.8 1996/05/07 18:32:31 jtc Exp $ */ /* * Copyright (c) 1980, 1987, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME>. * * Redistri...
/* * OpenBOR - http://www.LavaLit.com * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in OpenBOR root for details. * * Copyright (c) 2004 - 2011 OpenBOR Team */ #include "Instruction.h" #include <stdlib.h> #include <string.h> void Instructi...
#include "hmac_then_enc.h" #include <stdlib.h> #include <string.h> //@ #include "quantifiers.gh" #define SERVER_PORT 121212 void sender(char *enc_key, char *hmac_key, char *msg, unsigned int msg_len) /*@ requires [_]public_invar(hmac_then_enc_pub) &*& principal(?sender, _) &*& [?f1]cryptog...
/* -------------------------------------------------------------------------- * * This program is a next-event simulation of a queueing network. Topology * * of the network is described by the transition-matrix P, queues have * * infinite capacity and a FIFO scheduling discipline. Different interarrival *...
/* * bxCAN driver for STM32 family processors * * 2010 <NAME> * */ #include "platform.h" #include "stm32f10x.h" #include <string.h> #include "can.h" // TODO: add others //"1M" "800K" "500K" "250K" "125K" "100K" "50K" "20K" "10K" #define TIMINGS_NUM (sizeof(CAN_Timings)/sizeof(struct can_timing_t)) static const s...
/* This file is part of NetGuard. NetGuard 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. NetGuard is distributed ...
#include <stdio.h> #include <string.h> #include "common.h" #include "../mqrspec.h" unsigned char v4frame[] = { 0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc0,0x91,0x90,0x91,0x90,0x91,0x90,0x91,0x90,0x91, 0xc1,0xc0,0xc0,0xc0,0xc0,0xc0,0xc1,0xc0,0x84,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xc1,0xc0,0xc1,0xc1,0xc1,...
/** * @file test_mpin_random.c * @author <NAME> * @brief Test good token and correct PIN with D-TA * * LICENSE * * 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 copyr...
/* * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. * * Copyright (c) 1995 <NAME>. All rights reserved. * * This file includes significant work done at Cornell University by * <NAME>. That work included by permission. * * Redistribution and use in source and bin...
/* * pythonmod.c: unbound module C wrapper * * Copyright (c) 2009, <NAME> (vasicek AT fit.vutbr.cz) * <NAME> (xvavru00 AT stud.fit.vutbr.cz) * * This software is open source. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
/* Copyright (c) 2011, Ascending Technologies GmbH 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 con...
/*********************************************************************** MODULE : CMNDLG.C FUNCTIONS : COMMENTS : ************************************************************************/ #include "windows.h" #include "mfdcod32.h" /********************************************************...
/* Copyright (C) 1997-2001 Id Software, 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; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
#include "crypto_core_invsntrup1277.h" #include "params.h" #include <immintrin.h> #define int8 int8_t #define int16 int16_t #define int32 int32_t #define uint16 uint16_t #define uint32 uint32_t #define uint64 uint64_t /* ----- masks */ /* return -1 if x!=0; else return 0 */ static int int16_nonzero_mask(int16 x) {...
/* cpu.h --- declarations for the RX core. Copyright (C) 2005-2015 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of the GNU simulators. 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 So...
#include "connect.h" #include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define DEFAULT_REPLICATION_SLOT "bottledwater" #define APP_NAME "bottledwater" /* The name of the logical decoding output plugin with which the replication * slot is created. This must match the name of the Postgres...
/**************************************************************************** * @file main.c * @version V3.0 * $Revision: 3 $ * $Date: 17/05/04 1:15p $ * @brief Perform A/D Conversion with ADC single cycle scan mode. * @note * Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. * ...
/** * * Sudoku Solution Validator * Autor: <NAME> * Copyright 2020 - <NAME> * Note: The program annotations are in Spanish Language */ /*Libraries*/ #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> int sudoku[9][9] = { {6, 2, 4, 5, 3, 9, 1, 8, 7}, {5, 1, 9, 7, 2, ...
#define thisprog "xe-progdep" #define TITLE_STRING thisprog" v 5: 26.January.2018 [JRH]" #define MAXLINELEN 1000 #include <stdio.h> #include <stdlib.h> #include <string.h> /* <TAGS>programming</TAGS> v 5: 26.January.2018 [JRH] - tweak to linecomment function v 5: 21.May.2016 [JRH] - switch to new l...
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/sigio.c,v 1.20 2005/10/14 15:17:07 tsi Exp $ */ /* sigio.c -- Support for SIGIO handler installation and removal * Created: Thu Jun 3 15:39:18 1999 by <EMAIL> * * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. * All Rights Reserved. * * P...
/*- * Copyright (c) 2001 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of co...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is * located at * * http://aws.amazon.com/apache2.0/ * * or in the "licen...
/* * Copyright (c) 2007-2008, Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above cop...
/**************************************************************************//** * @file main.c * @version V3.00 * $Revision: 2 $ * $Date: 16/10/25 4:27p $ * @brief Implement timer counting in periodic mode. * @note * Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. **************...
/* Copyright (C) 2010-2020 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (net_socket.c). * --------------------------------------------------------------------------------------- * * Permi...
// SPDX-License-Identifier: GPL-2.0 /* * linux/mm/page_io.c * * Copyright (C) 1991, 1992, 1993, 1994 <NAME> * * Swap reorganised 29.12.95, * Asynchronous swapping added 30.12.95. <NAME> * Removed race in async swapping. 14.4.1996. <NAME> * Add swap of shared pages through the page cache. 20.2.1998. <NAM...
/*-------------------------------------------------------------------------- File : system_LPC17xx.c Author : <NAME> Jan. 23, 2012 Desc : Implementation of CMSIS Cortex-M3 Device for LPC17xx Device Series Added SystemSetCoreClock for on the fly clock setting Copyright (c) 2012, I-SYST inc., all right...
/* ----------------------------------------------------------------------- * * * Copyright 1996-2009 The NASM Authors - All Rights Reserved * See the file AUTHORS included with the NASM distribution for * the specific copyright holders. * * Redistribution and use in source and binary forms, with or wit...
// Copyright (c) 2014, 2015 <NAME> // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, di...
/* $NetBSD: cpu.c,v 1.25 2001/12/05 05:02:11 chs Exp $ */ /*- * Copyright (c) 2001 <NAME>. * Copyright (c) 1998, 1999, 2001 Internet Research Institute, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
#include <stdint.h> #include <stddef.h> #include <assert.h> #include <stdlib.h> #include <stdio.h> #ifndef BAREMETAL #include <sys/mman.h> #endif #include "include/gemmini_testutils.h" #ifndef BAREMETAL #define BATCH_SIZE 4 #define IN_DIM 224 #define IN_CHANNELS 3 #define OUT_CHANNELS 17 #define KERNEL_DIM 3 #define ...
#ifndef DDEBUG #define DDEBUG 0 #endif #include "ddebug.h" #include <ndk.h> #include "ngx_http_set_base32.h" #include "ngx_http_set_misc_module.h" #define base32_encoded_length(len) ((((len)+4)/5)*8) #define base32_decoded_length(len) ((((len)+7)/8)*5) static void encode_base32(size_t slen, u_char *src, size_t *...
/* Unix SMB/CIFS implementation. Name mapping code Copyright (C) <NAME> 1998 Copyright (C) <NAME> 2002 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 th...
/* nstm_test.c - test program for nstm.c # For documentation, see https://github.com/fordsfords/nstm # # This code and its documentation is Copyright 2002-2021 <NAME> # and licensed "public domain" style under Creative Commons "CC0": # http://creativecommons.org/publicdomain/zero/1.0/ # To the extent possible under l...
/* * Copyright (c) 2002 <NAME> <<EMAIL>> * 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 Lice...
/* ********************************************************************* * Broadcom Common Firmware Environment (CFE) * * Test commands for c3 board File: c3_tests.c * * * Author: <NAME> (<EMAIL>) * *********************************************************************...
/* Copyright (c) 2014, 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 list of c...
/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/loader.h,v 1.28 2003/11/06 18:38:14 tsi Exp $ */ /* * * Copyright 1995-1998 by Metro Link, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the abo...
/*- * Copyright (c) 2002, 2003 <NAME>, <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 o...
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (C) 2008-2013 by <NAME> * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without * fee is hereby granted, provided that the above copyright * notice appear in all copies and th...
/* table.c - bookkeeping functions for allocated memory */ /* Copyright (C) 2001-2003 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the...
/* $OpenBSD: devopen.c,v 1.3 2002/06/11 09:36:23 hugh Exp $ */ /* $NetBSD: devopen.c,v 1.10 2002/05/24 21:40:59 ragge Exp $ */ /* * Copyright (c) 1997 Ludd, University of Lule}, Sweden. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
#include <stdio.h> #include <stdlib.h> #include <string.h> /* Struct que descreve o cabecalho do arquivo BMP */ typedef struct cabecalho{ char inicial1; char inicial2; unsigned int tamanho_arquivo; unsigned int reservado; unsigned int deslocamento; unsigned int tamanho_segundo_cabecalho; u...
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) #pragma warning (disable : 4100) #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "teamspeak/public_errors.h" #include "teamspeak/public_definitions.h" #include "ts3_functions.h" #include "plugin.h" static struct...
/* * SPDX-License-Identifier: MIT * * Copyright (C) 2019 <NAME> <<EMAIL>> */ #include <stdarg.h> #include <stdbool.h> #include <sys/types.h> #include <sys/ioctl.h> #include <time.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <evl/...
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
/* * main.c * * Copyright (c) 1996-1999 Whistle Communications, Inc. * All rights reserved. * * Subject to the following obligations and disclaimer of warranty, use and * redistribution of this software, in source or object code forms, with or * without modifications are expressly permitted by Whistle Communic...
//***************************************************************************** // // exit.c // // exits are structures that keep information about the links between rooms. // //***************************************************************************** #include "mud.h" #include "utils.h" #include "storage.h" #inclu...
#pragma once struct def_exprs; struct expr; struct lit_expr; struct lookup_expr; struct bin_expr; struct unit_expr; struct call_args; struct call_expr; struct let_assigns; struct let_expr; struct def_params; struct def_expr; struct if_expr; struct for_handles; struct for_expr; struct list_expr; struct def_exprs { s...
/****************************************************************************** * Copyright (c) 2004, 2008 IBM Corporation * All rights reserved. * This program and the accompanying materials * are made available under the terms of the BSD License * which accompanies this distribution, and is available at * http:...
/* * cbm2ui.c - Implementation of the CBM-II specific part of the UI. * * Written by * <NAME> <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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...
/********************************************************************* * * (C) Copyright Broadcom Corporation 2013-2017 * * 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 * * htt...
/* Copyright (C) 2003,2004 <NAME>, SuSE Labs. libnuma 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; version 2.1. libnuma is distributed in the hope that it will be useful, but WITHOUT ...
/* 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 OAI Publi...
/* * Copyright (c) 2009 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
/*********************************************************************************** Copyright (c) Nordic Semiconductor ASA 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...
/* * Unit SGP_Time * Author: Dr <NAME> * Original Version: 1992 Jun 02 * Current Revision: 2000 Jan 22 * Modified for Y2K: 1999 Mar 07 * Version: 2.05 * Copyright: 1992-1999, All Rights Reserved * Version 1.50 added Y2K support. Due to limitations in the current * format of the NORA...
/* * This file is part of <NAME>per password cracker. * * Some Jumbo-specific tweaks go here. This file must not introduce further * dependenices within the Jumbo tree. Use misc.[ho] for such things (the * latter depends on memory.o, logger.o and so on). * * This file is Copyright (c) 2013-2014 magnum, Lukasz an...
#include "rtv1.h" #define CL_SILENCE_DEPRECATION 100 int print_error(t_gpu *gpu) { size_t len; char *buffer; if (gpu->err != CL_SUCCESS) { buffer = ft_strnew(99999); clGetProgramBuildInfo(gpu->program, gpu->device_id, CL_PROGRAM_BUILD_LOG, 100000, buffer, &len); printf("%s\n", buffer); ft_strdel(&buff...
/* * Copyright (c) 2019 <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, distribut...
#include <stdio.h> #include <string.h> #include <stdint.h> #include "mbedtls/dhm.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/platform.h" #define assert_exit(cond, ret) \ do { if (!(cond)) { \ printf(" !. assert: failed [line: %d, error: -0x%04X]\n", __LINE__, -ret); \ ...
/* GStreamer * Copyright (C) 2013 <NAME> <<EMAIL>> * * 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) any later version. * *...
#include <cairo.h> #include <cairo-ft.h> #include <ft2build.h> #include FT_FREETYPE_H #include <stdio.h> #include <stdbool.h> #include "parson.h" FT_Library ft_lib; void lcd_draw_text(cairo_t *ctx, float x, float y, float w, float h, bool center, bool invert, const char *str) { cairo_text_extents_t extents; ca...
/* c176.h version $Date$ <NAME> <NAME> Public domain. */ #define VEC4_ROT(a,imm) _mm_or_si128(_mm_slli_epi32(a,imm),_mm_srli_epi32(a,(32-imm))) /* same, but replace 2 of the shift/shift/or "rotation" by byte shuffles (8 & 16) (better) */ #define VEC4_QUARTERROUND_SHUFFLE(a,b,c,d) \ x...
#include <stdio.h> #include <stdlib.h> #include <inttypes.h> #include <string.h> #include <math.h> //for round() #include <time.h> #include <sys/stat.h> #include <dirent.h> #include <errno.h> #include "orka-utils.h" #include "json-scanf.h" #include "json-actor.h" char* orka_load_whole_file(const char filename[], siz...
//----------------------------------------------------------------------------- // // ImageLib Sources // Copyright (C) 2000-2002 by <NAME> // Last modified: 05/25/2001 <--Y2K Compliant! =] // // Filename: src-IL/src/il_internal.c // // Description: Internal stuff for DevIL // //------------------------------...
// ----------------------------------------------------------------------------- // Copyright (c) 2020, PyInstaller Development Team. // // Distributed under the terms of the GNU General Public License (version 2 // or later) with exception for distributing the bootloader. // // The full license is in the file COPYING....
/* * Copyright 1996-2021 Cyberbotics 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 applicable law or ...
/******************************************************** * * * Implementation of DUKPT PIN Block Encryption * * based on ANSI_X9.24-1-2009 * * * * Receiver (server) Side ...
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <memory.h> #include "../inc/spr_tools.h" #include "../inc/tools.h" static int getMaxNumTileAnimation(animation_* animation); static int getMaxNumSpriteAnimation(animation_* animation); frameSprite_* getFlippedFrameSprite(frameSprite_* ...
/* * Copyright (c) 2012-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 of condition...
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id:$ // // Copyright (C) 1993-1996 by id Software, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as...
/* ===================================================================== $Revision: 290 $ $Date: 2007-03-04 22:01:54 -0800 (Sun, 04 Mar 2007) $ Matlab MEX interface to iohb.c. 25 Aug 05: Original version. <NAME> <EMAIL> University of British Columbia ==============...
/* 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...
#include "driver.h" #include "window.h" #include "input.h" int ipinmame_get_keycode_status(int keycode); static struct KeyboardInfo keylist[] = { { "ESC", KEY_ESC, KEYCODE_ESC }, { "F1", KEY_F1, KEYCODE_F1 }, { "F2", KEY_F2, KEYCODE_F2 }, { "F3", KEY_...
/* include the enumerator header. */ #include "enum.h" #include "enum-thread.h" #include "enum-prune.h" /* enum_prune_taf_t: structure for holding information required for * torsion angle feasibility pruning closures. */ typedef struct { /* @ntest, @nprune: test and prune counts of the current closure. * @n: a...
//**********************************************************************; // Copyright (c) 2015, 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 of s...
/* * Copyright © 2012-2015 VMware, 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 applic...
/* Copyright (c) 1994-1996 <NAME>, see README for licence details */ /* Many changes by <NAME>. */ /* Less changes by <NAME> <<EMAIL>> */ #define VERSION "larswm 7.5.3 [15-JUL-2004] by <NAME> <<EMAIL>>" #define BORDER 2 #define TILE_PAD 2 #define L_OFF_R 32768 #define L_OFF_G 32768 #define L_OFF_B 32768 #define L...
/* include/ap_config_auto.h.in. Generated from configure.in by autoheader. */ /* SuExec root directory */ #undef AP_DOC_ROOT /* Enable DTrace probes */ #undef AP_ENABLE_DTRACE /* Allow modules to run hook after a fatal exception */ #undef AP_ENABLE_EXCEPTION_HOOK /* Allow IPv4 connections on IPv6 listening socket...
#include <wiringPi.h> #include <stdio.h> #include <softPwm.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include "stack.h" #include "motor_control.h" #include "IR.h" #include <pthread.h> int LEFT = 1; int STRAIGHT = 2; int RIGHT = 3; int N_LEFT = (-1); int N_STRAIGHT = (-2); int N_RIGHT = (-3); in...
#include "diana_ultimate_patcher.h" #include "diana_ultimate_patcher_impl.h" typedef struct _dianaHook_DianaCommandInfo32 { DI_UINT32 newCommandSize; }DianaHook_DianaCommandInfo32; static unsigned char g_stubData[] = { 0x60, // pushad 0x9C, //...
#include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> #include <limits.h> #include "solver_sd.h" #include "solver_io.h" // allocate sudoku board on heap sudoku_t *alloc_sudoku(const sz_t n) { sudoku_t *s = malloc(sizeof(sudoku_t)); assert(s != NULL); s->n = n; s->n_e2 = n*n; s->n_e4...
/********************************************************************************************/ /********************************************************************************************/ #include "sys_types.h" #include "sys_define.h" #include "mtos_printk.h" #include "epg_util.h" epg_type_t epg_type [] = { {0x0...
/* * Copyright (c) 2020 <NAME>, Inc. * All rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <argp.h> #include "inih-r48/ini.h" #include "debug.h" #include "config.h" #include "fail.h" #define EC_VERSION "%VERSION%" const char *argp_program_version = EC_VERSION; const char *...
#include "smk_ble.h" #include "conn.h" #include "smk_ble_hog_service.h" #include "dis.h" #include "smk_ble_profile.h" #include "log.h" static uint8_t isRegister = 0; struct bt_conn *default_conn = NULL; static struct bt_conn *auth_passkey_entry_conn; static uint8_t passkey_entries[6] = {0, 0, 0, 0, 0, 0}; static uint...
/* * Licensed to Systerel under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Systerel licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except ...
/* * qemu user cpu loop * * Copyright (c) 2003-2008 <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 versio...
#include<stdio.h> #include<conio.h> #include<windows.h> struct Date{ int dd; int mm; int yy; }; struct Date date; struct Remainder{ int dd; int mm; char note[50]; }; struct Remainder R; COORD xy = {0, 0}; void gotoxy (int x, int y) { xy.X = x; xy.Y = y; // X and...
/* * Copyright (C) 2016 Institute of Applied and Experimental Physics (http://www.utef.cvut.cz/) * * This program 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 3 of the License, o...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2006 The University of Tennessee and The University * of Tennessee Resea...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018 Intel Corporation */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <rte_latencystats.h> #include "rte_lcore.h" #include "rte_metrics.h" #include "sample_packet_forward.h" #include "test.h" #define NUM_STATS 4 #define LATENCY_NUM_PA...
/* gpFakeData - Generate fake data for genotype/phenotype work.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "dystring.h" #include "portable.h" #include "sqlNum.h" static char const rcsid[] = "$Id: gpFakeData.c,v 1.1 2006/05/02 03:17:39 kent Exp $"; int subjects = 1000...
/* * Copyright (c) 2020 IBM Corporation. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "mpirshim.h" #include "mpirshim_config.h" #include <stdio.h> #include <stdlib.h> #pragma push_macro("_GNU_SOURCE") #undef _GNU_SOURCE #define _GNU_SOURCE #include <libg...
/** ****************************************************************************** * @file UART/UART_TwoBoards_ComPolling/Src/main.c * @author MCD Application Team * @brief This sample code shows how to use STM32F4xx UART HAL API to transmit * and receive a data buffer with a communicati...