text
stringlengths
5.8k
28.2k
/* * entities.c * * Copyright (c) <NAME> 2003-8 * * Source code released under the GPL */ #include <stdio.h> #include <string.h> #include <ctype.h> #include "entities.h" /* HTML 4.0 entities */ typedef struct entities { char html[20]; unsigned int unicode; } entities; entities html_entities[] = { /* Special...
//--------------------------------------------------------------------------- // Defines for the rc file. //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- // Command IDs //----------------------------------...
// // Created by akatsarakis on 15/03/18. // #define _GNU_SOURCE #include "spacetime.h" #include "inline-util.h" #include "hrd.h" #include "util.h" int spawn_stats_thread(void) { pthread_t *thread_arr = malloc(sizeof(pthread_t)); pthread_attr_t attr; cpu_set_t cpus_stats; pthread_attr_init(&attr); ...
// Copyright 2014 Google Inc. All rights reserved. // Copyright 2017 <NAME>, Shift Devices AG // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include <time.h> #include <arpa/inet.h> #include <std...
/* * 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 hope that it will be use...
// Copyright (c) 2016, Intel Corporation. #ifndef ZJS_LINUX_BUILD #include <zephyr.h> #include <misc/ring_buffer.h> #include "zjs_zephyr_port.h" #else #include "zjs_linux_port.h" #endif #include <string.h> #include "zjs_util.h" #include "zjs_callbacks.h" #include "jerry-api.h" // this could be defined with config o...
/* * 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...
/* $NetBSD: machdep.c,v 1.19 2003/12/30 12:33:16 pk Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. * All rights reserved. * * Written by <NAME> and <NAME> for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2021 Google LLC * Author: <NAME> <<EMAIL>> */ #include <linux/irqchip/arm-gic-v3.h> #include <asm/kvm_asm.h> #include <asm/kvm_mmu.h> #include <hyp/adjust_pc.h> #include <nvhe/fixed_config.h> #include "../../sys_regs.h" /* * Copies of the host's CPU ...
/*- * Copyright (c) 2015 The FreeBSD Foundation * All rights reserved. * * This software was developed by Semihalf under * the sponsorship of the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
/*- * Copyright (c) 2016 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 of source code must retain the above copyr...
// // RKRadarRelay.c // RadarKit // // Created by <NAME> on 4/11/17. // Copyright © 2017-2021 <NAME>. All rights reserved. // #include <RadarKit/RKRadarRelay.h> #pragma mark - Internal Functions static int RKRadarRelayGreet(RKClient *client) { // The shared user resource pointer RKRadarRelay *engine = (RKRadar...
/* * Copyright (c) 2016, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
/* GStreamer * Copyright (C) 1999,2000 <NAME> <<EMAIL>> * 2000,2005 <NAME> <<EMAIL>> * * gstfilesrc.c: * * 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 * v...
/*---------------------------------------------------------------------------* | PDFlib - A library for generating PDF on the fly | +---------------------------------------------------------------------------+ | Copyright (c) 1997-2004 <NAME> and PDFlib GmbH. All rights reserved. | +-------...
//Sound.c //Works on TLV5618 and lm3s811 #include "lm3s811.h" #include "Tone.h" #include "Time.h" #include "LCD.h" #include "songs.h" #include "Potentiometers.h" //SSI 0 is used for Sound Output. //SSI Pins are located on Porta as follows: #define SSITx (0x20) #define SSIRx (0x10) #define SSIClk (0x04) //Chip select ...
/* Appotech ax203 picframe JPEG-ish compression code * For ax203 picture frames with firmware version 3.5.x * * Copyright (c) 2010 <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 S...
/* scolor.c Copyright (c) 2018, <NAME> This file is part of the Scolor game for Linux/macOS/Windows subject the BSD 3-Clause License, see LICENSE.txt */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include <SDL2/SDL.h> #ifdef __APPLE__ #include <SDL2_ttf/SDL_ttf.h> #else #include...
#include <rtls/rtls/rtls.h> #include <config/config.h> #include <hal/hal_system.h> #include <rtls_tdma/rtls_tdma.h> #include <rtls/rtls/trilateration.h> #if __GNUC__ >= 9 #pragma GCC diagnostic ignored "-Waddress-of-packed-member" #endif #include <message/mavlink/protocol/mavlink.h> #include <uwb/uwb.h> #include <rt...
#define LOG_TAG "MAIN" #include "ls_ble.h" #include "platform.h" #include "prf_diss.h" #include "log.h" #include "ls_dbg.h" #include "cpu.h" #include "lsuart.h" #include "builtin_timer.h" #include <string.h> #include "co_math.h" #include "io_config.h" #include "SEGGER_RTT.h" #define UART_SVC_ADV_NAME "LS UART Server" ...
/* Generic definitions */ #define PACKAGE it.unimi.dsi.fastutil.doubles #define VALUE_PACKAGE it.unimi.dsi.fastutil.objects /* Assertions (useful to generate conditional code) */ #define KEY_CLASS_Double 1 #define KEYS_PRIMITIVE 1 #define VALUE_CLASS_Object 1 #define VALUES_REFERENCE 1 /* Current type and class (an...
#include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <signal.h> #include <assert.h> #include <sys/time.h> #include <stdarg.h> #include <errno.h> #include <openssl/err.h> #include "inc.h" #include "tcpcrypt_ctl.h" #include "divert.h" #inclu...
#include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <errno.h> #include <limits.h> #include "nameserver-core.h" #include "nameserver.h" #include "../common/log.h" #include "../common/linkedlist.h" #include "graph.h" #define OPT_STRING "r" #define min(a,b) ((a < b) ? (a) : (b)) #defi...
/* Copyright 2014-2018 The PySCF Developers. 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 requi...
/* * Promizer_40.c 1997 (c) Asle / ReDoX * * Converts PM40 packed MODs back to PTK MODs * */ #include "prowiz.h" #define ON 0 #define OFF 1 #define SAMPLE_DESC 264 #define ADDRESS_SAMPLE_DATA 512 #define ADDRESS_REF_TABLE 516 #define PATTERN_DATA 520 void Depack_PM40 (FILE * in, FILE * out)...
/** * \copyright * MIT License * * Copyright (c) 2018 Infineon Technologies AG * * 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 *...
/* * Copyright (c) 2018 Qualcomm Technologies, Inc. * Copyright (c) 2004-2006 Atheros Communications Inc. * All Rights Reserved. */ // Copyright (c) 2018 Qualcomm Technologies, Inc. // All rights reserved. // Redistribution and use in source and binary forms, with or without modification, are permitted (subject to t...
/* Copyright 2008 <NAME> and <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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* ----------------------------------------------------------------- * Programmer(s): <NAME> @ SMU * ----------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2022, Lawrence Livermore National Security * and Southern Methodist University. * All rights reserv...
#include <errno.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <linux/i2c-dev.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #define CH7035B /// BEGIN CHRONTEL 7053A // I2C_ADDR const char CH7053A_I2C_ADDR = 0x7...
/* * misc - data and miscellaneous routines */ /* $Id$ */ #include <ctype.h> #include <time.h> #include <stdlib.h> #include <string.h> #include "loc_time.h" #define RULE_LEN 120 #define TZ_LEN 10 /* Make sure that the strings do not end up in ROM. * These strings probably contain the wrong value, and we cannot o...
#include "abb.h" #include "testing.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <time.h> /* ****************************************************************** * PRUEBAS UNITARIAS * *****************************************************************...
/* * Author: <NAME> <<EMAIL>> * * Copyright (c) 2012-2013 Plausible Labs Cooperative, Inc. * All rights reserved. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restrict...
/* * Copyright 2001 - 2007 Intel Corporation. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of condi...
// // Author: <NAME> // // This is free and unencumbered software released into the public domain. // For details see the UNLICENSE file at the root of the source tree. // #include <stdio.h> #include <string.h> #include <stdlib.h> #include "helper.h" #define LINE_LENGTH 1024 static int s_numlines; static char s_lin...
/* Copyright (c) 2014 <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, publish,...
/* * Copyright (c) 2014, Clemson University * 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 co...
#include "file.h" #include "main.h" #include "net.h" #include "util.h" #include <arpa/inet.h> // inet_ntoa(3) #include <errno.h> // errno #include <fcntl.h> // open(2) #include <stdlib.h> // malloc(3) #include <string.h> // strcmp(3), strrchr(3) #include <sys/stat.h> // open(2) #include <time.h> //...
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1999 <NAME> * * beziergon.c - a beziergon shape * Copyright (C) 2000 <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 Found...
/** ***************************************************************************************** * Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved. ***************************************************************************************** * @file main.c * @brief Source file...
// Copyright 2019 <NAME>. All rights reserved. // SPDX-License-Identifier: BSD-2-Clause #include "avif/internal.h" #include "aom/aom_decoder.h" #include "aom/aomdx.h" #include "aom/aom_encoder.h" #include "aom/aomcx.h" #include <string.h> struct avifCodecInternal { avifBool decoderInitialized[AVIF_CODEC_PLANES_...
/* * Redleaf::Store -- RDF persistent storage classes * $Id$ * -- * Authors * * - <NAME> <<EMAIL>> * - <NAME> <<EMAIL>> * * Copyright (c) 2008, 2009 <NAME> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the f...
#include "ta.h" #include "maple.h" #include "report.h" /* Resource: Binlists (2) User: TA, CPU (finalization), ISP State: Unused, binning, finalized, rendering TA CPU ISP Transitions: func event Unused -> binning (wait for & init TA) : ta...
/****************************************************************************** * * Copyright (C) 2011 - 2014 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softw...
/*This program evaluates the differential equations for a photon's geodesic in a FRW perturbed spacetime in SPHERICAL coordinates and restricted to photon RADIAL MOTION only.*/ /*This program solves the particular case for flat FRW perturbed spacetime with metric: $g_{ab} = {[g]}_{ab} + h_{ab}$. Where ${[g]}_{ab}$ cor...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * Copyright (c) 2004-2008 Voltaire Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <string.h> #include <ctype.h> #include "lodepng.h" #include "pngquant/libimagequant.h" #define LONIBBLE(x) ((uint8_t) ((uint8_t) (x) & (uint8_t) 0x0F)) #define HINIBBLE(x) ((uint8_t) ((uint8_t) (x) >> (uint8_t) 4)) #define TYPE_...
/* * 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...
#pragma once // License: MIT http://opensource.org/licenses/MIT // Author: dustpg mailto:<EMAIL> #include <stdint.h> //#define SFC_SMF_DEFINED // 目前使用16.16定点小数, 可以换成6.10~8.8的16bit typedef uint32_t sfc_fixed_t; #define SFC_FIXED(x) (x << 16) // 创建 static inline sfc_fixed_t sfc_fixed_make(uint32_t a, uint32_t b)...
/* * Copyright (c) 2017-2022 Pantacor Ltd. * * 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, ...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <stdint.h> #include <pthread.h> #include <sys/types.h> #include <sys/socket.h> #include <string.h> #include <sys/stat.h> #include <stdint.h> #include <assert.h> #include <arpa/inet.h> #include <inttypes.h> #include <endian.h> #include <unistd.h> #incl...
/* * Implement the callback functions that will allow * SQLite to manage SQL queries towards the registered * virtual tables. * * 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. * Yo...
/* * <tested_file_path>src/concurrency/ocf_cache_line_concurrency.c</tested_file_path> * <tested_function>ocf_req_async_lock_rd</tested_function> * <functions_to_leave> * ocf_cache_line_concurrency_init * ocf_cache_line_concurrency_deinit * ocf_req_async_lock_rd * ocf_req_async_lock_wr * ocf_req_unloc...
/* * The olsr.org Optimized Link-State Routing daemon(olsrd) * Copyright (c) 2004-2009, the olsr.org team - see HISTORY file * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redist...
// 0x0700C6E8 - 0x0700C7C8 static const Vtx bitdw_seg7_vertex_0700C6E8[] = { {{{ -716, 256, 307}, 0, { 1948, 0}, {0x65, 0xff, 0xb2, 0xff}}}, {{{ -716, 256, -306}, 0, { 32, 0}, {0x65, 0xff, 0xb2, 0xff}}}, {{{ -1023, 154, -306}, 0, { 32, 926}, {0x65, 0xff, 0xb2, 0xff}}}, ...
#include "maze.h" // global variable to be used internally in this library struct Graph* graph = NULL; int currentNode=0, prevNode=0; int turns = 0; // total paths left to check in the scanned area int finish = -1; // store the index number of end node bool end = 0; /*...
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
#include "config.h" #include <ctype.h> #include <limits.h> #include <math.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #if defined(_MSC_VER) #include "wingetopt/src/getopt.h" #else #include <unistd.h> #endif #include "parasail.h" #include "pa...
/* This file is part of tgl-library This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This lib...
/* A generic SmartCard firmware allowing for communication based on ISO 7816 Part 3/Part 4 protocol standards, incorporating safe AES-128 with masking and shuffling for decryption purposes. Authors:: <NAME>, <NAME> Licensed to the Apache Software Foundation (ASF) under one ...
#include <stdlib.h> #include <stdio.h> #include "tm_MALLOC.h" #include <float.h> #include <ctype.h> #include "tm_TIMINGS.h" #include "tm_MAPPING.h" #include "map_MPIPP.h" typedef struct { int val; long key; } hash_t; int hash_asc(const void* x1,const void* x2) { hash_t *e1 = NULL,*e2 = NULL; e1 = ((hash_t...
/* * 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...
/* * C++ compiler file xlex.c * Copyright (C) Codemist Ltd., 1988-1992 * Copyright (C) Acorn Computers Ltd., 1988-1990 * Copyright (C) Advanced RISC Machines Ltd., 1990-1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #if...
#ifndef lint static const char RCSid[] = "$Id: bsdf2ttree.c,v 2.16 2013/05/15 17:29:30 greg Exp $"; #endif /* * Load measured BSDF interpolant and write out as XML file with tensor tree. * * <NAME> */ #define _USE_MATH_DEFINES #include <stdio.h> #include <stdlib.h> #include <math.h> #include "platform.h" #include ...
/* wvWare * Copyright (C) <NAME>, <NAME>, and others * * 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 ...
/** @file records.h * @brief Data structures (and macros) that comprise the database index */ /** @brief Holds information relating to a bucket (\a key), including the number of pages allocated, as well as a pointer to * those pages in memory. * * This record has three composed values, which are encoded ...
/* Copyright(C) 2018 Hex Five Security, Inc. - All Rights Reserved */ #include <robot.h> #define SPI_TDI 11 // in #define SPI_TCK 10 // out (master) #define SPI_TDO 9 // out #define SPI_SYN 8 // out - not used #define LED_RED 1 #define LED_GREEN 2 QueueHandle_t robot_queue; typedef enum{ START_REQUEST, ST...
/* * Copyright (c) 2013 <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, including without limitation * the rights to use, copy, modif...
/* * Cortex A57 and A53 EDAC * * Copyright (c) 2015, Advanced Micro Devices * 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. ...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "integration.h" #define SAFETY 0.9 #define PGROW -0.2 #define PSHRNK -0.25 #define ERRCON 1.89e-4 #define MAXSTP 1000000 #define TINY 1.0e-30 // $$$$$$$$$$$$$$$$ RUNGE-KUTTA 4th order constant step $$$$$$$$$$$$$$$ //Given values for the variables y[0.....
//con.c //Local console as terminal emulator //<NAME> <<EMAIL>> 2021 #include "con.h" #include "kspace.h" #include "kassert.h" #include "libcstubs.h" #include "process.h" #include "notify.h" #include "hal_intr.h" #include <errno.h> #include <px.h> //I don't want to actually have a driver model and I don't know how ...
/* * This file is part of the coreboot project. * * Copyright 2015 MediaTek 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 program is distribu...
/* * sm5708-irq.c - Interrupt controller support for sm5708 * * 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 p...
/** * generated using metalibm 1.1 * sha1 git: b'"44931432e12dbbda32ae5520e55557ff367a96bb"'(clean) * * INFO: git status was clean when file was generated. * * command used for generation: * metalibm_functions/ml_cosh.py --language c --accuracy cr --precision \ * float --target x86_avx2 --output \ * ...
/* ========================================================================== */ /* === Include/cholmod_complexity.h ========================================= */ /* ========================================================================== */ /* Define operations on pattern, real, complex, and zomplex objects. * * T...
/* * Copyright (C) SplinterGU (Fenix/BennuGD) (Since 2006) * Copyright (C) 2002-2006 Fenix Team (Fenix) * Copyright (C) 1999-2002 <NAME> (Fenix) * * This file is part of Bennu Game Development * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include "driver/gpio.h" #include "driver/i2c.h" #include "driver/i2s.h" #include "wm8978.h" #include "iot_debug.h" #define I2C_MASTER_SCL_IO 25//19 /*!< gpio number for I2C master clock */ #define I2C_MASTER_SDA_IO 33//18 ...
/* ** Copyright 2007-2018 RTE ** Author: <NAME> ** ** This file is part of Sirius_Solver. ** This program and the accompanying materials are made available under the ** terms of the Eclipse Public License 2.0 which is available at ** http://www.eclipse.org/legal/epl-2.0. ** ** This Source Code may also be made availabl...
// 0x0700D250 - 0x0700D268 static const Lights1 ttm_seg7_lights_0700D250 = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x0700D268 - 0x0700D280 static const Lights1 ttm_seg7_lights_0700D268 = gdSPDefLights1( 0x4c, 0x4c, 0x4c, 0x99, 0x99, 0x99, 0x28, 0x28, 0x28 ); // 0x070...
/* Support for printing Modula 2 values for GDB, the GNU debugger. Copyright (C) 1986, 1988, 1989, 1991, 1992, 1996, 1998, 2000, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under t...
/* * Copyright (C) 2018 dcurl Developers. * Copyright (C) 2016 <NAME>. * Use of this source code is governed by MIT license that can be * found in the LICENSE file. */ #include "pow_sse.h" #include <inttypes.h> #include <pthread.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "cpu-utils.h" ...
/** * @file example.c * @author <NAME> * <EMAIL> * @author <NAME> * <EMAIL> * * @ingroup papi_components * * @brief * This is an example component, it demos the component interface * and implements three example counters. */ #include <stdio.h> #include <string.h> #include <stdlib.h>...
#include "MSPd.h" #include "fftease.h" #if MSP void *pvgrain_class; #endif #if PD static t_class *pvgrain_class; #endif #define OBJECT_NAME "pvgrain~" typedef struct _pvgrain { #if MSP t_pxobject x_obj; #endif #if PD t_object x_obj; float x_f; #endif int R; int N; int N2; int...
/* * MIT License * * Copyright 2018 <NAME> for HAW Hamburg * * 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, cop...
// SPDX-License-Identifier: GPL-2.0 /* * linux/fs/hfs/brec.c * * Copyright (C) 2001 * <NAME> (<EMAIL>) * (C) 2003 <NAME> <<EMAIL>> * * Handle individual btree records */ #include "btree.h" static struct hfs_bnode *hfs_bnode_split(struct hfs_find_data *fd); static int hfs_brec_update_parent(struct hfs_find_da...
// Copyright 2018 <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 at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, ...
#include "instructions.h" void parseTokens(rpn_container* container) { queue_node* node = container->inst_queue; if (node == NULL) return; for (;node->prev != NULL;) node = node->prev; for (;node != NULL;) { if (node->raw[0] == 0) { node = node->next; continue; } // Parse it. if (node...
/** 6 browsers.c -- functions for dealing with browsers * ______ ___ * / ____/___ / | _____________ __________ * / / __/ __ \/ /| |/ ___/ ___/ _ \/ ___/ ___/ * / /_/ / /_/ / ___ / /__/ /__/ __(__ |__ ) * \____/\____/_/ |_\___/\___/\___/____/____/ * * The MIT License (MIT) * Copyright (c) 200...
#ifndef _GNU_SOURCE #define _GNU_SOURCE // for vasprintf #endif #if HAVE_NTP_GETTIME #include <sys/timex.h> #endif #include <arpa/inet.h> #include <sys/socket.h> #include <sys/syslog.h> #include <sys/time.h> #include <sys/types.h> #include <sys/uio.h> #include <sys/un.h> #include <netdb.h> #include <signal.h> #inclu...
/* MIT Copyright Notice Copyright 2003 M.I.T. Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following three paragraphs appear in all copies of this ...
/* Prologue value handling for GDB. Copyright (C) 2003-2015 Free Software Foundation, Inc. This file is part of GDB. 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 o...
#pragma once #define KRM_HOSTNAME_SIZE 128 #define IP_SIZE 4 #include "../kreon_lib/btree/btree.h" #include "../kreon_rdma/rdma.h" #include "../utilities/list.h" #include "uthash.h" #include <pthread.h> #include <semaphore.h> #include <stdint.h> #include <zookeeper/zookeeper.h> #define KRM_MAX_REGIONS 1024 #define KRM_...
#include <libretro.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include <gwlua.h> /*---------------------------------------------------------------------------*/ static bool libretro_supports_persistent_buffer = false; static bool libretro_supports_bitmasks = false; static void dummy_log...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/silicon_creator/lib/sigverify.h" #include "sw/device/lib/base/bitfield.h" #include "sw/device/lib/base/hardened.h" #include "sw/device/lib/base/macr...
#include <csp/interfaces/csp_if_can.h> #include <string.h> #include <stdlib.h> #include <endian.h> #include <csp/csp.h> #include <csp/csp_id.h> #include "csp_if_can_pbuf.h" /** * TESTING: * * Create a virtual CAN network interface with a specific name 'vcan42': * $ sudo ip link add dev vcan42 type vcan * ...
/** * Copyright (c) 2013-2019 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. */ /* **************************************************************************** */ /** * @file parsec_dtd_data_flush.c * */ ...
#include <linux/mm.h> #include <linux/hugetlb.h> #include <linux/mount.h> #include <linux/seq_file.h> #include <linux/highmem.h> #include <linux/ptrace.h> #include <linux/pagemap.h> #include <linux/mempolicy.h> #include <asm/elf.h> #include <asm/uaccess.h> #include <asm/tlbflush.h> #include "internal.h" char *task_me...
/* * XML DRI client-side driver configuration * Copyright (C) 2003 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the righ...
//***************************************************************************** // //! @file startup_gcc.c //! //! @brief Definitions for interrupt handlers, the vector table, and the stack. // //***************************************************************************** //*******************************************...