text
stringlengths
3.12k
18.7k
/* * Copyright (c) 2016, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstr 6, CH-8092 Zurich. Attn: Systems Group. */ #include <kernel.h> #include <...
#define _GNU_SOURCE #include <assert.h> // for assert #include <stdbool.h> // for bool #include <stddef.h> // for NULL #include <stdint.h> // for int32_t, etc #include <string.h> // for memcpy #include <sys/mman.h> // for mmap #undef _GNU_SOURCE #include "greatest.h" // Objects typedef int64_t word; typedef...
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * This file implements the various access functions for the * PROC file system. It is mainly used for debuggi...
/* Copyright (c) 2012-2015, The Saffire Group 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 conditi...
/** * \file * \brief A simple test for checking if lpc_timer works * It tests periodic timers implemented by timer library. * test_A: When no arguments are given, then timer_test will run test_A * which starts two periodic timers and stops them after 100 callbacks * from each of them. * * test_B: When there are...
/****************************************************************************** * * * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/* * The MIT License (MIT) * * Copyright (c) 2019 <NAME> (tinyusb.org) * * 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 ...
/* * MicroStorm - BLE Tracking * src/scan.c * * Copyright (c) 2022 <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 righ...
/* * lib/krb4/cr_tkt.c * * Copyright 1985, 1986, 1987, 1988, 2000 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. * It is the responsibility of any person o...
/******************************************************************************* * Includes *******************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <stdbool.h> #include <assert.h> #include <string.h> #include "vslc.h" ...
/* arminit.c -- ARMulator initialization: ARM6 Instruction Emulator. Copyright (C) 1994 Advanced RISC Machines Ltd. 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...
/* This testcase is part of GDB, the GNU debugger. Copyright 1998-2015 Free Software Foundation, Inc. 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 ...
/* * librdkafka - Apache Kafka C library * * Copyright (c) 2012-2015, <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 co...
/* -*- indent-tabs-mode: nil -*- * * ya_getopt - Yet another getopt * https://github.com/kubo/ya_getopt * * Copyright 2015 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistribu...
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) // // This file is provided under a dual BSD/GPLv2 license. When using or // redistributing this file, you may do so under either license. // // Copyright(c) 2018 Intel Corporation. All rights reserved. // // Author: <NAME> <<EMAIL>> // #include <linux/module...
/* * Copyright (c) 1997, 2001 <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 condition...
/* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int x, y; } Pt; typedef struct { int a, b, c; } TwoPt; int cmpPt(const void *u, const void *v) { const Pt *a = u, *b = v; if (a->x != b->x) { return a->x - b->x; } return a->y - b->y; } int cmpTwoPt(const void *...
/*- * Copyright (c) 1980, 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abov...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "pal_config.h" #include "pal_errno.h" #include "pal_utilities.h" #include <errno.h> #include <netdb.h> //...
/* * GStreamer * Copyright (C) 2005 <NAME> <<EMAIL>> * Copyright (C) 2005 <NAME> <<EMAIL>> * Copyright (C) 2011 Igalia S.L. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; eith...
/* $NetBSD: bus_space.c,v 1.5 2001/12/10 20:30:21 briggs Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> and by <NAME> of the Numerical Aerospace * Simulation Facility, NASA Am...
/* Microsoft Reference Implementation for TPM 2.0 * * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and * contributor rights, including patent rights, and no such rights are granted * under this license. ...
/* $NetBSD: iq80310_timer.c,v 1.11 2002/04/14 19:47:03 thorpej Exp $ */ /* * Copyright (c) 2001, 2002 Wasabi Systems, Inc. * All rights reserved. * * Written by <NAME> for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
#include <windows.h> #include "fuse.h" #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <string.h> #include <limits.h> #include <signal.h> #include <errno.h> #ifdef __CYGWIN__ #define _BSD_SOURCE #include <unistd.h> #include <semaphore.h> #endif enum { KEY_HELP, KEY_HELP_NOHEADER, KEY_VERSION,...
// Copyright 2015-2016 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...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
#include <stdio.h> #include <io/move.h> #include <sys/memory.h> #include <ppu-types.h> #include <io/camera.h> #include <ppu-types.h> #include <spurs/spurs.h> #include <sys/spu.h> #include <sys/thread.h> #include <sys/systime.h> #define SPURS_DEFAULT_PREFIX_NAME "gem_spurs" u16 oldGemPad = 0; u16 newGemPad = 0; u16 ne...
/* * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "qemu-common.h" #include "ui/console.h" #include "standard-headers/drm/drm_fourcc.h" PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t fo...
/* * (C) Copyright 2009 Samsung Electronics * <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> #include <malloc.h> #include <asm/io.h> #include <asm/gpio.h> #include <dm/device-internal.h> DECLARE_GLOBAL_DATA_PTR; #define S5P_GP...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.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 Lic...
/* ** Copyright (C) 2004-2017 <NAME> <<EMAIL>> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public License as published by ** the Free Software Foundation; either version 2.1 of the License, or ** (at your option) any later version. ** ** Thi...
#include "state/states/digitonepad.h" #include "visual/surface.h" #include "visual/columnset.h" #include "visual/rowset.h" #include "util/clear_func.h" #include "visual/clear.h" u8 digitone_state = 0; void ToggleDigitoneState(u8 index, u8 value) { if (value > 0) { digitone_state++; clear_all...
#include "rtm.h" #include <ctype.h> #include <fcntl.h> #include <readline/history.h> #include <readline/readline.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> /*An array of File descriptors which the server process *...
/* Test for i386 sigaction sa_restorer handling (BZ#21269) Copyright (C) 2017-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
#include "camera.h" #include "tilemap.h" #include "tmx/tmx.h" #include "util.h" #include <assert.h> #include <ctype.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <SDL_image.h> static const char* LAYER_MAIN = "Main"; static const char* LAYER_COLLISION = "Collision"; s...
/*MIT License Copyright (c) 2018 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
/* Backend hook signatures internal interface for libebl. Copyright (C) 2000-2011, 2013, 2014, 2016, 2017 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify it under the terms of either * the GNU Lesser General Public License as published by...
#include "mex.h" #include "fftw3.h" #include <string.h> #include "ltfat.h" static fftw_plan* p_double = NULL; static fftwf_plan* p_float = NULL; /* Since the array is stored for the lifetime of the MEX, we introduce limit od the array length. 2^20 ~ 16 MB of complex double */ #define MAXARRAYLEN 1048576 // Static poin...
/* * MISC OpenLDAP LDAP Server BIND Request DoS attempt * * Copyright (C) 2007 Sourcefire, Inc. All Rights Reserved * * Writen by <NAME> <<EMAIL>> * * This file may contain proprietary rules that were created, tested and * certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as * rules that were...
/* hgGene.h - important structures and interfaces between * modules of the gene details viewer. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #ifndef CART_H #include "cart.h" #endif #ifndef JKSQL_H #include "jksql.h" #e...
/* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ #include "player.h" #define turnfirst(x) (*x == 'r' || *x == 'l') void acceptmove() { int ta; int ma; char af; int moved ...
/*----------------------------------------------------------------------------*/ /* Xymon monitor library. */ /* */ /* This is a library module for Xymon, responsible for loading the ...
/* $NetBSD: pchb.c,v 1.4 2003/07/25 14:34:33 scw Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, a...
/* libcmime - A C mime library * Copyright (C) 2013 SpaceNet AG and <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 limitatio...
/* * Copyright 2004 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Sof...
/* * Copyright (c) 2009 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox */ #include "system.h" #include <asm/unistd.h> #include <sched.h> #include <stdarg....
#include "game.h" #include "game_objects.h" #include "asset_utils.h" #include "buffer.h" #include "geometry.h" #include "image.h" #include "linmath.h" #include "math_helper.h" #include "platform_gl.h" #include "platform_asset_utils.h" #include "program.h" #include "shader.h" #include "texture.h" static const float puc...
#include "filial.h" #include <stdbool.h> #include <gmodule.h> #include <string.h> #include <stdlib.h> struct filiais { GHashTable* cliCompra; /**< Hashtable que relaciona clientes com produtos*/ GHashTable* prodCompra; /**< Hashtable que relaciona produtos com clientes*/ }; typedef struct cliCompra { char...
/* * Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2003 S3 Graphics, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software witho...
#include <assert.h> #include "libmapvxl.h" static void setBlock(MapVxl *map, int x, int y, int z, int t) { assert(z >= 0 && z < MAP_Z_MAX); map->blocks[x][y][z] = t; } void mapvxlSetColor(MapVxl *map, int x, int y, int z, unsigned int c) { assert(z >= 0 && z < MAP_Z_MAX); map->color[x][y][z] = c; map->...
/* CREXX Module Loader */ #include <stdlib.h> #include "rxvmintp.h" #include "rxastree.h" #include "rxvmvars.h" #include "rxbin.h" /* Initialise modules context */ void rxinimod(rxvm_context *context) { context->num_modules = 0; context->exposed_proc_tree = 0; context->exposed_reg_tree = 0; context->d...
/************************************************************************ * NCSA HTTPd Server * Software Development Group * National Center for Supercomputing Applications * University of Illinois at Urbana-Champaign * 60<NAME>, Champaign, IL 61820 * <EMAIL> * * Copyright (C) 1995, Board of Trustees of the U...
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include "svdpi.h" #include "dpiheader.h" FILE *fin; FILE *fout; void init_files() { fin = fopen("D:/aidata/bank0_startconvout_input.txt", "rt"); fout = fopen("D:/aidata/bank0_startconvout_output.txt", "rt"); printf("files opened"); assert(fin); assert(...
/** * 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...
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include "cache.h" #include "pagetable.h" #include "mainmemory.h" #include "processes.h" #define PAGE_TABLE_LIMIT 1019 #define PER_PROCESS_PAGE_LIMIT 256 /* ///////TEMPORARY DECARATIONS TILL CODE IS INTEGRATED// typedef struct pcb { unsigned int pid:16; ...
/* * VMI interface definition * * Copyright (C) 2005, VMware, Inc. * * 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 vers...
/* ** mouse:~ppr/src/pprd/pprd_printer.c ** Copyright 1995--2006, Trinity College Computing Center. ** Written by <NAME>. ** ** This file is part of PPR. You can redistribute it and modify it under the ** terms of the revised BSD licence (without the advertising clause) as ** described in the accompanying file LICENSE...
/** * copyright (c) 2018, <NAME> * SPDX-License-Identifier: MIT */ #include <errno.h> #include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdio.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <time.h> #include <sys/time...
/* * Copyright 2008 <NAME> <<EMAIL>> * Copyright 2010 <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 * on the righ...
#define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <dlfcn.h> #include <string.h> #include <pthread.h> #include <errno.h> #include <sys/time.h> #include <sys/resource.h> #include <assert.h> #include <signal.h> #inclu...
/* md5.c - an implementation of the MD5 algorithm and MD5 crypt */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2000, 2001 Free Software Foundation, Inc. * * 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 ...
/***************************************************************************//** * @file main.c * @brief ISP tool main function * @version 0x32 * @date 14, June, 2017 * * @note * Copyright (C) 2017-2018 Nuvoton Technology Corp. All rights reserved. ***************************************************...
/* * urlsnarf.c * * Sniff the network for HTTP request URLs, output in CLF format. * * Copyright (c) 1999 <NAME> <<EMAIL>> * * $Id: urlsnarf.c,v 1.35 2001/03/15 09:26:13 dugsong Exp $ */ #include "config.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include...
/* * 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...
/* * CAST-128 in C * Written by <NAME> <<EMAIL>> * 100% Public Domain - no warranty * Released 1997.10.11 */ #include <stddef.h> #include "cast.h" #include "cast_sboxes.h" /* Macros to access 8-bit bytes out of a 32-bit word */ #define U8a(x) ( (u8) (x>>24) ) #define U8b(x) ( (u8) ((x>>16)&255) ) #define U8c(x) ...
#include "msxgl.h" #include "myproj.h" #include "frames.h" #include "tiles.h" #include "customasm.h" static bool vsync = false; static i8 pal1[32], pal2[32]; static u8 base = 0; static u8 cidx[64], pile[6], prevCount = 0; static u8 lbuf[12 * 12], *line; void vsynchook() { vsync = true; } void waitvsync() { while (!vs...
#include <stdint.h> #include <stdio.h> #include <limits.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #define ROUNDS 44 #define KEY_WORDS 4 #define WORD_SIZE 32 #define ROL(x, r) ((x << r) | (x >> (WORD_SIZE - r))) #define ROR(x, r) ((x >> r) | ((x & 7) << (WORD_SIZE - r))) uin...
/********************************* * Ergasia 1 – Askhsh 2 – 10.01.2022 * <NAME> - 2453 *********************************/ #include <GL/glut.h> #include <stdio.h> #include <string.h> #include <math.h> #define WIDTH 800 #define HEIGHT 600 // comment the line below for switching antialiasing off #define ANTIALIASING...
/* Get frequency of the system processor. sparc64 version. Copyright (C) 2001, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
#include <stdint.h> #include <kernel/string.h> #include <kernel/printf.h> static int fbterm_scroll = 0; static void (*write_char)(int, int, int, uint32_t) = NULL; static int (*get_width)(void) = NULL; static int (*get_height)(void) = NULL; static void (*scroll_terminal)(void) = NULL; static int x = 0; static int y = ...
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 ...
// Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell //...
/* $OpenBSD: dl10019.c,v 1.3 2003/06/25 17:35:36 miod Exp $ */ /* $NetBSD$ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use in source and binary forms, with or withou...
/* * Copyright (C) 2013 <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 the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
/* Golgotha model converter Written in 2021 by <NAME> (Captain4LK) email: captain4lk [at] tutanota [dot] com To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warrant...
/*************************************************************************** begin : Thu Jun 17 2004 copyright : (C) 2004 - 2005 by <NAME> email : <EMAIL> ***************************************************************************/ /********************************...
/* Copyright (c) 2014, <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: * Redistributions of source code must retain the above copyright notice, this lis...
/* * This file is part of RTRlib. * * This file is subject to the terms and conditions of the MIT license. * See the file LICENSE in the top level directory for more details. * * Website: http://rtrlib.realmv6.org/ */ #include <assert.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <stri...
/* devTelevac.c Televac Vacuum Gauge Controller INP or OUT has form @asyn(port address)command parameter port is the asyn serial port name address is the controller address (for futture usage in RS485) command is the pump command parameter is Station ID from 1-9 or relay ID 1-8 for the relay number Command ...
/* File: * Ex3_18_mpi_type_vect.c * * Description: * Read in an array and distribute it using a block cyclic distribution. * The subarray assigned to each process is printed. Then the complete * array is * printed. * * Compile: * mpicc -g -Wall -o ex3.18_mpi_type_vect ex3.18_mpi_type_...
// SPDX-License-Identifier: GPL-2.0-only /* * INT3406 thermal driver for display participant device * * Copyright (C) 2016, Intel Corporation * Authors: <NAME> <<EMAIL>> */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/acpi.h> #include <linux/backlight.h> #include <linux/thermal.h> ...
/* * linux/fs/minix/bitmap.c * * Copyright (C) 1991, 1992 <NAME> */ /* bitmap.c contains the code that handles the inode and block bitmaps */ #include <linux/sched.h> #include <linux/minix_fs.h> #include <linux/stat.h> #include <linux/kernel.h> #include <linux/string.h> #include <asm/bitops.h> #define clear_...
/* * Copyright (c) 2021 Linaro * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <sys/printk.h> #include <step/filter.h> #include <step/measurement/measurement.h> /** * @brief Simplistic ceil function for positive numbers. * * @param n The input floating point value. * * @return uint32_...
/* * IPP fuzzing program for CUPS. * * Copyright © 2007-2021 by Apple Inc. * Copyright © 1997-2005 by Easy Software Products. * * Licensed under Apache License v2.0. See the file "LICENSE" for more * information. */ /* * Include necessary headers... */ #include "file.h" #include "string-private.h" #include...
/** * * @copyright &copy; 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
/* Exercise mpz_bin_ui and mpz_bin_uiui. Copyright 2000, 2001, 2010, 2012 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the F...
/** *************************************************************** * @file csse4011-s4433912/apps/p2/src/main.c * @author <NAME> - 44339124 * @date 25/03/2021 * @brief prac 2 main, AHU driver * REFERENCE: *************************************************************** * EXTERNAL FUNCTIONS **************************...
/* * CGlib * * A Low-Level GPU Graphics and Utilities API * * Copyright (C) 2010 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, includin...
/* * Copyright 2004-2006 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
/////////////////////////////////////////////////////////////// // check are we service /////////////////////////////////////// BOOL CheckService() { char usn[0xFF], cpn[0xFF]; DWORD szusn, szcpn, l; unsigned char *env0, *env; //@S BOOL SERVICEFND; if (/*@S==*/isSystemNT()==0/*@E*/) return FALSE; ...
/***************************************************************************//** * @file hal_efr.c * @brief This file contains EFR32 specific HAL code to handle chip startup. * @copyright Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com ****************************************************************...
/*! \file bcma_bslmgmt.c * * Broadcom System Log Management */ /* * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to * Broadcom Limited and/or its subsidiaries. * * Broadcom Switch Software License * * This license governs the use of the accompanying Broadcom software. Your * use of...
#include <stdio.h> #include <stdarg.h> #include <math.h> #include "float80.h" //#define DENORMAL 1e-310 #define DENORMAL 1.11253692925360069155e-308 union f80 { float80 f; long double ld; }; union f80 gf; static bool bitwise_eq(long double a, long double b) { union f80 ua = (union f80) a; union f80 ...
/* pipemode.c - pipemode handler * Copyright (C) 1998, 1990, 2000, 2001 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG 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 ve...
#include "nvm.h" #include <assert.h> #include <stm/include/stm32l072xx.h> #include <loramac-node/src/mac/LoRaMacTypes.h> #include <loramac-node/src/mac/LoRaMac.h> #include "log.h" #include "part.h" #include "eeprom.h" #include "halt.h" #include "part.h" #include "utils.h" #define NUMBER_OF_PARTS 8 /* The following pa...
/* `* Part of IFJ project 2019/2020 `* Author: <NAME> xnovot1r * * MAKRA */ #include "precanalysis.h" #include "symstack.h" #include "scanner.h" #include "dl_list.h" #include "symtable.h" #include "parser.h" //#include "main.c" tsym_stack syms_Stack; TOKEN exp_start, exp_end; TOKEN help_tmp; TOKEN do...
/*------------------------------------------------------------------------ ADUC847.H Header file for Analog Devices ADuC847 controller. Rev. 3.0 02nd July 2007 Copyright (c) 1999 - 2007 Keil - An ARM Company All rights reserved. ------------------------------------------------------------------------*/ /* BYTE ...