text
stringlengths
5.8k
28.2k
#include <stdlib.h> #include <ctype.h> #include <stdio.h> #include <string.h> #include <stdbool.h> #include <math.h> #include "svg_header.h" typedef struct /*_2D_COORDS*/ { int x; int y; } COORDS; typedef enum { IGNORE, LEGEND, COLOR, VALUE, EXPLODE } SLICE_PROP; typedef struct /*_PIE_SLICE*/ { char* legend_...
/* * stripctrl.c: a facility for stripping control characters out of a * data stream (defined as any multibyte character in the system * locale which is neither printable nor \n), using the standard C * library multibyte character facilities. */ #include <assert.h> #include <locale.h> #include <string.h>...
/* Rebind is a tool for performing DNS rebinding by returning multiple A records for DNS lookups. * Specifically, it is designed to use client's Web browsers to attack the internal Web interfaces * of routers that allow internal clients to reference the router's administrative interface via the * router's public IP ...
/* * Copyright 2008 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can * be found in the LICENSE file. */ /* * NaCl Generic containers. */ #include "native_client/src/include/portability.h" #include <stdio.h> #include <stdlib.h> #include "native...
/* $OpenBSD: grf_iv.c,v 1.42 2007/09/17 01:33:32 krw Exp $ */ /* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */ /* * Copyright (C) 1998 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/* This file is a part of liblsdj, a C library for managing everything that has to do with LSDJ, software for writing music (chiptune) with your gameboy. For more information, see: * https://github.com/stijnfrishert/liblsdj * http://www.littlesounddj.com -----------------------------------------------------...
/* * Copyright (c) 2012, <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 the above copyright * notice, this list ...
/* * Copyright (c) 2009-2021, Google LLC * 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 ...
/* * This file is part of DroneBridge: https://github.com/seeul8er/DroneBridge * * 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.ap...
/* * This file is part of the coreboot project. * * Copyright (C) 2007-2010 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...
/* * Copyright (C) 2012 <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, or any later version. * * This program is distributed in th...
#include "pid.h" #include <math.h> #include <stdbool.h> #include <stdlib.h> #include "control.h" #include "filter.h" #include "led.h" #include "profile.h" #include "project.h" #include "rx.h" #include "util.h" // multiplier for pids at 3V - for PID_VOLTAGE_COMPENSATION - default 1.33f from H101 code #define PID_VC_F...
/* * Tencent Cloud IoT AT library * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://opensource.org/licenses/MIT * Unle...
/* $Id: mode.c,v 1.49 2008/11/06 20:45:12 pekberg Exp $ ***************************************************************************** LibGGI DirectX target - Mode management Copyright (C) 1999-2000 <NAME> [<EMAIL>] Copyright (C) 2004 <NAME> [<EMAIL>] Permission is hereby granted, free of charge, to ...
/** ****************************************************************************** * @file Audio/Audio_playback_and_record/Src/main.c * @author MCD Application Team * @brief Audio playback and record main file. ****************************************************************************** * @attention...
/* Copyright (c) 2012, Broadcom Europe Ltd Copyright (c) 2015-2021, <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 notic...
/* -*- C -*- mpiP MPI Profiler ( http://mpip.sourceforge.net/ ) Please see COPYRIGHT AND LICENSE information at the end of this file. ----- pc_lookup.c -- functions that interface to bfd for source code lookup */ #define DEMANGLE_GNU #define ENABLE_BFD #define HAVE_BFD_BOOLEAN #define HAVE_BFD_GET_...
/* $XFree86: xc/programs/xfs/difs/resource.c,v 3.10 2005/10/14 15:17:33 tsi Exp $ */ /* Copyright 1987, 1998 The Open Group 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 co...
/* common.h Defines commonly used high level functions and constants. */ /* uint128 type */ typedef unsigned __int128 uint128_t; /* Errors */ /* common errors */ #define ERROR_ARGUMENTS_LEN -1 #define ERROR_ENCODING -2 #define ERROR_SYSCALL -3 #define ERROR_OVERFLOW -4 /* load errors */ #define ERROR_LOAD_HEADER -6...
/* Copyright 2009, Ifcaro & volca Licenced under Academic Free License version 3.0 Review OpenUsbLd README & LICENSE files for further details. */ #include "include/usbld.h" #include "include/util.h" #include "include/ioman.h" #include <string.h> #define CONFIG_INDEX_OPL 0 #define CONFIG_INDEX_LAST 1 #defin...
/*! @file * \brief Improves the computed solution and provies error bounds * * <pre> * -- Distributed SuperLU routine (version 1.0) -- * Lawrence Berkeley National Lab, Univ. of California Berkeley. * September 1, 1999 * </pre> */ #include <math.h> #include "superlu_zdefs.h" /*-- Function prototypes --*/ st...
/*--------------------------------------------------------------------------------- nehe lesson 5 port to GX by WinterMute ---------------------------------------------------------------------------------*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <malloc.h> #include <math.h> #include <gc...
/** Based on code Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). under the LGPL */ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <string.h> #include <pthread.h> #include <unistd.h> #include <sys/stat.h> #include <pthrea...
/* =========================================================================== 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) 2005-2007 <NAME>, Inc. All rights reserved. * Proprietary and Confidential Material. * */ #include "wave.h" #include "wavegps.h" #include "os.h" #include "queue.h" #include <stdio.h> #include <ctype.h> #include <time.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <e...
// rd_route.c // Copyright (c) 2014-2015 <NAME> // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. #include <stdlib.h> // realloc() #include <libgen.h> // basename() #include <assert.h> // assert() #include <stdio.h> ...
/* * Phoenix-RTOS * * plo - operating system loader * * Loader commands * * Copyright 2020 Phoenix Systems * Author: <NAME>, <NAME> * * This file is part of Phoenix-RTOS. * * %LICENSE% */ #include "../errors.h" #include "../plostd.h" #include "../phfs.h" #include "../low.h" #include "../cmd.h" #include "....
/* * * phy-hi3518ev300-usb.c * * usb phy driver special for hi3518ev300 * * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * * 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...
/****************************************************************************** * __ __ _____ __ __ _____ * \ \ / / | ____| \ \ / / | ____| * \ \/ / | |__ \ \/ / | |__ * } { | __| \ / | __| * / /\ \ | |___ / / | |___ * /_/ \_\ |_____| /_/ |_____|...
#include <stdio.h> #include <stdlib.h> #include <mpi.h> #include <string.h> #include <math.h> #include "vector.h" #include "struct.h" #include "lyman.h" #include "propagation.h" #include "ray.h" #include "RND_lyman.h" #include "io.h" #include "myrand.h" int PropagateIsInside(double *Pos) /*depending on the geometrical...
#pragma ident "$Id: dhead7.c,v 1.6 2015/11/14 00:50:51 dechavez Exp $" /*====================================================================== * * Load a rev 7 data record header. * * There seems to be a problem with either the way we decode the format * bitmap, or with the way it is written. As decoded here,...
#include "quakedef.h" #include "image.h" cvar_t r_lightningbeam_thickness = {CVAR_SAVE, "r_lightningbeam_thickness", "4", "thickness of the lightning beam effect"}; cvar_t r_lightningbeam_scroll = {CVAR_SAVE, "r_lightningbeam_scroll", "5", "speed of texture scrolling on the lightning beam effect"}; cvar_t r_lightning...
/* omega copyright (C) by <NAME>, 1987,1988,1989 */ /* guild1.c */ /* L_ functions */ /* These functions implement the various guilds. */ /* They are all l_ functions since they are basically activated*/ /* at some site or other. */ #include "glob.h" void l_merc_guild() { pob newitem; print1("Legion of Desti...
/* * Copyright 2011 <NAME> * * This file is part of Project Ubertooth. * * 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, or (at your option) * any later version. * * ...
/* * piepie - bot framework for Mumble * * Author: <NAME> <<EMAIL>> * License: MIT (see LICENSE) */ /* TODO: ensure server sent a certificate and also (optionally) verify it */ #include <stdbool.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <limits.h> #include <lua.h> #include <lualib....
/* * Copyright (C) <NAME> * Copyright (C) NGINX, Inc. * * An internal SHA2 implementation. */ #include <njs_main.h> static const u_char *njs_sha2_body(njs_sha2_t *ctx, const u_char *data, size_t size); void njs_sha2_init(njs_sha2_t *ctx) { ctx->a = 0x6a09e667; ctx->b = 0xbb67ae85; ctx->c = 0...
#include "serial.h" #include "maple_memcard.h" #include "maple_command.h" #include "maple_function.h" #include "maple_error_codes.h" #include "maple_endian.h" #include <stdio.h> #include <stdlib.h> #include <string.h> struct vmi_header { char checksum[4]; char description[32]; char copyright[32]; uint16_t yea...
/* * Multi2Sim * Copyright (C) 2012 <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, or * (at your option) any later version. * ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/wait.h> #include <time.h> #include <pcap.h> #include <thc-ipv6.h> #define HOST_SCAN_C_ #include "host_scan.h" #undef HOST_SCAN_C_ #define ETH_HDR_LEN 14...
/** @file scene.c @brief This file contains main scenario routines TwinEngine: a Little Big Adventure engine Copyright (C) 2013 The TwinEngine team Copyright (C) 2008-2013 Prequengine team Copyright (C) 2002-2007 The TwinEngine team This program is free software; you can redistribute it and/or modify it und...
#include <ctype.h> /* for isdigit */ #include <string.h> /* for memchr() */ #include <stdio.h> #include <stdlib.h> /* for strtod() */ #include <stdarg.h> #include <math.h> /* for the time being */ #include "util.h" #include "scaner.h" #include "scan_fp.h" static const char* unrecog_token = "<PASSWORD> token"; /* For...
/* zzsglatx.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static doublereal c_b5 = 0.; /* $Procedure ZZSGLATX ( Line segment latitude extent ) */ /* Subroutine */ int zzsglatx_...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /*--------------------------------------------------------------------------...
/** * \file * System.Diagnostics.Process support * * Author: * <NAME> (<EMAIL>) * * Copyright 2002 Ximian, Inc. * Copyright 2002-2006 Novell, Inc. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include <config.h> #include <glib.h> #include <string.h>...
/* * Copyright (c) 2013 <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 appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL W...
/*-------------- Telecommunications & Signal Processing Lab --------------- Routine: AFILE *AFrdEShead(FILE *fp) Purpose: Get file format information from an ESPS sampled data feature file Description: This routine reads the header for an ESPS sampled data feature file. The header information is used to set ...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2019 <NAME> * * This program, aufs 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 l...
/*@ S-nail - a mail user agent derived from Berkeley Mail. *@ Implementation of sigs.h. * * Copyright (c) 2000-2004 <NAME>, Freiburg i. Br., Germany. * Copyright (c) 2012 - 2020 <NAME>) Nurpmeso <<EMAIL>>. * SPDX-License-Identifier: BSD-3-Clause TODO ISC (better: drop) */ /* * Copyright (c) 1980, 1993 * Th...
/* This file is part of CanFestival, a library implementing CanOpen Stack. Copyright (C): <NAME> and <NAME> See COPYING file for copyrights details. 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 Foun...
/* * Copyright (C) 2004, 2005, 2007, 2009-2011 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 * copyrigh...
/* Copyright (c) 2007-2009 <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, distribute, sub...
#ifndef lint static const char RCSid[] = "$Id: rglsurf.c,v 3.13 2012/04/25 22:21:06 greg Exp $"; #endif /* * Convert Radiance -> OpenGL surfaces. */ #include "copyright.h" #include "radogl.h" #ifndef NSLICES #define NSLICES 18 /* number of quadric slices */ #endif #ifndef NSTACKS #define NSTACKS 10 /* number o...
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited * Copyright (C) 2019 X-Cite SA (http://www.x-cite.io) * I2C driver rewritten by <NAME> (<EMAIL>) */ #include <stdio.h> #include <k_api.h> #include <stdint.h> #include <stdbool.h> #define i2c_dev_t aos_i2c_dev_t #define i2c_config_t aos_i2c_config_t #includ...
/* The MIT License (MIT) Copyright (c) 2021 <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...
/* FluidSynth - A Software Synthesizer * * Copyright (C) 2003 <NAME> and others. * * 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 ...
/*- * Copyright (c) 1996, by <NAME> * Copyright (c) 2003, by <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 *...
// // Copyright (c) 2021 dushin.net // 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 by a...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" int8_t x79 = -23; static volatile int8_t x141 = INT8_MIN; int32_t x279 = INT32_MIN; static int32_t x280 = INT3...
#include <limits.h> #include <stdio.h> #include <stdlib.h> #include "../../alignCharacters.h" #include "../../c_code_alloc_setup.h" #include "../../debug_constants.h" // #include "../costMatrix.h" #include "../../alignmentMatrices.h" #include "../../ukkCheckPoint.h" #include "../../ukkCommon.h" // #define CHAR_CAPACI...
/* rnaPhylo - rna phylogenetic analysis. */ /* Copyright (C) 2011 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "jksql.h" #include "phyloTree.h" #include "rna...
/* Usage: ./test-wildcard This is a test program for the ssl_post_connect_check function. It generates certificates with a variety of different combinations of commonNames and dNSNames, then checks that matching names are accepted and non-matching names are rejected. The SSL transactions happen over OpenSSL BIO pairs....
/* Minimalistic example: create a few layers and display as many of them as * possible. Layers that don't make it into a plane won't be displayed. */ #define _POSIX_C_SOURCE 200809L #include <errno.h> #include <sys/mman.h> #include <drm_fourcc.h> #include <fcntl.h> #include <libliftoff.h> #include <stdio.h> #include ...
/* * xDMS v1.3 - Portable DMS archive unpacker - Public Domain * Written by <NAME> <<EMAIL>> * * Handles the processing of a single DMS archive * */ #define HEADLEN 56 #define THLEN 20 #define TRACK_BUFFER_LEN 32000 #define TEMP_BUFFER_LEN 32000 #include <stdio.h> #include <stdlib.h> #i...
/* Copyright (c) 2012, Broadcom Europe Ltd 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 t...
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <stdbool.h> #include <limits.h> #include <string.h> #define DEBUG 0 #define DT_MATRIX unsigned long #define DT_MATRIX_MPI MPI_UNSIGNED_LONG #define MAX_MATRIX_VALUE INT_MAX // Function to return the minimun of two num...
/* # _____ ___ ____ ___ ____ # ____| | ____| | | |____| # | ___| |____ ___| ____| | \ PS2DEV Open Source Project. #----------------------------------------------------------------------- # Copyright 2005, <NAME> (jbit<at>jbit<dot>net) # Licenced under Academic Free License version ...
/* * 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...
/* hi hi - MtnDont 3/19/2018 7:30 PM hey - MtnDont 10/24/2018 10:23 AM */ const char* DEFAULT_SERVER = "irc.chat.twitch.tv"; const char* DEFAULT_NICK = ""; const char* DEFAULT_PASS = "<PASSWORD>:"; #define SOC_ALIGN 0x1000 #define SOC_BUFFERSIZE 0x100000 #define STATE_ASK_SERVER 0 #define STATE_GET_SE...
//============================================================================ /// @file paging.c /// @brief Paged memory management. // // Copyright 2016 <NAME>. // Use of this source code is governed by a BSD-style license that can // be found in the MonkOS LICENSE file. //=================================...
#include <avr/interrupt.h> #include "adc.h" #include "attitude.h" #include "battery.h" #include "buzzer.h" #include "control.h" #include "i2c.h" #include "indicator.h" #include "led.h" #include "mcu_pins.h" #include "mk_serial_protocol.h" #include "mk_serial_tx.h" #include "motors.h" #include "nav_comms.h" #include "p...
/* http://stackoverflow.com/questions/3191978/how-to-use-glut-opengl-to-render-to-a-file/14324292#14324292 */ /* Turn output methods on and off. */ #define PPM 1 #define LIBPNG 1 #define FFMPEG 1 #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define GL_GLEXT_PROTOTYPES 1 #include <GL...
/** * \file * * \brief mXT143E Xplained multi-touch demo application * * Copyright (C) 2012-2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
#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...
/****************************************************************************** * * * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/* * Copyright (c) 2011, 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> typedef unsigned char byte; typedef signed char sbyte; typedef unsigned short u16; typedef signed short s16; typedef unsigned int u32; typedef signed int s32; typedef unsigned long long u64; typedef signed long long s64; #include "bt1h_targa...
/* Copyright (C) 2015 by <NAME> <<EMAIL>> * * Based on sysmoBTS: * sysmobts_misc.c * (C) 2012 by <NAME> <<EMAIL>> * * All Rights Reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free S...
#include <stdio.h> #include <stdlib.h> #define A 2 #define B 4 typedef int object_t; typedef int key_t; typedef struct tr_n_t { int degree; int height; key_t key[B]; struct tr_n_t* next[B]; /* possibly other information */ } tree_node_t; // ______________________________...
/* * SysDB - src/plugins/backend/collectd/unixsock.c * Copyright (C) 2012-2014 Sebastian 'tokkee' Harl <<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 s...
/*@ src/su/gen-cs-ctype.h, generated by su-make-cs-ctype.sh. *@ See cs-ctype.c for more */ CTAV(su_CS_CTYPE_NONE == 0); #undef a_X #define a_X(X) su_CONCAT(su_CS_CTYPE_,X) u16 const su__cs_ctype[S8_MAX + 1] = { /* 0x00=? */ a_X(CNTRL), /* 0x01=? */ a_X(CNTRL), /* 0x02=? */ a_X(CNTRL), /* 0x03=? */ a_X(CNT...
/* Plugin Name: Camera local It takes the data from a local device /dev/video0 send to many VMS Pipeline: Capture and send video gst-launch-1.0 v4l2src device=/dev/video0 \ ! tee name=t \ ! queue \ ! decodebin \ ! x264enc \ ! rtph264pay \ ! udpsink host=localhost port=5000 \ t. \ ! q...
/* * Copyright © 2003 <NAME> * 2018 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version....
/* ogg123.c by <NAME> <<EMAIL>> */ /* Maintained by <NAME> <<EMAIL>>, Monty <<EMAIL>> */ /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "mpi.h" #include "mkl.h" #include "control.h" /* --- Implementation starts here --- */ Problem *createProblem(double Nt, double beta, Matrix *A, Matrix *B, Matrix *C, Matrix *D, double *f, double *g, double *yhat, ...
/* * Bluetooth supports for Qualcomm Atheros chips * * Copyright (c) 2015 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation * * ...
/* * mmd.c * * ************************************************************** * The following C function was developed from a FORTRAN subroutine * in SPARSPAK written by <NAME>, <NAME>, <NAME> * and <NAME>. * * The FORTRAN-to-C transformation and modifications such as dynamic * memory allocation and deallocat...
/* * 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...
/* * Net1080 based USB host-to-host cables * Copyright (C) 2000-2005 by <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any...
/** @file main.c * * @brief Generate keys using the toolkit's SPHINCS+ Signature scheme. * * @copyright Copyright (C) 2019-2021, ISARA Corporation, All Rights Reserved. * * @license Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
/** * (C) Copyright 2019-2020 Intel Corporation. * * 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 l...
#include "json_base.h" int send_json_base(void *para) { // 1 minute for /report/post char *buf_collect, *result, *cmd, *tmp_interface; int ret; //char *cmd = ((struct pthread_para *)para)->cmd; cmd = malloc(CMD_SIZE); buf_collect = malloc(CMD_SIZE); tmp_interface = alloca(128); st...
// -*-Mode: C++;-*- // technically C99 // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research an...
/* * Copyright (c) 2004, Intel Corporation. * Copyright (c) 2006, <NAME>, XenSource Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, version * 2, as published by the Free Software Foundation. * * This program is...
#include "demo.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <limits.h> typedef struct RainbowError { char* errorMsg; char* errorDoc; }RainbowError; typedef struct queue { RainbowToken* queue; unsigned long long size; unsigned long long rear; unsigned ...
/* FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the...
//-------------------------------------------------------------------------- // Program to pull the information out of various types of EXIF digital // camera files and show it in a reasonably consistent way // // This module handles basic Jpeg file handling // // <NAME> //---------------------------------------------...
/* * ps.c * * provide postscript file reading support for page */ #include <u.h> #include <libc.h> #include <draw.h> #include <cursor.h> #include <thread.h> #include <bio.h> #include <ctype.h> #include "page.h" static int pswritepage(Document *d, int fd, int page); static Image* psdrawpage(Document *d, int page)...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include <stdlib.h> #include <stddef.h> #include "azure_c_shared_utility/vector.h" #include "azure_c_shared_utility/gballoc.h" #include "azure_c_shared_utility/xlogging...
/* * Copyright (c) 1999, <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...