text
stringlengths
3.12k
18.7k
/*/ GICHT Copyright (c) 2013, <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 condition...
/*- * Copyright (c) 1988 University of Utah. * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * the Systems Programming Group of the University of Utah Computer * Science Department, and code der...
/* Copyright (c) 2009-2011, <NAME> <<EMAIL>> 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 SOFTWARE IS PROVIDED "AS IS" AND THE AU...
/* pckpds.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 integer c__2 = 2; static integer c__5 = 5; /* $Procedure PCKPDS ( PCK, pack descriptor ) */ /* Subroutine */ int ...
/* This file is part of mikroSDK. Copyright (c) 2017, MikroElektonika - http://www.mikroe.com All rights reserved. ----------------------------------------------------------------------------- */ #include "__t_DSPIC.h" const uint8_t _MIKROBUS_ERR_PIN = 1; const uint8_t _GPIO_OUTPUT = 0...
/* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver * * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com) * * This program is dual-licensed; you may select either version 2 of * the GNU General Public License ("GPL") or BSD license ("BSD"). * * This Synopsys DWC XLGMAC software driver and associat...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016, 2017 <NAME> for Adafruit Industries * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
// Creates PCDS-compliant .archive files from `info` node tags #define VERSION "0.0" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dbAccess.h> /* includes dbDefs.h, dbBase.h, dbAddr.h, dbFldTypes.h */ #include <dbStaticLib.h> #include <errlog.h> #include <iocsh.h> #inclu...
/* Copyright (C) 2004 - 2009 <NAME> <<EMAIL>> <http://rt2x00.serialmonkey.com> 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 ver...
/* * Copyright 2003 VMware, Inc. * Copyright © 2006 Intel Corporation * * 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...
#include <adf_os_types_pvt.h> // otherwise other includes fail #include <cmnos_api.h> #include "if_athvar.h" #include "ah.h" #include "ah_internal.h" #include "wlan_hdr.h" #include "debug.h" #include "ar5416reg.h" #include "ar5416desc.h" /** Can't be too large, otherwise it wont fit in dram_seg */ #define BUFFSIZE ...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include "mpi.h" #define INF 999999 #define DIM 5 // printing a matrix; for debugging void printMatrix(int matrix[DIM][DIM]){ int i, j; for (i = 0; i < DIM; i++){ for (j = 0; j < DIM; j++){ printf("%d\t", matrix[i][j]); } print...
/********************************************************************* * Copyright 2009, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. *********************************************************************/ /* $Id: jdatastd.c,v 1.2 2010/05/24 19:59:57 dmh Exp $ */ /* $Header:...
/*- * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. * 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 limit...
/* Copyright (c) 2010-2014 <NAME>. */ /* Copyright (c) 2012 Google Inc. All Rights Reserved. */ #define _XOPEN_SOURCE #include <sys/time.h> #define SORT_NAME sorter #define SORT_TYPE int64_t #define SORT_CMP(x, y) ((x) - (y)) #include "sort.h" #define SORT_NAME stable #define SORT_TYPE int* #define SORT_CMP(x, y) (*...
#include "io.h" // GPIO enum { GPFSEL0 = PERIPHERAL_BASE + 0x200000, GPSET0 = PERIPHERAL_BASE + 0x20001C, GPCLR0 = PERIPHERAL_BASE + 0x200028, GPPUPPDN0 = PERIPHERAL_BASE + 0x2000E4 }; enum { GPIO_MAX_PIN = 53, GPIO_FUNCTION_OUT = 1, GPIO_FUNCTION_AL...
/* * Copyright (C) <NAME> */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include "ngx_ts_stream.h" #include "ngx_ts_hls.h" #include "ngx_ts_dash.h" typedef struct { ngx_ts_hls_conf_t *hls; ngx_ts_dash_conf_t *dash; } ngx_http_ts_loc_conf_t; typedef struct { ngx_ts_strea...
/* 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 ...
/* * Copyright 2019 <NAME> * * See LICENCE for the full copyright terms. */ #include <assert.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <stdio.h> #include <ctype.h> #include <fsm/fsm.h> #include "ac.h" enum { POOL_BLOCK_SIZE = 256 }; struct trie_state { struct ...
/* zneigh.f -- translated by f2c (version 19991025). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Common Block Declarations */ struct { integer logfil, ndigit, mgetv0, msaupd, msaup2, msaitr, mseigt, msapps, msgets, mseupd, mnaupd, mnaup...
#include <stdio.h> #include <memory.h> #include <ctype.h> #include <alsa/asoundlib.h> #include <pthread.h> #include <time.h> static snd_seq_t *seq_handle; static int in_port; static int in_client_id; static int verbose = 0; static __uint8_t BLANK_REPORT[8] = {0, 0, 0, 0, 0, 0, 0, 0}; #define CHK(stmt, msg) if((stmt)...
/** * \file * * \brief GCC startup file for ATSAML11D16A * * Copyright (c) 2019 Microchip Technology Inc. * * \license_start * * \page License * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
/* * This file is part of the stm32-msc-bootloader project. * * Copyright (C) 2018 <NAME> <<EMAIL>> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the Licens...
/* * de1-soc-wm8731 -- SoC audio for Terasic DE1-SoC board * Author: <NAME> <<EMAIL>> * * Based on sam9g20_wm8731 by * <NAME> <<EMAIL>> * * Licensed under the GPL-2. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/clk.h> #include <linux/platform_device.h> #include <linux/of.h> #include <...
// --------------------------------------------------------------------------------------------------------------------- // Copyright (c) 1986 - 2020, CAG team, Institute of AI and Robotics, Xi'an Jiaotong University. Proprietary and // Confidential All Rights Reserved. // ----------------------------------------------...
/****************************************************************************** Copyright (c) 1996 - 2004 -- University of Washington ******************************************************************************/ #include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> #include "...
/* * Copyright (c) 2011 <NAME> * * BSD 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 limitation the rights * to use, copy, modify, ...
/***************************************************************************** * Made with beer and late nights in California. * * (C) Copyright 2017-2020 AND!XOR LLC (https://andnxor.com/). * * PROPRIETARY AND CONFIDENTIAL UNTIL AUGUST 11th, 2020 then, * * Licensed under the Apache License, Version 2.0 (the "Li...
#include <errno.h> #include <fcntl.h> #include <math.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/file.h> #ifndef __APPLE__ #include <sys/procfs.h> #endif #include <sys/resource.h> #include <sys/signal.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/time.h> #include <sys/...
/* mpfr_cos -- cosine of a floating-point number Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistr...
/** * @file * @brief Boundary Markers algorithm implementation * * @date 24.11.2011 * @author <NAME> */ #include <assert.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <embox/unit.h> #include <mem/page.h> #include <mem/heap.h> #include <mem/heap_afterfree.h> #include <...
#define _GNU_SOURCE /* POLLRDHUP */ #include <sys/socket.h> #include <stdio.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <assert.h> #include <stddef.h> #include <string.h> #include <unistd.h> // from sampbles/bpf #include "bpf_load.h" #include "sock_example.h" #include <bpf/bpf.h> #include <...
/* * Wireless Host Controller (WHC) initialization. * * Copyright (C) 2007 Cambridge Silicon Radio Ltd. * * 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. * * This program is d...
#include "ngx_http_php_module.h" #include "sapi/ngx_handler.h" ngx_http_request_t *ngx_php_request; int php_inited = 0; static void * ngx_http_php_create_loc_conf(ngx_conf_t *cf); static char * ngx_http_php_handle_conf(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); ngx_int_t ngx_http_php_run(ngx_http_request_t *...
/* Copyright 1997 - July 2008 CWI, August 2008 - 2021 MonetDB B.V. * All Rights Reserved. Use of this source code is governed by a MPL/2.0 license that can be found in the LICENSE file. */ #include <windows.h> #include <winver.h> #include <shlwapi.h> #include <sqlext.h> #include <sql.h> #include <odbcinst.h> #includ...
/* * shell_parse.c */ #include <string.h> #include <assert.h> #include "target-utils/lub/string.h" #include "target-utils/lub/system.h" #include "private.h" /*----------------------------------------------------------- */ clish_pargv_status_e clish_shell_parse( clish_shell_t *this, const char *line, const clish_...
// SPDX-License-Identifier: GPL-2.0+ /* * FB driver for the HX8340BN LCD Controller * * This display uses 9-bit SPI: Data/Command bit + 8 data bits * For platforms that doesn't support 9-bit, the driver is capable * of emulating this using 8-bit transfer. * This is done by transferring eight 9-bit words in 9 byte...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define SOURCE_FILENAME src.txt #define OUTPUT_FILENAME out.txt #define LINE_MAX_LEN 500 #define TOKEN_MAX_LEN 50 enum toktype { UNKNOW, OPERATOR, NUMBER, IDENTIFIER, RESWORD, COMMOPEN, COMMCLOSE }; stru...
#include <stdio.h> #include <stdbool.h> #include <assert.h> #include <inttypes.h> #include <stdlib.h> #include <unistd.h> #include <yajl/yajl_tree.h> #include "garudaparser.c" typedef struct{ char *condition; char *entity; char *source; char *dest; uint32_t sec; uint32_t usec; }GarudaMessage...
/* * QEMU System Emulator * * Copyright (c) 2003-2008 <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, c...
/* * Copyright (C) 2012 Intel Corporation. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, ...
#include <stdlib.h> #include <string.h> #include "goppa.h" /* computes (and store in f) the polynomial f(z)=1/(z-b) mod g(z), note that g(b)f(z)=(g(z)-g(b))/(z-b) */ void poly_syndrome_patterson(poly_t f, gf_t b, poly_t g) { int i, t; gf_t a, c; t = poly_deg(g); if (gf_is_zero(b)) { // g(0)f(z)=(g(z)-g...
/* SPDX-License-Identifier: MIT */ #include "simplecborrpc.h" #define CHECK_CBOR_ENCODE(X) if (X != CborNoError) { return RPC_ENCODE_ERROR; } static rpc_error_t execute_rpc_call_internal(const rpc_function_entry_t *rpc_functions, size_t rpc_functions_count, const uint8_t ...
/*- * Copyright (c) 2002 - 2008 <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 lis...
/* Copyright (c) 2009 <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 ...
/*- * SPDX-License-Identifier: GPL-3.0-or-later * * This file is part of a firmware for Xling, a tamagotchi-like toy. * * Copyright (c) 2019 <NAME> * * Xling firmware 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 Softwa...
// Copyright (c) 2010 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing projec...
#include "x11.h" #include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/Xutil.h> #include <X11/extensions/Xrender.h> #include <sys/types.h> #include <unistd.h> int x11_init(config_t* cfg){ char* window_title = "xmartrix"; Window root; XSetWindowAttributes window_attributes; Atom wm_state_fullscreen; XTextProp...
// 0x070106D8 - 0x07010758 static const Vtx ccm_seg7_vertex_070106D8[] = { {{{ -1457, -890, 550}, 0, { 23466, 990}, {0xff, 0xff, 0xff, 0xff}}}, {{{ -377, -397, 185}, 0, { 11430, 24}, {0xff, 0xff, 0xff, 0xff}}}, {{{ -377, -499, 185}, 0, { 11436, 990}, {0xff, 0xff, 0xff, 0xff}}}, ...
/****************************************************************************** * Copyright (c) 2017-2017, ARM, All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 * * ...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #include <stdio.h> #include <string.h> #include <math.h> #include "os-features.h" #include "starutil.h" #include "mathutil.h" #include "bl.h" #include "matchobj.h" #include "matchfile.h" #include "rdl...
/* * ============================================================================ * 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 3 of the License, or (at your option) any lat...
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * * Copyright (C) 2017-21 Corellium LLC * All rights reserved. * */ #include "libc.h" #include "dtree.h" #include "adtree.h" #include "tunable.h" #define BOOT_LINE_LENGTH 256 struct iphone_boot_args { uint16_t revision; uint16_t version; ...
// include files by #include <neccessary file> #include "kernel.h" #include "drivers/kb/char.h" //So what? #include "arch/i386/idt.h" #include "libc/atclib.h" #include "kapps/clscr.h" #include "kapps/cpu/ports.h" #include "kapps/exit.h" #include "kapps/cpuid.h" #include "kapps/edxview.h" #include "kapps/help....
#include "spinc.h" #include "mmdpool.h" /* local data */ /* local function */ static mpt_t *mmdp_big_malloc(DMPH *hPoint, msize_t maSize); static mpt_t *mmdp_default_malloc(DMPH *hStru, msize_t nMalloc); static DMPBB *mmdp_big_search(DMPBB *hStru, mpt_t *pFind); static DMPB *mmdp_default_size_search(DMPB *byStru, ...
/* 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 may no...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include "soundpipe.h" typedef struct { sp_ftbl *ft, *delta; sp_dtrig *dt; sp_tevent *te; uint32_t pos; } samp_data; typedef struct { SPFLOAT tempo; sp_count *cnt; sp_ftbl *reps; sp_tseq *rpick; sp_metro *clk, *dblclk; sp...
/* * Copyright (C) 2009-2012 the libgit2 contributors * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #include "common.h" #include "signature.h" #include "repository.h" #include "git2/common.h" void git_signature_free...
#include "port_gen_os_driver.h" #include "rtthread.h" #include "rthw.h" #include <string.h> #include "platform_api.h" #include "ingsoc.h" #ifndef RT_THREAD_HEAP_SIZE #define RT_THREAD_HEAP_SIZE (20 * 1024) #endif #ifndef CS_MAX_NEST_DEPTH #define CS_MAX_NEST_DEPTH 20 #endif gen_handle_t por...
/* * File with various monster functions in it * * @(#)monsters.c 4.46 (Berkeley) 02/05/99 * * Rogue: Exploring the Dungeons of Doom * Copyright (C) 1980-1983, 1985, 1999 <NAME>, <NAME> and <NAME> * All rights reserved. * * See the file LICENSE.TXT for full copyright and licensing information. */ #include <s...
/** * * @file * * PLASMA is a software package provided by: * University of Tennessee, US, * University of Manchester, UK. * * @generated from /home/luszczek/workspace/plasma/bitbucket/plasma/test/test_ztrsm.c, normal z -> c, Fri Sep 28 17:38:32 2018 * **/ #include "test.h" #include "flops.h" #include "pla...
/* FreeTDS - Library of routines accessing Sybase and Microsoft databases * Copyright (C) 1998-2002 <NAME> * Copyright (C) 2004, 2005 <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 ...
/*---------- GNU PUBLIC LICENZE V3 ---------- * * Copyright Arduino srl (c) 2015 * * This file is part of Bootloader_D21. * * Bootloader_D21 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 o...
/* -*- mode: C -*- */ /* IGraph library R interface. Copyright (C) 2013 <NAME> <<EMAIL>> 334 Harvard street, Cambridge, MA 02139 USA 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 Founda...
#include "evaluate.h" #include <stdio.h> #ifdef ARDUINO_ARCH_ESP32 #include <esp32-hal-psram.h> #else #include <stdlib.h> #define ps_malloc malloc #endif #if PSRAM_BUFFER_SIZE < (NUM_ENTRIES + 2) * 32 #error BUFFER too small #endif struct psram_buffer_s *psram_buffer; void psram_buffer_init(struct psram_buffer_s *...
/* Extended Module Player * Copyright (C) 1996-2021 <NAME> and <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...
/*! \file d7anp.c * * \copyright (C) Copyright 2015 University of Antwerp and others (http://oss-7.cosys.be) * * 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.apach...
#include "car.h" #include <stdio.h> // ----- Car ----- void print_car(const struct Car* ms) { printf("Car model: %s\n", ms->model); printf("Country: %s\n", ms->country); printf("Price: %d\n", ms->price); printf("Color: %s\n", ms->color); if (ms->used == 0...
/* * Copyright 2019 The Hafnium Authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * 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 "chars.h" #include "commands.h" #include "dict_guide.h" #include "input_impl.h" #include "keyboard.h" #include "mapping.h" #include "mapping_util.h" #include "packetized_out.h" #include "radicals.h" #include "residual_stroke_count.h" #include "romazi.h" #include "streams.h" #include "util.h" #include "windows....
/** * \file * \brief Interrupt management (Local and IOAPICs) and routing */ /* * Copyright (c) 2007, 2008, 2009, 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 ...
/* * FIG : Facility for Interactive Generation of figures * Copyright (c) 1985-1988 by <NAME> * Parts Copyright (c) 1989-2007 by <NAME> * Parts Copyright (c) 1991 by <NAME> * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalt...
#include <ccv.h> #include <ccv_internal.h> #include <nnc/ccv_nnc.h> #include <nnc/ccv_nnc_easy.h> #include <3rdparty/dsfmt/dSFMT.h> #include <sys/time.h> #include <ctype.h> static unsigned int get_current_time(void) { struct timeval tv; gettimeofday(&tv, NULL); return tv.tv_sec * 1000 + tv.tv_usec / 1000; } #defin...
/** * author: UncP * date: 2018-11-20 * license: BSD-3 **/ #include <stdlib.h> #include <string.h> #include <assert.h> // TODO: remove this #include <stdio.h> #include "../palm/allocator.h" #include "blink_tree.h" static void* run(void *arg) { blink_tree *bt = (blink_tree *)arg; mapping_arr...
/******************************************************************** * BenchIT - Performance Measurement for Scientific Applications * Contact: <EMAIL> * * $Id: kernel_main.c 1 2009-09-11 12:26:19Z william $ * $URL: svn+ssh://william@r<EMAIL>-dres<EMAIL>.de/svn-base/benchit-root/BenchITv6/kernel/numerical/jacobi/...
/******************************************************************************* # GSPCAV1 streaming input-plugin for MJPG-streamer # # # # This plugin is intended to work with gspcav1 compatible devices ...
/* Copyright 2013 <NAME>. See the LICENSE file at the top-level directory of this distribution and at https://github.com/bliksemlabs/rrrr/. */ /* realtime.c */ /* Fetch GTFS-RT updates over Websockets Depends on https://github.com/warmcat/libwebsockets compile with -lwebsockets -lprotobuf-c protoc-c ...
/* This code comes from this paper: <NAME>. KNN in the Jaccard * Space. Proceedings of IEEE High Performance Extreme Computing * Conference (HPEC), 2016, 1-6. * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documen...
#include <string.h> #include <stdio.h> #include "sys/param.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "freertos/timers.h" #include "driver/adc.h" #include "esp_system.h" #include "esp_event.h" #include "esp_log.h" #include "esp_eth.h" #include "esp_now.h" #include ...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "licen...
/* * parse.c * - parsing assistance functions (mainly for domains inside datagrams) */ /* * This file is * Copyright (C) 1997-2000 <NAME> <<EMAIL>> * * It is part of adns, which is * Copyright (C) 1997-2000 <NAME> <<EMAIL>> * Copyright (C) 1999-2000 <NAME> <<EMAIL>> * * This program is free sof...
/*- * BSD LICENSE * * Copyright (c) Intel 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 copyri...
/* This program is licensed under the GNU Library General Public License, version 2, * a copy of which is included with this program (LICENCE.LGPL). * * (c) 2000-2001 <NAME> <<EMAIL>> * * * Comment editing backend, suitable for use by nice frontend interfaces. * * last modified: $Id: vcedit.c,v 1.10 2001/03/04 ...
/* This software is distributed under the Lesser General Public License */ /* * Scanner for the GML - file format */ #include <stdlib.h> #include <ctype.h> #include <assert.h> #include <string.h> #include "gml_scanner.h" /* * ISO8859-1 coding of chars >= 160 */ char* GML_table[] = { "&nbsp;", /* 160 */...
/* $NetBSD: s3c24x0_clk.c,v 1.6 2005/12/24 20:06:52 perry Exp $ */ /* * Copyright (c) 2003 Genetec corporation. All rights reserved. * Written by <NAME> for Genetec corporation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/* * Mesa 3-D graphics library * * Copyright (C) 1999-2005 <NAME> 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 limit...
/* Copyright (c) 2017-2018, Feral Interactive 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 th...
/* * Copyright 2018 Robotic Eyes GmbH * * 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 t...
#include <aos/aos.h> #include <nameserver.h> #include <aos/nameserver_internal.h> #include <stdio.h> #include <stdlib.h> char* serialize_nameserver_prop(struct nameserver_properties* ns_p) { assert(ns_p != NULL); assert(ns_p->prop_name != NULL); assert(ns_p->prop_attr != NULL); size_t len1 = strlen(...
/* Includes ------------------------------------------------------------------*/ #include "bsp_spi.h" /** * @brief LINK SD Card */ #define SD_DUMMY_BYTE 0xFF #define SD_NO_RESPONSE_EXPECTED 0x80 /** * @brief BUS variables */ #ifdef HAL_SPI_MODULE_ENABLED uint32_t SpixTimeout = NUCLEO_SPIx_TIMEOUT_MA...
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" #define FLA_ALG_REFERENCE...
/** * \file * * \brief SAM True Random Number Generator (TRNG) Unit test * * Copyright (c) 2014-2018 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 exclusively with...
/* GStreamer * * codec-select.c: sample application to dynamically select a codec * * Copyright (C) <2008> <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; eith...
#include <unistd.h> //Used for UART #include <fcntl.h> //Used for UART #include <termios.h> //Used for UART #include <stdio.h> #include <wiringPi.h> #include <wiringPiSPI.h> #include <softTone.h> #include <pcf8574.h> #include <lcd.h> #include <math.h> #include <errno.h> #include <string.h> #include ...
/* Copyright (c) 2013, <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 disclai...
#ifndef lint static const char RCSid[] = "$Id: color.c,v 2.16 2005/02/09 00:00:17 greg Exp $"; #endif /* * color.c - routines for color calculations. * * Externals declared in color.h */ #include "copyright.h" #include <stdio.h> #include <stdlib.h> #include <math.h> #include "color.h" #ifdef getc_unlock...
/** * iclc - Interactive Command Line Calculator * * eval.c * * iclc is a simple, interactive, command line calculator. It * employs and thereby demonstrates basic parsing technique. * * Beware, it leaks like a strainer and probably has more bugs * than Starship Troopers. * * * Copyright 2012 <NAME> (@p7ha...
/* GStreamer * * Copyright (C) 2014 <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. *...