text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <sys/time.h>
#include <err... |
/*
* keyfiles.c - private and public key handling for authentication.
*
* This file is part of the SSH Library
*
* Copyright (c) 2003-2009 by <NAME>
* Copyright (c) 2009 by <NAME> <<EMAIL>>
*
* The SSH Library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser G... |
/*
* PKCS #11 Lite Test
*
* Copyright (c) 2020 <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <stdio.h>
#include <stdlib.h>
#define CRYPTOKI_GNU 1
#include <p11-kit/p11-kit.h>
#include <p11-lite.h>
static struct ck_function_list **modules;
static const char *chomp (void *s, size_t le... |
/*
Copyright (c) 2016 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to al... |
/**
* @file
*
* @author <EMAIL>
*
* Copyright (c) 2015 Battelle Memorial Institute.
*/
#include "config.h"
#include <stdint.h>
#include <stdlib.h>
#include <immintrin.h>
#include "parasail.h"
#include "parasail/memory.h"
#include "parasail/internal_avx.h"
#define NEG_INF (INT32_MIN/(int32_t)(2))
#if HAVE_AVX... |
/*
* main.c : Load/Save game sample
*
* Copyright (C) <NAME> (KaKaRoTo)
*
* This software is distributed under the terms of the MIT License
*
*/
#include "rsxutil.h"
#include <io/pad.h>
#include <sys/thread.h>
#include <sys/memory.h>
#include <sysutil/video.h>
#include <sysutil/sysutil.h>
#include <sysutil/sav... |
/* .DST (Tajima) embroidery file read/write routines
* Format comments are thanks to <EMAIL> who's
* notes appeared at http://www.wotsit.org under Tajima Format.
*/
#include "format-dst.h"
#include "emb-file.h"
#include "emb-logging.h"
#include "helpers-binary.h"
#include "helpers-misc.h"
#include <math.h... |
/* uuid.c -- Universally Unique Identifier routines */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 2000-2017 The OpenLDAP Foundation.
* Portions Copyright 2000-2003 <NAME>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with o... |
/*
* Copyright © 2004-2007 <NAME>
*
* 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 copyright notice and this permission notice
* appea... |
#include "driver2.h"
#include "replays.h"
#include "map.h"
#include "spool.h"
#include "system.h"
#include "cutscene.h"
#include "players.h"
#include "glaunch.h"
#include "mission.h"
#include "director.h"
#include "camera.h"
#include "civ_ai.h"
#include "cutrecorder.h"
char AnalogueUnpack[16] = {
0, -51, -63, -75, -... |
#include <ddsbench.h>
#include <../idl/ddsbench.h>
#include <lite.h>
#define NS_IN_ONE_SEC 1000000000
#define BYTES_PER_SEC_TO_MEGABITS_PER_SEC 125000
#define MAX_SAMPLES 100
typedef struct HandleEntry
{
dds_instance_handle_t handle;
unsigned long long count;
struct HandleEntry * next;
} HandleEntry;
typedef ... |
//
// .::::.
// .::::::::.
// :::::::::::
// ..:::::::::::'
// '::::::::::::'
// .::::::::::
// '::::::::::::::..
// ..::::::::::::.
// ``:::::::::::::::: Hello Boy!!!
// ... |
/* ASF RTP Payloader plugin for GStreamer
* Copyright (C) 2009 <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 opt... |
/* Copyright 2004,2007-2016,2018-2020 IPB, Universite de Bordeaux, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distributio... |
/**
* \file dnn/src/fallback/conv_bias/gi/fp32/helper.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed... |
/*-
* Copyright (c) 2019
* <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 source code must retain the above copyright
* notice, this lis... |
/*
* Intel Wireless Multicomm 3200 WiFi driver
*
* Copyright (C) 2009 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... |
/*
* Test program, which can detect some problems with nearest neighbour
* and bilinear scaling in pixman. Testing is done by running lots
* of random SRC and OVER compositing operations a8r8g8b8, x8a8r8g8b8
* and r5g6b5 color formats.
*
* Script 'fuzzer-find-diff.pl' can be used to narrow down the problem in
* ... |
/* ----------------------------------------------------------------------------
* SAM Software Package License
* ----------------------------------------------------------------------------
* Copyright (c) 2015, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source and bi... |
/* NetHack 3.6 winstr.c $NHDT-Date: 1432512795 2015/05/25 00:13:15 $ $NHDT-Branch: master $:$NHDT-Revision: 1.7 $ */
/* Copyright (c) <NAME>, Naperville, Illinois, 1991,1992,1993. */
/* NetHack may be freely redistributed. See license for details. */
#ifndef CROSS_TO_AMIGA
#include "NH:sys/amiga/windefs.h"
#include... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <genericLogger.h>
#include <marpaESLIF.h>
const static char *swifts = "\n"
"#\n"
"# Ref: https://docs.swift.org/swift-book/ReferenceManual/AboutTheLanguageReference.html\n"
"#\n"
":start ::= <start>\n"
":discard ::= <whi... |
/*
* Copyright © 2021 <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 ... |
/*================================================================
* Copyright: 2020 <NAME>
* HelloGS
A Bare bones application for getting started using `gunslinger`.
Creates an appplication context, an engine context, and then
opens a main window for you using the rendering context.
Press `e... |
/*
* GStreamer
* Copyright (C) 2018 <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) any later version.
*... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2010 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 ... |
/* ----------------------------------------------------------------- */
/* The Speech Signal Processing Toolkit (SPTK) */
/* developed by SPTK Working Group */
/* http://sp-tk.sourceforge.net/ */
/* -----------------------------... |
/*
* Copyright <2012> <<NAME>,<NAME>, <NAME>>
* Copyright <2013-2018> <<NAME>, <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 right... |
/*
* Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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 ... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#define F_BALANCES "balance.csv"
#define F_INFO "info.csv"
#define LEN_NOMBRE 50
#define LEN_TARJETA 30
#define LEN_PIN 8
#define LEN_BUFFER 1024
#define NUM_USUARIOS 1
#define NUM_PERSONA 1
#define LEN_PASSWD 512
#define NUM_BALANCES 20
#defi... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
/*
* File: wave3d.c
*
* Created on August 13, 2011, 1:45 PM
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/freeglut.h>
int res[3]; // X, Y, and Z resolution of the grid
float scale; // How much to scale up the grid
int run; // Whether to run
in... |
/*
* 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... |
/*
* $Xorg: print.c,v 1.1 2004/04/30 02:05:54 gisburn Exp $
*
Copyright 2004 <NAME> <<EMAIL>>
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
copyr... |
/*
* 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 <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <omp.h>
#define PI 3.141592
/*Structure for the particles in the original catalog*/
typedef struct Particle {
int label; /*Label of the particle*/
float pos[3]; /*Array with the position of the particle*/
float vel[3]; /*Array with the velocity ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/* -- export.c
This file contains the routines for extracting the sequence of
postal attributes and definitions produced by the standardizer
into strings of text (in __standard_fields__).
Prototype 7H08 (This file was written by <NAME>).
Copyright (c) 2009 <NAME>
Modifications Copyright (c) 2017 - Present Pivotal So... |
/*
* SDVO command definitions and structures.
*
* Copyright (c) 2008, Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is ... |
/*
* Copyright (c) 2019, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "errno.h"
#include "unistd.h"
#include "fcntl.h"
#include "HW6-expr.h"
#include "HW6-expression.h"
#define IMPLEMENTED 1
#define OP_VAR 257
#define MAXRULES 100
exprnode *lhs[MAXRULES], *rhs[MAXRULES];;
/********************************************... |
#include "hardware.h"
#include <stdio.h>
static vLayout nesNTSCLay = {{341,262},{0,0},{85,22},{256,240},{0,0},64};
static vLayout nesPALLay = {{341,312},{0,0},{85,72},{256,240},{0,0},64};
// NOTE: NES is fukkeen trash. why did i start this?
// NOTE: Cartridges have potentially 255+ mappers
// NES...
// NTSC 89342 d... |
// MIT License
//
// Copyright (c) 2020 <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, merg... |
/*
* Driver for Sensirion SHT3x digital temperature and humidity sensor
* connected to I2C
*
* This driver is for the usage with the ESP8266 and FreeRTOS (esp-open-rtos)
* [https://github.com/SuperHouse/esp-open-rtos]. It is also working with ESP32
* and ESP-IDF [https://github.com/espressif/esp-idf.git] as well ... |
/*
* Fonts
*
* <NAME>
*
*/
#include <stdint.h>
#include <stdbool.h>
#include "fonts.h"
static VideoFont A, B, C, D, E, F, G, H, I , J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z;
static VideoFont DOLLAR_SIGN;
static VideoFont* char_font_map[127];
static bool char_is_implemented[127];
bool fonts_is_implemented... |
/*
Copyright (c) 2019 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicen... |
/*
* Copyright (C) 2009 <NAME>.
* Copyright 2012 Advanced Micro Devices, Inc.
*
* 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 restriction, including... |
//
// WKWalletConnectorETH.c
// WalletKitCore
//
// Created by <NAME> on 8/23/21.
// Copyright © 2021 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
//
#include "walletkit/WK... |
#include "ST7735.h"
void ST7735_GPIO_Init(void){
// SPI2 Pins
// RES: PB5
// DC: PB4
// CS: PB3
GPIO_InitTypeDef GPIO_InitStruct;
__GPIOB_CLK_ENABLE();
__GPIOC_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_5|GPIO_PIN_4|GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.... |
/*
* Lazy K interpreter
*
* Copyright 2008 irori <<EMAIL>>
* This code is licensed under the MIT License (see LICENSE file for details).
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <time.h>
#include <assert.h>
#include <stdint.h>
#define VERSION... |
#include "level.h"
static const char *TEST_WATER = "/home/david/Programmieren/C/ChonkerDefenceAssets/assets/textures/world/wasser.png";
static const char *TEST_GRASS = "/home/david/Programmieren/C/ChonkerDefenceAssets/assets/textures/world/grastest.png";
static const char *TEST_SHORES = "/home/david/Programmieren/C/Ch... |
#include <u.h>
#include <libc.h>
#include <thread.h>
#include "usb.h"
#include "usbfs.h"
#include "serial.h"
#include "prolific.h"
Cinfo plinfo[] = {
{ PL2303Vid, PL2303Did },
{ PL2303Vid, PL2303DidRSAQ2 },
{ PL2303Vid, PL2303DidDCU11 },
{ PL2303Vid, PL2303DidRSAQ3 },
{ PL2303Vid, PL2303DidPHAROS },
{ PL2303Vid,... |
/* $OpenBSD: pchb.c,v 1.41 2003/11/07 16:43:08 mickey Exp $ */
/* $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
/*
* Copyright (c) 2000 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
/* BEGIN_ICS_COPYRIGHT5 ****************************************
Copyright (c) 2015-2020, 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 copyrig... |
/*! \file ser_lt_ser_control.c
*
* Functions used to get or update cache and IMM of SER_CONTROLt
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
* This license governs the use of the accompanyi... |
/*
MIT License
Copyright (c) 2017-2019 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mo... |
//------------------------------------------------------------------------------
// <copyright file="DX11Utils.h" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
#pragma once
#inclu... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <limits.h>
#include <time.h>
#include <sys/time.h>
#define PROC_FILE_BUFFER_SIZE 4096
struct proc_uptime... |
/*
* This file is released under the terms of the Artistic License. Please see
* the file LICENSE, included in this package, for details.
*
* Copyright (C) 2003-2006 <NAME> & Open Source Development Labs, Inc.
*
* Based on TPC-C Standard Specification Revision 5.0 Clause 2.8.2.
*/
#include <sys/types.h>
#inclu... |
/*
* The Yices SMT Solver. Copyright 2015 SRI International.
*
* This program may only be used subject to the noncommercial end user
* license agreement which is downloadable along with this program.
*/
#if defined(CYGWIN) || defined(MINGW)
#ifndef __YICES_DLLSPEC__
#define __YICES_DLLSPEC__ __declspec(dllexport... |
/*
* Author: <NAME>
*
* Description: A simple terminal based game about social distancing. Simply make your
* way through the forest without encountering other people. Take some
* trees with you along the way to achieve a high score.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <t... |
/*
* SSD1306.c
*
* Created on: 4 juin 2020
* Author: <NAME>
*/
#include "SSD1306.h"
static I2C_HandleTypeDef *i2c_;
static uint8_t gddram[4][128];
#define address 0x78 // SSD1306 128x32 can only have one I2C address
/* Fonts */
#define CHAR_WIDTH 6
#define CHAR_HEIGHT 8
static char fonts[96][6] = {
{0x0... |
/*
Conundrum 64: Commodore 64 Emulator
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... |
#include "rvm.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
#include "seqsrchst.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
/*
Initialize the library with the specified directory as backing store.
*/
// Global variables
// This is our globa... |
//-----------------------------------------------------------------------------
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The sourc... |
/*
* Copyright (c) 2015 - 2016 , Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
* All rights reserved.
* ... |
// The MIT License (MIT)
//
// Copyright (c) 2014 <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, mo... |
/*
* This file is part of the TREZOR project, https://trezor.io/
*
* Copyright (C) 2014 <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 3 of the L... |
/*
* Copyright (c) 2012-2013 Etnaviv Project
*
* 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... |
//********************************************************
// This file part of my Obsequi front end.
//********************************************************
//
// Copyright (C) 2001 <NAME>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public Lice... |
/**
* \file
* \brief Adds information from CPUID for the core it is running on to the SKB
*/
/*
* Copyright (c) 2007, 2008, 2009, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* E... |
//SPDX-License-Identifier: BSD-3-Clause-Clear
/*
* ssdfs-utils -- SSDFS file system utilities.
*
* sbin/mkfs.ssdfs/mapping_table_cache.c - PEB mapping table cache creation.
*
* Copyright (c) 2014-2021 HGST, a Western Digital Company.
* http://www.hgst.com/
*
* HGST Confidential
* (C) Copyright 201... |
// Copyright 2019 Shift Cryptosecurity AG
// Copyright 2020 Shift Crypto AG
//
// 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
//
// Unl... |
/*
Author: <NAME> (c) 1997
Digital Signature Algorithm (DSA).
See "Handbook of Applied Cryptography"
by <NAME> et al editors
pages 452-453.
*/
#include <malloc.h>
#include <mem.h>
#include <stdio.h>
#include <time.h>
#include "lip.h"
#define LITTLE_ENDIAN
typedef unsigned char uchar;
ty... |
/**
* Copyright 2022 University of Adelaide
*
* 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... |
/* Extended Module Player
* AMOS/STOS Music Bank Loader
* Copyright (C) 2014 <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 l... |
/*
* (C) Copyright 2015 Kurento (http://kurento.org/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/* packet-hci_usb.c
* Routines for Bluetooth HCI USB dissection
*
* Copyright 2012, <NAME> for Tieto Corporation
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gener... |
#include "include/wgtspr.h"
#include "include/mem.h"
#include "include/multicore.h"
// ######## REQUIRED FUNCTIONS ########
unsigned long state0 = 1000;
unsigned long state1 = 2000;
unsigned long rand(void)
{
unsigned long s1 = state0;
unsigned long s0 = state1;
state0 = s0;
s1 ^= s1 << 23;
s1 ^... |
/************************************************************************
svgagui.h -- last change: 2-1-2007
Copyright (C) 1996-2007 <NAME>
This file is part of SVGAgui.
SVGAgui is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fre... |
/*
* Copyright (c) 2004 <NAME> <<EMAIL> All rights
* reserved.
*
* This softwarew cen be used freely in any way as long as the copyright
* statement above is included
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include "tt.h"
#include "coords.h"
#include "db.h"
#include "s... |
/** \file policy_earliest_arrival_countconns.c
* \brief Policy that counts connections and tries to infer number of open ones
*
* \copyright Copyright 2013-2017 <NAME>, <NAME>, and <NAME>.
* All rights reserved. This project is released under the New BSD License.
*
* Behavior:
* Getaddrinfo - Resolve name... |
/* $Id: miniwget.c,v 1.41 2010/12/12 23:52:02 nanard Exp $ */
/* Project : miniupnp
* Author : <NAME>
* Copyright (c) 2005-2010 <NAME>
* This software is subject to the conditions detailed in the
* LICENCE file provided in this distribution. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <... |
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include "oled.h"
#include "pps.h"
#include "regs.h"
#include "ublox.h"
#include "usb.h"
#include "ui.h"
struct sprite {
uint16_t width;
uint16_t height;
uint8_t data[];
};
struct font {
unsigned int width;
unsigned int height;
unsigned int stride;
... |
/*
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 restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... |
/*
* Register all the formats and protocols
* Copyright (c) 2000, 2001, 2002 <NAME>
*
* This file is part of FFmpeg.
*
* FFmpeg 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 ... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_randist.h>
#define TSSIZE 10
#define WL 10000
typedef struct tagInterpolant{
gsl_matr... |
/* spkpvn.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__2 = 2;
static integer c__6 = 6;
static integer c__1 = 1;
static integer c__198 = 198;
/* $Procedure SP... |
/*
* FreeRTOS V202104.00
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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 restriction, incl... |
#include <linux/kernel.h>
#include "keybus-protocol.h"
#include <linux/string.h>
// Developed against Power832 from circa year 2000
#define PACKET_BIT(nr, packet) ((packet[((nr) >> 3)] & (1 << (7 - ((nr) & 0x7)))) != 0)
static char *STATUS_FLAGS[8] = { "Backlight", "Fire", "Program", "Error", "Bypass", "Memory", "Ar... |
#include <VLIB/Platform/video_utils.h>
#include <VLIB/Platform/video_config.h>
#include <VLIB/video_quantizer.h>
#include <VLIB/video_dct.h>
#include <VLIB/video_packetizer.h>
#include "uvlc_codec.h"
#include <VP_Os/vp_os_malloc.h>
#include <VP_Os/vp_os_assert.h>
#include <VP_Os/vp_os_types.h>
const uvlc_codec_t uvl... |
/*
* Reaver - WPS exchange functions
* Copyright (c) 2011, Tactical Network Solutions, <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... |
/*
* Copyright (c) <2008 - 2020>, University of Washington, Simon Fraser University, Bilkent University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code mu... |
/* packet-hcrt.c
*
* Routines for Hotline Command-Response Transaction (HCrt)
* Protocol specifications (draft) are available here
* https://github.com/ShepardSiegel/hotline/tree/master/doc
*
* Copyright 2013 <NAME> (<EMAIL>)
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <<EMAIL>>
* Copyright 199... |
/*
FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... |
/**
* @file kernel/arch/x86_64/cmos.c
* @author <NAME>
* @brief Real-time clock.
*
* Provides access to the CMOS RTC for initial boot time and
* calibrates the TSC to use as a general timing source. IRQ 0
* handler is also in here because it updates the wall clock time
* and triggers timeout-based wakeups.
*
... |
// Send an IPv4 HTTP GET packet via raw TCP socket at the link layer (ethernet frame).
// Need to have destination MAC address.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h> // close()
#include <string.h> // strcpy, memset(), and memcpy()
#include <stdbool.h>
#include <netdb.h> ... |
/*
IKON Corporation 2617 Western Ave Seattle, WA 98121 (206) 728-6465
ioctl definition file for Solaris 2.0 driver for Sbus hardcopy boards
20 October, 1992 BETA release
23 October, 1992 Moved DMA_MAXBLOCK define to ihcp_reg.h
23 October, 1995 modified IHCPIO_CMD_MASK to drop the top 3 command bits
and... |
/***********************************************************
* cel_meca1.c
* Set of routines about celestial mechanics.
*
* CONTAINS:
* input_location(xlat,xlong,iloc)
* local_coord(aa,mm,idd,time,xlat,xlong,alpha,delta,hour_angle,elev,azim)
* input_coord(string,value,opt)
* precess(alpha,delta,delta_years)
* ... |
/*----------------------------------------------------------------------------
* Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd>
* 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. R... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.