text
stringlengths
7.55k
41.9k
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/time.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "freertos/queue.h" #include "driver/gpio.h" #include "nvs_flash.h" #include "esp_netif.h" #include "esp_wifi.h" #include "esp_log.h" #inc...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <ncurses.h> #include "../../ADT/Main_Menu/mainmenu.h" #include "../../ADT/Basestats/basestats.h" #include "../../ADT/Array/array.h" #include "../../ADT/Assignment/assignment.h" #include "../../ADT/Boolean/boolean.h" #include "../../ADT/Binary_Tree/bint...
/* r1mach.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
/* ======================================================================== * Copyright (c) 2012 The University of Washington * * 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 * * ht...
/* RCSwitch - Arduino libary for remote control outlet switches Copyright (c) 2011 <NAME>. All right reserved. Contributors: - <NAME> / info(at)tomate-online(dot)de - <NAME> / gordeev(at)openpyro(dot)com - Skineffect / http://forum.ardumote.com/viewtopic.php?f=2&t=46 - <NAME> / dom_fischer(at)web(dot)de - <NA...
/* * Copyright 2020 u-blox * * 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 to in writi...
#include <stdio.h> #include <stdlib.h> #include <vicNl.h> #include <math.h> static char vcid[] = "$Id$"; int full_energy(int gridcell, int rec, atmos_data_struct *atmos, all_vars_struct *all_vars, dmy_struct ...
/* gen.c - expression code generator ncc, the new c compiler Copyright (c) 2021 <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 mus...
/******************************************************************************* * Network Module - Network file * * This module provide network services for the controller. * * @author <NAME> <<EMAIL>> * * @copyright (c) 2014 HES-SO/EIA-FR/TIC/T2a Groupe E * * @version 1.0.0 * @date 2014-06-01 *************...
// Copyright 2019 <NAME>. All rights reserved. // SPDX-License-Identifier: BSD-2-Clause #include "avif/avif.h" #include "avifjpeg.h" #include "avifpng.h" #include "avifutil.h" #include "y4m.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define NEXTARG() ...
/* c64.c SID is emulated, but there's no sound output. No tape or disc emulation. The original is part of the YAKC emulator: https://github.com/floooh/yakc */ #include "sokol_app.h" #include "sokol_time.h" #define CHIPS_IMPL #include "chips/m6502.h" #include "chips/m6526.h" #include "chips/m6569.h" #include...
/* C-midialsa.c - ALSA sequencer bindings for Lua This Lua5 module is Copyright (c) 2011, <NAME> www.pjb.com.au This module is free software; you can redistribute it and/or modify it under the same terms as Lua5 itself. */ #include <lua.h> #include <lauxlib.h> #include <alsa/asoun...
#include <stdio.h> #include <stdlib.h> #include <BoxPartitionIB.h> /*--------------------------------------------------------------------*/ /* Recursively split a box into into (up-ip) sub-boxes */ typedef const int RangeInput[2] ; typedef int RangeOutput[2] ; typedef RangeInput * const BoxInput ; typedef R...
#include <arpa/inet.h> #include <string.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <fcntl.h> #include <time.h> #include <arpa/inet.h> #include "utils.h" #include "tlv.h" #include "mdazibao.h" #include "logging.h" /** @file *...
#include <stdint.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> static inline size_t max(size_t const a, size_t const b) { return a < b ? b : a; } static inline size_t min(size_t const a, size_t const b) { return a < b ? a : b; } size_t const popcount_table...
#include "project-info.h" // Includo l'header #include "common.h" #define COMMANDSCOUNT 4 // Numero di comandi presenti nel programma (aumentare in base alla necessità) /*******************************************/ /* TODO : funzione log */ /* TODO : funzione print */ /*****************************...
/* Esptouch example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <string.h> #in...
#include "debug.h" #include <util.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <netinet/ether.h> #include <host_gecko.h> #define swap(a, b) do{\ typeof(a) tmp = b;\ b = a;\ a = tmp;\ }while(0) uint16_...
#include "mupdf/fitz.h" #include "mupdf/pdf.h" #include <string.h> static fz_image *pdf_load_jpx(fz_context *ctx, pdf_document *doc, pdf_obj *dict, int forcemask); static fz_image * pdf_load_jpx_imp(fz_context *ctx, pdf_document *doc, pdf_obj *rdb, pdf_obj *dict, fz_stream *cstm, int forcemask) { fz_image *image = ...
// SPDX-License-Identifier: GPL-2.0 /* * Amlogic Meson Video Processing Unit driver * * Copyright (c) 2018 BayLibre, SAS. * Author: <NAME> <<EMAIL>> */ #define DEBUG #include "meson_vpu.h" /* HHI Registers */ #define HHI_VDAC_CNTL0 0x2F4 /* 0xbd offset in data sheet */ #define HHI_VDAC_CNTL1 0x2F8 /* 0xbe off...
/* bson.c */ /* Copyright 2009, 2010 10gen Inc. * * 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 b...
/** * Copyright (c) 2021 Mellanox Technologies. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "ompi_config.h" #include "coll_ucc.h" #include "coll_ucc_dtypes.h" #include "ompi/mca/coll/base/coll_tags.h" #include "ompi/mca/pml/pml.h" #define OBJ_RELEASE_IF_NOT_...
/* Extended Module Player * Copyright (C) 1996-2010 <NAME> and <NAME> * * This file is part of the Extended Module Player and is distributed * under the terms of the GNU General Public License. See doc/COPYING * for more information. */ /* * Tue, 30 Jun 1998 20:23:11 +0200 * Reported by John v/d Kamp...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/// @ref simd /// @file glm/simd/platform.h #pragma once /////////////////////////////////////////////////////////////////////////////////// // Platform #define GLM_PLATFORM_UNKNOWN 0x00000000 #define GLM_PLATFORM_WINDOWS 0x00010000 #define GLM_PLATFORM_LINUX 0x00020000 #define GLM_PLATFORM_APPLE 0x...
// SPDX-License-Identifier: MIT /* * Copyright © 2020 Intel Corporation */ #include <linux/kernel.h> #include <drm/drm_print.h> #include "i915_drv.h" #include "i915_reg.h" #include "i915_trace.h" #include "i915_utils.h" #include "intel_pm.h" #include "vlv_suspend.h" struct vlv_s0ix_state { /* GAM */ u32 wr_wate...
/* Copyright 2013-14. Los Alamos National Security, LLC. This material was produced * under U.S. Government contract DE-AC52-06NA25396 for Los Alamos National * Laboratory (LANL), which is operated by Los Alamos National Security, LLC * for the U.S. Department of Energy. The U.S. Government has rights to use, * r...
/* $NetBSD: termcap_map.c,v 1.3 2010/09/22 06:10:51 roy Exp $ */ /* * Copyright (c) 2009 The NetBSD Foundation, Inc. * * 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, are permitted provi...
#include "util/u_math.h" #include "nvc0_context.h" static void nvc0_validate_zcull(struct nvc0_context *nvc0) { struct nouveau_channel *chan = nvc0->screen->base.channel; struct pipe_framebuffer_state *fb = &nvc0->framebuffer; struct nvc0_surface *sf = nvc0_surface(fb->zsbuf); struct nvc0_miptree *mt...
/* 3c501.c: A 3Com 3c501 ethernet driver for linux. */ /* Written 1992,1993,1994 <NAME> Copyright 1993 United States Government as represented by the Director, National Security Agency. This software may be used and distributed according to the terms of the GNU Public License, incorporated herein...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 <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.1 of the License, or (at your option) ...
#include "../../shared.h" #include "hale.h" #include <float.h> #include <math.h> #include <stdio.h> // Gathers all of the subcell quantities on the mesh void gather_subcell_mass_and_energy( const int ncells, const int nnodes, double* cell_centroids_x, double* cell_centroids_y, double* cell_centroids_z, int...
/* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this ...
#include "ncdap4.h" #ifdef HAVE_GETRLIMIT #include <sys/time.h> #include <sys/resource.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #include "dapdebug.h" #include "dapalign.h" #include "netcdf.h" #include "nc4dispatch.h" #include "ncd4dispatch.h" #ifdef DEBUG #include "dapdump.h" #endif #define DFALTM...
/******************************************** scan.c copyright 2008-2016,2017, <NAME> copyright 2010, <NAME> copyright 1991-1996,2014, <NAME> This is a source file for mawk, an implementation of the AWK programming language. Mawk is distributed without warranty under the terms of the GNU General Public License, versi...
/* * Copyright (c) 2010-2011 <NAME>, Xenion Pty Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and...
/******************************************************************************\ * * $Workfile: stroke.c $ * * DrvStrokePath for the display driver. * * Copyright (c) 1992-1995 Microsoft Corporation * Copyright (c) 1996 Cirrus Logic, Inc. * * $Log: S:/projects/drivers/ntsrc/display/STROKE.C_V $ * * ...
/* <NAME> : V00942356 * process_cal3.c * Starter file provided to students for Assignment #3, SENG 265, * Fall 2021. gcc process_cal3.c -o process_cal3 ./process_cal3 --start=1234/01/12 --end=2134/12/11 --file=ics/one.ics - uses linked lists - dynamic memory allocation - valgrind --leak-check=yes...
/** \file * \brief Motif IupFileDlg pre-defined dialog * * See Copyright Notice in "iup.h" */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <Xm/Xm.h> #include <Xm/MwmUtil.h> #include <Xm/FileSB.h> #include <Xm/Protocols.h> #include <Xm/SelectioB.h> #include <Xm/MessageB.h> #include <Xm/Drawi...
/* * Copyright 2012-16 ARM Limited and Contributors. * 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,...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2021 Red Hat Inc, <NAME> <<EMAIL>> */ #include <getopt.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <unistd.h> #include <errno.h> #include <stdio.h> #include <time.h> #include "utils.h" #include "osnoise.h" struct osnoise_hist_params...
/* * 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...
/* Based on <NAME>'s lsh shell code (https://github.com/brenns10/lsh). */ #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <netdb.h> #include <netinet/in.h> #include <string.h> #include <ncurses.h> #include <dirent.h> #include <re...
#include "jkGUISaveLoad.h" #include "Main/jkEpisode.h" #include "General/stdFileUtil.h" #include "General/Darray.h" #include "General/stdString.h" #include "Dss/sithGamesave.h" #include "Main/Main.h" #include "Main/jkMain.h" #include "Main/jkStrings.h" #include "Gui/jkGUI.h" #include "Gui/jkGUIRend.h" #include "Gui/jk...
/***************************************************************************** * es_format.c : es_format_t helpers. ***************************************************************************** * Copyright (C) 2008 VLC authors and VideoLAN * $Id: 1c9a78e1a4f254eaf1f078d0d8feec7025ae4433 $ * * Author: <NAME> <<EMA...
/*s: networking/ip/ppp/mppc.c */ #include <u.h> #include <libc.h> #include <libsec.h> #include <ip.h> #include <auth.h> #include "ppp.h" /*s: enum [[_anon_ (networking/ip/ppp/mppc.c)]] */ enum { HistorySize= 8*1024, Cminmatch = 3, /* sintest match possible */ Chshift = 4, /* nice compromise between spac...
#include <allegro.h> #include <math.h> #include "config.h" #include "main.h" #include "mix.h" #include "menu/song.h" //For eof_set_percussion_cue() #include "tuning.h" #ifdef USEMEMWATCH #include "memwatch.h" #endif static void set_default_config(void); //Applies the default controller settings, and overw...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
#include "backend-uhid.h" #include <sys/sysctl.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <poll.h> #include <unistd.h> #include <dev/usb/usbhid.h> #include <usbhid.h> #include <libusb20.h> #include <libusb20_desc.h> #include "...
/* * Copyright (c) 2019 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL...
// // Supersingular Isogeny Key Encapsulation Ref. Library // // InfoSec Global Inc., 2017 // <NAME> <<EMAIL>> // #include <montgomery.h> void mont_curve_init(ff_Params* p, mont_curve_int_t* curve) { curve->ffData = p; mont_pt_init(p, &curve->P); mont_pt_init(p, &curve->Q); fp2_Init(p, &curve->a); fp2_Init...
/* bfs-queue-ex.c -- implements Breadth-First Search in a grid graph using lcfqueue.h and a reverse linking construction algorithm to connect the vertex. Shows how to use pointer-to-customType in the queue. */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define NEIGHBOR_MAX 4 // Maximun amount of n...
/**************************************************************************** DDLIB.C - DirectX helpers Copyright (C) 1991-2021 by <NAME>. All Rights Reserved. Branch Always Software. http://www.emulators.com/ This file is part of the Xformer project and subject to the MIT license ter...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include "demo.h" #include "segmentation/segmentation.h" #include "utils/bitmap.h" #include "imgproc/image.h" #include "imgproc/rotation.h" #include "utils/error.h" #include "utils/matrix.h" #include "neuralnet/network.h" #include "neuralnet/l...
/* ************************************************************ % [ADA,absd] = getada3(ADA, A,Ajc1,Aord, udsqr,K) % GETADA3 Compute ADA(i,j) = (D(d^2)*A.t(:,i))' *A.t(:,j), % and exploit sparsity as much as possible. % absd - length m output vector, containing % absd(i) = abs((D...
//BSD 3-Clause License // //Copyright (c) 2018, jadeblaquiere //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 //...
/****************************************************************************** Light programs: * Bogdan's idea regarding flame simulation, depending on throttle - Programs reside at the end of flash space - The maximum number of programs is predetermined as we need to assign memo...
/* * ADIOS is freely available under the terms of the BSD license described * in the COPYING file in the top level directory of this source distribution. * * Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved. */ /* ADIOS bp2h5v2 utility * read all variables and attributes from * all grou...
/************************* (C) COPYRIGHT 2010 ROBOTIS ************************* * File Name : system_init.c * Author : zerom * Version : V0.1 * Date : 2010/08/25 * Description : Functions relating to system initialisation * Comment : This file has be...
/* drbgpre.f -- translated by f2c (version 20100827). */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "../solver/ddaskr_types.h" /* Common Block Declarations */ struct { real_number srur; integer mp, mpd, mpsq, meshx, meshy, mxmp; } drpre1_; #define drpre1_1 drpre1_ struct { integ...
/* slaein.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...
// This file is part of Deark. // Copyright (C) 2021 <NAME> // See the file COPYING for terms of use. // This file is for miscellaneous small archive-format modules. #include <deark-private.h> #include <deark-fmtutil.h> DE_DECLARE_MODULE(de_module_cpshrink); DE_DECLARE_MODULE(de_module_dwc); struct localctx_struct; ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this...
/**************************************************************************** * PROJECT: Squeak 3D accelerator * FILE: sqMacOpenGL.c * CONTENT: MacOS specific bindings for OpenGL * * AUTHOR: <NAME> (ar) * ADDRESS: Walt Disney Imagineering, Glendale, CA * EMAIL: <EMAIL> * RCSID: $Id: sqMacOpenGL.c ...
#include "x86disassembler.h" x86_instr_prefix x86_instruction_prefix(unsigned char * stream, int * len) { x86_instr_prefix prefix; prefix.size_override = 0; prefix.addr_override = 0; prefix.segment_register = NULL; prefix.instr_prefix = NULL; prefix.extended = 0; int prefix_found = 0; do { prefix_found = 0;...
#include <assert.h> #include <ctype.h> #include <limits.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <time.h> #define EXT_SIZE (1024*1024) #define MAX_LINE_LEN 512 #define error_exit(msg) error_exit_fun(msg, __FILE__, __LINE__) /** \file \brief...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** */ /* Includes ----------------------------------------------------------...
/* * scan - progressively reconstruct images using various frequency space scans. * Copyright 2018 0x09.net. */ #include <stdio.h> #include <stdbool.h> #include <math.h> #include <unistd.h> #include <getopt.h> #include <ctype.h> #include <fftw3.h> #include "scan.h" #include "ffapi.h" #include "magickwand.h" #incl...
/* * Copyright (c) 1999 <NAME> <sasha at aftercode.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Th...
/* * @file test_printer_yin.c * @author: <NAME> <<EMAIL>> * @brief unit tests for functions from printer_yin.c * * Copyright (c) 2019-2020 CESNET, z.s.p.o. * * This source code is licensed under BSD 3-Clause License (the "License"). * You may not use this file except in compliance with the License. * You may o...
/* * This file Copyright (C) 2008-2014 Mnemosyne LLC * * It may be used under the GNU GPL versions 2 or 3 * or any future license endorsed by Mnemosyne LLC. * * $Id$ */ /* thanks amc1! */ #include <ctype.h> /* isprint () */ #include <stdlib.h> /* strtol () */ #include <string.h> #include "transmission.h" #inc...
/* * Copyright (c) 2015-2016, Renesas Electronics 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, ...
/*********************************************************************** * * * MEME++ * * Copyright 1994-2015, The Regents of the University of California * * Author: <NAME> ...
/* List a tar archive. Copyright (C) 1988, 1992, 1993 Free Software Foundation This file is part of GNU Tar. GNU Tar 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, or (at your option) any l...
/* _____ ___ ____ ____| | ____| PS2 Open Source Project | ___| |____ --------------------------------------------------------------------------- Copyright (C) 2008 - Neme & jimmikaelkael (www.psx-scene.com) This program is free software; you can redistribute it and...
/* This is the slave specific part of the distributed engine. * See introduction at top of distributed/distributed.c. * The slave maintains a hash table of nodes received from the * master. When receiving stats the hash table gives a pointer to the * tree node to update. When sending stats we remember in the tree ...
#include <linux/kernel.h> #include <linux/types.h> #include <linux/xlog.h> #include <mach/mt_clkmgr.h> #include <mach/mt_gpio.h> #include "ddp_drv.h" #include "ddp_reg.h" #include "ddp_path.h" #include "ddp_tdshp.h" unsigned int sharpGain = 0; static DISPLAY_TDSHP_T g_TDSHP_Index; DISPLAY_TDSHP_T *get_TDSHP_index...
#include "Qappairing.h" #include "QapFp2.h" #include "QapFp4.h" #include "QapFp6.h" #include "QapFp12.h" bn_config_t bn_config; #define PREMEM_SIZE 388 // measured in Fp2s. 2*(3+(bn_config.len6u2-3)*3+2) typedef struct { QapFp2_t t0; QapFp2_t t1; QapFp2_t t2; QapFp2_t t3; QapFp2_t t4; ...
/*------------------------------------------------------------------------- * * monitor.c-- * POSTGRES Terminal Monitor * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $Header: /usr/local/cvsroot/postgres95/src/bin/monitor/monitor.c,v 1.5 1996/07/23 03:03:24 scrappy...
#include <stdint.h> #include <stdlib.h> #include <clock.h> #include <hal.h> struct scsc { uint32_t sirc; uint32_t sosc; }; /* Clock Controller Module (CCM) */ struct ccm_reg { uint32_t ccr; uint32_t csr; uint32_t ccsr; uint32_t cacrr; uint32_t cscmr1; uint32_t cscdr1; uint32_t cscdr2; uint32_t cscdr3; uin...
/*====================================================================== Cardbus device configuration cardbus.c 1.79 2001/01/29 02:21:44 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 L...
/* * sconfig, coreboot device tree compiler * * Copyright (C) 2010 coresystems GmbH * written by <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; version 2 of the Lic...
/* ## Copyright 2017 <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 or agree...
#include <lib9.h> #include <bio.h> #include "bootexec.h" #include "mach.h" #include "elf.h" typedef u32int uint32; typedef int int32; #include "macho.h" /* * All a.out header types. The dummy entry allows canonical * processing of the union as a sequence of longs */ typedef struct { union{ Exec exec; /* in ...
/* $NetBSD: lfs_alloc.c,v 1.130 2015/09/13 07:53:37 dholland Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2002, 2003, 2007 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> <<EMAIL>>. * * Redistribution and use in source ...
/********************************************************************************** Copyright (c) 2021 <NAME> and <NAME>, Carnegie Mellon University 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 Soft...
/* tftp - trivial file transfer client */ #if OS == LINUX #define _DEFAULT_SOURCE #endif #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <poll.h> #include <signal.h> #include <stdarg.h> #include <syslog.h> #include <sys/stat.h> #include <u...
/* * Copyright (c) 2003 <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, dis...
#include "param.h" #include "types.h" #include "defs.h" #include "x86.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "elf.h" #include "fs.h" #include "spinlock.h" #include "sleeplock.h" #include "buf.h" #include "back_store.h" #include "file.h" extern char data[]; // defined by kernel.ld pde_t *...
/****************************************************************************** * Implementation of the SKINNY tweakey schedule to match fixslicing. * * For more details, see the paper at * https://csrc.nist.gov/CSRC/media/Events/lightweight-cryptography-workshop-2020 * /documents/papers/fixslicing-lwc2020.pdf * * @au...
/************************************************************************** * * Copyright 2006 VMware, Inc. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software wit...
/* * Copyright (c) 2015, <NAME> <<EMAIL>> and <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 li...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-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.1 of the License, or (at your option) ...
/**************************************************************** FUNCTION NAME: DESCRIPTION: RETURN VALUE: SPECIAL CONSIDERATIONS: PROGRAM HISTORY: 1.0 - <NAME>. 9/10/98. CEOS Independence. ****************************************************************/ #include "asf.h" #include "asf_meta.h" #include "asf_na...
/* * @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...
/** * @file * * @brief Source for the pluginprocess library * * Executes plugins in a separate process via fork and uses a simple * communication protocol based on the dump plugin via named pipes. * * The communication protocol works as follows, where Child and Parent stand * for the child and the parent proce...
/* * hppa parisc64 specific support for Elf loading and relocation. * Copyright 2000 <NAME> <<EMAIL>>, Linuxcare Inc. * * Based on ia64 specific support which was * Copyright 2000 <NAME> <<EMAIL>> * * This file is part of the Linux modutils. * * This program is free software; you can redistribute it and/or m...
/*============================================================================= socket_unix.c =============================================================================== This is the implementation of TChanSwitch and TChannel (and obsolete TSocket) for a standard Unix (POSIX) s...
/* * Register Layouts of the various newport chips * mostly as found in linux/include/asm/newport.h */ /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/newport/newport_regs.h,v 1.4 2006/01/09 14:59:54 dawes Exp $ */ typedef volatile unsigned long npireg_t; union npfloat { volatile float f; npireg_t i;...