text
stringlengths
3.12k
18.7k
#include <assert.h> #include <pulse/error.h> #include <pulse/simple.h> #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <unistd.h> #include <math.h> #include "uicdemod.h" #include "telegram.h" #include "signal.h" #define DEFAULT_SAMPLE_RATE 16000 #define DEFAULT_BUFFER_MILLIS 50 #define DEFAULT_T...
/*! \file event_handlers.h * \author <NAME> <<EMAIL>> * \copyright MIT License * \brief Methods for handling events received from Janus */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <jansson.h> #include <pthread.h> #include "data_store.h" #include "callstats.h" #include "../../util...
/* $FreeBSD: soc2013/dpl/head/lib/libkvm/kvm_ia64.c 224917 2011-08-06 15:59:54Z marcel $ */ /* $NetBSD: kvm_alpha.c,v 1.7.2.1 1997/11/02 20:34:26 mellon Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. * All rights reserved. * * Author: <NAME> * * Permission to use, copy, modify and distribute...
// storage.c #include <kernel.h> /* * disk_init: * Initialize the disk manager. */ // #bugbug // #fixme // The boot disk was not include in the diskList[] // Probably the 'ide module' will discover all the ide disks // and rebuild the list. This way all the information made here // was gone. #fixme int d...
/** * @defgroup GPIO * @{ * * @file gpio.c * * @version 1.0 * @author <NAME>, <NAME>, <NAME>. * @date 12 Julio 2018 * * @brief Módulo que proporciona funciones para manejar pines de entrada y salida. * * @paragraph * * Este módulo pertenece a la capa de abstracción de hardware y proporc...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
#include<windows.h> #include<stdio.h> #define i 40 #define j 150 char nome[25]; int veloc, op=10; void irparaxy(int x,int y) { SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),(COORD){x,y}); } void desenha_campo() { int z; for(z=90;z<j;z++) { ...
/* Copyright (c) 2003-2004, <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 list of conditions and the following...
#define GLFW_INCLUDE_VULKAN #include "window.h" #include "application.h" #include "allocator.h" #include "common.h" #include "logger.h" #include "renderer.h" #include <GLFW/glfw3.h> #include <dekoi/common/common.h> #include <dekoi/graphics/renderer.h> #include <assert.h> #include <stddef.h> #include <stdint.h> str...
/* * Copyright (c) 1982, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)inode.h 7.1 (Berkeley) 6/4/86 */ /* * The I node is the focus of all file activity in UNIX. * There is a unique...
/* * Copyright (c) 2016, SICS Swedish ICT AB * 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...
/* $Id$ Copyright 1989-2014 <NAME> This file is part of PIPS. PIPS 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 any later version. PIPS is distributed in...
#include "max30100_for_stm32_hal.h" #include "i2c.h" #define MAX30102_ADDR_WRITE 0xae #define MAX30102_ADDR_READ 0xaf #define RES_INTERRUPT_STATUS_1 0x00 #define RES_INTERRUPT_STATUS_2 0x01 #define RES_INTERRUPT_ENABLE_1 0x02 #define RES_INTERRUPT_ENABLE_2 0x03 #define RES_FIFO_WRITE_POINTER 0x04 #define RES_OVERFLOW...
/* pru1_statemachine_data_slave.c: state machine for execution of slave DATO* or DATI* cycles Copyright (c) 2018-2019, <NAME> <EMAIL>, www.retrocmp.com 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...
#ifdef HAVE_CONFIG_H # include "config.h" #endif #include "opt.h" char** argv_orig; int argc_orig; struct opts* global_opt; struct opts* local_opt=NULL; extern int cmd_list(int argc,char **argv,struct sub_command* cmd); extern int cmd_version(int argc,char **argv,struct sub_command* cmd); extern int cmd_config(int a...
/* Copyright 2015 Google Inc. 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 applicable law or agreed to in wri...
/* * $Id$ * * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2014, Professor <NAME> * Copyright (c) 2010-2011, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
/** * * @generated s Tue Jan 7 11:45:26 2014 * **/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <cblas.h> #include <lapacke.h> #include <plasma.h> #include <core_blas.h> #include "auxiliary.h" /*------------------------------------------------------------------- * Check t...
#include "dropboxServer.h" void synchronize_client(SSL *ssl_sync, Client* client_sync) { // executa primeiro char buffer[BUFFER_SIZE]; // 1 KB buffer DEBUG_PRINT("Iniciando sincronização do cliente.\n"); read_from_socket(ssl_sync, buffer); DEBUG_PRINT("COMMAND: %s\n", buffer); if(strcmp(buffer, S_SYNC) ==...
/* * This file is part of the TREZOR project, https://trezor.io/ * * Copyright (C) 2018 <NAME> <<EMAIL>> * * 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 3 of the L...
/** * Generate the 3D Radial Trajectory * * @param[out] *gxS, gradient scale array in x direction * @param[out] *gyS, gradient scale array in y direction * @param[out] *gzS, gradient scale array in z direction * @param[out] *max_iamp, maximum gradient instruction * @param[in] totalSpoke, total number of spokes ...
#include<time.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> //there are smarter methods to get terminal window size, i hard corded for speed int width = 200; int height = 50; void gotoxy( short x, short y ) { HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE) ; COORD position = { x, y } ; S...
#include <pic18f46k80.h> #include <xc.h> #include "CAN.h" void CAN_Initialise() { //Set TRIS to input, CAN TX will fix itself TRISBbits.TRISB2 = 1; TRISBbits.TRISB3 = 1; /*CAN needs to be in CONFIG mode to edit the following settings. * We do that by editing CANCONbits.REQOP (Bits 7-5...
// COMP1521 19t2 ... virtual memory simulator #include <assert.h> #include <err.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sysexits.h> #define PAGESIZE 4096 #define PAGEBITS 12 #define actionName(A) (((A) == 'R') ? "read from" : "write to") #define TRUE 1 #define FALSE 0 typedef unsigne...
/* * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include "heclib7.h" #include "zdssKeys.h" #include "zdssLocking.h" #include "zdssMessages.h" #include "zdssVals.h" #include "zerrorCodes.h" #include "hecdssInternal.h" // Set file parameters int zsetFile(long long *ifltab, const char* p...
/* duiaid.c - DUID/IAID storage and generation for clientids * * Copyright 2014-2018 <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 m...
/* * Description: This program creates a FTP server * **SOURCE: Much of the code is based from Beej's guide to Socket Programming at https://beej.us/guide/bgnet/html/multi/clientserver.html** */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> ...
#include <string.h> #include "lcd.h" #include "st7789.h" #include "font.h" //#include "common.h" #include "sleep.h" typedef struct { uint8_t mode; uint8_t dir; uint16_t width; uint16_t height; } lcd_ctl_t; static lcd_ctl_t lcd_ctl; void lcd_polling_enable(void) { lcd_ctl.mode = 0; } void lcd_interrupt_enable(v...
/*---------------------------------------------------------------------- | This file contains routines and global variables that are common for | all operating systems the program has been ported to. It is included | in one of the source code files of each port. See common.h for the | common #defines and common routi...
/* $XFree86: xc/programs/Xserver/XTrap/xtrapddmi.c,v 1.4 2005/10/14 15:16:10 tsi Exp $ */ /***************************************************************************** Copyright 1987, 1988, 1989, 1990, 1991 by Digital Equipment Corp., Maynard, MA Permission to use, copy, modify, and distribute this software and its ...
/** * @file osal_stdlib.c * @brief osal_stdlib.c * @author bespoon.com * @date 30/1/2015 */ /** * AT file osal_stdlib.c * AT brief implementation for Pinpointer stdlib functions * AT author pboAT bespoon.com * AT date 01/03/2013 */ /* * Copyright (C) Bespoon 2014-2015. No Part of the source code shall be *...
/* * Copyright (c) 2016, <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...
/* * 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 ...
//////////////////////////////////////////////////////////////////////////////// // // Package: Dynamixel // // File: spintest.c // /*! \file * * $LastChangedDate: 2011-07-15 14:10:46 -0600 (Fri, 15 Jul 2011) $ * $Rev: 1139 $ * * \brief Simple continuous spin test of a servo. * * \author <NAME> (<EMAIL>) ...
/* * Copyright 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, distribute...
/* Lexer for GML */ #include "config.h" #include <ctype.h> #include "gmllexer.h" #include "gml.h" struct lexeme current_lexeme; struct bucket { int kind; struct bucket * next; int op; char string[1]; }; #define HASHTABLE_SIZE 256 static struct bucket * hashtable[HASHTABLE_SIZE] = { NULL, /*all nulls*/}; #...
// // elliptic_license.c // EllipticLicense // // Copyright (c) 2013-2018 <NAME> // Copyright (c) 2009 <NAME>, Coding Robots // // 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 // // ...
// // Created by sl on 18.02.17. // #include <libopencm3/stm32/usart.h> #include <libopencm3/stm32/rcc.h> #include <libopencm3/stm32/gpio.h> #include <libopencm3/stm32/spi.h> #include <libopencm3/stm32/f1/nvic.h> #include <pcd8544.h> #include <mhz19.h> #include <stdio.h> #include <errno.h> static void clock_setup(voi...
/* * Portions Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") * Portions Copyright (C) 1999-2002 Internet Software Consortium. * Portions Copyright (C) 1995-2000 by Network Associates, Inc. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is he...
/* * tclWinLoad.c -- * * This function provides a version of the TclLoadFile that works with * the Windows "LoadLibrary" and "GetProcAddress" API for dynamic * loading. * * Copyright (c) 1995-1997 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution of * this fil...
extern const pin_obj_t pin0_0_obj; #define pin0_0 (&pin0_0_obj) extern const pin_af_obj_t pin0_0_af[]; #define machine_pin_P0_0 pin0_0 extern const pin_obj_t pin0_10_obj; #define pin0_10 (&pin0_10_obj) extern const pin_af_obj_t pin0_10_af[]; #define machine_pin_P0_10 pin0_10 extern const pin_obj_t pin0_1_obj; #define p...
#include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "common.h" #include "utils.h" /* Random number generator incorporated from NR3 */ static uint64_t rand_u, rand_v=4101842887655102017LL, rand_w=1LL; void rand_init(uint64_t j) { rand_v = 4101842887655102017LL;...
#include "print.h" #include <stdio.h> #include <stdlib.h> #include <brrtools/brrlib.h> #define USAGE "Usage: NAeP [[OPTION ...] FILE ...] ..." \ "\nNAeP - NieR:Automated extraction Precept_v"NeVERSION"" \ "\nCompiled on "__DATE__", " __TIME__"\n" #define HELP \ "Most options take affect on all files following and ca...
/** * @file main.c * * @purpose IMU logger to be read by computer through USB port * * @author <NAME> (<EMAIL>) * @modified by <NAME> (<EMAIL>) * @modified by <NAME> (<EMAIL>) * @brief * @version 0.1 * @date 2021-07-19 * * * IMU Datasheet * https://www.bosch-sensortec.com/media/boschsensortec/downloads/da...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <getopt.h> #include "genfile.h" #include "utils.h" #define DEFAULT_FIXED_RATIO 20 #define DEFAULT_CHUNK_SIZE 65536 /* 64 KB */ const struct option long_options[] = { {"file", required_argument, NULL, 'f'}, {"size"...
/******************************************************************************* @File : BMP085.c @Author : 罗涛 @Date : 2019年6月4日 22.53 @Brief : BMP085气压计驱动代码 @Others : none @History: none @Modification: V1.0.0 BMP085 是一款气压传感器,和其他相同的气压传感器器的驱动方式类似 ****************************************************...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> //#define LINHA 768 //#define COLUNA 9 //#define LINHA 150 //#define COLUNA 4 #include <stdbool.h> #include "lista.h" int LINHA=768; int COLUNA=9; float **alocamatriz(){ float **matriz; /* ponteiro para a matriz */ int i; ...
#include <stdio.h> #include <stdlib.h> #include <math.h> #define IX(i,j,k) ((i)+(M+2)*(j) + (M+2)*(N+2)*(k)) #define MAX(a,b) (((a) > (b)) ? (a) : (b)) #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #define SIZE 20 // Best not to raise this very high extern void dens_step ( int M, int N,...
#include <stdio.h> #include <stdlib.h> #include <time.h> #define Lado 3 //Variaveis Globais int vez,vitoria,jogadas,continuar,opcao,x,y; char matriza[3][3]; char tabuleiro[3][3]; //Funções Definidas void init_matriz(); void imprime_matriz(); int jogador_joga(int a, int b); void clear(void); void zeraTabuleiro(int tab...
#include <stdio.h> #include <GL/glut.h> #include "jumping_logic.h" #include "jumping_draw.h" #include "core.h" bool collisionDetection(void); void calcPositionNumerical(float dt); void calcPositionAnalytical(float t); static float startTime = 0; static bool analyticFlag = true; void switchAnalyticFlag(void) { ana...
/*! @file timezoned.c * author: <NAME> <<EMAIL>> * * * The MIT License (MIT) * * Copyright (c) 2016 <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 Sof...
/**************************************************************************//** * @file main.c * @version V3.00 * $Revision: 8 $ * $Date: 18/07/10 10:36a $ * @brief Implement CRC in CRC-32 mode with PDMA transfer. * * @note * SPDX-License-Identifier: Apache-2.0 * Copyright (C) 2018 Nuvoton Technology C...
/* * Copyright (C) 2017 Intel Corporation * * 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...
#include <stdio.h> #include <pthread.h> #include <ctype.h> #include <stdlib.h> #include <unistd.h> #include <time.h> /**********************************************************************/ /* Random-number generator */ /* This is a stripped-down version of random.c as distr...
/* Text processing with line and delimiters for parsing/composing HTTP. Designed for HTTP, for example http request header: "Content-Length: 8937" Another example is handling empty newline codes like "\n\n" or "\r\n\r\n" Only processes on-memory buffer. Steps to use: 1. Break content body and header wi...
/* * Copyright (C) 2007 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...
// 8 december 2014 #include "tablepriv.h" struct drawCellParams { intmax_t row; intmax_t column; LONG x; LONG y; LONG width; // of column LONG height; // struct metrics.rowHeight LRESULT xoff; // result of HDM_GETBITMAPMARGIN struct metrics *m; }; static HRESULT drawTextCell(struct table *t, HDC dc, struct...
/* tda9840.h - i2c-driver for the tda9840 by SGS Thomson Copyright (C) 1998-2003 <NAME> <<EMAIL>> The tda9840 is a stereo/dual sound processor with digital identification. It can be found at address 0x84 on the i2c-bus. For detailed informations download the specifications directly from S...
/***************************************************************************//** * @file main_single_interrupt.c * * @brief Use the IADC to take repeated, non-blocking measurements on a * single input channel. ******************************************************************************* * # License * <b>Copyri...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <string.h> #include <ctype.h> #include <hca/file.h> #include <hca/error.h> #include <sndfile.h> #include <math.h> #include "writer.h" #define VERSION "HCA Decoder 1.21.0" void print_help(FILE *stream, const char **argv) { fpr...
#include <chess.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdbool.h> const char* player_str[] = { "Black", "White" }; const char* sq_str[] = { "a1","b1","c1","d1","e1","f1","g1","h1", "a2","b2","c2","d2","e2","f2","g2","h2", "a3","b3","c3","d3","e3","f3","g3","h3", "a4","...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #ifndef _SC_NPROCESSORS_ONLN #include <sys/sysctl.h> // for BSD #endif /* Return the number of available processors */ int get_nprocessors(void) { int nprocs; #ifdef _SC_NPROCESSORS_ONLN // Linux nprocs = (int)sysconf(_SC_NPROCESSOR...
#include <fcntl.h> #include <getopt.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <wordexp.h> #include "../includes/hash_table.h" #include "../includes/macros.h" #include "../includes/io_utils.h" #include "../includes/patient_record.h" #include "../includes/utils.h" progra...
#include "x86_interrupt.h" #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include "interrupt_def.h" #include "log.h" #include "status.h" #define NUM_X86_INTERRUPT_HANDLERS 64 #define NUM_X86_INTERRUPT_INTERRUPTS 128 t...
/** ****************************************************************************** * @file lib_NDEF_Wifi.c * @author Central LAB * @version $Revision:$ * @date $Date:$ * @ingroup LibNDEF_Wifi * @brief This file helps to manage a NDEF message representing a Wifi Token. **************************...
// Copyright (C) 2015 University of Oregon // You may distribute under the terms of either the GNU General Public // License or the Apache License, as specified in the LICENSE file. // For more information, see the LICENSE file. /* TOCSY1D_ES - DPFGSE-TOCSY experiment with Excitation Sculpting s...
// c:/bsd/rigel/sort/C2psort.c // Date: Fri Jan 31 13:32:12 2014, 2017 Sun Mar 03 16:14:28 2019 // (C) OntoOO/ <NAME> static const int cut2pLimit = 1150; static void cut2pc(); // cut2 is used as a best in class quicksort implementation // with a defense against quadratic behavior due to duplicates // cut2...
/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ #in...
/* * Copyright (C) 2012-2017 <EMAIL> * This software is distributed under the terms of the MIT license. * See the included LICENSE file for further information. */ /* * libtiff bindings */ #include <stdlib.h> #include <stdio.h> #include <memory.h> #include <inttypes.h> #include <sys/types.h> #include <sys/sta...
// BLE advertisement template // // Advertises device name: EE149 #include <stdbool.h> #include <stdint.h> #include <math.h> #include "nrf.h" #include "app_util.h" #include "nrf_twi_mngr.h" #include "nrf_delay.h" #include "nrf_log.h" #include "nrf_log_ctrl.h" #include "nrf_log_default_backends.h" #include "gpio.h" #i...
/* C implementation of repmat. * by <NAME> */ /* mex -c mexutil.c mex repmat.c mexutil.obj to check for warnings: gcc -Wall -I/cygdrive/c/Program\ Files/MATLAB/R2008a/extern/include -c repmat.c */ #include "mexutil.h" #include <string.h> /* ALWAYS_2D == 1 gives the usual matlab behavior where repmat(0,3) is * a 3x3...
/** * FreeRDP: A Remote Desktop Protocol Implementation * NSCodec Codec * * Copyright 2011 Samsung, Author <NAME> * Copyright 2012 <NAME> * * 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...
/* * FreeRTOS Kernel V10.1.0 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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, includ...
#include "format-max.h" #include "format-pcd.h" #include "emb-file.h" #include "emb-logging.h" #include "helpers-binary.h" #include "helpers-misc.h" /* Pfaff MAX embroidery file format */ static double maxDecode(unsigned char a1, unsigned char a2, unsigned char a3) { int res = a1 + (a2 << 8) + (a3 << 16); if(...
/* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above co...
// SPDX-FileCopyrightText: Copyright (c) 2013-2015 <NAME> // SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors) // // SPDX-License-Identifier: MIT // options to control how MicroPython is built #define MICROPY_ALLOC_PATH_MAX (PATH...
/* Copyright (c) 2021 Advanced Micro Devices, Inc.  All rights reserved. */ #include "FLAME.h" /* * LU with partial pivoting for tiny matrices * * All the computations are done inline without using * corresponding BLAS APIs to reduce function overheads. */ integer FLA_LU_piv_small_d_var0( integer *m, integer...
/* * Copyright (C) 2008 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 <stdbool.h> typedef int ElemType; typedef struct BiTNode{ ElemType data; struct BiTNode *lchild, *rchild; }BiTNode, *BiTree; typedef struct QNode{ BiTNode* data; struct QNode* next; }QNode, *pQNode; typedef struct Queue{ pQNode front; ...
/* from: FreeBSD: head/lib/msun/src/s_tanhl.c XXX */ /* @(#)s_tanh.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and dist...
/* Copyright 2013-2014 IBM Corp. * * 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 ...
/****************************************************************************** Copyright (c) 1996 - 2004 -- University of Washington ******************************************************************************/ /***************************************************************\ * perregion.c is used ...
/*- * Copyright (c) 2014 <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 conditions a...
/* GStreamer * * Copyright (C) 2007 <NAME> <<EMAIL>> * Copyright (C) 2007-2009 <NAME> <<EMAIL>> * * 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; either * version 2 of the Licen...
/* * Copyright (c) 2011, <NAME> (http://tdistler.com) * All rights reserved. * * The BSD License * * 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 abo...
#include "common.h" #include "descriptortables.h" #include "isr.h" #include "process.h" #include "log.h" extern void flush_gdt(uint32_t); extern void flush_idt(uint32_t); extern void flush_tss(); static void gdt_initialize(); static void idt_initialize(); static void set_gdt_entry(int32_t num, uint32_t base, uint32_...
/* * Mesa 3-D graphics library * Version: 6.5 * Copyright (C) 1995-2006 <NAME> * * 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; either * version 2 of the License, or (at your ...
/* * Scsi Host Layer for MPT (Message Passing Technology) based controllers * * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2015 <NAME> * (mailto: <EMAIL>) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as pub...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Serial input plugin for Fluent Bit * ================================== * Copyright (C) 2019-2021 The Fluent Bit Authors * Copyright (C) 2015-2016 <NAME> * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apac...
/* * This file is part of MonPoly-Reg. * * Copyright (C) 2014 ETH Zurich. * Contact: ETH Zurich (<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, version 2.1 of...
#include <sys/mman.h> // For mmap(2) #include <sys/stat.h> // For stat(2) #include <unistd.h> // For everything else #include <fcntl.h> // O_RDONLY #include <stdio.h> // printf! #include <string.h> // str*, mem* #include <stdlib.h> // exit.. /** * Imagine: A rudimentary (decry...
/* * Copyright (c) 2018 Phytec Messtechnik GmbH * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <device.h> #include <gpio.h> #include <display/cfb.h> #include <misc/printk.h> #include <flash.h> #include <string.h> #include <bluetooth/bluetooth.h> #...
/* 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...
/* * Copyright © 2011 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, including without limitation * the rights to use, copy, modify, merge, pub...
/* $OpenBSD: mcbus.c,v 1.1 2007/03/16 21:22:27 robert Exp $ */ /* $NetBSD: mcbus.c,v 1.19 2007/03/04 05:59:11 christos Exp $ */ /* * Copyright (c) 1998 by <NAME> * NASA AMES Research Center. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
/* * Copyright (c) 1996 <NAME>. All rights reserved. * Copyright (c) 1994 <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...
#include "GWrapper/GWrapper.h" #include "MWrapper/MWrapper.h" #include <stdio.h> #include <unistd.h> #include <time.h> #include "GL/gl.h" #include "GLFW/glfw3.h" //#define STB_IMAGE_IMPLEMENTATION //#include "ExternLib/Bin/stb-master/stb_image.h" #include "/usr/include/GL/glx.h" #include "/usr/include/GL/glxext.h" #in...
/* * Copyright (C) 2016 TriaGnoSys GmbH * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup cpu_stm32_common * @{ * * @file * @brief Low-level ETH driver implemen...
// // clib-install.c // // Copyright (c) 2012-2014 clib authors // MIT licensed // #include <curl/curl.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "asprintf/asprintf.h" #include "fs/fs.h" #include "tempdir/tempdir.h" #include "commander/commander.h" #include "clib-package/clib-package.h" #i...