text
stringlengths
7.55k
41.9k
/* * * Use a struct to define a card as an enumerated member that is its suit value and a short * that is its pips value. * * Write a function that randomly shuffles the deck. * * Then deal out 7 card hands and evaluate the probability that a hand has no pair, one pair, * two pair, three of a kind, full house a...
#include <assert.h> #include <math.h> #include <string.h> #include "rng.h" /****************************************************************************** * Mersenne Twister pseudo-random number generator ******************************************************************************/ /* Note that we're assuming he...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* dparck.f -- translated by f2c (version 20090411). You must link the res...
/* * Copyright © 2015-2017 Broadcom * * 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...
/* * File: main.c * Author: Rigna * * Created on 15 maggio 2020, 16.07 * Project Work TODO: Gestione sensori,controlli (integrare funzioni e migliorare il codice) */ /* *PRIMO BYTE 1: SENSORE BYTE1.bit0=0; ATTUATORE BYTE1.bit0=1; *ID SENSORI: Temperatura: 0x02 Umidità: 0x04 Pressione: 0x06 Traffico (INVIO): ...
/***********************************************************************/ /* */ /* svm_struct_api.c */ /* */ /* Definition of A...
/************************************************* * Perl-Compatible Regular Expressions * *************************************************/ /* PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. ...
/* * Author : <NAME> * * Copyright 2008-2015 GeoLabs SARL. 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...
/* * Copyright (C) 2009-2011 Internet Systems Consortium, Inc. ("ISC") * * 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 copies. * * THE SOFTWARE IS PRO...
/* * IKEv2 common routines for initiator and responder * Copyright (c) 2007, <NAME> <<EMAIL>> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/crypto.h" #include "crypto/md5.h" #include "crypto/s...
/* * vicii.c - A cycle-exact event-driven MOS6569 (VIC-II) emulation. * * Written by * <NAME> <<EMAIL>> * <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 unde...
/* A.A. 2019-20 <NAME> 0124002062 Esercizio 1 - Tennis Traccia: Si vuole sviluppare un programma per la simulazione del gioco del tennis. Supponiamo di avere un giocatore che gioca contro un simulatore. Il simulatore lancia la palla che deve essere respinta dal giocator...
#define NFLOATS 5 #define NDOUBLES 5 #define NINTS 5 #include <time.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include <float.h> #include <string.h> #include "tmcoct.h" /*************************************************** ** Center a string according to column width (80) ***********...
/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */ /* * Copyright © 2011 Texas Instruments, 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 rest...
/* * Copyright 1990 Network Computing Devices * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that the above copyright notice appear in all copies and that both that * copyright notice and this permission not...
/* * ipmi_bt_sm.c * * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part * of the driver architecture at http://sourceforge.net/project/openipmi * * Author: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Genera...
/* buffers.h -- Version 1.11 */ /* The following abbreviations are used at start of parameter names * to indicate the type of data: * s string (char * or WCHAR *) [PV] * sw wide string (WCHAR *) [PV] * p pointer (usually to some structure) [PV] * a array (packed array as in C) (usually of some structure) [PV] * ...
/* This file is part of HipSim. HipSim (c) 2013,2019 <NAME> HipSim 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. ...
#include <nhl/game.h> #include <stdlib.h> #include <string.h> #include <nhl/player.h> #include <nhl/team.h> #include <nhl/update.h> #include <nhl/utils.h> #include "cache.h" #include "dict.h" #include "get.h" #include "handle.h" #include "mem.h" #include "urls.h" /* Convert cached schedule to schedule. * The retur...
static void i_add_br8(void); static void i_add_wr16(void); static void i_add_r8b(void); static void i_add_r16w(void); static void i_add_ald8(void); static void i_add_axd16(void); static void i_push_es(void); static void i_pop_es(void); static void i_or_br8(void); static void i_or_r8b(void); static void i_or_wr16(void);...
// ----------------------------------------------------------------------- // // This program solves the Propositional (Boolean) Satisfiability problem // using Depth-First Search algorithm and validates each vector using OpenCl. // Problems are read from an input file, while solution is written to screen // and a...
/* * crash_handler.c - a program to record crashes into crash report files * * Copyright 2011,2012 Sony Network Entertainment * * Author: <NAME> <tim.bird (at) am.sony.com> * * Lots of stuff copied from Android debuggerd: * system/debuggerd/debuggerd.c ** ** Copyright 2006, The Android Open Source Project ** **...
#include <stdarg.h> #include <unistd.h> #include <stdio.h> #include <fcntl.h> #include "lib.h" #include "memory.h" #include "syscalls.h" #include "kasan.h" int cfd; #define SUBTRACT_SYSNO (0) #define kInMagic 0xbadc0ffeebadface #define kOutMagic 0xbadf00d #define instr_eof -1 #define instr_copyin -2 #define instr...
/* 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...
#include "geometry.h" #include <stdint.h> typedef struct { size_t cnt_points; vec2_t **points; dl_list_t *upper; dl_list_t *lower; } convex_hull_t; typedef int (*__GEOM_CMP_FUNC)(const void*, const void*); #ifdef debug static void __geometry_vec2_print_wrapper(vec2_t **vec) { pr...
/* Handle details pages for maf tracks and axt tracks. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "hgc.h" #include "maf.h" #include "obsc...
/* -*- c-file-style: "bsd"; c-basic-offset: 4 -*- */ /********************************************************************* * * $Header$ * * Carnegie Mellon ARPA Speech Group * * Copyright (c) 1996-2005 Carnegie Mellon University. * All rights reserved. **********************************************************...
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _MSC_VER #define strcasecmp _stricmp #define strncasecmp _strnicmp #else #include <strings.h> #endif #include <math.h> #include "package.h" #include "temperature.h" #include "flp.h" #include "util.h" /* default package configuration parameters */ ...
/* File cphead.c * March 3, 2015 * By <NAME> Harvard-Smithsonian Center for Astrophysics) * Send bug reports to <EMAIL> Copyright (C) 2000-2015 Smithsonian Astrophysical Observatory, Cambridge, MA USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gen...
// imagew-gif.c // Part of ImageWorsener, Copyright (c) 2011 by <NAME>. // For more information, see the readme.txt file. // This is a self-contained GIF image decoder. // It supports a single image only, so it does not support animated GIFs, // or any GIF where the main image is constructed from multiple sub-images. ...
/* * Copyright © 2005 Novell, 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 above copyright notice appear in all copies * and that both that copyright notice and this permission notice * appe...
/* * Copyright (c) 2017-2020, AT&T Intellectual Property. All rights reserved. * Copyright (c) 2015-2016 by Brocade Communications Systems, Inc. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-only */ #include <dirent.h> #include <dlfcn.h> #include <errno.h> #include <getopt.h> #include <time.h> #in...
/* $OpenBSD: bereg.h,v 1.8 1999/01/07 03:14:42 jason Exp $ */ /* * Copyright (c) 1998 <NAME> and <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 co...
#include <Python.h> #include <numpy/ndarrayobject.h> void weights_gauss_radau006002 (const double *restrict sigma, int n, int ssi, int ssr, double *restrict omega, int wsi, int wsl, int wsr) { int i; double acc, sigma0, sigma1, sigma2, sigma3, sigma4, sigma5, omega1, omega7p, omega0, omega10p, omega11p, ...
#include "default_event_handler.h" #include <assert.h> #include <stdlib.h> #include <stdio.h> #include "common/zarray.h" #include "vx/math/matd.h" #include "vx/math/math_util.h" #include "vx_codes.h" #include "vx_util.h" #include "vx_event.h" #include "vx_camera_mgr.h" #include <math.h> typedef struct { int init...
// Copyright (C) 2015 by <NAME> (original JavaScript version) // Copyright (C) 2020 zelbrium (this C version) // // 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 restric...
#include "lavender.h" #include "expression.h" #include "operator.h" #include "builtin.h" #include "command.h" #include "dynbuffer.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> bool lv_debug = false; char* lv_filepath = "."; char* lv_mainFile = NULL; size_t lv_maxStackSize = 512 * 10...
/* * 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 <stdio.h> #include "pico/stdlib.h" #include "hardware/pio.h" #include "hardware/timer.h" #include "hardware/sync.h" #include "PICO_PIO_F007T_WH1080.pio.h" #include "queues_for_msgs_and_bits.h" #include "PICO_PIO_WH1080.h" #include "output_format.h" #include "uart_IO.h" #include "string.h" /*-----------------...
/* Copyright (C) 2004-2006 <NAME> <<EMAIL>> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This libr...
#include "sfmm.h" #include <math.h> #include <unistd.h> #include <string.h> #define GET_HEAD(foot) ((sf_header*)((char*)((sf_footer*)foot) - (((sf_footer*)foot)->block_size << 4) + SF_FOOTER_SIZE)) #define GET_FOOT(head) ((sf_footer*)((char*)((sf_header*)head) + (((sf_header*)head)->block_size << 4) - SF_FOOTER_...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "bomber.h" #include "gfx.h" #define MAXCOLORS 256 int usedcolors=0; SDL_Surface *thescreen; SDL_Color themap[256]; uchar *videomem; int stride; int mousex,mousey,mouseb; uchar mustlock=0,locked=0; uchar *block64; int buttonstat...
/* * Copyright (c) 2008-2016 Allwinner Technology Co. Ltd. * All rights reserved. * * File : testVideoMuxer.c * Description : testVideoMuxer * History : * */ #include <cdx_log.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <time.h> #include "vencoder.h" #include "C...
#include "blunt.h" /* --------------------------------------------------------------- */ /* hot arithmetics */ /* --------------------------------------------------------------- */ typedef struct { t_object obj; t_bop *x; } t_hot_pxy; typedef struct { t_bop x; t_ho...
#if (defined(__linux__) || defined(__unix__)) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif #define SQLITE3_H_OMIT #include "sqleet.h" #include "sqlite3.c" #include "rekeyvacuum.c" #include "crypto.c" /* * SQLite3 codec implementation. */ typedef struct codec { struct codec *reader, *writer; uint8_t ...
/* * Copyright 2009 10gen, 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 w...
// AP_Lab6.c // Runs on either MSP432 or TM4C123 // see GPIO.c file for hardware connections // <NAME> and <NAME> // November 20, 2016 // CC2650 booster or CC2650 LaunchPad, CC2650 needs to be running SimpleNP 2.2 (POWERSAVE) #include <stdint.h> #include "../inc/UART0.h" #include "../inc/UART1.h" #include "../inc/AP...
/* hid_keyboard_gadget.c */ #include <pthread.h> #include <string.h> #include <stdio.h> #include <ctype.h> #include <fcntl.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define BUF_LEN 512 #define SHIFT 0x80 struct options { const char *opt; unsigned char val; }; static stru...
/************************************************************************************************* a5142_otp.c --------------------------------------------------------- OTP Application file From Truly for AR0543 2012.10.26 --------------------------------------------------------- NOTE: The modification is appended to i...
#include <memory.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <locale.h> #include <ncurses.h> //#define DEBUG_PRINT // utility functions void *mallocz(size_t size) { void *ptr; ptr = malloc(size); if (!ptr) return NULL; memset(ptr, 0, size); return ptr; } e...
/* This file is provided under a dual BSD/GPLv2 license. When using or redistributing this file, you may do so under either license. GPL LICENSE SUMMARY Copyright(c) 2010-2011 Texas Instruments Incorporated, All rights reserved. This program is free software; you can redistribute it and/or modify it ...
#include "freertps/sedp.h" #include "freertps/freertps.h" #include "freertps/qos.h" #include "freertps/spdp.h" #include "freertps/pub.h" #include <string.h> //////////////////////////////////////////////////////////////////////////// // local constants static const frudp_eid_t g_sedp_pub_writer_id = { .u = 0xc2030000 ...
/* Copyright (c) 2018 <NAME> * Copyright (c) 2017 Mozilla */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions...
/* SPDX-License-Identifier: BSD-3-Clause */ //**********************************************************************; // Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. // Licensed under the Apache License 2.0 (the "License"). You may not use // this file except in compliance with the License. Yo...
/* TUI display registers in window. Copyright (C) 1998-2014 Free Software Foundation, Inc. Contributed by Hewlett-Packard Company. 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...
/* * https://github.com/emscripten-core/emscripten/blob/master/tests/hello_world_gles.c * Copyright (C) 1999-2001 <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...
/* * Latency test program * * Author: <NAME> <<EMAIL>> * * Author of bandpass filter sweep effect: * <NAME> <<EMAIL>> * * This small demo program can be used for measuring latency between * capture and playback. This latency is measured from driver (diff when * playback and capture was star...
/* FileHandler - General-purpose file handling library for Niotso read_utk.c - Copyright (c) 2011-2012 Niotso Project <http://niotso.org/> Author(s): Fatbag <<EMAIL>> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided tha...
/* Copyright (c) 2018, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <string.h> #include <signal.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <getopt.h> #include <odp_api.h> #define MAX_PKTIOS 32 #define MAX_...
/* ../netlib/slasy2.f -- translated by f2c (version 20100827). 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 en...
/* Copyright (C) 2012 Modelon AB <http://www.modelon.com> You should have received a copy of the LICENSE-FMUChecker.txt along with this program. If not, contact Modelon AB. */ /** \file fmuInputReader.c Main function and command line options handling of the FMUChecker application. */ #include <stdio.h> #i...
/* BJX2 VM: Will use direct linking and assume a non-modifiable program space. */ #define BJX2_REG_R0 0 #define BJX2_REG_R1 1 #define BJX2_REG_R2 2 #define BJX2_REG_R3 3 #define BJX2_REG_R4 4 #define BJX2_REG_R5 5 #define BJX2_REG_R6 6 #define BJX2_REG_R7 7 #define BJX2_REG_R8 8 #define BJX2_REG_R9 9 #defin...
/* GStreamer * Copyright (C) 2020 <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. * *...
/*- * Copyright (c) 2000 <NAME> <<EMAIL>> * Copyright (c) 2000 <NAME> <<EMAIL>> * Copyright (c) 2007-2008 Semihalf, <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....
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus-rsp-hle - jpeg.c * * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * * Copyright (C) 2012 <NAME> * * Copyright (C)...
/* QLogic qedr NIC Driver * Copyright (c) 2015-2016 QLogic Corporation * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this...
/* * Copyright (C) <NAME> (https://www.x4b.net) * * Includes work from nginx gunzip module: * Copyright (C) <NAME> * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include <brotli/decode.h> typedef struct { ngx_flag_t en...
/* * yyasr asr&nlu module based on yuanyu.ai * * chenxin <<EMAIL>> * * mod_yyasr.c - yyasr Interface * */ #include <string.h> #include <switch.h> #include <switch_cJSON.h> #include <curl/curl.h> #include <time.h> #define WAVE_FILE_LENGTH 126 // 126 - 16(/time.pcm) #define WAVE_DIR_MAX_LENGTH 110 SWITCH_MODULE_...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * Author: : <NAME> * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><c...
/* * Copyright (C) 2010-2011 <NAME> <<EMAIL>> * Copyright (C) 2011 <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, includ...
/* zzvstrng.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__14 = 14; /* $Procedure ZZVSTRNG ( Virtual String ) */ /* Subroutine */ int zzvstrng_0_(int n__...
#include "Types.h" #include "AssemblyUtility.h" #include "Keyboard.h" #include "Queue.h" #include "Utility.h" // function that checks if output buffer of PS/2 Controller is full. // return: // True if output buffer is full. Otherwise, False BOOL kIsOutputBufferFull(void) { // read state register from PS/2 Contro...
/* * Copyright (c) 2019 <NAME> * * 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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL...
/************************************************************************** * FILE: dp.c * AUTHOR: <NAME>, <NAME> * CREATE DATE: 5/20/02 * PROJECT: MHMM * VERSION: $Revision: 1.1.1.1 $ * COPYRIGHT: 1998-2002, WNG, 2001, TLB * DESCRIPTION: Core dynamic programming algorithms for Meta-MEME. **********************...
//Copyright 2012 <NAME> under the MIT/x11, newBSD, LGPL or GPL licenses. You choose. #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <stdio.h> #include "iparpetc.h" #include "net_compat.h" #include <alloca.h> #include <string.h> #include <avr/pgmspace.h> #include <string.h> unsigned l...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2016, Google Inc * * (C) Copyright 2002 * <NAME>, ELSOFT AG, <EMAIL> */ #include <common.h> #include <dm.h> #include <i2c.h> #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/pinmux.h> #include "s3c24x0_i2c.h" DECLARE_GLOBAL_DATA_PTR; ...
//******************************************************************************************** // // File : enc28j60.c Microchip ENC28J60 Ethernet Interface Driver // //******************************************************************************************** // // Copyright (C) 2007 // // This program is fre...
/**************************************************************************/ /* */ /* jfr2wlib.cpp Version 2.00 Copyright (c) 1999 by <NAME> */ /* */ /* JFS Inver...
/* Copyright (c) IBM Corporation 2000, 2018 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, softw...
#include "include/x86emu_int.h" #define LINE_LEN 16 x86emu_t *x86emu_new(unsigned def_mem_perm, unsigned def_io_perm) { x86emu_t *emu = calloc(1, sizeof *emu); emu->mem = emu_mem_new(def_mem_perm); emu->io.map = calloc(X86EMU_IO_PORTS, sizeof *emu->io.map); emu->io.stats_i = calloc(X86EMU_IO_PORTS, sizeo...
# include<stdio.h> # include<conio.h> # include<string.h> # include<math.h> #include <time.h> #include <stdlib.h> # define TRUE 1 # define FALSE 0 struct member { int mid; char mname[20],madd[30]; struct msince { int day,mon,year; } ms; struct mexpir { int day,mon,year; } me; } M; ...
/* $Id$Revision: */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
/* RetroArch - A frontend for libretro. * Copyright (C) 2013-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Found- * ation, either version 3 of the...
/* * fortopat.c -- * * Implementation of format string to xsd pattern conversion. * * Copyright (c) 2001 <NAME>, Technical University of Braunschweig. * (c) 2002 <NAME>, Technical University of Braunschweig. * (c) 2002 <NAME>, Technical University of Braunschweig. * (c) 2007 <...
#include <linux/delay.h> #include <linux/module.h> #include "nuc970_cap.h" static struct nuvoton_vin_sensor ov5640; struct OV_RegValue{ __u16 uRegAddr; __u8 uValue; }; #define _REG_TABLE_SIZE(nTableName) sizeof(nTableName)/sizeof(struct OV_RegValue) static struct OV_RegValue Init_RegValue[] = { ...
/** @file */ /* * Copyright (c) 2019, Cisco Systems, Inc. * * Licensed under the Apache License 2.0 (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://github.com/cisco/libacvp/LICENSE */ #in...
/* * This file is part of Espruino, a JavaScript interpreter for Microcontrollers * * Copyright (C) 2013 <NAME> <<EMAIL>> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/...
/* Copyright 2010 <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 yo...
/* * Copyright (C) 2015 <NAME> * * 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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL...
/* advexe.c - adventure code executer */ /* Copyright (c) 1993, by <NAME> All rights reserved */ #include <setjmp.h> #include "advint.h" #include "advdbs.h" /* external variables */ extern int nouns[],*adjectives[]; /* local variables */ static int *sp,*fp,*efp,*top,pc,opcode; static int stack[STKSIZE]; static jmp...
/* Implementation of the Hex game, using an AI agent based on Monte Carlo simulation (mcs). The game state is checked with a Breath-First search (bfs) Written by <NAME>, 10-20 January 2022. The game uses the VIC-IV full color character mode on the MEGA65, where each graphic tile has an unique memory...
/*- * Copyright (c) 2006 <NAME> * Copyright (c) 2019 <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
//***************************************************************************** // // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ // // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // ...
/* $Id: makewhatis.c,v 1.2 2011/05/15 02:47:17 kristaps Exp $ */ /* * Copyright (c) 2011 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all co...
#include <stdarg.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include "xil_printf.h" #include "ff.h" #define MAX_FD 2 static int mounted; static FATFS ffsvol; static FIL fds[MAX_FD]; /* Mapping: see list and descriptions at bottom of file O_RDONLY -...
/** * Know nothing about copy from left to right, * if someone wanna use it, just copy it from left to right * by author m24h */ #include "esp_console.h" #include "esp_wifi.h" #include "esp_netif.h" #include "mdns.h" #include "lwip/apps/netbiosns.h" #include "ping/ping_sock.h" #include "app.h" #incl...
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2016, PostgreSQL Global Development Group * * src/bin/psql/help.c */ #include "postgres_fe.h" #ifndef WIN32 #include <sys/types.h> /* (ditto) */ #include <unistd.h> /* for geteuid() */ #else #include <win32.h> #endif #ifndef WIN32 #incl...
/* * battclock.c * * Test the Oki MSM6242B / Ricoh RP5C01 battery-backed clock. * * Written & released by <NAME> <<EMAIL>> * * This is free and unencumbered software released into the public domain. * See the file COPYING for more details, or visit <http://unlicense.org>. */ #include "testkit.h" struct ti...
/* * 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...
/* * se ts=4;se expandtab * * vrouter.c -- virtual router * * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <vr_os.h> #if defined(__linux__) #include <linux/version.h> #endif #include "vr_types.h" #include "vr_sandesh.h" #include "vr_message.h" #include "vr_cpuid.h" #include <vr_packe...