code
stringlengths
4
1.01M
language
stringclasses
2 values
<?php namespace Tests\Browser\Pages\Admin; use Laravel\Dusk\Browser; use Laravel\Dusk\Page as BasePage; class FilterAdd extends BasePage { /** * Get the URL for the page. * * @return string */ public function url() { return '/admin/filter/create'; } /** * Assert ...
Java
/* * XAdES4j - A Java library for generation and verification of XAdES signatures. * Copyright (C) 2010 Luis Goncalves. * * XAdES4j 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...
Java
/* * Unitex * * Copyright (C) 2001-2014 Université Paris-Est Marne-la-Vallée <unitex@univ-mlv.fr> * * 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 Lic...
Java
# Copyright (c) 2010 by Yaco Sistemas <pmartin@yaco.es> # # 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. ...
Java
<?php /*! * Schedule builder * * Copyright (c) 2011, Edwin Choi * * Licensed under LGPL 3.0 * http://www.gnu.org/licenses/lgpl-3.0.txt */ //ini_set("display_errors", 1); //ini_set("display_startup_errors", 1); date_default_timezone_set("GMT"); $timezone = date_default_timezone_get(); if ( !isset($_GET['p'])) ...
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
#include <rlib/rbinfmt.h> static void dump_opt_hdr (RPeOptHdr * opt) { r_print ("\tLinkerVer: %u.%u\n", opt->major_linker_ver, opt->minor_linker_ver); r_print ("\tEntrypoint: 0x%.8x\n", opt->addr_entrypoint); r_print ("\tCode addr: 0x%.8x\n", opt->base_code); r_print ("\tCode size: 0x%.8x\n", opt->size_code...
Java
<?php return array( 'code' => 'ANG', 'sign' => 'f', 'sign_position' => 0, 'sign_delim' => '', 'title' => 'Netherlands Antillean guilder', 'name' => array( array('', ''), 'NAƒ', 'NAf', 'ƒ', ), 'frac_name' => array( array('cent', 'cen...
Java
# encoding: utf-8 from __future__ import absolute_import, unicode_literals from apiview.model import AbstractUserMixin, BaseModel from django.contrib.auth.base_user import AbstractBaseUser from django.db import models class User(AbstractUserMixin, BaseModel, AbstractBaseUser): is_staff = False def get_short...
Java
-- SETTINGS BLINKY_PLANT_INTERVAL = 3 NEW_STYLE_WIRES = true -- true = new nodebox wires, false = old raillike wires PRESSURE_PLATE_INTERVAL = 0.1 OBJECT_DETECTOR_RADIUS = 6 PISTON_MAXIMUM_PUSH = 15 MOVESTONE_MAXIMUM_PUSH = 100
Java
/** * Copyright(C) 2009-2012 * @author Jing HUANG * @file EtoileImageToTexturePlugin.cpp * @brief * @date 1/2/2011 */ #include "EtoileImageToTexturePlugin.h" #include "util/File.h" #include "QtTextureLoader.h" /** * @brief For tracking memory leaks under windows using the crtdbg */ #i...
Java
/* * #-------------------------------------------------------------------------- * # Copyright (c) 2013 VITRO FP7 Consortium. * # All rights reserved. This program and the accompanying materials * # are made available under the terms of the GNU Lesser Public License v3.0 which accompanies this distribution, and is ...
Java
package org.teaminfty.math_dragon.view.math.source.operation; import static org.teaminfty.math_dragon.view.math.Expression.lineWidth; import org.teaminfty.math_dragon.view.math.Empty; import org.teaminfty.math_dragon.view.math.source.Expression; import android.graphics.Canvas; import android.graphics.Paint; import a...
Java
js.Offset = function(rawptr) { this.rawptr = rawptr; } js.Offset.prototype = new konoha.Object(); js.Offset.prototype._new = function(rawptr) { this.rawptr = rawptr; } js.Offset.prototype.getTop = function() { return this.rawptr.top; } js.Offset.prototype.getLeft = function() { return this.rawptr.left; ...
Java
package br.gov.serpro.infoconv.proxy.businesscontroller; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import br.gov.frameworkdemoiselle.stereotype.BusinessController; import br.gov.serpro.infoconv.proxy.exception.AcessoNegadoException; import br.gov.s...
Java
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.18052 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut...
Java
/* * This file is part of Codecrypt. * * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> * * Codecrypt 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 Licens...
Java
/** * This file is part of the CRISTAL-iSE kernel. * Copyright (c) 2001-2015 The CRISTAL Consortium. All rights reserved. * * 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 ve...
Java
<?php namespace rocket\si\content\impl\iframe; use n2n\util\type\attrs\DataSet; use n2n\util\type\ArgUtils; use rocket\si\content\impl\InSiFieldAdapter; class IframeInSiField extends InSiFieldAdapter { private $iframeData; private $params = []; public function __construct(IframeData $iframeData) { $this->ifram...
Java
using System.Collections; using System.Linq; using System.Reflection; namespace System.ComponentModel.DataAnnotations { public class EnsureNoDuplicatesAttribute : ValidationAttribute { public EnsureNoDuplicatesAttribute(Type type, string comparassionMethodName) { this.type = type; method = type.GetMethod(...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Henon Map</title> <style type="text/css"> h1 {text-align: center} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/cs...
Java
#include "NodoTipo.h" NodoTipo::NodoTipo(Tipo* obj) { setTipo(obj); setDer(NULL); setIzq(NULL); _listaISBN = new ListaISBN(); } NodoTipo*&NodoTipo::getIzq() { return _izq; } void NodoTipo::setIzq(NodoTipo* _izq) { this->_izq = _izq; } NodoTipo*& NodoTipo::getDer() { return _der; } void NodoTipo::setDer(...
Java
#!/bin/bash # # RktCopyHosts # # Function: RktCopyHosts # Params: $1 - Host's '/etc/hosts' location # $2 - Container's '/etc/hosts' location # Output: (Normal acbuild output) function RktCopyHosts { local HOSTS="/etc/hosts" local RKT_HOSTS="/etc/hosts" if [ "${1}" != "" ]; then HOSTS="${1}" fi ...
Java
// -*- Mode:C++ -*- /************************************************************************\ * * * This file is part of Avango. * * *...
Java
<?php /**************************************************************************** * Name: quiverext.php * * Project: Cambusa/ryQuiver * * Version: 1.69 * *...
Java
/* * SupplyTask.h - Tasks issued to SupplyManager. Basically, just * produce Supply Depots while nearing capacity. */ #pragma once #include "Task.h" class BuildTask: public Task { };
Java
# -*- coding: utf-8 -*- # Copyright(C) 2014 smurail # # This file is part of a weboob module. # # This weboob module 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...
Java
// Created file "Lib\src\Uuid\tapi3if_i" 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, b...
Java
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Si...
Java
// Copyright 2016 Canonical Ltd. // Licensed under the LGPLv3, see LICENCE file for details. package gomaasapi import "github.com/juju/utils/set" const ( // Capability constants. NetworksManagement = "networks-management" StaticIPAddresses = "static-ipaddresses" IPv6DeploymentUbuntu = "ipv6-deploym...
Java
/*+@@file@@----------------------------------------------------------------*//*! \file MMCObj.h \par Description Extension and update of headers for PellesC compiler suite. \par Project: PellesC Headers extension \date Created on Sun Aug 7 22:15:35 2016 \date Modified on Sun Aug 7 2...
Java
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ /* * Copyright (C) 2008 Sven Herzberg * * 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...
Java
/* ========================================== * JGraphT : a free Java graph-theory library * ========================================== * * Project Info: http://jgrapht.sourceforge.net/ * Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh) * * (C) Copyright 2003-2008, by Barak Naveh ...
Java
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
Java
#PBS -S /bin/bash #PBS -N mnakao_job #PBS -A XMPTCA #PBS -q tcaq-q1 #PBS -l select=1:ncpus=1:host=tcag-0001-eth0+1:ncpus=1:host=tcag-0002-eth0+1:ncpus=1:host=tcag-0003-eth0+1:ncpus=1:host=tcag-0004-eth0+1:ncpus=1:host=tcag-0005-eth0+1:ncpus=1:host=tcag-0006-eth0+1:ncpus=1:host=tcag-0007-eth0+1:ncpus=1:host=tcag-0008-et...
Java
<?php namespace Pardisan\Support\Facades; use Illuminate\Support\Facades\Facade; class Menu extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'menu'; } }
Java
package edu.mit.blocks.codeblockutil; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Toolkit; import ja...
Java
/* * This class was automatically generated with * <a href="http://www.castor.org">Castor 1.3.1</a>, using an XML * Schema. * $Id: CreditCardCreditModRqTypeDescriptor.java,v 1.1.1.1 2010-05-04 22:06:01 ryan Exp $ */ package org.chocolate_milk.model.descriptors; //---------------------------------/ //- Import...
Java
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
Java
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2018 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
Java
// Created file "Lib\src\ksuser\X64\guids" 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, ...
Java
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
Java
'use strict'; const chai = require('chai'); const assert = chai.assert; const sinon = require('sinon'); const responseError = require('../../../server/utils/errors/responseError'); describe('responseError', () => { let spyCall; const res = {}; let error = 'An error message'; beforeEach(() => { res.statu...
Java
/* * Copyright (c) 2009 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * includ...
Java
package GT::Signals::Graphical::CandleSticks::BullishHarami; # Copyright (C) 2007 M.K.Pai # # 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...
Java
worldstate-analysis-widgets [![Build Status](http://ci.cismet.de/buildStatus/icon?job=worldstate-analysis-widgets)](https://ci.cismet.de/view/html5%20javascript/job/worldstate-analysis-widgets/) =========================== The AngularJS implementation of the Scenario Comparison and Analysis and the Multi-Criteria-Anal...
Java
#include "sensorcontrol.h" using namespace oi; /*! * \brief SensorControl::SensorControl * \param station * \param parent */ SensorControl::SensorControl(QPointer<Station> &station, QObject *parent) : QObject(parent), station(station), sensorValid(false){ this->worker = new SensorWorker(); this->connectSe...
Java
#bo general settings #set default start location Set-Location C:\ #change how powershell does tab completion #@see: http://stackoverflow.com/questions/39221953/can-i-make-powershell-tab-complete-show-me-all-options-rather-than-picking-a-sp Set-PSReadlineKeyHandler -Chord Tab -Function MenuComplete #eo general settings...
Java
# Copyright (C) 2014 Optiv, Inc. (brad.spengler@optiv.com) # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class InjectionRWX(Signature): name = "injection_rwx" description = "Creates R...
Java
using System; namespace MakingSense.AspNetCore.HypermediaApi.Linking.StandardRelations { public class RelatedRelation : IRelation { public Type InputModel => null; public bool IsVirtual => false; public HttpMethod? Method => null; public Type OutputModel => null; public string RelationName => "related...
Java
/* * Copyright (c) 2005–2012 Goethe Center for Scientific Computing - Simulation and Modelling (G-CSC Frankfurt) * Copyright (c) 2012-2015 Goethe Center for Scientific Computing - Computational Neuroscience (G-CSC Frankfurt) * * This file is part of NeuGen. * * NeuGen is free software: you can redistribute it a...
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
// // This file is auto-generated. Please don't modify it! // package org.opencv.video; import java.util.List; import org.opencv.core.Mat; import org.opencv.core.MatOfByte; import org.opencv.core.MatOfFloat; import org.opencv.core.MatOfPoint2f; import org.opencv.core.Rect; import org.opencv.core.RotatedRect; import or...
Java
FILE(REMOVE_RECURSE "CommonBehavior.cpp" "CommonBehavior.h" "RGBD.cpp" "RGBD.h" "JointMotor.cpp" "JointMotor.h" "DifferentialRobot.cpp" "DifferentialRobot.h" "moc_specificworker.cxx" "moc_specificmonitor.cxx" "moc_genericmonitor.cxx" "moc_commonbehaviorI.cxx" "moc_genericworker.cxx" "ui_main...
Java
/* * HA-JDBC: High-Availability JDBC * Copyright (C) 2013 Paul Ferraro * * 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...
Java
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
Java
package net.amygdalum.testrecorder.profile; import static org.assertj.core.api.Assertions.assertThat; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URL; import java.nio.file.Path; import java.util.Enumeration; import java.util.stream.Stream; i...
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
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2014, Arnaud Roques * * Project Info: http://plantuml.sourceforge.net * * This file is part of...
Java
/* * SonarQube * Copyright (C) 2009-2022 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 License, o...
Java
/* * Copyright (C) 2015 Morwenn * * The SGL 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. * * The SGL is distributed i...
Java
<?php /*************************************************************************************/ /* This file is part of the RainbowPHP package. If you think this file is lost, */ /* please send it to anyone kind enough to take care of it. Thank you. */ /* ...
Java
/*************************************************************************** * Copyright (C) 2010 by Ralf Kaestner, Nikolas Engelhard, Yves Pilat * * ralf.kaestner@gmail.com * * * * This pr...
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
<?php namespace pocketmine\entity; use pocketmine\item\Item as ItemItem; use pocketmine\nbt\tag\IntTag; class Slime extends Monster{ const NETWORK_ID = self::SLIME; const DATA_SIZE = 16; public $height = 2; public $width = 2; public $lenght = 2;//TODO: Size protected $exp_min = 1; protected $exp_max = 1;//T...
Java
using System.Globalization; using System.ServiceProcess; using System.Threading; using Castle.Core.Logging; using Consumentor.ShopGun.Component; using Consumentor.ShopGun.Configuration; namespace Consumentor.ShopGun.Services { public abstract class ServiceHostBase : ServiceBase { public abst...
Java
#include "GAPhysicsBaseTemp.h" //------------------------------GAPhysicsBase------------------------------------------ GAPhysicsBase::GAPhysicsBase() { } int GAPhysicsBase::testCollideWith(GAPhysicsBase* object2,GAVector3& collidePoint) { return 0; } //--------------------------------GALine----------------------...
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
/******************************************************************************* * Este arquivo é parte do Biblivre5. * * Biblivre5 é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como * publicada pela Fundação do Software Livre (FSF); na versão 3 ...
Java
package yaycrawler.admin; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.web.SpringBootServletInitializer; public class ServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilde...
Java
// Copyright © 2004, 2010, Oracle and/or its affiliates. All rights reserved. // // MySQL Connector/NET is licensed under the terms of the GPLv2 // <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most // MySQL Connectors. There are special exceptions to the terms and // conditions of the GPLv2 as it is ...
Java
using System; using System.Linq; using System.Threading; using System.Web.Mvc; using Arashi.Core; using Arashi.Core.Domain; using Arashi.Services.Localization; namespace Arashi.Web.Mvc.Views { public abstract class AdminViewUserControlBase : WebViewPage //ViewUserControl { private ILocalizationService loc...
Java
/** * Kopernicus Planetary System Modifier * ------------------------------------------------------------- * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of th...
Java
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ ...
Java
/********************************************************** DO NOT EDIT This file was generated from stone specification "users" www.prokarpaty.net ***********************************************************/ #include "dropbox/users/UsersFullAccount.h" using namespace dropboxQt; namespace dropboxQt{ namespace use...
Java
# Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md # /usr/local/Library/Contributions/example-formula.rb # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! class RubyDmSqliteAdapter < Formula homepage "" head "git://git.k...
Java
#include "zjson.h" #define Start 0x1<<1 #define ObjectInitial 0x1<<2 #define MemberKey 0x1<<3 #define KeyValueDelimiter 0x1<<4 #define MemberValue 0x1<<5 #define MemberDelimiter 0x1<<6 #define ObjectFinish 0x1<<7 #define ArrayInitial ...
Java
# Define helper methods to create test data # for mail view module MailViewTestData def admin_email @admin_email ||= FactoryGirl.build(:email, address: "admin@marketplace.com") end def admin @admin ||= FactoryGirl.build(:person, emails: [admin_email]) end def author @author ||= FactoryGirl.build...
Java
package br.com.vepo.datatransform.model; import org.springframework.beans.factory.annotation.Autowired; public abstract class Repository<T> { @Autowired protected MongoConnection mongoConnection; public <V> T find(Class<T> clazz, V key) { return mongoConnection.getMorphiaDataStore().get(clazz, key); } public...
Java
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --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 of the License, --or (at your option) any later ve...
Java
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package charmrepo_test import ( jc "github.com/juju/testing/checkers" gc "gopkg.in/check.v1" "gopkg.in/juju/charm.v6-unstable" "gopkg.in/juju/charmrepo.v0" "gopkg.in/juju/charmrepo.v0/csclient" charmtesting "gopk...
Java
<?php namespace Clearbooks\Labs\Toggle\Entity; class Parasol extends ToggleStub { protected $name = "Parasol"; protected $desc = "An MASsIVE Umbrella"; protected $id = 2; protected $toggleTitle = "Parasols 4 Dayz"; }
Java
package org.com.json; /* Copyright (c) 2002 JSON.org 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, publ...
Java
ALTER TABLE [dbo].[StockTechnicalIndicators] WITH CHECK ADD CONSTRAINT [FK_StockTechnicalIndicators_Stock] FOREIGN KEY([StockNo]) REFERENCES [dbo].[Stock] ([StockNo]) GO ALTER TABLE [dbo].[StockTechnicalIndicators] CHECK CONSTRAINT [FK_StockTechnicalIndicators_Stock] GO
Java
package com.silicolife.textmining.processes.ie.ner.nerlexicalresources; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.concurrent.ExecutorService; import java.util...
Java
/*! * angular-datatables - v0.4.1 * https://github.com/l-lin/angular-datatables * License: MIT */ !function(a,b,c,d){"use strict";function e(a,b){function c(a){function c(a,c){function e(a){var c="T";return h.dom=h.dom?h.dom:b.dom,-1===h.dom.indexOf(c)&&(h.dom=c+h.dom),h.hasTableTools=!0,d.isString(a)&&h.withTableT...
Java
# Copyright (c) 2013 - The pycangjie authors # # This file is part of pycangjie, the Python bindings to libcangjie. # # pycangjie 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 ...
Java
/*#include "StdAfx.h"*/ #include "Sqlite3Ex.h" #include <string.h> Sqlite3Ex::Sqlite3Ex(void) :m_pSqlite(NULL) { memset(m_szErrMsg, 0x00, ERRMSG_LENGTH); } Sqlite3Ex::~Sqlite3Ex(void) { } bool Sqlite3Ex::Open(const wchar_t* szDbPath) { int nRet = sqlite3_open16(szDbPath, &m_pSqlite); if...
Java
<?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2018-2022 */ namespace Aimeos\Admin\JQAdm\Type\Media\Property; class StandardTest extends \PHPUnit\Framework\TestCase { private $context; private $object; private $view; protected function setUp() : void...
Java
############################################################################# # Makefile for building: animatedtiles.app/Contents/MacOS/animatedtiles # Generated by qmake (2.01a) (Qt 4.7.4) on: ? 4? 16 23:07:08 2015 # Project: animatedtiles.pro # Template: app # Command: /Users/ssangkong/NVRAM_KWU/qt-everywhere-openso...
Java
package repack.org.bouncycastle.crypto.agreement; import repack.org.bouncycastle.crypto.BasicAgreement; import repack.org.bouncycastle.crypto.CipherParameters; import repack.org.bouncycastle.crypto.params.ECDomainParameters; import repack.org.bouncycastle.crypto.params.ECPrivateKeyParameters; import repack.org.bouncyc...
Java
/** * Copyright (C) 2015 Łukasz Tomczak <lksztmczk@gmail.com>. * * This file is part of OpenInTerminal plugin. * * OpenInTerminal plugin 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 ver...
Java
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * gmpy_mpz_prp.h * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Python interface to the GMP or MPIR, MPFR, and MPC multiple precision * * libraries...
Java
<?php namespace pocketmine\item; class Melon extends Food{ public function __construct($meta = 0, $count = 1){ parent::__construct(self::MELON, $meta, $count, "Melon"); } public function getFoodRestore(){ return 2; } public function getSaturationRestore(){ return 1.2; } }
Java
require 'support/matchers/type'
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
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AlterUsersTable2 extends Migration { /** * Run the migrations. * * Here, we are adding a new column to the users table called "age_range" * * They typ...
Java
<h3>Lucky Guess? Or Calculated Risk?</h3> <h4>(λ)</h4> <p>From the example on the previous page, it looks like our game will need at least 3 different kinds of expressions:<code>guess</code>, <code>smaller</code>, and <code>bigger</code>.</p> <p>For the expressions to do what we want, we need to define the functions be...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' lang='he' dir='rtl'> <head> <meta http-equiv='Content-Type' content='text/html; charset=windows-1255' /> <meta charset='windows-1255' /> <meta http-equ...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' lang='he' dir='rtl'> <head> <meta http-equiv='Content-Type' content='text/html; charset=windows-1255' /> <meta http-equiv='Content-Script-Type' content=...
Java