text
stringlengths
7.55k
41.9k
#include "mos_duk_funcs.h" #include "common/cs_dbg.h" #include "mgos_timers.h" #include "mgos_time.h" #include "mgos_adc.h" #include "mgos_bitbang.h" #include "mgos_config.h" #include "mgos_sys_config.h" #include "mgos_event.h" #include "mgos_debug.h" #include "mgos_gpio.h" #include "mgos_system.h" #include "mgos_tim...
/* * vif.c -- 'vrouter' interface utility * * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <stdio.h> #include <unistd.h> #include <string.h> #include <malloc.h> #include <inttypes.h> #include <getopt.h> #include <stdbool.h> #include <asm/types.h> #include <sys/types.h> #include <sys/...
#include <assert.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sfc/sfc_app.h> #include <sfc/sfc_card.h> #include <sfc/sfc_collector_number.h> #include "sfc_deserializer.h" #include "sfc_serializer.h" #define JSMN_STATIC #include "jsmn.h" #define JSON_GE...
/* 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/MPL/2.0/. */ enum { dbInvalidCert = 0, dbNoSMimeProfile, dbOlderCert, dbBadCertificate, dbCertNotWrittenToD...
#include <stddef.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #include "af_rpc.h" uint8_t sBuffer[256]; int sFailures = 0, sSuccesses = 0; #define TEST(_expr) { int s = (_expr) ; printf("LINE %04d %s:%s\n", __LINE__, s ? "SUCC" : "FAIL", #_expr); if (s) sSuccesses++; else sFailures++; } void print_...
/* * Copyright (c) 2014,2015 DeNA Co., Ltd., <NAME>, <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...
/* * Copyright (C) 2019 Siara Logics (cc) * * 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...
#include "Hacl_Hash_SHA2_256.h" uint8_t Hacl_Hash_SHA2_256_u8_to_h8(uint8_t a) { return a; } uint32_t Hacl_Hash_SHA2_256_u32_to_h32(uint32_t a) { return a; } uint64_t Hacl_Hash_SHA2_256_u32_to_h64(uint32_t a) { return (uint64_t )a; } uint8_t Hacl_Hash_SHA2_256_h32_to_h8(uint32_t a) { retu...
#define _GNU_SOURCE // @@@ #ifndef _MSC_VER // @@@ #include <stdlib.h> #include <string.h> #include <limits.h> #include <stdint.h> #include <errno.h> #include <sys/mman.h> #include "libc.h" #include "atomic.h" #include "pthread_impl.h" // @@@ #else #include <stdlib.h> #include <string.h> #include <errno.h> #include <ef...
#include <lauxlib.h> #include <lua.h> #include "fort.h" #if LUA_VERSION_NUM >= 502 #define new_lib(L, l) (luaL_newlib(L, l)) #define lua_tbl_len(L, arg) (lua_rawlen(L, arg)) #else #define new_lib(L, l) (lua_newtable(L), luaL_register(L, NULL, l)) #define lua_tbl_len(L, arg) (lua_objlen(L, arg)) #endif // use integer...
/* * 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 ...
/** * Copyright (c) 2016-2019, ETH Zurich, Computer Engineering Group * 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 no...
#include <gst/gst.h> #include <glib.h> #include <stdio.h> #include <cuda_runtime_api.h> #include "gstnvdsmeta.h" #define MAX_DISPLAY_LEN 64 #define PGIE_CLASS_ID_VEHICLE 0 #define PGIE_CLASS_ID_PERSON 2 /* The muxer output resolution must be set if the input streams will be of * different resolution. The muxer will...
/*$ Copyright (c) 2014-2017, Azel 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 conditions and the follow...
/* FreeRTOS includes. */ #include "FreeRTOS.h" #include "task.h" #include "queue.h" /* Xilinx includes. */ #include "xil_printf.h" #include "xgpio.h" #include "xemaclite.h" #include "xscugic.h" #include "xparameters.h" /*-----------------------------------------------------------*/ /* The Tx and Rx tasks as describ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sodium.h> #include <sqlite3.h> #include <stdbool.h> #include <errno.h> #include "strupper.h" #include "opts.h" #include "version.h" #include "box.h" #include "config.h" #include "sp_parser.h" #include "misc.h" #include "read_all.h" #include "trim.h" #...
/* * Phantom Slayer * * @version 1.0.2 * @author smittytone * @copyright 2021, <NAME> * @licence MIT * */ #include "main.h" /* * Initialisation Functions */ void setup() { // Set up the game hardware // Set up I2C i2c_init(I2C_PORT, I2C_FREQUENCY); gpio_set_function(PIN_SDA,...
/* * Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2003 S3 Graphics, Inc. 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 witho...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2017 <NAME> for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
/* $NetBSD: pcdisplay_chars.c,v 1.9 2004/03/24 17:26:53 drochner Exp $ */ /* * Copyright (c) 1998 * <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 ...
/*- * Copyright (c) 1999 <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...
/* * mptcp-auth.c */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <curl/curl.h> #include <json-c/json.h> #include <openssl/ssl.h> #include "base64.h" #include "log.h" #include "list.h" #include "redsocks.h" //#include "dnsmasq.h" //#include "OpenSSLInterface.h" #define UID_FILE "/proc/net/mptc...
#include "control/controller_conversion.h" #include <stdio.h> #include <math.h> #include "common/c_math/mat3.h" #include "common/c_math/vec3.h" #include "control/control_types.h" #include "control/estimator/estimator_types.h" #include "control/ground_station_frame.h" #include "kfc.h" #include "control/system_params.h"...
/* * Driver for Quantek QT1010 silicon tuner * * Copyright (C) 2006 <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ...
#include <string.h> #include <pthread.h> #include <assert.h> #include <unistd.h> #include <errno.h> #include <stdlib.h> #include <libgen.h> #include <inttypes.h> #include <linux/limits.h> #include "corvus.h" #include "alloc.h" #include "logging.h" #include "socket.h" #include "array.h" #define DEFAULT_THREAD 4 #define...
/*- * Copyright (c) 2000 <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...
#include <stddef.h> #include <stdint.h> #include "space_invader.h" #include "baseline.h" /* #include "uart.h" */ /* TODO: Refactor code so that .state is a part of the PlayerLaser and PlayerShip structs */ /* TODO: Find safe way to calculate this */ #define NUM_SHIP_FRAMES (3) #define NUM_PLAYER_LASER_F...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2013 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; This program is free software; you can redistribute it and/or */ /*; modify ...
/* * ZMap Copyright 2013 Regents of the University of Michigan * * XMap Copyright 2021 <NAME> from Network and Information Security Lab * Tsinghua University * * 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 cop...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
/* * MIT License, see root folder for full license. */ #include "ont.h" /** if true, show a screen with the transaction type. */ #define SHOW_TX_TYPE false /** if true, show a screen with the transaction length. */ #define SHOW_TX_LEN false /** if true, show a screen with the transaction version. */ #define SHOW_V...
/* ==================================================================== * Copyright (c) 1999-2004 Carnegie Mellon University. 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. Redi...
/************************************************************* * fstructure.c * Set of routines to compute the structure function of a phase array * called by simu3.c and by s_pscorg.for * * JLP * Version 11-07-2008 ************************************************************/ #include <stdio.h> #include <math.h...
#include <cards_logic/klondike.h> #include <cards_logic/basics.h> #include <tests/test-utilities.h> #include <string.h> // memcmp void test_check_pool_and_waste() { TEST_DESCRIPTION("Pool and waste with no cards are valid"); card no_cards[] = {}; struct s_pool *empty_pool = utl_create_pool(no_cards, 0); stru...
#include "main.h" int main(void) { RCC_Init(); TIM_Init(); EXTI_Init(); display_Init(); #ifdef SERIALDEBUG UART_Init(); #endif __enable_irq(); PIDset(); TIM3->CR1 |= TIM_CR1_CEN; // Hall sensor start TIM16->CR1 |= TIM_CR1_CEN; // Hall wachdog timer start while(1) ...
/* * Home Accessory Architect OTA Update * * Copyright 2020 <NAME> (@RavenSystem) * */ /* * Based on Life-Cycle-Manager (LCM) by HomeAccessoryKid (@HomeACcessoryKid), licensed under Apache License 2.0. * https://github.com/HomeACcessoryKid/life-cycle-manager */ #include <stdlib.h> #include <stdio.h> #include <stri...
/* * SPDX-License-Identifier: MIT * * Copyright (C) 2019 <NAME> <<EMAIL>> */ #include <unistd.h> #include <stdint.h> #include <getopt.h> #include <ctype.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sched.h> #include <libgen.h> #include <memory.h> #include <search.h>...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
/** * @file adc.c * @desc ADC Driver * @author <NAME> * @date 2019-04-19 * Last Author: * Last Edited On: */ #include "adc.h" #include "dma.h" #define ADC_IRQ_PRIORITY 3 #define ADC_DMA_PRIORITY 0 // Max ADC clock freq, see datasheet section 7.11.4 #define ADC_CLOCK_MAX 2100000UL static void adc_dma...
/* * This file is part of the hoverboard-firmware-hack project. * * Copyright (C) 2017-2018 <NAME> <<EMAIL>> * Copyright (C) 2017-2018 <NAME> <<EMAIL>> * Copyright (C) 2017-2018 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
/* USER CODE BEGIN Header */ /** DMA_HandleTypeDef *hdmatx; DMA_HandleTypeDef *hdmarx; ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************...
/* * LibNoPoll: A websocket library * Copyright (C) 2017 Advanced Software Production Line, S.L. * * 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 2.1 * of the...
// SPDX-License-Identifier: GPL-2.0 /* * Intel Elkhart Lake PCH pinctrl/GPIO driver * * Copyright (C) 2019, Intel Corporation * Author: <NAME> <<EMAIL>> */ #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/pinctrl/pinctrl.h> #include "pinctrl-intel.h...
/* * SPDX-License-Identifier: Apache-2.0 */ #include <errno.h> #include <stddef.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <fcntl.h> #include <unistd.h> #include <asm/kvm.h> #include <asm/processo...
/********************************************************************** Rockwell 10937/10957 interface and emulation by J.Wallace OKI MSC1937 is a clone of this chip **********************************************************************/ #include "driver.h" #include "roc10937.h" static struct { UINT8 type,...
#include <cnovrtcc.h> #include <cnovrparts.h> #include <cnovrfocus.h> #include <cnovrterminal.h> #include <cnovr.h> #include <cnovrutil.h> #include <stdlib.h> #include <string.h> #include <openvr_capi.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <stdio.h> const char * identifier...
/* XPM */ static const char *const xpm_icon_0[] = { /* columns rows colors chars-per-pixel */ "16 16 143 2", " c #0C0C0C", ". c #161717", "X c gray9", "o c #191919", "O c #1B1B1B", "+ c #1D1D1D", "@ c gray12", "# c #222222", "$ c #252525", "% c gray15", "& c #272727", "* c gray16", "= c #2A2A2A", "- c #2...
/*- * Copyright (c) 2014-2015 <NAME>, * Copyright (c) 2012-2013 <NAME>, * <NAME> * Copyright (c) 2011-2012 <NAME>, * <NAME>, * <NAME>, * <NAME>, * <NAME>, * <NAME>, *...
/* * Copyright (c) 2006-2007 University of Houston. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "ADCL_internal.h" //int ADCL_subarray_init ( int topodims, int vecndims, int *vecdims, // int hwidth, int nc, int order, MPI_Datatype btype, // ...
/* * jabberd - Jabber Open Source Server * Copyright (c) 2002 <NAME>, <NAME>, * <NAME>, <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...
////////////////////////////////////////////////////////////////////////////////////////////// // // USER DRIVER ROUTINES DECLARATION (PROCESSOR DEPENDENT) // // (c) Copyright 2016, <NAME>, Selangor, MALAYSIA // All Rights Reserved // ///////////////////////////////////////////////////////////////////////...
/* * mz_preyama.c version 13 * * revision on Feb. 2, 2006 */ #include "util.h" #include "multi_util.h" #include "mz_preyama.h" #include "mz_yama.h" #include "maf.h" #include "mz_scores.h" #include "align_util.h" // smooth out the left and right bounds for the dynamic-programming region void smooth(int *LB, int...
/* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the license.txt file. */ /** * This file is the main file for the application described in application note * nAN-36 Creating Bluetooth� Low Energy Applications ...
/* * partition convolve * * partition convolve performs FFT-based partitioned convolution. * * Typically partition_convolve~ might be used in conjuction with time_domain_convolve for zero-latency convolution with longer impulses. * * Copyright 2012 <NAME>. All rights reserved. * */ #include "u_partition...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include "QuoriQueue.h" #include <mpi.h> #include <limits.h> #define MAX_PLAYER 1 #define MIN_PLAYER 0 #define NUM_NODES 81 #define DEPTH 10 #define NUM 20 #define WALL_UP 0 #define WALL_DOWN 1 #define WALL_LEFT 2 #define WA...
/* * Copyright (C) 2015-2020 IoT.bzh Company * Author "<NAME>" * * $RP_BEGIN_LICENSE$ * Commercial License Usage * Licensees holding valid commercial IoT.bzh licenses may use this file in * accordance with the commercial license agreement provided with the * Software or, alternatively, in accordance with the...
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <limits.h> #include <signal.h> #include <sys/wait.h> #include <sys/types.h> #include <errno.h> #include "sharing.h" #define WRONG_ARGS 1 #define INVALID_MAX 2 #define ERROR_MAP_OPEN 3 #define ERROR_READ_MAP 4 #define ERROR_AGENT_OP...
/* zzraybox.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 doublereal c_b73 = 1.; /* $Procedure ZZRAYBOX ( Ray-box intercept ) */ /* Subroutine */ int zzraybox_(doublerea...
// calgebra.c // // https://github.com/tylerneylon/calgebra // #include "calgebra.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define true 1 #define false 0 #define tol 1e-4 #define unbdd_soln_str "The solution set is unbounded." // Public globals. const char *alg__err_str =...
/* * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * Copyright (C) 1991-2000 Silicon Graphics, Inc. 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 wi...
#include <stdio.h> #include <string.h> #include <stdarg.h> #include <malloc.h> #include <stdlib.h> #include <unistd.h> #include "csv.h" #include "config.h" #include "loadconfig.h" #include "error.h" #define RPM_GRIDSIZE ( GRID_RPM_RANGE / GRID_RPM_INTERVAL ) #define MAP_GRIDSIZE ( GRID_MAP_RANGE / GRID_MAP_INTERVAL )...
/* * 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 the hope that it will be use...
#ifndef TRUE # define TRUE 1 #endif #ifndef FALSE # define FALSE 0 #endif /* * types of tick displays */ #define X_AXIS 0 #define Y_AXIS 1 #define ZX_AXIS 2 #define ZY_AXIS 3 #ifndef MAXARR # define MAXARR 20000 /* max elements in an array */ #endif #define MAXGRAPH 10 /* max number of graphs */ #...
// SPDX-License-Identifier: GPL-2.0 /* Marvell OcteonTX CPT driver * * Copyright (C) 2019 Marvell International Ltd. * * 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. */ #inclu...
/* Copyright (C) 1997-2001 Id Software, Inc. Copyright (C) 2000-2002 Knightmare 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 v...
/* Copyright (c) 2003-2011 <NAME> <<EMAIL>> Copyright (c) 2003-2008 Center for Bioinformatics, University of Hamburg 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 ...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <math.h> #include <sys/time.h> // Based on // https://yumichan.net/video-processing/video-compression/introduction-to-h264-nal-unit/ // https://www.cardinalpeak.com/blog/the-h-264-sequence-parameter-set FILE * fOut; static uint8_t bytesofar; static u...
/* * Copyright (C) 1997 Massachusetts Institute of Technology * * This software is being provided by the copyright holders under the * following license. By obtaining, using and/or copying this software, * you agree that you have read, understood, and will comply with the * following terms and conditions: * * ...
/* ______ _ / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2014 Semtech-Cycleo Description: SX1301 tx...
/* * Copyright (c) 2014-2017 Advanced Micro Devices, Inc. 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 rig...
#include "fconv.h" static int quorem(Bigint *, Bigint *); /* dtoa for IEEE arithmetic (dmg): convert double to ASCII string. * * Inspired by "How to Print Floating-Point Numbers Accurately" by * <NAME>, Jr. and <NAME> [Proc. ACM SIGPLAN '90, pp. 92-101]. * * Modifications: * 1. Rather than iterating, we use a s...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 <NAME> / <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
/* Unix SMB/Netbios implementation. SMB client library implementation Copyright (C) <NAME> 1998 Copyright (C) <NAME> 2000, 2002 Copyright (C) <NAME> 2000 Copyright (C) <NAME> (Ninja ISD) 2002 Copyright (C) <NAME> 2003-2008 Copyright (C) <NAME> 2007, 2008 Copyright (C) <NAME> <<EMAIL>> 2009....
/* ** routines.c ** ** Routines for HALOGEN */ #include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #if !defined(__APPLE__) #include <malloc.h> #endif #include <assert.h> #include <time.h> #include "definitions.h" #include "functions.h" #include "routines.h" /* ** Initialise fixed structures...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <zlib.h> #ifdef __WIN32__ #include <io.h> #endif #include "sf_frotz.h" typedef void (*CLEANFUNC)(); typedef struct cfstruct cfrec; struct cfstruct { CLEANFUNC func; cfrec *next; const char *name; }; static cfrec *cflis...
/* * Copyright (c) 2013 <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...
/* guiprocs.c - Kraptor Esto contiene dialogos tipo 3-D para el GUI de Kraptor Fueron tomados de Allegro Dialog Editor y modificados para su uso en Kraptor Ademas, se modifico ciertos graficos, y se agregaron slider, y otros controles 'chetos' (ver el .h) This has the dialogs for the GUI of...
/* * Copyright (c) 2011, 2014-2015 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyrigh...
/* XPM */ static const char *const xpm_icon_0[] = { /* columns rows colors chars-per-pixel */ "16 16 171 2", " c black", ". c gray1", "X c #060605", "o c #060606", "O c gray3", "+ c gray7", "@ c gray8", "# c #151514", "$ c #161615", "% c #161616", "& c #171716", "* c #1A1A19", "= c #1C1C1B", "- c #201F1F...
#include "defs.h" #include "fns.h" typedef struct Instr Instr; typedef struct Opcode Opcode; Map *mymap; int myisp; int mydot; /* * operand types */ enum { EA=1, R1, R2, R3, S1, S2, S3, IR1, IR2, IR3, }; enum { Treg, Tctrl, Tcobr, Tmem, }; struct Opcode { ushort code; char *name; uchar and[3]; }; st...
//file: decode_nrzi.c /****************************************************************************** decode routines specific to: 7-track 200, 556, and 800 BPI tape formats 9-track 800 BPI tape format ---> See readtape.c for the merged change log. *****************************************************...
/* * 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...
/************************************************************************************************************* Copyright 2015-2019, Skyworks Solutions, 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 Lice...
/* * socks5-client.c * * Created on: 2011-04-11 * Author: <NAME> * Email: <<EMAIL>> * * Copyright (C) 2011 by <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 * ...
/* * Acess2 IDE Harddisk Driver * - io.c * * Disk Input/Output control */ #define DEBUG 0 #include <acess.h> #include <modules.h> // Needed for error codes #include <drv_pci.h> #include "common.h" #include <events.h> #include <timers.h> // === MACROS === #define IO_DELAY() do{inb(0x80); inb(0x80); inb(0x80); inb(...
/* * AppleTalk MacIP Gateway * * Original work (c) 1997 <NAME>. All rights reserved. * Modified work (c) 2015 <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 ...
/************************************************************************* * transfo.c - * * $Id: transfo.c,v 1.7 2001/05/29 16:00:02 greg Exp $ * * Copyright (c) INRIA 1999 * * AUTHOR: * <NAME> (<EMAIL>) * * CREATION DATE: * Wed Sep 6 21:52:28 MEST 2000 * * * ADDITIONS, CHANGES * - Sat Oct 7 00:01:4...
/* ssi - server-side-includes CGI program ** ** Copyright (C) 1995 <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 abo...
#include <stdio.h> #include <string.h> #include "arena.h" #include "cell.h" #include "parser.h" #include "env.h" #include "us.h" // #define LOG_LEVEL LOG_LEVEL_DEBUG #include "log.h" static void test_arena(void) { static struct { int bits[5]; } data[] = { { { -1, -1, -1, -1, -1 } }, { ...
/* win32.c - win32-specific (Windows XP+) CD-ROM API glue * * Copyright (c) 2010, 2011 <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, includ...
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. * * 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 Foundati...
/* * Copyright (C) <NAME> */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #define NGX_HTTP_USERID_OFF 0 #define NGX_HTTP_USERID_LOG 1 #define NGX_HTTP_USERID_V1 2 #define NGX_HTTP_USERID_ON 3 /* 31 Dec 2037 23:55:55 GMT */ #define NGX_HTTP_USERID_MAX_EXPIRES 2145916555 typede...
/* Wakefield STM32f7 Synthesizer */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* memset */ #include <math.h> #include "stm32746g_discovery.h" #include "stm32746g_discovery_audio.h" #include "stm32746g_discovery_lcd.h" #include "stm32746g_discovery_ts.h" #include "stm32f7xx_hal.h" #include "common/c...
/* * Copyright (c) 2013-2019, <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 ...
/* * Copyright (c) 1980, 1986, 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 above...
#include "arm64/jop/gadgets_static.h" #include "memctl/kernel.h" #include "memctl/kernel_slide.h" #include "memctl/memctl_error.h" #include "memctl/memctl_signal.h" // NOTE: Keep this list synchronized with the enumeration in the header. #define GADGET(str, ...) \ { 0, str, sizeof((uint32_t[]) { __VA_ARGS__ })...
#include <stdlib.h> #include <math.h> #include <string.h> #include <stdio.h> // add by liujf 2019-07-17 #include <float.h> // add by liujf 2019-07-17 #include "psmc.h" int n_dis; // add by liujf 2019-07-17 // add by liujf 2019-07-17 void error2 (char * message) { printf("\nError: %s.\n", message); exit(-1); } // add...
#include <string.h> #include <ctype.h> #include <unistd.h> #include <errno.h> #ifndef _WIN32 #include <limits.h> #define MM_API __attribute__((visibility ("default"))) #else #define MM_API __attribute__((dllexport)) #endif #define BACKEND_NAME "core/cfg" #include "midimonster.h" #include "config.h" #include "backen...
//#define _POSIX_C_SOURCE 200809L extern char **environ; #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <stdbool.h> #include <assert.h> #include <signal.h> #include <sys/types.h> #include <sys/wait.h> #include <pwd.h> #include <glob.h> #ifndef _TEXTOS #defin...