text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* 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.
*
* This program is distributed in the hope that it would be ... |
/* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_abbrev.c - Code common to abbreviating serializers (ttl/rdfxmla)
*
* Copyright (C) 2006, <NAME>
* Copyright (C) 2004-2011, <NAME> http://www.dajobe.org/
* Copyright (C) 2004-2005, University of Bristol, UK http://www.bristol.ac.uk/
* Copyright (C) 2005, <NAME> <EM... |
// LightMP3
// Copyright (C) 2007 Sakya
// <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 later ve... |
/*
* uiattach.c - Attach menu commands and settings.
*
* Written by
* <NAME> <<EMAIL>>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... |
/*
* Copyright (c) 2017 Fastly, 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 without restriction, including without limitation the
* rights to use, copy, modify, merge, publis... |
/**
* libf2fs.c
*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Dual licensed under the GPL or LGPL version 2 licenses.
*/
#define _LARGEFILE64_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.... |
/*
* FreeRTOS V202111.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, including ... |
/**************************************************************************************************
* *
* This file is part of HPIPM. *
* ... |
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-2002
*
* hWaitForInput Runtime Support
*/
/* FD_SETSIZE defaults to 64 on Windows, which makes even the most basic
* programs break that use select() on a socket FD.
* Thus we raise it here (before any #include of network-related headers)
* to 1024 so th... |
//*******************************************************************
//Author: <NAME>
//Description: MOD Flash Demo
//*******************************************************************
#include "PRCv13.h"
#include "mbus.h"
#define PRC_ADDR 0x1
#define FLS_ADDR 0x4
#define FLP_ADDR 0x8
#define MBUS_DELAY 1... |
/**
* computation functions for StarFM
* Revision 1.2.1 10/2014 <NAME>
* - enabled OpenMP for multi-thread processing
*
* Revision 1.2.0 06/2014 <NAME>
* - modified to allow multiple-date predictions
* - does not support highest occurences
* - does not support LUT improvement
*... |
/*
jep - Java Embedded Python
Copyright (c) 2004-2021 JEP AUTHORS.
This file is licensed under the the zlib/libpng License.
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.
... |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/*====================================================================*
- 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... |
/*
* implicitclass backend for implementing an implicit-class-like behavior
* of redundant print servers managed by cups-browsed.
*
* Copyright 2015-2019 by <NAME>
* Copyright 2018-2019 by <NAME>
*
* This is based on dnssd.c of CUPS
* dnssd.c copyright notice is follows:
*
* Copyright 2008-2015 by Apple Inc.
... |
/*
The MIT License (MIT)
Copyright (c) 2017 <NAME>, <NAME>, <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 rights
to use, co... |
/* $NetBSD: asc_vsbus.c,v 1.24.18.1 2002/09/18 19:32:06 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* ... |
#pragma ident "$Id: seqno.c,v 1.29 2015/12/08 18:41:55 dechavez Exp $"
/*======================================================================
*
* Service a seqno based data request where the packets come from
* the ISI raw disk loop
*
*====================================================================*/
#def... |
/*
* Mach Operating System
* Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies ... |
/* FFTease for Pd */
#include "fftease.h"
static t_class *pvwarpb_class;
#define OBJECT_NAME "pvwarpb~"
typedef struct _pvwarpb
{
t_object x_obj;
t_float x_f;
t_symbol *buffername;
t_float lofreq;/* user specified lowest synthfreq */
t_float hifreq;/* user specified highest synthfreq */
t_fl... |
/*
* an application for displaying Win32 console
* registry and init functions
*
* Copyright 2001 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... |
// Copyright (c) 2016-2020, Myriota Pty Ltd, All Rights Reserved
// SPDX-License-Identifier: BSD-3-Clause-Attribution
//
// This file is licensed under the BSD with attribution (the "License"); you
// may not use these files except in compliance with the License.
//
// You may obtain a copy of the License here:
// LIC... |
//#define CHIPS_IMPL
//##include <vendor/chips/chips/m6502.h>
//#include <m6502.h>
#include "wq6502.h"
//#include <vector>
#define T(b) ASSERT_TRUE(b)
//#define R(r) cpu.r
//m6502_t cpu
//static std::vector<m6502_t> v_cpu;
//uint64_t pins
//static std::vector<uint64_t> v_pins;
//typedef struct S_RAM {... |
/* $OpenBSD: mbufs.c,v 1.41 2016/04/04 16:26:00 sthen Exp $ */
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and 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 copi... |
/*
* Copyright (c) 2011-2016 <NAME>, SUSE Labs
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
*/
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <getopt.h>... |
/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */
/*
* Copyright (C) 2012 <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 restrict... |
/*
* interface.c
*
* Created on: Jan 23, 2019
* Author: quinsy
*/
#include <stdlib.h>
#include "main.h"
#include "lcd5110.h"
#include "rtc.h"
#include "keyb.h"
#include "queue.h"
#include "interface.h"
#include "keyb.h"
#include "problem.h"
extern menu cmenu;
extern uint8_t i, tim, alrm, difficulty, hint, ... |
/* Proxy shell designed for use with Emacs on Windows 95 and NT.
Copyright (C) 1997 Free Software Foundation, Inc.
Accepts subset of Unix sh(1) command-line options, for compatability
with elisp code written for Unix. When possible, executes external
programs directly (a common use of /bin/sh by Emacs), o... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
(LGPL) as... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/* ====================================================================
* 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 t... |
#include "./get_changed_ranges.h"
#include "./subtree.h"
#include "./language.h"
#include "./error_costs.h"
#include "./tree_cursor.h"
#include <assert.h>
// #define DEBUG_GET_CHANGED_RANGES
static void ts_range_array_add(TSRangeArray *self, Length start, Length end) {
if (self->size > 0) {
TSRange *last_range ... |
/**
* @file server.c
* @brief Contiene l'implementazione del server.
*
* @todo Spostare le funzioni non main fuori dal file server.c
* @todo Creare una funzione che fa cio' che e' nel while(true)
*
*/
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys... |
#include <stdio.h>
#include <ev.h>
#include <unistd.h>
#include <thread_pool.h>
#include <errno.h>
#include <stdatomic.h>
#include <signal.h>
#include <string.h>
#include <stdbool.h>
#include <ev_queue.h>
#include <pthread.h>
struct task_s {
task_func_type task_function;
task_argument_type * arg;
};
struct thr_s {... |
/*
* 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... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/* robot-arm-avr.c
*
* this program is the control program for a robotics arm.
* the robot is managed by a host work station connected to an ATmega328P via UART
*
* send commands to AVR for changing PID constants and getting status
*
* +-----+ +-----+
* | | | |
* | PC | ... |
/*
* Copyright (c) 2002, Stockholms Universitet
* (Stockholm University, Stockholm Sweden)
* 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 ret... |
/*
* File : config.c
*
*
* Author : <NAME> ($Author: fprelz $)
* e-mail : "<EMAIL>"
*
* Revision history :
* 23-Nov-2007 Original release
* 24-Apr-2009 Added parsing of shell arrays.
* 13-Jan-2012 Added sbin and libexec install dirs.
* 30-Nov-2012 Added ability to locally setenv the env varia... |
/*
* Copyright (c) 2015-2017 Contributors as noted in the AUTHORS file
*
* This file is part of ukvm, a unikernel monitor.
*
* 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 n... |
// Copyright 2019 Shift Cryptosecurity 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
//
// Unless required by applicable law or ... |
/*
* sound/sb16_dsp.c
*
* The low level driver for the SoundBlaster DSP chip.
*
* (C) 1993 <NAME> (<EMAIL>)
*
* based on SB-driver by (C) <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: 1. Redistr... |
/*
* qaul.net is free software
* licensed under GPL (version 3)
*/
#include "qaullib_private.h"
#ifdef WIN32
#define close(x) closesocket(x)
#undef errno
#define errno WSAGetLastError()
#undef strerror
#define strerror(x) StrError(x)
#define perror(x) WinSockPError(x)
#endif
#ifndef MSG_NOSIGNAL
#define MSG_NOSIG... |
/*
ZEsarUX ZX Second-Emulator And Released for UniX
Copyright (C) 2013 <NAME>
This file is part of ZEsarUX.
ZEsarUX 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 3 of t... |
/********************************************************************************/
/* */
/* Duplication Commands */
/* Written by <NAME> */
/* IBM Thomas J. Watson Research Center */
/* $Id: DuplicationCommands.c 1047 2017-07-20 18:27:34Z kgoldman $ */
/* */
/*... |
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2020 The DragonFly Project. All rights reserved.
* Copyright (c) 1989, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by <NAME> <<EMAIL>>
... |
/*******************************************************************************
* FILE NAME: user_routines.c <FRC VERSION>
*
* DESCRIPTION:
* This file contains the default mappings of inputs
* (like switches, joysticks, and buttons) to outputs on the RC.
*
* USAGE:
* You can either modify this file to fit your... |
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: <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;... |
/*
* Funny Language - a free style programming language.
* Copyright (C) 2015 by fanguangping (<EMAIL>)
* maker.c
*/
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include "operator.h"
#include "memory.h"
#define STR_BUFF_SIZE 1024
static Num* initial_num_long(Num* self, long lon... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <math.h>
typedef struct mat_elem {
int re, rs, ce, cs;
float **arr;
}Matrix;
Matrix * createMatrix(int n) {
Matrix *m1 = (Matrix *)malloc(sizeof(Matrix));
int count = 0, i, j;
m1->rs = 0; m1->cs = 0;
m1->re = n - 1; m1->ce =... |
#include <caml/mlvalues.h>
#include <caml/memory.h>
#include <caml/alloc.h>
#include <caml/callback.h>
#include <caml/fail.h>
#include <caml/signals.h>
#include <ev.h>
#include <stdio.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#inc... |
/*
* six_step.c
*
* Created on: 25 Jun 2017
* Author: PhuongLe
*/
#include "six_step.h"
#include "stm32f1xx_hal.h"
#include <IQmathLib.h>
#define b_cc1e 1 //1<<0
#define b_cc1p 2 //1<<1
#define b_cc1ne 4 //1<<2
#define b_cc1np 8 //1<<3
#define b_cc2e 16 //1<<4
#define b_cc2p 32 //1<<5
#define b_cc2ne 64 //... |
/**
*
* Microvisor Weather Device Demo
* Version 1.3.2
* Copyright © 2022, Twilio
* Licence: Apache 2.0
*
*/
#include "main.h"
// Defined in `main.c`
extern I2C_HandleTypeDef i2c;
// The Ascii character set
const char CHARSET[128][6] = {
"\x00\x00\x00", // space - Ascii 32
"\xfa\x00", ... |
//SERVER
/*Componenti gruppo di lavoro:
- <NAME> 130117
- <NAME> 131946
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <pthread.h> //link con -lpthread
#include <sys/types.h>
#include <sys... |
/*****************************************************************************
* sgimb.c: a meta demux to parse sgimb referrer files
*****************************************************************************
* Copyright (C) 2004 VLC authors and VideoLAN
* $Id: 529c9bff2541a61882b6a7b34c1354761ce5b6ff $
*
* Aut... |
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>
#include <conio.h>
// Graphics
#define head '*'
#define tail '#'
#define topBoarder '|_|'
#define middleBoarder '|'
#define food '$'
#define voidSpace ' '
#define bomb 'x'
// Game Options
#define startSpeed 100
#define xDim 30
#define yDim 30
#define minSpee... |
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Copyright (C) 2006-2009 <NAME> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... |
/*
Copyright (C) 2012 Modelon AB
This program is free software: you can redistribute it and/or modify
it under the terms of the BSD style license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or ... |
/*
* Copyright (c) 2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* 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.
*
* This program is distributed in the hope that it would be usefu... |
/*
This is the C implementation for the jvcmd library, written by <NAME> ( jvernay.fr ) in 2021.
It contains both the API and the documentation.
jvcmd is a library to parse the command line arguments (argc and argv of the C main function).
The library is available under the MIT License, whose terms are below.
Attributi... |
/* Miscellaneous global declarations and portability cruft for GNU Make.
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you ca... |
/*
Copyright (C) 1996-1997 Id Software, 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; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2003 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; ... |
/* atof.c */
extern double u_atof(char *str);
/* atoi.c */
extern int u_atoi(char *str);
/* atol.c */
extern long u_atol(char *str);
/* caccess.c */
extern int c_access(char *fname, int mode, int type);
/* callocate.c */
extern int c_allocate(char *device);
extern int c_deallocate(char *device, int u_rewind);
extern vo... |
/*
* examples.c
*
* Created on: 11.02.2018
* Author: harebit
* same examples
*/
#include "ucg.h"
#include "main.h"
#include "stm32f1xx_hal.h"
void upper_pin(ucg_t *ucg, ucg_int_t x, ucg_int_t y)
{
ucg_int_t w = 7;
ucg_int_t h = 6;
ucg_SetColor(ucg, 0, 212, 212, 212);
ucg_SetC... |
/*
* ethernet.c
*
* Created on: Apr 3, 2018
* Author: drdixon
*/
#include "common.h"
#include "lwip/tcp.h"
#include "lwip/dhcp.h"
#include "xil_cache.h"
#include "netif/xadapter.h"
/* defined by each RAW mode application */
int start_application();
int transfer_data();
void send_data_over_ethernet();
vo... |
/*
* Copyright (c) 2011 Intel Corporation. All Rights Reserved.
* Copyright (c) Imagination Technologies Limited, UK
*
* 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 restrictio... |
/* WIN32 API extension
*
* Copyright (C) 2005 <NAME> <<EMAIL>>
*
* 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
*
* A copy of the l... |
/*
* MIME test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more information.
*/
/*
* Include necessary headers...
*/
#include <cups/string-private.h>
#include ... |
/*
* Copyright (c) 2018-2022 Pantacor 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, ... |
/*****************************************************************************
* audio.c: transcoding stream output module (audio)
*****************************************************************************
* Copyright (C) 2003-2009 VLC authors and VideoLAN
* $Id: d2c9f5f40a5c46273fe6033d0437bc30a336e1c9 $
*
* ... |
/*
Copyright (C) 1997-2001 Id Software, 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; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... |
/*
* Copyright (c) 2015 Google, Inc.
* 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 an... |
/* -*- c-basic-offset:4; indent-tabs-mode: nil -*- */
/* ====================================================================
* Copyright (c) 1999-2004 Carnegie Mellon University. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
/**
* Docblock: Hello reader
*/
/* Includes */
#include "main.h"
#include <assert.h>
#include <getopt.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "generic_buffer.h"
#include "help.h"
#include "image_backend.h"
#include "macros.h"
#include "png_tex... |
/*
* (C) Copyright 2001
* ELTEC Elektronik AG
* <NAME> <<EMAIL>>
*
* Board specific routines for the miniHiPerCam
*
* - initialisation (eeprom)
* - memory controller
* - serial io initialisation
* - ethernet io initialisation
*
* -----------------------------------------------------------------
* See file ... |
/*
* Copyright 2018 Wooting Technologies B.V.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "wooting-rgb-sdk.h"
#define NOLED 255
#define LED_LEFT... |
/**************************************************************************************************
*
* Motion detection from camera image - 09Mar20
*
* original code from: https://eloquentarduino.github.io/2020/01/motion-detection-with-esp32-cam-only-arduino-version/
*
*
* This works by capturing a grey... |
/*
* $Id: md5.c,v 1.3 2008-11-12 09:30:52 mgouy Exp $
*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by <NAME> in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is availa... |
#include "tiff.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "debogage.h"
struct tiff_file_desc
{
FILE *flux_tiff; //pointeur vers le fichier tiff
uint32_t identifiant; //identifier les mcus
uint32_t identifiant_bande; //identifier les bandes
uint32_t lar... |
/* The standard library */
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
/* The PUMAS engine */
#include "pumas.h"
/* The TURTLE library */
#include "turtle.h"
/* For time measurements */
#include <sys/time.h>
/* For external ray tracers */
#include <dlfcn.h>
/* Protot... |
/*This program evaluates the differential equations for a photon's geodesic in a perturbed spacetime in SPHERICAL coordinates.
This program solves the particular case for the Minkowski perturbed spacetime with metric: $g_{ab} = {\eta}_{ab} + h_{ab}$. Where $h_{ab}$ corresponds to the perturbation in the Newtonian weak ... |
//
// setup.c
//
// Setup program
//
// Copyright (C) 2002 <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
// ... |
/*
* File: savefile.c
* Purpose: Savefile loading and saving main routines
*
* Copyright (c) 2009 <NAME> <<EMAIL>>
*
* This work is free software; you can redistribute it and/or modify it
* under the terms of either:
*
* a) the GNU General Public License as published by the Free Software
* Foundation, vers... |
/*
Copyright (C) 2006-2007 <NAME>
This program 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 License, or
(at your option) any later version.
This program is distributed i... |
/*
* Copyright 2012 <NAME> (<EMAIL>, <EMAIL>)
*
* 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 o... |
/*
* 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 <grilled_cheese.h>
#include <vm/vm.h>
#include <vm/svm.h>
#include <disp/disp.h>
#include <time/time.h>
#include <mm/mm.h>
#include <generic/stdlib.h>
#include <disk/ide.h>
static uint64_t VM_MEMORY_SIZE = (4UL * 1024 * 1024 * 1024);
rstate_t
x86_passthrough_npf_handler(struct _vm *vm, uint64_t address,
in... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/*
* Copyright (c) 2020-2021, <NAME>
* <EMAIL>
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-02-06 <NAME> the first version
*/
#include <rtthread.h>
#include <board.h>
#include <rtdevice.h>
#include "drv_soft_i2c.h"
#include "imu.h"
#include... |
/*
t-cross.c
Author: <NAME> <<EMAIL>>
Copyright (c) 1997 SSH Communications Security, Finland
All rights reserved
----- up tests:
- tests basic functionality
----- down tests:
- tests basic functionality
- combined tests for up/down functionality
- tests shortcircuiting
*/
#include "ssh... |
#include "resolve.h"
#include "ast.h"
Resolver make_resolver(Package p, BindConfig *conf)
{
Resolver r = {0};
r.package = p;
r.allocator = gb_heap_allocator();
r.conf = conf;
r.rename_map = hashmap_new(r.allocator);
// r.opaque_types = hashmap_new(r.allocator);
r.forward_decl... |
/* mnregr.f -- translated by f2c (version 19961017).
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__1 = 1;
static integer c__132 = 132;
static integer c__22 = 22;
/* cccccccccccccccccccccccccccccccccccc... |
/*
* File: grkelot.c
*
* Synopsis: string -> greek ELOT928 or IBM437 string;
* 4-state FSM implementation.
*
* System: Any (ANSI C)
*
* This is code derived from a more generic key remapper written by the same
* author and used in other environments. It was not written only
* for gre... |
/** @file prompts.h
@brief Prompt block management
@author Alexios
Original banner, legalese and change history follow.
@par
@verbatim
*****************************************************************************
** *... |
/*
* Copyright (c) 2008 - 2012, <NAME>, All Rights Reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specifi... |
/*
Authored 2016-2018. <NAME>.
Modified 2020-2021. <NAME>.
4B25 Embedded Systems Final Project - Smart Pedometer
Additional contributions, 2018: <NAME>, <NAME>, <NAME>, <NAME>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are perm... |
/*
* Copyright (C) 2018 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <linux/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <dirent.h>
#include <errno.h>
... |
/*-
* Copyright (c) 2014-2016 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* 7-bit ASCII, with English language frequencies.
*
* Based on "Case-sensitive letter and bigram frequency coun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.