text stringlengths 4 6.14k |
|---|
/*
* Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat 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 ve... |
#include<stdio.h>
main ()
{
float N,soma=0,i,aux;
printf("Digite um número: ");
scanf("%f",&N);
for (i=1;i<=N;i++)
{
aux=1/i;
soma=soma+aux;
}
printf("A soma do inverso dos N primeiros inteiros positivos é: %.2f", soma);
}
|
/*
* Copyright (C) 2006-2010 by RoboLab - University of Extremadura
*
* This file is part of RoboComp
*
* RoboComp 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 ... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid com... |
#ifndef MOVABLEWIDGET_H
#define MOVABLEWIDGET_H
#include <QWidget>
#include"proxy.h"
#include "stateModule.h"
#include "PortModule.h"
#include "qwidget.h"
#include "basicModule.h"
#include "Dockable.h"
class movableWidget :public QWidget,public Dockable, public stateModule,public basicModule
{
Q_OBJECT
public:
mova... |
outType eval_N4(_evalargs_) {
nodeIndex arg0 = nodes[self].children[0];
nodeIndex arg1 = nodes[self].children[1];
nodeIndex arg2 = nodes[self].children[2];
nodeIndex arg3 = nodes[self].children[3];
outType argOut0 = output(arg0, -1, fnCallArgs);
outType argOut1 = output(arg1, -1, fnCallArgs);
outType argOut2 =... |
#ifndef LOAD_PNG_H_INCLUDED
#define LOAD_PNG_H_INCLUDED
// This one file (png_texture.cpp) is free and unencumbered software
// released into the public domain.
#include <GL/glew.h>
#include <png.h>
GLuint png_texture_load(const char * file_name, int * width, int * height)
{
// This function was originally writt... |
/*
World of Gnome is a 2D multiplayer role playing game.
Copyright (C) 2013-2020 carabobz@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 of the License, or
... |
/*
==============================================================================
ProgressWindow.h
Created: 5 Oct 2016 11:37:24am
Author: bkupe
==============================================================================
*/
#pragma once
class ProgressWindow : public Component,public ProgressNotif... |
/****
DIAMOND protein aligner
Copyright (C) 2013-2017 Benjamin Buchfink <buchfink@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option... |
/**
* This header is generated by class-dump-z 0.2-1.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/Message.framework/Message
*/
#import "IMAPAccount.h"
@interface AOLAccount : IMAPAccount {
}
+(id)emailAddressHostPart;
// inherited: +(id)d... |
#ifndef _ISFLOATINGPOINT
#define _ISFLOATINGPOINT
#include <string>
using namespace std;
class isFloatingPoint{
private:
int endIndex;
int nextIndex;
int length;
int last;
int first;
int index;
char currentChar;
char nextChar;
public:
bool isFloatingPointValue(const string& strExp);
bool isDigit(c... |
#include <stdlib.h>
#define MAX 20
int vector[MAX];
int head_index;
void finished()
{
// No-op. Used as a placeholder for FReD testing.
}
int list_len()
{
return head_index;
}
void add_element(int i)
{
vector[head_index++] = i;
}
int main()
{
int i = 0;
head_index = 0;
for (i = 0; i < MAX; i++) {
... |
//
// android_server.h
//
//
// Created by Cody Price on 3/19/16.
//
//
#ifndef android_server_h
#define android_server_h
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <bluetoot... |
#ifndef GROUND_STATE_H
#define GROUND_STATE_H
#include <iostream>
/**
* State of the ground without snow or measurable ice cover; E
* @see table 0901, A-274
*/
enum class GroundStateWithoutSnowOrIce
{
DRY = '0',
MOIST,
WET,
FLOODED,
FROZEN,
GLAZE,
LOOSE_DRY_DUST_OR_SAND,
LOOSE_DRY_DUST_OR_SAND_THIN_COVERIN... |
/*
* Copyright (C) 2000, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free
* Software Foundation, Inc.
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GnuTLS.
*
* The GnuTLS is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as publ... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL... |
#ifndef SEGMENT_H
#define SEGMENT_H
#include <vector>
#include <CGAL/Point_3.h>
namespace Analysis
{
struct vec3
{
double m_x;
double m_y;
double m_z;
bool operator==(vec3 const&v) const
{
return (this->m_x == v.m_x)
&& (this->m_y == v.m_y)
&& (th... |
#ifndef SUBSEQ_ARR_SUM
#define SUBSEQ_ARR_SUM
/* program to find maximum sum of increasing subsequence(may not be contiguous)
* efficient implementation using dynamic programming
* Author : Shahan, 03-Apr-2018
*/
#include <stdio.h>
#include <stdlib.h>
#define SUCCESS 0
#define FAILURE 1
#define BUFFER_SIZE 1024
... |
/*
* This file is part of MuriProg.
*
* MuriProg 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.
*
* MuriProg is distributed in... |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... |
//
// timer_uti.h
// example
//
// Created by Yuya Hanai on 2015/01/26.
//
//
#include <stdint.h>
namespace libfreenect2
{
uint64_t getCurrentMillis();
} |
/* OCHeaderParser.h
*
* Copyright (C) 1999 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
* Date: 1999, 2002
*
* This file is part of GNUstep.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... |
#ifndef __FMC_H__
#define __FMC_H__
#include <sys/types.h>
#include <stdlib.h>
#include <stdint.h>
#define FMC_MAX_CARDS 32
extern int usleep(useconds_t usec);
struct device {};
/*
* Yeah! I know it looks bad, andm if course it is not elegant you'll be
* gratefull if you need to use one or more of its fields
*... |
#include <stdio.h>
#include <wchar.h>
int main()
{
char *str;
int i;
size_t length=100;
str=(char*)malloc(length);
scanf("%s",str);
printf("%s\n",str);
for(i=0;i<strlen(str);i++)
{
printf("%X ",str[i]);
}
pri... |
/*
Pokémon neo
------------------------------
file : defines.h
author : Philip Wellnitz
description : Header file. Consult the corresponding source file for details.
Copyright (C) 2012 - 2020
Philip Wellnitz
This file is part of Pokémon neo.
Pokémon neo is free software: you can redistribute it and/or m... |
#pragma once
#include <stdbool.h>
typedef struct LinkedListItem LinkedListItem;
typedef struct LinkedList LinkedList;
typedef void(*ll_callback_ptr)(void *callback_data, void *context);
typedef void(*ll_callback_ptr_units)(void *callback_data, void *context, int);
LinkedList* init_linkedlist();
void deinit_linkedl... |
#include <stdio.h>
/* Copy input to output while replacing tabs with \t,
* backspace with \b and each backslash with \\
* Use 'Ctrl-H' to send a backspace (^H is same as backspace
* having ASCII character #8)
*/
int main()
{
int c;
printf("--------------------\n");
while ((c = fgetc(stdin)) != '\n' && c != E... |
/* $Xorg: GrKey.c,v 1.4 2001/02/09 02:03:33 xorgcvs Exp $ */
/*
Copyright 1986, 1998 The Open Group
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... |
#include <mem-system/mshr.h>
#include <assert.h>
#include <lib/esim/esim.h>
#include "mod-stack.h"
#include <lib/util/list.h>
#include "cache.h"
#include "mem-system.h"
#include "directory.h"
#include <stdlib.h>
void mshr_init(struct mshr_t *mshr, int size)
{
mshr->size = size;
}
struct mshr_t *mshr_create()
{... |
#pragma once
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/smeighan/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates rec... |
/* BuildMonitor - Monitor the state of projects in CI.
* Copyright (C) 2017-2021 Sander Brattinga
* 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 ... |
#include "basic.h"
#include "comlib.h"
/*************************************************************************/
static void ReadCommandStructure(INT id, CHAR *name,
CHAR *comdirectory, CHAR *commandlist,
CommandMaster *commandmaster);
extern FILE *yyin;
/*extern void yyrestart( FILE *input_file );*/
exte... |
/***************************************************************************
KVIDGCsI.h - description
-------------------
begin : Nov 24 2004
copyright : (C) 2004 by J.D. Frankland
email : frankland@ganil.fr
$... |
// Klatch - a DICT client for KDE
// Copyright © 2012 Frank S. Thomas <frank@timepit.eu>
//
// 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 opt... |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... |
#include <stdio.h>
typedef unsigned char uChar;
#define SFP_VENDOR_NAME_OFFSET 20
#define SFP_VENDOR_NAME_WIDTH 16
#define SFP_VENDOR_OUI_OFFSET 37
#define SFP_VENDOR_OUI_WIDTH 3
#define SFP_VENDOR_PART_NUM_OFFSET 40
#define SFP_VENDOR_PART_NUM_WIDTH 16
#define SFP_VENDO... |
/*
* This file is part of libnv.
*
* Copyright (C) 2014 nagadomi@nurs.or.jp
*
* 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 any later version.
*... |
/*
** Copyright (C) 2012 Sebastian Roeglinger <wast.drumster@gmail.com>
**
** This file is part of TheClick.
**
** TheClick 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, ... |
#ifndef __CURL_MPRINTF_H
#define __CURL_MPRINTF_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _... |
/******************************************************************************
** This file is part of qadvanceditemviews.
**
** Copyright (c) 2011-2012 Martin Hoppe martin@2x2hoppe.de
**
** qadvanceditemviews is free software: you can redistribute it
** and/or modify it under the terms of the GNU Lesser General... |
/******************************************************************************
*
* Copyright Saab AB, 2006-2013 (http://safirsdkcore.com)
*
* Created by: Erik Adolfsson / sterad
*
*******************************************************************************
*
* This file is part of Safir SDK Core.
*
* Safir SDK Core... |
#ifndef DUALWIELDER_H
#define DUALWIELDER_H
#include <QObject>
#include "../BattleManager/battleinput.h"
#include "battletojson.h"
#include "../QJson/qjson.h"
#include "../Utilities/coreclasses.h"
#include "../PokemonInfo/networkstructs.h"
class QWsSocket;
template<class T>
class Network;
class QTcpSocket;
class Dua... |
/*
* Copyright 2012-2015 Falltergeist Developers.
*
* This file is part of Falltergeist.
*
* Falltergeist 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 ... |
#ifndef STATSDIALOG_H
#define STATSDIALOG_H
#include <QDockWidget>
#include "Global/vespucciworkspace.h"
class MainWindow;
namespace Ui {
class StatsDialog;
}
class StatsDialog : public QDialog
{
Q_OBJECT
public:
StatsDialog(MainWindow *parent, QSharedPointer<VespucciWorkspace> ws);
~StatsDialog();
signa... |
//---------------------------------------------------------------------------
/*
The Refrigerator Puzzle Solver, program to solve a refrigerator puzzle
Copyright (C) 2008 Richel Bilderbeek
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License... |
// pin layout ISP header
#define ISP_DATA P2_1
#define ISP_CLOCK P2_2
// pin layout servo connection
#define SERVO_1 7 // P0_7 = BIND, pull down on startup to enter bind mode
#define SERVO_2 6 // P0_6 = ADC1 = voltage sensor (max 3.3V on I/O ! -> voltage divider necessary!)
#define SERVO_3 5 // P0_5 = ADC0 = current ... |
//
// Copyright (c) 2008-2018 the Urho3D 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, m... |
#ifndef MPIHELPER_H
#define MPIHELPER_H
#include "mpi.h"
#include "../Enums/ActorType.h"
class MpiHelper {
public:
static int ProcesID();
static int GetSize();
static int GetGravediggerCount();
};
#endif // MPIHELPER_H
|
/*
* This file is part of Caddy.
*
* Caddy 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.
*
* Caddy is distributed in the... |
//========= Copyright ?1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef IHTML_H
#define IHTML_H
#ifdef _WIN32
#pragma once
#endif
#include "VGUI.h"
#include "MouseCode.h"
#i... |
//------------------------------------------------------------------------------
// File: Errors.h
//
// Desc: ActiveMovie error defines.
//
// Copyright (c) 1992 - 2001, Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
#ifndef __ERRORS__
#... |
/*
* botcombat.h
* Copyright (C) 2005-2006 by Bryan Duff <duff0097@umn.edu>
*
* 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... |
#ifndef _GETOPERATOR_H_
#define _GETOPERATOR_H_
#include <vector>
#include <assert.h>
#include "debug.h"
#include "utils.h"
#include "hw_write.h"
#include "sql.h"
class getOperator
{
private:
SQLITE3 *sql_;
std::string dbname_;
std::vector<std::string> vport_, vcir_, vcp_;
int vport_ncol_, vcir_nco... |
// ==================================================================================
// Copyright (c) 2012 HiFi-LoFi
//
// 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 the L... |
/*
* This file is part of AirStashPlayer.
* Copyright (c) 2016 Wearable Inc.
*
* AirStashPlayer is based on ijkPlayer:
* Copyright (c) 2013-2014 Zhang Rui <bbcallen@gmail.com>
*
* Portions of ijkPlayer are based on kxmovie:
* Copyright (c) 2012 Konstantin Boukreev. All rights reserved.
*
* AirStashPlayer is f... |
/*
* Cantata
*
* Copyright (c) 2011-2015 Craig Drummond <craig.p.drummond@gmail.com>
*
*/
/*
* Copyright (c) 2008 Sander Knopper (sander AT knopper DOT tk) and
* Roeland Douma (roeland AT rullzer DOT com)
*
* This file is part of QtMPC.
*
* QtMPC is free software: you can redistribute it a... |
/*
* bitsplit.c - Convert a signal to a binary vector.
* Copyright (c) 2000-2003 by Tom Schouten
*
* 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 Licens... |
/*
* Copyright (C) 2013, Osnabrück 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 must retain the above copyright
* notice, thi... |
/** \file OptionInterface.h
\brief Define the class of the option engine
\author alpha_one_x86
\licence GPL3, see the file COPYING */
#ifndef OPTION_INTERFACE_H
#define OPTION_INTERFACE_H
#include <QString>
#include <QList>
#include <QVariant>
#include <QPair>
#include "../StructEnumDefinition.h"
/** \brief to pass... |
#ifndef REMOTE_SELECTION_FRAME_H
#define REMOTE_SELECTION_FRAME_H
// *****************************************************************************
// remote_selection_frame.h Tao3D project
// *****************************************************************************
//
// File ... |
/*
* life : a Game of Life implementation
* Copyright (C) 2015 Thomas Baumela
*
* 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 optio... |
#include <X11/Xlib.h>
#include <X11/extensions/XInput.h>
#include <X11/extensions/XIproto.h>
#ifndef EXTENSION_H
#define EXTENSION_H
/* new API */
XDevice *extFindDevice(Display *dpy, char *name);
/* deprecated */
XDevice *extDialBoxInit(Display *dpy);
XDevice *extSpaceballInit(Display *dpy);
#endif
|
/**
* slibc — Yet another C library
* Copyright © 2015, 2016 Mattias Andrée (maandree@member.fsf.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 of the License, o... |
/**
* \file TestListOf.c
* \brief ListOf unit tests
* \author Ben Bornstein
*
* $Id: TestListOf.c 10129 2009-08-28 12:23:22Z sarahkeating $
* $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/sbml/test/TestListOf.c $
*
* <!-----------------------------------------------------------... |
#ifndef URLBUILDER_H
#define URLBUILDER_H
#include <QStringList>
#include <QString>
#include "KeyValue.h"
#include "QueryBuilder.h"
class SignatureBuilder;
class UrlBuilder
{
public:
UrlBuilder(const QString &baseUrl);
void setParameters(const QList<as::KeyValue> &values);
QString url(const SignatureBuilde... |
/*
OpenSR - opensource multi-genre game based upon "Space Rangers 2: Dominators"
Copyright (C) 2015 Kosyak <ObKo@mail.ru>
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 ve... |
/*
*
* (c) by Alexander Neumann <alexander@bumpern.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (either version 2 or
* version 3) as published by the Free Software Foundation.
*
* This program is distributed in the hope that ... |
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2018- Equinor ASA
//
// ResInsight 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... |
// OptionList.h
// author: Johannes Wagner <wagner@hcm-lab.de>
// created: 2009/03/17
// Copyright (C) 2007-13 University of Augsburg, Lab for Human Centered Multimedia
//
// *************************************************************************************************
//
// This file is part of Social Signal... |
#pragma once
#include "../maths/Maths.h"
#define VERTEX_DATA_POSITION_INDEX 0
#define VERTEX_DATA_TEXCOORD_INDEX 1
#define VERTEX_DATA_TEXID_INDEX 2
#define VERTEX_DATA_COLOR_INDEX 3
namespace Shard
{
namespace Gfx
{
struct VertexData
{
Maths::Vector3f Position;
Maths::Vector2f UV;
float TextureID;
... |
#ifndef _VERSION_
#define _VERSION_
#define VERSION "0.03"
#endif
|
/* jcon.h
*
* Copyright (C) 2016 Christian Hergert <chergert@redhat.com>
*
* This file is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any... |
/* LOOT
A load order optimisation tool for
Morrowind, Oblivion, Skyrim, Skyrim Special Edition, Skyrim VR,
Fallout 3, Fallout: New Vegas, Fallout 4 and Fallout 4 VR.
Copyright (C) 2021 Oliver Hamlet
This file is part of LOOT.
LOOT is free software: you can redistribute
it and/or modi... |
/**
* This header is generated by class-dump-z 0.2-1.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/DAVKit.framework/DAVKit
*/
@protocol DAVResponseBodyReader
-(BOOL)request:(id)request acceptResponseWithHTTPStatusCode:(int)httpstatusCode;
... |
#ifndef VRPYLISTMATH_H_INCLUDED
#define VRPYLISTMATH_H_INCLUDED
#include "VRPyBase.h"
// deprecated
/*struct VRPyListMath {
static void init(PyObject* mod);
static PyObject* add(PyObject* self, PyObject* args);
};*/
#endif // VRPYLISTMATH_H_INCLUDED
|
/*
* ExprMatrix.h
*
* Created on: Apr 2, 2016
* Author: default
*/
#ifndef EXPR_EXPRMATRIX_H_
#define EXPR_EXPRMATRIX_H_
#include "ExpressionRename.h"
#include <list>
class ExprMatrix : public ExpressionRename
{
private:
int m, n;
ExpressionRename **elems;
friend ExprMatrix *expr_matrix_simplify_su... |
//
// Article+CoreDataProperties.h
// ERPC
//
// Created by Przemysław Zygmunt on 27.01.2016.
// Copyright © 2016 AC SOFTWARE SP. Z O.O. All rights reserved.
//
// Choose "Create NSManagedObject Subclass…" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model.
//... |
/*
NATObetAppDelegate.h
NATObet
Created by Madison Solarana on 9/21/13.
Copyright (c) 2013 Madison Solarana.
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,... |
/**
******************************************************************************
* @file LwIP/LwIP_UDP_Echo_Server/Src/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief Main Interrupt Service Routines.
*
*****************************... |
/* utility/trim_right.c */
/* ---------------------------------------------------- */
/* Freely available software: see Appaserver.org */
/* ---------------------------------------------------- */
#include <stdio.h>
#include <stdlib.h>
#include "piece.h"
#include "timlib.h"
int main( int argc, char **argv )
{
in... |
/*
* Copyright (C) 2007-2009 Daniel Prevost <dprevost@photonsoftware.org>
*
* This file is part of Photon (photonsoftware.org).
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 or version 3 as published by the
* Free Software Foundation and appearing... |
// Copyright (c) 2009-2014 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 yo... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: apache_harmony/classlib/modules/luni/src/main/java/java/util/AbstractSequentialList.java
//
// Created by tball on 11/23/13.
//
#ifndef _JavaUtilAbstractSequentialList_H_
#define _JavaUtilAbstractSequentialList_H_
@protocol JavaUtilCollection;
@pro... |
/*
* Copyright 2017 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 ver... |
#ifndef __dtm_h_
#define __dtm_h_
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include "zlib.h"
#include "color.h"
typedef struct
{
int32_t x;
int32_t y;
Color color;
uint32_t tol;
uint32_t size;
bool bad;
} MDTMPoint;
typedef struct
{
char *name;
... |
/*
Copyright (C) 2010 Karol Krizka <kkrizka@gmail.com>
URL: http://www.krizka.net/projects/libmidi/
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
... |
//
// VoodooI2CDevice.h
// VoodooI2C
//
// Created by Alexandre on 02/02/2015.
// Copyright (c) 2015 Alexandre Daoud. All rights reserved.
//
#ifndef VoodooI2C_VoodooI2CHIDDevice_h
#define VoodooI2C_VoodooI2CHIDDevice_h
#include <IOKit/IOService.h>
#include <IOKit/IOLib.h>
#include <IOKit/IOWorkLoop.h>
#include ... |
/***************************************************************************
* Copyright (C) 2011 by Serge Poltavsky *
* serge.poltavski@gmail.com *
* *
* This pr... |
// C() / "C Parentheses"
// A pure functional programming language
// Reference implementation
//
// Copyright (C) 2015-2016 Alexander A. Klimov
//
// 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 Founda... |
/*
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this fi... |
/* -*- mode: C++ -*- */
/*
* Copyright 2008-2011 Steve Glass
* Copyright 2010 KA1RBI
*
* This file is part of OP25.
*
* OP25 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 ... |
#include <stdio.h>
int main() {
int n[2], d, v, i;
double t[2], hum = 1;
for (i = 0; i < 2; ++i) {
scanf ("%d %d %d", &n[i], &d, &v);
t[i] = hum * d / v;
}
printf("%d\n", t[0] < t[1] ? n[0] : n[1]);
return 0;
}
|
/**
* \file
* Implements missing standard socket functions.
*
* Author:
* Rodrigo Kumpera (kumpera@gmail.com)
*
* (C) 2015 Xamarin
*/
#include <mono/utils/networking.h>
#include <mono/utils/mono-compiler.h>
#include <glib.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
//wasm does have inet_pton even though... |
/**
Copyright (c) 2015 MidAir Technology, LLC. All rights reserved.
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... |
/*
* lms283gf05.c -- support for Samsung LMS283GF05 LCD
*
* Copyright (c) 2009 Marek Vasut <marek.vasut@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#includ... |
/*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
* http://ugfx.org/license.html
*/
/**
* @file include/gfx_rules.h
* @brief GFX system safety rules header file.
*
* @addtogroup GFX
* @{
*/
#i... |
#include "I2CLib.h"
#include "Motion_Sensors.h"
#include "HMC5883.h"
//#define GAIN 1090
#define GAIN 0.00121951219512195121951219512195f
void Delay(uint32_t delay);
void HMC5883_Init(void)
{
// I2C_WrData(HMC5883_ADDR, (uint8_t )ConfigRegA, SampleAveraging_8 | DataOutputRate_75HZ | NormalOperation);
I... |
////////////////////////////////////////////////////////////////////////////
// Created : 19.03.2010
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef PCH_H_INCLUDED
#define PCH_H_INCLUDED
#define XRAY_ENGINE_BUIL... |
/* Copyright (C) 2015 GOSSET Rody
This file is a part of NEDIT;
NEDIT 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 ver... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.