text
stringlengths
5.8k
28.2k
/* these are not real typedefs: they are there only to make pycparser happy */ typedef int HPy; typedef int HPyContext; typedef int HPyModuleDef; typedef int HPyType_Spec; typedef int HPyCFunction; typedef int HPy_ssize_t; typedef int HPy_hash_t; typedef int wchar_t; typedef int size_t; typedef int HPyFunc_Signature; t...
/*############################################################################ # Copyright 2017-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.apach...
/* File: cmd5.c */ /* * Copyright (c) 1997 <NAME>, <NAME>, <NAME> * Copyright (c) 2007 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * Foundation, version 2, or ...
/********************************************************************************** Avatar Tools Copyright (c) 2019, National Technology and Engineering Solutions of Sandia, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
/* Copyright (C) 1996-1997 Id Software, 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 th...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* * Feature : Flex Counter 2.0 * * Usage : BCM.0> cint td4_hsdk_flexctr_dfp.c * * config : bcm56880_a0-g...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <math.h> #include <pthread.h> #include <python2.7/Python.h> #include "include/csound/csound.h" #include "y.tab.h" /* Estrutura para representar objeto capturado pela c...
#include <stdlib.h> typedef struct { void (*constructor)(void **); void (*destructor)(void *); void (*copy)(void *, const void *); int (*compare)(const void *, const void *); } MethodTable; extern const MethodTable Ne_Number_mtable; extern const MethodTable Ne_String_mtable; extern const MethodTable N...
/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferab...
/* RHash. Modified by <NAME>. Modified from the RHash license to the MIT license. */ #include "sha512.h" #include <assert.h> #include <stdint.h> #include <string.h> #define SHA3_MAX_PERMUTATION_SIZE 25 #define QWORDS 24 #define SHA3_ROUNDS 24 static const uint64_t KECCAK_ROUND_CONSTANTS[SHA3_ROUNDS] = { 0x000000...
/** * * @copyright &copy; 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
#include "persistent.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <math.h> #include <omp.h> int compute_commit_dsv(Box* box_arr) { int count = 1; int thread_count; //omp_set_dynamic(0); // Explicitly disable dynamic teams omp_set_num_threads(NUM_TH...
/* OmniVision OV6620/OV6120 Camera Chip Support Code * * Copyright (c) 1999-2004 <NAME> <<EMAIL>> * http://alpha.dyndns.org/ov511/ * * 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...
#define EEPROM_SIZE 0x100 /* All labeling for structure members taken from 1.0.5993.1 kernel */ #pragma pack(push, 1) typedef struct { unsigned char Checksum[0x14]; unsigned char Confounder[8]; unsigned char XboxHDKey[0x10]; unsigned int GameRegion; } EncryptedSection; //0x30 bytes typedef struct { unsigned in...
/* This file deals with the suspension and revival of processes. A process can * be suspended because it wants to read or write from a pipe and can't, or * because it wants to read or write from a special file and can't. When a * process can't continue it is suspended, and revived later when it is able * to conti...
/* Water Rendering demo for the Nintendo 3DS by Gek */ #include <3ds.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> #include <dirent.h> #include <time.h> //This include a header containing definitions of our image //#include "brew2_bgr.h" #define CHAD_API_IMPL #define CHAD_MATH_IMPL #...
# include <stdio.h> # include <string.h> # include <math.h> # include <float.h> # include "c_iraf.h" # include "hstio.h" # include "xtables.h" # include "stis.h" # include "calstis1.h" # include "hstcalerr.h" # include "stisdef.h" # include "stistemperature.h" # define UNDEFINED_TDC_FORMAT 0 # define POST_SM4_TDC_F...
/* * TODO: * graceful connect retries */ #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #include <assert.h> #include <fcntl.h> #include <getopt.h> #include <errno.h> #include <pthread.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <sys/epoll.h> #include <sys/prctl...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "mklimine.h" // string functions #define PTR_LEN(str) str, sizeof(str) usiz delim_len(const char *str, const char terminator) { usiz len = 0; while (str[len] != terminator) len++; return len; } const char *append(const char *prefix, const char *suf...
#include "agtm/agtm_transaction.h" #include "libpq/pqnone.h" #include "libpq/pqnode.h" #include "storage/latch.h" #define AGTM_WAIT_EVENT_ENLARGE_STEP 64 /* listen socket and postmaster death */ #define AGTM_WAIT_EVENT_EXIT_SIZE 2 /* * don't use FeBeWaitSet, function secure_read call WaitEventSetWait * pass in on...
/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #include "senseTemp.h" #include "Shared...
/** * Copyright (c) 2012 - 2017, 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 notice,...
#include <u.h> #include <libc.h> #include "system.h" #ifdef Plan9 #include <libg.h> #endif #include "stdio.h" #include "defines.h" #include "object.h" #include "njerq.h" #include "comm.h" #include "path.h" #include "graphics.h" #include "cache.h" #ifdef VAX int ishift[] = {0, 8, 16, 24}; extern unsigned char bytemap[]...
/* GStreamer * Copyright (C) <2019> <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
/* * Copyright 2016 GoPro Inc. * * 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, Vers...
/* $OpenBSD: umass_scsi.c,v 1.7 2004/02/21 00:47:42 krw Exp $ */ /* $NetBSD: umass_scsipi.c,v 1.9 2003/02/16 23:14:08 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> (<EMAIL>) at * ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2020 ST...
/* * 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...
/* * vc.c * PGF victory conditions dialog * Created on: 2011-07-11 * Author: wino */ #include <allegro.h> #include <stdio.h> #include "vc.h" #include "fpge.h" char TurnsBeforeEndStr[128]; char CitesConqueredStr[128]; //char VP_non_active_Str[MAX_VICTORY_HEXES][64]; //char VP_active_Str[MAX_VICTORY_HEXES][64...
/* this code is licensed as public domain */ #include "draw.h" static int ntsegs, tsegs = 10, nusegs, usegs = 10, ntcurves = 10, nucurves = 10, ntiter = 1, nuiter = 1, makeprec_called = 0; static Matrix tbasis, ubasis, et, eu, ones = { {1.0, 1.0, 1.0, 1.0}, {1.0, 1.0, 1.0, 1.0}, {1.0, 1.0, 1.0, ...
/* * AR6K Driver layer event handling (i.e. interrupts, message polling) * * Copyright (c) 2007 Atheros Communications Inc. * 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...
/* Copyright 2012-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #ifdef __APPLE__ # include <sys/attr.h> # include <sys/vnode.h> #endif #ifdef HAVE_GETATTRLISTBULK typedef struct { uint32_t len; attribute_set_t returned; uint32_t err; /* The attribute data l...
/* stringq.c - Implement a button that lets user edit a single line of text */ #include <stdlib.h> #include <string.h> #include "formatf.h" #include "memory.h" #include "menus.h" #include "input.h" #include "rastext.h" #define SDETAIL SBLACK #define SBLOCK SWHITE typedef struct sqwork { Button *sq...
// Copyright © 2022 <NAME> <<EMAIL>> // // 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...
/* $NetBSD: sh3_machdep.c,v 1.6 2000/05/26 21:20:15 thorpej Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> and by <NAME> of the Numerical Aerospace * Simulation Facility, NASA...
#include "drally.h" #define SAMPLES 512 #define VOLUME_MAX 100 #define COO32UV(u,v) (0x20*(v)+(u)) #define COO256UV(u,v) (0x100*(v)+(u)) #define SAMPLELIB_NEW 0 #define SAMPLELIB_RESAMPLE 1 typedef enum { NO_TRACKER, SCREAM_TRACKER_3, FAST_TRACKER_2 } TrackerType; #pragma pack(1) typedef struct s3m_s { ...
int printcatalogue(void); int search(void); int addtocart(int i, int q); int printcart(void); int displayProduct(void); int placeorder(void); int generate_bill(char address[100]); void usermenu(){ int choice; system(CLEAR); gotoxy(27,3); printf("MAIN MENU "); gotoxy(20,5); printf(" 1. View cata...
/* * Attestator IMPLEMENTATION */ #include <attestator.h> #include <stdlib.h> #include <string.h> #include <pthread.h> #include <accl.h> #include <ra_do_hash.h> #include <ra_data_preparation.h> #include <ra_nonce_interpretation.h> #include <ra_defines.h> #include <ra_print_wrapping.h> #define MAX_CONNECTION_RETR...
#include <arpa/inet.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #define BUFSIZE 51200 #defi...
#pragma once #include <fcntl.h> #include <errno.h> #include <memory.h> #include <signal.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <linux/types.h> #include <semaphore.h> #include <pthread.h> #include <sys/time.h> #include <sys/sel...
/* Standard headers */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> /* FDPS headers */ #include "FDPS_c_if.h" /* user-defined headers */ #include "mathematical_constants.h" #include "user_defined.h" void setup_IC(int psys_num, double *end_time, fdps_f32vec *...
/* * Copyright (C) 2009-2011 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ #include <assert.h> #include <limits.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <getopt.h> #include "cactus.h" #include "avl.h" #include "commonC.h" #include "hashT...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Disable support for the legacy (tinc 1.0) protocol */ #define DISABLE_LEGACY 1 /* Support for jumbograms (packets up to 9000 bytes) */ /* #undef ENABLE_JUMBOGRAMS */ /* Support for tunemu */ ...
/* * TOPPERS BASE PLATFORM MIDDLEWARE * * Copyright (C) 2017-2017 by TOPPERS PROJECT * Educational Working Group. * * 上記著作権者は,以下の(1)~(4)の条件を満たす場合に限り,本ソフトウェ * ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改 * 変・再配布(以下,利用と呼ぶ)することを無償で許諾する. * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作 * ...
/* * interrupt.c * * Provides a pseudo interrupt inteface which is broadly an analoge of the Arduino pin based interrupt * callback mechanism * We don't support 'real' interrupts from kernel to user-space right now since that's way out of scope * * Author: <NAME> <<EMAIL>> */ #define _GNU_SOURCE #include <asser...
/* * BRIEF MODULE DESCRIPTION * Au1x00 USB Device-Side Raw Block Driver (function layer) * * Copyright 2001-2002 MontaVista Software Inc. * Author: MontaVista Software, Inc. * <EMAIL> or <EMAIL> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Gener...
/* ========================================================================= * * * * The Apache Software License, Version 1.1 * * * ...
/** * Routines, which help to dump to stdout various NTFS structures * * Copyright (c) 2015-2016, <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 ap...
#include <stdio.h> #include <limits.h> #include <string.h> #include <math.h> #include "../helpers.h" #include "level.h" #include "../log.h" #include "../mob/mob.h" #include "../los/los.h" static bool one_step(level *lvl, int *from_x, int *from_y, int to_x, int to_y) { int dx = to_x - *from_x; int dy = to_y - ...
/* Autogenrated by the excel file. Don't change manually !!!! */ #include "mtlkinc.h" #include "rdlim.h" #include "mhi_ieee_address.h" #include "mhi_mib_id.h" static const struct hw_lim_table_entry hw_lim_gpb317[] = { { MIB_REG_DOMAIN_FCC, 2447, 40, 120 }, { 0, 0, 0, 0 } }; static const stru...
//////////////////////////////////////////////////////////////////////////// // **** FAST-CHESS **** // // Trivial Chess Playing Program // // Copyright (c) 2020 <NAME> // // ...
/** * All this is mostly based on rlyeh's minimal library. * Copied here to review all his code and understand what's going on. **/ /* GP2X minimal library v0.A by rlyeh, (c) 2005. <EMAIL> (swap it!) Thanks to Squidge, Robster, snaff, Reesy and NK, for the help & previous work! :-) License ======= Free...
/* * Copyright (c) 2013, infinit.io * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information on the terms and * conditions. */ #inc...
/* QSufSort.c Original source from qsufsort.c Copyright 1999, <NAME>, all rights reserved. This file contains an implementation of the algorithm presented in "Faster Suffix Sorting" by <NAME> (<EMAIL>) and <NAME> (<EMAIL>). This software may be used freely for any purpose. However, when distributed, ...
#include "AwFmSearch.h" #include "AwFmOccurrence.h" #include "AwFmLetter.h" #include "AwFmSuffixArray.h" struct AwFmSearchRange awFmCreateInitialQueryRange(const struct AwFmIndex *restrict const index, const char *restrict const query, const uint8_t queryLength){ uint8_t finalLetterIndexInQuery; if(index->conf...
/** * \file gaussian_bench.c * \brief Benchmark for testing Gaussian convolution algorithms * \author <NAME> <<EMAIL>> * * Copyright (c) 2013, <NAME> * All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under, at your option, the terms of the GNU General Public L...
/* * Copyright (c) 2012 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 contributin...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
/*$ Copyright (c) 2014-2017, Azel 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 follow...
/* ************************************************************ ** ** Created by: codebench 0.55 (19.10.2017) ** ** Project: libgen ** ** File: gui.c ** ** Date: 08-09-2018 00:32:53 ** ************************************************************ */ #include <classes/window.h> #include <gadgets/checkbox.h> #include ...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright 2010-2014, ITU/ISO/IEC * All rights reserved. * * Re...
/* =========================================================================== 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...
/* No copyright is claimed in the United States under Title 17, U.S. Code. All Other 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 limitat...
#include "build/db_config.h" #include "list.h" #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <plhash.h> #include <assert.h> #include <string.h> #include "build/db.h" #include "build/db_int.h" #include "dbinc/db_swap.h" #include "dbinc/printlog_hooks.h" #include "flibc.h" #include <alloca.h> #includ...
/*- * Copyright (c) 2003-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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
#include <stdint.h> #include <stdlib.h> #include <string.h> #include "address.h" #include "fors.h" #include "hash.h" #include "hashx8.h" #include "thash.h" #include "thashx8.h" #include "utils.h" #include "utilsx8.h" static void fors_gen_skx8(unsigned char *sk0, unsigned char *sk1, ...
/* * Copyright (c) International Business Machines Corp., 2001 * * 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 late...
/*This file has been prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief FreeRTOS Real Time Kernel example. * * Creates all the demo application tasks, then starts the scheduler. The WEB * documentation provide...
/* adv_jtag_bridge.c -- JTAG protocol bridge between GDB and Advanced debug module. Copyright(C) 2001 <NAME>, <EMAIL> Code for TCP/IP copied from gdb, by <NAME> Refactoring by <NAME> <<EMAIL>> (C) 2008 - 2010 This file was part of the OpenRISC 1000 Architectural Simulator. It is now also used to c...
// MIT License // Copyright (c) 2020 Adrian "asie" Siekierka // 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,...
/***************************************************************************//** * @file * @brief Application code ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ******************************************...
/*- * Copyright (c) 2003-2010 <NAME> * Copyright (c) 2012 <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) 2017 <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, distribut...
/* 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...
/* $OpenBSD: pl_7.c,v 1.13 2016/01/08 20:26:33 mestre Exp $ */ /* $NetBSD: pl_7.c,v 1.6 1995/04/22 10:37:17 cgd Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
/* * Copyright (c) 2008-2009 <NAME> * Copyright (c) 2008-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 ...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Pinctrl driver for Rockchip RK805 PMIC * * Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd * * Author: <NAME> <<EMAIL>> * * Based on the pinctrl-as3722 driver */ #include <linux/gpio/driver.h> #include <linux/kernel.h> #include <linux/module.h> #includ...
/* libTiMidity is licensed under the terms of the GNU Lesser General * Public License: see COPYING for details. * * Note that the included TiMidity source, based on timidity-0.2i, was * originally licensed under the GPL, but the author extended it so it * can also be used separately under the GNU LGPL or the Perl ...
#include <string.h> #include <stdio.h> #include <stdlib.h> /* Every program which uses the CFITSIO interface must include the the fitsio.h header file. This contains the prototypes for all the routines and defines the error status values and other symbolic constants used in the interface. */ #include <fitsi...
//============================================================ // // vconv.c - VC++ parameter conversion code // //============================================================ // // Copyright <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or // without modifi...
/* $OpenBSD: umass_scsi.c,v 1.43 2015/12/16 14:50:26 mpi Exp $ */ /* $NetBSD: umass_scsipi.c,v 1.9 2003/02/16 23:14:08 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> (<EMAIL>) at *...
/***************************************************************************** * xyz2shp.c * * DESCRIPTION * Convert a comma delimited xyz file to a point based shape file. * * HISTORY * 8/2007 <NAME> (MDL): Commented. * * NOTES ****************************************************************************/...
/* * hidden-line platonic solids * * coordinate data from: http://paulbourke.net/geometry/platonic/ * */ #include <unistd.h> #include <stdlib.h> #include <math.h> #include "display.h" typedef struct { float x, y, z; } v3f; v3f add_v3f(const v3f *a, const v3f *b) { v3f c; c.x = a->x + b->x; c.y = a->y + b...
/* Definitions of target machine for GNU compiler, for Advanced RISC Machines ARM compilation, AOF Assembler. Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by <NAME> (<EMAIL>) This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it unde...
/* $Log: encode_.c,v $ Revision 1.2 2006/08/01 13:06:50 rjongbloed Added a raft of unvalidated audio codecs from OpenH323 tree Revision 1.1.2.1 2006/07/22 14:03:15 rjongbloed Added more plug ins Revision 1.1.2.1 2006/05/08 13:49:57 rjongbloed Imported all the audio codec plug ins from OpenH323 Revision 1.1 2...
/* * Input Multitouch Library * * Copyright (c) 2008-2010 <NAME> * * 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. */ #include <linux/input/mt.h> #include <linux/export.h> #in...
#include "global.h" #include "link_tree.h" #include "dna.h" // // LinkTree setup // void ltree_alloc(LinkTree *tree, size_t kmer_size) { LinkTree tmp = {.kmer_size = kmer_size, .fw_id = -1, .rv_id = -1}; memcpy(tree, &tmp, sizeof(tmp)); lj_buf_alloc(&tree->treebuf, 128); ltree_walk_buf_alloc(&tree->wbuf, 128)...
/* * This file is part of the coreboot project. * * Copyright (C) 2017 Intel Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is...
#include "cache.h" #include "commit.h" #include "tag.h" #include "refs.h" #include "builtin.h" #include "exec_cmd.h" #include "parse-options.h" #include "diff.h" #include "hash.h" #define SEEN (1u<<0) #define MAX_TAGS (FLAG_BITS - 1) static const char * const describe_usage[] = { N_("git describe [options] <committ...
/* code to manage downloading database files off the web */ #include <stdio.h> #include <math.h> #include <ctype.h> #include <signal.h> #include <errno.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <Xm/Form.h> #include <Xm/Label...
/** * \file * \brief Code responsible for booting application cores */ /* * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK...
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
#include "index.h" #include "test.h" /*************************************************************************** * * TermInfosWriter * TermInfosReader * ***************************************************************************/ #define DICT_LEN 282 static const char *DICT[DICT_LEN] = { "duad", "dual", "du...
#include "board.h" // MPU6050, Standard address 0x68 // MPU_INT on PB13 on rev4 hardware #define MPU6050_ADDRESS 0x68 #define DMP_MEM_START_ADDR 0x6E #define DMP_MEM_R_W 0x6F #define MPU_RA_XG_OFFS_TC 0x00 //[7] PWR_MODE, [6:1] XG_OFFS_TC, [0] OTP_BNK_VLD #define MPU_RA_YG_OFFS_TC 0x01 //[7...
// --------------------------------------------------------------------------- // util.c // Author: <NAME>, 2017 // <EMAIL> // // Some useful image format manipulation routines I wrote. // --------------------------------------------------------------------------- // // MIT License // Copyright (c) <NAME> 2017 // // Pe...
/* Eigenrockets mini-app for full-to-banded transformation: serial implementation USAGE: <executable> <mode> <block size> <matrix size> <mode> : 0 for Householder QR algorithm 1 for Cholesky QR algorithm (not implemented yet) 2 for modified Cholesky QR algorithm (not implemented yet) <...
/* ** Copyright 2010, <NAME> (@ChainsDD) ** Copyright 2008, <NAME> (@zinxv) ** ** 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 ** ** Unle...
/* * plist * <NAME> * * This is a Ruby extension to read/write Cocoa property lists * Not surprisingly, it only works on OS X * * Copyright © 2005, <NAME> * * Usage: * This extension provides a module named OSX::PropertyList * This module has two methods: * * PropertyList::load(obj, format = false) * ...
/* * U-boot - cpu.c CPU specific functions * * Copyright (c) 2005-2008 Analog Devices Inc. * * (C) Copyright 2000-2004 * <NAME>, DENX Software Engineering, <EMAIL>. * * Licensed under the GPL-2 or later. */ #include <common.h> #include <command.h> #include <serial.h> #include <version.h> #include <i2c.h> #in...
/* Copyright (c) 2012 <NAME> * * window.c * * 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, merg...