code
stringlengths
4
1.01M
language
stringclasses
2 values
#!/usr/bin/python """Test of tree output using Firefox.""" from macaroon.playback import * import utils sequence = MacroSequence() sequence.append(PauseAction(3000)) sequence.append(KeyComboAction("<Alt>b")) sequence.append(KeyComboAction("Return")) sequence.append(KeyComboAction("Tab")) sequence.append(KeyComboAct...
Java
import { FutureResult } from '@ephox/katamari'; import { ResponseBodyDataTypes, RequestBody, ResponseBody } from './HttpData'; import { HttpError } from './HttpError'; export const enum HttpMethod { Get = 'get', Post = 'post', Delete = 'delete', Patch = 'patch', Put = 'put' } export type ProgressFunction = ...
Java
/* (c) Copyright 2001-2010 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Hundt <andi@fischlustig.de>, Sven Neumann <neo@di...
Java
/** * Copyright (C) 2010 Orbeon, Inc. * * 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 * 2.1 of the License, or (at your option) any later version. * * This program i...
Java
#ifndef EPubCaseElement_h #define EPubCaseElement_h #include "epubElement.h" namespace WebCore { class EPubCaseElement : public epubElement { public: static PassRefPtr<EPubCaseElement> create(const QualifiedName&, Document*); void finishParsingChildren(); private: EPubCaseElement(const QualifiedName&, Do...
Java
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensee...
Java
/* * JBoss, Home of Professional Open Source. * Copyright 2014, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Java
/* baskcground color */ .member-menu-top .profile-image, .member-menu-logged ul, .flatBoard .login-wrap, .m-element .notice-list li .notice-text, .m-imagenews .info span.category, .swiper-active-switch, .m-ranking .rank-num {background-color: #7371b4;} /* @mCol */ .btDark, .flatMember .btSubmit, .flatBoard .btSubmit, ....
Java
// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
Java
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ /** * */ package org.hibernate.spatial.testing.dialects.h2geodb; import org.hib...
Java
/* $Id: glade-databox.c 4 2008-06-22 09:19:11Z rbock $ */ /* -*- Mode: C; c-basic-offset: 4 -*- * libglade - a library for building interfaces from XML files at runtime * Copyright (C) 1998-2001 James Henstridge <james@daa.com.au> * Copyright 2001 Ximian, Inc. * * glade-databox.c: support for canvas widgets in li...
Java
// in all regexp "\" must be replaced by "\\" var datas= { "default": { // the name of this definition group. It's posisble to have different rules inside the same definition file "REGEXP": { "before_word": "[^a-zA-Z0-9_]|^" // \\s|\\.| ,"possible_words_letters": "[a-zA-Z0-9_]+" ,"letter_after_word_mu...
Java
/* Test driver for thbrk */ #define MAXLINELENGTH 1000 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <thai/thbrk.h> /* run with "-i" argument to get the interactive version otherwise it will run the self test and exit */ int main (int argc, char* argv[]) { thchar_t str[MAXLINELENGTH]; ...
Java
# This file is part of the GOsa framework. # # http://gosa-project.org # # Copyright: # (C) 2016 GONICUS GmbH, Germany, http://www.gonicus.de # # See the LICENSE file in the project's top-level directory for details. import pkg_resources from gosa.common.components import PluginRegistry from gosa.common.utils impor...
Java
/* * Created on 17-dic-2005 * * TODO To change the template for this generated file go to Window - * Preferences - Java - Code Style - Code Templates */ package org.herac.tuxguitar.gui.actions.transport; import org.eclipse.swt.events.TypedEvent; import org.herac.tuxguitar.gui.TuxGuitar; import org.herac.tuxguita...
Java
<?php // Only one consumer per queue is allowed. // Set $queue name to test exclusiveness include(__DIR__ . '/config.php'); use PhpAmqpLib\Connection\AMQPStreamConnection; $exchange = 'fanout_exclusive_example_exchange'; $queue = ''; // if empty let RabbitMQ create a queue name // set a queue name and run multiple i...
Java
// <copyright file="AcmlLinearAlgebraProvider.float.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2011 Math.NET // // Permission is hereby granted...
Java
import java.io.IOException; import jade.core.AID; import java.util.ArrayList; import java.util.Scanner; import jade.core.Agent; public class DutchModel { public static void main(String[] args) throws IOException { String option=""; ArrayList<BiderAgent> bidders= new ArrayList<BiderAgent>(); ...
Java
<!-- MOOSE Object Documentation Stub: Remove this when content is added. --> #VolumePostprocessor !devel /XFEM/VolumePostprocessor float=right width=auto margin=20px padding=20px background-color=#F8F8F8 !description /XFEM/VolumePostprocessor !parameters /XFEM/VolumePostprocessor !inputfiles /XFEM/VolumePostprocesso...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_40) on Wed Feb 10 11:30:58 CST 2016 --> <title>Uses of Class org.hibernate.engine.FetchStrategy (Hibernate JavaDocs)</title> <meta name="date" ...
Java
DESTDIR = "/" LENS_DEST = "$(DESTDIR)/usr/share/augeas/lenses" LENS_TEST_DEST = "$(LENS_DEST)/tests" install: install -d -m0755 $(LENS_DEST) install -d -m0755 $(LENS_TEST_DEST) install -m0644 gitolite.aug $(LENS_DEST) install -m0644 tests/test_gitolite.aug $(LENS_TEST_DEST) test: augparse -I . tests/test_gitoli...
Java
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qstyleoption....
Java
/* * Copyright (C) 2010 Herve Quiroz * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This librar...
Java
// The libMesh Finite Element Library. // Copyright (C) 2002-2016 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
Java
/** * @file llviewerdisplayname.cpp * @brief Wrapper for display name functionality * * $LicenseInfo:firstyear=2010&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of...
Java
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2013 Oliver Burn // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Publ...
Java
/* -*-c++-*- $Id: Version,v 1.2 2004/04/20 12:26:04 andersb Exp $ */ /** * OsgHaptics - OpenSceneGraph Haptic Library * Copyright (C) 2006 VRlab, Umeå University * * 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 F...
Java
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
Java
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2007 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
Java
/** * OpenAL cross platform audio library * Copyright (C) 1999-2007 by authors. * 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 op...
Java
#ifndef __NEURO_H #define __NEURO_H #define OK 0 #define rassert(x) if (!(x)) { void exit(int); fprintf(stderr, "FAIL: %s:%d:%s\n", __FILE__, __LINE__, #x); exit(1); } #include <neuro/stringtable.h> #include <neuro/cmdhandler.h> #include <neuro/ns2net.h> #endif
Java
using System; using System.Linq; using System.Threading; using BruTile; using Mapsui.Layers; using Mapsui.Providers; using NUnit.Framework; using BruTile.Predefined; using Mapsui.Rendering; using Mapsui.Rendering.Xaml; namespace Mapsui.Tests.Layers { [TestFixture] public class RasterizingLayerTests { ...
Java
/* * This file is part of the QuickServer library * Copyright (C) QuickServer.org * * Use, modification, copying and distribution of this software is subject to * the terms and conditions of the GNU Lesser General Public License. * You should have received a copy of the GNU LGP License along with this * libra...
Java
#include <mystdlib.h> #include "meshing.hpp" namespace netgen { extern double minother; extern double minwithoutother; static double CalcElementBadness (const Array<Point3d, PointIndex::BASE> & points, const Element & elem) { double vol, l, l4, l5, l6; if (elem.GetNP() != 4...
Java
/*$Id$ * * This source file is a part of the Fresco Project. * Copyright (C) 2000 Stefan Seefeld <stefan@fresco.org> * http://www.fresco.org * * 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 Softwar...
Java
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_25) on Mon Sep 29 10:45:19 PDT 2014 --> <title>Uses of Class org.minueto.MinuetoInvalidColorValueException (MinuetoAPI API)</title> <me...
Java
/** * @defgroup Win Win * @ingroup Elementary * * @image html win_inheritance_tree.png * @image latex win_inheritance_tree.eps * * @image html img/widget/win/preview-00.png * @image latex img/widget/win/preview-00.eps * * The window class of Elementary. Contains functions to manipulate * windows. The Evas en...
Java
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id$ $section = 'surveys'; re...
Java
/* * Interfaces MIB group interface - interfaces.h * */ #ifndef _MIBGROUP_INTERFACES_H #define _MIBGROUP_INTERFACES_H /*********************************************************************** * configure macros */ config_require(util_funcs) /* * conflicts with the new MFD rewrite */ config_exclude(if-mib/ifTab...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Sun Mar 20 22:06:58 PDT 2016 --> <title>Uses of Package com.JasonILTG.ScienceMod.item.armor</title> <meta name="date" content="2016-03-2...
Java
/* * Button representing user's Avatar * * Copyright (C) 2011 Martin Klapetek <martin.klapetek@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 o...
Java
/****************************************************************************** * $Id: ogr_core.h 23947 2012-02-11 17:37:02Z rouault $ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: Define some core portability services for cross-platform OGR code. * Author: Frank Warmerdam, warmerdam...
Java
/*========================================================================= Program: FEMUS Module: PetscLinearEquationSolver Authors: Eugenio Aulisa, Simone Bnà Copyright (c) FEMTTU All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL...
Java
#include <math.h> #include <stdlib.h> #include <stdio.h> #include <rpnmacros.h> #include <unistd.h> #include <zfstlib.h> #include <malloc.h> #include <string.h> int c_armn_compress32(unsigned char *, float *, int, int, int, int); int c_armn_uncompress32(float *fld, unsigned char *zstream, int ni, int nj, int nk, int...
Java
package com.quickserverlab.quickcached; import java.io.IOException; import java.net.SocketTimeoutException; import java.util.logging.Level; import java.util.logging.Logger; import com.quickserverlab.quickcached.cache.CacheException; import com.quickserverlab.quickcached.cache.CacheInterface; import org.quickserver.net...
Java
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You m...
Java
/* * GPAC Multimedia Framework * * Authors: Jean Le Feuvre * Copyright (c) Telecom ParisTech 2005-2012 * All rights reserved * * This file is part of GPAC / X11 video output module * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General P...
Java
# -*- coding: utf-8 -*- """Additional helper functions for the optlang solvers. All functions integrate well with the context manager, meaning that all operations defined here are automatically reverted when used in a `with model:` block. The functions defined here together with the existing model functions should a...
Java
// Copyright 2018 Google LLC. All Rights Reserved. /* Copyright (C) 2005-2017 Steven L. Scott This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (a...
Java
// // Created by anton on 21.03.15. // #include "wMotion.h" #include "Matrix.h" #include <nan.h> v8::Persistent<FunctionTemplate> wMotion::constructor; int buffersSize; unsigned char *cur; float *recent; float *bg; int motionThreshold, presenceThreshold; float motionWeight, presenceWeight; void wMotion::Init(Hand...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_02-ea) on Thu Dec 24 00:39:33 CET 2009 --> <TITLE> org.neuroph.nnet.comp </TITLE> <META NAME="date" CONTENT="2009-12-24"> <LINK REL ="stylesheet" T...
Java
/* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * incl...
Java
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
Java
/* * Copyright (C) 2009-2012 Felipe Contreras * * Author: Felipe Contreras <felipe.contreras@gmail.com> * * This file may be used under the terms of the GNU Lesser General Public * License version 2.1. */ #include "gstav_h264enc.h" #include "gstav_venc.h" #include "plugin.h" #include <libavcodec/avcodec.h> #in...
Java
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
Java
/* * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the licence, or (at your option) any later version. * * This librar...
Java
/* GStreamer * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> * Copyright (C) <2003> David Schleef <ds@schleef.org> * Copyright (C) <2010> Sebastian Dröge <sebastian.droege@collabora.co.uk> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library G...
Java
#include "rendertarget.h" #include <system/engine.h> #include <renderer/renderer.h> #include <renderer/forms.h> using namespace CGE; RenderTarget* RenderTarget::mCurrTarget = NULL; void RenderTarget::drawFullscreen(bool transform){ Renderer* rend = Engine::instance()->getRenderer(); if (transform){ rend->ort...
Java
/* Static5 is engaged with type BIGINT and ggd(vec) */ #include "lie.h" #ifdef __STDC__ static entry gcd(entry x,entry y); static entry abs_minimum(vector* v_vec); static boolean equal_elements(vector* v_vec); #endif static bigint* bin_from_int(i) intcel* i; { entry k = i->intval; freemem(i); return entry2bigint(k); ...
Java
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2007 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
Java
--TEST-- Test node order of EncryptedData children. --DESCRIPTION-- Makes sure that the child elements of EncryptedData appear in the correct order. --FILE-- <?php require($_SERVER['DOCUMENT_ROOT'] . '/../xmlseclibs.php'); $dom = new DOMDocument(); $dom->load($_SERVER['DOCUMENT_ROOT'] . '/basic-doc.xml'); $objKey = n...
Java
/* * CrocoPat is a tool for relational programming. * This file is part of CrocoPat. * * Copyright (C) 2002-2008 Dirk Beyer * * CrocoPat 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 ...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>tinymce.util.Dispatcher tests</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link rel="stylesheet" href="http://code.jquery.com/q...
Java
//////////////////////////////////////////////////////////////// // // Copyright (C) 2007 The Broad Institute and Affymetrix, Inc. // // 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 Foundat...
Java
class TmsFakeIn < ActiveRecord::Base set_table_name "tms_fake_in" end # == Schema Information # # Table name: tms_fake_in # # id :integer(10) not null, primary key # message :text not null # created_at :datetime # priority :integer(10) default(0), not null #
Java
/* $Id: model_in.h,v 1.27 2004/10/25 11:37:40 aspert Exp $ */ /* * * Copyright (C) 2001-2004 EPFL (Swiss Federal Institute of Technology, * Lausanne) 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...
Java
// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // // 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, cop...
Java
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.6: textprogressbar.cpp Example File (network/downloadmanager/textprogressbar.cpp)</title> <link hre...
Java
// // YTS.c // // $Author: why $ // $Date: 2005/09/20 23:42:51 $ // // Copyright (C) 2004 why the lucky stiff // // Well, this is the Yaml Testing Suite in the form of a plain C // API. Basically, this is as good as C integration gets for Syck. // You've got to have a symbol table around. From there, you can // query...
Java
/*---------------------------------------------------------------------------*\ * OpenSG * * * * * * ...
Java
# Makefile.in generated by automake 1.10.1 from Makefile.am. # gconf/GConf/Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Softwar...
Java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.service.protocol.event; import java.util.*; import net.java.sip.communicator.service.protocol.*; /** * Events of this class represent ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> <html><head> <title>Methods</title> <meta name="generator" content="HeaderDoc"> </head><body bgcolor="#ffffff"><h1><font face="Geneva,Arial,Helvtica">Methods</font></h1><hr><br> <a name="//a...
Java
#include <ixlib_random.hpp>
Java
package net.gigimoi.zombietc.tile; import net.gigimoi.zombietc.ZombieTC; import net.gigimoi.zombietc.util.IListenerZTC; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.NetworkManager; import net.minecraft.network.Packet; import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import n...
Java
FROM registry.access.redhat.com/rhel7:latest MAINTAINER cevich@redhat.com RUN yum install -y deltarpm yum-utils &&\ yum update -y && \ yum install avahi -y && \ yum clean all ADD avahi-daemon.conf /etc/avahi/ ADD ssh.service /etc/avahi/services/ ADD avahi-daemon.service /etc/systemd/system/ LABEL RUN /usr/b...
Java
package net.minecraft.server; import java.util.Iterator; import java.util.List; import net.minecraft.src.BiomeGenBase; import cpw.mods.fml.common.registry.IMinecraftRegistry; import cpw.mods.fml.server.FMLBukkitHandler; public class BukkitRegistry implements IMinecraftRegistry { @Override public void addRe...
Java
#define OMPI_SKIP_MPICXX 1 #define MPICH_SKIP_MPICXX 1 #include "comm.h" #include <stdio.h> #include "cmdLineOptions.h" #include "h5test.h" #include "parallel_io.h" #include "t3pio.h" Comm P; void outputResults(CmdLineOptions& cmd, ParallelIO& pio); int main(int argc, char* argv[]) { P.init(&argc, &argv, MPI_CO...
Java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Java
-- Copyright (C) 2016-2017 Red Hat, Inc. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either -- version 2.1 of the License, or (at your option) any later version. -- -- This libr...
Java
#if USE_SDL_BACKEND #include "../test/SDLBackend.h" #else #include "../test/OgreBackend.h" #endif #include <GG/StyleFactory.h> #include <GG/dialogs/ThreeButtonDlg.h> #include <GG/dialogs/FileDlg.h> #include <iostream> // Tutorial 1: Minimal // This contains the minimal interesting GG application. It contains 3D as...
Java
#include "longlong_pre.h" #include <longlong_inc.h> /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the t...
Java
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
Java
#!/usr/bin/env kjscmd5 function Calculator(ui) { // Setup entry functions var display = ui.findChild('display'); this.display = display; this.one = function() { display.intValue = display.intValue*10+1; } this.two = function() { display.intValue = display.intValue*10+2; } this.three = function() { displa...
Java
import { Keys } from '@ephox/agar'; import { describe, it } from '@ephox/bedrock-client'; import { TinyAssertions, TinyContentActions, TinyHooks, TinySelections } from '@ephox/mcagar'; import Editor from 'tinymce/core/api/Editor'; import Theme from 'tinymce/themes/silver/Theme'; describe('browser.tinymce.core.keyboar...
Java
<?php namespace wcf\acp\form; use wcf\data\contact\option\ContactOption; use wcf\data\contact\option\ContactOptionAction; use wcf\data\contact\option\ContactOptionEditor; /** * Shows the contact option add form. * * @author Alexander Ebert * @copyright 2001-2019 WoltLab GmbH * @license GNU Lesser General Public ...
Java
/** * Copyright 2006-2017 the original author or authors. * * 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 * * Unle...
Java
/****************************************************************************** * Copyright (C) 2010-2016 CERN. All rights not expressly granted are reserved. * * This file is part of the CERN Control and Monitoring Platform 'C2MON'. * C2MON is free software: you can redistribute it and/or modify it under the * t...
Java
from __future__ import absolute_import import json class JSONRenderer: """ Renders a mystery as JSON """ def render(self, mystery): return json.dumps(mystery.encode(), indent=4)
Java
/* * SonarQube Java * Copyright (C) 2012-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * 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 Licen...
Java
package com.silicolife.textmining.core.datastructures.dataaccess.database.dataaccess.implementation.model.core.entities; // Generated 23/Mar/2015 16:36:00 by Hibernate Tools 4.3.1 import javax.persistence.Column; import javax.persistence.Embeddable; /** * ClusterProcessHasLabelsId generated by hbm2java */ @Embedda...
Java
/* * Library signature type test program * * Copyright (C) 2014-2022, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * 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 Fre...
Java
var namespaces = [ [ "shyft", "namespaceshyft.html", "namespaceshyft" ] ];
Java
// Created file "Lib\src\Uuid\oledbdat" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5...
Java
/** * Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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...
Java
package fun.guruqu.portal.structures; public class BlockStructure { /** * @param args */ public static void main(String[] args) { } }
Java
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Profile.cs" company="Allors bvba"> // Copyright 2002-2012 Allors bvba. // Dual Licensed under // a) the Lesser General Public Licence v3 (LGPL) // b) the Allors License // Th...
Java
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 v...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SphericalHarmonicAnalyze { class LUDenceMatrix:MathNet.Numerics.LinearAlgebra.Double.Factorization.LU { MathNet.Numerics.LinearAlgebra.Double.DenseMatrix dm { get; set; } } }
Java