text stringlengths 4 6.14k |
|---|
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2003,2005,2007,2008,2009 Free Software Foundation, Inc.
*
* GRUB 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 the... |
#ifndef MISSION_SERVICE_H
#define MISSION_SERVICE_H
// Qt
#include <QObject>
// Internal
#include "dto_traits.h"
#include "mission_item.h"
namespace domain
{
class MissionService: public QObject
{
Q_OBJECT
public:
explicit MissionService(QObject* parent = nullptr);
~MissionServic... |
#include <boost/filesystem.hpp>
#include <utility>
#include "OpenCLWrapper/Device.h"
namespace fs = boost::filesystem;
std::pair<unsigned int, unsigned int> readAMDRegistersNumber(
const Device& device,
const std::string& kernelName);
std::... |
#include "../includes/cfrtil.h"
void
CfrTil_CommentToEndOfLine ( )
{
ReadLiner_CommentToEndOfLine ( _Context_->ReadLiner0 ) ;
String_RemoveEndWhitespaceAndAddNewline ( _CfrTil_->SourceCodeScratchPad ) ;
_CfrTil_UnAppendTokenFromSourceCode ( _Context_->Lexer0->OriginalToken ) ;
SC_ScratchPadIndex_Init (... |
/**
* Copyright (C) 2009 Alex Revetchi
*
* Siplexd 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 the License, or
* (at your option) any later version.
*
* This program is distrib... |
#ifndef MFD_TMIO_H
#define MFD_TMIO_H
#include <linux/device.h>
#include <linux/fb.h>
#include <linux/io.h>
#include <linux/jiffies.h>
#include <linux/mmc/card.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#define tmio_ioread8(addr) readb(addr)
#define tmio_ioread16(addr) readw(addr)
#define tmi... |
/*
* Copyright (C) 2015 Adrien Vergé
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is... |
/* This file is part of Stirrup.
Stirrup 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 the License, or
(at your option) any later version.
Stirrup is distributed in the hope that it wi... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* Roadmap
* Copyright (C) Álvaro Peña 2012 <alvaropg@oriwork>
*
Roadmap 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, eith... |
#include "rb_includes.h"
/* @overload valid_encoding?
* @return [Boolean] True if the receiver contains only valid UTF-8
* sequences */
VALUE
rb_u_string_valid_encoding(VALUE self)
{
const struct rb_u_string *string = RVAL2USTRING(self);
return u_valid(USTRING_STR(string), USTRING_LENGTH(strin... |
#include <CODEPORTS/codeports.h>
#include "codeports.h"
void
INPUT_Init(void)
{
}
void
INPUT_Final(void)
{
}
|
// include/kernel/process.h
// include/kernel/process.h is part of Kylux.
//
// Kylux 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 the License, or
// (at your option) a... |
/* EQEMu: Everquest Server Emulator
Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This prog... |
/*
* GrWebSDR: a web SDR receiver
*
* Copyright (C) 2017 Ondřej Lysoněk
*
* 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 3 of the License, or
* (at your option) any later... |
#pragma once
#include <common/platform_fiber.h>
#include <libcpu/cpu.h>
#include <libcpu/be2_struct.h>
namespace cafe::kernel
{
#ifndef DECAF_KERNEL_LLE
struct HostContext;
#endif
struct Context
{
static constexpr uint64_t Tag = 0x4F53436F6E747874ull;
//! Should always be set to the value OSContext::Tag.
b... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid comm... |
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
*/
#import "PLUIImageViewController.h"
#import "UIImagePickerControllerDelegate.h"
#import "PhotoLibrary-S... |
/*******************************************************************************
* *
* F1LT - unofficial Formula 1 live timing application *
* Copyright (C) 2012-2013 Mariusz Pilarek (pieczaro@gmail.com) ... |
/* midi.h
*
* Adlib OPL2/OPL3 FM synthesizer chipset test program.
* Play MIDI file using the OPLx synthesizer (well, poorly anyway)
* (C) 2010-2012 Jonathan Campbell.
* Hackipedia DOS library.
*
* This code is licensed under the LGPL.
* <insert LGPL legal text here>
*
* Compiles for intended target... |
/*
===========================================================================
ARX FATALIS GPL Source Code
Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company.
This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code').
Arx Fatalis Source Code is free software: you can red... |
// <osiris_sps_source_header>
// This file is part of Osiris Serverless Portal System.
// Copyright (C)2005-2012 Osiris Team (info@osiris-sps.org) / http://www.osiris-sps.org )
//
// Osiris Serverless Portal System is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public L... |
/*
SPDX-FileCopyrightText: 2010 Till Theato <root@ttill.de>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef CHOOSECOLORWIDGET_H
#define CHOOSECOLORWIDGET_H
#include <QWidget>
class KColorButton;
/** @class ChooseColorWidget
@brief Provides options to choose a color.
Two ... |
/* -- translated by f2c (version 20050501).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */
#ifdef __SUNPRO_C
#pragma align 4 (_iconPause)
#endif
#ifdef __GNUC__
static const guint8 _iconPause[] __attribute__ ((__aligned__ (4))) =
#else
static const guint8 _iconPause[] =
#endif
{ ""
/* Pixbuf magic (0x47646b50) */
"GdkP"
/* length: he... |
/* ****************************************************************************
* eID Middleware Project.
* Copyright (C) 2008-2009 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free ... |
// Copyright (c) 2005 - 2017 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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 versio... |
//===-- sanitizer_suppressions.h --------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/***************************************************************************
* Copyright (C) 2011 by A.R. Offringa *
* offringa@astro.rug.nl *
* *
* This program is free software; you can redistribute it and/or modify *
* it under... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.1.0/38413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "NGAP_TNLAssociationUsage.h"
/*
* This type is implemented using NativeEnumerated,
* ... |
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... |
#include <gtk/gtk.h>
void
on_top1_activate (GtkMenuItem *menuitem,
gpointer user_data);
void
on_bottom1_activate (GtkMenuItem *menuitem,
gpointer user_data);
void
on_left1... |
/* -*- c++ -*- */
/*
* Copyright 2017 Moritz Luca Schmid, Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT).
*
* This 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 ... |
/*
* QRAP Project
*
* Version : 0.1
* Date : 2008/04/01
* License : GNU GPLv3
* File : cRapLinks.h
* Copyright : (c) University of Pretoria
* Authors : Roeland van Nieukerk (roeland.frans@gmail.com)
* Description : This class displays all the tables related ... |
/*
pybind11/functional.h: std::function<> support
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#pragma once
#include "pybind11.h"
#include <functional>
NAMESPACE_BEGIN... |
//<FLAGS>
//#define __GPU
//#define __NOPROTO
//<\FLAGS>
//<INCLUDES>
#include "fargo3d.h"
#define LEFT 0
#define RIGHT 1
#define DOWN 2
#define UP 3
//<\INCLUDES>
void boundary_%side () {
//<USER_DEFINED>
%ifields;
%ofields;
//<\USER_DEFINED>
//<INTERNAL>
int i;
int j;
int k;
int jact;
int jgh;
... |
#include <stdio.h>
#include <string.h>
#define BUFLEN 20000
int main (int argv)
{char buffer [BUFLEN];
int i; char c; char *cc;
int letter_ya;
FILE *fp;
//printf("argv=%i\n", argv);
if (argv>=2)
{
printf("This is filtr for munin plugin \"plugin_balderdash_mud.sh\" by prool\n\
Prool: http://prool.kharkov.org http://... |
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.WebView/1.3.1/WebViewNavActions.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Triggers.Actions.TriggerAction.h>
namespace g{namespace Fuse{namespace Controls{struct WebView;}}}
namespace... |
/*
* Copyright (C) 2010 Zdenek Crha
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distri... |
// Copyright (c) 2009-2011, Tor M. Aamodt, Ivan Sham, Ali Bakhoda,
// George L. Yuan, Wilson W.L. Fung
// The University of British Columbia
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//... |
/*
* This software takes a midi file and creates animations from its notes.
Copyright (C) 2016 Luiz Guilherme de Medeiros Ventura, Belo Horizonte, Brazil
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... |
/*
* Copyright (C) 2013 Bartosz Golaszewski <bartekgola@gmail.com>
*
* 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 3, or (at your option)
* any later version.
*
* This p... |
/*
This file is part of The Lost Souls Downfall prototype.
The Lost Souls Downfall prototype 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 the License, or (at your option)
any la... |
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/CKeyBinds.h
* PURPOSE: Server keybind manager class
* DEVELOPERS: Jax <>
* Cecil... |
#include <stdlib.h>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include "client.h"
struct client *all_clients;
struct client *
client_new_client(void)
{
struct client * c = calloc(1, sizeof(struct client));
if (all_clients) {
c->prev = all_clients;
all_clients->next = c;... |
/*
* Race Capture Firmware
*
* Copyright (C) 2016 Autosport Labs
*
* This file is part of the Race Capture firmware suite
*
* This 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... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... |
/**
******************************************************************************
* @file DMA2D/DMA2D_MemToMemWithBlending/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief This file contains the headers of the interrupt handlers.
******... |
#define MATRIX_SIZE 4
#define MAT_MEMBER_CNT (MATRIX_SIZE*MATRIX_SIZE)
#define CCOL iterator%MATRIX_SIZE
#define CROW iterator/MATRIX_SIZE
#define TCOL tempIndex%MATRIX_SIZE
#define TROW tempIndex/MATRIX_SIZE
#define MAX_INPUT_LEN 100
#define MAT_COUNT 6
typedef float mat[MATRIX_SIZE][MATRIX_SIZE];
void add_mat(mat* A... |
/** \file DebugEngineMacro.h
\brief Define the macro for the debug
\author alpha_one_x86
\licence GPL3, see the file COPYING */
#ifndef DEBUGENGINEMACRO_H
#define DEBUGENGINEMACRO_H
#ifdef WIN32
# define __func__ __FUNCTION__
#endif
/// \brief Macro for the debug log
#ifdef ULTRACOPIER_DEBUG
# include "DebugEngine.... |
/*=========================================================================
Program: ParaView
Module: vtkSequenceAnimationPlayer.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT AN... |
/* -*- c++ -*- */
/*
* Copyright 2018 <+YOU OR YOUR COMPANY+>.
*
* This 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, or (at your option)
* any later version.
*
* This software i... |
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Feb 17 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __GUIFrame__
#define __GU... |
/*
* @lc app=leetcode id=576 lang=c
*
* [576] Out of Boundary Paths
*
* autogenerated using scripts/convert.py
*/
int findPaths(int m, int n, int N, int i, int j) {
int **dp, **dp_t, **t, **h, *temp, x, r, c, dr, dc, dirs[] = {0, -1, 0, 1, -1, 0, 1, 0}, ret = 0;
if (! (m && n && N))
return 0;... |
/**
Copyright (c) 2015 Maciej Nabozny
This file is part of KernelConnect project.
KernelConnect 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 the License, or
(at your option) any later vers... |
/*
* include/configs/lager.h
* This file is lager board configuration.
*
* Copyright (C) 2013, 2014 Renesas Electronics Corporation
*
* SPDX-License-Identifier: GPL-2.0
*/
#ifndef __LAGER_H
#define __LAGER_H
#undef DEBUG
#define CONFIG_R8A7790
#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Lager"
#include "rca... |
/***************************************************************************
* *
* Copyright (C) 2017 Seamly, LLC *
* *
* https:/... |
/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2022, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#ifdef __cplusplus
extern "C"
{
#endif
/// \file neut_polymod.h
/// \brief
/// \author Romain Quey
/// \bug No known bugs
#ifndef NEUT_POLYMOD_H
#define NEUT_POLYM... |
/* ========================================================================== */
/* === umfpack_timer ======================================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... |
/*
* Xenomai Lab
* Copyright (C) 2013 Jorge Azevedo
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This... |
//Modified from: https://www.linuxvoice.com/be-a-kernel-hacker/
//License: GPL
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
int main(int argc, char ** argv) {
int fd = open("/dev/reverse", O_RDWR);
if(argc == 2) {
printf("Word: %s\t\t", argv[1]);
write(fd, arg... |
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... |
/*
* (C) Copyright 2010
* Texas Instruments Incorporated.
* Steve Sakoman <steve@sakoman.com>
*
* Configuration settings for the TI OMAP4 Panda board.
* See omap4_common.h for OMAP4 common part
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __CONFIG_PANDA_H
#define __CONFIG_PANDA_H
/*
* High Level Confi... |
//
// DeviceInfo.h
// 智能控制系统
//
// Created by rf on 15/7/17.
// Copyright (c) 2015年 wangli. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
@interface DeviceInfo : NSObject
@property (nonatomic,strong) CBPeripheral* cb;
@property (nonatomic,strong) NSString * m... |
/*
Copyright (C) 2015-2018 Jan Christian Rohde
This file is part of netObservator.
netObservator 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 the License, or (at your option) any la... |
/**
* Glista - A simple task list management utility
* Copyright (C) 2008 Shahar Evron, shahar@prematureoptimization.org
*
* 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 3 ... |
#ifndef _STRINGUTILS_H
#define _STRINGUTILS_H
#include <string>
#include <vector>
typedef std::string String;
typedef std::wstring WString;
typedef std::vector<String> StringList;
typedef std::vector<WString> WStringList;
class StringUtils
{
public:
static StringList Split(const String & s, char delim, std::vect... |
#pragma once
#include <map>
#include <string>
#include <vector>
#include <cinttypes>
#include "pvector.h"
#include "range.h"
namespace DynoGraph {
class AlgDataManager
{
private:
std::map<std::string, pvector<int64_t>> last_epoch_data;
std::map<std::string, pvector<int64_t>> current_epoch_data;
std::stri... |
/*
* misc.h
*
* Created on: 2. veebr 2018
* Author: raigo
*/
#ifndef LEGAL_ACT_H_
#define LEGAL_ACT_H_
#include <stdbool.h>
#include "sections.h"
#include "error.h"
struct legal_act_id
{
char* type;
char* year;
char* number;
const char* version_date;
};
struct legal_act_id leg_init_c(char* type, cha... |
//
// AboutPanelController.h
// This file is part of ShairPortMenu.
//
// A Simple OS X GUI wrapper for ShairPort / HairTunes
//
// Copyright 2011 Robert Carlsen.
//
// ShairPortMenu is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// ... |
#ifndef Music_h
#define Music_h
#include "Arduino.h"
#include "Melodies.h"
class Music {
public:
Music(int speakerPin);
void cycle(unsigned long currentTime);
void setMelody(const int (*melody)[2]);
private:
int _speakerPin;
unsigned long _toneTimer;
unsigned int _notePosition;
boolean... |
#ifndef POINT_H_INCLUDED
#define POINT_H_INCLUDED
/*#include <iostream>
#include <sstream>*/
#include <cmath>
class Point
{
public:
Point(int X , int Y = 0 );
Point();
//Point(double X , double Y = 0.0);
/*void afficher(bool passer_a_la_ligne = true) const;
std::string text... |
//
// MasterViewController.h
// ScrollView+PaperFold+PageControl
//
// Created by Jun Seki on 13/06/2014.
// Copyright (c) 2014 Poq Studio. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DetailViewController;
@interface MasterViewController : UITableViewController
@property (strong, nonatomic) DetailVie... |
#include "window.h"
#include <stdlib.h>
#include <stdio.h>
ODIN_Window* Window_new(const char* title, const int width, const int height) {
ODIN_Window* odin_window = (ODIN_Window*)malloc(sizeof(ODIN_Window));
//TODO: Configure for mobile
// Configure the OpenGL Version DESKTOP
SDL_GL_SetAttrib... |
/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2022, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include"../../../structIn_t.h"
#include"ut.h"
#include"neut_t.h"
#include"../../../net_utils/net_utils.h"
#i... |
#pragma once
#include <afxcmn.h>
class CMPCThemeLinkCtrl :
public CLinkCtrl
{
public:
CMPCThemeLinkCtrl();
virtual ~CMPCThemeLinkCtrl();
DECLARE_MESSAGE_MAP()
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void PreSubclassWindow();
};
|
/*
atPeek - iPhone app browsing tool
Copyright (C) 2008 atPurpose
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 3 of the License, or
(at your option) any later version.
... |
#include "header.h"
void foo_1() { printf("Doing something %d\n", 1); }
|
#ifndef __VERSION_H__
#define __VERSION_H__
#define KERNEL_ARCH "x86_64"
#define KERNEL_NAME "Riku"
#define KERNEL_VERSION "0.1"
#define KERNEL_CODENAME "Michiru"
#endif
|
/**
* @file
* @copyright 1998-2004 Jonathan Brown <jbrown@bluedroplet.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html
* @homepage https://github.com/bluedroplet/emergence
*/
struct polygon_t
{
int numverts;
struct vertex_t vertex[8];
};
void poly_line_clip(struct polygon_t *pin, struct vertex_t *v1, ... |
#include "dtree.h"
#include "test.h"
void test_list_all(void)
{
test_start();
struct dtree_dev_t *dev = NULL;
while((dev = dtree_next()) != NULL) {
const char *name = dtree_dev_name(dev);
dtree_addr_t base = dtree_dev_base(dev);
printf("DEV '%s' at 0x%08X\n", name, base);
print_compat(dev);
dtree_dev_f... |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... |
/*
* This file is part of GodMode9
* Copyright (C) 2019 Wolfvak
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any la... |
/**
* Spektrum DSM2 satellite decoder
*
* Note: J1 must be set to 3.3V
*
*/
#include "rc_dsm2.h"
#include "stm32f4xx.h"
void rc_dsm2_update(struct rc_input *rc)
{
}
void rc_dsm2_init(void)
{
// Enable peripheral clocks
//
RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN;
RCC->APB2ENR |= RCC_APB2ENR_USART1E... |
/*
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General ... |
/*
* 3dfrac - a 3D live-view fractal generator
*
* Copyright (c) 2012 Mathias Steiger <mathias.steiger@googlemail.com>
*
* 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 3... |
#ifndef __StapleAlgorithm_h_
#define __StapleAlgorithm_h_
#include "ConvertAdapter.h"
template<class TPixel, unsigned int VDim>
class StapleAlgorithm : public ConvertAdapter<TPixel, VDim>
{
public:
// Common typedefs
CONVERTER_STANDARD_TYPEDEFS
StapleAlgorithm(Converter *c) : c(c) {}
void operator() (double... |
/**
******************************************************************************
* @addtogroup PIOS PIOS Core hardware abstraction layer
* @{
* @addtogroup PIOS_VIDEO Code for OSD video generator
* @brief Output video (black & white pixels) over SPI
* @{
*
* @file pios_video.h
* @author Tau Labs, h... |
/*
* Libcaphe
*
* Copyright (C) 2016-2018 Arnaud Rebillout
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* 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 3 of the Licens... |
#ifndef _INTERPOLATION_H_
#define _INTERPOLATION_H_
#include "taah264stdtypes.h"
#include "com_compatibility.h"
#include <emmintrin.h>
void taa_h264_save_best_chroma_8x8(
int const xfrac,
int const yfrac,
int const cstride,
uint8_t const * full_u,
uint8_t const * full_v,
ui... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Enumeration_C_QuickSpin.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CON... |
#ifndef POLAR_COLLECT_H
#define POLAR_COLLECT_H
#include "polar.h"
int polar_collect(polar *p);
#endif
|
////////////////////////////////////////////////////////////////////////////////
//
// This file is part of Strata.
//
// Strata 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 the Licen... |
/* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
* 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 permi... |
//
// Copyright 2015 Ettus Research LLC
//
// 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 3 of the License, or
// (at your option) any later version.
//
// This program is dis... |
#pragma once
#include "sort.h"
namespace BI
{
template<class TData>
class BubbleSort : public Sort<TData>
{
public:
BubbleSort() { }
~BubbleSort() { }
virtual void sort(DNode<TData>* head, DNode<TData>* tail, const size_t size) override;
};
template<class TData>
void Bubb... |
/**
* Updater.h
* Created at 2011.6.20
*
* Updater is the base class providing interfaces for
* the various algorithms to update Density, Field, and Propagator.
*
* HISTORY:
* 2012.4.2
* 1. From now on, the history of this file is tracked by Mercurial.
* 2. Package name: polyorder.
* 2011.6.20
* 1. or... |
/* Copyright (C) 2008 AbiSource Corporation B.V.
*
* 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 progr... |
// Converted using ConvPNG
#include <stdint.h>
#include "sprite_gfx.h"
uint8_t ring_compressed[56] = {
0x0A,0x33,0x0A,0x06,0x00,0x10,0xFF,0x00,0x58,0x06,0x07,0x11,0x10,0x0F,0x6B,0x0F,0x04,0xFF,0x09,0x7E,0x0F,0x04,0x0B,0x09,0x0F,0xB9,0x08,0x2A,0x22,0x0C,0xF8,0x00,
0x11,0xC4,0x09,0x11,0xA2,0x1D,0x10,0x06,0x11,0x5F,0x1... |
/**
* @addtogroup tracyWidom
* @ingroup tracyWidom
* @{
* @file tracyWidom.h
*
* @brief functions to perform tracy-widom test on a set of eigenvalues
* such as described by Patterson et al (2006) "Eigenanalysis".
* This program is very similar with the one in Eigensoft.
*/
#ifndef TRACYWIDOM_H
#define TR... |
/*
* ADCInitialisation.c
*
* Created on: Jan 30, 2016
* Author: Teja Chintalapati
* Contact: teja.chintalapati@gmail.com
* Description: This file will configure ADC
*
*/
/******************************************************************************
* INCLUDES
*/
#include "mainApp.h"
/**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.