text
stringlengths
5.8k
28.2k
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.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 requir...
/* * mfrc522.c * * Copyright 2013 Shimon <<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. * * This...
/* * This code was created by <NAME> '99 * (ported to Linux/GLX by <NAME> '00) * * If you've found this code useful, please let me know. * * Visit Jeff at http://nehe.gamedev.net/ * * or for port-specific comments, questions, bugreports etc. * email to <EMAIL> */ #include <stdio.h> #include <stdlib.h> #i...
/* ageadjs.c file contains four C language subroutines: */ /* ageadj1.c for age adjustment of milk, fat, and protein */ /* ageadj4.c to call the above routine from Fortran */ /* adjscs.c for age adjustment of somatic cell score */ /* adjscs4.c to call the...
/* seq.c -- procedures for reading a file of DNA sequences */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "util.h" #include "seq.h" #include <errno.h> /* This implementation uses a "growable array" a...
/* Copyright (C) 1992-2010 I/O Performance, Inc. and the * United States Departments of Energy (DoE) and Defense (DoD) * * 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 ...
/* Copyright 2018 Massdrop Inc. 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 i...
/* store_buffer.c - example of a memory consistency model Copyright (C) 2001-2003 Virtutech AB, All Rights Reserved This program is a component ("Component") of Virtutech Simics and is being distributed under Section 1(a)(iv) of the Virtutech Simics Software License Agreement (the "Agreement"). You should ...
/* * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> #define LOG_MODULE_NAME repeater #define LOG_LEVEL CONFIG_REPEATER_LOG_LEVEL LOG_MODULE_DECLARE(LOG_MODULE_NAME); #include <zephyr.h> #include <misc/printk.h> #include <shell/shell.h> #include <stdlib.h> #include <stdio.h> #include <version.h> #...
/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1982-2010 AT&T Intellectual Property * * and i...
/* ** Copyright 2014-2016 The Earlham Institute ** ** 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...
/*-Copyright (c) 2018 <NAME> <s<EMAIL> at <EMAIL>> * Using parts of cpucontrol.c, which is... * Copyright (c) 2008-2011 <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: ...
/*! \file Geometric transformations using cubic spline interpolation. This file contains functions for cubic spline resampling and 3D scaling. The transformation equation is: y = A(x-x0) + b where x,x0,b,y are 1x3 vectors and A is a 3x3 matrix. The vector x0 can be used to specify a position that remains uncha...
/* * audio resampling * Copyright (c) 2004 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg 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 (...
/* $OpenBSD: mgiic.c,v 1.2 2008/04/22 01:44:19 deraadt Exp $ */ /* * Copyright (c) 2008 <NAME> <<EMAIL>> * * 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 cop...
//**********************************************************************; // Copyright (c) 2015, 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: // // 1. Redistributions of s...
/* MIT License * * Copyright (c) 2016-2017 INRIA and Microsoft 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...
/* $OpenBSD: save.c,v 1.13 2009/10/27 23:59:26 deraadt Exp $ */ /* $NetBSD: save.c,v 1.3 1995/04/22 10:28:21 cgd Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME>. * * Redistribut...
/* linux/drivers/media/video/samsung/jpeg_v2/jpg_opr.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Operation for Jpeg encoder/docoder * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 a...
// // Created by lujun on 19-6-28. // // This contains f32, q31 and q15 versions of matrix // each one has it's own function. // All function can be found in main function. // If you don't want to use it, then comment it. #include "../common.h" #include "riscv_math.h" #include "array.h" #include <stdint.h> #include "....
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <mpi.h> #include "ScaleME.h" #include "precision.h" #include "itsolver.h" #include "measure.h" #include "frechet.h" #include "direct.h" #include "config.h" #include "mlfma.h" #include "io.h" #include "cg.h" #include "util.h" v...
#include "connectedComponents.h" #include "dynamic_threads.h" //This function inserts a new recording(the connected components ID that each node has) into ccindex //In case of space shortage the ccindex will reallocated. int insertIntoCCIndex(CC * cc, uint32_t nodeId, uint32_t ccNumId){ if( (nodeId < (cc->size_of_cci...
//======================================================================= // Project Polyphony // // File: // app_cook_torrance.c // // Abstract: // Cook-Torrance shading model demo // // Created: // 31 Oct. 2009 // // Copyright (c) 2009 <NAME>, All rights reserved. // //=======================================...
/* 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" #undef SORT_TYPE #undef SORT_CMP #undef SORT_SWAP #define SORT_NAME stab...
/* * ESPRESSIF MIT License * * Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to dea...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2016 STMicroelectronics * * Redistribution and use in source a...
/********************************** * Author: <NAME> * Creation date: Feburary 27, 2015 ***********************************/ #include <stdio.h> #include <stdint.h> #include "functionDef2.h" #define numOfRegisters 16 #define memlocation 0x00003FFF #define MSBmask 0xFF000000 #define numOfShifts 4 #define MEMSIZE 16384...
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <mpi.h> #include <cgapsio.h> #define BLOCK_THREH (1<<30) int read_file(void * * pptr,int64_t *plen,char *name) { static FILE *fp = NULL ; static char *old_fname = NULL ; if((name != old_fname)) { if(fp) {...
/* * Copyright (c) 1987-1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above copyright notice and this paragraph in its entirety,...
/*-----------------------------------------------------------*/ /* Block Sorting, Lossless Data Compression Library. */ /* Statistical data compression model for QLFC */ /*-----------------------------------------------------------*/ /*-- This file is a part of bsc and/or libbsc, a program and a...
/* Show offsets and number of dictionary words, read in the dictionary from stdin, and show all the words therein. Generate and show a histogram over the unicode character sets. */ #include <stdio.h> #include <assert.h> /* Log base 2 of the number of words of each length, for lengths from 4 to 24. (Ignore a...
/* $NetBSD: lcspx.c,v 1.2 2004/03/19 20:12:07 mhitch Exp $ */ /* * Copyright (c) 1998 Ludd, University of Lule}, Sweden. * 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. Redistributio...
#include <Windows.h> #include <ruby/wince/sys/stat.h> #include <ruby/wince/errno.h> #include <ruby/win32/dir.h> #include <ruby/ruby.h> #include <ruby/encoding.h> #include <ruby/regenc.h> extern int rb_w32_map_errno(unsigned long winerr); extern WCHAR* filecp_to_wstr(const char *str, long *plen); ////////////////////...
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, prop...
/* * Tango_Find2First.c * tango * * Copyright (C) 2010 <NAME> * * This software is available under a BSD license. Please see the LICENSE.TXT file for details. */ #include "Tango_TreeConnect.h" #include "TangoBase.h" void _tango_print_TRANS2_FIND_FIRST2_REQUEST(const tango_smb_t *smb) { _tango_print_messag...
/* * Copyright (c) 1998-2001 <NAME> */ /* * Gravis/Kensington GrIP protocol joystick and gamepad driver for Linux */ /* * 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...
/* clarot.f -- translated by f2c (version 20061008). 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, at the end of...
/* * Copyright (C) by Argonne National Laboratory * See COPYRIGHT in top-level directory */ #include "adio.h" #include "adio_extern.h" #ifdef AGGREGATION_PROFILE #include "mpe.h" #endif #include <assert.h> /* #define DEBUG #define DEBUG2 */ #define COUNT_EXCH 0 #define BLOCK_LENS 1 #define I...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
#include <stdlib.h> #include <stdio.h> #include <dlfcn.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <pthread.h> #include <errno.h> #include <sys/stat.h> #include <sys/param.h> #include <sys/sysctl.h> #include <sys/proc.h> #include <sys/socket.h> #include <sys/attr.h> #include <sys/dir.h> #incl...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2012 <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) ...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
/* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 Massachusetts Institute of Technology * * 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 ...
/* Copyright (C) 1997-2001 Id Software, Inc. Copyright (C) 2000-2002 <NAME> and <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 ...
/***************************************************************************** * * (C) Copyright MICROSOFT Corp., 1996 * * Title: ACPITABL.H --- Definitions and descriptions of the various BIOS supplied ACPI tables. * * Version: 1.00 * * Date: 6-17-96 * ...
/* * A quick-hack 68(7)05 disassembler * * Note: this is not the good and proper way to disassemble anything, but it works * * I'm afraid to put my name on it, but I feel obligated: * This code written by <NAME> (<EMAIL>) for the MAME project * */ #include "debugger.h" #include "m6805.h" ...
/****************************************************************************** ** This material was prepared as an account of work sponsored by an agency ** ** of the United States Government. Neither the United States Government ** ** nor the United States Department of Energy, nor Battelle, nor any of ** ...
/* * pnm2png.c --- conversion from PBM/PGM/PPM-file to PNG-file * copyright (C) 1999 by <NAME> <<EMAIL>> * * version 1.0 - 1999.10.15 - First version. * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby granted, * provided tha...
/* * scsi_dma.c Copyright (C) 2000 <NAME> * * mid-level SCSI DMA bounce buffer allocator * */ #define __NO_VERSION__ #include <linux/config.h> #include <linux/module.h> #include <linux/blk.h> #include "scsi.h" #include "hosts.h" #include "constants.h" #ifdef CONFIG_KMOD #include <linux/kmod.h> #endif /* * ...
/* cx25840 VBI functions * * 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...
/* * Copyright (C) 2012-2013 by <NAME> <RichSelian at gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * ...
/* ========================================================================== */ /* === umfpack_numeric ====================================================== */ /* ========================================================================== */ /* -------------------------------------------------------------------------...
/************************************************************************** Copyright (C) 2005 <NAME> <<EMAIL>> Copyright (C) 2008 <NAME> <<EMAIL>> All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
#include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> struct node{ // BUAT KESELURUHAN int data, kursi, nomor; char film[30], judul[30]; struct node *next; struct node *right; struct node *left; }; typedef struct node node; struct qu...
/* * Copyright (C) 2014 F4OS Authors * * 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, publis...
/** @file Static SMBIOS Table for platform Note SMBIOS 2.7.1 Required structures: BIOS Information (Type 0) System Information (Type 1) System Enclosure (Type 3) Processor Information (Type 4) - CPU Driver Cache Information (Type 7) - For cache that is external to processor System Slots (Ty...
/* * Copyright 2013, Regents of the University of Minnesota * * bdmprun.c * * The entry point of the jobrun program. * * Started 3/31/2013 * George * * $Id: gpmetis.c 13900 2013-03-24 15:27:07Z karypis $ * */ #define BDMPRUN_MAIN #include "bdmprun.h" /*****************************************************...
// name heuristics - may be able to determin category from name #include <stdio.h> #include "device.h" #include "utility.h" #include "heuristics.h" /* * Sanitize name no matter what source it came from - another Pi or Bluetooth or a file */ void sanitize_and_assign_name(const char* name, struct Device* device, char...
/* * iombench.c * * Copyright 2014 <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 appl...
/* PipeWire * * Copyright © 2021 <NAME> <<EMAIL>> * Copyright © 2021 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitatio...
#include "intr.h" #include "cpu.h" #include "clib.h" #include "memory_layout.h" #include "print.h" #include "paging.h" #include "thread.h" #include "error.h" /** * IDT Defns */ #define GATE_DPL_0 (0ull << 13) #define GATE_DPL_1 (1ull << 13) #define GATE_DPL_2 (2ull << 13) #define GATE_DPL_3 (3ull << 13) #define GATE...
/* Copyright (c) 2019 <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, sublicen...
/* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor a...
/***************************************************************************** * FullFAT - High Performance, Thread-Safe Embedded FAT File-System * * * * Copyright(C) 2009 <NAME> <<EMAIL>> * * Copyright(C) 2011...
/* * 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...
/* SPDX-License-Identifier: MIT */ #include "arm_cpu_regs.h" #include "types.h" /* ARM extensions */ #define ESR_EC_IMPDEF 0b111111 #define ESR_ISS_IMPDEF_MSR 0x20 #define SYS_IMP_APL_ACTLR_EL12 sys_reg(3, 6, 15, 14, 6) #define SYS_IMP_APL_AMX_CTL_EL1 sys_reg(3, 4, 15, 1, 4) #define SYS_IMP_APL_AMX_CTL_EL2 s...
#include "draw.h" struct Framebuffer CreateFramebuffer(HWND window) { struct Framebuffer framebuffer; RECT w_rect; GetClientRect(window, &w_rect); int window_width = w_rect.right - w_rect.left; int window_height = w_rect.bottom - w_rect.top; framebuffer.width = window_width; framebuffer....
/* * mont_btb.c - example of how use the BTB with the Dual-Core Itanium 2 PMU * * Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P. * Contributed by <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation f...
/*************************************************************************** * Copyright (C) 2018 The BlackBoxCmaera Company Limited GPS-PIE.COM * * File : COMBINED_EXAMPLE/main.c * * Date : 2018/08/28 * * Revision : 1.0 * * Usage: main.c file for GPS, BNO055, MS5673 interface example * ******************************...
/* * Copyright 1996-2020 Cyberbotics Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright (c) 2016, Moonflow <<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 of ...
/* Part of publib. Copyright (c) 2012 <NAME>. Copyright (c) 1994-2006 <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 ...
/*@z46.c:Optimal Galleys:FindOptimize()@**************************************/ /* */ /* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.24) */ /* COPYRIGHT (C) 1991, 2000 <NAME> */ /* ...
/* * AMGlib Template * Powered by Andresmargar * from SCENEBETA */ // Includes AMG #include <AMG/AMGLib.h> // Module info AMG_MODULE_INFO("AMG_Template", AMG_USERMODE, 1, 1); // Defines #define GRAVITY 4 // La gravedad del mundo 2D // World gravity #define SPEED_X 4 // La velocidad del personaje // Player ...
/* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it...
/** * File: nicback_utils.c * Subroutine for the NICMOS background subtraction * */ #include <gsl/gsl_vector.h> #include <gsl/gsl_multifit_nlin.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "spc_FITScards.h" #include "spce_sect.h" #include "spce_fi...
/* $XFree86: xc/programs/Xserver/hw/xfree86/vga256/drivers/s3v/s3v_cursor.c,v 1.1.2.2 1997/05/31 13:34:45 dawes Exp $ */ /* * * Copyright 1991 MIPS Computer Systems, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, ...
/*========================================================================== * * Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved. * * File: dvretro.c * Content: Retrofit functions * History: * * Date By Reason * ==== == ====== * 08/05/99 rodtoll created it * 08/20/9...
/* * Copyright © 2018-2019 Collabora, Ltd. * Copyright © 2018-2019 DAQRI, LLC and its affiliates * * 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...
/* * Copyright (c) 2015 Intel, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "orte_config.h" #include <sys/types.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif /* HAVE_UNISTD_H */ #include <string.h> #include "opal/util/output.h" #include "orte...
/******************************************************************************* * Shell Back-end Module - Source file * * This module provide the back-end implementation of the Shell * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * * @copyright (c) 2014 HES-SO/EIA-FR/TIC/T2...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2008, 2007, 2006, 2005 <NAME> Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Ge...
/* dbg-stub.c - Client-side interface, lowlevel part ; ; Copyright (c) 2008-2021, The CHICKEN Team ; Copyright (c) 2000-2007, <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: ; ; Redistrib...
/* * ADIOS is freely available under the terms of the BSD license described * in the COPYING file in the top level directory of this source distribution. * * Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #inclu...
#include <blinky.h> #include <commands.pb-c.h> #include <driver/gpio.h> #include <driver/spi_master.h> #include <esp_err.h> #include <esp_log.h> #include <freertos/FreeRTOS.h> #include <freertos/queue.h> #include <freertos/task.h> #include <mqttmgr.h> #include <stdbool.h> #include <string.h> typedef struct _state_t { ...
/****************************************************************************** Filename: GenericApp.c Revised: $Date: 2012-03-07 01:04:58 -0800 (Wed, 07 Mar 2012) $ Revision: $Revision: 29656 $ Description: Generic Application (no Profile). Copyright 2004-2012 Texas Instruments Incor...
/** * Simulation context of using the OCF library. * * Upwards: simulating a simple paged FS application context `simfs`. * * Downwards: using FlashSim to simulate two SSD drives. */ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <unistd.h> #include <time.h> #include <sys/ti...
/************************************************************************/ /* */ /* ac97_demo.c -- AC'97 Demo Main Program */ /* */ /************************************************************************/ /* Author: <NAME> */ /* Copyright 2011, Digilent Inc. ...
/** * 3mm.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <math.h> #ifdef __APPLE_...
/* * $Id: cn17c.c,v 1.6 2010-03-15 22:49:23 haley Exp $ */ /*********************************************************************** * * * Copyright (C) 1997 * * University Corporation for...
/** * rtcp.c * * Created on: 15/10/2018 * * ========================================================================= * Copyright (C) 2012-2019, <NAME> (<EMAIL>) * Copyright (C) 2018-2019, <NAME> (<EMAIL>) * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software an...
#include <sys/kstring.h> #include <sys/sbunix.h> #include <sys/ioport.h> #include <sys/idt.h> #include <sys/mmu/assemblyutil.h> #include <sys/syscall.h> #include <sys/vgaconsole.h> /* * http://www.osdever.net/bkerndev/Docs/idt.htm *//* Defines an IDT entry */ void demand_paging(uint64_t addr); void save_current_task_r...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain ...
/* * neoclip - Neovim clipboard provider * Last Change: 2021 Jul 11 * License: https://unlicense.org * URL: https://github.com/matveyt/neoclip */ #include "neoclip_nix.h" #include <limits.h> #include <pthread.h> #include <stdlib.h> #include <string.h> #include <X11/Xlib.h> #include <X11/Xutil.h> ...
/* * Copyright (c) 2014, Ericsson AB. 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...
/* Sample demo software for Genetic Algorithms Homework Antenna design using GAs. The task is to find an optimal wire antenna design (shape) knowing the number of points, the frequency and the desired gain. Problem statement: Using GAs design a 3D wire antenna which will have a target gain of T...
/* * Copyright (c) 2017, MammothDB * 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 ...
#define DRX_VER "v0.8-beta" /* drx - MIT License - Copyright 2020 <NAME> aka Dreg - <EMAIL> http://github.com/David-Reguera-Garcia-Dreg/ - http://www.fr33project.org/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
/****************************************************************************** * Date First Issued : 02/06/2014 * Board : PC * Description : histogram readout from shaft sensor *******************************************************************************/ /* 02-07-2014 rev 193: Poll repsonse fo...
/* * Copyright (C) 2009 The Android Open Source Project * Modified for use by h264bsd standalone library * * 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...