text
stringlengths
3.12k
18.7k
/* Copyright (c) 2010 - 2020, Nordic Semiconductor ASA * 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 * l...
/* * zimg - high performance image storage and processing system. * http://zimg.buaa.us * * Copyright (c) 2013-2014, <NAME> <<EMAIL>>. * All rights reserved. * * Use and distribution licensed under the BSD license. * See the LICENSE file for full text. * */ /** * @file zaccess.c ...
#include <zephyr.h> #include <lvgl.h> #include <stdlib.h> #include <time.h> #include <logging/log.h> #include "../view.h" #include "../service/display_api.h" LOG_MODULE_REGISTER(clock_face, LOG_LEVEL_INF); static uint64_t uptime_ms; static uint64_t last_uptime_ms; static uint64_t elapsed_ms; static struct tm ti; st...
#include <string.h> #include <assert.h> #include <zmq.h> #include <pthread.h> #include <signal.h> #include "zmq_interface.h" #include "suo_macros.h" // TODO: make these configurable #define PRINT_DIAGNOSTICS #define BITS_MAXLEN 0x900 #define DECODED_MAXLEN 0x200 /* One global ZeroMQ context, initialized only once */...
#include <stdio.h> #include <stdlib.h> struct Node { int data; struct Node* next; }; // Linked List Traversal // This function prints contents of linked list starting from the given node. void printList(struct Node* node) { while (node != NULL) { printf(" %d ", node->data); node = node->next; } ...
/* Copyright (c) 2020 <NAME> Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt */ #include <vial/crypto/sha256.h> #include <string.h> /* This is based on SHA256 implementation in LibTomCrypt that was released into * pub...
/** \brief GINA-specific definition of the "spi" bsp module. \author Renato/Fabien, February 2012. */ #include "string.h" #include "stdio.h" #include "stdint.h" #include "eldorado.h" #include "spi.h" //=========================== defines ========================================= //==================...
/*! \file fs.c * * \copyright (C) Copyright 2019 University of Antwerp and others (http://mosaic-lopow.github.io/dash7-ap-open-source-stack/) * * 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 Lice...
/* Code to restore the iptables state, from file by iptables-save. * (C) 2000-2002 by <NAME> <<EMAIL>> * based on previous code from <NAME> <<EMAIL>> * * This code is distributed under the terms of GNU GPL v2 */ #include "config.h" #include <getopt.h> #include <errno.h> #include <stdbool.h> #include <string.h> #in...
/* Declaration for Linux kernel compatibility */ #include <assert.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ptrace.h> #include "extra.h" pid_t victim_pid= -1; char *victim_exe= NULL; #define TRAP_BIT (0x80000000) static struct nlist *exe_nlist; static int ex...
/* * autostart-prg.c - Handle autostart of program files * * Written by * <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 of the GNU General Pub...
/* * This file is part of the coreboot project. * * Copyright (C) 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 distri...
/**************************************************************************** ** Copyright (C) 2020 MikroElektronika d.o.o. ** Contact: https://www.mikroe.com/contact ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
#include <arpa/inet.h> #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "common/common.h" #include "common/sockets.h" #define PORT "6969" #define HOST "localhost" void print_address(struct addrinfo *address_info) { ...
/* 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 src/license_cddl-1.0.txt * or http://www.opensolaris.org...
/* * DIO.c * * Created: 14-04-2021 13:04:17 * Author: KristianHennings */ #include <avr/io.h> #include <hal/DIO.h> /****************************************************************************** * * * Private ...
/* zxdatastore.c - Key Value data structure persistence on filesystem * Copyright (c) 2016 <NAME> (<EMAIL>), All Rights Reserved. * This is confidential unpublished proprietary source code of the author. * NO WARRANTY, not even implied warranties. Contains trade secrets. * Distribution prohibited unless authorize...
#include "../../../inc/raylib.h" #include "gp_space.h" #include <stdio.h> #include <math.h> #include "meteor.h" #include "typedefg.h" #include "guns.h" #include "interface.h" /*************************************************************** PROTOTYPES **/ void mainJetEngineBoost(void); // void GrowGuns(float ship_cente...
/* * 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...
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <math.h> #include <time.h> #include <sys/time.h> #include "./app_layer.h" #include "./link_protocol.h" struct timeval stop, start; int n_packets =0; unsigned char N_...
/* * Copyright (C) 2011 Red Hat Inc. * * Author: * <NAME> <<EMAIL>> * * 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 option)...
/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #include "ff_headers.h" #i...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2021 <NAME> <<EMAIL>> * * Driver for the LetSketch / VSON WP9620N drawing tablet. * This drawing tablet is also sold under other brand names such as Case U, * presumably this driver will work for all of them. But it has only been * tested with a LetSketc...
/***************************************************************************** * * LARGE SCALE MONTE-CARLO Value-at-Risk * * var_module.h * ****************************************************************************/ /* C header functions are declared here */ #ifdef WINDOWS #include <math.h> #endif /*WINDOW...
#include "driver2.h" #include "mgeneric.h" #include "mission.h" #include "glaunch.h" #include "cars.h" #include "players.h" #include "felony.h" #include "replays.h" #include "system.h" // [D] [T] void StorePlayerPosition(SAVED_PLAYER_POS *data) { PLAYER* pl; CAR_DATA* cp; int slot; pl = &player[0]; if (pl->play...
/* * 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.opensola...
#include <convirter/mtree/entry.h> #include <convirter/oci-r/index.h> #include <convirter/oci-r/layer.h> #include <convirter/oci-r/manifest.h> #include <errno.h> #include <fcntl.h> #include <getopt.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/sysmacros.h> #include <t...
// // runtime-bootstrap.c // MonoTestRunner // // Created by <NAME> on 3/30/17. // Copyright © 2017 <NAME>. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <os/log.h> #include <sys/stat.h> #include <errno.h> #include <string.h> #include <TargetConditionals.h> #include "runtime-bootstrap.h...
/* * Copyright (c) 2016 PrivatBank IT <<EMAIL>>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include "pkcs5.h" #include "pkix_macros_internal.h" #include "storage_errors.h" #include "cryptonite_manager.h" #include "PBES2-params.h" #include "hmac.h" #include "as...
/* $Id: delaybuf.c 3841 2011-10-24 09:28:13Z ming $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 <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 Fr...
/*!The Treasure Box Library * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version ...
/* * Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved. * Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "ompi_config.h" #include <unistd.h> #include <sys/types.h> #include <sys/mman.h> #...
// pic32API.c // Eckels // // Contains configuration bits and functions specific to the pic32Mx795F512L // Microcontroller. // Void Reset() // Function: Resets all registers to known values and sets up timer 1 // INPUT: NONE // RETURN: NONE // // bool pinDirection() // Function: sets direction of pins. Input or Ou...
// Copyright (c) <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT License was not distributed with this file, // You can obtain one at https://spdx.org/licenses/MIT.html. #include "matoya.h" // Carbon private interface #define kVK_WinApp 0x6E enum { ...
/* K=9 r=1/3 Viterbi decoder for x86 MMX * Aug 2006, <NAME>, KA9Q * May be used under the terms of the GNU Lesser General Public License (LGPL) */ #include <mmintrin.h> #include <stdio.h> #include <stdlib.h> #include <memory.h> #include "fec.h" typedef union { unsigned char c[256]; __m64 v[32];} decision_t; typedef...
#include <string.h> #include <pgm.h> #include <options/options.h> #include <csm/csm_all.h> #include "hsm.h" #include "hsm_interface.h" const char * banner = "Reads an image, computes HT, de-computes it \n\n"; struct { const char * file_input1; const char * file_input2; const char * prefix; int debug; str...
/* extended_standby.c * * Copyright (C) 2013-2014 allwinner. * * By : liming * Version : v1.0 * Date : 2013-4-17 09:08 */ #include <linux/module.h> #include <linux/init.h> #include <linux/regulator/consumer.h> #include <linux/power/axp_depend.h> static u32 debug_mask = 0; /* * a33_sys_mask: + * ...
/** * @file matrix.c * @author <NAME> (<EMAIL>) * @brief Implements various matrix operations. * **/ /* =================================================================== Copyright (c) 2013, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
/*----------------------------------------------------------------------*\ LST.C Generic lists handling \*----------------------------------------------------------------------*/ #include "lst_x.h" /* IMPORT */ #include "dump_x.h" #include "srcp_x.h" #include "util.h" /* PUBLIC DATA */ void (*(dumpNodeTab...
/* * foo-tools, a collection of utilities for glftpd users. * Copyright (C) 2003 Tanesha FTPD Project, www.tanesha.net * * This file is part of foo-tools. * * foo-tools 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 Soft...
/*****************************************************************************/ /* */ /* typecmp.c */ /* */ ...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* brutalize.c :+: :+: :+: ...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 <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, or (at your o...
/*- * Copyright (c) 2014 <NAME> * Copyright (c) 2015 <NAME> * * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 * ("CTSRD"), as part of the DARPA CRASH research programme. * * @BERI_LICEN...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This ...
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define RAMSIZE 99 struct entry { char* str; int n; }; const struct entry instructions[] = { {"ADD", 1}, // add {"SUB", 2}, // subtract {"STA", 3}, // store {"LDA", 5}, // load {"BRA", 6}, // al...
// -*- mode: c ; coding: koi8 -*- ---------------------------------------- // //------------------------------------------------------------------------------ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <time.h> #include <assert.h> #include "l_abmd.h" #include "plot.h"...
// ------------------------------------------------------------------- // // fault injection primitives // // Copyright (c) 2014 Basho Technologies, Inc. All Rights Reserved. // // This file is provided to you under the Apache License, // Version 2.0 (the "License"); you may not use this file // except in compliance wi...
/* * Copyright (c) 2020 Avnet Asia Pte. Ltd. * * SPDX-License-Identifier: LicenseRef-BSD-3-Clause */ #include <zephyr.h> #include <device.h> #include <drivers/i2c.h> #include "env_sensors_regs.h" #include "env_sensors.h" #define SENSORS_TASK_STACK_SIZE KB(1) #define SENSORS_TASK_PRIORITY K_LOWEST_APPLI...
/* For displaying stuff on the screen */ /* Standard Includes */ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* FreeRTOS and ESP Includes */ #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_freertos_hooks.h" #include "freertos/semphr.h" #include "esp_sys...
// verification of the quantum Metropolis algorithm #include <stdio.h> #include <stdlib.h> #include <math.h> // pseudorandom 64-bit unsigned integer [xorshift1024s() from http://en.wikipedia.org/wiki/Xorshift] uint64_t random64(const uint32_t seed) // 0 for normal use, nonzero seed value to reseed { static uint64_t ...
// Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. #include <openenclave/attestation/plugin.h> #include <openenclave/bits/defs.h> #include <openenclave/internal/print.h> #include <openenclave/internal/raise.h> #include <openenclave/internal/report.h> #include <openenclave/internal/safem...
/* * diff.c : routines for doing diffs * * ==================================================================== * 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 * regard...
#include <unistd.h> #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "bitmap.h" #include "varray.h" #include "image.h" varray_decl(pixel_t) varray_defn(pixel_t); typedef struct { int scale; SDL_Rect translation; } view_t; typedef...
#include "ugen.h" /* ugens to load */ lua_CFunction ugens[] = { open_ugen_delay, open_ugen_follower, open_ugen_gain, open_ugen_impulse, open_ugen_noise, open_ugen_pulseosc, open_ugen_sawosc, open_ugen_sinosc, open_ugen_sndin, open_ugen_sqrosc, open_ugen_step, open_ugen_triosc, NULL }; /* UGen HELPER FU...
/* * Copyright (c) 2011 <NAME> <<EMAIL>>. * * Portions copyright (c) 2008-2010 <NAME> <<EMAIL>>. * * See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details. */ #include <string.h> #include <stdint.h> #include <stdio.h> #include "text_cbits.h" int _hs_text_utf_8_memcmp(const void *a, size_t aoff, const vo...
/* * rabin_polynomial.c * * Created by <NAME> on 09-March-2011. * * Copyright (c) 2011 <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 m...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <assert.h> #include <math.h> #include "viterbi.h" // For testing, we can always choose the most likely probability instead of // randomly sampling //#define DETERMINIS...
#include <stdio.h> #include <string.h> #include <unistd.h> #include <linux/reboot.h> #include <sys/reboot.h> #include <stdlib.h> #include <stdint.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h> #include <dirent.h> #include <sys/mount.h> #include <errno.h> #include <linux/loop.h> #define BOOTDEV_TAG_OFF...
/* * Copyright (c) 2007, Novell Inc. * * This program is licensed under the BSD license, read LICENSE.BSD * for further information */ #define _GNU_SOURCE #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "pool.h" #include "repo.h" #include "chksum.h" #include "solv_xmlpa...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" volatile int16_t x247 = -1; int32_t t1 = 8383406; static volatile int32_t x301 = -1; static uint64_t x304 = UI...
#define CONFIG_H_REVISION "config.h $Rev: 8$ $Date: 2011-08-21 21:29:19 -0700 (Sun, 21 Aug 2011) $" #define PAKLEDFONTS_VERSION "0.0.1" #define COLORS_VERSION "0.0.1" #define TAB 4 //#define TNAME "st-256color" #define TNAME "xterm" #define BORDER 2 #define SHELL "/bin/sh" /* Enable "bold-is-bright" */ /* See: htt...
/* * Copyright 2016, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(D61_...
#include <Python.h> #include "htmldoc.h" typedef enum { INPUT_TYPE_FILE = 0, INPUT_TYPE_HTML, INPUT_TYPE_URL } input_type_t; typedef enum { OUTPUT_TYPE_PDF = 0, OUTPUT_TYPE_PS } output_type_t; static int read_fileurl(const char *fileurl, tree_t **document, const char *path) { _htmlPPI = 72.0f...
/* * SRT - Secure, Reliable, Transport * Copyright (c) 2019 Haivision Systems Inc. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ /******************...
/* * 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...
/** * Original code: automated SDL audio test written by <NAME> "bobbens" * New/updated tests: aschiffler at ferzkopp dot net */ #include <stdio.h> #include "SDL.h" #include "SDL_test.h" /* ================= Test Case Implementation ================== */ /* Fixture */ void _audioSetUp(void *arg) { /* Start SDL...
/* * cycle_map.c - part of the ANTIC emulation * * Copyright (C) 1995-1998 <NAME> * Copyright (C) 1998-2005 Atari800 development team (see DOC/CREDITS) * * This file is part of the Atari800 emulator project which emulates * the Atari 400, 800, 800XL, 130XE, and 5200 8-bit computers. * * Atari800 is free softwa...
/** * APPROXIMATE PATTERN MATCHING * * INF560 X2016 */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <sys/time.h> #include <mpi.h> #define APM_DEBUG 0 char * read_input_file( char * filename, int * size ) { char * buf ; off_t fsize; int fd...
/* Copyright (c) 2020, <NAME>. (<EMAIL>) All rights reserved. This file is part of the topaz project (https://github.com/jcorks/topaz) topaz was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
/*++ /* NAME /* record 3 /* SUMMARY /* simple typed record I/O /* SYNOPSIS /* #include <record.h> /* /* int rec_get(stream, buf, maxsize) /* VSTREAM *stream; /* VSTRING *buf; /* int maxsize; /* /* int rec_put(stream, type, data, len) /* VSTREAM *stream; /* int type; /* const char *data; /* int len; /* AUXILIARY FUNCTIO...
/* This file is based on base64 encode/decode code from https://github.com/superwills/NibbleAndAHalf. The code organization has been slightly modifies to match me own file structure. Original License of the base64 code below. https://github.com/superwills/NibbleAndAHalf base64.h -- Fast base64 encoding and dec...
#include "config.h" #include "packet-norp.h" #include <stdbool.h> #include <stdint.h> #include <epan/packet.h> #include <epan/expert.h> static int dissect_norp(tvbuff_t *, packet_info *, proto_tree *, void *); static value_string const coverage_names[] = { { 0, "NORP Container" }, { 1, "Layer 4 Header" }, { 2, ...
/* libgo2 - Support library for the ODROID-GO Advance Copyright (C) 2020 OtherCrashOverride 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 optio...
#include <assert.h> #include "timer_queue.h" #include "free_list.h" #include "utils.h" p_timer_ticks_t ticks_source; struct dll_node_t timer_queue_memory[TIMER_QUEUE_MEMORY_SIZE]; struct dll_node_t *timer_queue_head = NULL; size_t curr_queue_memory_size = 0; size_t p_next_empty_mode = 0; timer_queue_handle_t curr_han...
/*! \file gd32f450z_eval.c \brief firmware functions to manage leds, keys, COM ports \version 2016-08-15, V1.0.0, firmware for GD32F4xx \version 2018-12-12, V2.0.0, firmware for GD32F4xx */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. Redistribution and use in source and binary f...
/************** score.c Analysis program that computes the PDF-Score from two N-dimensional PDFs. Copyright (c) 2014, <NAME>, <NAME>, <NAME> and <NAME> (from Universidad del Pais Vasco/Euskal Herriko Unibertsitatea) All rights reserved. Redistribution and use in source and binary forms, with or without m...
/******************** (C) COPYRIGHT 2012 ************************************** * File Name : ratechangecic_accel.c * Creater : deh * Date First Issued : 07/31/2012 * Board : Linux PC * Description : Convert 8 Hz accelerometer to 64 Hz (using CIC filter) ************************...
/*- * Copyright (c) 2007 <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) 2018-2019 <NAME> */ #include <vtf.h> #include <stdio.h> #include <string.h> #include <vtm/core/error.h> #include <vtm/core/format.h> #include <vtm/crypto/crypto.h> #include <vtm/net/http/http_client.h> #include <vtm/net/http/http_server.h> #include <vtm/net/http/http_util.h> #include <vtm/net/htt...
/* Copyright (C) 2001-2002 <NAME> Copyright (C) 2006 <NAME> (Mac OSX port) 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 yo...
/* Author: <NAME> <<EMAIL>> Copyright (c) 2014 Cromulence LLC 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, m...
// 0x07007C98 - 0x07007D18 static const Vtx bits_seg7_vertex_07007C98[] = { {{{ 717, 0, 307}, 0, { 6270, 6268}, {0x44, 0x53, 0x41, 0xff}}}, {{{ -716, 0, 307}, 0, { 3886, 3884}, {0x44, 0x53, 0x41, 0xff}}}, {{{ -716, 0, -306}, 0, { 2864, 4906}, {0x44, 0x53, 0x41, 0xff}}}, ...
/* Copyright (c) 20XX 9front * * 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...
#include <elf.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/queue.h> #include <unistd.h> #include <fcntl.h> #include <dirent.h> #include <sys/types.h> #include "include/elffunctions.h" #define DEBUGGING 0 void get_imported_symbols(char* elf_...
// // hilbert.c // // Created by Kotaimen on 7/16/14. // Copyright (c) 2014 Kotaimen. All rights reserved. // #include "hilbert.h" #include "assert.h" /** * Hilbert curve algorithms are taken from (and modified): * <NAME>, Jr., Hakers's Delight Second Edition, 2012. * Chapter 16: Hilbert's Curve */ /* G...
/******************************************************************************* @File : mpu6050.c @Author : 罗涛 @Date : 2019年6月6日 22.18 @Brief : mpu6050驱动代码 @Others : none @History: none Modification: V1.0.0 *******************************************************************************/ #includ...
/* Primality testing * * Copyright (C) 2015 <NAME> */ #include <tt/tt.h> #include <tt/apn/integer.h> #include <common/lib.h> #include "integer.h" #include <string.h> #include "prime-tbl.c" /* Naive algorithm (p < 2^31) */ static bool isprime_naive(uint p) { if (p == 2 || p == 3) return true; if (p < 2 || p % ...
/* malloc.c - C standard library routine. Copyright (c) 1989, 1993 <NAME> You may redistribute this library under the terms of the GNU Library General Public License (version 2 or any later version) as published by the Free Software Foundation. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IM...
/* Copyright (c) 2011 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. * * * TPM error codes. * * Copy-pasted and lightly edited from TCG TPM Main Part 2 TPM Structures * Version 1.2 Level 2 Revision 103 26 Octobe...
/* Copyright (c) 2017, <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 and the...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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...
/* c206.c **********************************************************} {* Téma: Dvousměrně vázaný lineární seznam ** ** Návrh a referenční implementace: <NAME>, říjen 2001 ** Přepracované do jazyka C: <NAME>, říjen 2004 ** Úpravy: <...
/* * DNETLIB.C * * DNET (c)Copyright 1988, <NAME>, All Rights Reserved * * Library Interface for DNET. */ #include <sys/types.h> #include <sys/socket.h> #include <fcntl.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <time.h> #include <errno.h> #...
// 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...
/* Copyright (c) 2019-2022 <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, d...
/* testNFH() */ /* Rip_NFH() */ /* Depack_NFH() */ #include "globals.h" #include "extern.h" /* Noise from Heaven Chipdisk (21 oct 2001) by Iris */ int16_t testNFH ( void ) { /* test 1 */ if ( PW_i < 1080 ) { /*printf ( "#1 (PW_i:%ld)\n" , PW_i );*/ return BAD; } /* test 2 */ PW_Start_Address = PW_...