text
stringlengths
7.55k
41.9k
#include <u.h> #include <libc.h> #include <draw.h> #include <memdraw.h> #include <fcall.h> #include <9pclient.h> #include <thread.h> #include <cursor.h> #include <mouse.h> #include <keyboard.h> #include <frame.h> #include <plumb.h> #include <html.h> #include "dat.h" #include "fns.h" static void pageload1(Page *, Url *...
/* * aes_icm.c * * AES Integer Counter Mode * * <NAME> * Cisco Systems, Inc. */ /* * * Copyright (c) 2001-2006,2013 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
// SPDX-License-Identifier: GPL-2.0-only /* * Overlayfs NFS export support. * * <NAME> <<EMAIL>> * * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. */ #include <linux/fs.h> #include <linux/cred.h> #include <linux/mount.h> #include <linux/namei.h> #include <linux/xattr.h> #include <linux/exportfs.h>...
/* ../netlib/v3.9.0/zggsvd3.f -- translated by f2c (version 20160102). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, a...
#include <stdio.h> #include <stdlib.h> void input(); void print(); void rows(); void columns(); void block(); void inter(); void sudoku(); struct abc{ int a[10]; }row[10],col[10],blo[10]; int bloc[9][9][2]={{{1,1},{1,2},{1,3},{2,1},{2,2},{2,3},{3,1},{3,2},{3,3}}, {{1,4},{1,5},{1,6},{2,4},{2...
#include <assert.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "cbson.h" #define STACK_SIZE_INC 32 enum { st_doc = 0, st_array, st_invalid, } BsonState; typedef struct { ErlNifEnv* env; cbson_st* atoms; ERL_NIF_TERM arg; size_t bytes_per_red; int return_lis...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2021 Intel Corporation. All rights reserved. // // Author: <NAME> <<EMAIL>> // Author: <NAME> <<EMAIL>> /* * IPC (InterProcessor Communication) provides a method of two way * communication between the host processor and the DSP. The IPC used here * utilises...
//////////////////////////////////////////////////////////////////////////// // ****** SLAC ****** // // Simple Lossless Audio Compressor // // Copyright (c) 2019 - 2021 <NAME> // // ...
/* * Tchars - Translate characters for Troff. * * Copyright (C) 2012-2018 <NAME> * <pierrejean dot fichet at posteo dot net> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notic...
// (C) 2011, <NAME> (<EMAIL>) // Check LICENSE.txt for the legal blah-blah. #include "dual.h" // ** Node separation functions used in implicit branching ** node_t *dual_node_increase_min_open (dual_t *dual, node_t *node, int n) { (void) dual; node->min_open = node->min_open + n; return node; } node_t *dual_no...
char btn_1P[45]; char btn_2P[45]; char btn_Off[45]; char btn_HowTo[45]; char btn_Play[45]; char btn_On[45]; char btn_Options[45]; char btn_Exit[45]; char btn_Back[45]; char btn_Continue[45]; char btn_Defaults[45]; char btn_Fullscreen[45]; char btn_MapOptions[45]; char btn_example[45]; char str_ez[15]; ...
/* Apache License 2.0 */ /* 文件:yd_aes_base.c 作者:wzh 邮箱:<EMAIL> 简介:AES算法核心,详情参考《FIPS PUB 197》 版本:README.md定义 */ #include "yd_aes_base.h" static const uint8_t s_table[256] = { 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, 0xc9, 0x7...
/* * $Id: rast.c,v 1.39 2008-07-27 03:18:44 haley Exp $ */ /************************************************************************ * * * The use of this Software is governed by a License Agreement. * * ...
static char help[] = "Solves a nonlinear system in parallel with SNES.\n\ We solve the modified Bratu problem in a 2D rectangular domain,\n\ using distributed arrays (DAs) to partition the parallel grid.\n\ The command line options include:\n\ -lambda <parameter>, where <parameter> indicates the problem's nonlineari...
/* Mode: C; * ifenslave.c: Configure network interfaces for parallel routing. * * This program controls the Linux implementation of running multiple * network interfaces in parallel. * * Usage: ifenslave [-v] master-interface < slave-interface [metric <N>] > ... * * Author: <NAME> <<EMAIL>> * Copyright 1994-1...
/* * Copyright (C) 2008 Nokia Corporation * * 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 ...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2013 Semtech Description: LoRaMac classA device implementation License: Revised BSD Licen...
/* * $Id: view3d_header.c 40828 2011-10-06 10:06:53Z campbellbarton $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 ...
/************************************************************ Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc. 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 ...
/* * 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...
/* * Copyright (C) 2005 <NAME> <fabiany at gmx.net> * * 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 p...
/* * Copyright 2018 <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 applicable law or agreed to in ...
/* Author: <NAME> (<EMAIL>) Copyright (c) 2015 Cromulence 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 without restriction, including without limitation the rights to use, copy, modify, m...
// Annex 3: Simulation Program Listing - Byte Oriented #include <stdint.h> #include "etsi_ts_135_206_V10.0.0_annex3.h" /*------------------------------------------------------------------- * Example algorithms f1, f1*, f2, f3, f4, f5, f5* *------------------------------------------------------------------- * * A...
/* * Copyright (c) 2011 ITE Tech. Inc. All Rights Reserved. */ /** @file * Castor3 keypad module. * * @author <NAME> * @version 1.0 */ #include "../itp_cfg.h" #include <errno.h> #include <pthread.h> //#include "openrtos/FreeRTOS.h" //must "include FreeRTOS.h" before "include queue.h" //#include "openrtos/queue...
/* ----------------------------------------------------------------------------- * * File: nBody.c * Author: <NAME> * Class: CSC 422 Parallel & Distributed Programming * Project: Parallel Project 1 - n-Bodies and Collisions * Description: A combination of all previous C i...
/* ** $Id: lgc.c,v 1.1 2007/04/13 06:29:55 dengzhihui Exp $ ** Garbage Collector ** See Copyright Notice in lua.h */ #include <string.h> #define lgc_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobject.h" ...
/* ppc-dis.c -- Disassemble PowerPC instructions Copyright (C) 1994-2015 Free Software Foundation, Inc. Written by <NAME>, Cygnus Support This file is part of the GNU opcodes library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
/* * 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...
/* GStreamer * Copyright (C) <2019> <NAME> <<EMAIL>> * * 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. * ...
/* * Copyright 2007-2009, <NAME>. * * 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 followin...
/* RISC-V ISA constants */ #define get_field(reg, mask) (((reg) & \ (target_ulong)(mask)) / ((mask) & ~((mask) << 1))) #define set_field(reg, mask, val) (((reg) & ~(target_ulong)(mask)) | \ (((target_ulong)(val) * ((mask) & ~((mask) << 1))) & \ (target_ulong)(mask))) ...
/* * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005, 2006 Cisco Systems. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, a...
/* * 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...
#include "board.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #include <stdbool.h> /** * Minesweeper board data, containing board size, board contents, and mine * count. */ ///** Resets all color / format settings. */ //#define COLOR_NC "\033[0m" ///** Fades the foreground color when printed. */ //#...
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. */ // This sample C application for Azure Sphere demonstrates Azure IoT SDK C APIs // The application uses the Azure IoT SDK C APIs to // 1. Use the buttons to trigger sending telemetry to Azure IoT Hub/Central. // 2. Use ...
/* * i.MX6 nand boot control block(bcb). * * Based on the common/imx-bbu-nand-fcb.c from barebox and imx kobs-ng * * Copyright (C) 2017 <NAME> <<EMAIL>> * Copyright (C) 2016 <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <nand.h> #include <asm/io.h> #include <jffs2/jff...
#define FFI_SCOPE "GRAPHICS" #define FFI_LIB "/usr/lib/x86_64-linux-gnu/libcsfml-graphics.so" typedef unsigned char sfUint8; typedef unsigned int sfUint32; typedef int sfBool; typedef struct sfVector2f { float x; float y; } sfVector2f; typedef struct sfVector2i { int x; int y; } sfVector2i; typede...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdint.h> #include <stdbool.h> #include "headers/cpu.h" #include "headers/disass.h" #include "headers/opcode.h" #include "headers/lib.h" #include "headers/banking.h" #include "headers/instr.h" #include "headers/debug.h" #include "headers/p...
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. * ...
#include "syscall_handler.h" #include "int_wrapper.h" // File Descriptor struct. If you need more info, RTDC 8.2 typedef struct fd_t { int32_t (*fop_jump_table[NUM_FOPS])(); int32_t inode; int32_t file_type; int32_t file_position; uint32_t flags; } fd_t; // Process Control Block struct. If you nee...
// author <EMAIL> #include <byteswap.h> #include <curl/curl.h> #include <errno.h> #include <json-c/json.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <unistd.h> #include "macros.h" #inc...
/* * dump.c: compiler state save and restore * Copyright (C) 1996 Advanced RISC Machines Limited. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 0 * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include <stdio.h> #include "globals.h" #include "defs.h"...
/* packet-lapdm.c * Routines for LAPDm frame disassembly * <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 * * SPDX-License-Identifier: GPL-2.0-or-later */ /* LAPDm references: * * Mobile Station - Base Stations System (MS - BSS) Interface Data Link (DL) Laye...
/** * Copyright (2017) Baidu Inc. All rights reserved. * * 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 b...
/*! * Copyright 1997, Regents of the University of Minnesota * * \file * \brief This is the entry point of parallel ordering routines * * \date Started 8/1/2008 * \author <NAME> * \version\verbatim $Id: ometis.c 9716 2011-04-06 15:50:54Z karypis $ \endverbatime * */ #include <parmetislib.h> /**************...
/********************************** (C) COPYRIGHT ******************************* * File Name : eth_driver.c * Author : WCH * Version : V1.3.0 * Date : 2022/06/02 * Description : eth program body. * Copyright (c) 2021 <NAME> Microelectronics Co., Ltd. * SPDX-License-...
#include <inttypes.h> #include "test_spng.h" #include "test_png.h" enum spngt_flags { SPNGT_COMPARE_CHUNKS = 1 }; #define SPNG_FMT_RGB16 8 struct spng_test_case { int fmt; int flags; int test_flags; }; static int n_test_cases=0; struct spng_test_case test_cases[100]; const char* fmt_str(int fmt) {...
//#define myprintf(a, b, rest...) printf (a, b, ## rest) #define Stack_Pop(stack) Stack_Pop_WithExceptionOnEmpty ( stack ) #define _Q_CodeByteArray _Q_->CodeByteArray #define _Q_CodeSpace _Q_->MemorySpace0->CodeSpace #define _Compile_Int8( value ) ByteArray_AppendCopyItem ( _Q_CodeByteArray, 1, value ) //#define Com...
#include "OpcodeLookupTable.h" Instruction* getNormalOpcode(unsigned char opcode) { static Instruction normalOpcodes[] = { { OP_NOP, NONE, NONE }, { OP_LD16, REG_BC, IMMEDIATE_16BIT }, { OP_LD8, ADDRESS_REG_BC, REG_A }, { OP_INC16, REG_BC, NONE }, { OP_INC8, REG_B, NONE }, { OP_DEC8, REG_B, NONE...
/* * Copyright (C) 2011 <NAME> ( http://amarullz.com/ ) * * 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 app...
#include <stdlib.h> #include <math.h> #include <malloc.h> #include <string.h> #include "variational_aux.h" #include <xmmintrin.h> typedef __v4sf v4sf; #define datanorm 0.1f*0.1f//0.01f // square of the normalization factor #define epsilon_color (0.001f*0.001f)//0.000001f #define epsilon_grad (0.001f*0.001f)//0.000001...
/* * 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 */ /* ...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /****************************************************************************** * * Purpose: Demonstrate VxLAN Egres...
/* Copyright (c) 1997 The Regents of the University of California. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ /* NOW ADD: dsp routines for block, inlet, outlet block: conditionally jumps straight to outlets ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "defines.h" #include "jsmn.h" #include "json.h" extern texture_atlas_t *atlas; /* * A small example of jsmn parsing when JSON structure is known and number of * tokens is predictable. */ int jsoneq(const char *json, jsmntok_t *tok, const char *...
/* io_put.c * * Copyright (c) 1996-2008 <NAME>, NcFTP Software. * All rights reserved. * */ #include "syshdrs.h" #ifdef PRAGMA_HDRSTOP # pragma hdrstop #endif #define _CRT_SECURE_NO_WARNINGS 1 #ifndef O_BINARY /* Needed for platforms using different EOLN sequence (i.e. DOS) */ # ifdef _O_BINARY # define O_BIN...
/* * * lucille | Global Illumination Renderer * * Copyright 2003-2203 <NAME> (<EMAIL>) * * */ /* * An implementation of * "Computing the scattering properties of participating media * using Lorentz-Mie theory" * <NAME>, <NAME> and <NAME>, * SIGGRAPH 2007. * * References: * * ...
/*------------------------------------------ Source file content Eleven part Part Zero: Include Part One: Local data Part Two: Local function Part Three: Define Part Four: Extbug main Part Five: Initialization Part Six: Dictionary control Part Seven: Exbug entrance Part Eight: Message part Part Nine: Misc ...
/* * $Id: node_composite_image.c 40955 2011-10-12 13:07:30Z lukastoenne $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 "monitor.h" #include "pingpong.h" #include "get_clock.h" #include "pacer.h" #include "countmin.h" #include <inttypes.h> #include <math.h> #include <assert.h> #define TAIL 2 #define EVENT_POLL 0 // use event-triggered polling (or busy polling) for reference flow #define CS_OFFSET 4 // context switch of...
// Copyright (C) 2015-2021 <NAME>, Inc. // // 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,...
// cmd/7l/noop.c, cmd/7l/obj.c, cmd/ld/pass.c from Vita Nuova. // https://code.google.com/p/ken-cc/source/browse/ // // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. // Portions Copyright © 1995-1997 <NAME> (<EMAIL>) // Portions Copyright © 1997-1999 Vita Nuova Limited // Portions Copyright ©...
// SPDX-License-Identifier: GPL-2.0 // // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver // // Copyright 2019 Analog Devices Inc. #include <linux/bitfield.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> #include <sound/pcm_params.h> #include <sound/soc.h>...
/***************************************************************************** * This file is part of Kvazaar HEVC encoder. * * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * ...
// Little 'bomberman' clone // player vs computer // arrow keys to move the player // space key to place a bomb or restart the game when the game is over // CToy is not a game framework, // this game is rendered in software (pixel by pixel) // and all the game data is included in the code itself, // see this as an exer...
/* LGPL */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <liboil/liboilfunction.h> #include <liboil/dct/dct.h> #include <math.h> OIL_DECLARE_CLASS (imdct32_f32); /* from mpglib */ /* * Discrete Cosine Tansform (DCT) for subband synthesis * optimized for machines with no auto-increment. * The performa...
/* Copyright (C) 2014-2015 <NAME>. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would be usefu...
/* 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...
/** * \file * \brief Realtek RTL8029(AS) driver. */ /* * Copyright (c) 2007, 2008, 2011 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, Haldeneggsteig 4, CH-809...
/* * Copyright (c) fG!, 2011, 2012, 2013 - <EMAIL> - http://reverse.put.as * All rights reserved. * * Original code from "onyx-the-black-cat". Modified by <NAME> (@enzolovesbacon). * * Copyright (c) 2013, 2014 - <NAME> (@enzolovesbacon) * All rights reserved. * * Redistribution and use in source and binary for...
/* * Copyright (c) 2007 <NAME> <<EMAIL>> * Copyright (c) 2007 <NAME> * 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. * * ...
// // webserver.c // // Very simple and minimalistic http server // #include "nanoHttp.h" #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <string.h> #include <strings.h> #include <unistd.h> #include <signal.h> #include <sys/stat.h> #include <dirent.h> #include <netinet/in.h> #i...
/* Onion HTTP server library Copyright (C) 2010-2016 <NAME> and others This library is free software; you can redistribute it and/or modify it under the terms of, at your choice: a. the Apache License Version 2.0. b. the GNU General Public License as published by the Free Software Foundation; either version ...
#include "postgres.h" #include <unistd.h> #include "catalog/pg_type.h" #include "executor/spi.h" #include "miscadmin.h" #include "storage/ipc.h" #include "storage/spin.h" #include "access/hash.h" #include "tcop/utility.h" #include "commands/dbcommands.h" #include "utils/builtins.h" #include "utils/syscache.h" #inclu...
/************************************************************************/ /* */ /* LinkLayer.c The implementation of the IP linklayer */ /* as specified by RFC 1122 */ /* ...
#include <stdio.h> /*printf()*/ #include <stdlib.h> /*exit()*/ #include <string.h> /*strlen()*/ #include <unistd.h> /*close()*/ #include <sys/socket.h> /*socket(),connect()*/ #include <sys/types.h> /*setsockopt()*/ #include <arpa/inet.h> /*struct sockaddr_in*/ #include <netinet/in.h> ...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* Feature : Dynamic Group Multipathing * * Usage : BCM.0> cint dgm.c * * config : dgm_config.bcm ...
/******************************************************************************** * Monte-Carlo Simulation for Light Transport in 3D Volumes * ********************************************************************************* * ...
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2013 Conifer Software. // // ...
#pragma once #include <dolphin/types.h> #include "battle/battle_ac.h" #include "battle/battle_audience.h" #include "battle/battle_camera.h" #include "battle/battle_database_common.h" #include "battle/battle_icon.h" #include "battle/battle_pad.h" #include "battle/battle_stage_object.h" #include "drv/dispdrv.h" #include...
/* txOrtho - Produce list of shared edges between two transcription graphs in two species. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "mem...
/* Launch4j (http://launch4j.sourceforge.net/) Cross-platform Java application wrapper for creating Windows native executables. Copyright (c) 2004, 2008 <NAME>, <NAME> (jdk preference patch) <NAME> (single instance patch) Permission is hereby granted, free of charge, to any person obtaining a copy...
/*! \file \brief URG control \author <NAME> $Id: urg_ctrl.c 1950 2011-05-07 08:18:39Z satofumi $ */ #include "math_utils.h" #include "urg_ctrl.h" #include "scip_handler.h" #include "urg_errno.h" #include "serial_ctrl.h" #include "serial_utils.h" #include "serial_errno.h" #include "urg_ticks.h" #include "urg_...
/* Netvideo version 3.3 Written by <NAME> <<EMAIL>> Sun CellB encode routines Based heavily on code by <NAME> <<EMAIL>> */ /* * Copyright (c) Sun Microsystems, Inc. 1992, 1993. All rights reserved. * * License is granted to copy, to use, and to make and to use derivative * works for research and evaluation p...
#include <stdint.h> #include <stdio.h> #include "string.h" #include <stdlib.h> #include "icp.h" #include "dbg.h" #include <unistd.h> #include "mqtt.h" bool_t icp_update_in_progress = FALSE; uint8_t destination; // TODO find a suitable place for this #define timeout_exceeded( start_time, current_time, timeout ) \ ...
/* index calculus define p primo, g radice primitiva di p , B smoothness bound cerchiamo log in base g di b pseudocodice : 1. trovare tutti i k primi nell'intervallo [2, B]................................................................................. v 2. settare i = 1 3. while 1 <= 4k (dove k numero di pri...
#include "internal.h" // sixel is in a sense simpler to edit in-place than kitty, as it has neither // chunking nor base64 to worry about. in another sense, it's waaay suckier, // because you effectively have to lex through a byte at a time (since the // color bands have varying size). le sigh! we work geometrically h...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
/* GStreamer Element * * Copyright 2011 Collabora Ltd. * @author: <NAME> <<EMAIL>> * Copyright 2011 Nokia Corp. * * 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 * versi...
// SPDX-License-Identifier: GPL-2.0 /* * TI PHY drivers * */ #include <common.h> #include <log.h> #include <phy.h> #include <dm/devres.h> #include <linux/bitops.h> #include <linux/compat.h> #include <malloc.h> #include <dm.h> #include <dt-bindings/net/ti-dp83867.h> #include "ti_phy_init.h" /* TI DP83867 */ #defin...
/* * dmesg.c -- Print out the contents of the kernel ring buffer * * Copyright (C) 1993 <NAME> <<EMAIL>> * Copyright (C) 2011 <NAME> <<EMAIL>> * * This program comes with ABSOLUTELY NO WARRANTY. */ #include <linux/unistd.h> #include <stdio.h> #include <getopt.h> #include <stdlib.h> #include <sys/klog.h> #include...
#ifndef lint static const char RCSid[] = "$Id: rsensor.c,v 2.18 2015/06/09 21:34:15 greg Exp $"; #endif /* * Compute sensor signal based on spatial sensitivity. * * Created Feb 2008 for Architectural Energy Corp. */ #include "ray.h" #include "source.h" #include "view.h" #include "random.h" #define DEGREE (PI/18...
/* See LICENSE file for copyright and license details. */ #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <dirent.h> #include <err.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <locale.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> ...
#include <stdio.h> #include <math.h> #include "common.h" #include "encoder.h" #include "mem.h" #include "fft.h" #include "psycho_1.h" #include "psycho_1_priv.h" #define DBTAB 1000 double dbtable[DBTAB]; /********************************************************************** This module implements the psychoa...
/* * This file is part of the coreboot project. * * Copyright (C) 2009 coresystems GmbH * * 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; version 2 of * the License. * * This program i...
/* libmypaint - The MyPaint Brush Library * Copyright (C) 2007-2014 <NAME> <<EMAIL>> et. al. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * ...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
#include "common.h" int token_cmp(rh_token *token, char *ident) {/*{{{*/ char *c = token->file_begin; while (c < token->file_end) { if (!*ident || *c != *ident) return 0; c++; ident++; } return *ident ? 0 : 1; }/*}}}*/ int token_cmp_skip(rh_context *ctx, char *ident) { int ret = token_cmp(ctx->token, ident);...