text
stringlengths
3.12k
18.7k
#include "hdfs.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/time.h> #include <inttypes.h> hdfsFile openFile(hdfsFS fs, const char *path, int flags, int bufferSize, short replication, tSize blockSize){ hdfsFile file = hdfsOpenFile(fs, path, flags, 0, 0, ...
/* * Copyright 2010, <NAME> and <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 retain the above copyright * notice, this list of conditions and the fo...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* draw_inclined_floor_ceil2.c :+: :+: :+: ...
/* * UEFI helper functions */ #include <efi.h> #include <efiutil.h> efi_handle self_image_handle; efi_system_table *st; efi_boot_services *bs; efi_runtime_services *rt; void efi_init(efi_handle image_handle, efi_system_table *system_table) { self_image_handle = image_handle; st = system_table; bs = system_table-...
/** ****************************************************************************** * @file BSP/CM7/Src/qspi.c * @author MCD Application Team * @brief This example code shows how to use the QSPI Driver ****************************************************************************** * @attention ...
/* Copyright 2018 eomain this program is licensed under the 2-clause BSD license see COPYING for the full license info THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILI...
/** * The MIT License (MIT) * * Copyright (c) 2016 sheinz (https://github.com/sheinz) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitatio...
#include <fundament/log.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #define fn_black "\033[30m" #define fn_red "\033[31m" #define fn_green "\033[32m" #define fn_yellow "\033[33m" #define fn_blue "\033[34m" #define fn_magenta "\033[35m" #define fn_cyan "\033[36m" ...
/*Daala video codec Copyright (c) 2012 Daala project 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, this list o...
/* 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 (c) 2012, 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in th...
/* * QEMU monitor.c for ARM. * * 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...
#include "biblioteca.h" t_direccion t_direccion_crear_de_string(char *direccion_str) { if (strncmp(direccion_str, "IZQUIERDA", MENSAJE_MAXIMO) == 0) return IZQUIERDA; if (strncmp(direccion_str, "DERECHA", MENSAJE_MAXIMO) == 0) return DERECHA; if (strncmp(direccion_str, "ARRIBA", MENSAJE_MAXIMO) == 0) re...
/* * Copyright (c) 2007, 2008 University of Tsukuba * Copyright (c) 2015 Igel Co., Ltd * 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...
/* * Gophernicus - Copyright (c) 2009-2014 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * no...
/* * Copyright (C) 2015 <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <dm/device.h> #include <dm/pinctrl.h> #include "pinctrl-uniphier.h" static const struct uniphier_pinctrl_pin uniphier_pxs2_pins[] = { UNIPHIER_PINCTRL_PIN(113, 0), UNIPHIER_PINCTRL_PIN(114, 0), UNIPHIER_PINCTRL_PIN(115,...
#include <stdlib.h> #include <stdbool.h> #include <string.h> #include <pthread.h> #include <unistd.h> #include <assert.h> #include <lua.h> #include <lualib.h> #include <lauxlib.h> void die(const char *fmt, ...) { va_list ap; va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); fprintf(stderr, ...
/* * transport.c * * FUNCTION: * Illustrate principle of shearing vs. parallel transport. * * HISTORY: * -- created by <NAME> October 1991 * -- C++ and OO playing around <NAME> June 1993 * -- converted to use GLUT -- December 1995, Linas * */ /* required include files */ #include <stdlib.h> #include <math...
/*- * BSD LICENSE * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * 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 cod...
/* Copyright 2021 Glorious, LLC <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the h...
#include "lp079x01.h" #include "panels.h" static void LCD_power_on(__u32 sel); static void LCD_power_off(__u32 sel); static void LCD_bl_open(__u32 sel); static void LCD_bl_close(__u32 sel); static void LCD_panel_init(__u32 sel); static void LCD_panel_exit(__u32 sel); static void LCD_cfg_panel_info(__panel_extend_par...
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" #include "test_libflame.h...
/** * @brief トークナイザー */ #include <ctype.h> #include <stdio.h> #include <string.h> #include "rw2rvc2.h" /** * @brief トークン用にメモリを割り当てる * @return 新トークンへのポインタ */ static struct token_t *allocate_token(void) { const size_t ALLOCATE_SIZE = 256; static struct token_t *token_array = NULL; static size_t index = 0; /* ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
#include "algo.h" #include <Python.h> static void* create_map(struct game_env* env, PyObject* list) { env->size = PyList_Size(list); env->desk = (unsigned char**)calloc(env->size + 1, sizeof(unsigned char*)); // printf("read player: %u\n", env->player); // printf("read deep: %u\n", env->deep); if (!env->desk) { ...
/* * Copyright (C) 2019 Intel Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #include "ems_gc_internal.h" static gc_handle_t gc_init_internal(gc_heap_t *heap, char *base_addr, gc_size_t heap_max_size) { hmu_tree_node_t *root = NULL, *q = NULL; int ret; ...
/* * Copyright (C) 2011 The Android Open Source Project * Copyright (C) 2012 Wolfson Microelectronics plc * Copyright (C) 2012 The CyanogenMod Project * <NAME> <<EMAIL>> * Guillaume "XpLoDWilD" Lesniak <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * yo...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is ...
/* * 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 ...
/* 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 purpose, includin...
// Unless explicitly stated otherwise all files in this repository are licensed // under the Apache License Version 2.0. // This product includes software developed at Datadog (https://www.datadoghq.com/). // Copyright 2019-present Datadog, Inc. #include "_util.h" #include "cgo_free.h" #include "rtloader_mem.h" #includ...
/* MDH WCET BENCHMARK SUITE. */ /* 2012/09/28, <NAME> <<EMAIL>> * Changes: * - This program redefines the C standard functions log, fabs, sqrt, and sin. Therefore, these function has been renamed with prefix lms_. * - Warning: explicitly assigning a variable of type 'float' to itself * x =x; * removed. * - ...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
/** * @file sha.c * @brief SHA3 module implementation * @author <NAME>(<EMAIL>) * * @date 02.11.2013 * * The MIT License (MIT) * * Copyright (c) 2013 <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 ...
/* * Copyright (c) 2018 <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, copy, modify, merge, pu...
/* FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2011 Semihalf. * 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 ...
#include <GLES2/gl2.h> #include <assert.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <wayland-client.h> #include <wayland-egl.h> #include <wlr/render/egl.h> #include "egl_common.h" #include "wlr-input-inhibitor-unstable-v1-client-protocol.h" #include "xdg-shell-client-protocol.h" static int w...
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/resource.h> #include <sys/time.h> #include "bseq.h" #include "kvec.h" #include "breads.h" #include "config.h" int mm_verbose = 3; double mm_realtime0; char *folder; int idxv; #define MM_VERSION "0.0-18-Aug" // const char inv...
/*! \file main.c \brief TIMER0 6-steps demo \version 2014-12-26, V1.0.0, firmware for GD32F10x \version 2017-06-20, V2.0.0, firmware for GD32F10x \version 2018-07-31, V2.1.0, firmware for GD32F10x \version 2020-09-30, V2.2.0, firmware for GD32F10x */ /* Copyright (c) 2020, GigaDevice ...
//------------------------------------------------------------------------------ // mmtest: create a matrix and test Matrix Market I/O //------------------------------------------------------------------------------ /* LAGraph: graph algorithms based on GraphBLAS Copyright 2019 LAGraph Contributors. (se...
/* * Faraday FTMAC100 Ethernet * * (C) Copyright 2009 Faraday Technology * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at y...
/** ****************************************************************************** * @file BSP/Src/mems.c * @author MCD Application Team * @brief This example code shows how to use MEMS features. ****************************************************************************** * @attention * * <h2>...
/* Mantis PCI bridge driver Copyright (C) <NAME> (<EMAIL>) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This progra...
/* * SysDB - src/utils/os.c * Copyright (C) 2014 Sebastian 'tokkee' Harl <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abo...
/* * File: overflow.c * Author: <NAME> * <EMAIL> */ /* This file performs the following test: overflow dispatch The Eventset contains: + PAPI_TOT_CYC + PAPI_FP_INS (overflow monitor) - Start eventset 1 - Do flops - Stop and measure eventset 1 - Set up overflow on eventset 1 ...
/* chucky.c Copyright 2013 <NAME> <<EMAIL>> see LICENSE for details Usage: chucky This program reads /var/db/pkg/local.sqlite and compares install timestamp with date in $FreeBSD header in the Makefile of the port. If there is no $FreeBSD header then it is assumed to be a beta port. Command line switches: -u s...
#include "student.h" /** * Struttura con i valori dello student corrente */ student me; /** * Struttura con i valori del group, * nel caso lo student fosse il leader */ group my_group; /** * Strutture contenenti le informazioni * delle memorie condivise */ struct _SHARED ST_SHARED; /** * Struttura contenen...
/* vi: set sw=4 ts=4: */ /* * Copyright (C) 2001 <NAME>. * * All rights reserved. * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright noti...
/* $Id: proto_push_read_status.c 24213 2013-05-30 08:46:26Z yamazaki $ */ /* * Copyright (c) 2012, Internet Initiative Japan, Inc. * 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....
// Copyright 2020 NK Labs, LLC // 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...
/* * Copyright 2019 <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, dist...
#include "align.h" #include "err.h" #include "print.h" #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* Alignment metrics structure */ /** * Create and return new *align_metrics_t. */ align_metrics_t *align_metrics_init() { align_metrics_t *am = calloc(1, sizeof(align_metrics_t))...
/* Random kit 1.3 */ /* * Copyright (c) 2003-2005, <NAME> (<EMAIL>) * * The rk_random and rk_seed functions algorithms and the original design of * the Mersenne Twister RNG: * * Copyright (C) 1997 - 2002, <NAME> and <NAME>, * All rights reserved. * * Redistribution and use in source and binary forms, wi...
/* * 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 ...
/******************************************************************************** Written by: <NAME>, NEX Robotics Pvt. Ltd. AVR Studio Version 4.17, Build 666 Date: 13th January 2010 Application example: Robot control over serial port via USB-RS232 converter (located on the ATMEGA260 microcontroller ad...
/* * ***************************************************************************** * * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2018-2021 <NAME> and contributors. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/* * $Id: wctype_iswprint.c,v 1.4 2021-02-04 00:03:27 clib2devs Exp $ */ #ifndef _WCHAR_HEADERS_H #include "wchar_headers.h" #endif /* _WCHAR_HEADERS_H */ #ifndef _WCTYPE_HEADERS_H #include <wctype.h> #endif /* _WCTYPE_HEADERS_H */ #include <ctype.h> #include "utf8print.h" int iswprint(wint_t c) { int unicode =...
#include <stdio.h> #include <math.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #define norw 29 // no. of reserved words 29个保留字 #define txmax 100 // length of identifier table #define nmax 14 // max. no. of digits in numbers #define al 10 // length of identifiers #define amax 2047 // maxim...
/* * taskset.c - taskset * Command-line utility for setting and retrieving a task's CPU affinity * * <NAME> <<EMAIL>> 25 April 2002 * * Linux kernels as of 2.5.8 provide the needed syscalls for * working with a task's cpu affinity. Currently 2.4 does not * support these syscalls, but patches are available at:...
#define _GNU_SOURCE 1 #include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdarg.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stropts.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> #include ...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* sample_sndcardparser.c ** ** Copyright (c) 2021, The Linux Foundation. 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 ...
#include <linux/kernel.h> #include <linux/syscalls.h> #include <linux/slab.h> #include <linux/file.h> #include <linux/mm.h> #include <linux/mm_types.h> #include <linux/mman.h> #include <linux/highmem.h> #include <asm/syscall.h> #include <linux/perf_event.h> #include <linux/replay.h> #include "replay_perf_event_wrapper....
/********************************************* bankers.c <NAME> **********************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> struct systemData { int numProcesses; int numResources; int* allocationMatrix; int* maxMatrix; int* available...
/* Copyright (c) 2013+ <NAME>, Red Hat, Inc. (psimerda at redhat.com) and others * 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 c...
/* * 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...
/* $Id: encdec.c 5253 2016-03-04 08:41:42Z bennylp $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 <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 F...
/** * collectd - src/ethstat.c * Copyright (C) 2011 <NAME> * Copyright (C) 2012 Florian "octo" Forster * * 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 th...
#include "sl.h" #include "sl_loader.h" #if defined(__WIN) || defined(_WIN32_) || defined(_WIN64_) || defined(WIN32) || defined(__WIN32__) || defined(WIN64) || defined(__WIN64__) || defined(WINDOWS) || defined(_WINDOWS) || defined(__WINDOWS) || defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__) || defined(_MSC_V...
/* * msgbox.c -- implements the message box and info box * * AUTHOR: <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at yo...
/*- * Copyright (c) 2001 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/** * To compile: gcc -o echoserver_threaded echoserver_threaded.c workqueue.c -levent -lpthread * gcc -o RobotServer ApolloProtocol.c ApolloSqlOperator.c ApolloRedis.c ApolloUtil.c server.c workqueue.c anolclient_china.c curljson.c ApolloSyner.c -levent -lpthread -lmysqlclient -lzdb -lhiredis -lcurl -I /usr/inclu...
/*LICENSE ******************************************************************** * Microchip Technology Inc. and its subsidiaries. You may use this software * and any derivatives exclusively with Microchip products. * * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER * EXPRESS, IMPL...
/* * Each file must start with this include. * File containes global settings. */ #include "settings.h" /* * Main includes here. */ #include "stm32l0xx.h" #include "tty.h" #include <stdio.h> /* * Other includes here. */ #include "stm32l0xx_ll_bus.h" #include "stm32l0xx_ll_dma.h" #include "stm...
/* **************************************************************** * Test multiplatform utilities. * - mputils.c (1 May 2020) * * Original work Copyright (c) 2020 Zalamanda * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (th...
#include "miniuart.h" #include "libc.h" #include "mbox.h" #include "timer.h" #include "framebuffer.h" #include "bh.h" #include "sys.h" #include "sched.h" #include "signal.h" int getcmd(char *buf, int nbuf); #define SWITCH_CONTINUE(buf, str, func) \ { ...
/*---------------------------------------------------------------------------- * Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd> * 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. R...
/* Copyright 2017 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 writi...
// This board is configured to communicate over USB port, not ST-Link #define MICROPY_BOARD_EARLY_INIT STM32F469DISC_board_early_init void STM32F469DISC_board_early_init(void); // TODO: Software SPI not needed anymore, remove after testing //#define MICROPY_F469DISC_USE_SOFTSPI // Temporary, enables software 1-bit ...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <time.h> #include <sys/types.h> #include <dynamic.h> #include "picohttpparser/picohttpparser.h" #include "http.h" static size_t http_chunk(segment data, segment *chunk) { char *end; size_t n; end = memchr(data.base, '\n', ...
/** Copyright (C) 2004 <NAME>, <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, me...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <math.h> #include"Global_Variable.h" #include"Execution.h" // includes header file Execution.h //xreg will contain the value of the thirty-two registers x0 - x31 long long xreg[32]; // xd stores destination register, x1 an...
/* Copyright (C) Intel Corp. 2006. All Rights Reserved. Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to develop this 3D driver. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the ...
/** * \file grafmode.c * \brief Load a list of possible graphics modes. * * Copyright (c) 2011 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * Foundation, version 2, or * ...
#include <stdlib.h> #include <string.h> #include <glib.h> #include "small_linalg.h" #include "rotations.h" #include "trans.h" #include "math_util.h" void bot_trans_set_identity(BotTrans *btrans) { btrans->rot_quat[0] = 1; btrans->rot_quat[1] = 0; btrans->rot_quat[2] = 0; btrans->rot_quat[3] = 0; b...
/*- * Copyright (c) 2006 Verdens Gang AS * Copyright (c) 2006-2011 Varnish Software AS * All rights reserved. * * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions...
/*Copyright (C) 2020 Telit Communications S.p.A. Italy - All Rights Reserved.*/ /* See LICENSE file in the project root for full license information. */ /** @file M2M_main.c @brief JSON object manipulation @details Sample application showing how to manipulate JSON objects @description ...
/* * Image format * Copyright (c) 2000, 2001, 2002 <NAME> * Copyright (c) 2004 <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 * versi...
#include "fsfat.h" #include "disk.h" #include "stdio.h" #include "string.h" #include "memory.h" #include "ctype.h" #include "paging.h" #include <stddef.h> #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define SECTOR_SIZE 512 #define MAXIMUM_PATH_SIZE 256 #define MAXIMUM_FILE_HAND...
/* dE00.c * * Modified: * 31/10/12 * - from dE76.c */ /* This file is part of VIPS. VIPS 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 of the License, or ...
/* * A Program which reads lines from stdin and checks if they are palindroms * * @author <NAME> (e1526280) */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <string.h> #include <ctype.h> #include <signal.h> /* === Constants === */ #define FLAG_IGNORE_SPACE ('s') #defin...
#include <fti.h> #include <mpi.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <stdbool.h> #include "../../../src/deps/iniparser/iniparser.h" #include "../../../src/deps/iniparser/dictionary.h" bool ICP, RECOVERVAR; int checkpoint( int, int, int*, int ); int recover( int*, in...
#include "monetra_api.h" #include "monetra_conn.h" #include "monetra_trans.h" static M_bool LM_conn_destroy_is_set(LM_conn_t *conn) { M_bool destroy_set; if (conn == NULL) return M_FALSE; M_thread_mutex_lock(conn->lock); destroy_set = conn->destroy; M_thread_mutex_unlock(conn->lock); return destroy_set; } ...
/* * Probe for F81216A LPC to 4 UART * * Based on drivers/tty/serial/8250_pnp.c, by <NAME>, et al * * Copyright (C) 2014 <NAME>, Qtechnology A/S * * * 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 Softw...
/* * c6xdigio.c * Hardware driver for Mechatronic Systems Inc. C6x_DIGIO DSP daughter card. * http://web.archive.org/web/%2A/http://robot0.ge.uiuc.edu/~spong/mecha/ * * COMEDI - Linux Control and Measurement Device Interface * Copyright (C) 1999 <NAME> * * This program is free software; you can redistribute it ...
/** @file ffs_session.c * * This file contains all of the session management functions for the faux filesystem (FFS). */ /* Copyright 2015, Google 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 cop...
/* ** Do shell-style pattern matching for ?, \, [], and * characters. ** It is 8bit clean. ** ** Written by <NAME>, mirror!rs, Wed Nov 26 19:03:17 EST 1986. ** <NAME> is now <<EMAIL>>. ** ** Modified by <NAME> to special-case '/' matching, to make '**' ** work differently than '*', and to fix the character-class ...
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Copyright (C) 2020 - 2021 Intel Corporation */ #include "mvm.h" #include "fw/api/commands.h" #include "fw/api/phy-ctxt.h" /* * DDR needs frequency in units of 16.666MHz, so provide FW with the * frequency values in the adjusted format. */ static const stru...