text
stringlengths
5.8k
28.2k
/* * 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...
#include "integration.h" /* Performs calculation of auxilliary variables after integration, event finding are complete. This is the only place where memory is allocated outside of an "Init" function. */ void AuxVarCalc( IData *GS ) { int i; assert(GS); if( (GS->nAuxVars > 0) && (GS->pointsIdx...
/* * File : position.c * * Change Logs: * Date Author Notes * 2017-04-30 zoujiachi first version. */ #include <rthw.h> #include <rtdevice.h> #include <rtthread.h> #include <math.h> #include "fir.h" #include "ms5611.h" #include "pos_estimator.h" #include "kf.h" #include "sensor_manage...
#pragma ident "$Id: string.c,v 1.1 2016/06/06 21:51:36 dechavez Exp $" /*====================================================================== * * String conversions * *====================================================================*/ #include "tristar.h" static TS_TEXT_MAP SlaveMap[] = { {"charge", TS_S...
/* * * 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"); y...
/* @source showpep application ** ** Display a sequence with translations, features and other bits ** ** @author Copyright (C) <NAME> (<EMAIL>) ** 14 Sept 1999 - GWW - written ** @@ ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License ** as p...
/* -*- linux-c -*- */ /* triple.c Copyright (C) 2002-2004 <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 later vers...
/* * Copyright (c) 2005-2017 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
/* * epu_compute_trajectory_onset.c * * Code generation for function 'epu_compute_trajectory_onset' * * C source code generated on: Fri Aug 31 09:24:08 2012 * */ /* Include files */ #include "rt_nonfinite.h" #include "epu_compute_trajectory_onset.h" #include "epu_compute_trajectory_onset_emxutil.h" #include "me...
/* memio.c: routines that use the memory destination and source module ** BASED ON example.c **/ /* * example.c * * This file illustrates how to use the IJG code as a subroutine library * to read or write JPEG image files. You should look at this code in * conjunction with the documentation file libjpeg.doc. * ...
// SPDX-License-Identifier: GPL-2.0+ /* * TI QSPI driver * * Copyright (C) 2013, Texas Instruments, Incorporated */ #include <common.h> #include <asm/io.h> #include <asm/arch/omap.h> #include <malloc.h> #include <spi.h> #include <spi-mem.h> #include <dm.h> #include <asm/gpio.h> #include <asm/omap_gpio.h> #include ...
/* * Copyright (C) 2019, Fuzhou Rockchip Electronics Co., 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: * 1. Redistributions of source code must retain the above copyright *...
/* * Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file * * This file is part of Solo5, a sandboxed execution environment. * * 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 th...
/* * ili9341_drv.c * * Created on: 23. 7. 2018 * Author: yurovv */ #include "ili9341_drv.h" #include "stm32f4xx_ll_conf.h" #include "ili9341_port.h" #include "sdram.h" //================================================================================================= // LTDC SECTION //...
/* test23: chdir(), getcwd() Author: <NAME> (<EMAIL>) */ #include <sys/types.h> #include <sys/stat.h> #include <limits.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <stdio.h> int max_error = 4; #include "common.h" #define ITERATIONS 3 #define System(c...
#include <stdio.h> #include <math.h> #include <windows.h> #include <GL/glut.h> /* Mapping matrix. OpenGL stores transform matrixes in one-dimension arrays. This matrix specifies for each element of the 4x4 matrix the corresponding index in the OpenGL array */ int mxm[4][4] = {{ 0, 1, 2, 3}, {...
/* ahYX.c --Agilent BioSolids-- 2D hYX (hNC), first with HY CP, a Y (d2) evolution time, then specific YX CP, a (DARR) Z-filter and acqusition and a constant-time decoupling period. Choose 2-angle SPINAL or TPPM decoupling d...
/* * Copyright (c) 2017 <NAME> * SPDX-License-Identifier: Apache-2.0 */ /** @file * @brief I2C bus (TWIHS) driver for Atmel SAM MCU family. * * Only I2C Master Mode with 7 bit addressing is currently supported. */ #include <errno.h> #include <misc/__assert.h> #include <kernel.h> #include <device.h> #include <i...
/* Chi-squared test for mpfr_nrandom Copyright 2011-2020 Free Software Foundation, Inc. Contributed by <NAME> <<EMAIL>>, SRI International. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licen...
/* Generic definitions */ #define PACKAGE it.unimi.dsi.fastutil.ints #define VALUE_PACKAGE it.unimi.dsi.fastutil.objects /* Assertions (useful to generate conditional code) */ #define KEY_CLASS_Integer 1 #define KEYS_PRIMITIVE 1 #define VALUE_CLASS_Object 1 #define VALUES_REFERENCE 1 /* Current type and class (and ...
/* * This file is a part of Poly2Tri-C * (c) <NAME> <<EMAIL>> * http://code.google.com/p/poly2tri-c/ * * 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 cod...
// // Copyright 2018 Aalborg University, Denamrk. // All rights reserved. // Author: <NAME> (<EMAIL>) // // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of sourc...
/* File: main.c * Author: <NAME> * * Purpose: A C program using Pthreads to implement sample sort algorithm. * * Compile: gcc -g -Wall main.c -o main * Run: main [number of threads] [sample keys' size] [list size] * [input file] [Optional suppress output(n)] * * I...
/* * ntp_restrict.c - determine host restrictions */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <sys/types.h> #include "ntpd.h" #include "ntp_if.h" #include "ntp_stdlib.h" /* * This code keeps a simple address-and-mask list of hosts we want * to place restrictions on (or remove t...
#include <stdlib.h> #include <stdio.h> #include <time.h> #include <signal.h> #include <string.h> #include "config.h" #include "ui.h" #include "defaults.h" #include "options.h" #include "statistics.h" #include "camera.h" #include "render.h" #include "error.h" #include "scene.h" #include "geom.h" #include "patch_type...
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1998 <NAME> * * find-and-replace.c - common functionality applied to diagram * * Copyright (C) 2008 <NAME> * Copyright (C) 2008 <NAME> (patched) * * This program is free software; you can redistribute it and/or modify * it under the terms of th...
#include "pose.h" #include "zarray.h" #include "homography.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <float.h> typedef struct matd_12 { int nrows, ncols; double data[12]; } matd_12_t; typedef struct matd_9 { int nrows, ncols; double data[9]; } matd_9_...
#include "asn1/signed_data.h" #include <errno.h> #include "algorithm.h" #include "config.h" #include "log.h" #include "oid.h" #include "thread_var.h" #include "asn1/decode.h" #include "asn1/asn1c/ContentType.h" #include "asn1/asn1c/ContentTypePKCS7.h" #include "asn1/asn1c/MessageDigest.h" #include "asn1/asn1c/SignedD...
/* * de-ess.c - de-ess a PCM-coded audio file. * * Copyright (C) 2008-2013 Theophilus (http://theaudiobible.org) * * http://theaudiobible.org/contact.php * */ #include "de-ess.h" /***************************** Global Variables *****************************/ unsigned int delta1 = 80, delta2 = 200; /* time in m...
#include "config.h" #include <assert.h> #include <stdint.h> #include <stdbool.h> #include <stdio.h> #include "bio.h" #include "blake2b.h" #include "bn.h" #include "constants.h" #include "error.h" #include "hash.h" #include "header.h" #include "sha3.h" #include "utils.h" void hsk_header_init(hsk_header_t *hdr) { if...
/* * Phishbait - a reverse proxy for dealing with uninvited hotlinking. * NOTE: This codebase assumes that we're compiling with an ASCII character set. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <string.h> #include <ev.h> #include "utilities.h" #include "http_parsing....
#include "compiler.h" #include "utils.h" #include "main.h" #define ACC 0 // Accumulator / Return register #define SA 1 // Stack Adress register #define SP 2 // Stack Pointer register #define TMP1 3 // Temporary 1 register #define TMP2 4 // Temporary 2 register #define TMP3 5 // Temporary 3 register #define ...
/*-------------------------------------------------------------------- This source distribution is placed in the public domain by its author, <NAME>. You may use it for any purpose, free of charge, without having to notify anyone. I disclaim any responsibility for any errors. Optionally, please be nice and tell me if ...
/* bigBed - stuff to handle loading and display of bigBed type tracks in browser. * Mostly just links to bed code, but handles a few things itself, like the dense * drawing code. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information...
// Copyright (c) 2019-2021 <NAME> // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. // A simple vblake Reference Implementation. #include <stdio.h> #include <string.h> #include "vblake.h" #ifndef _...
/* JSON_checker.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org 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, m...
/* * This is a hook directly into the multiple alignment part of the end aligner. It * can be run directly on fasta inputs, in order to develop and debug new ideas * without going through cactus_bar which can only read from the cactus_disk server. * Otherwise, it attempts to take in the same sorts of parameters as...
#include <string.h> #include <SDL.h> #include "font.h" #include "config.h" #include "menu.h" SDL_bool menu_visible; SDL_bool menu_dirty; SDL_Surface *menu_surface; SDL_Surface *cursorsurface; int menu_width, menu_height; static Uint32 transparent; static Uint32 bgcolor; static Uint32 fgcolor; static Uint32 shadecolor...
/* ITU-T G.729 Software Package Release 2 (November 2006) */ /* ITU-T G.729A Annex B ANSI-C Source Code Version 1.3 Last modified: August 1997 Copyright (c) 1996, France Telecom, Rockwell International, Universite de Sherbrooke. All rights reserved. */ //#include <std...
// SPDX-License-Identifier: GPL-2.0 // // subcmd-transfer.c - operations for transfer sub command. // // Copyright (c) 2018 <NAME> <<EMAIL>> // // Licensed under the terms of the GNU General Public License, version 2. #include "xfer.h" #include "subcmd.h" #include "misc.h" #include <signal.h> struct context { struc...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/** * Create a host file aggregation comprising static and time dependent * data stored in different files on three tiles of a cubed-sphere. The time * files contain multiple time steps. Time dependent and static data exist on * multiple tiles. * * "$Id: tst_cube_sphere_multi_dims_in_file.c 767 2011-06-06 23:...
/* Copyright (c) 2004-2013 uim Project https://github.com/uim/uim 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 not...
/* * Copyright (c) 2013-2015 Oracle and/or its affiliates. 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 as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any...
/* ***** 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 License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ *...
/* * Copyright (C) <NAME> 2014 <<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 ...
/* * Copyright (C) 2018 Savoir-Faire Linux Inc. * 2018 <NAME> * * Authors: * <NAME> <<EMAIL>> * * This program 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 vers...
/***************************************************************************** * * Original Author: <NAME> * Creation Date: * Description: * * Copyright (C) 2018 by <NAME>. All Rights Reserved. * Unauthorized reproduction, modification, distribution, transmission, * republication, display or performance ...
/* Copyright (c) 2002-2004, <NAME> Part of Radeon accelerant Flat panel support */ #include "radeon_accelerant.h" #include "mmio.h" #include "fp_regs.h" #include "memcntrl_regs.h" #include "utils.h" #include "set_mode.h" #include "pll_regs.h" #include "pll_access.h" void Radeon_ReadRMXRegisters( accelerat...
/****************************************************************************** * @filename : ksz8851.c * @description : This file provides commands and functions to * communicate KSZ8851SNL ethernet controller. * @author : <NAME> * @copyright : GNU licence. * @date : 01.05.2020 * @revis...
/* * File: i2c-master.c * Author: <NAME> (<EMAIL>) * Target: * Comment: * Copyright(C) 2013 <NAME>. 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 * as published by the Free Software Foundation; either ver...
// Copyright 2019-2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief The NEW compositor rendering code header. * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @ingroup comp_render */ #include "render/comp_render.h" #include <stdio.h> /* * * Common helpers * */ #define...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "ureg.h" #include "io.h" #include "../port/error.h" enum { Maxhandler= MaxVector /* max number of interrupt handlers, assuming none shared */ }; enum { /* UIC registers (p. 10-4) */ Usr = 0xC0, /* status */ Uer =...
/* * TextFind.c * * Copyright 2005, 2006 by <NAME>. All rights reserved. */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <com/snert/lib/version.h> /*********************************************************************** *** **********************************************...
/* spct2b.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__0 = 0; static integer c__1 = 1; /* $Procedure SPCT2B ( SPK and CK, text to binary ) */ /* Subroutine *...
/* * This software is copyrighted as noted below. It may be freely copied, * modified, and redistributed, provided that the copyright notice is * preserved on all copies. * * There is no warranty or other guarantee of fitness for this software, * it is provided solely "as is". Bug reports or fixes may be sent ...
/* * Copyright (c) Regents of The University of Michigan * See COPYING. */ #include <config.h> #include <ctype.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <sysexits.h> #include <syslog.h> #include <time.h> #include <unistd.h> #include "simvacatio...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "ureg.h" #include "../port/error.h" int (*breakhandler)(Ureg *ur, Proc*); static void debugbpt(Ureg*, void*); static void fault386(Ureg*, void*); static void doublefault(Ureg*, void*); static void unexp...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2019 MediaTek Inc. * Author: jitao.shi <<EMAIL>> */ #include "mtk_mipi_tx.h" #define MIPITX_DSI_CON 0x00 #define RG_DSI_LDOCORE_EN BIT(0) #define RG_DSI_CKG_LDOOUT_EN BIT(1) #define RG_DSI_BCLK_SEL (3 << 2) #define RG_DSI_LD_IDX_SEL (7 << 4) #define RG_D...
/*----------------------------------------------------------------------------- alignments_fast \ author: <NAME>/<NAME> \ version: 8.1 (2014.08.12) \ year: 2014 ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "leptjson.h" static int main_ret = 0; static int test_count = 0; static int test_pass = 0; #define EXPECT_EQ_BASE(equality, expect, actual, format) \ do{ \ test_count++; ...
/** * Copyright (c) 2012 - 2019, Nordic Semiconductor ASA * * 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 no...
// Copyright (c) <2012> <<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, publ...
#include "server.h" static int request_handle_uri(request_t* r); static int request_handle_request_line(request_t* r); static int request_handle_headers(request_t* r); static int request_handle_body(request_t* r); static int header_handle_generic(request_t* r, int offset); static int header_handle_connection(request_t...
/* permutation/test.c * * Copyright (C) 2000 <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 later version. * * Th...
/* * (C) Copyright 2003-2004 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2004 * <NAME>, TQ-Systems GmbH, <EMAIL> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the ...
#include <stdio.h> #include <lua.h> #include <lualib.h> #include <lauxlib.h> #include "eon.h" #include "termbox.h" cmd_context_t * plugin_ctx; // shared global, from eon.h // from plugins.c plugin_opt * get_plugin_option(const char * key); int add_listener(const char * when, const char * event, const char * func); in...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
// pivot.c C99 Author, <NAME> 2020. dhbolton.com #include <stdio.h> #include <stdlib.h> // Must be included for malloc to work correctly #include <sys/stat.h> #include <ctype.h> #include <io.h> #include <share.h> #include <string.h> #include "sodium.h" #include <fcntl.h> #include <time.h> // This encry...
/* ============================================================================ * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied. * ======================...
/*++ /* NAME /* qmgr_deliver 3 /* SUMMARY /* deliver one per-site queue entry to that site /* SYNOPSIS /* #include "qmgr.h" /* /* int qmgr_deliver_concurrency; /* /* int qmgr_deliver(transport, fp) /* QMGR_TRANSPORT *transport; /* VSTREAM *fp; /* DESCRIPTION /* This module implements the client side of the `queue manag...
// // $Id: dhcping.c,v 1.3 2002/01/27 01:57:15 mavetju Exp $ // /* * Copyright 2000, 2001, 2002 by <NAME>, <EMAIL> * * 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...
/* * Memotech MTX application packager * * $Id: mtx.c,v 1.6 2011/09/25 09:53:21 dom Exp $ */ #include "appmake.h" static char *binname = NULL; static char *crtfile = NULL; static char *outfile = NULL; static int origin = -1;...
/* * Copyright (c) 2016, 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 copyright * notice, this list of co...
/*----------------------------------------------------------------------------*/ /* Hobbit monitor library. */ /* */ /* This is a library module for Hobbit, responsible for loading the ...
#include <sys/types.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <string.h> #include <signal.h> #include <setjmp.h> #include <math.h> #include <openssl/evp.h> #include <openssl/pem.h> #define MY_PORT 222...
/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * lib/gssapi/krb5/k5sealiov.c * * Copyright 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "help.c" #include "context.c" #include "context_stack.c" #include "bignum.c" #include "stack.c" #include "test.c" void prompt(char interactive_mode, stack* s) { if(interactive_mode == 1) { printf("> "); } else if(interactive_mode ==...
/** * Copyright 2017 jmpews * * 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...
/** Conversion of SCS to floating-point double @file scs2double.c @author Defour David <EMAIL> @author <NAME> <EMAIL> This file is part of the SCS library. */ /* Copyright (C) 2002 <NAME> and <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser ...
/* * util.c * * Copyright (c) 2001 <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, thi...
/* * NMH's Simple C Compiler, 2012-2014 * x86-64 target description */ #include "defs.h" #include "data.h" #include "decl.h" #include "cgen.h" void cgdata(void) { gen(".data"); } void cgtext(void) { gen(".text"); } void cgprelude(void) { } void cgpostlude(void) { } void cgpublic(char *s) { ngen(".globl\t%s", s, 0)...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <math.h> #define MaxS 40000 #define MaxN 1000 #define R 8.31 #define T0 298.15 typedef struct { double G,Gsrc; double occupation; char *amk[100]; long n; } SpectrLine; typedef struct { double G; // average dG do...
/* * Copyright 2003, QNX Software Systems Ltd. All Rights Reserved. * * This source code may contain confidential information of QNX Software * Systems Ltd. (QSSL) and its licensors. Any use, reproduction, * modification, disclosure, distribution or transfer of this software, * or any software which includes or ...
#if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #else #ifndef __linux__ #include "WProgram.h" #endif #endif #include "quaternion_9axis.h" // Definition of important constant. // Should NOT be modified. #define SPACE_SIZE 55 // maximum matrix element number #define MAX_DIM 15 // maximum matrix operation...
// Ozunreduce / Old ZIP Unreduce - A single-header-file C/C++ library for // decompressing ("expanding") ZIP "Reduce" (methods 2 through 5) compression // // This file, normally named ozunreduce.h, hereinafter referred to as "this // file" or "this software", is an independent software library. It is okay to // distrib...
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. * ...
/* Copyright (C) 2001-2021 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
/* * Atari Keyboard driver for 680x0 Linux * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ /* * Atari support by <NAME> * enhanced by <NAME> and <NAME> * * 2.6 and input cleanup (remov...
#include "kremlib.h" #include "testlib.h" #include "Chacha20Poly1305.h" #include "sodium.h" #include "openssl/evp.h" void ossl_chacha20poly1305(uint8_t* cipher, uint8_t* mac, uint8_t* plain, int len, uint8_t* aad, int aad_len, uint8_t* nonce, uint8_t* key){ EVP_CIPHER_CTX *ctx; int clen,alen; ctx = EVP_CIPHER_CT...
/** * |---------------------------------------------------------------------- * | Copyright (c) 2016 <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 restrict...
/* * This file is part of the coreboot project. * * Copyright (C) 2010 Advanced Micro Devices, Inc. * Copyright (C) 2015 <NAME> <<EMAIL>>, Raptor Engineering * * 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...
/************************************************** Author: <NAME> <NAME> <NAME> <NAME> Date: 22-23 March,2014 OS: Windows 8.1 IDE: Atmel Studio 6.2 ****************************************************/ #define F_CPU 14745600 #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include ...
#include "EditLexer.h" #include "EditStyleX.h" static KEYWORDLIST Keywords_NULL = {{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL , NULL, NULL, NULL, NULL, NULL, NULL, NULL }}; static EDITSTYLE Styles_Global[] = { { STYLE_DEFAULT, NP2StyleX_DefaultCodeStyle, L"font:$(Code)" }, { STYLE_DEFAULT, N...
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved. */ #include <linux/module.h> #include <asm/sn/nodepda.h> #include <...
/** @file Read EDID information and parse EDID information. Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full...
/*========================================================== * Copyright 2020 QuickLogic 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/licens...
/* Copyright 2017 <NAME> <<EMAIL>>, Ledger SAS * * 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...
// Copyright 2020 Espressif Systems (Shanghai) Co. Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
// // $Id: dhcp_options.h,v 1.4 2004/10/31 11:22:58 mavetju Exp $ // // // this list was stolen from The DHCP Handbook by <NAME> Lemon, Appendix D // // The first comment is the number, the last parameter is if it's verbosed const char *dhcp_options[] = { /* 0 */ "pad", /* 1 */ "Subnet mask", /**/ /* 2 */ ...