text
stringlengths
5.8k
28.2k
/*****************************************************************************/ /* */ /* function.c */ /* */ ...
/********************************************************** * Copyright 2008-2009 VMware, 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 * restrict...
#pragma once #include <ntddk.h> #define IMAGE_DOS_SIGNATURE 0x5A4D // MZ #define IMAGE_NT_SIGNATURE 0x00004550 // PE00 #define IMAGE_NT_OPTIONAL_HDR32_MAGIC 0x10b #define IMAGE_NT_OPTIONAL_HDR64_MAGIC 0x20b #define IMAGE_NUMBEROF_DIRECTORY...
#include <stdio.h> #include "lwprintf/lwprintf.h" #include <string.h> #include <stdint.h> #include "windows.h" typedef struct { char* format; /*!< Input format */ char* input_data; /*!< Input parameters */ char* p_orig; /*!< Result with built-in library */ ...
/* * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" /* * usr/src/cmd/cmd-inet/usr.bin/telnet/auth.c */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution a...
/* * 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...
#include "worldgen.h" #include "../chunk.h" #include "../world.h" #include "noise.h" #define RADIAL2I(c, r, v) \ (glms_vec2_norm (glms_vec2_sub (vec2i2f ((c)), vec2i2f ((v)))) \ / glms_vec2_norm (vec2i2f ((r)))) #define RADIAL3I(c, r, v) ...
/** * Functions for reading/writing ANALYZE75 files. * * Author: <NAME> <<EMAIL>> */ #include <math.h> #include <float.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include "io/analyze75.h" #include "io/nifti1.h" #include "util/suffix.h" #include "util/filesize.h" #include "ut...
/* pong.c Author: makeworld Date: 2019-01 License: GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html) TODO: - Set DELAY to be based on terminal width - Test bouncing on the edge of the paddles - Add a splash screen on start - Optimize ball speed and gameplay in general - Upload to Github - Add flash? -...
/** ****************************************************************************** * @file Examples_LL/RTC/RTC_Alarm_Init/Src/main.c * @author MCD Application Team * @brief This example code shows how to use STM32L0xx RTC LL API to configure * an alarm. * Peripheral initializat...
/* This file is part of SAIL (https://github.com/smoked-herring/sail) Copyright (c) 2021 <NAME> The MIT License 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 restr...
/* ncdu - NCurses Disk Usage Copyright (c) 2007-2018 <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, mo...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #define _GNU_SOURCE #include <assert.h> #include <linux/futex.h> #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <syscall.h> #include <time....
#include "clar_libgit2.h" #include "wildmatch.h" #define assert_matches(string, pattern, wildmatch, iwildmatch, pathmatch, ipathmatch) \ assert_matches_(string, pattern, wildmatch, iwildmatch, pathmatch, ipathmatch, __FILE__, __LINE__) static void assert_matches_(const char *string, const char *pattern, char expe...
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <time.h> #include <sys/types.h> #include <sys/socket.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <sys/time.h> #include <sys/select.h> #include <sys/stat.h> #include <math.h> #define DOMAINE AF_INET...
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.115 2006/10/06 17:14:00 petere Exp $ */ #include "postgres_fe.h" #include <signal.h> #ifndef WIN32 #ifdef HAVE_PWD_H #include <pwd.h> /* for getpwuid...
/* * cmdargs.c * * $Id: cmdargs.c,v 1.2 2006/08/25 03:58:45 sheneman Exp $ * ***************************************************************************** * * Copyright (c) 2004, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
/* This code is public-domain - it is based on libcrypt * placed in the public domain by <NAME> and other contributors. */ // gcc -Wall -DSHA1TEST -o sha1test sha1.c && ./sha1test #include <stdint.h> #include <string.h> #include "sha1.h" #ifdef __BIG_ENDIAN__ # define SHA_BIG_ENDIAN #elif defined __LITTLE_ENDIAN__ ...
/** * Baseband * * Various functions for baseband sample processing * * Copyright (C) 2012 by <NAME> <<EMAIL>> * Copyright (C) 2015 <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 Foundat...
//===-- boards/lacc.c ---------------------------------------------*- C -*-===// // // The Leigun Embedded System Simulator Platform : modules // // 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 o...
/* * Copyright © 2014 <NAME> <<EMAIL>> * This program is free software. It comes without any warranty, to the extent * permitted by applicable law. You can redistribute it and/or modify it under * the terms of the Do What The Fuck You Want To Public License, Version 2, as * published by Sam Hocevar. See the COPYIN...
/* falab - free algorithm lab Copyright (C) 2012 luolongzhi 罗龙智 (Chengdu, China) 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 l...
/* $Id$ */ /* * Copyright (c) 2005-2009 <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, t...
/** * covariance.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <sys/time.h> #include ...
/** \file vectors.c * \brief STM32 vector table and __Default_Handler() * \details STM32 vector table and __Default_Handler() * \author <NAME> * \compiler: arm-none-eabi-gcc 4.3.3 ******************************************************************************/ /*-----------------------------------------------------...
/* sshclient.c Authors: <NAME> <<EMAIL>> <NAME> <<EMAIL>> <NAME> <<EMAIL>> <NAME> <<EMAIL>> Copyright (C) 1997-1998 SSH Communications Security Oy, Espoo, Finland All rights reserved. SSH client functionality for processing a connection. Most of the implementation is act...
/* * SpookyHash: a 128-bit noncryptographic hash function * By <NAME>, public domain * Oct 31 2010: alpha, framework + SpookyHash::Mix appears right * Oct 31 2011: alpha again, Mix only good to 2^^69 but rest appears right * Dec 31 2011: beta, improved Mix, tested it for 2-bit deltas * Feb 2 2012: produc...
#include <u.h> #include <9pm/libc.h> #include <9pm/regexp.h> #include "regcomp.h" #define TRUE 1 #define FALSE 0 /* * Parser Information */ typedef struct Node { Reinst* first; Reinst* last; }Node; #define NSTACK 20 static Node andstack[NSTACK]; static Node *andp; static int atorstack[NSTACK...
/******************************************************************************* * Ledger Stellar App * (c) 2017-2018 Ledger * * 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 * *...
#include "headers.h" static uint64_t get_prefix_for_item(char *item) { struct item_metadata *meta = (struct item_metadata *)item; char *item_key = &item[sizeof(*meta)]; return *(uint64_t*)item_key; } // TODO: do a per thread structure! static btree_t **items_locations; // Main index static btre...
// ============================================================================ // Copyright (c) 2013, FORTH-ICS / CARV // (Foundation for Research & Technology -- Hellas, // Institute of Computer Science, // Computer Architecture & VLSI Systems Laboratory)...
/* ** Copyright (C) 2006-2020 by Carnegie Mellon University. ** ** @OPENSOURCE_LICENSE_START@ ** See license information in ../../LICENSE.txt ** @OPENSOURCE_LICENSE_END@ */ #include <silk/silk.h> RCSIDENT("$SiLK: rwscan_utils.c ef14e54179be 2020-04-14 21:57:45Z mthomas $"); #include "rwscan.h" /* TYPEDEFS AND DEFI...
/* * Real Audio 1.0 (14.4K) * Copyright (c) 2003 the ffmpeg project * * 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 Licen...
// SPDX-License-Identifier: GPL-2.0 /* * Intel Cherry Trail ACPI INT33FE pseudo device driver * * Copyright (C) 2017 <NAME> <<EMAIL>> * * Some Intel Cherry Trail based device which ship with Windows 10, have * this weird INT33FE ACPI device with a CRS table with 4 I2cSerialBusV2 * resources, for 4 different chip...
/* * Copyright 2018 NXP * * SPDX-License-Identifier: BSD-3-Clause */ #include <debug.h> #include <ddrc.h> #include <dram.h> #include <mmio.h> unsigned fsp_init_reg[3][4] = { { DDRC_INIT3(0), DDRC_INIT4(0), DDRC_INIT6(0), DDRC_INIT7(0) }, { DDRC_FREQ1_INIT3(0), DDRC_FREQ1_INIT4(0), DDRC_FREQ1_INIT6(0), DDRC_FREQ...
/* * Copyright (c) 2015 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...
#include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #include <limits.h> #include <unistd.h> #include <X11/Xlib.h> #include <X11/extensions/XInput2.h> #include <X11/extensions/Xrandr.h> #include "input.h" #include "display.h" #include "xrestrict.h" #define INVALID_DEVICE_ID -1 #define MAX_A...
/* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android © Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION The Fraunhofer FDK AAC Codec Lib...
/***************************************************************************** * * File: ifdSampler.c * Author: <NAME>, <NAME> * Created: June 2018 * * Improved fixed density (IFD) ERGM distribution sampler * * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., & Lomi, * A. (2016). Auxiliary parameter MCMC for ...
/******************************************************************************* Copyright (c) 2018-2021, Intel Corporation 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 r...
// // Copyright (c) 2013 <NAME> <EMAIL> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose, // including commer...
/* Copyright (C) 2001-2021 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
/* * drivers/dma/fsl_raid.h * * Freescale RAID Engine device driver * * Author: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Rewrite: * <NAME> <<EMAIL>> * Copyright (c) 2010-2012 Freescale Semiconductor, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" #include <a.out.h> int shargs(char*, int, char**); long sysr1(ulong *arg) { xsummary(); print("[%s %s %d] r1 = %d\n", u->p->user, u->p->text, u->p->pid, arg[0]); return 0; } long sysrfork(ulong *...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/* SMF player engine Copyright 1999 by <NAME> <<EMAIL>> Jan.29.2000 Oct.16.2002 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 th...
/*!/usr/bin/perl */ /*------------------------------------------------------------------ */ /* Iterate through parameter coefficients of a^3 + b^3 + c^2 = d^3 */ /* @(#) Id: cubic5.pl 170 2009-06-18 06:43:42Z gfis */ /* 2009-06-12: x4...x0 for Vieta */ /* 2009-06-10, <NAME>: copied from parm2.pl */ /* Usage: */ /* ...
/* Title: Parse PacBio Alignement main Author: <NAME> Version: 28th July 2021, 10:15 (GMT+1) Notes: - TODO: memory allocation checks - TODO: dynamic memory for parseCS */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include "libsccodon.h" #defin...
/** * @file hsm_machine.c * * \internal * Copyright (c) 2012, everMany, LLC. * All rights reserved. * * Code licensed under the "New BSD" (BSD 3-Clause) License * See License.txt for complete information. */ #include "hsm_machine.h" #include <assert.h> #include <stdlib.h> #include <memory.h> ...
#include <errno.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <signal.h> #include <string.h> #include <assert.h> #include <sys/wait.h> #include <sys/types.h> #include "proc-common.h" #include "request.h" /* Compile-time parameters. */ #define SCHED_TQ_SEC 2 /* time quantum */ ...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2019 Intel Corporation */ #include "opae_osdep.h" #include "opae_i2c.h" static int i2c_transfer(struct altera_i2c_dev *dev, struct i2c_msg *msg, int num) { int ret, try; for (ret = 0, try = 0; try < I2C_XFER_RETRY; try++) { ret = dev->xfer(dev, ms...
// ---------------------------------------------------------------------- // // ▐ ▄ ▪ ▐ ▄ ▄ •▄ ▄▄▄· .▄▄ · ▪ // •█▌▐███ •█▌▐██▌▄▌▪▐█ ▀█ ▐█ ▀. ██ // ▐█▐▐▌▐█·▐█▐▐▌▐▀▀▄·▄█▀▀█ ▄▀▀▀█▄▐█· // ██▐█▌▐█▌██▐█▌▐█.█▌▐█ ▪▐▌▐█▄▪▐█▐█▌ // ▀▀ █▪▀▀▀▀▀ █▪·▀ ▀ ▀ ▀ ▀▀▀▀ ▀▀▀ // // -------------------------...
/* How to compile for DOS (unreal/.EXE, 32-bit DPMI/.EXE): smlrcc -dosu vesalfb.c -o vesalfbu.exe smlrcc -dosp vesalfb.c -o vesalfbp.exe */ #ifndef _DPMI #ifndef __UNREAL__ #error Must be compiled as a DOS/Unreal or DOS/DPMI program #endif #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #in...
#include <all.h> uint8_t clientmode = 0; char clientmode_server[1024]; uint16_t clientmode_port = 8080; #ifndef WINDOWS void webclient_mavlink_get(char *server, uint16_t port) { int sockfd; int n = 0; char tmp_str[1024]; char sendline[1024]; char recvline[5001]; struct sockaddr_in servaddr; if ((sockfd = soc...
/* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * 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, ...
#define _GNU_SOURCE #include <limits.h> #include <time.h> #include <stdio.h> #include <dlfcn.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/stat.h> #include <openssl/md5.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #ifndef LOFFILE #define LOGFILE "//home/apfel/Deskt...
#include "functions.h" int convert_x(int id){ int x; if (id % 10 == 0) id--; x = 3*(id/10) +1; return x; } int convert_y(int id){ int y; if (id % 10 == 0){ y = 28; return y; } y = 3 * (id%10) - 2; return y; } void create_matrix(char mat[TAM][TAM]){ memset(mat, '-', sizeof(mat[0][0])*TAM*TAM); int k ...
/* * xenapi_utils.c: Xen API driver -- utils parts. * Copyright (C) 2011-2014 Red Hat, Inc. * Copyright (C) 2009, 2010 Citrix Ltd. * * 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;...
/* id_uvc.c: Interdata universal clock Copyright (c) 2001-2012, <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 ...
#include "compiler.h" #include "getsnd.h" #if defined(__GNUC__) typedef struct { char head[4]; UINT8 size[4]; char fmt[4]; } __attribute__ ((packed)) RIFF_HEADER; typedef struct { char head[4]; UINT8 size[4]; } __attribute__ ((packed)) WAVE_HEADER; typedef struct { UINT8 format[2]; UINT8 ch...
/* LMDEREX - A MATLAB MEX Interface to LMDER * Released Under the BSD 3-Clause License: * http://www.i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/License * * Copyright (C) <NAME> 2011-2013 * www.i2c2.aut.ac.nz */ #include "mex.h" #include <time.h> #include "opti_util.h" #ifdef LINK_MKL #include "mkl.h" #endif //Fu...
/* * mlehash.c: tool to determine the hash of a Intel(R) TXT MLE * * Copyright (c) 2006-2014, 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: * * * Redistributions ...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 <NAME> 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.1 of the License, or (at your o...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1997 - 1999 // // File: ntdsctr.h // //-------------------------------------------------------------------------- // // NTDSCTR.h // // Offset definiti...
#include "asf.h" #include "asf_test.h" #include <ctype.h> static int strindex(char s[], char t[]) { int i, j, k; for (i=0; s[i]!='\0'; i++) { for (j=i, k=0; t[k]!='\0' && s[j]==t[k]; j++, k++) ; if (k>0 && t[k]=='\0') return i; } return -1; } static char *read_param(char *line) { int i,...
/* * Copyright(c) 2021 <NAME> * Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. * * SPDX-License-Identifier: Apache-2.0 * * 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 Licens...
#include <rthw.h> #include <rtthread.h> #include <rtdevice.h> #include <u8g2_port.h> #include "lunar_calendar.h" #include "qrcode_array.h" #include "defines.h" extern rt_uint8_t RUN_FLAG; #define WIDTH_T 296 #define HEIGHT_T 128 #define DAYS_AREA_WIDTH 76 #define QRCODE_WIDTH 100 #def...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "common.h" #include "options.h" #include "encoder.h" #include "mem.h" #include "fft.h" #include "ath.h" #include "psycho_4.h" /**************************************************************** PSYCHO_4 by MFC Feb 2003 This is a clean...
/* * File - local2.c */ #define MINI #include "cgen.h" void sub_C57(member_t *); uint8_t sub_14F3(node_t *); node_t *sub_3EAA(node_t *); node_t *sub_43EF(uint8_t, node_t *, node_t *); node_t *sub_54B6(node_t *); node_t *sub_5DF6(node_t *); node_t *sub_5F52(node_t *); bool ...
/* XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS) Get song length from SLDB for PSID/RSID files Programmed and designed by Matti 'ccr' Hamalainen <<EMAIL>> (C) Copyright 1999-2009 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify ...
/*!The Treasure Box Library * * 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 ...
/* $Id: mode.c,v 1.29 2008/11/06 20:45:13 pekberg Exp $ ****************************************************************************** Display-palemu: mode management Copyright (C) 1998 <NAME> [<EMAIL>] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
/*- * Free/Libre Near Field Communication (NFC) library * * Libnfc historical contributors: * Copyright (C) 2009 <NAME> * Copyright (C) 2009-2013 <NAME> * Copyright (C) 2010-2012 <NAME> * Copyright (C) 2010-2013 <NAME> * Copyright (C) 2012-2013 <NAME> * See AUTHORS file for a more comprehensive list of co...
/* * Author: <NAME> * Copyright (c) 2019, Private Octopus, Inc. * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THIS SOFTWARE ...
#include <stdlib.h> #include <string.h> #include "elliptic/AffinePoint.h" // References: // * [Guide-to-ECC] <NAME>, <NAME>, and <NAME>. // 2010. Guide to Elliptic Curve Cryptography (1st ed.). Springer Publishing // Company, Incorporated. // * [Intro-to-IBE] <NAME>. 2008. Introduction to Identity-Based // ...
#include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <errno.h> #include <fcntl.h> #include <assert.h> #include <inttypes.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <stdio.h> #include <time.h> #include "./hashring.h" #include "./buffer.h" #include "./log.h" #include "...
#include "call_ffi.h" #include "obj_string.h" #include "eval.h" #include "assertions.h" #include "obj_conversions.h" #include "primops.h" #include "../shared/types.h" #include "env.h" #define ALLOW_SENDING_LAMBDA_TO_FFI 1 #define LABELED_DISPATCH 0 void call_lambda_from_ffi(ffi_cif *cif, void *ret, void *args[], Lamb...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: ...
#include "xmlrpc_config.h" #include <time.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <assert.h> #include <stdio.h> #if MSVCRT #include <windows.h> #endif #include "bool.h" #include "xmlrpc-c/c_util.h" #include "xmlrpc-c/base.h" #include "xmlrpc-c/base_int.h" #include "xmlrpc-c/string_int....
/*-------------------------------------------------------------------- This source distribution is placed in the public domain by its author, <NAME>. You may use it for any purpose, free of charge, without having to notify anyone. I disclaim any responsibility for any errors. Optionally, please be nice and tell me if ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* MD_MAX72xx - Library for using a MAX7219/7221 LED matrix controller See header file for comments This file contains library related definitions and is not visible to user code. Copyright (C) 2012-14 <NAME>. All rights reserved. This library is free software; you can redistribute it and/or modify it under the ter...
//===--- swift-reflection-test.c - Reflection testing application ---------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* * Copyright (c) 2012-2014 Wind River Systems, Inc. * Copyright (c) 2020 Arm Limited * Copyright (c) 2021 Nordic Semiconductor ASA * * 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 * ...
/*------------------------------------------------------------------------- * * combocid.c * Combo command ID support routines * * Before version 8.3, HeapTupleHeaderData had separate fields for cmin * and cmax. To reduce the header size, cmin and cmax are now overlayed * in the same field in the header. Tha...
/* * Copyright 1998-2021 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. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
/* NEURAL NETWORK OMP CPU7.c * by Lut99 * * Created: * 4/18/2020, 11:25:46 PM * Last edited: * 19/11/2020, 17:19:47 * Auto updated? * Yes * * Description: * The NeuralNetwork class implements a matrix-based Feedforward Neural * Network which is hardcoded to use Mean Squared Error for cost functi...
/* * jctrans.c * * This file was part of the Independent JPEG Group's software: * Copyright (C) 1995-1998, <NAME>. * Modified 2000-2009 by <NAME>. * It was modified by The libjpeg-turbo Project to include only code relevant * to libjpeg-turbo. * For conditions of distribution and use, see the accompanying READM...
/* e_powf.c -- float version of e_pow.c. * Conversion to float by <NAME>, Cygnus Support, <EMAIL>. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, cop...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. */ #include <linux/edac.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include <linux/soc/qcom/llcc-qcom.h> #include ...
/****************************************************************************** * * Copyright (C) 2009 - 2014 Xilinx, 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...
/* Copyright (C) 2006-2011 <NAME> <<EMAIL>>, <NAME> <<EMAIL>> This file is part of Siproxd. Siproxd 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...
#pragma once #include <stdlib.h> // atoi #include <stdio.h> // printf #include <string.h> #include <limits.h> #include <inttypes.h> #include <png.h> #include <jpeglib.h> #include <stdlib.h> #include "build.h" #define CODEC_INVALID 0 #define CODEC_AUTO 1 // File formats #define CODEC_JPEG 2 #define CODEC_PNG ...
// SPDX-License-Identifier: GPL-2.0+ /* * comedi/drivers/cb_pcimdas.c * Comedi driver for Computer Boards PCIM-DAS1602/16 and PCIe-DAS1602/16 * * COMEDI - Linux Control and Measurement Device Interface * Copyright (C) 2000 <NAME> <<EMAIL>> */ /* * Driver: cb_pcimdas * Description: Measurement Computing PCI Mig...
/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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.1 of the...
/* * Generation of RSA keypairs. */ /* nettle, low-level cryptographics library * * Copyright (C) 2002 <NAME> * Copyright (C) 2014 Red Hat * * The nettle 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 S...
// Copyright 2018 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #include "boot-shim.h" #include <lib/zbi/zbi.h> #include <limits.h> #include <stdbool.h> #include <stddef.h> #include <string.h> ...
/** * \copyright * MIT License * * Copyright (c) 2021 Infineon Technologies AG * * 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 ...
#include <stdlib.h> #include <math.h> #include "Math.h" struct LinkedList* LinkedList_new( void *value ) { struct LinkedList *p = malloc(sizeof(struct LinkedList)); p->next = 0; p->prev = 0; p->value = value; return p; }; struct LinkedListHeader* LinkedListHeader_init( struct LinkedListHeader *s...
/* $NetBSD: emit1.c,v 1.44 2021/04/18 20:02:56 rillig Exp $ */ /* * Copyright (c) 1996 <NAME>. All Rights Reserved. * Copyright (c) 1994, 1995 <NAME> * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...