text
stringlengths
5.8k
28.2k
/****************************************************************************** Pnmnorm ******************************************************************************* This program normalizes the contrast in a Netpbm image. by <NAME> <EMAIL> San Jose CA March 2002. Adapted from...
/************************************************************************ qDecoder - Web Application Interface for C/C++ http://www.qDecoder.org Copyright (C) 2001 The qDecoder Project. Copyright (C) 1999,2000 Hongik Internet, Inc. Copyright (C) 1998 Nobreak Technologies, Inc. Copyright (C) 1996,1997...
// AppleCompression.c // Wrapper for Sound Manger 3.2 Compression routines //#include <SoundComponents.h> #include <QuickTime/Movies.h> #include "SoundFile.h" #include "AppleCompression.h" extern long gNumberBlocks; short *gPlaySams; //A: Yes, a call to SoundConverterSetInfo is required, but first you'll have t...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdarg.h> #include <signal.h> #include <setjmp.h> #include <time.h> #include "../ose.h" #include "../ose_util.h" #include "../ose_context.h" #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" #define ANSI...
// This file is part of Deark. // Copyright (C) 2017 <NAME> // See the file COPYING for terms of use. // VORT pix image #include <deark-config.h> #include <deark-private.h> DE_DECLARE_MODULE(de_module_vort); // The VORT software includes documentation about this file format, but to me // it seems unclear and incompl...
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
/* * Copyright 2020 Makani Technologies LLC * * 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 ...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <mpi.h> #include <unistd.h> #include <math.h> /************************************************************************************ * * MPITimer * * MPITimer is designed to measure the "action" latency of eac...
/* should support anything from 0.86~0.87, when the arctive format changed to something that's kind of an intermediate point between the early and final formats fortunately this one is more third party tool friendly as you don't need to know the structure of all object types to read the data known issues: - SB...
/* packet-hci_usb.c * Routines for Bluetooth HCI USB dissection * * Copyright 2012, <NAME> for Tieto Corporation * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #include <epan/packet.h> #include <epan...
/*-------------- Telecommunications & Signal Processing Lab --------------- McGill University Routine: int AF_write AFpreSetWPar(enum AF_FTW_T FtypeW, enum AF_FD_T Format, long int Nchan, double Sfreq, struct AF_write *AFw) Purpose: Create a parameter struc...
/* mot2bin converts a Motorola hex file to binary. Copyright (C) 2015, <NAME> checksum extensions Copyright (C) 2004 Rockwell Automation 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 ...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/krb/chk_trans.c */ /* * Copyright 2001, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Gover...
/************************************************************************************************** * * * This file is part of HPIPM. * * ...
/* Samba Unix/Linux SMB client library Distributed SMB/CIFS Server Management Utility Copyright (C) 2001 <NAME> (<EMAIL>) Copyright (C) <NAME> 2001 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the F...
#include "l.h" void noops(void) { Prog *p, *p1, *q, *q1; int o, curframe, curbecome, maxbecome; /* * find leaf subroutines * become sizes * frame sizes * strip NOPs * expand RET * expand BECOME pseudo */ if(debug['v']) Bprint(&bso, "%5.2f noops\n", cputime()); Bflush(&bso); curframe = 0; curb...
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Console module for Chrome EC */ #include "clock.h" #include "console.h" #ifdef CONFIG_EXPERIMENTAL_CONSOLE #include "crc8.h" #endif /* defi...
#pragma bank 11 #include "Keys.h" #include "ZGBMain.h" #include "string.h" #include "Scroll.h" #include "Sound.h" #include "gbt_player.h" #include "custom_datas.h" extern UINT8 current_level_b; extern UINT8 current_level; extern UINT8 current_map; extern UINT8 current_camera_state; extern UINT8 current_camera_count...
#include "settings.h" #include "color.h" #include "constants.h" #include "data.h" #include "investment.h" #include "logger.h" #include "text.h" #include <ctype.h> #include <errno.h> #include <limits.h> #include <stdlib.h> #include <string.h> #define SETTINGS_STRING_SIZE 128 #define SETTINGS_BUFFER_SIZE 4096 #define L...
/* * Copyright 2017 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <errno.h> #include <getopt.h> #include <poll.h> #include <signal.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include...
/* Code rewritten from Adafruit Arduino library for the TFT * by <NAME> * The TFT itself is Adafruit product 1480 * Included below is the text header from the original Adafruit library * followed by the code */ /* This is the core graphics library for all our displays, providing a common set of graphic...
#include "gc.h" int swcmp(void *a1, void *a2) { C1 *p1, *p2; p1 = a1; p2 = a2; if(p1->val < p2->val) return -1; return p1->val > p2->val; } void doswit(Node *n) { Case *c; C1 *q, *iq; long def, nc, i; def = 0; nc = 0; for(c = cases; c->link != C; c = c->link) { if(c->def) { if(def) diag(n, "m...
/* * Newtek NDI input * Copyright (c) 2017 <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 License, or (at your op...
/* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor a...
/* * Copyright (C) 1999-2001 Free Software Foundation, Inc. * This file is part of the GNU LIBICONV Library. * * The GNU LIBICONV 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 ve...
/* * Copyright (c) 2008, Google Inc. * All rights reserved. * * Copyright (c) 2009-2015, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of sour...
/* * simple_providers.c: providers for SVN_AUTH_CRED_SIMPLE * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional info...
/********************************************************************** Copyright(c) 2011-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: * Redistributions of source co...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Routines for Gravis UltraSound soundcards * Copyright (c) by <NAME> <<EMAIL>> */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/ioport.h> #include <linux/module.h> #include <sound/core.h> #incl...
/* * libgit2 "log" example - shows how to walk history and get commit info * * Written by the libgit2 contributors * * To the extent possible under law, the author(s) have dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed ...
/* redsocks - transparent TCP-to-proxy redirector * Copyright (C) 2007-2011 <NAME> <<EMAIL>> * * 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/LIC...
#include "hmap.h" #include <assert.h> #include <ctype.h> #include <fcntl.h> #include <libgen.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/errno.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> // Mac OS X doesn't have byteswap.h ...
/* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(net_zperf_sample, LOG_LEVEL_DBG); #include <zephyr/linker/sections.h> #include <zephyr/toolchain.h> #include <zephyr/zephyr.h> #include <zephyr/sys/printk.h> #include <zephyr/n...
/* ** lib/russng/russexec_server.c */ /* # license--start # # Copyright 2012 <NAME> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
/* Check system header files for ISO 9899:1990 (ISO C) compliance. Copyright (C) 1996-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by <NAME> <<EMAIL>>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU...
/****************************************************************************** * Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * HYPRE Project Developers. See the top-level COPYRIGHT file for details. * * SPDX-License-Identifier: (Apache-2.0 OR MIT) **************************************...
/* * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE * Version 2, December 2004 * * Copyright (C) 2012-2013 <NAME> <<EMAIL>> * * Everyone is permitted to copy and distribute verbatim or modified * copies of this license document, and changing it is allowed as long * as the name is changed. * * DO WHAT THE F...
/* $OpenBSD: tvtwo.c,v 1.15 2013/10/20 20:07:31 miod Exp $ */ /* * Copyright (c) 2003, 2006, 2008, <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 ...
#include "mqttmgr.h" #include <backoff_algorithm.h> #include <esp_log.h> #include <esp_wifi.h> #include <freertos/FreeRTOS.h> #include <freertos/ringbuf.h> #include <mqtt_client.h> #define MQTT_TASK_NAME "mqtt" #define MQTT_TASK_STACKSIZE 4 * 1024 #define MQTT_HANDLERS_MAX 8 #define MQTT_CLIENTWATCHER_NAME "mqtt-wat...
/* * Copyright (c) <2008 - 2020>, University of Washington, Simon Fraser University, Bilkent 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 mu...
/*- * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2002 Networks Associates Technology, Inc. * All rights reserved. * * This software was developed for the FreeBSD Project by Marshall * <NAME> and Network Associates Laboratories, the Security * Research Division of Network Associates, Inc. under DARP...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* +----------------------------------------------------------------------+ * | relay control program | * | by mgr, 2007 | * | last change: 2009-01-05 | * | ...
/*----------------------------------------------------------------------------*/ /* Big Brother webpage generator tool. */ /* */ /* This is a replacement for the "bb-hostsvc.sh" script ...
// Copyright (C) 2015-2021 <NAME>, 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 copyright // notice,...
/* * uart.c * * Created on: 2021. 11. 16. * Author: 82109 */ #include "uart.h" #include "cdc.h" #include "qbuffer.h" #include "cli.h" #include "modbus.h" #include "ModProt.h" uart_tbl_t uart_tbl[UART_MAX_CH]; // static 선언 하면 hw falut 생성됨 // 모드버스에서 사용됨 // #define UART_MAX_BUF_SIZE 256 stat...
/*! * cache.c - lru cache for lcdb * Copyright (c) 2022, <NAME> (MIT License). * https://github.com/chjj/lcdb * * Parts of this software are based on google/leveldb: * Copyright (c) 2011, The LevelDB Authors. All rights reserved. * https://github.com/google/leveldb * * See LICENSE for more information. */...
#include <stdio.h> #include <stdlib.h> #include <sys/stat.h> /* TODO */ typedef struct model { unsigned char predictHighNibble[16][16]; unsigned char predictHighNibbleLRU[16][16]; unsigned char predictLowNibble[16][16]; unsigned char predictLowNibbleLRU[16][16]; } Model; Model fModel() { Model newb; for(int ...
/***************************************************************************//** * @file ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> *********************************************************************...
/* -*- mode: c; coding:utf-8 -*- */ /**********************************************************************/ /* OS kernel sample */ /* */ /* Copyright 2014 <NAME> */...
/* * Copyright (c) 2019 Yubico AB. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ #include <assert.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include "mutator_aux.h" #include...
/* The MIT License (MIT) Copyright (c) 2015 silverx 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, publi...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <memory.h> #include <assert.h> #include <limits.h> #include <gmp.h> #include <math.h> // sqrt for factorise_simple #include "gmp_ext.c" typedef unsigned int factors_list_size_type; typedef struct { mpz_t prime; unsigned long int pow; } prime_pow...
/*++ /* NAME /* smtp_chat 3 /* SUMMARY /* SMTP client request/response support /* SYNOPSIS /* #include "smtp.h" /* /* typedef struct { /* .in +4 /* int code; /* SMTP code, not sanitized */ /* char *dsn; /* enhanced status, sanitized */ /* char *str; /* unmodified SMTP reply */ /* VSTRING *dsn_buf; /* VSTRING *str_...
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support * ---------------------------------------------------------------------------- * Copyright (c) 2011, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and...
#pragma ident "$Id: read.c,v 1.8 2010/04/21 16:27:50 dechavez Exp $" #include <stdio.h> #include <errno.h> #include "nrts.h" #include "nrts_alpha.h" static int short_chans = 0; static int map_12_ne = 1; static char *buffer; static int hfd = -1; static int dfd = -1; static struct nrts_sys *sys; static struct nrts_heade...
/* Copyright 2022 Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation * * 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...
/* Copyright (c) 2010 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
/* File: mpi_mat_vect_mult.c * * Purpose: Implement parallel matrix-vector multiplication using * one-dimensional arrays to store the vectors and the * matrix. Vectors use block distributions and the * matrix is distributed by block rows. * * Compile: mpicc -g -Wall -o mpi_ma...
/* * Copyright (c) 2019-2021 <NAME> * * 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 AUTHOR DISCLAIMS ...
/* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. * * Purpose: Defines constants describing the Type 2 A20K and A10K chips * for soc/er_tcam.c */...
#include "craftus/render/render.h" #include "craftus/render/vbocache.h" #include "craftus/world/chunkworker.h" #include <citro3d.h> #include <stdio.h> #include "vec/vec.h" const world_vertex plantmodel[] = { // First face // Erstes Dreieck {{0, 0}, {0, 0, 0, 255}}, {{1, 1}, {0, 1, 0, 255}}, {{1...
/** */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/time.h> #include <getopt.h> #include "dalclient.h" #define LOC_SIA "http://skyview.gsfc.nasa.gov/cgi-bin/vo/sia.pl?" #define VAO_SIA "http://skyview.gsfc.nasa.gov/cgi-bin/vo/sia.pl?" #define ROWSTART 1 #define ROWEND 2 #define DELPA...
/** * startup.c : TM4C startup code for use with the GNU Build System * (Will likely work with other Tiva/Stellaris boards as well) * * With credit to: * <NAME> (bit.ly/2pxKw8x) * TI's TivaWare * The uctools Project (bit.ly/2oIRO9y) * * Author: <NAME> * Modified: March 4th, 2019 */ // Dependen...
/* * wpa_supplicant - IBSS RSN * Copyright (c) 2009, <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 Software Foundation. * * Alternatively, this software may be distributed unde...
/****************************************************************************** * NLK - Neural Language Kit * * Copyright (c) 2015 <NAME> <<EMAIL>> http://luisrei.com @lmrei * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the ...
/* * Copyright(c) 2012-2018 Intel Corporation * SPDX-License-Identifier: BSD-3-Clause-Clear */ #include "metadata.h" #include "metadata_io.h" #include "../ocf_priv.h" #include "../engine/cache_engine.h" #include "../engine/engine_common.h" #include "../engine/engine_bf.h" #include "../utils/utils_cache_line.h" #incl...
/*<NAME> Trabalho de Grafos, PROF: Alneu Numero USP: 10284542 ICMC - 2018 */ #include "graph.h" #include <stdio.h> #include <stdlib.h> #include <limits.h> //defines uteis para busca em largura #define WHITE 0 #define GREY 1 #define BLACK 2 #define TRUE 1 #define FALSE 0 //************...
#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <time.h> //#include <errno.h> #define qqcoisa "*" //#define LINESZ 123456 #define filenamecoloron 'H' #define filenamecoloroff 'h' FILE *arquivo_atual; int file_name = -1, on_line = -1, invalid = 0, helped = 0, p...
// This file is part of eRCaGuy_hello_world: https://github.com/ElectricRCAircraftGuy/eRCaGuy_hello_world /* These are my favorite macros and other utility functions I frequently need in both C and C++. THIS FILE ISN'T IN A SHAPE TO JUST INCLUDE AS-IS. INSTEAD, COPY-PASTE WHAT YOU NEED. TODO(gabriel): CONSIDER CLE...
#include <math.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include "color.h" #include "map.h" /* * Local functions */ int fasterFloor(float value); float dotproduct(float grad[], float x, float y); s_color lerp(s_color c1, s_color c2, float value); unsigned ...
/* * spi-tool v1.0 * SS963 Serial Power Driver Card Testing Utility * * Written by: <NAME>, <EMAIL> * * Copyright (c) 2017 Izlence Electronic Software Inc. * www.izlencebilisim.com * * Referances: * Copyright (c) 2007 MontaVista Software, Inc. * Copyright (c) 2007 <NAME> <<EMAIL>> * * This...
/* * $Id: paint_utils.c 40370 2011-09-19 17:27:33Z gsrb3d $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, o...
/* * agviewer.c (version 1.0) * * AGV: a glut viewer. Routines for viewing a 3d scene w/ glut * * See agv_example.c and agviewer.h comments within for more info. * * I welcome any feedback or improved versions! * * <NAME> - 4/11/95 * <EMAIL> * http://www.cs.hmc.edu/people/pwinston */ #include <GL/glut.h> ...
#include<types.h> #include<lib.h> #include<context.h> #include<memory.h> #include<init.h> #include<apic.h> #include<idt.h> #include<file.h> #include<entry.h> static struct exec_context *current; static struct exec_context *ctx_list; struct exec_context *get_new_ctx() { int ctr; struct exec_context *ctx = ctx_lis...
/* * Copyright (c) 2007, OmniTI Computer Consulting, Inc. * Copyright (c) 2007, Message Systems, 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: * * * Redistributions of source...
/* * Copyright 2016-2018 <NAME> <<EMAIL>>. * Copyright 2015 <NAME> * <https://www.linkedin.com/in/vladimirromanov>, Yota Lab. * * This file is part of libmdbx. * * ReOpenMDBX is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by * ...
#include <console/console.h> #include <arch/smp/mpspec.h> #include <arch/ioapic.h> #include <device/pci.h> #include <string.h> #include <stdint.h> #include <cpu/x86/lapic.h> #include <arch/cpu.h> #include <arch/io.h> #define HT_INIT_CONTROL 0x6c #define HTIC_BIOSR_Detect (1<<5) static unsigned node_link_to_bus(unsig...
#include <ql_oe.h> ql_mcm_ecall_info g_msdStruct = {0,}; typedef struct { int cmdIdx; char *funcName; } st_api_test_case; //for server test st_api_test_case at_api_testcases[] = { {0, "print_help"}, {1, "QL_Voice_Call_Ecall"}, {2, "QL_Voice_Call_Ecall_HangUp"}, {3, "QL_Voice_Cal...
#include "global.h" #include "correct_aln_stats.h" #include "util.h" void correct_aln_stats_alloc(CorrectAlnStats *stats) { memset(stats, 0, sizeof(*stats)); zsize_buf_alloc(&stats->contig_histgrm, 1024); } void correct_aln_stats_dealloc(CorrectAlnStats *stats) { zsize_buf_dealloc(&stats->contig_histgrm); mem...
#include <QDOffscreen.h> #undef CALL_NOT_IN_CARBON #define CALL_NOT_IN_CARBON 1 #include <DrawSprocket.h> #undef CALL_NOT_IN_CARBON #include <math.h> #include "error.h" #include "screen.h" #include "screenfx.h" #include "preferences.h" #define kDecimalPrec 3 DSpContextReference gDrawContext; Ptr gBaseAddr; short gRow...
/* Copyright 2010-2013 SourceGear, LLC 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, softwar...
/* * CS 11, C track, lab 8 * * FILE: navm.c * Because abusing the rules of C (and common sense) is fun! * Inspired by: http://stackoverflow.com/a/5602143 * * I decided to make the virtual machine a little less virtual. Instead, * this behaves somewhat like a just-in-time compiler. * * ...
/* See LICENSE file for copyright and license details. */ #include <string.h> #include <xcb/xcb_event.h> #include <xcb/xcb_icccm.h> #include "main.h" #include "list.h" #include "events.h" #include "keys.h" #include "xcb.h" #include "ewmh.h" #include "config.h" #include "client.h" #include "cursor.h" #include "log.h" s...
//Copyright 2015 <>< <NAME> under the ColorChord License. #include <ctype.h> #include "color.h" #include <math.h> #include <stdio.h> #include "sound.h" #include "os_generic.h" #include "DrawFunctions.h" #include "dft.h" #include "filter.h" #include "decompose.h" #include <stdlib.h> #include <string.h> #include "notefi...
#include <assert.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <glad/glad.h> #include <GLFW/glfw3.h> #include "box.h" #include "camera.h" #include "clickcolor_rendering.h" #include "editor.h" #include "entity.h" #include "gui.h" #include "input_handling.h" #include "light.h" #include "manager....
/* $OpenBSD: vgafb.c,v 1.64 2014/07/28 15:00:27 jsg Exp $ */ /* * Copyright (c) 2001 <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code ...
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Plankton board configuration */ #include "adc.h" #include "adc_chip.h" #include "common.h" #include "console.h" #include "gpio.h" #include "...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#define _GNU_SOURCE // memmem #include <string.h> #include <net/route.h> #include <netinet/in.h> #include <netinet/ip6.h> #include <arpa/inet.h> #include <sys/ioctl.h> #include <linux/if.h> #include <errno.h> #include <sys/select.h> #include <unistd.h> #include <stdlib.h> #include <sys/wait.h> #include <assert.h> #i...
#include "alltypes.h" #include "unit.h" #include <float.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <string.h> #define xstr(s) str(s) #define str(s) #s #define assert_encode_decode(name, io_value, message) \ do { \ size_t size; \ uint8_t buffer[256]; \ name ## _t in = {io_...
#ifdef FOR_LT #include "lt-defs.h" #include "lt-memory.h" #include "lt-errmsg.h" #include "lt-comment.h" #include "lt-safe.h" #include "nsl-err.h" #define Strerror() strErr() #define Malloc salloc #define Realloc srealloc #define Free sfree #define fopen stdsfopen #else #include "system.h" #define LT_ERROR(err, fo...
/* * 0BSD * * BSD Zero Clause License * * Copyright (c) 2019 <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WAR...
/* Copyright 2020 <NAME> @alfrdmalr 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 t...
/* Copyright (c) 2003-2011, The Ohio State University. All rights * reserved. * * This file is part of the MVAPICH2 software package developed by the * team members of The Ohio State University's Network-Based Computing * Laboratory (NBCL), headed by Professor <NAME>. (<NAME>. * * For detailed copyright and lice...
#include "minicc.h" /* string buffer / number parse buffer */ #define MAX_BUFFER 256 STRING_POOL g_string_pool = { NULL, NULL }; static int s_string_num = 0; typedef struct ident { struct ident *next; char *id; } IDENT; static IDENT *s_ident_top = NULL; STRING *new_string(const char *s) { STRING *p =...
/** * collectd - src/battery.c * Copyright (C) 2006,2007 <NAME> * Copyright (C) 2008 <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 Foundation; only version 2 of the License is appli...
// This file is part of Deark. // Copyright (C) 2016 <NAME> // See the file COPYING for terms of use. // STOS Memory Bank (MBK) #include <deark-config.h> #include <deark-private.h> #include <deark-fmtutil.h> DE_DECLARE_MODULE(de_module_mbk); typedef struct localctx_struct { i64 banknum; u8 banktype; i64 banksize;...
#include <stdio.h> // standard input output #include <stdlib.h> // standard library #include <windows.h> // for clearing console screen #include <time.h> // for animations #include <dirent.h> #include <sys/stat.h> #include <string.h> // to compare strings void anim1(); void anim2(); void title(); void heade...
/* library.c * * Copyright (C) 2003 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...