text
stringlengths
5.8k
28.2k
static int PyGSL_debug_mess_array(PyArrayObject * a, const char * name) { int mode, i; float *fv; double *dv; char * av; mode = a->descr->type_num; for(i=0; i<a->dimensions[0]; ++i){ av = (a->data + a->strides[0] * (i)); switch(mode){ case PyArray_CDOUBLE: dv = (double...
/********************************************************************* * Copyright 1993, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Header: /upc/share/CVS/netcdf-3/ncgen/genjstd.c,v 1.4 2010/05/17 23:26:45 dmh Exp $ **************************************************...
/* slasdq.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the e...
/* * GStreamer * Copyright 2005 <NAME> <<EMAIL>> * Copyright 2005 <NAME> <<EMAIL>> * Copyright 2008, 2009 <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 re...
/* * tuimenu.c - A (very) simple text-based menu. * * Written by * <NAME> <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
/* * systime -- routines to fiddle a UNIX clock. * * ATTENTION: Get approval from <NAME> on all changes to this file! * */ #include "config.h" #include "ntp.h" #include "ntp_syslog.h" #include "ntp_stdlib.h" #include "timespecops.h" #include "ntp_calendar.h" #ifndef USE_COMPILETIME_PIVOT # define USE_COMPILETIME...
/* $OpenBSD: fe25519.c,v 1.3 2013/12/09 11:03:45 markus Exp $ */ /* * Public Domain, Authors: <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>. * Copied from supercop-20130419/crypto_sign/ed25519/ref/fe25519.c */ #include "libwebsockets.h" #define WINDOWSIZE 1 /* Should be 1,2, or 4 */ #define WINDOWMASK ((1<<WINDOWSIZE...
/* * "git reset" builtin command * * Copyright (c) 2007 <NAME> * * Based on git-reset.sh, which is * * Copyright (c) 2005, 2006 <NAME> and <NAME> */ #define USE_THE_INDEX_COMPATIBILITY_MACROS #include "builtin.h" #include "config.h" #include "lockfile.h" #include "tag.h" #include "object.h" #include "pretty.h" ...
/* Copyright ©2006-2007 <NAME> <<EMAIL>> * See LICENSE file for license details. */ #include "dat.h" #include <math.h> #include <stdio.h> #include "fns.h" uint frame_idx(Frame *f) { Frame *fp; uint i; fp = f->area->frame; for(i = 1; fp != f; fp = fp->anext) i++; return i; } Frame * create_frame(Client *c, V...
/* * Copyright (c) 2011 <NAME>, Xenion Pty Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the f...
// RUN: %clang_cc1 %s -O0 -triple=x86_64-apple-darwin -ffreestanding -target-feature +avx512dq -target-feature +avx512vl -emit-llvm -o - -Werror | FileCheck %s #include <immintrin.h> __m256i test_mm256_mullo_epi64 (__m256i __A, __m256i __B) { // CHECK-LABEL: @test_mm256_mullo_epi64 // CHECK: mul <4 x i64> retur...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch 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 Found- * ation, either version 3 of th...
#include <stdio.h> #include "platform.h" #include "xparameters.h" #include "xil_exception.h" #include "xstatus.h" #include "xil_mem.h" #include "util.h" #include "xintc.h" #include "constants.h" #include "sleep.h" #include "blake2s.h" #include "aes.h" #include "hmac.h" #define change_state(state) c->drm_state = state;...
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * 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 cop...
#include "nine.h" #include <interp.h> #include "raise.h" /* * VM SUPPORT CODE FOR THE INFERNO SIDE OF THE LUA VM * * (many of these functions manipulate critical kernel and vm structures and require a lock on isched.l) * */ int keepbroken = 1; extern int vflag; static vproc_t** pidlo...
/*- * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" static int __backup_all(WT_SESSION_IMPL *, WT_CURSOR_BACKUP *); static int __backup_cleanup_handles(WT_SESSION_IMPL *...
// SPDX-License-Identifier: GPL-2.0+ /* * Allwinner DW HDMI bridge * * (C) Copyright 2017 <NAME> <<EMAIL>> */ #include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h> #include <edid.h> #include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/lcdc.h> struct sunxi_dw...
/* Read the RAPL registers on a sandybridge-ep machine */ /* Code based on Intel RAPL driver by <NAME> <<EMAIL>> */ /* */ /* The /dev/cpu/??/msr driver must be enabled and permissions set */ /* to allow read access for this to work. ...
/*- * Copyright (c) 2003 <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 conditions a...
/* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information. */ /* Stuff to display details on tracks that are clusters of peaks (items) in other tracks. * In particular peaks in either ENCODE narrowPeak or broadPeak settings, and residing in...
/* copyright 2013 <NAME> and contributors (see LICENSE for licensing information) */ #include "dbus.h" #include <gio/gio.h> #include <glib.h> #include <stdio.h> #include <stdlib.h> #include "dunst.h" #include "log.h" #include "notification.h" #include "queues.h" #include "settings.h" #include "utils.h" #define FDN_P...
/************************************************************************** * * Copyright (C) 2015 <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...
/* * (C) Copyright 2005 * <NAME>, DENX Software Engineering, <EMAIL>. * * flash_real_protect() routine based on boards/alaska/flash.c * (C) Copyright 2001 * <NAME>, Nexus Technologies, Inc. <EMAIL> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; y...
//Copyright (c) 2006 Rice University //All Rights Reserved //This code is covered by the Rice-WARP license //See http://warp.rice.edu/license/ for details //////////////////////////////////////////////////// // EEPROM Setup // Written by: <NAME> 1.[903].278.7621 // Created: July 27, 2006 // Last update: July 27...
/****************************************************************************** * * DGS - Discrete Gaussian Samplers * * Copyright (c) 2014, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/* * 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...
/* Class title: Data Structure Lecturer: Prof. Dr. <NAME> Exercise by: <NAME> Date: November 01, 2021 */ #include <stdio.h> #include <stdlib.h> #include "ArvoreAVL.h" //inclui os Protótipos struct NO{ int info; // Elementos dos nós int altura; //Altura da sub-arvore para utilizar em uma função para calcular ...
/* * pwm_gen.c * * Created on: 19 May 2014 * Author: jonathan * * Generator for SDM samples to be used in conjunction with the pwm_dma module. * * Generates offline sample streams (u8 packed) from an input WAV file (any of the supported libsndfile * bitrates or encodings would be acceptable). ...
/* $OpenBSD: ssio.c,v 1.7 2009/03/08 22:19:04 miod Exp $ */ /* * Copyright (c) 2007 <NAME> * * 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. * * TH...
/* -*- C -*- * * Copyright (c) 2019 Intel Corporation. All rights reserved. * This software is available to you under the BSD license. * * This file is part of the Sandia OpenSHMEM software package. For license * information, see the LICENSE file in the top level directory of the * distribution. * */ #includ...
/* test_libFLAC - Unit tester for libFLAC * Copyright (C) 2004-2009 <NAME> * Copyright (C) 2011-2016 Xiph.Org Foundation * * 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 ...
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <fuchsia/hardware/skipblock/c/fidl.h> #include <lib/fdio/directory.h> #include <lib/fdio...
/* * Really simple shell. Does * simple commands * file patterns * quoting ('...' and \c) * continuation with \ at end of line * redirection * pipelines * synchronous and asynchronous execution (; and &) * conditional execution (&& and ||) * only built-ins are cd, path & exit * nothing else * * Grammar is...
/** @file eqtide.h @brief Subroutines that control the integration of the tidal model. Also includes subroutines that switch between the two models. @author <NAME> ([RoryBarnes](https://github.com/RoryBarnes/)) @date May 29 2014 */ /* Tidal Model */ #define CPL 0 #define CTL 1 #define DB15 2...
#include "common.h" struct call_args *saved_args; // Mem void *_hashfs_malloc(char *file, long line, size_t size){ void *ptr; ptr = malloc(size); if (ptr == NULL) hashfs_error("Unable to allocate memory (malloc) at %s:%ld", file, line); return ptr; } void *_hashfs_calloc(char *file, lon...
#include "streamvbytedelta.h" #if defined(_MSC_VER) /* Microsoft C/C++-compatible compiler */ #include <intrin.h> #elif defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__)) /* GCC-compatible compiler, targeting x86/x86-64 */ #include <x86intrin.h> #elif defined(__GNUC__) && defined(__ARM_NEON__) /* GCC-compa...
/* ref: https://github.com/bbu/userland-slab-allocator */ #include "slab.h" #include "taihen_internal.h" #include <psp2kern/kernel/sysmem.h> #include <stdint.h> #include <stddef.h> #include <string.h> #define assert(x) // turn off asserts #define SLAB_DUMP_COLOURED #ifdef SLAB_DUMP_COLOURED # define GRAY(s) "\03...
/* ***************************************************************************** * * Copyright (c) 2014 <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 sou...
/* malloc.c =============================================================================== MIT License Copyright (c) 2007-2016 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software witho...
/** * Peggy.c - An oracle based stable coin hook * * Author: <NAME> * Date: 1 Mar 2021 * **/ #include <stdint.h> #include "../hookapi.h" // your vault starts at 150% collateralization #define NEW_COLLATERALIZATION_NUMERATOR 2 #define NEW_COLLATERALIZATION_DENOMINATOR 3 // at 120% collateralization your vault ...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
#include "bmi.h" u8 BMI_Read(u8 reg) { u8 reg_val=0XFE; BMI_CS = 0 ; delay_ms(1); SPI2_ReadWriteByte(reg|0x80); reg_val = SPI2_ReadWriteByte(0xff); delay_ms(1); BMI_CS = 1 ; return reg_val; } u8 BMI_Write(u8 reg,u8 val) { u8 status; BMI_CS = 0; delay_ms(1); status = SPI2_ReadWriteByte(reg); SPI2_R...
//------------------------YouTube-3DSage---------------------------------------- //Full video: https://www.youtube.com/watch?v=w0Bm4IA-Ii8 //WADS to move player, E open door after picking up the key #include <stdlib.h> #include <GL/glut.h> #include <math.h> #include "Textures/All_Textures.ppm" #include "Text...
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. Copyright (c) 2012, Monty Program Ab 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 progr...
/* * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2008 The University of Tennessee and The University * of Tennessee Resea...
#include <arch.h> #include <driver/vga.h> #include <zjunix/bootmm.h> #include <zjunix/utils.h> struct bootmm bmm; unsigned int firstusercode_start; unsigned int firstusercode_len; /* this global variable manage the whole physical memory * the size of the array is the number of physical frame * it actually is a bi...
/*****************************************************************************\ ** ** ** FILE: statistics.c ** ** AUTHORS: Alexios ** **...
/* Abstract description of component ELF types. Copyright (C) 1998, 1999, 2000, 2002, 2004, 2007 Red Hat, Inc. This file is part of elfutils. Written by <NAME> <<EMAIL>>, 1998. This file is free software; you can redistribute it and/or modify it under the terms of either * the GNU Lesser General P...
/* BSD 2-Clause License Copyright (c) 2020-2021 chaoticgd & CreepNT 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, th...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
/* (c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by <NAME> <<EMAIL>>, <NAME> <<EMAIL>>, <NAME> <<EMAIL>>, <NAME> <<EMAIL>> and ...
//------------------------------------------------------------------------------ // GB_builtin.c: built-in types, functions, operators, and other externs //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2018, All Rights Reserved. // http://suit...
/* Copyright (C) 2001-2021 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
/* * See the dyninst/COPYRIGHT file for copyright information. * * We provide the Paradyn Tools (below described as "Paradyn") * on an AS IS basis, and do not warrant its validity or performance. * We reserve the right to update, modify, or discontinue this * software at any time. We shall have no obligation to...
/********************************************************************* * Copyright 2010, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Id$ * $Header$ *********************************************************************/ #include "config.h" #include <curl/curl.h> ...
/* * Copyright © 2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
/* -*- C -*- */ /* * Copyright (c) 2013-2020 Seagate Technology LLC and/or its Affiliates * * 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...
/* A simple event-driven programming library. Originally I wrote this code * for the Jim's event-loop (Jim is a Tcl interpreter) but later translated * it in form of a library for easy reuse. * * Copyright (c) 2006-2010, <NAME> <antirez at gmail dot com> * All rights reserved. * * Redistribution and use in sourc...
/* Copyright 2012 exMULTI, Inc. * Distributed under the MIT/X11 software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. */ #include "libbitc-config.h" // for PACKAGE_VERSION #include <bitc/base58.h> // for base58_decode_check #include <...
/* * Copyright 2016 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
#include <stdio.h> #include <stdlib.h> #include "../stm32f4periph/inc/misc.h" #include "../stm32f4periph/inc/stm32f4xx_exti.h" #include "main.h" #include "twb_config.h" #include "commo/wifi.h" #include "commo/msg_parser.h" #include "commo/message_ids.h" #include "commo/usb/twb_usb.h" #include "common/twb_common.h" ...
#include "bitbuf.h" #include <assert.h> #include <errno.h> #include <limits.h> #include <string.h> unsigned char bitbuf_slopbuf[1]; static void die(const char *fmt, ...) { va_list ap; va_start(ap, fmt); vfprintf(stderr, fmt, ap); fprintf(stderr, "\n"); va_end(ap); exit(EXIT_FAILURE); } void bitbuf_init(b...
/* Unless otherwise specified, all functions use a Gregorian calendar with the * Reformation taking place on 1582-10-05/15. */ #define _XOPEN_SOURCE #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> /* strchr */ #include <ctype.h> /* isdigit */ #include <errno.h> #include <limits.h> ...
// Copyright 2014 Google Inc. All rights reserved. // Copyright 2017-2018 <NAME>, Shift Devices AG // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd // U2F register / sign compliance test. #includ...
/* tract.c: PAGE TABLES * * $Id$ * Copyright (c) 2001-2020 Ravenbrook Limited. See end of file for license. * * .ullagepages: Pages whose page index is < allocBase are recorded as * free but never allocated as alloc starts searching after the tables. * TractOfAddr uses the fact that these pages are marked as fr...
/* * char.c * * Created on: Feb 29, 2016 * Author: abauville */ #include "stokes.h" void Char_nonDimensionalize(Model* Model) { Char* Char = &(Model->Char); Grid* Grid = &(Model->Grid); Physics* Physics = &(Model->Physics); MatProps* MatProps = &(Model->MatProps); BC* BCStokes = &(Model->BCStokes); ...
// // luasec_scripts.c // Luakit // // Created by <NAME> on 2020-01-07. // Copyright © 2020 williamwen. All rights reserved. // #include "luasec_scripts.h" #include "lua.h" #include "lauxlib.h" static const char *lua_luasec_ssl ={"--\n" "--------------------------------------------------------------------------...
/* * Copyright (c) 2020-, szstonelee <szstonelee at vip qq com> * All rights reserved. * * mainly based on Redis & Rocksdb, please check their rights * redis: https://github.com/antirez/redis/blob/unstable/COPYING * rocksdb: https://github.com/facebook/rocksdb/blob/master/COPYING * and other 3rd libaries: * sn...
// // Majordomo Protocol broker // A minimal implementation of http://rfc.zeromq.org/spec:7 and spec:8 // #include "czmq.h" #include "mdp.h" // We'd normally pull these from config data #define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable #define HEARTBEAT_INTERVAL 2500 // msecs #define HEARTBEAT_EXPIRY ...
/* $XFree86$ */ /* * Copyright 2002 Red Hat Inc., Durham, North Carolina. * * 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 * w...
#include <string.h> #include "gspgpu.h" #include "text.h" #include "exploits/rsa_exploit.h" #include "exploits/memchunkhax.h" #include "exploits/brahma.h" #include "libctru/types.h" #include "libctru/svc.h" #include "libctru/srv.h" #define PA_PTR(addr) (void *)((u32)(addr) | 1 << 31) const char* const aptServiceNam...
#include <stdio.h> #include <stdint.h> #include <mpi.h> #include <stdlib.h> #include <getopt.h> #include "XT_Main.h" #include "pcmbir4d.h" /*Function prototype definitions which will be defined later in the file.*/ void read_data (float **measurements, float **brights, float **proj_angles, float **proj_times, float **...
#include <stdint.h> #include <stdio.h> #include <string.h> #include "network_init.h" #include "lwip/netif.h" #include "lwip/tcpip.h" #include "lwip/sockets.h" #include "ethernetif.h" #include "lwip/sockets.h" #include "netif/etharp.h" #include "timers.h" #include "os.h" #include "httpclient.h" #include "mcs.h" #inclu...
/* * $Id: dncp.h $ * * Author: <NAME> <markus <EMAIL>> * * Copyright (c) 2013-2015 cisco Systems, Inc. * * Created: Wed Nov 20 13:15:53 2013 mstenber * Last modified: Wed Sep 9 10:19:42 2015 mstenber * Edit time: 274 min * */ #pragma once #include "hnetd.h" #include "tlv.h" /* in6_addr */ #incl...
/* $Id$ Copyright 1989-2014 <NAME> This file is part of PIPS. PIPS 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 version. PIPS is distributed in...
#include "stack.h" const long double MEMORY_RATE = 1.61803398875; // 1 + (sqrt(5) - 1) / 2 int my_ceil(float num) { int int_num = (int) num; if (num == (float) int_num) { return int_num; } return int_num + 1; } void Stack_tPush(Stack_t* stack, stackElement value) { ASSERTION(stack); ...
/* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor a...
/* * 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 ...
/* client.c - Network blast tool - Public Domain - 2013 <NAME> / Rampant Pixels * * This library provides a network abstraction built on foundation streams. The latest source code is * always available at * * https://github.com/rampantpixels/network_lib * * This library is put in the public domain; you can...
/* ==== GLOBAL C ROOTS ==== * * Copyright 2013 Ravenbrook Limited <http://www.ravenbrook.com/>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of sour...
// use open source standard library features #define _XOPEN_SOURCE 700 #include "anim.h" #include "error.h" #include "file_utils.h" #include "mesh.h" #include <assert.h> #include <stdlib.h> #include <string.h> #define VERSION_MAJOR 1 #define VERSION_MINOR 0 #define MESH_VERSION (VERSION_MINOR << 4 | VERSION_MAJOR) #...
/* * wordout.c * * (Word 2007 format) * * Copyright (c) <NAME> 2007-8 * * Source code released under the GPL * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "newstr.h" #include "fields.h" #include "utf8.h" #include "wordout.h" typedef struct convert { char oldtag[25]; char newtag[2...
/* * Copyright (C) 2017 <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, pu...
// // cmd.c // com.leith.appFirewall-Helper // // Created by <NAME> on 18/01/2020. // Copyright © 2020 <NAME>. All rights reserved. // #include "cmd.h" static int c_sock=-1; static pthread_t cmd_thread, dns_thread; static pthread_mutex_t dns_mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER; static int dnscrypt_proxy_...
/* Copyright (C) <NAME> * See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing. */ /* Portions of this file are Copyright (C) 2015-2018 <NAME> <<EMAIL>> * See /doc/license/gpl-2.0.txt for details about the licensing. */ void _assert(char*); void accounttime(void); void addbootfile(char*, uint8_t*...
/* dpsi.f -- translated by f2c (version 20100827). 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 t...
#include "api_config.h" #include "PCA.h" /* 16384 8.8ms */ /* 6.67 / (((1 * 12) / 22118400) * 1000) */ #define PHASE_TMAX (18432) #define PHASE_TMIN (7168) typedef struct { u8 pca_int_cnt; /* interrupt counter */ u16 time_ab; u16 time_bc; u16 phaseSeq; u8 phaseALossFlag:1; u8 phaseBLossFlag:1; ...
/* * Copyright 1990,91 by <NAME>, Dinkelscherben, Germany. * Copyright 1993 by <NAME> <<EMAIL>> * Copyright 2002 by SuSE Linux AG, Author: <NAME> * Copyright 1994-2002 by The XFree86 Project, Inc. * Copyright 2002 by <NAME> * (Ported from xf86-input-mouse, above copyrights taken from there) * Copyright © 2008 Un...
#define _GNU_SOURCE /* To get defines of NI_MAXSERV and NI_MAXHOST */ #include <arpa/inet.h> #include <sys/socket.h> #include <netdb.h> #include <ifaddrs.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <math.h> #include <netinet/in.h> #include <net/if.h> #include <string.h> #...
#define _XOPEN_SOURCE 700 #define _DARWIN_C_SOURCE 1 #define _BSD_SOURCE #define _DEFAULT_SOURCE #define __BSD_VISIBLE 1 #include <ctype.h> #include <getopt.h> #include <pthread.h> #include <signal.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #i...
/* newint.f -- translated by f2c (version 20100827). 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...
/************************************************************ * HMMER - Biological sequence analysis with HMMs * Copyright 1992-1995 <NAME> * * This source code is distributed under the terms of the * GNU General Public License. See the files COPYING and * GNULICENSE for details. * ***********************...
#include "rasterize.h" #include "linmath_d.h" #include "utils.h" #include "config.h" #include "context.h" #include "draw.h" #include "list.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <float.h> #include <stdbool.h> enum ClipFlag{CLIPPED_TRI, CLIPPED_QUAD, UNCLIPPED, DONT_...
/* File: sunsky.c Implements sky simulation. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "specrend.h" #include "spectrum.h" #include "sunsky.h" #include "memory.h" #include "sunsky.dat" //#define LOCAL_DEBUG #define deg2rad(x) ((x) * M_PI / 180.0) float angle_between( float v_the...
/* * This file is part of the TREZOR project, https://trezor.io/ * * Copyright (c) SatoshiLabs * * 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 * (at...
#include "rbltree.h" #include <stdio.h> #include <stdlib.h> // malloc #include <assert.h> // Forward references void RBLleftRotate(RBLTree *T, RBLNode *x); void RBLrightRotate(RBLTree *T, RBLNode *x); void RBLinsertFixup(RBLTree *T, RBLNode *z); void RBLdeleteInternal(RBLTree *T, RBLNode *z); void RBLtransplant(RBLTre...
/* $OpenBSD: asb100.c,v 1.11 2008/04/17 19:01:48 deraadt Exp $ */ /* * Copyright (c) 2005 <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 ...
/*D*********************************************************** * Modul: DBI - database info * make info for BCH, DLN and RES * * Copyright: yafra.org, Basel, Switzerland **************************************************************/ #include <mpmain.h> #include <mpsqlsel.h> #include <mpprodbi.h> /...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2008, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
#include <assert.h> #include <stdbool.h> #include <stdlib.h> #include <ir/ir.h> #include <target/util.h> #define PIET_IMM_BASE 6 #define PIET_INIT_STACK_SIZE 65545 #define PIET_DUMP_INST 0 enum { PIET_PUSH, PIET_POP, PIET_ADD, PIET_SUB, PIET_MUL, PIET_DIV, PIET_MOD, PIET_NOT, PIET_GT, PIET_PTR, ...