text
stringlengths
5.8k
28.2k
#include "rtc.h" #include <math.h> #include <time.h> #include <LoRaWAN/Utilities/systime.h> #include <LoRaWAN/Utilities/utilities.h> #include <stm/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rtc.h> #include "system.h" #include "irq.h" typedef struct { uint32_t Rtc_Time; /* Reference time */ RTC_TimeTypeDef RTC_Caln...
#include "md5.h" #include <unistd.h> #include <memory.h> #include <string.h> void State_init(State *s) { s->A = 0x67452301; // little endian for 0x01234567; s->B = 0xefcdab89; // 0x89abcdef s->C = 0x98badcfe; // 0xfedcba98 s->D = 0x10325476; // 0x76543210 } // F(X,Y,Z) = XY v not(X) Z // G(X,Y,Z) = XZ v Y n...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "prof_int.h" #include <sys/types.h> #include <stdio.h> #include <string.h> #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #include <errno.h> #include <ctype.h> #ifndef _WIN32 #include <dirent.h> #endif #define SECTION_SEP_CHAR '/' #define STAT...
/***************************************************************************//** * @file main_rtcc_em4_wake.c * @brief This project demonstrates use of the RTCC to wake from EM4. * * Pay attention to the steps performed during initialization and how * they differ for wake from EM4 vs. other reset sources. * * On...
// // random_histogram_example.c // // This example tests the random number generators for different // distributions. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <getopt.h> #include "liquid.h" #define OUTPUT_FILENAME "random_histogram_example.m" // pr...
#include "global.h" #include "commands.h" #include "util.h" #include "file_util.h" #include "db_graph.h" #include "graphs_load.h" #include "gpath_reader.h" #include "gpath_checks.h" #include "graph_search.h" #include "json_hdr.h" const char server_usage[] = "usage: "CMD" server [options] <in.ctx> [in2.ctx ...]\n" "\n"...
// SPDX-License-Identifier: BSD-2-Clause /** * Copyright 2017-2019 NXP * * Brief CAAM Random Number Generator manager. * Implementation of RNG functions. */ #include <atomic.h> #include <caam_common.h> #include <caam_hal_rng.h> #include <caam_jr.h> #include <caam_rng.h> #include <caam_utils_mem.h> #inclu...
// JeeBoot - Custom RFM12B driver for boot loader use, no interrupts // 2012-11-01 <<EMAIL>> http://opensource.org/licenses/mit-license.php #ifndef RF12_h #define RF12_h #include <stdint.h> #include <util/crc16.h> #if defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny44__) #define RFM_IRQ_BIT 1 #define RFM_IRQ_D...
/* chain_commands.c -- JTAG protocol bridge between GDB and Advanced debug module. Copyright(C) 2008 - 2010 <NAME>, <EMAIL> based on code from jp2 by <NAME>, <EMAIL> This file contains functions which perform mid-level transactions on a JTAG, such as setting a value in the TAP IR or doing a bur...
/* * EFI GPT partition parsing code * * Copyright (C) 2009 <NAME> <<EMAIL>> * * This file may be redistributed under the terms of the * GNU Lesser General Public License. * * This code is not copy & past from any other implementation. * * For more information about GPT start your study at: * http://en.wikipe...
/* This file is the part of the STM32 secure bootloader * * Copyright ©2016 <NAME> <dmitrystu[at]gmail[dot]com> * * 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.or...
#include "rr_server.h" #include "rr_logging.h" #include "rr_rhino_rox.h" #include "rr_malloc.h" #include "robj.h" #include "util.h" #include <string.h> #include <unistd.h> #include <errno.h> #include <ctype.h> #include <assert.h> #include <math.h> #include <stdarg.h> static int prepare_client_to_write(rr_client_t *c)...
#include "ChannelsAndJunctions.h" #include "MeshAttributes.h" #include <stdio.h> #include <stdlib.h> #include <math.h> #include "mathfunctions.h" extern const double g; /**********************************************************************************************//** * This function couples the channels and junction...
/* * Copyright 2020, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details...
/********** COPYRIGHT AND CONFIDENTIALITY INFORMATION NOTICE ************ ** Copyright (c) 2019 Technicolor * ** - Connected Home Division of Technicolor Group * ** - Technicolor Delivery Technologies, SAS * ** and/or Technicolor ...
#include "duv.h" #include "misc.h" #include "duk_module_duktape.h" #include "duk_console.h" static uv_loop_t loop; // Sync readfile using libuv APIs as an API function. static duk_ret_t duv_loadfile(duk_context *ctx) { const char* path = duk_require_string(ctx, 0); uv_fs_t req; int fd = 0; uint64_t size; c...
/* * 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...
/* * Copyright (c) 2018-2019, NVIDIA CORPORATION. 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 t...
/* * Host AP (software wireless LAN access point) user space daemon for * Host AP kernel driver / RADIUS client * Copyright (c) 2002-2003, <NAME> <<EMAIL>> * * 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 t...
#include "graphics/material.h" #include "graphics/texture.h" #include "graphics/uniforms.h" #include "utils.h" #include "graphics/vulkan_internal.h" #include "graphics/renderer.h" #include "log.h" #include "libjson.h" #include "handletable.h" #include "graphics/pipeline.h" #include "magpie.h" #include "handlepool.h" #i...
/************************************************************************************************************************** * DESCRIPTION: This function preprocesses the input, extracts information on number of states and writes them into a * * state matrix in encoded form ...
/* * Copyright (C) ST-Ericsson AB 2010 * Author: <NAME>/<EMAIL> * License terms: GNU General Public License (GPL) version 2 */ #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/slab.h> #include <net/caif/caif_layer.h> #include <net/caif/cfpkt.h> #include <net/caif/cfcnfg.h> #include <net/caif/cfct...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2021 ST...
#if defined (NM_OS_LINUX) # define _GNU_SOURCE #endif #include <nm_core.h> #include <nm_dbus.h> #include <nm_utils.h> #include <nm_cfg_file.h> #include <nm_qmp_control.h> #include <sys/wait.h> /* waitpid(2) */ #include <time.h> /* nanosleep(2) */ #include <pthread.h> #include <mqueue.h> #include <json.h> static vola...
/* mm.c - functions for memory manager */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2002,2005,2007,2008,2009 Free Software Foundation, Inc. * * GRUB 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 Softwar...
#include <stdio.h> #include <stdlib.h> #include <BoxPartition.h> /*--------------------------------------------------------------------*/ static int box_map_local_entry( const int box[][2] , const int ghost , int local_x , ...
/* Copyright (c) 2007, Stanford University * 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...
/* Copyright 2011,2013,2014 IPB, Universite de Bordeaux, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distribution of free ...
/* $FreeBSD: src/gnu/usr.bin/cc/cc_tools/auto-host.h,v 1.18 2004/07/28 05:27:20 kan Exp $ */ #ifndef __FreeBSD_version #include <sys/param.h> #include <sys/endian.h> #endif /* auto-host.h. Generated by configure. */ /* config.in. Generated from configure.ac by autoheader. */ /* 1234 = LIL_ENDIAN, 4321 = BIGENDIA...
/* libpsxav: MDEC video + SPU/XA-ADPCM audio library Copyright (c) 2019, 2020 <NAME>" Siekierka Copyright (c) 2019 Ben "GreaseMonkey" Russell This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. ...
/** 日志打印示例。 使用: mylog(DEBUG, "This is debug info\n"); 结果: [2018-07-22 23:37:27:172] [DEBUG] [main.cpp:5] This is debug info 默认打印当前时间(精确到毫秒)、文件名称、行号。 */ #include <stdarg.h> #include <stdio.h> #include <string.h> #include <time.h> #include <unistd.h> #include <sys/time.h> #include <sys/stat.h> #include <pthread.h> #inclu...
/*------------------------------------------------------------------------- * * sha1.c * Implements the SHA1 Secure Hash Algorithm * * Fallback implementation of SHA1, as specified in RFC 3174. * * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of ...
#define _GNU_SOURCE #include <stdio.h> #include <math.h> #include <string.h> #include <float.h> #include <time.h> #include <stdlib.h> #include <assert.h> #include <signal.h> #include "macros.h" #include "memory.h" #include "lp.h" #include "cprop.h" #include "containers.h" #include "strutils.h" #include "cprop_lp.h" #i...
// Copyright 2013 <NAME> <<EMAIL>> // Matching algorithm by <NAME>, 2010. // // 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 lis...
////////////////////////////////////// // <NAME>, NASA JPL/Caltech // Copyright 2015-2018... ////////////////////////////////////// #include "resamp.h" #include <fftw3.h> #include <omp.h> #define SWAP4(a) (*(unsigned int *)&(a) = (((*(unsigned int *)&(a) & 0x000000ff) << 24) | ((*(unsigned int *)&(a) & 0x0...
/* * FaztWeb is a simple, clean, minimallistic web browser based on the * sources of TazWeb. It aims to be as fast and clean as the original * one, but much easier to use, and with even less gui elements. * It removes a lot of references to SliTaz, and replace the home with * the great StartPage search engine. * ...
/* * Copyright (C) 1996-1998 <NAME> * Email: <EMAIL> * * 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. See the f...
/* err.c -- simple error reporting library * * Copyright (C) 2010-2020 SINTEF * * Distributed under terms of the MIT license. */ /* * TODO: Consider to reuse good ideas from https://github.com/rxi/log.c */ #include <assert.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #include "compat.h" #incl...
/* $XFree86: xc/programs/Xserver/hw/xfree86/vga256/drivers/ark/ark_cursor.c,v 3.8.2.1 1997/05/31 13:34:41 dawes Exp $ */ /* * Copyright 1994 The XFree86 Project * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), ...
#include <stdio.h> #include <stdlib.h> #include "journal.h" /* List functions */ List_node *insert_start(List_t *l_info, JournalRecord_t* d) { List_node *n = malloc(sizeof(List_node)); ALLOCATION_ERROR(n); // JournalRecord_t* new_d = copyJournalRecord(d); JournalRecord_t* new_d = d; n->data = new_d; n->next = l...
/* mooshak safeexec (safe execution environment) * * Idea: * we use stdin and stdout to passing and receiving information to * the program we are about to execute, and report statistics on * FILE *redirect * * Please check out #ifdef LINUX_HACK */ #define _BSD_SOURCE /* to include wait4 function prototy...
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
/* CoreSight Access Library Utilities Set of auxiliary functions that are used by demo code but re-useable in user applications. The functions cover board detection and libary registration, and extraction of trace data and creation of a snapshot for DS-5. Copyright (C) ARM Limited, 2015-2016. All rig...
/****************************************************************************** * Projekt - Zaklady pocitacove grafiky - IZG * <EMAIL> * * $Id: student.c 265 2013-02-20 16:44:40Z spanel $ */ #include "student.h" #include "transform.h" #include "curve.h" #include <memory.h> #include <math.h> /***...
/** ****************************************************************************** * @file xxx.c * @author <NAME> * @version * @date xx-xx-2014 * @brief xxxxx. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR...
/* $FreeBSD: src/sys/dev/ral/if_ral_pci.c,v 1.10 2012/05/10 17:41:16 bschmidt Exp $ */ /*- * Copyright (c) 2005, 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 p...
/* * 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...
// // Created by leoll2 on 9/25/20. // Copyright (c) 2020 <NAME>. All rights reserved. // #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <rte_common.h> #include <rte_eal.h> #include <rte_errno.h> #include <rte_ethdev.h> #include <rt...
/* * Warning, inlining hell */ #include "drv/animdrv.h" #include "drv/dispdrv.h" #include "mariost.h" #include "memory.h" #include "system.h" #include <math.h> #include <string.h> #define PI 3.14159265358979323846264338327950288419716939937510f #define DEG_TO_RAD(deg) ((deg) * 0.017453292f) extern GlobalWork* gp; e...
#include <windows.h> #include <stdio.h> #include "scsidefs.h" #include "wnaspi32.h" static HANDLE WnASPI32DllHandle; static HANDLE hEventSRB; BYTE byScsiHaId = 3; BYTE byScsiTarget = 4; static DWORD (__cdecl *GetASPI32SupportInfoFunc)(void); DWORD (__cdecl *SendASPI32CommandFunc)(LPSRB); int...
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/radeon/radeon_span.c,v 1.2 2004/12/13 22:40:53 tsi Exp $ */ /************************************************************************** Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and VA Linux Systems Inc., Fremont, California. All...
/* * London Transport * Copyright (C) 2013 <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,...
/* ** cpu.h Motorola M68k, CPU32 and ColdFire cpu-description header-file ** (c) in 2002,2006-2021 by <NAME> */ #define BIGENDIAN 1 #define LITTLEENDIAN 0 #define VASM_CPU_M68K 1 #define MNEMOHTABSIZE 0x4000 /* maximum number of operands for one mnemonic */ #define MAX_OPERANDS 6 /* maximum number of mnemonic-qualif...
#include "stepper.h" #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <stdbool.h> #include <omp.h> #include <stdio.h> #define BLOCK_SIZE 4 //ldoc on /** * ## Implementation * * ### Structure allocation */ central2d_t* central2d_init(float w, float h, int nx, int ny, ...
/* #pragma ident "@(#)oid_ops.c 1.19 04/02/23 SMI" */ /* * lib/gssapi/generic/oid_ops.c * * Copyright 1995 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * ...
/* * File: main.c * Author: aluno * * Created on December 7, 2017, 9:35 AM */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils.h" #define TAMPOS 2 #define TAMATRIZ 9 #define PECAS 2 #define VALORINCIAL -1 #define TAMANHO 25 int com = 0; //joga nos espaços vazios void jogadasComputado...
/* * Copyright (c) 2017 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except i...
// main.c // gwm for garden. #include "launcher.h" //#define TEDITOR_VERBOSE 1 #define GRID_HORIZONTAL 1000 #define GRID_VERTICAL 2000 //static int running = 1; int running = 1; //typedef struct Client { struct window_d *window; int tag; unsigned long x; unsigned long y; ...
/* HuC6280 sound chip emulator by <NAME> E-mail: <EMAIL> WWW: http://cgfm2.emuviews.com Thanks to: - <NAME> for his PSG documentation. - <NAME> for the TGEmu-specific sound updating code. - http://www.uspto.gov for the PSG patents. - All contributors to the tghack-list. Change...
#define _GNU_SOURCE #include "strassen.h" #include <stdbool.h> #include <pthread.h> #include <sched.h> int parallelized = false; int parallel_enabled = true; // Used to multiply two matrices with dims <= 4 (will move to 16 after debugging, maybe) #pragma clang optimize off struct Matrix* matrix_naive_multiply(struc...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <fcntl.h> #include <string.h> #include <unistd.h> #include <sys/select.h> #include <time.h> #include "aclib.h" #include "dirsMap.h" int jobExecutor(int w, int* chPid, char* fileName){ char pNameW[15...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpidi_ch3_impl.h" /* extern'd in mpidi_ch3_impl.h */ /* assocID -> VC hash */ HASH* MPIDI_CH3I_assocID_table; /* lone socket for standard communications */ int M...
#define _GNU_SOURCE /* asprintf() */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* strchr() */ #include <ctype.h> /* isalnum() */ #include <assert.h> #include "reddit.h" #include "discord.h" #include "json-actor.h" /* json_extract() */ #include "cee-utils.h" /* cee_load_whole_file() */ #include "sched...
/* * Copyright (C) 2008 <NAME> * Copyright (C) 2009 <NAME> * * This file is part of wasp, some code taken from paparazzi (GPL) * * wasp 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,...
// // cc.c - Tiny C Compiler for Sanos // // Copyright (c) 2001-2004 <NAME> // Copyright (c) 2011-2012 <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...
/* * The MIT License * * Copyright (c) 2008 <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, modi...
/* * calc_optical.c * ARToolKit5 * * This file is part of ARToolKit. * * ARToolKit 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 3 of the License, or * (at your option) ...
/* * Network routines */ #include "smoke.h" #include <stdio.h> #include <ctype.h> struct bucket *instanceBucketTable[INSTANCESIZE]; struct bucket *signalBucketTable[SIGNALSIZE]; struct bucket *chipBucketTable[ICSIZE]; struct signal *lastSignal = NULL_STRUCT(signal); struct chip *lastChip = NULL_STRUCT(chip); struc...
/*------------------------------------------------------------------ main.c - MAIN PROGRAM FOR RUNNING BGG syntax as described below. NAME rhessys - core program in RHESSys regional hydroecological simulation system. SYNOPSIS rhessys [options] OPTIONS -b Basin output option. Print out response vari...
/* Jacobi solver on quadtree, pthreads version <NAME>, CSIS-335, Siena College, Fall 2021 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <pthread.h> #include "quadtree.h" #include "macros.h" /* forward declaration for the thread function */ void *qsworker(void *); /* a few globals related...
/** * td_test.c * Written by <NAME> and released to the public domain, * as explained at http://creativecommons.org/publicdomain/zero/1.0/ */ #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <errno.h> #include <stdio.h> #include "tdigest.h" #include "minunit.h" #define STREAM_SIZE 1000000 ...
/* -*- mode: C; tab-width: 2; indent-tabs-mode: nil; -*- */ /* * This code has been contributed by the DARPA HPCS program. Contact * <NAME> <<EMAIL>> or <NAME> <<EMAIL>> * if you have questions. * * * GUPS (Giga UPdates per Second) is a measurement that profiles the memory * architecture of a system and is a m...
/* Copyright (c) 2020, GigaDevice Semiconductor Inc. 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 t...
/* $NetBSD: if_edreg.h,v 1.1.1.1 1996/05/05 12:17:10 oki Exp $ */ /* * National Semiconductor DS8390 NIC register definitions. * * Copyright (C) 1993, <NAME>. This software may be used, modified, * copied, distributed, and sold, in both source and binary form provided that * the above copyright and these terms a...
/*- * BSD LICENSE * * Copyright (c) 2015-2017 Atomic Rules LLC * 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 * n...
// SPDX-License-Identifier: GPL-2.0+ /* * lmp91000.c - Support for Texas Instruments digital potentiostats * * Copyright (C) 2016, 2018 * Author: <NAME> <<EMAIL>> * * TODO: bias voltage + polarity control, and multiple chip support */ #include <linux/module.h> #include <linux/i2c.h> #include <linux/delay.h> #in...
/* This file is changed for the opportunity of forced fast-access to FLASH * (1 clocks) by use of _FORCED_FLASH_SPEED. * Modified by <NAME>; Date: 22 Oct. 2015 */ /* * @brief LPC8xx IRC initialization functions * * @note * Copyright(C) NXP Semiconductors, 2013 * All rights reserved. * * @par ...
// Copyright (C) 2017 <NAME>. See included LICENSE file. #define DRED_CONTROL_TYPE_TABBAR "dred.common.tabbar" typedef struct dred_tabbar dred_tabbar; #define DRED_TABBAR(a) ((dred_tabbar*)(a)); #define DRED_GUI_MAX_TAB_TEXT_LENGTH 256 typedef enum { dred_tabbar_orientation_top, dred_tabbar_orientation_...
/* * Copyright (C) 2010 <NAME> <<EMAIL>> * * Licence: wxWindows Library Licence, Version 3.1 */ #include "gumsanitychecker.h" #include "gumallocatorprobe.h" #include "gumallocationtracker.h" #include "gumallocationblock.h" #include "gumallocationgroup.h" #include "gumboundschecker.h" #include "guminstancetracker....
/* Copyright (c) 2008, Nokia Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of con...
/* * rdr_field_core.c * * blackbox. (kernel run data recorder.) * * Copyright (c) 2012-2019 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified und...
/* inelpl.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__2 = 2; static doublereal c_b26 = 1.; /* $Procedure INELPL ( Intersection of ellipse and plane ) *...
#define ROL(x, n) (x << n | x >> (32 - n)) #define F(x, y, z) (x ^ y ^ z) #define G(x, y, z) (x & y | ~x & z) #define H(x, y, z) ((x | ~y) ^ z) #define IQ(x, y, z) (x & z | y & ~z) #define J(x, y, z) (x ^ (y | ~z)) #define FF(a, b, c, d, e, x, s) \ a += F(b, c, d) + x; \ a = ROL(a, s) + e; \ c = ROL(c, 10); #define GG(...
/** * Copyright 2015 Comcast Cable Communications Management, 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 requir...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2001-2002 Nokia Corporation * Copyright (C) 2002-2003 <NAME> <<EMAIL>> * Copyright (C) 2002-2010 <NAME> <<EMAIL>> * Copyright (C) 2002-2003 <NAME> <<EMAIL>> * * * This program is free software; you can redistribute it and/or modify ...
/*------------------------ MIT License HEADER ------------------------------------ Copyright ANSSI (2013-2015) Contributors : <NAME> [<EMAIL>], <NAME> [<EMAIL>] <NAME> [<EMAIL>] This software is a computer program whose purpose is to implement a PKCS#11 proxy as well as a PKCS#11 filter with se...
/* dsterf.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 end of...
/**************************************************************************** ** ** Copyright (C) 2016 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 restrict...
/***************************************************************************** * mexschur.c : C mex file to compute * * mexschur(blk,Avec,nzlistA1,nzlistA2,permA,U,V,colend,type,schur); * * schur(I,J) = schur(I,J) + Trace(Ai U Aj V), * where I = permA[i], J = permA[j], 1<=i,j<=colend. * * i...
#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sqlite3.h> #include <unistd.h> #include <bloom.h> #include <libwebsockets.h> #ifdef __linux__ #include <sys/types.h> #include <sys/wait.h> #endif #include "reader.h" int interrupted = 0; // becomes 1 if we receive SIGI...
/* * Copyright (c) 2007-2011 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2011-2...
/* * Copyright (C) 2020 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms of this file, * with or without modification, are permitted. See the Creative * Commons Zero (CC0 1.0) License for more details. */ #include "tfp.h" #include <stdint.h> #include <stddef.h> #include <stdbool.h> #includ...
/* ========================================================================== Clarasoft Foundation Server 400 Clara Daemon Version 1.0.0 Command line arguments: - instance name (no more than 64 characters) Compile module with: CRTCMOD MODULE(CLARAD) SRCFILE(QCSRC) DBGVIEW(*ALL) Build program ...
/* tsqr.c * * Copyright (C) 2015, 2019 <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 3 of the License, or (at * your option) any later version. * * This pro...
/* * Copyright 1996-2019 Cyberbotics Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright (c) 1990, 1991, 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: (1) source code distributions * retain the above copyright notice and this paragraph in ...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <getopt.h> #include <ytdl/cli.h> #include <ytdl/dl.h> #include <ytdl/info.h> #include <ytdl/mux.h> const char cli_usage[] = "Usage: %s [-qLo:vD:] URL [URL..]\n\n" "Options:\n" " -q, --quiet Silence output to console.\n" ...
// SPDX-License-Identifier: GPL-2.0+ /* * Cortina CS4315/CS4340 10G PHY drivers * * Copyright 2014 Freescale Semiconductor, Inc. * Copyright 2018 NXP * */ #include <config.h> #include <common.h> #include <malloc.h> #include <linux/ctype.h> #include <linux/string.h> #include <linux/err.h> #include <phy.h> #includ...
/* Copyright (C) 2005 MySQL 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; either version 2 of the License, or (at your option) any later version. This program is distributed in t...
/* This code was generated by Usuba. See https://github.com/DadaIsCrazy/usuba. */ /* Do NOT change the order of those define/include */ #define NO_RUNTIME #ifndef BITS_PER_REG #define BITS_PER_REG 64 #endif /* including the architecture specific .h */ #include "STD.h" /* auxiliary functions */ /* main function ...