text
stringlengths
5.8k
28.2k
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "wannabe-lisp.h" /* * This file contains the heart of the interpreter: * the routines "eval" and "apply". For reasons * of efficiency, eval and apply are actually * mishmashed into a single C function called * "eval_apply_tco". This makes it poss...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2015 STMicroelectronics * * Redistribution and...
/* * ITE Tech IT9137 silicon tuner driver * * Copyright (C) 2011 <NAME> (<EMAIL>) * IT9137 Copyright (C) ITE Tech 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; either versi...
/** ****************************************************************************** * @file http_parse.c * @author <NAME> * @version V1.0.0 * @date 1-September-2015 * @brief This maintains the functions that are commonly used by both the * HTTP client and the HTTP server for parsing the HTTP req...
// // Created by Arjun on 4/30/18. // #include "deriche.h" /** * @brief Applies the Deriche Filter to the source image by running the following passes: L-to-R horizontal, R-to-L * horizontal, T-to-B vertical, B-to-T vertical. Output is stored inplace in the source matrix. * @param image Source Mat, Output Mat * @...
/* * @XMHF_LICENSE_HEADER_START@ * * eXtensible, Modular Hypervisor Framework (XMHF) * Copyright (c) 2009-2012 Carnegie Mellon University * Copyright (c) 2010-2012 VDG Inc. * All Rights Reserved. * * Developed by: XMHF Team * Carnegie Mellon University / CyLab * VDG Inc. * ...
/* * testcall: make a single test call with IAXCLIENT * * IAX Support for talking to Asterisk and other Gnophone clients * * Copyright (C) 1999, Linux Support Services, Inc. * * <NAME> <<EMAIL>> * * This program is free software, distributed under the terms of * the GNU Lesser (Library) General Public License...
/* * Copyright 2012 Aarhus University * * 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 agre...
#include <stdio.h> #include "position.h" #include "../Drivers/mpu9250.h" // IMUs static mpu9250_t mpu9250; static ak8963_t ak8963; // Variables globales static float zero_point=0; void read_all(T_coord_3D* p_data_acc, T_coord_3D* p_data_asp, T_coord_3D* p_data_mag) { // Capteur 1 mpu9250_read_all(&mp...
/* Copyright (C) 2016 ultitech - All Rights Reserved * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. */ #include "drawer.h" #include "mesh.h" #include "file.h" #include "window.h" #include "noise.h" #include "MathLib.h" #include <GL/glew.h...
// File: mumps/runtime/runtime_debug.c // // module runtime - debug /* Copyright (c) 1999 - 2012 * <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...
/* server.c - Resource library - Public Domain - 2016 <NAME> / Rampant Pixels * * This library provides a cross-platform resource I/O library in C11 providing * basic resource loading, saving and streaming functionality for projects based * on our foundation library. * * The latest source code maintained by...
/* * $Id: MOD_uvproject.c 40372 2011-09-19 19:55:59Z dfelinto $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (a...
/* Copyright (c) 2006-2009 The Trustees of Indiana University. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, ...
/****************************************************************************/ /* */ /* PC-DCL - DCL szCommand line interpreter for Windows. */ /* Copyright (C) 1991-2007 by <NAME> */ /* ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#include <netinet/in.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <errno.h> #include <sys/time.h> #include "mtcp_common.h" #include "mtcp_client.h" #include "circular_queue.h" /* -------------------- Global Variables -----------------...
#line 124 "/home/qiang/src/splash2/splash2-master/codes/null_macros/c.m4.null.POSIX_sel4" #line 1 "rad_tools.C" /*************************************************************************/ /* */ /* Copyright (c) 1994 Stanford University ...
/* MEGN540 Mechatronics Lab Copyright (C) <NAME>, 2021. apetruska [at] mines [dot] edu www.mechanical.mines.edu */ /* Copyright (c) 2021 <NAME> at Colorado School of Mines Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
/***************************** Projekt z Przetwarzania Rozproszonego: >>Menelatorium<< <NAME> 109692 <NAME> 109*** 06.2015 *****************************/ #include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <stdio.h> #include <time.h> #define ANSI_COLOR_RED "\x1b[31m" #define ANS...
// 0x07014818 - 0x07014908 static const Vtx lll_seg7_vertex_07014818[] = { {{{ 256, 0, 768}, 0, { 2524, 990}, {0x00, 0x00, 0x7f, 0xff}}}, {{{ -255, 307, 768}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}}, {{{ -255, 0, 768}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}}, ...
// // CBAlert.c // cbitcoin // // Created by <NAME> on 13/07/2012. // Copyright (c) 2012 <NAME> // // This file is part of cbitcoin. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://www.cbitcoin.com/license.html. No part of // cbi...
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be ...
/* * Greybus Simulator * * Copyright 2015 Google Inc. * Copyright 2015 Linaro Ltd. * * Provided under the three clause BSD license found in the LICENSE file. */ #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include <stdlib.h> #include "gbsim.h" #define SP...
/******************************************************************************* * Copyright 2021 Intel Corporation * * 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.o...
/* * (C) Copyright 2016 Kurento (http://kurento.org/) * * 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 applicab...
/* The MIT License 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, distribute, sub...
#include <string.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include "hwresources.h" #ifdef __XC8 #include "mcc_generated_files/mcc.h" #endif #include "cmdline.h" #include "hwresources.h" #include "global_settings.h" #include "xterm.h" #include "c...
/* * $Id$ * * Fanimae Index Builder MIREX 2010 Edition * * Copyright 2004--2010 by RMIT MIRT Project. * Copyright 2010 by <NAME>. * * Requires oakpark v0.2b. */ #include "fanimae.h" #include "oakpark.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stddef.h> #include <limits.h> #include...
/* rzxdump.c: get info on an RZX file Copyright (c) 2002-2015 <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 published by the Free Software Foundation; either version 2 of the License, or (at your option) any la...
/* * Copyright (c) 2019 zhtlab * * 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, publis...
/* * Author: <NAME> * Date: 01 September 2020 * Purpose: A Unix style shell written in C supporting basic commands */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <limits.h> #include <math.h> #include <string.h> #include <sys/wait.h> #include <dirent.h> #include <sys/types.h> #include <sys/...
/* * Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2008-2013 Sourcefire, Inc. * * Author: aCaB <<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 * ...
/* Copyright © 2019 <NAME>. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distrib...
/************************************************************************************************//** * @file test_byteorder.c * * @copyright Copyright 2022 <NAME>. * @license Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. Yo...
#include "asf.h" #include "asf_meta.h" #include "fft.h" #include "fft2d.h" /* complex number def'n */ typedef struct { float r; float i; } complex; /************************ Filter sizes: These are expressed as powers of 2-- dMx=3 -> filter 8-pixel chunk; write 4-pixel chunk; d...
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners/ for details on the copyright holders. 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.a...
/************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availab...
/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1997-2010 AT&T Intellectual Property * * and i...
/*s: libregexp/regcomp.c */ #include <u.h> #include <libc.h> #include "regexp.h" #include "regcomp.h" /*s: constant [[TRUE]] */ #define TRUE 1 /*e: constant [[TRUE]] */ /*s: constant [[FALSE]] */ #define FALSE 0 /*e: constant [[FALSE]] */ /*s: struct [[Node]] */ /* * Parser Information */ typedef struct Node { ...
/***************************************************************************//** @file PDRV_SPI.c @brief SPI driver. @author <NAME> ******************************************************************************/ /******************************************************************************* * INCLUD...
/* $Xorg: StripChart.c,v 1.4 2001/02/09 02:03:46 xorgcvs Exp $ */ /*********************************************************** Copyright 1987, 1988, 1994, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, prov...
/* * Copyright 2006 - <NAME> * All rights reserved * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the fol...
// FILE: driver.c //////////////////////////////////////////////////////////////////////////////// // 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...
/* * Copyright (c) 1995, <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 unmodified, this list of c...
/* Copyright (c) <NAME>, 1994, 1999. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> ...
/* * This code was created by <NAME> '99 * (merged to Linux/SDL by evik form <NAME>'s * Linux/SDL code. * * * If you've found this code useful, please let me know. * * Visit Jeff at http://nehe.gamedev.net/ * * or for port-specific comments, questions, bugreports etc. * email to <EMAIL> */ #include <s...
/******************************************************************* * * OPTIMIZING.C * * Optimizing Algorithms * * * VERSION: 17.04.2015 * * by <NAME> * University of Paderborn * ********************************************************************/ #include "optimizing.h" void annealing1 (measurement_grid * m_grid, ...
/* * Scheduler priority management * * Copyright (C) 2015 <NAME> * Copyright (C) 2015 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License...
/* * Copyright 2002-2011, The TenDRA Project. * Copyright 1997, United Kingdom Secretary of State for Defence. * * See doc/copyright/ for the full copyright terms. */ /* locate.c This file provides functions to locate an exp. */ #include <stdio.h> #include <shared/error.h> #include <local/ash.h> #includ...
#include "shaveConfiguration.h" #define marginX 25 #define marginY 25 #define widthAdd 50 #define heightAdd 50 ccv_bbf_param_t ccv_bbf_custom = { .interval = 3, /*!< Interval images between the full size image and the half size one. e.g. 2 will generate 2 images in between full size image and half size o...
/*//////////////////////////////////////////////////////////////////////// Copyright (c) 1994-2000 <NAME> and ETL,AIST,MITI Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST) AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443 Permission to use this mate...
/*keyboard.c used to init keyboard device*/ #include "x86_desc.h" #include "lib.h" #include "i8259.h" #include "keyboard.h" #include "types.h" #include "terminal.h" #include "pit.h" #include "systemfile.h" #include "sound.h" #define KEYBOARD_IRQ 1 #define KEYBOARD_PORT_DATA 0x60 #define SCANCODESIZE 58 #define SING...
// Copyright 2016-2021 <NAME>. See LICENSE. /* TA file diff */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "ta_filediff.h" static char * filemem[ MAXFILEDIFF ]; //file content static int linecount[ MAXFILEDIFF ]; //file line count static struct line_info * lin...
#include <stdio.h> #include "util.h" #include "table.h" #include "symbol.h" #include "absyn.h" #include "temp.h" #include "tree.h" #include "printtree.h" #include "frame.h" #include "translate.h" #include "types.h" typedef struct patchList_ *patchList; struct patchList_ { Temp_label *head; patchList tail; }; struct...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "curses.h" #include <math.h> #include <assert.h> #if defined( __linux) #define CONVERT_IMAGES #include <unistd.h> #endif /* This is inspired by, but not really based on, <NAME>'s 'picsmap' program for ncurses. Its real purpose is to demonst...
/********************************************* File: core_tries.h Author: <NAME> Comments: Tries core module for Yap Prolog version: $ID$ *********************************************/ /* -------------------------------------- */ /* Yap Tagging Scheme */ /* --------------------------...
/* * KubOS Core Flight Services * Copyright (C) 2015 Kubos Corporation * * 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 ...
/* * BSD LICENSE * * Copyright(c) 2017 Cavium, Inc.. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must reta...
#include <types.h> #include <kern/errno.h> #include <kern/fcntl.h> #include <kern/limits.h> #include <kern/stat.h> #include <kern/seek.h> #include <lib.h> #include <uio.h> #include <thread.h> #include <current.h> #include <synch.h> #include <vfs.h> #include <vnode.h> #include <file.h> #include <syscall.h> #include <cop...
#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...
/* * 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...
/******************** (C) COPYRIGHT 2013 ************************************** * File Name : canldr.c * Hacker : deh * Date First Issued : 09/12/2013 * Board : PC * Description : CAN Bus via 'gateway' (stm32) ***************************************************************************...
/* * Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2004 <NAME> <<EMAIL>> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License * * This program...
// Copyright 2018 The Fuchsia Authors // Copyright 2019-2020 NXP // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #include <err.h> #include <reg.h> #include <stdio.h> #include <lib/cbuf.h> #include <kernel/thread.h> #inc...
/* * mainviccpu.c - Emulation of the VIC 6510 processor. * * Written by * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms o...
/* * Copyright (C) 2006 Freescale Semicondutor, Inc. All rights reserved. * * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Description: * QE UCC Fast API Set - UCC Fast specific routines implementations. * * This program is free software; you can redistribute it and/or modify it * under the terms of ...
/* * Copyright © 2012 Intel Corporation * * 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, pub...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/* ======================================================================== D O O M R e t r o The classic, refined DOOM source port. For Windows PC. ======================================================================== Copyright © 1993-2012 id Software LLC, a ZeniMax Media c...
// porres 2018-2019 #include "m_pd.h" static t_class *voices_class; typedef struct voice{ t_clock *v_clock; t_float v_pitch; int v_used; int v_released; unsigned long v_count; }t_voice; typedef struct voices{ t_object x_obj; t_voice ...
/* * (C) Copyright 2001 * <NAME>, Custom IDEAS, <EMAIL> * * See file CREDITS for list of people who contributed to this * project. * * 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; eith...
/* * Copyright (c) 2021 <NAME> * * Permission to use, copy, modify, and/or 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 AL...
/*** * USBtemp host control program * Copyright (C) 2008, 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 as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) an...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ #in...
/* infotopam: A program to convert Amiga Info icon files to PAM files * Copyright (C) 2004 <NAME> - <EMAIL> * * Thanks to the following people on comp.sys.amiga.programmer for tips * and pointers on decoding the info file format: * * <NAME> * <NAME> * <NAME> * <NAME> * <NAME> * <NAME>. * * Th...
/********************************************************************/ /** bbox -- calculates Bounding Box of a pbmraw/ppmraw-picture **/ /** Created: Nov. 1997, revised Feb. 1998, Dec. 1999, June 2009 **/ /** Author: <NAME> <roland -at- bless.de> **/ /** Copyright (C) 1998-2009 <NAME> ...
/* dqawce.f -- translated by f2c (version 20190311). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/************************************************************************************************************* Copyright 2015-2019, Silicon Laboratories, 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 Li...
/*! \file mmjoin.c \brief This file contains MMJoin related functions \author <NAME> */ #include "includes.h" // forward declarations idx_t mmjProcessCandidates(params_t *params, idx_t rid, da_csr_t *docs, val_t *lengths, ptr_t *endptr, idx_t ncands, idx_t *cands, accum_t *accum, val_t *marker, val_t *marker2...
/* ** The Sleuth Kit ** ** This software is subject to the IBM Public License ver. 1.0, ** which was displayed prior to download and is included in the readme.txt ** file accompanying the Sleuth Kit files. It may also be requested from: ** Crucial Security Inc. ** 14900 Conference Center Drive ** Chantilly, VA 20151 *...
#include "mupdf/pdf.h" #define TEXT_ANNOT_SIZE (25.0) static const char *annot_type_str(fz_annot_type type) { switch (type) { case FZ_ANNOT_TEXT: return "Text"; case FZ_ANNOT_LINK: return "Link"; case FZ_ANNOT_FREETEXT: return "FreeText"; case FZ_ANNOT_LINE: return "Line"; case FZ_ANNOT_SQUARE: return "Square"...
/* @TAG(CUSTOM) *//* Taken from Linux kernel 3.18 */ /* 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. * * Thi...
// // Created by <NAME> on 2019-07-22. // #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <math.h> #include <stdbool.h> #include <assert.h> // Customized Includes #include "Hash_Map.h" #include "Vector.h" #define NUM_ENTRIES 2 #define RRP_PCPUS 3 // Global Inits static int arr[...
/**************************************************************************** Routine: peakfitting.c Author/Copyright: <NAME> Address: Institute of Geodesy and Photogrammetry ETH - Hoenggerberg CH - 8093 Zurich Creation Date: Feb. 1990 Description: ***********************...
#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...
/* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager * © 2009-2013 <NAME> and contributors (see also: LICENSE) * * i3-input/main.c: Utility which lets the user input commands and sends them * to i3. * */ #include <stdio.h> #include <sys/types.h> #include <stdlib.h> #...
/* * neo_m9n.c * * Created on: Feb 21, 2021 * Author: sceaj * * Copyright (c) 2021 <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, incl...
/*- * Copyright (c) 2002-2018 The UbixOS Project. * All rights reserved. * * This was developed by <NAME> for the UbixOS Project. * * 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...
/*- * ------+---------+---------+---------+---------+---------+---------+---------* * Initial version of parse8601 was originally added to newsyslog.c in * FreeBSD on Jan 22, 1999 by <NAME> <<EMAIL>>. * Initial version of parseDWM was originally added to newsyslog.c in * FreeBSD on Apr 4, 2000 by <NAME> <...
/* * Copyright July 29, 2011 by Virginia Polytechnic Institute and State University * All rights reserved. * * Virginia Polytechnic Institute and State University (Virginia Tech) owns the * OpenCL and the 13 Dwarfs software and its associated documentation (Software). * You should carefully read the following ter...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/time.h> #include <omp.h> #include <immintrin.h> int binary_search_right_boundary_kernel_LBLT(const int *row_pointer, const int key_input, ...
/* * $XConsortium: tocutil.c,v 2.60 95/01/09 16:52:53 swick Exp $ * $XFree86: xc/programs/xmh/tocutil.c,v 3.3 2001/10/28 03:34:40 tsi Exp $ * * * COPYRIGHT 1987, 1989 * DIGITAL EQUIPMENT CORPORATION * MAYNARD, MASSACHUSETTS * ALL RIGHTS RESERVED. * * THE INFORMATION IN THIS SOFTWARE IS SUBJECT...
/** * Copyright (c) 2017, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ #import <Foundation/Foundation.h> /** * Macro for logging error message only in debug mode and not in release * mode */ #ifdef DEBUG # define OMDebugLogF(fmt, ...) NSLog((@"%s:%s[Line #:%d]: " f...
#include "net.h" #include <assert.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <pthread.h> #include "fs.h" #include "ui.h" #include "serpent.h" #include "string.h" int net_run = 0; in...
#define _GNU_SOURCE #include <errno.h> #include <linux/limits.h> #include <poll.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include "kfmon.h" #include "kfmon_helpers.h" #include "util.h" // Free all resources al...
/* Copyright (c) 2002-2007 <NAME> * * TERMS * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the f...
/** * Copyright 2022 Huawei Technologies Co., Ltd * * 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...