text
stringlengths
7.55k
41.9k
/* * (C) Copyright 2002 <NAME> <<EMAIL>> * * See file CREDITS for list of people who contributed to this * project. * * 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 ...
/* Durand's Amazing Super Duper Memory functions. */ #include "liballoc.h" #include "kernel/logging.h" #include <stdint.h> #include <stdio.h> #define VERSION "1.1" #define ALIGNMENT 16ul #define ALIGN_TYPE char ///unsigned char[16] /// unsigned short #define ALIGN_INFO sizeof(ALIGN_TYPE)*16 ///< Alignment informa...
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include "uagent/uagent.h" #include "uagent_inner_api.h" #include "aos/kernel.h" #include "aos/errno.h" #include "k_config.h" #include "cJSON.h" typedef struct { ua_mod_t ...
/* * Copyright (c) 2015, Intel 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: * * 1. Redistributions of source code must retain the above copyright notice, * this list of...
/* * iaxclient: a cross-platform IAX softphone library * * Copyrights: * Copyright (C) 2003-2006, Horizon Wimba, Inc. * Copyright (C) 2007, Wimba, Inc. * * Contributors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This program is free software, distributed under the terms of * the GNU Lesser (Library) General...
/****************************************************************************** Copyright (c) 2012-2017, <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...
/* This file is part of ParTI!. ParTI! 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) any later version. ParTI! is distributed...
/* * HPACK decompressor (RFC7541) * * Copyright (C) 2014-2017 <NAME> <<EMAIL>> * Copyright (C) 2017 HAProxy Technologies * * 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 rest...
/* * ***** BEGIN LICENSE BLOCK ***** Copyright (C) 2009-2019 <NAME> Copyright (C) 2020-2021 <NAME> and Rubicon Communications, LLC(Netgate) This file is part of CLIXON. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You...
#include <stdint.h> #include <stdlib.h> #include <sys/types.h> typedef int ASN1_BOOLEAN; typedef int ASN1_NULL; typedef struct ASN1_ITEM_st ASN1_ITEM; typedef struct asn1_object_st ASN1_OBJECT; typedef struct asn1_pctx_st ASN1_PCTX; typedef struct asn1_string_st ASN1_BIT_STRING; typedef struct asn1_string_st ASN1_BMP...
/* General Compile and inject code Copyright (C) 2014-2015 Free Software Foundation, Inc. This file is part of GDB. 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 o...
/* * libtimeseries * * <NAME>, CAIDA, UC San Diego * <EMAIL> * * Copyright (C) 2018 The Regents of the University of California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
/* * @HEADER * * *********************************************************************** * * Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring * Copyright 2012 Sandia Corporation * * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, * the U.S. Govern...
/* * SYSV File System Famiy for MacFUSE * <NAME> * http://osxbook.com * * Most of the code in this file comes from the Linux kernel implementation * of sysvfs. See fs/sysv/ in the Linux kernel source tree. * * The code is Copyright (c) its various authors. It is covered by the * GNU GENERAL PUBLIC LICENSE Vers...
// 0x0700B240 - 0x0700B340 static const Vtx castle_grounds_seg7_vertex_0700B240[] = { {{{ -3491, 1630, -5396}, 0, { 0, 0}, {0x91, 0x91, 0xa5, 0xff}}}, {{{ -3491, 1630, -5716}, 0, { 990, 0}, {0x91, 0x91, 0xa5, 0xff}}}, {{{ -3491, 1310, -5716}, 0, { 990, 990}, {0x91, 0x91, 0xa5, ...
// Copyright 2015-2018 Espressif Systems (Shanghai) PTE 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 app...
#include <stdio.h> #include <windows.h> #include "list.h" #include "listActive.h" #include "matrixes.h" #include "initialization.h" #include "results.h" // Create and print results* newResults(iterationParameters* it, networkParameters* np){ int i; int n = it->nn; // horizontal size of res...
#include "util.h" //______________________________________________________________________________ void InvertBit(int *j){ int val = *j; if(val==0) *j = 1; if(val==1) *j = 0; printf("input = %d output = %d \n",val,*j); } //______________________________________________________________________________ vo...
#include "renderer.wren.inc" #define worldTile(renderer, x, y) renderer->map.tiles[(int)y * renderer->map.width + (int)x] #define getTileFrom(ref, renderer) worldTile(renderer, ref->x, ref->y) void RENDERER_allocate(WrenVM* vm) { DOME_Context ctx = core->getContext(vm); RENDERER* renderer = wren->setSlotNewForeign...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "grb2.h" #include "wgrib2.h" #include "fnlist.h" #define RINT(x) ((int) (floor((x) + 0.5))) /* * here are options that are used g2ctl * (making GrADS control files for grib2 files * * this file can be deleted if not neede...
/* Copyright (C) Intel Corp. 2006. All Rights Reserved. Intel funded Tungsten Graphics to develop this 3D driver. 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, inclu...
/* Copyright 2016 Vanderbilt University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
/* * Byte-oriented AES-256 implementation. * All lookup tables replaced with 'on the fly' calculations. * * Copyright (c) 2007-2009 <NAME>, http://www.literatecode.com * Other contributors: <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is h...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2008, <NAME> <<EMAIL>> * * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License...
/* * ----------------------------------------------------------------- * Programmers: <NAME> and <NAME>, and <NAME> @ LLNL * ----------------------------------------------------------------- * Modification of the cvsRoberts_FSA_dns to illustrate switching * on and off sensitivity computations. * * Example proble...
/********************************************************************* * openNetVM * https://sdnfv.github.io * * BSD LICENSE * * Copyright(c) * 2015-2019 George Washington University * 2015-2019 University of California Riverside * All rights reserve...
/* * SIT_Gradient.c : linear and radial gradient rasterization from CSS parameters. * * written by T.Pierron, jan 2020. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <malloc.h> #include <math.h> #include "SIT_P.h" #include "SIT_CSSParser.h" /* private datatype */ typedef struct Iter_t { ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
/* $Id: pattern.c 134303 2008-07-17 17:42:49Z camacho $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" u...
#include <string.h> /* for memcpy() */ #include <stdint.h> static uint8_t F1CONST[] = { 0x78,0xa4,0x6a,0xd7, 0x56,0xb7,0xc7,0xe8, 0xdb,0x70,0x20,0x24, 0xee,0xce,0xbd,0xc1, 0xaf,0x0f,0x7c,0xf5, 0x2a,0xc6,0x87,0x47, 0x13,0x46,0x30,0xa8, 0x01,0x95,0x46,0xfd, 0xd8,0x98,0x80,0x69, 0xaf,0xf7,0x44,0x8b, 0xb1,0x...
/* * board/renesas/blanche/blanche.c * This file is blanche board support. * * Copyright (C) 2016 Renesas Electronics Corporation * * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> #include <malloc.h> #include <netdev.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> #include <asm/processo...
/* packet-rtp-events.c * * Routines for RFC 2833 RTP Events dissection * Copyright 2003, <NAME> <<EMAIL>[AT]poss.<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the ...
/* * 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 2015 Silicon Laboratories, Inc. #include PLATFORM_HEADER #include CONFIGURATION_HEADER #include EMBER_AF_API_STACK #include "stack/ip/tls/tls.h" #include "stack/ip/tls/sha256.h" #include "zcl-core.h" #include "zcl-core-well-known.h" void emberZclGetPublicKeyCallback(const uint8_t **publicKey, ...
#include <stdio.h> #include <stdlib.h> #include <string.h> // for memset, memcpy #include <time.h> // for seeding rand #include <unistd.h> // for usleep #include <SDL2/SDL.h> #include "chip8vm.h" #include "testingsys.h" // version: 1.0 // author: rjk // CONSTS unsigned int FRAME_DELAY = 3333; // microseconds for us...
/* * Copyright (c) 2015 MediaTek Inc. * Author: Chiachun.wang <<EMAIL>> * * 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 under those terms. * * This program is distributed in ...
/* Fp2/Fp2.c * by <NAME> and <NAME> (<EMAIL>), * Cryptography Research Group, MSR Redmond, 2014 * * This file is part of the ARITH library version 0.01 * * DISCLAIMER: * This is RESEARCH code. * Parts of the code might be incomplete. * Please use at your own risk. * DO NOT USE IN PRODUCTION CODE!!...
#include <math.h> #include "VecMath.h" void dVM_AddVec3( const dVEC3 *v0, const dVEC3 *v1, dVEC3 *r ) { r->x = v0->x + v1->x; r->y = v0->y + v1->y; r->z = v0->z + v1->z; } void dVM_CrossVec3( const dVEC3 *v0, const dVEC3 *v1, dVEC3 *r ) { dVEC3 tmp; tmp.x = v0->y * v1->z - v0->z * v1->y; tmp.y =...
/* * SysDB - src/frontend/query.c * Copyright (C) 2013-2014 Sebastian 'tokkee' Harl <<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 ret...
/* * linux/arch/m68k/console/cvision.h -- CyberVision64 definitions for the * text console driver. * * Copyright (c) 1998 <NAME> * * This file is based on the initial port to Linux of grf_cvreg.h: * * Copyright (c) 1997 <NAME> * * The original work is from the NetBSD C...
/////////////////////////////////////////////////////////////////////////////////////////////////// /* Kernel Mechanisms Initialisation kernel_ia32.c This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. To view a copy of this license, visit http://...
// // Created by maxim on 2/18/20. // #ifdef __GNUC__ #pragma implementation "obj_editor_drawer.h" #endif #include "obj_editor_drawer.h" #include "obj_editor_map.h" #include "../../win_defaults.h" #include "../../../lib/resources/rmanager.h" #include "../../rendering/renderer.h" #include "map_saver.h" #include "../.....
/* Functional tests for the "target" attribute and pragma. */ /* { dg-do assemble { target { lp64 } } } */ /* { dg-require-effective-target target_attribute } */ /* { dg-options "-save-temps -mdebug -m64 -march=z13 -mtune=z10 -mstack-size=4096 -mstack-guard=0 -mbranch-cost=2 -mwarn-framesize=0 -mhard-dfp -mno-backcha...
/* * 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 the hope that it will be use...
#include <stdbool.h> #include <stdint.h> #include "nrf.h" #include "nrf_delay.h" #include "nrf_sdh.h" #include "nrf_soc.h" #include "nrf_gpio.h" #include "nrf_drv_gpiote.h" #include "nrf_drv_saadc.h" #include "nrf_power.h" #include "nrf_twi_mngr.h" #include "nrf_log.h" #include "nrf_log_ctrl.h" #include "nrf_log_defaul...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
/* * Copyright (C) 2011 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...
/* * BSD 2-Clause License * * Copyright (c) 2019, <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 ...
/* mips16-opc.c. Mips16 opcode table. Copyright 1996, 1997, 1998, 2000, 2005 Free Software Foundation, Inc. Contributed by <NAME>, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. GDB, GAS, and the GNU binutils are free software; you can redistribute them and/or modify them under the terms o...
/* $Id: mdoc_argv.c,v 1.82 2012/03/23 05:50:24 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 <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 notic...
#define _POSIX_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdbool.h> #include <limits.h> #include <pwd.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/select.h> #include <errno.h> #include <time.h> #include <netdb.h> ...
/* * Motorola CPCAP PMIC regulator driver * * Based on cpcap-regulator.c from Motorola Linux kernel tree * Copyright (C) 2009-2011 Motorola, Inc. * * Rewritten for mainline kernel to use device tree and regmap * Copyright (C) 2017 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/...
// SPDX-License-Identifier: GPL-2.0-or-later /* Provide a way to create a superblock configuration context within the kernel * that allows a superblock to be set up prior to mounting. * * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Written by <NAME> (<EMAIL>) */ #define pr_fmt(fmt) KBUILD_MODNAME ": "...
/* Copyright (C) 2015-2020 IoT.bzh author: <NAME> <<EMAIL>> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law...
/* * Handle uade.conf file * * Copyright (C) 2005 <NAME> <<EMAIL>> * * This source code module is dual licensed under GPL and Public Domain. * Hence you may use _this_ module (not another code module) in any way you * want in your projects. */ #include <uade/uade.h> #include <uade/uadeconf.h> #include <uade/uad...
/* File: omp_tsp_stat.c * * Purpose: Use iterative depth-first search and OpenMP to solve an * instance of the travelling salesman problem. This version * partitions the search tree using breadth-first search. * Then each thread searches its assigned subtree. There * ...
//------------------------------------------------------------------------------ // Single-Wire (SWI) driver // A rendszerben tobb Wire is lehet. Az eroforrasok optimalizalasa erdekeben a // Wire-okhoz egyetlen kozos kezelo modul tartozik, kozos hardver peri- // feriakkal. Az egyes Wire-ok kezelese viszont egy idob...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
/* * Copyright (c) 2017, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
#include"micromegas.h" #include"micromegas_aux.h" #include"../CalcHEP_src/c_source/ntools/include/vegas.h" #include"../CalcHEP_src/c_source/ntools/include/simpson.h" #include<math.h> static REAL pmass[6]={10,20,30,40,50}; static int i3=2,i4=3,i5=4,i6=5; static numout* cc23_=NULL,*cc24_=NULL; static double eps=1.E-2;...
/* ==================================================================== * Copyright (c) 1996-2004 Carnegie Mellon 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: * * 1. Red...
/* * Copyright (c) 2017-2021 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. */ #include "redistribute_internal.h" #include "parsec/interfaces/dtd/insert_function_internal.h" #define TILE_OF_INSERT(DC, I, J) ...
/*! \file bcmlt_ltable_field_array.c * * This file implements all the functionality associated with array fields. * Array fields can be scalar or symbol. The main functionality is the field * add and delete. Note that for arrays, the implementation keeps the array * fields sorted based on their index. */ /* * Co...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" int32_t x67 = -1; int32_t x68 = 2449; static int8_t x211 = -1; static volatile int8_t x270 = 0; static int16_t...
/* * Copyright (c) 2001, 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 copyright *...
/* Fill the nonzero term of the A matrix */ #include <petscmat.h> #include <petscvec.h> #include <petscsnes.h> #include <../src/mat/impls/baij/seq/baij.h> #include <omp.h> #include <ktime.h> #include <geometry.h> #ifdef __USE_HW_COUNTER #include <perf.h> #include <kperf.h> #endif #include <phy.h> #include <kernel.h> ...
#include "temperature.h" #include "registers.h" #include "config.h" #include "pru.h" #include "i2c.h" #include "bbb_adc.h" #include "api.h" #include "calculation.h" #include "evalkit_constants.h" #include <stdlib.h> #include <stdio.h> #include <math.h> /// \addtogroup temperature /// @{ static int fdA...
/* Redesigned Raycaster */ /* Raycast diverging line. When the coordinates fall into different blocks, split the rays. */ u64 BTM_RaycastStepVector(int yang, int pang); u64 BTM_RaycastStepVectorB(int yang, int pang); u64 btm_raycast_avgvec(u64 vec0, u64 vec1) { u64 vec2; int cx0, cx1, cy0, cy1, cz0, cz1; int cx...
#include <ctype.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include "helpfunctions.h" #include "zsfunctions.h" #include "race-file.h" #include "objects.h" #i...
/*! * @file bifrost_transform.c * @author <NAME> (http://blufedora.github.io/) * @brief * @version 0.0.1 * @date 2019-12-22 * * @copyright Copyright (c) 2019-2020 */ #include "bf/math/bifrost_transform.h" #include <assert.h> // assert #include <math.h> // sqrt #include <stddef.h> // NULL #define k_P...
/* nbsniff.c * By <NAME> * Created August, 2008 * * (See LICENSE.txt) * *==Intro== * [[nbsniff]] is designed to watch and poison NetBIOS name and registration * requests. This lets a malicious user take over all names on a local network * that aren't resolved by DNS. It can also force systems to relinquish the...
/* cabextract 0.2 - a program to extract Microsoft Cabinet files * (C) 2000-2001 <NAME> <<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 * (a...
/* * OCLExplorer bitcoin addresses brute-force tool * Based on: * Vanitygen, vanity bitcoin address generator * Copyright (C) 2011 <<EMAIL>> * */ #include "oclexplorer.h" const char *b58_alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; const signed char b58_reverse_map[256] = { -1, ...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "sema_analysis.h" #define BUILTIN_TYPES_SIZE 6 #define ARG_REGISTER_LIMIT 6 #define END_NODE() \ do { ...
/* * (C) Copyright IBM Corporation 2002, 2004 * 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 * on the rights...
#include <hre/config.h> #include <dlfcn.h> #include <limits.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <dm/dm.h> #include <hre/runtime.h> #include <hre/unix.h> #include <ltsmin-lib/ltsmin-standard.h> #include <pins-lib/prom-pins.h> #include <util-lib/chunk_support...
/* -*- C -*- */ /* * Copyright (c) 2017-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...
/* * NAME: csma.c * FUNCTION: Collection of functions implements the csma module * AUTHOR: <NAME> * DATE: Revised on Oct 12th, 2005 */ //======================================================= // File Name : csma.c //======================================================= #include "csma.h" //=======...
/* * Copyright 2021 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 required by...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * 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 versio...
//name: <NAME> //ID: 200-332-464 //Email:<EMAIL> //--------------------------------------------- #include <math.h> #include <stdio.h> #include <stdlib.h> /*Macros*/ #define SLCS 128 #define ROWS 128 #define COLS 128 #define IMG_ROWS 512 #define IMG_COLS 512 //--------------------------------------------- //Type de...
// SPDX-License-Identifier: GPL-2.0+ /* Microchip Sparx5 Switch driver * * Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries. */ #include <linux/module.h> #include <linux/device.h> #include "sparx5_main_regs.h" #include "sparx5_main.h" /* QSYS calendar information */ #define SPX5_PORTS_PER_CALREG ...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" int16_t x350 = -1; int8_t x351 = -1; uint64_t x373 = 2758758562633702709LLU; int8_t x467 = INT8_MAX; uint16_t ...
/** * @file coco_observer.c * @brief Definitions of functions regarding COCO observers. */ #include "coco.h" #include "coco_internal.h" #include <limits.h> #include <float.h> #include <math.h> /** * @brief The type for triggers based on target values. * * The target values that trigger logging are at every 10**...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #ifdef BSL_LOG_MODULE # error "BSL_LOG_MODULE redefined" #endif #define BSL_LOG_MODULE BSL_LS_BCMDNX_OAM #incl...
/******************************************************************************/ /* sdcard_ll.c -- Implementation of SD card low level stuff */ #include "sdcard_ll.h" #include "../devices/spi2sdcard.h" #include "../devices/PODpinconfig.h" /* Local variables & macros: */ #define R1B_TIMEOUT 50000 #define WRITE_TIMEOU...
#include <inttypes.h> #include <stdlib.h> #include "window.h" //================| Window Class Implementation |================// //Here's a quick, crappy pseudo-RNG since you probably don't have one uint8_t pseudo_rand_8() { static uint16_t seed = 0; return (uint8_t)(seed = (12657 * seed + 12345) % 256); }...
/* * Copyright (c) 2017, Lawrence Livermore National Security, LLC. * Produced at the Lawrence Livermore National Laboratory. * Copyright (c) 2017, Florida State University. Contributions from * the Computer Architecture and Systems Research Laboratory (CASTL) * at the Department of Computer Science. * * Written by: <N...
/* The MIT License Copyright (c) 2008 Genome Research Ltd (GRL). 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...
/* vad.c Voice Activity Detection Copyright (C) 2015 Belledonne Communications, Grenoble, France Author : <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lice...
#include "sched.h" #include <stdlib.h> #include "sched.h" #include <string.h> #include <stdlib.h> #include <stdarg.h> /* For va_start() */ #include <limits.h> #include "barrier.h" #define MAX_CHARS_TASK_LINE 50 typedef enum {NEW_TASK,TASK_AWAKEN} sched_event_type_t; typedef struct { task_t* task; sched_event...
/* Connect via https. */ /* Copyright (C) 2012 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "openssl/ssl.h" #include "openssl/err.h" #include <sys/socket.h> #include <unistd.h> #include <pthread.h> #include <signal.h> #inc...
#include "ergodox_ez.h" extern inline void ergodox_board_led_on(void); extern inline void ergodox_right_led_1_on(void); extern inline void ergodox_right_led_2_on(void); extern inline void ergodox_right_led_3_on(void); extern inline void ergodox_right_led_on(uint8_t led); extern inline void ergodox_board_led_off(void)...
/* * COPYRIGHT 1987 * DIGITAL EQUIPMENT CORPORATION * <NAME> * ALL RIGHTS RESERVED. * * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION. * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY ...
#include <stdio.h> #include <time.h> /* struct timespec */ #include <unistd.h> /* usleep() */ #include <SDL/SDL.h> /* SDL */ #include <SDL/SDL_image.h> /* SDL_image */ #include "sprites.h" /* all sprites data here */ /* debug mode on/off */ #define DEBUGMODE #ifdef DEBUGMODE #inclu...
#include "crypt_file.h" #include "unsafe_decrypt.h" #include <sodium.h> #ifndef CF_DEBUG #define NDEBUG #endif #include <assert.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define FILE_FORMAT_NAME "liphEnc" #define FILE_FORMAT_SIZE 7 #define FILE_ID_SIZE 16U #define VERSION_SI...
/* ---------------------------------------------------- -- Distributed matrix project -- Author: <NAME> Grade: Master I - IFI University: Nice-Sophia-Antipolis Year: 2017-2018 Project subject link: https://sites.google.com/site/fabricehuet/teaching/parallelisme-et-distribution/projet---produit...
#include <assert.h> #include <stdlib.h> #include <string.h> #include <vulkanx/command_buffer.h> #include <vulkanx/result.h> #include <vulkanx/memory.h> #include <vulkanx/swapchain.h> // Select present mode. static VkResult selectSwapchainPresentMode( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, V...
//--------------------------------------------------------------------- //--------------------------------------------------------------------- #include "header.h" #include "mpinpb.h" #include "work_lhs.h" extern void y_sendrecv_solve(int c, int cprev); extern void y_sendrecv_back(int c, int cprev); extern void y_back...