text
stringlengths
5.8k
28.2k
/* ** Copyright 2003-2010, VisualOn, 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...
/* ITU-T G.729 Software Package Release 2 (November 2006) */ /* ITU-T G.729A Annex B ANSI-C Source Code Version 1.3 Last modified: August 1997 Copyright (c) 1996, France Telecom, Rockwell International, Universite de Sherbrooke. All rights reserved. */ /* DTX and Comf...
/* Copyright (C) 2007 <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 copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <getopt.h> #include <pthread.h> #include <signal.h> #include <setjmp.h> #include <unistd.h> #include <time.h> #include <sys/time.h> #include <sys/timerfd.h> #include "i2c.h" #define N(x) (sizeof(x)/sizeof(*x))...
/* Copyright © INRIA 2009-2014. Authors: <NAME> & <NAME> Contact: <EMAIL> <EMAIL> This file is part of Yael. Yael 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 ...
/* * Description: * History: <EMAIL>, 2016/03/20, create */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "nw_log.h" #include "nw_svr.h" // 创建socket的服务端 static int create_socket(int family, int sock_type) { //创建socket // sockfd指 socket file description, 套接字连接的文件句柄(描述符) int sockfd ...
/* * Copyright (C) 2014-2022 Yubico AB - See COPYING */ #define BUFSIZE 1024 #define PAM_PREFIX "pam://" #define TIMEOUT 15 #define FREQUENCY 1 #include <fido.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <unistd.h> #include <sys/types.h> #include <pwd.h> #include <err....
/* * The MIT License (MIT) * * Copyright (c) 2017 <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,...
/* bandExt - banded Smith-Waterman extension of alignments. * An aligner might first find perfectly matching hits of * a small size, then extend these hits as far as possible * while the sequences perfectly match, then call on routines * in this module to do further extensions allowing small * gaps and mismatches...
/* * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001, 2003 Internet Software Consortium. * * 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 an...
#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <sys/mman.h> #include <stdint.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/limits.h> #include <endian.h> #include "javabci.h" static char magic[] = { 0xca, 0xfe, 0xba, 0xbe }; ...
#include "tldevel.h" #include "tllogsum.h" #include <string.h> #include "null_model_emission.h" #include "pst_hash.h" #include "pst.h" struct pst_node{ struct pst_node* next[20]; float probability[20]; char* label; int label_len; }; #include "pst_structs.h" static int init_pst(s...
#include <stdio.h> #include <string.h> #include <ctype.h> #include <time.h> #include <math.h> #define FALSE 0 #define TRUE 1 #define MAX 999 #define LOTOFTEXT 0 void date(); // Set a date for a doctor’s appointment void write(char* ); //Function to write a lot of text in a .txt file void doctor(); void header(); //Prin...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include "Maxfiles.h" #include "MaxSLiCInterface.h" #include<time.h> #include <stdint.h> #include "dbg.h" #include "def.h" #include "func.h" #include <stdint.h> //#include <MaxCompilerRT.h> //#include "Maxfiles.h" // Includes .max files //#i...
#include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "swGotoh.h" #include "sw.h" #include "nw.h" GotohGrids sw_gotoh(char *seq1, unsigned long len1, char *seq2, unsigned long len2, BestCell *bestCell) { // Initialise cell decision table CellDecision** decisions = malloc(size...
// Generated by HLC 4.2.1 (HL v4) #define HLC_BOOT #include <hlc.h> #include <_std/Type.h> #include <hl/natives.h> extern hl_bytes_map* g$__types__; extern hl_type t$hl_Class; extern hl_type t$_dyn; extern hl_type t$String; void Type_register(vbyte*,hl__BaseType); #include <hl/types/ArrayObj.h> extern hl_type t$hl_Enu...
//--------------------------------------------------------------------------- // Copyright (C) 2000 Dallas Semiconductor Corporation, 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"), // t...
#include "Bootloader.h" #include "Drivers/program_flash.h" //data types //global vars -- this guy is placed at the end of RAM, 0x20007FF8. This is 8 bytes from the end, which is the size of the struct. shared_bootloader_data __attribute__((section(".BootloaderSharedData"))) SharedData; uint8_t bootloaderMode...
#include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <ctype.h> #include <dirent.h> #include <err.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <pwd.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <syslog.h> #include <unistd.h> #...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * This notice applies to any and all portions of this file * that are not...
/* * eink.c * * Revision Log : * - 0.0.1 (Nov/2016) Module created MilosV * - 0.0.2 (Jan/2017) Documentation added MilosV * - 0.0.3 (Jan/2020) Modified MK * To Do List : * @todo * ************************************************************...
/* $OpenBSD: ocsp.c,v 1.8 2015/12/07 12:46:37 reyk Exp $ */ /* * Copyright (c) 2014 <NAME> * Copyright (c) 2005 <NAME> * * 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 a...
/* * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * * Licensed under the Universal Permissive License v 1.0 as shown * at http://oss.oracle.com/licenses/upl */ /* * Time how fast we can insert data into a table in a private data store. * * This program times the various aspects ...
#include "util_request.h" char *query(char *str_request, size_t int_request_length, size_t *int_query_length) { char *str_return = NULL; SDEFINE_VAR_ALL(str_uri); // find the form_data by request type if (strncmp(str_request, "GET ", 4) == 0) { size_t int_uri_length = 0; str_uri = str_uri_path(str_request, in...
/****************************************************************************** * Copyright (c) 2004, 2008 IBM Corporation * All rights reserved. * This program and the accompanying materials * are made available under the terms of the BSD License * which accompanies this distribution, and is available at * http:...
// Basic Assembler // Copyright (c) 2021-2 <NAME> // Assembler tokens. #include <string.h> #include <assert.h> #include "token.h" BOOL token_is_directive(int tok) { return tok >= TOK_ALIGN && tok <= TOK_UDATASEG; } BOOL token_is_opcode(int tok) { return tok >= TOK_AAA && tok <= TOK_XOR; } BOOL token_is_repeat(i...
/** * @file * @author <NAME> * @copyright Copyright 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/licenses/LICENSE-2.0 * * Unless required by a...
/* loopback, talkback and GPIO test client * * This is part of the PVH-ESP8266_AT_Arduino library * * To be used in combination with the pvh_ESP8266_Shield_loopback.ino or * pvh_ESP8266_Shield_talkback.ino or pvh_ESP8266_Shield_SoftAP_gpio or * pvh_ESP8266_Shield_Server_gpio sketch (version 1.0)) on the Ardui...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include "fitsio.h" #include "input.h" static const char* USAGE = "usage: srcim [-0c] [-p PTSFILE] [-a ANCFILE] [-d PAD] \n" " OUTFITS INFILE IMFITS0 [IMFITS1 ...]"; // subsampling #ifndef NSUB #define NSUB 32 #endif // value ...
/************************************************************************ * NCSA HTTPd Server * Software Development Group * National Center for Supercomputing Applications * University of Illinois at Urbana-Champaign * 60<NAME>, Champaign, IL 61820 * <EMAIL> * * Copyright (C) 1995, Board of Trustees of the U...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* This file is part of the libopencm3 project. * * It was generated by the irq2nvic_h script. * * This part needs to get included in the compilation unit where * blocking_handler gets defined due to the way #pragma works. */ /** @defgroup CM3_nvic_isrdecls_LM3S User interrupt service routines (ISR) defaults fo...
/*- * Copyright (c) 2004 <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...
/* Copyright (c) 2008-2010 <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, including without limitation the rights to use, copy, modify, merge, publish, dist...
/* * (C) Gražvydas "notaz" Ignotas, 2006-2012 * * This work is licensed under the terms of any of these licenses * (at your option): * - GNU GPL, version 2 or later. * - GNU LGPL, version 2.1 or later. * - MAME license. * See the COPYING file in the top-level directory. */ #include <stdio.h> #include <stdl...
/* * 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 "dyn_array.h" // Flag values // SHRUNK to indicate shrink_to_fit was called and size needs to be corrected // SORTED to track if the objects have been sorted by us (sorted is set by sort and unset by insert/push) // these are just ideas // typedef enum {NONE = 0x00, SHRUNK = 0x01, SORTED = 0x02, ALL = 0xFF} D...
/* * $QNXLicenseC: * Copyright 2009, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICENSE-2.0...
#include "genelBasliklar.h" #include "basliklar.h" void paketIsle(const u_char *, int); void veridenDosyaya(u_char *, int, FILE *); void eternettenDosyaya(const u_char *, FILE *); void ipdenDosyaya(const u_char *, int, FILE *); void tcpDenDosyaya(const u_char *, int); void udpDenDosyaya(const u_char *, int);...
/* Copyright (c) 20XX 9front * * 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, distri...
/* * Copyright (c) 2009-2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011-2012 Los Alamos National Security, LLC. All rights * reserved. * * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "orte_config.h" #include "orte/constants.h" #i...
#include "param.h" #include "types.h" #include "defs.h" #include "x86.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "elf.h" extern char data[]; // defined by kernel.ld pml4e_t *kpml4; // for use in scheduler() //struct segdesc gdt[NSEGS]; __thread struct cpu *cpu; __thread struct proc *proc;...
#include <stdio.h> #include <unistd.h> #include <string.h> #include <stdbool.h> #include <assert.h> /*libbtc includes*/ #include <btc.h> #include <tx.h> #include <bip32.h> #include <base58.h> #include <ecc.h> #include <tool.h> #include <utils.h> #include "system.h" #include "altera_avalon_pio_regs.h" ...
/* * libwebsockets - small server side websockets and web server implementation * * Copyright (C) 2010 <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: * ver...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* * basic types */ typedef signed char int8; typedef unsigned char uint8; typedef signed short int16; typedef unsigned short uint16; typedef signed int ...
#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...
/* wvWare * Copyright (C) <NAME>, <NAME>, and others * * 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 ...
/* ************************************************************************** Author: <NAME> Roll: 14CS10008 Assignment 2, Part-2 OS Lab Spring 2017 Problem Statement: Make a mini shell. ************************************************************************** */ #include <stdio.h> #include <stdlib.h> #include <unist...
/* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select,...
/* * Copyright 2014 The guava Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ #include "guava_request.h" #include "guava_string.h" #include "guava_conn.h" #include "guava_server.h" #include "guava_response.h" #include "guava_han...
/* Copyright (c) 2017, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the...
/* $Id: flying_ggis.c,v 1.19 2007/12/28 13:38:37 cegger Exp $ ****************************************************************************** Flying-GGIs - Another neat GGI demo... Authors: 1998 <NAME> [<EMAIL>] This software is placed in the public domain and can be used freely for any purpose. It co...
/** * @file socketio.c * * @author <NAME> (<EMAIL>) * * @brief SocketIO client library for ESP-IDF framework. * * @version 1 * * @date 2022-01-10 * * @copyright Copyright (c) 2022, <NAME> * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file...
#include <string.h> #include <stdint.h> #include <math.h> #include "linalg.h" #include "macros.h" #include "mem.h" static float pythag (float a, float b) { float x = fabs (a); float y = fabs (b); if (x < y) swap (x, y); if (x != 0.0) return x * sqrt (1.0 + (y * y) / (x * x)); return 0.0; } /** * ...
/* ========================================================================================================= Case: Brno University of Technology, IMP - Microprocessors and Embedded Systems Date: 16.12.2021 Author: <NAME> Contact: <EMAIL> Description: Heart rate measurement with ESP32, OLED...
/* Attempts to generate an Intel microcode blob */ /* author - nocferno */ #include "../include/ucode_gen.h" #include "../include/rand_32.h" #include <sys/random.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/time.h> #include <unistd.h> #include <fcntl.h> #include <cpuid.h> #incl...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/mask_rom/sigverify_keys.h" #include <assert.h> #include <stddef.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib...
/* * 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...
/* nRF51-RGB-LED-test/main.c Controlling an RGB LED with nRF51-DK. Demonstrates PWM and NUS (Nordic UART Service). Author: <NAME> Website: electronut.in Reference: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Findex.html */ ...
#include "javl_tree.h" #include <stdlib.h> /* AVL 平衡二叉树的节点 */ struct _JAVLTreeNode { JAVLTreeNode* children[2]; JAVLTreeNode* parent; JAVLTreeKey key; JAVLTreeValue value; int height; }; /* AVL 平衡二叉树 */ struct _JAVLTree { JAVLTree...
/****************************************************************************//** * @file main.c * @version V3.00 * @brief Demonstrate how to implement a USB dual virtual COM port device.(UART + UUART) * * SPDX-License-Identifier: Apache-2.0 * @copyright (C) 2016 Nuvoton Technology Corp. All rights reserv...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sys/stat.h> #include <sys/types.h> #include <fcntl.h> #include <ctype.h> #ifdef WIN32 #include <direct.h> #include <io.h> #include <windows.h> #endif #ifdef __linux__ #include <dirent.h> #include <unistd.h> #endif #ifndef __linux_...
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2003-2008 <NAME> & Open Source Development Labs, Inc. * * Based on TPC-C Standard Specification Revision 5.0 Clause 2.8.2. */ #include <sys/types.h> #inclu...
/* * Copyright (C) <NAME> * Copyright (C) NGINX, Inc. */ #include <njs_main.h> typedef struct { njs_vmcode_operation_t operation; size_t size; njs_str_t name; } njs_code_name_t; static njs_code_name_t code_names[] = { { NJS_VMCODE_OBJECT, sizeof(njs_v...
/* The MIT License (MIT) *Copyright © 2021 <NAME> - PUC Minas * *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 ...
#include <stdio.h> #include <stdlib.h> #include <CL/cl.h> const int BLOCK_SIZE_X = 18; //interior +2 bounday const int BLOCK_SIZE_Y = 18; const double w1 = 4.0/9.0, w2 = 1.0/9.0, w3 = 1.0/36.0; const double Amp2 = 0.1, Width = 10, omega = 1; const char* programSource = "#pragma OPENCL EXTENSION cl_khr_fp64 : enable ...
/** * @author : faraz (faraz) * @file : i2c.c * @created : Wed 05 Jan 2022 06:18:02 PM EST */ /* * Copyright (c) 2022 <NAME> <EMAIL>. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdbool.h> #include <errno.h> #include <FreeR...
/* * 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 option) any later version. * * This library is distributed in the hope that it wi...
/* * RIFF muxing functions * Copyright (c) 2000 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at yo...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the terms found in...
/* * Copyright 2019-2020 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...
#include <fcntl.h> #include <ncurses.h> // needed for some definitions, see terminfo(3ncurses) #include "internal.h" #include "input.h" // we found Sixel support -- set up the API static inline void setup_sixel_bitmaps(tinfo* ti, int fd){ ti->bitmap_supported = true; ti->pixel_init = sixel_init; ti->pixel_draw =...
/** * Use KVM to run some code * * Related projects: * * https://github.com/tandasat/SimpleSvm * A minimalistic educational hypervisor for Windows on AMD processors. * * https://ionescu007.github.io/SimpleVisor/ * SimpleVisor is a simple, portable, Intel VT-x hypervisor */ #ifndef _GNU_SOURCE # define _G...
// SPDX-License-Identifier: GPL-2.0 OR MIT /* Copyright 2017-2019 <NAME> <<EMAIL>> */ #include <linux/interrupt.h> #include <linux/io.h> #include <linux/device.h> #include <linux/slab.h> #include <drm/lima_drm.h> #include "lima_device.h" #include "lima_pp.h" #include "lima_dlbu.h" #include "lima_bcast.h" #include "l...
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 SAMSUNG Electronics * <NAME> <<EMAIL>> */ #include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> #include <spi.h> #include <fdtdec.h> #include <time.h> #include <asm/arch/clk.h> #include <asm/arch/clock.h> #include <asm/arch/cpu.h> #in...
/*------------------------------------------------------------------------- * * nodeAgg.c-- * Routines to handle aggregate nodes. * * Copyright (c) 1994, Regents of the University of California * * * NOTE * The implementation of Agg node has been reworked to handle legal * SQL aggregates. (Do not ex...
/* * 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...
/* * 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 ma...
/************************************************************************** * * Copyright 2007 VMware, Inc. * All Rights Reserved. * Copyright 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...
#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...
/* * 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...
/* $OpenBSD: src/usr.sbin/rdate/ntp.c,v 1.27 2004/10/26 09:48:59 henning Exp $ */ /* $DragonFly: src/usr.sbin/rdate/ntp.c,v 1.1 2004/12/01 15:04:43 joerg Exp $ */ /* * Copyright (c) 1996, 1997 by <NAME>. All rights reserved. * Copyright (c) 1996, 1997 by University of Cambridge. All rights reserved. * Copyright (c)...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file usart.c * @brief This file provides code for the configuration * of the USART instances. ****************************************************************************** * @att...
/* * 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 License, or (at your option) any later version. * * FFmpeg is distributed...
/* block-vmdk.c * * VMware Disk format implementation. * * (c) 2006 <NAME> and <NAME> * * This is largely the same as the vmdk driver in Qemu, I've just twisted it * to match our interfaces. The original (BSDish) Copyright message appears * below: */ /* * Block driver for the VMDK format * * Copyright ...
/* * getopt.c - Enhanced implementation of BSD getopt(1) * Copyright (c) 1997-2014 <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 version 2 of the License, ...
/* * RTSP recorder * * F8 Network (c) 2014, jack139 * * Version: 1.0 * */ #include <sys/types.h> #include <sys/socket.h> #include <sys/select.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <net/if.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <ctype.h> #include <stdio...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <memory.h> #include "omp.h" /* * C-function to inpaint missing data wedges in cone-beam sinogram (currently accepts 2D slices only) * * Inputs: * 1. 2D sinogram (A) where x-axis are detectors and y-axis are angles * 2. sinoMultip: a multiplier for ...
/* * linux/fs/nfsd/nfs4callback.c * * Copyright (c) 2001 The Regents of the University of Michigan. * All rights reserved. * * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
/* * RTP JPEG-compressed Video Depacketizer, RFC 2435 * Copyright (c) 2012 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
/* Copyright (C) 1997,2003 <NAME> */ #include "polynom.h" #include "syst2.h" #include "pvars.h" #include "tensor.h" #include "symb_wrt.h" #include "writeF.h" void writepoly(poly p) { char txt[STRSIZ], numtxt[STRSIZ]; int i, deg; int plus, first; int wpos; unsigned long wpower; if(!p){wrt_0(...
/* * escorpio17.c * * Created on: Nov 24, 2017 * Author: davide */ #include "simulation.h" float getPower (Simulation_ptr simulation, float Ftraction, float Speed, float dt) { float MotorPd = 0; float ret; if (Ftraction>=0) { // Wheel Model float WheelSpeed = Speed*2/WheelDiameter; float WheelTo...
#include <ctype.h> /** * \brief The different types of charactures to be used for ctype characture checking dunctions. */ enum char_types { UPPER_CHAR = 0x01, /**< A upper case mask for checking if the character is a upper case letter. */ LOWER_CHAR = 0x02, /**< A lower case mask for checking if the character ...
#include "common.h" void update_music_status(int ins, int ins_num); #define TARGET_PSX #define F3M_FREQ 44100 #define F3M_BUFLEN 882 #define F3M_CHNS 2 #include "f3m.c" player_s s3mplayer; //extern mod_s fsys_s3m_test[]; int main(void); void yield(void); extern volatile uint8_t _BSS_START[]; extern volatile uint8_...
#ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> /* gai_strerror() */ #include <io.h> /* write() */ #include <fcntl.h> /* O_BINARY */ #else #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #include <unistd.h> #include <fc...
/* * linux/arch/powerpc/kernel/traps.c * * Copyright (C) 1995-1996 <NAME> (<EMAIL>) * * Modified by <NAME> (<EMAIL>) * and <NAME> (<EMAIL>) * * (C) Copyright 2000 * <NAME>, DENX Software Engineering, <EMAIL>. * * See file CREDITS for list of people who contributed to this * project. * * This program is f...
#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <stdbool.h> #include <signal.h> #include <fcntl.h> #include <time.h> #include <pthread.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/epoll.h> #include <arpa/inet.h> #include <netinet/in.h> #inc...
#include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #include <stdint.h> typedef unsigned long long hash_t; #define HASH_OVERFLOW (hash_t)(1ull << (sizeof(hash_t) * 8 - 1)) static const uint8_t freqorder[256] = {/*{{{*/ 101, 115, 105, 97, 110, 114, 116, 111, 108, 99, 100, 117, 103, 112...
/** * Acess2 Bochs graphics adapter Driver * - By <NAME> (thePowersGang) * * bochsvbe.c * - Driver core */ #define DEBUG 0 #define VERSION VER2(0,10) #include <acess.h> #include <errno.h> #include <modules.h> #include <vfs.h> #include <fs_devfs.h> #include <drv_pci.h> #include <api_drv_video.h> ...