text
stringlengths
7.55k
41.9k
// standard C libraries #include <errno.h> #include <stdarg.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> // UNIX/Linux libraries #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/file.h> #include <fcntl.h> #include <signal.h> #inc...
/* * * Copyright 2017 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
#include "QapFp2.h" #include "QapTempMem.h" Fp2_config_t Fp2_config; /************** Regular Fp2 functions ***************/ /* Initialize an element in Fp2 by initializing two Fp elements. * Return > 0 on success and * return < 0 on error. */ int QapFp2_init (QapFp2_t dst) { int err = 0; if ((err ...
/* * Copyright 2007-2015 Freescale Semiconductor, Inc. All rights reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
/** * Copyright (c) 2019 - 2020, 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...
#include "ref.h" uint32_t sign_extend (uint32_t sign, uint32_t val, uint32_t width) { uint32_t i; for (i = width; i < 32; i++) { val |= (sign << i); } return val; } uint32_t extract_from_32b (uint32_t val, uint32_t high, uint32_t low) { //uint32_t mask = (2**((high+1)-low))-1; uint32_t mask =...
#include "main.h" int main(int argc, char* argv[]) { if (argc > 1 && !strncmp(argv[1], "cat", 3)) { clar_cat(--argc, ++argv); return 0; } else return clarissa(argc, argv); } int clarissa(int argc, char* argv[]) { // options setup struct Opts opts; memset(&opts, 0, sizeof(opts)); handle_opts(argc, argv, &o...
/*! * poly1305.c - poly1305 for libtorsion * Copyright (c) 2020, <NAME> (MIT License). * https://github.com/bcoin-org/libtorsion * * Parts of this software are based on floodyberry/poly1305-donna: * Placed into the public domain by <NAME>. * https://github.com/floodyberry/poly1305-donna */ #include <stdlib...
/* * Driver for Blackfin on-chip SDH controller * * Copyright (c) 2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <common.h> #include <malloc.h> #include <part.h> #include <mmc.h> #include <asm/io.h> #include <asm/errno.h> #include <asm/byteorder.h> #include <asm/blackfin.h> #include...
// Copyright (C)2008-2012 <NAME> http://tratt.net/laurie/ // // 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...
/* library.c * * Copyright (C) 2001,2002 <NAME> <<EMAIL>> * Copyright (C) 2000,2001,2002 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License...
/* * $Id: node_composite_blur.c 39944 2011-09-05 22:04:30Z gsrb3d $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 Li...
/* Copyright 2016 Google Inc. All Rights Reserved. Author: <EMAIL> (<NAME>) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless ...
#include <limits.h> /* Copyright (c) 2017-2019 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
// // Copyright 2011-2012 Johns Hopkins University (Author: <NAME>) // #include <stdio.h> #include <math.h> #include <string.h> #include "util.h" #include "dot.h" #define RHOSKIP 50 #define MAXMATCHES 100000 #define PSILTHR 0.5 int Dot_compare(const void *A, const void *B) { if( ((Dot *)A)->yp > ((Dot *)B)->yp ...
/* ======================================================================== * ps2d_kbd.c * * Purpose: * Handles sending scan code sequences to a PS/2 host as well as * reception and proper handling of PS/2 commands from that host. * * Operational Summary: * PS/2 scan code sequences to be sent are placed i...
/*----------------------------------------------------------------------------*/ /* Big Brother webpage generator tool. */ /* */ /* This is a replacement for the "bb-replog.sh" script ...
#if !defined(lint) && !defined(DOS) static char rcsid[] = "$Id: context.c 1144 2008-08-14 16:53:34Z <EMAIL> $"; #endif /* * ======================================================================== * Copyright 2006-2007 University of Washington * Copyright 2013-2016 <NAME> * * Licensed under the Apache License, Ve...
/**************************************************************** Copyright 1990, 1991 by AT&T Bell Laboratories, Bellcore. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copie...
#include "view-character.h" #include "../main.h" #include "../../src/gff.h" #include "../../src/gff-char.h" #include "../../src/gfftypes.h" #include "../../src/rules.h" #include "narrate.h" #include "../player.h" #include "new-character.h" #include "popup.h" #include "add-load-save.h" #include "../../src/ds-player.h" #...
/* ** Copyright 2005-2018 Solarflare Communications Inc. ** 7505 Irvine Center Drive, Irvine, CA 92618, USA ** Copyright 2002-2005 Level 5 Networks Inc. ** ** This program is free software; you can redistribute it and/or modify it ** under the terms of version 2 of the GNU General Public License ...
/* * Copyright (C) 2012 <NAME> * Rewritten from the dovefb driver, and Armada510 manuals. * * 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 <drm/drmP.h> #include "a...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2017 The University of Tennessee and The University * of Tennessee Resea...
/* * RTMPE network protocol * Copyright (c) 2008-2009 <NAME> * Copyright (c) 2009-2010 <NAME> * Copyright (c) 2012 <NAME> * * This file is part of Libav. * * Libav 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 S...
// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/x86_64/vmx.c * * Copyright (C) 2018, Google LLC. */ #include "test_util.h" #include "kvm_util.h" #include "../kvm_util_internal.h" #include "processor.h" #include "vmx.h" #define PAGE_SHIFT_4K 12 #define KVM_EPT_PAGE_TABLE_MIN_PADDR 0...
/* ****************************************************************************** Project: OWA EPANET Version: 2.2 Module: input1.c Description: retrieves network data from an EPANET input file Authors: see AUTHORS Copyright: see AUTHORS License: see LICENSE Last Updated: 07/08/2019 ******...
/********************************************************************************/ /* @@BEGAIN_INTERNAL_LEGAL@@ */ /* */ /* Copyright(C) Description */ /*...
#define _notdef NULL const unsigned short pdf_doc_encoding[256] = { 0x0, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x9, 0xA, ' ', ' ', 0xD, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x02d8, 0x02c7, 0x02c6, 0x02d9, 0x02dd, 0x02db, 0x02da, 0x02dc, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027...
/** * (C) Copyright 2019-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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
// // CBTransaction.c // cbitcoin // // Created by <NAME> on 02/05/2012. // Copyright (c) 2012 <NAME> // // This file is part of cbitcoin. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://www.cbitcoin.com/license.html. No part of /...
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
/****************************************************************************** * File Name : co1.c * Date First Issued : 12/25/2012 * Board : STM32F103VxT6_pod_mm * Description : Sensor board with ublox gps and flash genie SD module ********************************************************...
#include "MethylDackel.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <math.h> //Agresti-Coull confidence interval around a methylation value //If which is 1, return the upper 99.9% CI, otherwise the return the lower 99.9% CI double CI(uint32_t um, uint32_t m, int which) { ...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <time.h> #include <unistd.h> #include "bmp.h" // Methodendeklaration der Assembly Implementierung des Algorithmus (mandelbrot.S) extern void mandelbrot(float r_start, float r_end, float i_start, float i_end, float resolution, unsigne...
/* * Program to test the library. * * Copyright (c) 2009, 2010 and 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 (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/***************************************************************** * SQUID - a library of functions for biological sequence analysis * Copyright (C) 1992-2002 Washington University School of Medicine * * This source code is freely distributed under the terms of the * GNU General Public License. See the fi...
/* mhical.c -- operate on an iCalendar request * * This code is Copyright (c) 2014, by the authors of nmh. * See the COPYRIGHT file in the root directory of the nmh * distribution for complete copyright information. */ #include "h/mh.h" #include "sbr/charstring.h" #include "sbr/fmt_new.h" #include "sbr/getargumen...
/******************************************************************************* * * * managedList.c -- User interface for reorderable list of records * * * * Copyright (c) 1991 Universities Research Association, Inc. * * All rights reserved. * * ...
#include "crocods.h" #include "retro_endianness.h" #include <ctype.h> enum { ERR_NO_ERR = 0, ERR_NO_DIRENTRY, ERR_NO_BLOCK, ERR_FILE_EXIST }; #define ASCII_MODE 0 #define BINARY_MODE 1 #define SECTSIZE 512 #define USER_DELETED 0xE5 #pragma pack(1) //evite le padding des structures qui sont utilisées dans de...
/* qtest : test query answers */ #include "config.h" #include <errno.h> #include <stdlib.h> #ifdef HAVE_STRING_H #include <string.h> #endif #include "tpkg/cutest/qtest.h" #include "query.h" #include "namedb.h" #include "util.h" #include "nsec3.h" #include "options.h" #include "packet.h" #include "dname.h" #include ...
/* * sha512.c * * Copyright 2019 <NAME> <<EMAIL>> * * The MIT License (MIT) * * 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 limitati...
/* HSP.c BWTBlastn functions This module contains miscellaneous BWTBlastn functions. Copyright (C) 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 ver...
/* * 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...
// 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...
/* * $Id: freetypefont.c 35953 2011-04-02 02:08:33Z campbellbarton $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 L...
/* * Copyright (c) 2020 Fastly, <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...
/* Blockdev iface for a block dev that is incrementally updated (eg a filesystem) Extra difficulty: We want this FS to be high-availability, meaning that if the user decides to interupt the updating process mid-update, we can still show him the state of the filesystem at the time the last update was finished. This mea...
/* Copyright (c) 2020, 2022 <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <math.h> #include <memory.h> #include <windows.h> #include "conio3.h" #ifndef MAX # define MAX( x, y ) ( (x)>(y)?(x):(y) ) #endif #ifndef MIN # define MIN( x, y ) ( (x)<(y)?(x):(y) ) #endif #ifndef ABS # ...
// // Created by Alex on 05.11.2020. // #include <nntoolkitcore/layers/private/recurrent_private.h> #include "nntoolkitcore/layers/gru.h" #include "nntoolkitcore/core/ops.h" #include "nntoolkitcore/core/memory.h" #include "stdlib.h" #include "activation_default.h" GRUConfig GRUConfigCreate(int input_feature_channels,...
/****************************************************************************** Copyright (c) 1996 - 2004 -- University of Washington ******************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../include/buildstmt...
/* * Copyright (c) 2005-2006 Duke University. All rights reserved. * Please see COPYING for license terms. */ #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/wait.h> #include <gtk/gtksignal.h> #include "graph-old.h" #define DOT_SC...
// Copyright (c) 2021 <NAME> -- License: MIT //---------------------------------------------------------------------- /* luamonocypher - a Lua wrapping for the Monocypher library */ //---------------------------------------------------------------------- // lua binding name, version #define LIBNAME luamonocypher #def...
/* wm_unix_sdl.h. Platform-dependent module : SDL This file is part of the SunDog engine. Copyright (C) 2002 - 2016 <NAME> <<EMAIL>> www.warmplace.ru */ #pragma once #include <stdio.h> #include <pthread.h> #include <stdlib.h> //for getenv() #include <sched.h> //for sched_yield() #include <errno.h> ...
/************************************************************************* * File Name main.c * Description Stm32-Temperature Sensor. * 2 temperature sensors are being read. On-board * temperature sensor and an MCP9700A. * The reading is performed through the trigger of * Timer2 every 1ms...
/*- * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2003 <NAME> * Copyright (c) 2015 Spectra Logic Corporation * Copyright (c) 2017 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * ****/ // // write.c: writes a studio .mdl file // #pragma warning( disable : 4244...
/* ESP32 FFT ========= This provides a vanilla radix-2 FFT implementation and a test example. Author ------ This code was written by [<NAME>](http://www.robinscheibler.org) during rainy days in October 2017. License ------- Copyright (c) 2017 <NAME> Permission is hereby granted, free of charg...
/* * bitmap_demo.c * * Created on: Mar 10, 2022 * Author: micahbly * * Demonstrates many of the features of the graphics library * */ /*****************************************************************************/ /* Includes */ /********...
#include "Action.h" #include "Clock.h" #include "RGB_LED.h" #include "Event.h" #include "GPIO.h" // TODO: These should be loaded from the section of memory where basic... // TODO: ...actions are stored. #define LIGHT_ACTION_UUID "1470f5c4-eaf1-43fb-8fb3-d96dc4e2bee4" #define SIGNAL_ACTION_UUID "bdb49750-9ead-466e-9...
// : vi ts=4 sw=4 noet : /* ================================================================================== Copyright (c) 2019 Nokia Copyright (c) 2018-2019 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
/* * Copyright (c) 1998 <NAME> <sasha at aftercode.net> * * 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...
/********************************************************************** Copyright (C) <NAME>' 2006 Philips / Signetics MEA 8000 emulation. The MEA 8000 is a speech synthesis chip. The French company TMPI (Techni-musique & parole informatique) provided speech extensions for several 8-bit computers (Thomson,...
#include <stdio.h> #include <stdlib.h> #include <locale.h> #include <X11/Intrinsic.h> #include <X11/Shell.h> #include <X11/StringDefs.h> #include <X11/Xaw/Box.h> #include <X11/Xaw/Form.h> #include <X11/Xaw/Command.h> #include <X11/Xaw/SimpleMenu.h> #include <X11/Xaw/SmeBSB.h> #include <X11/Xaw/MenuButton.h> #include <X...
/** * FreeRDP: A Remote Desktop Protocol Implementation * Solaris Keyboard Mapping * * Copyright 2009-2012 <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 * * h...
/* Extended Module Player * Copyright (C) 1996-2016 <NAME> and <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to...
/* * Copyright 2009-2011 VMWare, 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 Software without restriction, including * without limitation the rights to use, co...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> /* sqrt */ #include "private.h" #include "gptl.h" /* MPI summary stats */ typedef struct { unsigned long totcalls; /* number of calls to the region across threads and tasks */ #ifdef HAVE_PAPI double papimax[MAX_AUX]; /* max co...
/**************************************************************************** * * * Certificate Import/Export Routines * * Copyright <NAME> 1997-1999 * * * ****************************************************************************/ #include <stdlib.h> #in...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // definitions for ICU types and functions available in Android, // extracted from ICU header files #pragma once #define U_MAX_VERSION_LENGTH 4 #define U_SUCCESS(x) ((x)<=U_ZER...
/* Copyright (c) 2012-2015 by the author(s) * * 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, ...
#include "gsm.h" // Expect s1 to be malloc int xstrcmp(char *s1, const char *s2, int frees1) { int ret = strcmp(s1, s2); if (frees1) free(s1); return ret; } int septlen(int origsize) { if (origsize / 7 == 1) return origsize; else return origsize - (origsize / 7); } char *xstrdup(char *str) { ...
/* * dct64_i368.c * * Copyright (C) 1999-2010 The L.A.M.E. project * * Initially written by <NAME>, see also AUTHORS and README. * * 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 Foundati...
/*-------------------------------------------------------------------- * $Id$ * * This file is part of libRadtran. * Copyright (c) 1997-2012 by <NAME>, <NAME>, * <NAME>, <NAME> * * ######### Contact info: http://www.libradtran.org ######### * * This program is free software; you can...
#include "socket_proc.h" #include <time.h> #include <sys/timeb.h> #include <sys/stat.h> #define MAX_PIDS 8192 #define MAX_CONNS 512 #define MAX_PROCS 512 #define MAX_APP 512 #define CONNID_ARR_SIZE 65536 #define PROT_TCP 6 #define PROT_UDP 17 #define TIMEOUT 30 //in sec extern double pcapTime; ...
/******************************************************************************* * Copyright 2020-2022 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.apa...
/* $OpenBSD: umsm.c,v 1.15 2007/06/14 10:11:16 mbalmer Exp $ */ /* * Copyright (c) 2006 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all co...
// This file is part of Deark. // Copyright (C) 2018 <NAME> // See the file COPYING for terms of use. // ArcFS // Squash #include <deark-config.h> #include <deark-private.h> #include <deark-fmtutil.h> DE_DECLARE_MODULE(de_module_arcfs); DE_DECLARE_MODULE(de_module_squash); #define MAX_NESTING_LEVEL 32 struct arcfs_...
/* Copyright (C) 2013 by <NAME> <<EMAIL>> * Modified to fit PiGFX by <NAME> 2020 * * 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...
#include <ncurses.h> #include <unistd.h> #include "parse.h" #include "control.h" #define MAX_LINE_SIZE 1000 #define MAX_CALL_STACK_SIZE 1000 #define MAX_INPUT_SIZE 1000 #define MAX_CALL_LIST_SIZE 1000 #define PATH_BUFFER_SIZE 1000 #define VERT_DIV_NUMERATOR 3 #define VERT_DIV_DENOMINATOR 4 #define HORI_DIV_NUMERATOR ...
/* Chicken Little By the CL Dev Team and Gratis Games Uses the DIVE game engine by Divine Entertainment ------------------------------------------------------- module: player.c The mostly-encapsulated player object! */ #include "chicken.h" //#include "player.h" #include "app.h" #include "random.h" #inc...
/* Copyright (c) 2018-2019 <NAME> (<EMAIL>) * Copyright (C) 2019-2020 Collabora, Ltd. * * 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 ...
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
#include <stdio.h> #include <inttypes.h> #include <string.h> #include <jansson.h> #include <curl/curl.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h> #include "lifoq.h" #include "metrics.h" #include "sink.h" #include "strbuf.h" #include "utils.h" #include "rand.h" #include "elide.h" const int MAX_BODY...
/**************************************************************************** * @author: Jordan396 <https://github.com/Jordan396/trivial-twitter-v2> * * * * This file was heavily adapted from the source code in: * * "TC...
/* * Copyright (c) 1983, 1990, 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <math.h> #include <assert.h> #include <alloca.h> #include <gsl/gsl_cdf.h> #include "limits.h" #include "stattest.h" #include "cat.h" #include "fisher.h" #include "min2.h" #include "bvr.h" typedef unsigned int count_t; typedef c...
#include <stdio.h> #include <stdlib.h> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include "graphics_minimalist_sdl.h" #include "tools.h" #include "menu.h" #define SCALE 1 #define WIN_TITLE "<NAME>" #define WIN_HEIGHT 800 * SCALE #define WIN_WIDTH ...
#define _XOPEN_SOURCE 700 #include <string.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <sodium.h> #include <unistd.h> #include <time.h> #include <arpa/inet.h> #include <assert.h> #include <math.h> #include <CL/cl.h> #include <malloc.h> double get_ttime() { struct timespec ts; clock_g...
#include <stdint.h> #include <stdio.h> #include <string.h> #include <dmg/dmg.h> void BlockSHA1CRC(void* token, const unsigned char* data, size_t len) { ChecksumToken* ckSumToken; ckSumToken = (ChecksumToken*) token; MKBlockChecksum(&(ckSumToken->block), data, len); CRC32Checksum(&(ckSumToken->crc), data, len)...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "wcc.h" typedef struct vreg_cost { int vreg; int cost; } VregCost; int *preg_map; // Map from reserved register 0-11 to physical register 0-15 // Renumber all vregs so that they are consecutive void compress_vregs(Function *fun...
/* snp125Ui.c - enums & char arrays for snp UI features and shared util code */ #include "snp125Ui.h" #include "snp125.h" #include "common.h" char *snp125OrthoTable(struct trackDb *tdb, int *retSpeciesCount) /* Look for a setting that specifies a table with orthologous alleles. * If retSpeciesCount is not null, set ...
/* * Copyright (c) 2010 <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 a...
/** ******************************************* * @file ARGB.c * @author <NAME> / Crazy_Geeks * @link https://crazygeeks.ru * @version 1.33 * @date 17-May-2022 * @brief Source file for ARGB Driver (Addressable RGB) ******************************************* * * @note Repo: https://github.com/Crazy-G...
/* * Copyright (c) 2004-2006 <NAME> <<EMAIL>> * Copyright (c) 2006-2007 Sippy Software, Inc., http://www.sippysoft.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
/** ** izoom- ** Magnify or minify a picture with or without filtering. The ** filtered method is one pass, uses 2-d convolution, and is optimized ** by integer arithmetic and precomputation of filter coeffs. ** ** <NAME> - 1988 **/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include ...
/* * Copyright (c) 2018-2020 <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 ...
/***************************************************************************//** * \file cyhal_pin_package.c * * \brief * 4390x device GPIO HAL header for package * ******************************************************************************** * \copyright * Copyright 2021 Cypress Semiconductor Corporation (an Infine...