text
stringlengths
3.12k
18.7k
/* ** mouse:~ppr/src/filter_dotmatrix/graphics.c ** Copyright 1995--2005, Trinity College Computing Center. ** Written by <NAME>. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are met: ** ** * Redistributions of source cod...
#include <stdbool.h> #include "malloc.h" #include "lists.h" #include "stringBuffers.h" #include "sockets.h" #include "threading.h" #include "stdlib.h" //@ #include "ghostlist.gh" struct member { struct member *next; struct string_buffer *nick; struct writer *writer; }; /*@ predicate member...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/li...
/* * Copyright (C) Rap, Inc. * Copyright (C) <NAME> */ #include <rap_config.h> #include <rap_core.h> #include <rap_http.h> #define RAP_HTTP_V2_TABLE_SIZE 4096 static rap_int_t rap_http_v2_table_account(rap_http_v2_connection_t *h2c, size_t size); static rap_http_v2_header_t rap_http_v2_static_table[] ...
/* * Adapted from Prin<NAME>ing's PUP extractor * https://github.com/Princess-of-Sleeping/PSV-PUP-Extractor */ #include "pup.h" int psvDebugScreenPrintf(const char *format, ...); void psvDebugScreenClear(); int NotExistMkdir(char *path){ int dfd = sceIoDopen(path); if(dfd >= 0){ sceIoDclose(dfd); ...
#include "dwm_core.h" #include "../def_config.h" #include "drw.h" #include "util.h" #include <X11/Xatom.h> #include <string.h> void dwm_updatenum_lock_mask_dwm_updatenum_lock_mask() { dwm_num_lock_mask = 0; XModifierKeymap* modmap = XGetModifierMapping(dwm_x_display); for (unsigned i = 0; i < 8; i++) for ...
/**************************************************************************** * * * rmpatch.c -- Performs range migrations for a patch * * Parts of this code are Copyright <NAME> at Stanford University * * Modifi...
/* KallistiOS ##version## examples/dreamcast/pvr/modifier_volume_tex/modifier.c Copyright (C) 2009 <NAME> This example shows off how to do a basic modifier volume (with textures). */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <dc/pvr.h> #include <dc/maple.h> #include <dc/maple/contro...
/***************************************************************************//** * @file * @brief BT Mesh Configurator Component - Job Distributor ******************************************************************************* * # License * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b> ****...
/** * 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 ...
/* Copyright (c) 2014, <NAME> All rights reserved. This file is part of the hyLISP project. http://hylisp.org 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 copyri...
/* * B_daemon/daemon_trad.c *************************************************************** * This program is part of the source code released for the book * "Hands-on System Programming with Linux" * (c) Author: <NAME> * Publisher: Packt * * From: Ch B : Daemon Processes *********************************...
// ---------------------------------------------------------------------------- /*! Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt \file SoSpriteManager.c \author <NAME> \date Sep 19 2001 \ingroup SoSpriteManager See the \a SoSpriteMana...
/* * Copyright (c) 2014 Kaprica Security, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
/* * BinClock.c * <NAME> * Modified for EEE3095S/3096S by <NAME> * August 2019 * * <NGRBLE001> <KTRKUD001> * Date */ #include <wiringPi.h> #include <wiringPiI2C.h> #include <stdio.h> //For printf functions #include <stdlib.h> // For system functions #include <math.h> #include <string.h> #include <signal.h> #...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* se_box_plus.c :+: :+: :+: ...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "../port/error.h" #define Image IMAGE #include <draw.h> #include <memdraw.h> #include <cursor.h> #include "screen.h" static int clgd542xpageset(VGAscr*, int page) { uchar gr09; int opage; if(vgaxi(...
/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #include "nsutils.h" #include "rrutil.h" #include <linux/route.h> #include <linux/rtnetlink.h> #include <linux/veth.h> /* Utilities for assembling rtnetlink packages */ void buf_put(char** cur_buf_pos, void* data, size_t size) { memcpy(...
/* * balls.c - Also known as "sphereflake". Create a set of shiny spheres, with * each sphere blooming sets of 9 more spheres with 1/3rd radius. * A square floor polygon is added. Three light sources. * * Author: <NAME> * * size_factor determines the number of objects output. * Total spheres = sum of n=0,SF ...
/* * ============================================================================= * HSA Runtime Conformance Release License * ============================================================================= * The University of Illinois/NCSA * Open Source License (NCSA) * * Copyright (c) 2014, Advanced Micro Devi...
/* * Copyright (C) Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, di...
/** * Copyright (c) 2016, <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 con...
/*Hola este es mi buscaminas espero que te guste, si usaras gdb online unicamente copia todo el codigo no olvides seleccionar el lenguaje en c, presiona el boton run te pedira digitar la fila (que son las letras) das enter y te pedira digitar la columna (que son los numeros) Suerte y diviertete con mi buscaminas!!...
#include <stdint.h> #include <stdio.h> #include <string.h> #include "some_cipher.h" const uint16_t RCONS[16] = { 0x1, 0x2, 0x4, 0x8, 0x3, 0x6, 0xC, 0xB, 0x5, 0xA, 0x7, 0xE, 0xF, 0xD, 0x9, 0x1 }; // TE0 = S[x] . [1, 1, 4, 9] const uint16_t TE0[16] = { 0xEED7, 0x4432, 0xDD1F, 0x1149, 0x2281, 0xF...
/****************************************************************************** * examples/display.c * * ================== * * * ...
#include "elementListEncDec.h" /* These functions are used by Encoding and Decoding for RsslElementList Container Type */ /* this function will encode a basic Element list with several primitives embedded in it */ RsslRet exampleEncodeElementList(RsslEncodeIterator *encIter) { /* create a single RsslElementEntry a...
// Auto generated code from NoRet compiler #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <stdio.h> #include <inttypes.h> #include <assert.h> #define MAX_ARG_SIZE 0x2000 #define LEN_MASK_IN_PLACE 0x0 #define LEN_MASK_CONST 0x8000000000000000 #define LEN_MASK_LOCAL 0x4000000000000000 #def...
/* * Copyright (c) 2011-2014 <NAME> <<EMAIL>> * * 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 AUTH...
enum { gui_type_null, gui_type_none, gui_type_label, gui_type_rect, gui_type_button, gui_type_checkbox, gui_type_radio, gui_type_knob, gui_type_textedit, gui_type_selmenu, gui_type_count }; // this enum must match the string array in make_gui.c extern const char *layout_elem_type_name[]; typedef struct { ...
/****************************************************************************** * * Title: nav.c * * Description: Main program for Stingray UUV. * *****************************************************************************/ #include "nav.h" /// Global file descriptors. Only global so that nav_exit()...
/* Copyright (c) 2009 <NAME> and <NAME>, University of Geneva 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 ...
/* * Copyright (c) 2016,2018 Apple Inc. All rights reserved. * * corecrypto Internal Use License Agreement * * IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple") * in consideration of your agreement to the following terms, and your download or use * of this Apple software const...
// compiled with: gcc dijkstra-sequential-random.c -o dijkstra-sequential-random.exe #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #ifndef INF #define INF 99999 #endif // printing a matrix; for debugging void printMatrix(int **matrix, int dim){ int i, j; for (i = 0; i < dim; i++){ ...
#include "sha256.h" static inline uint32_t rotr(uint32_t x, int n){ return (x >> n) | (x << (32 - n)); } static inline uint32_t step1(uint32_t e, uint32_t f, uint32_t g){ return (rotr(e, 6) ^ rotr(e, 11) ^ rotr(e, 25)) + ((e & f) ^ ((~ e) & g)); } static inline uint32_t step2(uint32_t a, uint32_t b, uint32_t...
/* $OpenBSD: hdreg.h,v 1.2 2003/06/02 23:27:44 millert Exp $ */ /* $NetBSD: rdreg.h,v 1.7 1996/02/09 18:00:37 scottr Exp $ */ /* * Copyright (c) 1988 University of Utah. * Copyright (c) 1982, 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software con...
#include "sdkconfig.h" #include "esp_camera.h" #include "esp_log.h" #include "esp_vfs_fat.h" #include "sdmmc_cmd.h" #include <string.h> #include "global.h" /* global data */ uint32_t record_frame_count = 0; TaskHandle_t record_task; TaskHandle_t csv_log_task; /* static data */ static const char* TAG = "record"; stati...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this...
/* -*- c-set-style: "K&R"; c-basic-offset: 8 -*- * * This file is part of PRoot. * * Copyright (C) 2015 STMicroelectronics * * 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 versio...
/* * Modify land grid to match ocean grid at coast and calculate atmos/land, * atmos/ocean, and land/ocean overlaps using the Sutherland-Hodgeman polygon * clipping algorithm (Sutherland, <NAME>. and <NAME>, 1974: Reentrant * polygon clipping, CACM, 17(1), 32-42). * Warning, when the atmos grid is cubic grid, th...
/* * CPASSREF/sign.c * * Copyright 2013 <NAME> * * This file is part of CPASSREF. * * CPASSREF 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 opt...
/* * httpServer.c * urMus * * Created by <NAME> on 5/6/10. * Copyright 2010 Student. All rights reserved. * */ #include "httpServer.h" #include "lua.h" #include "lauxlib.h" #include "mongoose.h" #include <pthread.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <unistd.h> #inclu...
/** * @file bl_syscalls.c * @brief System call emulation for little-endian desktop computer * @author <NAME> <<EMAIL>> * @copyright Copyright 2020 Crypto Advance GmbH. All rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include "bl_util.h" #inclu...
/* vector.c * <NAME> * Line functions for suntools stuff. */ #include "hipstool.h" static unsigned get_and_set(), get_char_value(), get_short_value(), get_long_value(), set_char_value(), set_short_value(), set_long_value(); static void drawline(), drawtrace(), writeline(); static void fit(); void (*dr...
/* * This file is part of the coreboot project. * * Copyright (C) 2000 AG Electronics Ltd. * Copyright (C) 2003-2004 Linux Networx * Copyright (C) 2004 Tyan * * 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...
// Includes #include <stdio.h> //sscanf #include <stdlib.h> //strtol/atoi/atof #include <string.h> //memset/memcpy/strcmp/strlen/strcat/strcpy #include "gps.h" #include "libGPSCalc.h" // external library used to calculate speed/etc // Typedef: NMEA Data - Stores extracted values from recently received NMEA Data typede...
/* ISC license. */ #include <skalibs/nonposix.h> #include <sys/socket.h> #include <errno.h> #include <signal.h> #include <skalibs/types.h> #include <skalibs/allreadwrite.h> #include <skalibs/sgetopt.h> #include <skalibs/error.h> #include <skalibs/iobuffer.h> #include <skalibs/sig.h> #include <skalibs/selfpipe.h> #inc...
/* statistics/test_robust.c * * Copyright (C) 2018 <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 3 of the License, or (at * your option) any later version. * ...
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by <NAME> <<EMAIL>>, <NAME> <<EMAIL>>, <...
/*---------------------------------------------------------------------------- * Name: ulp_man.c * Purpose: Ultra Low Power Management * Code and data placed in SRAM3 (see scatter file) * SRAM3 is active during Ultra Low Power down. *------------------------------------------------------------...
/* misc.c * Stuff with no obvious other place to go; * mostly alphabet-related functions. * SRE, Mon Sep 6 10:50:46 1993 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "squid.h" #include "structs.h" #include "funcs.h" #ifdef MEMDEBUG #include "dbmalloc.h" #endif char...
#include "include/usbld.h" #include "include/lang.h" #include "include/util.h" #include "include/fntsys.h" #include "include/ioman.h" // Language support static char *internalEnglish[LANG_STR_COUNT] = { "English (internal)", " WELCOME TO OPEN PS2 LOADER. MAIN CODE BASED ON SOURCE CODE OF HD PROJECT <ht...
/* ----------------------------------------------------------------- */ /* The Speech Signal Processing Toolkit (SPTK) */ /* developed by SPTK Working Group */ /* http://sp-tk.sourceforge.net/ */ /* -----------------------------...
/* Copyright (c) 2019, <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 conditions and the following disclaimer...
/* * Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-only */ #include <czmq.h> #include <libmnl/libmnl.h> #include <linux/xfrm.h> #include <rte_common.h> #include <rte_log.h> #include <rte_timer.h> #include <stdio.h> #include <stdlib.h> #include <string.h>...
#include <string.h> #include <ctype.h> #include "std.h" #include "bits.h" #include "types.h" /*typedef struct instr *InstrPtr;*/ #include "decoder/decoder.h" #include "ssDCmd.h" #include "exportui.h" #include "coreui.h" #include "data.h" #include "libsym.h" #include "libcore.h" #include "sim.h" #include "fields.h" #inc...
#pragma once #include "_colspec.h" #define MAX_TABLE_NAME_LEN 128 bool gla_mod_storage_table_valid_name( const char *name); typedef struct methods_database methods_database_t; typedef struct abstract_table abstract_table_t; typedef struct methods_table methods_table_t; typedef struct methods_iterator methods_itera...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <openssl/evp.h> #include <openssl/engine.h> #include <openssl/hmac.h> #include "../vhsm_api_prototype/common.h" #include "../vhsm_api_prototype/mac.h" #include "../vhsm_api_prototype/digest.h" #define TEST_ENGINE_ID "test_engine" #define TEST_ENGINE_N...
/* * PicoDrive * (C) notaz, 2009,2010,2013 * * This work is licensed under the terms of MAME license. * See COPYING file in the top-level directory. */ #include "../pico_int.h" static int pwm_cycles; static int pwm_mult; static int pwm_ptr; static int pwm_irq_reload; static int pwm_doing_fifo; static int pwm_sil...
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* System module for Chrome EC : hardware specific implementation */ #include "cpu.h" #include "registers.h" #include "system.h" #include "tas...
/* +----------------------------------------------------------------------+ | PHP HTML Embedded Scripting Language Version 3.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997,1998 PHP Development Team (See Credits file) | +---------...
/* * cmd_gpt.c -- GPT (GUID Partition Table) handling command * * Copyright (C) 2012 Samsung Electronics * author: <NAME> <<EMAIL>> * author: <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 Fr...
/* * Copyright (C) 2017 by <NAME> (<EMAIL>) & <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ #include "margin.h" #include "htsIntegration.h" void writeParamFile(char *outputFilename, stRPHmmParameters *params) { // get file FILE *fd = fopen(outputFilename, "w"); if (fd == NU...
// init_data.c #include "init_data.h" // declare get_line function here to prevent from a compilation warning ssize_t getline(char **restrict lineptr, size_t *restrict n, FILE *restrict stream); nn_DataSet nn_loadDataSet(char *data_dir_path, bool verb_mode) { // alloc path strings char train_...
/***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2022 STMicr...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> #include <string.h> #define MAX 360 #define SUP 256 #define LIN 88 // struct hAshbOok { char name[99]; int next; } HB[MAX]; struct sImplIfymAp { char name[99]; struct sImplIfymAp* next; } *SM[MAX][MAX]; // int hash (ch...
/*********************************************************************************** * Copyright (c) 2012, <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 so...
#include "data.h" /** * Email validator. Minimum needs: (char) @ (char) . (char) */ bool isEmailValid( const char *email ){ char * tail = strchr(email, '@'); if( !tail ){ return false; } int tailLen = strlen(tail); int userLen = strlen(email) -tailLen; if( userLen < 1 ){ return false; } if( ...
/* * Fast Fourier transform test * * Copyright (c) 2016 Project Nayuki * https://www.nayuki.io/page/fast-fourier-transform-in-x86-assembly * * (MIT License) * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), t...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYIN...
#include <stdio.h> #include <time.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <stdint.h> #include <stdlib.h> #include <stdbool.h> #include <fcntl.h> #include <getopt.h> #include <string.h> #ifdef __MACH__ #include <mach/vm_statistics.h> #endif ...
/* * stat_period.c * * Created on: Oct 29, 2018 * Author: nhnghia * * gcc -g -o stat stat_period.c -I /opt/mmt/dpi/include -L /opt/mmt/dpi/lib -lmmt_core -ldl -lpcap * * Usage: * ./stat PATH_TO_PCAP_FILE * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/t...
/* AM2301 * Se encarga de comunicarse con el sensor AM2301, organizar los datos de temperatura y humedad * para luego enviarlos por cola */ #include <AM2301.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "freertos/queue.h" #include <string.h> #include "driver/...
#include "stuaa.h" #include "bbia.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <math.h> #define throw(MSG) fprintf(stderr, "%s\n", MSG) static const char * numerics = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/,"; //base64 // "0123456789ABCDEFGHIJKL...
// // Created by Gegel85 on 12/12/2018. // #include <stdlib.h> #include <string.h> #include <signal.h> #include <stdbool.h> #include <stdio.h> #include <discord_rp.h> #include <discord_rpc.h> #include <macros.h> #include <utils.h> #include "globals.h" #include <fcntl.h> #include <limits.h> #include <context.h> #includ...
/* Copyright (c) 2012, <NAME> <<EMAIL><AT><EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, thi...
#include <fudge.h> #include <kernel.h> #include <kernel/x86/cpu.h> #include <kernel/x86/gdt.h> #include <kernel/x86/idt.h> #include <kernel/x86/tss.h> #include <kernel/x86/arch.h> #include <modules/arch/x86/cpuid/cpuid.h> #include <modules/arch/x86/msr/msr.h> #include <modules/arch/x86/pic/pic.h> #include "apic.h" #de...
/* * Copyright (c) 2017 ASMlover. 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 ofconditions ...
/* u8g2_button.c Universal 8bit Graphics Library (https://github.com/olikraus/u8g2/) Copyright (c) 2016, <EMAIL> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of so...
/* * 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...
/* SPDX-License-Identifier: GPL-2.0 */ #define _GNU_SOURCE #include <errno.h> #include <fcntl.h> #include <linux/types.h> #include <sched.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <syscall.h> #include <sys/mount.h> #include <sys/wait.h> #include <unistd.h> #include ".....
/* * Copyright (c) 2021 <NAME> * This file is part of DSiWifi and is distributed under the MIT license. * See dsiwifi_license.txt for terms of use. */ #include "rpc.h" #include <nds.h> #include <nds/ndstypes.h> #include <fat.h> #include "lwip/tcp.h" #include "utils.h" #define RPC_PORT (8336) #define RPC_CMD_NO...
/***************************************************************************** * patch10a.c - Routines to apply patches & lib extensions to Ani Pro v1.0. * * This module requires a POCOLIB.H file dated 01/13/92 or later. ****************************************************************************/ #pragma au...
#include "mex.h" #include "math.h" #include "matrix.h" #include "float.h" /* * RLobserver_covert_mex.c * *RLOBSERVER_COVERT Responses and log likelihoods for covert RL observer. * * ================ INPUT VARIABLES ==================== * PARAMETERS: sensory noise and learning rate. [1,2] (double) * SIGMA: combi...
/* 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, software distributed under the License i...
#include <util/dstr.h> #include <util/darray.h> #include <util/crc32.h> #include "find-font.h" #include "text-freetype2.h" #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <shellapi.h> #include <shlobj.h> extern DARRAY(struct font_path_info) font_list; extern void save_font_list(void); struct mac_font_mappi...
/* ****************************************************************************** ** CarMaker - Version 10.2.1 ** Vehicle Dynamics Simulation Toolkit ** ** Copyright (C) IPG Automotive GmbH ** Bannwaldallee 60 Phone +49.721.98520.0 ** 76185 Karlsruhe Fax ...
/* bst.c * A simple binary search tree. This one is unbalanced, and is just to serve as * a starting point for working on the balanced tree. * * Supports the basic operations of search, insert, and get by index (rank). * * Does not support the insertion of duplicate items. * * <NAME> * 12/30/2020 */ #include...
/** * TODO: */ #include "aoldaq_core.h" aoldaq_t *aoldaq_create_instance(aoldaq_args_t *p_args) { aoldaq_t *p_state = malloc(sizeof(aoldaq_t)); // Allocate data for our FIFOs p_state->p_data_txs = malloc(sizeof(os_pipe_producer_t*) * p_args->n_channels); p_state->p_data_rxs = malloc(sizeof(os_pipe_...
#ifdef FEMZIP_LCASE_USCORE #define GEOMETRY_READ geometry_read_ #define FEMUNZIPLIB_VERSION femunziplib_version_ #define FEMUNZIPLIB_VERSION_FILE femunziplib_version_file #define STATES_READ states_read_ #define GLOBAL_READ global_read_ #define DISP_READ_ONLY disp_read_only_ #define STATES_CLOSE states_close_ #define C...
/* genePredSingleCover - create single-coverage genePred files */ #include "common.h" #include "options.h" #include "chromBins.h" #include "binRange.h" #include "genePred.h" #include "genePredReader.h" #include "geneScore.h" #include "hash.h" #include "localmem.h" #include "linefile.h" #include "verbose.h" /* Command...
/* This file is part of uwt, released under the MIT license. See LICENSE.md for details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */ #include "config.h" #include <uv.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <ctype.h> #include "uwt-back-errno.h"...
// SPDX-License-Identifier: GPL-2.0 /* * Interface between pxt4 and JBD */ #include "pxt4_jbd3.h" #include <trace/events/pxt4.h> /* Just increment the non-pointer handle value */ static handle_t *pxt4_get_nojournal(void) { handle_t *handle = current->journal_info; unsigned long ref_cnt = (unsigned long)handle; ...
#include "common.h" #include "code.h" #include "sym.h" #include "machine.h" #include "mem.h" int gen_table2; /* generate type two tables */ struct machine_node *machine = NULL; static int depth; static void machineGen2(struct machine_node *); static int MachineNumber(struct machine_node *, int); struct _mem match_me...
/* * SPDX-FileCopyrightText: 2020 Efabless Corporation * * 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 appl...
/******************************************************************************* * (c) 2019 <NAME> * * * 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/license...
/************************************************************************** * * Copyright 2011 <NAME>. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without ...
/* HTTPS GET Example using plain mbedTLS sockets * * Contacts the howsmyssl.com API via TLS v1.2 and reads a JSON * response. * * Adapted from the ssl_client1 example in mbedtls. * * Original Copyright (C) 2006-2016, ARM Limited, All Rights Reserved, Apache 2.0 License. * Additions Copyright (C) Copyright 2015-...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...