repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
pdebuyl/lammps
src/KOKKOS/npair_copy_kokkos.cpp
1865
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
gpl-2.0
phh/openswimdata
wp-content/plugins/wordpress-backup-to-dropbox/Classes/DatabaseBackup.php
8292
<?php /** * A class with functions the perform a backup of the WordPress database * * @copyright Copyright (C) 2011-2013 Michael De Wildt. All rights reserved. * @author Michael De Wildt (http://www.mikeyd.com.au/) * @license This program is free software; you can redistribute it and/or modify * it under...
gpl-2.0
davex25/mednafen
src/cdrom/CDAccess_CCD.cpp
10594
/* Mednafen - Multi-system Emulator * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distrib...
gpl-2.0
emilienGallet/DrupalUnicef
vendor/drupal/console/src/Command/Database/DumpCommand.php
2851
<?php /** * @file * Contains \Drupal\Console\Command\Database\DumpCommand. */ namespace Drupal\Console\Command\Database; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Outp...
gpl-2.0
andysim/psi4
psi4/src/psi4/psimrcc/matrix_memory_and_io.cc
10565
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This program is free software; you can redistribute it and/or modify * it under t...
gpl-2.0
6226/wp
wp-content/themes/kleo/paid-memberships-pro/pages/billing.php
13678
<?php global $wpdb, $current_user, $pmpro_msg, $pmpro_msgt, $pmpro_currency_symbol, $show_paypal_link; global $bfirstname, $blastname, $baddress1, $baddress2, $bcity, $bstate, $bzipcode, $bcountry, $bphone, $bemail, $bconfirmemail, $CardType, $AccountNumber, $ExpirationMonth, $ExpirationYear; $gateway = pmpro...
gpl-2.0
antiface/ThinkBayes2
code/lincoln.py
3845
"""This file contains code used in "Think Stats", by Allen B. Downey, available from greenteapress.com Copyright 2014 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function, division import thinkbayes2 import thinkplot import numpy """ Bayesian solution to...
gpl-2.0
JackPotte/xtools
public_html/common/jpgraph/Examples/testsuit.php
2780
<?php //======================================================================= // File: TESTSUIT.PHP // Description: Run all the example script in current directory // Created: 2002-07-11 // Ver: $Id: testsuit.php,v 1.1.2.1 2004/03/27 12:43:07 aditus Exp $ // // License: This code is released under QPL 1.0 // Copyr...
gpl-3.0
sanger-pathogens/Artemis
src/main/java/uk/ac/sanger/artemis/EntryGroupChangeEvent.java
3204
/* EntryGroupChangeEvent.java * * created: Mon Dec 7 1998 * * This file is part of Artemis * * Copyright (C) 1998,1999,2000 Genome Research Limited * * 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 Softw...
gpl-3.0
fabsx00/bjoern
projects/bjoern-plugins/datadependence/src/main/java/bjoern/plugins/datadependence/DataDependenceCreator.java
2097
package bjoern.plugins.datadependence; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.Vertex; import java.util.HashSet; import java.util.Map; import java.util.Set; public class DataDependenceCreator { private static final String LABEL = "REACHES"; ...
gpl-3.0
hgiemza/DIRAC
RequestManagementSystem/Client/test/Test_Request.py
16952
######################################################################## # $HeadURL$ # File: RequestTests.py # Author: Krzysztof.Ciba@NOSPAMgmail.com # Date: 2012/07/24 10:23:40 ######################################################################## """ :mod: RequestTests ======================= .. module: R...
gpl-3.0
jjalling/domoticz
main/Helper.cpp
31334
#include "stdafx.h" #include "Helper.h" #include "Logger.h" #ifdef WIN32 #include "dirent_windows.h" #include <direct.h> #else #include <dirent.h> #include <unistd.h> #endif #if !defined(WIN32) #include <sys/ptrace.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <fstream> #include <ma...
gpl-3.0
CLAMP-IT/LAE
mod/quiz/report/overview/overview_table.php
14190
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
gpl-3.0
srnsw/xena
xena/ext/src/xalan-j_2_7_1/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordFactGenerator.java
1573
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); *...
gpl-3.0
sirromas/lms
node_modules/cssproc/lib/index.js
2429
/* Copyright (c) 2012, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://yuilibrary.com/license/ */ var path = require('path'), url = require('url'); // url(../../foo.png) var URL_REGEX = "(?:(url\\s*\\(\\s*)([^\\s\\)]+))"; // AlphaImageLoader(src='picker_mask.png') var ALPHA_IMAGE_L...
gpl-3.0
AssociazionePrometeo/giano
vendor/bjeavons/zxcvbn-php/test/bootstrap.php
311
<?php $autoloadFile = __DIR__ . '/../vendor/autoload.php'; if (!file_exists($autoloadFile)) { throw new RuntimeException('Install dependencies to run test suite.'); } require_once $autoloadFile; $loader = new \Composer\Autoload\ClassLoader(); $loader->add('ZxcvbnPhp\Test', 'test'); $loader->register();
gpl-3.0
omeka/omeka-s
application/src/Permissions/Exception/RuntimeException.php
129
<?php namespace Omeka\Permissions\Exception; class RuntimeException extends \RuntimeException implements ExceptionInterface { }
gpl-3.0
kvakulo/Switcheroo
Core/Matchers/IndividualCharactersMatcher.cs
2077
using System.Text.RegularExpressions; namespace Switcheroo.Core.Matchers { public class IndividualCharactersMatcher : IMatcher { public MatchResult Evaluate(string input, string pattern) { if (input == null || pattern == null) { return NonMatchResult(inp...
gpl-3.0
Tutul-/POL-POM-5
phoenicis-library/src/main/java/org/phoenicis/library/ShortcutRunner.java
2982
/* * Copyright (C) 2015-2017 PÂRIS Quentin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is...
gpl-3.0
WordBenchNagoya/WordFes2017
wp/wp-content/themes/wfn2016/parts/content-archive.php
1075
<?php if ( is_home() ) { $dummy = get_template_directory_uri() . '/images/common/dummy-blog.png'; } else { $dummy = get_template_directory_uri() . '/images/common/dummy-topics.png'; } $thumb = pdc_get_post_thumbnail( get_the_ID(), $dummy ); $excerpt = pdc_g...
gpl-3.0
FAIMS/faims-android
faimsandroidapp/src/main/java/org/gdal/gdalconst/gdalconst.java
528
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
gpl-3.0
wyang651510708/yc
src/org/qii/weiciyuan/support/database/draftbean/ReplyDraftBean.java
2071
package org.qii.weiciyuan.support.database.draftbean; import org.qii.weiciyuan.bean.CommentBean; import android.os.Parcel; import android.os.Parcelable; /** * User: qii * Date: 12-10-21 */ public class ReplyDraftBean implements Parcelable { private String content; private String accountId; private Com...
gpl-3.0
grebaldi/PackageFactory.Guevara
packages/neos-ui-views/src/Data/ColumnView/index.js
1742
import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import {$get} from 'plow-js'; import style from './style.css'; import dataLoader from '../DataLoader/index'; import Hero from './hero'; import Column from './column'; @dataLoader() export default class ColumnView extends PureComponent { ...
gpl-3.0
Mikezar/STW6
ScrewTurnWiki.AzureStorageProviders.Tests/Properties/AssemblyInfo.cs
1458
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("Az...
gpl-3.0
KAMI911/loec
examples/Sharpen/binaries-windows-python25/XVThumbImagePlugin.py
1795
# # The Python Imaging Library. # $Id: XVThumbImagePlugin.py 2134 2004-10-06 08:55:20Z fredrik $ # # XV Thumbnail file handler by Charles E. "Gene" Cash # (gcash@magicnet.net) # # see xvcolor.c and xvbrowse.c in the sources to John Bradley's XV, # available from ftp://ftp.cis.upenn.edu/pub/xv/ # # history: #...
gpl-3.0
Venisir/Twilight-Whispers
Assets/RainMaker/Prefab/BaseRainScript.cs
13322
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace DigitalRuby.RainMaker { public class BaseRainScript : MonoBehaviour { [Tooltip("Camera the rain should hover over, defaults to main camera")] public Camera Camera; [Tooltip("Whether...
gpl-3.0
MartyParty21/AwakenDreamsClient
mcp/temp/src/minecraft/net/minecraft/client/gui/GuiScreenDemo.java
3824
package net.minecraft.client.gui; import java.io.IOException; import java.net.URI; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.resources.I18n; import net.minecraft.client.settings.GameSettings; im...
gpl-3.0
srnsw/xena
xena/ext/src/xalan-j_2_7_1/src/org/apache/xml/utils/DOMOrder.java
1518
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); *...
gpl-3.0
nado/stk-code
src/karts/kart_rewinder.hpp
2282
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2013 Joerg Henrichs // // 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 yo...
gpl-3.0
bbreck3/CMSC451
src/etherlog.cpp
1728
#include "etherlog.h" #include <QDebug> #include <QSettings> #include <QApplication> #include <QClipboard> namespace Etherwall { static EtherLog* sLog = NULL; EtherLog::EtherLog() : QAbstractListModel(0), fList() { sLog = this; const QSettings settings; fLogLevel = (LogSev...
gpl-3.0
sapo/kyoto
kyototycoon/ktserver.cc
116444
/************************************************************************************************* * A handy cache/storage server * Copyright (C) 2009-2012 FAL Labs * This file is part of Kyoto Tycoon. * This program is free software: you can redistribut...
gpl-3.0
ofenerci/Pocket-Science-Lab
Piezoelectrie-Transducer/piezoelectric-transducer.py
5006
''' GUI Program for Piezo-electric Transducer- Can be used as a impact/force sensor ExpEYES program developed as a part of GSoC-2015 project Project Tilte: Sensor Plug-ins, Add-on devices and GUI Improvements for ExpEYES Mentor Organization:FOSSASIA Mentors: Hong Phuc, Mario Behling, Rebentisch Author: Praveen Patil ...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Zeruhn_Mines/npcs/Vorzill.lua
861
----------------------------------- -- Area: Zeruhn Mines -- NPC: Vorzill -- Standard Info NPC ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- on...
gpl-3.0
parksandwildlife/learning
moodle/mod/dataform/field/entrytime/version.php
1001
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
gpl-3.0
bentearadu/Diagnostics
Sources/UDS_Protocol/stdafx.cpp
299
// stdafx.cpp : source file that includes just the standard includes // UDS_Protocol.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
gpl-3.0
jpm88/Practica3-IV
periodicoII/economia/ibex-35_20130430.php
7105
<!doctype html> <html lang="es"> <head> <meta charset="utf­8"> <title>MONDO DIFFICILE</title> <link rel="stylesheet" type="text/css" href="../estilo.css" /> </head> <body> <section id="bannersuperior"><a href="http://www.amazon.com"> <img src = "../img/amazon.jpg" alt = "Amazon"/> </a></section> <sect...
gpl-3.0
MartyParty21/AwakenDreamsClient
mcp/temp/src/minecraft/net/minecraft/block/BlockSnowBlock.java
1226
package net.minecraft.block; import java.util.Random; import javax.annotation.Nullable; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item...
gpl-3.0
Delitex/test2
admin/controllers/Categories.php
9074
<?php if ( ! defined('BASEPATH')) exit('No direct access allowed'); class Categories extends Admin_Controller { public function __construct() { parent::__construct(); // calls the constructor $this->user->restrict('Admin.Categories'); $this->load->model('Categories_model'); // load the menus mod...
gpl-3.0
OldSnapo/gisclient-3
tests/lib/HttpUtils.php
1875
<?php class HttpUtils { static public function post($url, $postParams, $cookieFile = NULL) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postParams); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // curl_setopt($ch, CURLOPT_HE...
gpl-3.0
cosmo-team/cosmo
quantize.py
1406
import numpy as np from bisect import bisect_right import argparse, os # TODO: try frequency analysis quantization # e.g. k-means? from http://scikit-learn.org/stable/auto_examples/cluster/plot_lena_compress.html # These need to both be numpy arrays def quantize(data, levels): indices = levels.searchsorted(data, si...
gpl-3.0
tranSMART-N/tranSMART-N_app
web-app/js/JS.Class/src/comparable.js
705
JS.Comparable = new JS.Module('Comparable', { extend: { ClassMethods: new JS.Module({ compare: function(one, another) { return one.compareTo(another); } }), included: function(base) { base.extend(this.ClassMethods); } }, lt: function(other) { return this.compa...
gpl-3.0
quait/madcow
madcow/modules/summon.py
1271
"""Summon people""" import re from learn import Main as Learn from madcow.util import Module from smtplib import SMTP from madcow.conf import settings from madcow.util.text import * class Main(Module): pattern = re.compile(r'^\s*summons?\s+(\S+)(?:\s+(.*?))?\s*$') require_addressing = True help = u'summo...
gpl-3.0
kevleyski/fluxcomp
src/fluxcomp.cpp
104866
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 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 Shim...
gpl-3.0
Zlash65/erpnext
erpnext/selling/page/point_of_sale/point_of_sale.py
4834
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe, json from frappe.utils.nestedset import get_root_of from frappe.utils import cint from erpnext.accounts.doctype.pos_profile.pos_profile i...
gpl-3.0
oltur/seeyourtravel.com
lib/leaflet-0.6/spec/suites/core/UtilSpec.js
4607
describe('Util', function() { describe('#extend', function() { var a; beforeEach(function() { a = { foo: 5, bar: 'asd' }; }); it('extends the first argument with the properties of the second', function() { L.Util.extend(a, { bar: 7, baz: 3 }); expect(a).to.eql({ foo: 5, ...
gpl-3.0
guaix-ucm/numina
numina/instrument/simulation/optics.py
702
# # Copyright 2016-2018 Universidad Complutense de Madrid # # This file is part of Numina # # SPDX-License-Identifier: GPL-3.0+ # License-Filename: LICENSE.txt # import numpy class Stop(object): def __init__(self, name): self.name = name def transmission(self, wl): return numpy.zeros_like(wl...
gpl-3.0
monash-merc/karaage
karaage/legacy/usage/south_migrations/0006_auto__chg_field_cpujob_jobname.py
19377
# encoding: utf-8 from south.db import db from south.v2 import SchemaMigration class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'CPUJob.jobname' db.alter_column('cpu_job', 'jobname', self.gf('django.db.models.fields.CharField')(max_length=256, null=True)) def backw...
gpl-3.0
SKuipers/core
modules/Reports/src/Contexts/NullContext.php
1116
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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. ...
gpl-3.0
BotBallARDroneAPI/CBCJVM
cbc/CBCJVM/examples/SensorEvents/bin/Main.java
1771
//package cbccore.tests; import cbccore.Device; import cbccore.events.Event; import cbccore.events.EventManager; import cbccore.events.EventListenerAdapter; import cbccore.events.IEventListener; public class Main { // Dummy events public static Event DRIVE_BEGAN_EVENT = EventManager.get().getUniqueEvent(); public ...
gpl-3.0
dataxu/ansible
lib/ansible/modules/cloud/vmware/vsphere_copy.py
6182
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (C): 2015, Dag Wieers <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1...
gpl-3.0
kevoree-modeling/framework
microframework/src/main/java/org/kevoree/modeling/format/json/JsonType.java
200
package org.kevoree.modeling.format.json; /** * @ignore ts */ public enum JsonType { VALUE, LEFT_BRACE, RIGHT_BRACE, LEFT_BRACKET, RIGHT_BRACKET, COMMA, COLON, EOF }
gpl-3.0
obiba/onyx
onyx-core/src/main/java/org/obiba/onyx/core/identifier/impl/randomincrement/RandomIncrementIdentifierSequence.java
3246
/******************************************************************************* * Copyright 2008(c) The OBiBa Consortium. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU Gene...
gpl-3.0
tk8226/YamiPortAIO-v2
Core/Champion Ports/Rumble/ElRumble/Program.cs
368
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LeagueSharp; using LeagueSharp.Common; using SharpDX; using EloBuddy; using LeagueSharp.Common; namespace ElRumble { internal class Program { public static void Main() {...
gpl-3.0
Jacob-Kroeze/mdl4biz
admin/tool/generator/version.php
997
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
gpl-3.0
andnovar/SmartSensorMobility
Common/src/edu/sharif/ce/dml/common/util/io/output/StreamTextWriter.java
4073
/* * Copyright (c) 2005-2008 by Masoud Moshref Javadi <moshref@ce.sharif.edu>, http://ce.sharif.edu/~moshref * The license.txt file describes the conditions under which this software may be distributed. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
gpl-3.0
NightscoutFoundation/xDrip
app/src/main/java/com/eveningoutpost/dexdrip/insulin/inpen/InPenScanMeister.java
2677
package com.eveningoutpost.dexdrip.insulin.inpen; import android.os.ParcelUuid; import com.eveningoutpost.dexdrip.Models.JoH; import com.eveningoutpost.dexdrip.Models.UserError; import com.eveningoutpost.dexdrip.UtilityModels.Constants; import com.eveningoutpost.dexdrip.UtilityModels.Inevitable; import com.eveningout...
gpl-3.0
mhalagan-nmdp/ngs
hml/src/test/java/org/nmdp/ngs/hml/HmlUtilsTest.java
5130
/* ngs-hml Mapping for HML XSDs. Copyright (c) 2014-2015 National Marrow Donor Program (NMDP) 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 the Lice...
gpl-3.0
labscoop/xortify
releases/Standalone/PHP/4.11/providers/xortify/post.loader.php
8877
<?php /* * Prevents Spam, Harvesting, Human Rights Abuse, Captcha Abuse etc. * basic statistic of them in XOOPS Copyright (C) 2012 Simon Roberts * Contact: wishcraft - simon@chronolabs.com.au * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License...
gpl-3.0
reaperrr/OpenRA
OpenRA.Mods.Common/FileFormats/Blast.cs
8201
#region Copyright & License Information /* * Copyright 2007-2019 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Licen...
gpl-3.0
dmlond/duke-data-service
app/api/dds/v1/trashbin_api.rb
9183
module DDS module V1 class TrashbinAPI < Grape::API helpers PaginationParams desc 'List Projects with Items in Trashbin' do detail 'List Projects with Items in Trashbin.' named 'list trashbin children' failure [ {code: 200, message: 'Success'}, {code: 401, ...
gpl-3.0
nupic-community/nostradamIQ
nostradamIQ-landingpage/webapp/lib/cesium/1.16/Specs/DataSources/DataSourceCollectionSpec.js
5373
/*global defineSuite*/ defineSuite([ 'DataSources/DataSourceCollection', 'Specs/MockDataSource', 'ThirdParty/when' ], function( DataSourceCollection, MockDataSource, when) { "use strict"; it('contains, get, getLength, and indexOf work', function() { v...
gpl-3.0
shguolei/train-graph
ETRCTools/src/org/paradise/etrc/test/PrintTest.java
3067
package org.paradise.etrc.test; import java.awt.*; import java.awt.print.*; public class PrintTest implements Printable { public int iResMul = 4; // 1 = 72 dpi; 4 = 288 dpi public int print(Graphics g, PageFormat pf, int iPage) throws PrinterException { final int FONTSIZE = 12; final double PNT_MM = ...
gpl-3.0
freemanmax/stats
upload/themes/default/js/loggedin.js
319
$(document).ready(function(){ width = $(window).width(); pop = $('#ps-loggedin-popup'); pop.css({ top: parseInt(75) + 'px', left: parseInt(width / 2 - pop.width() / 2) + 'px' }); // pop.fadeIn('fast'); setTimeout(function(){pop.fadeIn('fast');}, 250); setTimeout(function(){pop.fadeOut('slow');}, 4000); });
gpl-3.0
pallas1/ccminer-lyra-pallas
stats.cpp
3564
/** * Stats place holder * * Note: this source is C++ (requires std::map) * * tpruvot@github 2014 */ #include <stdlib.h> #include <memory.h> #include <map> #include "miner.h" static std::map<uint64_t, stats_data> tlastscans; static uint64_t uid = 0; //#define STATS_AVG_SAMPLES 60 #define STATS_PURGE_TIMEOUT 24...
gpl-3.0
ZSMingNB/react-news
node_modules/antd/es/anchor/index.js
5611
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-run...
gpl-3.0
tolarteh/moodle20
lib/pear/PHP/CodeSniffer/CommentParser/CommentElement.php
7280
<?php /** * A class to represent Comments of a doc comment. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600) * @license http://matrix.squiz....
gpl-3.0
naseef-07/gloox_lib_with_vs2013_project_file
src/mucmessagesession.cpp
1383
/* Copyright (c) 2006-2015 by Jakob Schröter <js@camaya.net> This file is part of the gloox library. http://camaya.net/gloox This software is distributed under a license. The full license agreement can be found in the file LICENSE in this distribution. This software may not be copied, modified, sold or distr...
gpl-3.0
GRIS-UdeM/ZirkOSC2
JuceLibraryCode/modules/juce_audio_basics/mpe/juce_MPEZone.cpp
11372
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI 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 v3 Details...
gpl-3.0
benzzdan/greeenpeach4
application/controllers/admin/module_main.php
4566
<?php /** * This file is part of OXID eShop Community Edition. * * OXID eShop Community Edition 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 ...
gpl-3.0
1bigmac/OA
src/com/oa/model/EventCalender.java
1596
package com.oa.model; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name="oa_eve...
gpl-3.0
stevenengelen/internet-platform
application/admin/component/news/view/articles/templates/default_scopebar.html.php
1020
<? /** * Belgian Police Web Platform - News Component * * @copyright Copyright (C) 2012 - 2013 Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/belgianpolice/internet-platform */ ?> <div class="scopebar"> <div class="scopebar__group...
gpl-3.0
saophaisau/port
Core/Champion Ports/Ahri/AhriSharp/Program.cs
322
using System; using LeagueSharp; using LeagueSharp.Common; using EloBuddy; using LeagueSharp.Common; namespace AhriSharp { class Program { public static Helper Helper; public static void Game_OnGameLoad() { Helper = new Helper(); new Ahri(); } } ...
gpl-3.0
saophaisau/port
Core/SDK Ports/ArcaneRyze/Modes/Lane.cs
1779
using Arcane_Ryze.Handler; using Arcane_Ryze.Main; using LeagueSharp; using LeagueSharp.SDK; using LeagueSharp.SDK.Enumerations; using System; using System.Linq; using static Arcane_Ryze.Core; using EloBuddy; using LeagueSharp.SDK; namespace Arcane_Ryze.Modes { class Lane { private static AIHeroCli...
gpl-3.0
b3lst/Zeus-Android-Client
app/src/main/java/com/prey/activities/LoginActivity.java
4357
/******************************************************************************* * Created by Carlos Yaconi * Copyright 2012 Fork Ltd. All rights reserved. * License: GPLv3 * Full license at "/LICENSE" ******************************************************************************/ package com.prey.activities; imp...
gpl-3.0
KlapZaZa/overture
core/codegen/platform/src/main/java/org/overture/codegen/analysis/vdm/VdmAnalysis.java
712
package org.overture.codegen.analysis.vdm; import java.util.HashSet; import java.util.Set; import org.overture.ast.analysis.DepthFirstAnalysisAdaptor; import org.overture.ast.node.INode; public abstract class VdmAnalysis extends DepthFirstAnalysisAdaptor { protected INode topNode; public VdmAnalysis(INode topNode...
gpl-3.0
FreePBX/contactmanager
vendor/giggsey/libphonenumber-for-php/src/data/ShortNumberMetadata_EH.php
2056
<?php /** * This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
gpl-3.0
sebardo/admin
AdminBundle/Resources/public/plugins/jquery-typeahead/src/jquery.typeahead.js
84585
/*! * jQuery Typeahead * Copyright (C) 2015 RunningCoder.org * Licensed under the MIT license * * @author Tom Bertrand * @version 2.0.0 (2015-07-19) * @link http://www.runningcoder.org/jquerytypeahead/ */ ; (function (window, document, $, undefined) { window.Typeahead = { version: '2.0.0' ...
gpl-3.0
pymelibre/age-of-companies
client/www/lib/auth0-lock/src/index.js
1019
import Auth0 from 'auth0-js'; import Core from './core'; import classic from './engine/classic'; import css from '../css/index.css'; const styleId = "auth0-lock-style"; let style = document.getElementById(styleId); if (!style) { const head = document.getElementsByTagName("head")[0]; style = document.createElement...
gpl-3.0
nipunn1313/parity
rpc/src/v1/helpers/poll_manager.rs
3153
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 lat...
gpl-3.0
Pike/elmo
apps/elmo_commons/tests/__init__.py
26
# deliberately left empty
mpl-2.0
monkeylittleinc/packer
builder/qemu/step_type_boot_command.go
10431
package qemu import ( "fmt" "log" "net" "regexp" "strings" "time" "unicode" "unicode/utf8" "github.com/mitchellh/go-vnc" "github.com/mitchellh/multistep" "github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/template/interpolate" ) const KeyLeftShift uint32 = 0xFFE1 type bootCommandTemplateD...
mpl-2.0
SlateScience/MozillaJS
js/src/python/mozboot/mozboot/osx.py
11714
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from __future__ import print_function, unicode_literals import os import re import subprocess import sys import tempfil...
mpl-2.0
michath/ConMonkey
js/src/jit-test/tests/jaeger/bug563000/trap-self.js
220
// |jit-test| debug setDebug(true); x = "notset"; function main() { /* The JSOP_STOP in main. */ trap(main, 38, "success()"); x = "failure"; } function success() { x = "success"; } main(); assertEq(x, "success");
mpl-2.0
michaelforfxhelp/master
third_party/MediaInfoLib/Source/RegressionTest/RegressionTest_Events.cpp
21278
// RegressionTest.cpp : Defines the entry point for the console application. // #include <iostream> #include <stdio.h> #include <map> #include "tchar.h" #include "MediaInfoDLL\MediaInfoDLL.h" #include "MediaInfo\MediaInfo_Events.h" #include "ZenLib\ZtringListListF.h" #include "ZenLib\Dir.h" #include "ZenLib...
mpl-2.0
opsidian/terraform
builtin/providers/google/resource_compute_image_test.go
2815
package google import ( "fmt" "testing" "github.com/hashicorp/terraform/helper/acctest" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" "google.golang.org/api/compute/v1" ) func TestAccComputeImage_basic(t *testing.T) { var image compute.Image resource.Test(t, res...
mpl-2.0
craigcook/bedrock
tests/redirects/base.py
7208
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. import re from urllib.parse import parse_qs, urlparse import requests from braceexpand import braceexpand def get_ab...
mpl-2.0
burdandrei/nomad
client/alloc_endpoint_test.go
36210
package client import ( "encoding/json" "fmt" "io" "net" "runtime" "strings" "testing" "time" "github.com/hashicorp/go-msgpack/codec" "github.com/hashicorp/nomad/acl" "github.com/hashicorp/nomad/client/config" cstructs "github.com/hashicorp/nomad/client/structs" "github.com/hashicorp/nomad/helper/pluginu...
mpl-2.0
jpetto/bedrock
bin/update/deploy_base.py
7934
""" Deployment for Bedrock in production. Requires commander (https://github.com/oremj/commander) which is installed on the systems that need it. """ import random import re import time import urllib import urllib2 from commander.deploy import commands, task, hostgroups import commander_settings as settings PYTHON ...
mpl-2.0
andrewmoko/openmrs-module-openhmis.cashier
omod_1.x/src/main/java/org/openmrs/module/openhmis/cashier/extension/html/AdminList.java
2556
/* * The contents of this file are subject to the OpenMRS Public 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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" *...
mpl-2.0
asm-products/mock-json-api-com-npm
test/specs/testUnauthorized.spec.js
1864
var express = require('express'), mock = require('../../mock.js'), port = 3001, request = require('request'), baseUrl = 'http://localhost', app = express(), server = null, routeName = null, routePath = null, statusCode = null, testScope = null; require('rootpath')(); describe("...
agpl-3.0
aldridged/gtg-sugar
include/generic/SugarWidgets/SugarWidgetFieldfloat.php
3755
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc. * * This program is free so...
agpl-3.0
nmgeek/emoncms
Modules/vis/visualisations/editrealtime.php
8308
<!-- All Emoncms code is released under the GNU Affero General Public License. See COPYRIGHT.txt and LICENSE.txt. --------------------------------------------------------------------- Emoncms - open source energy visualisation Part of the OpenEnergyMonitor project: http://open...
agpl-3.0
pombredanne/Gitorious
app/models/finders/ldap_group_finder.rb
1517
# encoding: utf-8 #-- # Copyright (C) 2012 Gitorious AS # # 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) any later versio...
agpl-3.0
decidim/decidim
decidim-elections/spec/system/preview_elections_with_share_token_spec.rb
253
# frozen_string_literal: true require "spec_helper" describe "Preview elections with share token", type: :system do let(:manifest_name) { "elections" } include_context "with a component" it_behaves_like "preview component with share_token" end
agpl-3.0
osgcc/ryzom
ryzom/common/data_common/r2/r2_actions.lua
1078
-- if not r2.Actions then r2.Actions={} end -- obsolete r2._obsolete_Actions_createActionWithCondition = function(name, conditions, actions) assert(name) assert(type(conditions) == "table") assert(actions) local first = nil local previous = nil local k, condition = next(conditions, nil) while condition do ...
agpl-3.0
CourtneyJWhite/xibo-cms
lib/Controller/Resolution.php
9542
<?php /* * Xibo - Digital Signage - http://www.xibo.org.uk * Copyright (C) 2009-2014 Daniel Garner * * This file is part of Xibo. * * Xibo 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 ...
agpl-3.0
vtellez/BringBack
app/libraries/libopensso-php/packs/prod_1013/config.php
738
<?php define('OPENSSO_BASE_URL', 'https://opensso.us.es/opensso/'); define('OPENSSO_COOKIE_NAME', 'iPlanetDirectoryPro'); define('OPENSSO_LOGIN_URL', OPENSSO_BASE_URL . 'UI/Login'); define('OPENSSO_LOGOUT_URL', OPENSSO_BASE_URL . 'UI/Logout'); define('OPENSSO_LOGOUT_SERVICE', OPENSSO_BASE_URL . 'identity/l...
agpl-3.0
markaspot/Mark-a-Spot-1.6-CakePHP
plugins/media/tests/groups/model.group.php
259
<?php class AllModelGroupTest extends GroupTest { var $label = 'All model and behavior related test cases'; function AllModelGroupTest() { TestManager::addTestCasesFromDirectory($this,dirname(__FILE__) . DS . '..' . DS . 'cases' . DS . 'models'); } } ?>
agpl-3.0
dalmendras/rapidminer
src/main/java/com/rapidminer/tools/config/AbstractConfigurable.java
9340
/** * Copyright (C) 2001-2015 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.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 b...
agpl-3.0
kat-co/juju
state/workers/restart_test.go
7942
// Copyright 2016 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package workers_test import ( "time" "github.com/juju/errors" "github.com/juju/loggo" "github.com/juju/testing" jc "github.com/juju/testing/checkers" "github.com/juju/utils/clock" gc "gopkg.in/check.v1" "github.com/...
agpl-3.0