text
stringlengths
3.12k
18.7k
/* This file is part of lorcon lorcon 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. lorcon is distributed in the ho...
/** * File : ray_casting_screen.c * Author : <NAME> <<EMAIL>> * Date : 07.01.2019 * Last Modified Date: 20.01.2019 * Last Modified By : <NAME> <<EMAIL>> */ #include <stdlib.h> #include <math.h> #include <time.h> #include "maze.h" #include "maze_generator.h" #include "draw_ut...
/* Piano modules */ #include "GLOBAL.H" extern char fnameA[]; extern char fnameB[]; extern char fnameC[]; extern char fnameD[]; extern char fnameE[]; extern char mgList[]; extern char buff[]; /* MG data structure */ struct keyData{ float keyF; float keyD; }mk2; /*34 Keys for runtime play*/ float keyFreq[]={0.0,13...
/* ==================================================================== * Copyright (c) 2011 The OpenSSL Project. 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 ...
/* 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 */ #include "FLAME.h" FLA_Error FLA_Tridiag_UT...
// Copyright (c) 2017 <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, distri...
/* * This file is part of libbluray * Copyright (C) 2010 hpi1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ...
/* GameSpy GT2 SDK Dan "Mr. Pants" Schoenblum <EMAIL> Copyright 2002 GameSpy Industries, Inc <EMAIL> */ #include "gt2connection.h" #include "gt2socket.h" #include "gt2message.h" #include "gt2callback.h" #include "gt2utility.h" #include <stdlib.h> GT2Result gti2NewOutgoingConnection(GT2Socket socket, GT2Connection* ...
#include <dirent.h> #include <string.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include <fcntl.h> #include "bw.h" /* internal prototypes */ static int get_socket_inodes(pid_t, size_t *, size_t, size_t *); static int has_socket_name(size_t *, size_t, char *); ...
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> #define SIZE 80 //structs typedef struct groceryItem { char itemsName[SIZE]; int quantity; float price; }groceryItem; typedef struct groceryList { groceryItem** listItems; int size; }groceryList; //fu...
/* * Copyright (c) 2013 Balabit * Copyright (c) 2013 <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.1 of the License, or (at your option) any...
/* * Copyright 2001 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software Lic...
#include "pyactpol.h" #include <gsl/gsl_linalg.h> /* sync.c * * scan-synchronous mode fitting and removal. */ static int fit_poly(float *x, double *y, int n, int order, int samp, double *fit); static int fit_sine(double *t, double *y, int n, double f, double *fit, double *coe...
/* * SCOM.c * * Created on: Aug 14, 2021 * Author: Martin * Brief: Universal CAN communication protocol between MCAN devices. * */ #include "main.h" #include "COM.h" #include "VARS.h" #include "MCAN.h" #include "rtc.h" typedef struct { uint8_t enable; uint16_t varId; uint16_t sendPeriod; // 10...
#include <pthread.h> #include <errno.h> #include <sys/time.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <signal.h> #include "aircrack-osdep/common.h" #include "aircrack-osdep/osdep.h" #include "common.h" #include "wifi_scan.h" #include "libcrc/checksum.h" #include "libak/airkiss.h" #define...
#include "../candle/candle.h" #include "../candle/systems/window.h" #include "../candle/components/spatial.h" #include "../candle/components/node.h" #include "../candle/systems/mouse.h" #include "../candle/systems/controller.h" #include "charlook.h" #include "side.h" #include "force.h" #include "level.h" #include "grid...
/* * The "insane" name comes from a late night of coding, there's really * nothing insane about it. * * It has hard dependencies on the hammer-standalone version */ #include <stdio.h> #include <sys/types.h> #include <dirent.h> #include <stdlib.h> #include <string.h> #include "insane-menu.h" #include "6510.h" #i...
/* * Copyright (c) 2005-2011 Imperas Software Ltd., www.imperas.com * * YOUR ACCESS TO THE INFORMATION IN THIS MODEL IS CONDITIONAL * UPON YOUR ACCEPTANCE THAT YOU WILL NOT USE OR PERMIT OTHERS * TO USE THE INFORMATION FOR THE PURPOSES OF DETERMINING WHETHER * IMPLEMENTATIONS OF THE ARM ARCHITECTURE INFRINGE ANY ...
/* This file contains routines that are Windows-specific. This file is used only when compiling for Windows. */ #include "XOPStandardHeaders.h" // Include ANSI headers, Mac headers, IgorXOP.h, XOP.h and XOPSupport.h /* XOPModule() Returns XOP's module handle. You will need this HMODULE if your XOP needs to ge...
#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...
#include "register.h" #include "gpio.h" /** * @brief Define mul bits */ enum{ UART_BW_MUL1 = 0, UART_BW_MUL2 = 1, UART_BW_MUL3 = 2, UART_BW_MUL4 = 3, }; // tX: typedef enum{ UART_TX_PB4 = GPIO_PB4, UART_TX_PC4 = GPIO_PC4, UART_TX_PD2 = GPIO_PD2, }UART_TxPinDef; // rx: typedef enum{ UART_RX_PB5 = GPIO...
#include <stdlib.h> #include <stdio.h> #include <libopencm3/cm3/vector.h> // for linker symbols, e.g., _edata #include <libopencm3/cm3/mpu.h> #include <libopencm3/cm3/scb.h> #include "arm.h" #include "ripe_attack_generator.h" #define GET_MPU_SIZE(s,e) (32 - __builtin_clz((uintptr_t)e - (uintptr_t)s)) #define DATA_BA...
/* # Copyright (C) 2009-2013 <NAME> # University of Tokyo / CNRS, 2009 # # This file is part of porject DisPerSE # # Author : <NAME> # Contact : <EMAIL> # # Licenses : This file is 'dual-licensed', you have to choose one # of the two licenses below to apply. # ...
#include <types.h> #include <err.h> #include <sys.h> #include <c.h> #include <mesg.h> #include <mach.h> #include <stdarg.h> #include <string.h> #include <proc0.h> #include <dev_reg.h> #include <log.h> #include <arm/am33xx_prm_cm.h> static volatile struct cm_perpll *cm_perpll; static volatile struct cm_device *cm_dev...
#include "l.h" void noops(void) { Prog *p, *q, *q1; int o, aoffset, 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; ...
#include "../include/dtd.h" extern doctypeDef dtd; int getFileSize(char* fileName , size_t *fileSize){ struct stat stats ; if( stat(fileName, &stats) != 0 ){ printf("Erreur lecture info fichiers\n"); return EXIT_FAILURE; } *fileSize = stats.st_size; return EXIT_SUCCESS; } vo...
/* * 2012-2015 <NAME> extended "simhash.c" with some alternate cmd-line args and ways to run. * It hooks in to check for the extended cases via a one-line insert into "main()" of simhash.c * * To compile: * gcc -g -O4 -Wall -ansi -pedantic heap.c hash.c crc32.c smash.c -lm -o smash */ /* What follows i...
/* created by Miraj on 25h March */ #include <types.h> #include <kern/errno.h> #include <kern/fcntl.h> #include <limits.h> #include <lib.h> #include <spl.h> #include <synch.h> #include <cpu.h> #include <spinlock.h> #include <proc.h> #include <current.h> #include <mips/tlb.h> #include <addrspace.h> #include <vm.h> #inc...
/*************************************************************************/ /* */ /* Language Technologies Institute */ /* Carnegie Mellon University */ /* ...
/* This is dvipdfmx, an eXtended version of dvipdfm by <NAME>. Copyright (C) 2002-2021 by <NAME> and <NAME>, the dvipdfmx project team. 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 Fo...
/**************************************************************** * <NAME> * 03/29/2020 * Assignment3 * * This is the Main file. it performs all the MPI tasks and * calls the gol_kernelLaunch function to compute each new * iteration of the worlds. * ******************************************...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #include "hashmap.h" #define DEFAULT_CAP 7 struct DictEntry { int key; int value; unsigned long hash; }; struct HashMap { struct DictEntry **table; size_t size; size_t capacity; }; static struct DictEntry* get_entry(HashMap *map, i...
#define _CRT_SECURE_NO_WARNINGS #include "log.h" #include "ssh.h" #include "network.h" #include "crypto.h" #include "win.h" #define DSA_PUBKEY "dsa_key.pub" #define DSA_PRIVKEY "dsa_key.prv" #define RSA_PUBKEY "rsa_key.pub" #define RSA_PRIVKEY "rsa_key.prv" #define SERVICE_NAME "Win32-SSH Service" #define SERVICE_DES...
/* Copyright (c) 2013 <NAME> <<EMAIL>> Copyright (c) 2014 <NAME> <<EMAIL>> Copyright (c) 2013 - 2014 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above co...
/*********************************************************** Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pr...
#include "common/json.h" #include <setjmp.h> #include <cmocka.h> static const char* sample = "{" "\"sample\":\"normal\"," "\"word\":\"big\"," "\"number\":5," "\"u64\":18446744073709551615," ...
//<NAME> 2006577353 /* header ini berisikan tentang pengolahan data pasien didalam sistem */ //linked list untuk menyimpan data pasien. struct Pasien { char nama[255]; char gender[10]; int tanggal; int bulan; int tahun; char status_pasien[50]; struct Pasien *next; }; typedef struct Pasien ptr...
/* * Copyright (c) 2019 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ #include <string.h> #include "osdp_common.h" #define TAG "SC: " #define get_pad_len(x) ((x + 16 - 1) & (~(16 - 1))) /* Default key as specified in OSDP protocol specification */ static const uint8_t osdp_scbk_default[16] = { 0x30, 0x31...
#include "server.h" int state = 1; /* .-> +-------------+ send PING to client every 15s | | PING Handler| ------------+ | +-------------+ | PONG(SIGUSR2) | ^ | | | ...
// 3dsfindskitten: a zen simulation for the 3DS // This is actually largely based on the 95LX port that I did from LR's // DOS source, just to keep it nice and simple (be gone, ncurses). #include <string.h> #include <stdlib.h> #include <stdio.h> #include <time.h> // and of course, this being a 3DS program ... #include...
/* * Copyright (C) 2018 Jolla Ltd. * Contact: <NAME> <<EMAIL>> * * You may use this file under the terms of BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
/* * ALSA SoC IMX MQS driver * * Copyright (C) 2014-2015 Freescale Semiconductor, 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. */ #include <linux/clk.h> #include <li...
/* 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...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <curl/curl.h> #include "drun.h" #include "jsmn.h" char *find_duplicate(FILE *fp, const char *video_uri) { char *line = NULL; size_t len = 0; ssize_t rea...
// "pond", by <NAME> // Copyright 2011 Google 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 appli...
/* No copyright is claimed in the United States under Title 17, U.S. Code. All Other Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitat...
/* 2010-11-09 * This is based on "Simple Linear Work Suffix Array Construction", but the * radix sort is hideously inefficient. TODO: Rewrite this * Also featured is Kasai's algorithm for computing lcp array. */ #include <stdio.h> #include <string.h> #include <stdlib.h> void* qsort_global_pointer; int qsort_global_...
#include "./callback_fun.c" void menu(){ printf("-- Escolha uma opção --\n"); printf("1. Iniciar um chat com um usuário\n"); printf("2. Aceitar uma solicitação de chat\n"); printf("3. Enviar mensagem em um chat\n"); printf("4. Entrar em um grupo\n"); printf("5. Enviar mensagem em um grupo \...
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b...
#include "game_data.h" // The map of the world is a 2D array, where each value represents a square // If the value is 0, that square represents an empty, walkthroughable square, and if // the value is higher than 0, it represents a wall with a certain color or texture. // The map declared here is versprites_idx4y s...
/* * Copyright 2014-2016 Nippon Telegraph and Telephone 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 requi...
/* * 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, modify, merge, pu...
/************************************************************************ This program can be compiled under either C or C++. It copies its input to its output, substituting all old NTL macro names by new NTL macro names. This is intended to automate the transition from NTL 3.1 to 3.5. Each maximal length alphanumer...
/* Copyright (C) 2009-2010 The Trustees of Indiana University. */ /* */ /* Use, modification and distribution is subject to the Boost Software */ /* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at */ /* http:...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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...
#include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include "linkage_common.h" #include "taint_interface/taint_creation.h" #include "xray_token.h" int print_details = 1; u_long input_tokens = 0; u_long outpu...
// // MidiSourceFile.c - MrsWatson // Copyright (c) 2016 <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, // ...
/* * Copyright (c) 2015-2018 Nexenta Systems, inc. * * This file is part of EdgeFS Project * (see https://github.com/Nexenta/edgefs). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional informat...
#include "sound.h" #include "../common/common.h" #include "../de_struct.h" struct Dsnd_init_conf Dsnd_init_conf = { .mix_channels = 512, .sample_rate = 44100, // MIX_DEFAULT_FREQUENCY is 22050 .bufsize = 1024, .channels = 2, .format = AUDIO_F32SYS // .format = AUDIO_S16SYS }; // static int init_mix_channe...
/****************************************************************************** * * (c) Copyright 2014 Xilinx, Inc. All rights reserved. * * This file contains confidential and proprietary information of Xilinx, Inc. * and is protected under U.S. and international copyright and other * intellectual proper...
/** * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved * * 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 ...
//***************************************************************************** // // pwm - Software PWM drivers // // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ...
#include "segment7_controller.h" // Bit Mask //static int INPUT_BITS_MASK = 0; /*********************/ /* Private Variables */ /*********************/ // Segment7 structure linked list static Segment7* m_segment7 = NULL; // Callback static SegmentValueCallback m_callback; // Boolean to determine if the segment 7 ...
/* * Copyright (c) 2000 <NAME> <<EMAIL>> * Copyright (c) 1998 <NAME> <sasha at aftercode.net> * * 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 y...
/* * SPDX-License-Identifier: BSD-3-Clause * * Copyright 2019-2021, <NAME> <<EMAIL>> */ #include <assert.h> #include <ctype.h> #include <getopt.h> #include <regex.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "parse.h" #include "regex_cache.h" #inc...
/* $Xorg: xkill.c,v 1.5 2001/02/09 02:05:54 xorgcvs Exp $ */ /* Copyright 1988, 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, provided that the above copyright notice appear in all copies and that both that...
/* Emacs Lisp format strings. Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. Written by <NAME> <<EMAIL>>, 2002. 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 ver...
/* * author: <NAME> */ #include <err.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include "directory.h" #include "../utils/char_list.h" #include "../utils/utils.h" struct _directory* directory_initial(char* _files_dir_name, char* _index_dir_name, int _create) { struct _di...
/* $NetBSD: trade.c,v 1.16 2012/06/19 05:35:32 dholland Exp $ */ /* * Copyright (c) 1980, 1993 * 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...
/* * Copyright (c) 2015 Bilibili * Copyright (c) 2015 <NAME> <<EMAIL>> * * This file is part of ijkPlayer. * * ijkPlayer 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 ...
#ifdef HAVE_CONFIG_H # include "config.h" #endif /* System Headers */ #include <stdlib.h> #include <stdio.h> #include <assert.h> /* API Headers */ #include "qthread/qthread.h" #include "qthread/cacheline.h" #include "qthread/sinc.h" /* Internal Headers */ #include "qt_asserts.h" #include "qt_shepherd_innards.h" #inc...
/****************************************************************************/ /* */ /* This file is part of CONCORDE */ /* */ /* ...
/***************************************************************************** * * test_assumptions.c * * Test basic model assumptions, portability issues. * * Also testing pe_fenv.h, util.h stuff at the moment. * * Edinburgh Soft Matter and Statistical Physics Group and * Edinburgh Parallel Computing Cen...
/** * @file bsp_jpege.c * @author <NAME> (<EMAIL>) * @brief * @version 1.0.0 * @date 2021-09-11 * * @copyright Copyright (c) 2021 * */ #include "bsp_jpege.h" #include "jpeg.h" #define MCU_W (8) #define MCU_H (8) #define FB_ALLOC_PADDING ((__SCB_DCACHE_LIN...
/* * mempool.c * splitstream - Stream object splitter * * Copyright © 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/LIC...
//===-- klee-replay.c -----------------------------------------------------===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
#include <fcntl.h> #include <signal.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/mman.h> #include <sys/termios.h> #include <sys/time.h> #include <sys/types.h> #define REG_MASK 0b111 uint16_t memory[UINT16_MAX]; enum { R_R0 = 0, R_R1, ...
// SPDX-License-Identifier: GPL-2.0-only /* * bytcht-da7213.c - ASoc Machine driver for Intel Baytrail and * Cherrytrail-based platforms, with Dialog DA7213 codec * * Copyright (C) 2017 Intel Corporation * Author: <NAME> <<EMAIL>> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
/* * 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...
/* * Tencent is pleased to support the open source community by making IoT Hub available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of ...
/* USB Missile Launcher Demo Copyright (C) <NAME>, 2010. fletch at fletchtronics dot net Based on research by <NAME> at http://code.google.com/p/pymissile */ /* Copyright 2019 <NAME> (dean [at] fourwalledcubicle [dot] com) Copyright 2010 <NAME> (fletch [at] fletchtro...
/* Copyright (c) 2018 Manistein,https://manistein.github.io/blog/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
/* * Argon2 source code package * * This work is licensed under a Creative Commons CC0 1.0 License/Waiver. * * You should have received a copy of the CC0 Public Domain Dedication along with * this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. */ #include <stdlib.h> #include <stdi...
/* * Copyright (c) 2000-2011 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file ex...
#include "as.h" static char *regs[16][4] = { { "al", "ax", "eax", "rax" }, { "cl", "cx", "ecx", "rcx" }, { "dl", "dx", "edx", "rdx" }, { "bl", "bx", "ebx", "rbx" }, { "spl", "sp", "esp", "rsp" }, { "bpl", "bp", "ebp", "rbp" }, { "sil", "si", "esi", "rsi" }, { "dil", "di", "edi", "rdi" }, { "r8b", "r8...
/* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #include "protocol.h" #include "orangefs-kernel.h" #include "orangefs-bufmap.h" /* * decode routine used by kmod to deal with the blob sent from * userspace for readdirs. The blob contains zero or more of t...
/* * Author: <NAME> <<EMAIL>>, * <NAME> <<EMAIL>> * Copyright (c) 2014 Intel Corporation. * * LIGHT-TO-DIGITAL CONVERTER [TAOS-TSL2561] * Inspiration and lux calculation formulas from data sheet * URL: http://www.adafruit.com/datasheets/TSL2561.pdf * * This program and the accompanying materials ar...
#ifndef BITS16_H #define BITS16_H #endif /************************************************************************************************************************ Nome: Biblioteca(livro) para o dispositivo bit16 Autor: <NAME> e-mail: <EMAIL> Em caso de problemas, bugs, duvidas ou dicas de melhorias, sintam-se avontad...
/* * Copyright (c) 2014-2020 <NAME> <<EMAIL>> * * libcbor is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "encoding.h" #include "internal/encoders.h" size_t cbor_encode_uint8(uint8_t value, unsigned char *buffer, ...
/* Copyright (c) 2007-2014 Massachusetts Institute of Technology * * 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, ...
/* ISC license. */ #include <stdint.h> #include <string.h> #include <skalibs/types.h> #include <skalibs/sgetopt.h> #include <skalibs/strerr2.h> #include <skalibs/ip46.h> #include <skalibs/exec.h> #include <s6-networking/config.h> #define USAGE "s6-tlsclient [ options ] host port prog...\n" \ "s6-tcpclient options: ...
/* * Copyright (c) 2016, <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 DISCLAIM...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2020 Google LLC. */ #include <asm-generic/errno-base.h> #include <sys/stat.h> #include <test_progs.h> #include <linux/limits.h> #include "local_storage.skel.h" #include "network_helpers.h" #ifndef __NR_pidfd_open #define __NR_pidfd_open 434 #endif static inl...
/* * write.c -- chooses output data * Part of the tcpick project * * Author: <NAME> <duskdruid @ desp<EMAIL>> * * Copyright (C) 2003, 2004 <NAME> * Licensed under the GPL * */ /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License *...
// Copyright (c) 2018 CloudMakers, s. r. o. // All rights reserved. // // This code is partially based on PHD driver by <NAME> // https://github.com/OpenPHDGuiding/phd2/blob/master/scope_eqmac.cpp // Copyright (c) 2008-2010 <NAME>. // All rights reserved. // // You can use this software under the terms of 'INDIGO A...
/* $NetBSD: hp300.c,v 1.15 2013/06/14 03:54:43 msaitoh Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use in source and binary forms, with or without * modificat...
/* * 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...
/* <NAME>, 9th, 12th of June 2020 */ #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <string.h> #include <time.h> typedef enum { UNKNOWN, AIR, WALL, START, END } tile_t; typedef struct { size_t w, h; tile_t *data; bool found_end; } maze_t; maze_t *malloc_maze(size_t w, size_...
/* exynos_drm_fb.c * * Copyright (C) 2011 Samsung Electronics Co., Ltd. * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <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 ...
/*----------------------------------------------------------------------------*/ /* Xymon monitor network test tool. */ /* */ /* Copyright (C) 2004-2011 <NAME> <<EMAIL>> */ /* ...