text
stringlengths
3.12k
18.7k
/* ** wifimgr.h */ /* ** Copyright (c) 2009, <NAME>, Open Advisors Limited ** 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 copyr...
/* * Copyright (C) 2003 <NAME> * * NEVERPUTT 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 distribu...
/***************************************************************************//** * @file * @brief Gecko Bootloader USB host MSD loader example. ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b> *************...
/* * Copyright (c) [2019] Huawei Technologies Co.,Ltd.All rights reserved. * * LiteOS NOVA is licensed under the Mulan PSL v1. * You can use this software according to the terms and conditions of the Mulan PSL v1. * You may obtain a copy of Mulan PSL v1 at: * * http://license.coscl.org.cn/MulanPSL * * THIS SO...
/* * Copyright 2012 Red Hat Inc. * * 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, d...
#include <stdlib.h> #include <string.h> #include "chooter.h" #include "score.h" #include "sound.h" int background_x; Star stars[STARS_MAX]; SDL_Texture *textures[LEN]; static int enemy_spawn_rate, arena_reset_timer; static Thing *player; static void fire_bullet(Arena *A) { Thing *bullet = calloc(1, sizeof(Thing...
/* Copyright (C) 2019-2020 JingWeiZhangHuai <<EMAIL>> Licensed under the Apache License, Version 2.0; 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, software di...
// // Copyright (c) 2019-2022 yanggaofeng // #include <yangrtp/YangRtcpNack.h> #include <yangutil/sys/YangLog.h> #include <yangutil/sys/YangMath.h> #include <yangrtp/YangRtpConstant.h> #include <stdlib.h> #include <memory.h> void yang_create_rtcpNack(YangRtcpCommon *comm, uint32_t pssrc) { if (comm == NULL) return...
#include "graph.h" #include "dict.h" #include "queue.h" #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> Graph createGraph() { Graph graph = malloc(sizeof(*graph)); graph->v_dict = createDict(); return graph; } void destroyGraph(Graph graph) { destroyDict(graph->v_dict); fr...
/************************************************************************* Module: DeskSwitch.c Copyright (C) 1997-2000 by Microsoft Corporation. All rights reserved. *************************************************************************/ #ifdef _WIN32_IE #undef _WIN32_IE #endif #define _WIN32_...
/* * <EMAIL> * 2015-05-13 */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <ctype.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "rrd.h" #include "rrd_error.h" #include "rrd_archive.h" #include "cgo_rrddb.h" #define MAX_BUFSIZ (8 * 1024) static...
#include <stdbool.h> #include <lua.h> #include <lauxlib.h> #include <lualib.h> #include "../pb/pb.h" #include "compat.h" #include "luafile_gen.h" struct pb_state_t { lua_State *state; bool first_key_pushed; }; inline void *pb_state_new_raw() { return luaL_newstate(); } inline void pb_state_free_raw(void ...
/* bitio.h - view a stream file as a sequence of binary values, hiding the bit- and byte-packing format of the file. The format of input and output files may differ. Reading and writing are performed by macroes for speed; the price for this is that the file formats must be selected at compile time. SYNOPSI...
// o2_net.h -- interface for network communication // // <NAME>, 2019 // // This module isolates low-level network communication from higher-level // O2 protocols. The main abstraction here is asynchronous message passing // over UDP and TCP. This abstraction layer handle asynchrony and // assembling messages. // // U...
//Copyright 2015 <>< <NAME> under the ColorChord License. //XXX TODO Figure out why it STILL fails when going around a loop #include "outdrivers.h" #include "notefinder.h" #include <stdio.h> #include <string.h> #include "parameters.h" #include <stdlib.h> #include "color.h" #include <stdlib.h> #include <math.h> stru...
#define R_NO_REMAP #include <R.h> #include <Rinternals.h> #include "wk-v1.h" #include <stdlib.h> #include <memory.h> typedef struct { SEXP result; R_xlen_t result_size; R_xlen_t feat_id; } meta_handler_t; SEXP meta_handler_alloc_result(R_xlen_t size) { const char* names[] = {"geometry_type", "size", ...
/* * This file contains the procedures for the handling of select * * Created for Linux based loosely upon <NAME>'s minix * patches by <NAME>. Heavily edited by Linus. */ #include <linux/fs.h> #include <linux/kernel.h> #include <linux/tty.h> #include <linux/sched.h> #include <asm/segment.h> #include <asm/system....
#include "Arduino.h" int update_mb_slave(unsigned char slave, int *regs, unsigned int regs_size); /* HERE BEGINS THE EXAMPLE CODE */ unsigned long wdog = 0; /* watchdog */ unsigned long tprev = 0; /* previous time*/ /**************************************************************************** * BEG...
/* * * File: progress.c * * Copyright (C) 2009-2013 <NAME> * * This file is part of the gMTP package. * * gMTP is free software; you can redistribute it and/or modify * it under the terms of the BSD License as included within the * file 'COPYING' located in the root directory * */ #include "co...
/* * pi-fax - a G3 FAX Format PlugIn for the Adobe PhotoShop program. * * $Id: pi-fax.c,v 1.43 96/04/14 13:02:43 ian Exp $ * * Copyright (c) 1995 <NAME>, but may be copied under the terms * of the accompanying LEGAL.NOTICE file (not the GNU Public License). * May be redistributed under the GPL if accompanied by ...
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #include <stdio.h> #include <string.h> #include "jse_common.h" #include "be_api.h" #include "be_module.h" #include "module_fs.h" static int convert_fs_mode_to_oflag(const char *mode) { if (strcmp(mode, "w") == 0) return (O_WRONLY | O_CREAT | O_TRUN...
#include <pebble.h> #include "fpath_builder.h" #define MAX_POINTS 256 #define DRAW_LINE false #define BENCHMARK false #define MAX_DEMO_PATHS 4 static const int rot_step = TRIG_MAX_ANGLE / 360; static Window *window; static Layer *layer; static GPath *s_gpath; static FPath *s_fpath; static FContext s_fctx; static uint...
#include "runtime.h" #include "board.h" #include "io.h" extern unsigned int g_currentToothPeriodOverflowCount; extern unsigned int g_currentInterToothPeriodRaw; extern unsigned int g_recalculateTooth; extern unsigned int g_coilDriversToFire; extern unsigned int g_coilDriversToCharge; ext...
/* This code generates the files for reading the initial * (and exact, if available) solutions in parallel, from * the "initial.inp" and "exact.inp" files containing the * initial and exact solutions of the complete domain * * The new files are "initial_par.inp.xxxx" and * "exact_par.inp.xxxx" (where xxxx corr...
#include <stdio.h> #include <assert.h> #include <mpi.h> #include <string.h> #include "object.h" #include "simulate.h" #include "three_algebra.h" #include "ddcMalloc.h" #include "species.h" #include "group.h" #include "units.h" #include "system.h" #include "species.h" #include "state.h" #include "io.h" #include "format...
/* * Copyright 2010 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * Test parts of math.h and floating point ops for compliance against ieee754. */ #include <math.h> #include <stdio.h> #include <errno.h>...
/* * File: dstruck.c * Author: <NAME> * Email: <EMAIL> * Company: LAAS-CNRS / Vertics * Created on June 22, 2009, 6:04 PM * * LICENSE * * MIT License * * Copyright LAAS-CNRS / Vertics * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated do...
#include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> /* Obtain O_* constant definitions */ #include <sys/types.h> #include <sys/wait.h> #include <errno.h> #include <string.h> #include <time.h> #include <assert.h> #include <stdint.h> #define TRUE 1 #define FA...
#include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <tice.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <graphx.h> #include <keypadc.h> #include <debug.h> #include "gfx/colors.h" #include "gfx/gfx_group.h" #include "globals.h" #include "util.h" #include "...
/*++ /* NAME /* mac_expand 3 /* SUMMARY /* attribute expansion /* SYNOPSIS /* #include <mac_expand.h> /* /* int mac_expand(result, pattern, flags, filter, lookup, context) /* VSTRING *result; /* const char *pattern; /* int flags; /* const char *filter; /* const char *lookup(const char *key, int mode, char *context) /* ...
/* * Copyright 2019 Red Hat, Inc. * 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,...
/* * Copyright 2021 Kontain Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/*************************************************************************\ * Copyright (c) 2009 Helmholtz-Zentrum Berlin fuer Materialien und Energie. * Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * ...
#include <phbase/ptrdex.h> #include <phbase/status.h> #include "allocation.h" #include <stdalign.h> #include <assert.h> /* assert */ #include <stdlib.h> /* malloc, free */ #include <string.h> /* memset */ #define PHBASE_ASSERT assert #define PHBASE_MEMCPY memcpy #define PHBASE_MEMSET memset #define MIN_CAPACITY (...
/** ****************************************************************************** * @file BLE_Led.c * @author System Research & Applications Team - Agrate/Catania Lab. * @version 1.2.0 * @date 28-Feb-2022 * @brief Add led info services using vendor specific profiles. ****************************...
/************************************************************************** * * Copyright 2003 <NAME>, Inc., <NAME>, Texas. * 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 i...
// // dma.c // 25-Jan-99 // // ULONG dmaQueryDelta(AUDIOBUFFER *audioBufferPtr); // VOID dmaWaitForChannel(USHORT count, AUDIOBUFFER *audioBufferPtr); // VOID dmaStart(AUDIOBUFFER *audioBufferPtr); // VOID dmaStop(AUDIOBUFFER *audioBufferPtr); // USHORT dmaSetModeType(AUDIOBUFFER *audioBufferPtr, USHORT mode); /...
#include <stdlib.h> #include "kernel.h" #include "list.h" #ifndef NULL #define NULL 0 #endif /***************************************************************************** * Global variables *****************************************************************************/ static uint32_t id = 1; Task *tsk_running = N...
/* * 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...
/** * Marlin 3D Printer Firmware * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 <NAME> / <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
/* locks-table.c : operations on the `locks' table * * ==================================================================== * 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 *...
/* 20081106 <NAME> Public domain. */ #include "parameters.h" #include "cubehash.h" static void transform(hashState *state) { int r; __m128i x0; __m128i x1; __m128i x2; __m128i x3; __m128i x4; __m128i x5; __m128i x6; __m128i x7; __m128i y0; __m128i y1; __m128i y2; __m128i y3; __m128i y4; ...
#include <stdio.h> #include <stdlib.h> #include "video/video.h" #include "video/surface.h" #include "resources/ids.h" #include "resources/scores.h" #include "utils/log.h" #include "game/common_defines.h" #include "game/gui/text_render.h" #include "game/utils/formatting.h" #include "game/utils/settings.h" #include "gam...
// CDC code from https://github.com/Apress/Beg-STM32-Devel-FreeRTOS-libopencm3-GCC/blob/master/rtos/usbcdcdemo/usbcdc.c #include <libopencm3/usb/usbd.h> #include <libopencm3/usb/cdc.h> #include "usb_conf.h" #include "cdc.h" #define CONTROL_CALLBACK_TYPE (USB_REQ_TYPE_CLASS | USB_REQ_TYPE_INTERFACE) #define CONTROL_CA...
#define _DEFAULT_SOURCE #include <arpa/inet.h> #include <bsd/string.h> #include <dirent.h> #include <ctype.h> #include <errno.h> #include <fnmatch.h> #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include...
/* * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * l...
/* * IBM Accurate Mathematical Library * Written by International Business Machines Corp. * Copyright (C) 2001-2016 Free Software Foundation, Inc. * * 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 Soft...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "dmidpi.h" #include "tcp_server.h" #include <assert.h> #include <pthread.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> //...
/* * Copyright (c) 2000, 2001, 2002 <NAME> * Copyright (c) 2007 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Li...
/*------------------------------------------------------------------------- * * nodeDynamicIndexscan.c * Support routines for scanning one or more indexes that are * determined at runtime. * * DynamicIndexScan node scans each index one after the other. For each * index, it creates a regular IndexScan executo...
/** * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include "pico/stdlib.h" #include "hardware/interp.h" void times_table() { puts("9 times table:"); // Initialise lane 0 on interp0 on this core interp_config cfg = interp_default_confi...
/* Using ESP32 MCPWM to control a DRV8833 DC Motor Control IC (And those compatible with its "two PWM pins per motor" control scheme.) Reference: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/mcpwm.html Portions copied from Espressif MCPWM sample code https://github.com/espres...
/* -*- mode: c; c-file-style:"stroustrup"; -*- */ /* * Copyright (c) 2018 Mastercard * * 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 ...
// Created by <NAME> on 28.09.2019 // Copyright 2019 ETH Zurich #include <stdio.h> #include <tgmath.h> static double sq(double x) { return x * x; } #define pi (3.141592653589793) static double k = 2 * pi; static double h = 0.5; static double g = 1; static double a = 0.1; static double ak = 0.6283185307179586; vo...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1995 <NAME> and <NAME>. File: b3v0noi.c **********/ #include "ngspice/ngspice.h" #include "bsim3v0def.h" #include "ngspice/cktdefs.h" #include "ngspice/iferrmsg.h" #include "ngspice/noisedef.h" #include "ngspice/suffix.h...
/* Autor: <NAME> Date Created: April 10th, 2020 Last Modified: April 19th, 2020 Description: Quicksort */ #include "quicksort.h" /* * Compare function * * If 1, argument 1 is considered to meet the comparison requirements * If 0, argument 2 is considered to meet the comparison requirements * */ st...
#include <ctype.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NINT(x) (int)floor((x)+0.5) #define INT_UNDEF -12345 #define FLT_UNDEF -12345.0 #define TRUE 1 #define FALSE 0 int r_iss_phase(char *s, int n, char *phase, int *min, int *sec, char *onset, char *pol, int *res,...
/** * \brief this file contains functions to manipulate the usb device * */ /* * Copyright (c) 2007-2013 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Unive...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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 * ...
/****************************************************************************** * Code generated with sympy 1.5.1 * * * * See http://www.sympy.org/ for more information. * ...
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) // // This file is provided under a dual BSD/GPLv2 license. When using or // redistributing this file, you may do so under either license. // // Copyright(c) 2021 Advanced Micro Devices, Inc. // // Authors: <NAME> <<EMAIL>> /* * Generic interface for ACP audi...
#include "jogo.h" int novojogo(void) { gravacao_st tmp_gravacao[5]; gravacao_st gravacao; int id; clear(); desenha_borda(stdscr); if ( le_nome(gravacao.nome_jogador) ) { return 0; } /* * O id será o maior incermentado por um, se o maior for 999 (limite), * procura o...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <stdbool.h> #include <stdarg.h> #include <errno.h> #include <assert.h> #include <string.h> #include <gc/gc.h> #include "bus.h" #include "instruction.h" #include "rk65c02.h" #include "log.h" #include "debug.h" void rk65c02_exec(rk65c02emu_t *); rk6...
/* * ESPRESSIF MIT License * * Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on ESPRESSIF SYSTEMS ESP32 only, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal ...
/* $Id$ */ /* * Copyright (c) 2016 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
/*!The Treasure Box Library * * 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 ...
/** * MIT License * * Copyright (c) 2020 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
/* * Copyright (C) OpenResty Inc. */ #ifndef DDEBUG #define DDEBUG 0 #endif #include "ddebug.h" #include <nginx.h> #include "ngx_stream_lua_prereadby.h" #include "ngx_stream_lua_util.h" #include "ngx_stream_lua_exception.h" #include "ngx_stream_lua_cache.h" static ngx_int_t ngx_stream_lua_preread_by_chunk(lua_...
/* * 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_pro5_pins[] = { UNIPHIER_PINCTRL_PIN(47, 0), UNIPHIER_PINCTRL_PIN(48, 0), UNIPHIER_PINCTRL_PIN(49, 0)...
/* * $NetBSD: util.c,v 1.4 2000/08/03 00:04:30 fvdl Exp $ * $FreeBSD$ */ /*- * SPDX-License-Identifier: BSD-2-Clause-NetBSD * * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution a...
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/eeprom.h> #include <util/delay.h> #include <stdio.h> #include "uart1.h" #include "rs485.h" #include "timer1.h" #include "dynamixel.h" #include "ctable.h" #include "adc.h" #include "imu.h" #define CONTROLLER_NAME "CM720 controller" #define cbi(REG8,BIT) REG8...
/** @file * Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved. * SPDX-License-Identifier : Apache-2.0 * * 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 * * ...
/* *************************************************************************** * * Copyright 2019 Samsung Electronics 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 a...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distr...
/* * syst.c - example of a simple system wide monitoring program * * Copyright (c) 2002-2004 Hewlett-Packard Development Company, L.P. * Contributed by <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
#ident "@(#) $Id: timer.c,v 1.1 2012/12/06 16:36:26 jdavid Exp $" /* Copyright (c) 2010, <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...
/* $Id: md4.c 216 2010-06-08 09:46:57Z tp $ */ /* * MD4 implementation. * * ==========================(LICENSE BEGIN)============================ * * Copyright (c) 2007-2010 Projet RNRT SAPHIR * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated do...
#include "modules/api.h" #include "connector.h" #include "core/core.h" #include "../i-raw/adobe_coeff.h" #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <sys/mman.h> #include <sys/ioctl.h> #inc...
// 20160809 박유화 // 코드 environment, requirement // This assignment is built on an open source specified below. // aes.c, aes.h, main.c, makefile are included in the submission /* * * Chinese Academy of Sciences * State Key Laboratory of Information Security * Institute of Information Engineering * * Copyright (C)...
/* * Copyright © 2013-2017 <NAME> * * This file is part of FreshPlayerPlugin. * * 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 r...
/** * External interrupts example * * @author <NAME> * @email <EMAIL> * @website http://stm32f4-discovery.com * @ide Keil uVision 5 */ #include "stm32f4xx.h" #include "stm32f4xx_exti.h" #include "stm32f4xx_usart.h" #include "stm32f4xx_syscfg.h" #include "misc.h" #include <stdlib.h> #include <s...
/* Notes: * - Use with a terminal program * * - F_CPU must be defined to match the clock frequency * * - Compile with the options to enable floating point * numbers in printf(): * -Wl,-u,vfprintf -lprintf_flt -lm * * - Pin assignment: * ...
/* initialize a window, intro screen, * and main engine loop * by <NAME> * December 21 2010 */ #include <core/engine.h> void vektor_quit(void* ev); void vektor_init(const char* title); void vektor_run(); void vektor_intro(); void get_gl_version(int* major, int* minor); void get_glsl_version(int* major, int* mino...
/* ------------------------------------------ * Copyright (c) 2017, Synopsys, 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) Redistributions of source code must retain the above copyr...
// atapci.c #include <kernel.h> // #todo: // Checar se temos uma lista dessa no suporte a PCI. const char *pci_classes[] = { "Unknown [old]", "Mass storage", "Network", "Display", "Multimedia device", "Memory", "Bridge device", "Simple Communication", "Base System Peripheral", ...
/* R L E - F B . C * BRL-CAD * * Copyright (c) 2004-2016 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
/* txBedToGraph - Cluster together beds from txPslToBed. Make transcript graphs out of clusters. * The overall flow of the algorithm is: * Read in input, and separate it groups by strand and chromosome. * For each chromosome strand: * Cluster input that overlaps at the exon level. * Turn each clus...
/******************** (C) COPYRIGHT 2013 ************************************** * File Name : commands.c * Author : deh * Date First Issued : 09/19/2013 * Board : PC * Description : Routines related to keyboard commands *****************************************************************...
/* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #include <unistd.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/time.h> #include <time.h> #include <stdlib.h> #inclu...
/* -*- c-indent-level: 2; c-continued-statement-offset: 2 -*- */ /* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2013. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the Licens...
/* * version_sorter.c * version_sorter * * Created by <NAME> on 10/10/09. * Copyright 2009. All rights reserved. * */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <assert.h> #include <ruby.h> #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? ...
/* * slidergesture.c * * Created on: 3 Sep 2016 * Author: ntuckett */ #include "slidergesture.h" #include <stdlib.h> #include "capslider.h" #include "flash.h" #include "debugutils.h" #ifdef _DEBUG static char s_history[16]; static int s_historyIndex = 0; #define MAX_DEBUG_TT_LEN 15 #define DEBUG_TT_BEGIN ...
/* ------------------------------------------------------------------------------- This version of bin2var has been adapted to work with the Z88DK's appmake tool. It has been fixed to be endian-independent by <NAME> / <NAME> ------------------------------------------------------------------------------- Bin2Var by <NA...
/* tmpl.c * * Copyright (C) 2018 * <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 copyright * notice, this list of conditions and...
/* * modified for EXT2FS support in Lites 1.1 * * Aug 1995, <NAME> (<EMAIL>) * University of Utah, Department of Computer Science */ /* * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without...
/* * Copyright (c) 2008-2012 the MansOS team. 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 con...
/* * Copyright 2013 Red Hat Inc. * * 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, d...
//******************************************************************* //Author: <NAME> //Description: MRRv6's CLK Testing //******************************************************************* #include "PRCv17.h" #include "PRCv17_RF.h" #include "MRRv6_RF.h" #include "mbus.h" #define PRC_ADDR 0x1 #define MRR_ADDR ...
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2015-2021 Micron Technology, Inc. All rights reserved. */ #include <hse_util/platform.h> #include <hse_ikvdb/c0sk_perfc.h> /* clang-format off */ /* * The NE() macro string-izes the enum. * perfc_ctrseti_alloc() parses this string to get the type(!)....
/* config.c - sock backend configuration file routine */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 2007-2015 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...