text
stringlengths
7.55k
41.9k
#include <stdint.h> #include <math.h> #include <complex.h> #include <matrix.h> #include <fft.h> void *memset(void *b, int c, unsigned long len) { int i; unsigned char *p = b; i = 0; while(len > 0) { *p = c; p++; len--; } return(b); } extern unsigned char __heap_base; st...
/* =============================================================================== Name : led_clock.c Author : <NAME> Version : Copyright : <NAME> (<EMAIL> <EMAIL>) Description : main definition Special thanks : ARMwizard by Alexan Software http://alexan.edaboard.eu ==========================...
/************************************************************************* * // @@@ START COPYRIGHT @@@ // // 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 ownersh...
/* Copyright 2018 Canaan 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* Copyright 2013 <NAME> Some of this code is based on Multiwii code by <NAME> (www.multiwii.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later versi...
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved....
// // tss.c // CryptoPill // // Created by <NAME>. // Copyright (c) 2013 Dbzteam.org. All rights reserved. // #include "tss.h" #include <assert.h> #include <stdlib.h> #include <string.h> #include <CommonCrypto/CommonDigest.h> #include "utils.h" //libsodium #include "rand.h" #include "sysendian.h" #include "ver...
/* * PPC64 (SPAPR) platform support * * Copyright 2011 <NAME> <<EMAIL>>, IBM Corporation. * * Portions of FDT setup borrowed from QEMU, copyright 2010 <NAME>, IBM * Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License versi...
#include <errno.h> #include <fcntl.h> #include <limits.h> #include <math.h> #include <printf.h> #include <setjmp.h> #include <signal.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <time.h> #include <unistd.h> #include <sys/stat.h> #include <sys/uio.h> #include "../runtime.h...
/* * Copyright 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, this list of conditi...
/************************************************************************** coinc.c <NAME> (<EMAIL>) 11 Dec 00 ADVANCED COSET ENUMERATOR, Version 3.001 Copyright 2000 Centre for Discrete Mathematics and Computing, Department of Mathematics and Department of Computer Science & Electrical Engineeri...
// -*-Mode: C++;-*- // technically C99 // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research an...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2018 Linaro Limited */ #include <common.h> #include <dm.h> #include <log.h> #include <tee.h> #include <linux/arm-smccc.h> #include <linux/io.h> #include "optee_smc.h" #include "optee_msg.h" #include "optee_private.h" #define PAGELIST_ENTRIES_PER_PAGE \ ((OPT...
// NOTE: This file should really be called rdma-clientside.c since this is used exclusively for the client in the // single direction communication. I don't bother change the name so that I don't have to modify the Makefile. // NOTE: This version is used to test the performance of multi wr // NOTE: no ACK version for R...
/* Copyright (c) 2008, <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
/*** This file is part of cups-filters. This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file is distri...
/*************************************************************************** * Copyright (C) 2018 The BlackBoxCmaera Company Limited GPS-PIE.COM * * File : gpsExample/gps_functions.c * * Date : 2018/08/28 * * Revision : 1.0 * * Usage: GPS interface functions source file * **********************************************...
/**************************************************** * * * BIL244 System Programming Final Project * * client.c * * Student Name: <NAME> * * Student ID : 131044084 * * Date : 25/05/2016 * * ...
/* * \file libpefile.c * \author A.G. * \author A.A. * \brief Provides PE patching functionality as server service */ #include "libpeserver.h" #include "libpeprotocol.h" #include "3rdparty/ini/minIni.h" #include <stdbool.h> #include <stdlib.h> #include <unistd.h> #include <stdarg.h> #include <time.h> /* TLS Su...
/* * Copyright (c) 2013, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of con...
/* * adios_subvolume.c * * Created on: Jul 25, 2012 * Author: <NAME> */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include "core/util.h" #include "core/common_read.h" #include "core/adios_subvolume.h" #include "core/adios_internals.h" void vector_add...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <math.h> #include <omp.h> #include "H2Pack_config.h" #include "H2Pack_typedef.h" #include "H2Pack_aux_structs.h" #include "H2Pack_matmul.h" #include "H2Pack_utils.h" #include "utils.h" // Initialize auxiliary array y...
/* File: file.c COPYING: Full text of the copyrights statement at the bottom of the file Project: WW Started: 27th October, 1998 Descrition: Functions concerning file storage and manipulation. */ #include "global.h" #include "clist.h" #include "heapg.h" #include "maxpath.h" #include "path.h" #include "tblocks.h" #...
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1998 <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 ...
/****************************************************************************** * * Copyright(c) 2015-2017 Intel Deutschland GmbH * Copyright(c) 2018 Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/* ecc.c - TinyCrypt implementation of ECC auxiliary functions */ /* * * Copyright (c) 2013, <NAME> * All rights reserved. * https://github.com/kmackay/micro-ecc * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions a...
/** * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * If you are looking for examples of I/O, you are at the wrong file. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * * This file tries to answer the question "Can we use I/O style contracts * for specifying the memory ...
/* * $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaPict.c,v 1.18 2003/04/23 18:35:34 eich Exp $ * * Copyright © 2000 <NAME>, member of The XFree86 Project, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided...
// Lab2.c // Runs on either MSP432 or TM4C123 // Starter project to Lab 2. Take sensor readings, process the data, // and output the results. Specifically, this program will // measure steps using the accelerometer, audio sound amplitude using // microphone, and temperature. (we will add light back in Lab 3) // Danie...
/** * Sphere: the JavaScript game platform * Copyright (c) 2015-2022, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the abov...
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
// Copyright (C) 2012 Microchip Technology Inc. and its subsidiaries // // SPDX-License-Identifier: MIT #include "common.h" #include "hardware.h" #include "pmc.h" #include "usart.h" #include "debug.h" #include "ddramc.h" #include "spi.h" #include "gpio.h" #include "timer.h" #include "watchdog.h" #include "string.h" #i...
#include "drelease.h" ID_ JPEG_WRT_ID[]= "\0@(#) " __FILE__ " $Revision: 1.3 $$Date: 2014/12/17 07:20:39 $"; D_REL_IDSTR; /* JPEG-WRT.C Dragon/WhitherForth output image to JPEG file * * ~~ Copyright 2002-2014 by Goldin-Rudahl Associates * P.O. Box 9648 * ...
// Copyright 2022 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/task/poller.h" #include "iree/base/tracing.h" #include "iree/task/executor.h" #in...
/* * upotrf_kernel.h * Decl { {u'A': Symmetric[A, (4, 4), USMatAccess], 'T208': Matrix[T208, (1, 4), GenMatAccess]} } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ann: {'part_schemes': {'ldiv_ut_ow_opt': {'m': 'm4.ll', 'n': 'n1.ll'}, 'chol_u_ow_opt': {'m': 'm1.ll'}}, 'cl1ck_v': 2, 'variant_tag': 'chol_u_ow_opt_m1_ldiv_ut_ow_opt_m...
#include <stdio.h> #include <sys/stat.h> #include <sys/fcntl.h> #include <string.h> #include <libgen.h> #include "util.h" #include "resolve_conf.h" #include <errno.h> static int str2bool(const char *value) { return (strcasecmp(value, "true") == 0 || strcasecmp(value, "TRUE") == 0) ? 1: 0; } static const char *get_fs...
// TeensyCNC // Copyright 2016 <NAME> // // g-code interpreter code is mostly based on RepRap and Marginally Clever's "How to make a Arduino CNC", though I've made a lot of changes. // USB CDC virtual serial is from Freescale's Processor Expert (I'm not crazy enough to write that from scratch!) // Everything else is ta...
/* * Copyright © 2007 Red Hat, Inc * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without * fee, provided that the above copyright notice appear in all copies * and that both that copyright notice and this permission notice * appe...
/** \file dsa_command.c * \brief implementation of DSA commands * \copyright Copyright 2013,2014 Silver Bullet Technology * * 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 ...
/* dqagie.f -- translated by f2c (version 20190311). 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...
/* * UAE - The Un*x Amiga Emulator * * Debugger * * (c) 1995 <NAME> * */ #include "sysconfig.h" #include "sysdeps.h" #include <ctype.h> #include "options.h" #include "uae.h" #include "memory.h" #include "custom.h" #include "readcpu.h" #include "newcpu.h" #include "debug.h" #include "cia.h" #include <s...
/* ALIENTEK 2.4' TFTLCD IN CORTEXM0_SOC MAIN SIGNALS: LCD_CS, LCD_RS, LCD_WR, LCD_RD, LCD_RST, LCD_BL_CTR, LCD_DATA[16] 2019.12.18 */ #include "code_def.h" #include <stdint.h> #include <stdio.h> #include "lcdfont.h" uint16_t POINT_COLOR = 0x0000; uint16_t BACK_COLOR = 0xFFFF...
/* MIT License Copyright (c) 2020 HenryKing 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, dis...
/* *(C) Copyright 2005-2008 Netstal Maschinen AG * <NAME> (<EMAIL>) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the Lice...
#ifndef lint static const char RCSid[] = "$Id: ra_gif.c,v 2.13 2019/07/19 17:37:56 greg Exp $"; #endif /* * Convert from Radiance picture file to Compuserve GIF. * Currently, we don't know how to get back. */ #include <math.h> #include "rtio.h" #include "platform.h" #include "color.h" #include "resolu.h" #inc...
/* * Copyright (c) 1984, 1985, 1986 AT&T * All Rights Reserved * THIS IS UNPUBLISHED PROPRIETARY SOURCE * CODE OF AT&T. * The copyright notice above does not * evidence any actual or intended * publication of such source code. */ /* @(#)cmd.c 1.1 */ /* * UNIX shell * *...
# include <ctype.h> # include <stdio.h> # include <stdlib.h> # include <string.h> # include <hstio.h> /* defines HST I/O functions */ # include "calnic.h" /* defines NICMOS parameters */ # include "calnicb.h" /* defines CALNICB parameters */ /* N_SETUP: Initializes and retrieves all information ** necessary for CALNI...
/* * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source c...
/** * @file * * @author <EMAIL> * * Copyright (c) 2015 Battelle Memorial Institute. */ #include "config.h" #include <stdlib.h> #include <immintrin.h> #include "parasail.h" #include "parasail/memory.h" #include "parasail/internal_avx.h" #define NEG_INF (INT64_MIN/(int64_t)(2)) #if HAVE_AVX2_MM256_INSERT_EPI64...
/* sds_mt.c: SDS 940 magnetic tape simulator Copyright (c) 2001-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 r...
/****************************************************************************** * * Copyright (C) 2008 - 2018 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softw...
/* win32/nt.c - Zip 3.1 Copyright (c) 1990-2015 Info-ZIP. All rights reserved. See the accompanying file LICENSE, version 2007-Mar-4 or later (the contents of which are also included in zip.h) for terms of use. If, for some reason, all these files are missing, the Info-ZIP license also may be found at: ...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
/************************************************************* * Source File: sph2pipe.c * Compilation: gcc -o sph2pipe sph2pipe.c shorten_x.c file_headers.c * Authors: <NAME>, <NAME>; LDC, University of Pennsylvania * Purpose: multi-platform utility for converting SPHERE waveform files * to other common digital ...
/* Copyright (c) 1989 <NAME> Michigan State University Department of Computer Science East Lansing Michigan 48824 Disclaimer: No guarantees of performance accompany this software, nor is any responsibility assumed on the part of the authors. All the software has been tested extensively and every effort has been ma...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
#include "Utilities.h" #include "Scripting.h" #include "Inventory.h" #include "Controls.h" #include "Actions.h" #include "Loader.h" #include "Render.h" #include "Mouse.h" #include "Menu.h" #include "Game.h" #define DELAY 10 #define DBL_CLK_TIME 250 #define KEYBUFLEN 14 gametype_t CURRENT_GAME = GAME_NONE; static Loc...
/* Internationalization implementation. Includes definitions of English * string arrays, and the i18n pointer. */ #include <linux/slab.h> /* For kmalloc. */ #include <linux/ctype.h> #include <linux/module.h> #include <linux/string.h> #include "speakup.h" #include "spk_priv.h" static char *speakup_msgs[MSG_LAST_IND...
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* ==================================================================== * Copyright (c) 1999-2001 Car<NAME>ellon University. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
#include <olorastd.h> #include <blue.h> #include <ncurses.h> #define DEFAULT_WIN_SIZE 30 static uint8_t *helpText = \ "\ [ Help Menu ]\n\ ---------------------------------------------------------\n\ :help | show this text message\n\ :set help | show the documents for network setting\n\ :get ...
#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wpedantic" // SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Google, Inc * Copyright 2014 Rockchip Inc. * Copyright 2017 <NAME> <<EMAIL>> */ /* * https://github.com/u-boot/u-boot/blob/master/d...
/* ========================================================================== */ /* STC - SIMPLE TETRIS CLONE */ /* -------------------------------------------------------------------------- */ /* Game logic implementation. ...
/* ----------------------------------------------------------------------------- * Programmer(s): <NAME> and <NAME> @ LLNL * ----------------------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2020, Lawrence Livermore National Security * and Southern Method...
// // DDPPU.c // DDNES // // Created by <NAME> on 3/1/17. // Copyright © 2017 <NAME>. All rights reserved. // #include "DDPPU.h" struct { byte ppu_control1; // PPU Control Register 1 $2000 byte ppu_control2; // PPU Control Register 2 $2001 byte ppu_status; // PPU Status Register $2002 byte spr_ram...
// -*- tab-width:4 ; indent-tabs-mode:nil -*- #include <hre/config.h> #include <fcntl.h> #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <sys/time....
/* Read ELF (Executable and Linking Format) object files for GDB. Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Written by <NAME> at Cygnus Support. This file is part of GDB. This program is free software; you can redistrib...
#include <ruby.h> #include <time.h> #ifndef _WIN32 #include <sys/time.h> #endif #include <string.h> #include <mysql.h> #include <errmsg.h> #include <mysqld_error.h> #include "mysql_compat.h" #include "compat.h" #include "error.h" #include "do_common.h" #ifndef HAVE_CONST_MYSQL_TYPE_STRING #define HAVE_OLD_MYSQL_VER...
/* nuklear - v1.05 - public domain */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <assert.h> #include <math.h> #include <time.h> #include <limits.h> struct media { struct nk_user_font *font_14; struct nk_user_font *font_18; s...
/* * Copyright (C) 2009 <NAME>. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, mo...
// ------------------------------------------------------------------------------------------- // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License. // License details at: https://github.com/aws/aws-cdi-sdk/blo...
/* 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...
/* * File: obj-desc.c * Purpose: Create object name descriptions * * Copyright (c) 1997 - 2007 Angband contributors * * 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, ver...
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
/* MIT License Copyright (c) 2018 <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 limitation the rights to use, copy, modify, merge, publis...
/* Generic sibling call optimization support Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. GCC 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 v...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * Copyright (C) 1985-1992 New York University * * This file is part of the Ada/Ed-C system. See the Ada/Ed README file for * warranty (none) and distribution info and also the GNU General Public * License for more details. */ /* g0a - initializations (corresponds to needed parts of adasem 0a.c */ #defin...
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. */ #include <stdio.h> #include <ctype.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <time.h> #define NOKNET #define import_spp #define import_knames #include <iraf.h> #include "../bootProto.h" /* * RTAR -- R...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* Unix SMB/CIFS implementation. test suite for samr ndr operations Copyright (C) <NAME> 2007 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, o...
/* Copyright 2010 SourceGear, LLC 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 to in writing, sof...
#include <stdint.h> #include <stdbool.h> #include "fsl_spi_master_driver.h" #include "fsl_port_hal.h" #include "SEGGER_RTT.h" #include "gpio_pins.h" #include "warp.h" #include "devSSD1331.h" volatile uint8_t inBuffer[1]; volatile uint8_t payloadBytes[1]; /* * Override Warp firmware's use of these pins and define n...
/* * Copyright 2017 Rockchip Electronics Co., Ltd * Author: <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 o...
/** * @file main.c * @author <NAME>, <NAME>, <NAME>, <NAME> * @version 1.1 * @date 2018-12-04 * @copyright Copyright (c) 2018 * @note Zpracováno v rámci předmětu IALG, projekt č.8: Největší klika v neorientovaném grafu * * @brief Tento soubor implementuje Bron-Kerbosch algoritmus pro hledání klik v grafu * ...
/* * ethernet specific multiplexor for ip * * this line discipline gets pushed onto an ethernet channel * to demultiplex/multiplex ip conversations. */ #include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "../port/error.h" #include "arp.h" #include ...
#pragma ident "$Id: main.c,v 1.32 2017/01/20 17:18:30 dechavez Exp $" /*====================================================================== * * List QDPLUS packets * *====================================================================*/ #include "qpp.h" #define PRINT_NOTHING 0x0000 #define PRINT_CMNHDR ...
/* * MIT License * * Copyright (c) 2020 <NAME> */ #include <string.h> #include <ctype.h> #include <stdlib.h> #include "usb_cdc.h" #include "gpio.h" #include "cdc_config.h" #include "device_config.h" #include "version.h" #include "cdc_shell.h" static const char cdc_shell_banner[] = "\r\n\r\n" ...
/** * @file tcmplx-access/woff2.c * @brief WOFF2 file utility API * @author <NAME> (<EMAIL>) */ #define TCMPLX_A_WIN32_DLL_INTERNAL #include "woff2.h" #include "api.h" #include "util.h" #include <string.h> #include "../mmaptwo/mmaptwo.h" #include "seq.h" #include "offtable.h" #include <stdlib.h> static struct { ...
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8...
/* * Copyright (C) 2000, 2001 Nominum, Inc. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOF...
/**************************************************************************** * * * cryptlib De-enveloping Routines * * Copyright <NAME> 1996-1999 * * * ****************************************************************************/ #include <stdlib.h> #in...
/* vfat.c * * Miscellaneous VFAT-related functions */ #include "sysincludes.h" #include "msdos.h" #include "mtools.h" #include "vfat.h" #include "file.h" #include "dirCache.h" /* #define DEBUG */ const char *short_illegals=";+=[]',\"*\\<>/?:|"; const char *long_illegals = "\"*\\<>/?:|\005"; /* Automatically deri...
/* * lppage.c - page formatting */ #include <windows.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <sys/types.h> #include <sys/stat.h> #include <direct.h> #include <tools.h> #include <time.h> #include "lpr.h" #define ESC '\033' BOOL fPageTop = TRUE; /* T...
/** * Copyright (c) 2013, <NAME> * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * @file * @brief Implementation of a Raft server * @author <NAME> <EMAIL> * @version 0.1 */ #include <stdlib.h> #include <string.h> #include <stdio.h> #include <assert.h> /...
#include "utils.h" #include "anno_pool.h" #include "anno_bed.h" #include "anno_vcf.h" #include "anno_col.h" #include "anno_thread_pool.h" #include "config.h" #include "htslib/hts.h" #include "htslib/tbx.h" #include "htslib/vcf.h" #include "number.h" #include "anno_flank.h" // for genepredext format, this format has b...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not ...
/******************************************************************* COPYRIGHT NOTIFICATION ******************************************************************** Copyright © 2021, UChicago Argonne, LLC All Rights Reserved Software Name: ENPEP- Balance By: Argonne National Laboratory OPEN SOURCE LICENSE ...
#include "sha256avx.h" #include <stdio.h> // Transpose 8 vectors containing 32-bit values void transpose(u256 s[8]) { u256 tmp0[8]; u256 tmp1[8]; tmp0[0] = _mm256_unpacklo_epi32(s[0], s[1]); tmp0[1] = _mm256_unpackhi_epi32(s[0], s[1]); tmp0[2] = _mm256_unpacklo_epi32(s[2], s[3]); tmp0[3] = _mm2...
#include <stdio.h> #include <stdlib.h> #include <string.h> #define SBSIZE 600 #define ASIZE 5 int testMode = 0; //DEFINIZIONE STRUTTURE ARCHI E STATI typedef struct arc { //ciò che leggo sul nastro char read; //ciò che scrivo sul nastro char write; //L,R,S char move; //numero dello stato successivo i...
#include "custom.h" extern char **spots ; extern int spotXhash ; extern int spotYhash ; extern int numXspots ; extern int numYspots ; extern int spotSize ; extern int choose ; extern int bigcell ; extern int toobig ; int flips , flipp , attp ; int newxx , newyy ; extern double Tsave ; extern int rangeLimit ; extern i...