text
stringlengths
7.55k
41.9k
#include <em_device.h> #include <stdlib.h> #include <math.h> #include "debug_macros.h" #include "utils.h" #include "nvic.h" #include "atomic.h" #include "systick.h" #include "rmu.h" #include "emu.h" #include "cmu.h" #include "gpio.h" #include "dbg.h" #include "msc.h" #include "crypto.h" #include "crc.h" #include "trng....
/* * File: main.c * Author: kike * * Created on January 10, 2019, 5:19 PM */ // PIC18LF4520 Configuration Bit Settings // 'C' source line config statements // CONFIG1H #pragma config OSC = HS // Oscillator Selection bits (HS oscillator,if I write HSPLL PLL enabled (Clock Frequency = 4 x FOSC1),INTIO67 i...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ * Author: <NAME> <<EMAIL>> */ #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_plane_helper.h> #include <drm/drm_fourcc.h> #in...
#include <stdio.h> int print_hash_value = 1; static void platform_main_begin(void) { } static unsigned crc32_tab[256]; static unsigned crc32_context = 0xFFFFFFFFUL; static void crc32_gentab (void) { unsigned crc; unsigned poly = 0xEDB88320UL; int i, j; for (i = 0; i < 256; i++) { crc = i; for (j = 8; j > 0; j--...
/* * ESPRESSIF MIT License * * Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to dea...
//////////////////////////////////////////////////////////// // // libwindevblk - Library to read/write partitions // Copyright (C) 2020 <NAME> // // Licensed to the Apache Software Foundation(ASF) under one // or more contributor license agreements.See the NOTICE file // distributed with this work for additiona...
/* $Id$ */ /* Copyright (c) 2011-2018 <NAME> <<EMAIL>> */ /* This file is part of DeforaOS Desktop Browser */ /* 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 ab...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * Newton_StandardAnyP.c * * Code generation for function 'Newton_StandardAnyP' * */ /* Include files */ #inc...
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/pnozz/pnozz_accel.c,v 1.1 2007/03/15 02:11:36 tsi Exp $ */ /* * SBus Weitek P9100 hardware cursor support * * Copyright (C) 2005 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentati...
/* Copyright 2010-2013 SourceGear, 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 applicable law or agreed to in writing, softwar...
/* 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 t0 = 15; static int8_t x151 = -1; volatile int8_t x152 = 54; static int16_t x198 = -6; int8_t x200 = 3...
#include <stdio.h> #include <math.h> #include <complex.h> #include <float.h> #include "tsil.h" TSIL_REAL TSIL_dilog_real (TSIL_REAL); TSIL_REAL TSIL_dilog_series_real (TSIL_REAL); TSIL_REAL TSIL_dilog_largeabs_real (TSIL_REAL); TSIL_REAL TSIL_dilog_neg_real (TSIL_REAL); TSIL_REAL TSIL_dilog_CLZseri...
/* ** 2015 May 08 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *************************...
/* * Copyright 2021 Kontain 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 by applicable law or agreed to ...
/* * ISC License * * Copyright (C) 1986-2018 by * <NAME> * <NAME> * <NAME> * <NAME> * Delft University of Technology * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission no...
/* Copyright (c) 2015, Cisco Systems 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 conditions and the following ...
#include "Particle.h" #include "Block.h" #include "World.h" #include "ExtMath.h" #include "Lighting.h" #include "Entity.h" #include "TexturePack.h" #include "Graphics.h" #include "Funcs.h" #include "Game.h" #include "Event.h" /*#############################################################################...
/* * This file is part of the coreboot project. * * Copyright (C) 2014 Sage Electronic Engineering, LLC. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * ...
/* * AVI muxer * Copyright (c) 2000 <NAME> * * This file is part of FFmpeg. * * FFmpeg 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) a...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not betwe...
/* * File: avrnacl_8bitc/crypto_hashblocks/sha512.c * Author: <NAME>, <NAME> * Version: Wed Aug 6 13:19:40 2014 +0200 * Public Domain */ #include "../armnacl.h" #include "../include/bigint.h" typedef struct{ unsigned char v[8]; } myu64; static void myu64_load_bigendian(myu64 *r, const unsigned char *x) { ...
//***************************************************************************** // // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ // // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // ...
/*- * Copyright (c) 2015 <NAME> <<EMAIL>> * All rights reserved. * * This software was developed by the University of Cambridge Computer * Laboratory as part of the CTSRD Project, with support from the UK Higher * Education Innovation Fund (HEIF). * * @BERI_LICENSE_HEADER_START@ * * Licensed to BERI Open Syst...
/* * pcounter.c - performance counter subsystem * * Implementation of a periodic sampling of performance counters */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdint.h> #include <errno.h> #include <dirent.h> #include <sys/ioctl.h> #include <sys/syscall.h> #include <sys...
/* See LICENSE file for copyright and license details. */ #include <ctype.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <sys/mman.h> #include <time.h> #include <unistd.h> #include <wayland-client.h> #include <wld/wayland.h> #include <wld/wld.h> #include...
/* * ESPRESSIF MIT License * * Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on ESPRESSIF SYSTEMS products only, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to de...
/* * This file is part of the coreboot project. * * Copyright (C) 2010 Advanced Micro Devices, 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; version 2 of the License. * * This ...
#include <inc/mmu.h> #include <inc/x86.h> #include <inc/assert.h> #include <kern/pmap.h> #include <kern/trap.h> #include <kern/console.h> #include <kern/monitor.h> #include <kern/env.h> #include <kern/syscall.h> #include <kern/sched.h> #include <kern/kclock.h> #include <kern/picirq.h> #include <kern/cpu.h> #include <k...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Toshiba PCI Secure Digital Host Controller Interface driver * * Copyright (C) 2014 <NAME> * Copyright (C) 2007 <NAME>, All Rights Reserved. * * Based on asic3_mmc.c, copyright (c) 2005 SDG Systems, LLC and, * sdhci.c, copyright (C) 2005-2006 <NAME> */ #inclu...
/* BSD 2-Clause License * * Copyright (c) 2021, Sakon * 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 * ...
/********************************************************************* * * Authors: <NAME> - <EMAIL> * * Copyright (c) Members of the EGEE Collaboration. 2004-2010. * See http://www.eu-egee.org/partners/ for details on the copyright holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
/* * TINET (TCP/IP Protocol Stack) * * Copyright (C) 2001-2012 by Dep. of Computer Science and Engineering * Tomakomai National College of Technology, JAPAN * * 上記著作権者は,以下の (1)~(4) の条件か,Free Software Foundation * によって公表されている GNU General Public License の Version 2 に記 * 述されている条件を満たす場合に限り,...
// SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE #include <assert.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <string.h> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <time.h> #in...
/* vim: set filetype=c : */ /* vim: set noet tw=80 ts=8 sw=8 cinoptions=+4,(0,t0: */ /* * Copyright 2014-2017, <NAME> * * 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 reta...
/* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 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 ...
/* * Using code from https://github.com/radare/pebble-disthumb */ /* 2015 - tiny Thumb2 disassembler based on winedbg code */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "thumb.h" #define ARM_INSN_SIZE 4 #define THUMB_INSN_SIZE 2 #define THUMB2_INSN_SIZE 4 #define ROR32(n, r) (((n) >> ...
// Author Name: <NAME> // Date: 11/1/2021 // Course: CS 344 - Operating Systems I // Project: 3 (Assignment 3: smallsh (Portfolio Assignment)) // Description: Write my own shell in C. This shell will implement a subset of features of well-known shells, such as bash #include <fcntl.h> #include <stdio.h> #include <stdl...
#include <string.h> #include "xsgs.h" #include "xsgs_test.h" void xsgs_print_group_elements(pbc_param_ptr param, char type) { element_t G1, G2, GT, Z; pairing_t pairing; pairing_init_pbc_param(pairing, param); element_init_Zr(Z, pairing); element_init_G1(G1, pairing); element_init_G2(G2, pa...
#include <stdint.h> #include <stdbool.h> #include <math.h> #include "symbols.h" #include "mpp1.h" #include "driverlib/timer.h" #include "inc/hw_timer.h" //############################################################################# // Defines //#########################################################################...
#include "my_headers.h" #include "my_variables.h" static inline bool get_line(char *line, int line_size); static inline char linux_getch(); static inline void gotoxy(int x, int y); static inline int get_current_line_number(); static inline void clear_line(int current_line_size); static inline void close_and_dup(int cl...
/* The MIT License (MIT) Copyright (c) 2014 UnicornRaceEngineering 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, modif...
/* Simple DirectMedia Layer Copyright (C) 1997-2019 <NAME> <<EMAIL>> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any ...
/* * Copyright (C) 2016 <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distrib...
/* The MIT License (MIT) Copyright (c) 2015 AaronKow 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...
/************************************************************/ /* This code is aimmed to calculate the energies of the ground and excied states of Gross-Pitaevskii equation */ /* Euqation is originated from the BEC many-body problems */ /* Using the standard imaginary time propagation method */ /* The origi...
/* AUTORES: <NAME>, <NAME>, <NAME>. VERSION: 1.0 DESCRIPCIÓN: Con la implimentación del TAD Lista se implemento un programa el cual tiene la función de diccionario. Que realiza las operaciones de cargar un archivo de definciones, agregar una palabra y su definición, buscar una palabra y ver su definición, modif...
#include <stdio.h> #include <stdlib.h> #include <inttypes.h> #define _USE_MATH_DEFINES #include <math.h> #include <Windows.h> #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <GL/gl.h> #include <glm/glm.h> struct Vertex { glm_vec3 position; glm_vec3 normal; glm_vec2 uv; }; struct Extents3D { glm_vec...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it * unde...
/* * MIT License, see root folder for full license. */ #include "cpx.h" #include "uint256.h" #include <string.h> /** if true, show a screen with the transaction version. */ #define SHOW_TX_VERSION false /** if true, show a screen with the transaction type. */ #define SHOW_TX_TYPE true /** if true, show a screen w...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <netinet/in.h> #include <arpa/inet.h> #include "database.h" #include "event.h" #include "handler.h" #include "config.h" #include "utils.h" #include "packet-mac-lte.h" #define DEFAULT_IP "127.0.0.1" #define DEFAULT_PORT 9999 #defi...
/* * Copyright (c) 2014 DeNA Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the &quot;Software&quot;), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, m...
// // BRHederaTransaction.c // Core // // Created by <NAME> on Oct. 16, 2019. // Copyright © 2019 Breadwinner AG. All rights reserved. // // See the LICENSE file at the project root for license information. // See the CONTRIBUTORS file at the project root for a list of contributors. // #include "BRHederaTransacti...
/* ARM EABI compliant unwinding routines. Copyright (C) 2004, 2005 Free Software Foundation, Inc. Contributed by <NAME> This file 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, o...
/* Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc. See LICENSE. */ /* * Parsing routines shared by all IETF QUIC versions. */ #include <assert.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include <sys/queue.h> #include <sys/types.h> #include <openssl/rand.h> #include "lsquic_types.h" #inc...
/* * Copyright 2019 Huawei Technologies Co.,Ltd.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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
/* Lzlib - Compression library for the lzip format Copyright (C) 2009-2022 <NAME>. This library is free software. 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 ...
#include <VLIB/Platform/video_utils.h> #include <VLIB/Platform/video_config.h> #include "video_p264.h" #include <VLIB/video_packetizer.h> #include "p264_codec.h" #include <VLIB/video_quantizer.h> #include <VP_Os/vp_os_malloc.h> #include <VP_Os/vp_os_assert.h> #include <VP_Os/vp_os_types.h> #include <VP_Os/elinux/vp_o...
/*============================================================================== ieee754.c -- floating-point conversion between half, double & single-precision Copyright (c) 2018-2020, <NAME>. All rights reserved. SPDX-License-Identifier: BSD-3-Clause See BSD-3-Clause license in README.md Created on 7/23/18 =...
// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* Google virtual Ethernet (gve) driver * * Copyright (C) 2015-2021 Google, Inc. */ #include <linux/ethtool.h> #include <linux/rtnetlink.h> #include "gve.h" #include "gve_adminq.h" static void gve_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *inf...
/* * Copyright (c) 2014-2019 <NAME> * Copyright (c) 2012-2014 <NAME> <<EMAIL>> * Copyright (c) 2019 <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. Redistri...
/* * Copyright (c) 2012-2013 Etnaviv Project * * 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...
/** * XRSERVER.C * * Procedures used to implement an XML-RPC server in an application. To * do this, we keep a local registry of method names and functions and * rely on a default method to invoke the procedure using a common function * prototype. * * Server methods: * * xr_creat...
/* Copyright (c) 2007-2016 <NAME> <<EMAIL>> Copyright (c) 2007-2016 Center for Bioinformatics, University of Hamburg 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 ...
/* Copyright (C) 1997, <NAME>, e-mail <EMAIL> */ #include <unistd.h> #include "chep_crt.h" #include "runVegas.h" #include "alphas2.h" #include "kininpt.h" #include "interface.h" #include "cut.h" #include "regul.h" #include "edittab.h" #include "rw_sess.h" #include "strfun.h" #include "width_12.h" #include "cs_22.h" #...
#include "ble_interface.h" #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_system.h" #include "esp_log.h" #include "nvs_flash.h" #include "esp_bt.h" #include "esp_gap_ble_api.h" #include "esp_gatts_api.h" #include "esp_bt_main.h" #include...
/* slaqz4.f -- translated by f2c (version 20160102). 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 the c...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, <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 Lic...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
/****************************************************************************/ /* This module is based on fvwm, but has been siginificantly modified */ /* by <NAME> (<EMAIL>) */ /****************************************************************************/ /**************************...
/* * MIT License * * Copyright (c) 2019-2020 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
/* rewritten in C <NAME>, DLR, March 2001 removed nlimit, mlimit,klimit from parameter list, it was already defined in mp_routines.h */ /* subroutine triaxcoef Function extracted from program TRICOEF.COM by <NAME>. Date extracted: October 1993 Extracted by: <NAME> This has been modified to now ...
/* * 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/time.h> #include <cjson/cJSON.h> #include <math.h> #include "simulator.h" #include "node.h" #include "vs.h" #define SENSOR_RANGE 1.0f #define PI 3.1415926535f #define BUFF_SIZE 262 #define EPSILON 0.000001f #define ROTATIONS_...
/*------------------------------------------------------------------------- * * restore.c: restore DB cluster and archived WAL. * * Copyright (c) 2009-2013, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ #include "pg_arman.h" #include ...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
/**********************************************************************/ /* scrdec.c - Decoder for Microsoft Script Encoder */ /* Version 1.8 */ /* */ /* COPYRIGHT: ...
/* Copyright (C) 2014 Parrot SA 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 conditions and the following disclaimer. * R...
/* * OthelloGame.c * Project for Embedded Systems * Created: 4/8/2019 * Author : <NAME>, <NAME> */ #include <avr/io.h> #define F_CPU 1000000UL #define BAUD 9600 //set the baud rate as 9600 bits per second #define MYUBRR 64 //(F_CPU/16/BAUD-1) // #include <util/delay.h> #include <avr/interrupt.h> ...
// Copyright 2014 The Bazel Authors. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
#include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include "grb2.h" #include "wgrib2.h" #include "fnlist.h" /* * ens_processing * * v 1.0 experimental based on time_processing.c * * * 1/2018: Public Domain: <NAME> */ /* * code table 4.3 used by percentile and prob fcsts, * WMO...
/* $OpenBSD: zts.c,v 1.17 2016/06/05 20:15:54 bru Exp $ */ /* * Copyright (c) 2005 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. ...
/* * * Copyright 2010 Rockchip Electronics Co. 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 applica...
/****************************************************************************** * Copyright (c) 2011-2012. * All rights reserved. * *** * ******************************************************************************/ #include <common.h> #include <malloc.h> #include <asm/io.h> #include <spi_flash.h> #include <lin...
/* * Mesa 3-D graphics library * Version: 6.5.3 * * Copyright (C) 1999-2007 <NAME> 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, incl...
/* * 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...
extern void __VERIFIER_error() __attribute__ ((__noreturn__)); extern void __VERIFIER_assume(int); extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); void avoid_zero(int y) { if (!y) { abort(); } } struct Od_SubIndex; struct Od_Index; struct Od_IndexT...
#define TC_TEXTURE_LOAD_IMPLEMENTATION #include "../tc_texture_load.h" #define TC_TEXTURE_CODEC_IMPLEMENTATION #include "../tc_texture_codec.h" #define STB_IMAGE_WRITE_IMPLEMENTATION #include "util/stb_image_write.h" #include <stdlib.h> static const char* InternalFormatStrings[] = { "UNDEFINED", "R32G32B32A...
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> #include <ctype.h> #define N 10 #define NUM_RATES ((int) (sizeof(value) / sizeof(value[0]))) #define INITIAL_BALANCE 100.00 #define NUM_SUITS 4 #define NUM_RANKS 13 #define SIZE ((int) (sizeof(a) / sizeof(a[0]))) #define FIBONACCI_LENGHT...
/* Copyright (c) 2007 <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, distr...
/* * S86 -- A Simple 8086 Tool Chain * EXE Loader * <NAME>, 1993,1995,2013,2014 * In the public domain */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "defs.h" #include "arc.h" #include "sym.h" #include "obj.h" #include "exe.h" /* * Resolve dependencies in memory; * fast, but will not wo...
// setup and release driver structure #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <stdbool.h> #include "driver.h" #include "utils.h" #define DRIVER_INFO "driverInfo" #define PRODUCT_INFOS "productInfos" #define SYSTEM_INFO "systemInfo" char* getJsonDocument() { return s...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2020 ST...
/* * Copyright Cypress Semiconductor Corporation, 2014-2015 All rights reserved. * * This software, associated documentation and materials ("Software") is * owned by Cypress Semiconductor Corporation ("Cypress") and is * protected by and subject to worldwide patent protection (UnitedStates and foreign), United Sta...
// Generate or update tables of Unicode properties or tests in a given file. If // any of the Unicode tables handled by this program are found in the file, // their contents are replaced. For example, if the file has a line containing // "categoryIndex[] = {" then lines between that and one containing just "};" // are ...
/* * HEVC Supplementary Enhancement Information messages * * Copyright (C) 2012 - 2013 <NAME> * Copyright (C) 2012 - 2013 <NAME> * Copyright (C) 2013 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
/* Copyright 2020 <NAME>, <NAME> <EMAIL> <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 applicab...
/* avl.c - routines to implement an avl tree */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2015 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only a...
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
/* aich.c - an implementation of EMule AICH Algorithm. * Description: http://www.amule.org/wiki/index.php/AICH. * * Copyright (c) 2008, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS ...
/* * Copyright (c) 2011 The Chromium OS Authors. * 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 ...