text
stringlengths
5.8k
28.2k
// SPDX-License-Identifier: GPL-2.0-only /* * ccs811.c - Support for AMS CCS811 VOC Sensor * * Copyright (C) 2017 <NAME> <<EMAIL>> * * Datasheet: ams.com/content/download/951091/2269479/CCS811_DS000459_3-00.pdf * * IIO driver for AMS CCS811 (I2C address 0x5A/0x5B set by ADDR Low/High) * * TODO: * 1. Make the ...
/* Copyright 1998, 2011, 2013 by the Massachusetts Institute of Technology. * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without * fee is hereby granted, provided that the above copyright * notice appear in all copies and that both that copyright *...
/* Copyright 2013-present Barefoot Networks, 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 la...
/* * 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...
/**************************************************************************** qti_indication.c Copyright (c) 2017 - 2021, <NAME>. All rights reserved. ****************************************************************************/ #include <string.h> #include "tq_types.h" #include "hw_debug.h" #include "interpolator...
/* Produced by CVXGEN, 2017-06-27 04:20:17 -0400. */ /* CVXGEN is Copyright (C) 2006-2012 <NAME>, <EMAIL>. */ /* The code in this file is Copyright (C) 2006-2012 <NAME>. */ /* CVXGEN, or solvers produced by CVXGEN, cannot be used for commercial */ /* applications without prior written permission from <NAME>. */ /* Fi...
#include <linux/i2c.h> #include <linux/sched.h> #include <linux/kthread.h> #include <linux/wait.h> #include <linux/delay.h> #include <linux/rtpm_prio.h> #include <linux/interrupt.h> #include <linux/time.h> #include "tpd.h" #include "cust_eint.h" #define TPD_SLAVE_ADDR 0x8c extern struct tpd_device *tpd; extern int t...
/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, <NAME> <<EMAIL>>. * Copyright (c) 2012-2019, <NAME> <<EMAIL>>. */ #include "taisei.h" #include "texture.h" #include "../api.h" #include "opengl.h" #include "gl33.h" #include...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
/** * The MIT License (MIT) * * Copyright (c) 2014 MoboPlayer.com * * 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 u...
#include "msc_server_connection.h" #include "msc_secure_socket.h" #include "msc_common.h" #include "msc_server.h" #include "msc_srp_auth.h" #include <stddef.h> #include <stdlib.h> #include <string.h> #include <stdio.h> typedef struct _msc_server_connection { msc_server *server; msc_secure_socket *socket; GString ...
/************************************************************************* taitoic.h Implementation of various Taito custom video & input ICs **************************************************************************/ #include "devlegcy.h" /********************************************************...
/* * FIG : Facility for Interactive Generation of figures * Copyright (c) 1989-2007 by <NAME> * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalty-free, * nonexclusive right and license to deal in this software and documentat...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2019 RDK Management * * 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 ...
/****************************************************************************** * * * glm_input.c * * * ...
// The Timber compiler <timber-lang.org> // // Copyright 2008-2009 <NAME> <<EMAIL>> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain th...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> #include "matmul2.h" #include "randomlib.h" #include "pso.h" #include "assert.h" #define SQRT_EPSILON 0.000001 #define CALLOC calloc #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) /* defining ...
/* ftpparse.c, ftpparse.h: library for parsing FTP LIST responses 20001223 <NAME>, <EMAIL> http://cr.yp.to/ftpparse.html Commercial use is fine, if you let me know what programs you're using this in. Currently covered formats: EPLF. UNIX ls, with or without gid. Microsoft FTP Service. Windows NT FTP Server. VMS. WFTP...
/* * internal execution defines for qemu * * Copyright (c) 2003 <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 of the License, or (at your option) an...
/*------------------------------------------------------------------------- * * gphdfsprotocol.c * * This protocol starts a java program HDFSReader/Writer which does the * actual "protocol" work. This protocol is just like the external table * execute framework: starts the external program and pipe via standard ...
/* Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
#include "evaluator.h" #include <assert.h> #include <string.h> int debug_evaluator = 0; LispVal* env; // Global environment static LispVal* eval_with_env(LispVal* expr, LispVal* env); static LispVal* eval_quasi(LispVal* template, LispVal* env, int quote_level); static LispVal* eval_body(LispVal* expressions, LispVa...
/* * This file contains the procedures for the handling of select and poll * * Created for Linux based loosely upon <NAME>'s minix * patches by <NAME>. Heavily edited by Linus. * * 4 February 1994 * COFF/ELF binary emulation. If the process has the STICKY_TIMEOUTS * flag set in its personality we do *n...
/* blastXmlToPsl - convert blast XML output to PSLs. */ #include "common.h" #include "linefile.h" #include "options.h" #include "psl.h" #include "ncbiBlast.h" #include "pslBuild.h" static char const rcsid[] = "$Id: blastXmlToPsl.c,v 1.2 2010/04/16 17:32:12 markd Exp $"; void usage() /* Explain usage and exit. */ { er...
/* * Copyright 2010 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
//------------------------------------------------------------------------------ // GB_msort_3: sort a 3-by-n list of integers, using A[0:2][ ] as the key //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2019, All Rights Reserved. // http://sui...
/* * Copyright (c) 2009-2012, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
// History, undo, redo. Free and open source. See licence.txt. // TODO: Elide successive 1-char insertions. // TODO: short-undo #include "history.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> // A history structure consists of a flexible array of bytes, plus the text // position of ...
/* File: dict.c */ /* Creation Date: 2017-01-12*/ /* Creator: <NAME> <<EMAIL>> */ /* Description: */ /* Generic dictionary implementation */ #include "dict.h" #include "hash.h" #include "macros.h" #include "str.h" #include "types.h" #include "util.h" #include "xmalloc.h" #define dict_slot_incr_size(slot) (++slot->si...
/* <NAME>, INRIA, 2016 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <libmeshb7.h> #define max(a,b) ((a)>(b))?(a):(b) typedef int mint; typedef long long int lint; typedef double double3[3]; typedef mint int3[3]; typedef mint int4[4]; typedef mint int5[5]; typed...
#include "disasm_corrector.h" #include "change_opcode.h" #include "string.h" /************** Internal Functions *****************/ static void print_instr(ins_t * ins){ dr_printf("ins: "); dr_printf("%s ",ins->name); int i = 0; for(; i < ins->num_ops; i++){ dr_printf("%s, ",ins->operands[i].name); } ...
/* ********************************************************************************************* */ /* * C Template for Kernel Execution * */ /* * Author: <NAME> * */ /* ********************************...
/* Copyright (c) 2003 <NAME>, All rights reserved. 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 of the License, or (at your option) any later version. */ //...
/* $Id$Revision: */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2022 STMicroelectro...
#include <httpget.h> #include <jspp.h> #include <stdio.h> #include <string.h> #include <memory.h> typedef struct _time { uint16_t sec: 6; uint16_t min: 6; uint16_t hour: 4; // 12-hour format. AM or PM is determined from the context } ws_time_t; /// What we need (to extract) from the WS response type...
#include "drxk_map.h" #define DRXK_VERSION_MAJOR 0 #define DRXK_VERSION_MINOR 9 #define DRXK_VERSION_PATCH 4300 #define HI_I2C_DELAY 42 #define HI_I2C_BRIDGE_DELAY 350 #define DRXK_MAX_RETRIES 100 #define DRIVER_4400 1 #define DRXX_JTAGID 0x039210D9 #define DRXX_J_JTAGID 0x239310D9 #define DRXX_K_JTAGID...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2020 INRIA. * * 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 * *...
/* Iteration over virtual memory areas. Copyright (C) 2011-2012 Free Software Foundation, Inc. Written by <NAME> <<EMAIL>>, 2011. 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...
/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ #in...
/**************************************************************************/ /* */ /* PRESENTATION */ /* Copyright (c) 2013 JRD Communications, Inc. */ /***************************...
/* ****************************************************************************** ** CarMaker - Version 10.2.1 ** Vehicle Dynamics Simulation Toolkit ** ** Copyright (C) IPG Automotive GmbH ** Bannwaldallee 60 Phone +49.721.98520.0 ** 76185 Karlsruhe Fax ...
/* $NetBSD: chfs_malloc.c,v 1.4 2012/10/19 12:44:39 ttoth Exp $ */ /*- * Copyright (c) 2010 Department of Software Engineering, * University of Szeged, Hungary * Copyright (C) 2010 <NAME> <<EMAIL>> * Copyright (C) 2010 <NAME> <<EMAIL>> * All rights reserved. * * This code is derived from software contrib...
/** * * \file * * \brief This module contains NMC1000 bus wrapper APIs implementation. * * Copyright (c) 2018-2019 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...
/*------------------------------------------------------------------------------- ----------------------------------------------------------------------------------*/ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include "mpi.h" #include "mkl_cblas.h" char file_name[128]; FILE *fptr; t...
/*- * Copyright 2003-2005 <NAME> * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions...
/* * Copyright 2013 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
/****************************************************************************** * File Name : cangate.c * Date First Issued : 09/12/2013 * Board : PC * Description : CAN Bus via 'gateway' (stm32) *******************************************************************************/ /* Hack of w...
/* ZEsarUX ZX Second-Emulator And Released for UniX Copyright (C) 2013 <NAME> This file is part of ZEsarUX. ZEsarUX 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 t...
u8 dijkstra(World *world, u16 id, u8 testing); void drawMonster(Monster s){ oamSet(s.screen == MAIN_SCREEN ? &oamMain : &oamSub, // which display s.drawId, // the oam entry to set f32toint(s.pos.x), f32toint(s.pos.y), // x & y location 3, // priority s.palId, // pale...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* ************************************************************************************* Copyright (c) 2021, <NAME> All rights reserved. This file is part of APG Version 7.0. APG Version 7.0 may be used under the terms of the BSD 2-Clause License. Redistribution and use in source and bina...
/* esp32_hd bmp85/bmp180 interface Copyright (c) 2018 ys1797 (<EMAIL>) License (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 restriction, including without limitatio...
/****************************************************************************************/ /* AHUFF.C */ /****************************************************************************************/ #ifdef _WINDOWS #include <windows.h> #endif #in...
#include "global.h" #include <pthread.h> #include "msg-pool/msgpool.h" // pool for getting jobs #include "generate_paths.h" #include "util.h" #include "file_util.h" #include "db_graph.h" #include "db_node.h" #include "db_alignment.h" #include "correct_alignment.h" #include "async_read_io.h" #include "seq_reader.h" #i...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include "stock.h" #include "orb.h" #include "brttpkt.h" #define MAX_REGEX_LEN 200 Arr *Rrd_files = 0; double Status_stepsize_sec = 0; char *Rrdfile_pattern = 0; char *CacheDaemon = 0; char *Suppress_egrep = 0; int Verbose = 0; int VeryVerbose = 0...
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/* * * Copyright (c) 2015 Intel Corporation. All rights reserved. * This software is available to you under the BSD license. For * license information, see the LICENSE file in the top level directory. * */ #include <common.h> #define MAX_MSG_SIZE (1<<23) #define START_LEN 1 #define INC 2 #define TRIALS 500 #defin...
#define LOG_CLASS "JitterBuffer" #include "../Include_i.h" // Applies only to the case where the very first frame has its first packets out of order #define MAX_OUT_OF_ORDER_PACKET_DIFFERENCE 512 // forward declaration STATUS jitterBufferInternalParse(PJitterBuffer pJitterBuffer, BOOL bufferClosed); STATUS createJi...
/* Copyright (c) 2011, BohuTANG <overred.shuttler at gmail dot com> * 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 not...
#include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <err.h> #include <fcntl.h> #include <sysexits.h> #include <stdint.h> #include <errno.h> #include "elf_core.h" #include "access_memory.h" #include "reverse_log.h" #define XMMPOS() 4*size...
#include <src/nodes.h> #include <src/text.h> #include <stdint.h> #include <myy/helpers/opengl/quads_structures.h> #include <myy/helpers/fonts/packed_fonts_display.h> #include <myy/helpers/log.h> #include <src/generated/opengl/data_config.h> #include <src/nodes_mem.h> #include <strings.h> static void gpu_node_part (i...
/*_ * Copyright (c) 2014,2019 <NAME> <<EMAIL>> * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
/* $Id: man_validate.c,v 1.156 2021/08/10 12:55:03 schwarze Exp $ */ /* * Copyright (c) 2010, 2012-2020 <NAME> <<EMAIL>> * Copyright (c) 2008, 2009, 2010, 2011 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that t...
/* * Copyright (c) 2020 <NAME>, Inc. * All rights reserved. */ #include <sys/errno.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include "comm.h" #include "debug.h" #includ...
/** * @file paramselect.c * * <JA> * @brief パラメータベクトルの型のチェックと調整 * * %HMMと入力特徴パラメータの型をチェックします.タイプが一致しない場合, * 特徴パラメータの一部を削除することで一致するよう調整できるかどうか * を試みます.(例:特徴量ファイルが MFCC_E_D_Z (26次元) で与えられた * とき,音響モデルが MFCC_E_D_N_Z (25次元) である場合,絶対値パワー項を * 差し引くことで調整できます.) * * 調整アルゴリズムは以下のとおりです. * -# 入力の各ベクトル要素に対応するマークを 0...
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ INCLUDES #include <arpa/inet.h> #include <errno.h> #include <pthread.h> #include <stdarg.h> #include "mbt-srv.h" // ~~~~~~~~~~~~~~~~~~~~~~~~~~ DEFINITIONS #define RESTART_CONTEXT_TO 2 ///< Sleep time before restarting the context build procedure #define MBS...
#include "framework/logger.h" // #include "types.h" GLenum gpu_data_type(enum Data_Type value) { switch (value) { default: break; case DATA_TYPE_UNIT: return GL_SAMPLER_2D; case DATA_TYPE_U8: return GL_UNSIGNED_BYTE; case DATA_TYPE_U16: return GL_UNSIGNED_SHORT; case DATA_TYPE_S8: return GL_BYTE; ca...
//Integrated by <NAME> //Hong Kong Polytechnique university //function fabsf is Defined in header <math.h> /* abs、fabs、fabsf三个函数都是用来求一个数的绝对值,区别如下: 1)int abs(int a);                     // 处理int类型的取绝对值 2)double fabs(double a);   //处理double类型的取绝对值 3)float fabsf(float a);           //处理float类型的取绝对值 */ // Need furth...
static int rottwl_staticremap[128]={ stat_gibs1, // 0 puddle spr1v stat_bonusbarrel, // 1 Green Barrel " stat_emptytable, // 2 Table/chairs " stat_lamp, // 3 Floor lamp " stat_chandelier, // 4 Chandelier " stat_garb2, // 5 Hanged man " stat_monkmeal, // 6 Bad fo...
/* * libuwifi - Userspace Wifi Library * * Copyright (C) 2005-2016 <NAME> (<EMAIL>) * * This source code is licensed under the GNU Lesser General Public License, * Version 3. See the file COPYING for more details. */ #include <stdio.h> #include "platform.h" #include "util.h" #include "ifctrl.h" #include "chann...
/* * Unix SMB/CIFS implementation. * Virtual Windows Registry Layer * Copyright (C) <NAME> 2002-2005 * * 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...
/** * This is a demo programm for the "three_dee lib" which have been developed * by me as a fun project in winter 2013/2014. * * https://github.com/three-dee/three-dee * * It allows to create basic 3d objects (mesh) in a 3d world and render them on * the pebble watch in real-time. Currently the rendering is lim...
/* * Copyright (c) 1995 <NAME>. All rights reserved. * For licensing and other legal details, see the file legal.c. * * keygen.c - generate RSA key pairs using the bignum library. */ #include "first.h" #include <assert.h> #include <stdio.h> /* For FILE type */ #include <string.h> /* For memset */ #include "bn.h...
/* For forkserver related parts, modified codes from AFL's QEMU mode (original license below). --------------------------------------------------------------------- Forkserver written and design by <NAME> <<EMAIL>> and <NAME> <<EMAIL>> Copyright 2013, 2014, 2015, 2016 Google Inc. All rights res...
/* **************************************************************************** * Name: RW1990 test * * Author: saper_2 * * Contact: * ...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it * unde...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not betwee...
/* * Copyright (c) 2013-2018, <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: * * Redistributions of source code must retain the above copyright * notice, this list of ...
/* LDBS: LibDsk Block Store access functions * * Copyright (c) 2016, 2017 <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 with...
/* * This file is part of Honeyland. * * Copyright 2022 Bejolithic * * 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 requi...
/* $Log: synths.c,v $ Revision 1.2 2006/08/01 13:06:51 rjongbloed Added a raft of unvalidated audio codecs from OpenH323 tree Revision 1.1.2.1 2006/07/22 14:03:19 rjongbloed Added more plug ins Revision 1.1.2.1 2006/05/08 13:49:58 rjongbloed Imported all the audio codec plug ins from OpenH323 Revision 1.1 20...
#ifndef lint static char rcsid[] = "$Id: sha.c,v 1.5 1994/07/25 15:46:45 gkim Exp $"; #endif /* * sha.c * * signature function hook for SHA. * * <NAME> * Purdue University * August 10, 1993 */ /* --------------------------------- SHS.H ------------------------------- */ /* NIST proposed Secure Hash Standard....
/********** Copyright 1999 Regents of the University of California. All rights reserved. Author: <NAME> and <NAME> Feb 1999 Author: 1998 <NAME>, <NAME> and <NAME> File: b3soifdnoi.c 98/5/01 Modified by <NAME> 2002 **********/ /* * Revision 2.1 99/9/27 Pin Su * BSIMFD2.1 release */ #include "ngs...
/*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * Copyright (c) 2002 Networks Associates Technology, Inc. * All rights reserved. * * Portions of this software were developed for the FreeBSD Project by * ThinkSec AS and NAI Labs, the Security Research Divi...
/* * FreeRTOS V202112.00 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, incl...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
/* File: ex6.7_omp_nbody_red.c * * Purpose: Use OpenMP to parallelize a 2-dimensional n-body solver * that uses the reduced algorithm. This version uses one * array per thread to store locally computed forces. * These forces are then added into a shared array. It * ...
/* * Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <errno.h> #include <string.h> #include <sys/mman.h> #include <xf86drm.h> #include "drv_priv.h" #include "external/virtgpu_cross_domain...
/* Definitions for GCC. Part of the machine description for CRIS. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. Contributed by Axis Communications. Written by <NAME>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of t...
//////////////////////////////////////////////////////////////////////////// // **** AUDIO-STRETCH **** // // Time Domain Harmonic Scaler // // Copyright (c) 2019 <NAME> // // ...
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME>ung (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as * the following condition...
/* * libwebsockets - small server side websockets and web server implementation * * Copyright (C) 2010 - 2019 <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...
// TExaS.c // Runs on TM4C123 // Periodic timer interrupt data collection // PLL turned on at 80 MHz // Implements Logic Analyzer on Port B, D, or E // // <NAME>. <NAME> // August 29, 2018 /* This example accompanies the book "Embedded Systems: Introduction to ARM Cortex M Microcontrollers", ISBN: 978-1469998749...
/* * file type mapping * (HKEY_CLASSES_ROOT - Stuff) * * Copyright 1998, 1999, 2000 <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, ...
/* * File Name: shell.c * * * BSD 3-Clause License * * Copyright (c) 2019, nelsoncole * 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 reta...
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LI...
/* * Copyright (C) 2002-2004 <NAME> and A'rpi * * This file is part of MPlayer. * * MPlayer 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 la...
/* * Copyright © 2008-2011 <NAME> * Copyright © 2011 Intel Corporation * Copyright © 2017, 2018 Collabora, Ltd. * Copyright © 2017, 2018 General Electric Company * Copyright (c) 2018 DisplayLink (UK) Ltd. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and ass...
#include "ping.h" /** * An implementation of the PING program */ int main(int argc, char *argv[]) { // display help menu if (argc < 2) { display_menu(); return 1; } // host name or ip address const char *host = argv[1]; int port = 10; bool use_ipv6 = false; int ttl...