text
stringlengths
5.8k
28.2k
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <assert.h> #include <err.h> #include "fnv/fnv.h" #include "strset.h" #include "mtmatrix.h" #include "feature.h" #include "toktype.h" #include "mterror.h" #include "mtsclass.h" #include "specialc.h" extern int mtm_sclass_by_pref...
/* // ngx_http_mruby_async.c - ngx_mruby mruby module // // See Copyright Notice in ngx_http_mruby_module.c */ #include "ngx_http_mruby_async.h" #include "ngx_http_mruby_core.h" #include "ngx_http_mruby_module.h" #include "ngx_http_mruby_request.h" #include "ngx_http_mruby_var.h" #include <mruby/array.h> #include <m...
/* * * honggfuzz - fuzzing routines * ----------------------------------------- * * Author: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright 2010-2015 by Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance w...
#include <xcopy.h> #include <gryphon.h> static time_t read_pcap_over_time; static uint64_t adj_v_pack_diff = 0; static uint64_t session_created = 0; static uint64_t packets_considered_cnt = 0; static uint64_t packets_cnt = 0; static struct timeval first_pack_time, last_v_pack_time, ...
// eLua module for Mizar2 Real Time Clock hardware // Modified to include support for Alcor6L. // Language specific includes. // #if defined ALCOR_LANG_TINYSCHEME # include "scheme.h" #endif #if defined ALCOR_LANG_PICOLISP # include "pico.h" #endif #if defined ALCOR_LANG_PICOC # include "picoc.h" # include "interpr...
/* * 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 ...
//#define DEBUG_SCAN #include "runtime.h" #include "debug.h" #include "type_info.h" #include "scan.h" #include "alloc.h" #define SCAN_FL_DEEP (1 << 0) struct scan_stk; struct scan_stkops { int (*sto_init)(struct scan_stk*); int (*sto_fini)(struct scan_stk*); /* performs op on new element */ int (*sto_fill_next)(...
/** * This sample program balances a two-wheeled Segway type robot such as Gyroboy in EV3 core set. * * References: * http://www.hitechnic.com/blog/gyro-sensor/htway/ * http://www.cs.bgu.ac.il/~ami/teaching/Lejos-2013/classes/src/lejos/robotics/navigation/Segoway.java */ #include "ev3api.h" #include "app.h" #de...
#include <pcap/pcap.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> // This header includes Ethernet + IP + TCP uint8_t header[] = { // Ethernet 0xcc, 0xf4, 0x11, 0x13, 0x98, 0x4e, 0xa4, 0x83, 0xe7, 0xcd, 0xbb, 0x48, 0x08, 0x00, // IP 0x45, 0x00, 0x02, 0x8a,...
/* * XFree86 int10 module * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 <NAME> */ #ifdef HAVE_XORG_CONFIG_H #include <xorg-config.h> #endif #include <string.h> #include <unistd.h> #include "xf86.h" #include "xf86_OSproc.h" #include "compiler.h" #def...
/* jack: audio output via JACK Audio Connection Kit copyright 2006 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by <NAME> */ #include <math.h> #include <jack/jack.h> #include <jack/ringbuffer....
#include <inttypes.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <time.h> #include <arpa/inet.h> #include <netinet/in.h> #include <sys/types.h> #include "blake2s.h" #include "config.h" #include "hashseq.h" #include "http_hostcalls.h" #include "ratelimit.h" #include "utils.h" static uint8_t *...
/* $XConsortium: spinfo.c,v 1.15 94/04/17 20:17:50 gildea Exp $ */ /* * Copyright 1990, 1991 Network Computing Devices; * Portions Copyright 1987 by Digital Equipment Corporation * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted withou...
#include <bteifgl.h> #include <bteifgl_main.h> MSP430_Context *msp_ctx; byte *graph_buf; int graph_chcnts[16]; byte graph_chlval[16]; int graph_rov; int graph_cnt; int graph_tex; int graph_dirty; int graph_outpin; byte ui_wpot[16]; int ui_wpsel; int main_prestart(int argc, char *argv[]) { GfxDrv_SetDefaults("BTE M...
/* JetHelp - Simple ManPage utility for JetTask Copyright (C) 2015 <NAME>, JetSpace Goals: - View Manpages, using a WebKit2 Engine */ #include <gtk/gtk.h> //GTK #include <webkit2/webkit2.h> //WebKit Engine, to display manpages #include <stdio.h> //file utilies #include <string.h> #incl...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "ProjetoEscola.h" #include <time.h> void listarProfessores (Professores professores[], int qtd_professores){ if(qtd_professores<0){ printf("\nNão existem professores cadastrados.\n"); }else{ printf("\n------------ Listagem d...
//------------------------------------------------------------------------------ // arraytex-sapp.c // 2D array texture creation and rendering. //------------------------------------------------------------------------------ #include "sokol_app.h" #include "sokol_gfx.h" #define HANDMADE_MATH_IMPLEMENTATION #define HA...
/* ** Implementation of LISA algorithm ** for statistical inference of fMRI images ** ** 2nd level inference for grouped samples, two-sample ttest, paired t-test ** ** G.Lohmann, MPI-KYB, 2018 ** <NAME>, University of Oulu, 2020 */ #include <viaio/Vlib.h> #include <viaio/file.h> #include <viaio/mu.h> #include <viaio/op...
struct mapper { uint16_t reg_low; uint16_t reg_high; uint8_t prg_size; uint8_t chr_size; uint8_t chr_slots; uint16_t prg_addr; uint8_t prg_mask; uint8_t prg_shift; uint8_t chr0_mask; int8_t chr0_shift; uint8_t chr1_mask; int8_t chr1_shift; bool chr_combine; uint8_t mirror_table; uint8_t mirror_mask; uin...
/* * chasetrace.c * Where all the hard work concerning chasing * and tracing is done * (c) 2005, 2006 NLnet Labs * * See the file LICENSE for the license * */ #include "drill.h" #include <ldns/ldns.h> /* Cache all RRs from rr_list "rr_list" to "referrals" database for lookup * later on. Print the NS RRs tha...
/* TiMidity++ -- MIDI to WAVE converter and player Copyright (C) 1999-2004 <NAME> <<EMAIL>> Copyright (C) 1995 <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;...
/* 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...
/* Copyright 2013 <NAME>. See the LICENSE file at the top-level directory of this distribution and at https://github.com/bliksemlabs/rrrr/. */ /* realtime.c */ /* Fetch GTFS-RT updates over Websockets Depends on https://github.com/warmcat/libwebsockets compile with -lwebsockets -lprotobuf-c protoc-c ...
/*********************************************************************** * * * MEME++ * * Copyright 1994--2017, The Regents of the University of California * * Author: <NAME> ...
/* tasn_enc.c */ /* Written by Dr <NAME> (<EMAIL>) for the OpenSSL * project 2000. */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are p...
/* * Copyright (c) 2017, NXP * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> #include "hrs3300.h" #include "hrs3300_reg_init.h" #define MY_REGISTER3 (*(volatile uint8_t*)0x2000F002) LOG_MODULE_REGISTER(HRS3300, CONFIG_SENSOR_LOG_LEVEL); static int hrs3300_sample_fetch(struct device *dev, enum...
/****************************************************************************** * * Copyright 2018 Xaptum, 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 * * htt...
/* diskmodel (version 1.0) * Authors: <NAME>, <NAME> * Contributors: <NAME>, <NAME>, <NAME> * * Copyright (c) of Carnegie Mellon University, 2001-2008. * * This software is being provided by the copyright holders under the * following license. By obtaining, using and/or copying this * software, you agree that ...
/* This file is part of the Brother MFC/DCP backend for SANE. 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 prog...
# 1 "hls/top_aes.c" # 1 "hls/top_aes.c" 1 # 1 "<built-in>" 1 # 1 "<built-in>" 3 # 149 "<built-in>" 3 # 1 "<command line>" 1 # 1 "/nfs/tools/xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1 # 305 "/nfs/tools/xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" voi...
#include "bofh.h" #include "sincos.h" #include "extern.h" typedef struct { int xb; int yb; int used; } RANDOMLOCATION; int begintime[MAX_DIFF]; int beginbombs[MAX_DIFF]; int beginterrorists[MAX_DIFF]; int beginpistolmen[MAX_DIFF]; int beginshotgunmen[MAX_DIFF]; int beginuzimen[MAX_DIFF]; int begin...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "mathfunctions.h" #include "MeshAttributes.h" extern double RoeFlux(double *Fhatdotn, double zeta_in, double zeta_ex, double Qx_in, double Qx_ex, double Qy_in, double Qy_ex, double z_edge, double nx, double ny, double localG); //extern void Compute2DIn...
/* * Copyright (c) 2016, Texas Instruments Incorporated * 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) 1992, Silicon Graphics, Inc. * ALL RIGHTS RESERVED * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the above * copyright notice appear in all copies and that both the copyright notice * and this permissio...
/* *************************************************************************** * * Copyright (c) 2020 Samsung Electronics All Rights Reserved. * * 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 Licen...
/* Copyright (C) 1995-2001 Activision, Inc. 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 version. This library is distribu...
// // Median.c // Proc // // Created by <NAME> on 19/10/2016. // Copyright © 2016 IAOMW. All rights reserved. // #include "Median.h" void swap_u8(uint8_t* v, int i, int j) { uint8_t c; c = v[i]; v[i] = v[j]; v[j] = c; } uint8_t q_s(uint8_t* v, int left, int right, int p_m) { while(left<right) { /...
// File created: 2012-01-27 22:57:55 #include "space/place-box.98.h" #include <alloca.h> #include <assert.h> #include "aabb/consume.98.h" #include "aabb/subsume.98.h" #include "aabb/space-area.98.h" #include "config/tunables/placement.h" typedef struct consumee { mushboxen_iter iter; size_t size; void* ite...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "hashtable.h" char *getNextWord(FILE *fd){ int index = 0; int charValue; char word[MAX_WORD_SIZE]; while((charValue = fgetc(fd)) != EOF) { if(isspace(charValue)) { word[index] = '\0'; return (ch...
/* * 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_system.h" #include "esp_log.h" #include "nvs_flash.h" #include "bt.h" #include "bta_api.h" #include "esp_gap_ble_api.h" #include "esp_gatts_api.h" #inclu...
/* * misc.c: miscellaneous support fns * * Copyright (c) 2010, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the...
#include <SDL/SDL.h> #include <GL/gl.h> #include <GL/glu.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include <stdarg.h> #include "fontstash.h" #include "tsprintf.h" typedef struct { float m_LEDSegmentScaleNow[7]; float m_LEDSegmentScaleTgt[7]; } LEDSegments_t; typedef int (*gfx...
/* - B I T M A P . C - * Purpose: * Bitmap and Listbox support functions for InBox in sample mail client. * * Copyright 1993-1995 Microsoft Corporation. All Rights Reserved. */ #include <stdlib.h> #include <string.h> #include <windows.h> #include <windowsx.h> #ifdef _WIN32 #include <objerr...
#define _SYSTEM 1 #include <minix/callnr.h> #include <minix/com.h> #include <minix/config.h> #include <minix/const.h> #include <minix/ds.h> #include <minix/endpoint.h> #include <minix/minlib.h> #include <minix/type.h> #include <minix/ipc.h> #include <minix/sysutil.h> #include <minix/syslib.h> #include <minix/safecopi...
// ----------------------------------------------------------------------------- // Test case for probabilistic symbolic simulation. sort.c // C program to sort the array in an // ascending order using selection sort // Created by <NAME> <<EMAIL>> on November 09, 2020. // Copyright (c) 202...
/* * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (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.com/apache2.0 * * or in the "license" ...
#include "ekfRollPitchYaw.h" static double g; static double x[7]; static double P[49]; static double Q[49]; static double R[16]; static double noiseGyr; static double noiseAcc; static double noiseMag; static double noiseBias; static void ekfRollPitchYaw_init(void); static void mrdivide(double A[28], const double B[1...
/* ************************************************************************ * !PLEASE NOTE! With the introduction of CEDIT you should control * * most of these entries from WITHIN THE GAME VIA CEDIT * * the values are load from the file lib/etc/config * * Please check there before making changes to ...
#include <inttypes.h> #include <stdio.h> #include <string.h> #include <json.h> #include <parserutils/input/inputstream.h> #include <hubbub/hubbub.h> #include "utils/utils.h" #include "tokeniser/tokeniser.h" #include "testutils.h" typedef struct context { const uint8_t *pbuffer; const uint8_t *input; size_t i...
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* * fsdist Summarize file system operations latency. * * Copyright (c) 2021 <NAME> * 20-May-2021 <NAME> Created this. */ #include <argp.h> #include <libgen.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ti...
/* For license: see LICENSE file at top-level */ // Copyright (c) 2018 - 2020 Arm, Ltd #include "shmemio.h" #include "shmemio_server.h" #include "shmemio_test_util.h" #include "shmemio_stream_util.h" #ifdef ENABLE_DEBUG int shmemio_log_level = 0; void shmemio_set_loglvl(char *lvl) { if (strcmp(lvl, "error") == 0)...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/******************************************************************************* * libraphique.c * * Quelques fonctions C basées sur la SDl pour réaliser des opérations * * graphiques simples ...
////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2014-2017 Wildlife Acoustics, Inc. // // 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 witho...
#include "Doom.h" #include <IntMath.h> #define OPENMARK ((MAXSCREENHEIGHT-1)<<8) /********************************** This code will draw all the VERTICAL walls for a screen. Clip values are the solid pixel bounding the range floorclip starts out ScreenHeight ceilingclip starts out -1 clipbounds[] = (ceilingcl...
/********************************************************************************/ /* */ /* Hierarchy Commands */ /* Written by <NAME> */ /* IBM Thomas J. Watson Research Center */ /* $Id: HierarchyCommands.c 1047 2017-07-20 18:27:34Z kgoldman $ */ /* */ /* L...
/* sshwinstdiostream.c - Win32 version Copyright: Copyright (c) 2002 - 2009 SFNT Finland Oy. All rights reserved. Implementation of asynchronous stdin/stdout/stderr I/O operations. On Windows, file handles can not be put into non-blocking mode after creation. Since a process can't control how ...
/*-------------------------------------------------------------------- NAS Parallel Benchmarks 2.3 OpenMP C versions - EP This benchmark is an OpenMP C version of the NPB EP code. The OpenMP C versions are developed by RWCP and derived from the serial Fortran versions in "NPB 2.3-serial" developed by NAS. ...
/* Extended Module Player * Copyright (C) 1996-2016 <NAME> and <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...
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/axpPci.c,v 1.14 2002/12/11 02:44:28 dawes Exp $ */ /* * Copyright 1998 by Concurrent Computer Corporation * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without fee, * provi...
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2017 Intel Deutschland GmbH * Copyright(c) 2018 - 2020...
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * 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 not...
/* Copyright (c) 2019, Intel Corporation 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 disclaime...
/* Extended Module Player * Copyright (C) 1996-2016 <NAME> and <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...
/* -*- coding: utf-8-unix -*- * * ReplyTo extension plug-in * -- * Copyright (c) 2012-2015, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of s...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2019-2022 Intel Corporation */ /* phil.c - Dining Philosophers problem */ /** DESCRIPTION This demo demonstrates multitasking by providing two solutions to Dijkstra's famous dining philosophers problem. The main goal of the problem is to find ways to avoid bo...
/* Copyright © 2020 Arista Networks, Inc. All rights reserved. * * Use of this source code is governed by the MIT license that can be found * in the LICENSE file. */ #include <err.h> #include <errno.h> #include <grp.h> #include <inttypes.h> #include <limits.h> #include <pwd.h> #include <stddef.h> #include <stdint....
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <stdbool.h> #include <sys/time.h> #include <unistd.h> #include "mkl.h" #include <immintrin.h> #include "omp.h" void build(char* build_file, char* data_folder, char* dest_folder, char* eval_mode, int rank); void p...
/* $OpenBSD: rs.c,v 1.30 2015/12/03 12:23:15 schwarze Exp $ */ /*- * Copyright (c) 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: * 1....
// 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) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of ...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2008 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This progra...
/* * Copyright (c) 2017, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of cond...
/* Copyright (c) Siemens AG, 2020 <EMAIL> SPDX-License-Identifier: MIT */ #include <regex.h> #include "utils.h" #define MAX_MATCH_GROUPS 20 int fTIME; // force time() value char *RESULTS_PATH = "sifu_results"; char *RESULTS_FNAME = "unit_test.json"; char *timerTCName = "TIMER_1"; size_t ...
#include "mex.h" #include "math.h" #ifdef MAX #undef MAX #endif #define MAX(a, b) ((a)>(b)?(a):(b)) #define n 3 /* This function * * * */ /* Eigen decomposition code for symmetric 3x3 matrices, copied from the public * domain Java Matrix library JAMA. */ static double hypot2(double x, double y) {...
/* * Copyright (c) 2d3D, Inc. * Written by <NAME> <<EMAIL>> * All rights reserved. * * Renamed to flashcp.c to avoid conflicts with fcp from fsh package * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. R...
#include <stdbool.h> #include <stdlib.h> #include <string.h> #include "ini.h" #define FILENAME "config.ini" #define ARRAY_GROW_SIZE 8 #define SECTION_NAME_LEN_MAX 64 #define KEY_LEN_MAX 64 #define VALUE_LEN_MAX 8192 #define TEST_BUF_LEN_MAX 8192 typedef FILE *(*FopenFunc)(const c...
/* Heater Control Test. Prototype C This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #inc...
#include <zephyr.h> #include <kernel_structs.h> #include <stdio.h> #include <string.h> #include <time.h> #include <console/console.h> #include <power/reboot.h> #include <logging/log_ctrl.h> #include <drivers/gps.h> #if defined(CONFIG_BSD_LIBRARY) #include <modem/bsdlib.h> #include <bsd.h> #include <modem/...
#include <stdio.h> #include <string.h> #include <endian.h> #include "common.h" #include "rtmp_type.h" #include "md5.h" int hostapd_get_rand(u8 *buf, size_t len) { FILE *f; size_t rc; f = fopen("/dev/urandom", "r"); if (f == NULL) { printf("Could not open /dev/urandom.\n"); return -1; } rc = fread(buf, 1...
/* Following program prints the superblock information and other information regarding the Filesystem This program also prints the inode number , permissions , filesize, uid, gid , ilink count and time for each file and folder similar to the functionality of ls -il. Authors : <NAME> and <NAME>. usage : type mak...
#include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include <inttypes.h> #include "dvd_subtitle_decoder.h" #include "ccx_common_common.h" #include "ccx_decoders_structs.h" #include "ocr.h" #include "ccx_decoders_common.h" #define MAX_BUFFERSIZE 4096 // arbitrary value #define RGBA(r, g, b...
/******************************************************************************* * * * PONG GAME * * ...
#include <stdio.h> #include <time.h> #include <string.h> #include <stdlib.h> #include <pthread.h> #include <unistd.h> #include <stdio_ext.h> #include <termios.h> #include <unistd.h> #include <assert.h> #include <string.h> /* mechanics * salvar Score em texto e exibir */ /*ERROSSSSSSSSSS * bloco começando do me...
/* * $Id: sendserver.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ * * Copyright (C) 1995,1996,1997 <NAME> * * Copyright 1992 Livingston Enterprises, Inc. * * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan * and Merit Network, Inc. All Rights Reserved * * See the file COPYRIGHT for the re...
/* Materia: Algoritmos y Estructura de Datos II - 2020 FAMAF <<<<< EJERCICIO ENTREGABLE 1 >>>>> Alumna: - Vispo, <NAME> Link de descarga: https://wiki.cs.famaf.unc.edu.ar/lib/exe/fetch.php?media=algo2:main:ejercicio_entregable_1.zip Teórico: https://wiki.cs.famaf.unc.edu.ar/lib/exe/fetch.php?media=algo2:ma...
#include <stdio.h> #include <stdbool.h> #include <getopt.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <limits.h> #include <time.h> #include <sys/stat.h> #include "ook.h" #define ACURITE_MSGTYPE_5N1_WINDSPEED_WINDDIR_RAINFALL 0x31 #define ACURITE_MSGTYPE_5N1_WINDSPEED_TEM...
/* O C T R E E . C * BRL-CAD * * Copyright (c) 1986-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
/* Mesh Internal Communication Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #incl...
/* $OpenBSD: pass5.c,v 1.48 2015/01/20 18:22:21 deraadt Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* * Copyright (c) 1980, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifi...
/* xgettext Smalltalk backend. Copyright (C) 2002-2003, 2005-2009 Free Software Foundation, Inc. This file was 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 F...
/* Copyright (C) 2009 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ /* crTree chromosome r tree. This module creates and uses a disk-based index that can find items * that overlap with a chromosome range - something of the form chrN:s...
/* Mulator - An extensible {e,si}mulator * Copyright 2011-2020 <NAME> <<EMAIL>> * * Licensed under either of the Apache License, Version 2.0 * or the MIT license, at your option. */ #include <unistd.h> #include "m3_ctl.h" #include "i2c.h" #include "ice_bridge.h" #include "memmap.h" #include "cpu/periph.h" #inc...
#include <stdio.h> // eva #include "adt/sds.h" #include "adt/vec.h" #include "rng/srng64.h" #include "rng/srng64_normal.h" // mlvm #include "vm.h" // cmd #include "../helpers.h" #include "mnist.h" static error_t initTensorWRng(struct vm_t *, struct srng64_t *, int w); static error_t initTensorWZeros(struct vm_t *, ...
#include "mex.h" //TODO: point to something that defines this #ifdef _WIN32 #include "windows/git2.h" #else #include "mac_os/git2.h" #endif #include "branch.h" #include "commit.h" #include "index.h" #include "repo.h" #include "remote.h" #include "object.h" #include "oid.h" #include "reference.h" #include "revwalk.h"...
#include <stdio.h> #include "spectrum.h" #include <stdlib.h> #include <math.h> #include <string.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <errno.h> int Ntau = 72; void inmodel(); void Density(); void hotDensity(atmosphere *model,atominfo *atom,double ah,double ahe,i...
// Copyright 2019 Espressif Systems (Shanghai) PTE 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 applic...
/*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/covariance_analysis.c,v 1.4 2006/11/25 23:49:43 avi Exp $*/ /*$Log: covariance_analysis.c,v $ * Revision 1.4 2006/11/25 23:49:43 avi * Solaris 10 * * Revision 1.3 2005/12/12 06:47:59 avi * obtain values nsub, mlag, nreg from input * also output ACR...
/* * Copyright (c) 2009-2014, <NAME> <antirez at gmail dot com> * Copyright (c) 2009-2014, <NAME> <pcnoordhuis at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Red...