text
stringlengths
5.8k
28.2k
/*- * Copyright (c) 2006 IronPort Systems Inc. <<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 above copyright * notice, ...
/* * Copyright (C) 2011-2012 Red Hat, Inc. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU Lesser General Public License v.2.1. * * You should have received a copy of the GNU Lesser General Public Licens...
#include "jkGUIPlayer.h" #include "General/Darray.h" #include "General/stdBitmap.h" #include "General/stdFont.h" #include "General/stdStrTable.h" #include "General/stdFileUtil.h" #include "General/util.h" #include "Engine/rdMaterial.h" // TODO move stdVBuffer #include "stdPlatform.h" #include "jk.h" #include "Gui/jkGU...
/* -*- C -*- */ /* * Copyright (c) 2018-2020 Seagate Technology LLC and/or its Affiliates * * 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...
#include <ctype.h> #include <errno.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <getopt.h> #include <limits.h> #include <selinux/selinux.h> #include <sepol/sepol.h> #include "../src/label_file.h" #include "../src/regex.h" const...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <locale.h> #include <windows.h> //#include <unistd.h> linux int distribuirCartas = 0; typedef struct Carta{ int valor; char naipe; int v; struct Carta *prox; }Carta; typedef struct Pilha{ Carta...
#include "../cbits/hexml.h" #include <stdlib.h> #include <string.h> #include <assert.h> #include <stdio.h> ///////////////////////////////////////////////////////////////////// // TYPES static inline int end(str s) { return s.start + s.length; } static inline str start_length(int32_t start, int32_t leng...
/*! @file trickBounce.c @brief Defines the functions that operate on a TrickBounceModel instance. Sample implementation of an FMU based on a simple 1 dimensional bouncing ball simulation. This demonstrates the formulation of a simple Trick based simulation model as an FMI2 compliant FMU. This file provides the metho...
#include <stdio.h> #include <string.h> #include <getopt.h> #include <signal.h> #include "vortex_os.h" #include "dds_dcps.h" #include "dds_dcps_private.h" #include "genericWriter.h" #define CMDLINE_ARGS "p:u:t:n:i:d:PD" #define DELIM "," #define MAX_LINES 2500 #define errMsg(...) fprintf(stderr, __VA_ARGS__) #define...
/* Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distribution of free software. You c...
#include "transfers.h" #include <string.h> #include <assert.h> // iota-related stuff #include "conversion.h" #include "addresses.h" #include "bundle.h" #include "signing.h" #include "../aux.h" #include <math.h> #include <stdio.h> #include <malloc.h> #define ZERO_HASH ...
#include <stdio.h> #include <stdint.h> #include <stddef.h> #include <string.h> #include "../../wifilight/main/ui.h" #include "esp_wifi.h" #include "esp_system.h" #include "nvs_flash.h" #include "esp_event_loop.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/semphr.h" #include "freertos/...
/* * Copyright 2008-2015 <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 ...
/*------------------------------------------------------------------*/ /* */ /* MC68000 Cross Assembler */ /* */ /* Copyright 1985 by <NAME> */ /* */ /* #define statements - May 23, 1992 */ /* */ /* This program may be copied f...
/* * 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...
/********************************************************************** Each of the companies; Qualcomm, and Lucent (hereinafter referred to individually as "Source" or collectively as "Sources") do hereby state: To the extent to which the Source(s) may legally and freely do so, the Source(s), upon submission of a ...
/* * The MIT License * * Copyright (C) 2010-2016 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * 'Software'), to deal in the Software without restriction, including * without limitation the rights to u...
/************************************************************************** * * Copyright 2003 Tungsten Graphics, 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")...
/*- * Copyright (C) 2008 Semihalf, <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 co...
#include "http_accept.h" void http_accept_step1(struct sock_ev_client *client) { SDEFINE_VAR_ALL(str_uri, str_uri_temp, str_action_name, str_temp, str_args, str_sql); char *str_response = NULL; char *ptr_end_uri = NULL; ssize_t int_len = 0; size_t int_uri_len = 0; size_t int_args_len = 0; size_t int_temp_len = ...
/* vim: set et sw=4 ts=4 sts=4 : */ /********************************************************************\ * 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 * * ...
#define _GNU_SOURCE #include "../headers/receiver.h" #include "../headers/handler.h" #include "../headers/global.h" #define LOG_ERROR(message, id, port, ip_as_str, ...) \ LOG("HANDLER][ERROR", "Error on client #%d [%s]:%u: " message "\n", id, ip_as_str, ntohs(port), __VA_ARGS__) #define LOG_ERRORN(message, id, p...
#include "graphics.h" void draw(){ int row, col; SDL_Rect offset = {0, 0, 0, 0}; //mine numbers offset.x = 45; offset.y = 17; int num = b.mine; //1 SDL_BlitSurface( tileset, &clip[15+(num % 10)], screen, &offset); num /= 10; //10 offset.x -= 13; SDL_BlitSurface( tiles...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* GStreamer libsndfile plugin * Copyright (C) 2007 <NAME> <wingo at pobox dot com> * * 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...
/* $OpenBSD: sbt.c,v 1.17 2010/08/24 14:52:23 blambert Exp $ */ /* * Copyright (c) 2007 <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 co...
/* * Symbol manipulation routines */ #include "common.h" #include "code.h" #include "sym.h" #include "machine.h" #include "y.tab.h" #include "mem.h" #define SAFE 1 /* generates code to do redundant checks */ #define MAX_UNIQUE MAX_NODE_VALUE /* must fit in a short */ typedef struct SymbolList { SymbolEntry *firs...
#include "stdlib.h" #include "stdio.h" #include "string.h" #include "stdint.h" #include "math.h" #include "fcarLib.h" #include "sam.h" #include "bam.h" /*------------------------------*/ /* static const */ /*------------------------------*/ /* hard code hg19 genome length */ static const uint32_t chr...
/* * Copyright (c) 2017, [Ribose Inc](https://www.ribose.com). * * 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 condi...
/// nekowin: OpenGL and Vulkan compatible library for context / surface window generation /// licence: Apache, see LICENCE.md /// file: x11_surface.c - x11 window / surface creation handler source file /// author: <NAME> #define __NWIN_C #define __X11_WINDOW_C #include <nwin.h> /**************************...
/* Copyright (c) 1993-1999 by <NAME> and <NAME>. See file COPYING. */ #include <signal.h> /* for sigaction() (POSIX.1) */ #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/time.h> #include <sys/times.h> #include <errno.h> /* for errno, (POSIX?/ANSI) */ #in...
/* * 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, software *...
#include <util/delay.h> #include <avr/io.h> #include <stdint.h> //this is for the uart code #include <stdio.h> //this library simplifies the return data #include <string.h> //set the baud rate #define F_CPU 16000000UL #define BAUD 9600 #define BRC ((F_CPU/16/BAUD) - 1) //define TX RX buffer sizes #define TX_BUFFER...
/* GStreamer * Copyright (C) <1999> <NAME> <<EMAIL>> * Copyright (C) <2004> <NAME> <thomas at apestaart dot org> * * 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...
#define _XOPEN_SOURCE 500 /* This `define` tells unistd to define usleep and random. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/errno.h> #include <arpa/inet.h> #include "client_thread.h" /* -----...
/** * bicg.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU * * Updated by <NAME> (http://cTuning.org/lab/people/gfursin) * to work with Collective Mind, OpenME plugin interf...
/************************************************* THIS IS A A SIMPLE TCP Server IMPLEMENTATION CREATED BY <NAME>, for University of Patras and Computer Informatics and Engineer Department at the laboratory of 'Network Systems'. This server is running forever (while 1 loop). It has signalHandler implemented to free t...
/* mpn_invertappr and helper functions. Compute I such that floor((B^{2n}-1)/U - 1 <= I + B^n <= floor((B^{2n}-1)/U. Contributed to the GNU project by <NAME>. The algorithm used here was inspired by ApproximateReciprocal from "Modern Computer Arithmetic", by <NAME> and <NAME>. Special thanks to <NAME...
/* benchmark POSIX asynchronous file I/O This program is a quick-and-dirty benchmark of the POSIX AIO subystem that should work on various platforms (Linux, macOS, FreeBSD, Solaris, and so on). It is intended more of a way of testing the AIO subystem itself rather than benchmarking the underlyi...
#define OV_EXCLUDE_STATIC_CALLBACKS #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <windows.h> #include <shlobj.h> #include <direct.h> #include <dwmapi.h> #include "utility.h" #include "settings.h" #include "treeview_extension.h" #include "bnk-extract/api.h" #include "vorbis/vorbisfile.h" stati...
/****************************************************************************** * Copyright © 2014-2018 The SuperNET Developers. * * * * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at *...
/* $Id$ */ /* * Copyright (c) 2019 <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...
/* * SPDX-License-Identifier: BSD-3-Clause * * Copyright 2019-2021, <NAME> <<EMAIL>> */ #include <assert.h> #include <getopt.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sqlite3.h> #include "parse.h" #include "utils.h" #include "usr-grp.h" static const struct optio...
/* Filename: cset.c * ---------------- * Implemenation of the set datatype in C as an ordered array. This implementation is * unusual because it keeps the elements ordered, which is not a requirement of a set. * Keeping the elements ordered allows the internal array to be searched with a binary * search, which is ...
/** * Copyright (c) 2017, 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 con...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "common.h" #include "encoder.h" #include "mem.h" #include "fft.h" #include "psycho_2.h" /* The static variables "r", "phi_sav", "new", "old" and "oldest" have */ /* to be remembered for the unpredictability measure. For "r" and ...
#include <stdint.h> #include <stdio.h> #include "arm_math.h" #include <math.h> #include "arm_nnfunctions.h" #include <mp.h> #include <arm_math.h> #include "imlib.h" #include "array.h" #include "sensor.h" #include "ff_wrapper.h" #include "xalloc.h" #include "fb_alloc.h" #include "framebuffer.h" #include "py_assert.h"...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ #ifndef _CONFIG_H_ #define _CONFIG_H_ /* ONLY EDIT acconfig.h, NEVER config.h or config.h.in! * config.h MAY BE OVERWRITTEN BY make, config.h.in by autoheader! */ /* Define your Target here. Cur...
/* 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 */ // --- Miscellaneous macro definitions ---...
/* * layer_template.c * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright (C) 2018-2020 University of Bologna * * 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.ap...
/* $NetBSD: qduser.h,v 1.3 1999/06/20 17:58:56 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
/*+------------------------------------------------------------------------- dceHA24.c - DCE-specific portion of generic SCO UUCP dialer Driver for generic Hayes-style 2400 baud modem <EMAIL> Necessary DCE switch setting or other configuration: enable onhook upon loss of DTR ------------------------------------...
/* * Copyright (c) 2012-2013 Spotify AB * * 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 wr...
#include "mpi.h" #include "stdio.h" #include "stdlib.h" #include "math.h" #include "constants.h" #include "variables.h" #include "gauss_siedel_mpi.c" #include "fluid_solver_mpi.c" int t; void phi_update(); void phi_initialize(); void neuman_boundary(double *c, int m); void concentration(double *ph...
/* * Copyright (c) 2014 - Qeo LLC * * The source code form of this Qeo Open Source Project component is subject * to the terms of the Clear BSD license. * * You can redistribute it and/or modify it under the terms of the Clear BSD * License (http://directory.fsf.org/wiki/License:ClearBSD). See LICENSE file * fo...
/* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: fft.c,v 1.1 2005/02/26 01:47:34 jrecker Exp $ * * Portions Copyright (c) 1995-2005 RealNetworks, Inc. All Rights Reserved. * * The contents of this file, and the files included with this file, * are subject to the current versio...
/* * $Xorg:xpapputil.c,v 1.1 2002/06/10 02:54:18 gisburn Exp $ * * xpapputil - Application level utility library for Xprint * * Copyright 2002-2004 <NAME> <<EMAIL>> All Rights Reserved. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Softwar...
/**************************************************************************** * apps/graphics/traveler/tools/libwld/wld_loadgif.c * * Copyright (C) 2016 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted...
/*- * Copyright (c) 2004 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* * Copyright (c), NXP Semiconductors Bangalore / India * * (C)NXP Semiconductors * All rights are reserved. Reproduction in whole or in part is * prohibited without the written consent of the copyright owner. * NXP reserves the right to make changes without notice at any time. ...
/*----------------------------------------------------------------------------*/ /* Hobbit status-log viewer CGI. */ /* */ /* This CGI tool shows an HTML version of a status log. ...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> int InicRandom(){ //Definir semente do random long ultime; time(&ultime); srand((unsigned) ultime); } int PrimJogar(){ /* Define o primeiro jogador (aleatório) */ return rand()%2; } void MostrarJogo(char tab[3][3]){ /* Coloca ...
// **************************************************************************** /// \file tcpip.c /// /// \brief TCP/IP stack application level header file /// /// \details Module for the handling of the freertos tcp ip stack. /// /// \author <NAME> /// /// \version 0.3.0.2 /// /// \date 14112021 /...
/* * Copyright (C) 2010-2015 Alibaba Group Holding Limited */ #include <ngx_md5.h> #include <ngx_http_tfs_duplicate.h> #include <ngx_http_tfs_data_server_message.h> #include <ngx_http_tfs_remote_block_cache.h> static void ngx_http_tfs_dedup_get_handler(ngx_http_tair_key_value_t *kv, ngx_int_t rc, void *data)...
/** * * \section COPYRIGHT * * Copyright 2013-2015 Software Radio Systems Limited * * \section LICENSE * * This file is part of the srsLTE library. * * srsLTE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Soft...
#include "game.h" #include "game_shared.h" #include <stdint.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <time.h> #include <assert.h> int SCREEN_PITCH = 0; static unsigned int color_lut[13]; static const char* label_lut[13] = { "", "2", "4", "8", "16", "32", "64...
// Test frontend handling of __sync builtins. // Modified from a gcc testcase. // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s signed char sc; unsigned char uc; signed short ss; unsigned short us; signed int si; unsigned int ui; signed long long sll; unsigned long long ull; void test_...
/* elf.c =============================================================================== MIT License Copyright (c) 2007-2016 <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 ...
/* * ESPRESSIF MIT License * * Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to dea...
/* "$Id: $" * * Author: <NAME> ( http://oksid.ch ) * Copyright 2000-2003 by O'ksi'D. * * 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 y...
// Constantes #define pr printf #define sc scanf #define sys system typedef struct{ int matricula,asist; char degree[6],ap_p[20],ap_m[20],nom[25]; }datosUser_a; typedef struct nodo_a{ // Estructura para el nodo_a int fe; // factor de equilibrio datosUser_a info; nodo_a *izq; nodo_a *der; }nodo_a; // Prototipo...
/* ------------------------------------------------ Copyright 2014 AT&T Intellectual Property 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...
/* * This file is part of the coreboot project. * * Copyright 2014 Google 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 distribute...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/* Copyright (C) 2000-2010 by <NAME> */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaim...
/************************************************************************************* * qTESLA: an efficient post-quantum signature scheme based on the R-LWE problem * * Abstract: NTT, modular reduction and polynomial functions **************************************************************************************/...
#include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/time.h> typedef struct { const unsigned char width; const unsigned char height; const unsigned char *data; const short transparentIndex; } image_t; #include "invaders_images.h" #define SCREEN_BTN_BOTTOM_RIGHT 0x8 #define SC...
#include "phylip.h" #include "dist.h" /* version 3.696. Written by <NAME>, <NAME>, <NAME>, and <NAME>. Copyright (c) 1993-2014, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
#include "gdbus.h" #include <stdbool.h> #include "draw.h" static void on_watch_sig_changed(GDBusProxy *p, gchar *sender_name, gchar *signal_name, GVariant *param, gpointer user_data); static void on_item_sig_changed(GDBusProxy *p, gchar *sender_name, ...
/*------------------------------------------------------------------------------ * ublox.c : ublox receiver dependent functions * * Copyright (C) 2007-2011 by T.TAKASU, All rights reserved. * * reference : * [1] ublox-AG, GPS.G3-X-03002-D, ANTARIS Positioning Engine NMEA and UBX * Protocol S...
/* * hostapd / Interface connection logging * Copyright (c) 2015 Google, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include <sys/stat.h> #include <unistd.h> #include <dirent.h> #include <string.h> #include "common.h" #in...
/* Copyright (C) 2008-2009 The Tor Project, Inc. * See LICENSE file for rights and terms. */ #include "apicommon.h" /* Depending on _WIN32_WINNT version and mingw32 api we may * have all of the socket structures defined. Needed by default. */ #ifndef __HAVE_IN_ADDR typedef struct _in_addr { union { struct ...
/* * Code originally from <NAME>'s wii drum controller project. This file was heavily modified. */ #include "main.h" #include <util/delay.h> #include "usart.h" #define DELAY_TIME 16 #define N64_BUT_A 0x80 #define N64_BUT_B 0x40 #define N64_BUT_Z 0x20 #define N64_BUT_START 0x10 #define N64_BUT_L 0x2...
/* * Copyright (C) 2017 hatkirby * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * Gen 3 proprietary encoding information from Bulbapedia: * https://bulbapedia.bulbagarden.net/wiki/Character_encoding_in_Generation_III */ #include "enco...
// gridmeter~ meters in little squares #include "ext.h" #include "ext_obex.h" #include "ext_common.h" #include "jpatcher_api.h" // jpatcher_api.h must come before z_dsp.h #include "jgraphics.h" #include "z_dsp.h" #include <math.h> #include "ext_boxstyle.h" typedef struct { t_pxjbox a_obj; long a_columns; long a_...
/* This is a C translation of <NAME>'s point-in-polyhedron test from * https://github.com/mdickinson/polyhedron/ */ /* * BSD 3-Clause License * * Copyright (c) 2019, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/* * CMUCS AFStools * dumpscan - routines for scanning and manipulating AFS volume dumps * * Copyright (c) 1998, 2001, 2003 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyri...
/****************************************************************************** * Name : hwsabsim.c * Title : * Author : <NAME> * Created : 23/06/1995 ported from version started OCT 94 * * Copyright : 1995-2022 Imagination Technologies (c) * License : MIT * * Description : an implementation in software of t...
#include <time.h> #include <fcntl.h> #include "ruby.h" #include "ruby/io.h" #include "polyphony.h" #include "backend_common.h" #ifdef HAVE_RUBY_IO_BUFFER_H #include "ruby/io/buffer.h" #endif inline void backend_base_initialize(struct Backend_base *base) { runqueue_initialize(&base->runqueue); runqueue_initialize(&...
/* * Copyright (c) 2010 <NAME> <<EMAIL>> * Based on early versions of Spreadsheet::WriteExcel * Copyright (c) 2000-2001 <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 p...
/* * An implementation of key value pair (KVP) functionality for Linux. * * * Copyright (C) 2010, Novell, Inc. * 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 version 2 as published * by the Free Softwar...
/******************************************************************************* * * University of Illinois/NCSA * Open Source License * * Copyright (c) 2018 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and ...
// simple library to userspace UDPC lib to test connection speed. #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <signal.h> #include <stdarg.h> #include <stdio.h> #include <stdint.h> #include <unistd.h> #include <sys/stat.h> #include <iron/types.h> #include <iron/log.h> #includ...
#include <v7/v7.h> #include <raylib.h> #include <gestures.h> #include <get_set.h> #include <types.h> static inline enum v7_err js_color(struct v7* v7, v7_val_t* res) { v7_val_t this = v7_get_this(v7); unsigned int r = v7_get_int(v7, v7_arg(v7, 0)); unsigned int g = v7_get_int(v7, v7_arg(v7, 1)); unsig...
// // Copyright (c) dushin.net // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
/** beta3 */ #include <stdio.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <math.h> #include <jack/jack.h> #include <jack/midiport.h> typedef jack_default_audio_sample_t sample_t; // sample type is float typedef jack_nframes_t sample_index_t; typedef un...
/* * @brief SSP example * This example show how to use the SSP in 3 modes : Polling, Interrupt and DMA * * @note * Copyright(C) NXP Semiconductors, 2013 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming i...
/*************************************************************************** * * * LIBDSK: General floppy and diskimage access library * * Copyright (C) 2006 <NAME> <<EMAIL>> * * ...
// WAD Rend - Copyright 2017 <NAME> <<EMAIL>> // C99 /* TODO LIST DONE 1. add the hole-presevering "visibility" extension to the ear-clipping algorithm DONE 2. add ceilings back in DONE 3. create a separate shader for flats, retrieve+load the texture for the current sector and texture the floor / ceiling 4. ext...