text
stringlengths
3.12k
18.7k
/* * Copyright 2008-2015, Marvell International Ltd. * All Rights Reserved. */ /* * mdev_adc.c: mdev driver for ADC */ #include <mdev_adc.h> #include <lowlevel_drivers.h> #include <wm_os.h> #include <limits.h> #include <mdev_dma.h> #define MW300_ADC_NUM 1 /* adc mdev and synchronization handles */ static mdev...
/* This code was developed as part of graduate coursework at Embry-Riddle Aeronautical University * under the guidance of Dr. <NAME> and Dr. <NAME>. * * Author: <NAME> * Assistant Developers: <NAME>, <NAME>, and <NAME> * Support: <EMAIL> * * Oct. 25, 2012 * Version 1.0 * */ /* * File: Arduino_RealTimeMonitor_sfc...
/* This file is part of UFFS, the Ultra-low-cost Flash File System. Copyright (C) 2005-2009 <NAME> <<EMAIL>> UFFS is free software; you can redistribute it and/or modify it under the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your...
/* 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...
/* z80_debugger_variables.c: routines to expose Z80 registers to the debugger Copyright (c) 2016 <NAME> $Id$ 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 Li...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, v.1, (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://opensource.org...
/** * Copyright <NAME> / Semmle Ltd (2017) * License: Apache License 2.0 * * For more information: https://lgtm.com/blog/apple_xnu_dtrace_cve-2017-13782 */ #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <fcntl.h> #include <errno.h> // Some definitions so that we can inclu...
#include <sys/socket.h> #include <sys/epoll.h> #include <signal.h> #include <assert.h> #include <string.h> #include <stdlib.h> #include <sys/un.h> #include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include <fcntl.h> #include <syslog.h> #include "ops_misc.h" #include "ops_log.h" #include ...
/* axtCountBeds.c - Program to count matching bases in bed and output positional information as well. */ #include "common.h" #include "axt.h" #include "bed.h" #include "linefile.h" #include "hdb.h" #include "dnaseq.h" #include "dnautil.h" #include "chromKeeper.h" #include "options.h" #include "obscure.h" void usage() ...
/* * 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 <stdio.h> #include "pico/stdlib.h" #include "hardware/pio.h" #include "hardware/timer.h" #include "hardware/sync.h" #include "pico/multicore.h" #include "pico/binary_info.h" #include "wh1080_decode_bits.h" #include "f007t_decode_bits.h" #include "queues_for_msgs_and_bits.h" #include "output_format.h" #include...
/**************************************************************************** * @file main.c * @version V2.0 * $Revision: 6 $ * $Date: 15/09/02 10:03a $ * @brief Read the smartcard ATR from smartcard 0 interface. * @note * Copyright (C) 2014~2015 Nuvoton Technology Corp. All rights reserved. * ********...
#include "arp.h" struct ether_header * ether_header_new( const u_char *src_mac ) { struct ether_header * ether_header_p = \ ( struct ether_header * ) malloc( sizeof( struct ether_header ) ); if ( NULL == ether_header_p ) return ( NULL ); memset( ether_header_p->ether_dhost, 255, ETHER...
/* Copyright (c) 2006, 2008 Nokia 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 of source code must retain the above copyright * notice, this list o...
// // BREthereumToken // breadwallet-core Ethereum // // Created by <NAME> on 2/25/18. // Copyright (c) 2018 breadwallet LLC // // 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...
/*************************************************************************** * * probe-xkb.c : Probe for keyboard device information * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * Licensed under the Academic Free License version 2.1 * ********************...
/* * Copyright (c) 2015 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <sys/printk.h> #include <shell/shell.h> #include <version.h> #include <logging/log.h> #include <stdlib.h> #include <kernel.h> #include <stdio.h> #include <secure_services.h> #include <pm_config.h> #inc...
#include <stdio.h> #include "pico/stdlib.h" #include <string.h> #include "tx23u.h" #define MAX_STATES 100 void tx23u_init( struct tx23u_t *device, uint8_t pin, void (*handler)(struct tx23u_t *device)) { *device = (struct tx23u_t){ .pin = pin, .handler = handler, .sampleValid = false, .sample = { {0,0}, {0,0}...
/**************************************************************************** * * * cryptlib Generic Smart Card Reader Routines * * Copyright <NAME> 1996-1999 * * * ****************************************************************************/ #include <ctype.h> #incl...
/* * 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...
//------------------------------------------------------------------------------ // LAGraph_Triangle_Methods: Triangle counting using various methods //------------------------------------------------------------------------------ // LAGraph, (c) 2021 by The LAGraph Contributors, All Rights Reserved. // SPDX-License-I...
/* $XConsortium: xfwp.h /main/18 1996/12/12 16:57:17 swick $ */ /* Copyright (c) 1996 X Consortium 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 limitati...
/* * Tablet specific HID functionality * * Copyright (c) 2016-2017 Red Hat, Inc. * * Author(s): * <NAME> <<EMAIL>> * * 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 ...
/* * 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 ...
/*************************************************************************************** * Title: Series Elastic Actuator General Library (SEALibgen) * Dependencies: BCM2835 from airspayce.com/mikem/bcm2835/ * Author: <NAME> * Date: 16.11.2018 * Library version: v6.0 * Test Status: Tested at 16.11.201...
/* * Copyright (c) 2014-2015, 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 retain the above copyright * notice, this list of conditions ...
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include "klist.h" #include "dbg.h" #include "stl.h" #include "transform.h" #include "pack.h" const char *Version[] = {"0", "0", "3"}; struct Options { enum {Collect, Pack, Copy} op; // .op == Pack options float padding; float3 ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "../inc/utils.h" #include "../inc/types.h" #include "../inc/chars.h" #include "../inc/c1.h" /** * Fonction : test_char_on_str * ---------------------------- * Détermine si le caractère c, à l'indice pos de la clé key, est cor...
/* xscreensaver, Copyright (c) 1997, 2005 <NAME> <<EMAIL>> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this pe...
/*****************************************************************************\ ** ** ** FILE: libsig.c ** ** AUTHORS: Alexios ** **...
#include <windows.h> #include <setupapi.h> #include <initguid.h> #include <winioctl.h> #include <stdio.h> #include <sddl.h> #include <tchar.h> #include <cfgmgr32.h> #include <Shlwapi.h> #include "UserAccount.h" #include "Helper.h" static DWORD getDeviceNumber(HANDLE deviceHandle) { STORAGE_DEVICE_NUMBER sdn; DW...
/* * WinDrawLib * Copyright (c) 2015-2016 <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, ...
/* motifFinder - find largest scoring motif in bed items. */ #include "common.h" #include "bed6FloatScore.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "dnaseq.h" #include "dnaMotif.h" #include "dnaMotifSql.h" #include "dnaMarkov.h" #include "jksql.h" #include "hdb.h" #include "chromInfo.h" ...
/* Copyright (c) 2008 - <NAME>. Permission is granted for use and modification of this file for research, non-commercial purposes. */ #include "common.h" #include "sysfunc.h" #include "trec_eval.h" #include "functions.h" #include "trec_format.h" double log2(double x); static int te_calc_G (const EPI *ep...
#include <math.h> #include "noise.h" static double dot(int g[], double x, double y) { return g[0] * x + g[1] * y; } // This method is a *lot* faster than using (int)Math.floor(x) static int fastfloor(double x) { return x > 0 ? (int) x : (int) x - 1; } static int p[] = {151,160,137,91,90,15, 131,13,201,9...
#include "cache.h" #include "tree.h" #include "tree-walk.h" #include "object-store.h" static int score_missing(unsigned mode) { int score; if (S_ISDIR(mode)) score = -1000; else if (S_ISLNK(mode)) score = -500; else score = -50; return score; } static int score_differs(unsigned mode1, unsigned mode2) { i...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1985 <NAME>, U. C. Berkeley CAD Group Modified: 2001 <NAME> (printnum) Patched: 2010/2012 by <NAME> (hash table for vectors) **********/ /* * Do a 'diff' of two plots. */ #include "ngspice/ngspice.h" #include "ngspice/...
/* xa65 - 6502 cross assembler and utility suite reloc65 - relocates 'o65' files Copyright (C) 1997 <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 ve...
/* * IPv6 input * Linux INET6 implementation * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * $Id: ip6_input.c,v 1.18 2000/12/08 17:15:54 davem Exp $ * * Based in linux/net/ipv4/ip_input.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU...
/********************************************************************** Each of the companies; Qualcomm, and Lucent (hereinafter referred to individually as "Source" or collectively as "Sources") do hereby state: To the extent to which the Source(s) may legally and freely do so, the Source(s), upon submission of a ...
/* sock_perf_sub.c - performance measurement tool. */ /* Copyright (c) 2021-2022 Informatica Corporation Permission is granted to licensees to use or alter this software for any purpose, including commercial applications, according to the terms laid out in the Software License Agreement. This source code exa...
/* Miscellaneous utilities. Copyright (C) 2019-2020 Free Software Foundation, Inc. This file is part of libctf. libctf 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, or (at your...
/****************************************************************** Copyright 2019 by SAP EIM SDI. LICENCE - see LICENCE file distributed with this software for details. ******************************************************************/ /* Only support back levels to 0.60 */ #if HAVE_FREETDS < 60 #undef HAVE_FR...
/* * Platform independend driver for JZ4740. * * Copyright (c) 2007 Ingenic Semiconductor Inc. * Author: <<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 ...
#include <stdio.h> #include <string.h> /* * this file contains the test for the added scheduling function * MultiLevelFeedback */ // configuration.h # define RoundRobin 1 # define QuantimSize 10 # define ShortestJobFirst 2 # define PriorityBased 3 # define MultiLevelFeedbackQueue 4 # define Default 5 # define Schedul...
/* * Bar * * This code has been extracted from the Csound opcode "bilbar". * It has been modified to work as a Soundpipe module. * * Csound is copyright (c) 1991-2025 The Csound Developers * * Original Author(s): <NAME>, <NAME> * Year: 2006 * Location: Opcodes/bilbar.c * */ #include <stdlib.h> #include <ma...
/* load/store wal files */ #include <walpng.h> uint WAL_ReadInt32LE(FILE *fd) { uint i; i=fgetc(fd); i|=fgetc(fd)<<8; i|=fgetc(fd)<<16; i|=fgetc(fd)<<24; return(i); } uint WAL_ReadFourcc(FILE *fd) { uint i; i=fgetc(fd); i|=fgetc(fd)<<8; i|=fgetc(fd)<<16; i|=fgetc(fd)<<24; return(i); } void WAL_Set32L...
/**************************************************************** WIRELESS SENSOR NETWORK <NAME> <NAME> ****************************************************************/ /**************************************************************** POSITION : ROUTER NODE ADDRESS : 0x2001 VICINITY : 2 **************...
#include "drivers/usb/request.h" #include "drivers/usb/device.h" #include "drivers/usb/driver.h" #include "sys/string.h" #include "sys/assert.h" #include "sys/debug.h" #include "sys/heap.h" static uint32_t g_device_address = 0; int usb_device_request(struct usb_device *dev, uint8_t type, uint8_t request, uint16_t ind...
/* pygame - Python Game Library Copyright (C) 2009 <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
/* * led - LED driver * * Copyright (c) 2018, <NAME>.A. * 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, t...
/** * * \file * * \brief This module contains NMC1000 bus wrapper APIs implementation. * * Copyright (c) 2016-2021 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives e...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * Copyright (C) 2012-2015 - <NAME> * Copyright (C) 2013-2014 - <NAME> * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "../headers/ArvAVL.h" int maior(int x, int y){ return x > y ? x : y; } // -- Cria Uma Arvore Binária AVL ArvAvl* criarArvAvl(){ ArvAvl* arv = (ArvAvl*) malloc(sizeof(ArvAvl)); if( arv != NULL ) *arv = NULL; return arv; } // -- Insere ...
#include <stdio.h> #include <celib/macros.h> #include <celib/memory/allocator.h> #include <celib/id.h> #include <celib/memory/memory.h> #include <celib/api.h> #include <celib/ydb.h> #include <celib/module.h> #include <celib/containers/hash.h> #include <celib/cdb.h> #include <cetech/renderer/gfx.h> #include <cetech/d...
/* * Copyright (c) 2020, <NAME> * Copyright (c) 2020, Red Hat, Inc. * * This source code is released for free distribution under the terms of the * GNU General Public License version 2 or (at your option) any later version. */ /* * INCLUDES */ #include "sorter.h" #include "dsl.h" #include "es.h" #include <...
/* * Copyright (c) 2014 DeNA Co., 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, modify, merge, publ...
#include <windows.h> #include <stdio.h> //#define COM_DEB 1 #define NUM 1024 //128 #define print printf #define THPRINTF fprintf #define L_DEBUG stderr #ifdef RUN_ON_MIPS #define COM "COM2" #else #define COM "COM1" #endif #define SETTINGS1 lp...
/* $OpenBSD: yppasswdd_mkpw.c,v 1.29 2009/10/27 23:59:31 deraadt Exp $ */ /* * Copyright (c) 1994 <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...
/* * Copyright (c) 2018 Easter <<EMAIL>> * * 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 follow...
/* $OpenBSD: consinit.c,v 1.2 2015/12/10 19:48:04 mmcc Exp $ */ /* $NetBSD: zs.c,v 1.50 1997/10/18 00:00:40 gwr Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use...
// See the file "COPYING" in the main distribution directory for copyright. #pragma once #include "Val.h" #include "EventRegistry.h" #include "Stats.h" [[deprecated("Remove in v4.1. Use zeek::id::conn_id.")]] extern RecordType* conn_id; [[deprecated("Remove in v4.1. Use zeek::id::endpoint.")]] extern RecordType* e...
/* * Copyright (c) 2014, <NAME>, RWTH Aachen 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: * * Redistributions of source code must retain the above copyri...
/* * Copyright (c) 2013-2015, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC) * 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 r...
#include <scheduler.h> #include <naiveConsole.h> #include <stddef.h> #define STACKKKK 4096 int last_pid_given = 0; int freeProcesses = 16; Process process[16]; Process * currentProcess = NULL; Process * freeProcess = NULL; int inizialized = 0; char stackkkk[STACKKKK]; int counter = 0; extern void * kernelStac...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <signal.h> #include <semaphore.h> #include <pthread.h> #include <sys/prctl.h> #include "sample_comm_ive.h" #include "ivs_md.h"...
/** * \file modp_b64w.c * <PRE> * MODP_B64 - High performance base64 encoder/decoder * https://github.com/client9/stringencoders * * Copyright &copy; 2005-2016 <NAME> * Modified by spacewander * All rights reserved. * Released under MIT license. See LICENSE for details. * </PRE> */ /* * If you are ripping ...
/* $NetBSD: vga_pci.c,v 1.10 2002/03/17 19:41:00 atatat Exp $ */ /* * Copyright (c) 1995, 1996 Carnegie-Mellon University. * All rights reserved. * * Author: <NAME> * * Permission to use, copy, modify and distribute this software and * its documentation is hereby granted, provided that both the copyright * no...
/* * Print Dialog for Canon LIPS/PS/LIPSLX/UFR2/CAPT Printer. * Copyright CANON INC. 2010 * * 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...
/* * Arm SCP/MCP Software * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <internal/morello_scp2pcc.h> #include <mod_morello_scp2pcc.h> #include <mod_morello_sensor.h> #include <mod_morello_sensor_driver.h> #include <mod_power_domain....
#include <stdlib.h> #include <string.h> #include <math.h> #include <inttypes.h> #include <stdbool.h> #include <assert.h> #include <nanopore.h> #include "stateMachine.h" #include "CuTest.h" #include "hdp_math_utils.h" #include "sonLib.h" #include "pairwiseAligner.h" #include "continuousHmm.h" #include "discreteHmm.h" #i...
/* * \brief Driver for face detection on OMAP 4460. * * \see OMAP TRM rev Z */ /* * Copyright (c) 2013, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, CAB F.78...
/* * AES Crypt for Linux * Copyright (C) 2007-2016 * * Contributors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This software is licensed as "freeware." Permission to distribute * this software in source and binary forms is hereby granted without a * fee. THIS SOFTWARE IS PROV...
#include "dyncon.h" #include "dllist.h" #include <math.h> #include <stdlib.h> #include <time.h> uint8_t curlvl; static uint32_t DX; static uint32_t DY; static uint32_t DZ; double timeq=0; double timeI=0; double timeD=0; struct s_tree *ut, *vt; uint32_t i,from; /********************************************************...
/********************************************************************** * plink.c * P-Code Linker * * Copyright (C) 2008-2009 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
#include "copyright2.h" #include "config.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include "defs.h" #include <string.h> #include "struct.h" #include "data.h" #include "packets.h" /* * Feature.c * * March, 1994. <NAME>, <NAME> * * most of the functions needed to handle SP_FEATURE/CP_FEATURE ...
/* Copyright 2010-2013 SourceGear, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
#include "config.h" #include <stdio.h> #include <string.h> #include <assert.h> #include <stdlib.h> #include "sorted_int_list.h" #include "serializable.h" #include "hierarchy.h" #include "flat_kb.h" #include "inline.h" #include "util.h" #include "stat.h" #include "defs.h" #include "lcm.h" #include "mv.h" #include "fl...
/****************************************************************************** Copyright (C) 2014 by <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...
#include "movimentacao.h" int movimenta_inimigos(mapa_st *mapa, lolo_st *lolo, int y_inicio_info, int y_delta_info) { for ( int i = 0; i < mapa->inimigos_num; i++ ) { /* * Se o inimigo pegou Lolo, diminui a vida de Lolo e remove o * inimigo */ if ( movimenta_inimigo((...
#include "graph_defs.h" #include "graph_gen.h" #define LINELENGTH 1000 /* Types */ typedef struct { int target; /* Index in the vertex[] array of neighboring vertex. (Note that this is not necessarily equal to the GML ID of the...
/************************************************************** * * 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 y...
/* -Procedure zzgetcml_c ( Get the command line ) -Abstract Store the contents of argv and argc for later access. -Disclaimer THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. GOVERNMENT CONTRACT WITH THE NATIONAL AERONAUTICS AND SPACE...
/* utpdf/utps margin-aware converter from utf-8 text to PDF/PostScript Copyright (c) 2021 by <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/LIC...
/* * @brief I2CM bus master example using polling mode * * @note * Copyright(C) NXP Semiconductors, 2014 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This s...
/****************************************************************************** Machine Hardware for Nichibutsu Mahjong series. Driver by <NAME> <<EMAIL>> 1999/11/05 - ******************************************************************************/ enum { NB1413M3_NONE = 0, // unknown NB1413M3_...
#include <string.h> #include <float.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include "../hrtf/mysofa.h" #include "../hrtf/tools.h" #include "tests.h" #include "json.h" #ifndef M_PI #define M_PI (3.14159265358979323846) #endif /* #define VDEBUG */ void test_easy() { struct MYSOFA_EASY *easy; int...
/* * Copyright (c) 2012, JANET(UK) * 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 condit...
/* * Welcome to this node * * $Id$ * * Copyright 1999-2004 <NAME> under the ARTISTIC LICENSE. (See LICENSE). */ #include "c_defs.h" #include "context.h" #include "global.h" #include "datatypes.h" #include "color.h" #include "conf.h" #include "conqcom.h" #include "client.h" #include "nWelcome.h" #include "nMenu....
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */ /* geoiplookup.c * * Copyright (C) 2006 MaxMind LLC * * 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; eit...
#include "libschnix_transform.h" #include <math.h> #define MATRIX_LEN 16 // Calculate void add(const schnix_transform_t* transform, const schnix_transform_t* transform2, schnix_transform_t* dest) { int i = 0; for (;i < MATRIX_LEN; i++) { dest->m[i] = transform->m[i] + transform2->m[i]; } } void add_scalar(const...
/* * * * This file is part of HUSTOJ. * * HUSTOJ 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. * * HUSTOJ is distributed i...
/* * A debugger. * Tables for the Intel 8086. */ #include <stdio.h> #include <sys/const.h> #include <l.out.h> #include "trace.h" #include "i8086.h" /* * Instruction table. */ INS insrtab[] ={ 0x88, 0xFC, "mov%0t\t%1d", 0xC6, 0xFE, "mov%0t\t%nf0m,$%ik", 0xB0, 0xF0, "mov%3t\t%0r,$%ik", 0xA0, 0xFE, "mov%0t\t%x,%...
/************************************************************************************ * Copyright (c) 2014, <NAME> * * All rights reserved. * * ...
// File: ssd.c // Date: 2014. 12. 03. // Author: <NAME> (<EMAIL>) // Copyright(c)2014 // Hanyang University, Seoul, Korea // Embedded Software Systems Laboratory. All right reserved #include "ssd.h" static int ssd_num = 1; /* Coperd: SSD FTL thread */ static void *ftl_thread(void *arg) { struct ssdstate *ssd = (...
/* $OpenBSD: syslog.c,v 1.28 2005/08/08 08:05:34 espie Exp $ */ /* * Copyright (c) 1983, 1988, 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...
//Bibliotecas utilizadas #include <stdlib.h> #include <stdio.h> #include <jpeglib.h> #include <string.h> #include <inttypes.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> // Se definen constantes para el pipe #define READ 0 #define WRITE 1 // Definicion de un booleano #define FALSE 0 #define TRU...
#include "time_impl.h" #include <stdint.h> #include <limits.h> #include <stdlib.h> #include <string.h> #include "libc.h" long __timezone = 0; int __daylight = 0; char *__tzname[2] = { 0, 0 }; #ifndef __APPLE__ weak_alias(__timezone, timezone); weak_alias(__daylight, daylight); weak_alias(__tzname, tzname); #endif ...
/* * Oracle Linux DTrace. * Copyright (c) 2006, 2022, 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. */ #include <sys/types.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <dt_str...
/* Copyright (c) 2007-2009, Stanford 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: * * Redistributions of source code must retain the above copyright * notice, this list of ...