repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
AllBecomesGood/Share-UpdateHolograms
ShareAndKeepSynced/Assets/HoloToolKit/Input/Tests/Scripts/FocusedObjectMessageSender.cs
883
using UnityEngine; namespace HoloToolkit.Unity.InputModule.Tests { /// <summary> /// FocusedObjectMessageSender class sends Unity message to object currently focused on by GazeManager. /// Focused object messages can be triggered using voice commands, so keyword responses /// need to be registered in K...
mit
grimpows/SonataPageBundle
Model/TransformerInterface.php
1010
<?php /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\PageBundle\Model; /** * @author Thomas Rabaix...
mit
karan/dotfiles
.vscode/extensions/redhat.vscode-yaml-0.7.2/node_modules/vscode-languageserver/lib/resolve.js
804
/* -------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * -------------------------------------------------------------...
mit
stachon/XChange
xchange-kraken/src/main/java/org/knowm/xchange/kraken/service/KrakenBaseService.java
5981
package org.knowm.xchange.kraken.service; import java.io.IOException; import java.util.Arrays; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; import org.knowm.xchange.Exchange; import org.knowm.xchange.client.ExchangeRestProxyBuilder; import org.knowm.xchange....
mit
umasteeringgroup/UMA
UMAProject/Assets/UMA/Examples/Physics Examples/Scripts/CursorLock.cs
320
using UnityEngine; using System.Collections; namespace UMA.Dynamics.Examples { public class CursorLock : MonoBehaviour { void OnApplicationFocus(bool hasFocus ) { if( hasFocus ) LockMouse (); } void LockMouse() { Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; } } }
mit
TradeMe/PlayMe
PlayMe.Server/Helpers/VetoHelperRules/AlreadyVetoedTrackVetoRule.cs
428
using System.Linq; using PlayMe.Common.Model; using PlayMe.Server.Helpers.Interfaces; using PlayMe.Server.Helpers.VetoHelperRules.Interfaces; namespace PlayMe.Server.Helpers.VetoHelperRules { public class AlreadyVetoedTrackVetoRule : IVetoRule { public bool CantVetoTrack(string vetoedByUser, QueuedTra...
mit
SWE574-Groupago/heritago
Heritandroid/app/src/main/java/com/heritago/heritandroid/fragments/LoginFragment.java
2075
package com.heritago.heritandroid.fragments; import android.app.Fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.InputMethodManager; import android.widget.Button; ...
mit
develar/electron-builder
packages/builder-util-runtime/src/uuid.ts
5393
import { createHash, randomBytes } from "crypto" import { newError } from "./index" const invalidName = "options.name must be either a string or a Buffer" // Node ID according to rfc4122#section-4.5 const randomHost = randomBytes(16) randomHost[0] = randomHost[0] | 0x01 // lookup table hex to byte const hex2byte: an...
mit
kaw3939/Open-Vote
node_modules/mongoose/test/types.array.test.js
19603
/** * Module dependencies. */ var start = require('./common') , should = require('should') , mongoose = require('./common').mongoose , Schema = mongoose.Schema , random = require('../lib/utils').random , MongooseArray = mongoose.Types.Array; var User = new Schema({ name: String , pets: [Schema.Obje...
mit
crummel/dotnet_core-setup
src/test/Assets/TestProjects/RuntimeProperties/Program.cs
473
using System; namespace RuntimeProperties { public static class Program { public static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.WriteLine(string.Join(Environment.NewLine, args)); foreach (string propertyName in args) ...
mit
shelsonjava/datawrapper
test/api.test.py
4574
# # test script for Datawrapper API # import requests import os import json from random import randint import yaml config = yaml.load(open('../config.yaml').read()) domain = 'http://' + config['domain'] if 'DATAWRAPPER_DOMAIN' in os.environ: domain = os.environ['DATAWRAPPER_DOMAIN'] endpoint = domain + '/api/...
mit
msimerson/Haraka
tests/fixtures/vm_harness.js
1742
const fs = require('fs'); const path = require('path'); const vm = require('vm'); function dot_files (element) { return element.match(/^\./) == null; } exports.sandbox_require = id => { if (id[0] == '.' && id[1] != '.') { let override; try { override = path.join(__dirname, `${...
mit
megawac/ramda
test/substringFrom.js
409
var assert = require('assert'); var R = require('..'); describe('substringFrom', function() { it('returns the trailing substring of a string', function() { assert.strictEqual(R.substringFrom(8, 'abcdefghijklm'), 'ijklm'); }); it('is automatically curried', function() { var after8 = R.sub...
mit
PreserveLafayette/PreserveLafayette
themes/amnhedu/views/Splash/splash_html.php
9129
<div id="splashBrowsePanel" class="browseSelectPanel" style="z-index:1000;"> <a href="#" onclick="caUIBrowsePanel.hideBrowsePanel()" class="browseSelectPanelButton"></a> <div id="splashBrowsePanelContent"> </div> </div> <script type="text/javascript"> var caUIBrowsePanel = caUI.initBrowsePanel({ f...
mit
magul/volontulo
backend/volontulo_org/settings/dev_local.py
174
""" Development Settings Module """ from .dev import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite3', } }
mit
Ubuntu-Solutions-Engineering/conjure
conjureup/controllers/base/spellpicker/gui.py
2128
import os from conjureup import controllers, utils from conjureup.app_config import app from conjureup.download import EndpointType, download_local from conjureup.models.addon import AddonModel from conjureup.models.step import StepModel from conjureup.ui.views.spellpicker import SpellPickerView class SpellPickerCon...
mit
brandonsilver/jekyll-polymer
app/_plugins/to_gravatar.rb
707
# Automatically pull Gravatar images using an author's email address # Taken from: https://blog.sorryapp.com/blogging-with-jekyll/2014/02/13/add-author-gravatars-to-your-jekyll-site.html require 'digest/md5' module Jekyll module GravatarFilter def to_gravatar(input, size=32) def_img = Jekyll.configurati...
mit
sandman8654/OpenStudent
db/migrate/20160204001545_add_permissions_fields_for_educators.rb
290
class AddPermissionsFieldsForEducators < ActiveRecord::Migration def change add_column :educators, :schoolwide_access, :boolean, default: false add_column :educators, :grade_level_access, :string, array: true add_index :educators, :grade_level_access, using: 'gin' end end
mit
jeraldfeller/jbenterprises
google-adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201609/cm/AdServingOptimizationStatus.php
394
<?php namespace Google\AdsApi\AdWords\v201609\cm; /** * This file was generated from WSDL. DO NOT EDIT. */ class AdServingOptimizationStatus { const OPTIMIZE = 'OPTIMIZE'; const CONVERSION_OPTIMIZE = 'CONVERSION_OPTIMIZE'; const ROTATE = 'ROTATE'; const ROTATE_INDEFINITELY = 'ROTATE_INDEFINITELY'; ...
mit
deliberryeng/elcodi
src/Elcodi/Component/Zone/Factory/ZoneFactory.php
1060
<?php /* * This file is part of the Elcodi package. * * Copyright (c) 2014-2015 Elcodi.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@mmoreram.c...
mit
Moult/usydarchexhibition-cavis
spec/Cavis/Core/Usecase/Image/View/Interactor.php
725
<?php namespace spec\Cavis\Core\Usecase\Image\View; use PHPSpec2\ObjectBehavior; class Interactor extends ObjectBehavior { /** * @param Cavis\Core\Data\Image $image * @param Cavis\Core\Usecase\Image\View\Repository $repository */ function let($image, $repository) { $image->id = 42;...
mit
bx5974/sikuli
sikuli-ide/src/main/java/org/sikuli/ide/sikuli_test/TestRunContext.java
533
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ package org.sikuli.ide.sikuli_test; import javax.swing.ListModel; import junit.framework.Test; /** * The interface for accessing the Test run context. Test run views * should use this interface rather than accessing the TestRunner * d...
mit
okyereadugyamfi/softlogik
Backup/SoftLogic.Core/Win/UI/Controls/OutlookStyleNavigateBar/NavigateBarHelper.cs
3220
/* * Project : Outlook 2003 Style Navigation Pane * * Author : Muhammed ŞAHİN * eMail : muhammed.sahin@gmail.com * * Description : NavigateBar helper methods * */ using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Windows.Forms; using Syste...
mit
kidaa/eol
spec/features/communities_spec.rb
10775
require "spec_helper" describe "Communities" do before(:all) do # so this part of the before :all runs only once unless User.find_by_username('communities_scenario') truncate_all_tables load_scenario_with_caching(:communities) @test_data = EOL::TestInfo.load('communities') @collectio...
mit
pg707284828/movie_trailer
movies.py
1497
# Movie class class Movie(): def __init__(self, title, genres, rating, director, actors, poster_image_url, trailer_youtube_url): """Create a new instance of a movie. title: Movie title. genres: List of genres as strings. rating: Rating out of 10. director: Person instance re...
mit
tkrille/osiam-osiam
src/main/java/org/osiam/resources/scim/Im.java
6312
/** * The MIT License (MIT) * * Copyright (C) 2013-2016 tarent solutions GmbH * * 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 ri...
mit
urukalo/unfinished
application/packages/Admin/tests/Factory/View/Helper/WebAdminUserHelperFactoryTest.php
926
<?php declare(strict_types=1); namespace Admin\Test\Factory\View\Helper; class WebAdminUserHelperFactoryTest extends \PHPUnit_Framework_TestCase { public function testInvokingWebUserHelperShouldReturnWebAdminUserHelper() { $adminUserService = $this->getMockBuilder(\Admin\Service\AdminUserService::cla...
mit
skuid/changelog
vendor/github.com/skuid/spec/selector_set.go
1250
package spec import ( "strings" ) // SelectorSet is a custom flag that takes key-value pairs joined by equal // signs and separated by commas. The flag may be specified multiple times and // the values will be merged. // // Ex: // // mycmd -flag key=value,key2=value2 -flag key3=value3 // // Calling ToMap() resul...
mit
jonnybee/csla
Source/Csla.test/PropertyGetSet/BadGetSet.cs
1653
//----------------------------------------------------------------------- // <copyright file="BadGetSet.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>no summary</summary> //----------------------------------------------...
mit
hi2017teamB/ChatAppProject
dateutil/updatezinfo.py
1674
#!/usr/bin/env python import os import hashlib import json import io from six.moves.urllib import request from six.moves.urllib import error as urllib_error from dateutil.zoneinfo import rebuild METADATA_FILE = "zonefile_metadata.json" def main(): with io.open(METADATA_FILE, 'r') as f: metadata = json....
mit
etsy/phan
tests/files/src/0434_infer_nested_array_type.php
236
<?php // Should not result in a false positive in this case: function test434() : int { $x = ['key' => ['other' => 'value']]; $x['key']['arrayKey'] = [2]; return count($x['key']['arrayKey']) + strlen($x['key']['other']); }
mit
Elao/curvytron-arcade
src/server/model/Bonus/BonusSelfGodzilla.js
523
/** * Godzilla Bonus * * @param {Array} position */ function BonusSelfGodzilla(position) { BonusSelf.call(this, position); } BonusSelfGodzilla.prototype = Object.create(BonusSelf.prototype); BonusSelfGodzilla.prototype.constructor = BonusSelfGodzilla; /** * Get effects * * @param {Avatar} avatar * * @ret...
mit
tottaz/yggdrasil
app/modules/system/language/finnish/system_lang.php
760
<?php $lang['maintenance:list_label'] = 'Välimuistin ylläpito'; $lang['maintenance:no_items'] = 'Ei välimuisti kansioita'; $lang['maintenance:count_label'] = 'Määrä'; $lang['maintenance:empty_msg'] = '%s merkintä(ä) poistettiin kansiosta %s'; $lang['maintenance:remove_msg'] = 'Kansio %2$s poistettiin'; $...
mit
blacop/DsCppR
DengJunHuiS/TreeCh/stdafx.cpp
202
// stdafx.cpp : Ö»°üÀ¨±ê×¼°üº¬ÎļþµÄÔ´Îļþ // TreeCh.pch ½«×÷ΪԤ±àÒëÍ· // stdafx.obj ½«°üº¬Ô¤±àÒëÀàÐÍÐÅÏ¢ #include "stdafx.h" // TODO: ÔÚ STDAFX.H ÖÐÒýÓÃÈκÎËùÐèµÄ¸½¼ÓÍ·Îļþ£¬ //¶ø²»ÊÇÔÚ´ËÎļþÖÐÒýÓÃ
mit
danielrozo/cake
src/Cake.Common/Tools/NuGet/Pack/NuspecProcessor.cs
4091
using System.Globalization; using System.Xml; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Core.IO; namespace Cake.Common.Tools.NuGet.Pack { internal sealed class NuspecProcessor { private readonly IFileSystem _fileSystem; private readonly ICakeEnvironment _environment; pri...
mit
raadhuis/modx-basic
core/components/quip/processors/mgr/comment/delete.class.php
1789
<?php /** * Quip * * Copyright 2010-11 by Shaun McCormick <shaun@modx.com> * * This file is part of Quip, a simple commenting component for MODx Revolution. * * Quip 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 ...
mit
ChilliConnect/Samples
UnitySamples/FBLeaderboard/Assets/ChilliConnect/GeneratedSource/Errors/SetPushGroupsError.cs
8626
// // This file was auto-generated using the ChilliConnect SDK Generator. // // The MIT License (MIT) // // Copyright (c) 2015 Tag Games Ltd // // 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...
mit
philogb/philogl
src/program.js
10809
//program.js //Creates programs out of shaders and provides convenient methods for loading //buffers attributes and uniforms (function() { //First, some privates to handle compiling/linking shaders to programs. //Creates a shader from a string source. var createShader = function(gl, shaderSource, shaderType) { ...
mit
beni55/sbt-docker
src/test/scala/sbtdocker/mutable/MutableDockerfileSpec.scala
2214
package sbtdocker.mutable import org.scalatest.{FlatSpec, Matchers} import sbt._ import sbtdocker.ImageName import sbtdocker.staging.CopyFile class MutableDockerfileSpec extends FlatSpec with Matchers { import sbtdocker.Instructions._ "Dockerfile" should "be mutable" in { val dockerfile = new Dockerfile() ...
mit
dchbx/gluedb
db/seedfiles/plans_2015_json.rb
475
puts "Importing 2015 plans" plan_file = File.open("db/seedfiles/2015_plans.json", "r") data = plan_file.read plan_file.close plan_data = JSON.load(data) counter = 0 puts "#{plan_data.size} plans in json file" plan_data.each do |pd| next if pd["renewal_plan_id"].blank? plan = Plan.find(pd["id"]) plan.renewal_pla...
mit
YOTOV-LIMITED/web
node_modules/geoip/lib/netspeedcell.js
2413
/** * Module dependencies */ var fs = require('fs'); var dns = require('dns'); var path = require('path'); var isObject = require('is-object'); // var info = require('debug')('geoip:lib:netspeedcell:info'); var debug = require('debug')('geoip:lib:netspeedcell:debug'); var binding = require('bindings')('native.node...
mit
FarmBot/farmbot-web-app
app/mutations/sequences/destroy.rb
2345
module Sequences class Destroy < Mutations::Command IN_USE = "Sequence is still in use by" THE_FOLLOWING = " the following %{resource}: %{items}" AND = " and" # Override `THE_FOLLOWING` here. SPECIAL_CASES = { FarmEvent => " %{resource} on the following dates: %{items}", } required ...
mit
auraphp/Aura.SqlQuery
src/Common/LimitTrait.php
781
<?php /** * * This file is part of Aura for PHP. * * @license http://opensource.org/licenses/mit-license.php MIT * */ namespace Aura\SqlQuery\Common; /** * * A trait for LIMIT clauses. * * @package Aura.SqlQuery * */ trait LimitTrait { /** * * The LIMIT value. * * @var int * ...
mit
nresni/AriadneSandbox
src/vendor/zend/library/Zend/Http/Cookie.php
11765
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
mit
Aurioch/MonoGame.Extended
Source/Tests/MonoGame.Extended.Tests/RangeTests.cs
2971
using System; using NUnit.Framework; namespace MonoGame.Extended.Tests { [TestFixture] public class RangeTests { [Test] public void ConstructorTest() { //can pass min < max Assert.DoesNotThrow(() => new Range<int>(10, 100)); //can't pass min > ma...
mit
wilsonwp/panel_control
app/Jugador.php
598
<?php namespace futboleros; use Illuminate\Database\Eloquent\Model; class Jugador extends Model{ protected $fillable = ['nombre','alias','fecha_nac','nacionalidad','peso','estatura','descripcion','equipo_id']; //***** Relaciones entre las Clases****// // Jugador Pertenece a un Equipo function eq...
mit
ravinderpayal/material2
src/lib/core/testing/event-objects.ts
1726
/** Creates a browser MouseEvent with the specified options. */ export function createMouseEvent(type: string, x = 0, y = 0) { let event = document.createEvent('MouseEvent'); event.initMouseEvent(type, false, /* canBubble */ false, /* cancelable */ window, /* view */ 0, /* detail */ x, /* scree...
mit
ammarkhann/FinalSeniorCode
lib/python2.7/site-packages/google/cloud/error_reporting/__init__.py
1002
# Copyright 2016 Google Inc. # # 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 # # Unless required by applicable law or agreed to in writing, ...
mit
AutoSimDevelopers/automata-simulation
unit-tests/spec/SimulationDFASpec.js
1750
/*jshint -W030*/ describe('', function () { var scope, controller; beforeEach(function () { module('automata-simulation'); }); describe('Simulation', function () { beforeEach(inject(function ($rootScope, $controller) { scope = $rootScope.$new(); controll...
mit
jalves94/azure-sdk-for-java
azure-mgmt-batch/src/main/java/com/microsoft/azure/management/batch/implementation/ApplicationImpl.java
7223
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.batch.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft....
mit
cykl/cucumber-jvm
core/src/main/java/cucumber/runtime/table/TableConverter.java
12812
package cucumber.runtime.table; import cucumber.api.DataTable; import cucumber.deps.com.thoughtworks.xstream.converters.ConversionException; import cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter; import cucumber.deps.com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter; im...
mit
jcanongia/meanjs
node_modules/yo/lib/routes/install.js
4445
'use strict'; var async = require('async'); var chalk = require('chalk'); var inquirer = require('inquirer'); var spawn = require('cross-spawn-async'); var sortOn = require('sort-on'); var figures = require('figures'); var npmKeyword = require('npm-keyword'); var packageJson = require('package-json'); var got = require...
mit
danielkay/primeng
src/app/showcase/components/megamenu/megamenudemo.ts
4525
import {Component} from '@angular/core'; import {MenuItem} from '../../../components/common/api'; @Component({ templateUrl: './megamenudemo.html' }) export class MegaMenuDemo { private items: MenuItem[]; ngOnInit() { this.items = [ { label: 'TV', icon: 'fa-check', ...
mit
sergeyfedotov/symfony
src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
11835
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\Controller; use Symfony\Component\HttpFo...
mit
uglyfruitcake/Axelrod
axelrod/strategies/__init__.py
1118
from ..player import is_basic, obey_axelrod from ._strategies import * # `from ._strategies import *` import the collection `strategies` # Now import the Meta strategies. This cannot be done in _strategies # because it creates circular dependencies from .meta import ( MetaPlayer, MetaMajority, MetaMinority, MetaW...
mit
pupudu/sID_system
config/passport.js
45414
// load all the things we need var chalk = require('chalk'); var LocalStrategy = require('passport-local').Strategy; var FacebookStrategy = require('passport-facebook').Strategy; var LinkedInStrategy = require('passport-linkedin-oauth2').Strategy; var rest = require('restler'); // load the auth variables var configAu...
mit
pheanex/xpython
exercises/rectangles/rectangles.py
35
def count(ascii_diagram): pass
mit
PopcornTimeTV/PopcornTorrent
include/boost/beast/websocket/impl/handshake.hpp
16098
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOOST_BEAST_...
mit
mrkmarron/ChakraCore
test/inlining/bug12528802.js
619
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
mit
georgiachr/bootstrap
config/sockets.js
10292
/** * WebSocket Server Settings * (sails.config.sockets) * * These settings provide transparent access to the options for Sails' * encapsulated WebSocket server, as well as some additional Sails-specific * configuration layered on top. * * For more information on using Sails with Sockets, check out: * http://l...
mit
SamsungSDS-Contest/2017Guide-Kata
C/Kata2/ConstructionManager.cpp
25737
#include "ConstructionManager.h" using namespace MyBot; ConstructionManager::ConstructionManager() : reservedMinerals(0) , reservedGas(0) { } // add a new building to be constructed void ConstructionManager::addConstructionTask(BWAPI::UnitType type, BWAPI::TilePosition desiredPosition) { if (type == BWAPI...
mit
uspgamedev/3D-experiment
externals/Ogre/Components/RTShaderSystem/src/OgreShaderFFPTexturing.cpp
38613
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obtain...
mit
cdnjs/cdnjs
ajax/libs/highcharts/9.3.3/es-modules/Stock/Indicators/ABands/ABandsIndicator.js
7782
/* * * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __pr...
mit
cdnjs/cdnjs
ajax/libs/highcharts/9.2.2/es-modules/Accessibility/Components/LegendComponent.js
13164
/* * * * (c) 2009-2021 Øystein Moseng * * Accessibility component for chart legend. * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import A from '../../Core/Animation/AnimationUtilities.js'; var animObject = A.animO...
mit
Codecarinas/server
Server/work/decompile-8eb82bde/net/minecraft/server/EnchantmentModifierProtection.java
387
package net.minecraft.server; final class EnchantmentModifierProtection implements EnchantmentModifier { public int a; public DamageSource b; private EnchantmentModifierProtection() {} public void a(Enchantment enchantment, int i) { this.a += enchantment.a(i, this.b); } EnchantmentM...
cc0-1.0
Charling-Huang/birt
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/IODAFactory.java
1490
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
epl-1.0
kgibm/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/event/BehaviorListener.java
919
/* * 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"); you ...
epl-1.0
georgeerhan/openhab2-addons
addons/binding/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/controller/RioControllerConfig.java
961
/** * Copyright (c) 2010-2017 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
epl-1.0
openhab/openhab2
bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/device/DS2401Test.java
1302
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
epl-1.0
Charling-Huang/birt
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptConstants.java
1073
/******************************************************************************* * Copyright (c) 2004, 2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
epl-1.0
Panthro/che-plugins
plugin-runner/che-plugin-runner-ext-runner/src/test/java/org/eclipse/che/ide/ext/runner/client/runneractions/impl/RunActionTest.java
9512
/******************************************************************************* * Copyright (c) 2012-2015 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
epl-1.0
szarnekow/xsemantics
tests/it.xsemantics.dsl.tests/xsemantics-gen/it/xsemantics/test/fj/first/validation/FjFirstTypeSystemValidator.java
1880
package it.xsemantics.test.fj.first.validation; import com.google.inject.Inject; import it.xsemantics.example.fj.fj.Field; import it.xsemantics.example.fj.fj.Method; import it.xsemantics.example.fj.fj.Program; import it.xsemantics.example.fj.validation.AbstractFJJavaValidator; import it.xsemantics.runtime.validation.X...
epl-1.0
alastrina123/debrief
org.mwc.asset.legacy/src/ASSET/Util/XML/Control/Observers/ScenarioControllerHandler.java
2977
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
epl-1.0
stzilli/kapua
message/api/src/main/java/org/eclipse/kapua/message/xml/MetricsXmlAdapter.java
2153
/******************************************************************************* * Copyright (c) 2016, 2021 Eurotech and/or its affiliates and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.or...
epl-1.0
yetu/smarthome
bundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/item/beans/GroupItemBean.java
622
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v1...
epl-1.0
boniatillo-com/PhaserEditor
source/v2/phasereditor/phasereditor.resources.phaser.code/phaser-master/src/dom/RemoveFromDOM.js
558
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Attempts to remove the element from its parentNode in the DOM. * * @function Phaser.DOM.RemoveFromDOM * @since 3.0.0 * * @param {HTM...
epl-1.0
aebrahim/CyLP
cylp/cy/__init__.py
506
from CyCoinIndexedVector import CyCoinIndexedVector from CyClpSimplex import CyClpSimplex from CyCbcNode import CyCbcNode from CyClpPrimalColumnPivotBase import CyClpPrimalColumnPivotBase from CyCoinMpsIO import CyCoinMpsIO from CyCoinPackedMatrix import CyCoinPackedMatrix from CyCbcModel import CyCbcModel from CyCoinM...
epl-1.0
neelance/swt4ruby
swt4ruby/lib/linux-x86_32/org/eclipse/swt/internal/mozilla/NsIWebProgressListener.rb
5191
require "rjava" # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/MPL/ # # Soft...
epl-1.0
elucash/eclipse-oxygen
org.eclipse.jdt.core/src/org/eclipse/jdt/core/dom/ExpressionStatement.java
5727
/******************************************************************************* * Copyright (c) 2000, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
epl-1.0
theanuradha/debrief
org.mwc.cmap.grideditor/src/org/mwc/cmap/grideditor/table/actons/ExportToClipboardAction.java
2757
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
epl-1.0
Soeldner/modified-inkl-bootstrap-by-karl
lang/german/modules/shipping/dhl.php
39806
<?php /* ----------------------------------------------------------------------------------------- $Id: dhl.php 899 2005-04-29 02:40:57Z hhgag $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce -----------------------------------------------------------...
gpl-2.0
openjdk/jdk8u
jdk/src/share/classes/sun/security/x509/X509Key.java
16227
/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
BaerMitUmlaut/CBA_A3
addons/disposable/CfgMagazines.hpp
216
class CfgMagazines { class CA_LauncherMagazine; class CBA_FakeLauncherMagazine: CA_LauncherMagazine { scope = 1; ammo = "RocketBase"; count = 0; allowedSlots[] = {}; }; };
gpl-2.0
Kevin-010/RemoteTech2
src/RemoteTech2/UI/AntennaWindow.cs
1716
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace RemoteTech { public class AntennaWindow : AbstractWindow { public static Guid Guid = new Guid("39fe8878-d894-4ded-befb-d6e070ddc2c4"); public IAntenna Antenna { get { return mSetA...
gpl-2.0
loveyoupeng/rt
modules/graphics/src/main/java/com/sun/javafx/scene/traversal/Algorithm.java
3251
/* * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
Evolix/lilac
importer/engines/nagios/NagiosImportEngine.php
19525
<?php abstract class NagiosImporter extends Importer { private $importJob; private $fileSegment; private $needQueued; public function __construct($engine, $fileSegment) { $this->fileSegment = $fileSegment; parent::__construct($engine); } /** * Enter description here... * * @return NagiosImportF...
gpl-2.0
ProDataLab/veins-3a2-plus
tests/traci/init.lua
10164
-- -- TraCI Dissector for Wireshark -- Copyright (C) 2013 Christoph Sommer <christoph.sommer@uibk.ac.at> -- -- 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,...
gpl-2.0
visitcasabacardi/backup-nov-08-2015
wp-content/plugins/sociallocker-next-premium/bizpanda/admin/activation.php
5303
<?php /** * Activator for the Business Panda. * * @see Factory325_Activator * @since 1.0.0 */ class OPanda_Activation extends Factory325_Activator { /** * Runs activation actions. * * @since 1.0.0 */ public function activate() { global $bizpanda; ...
gpl-2.0
timblepaw/mednafen-rr
src/cdrom/cdromfile.cpp
31958
/* Mednafen - Multi-system Emulator * * Subchannel Q CRC Code: Copyright (C) 1998 Andreas Mueller <mueller@daneb.ping.de> * * 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...
gpl-2.0
md-5/jdk10
test/hotspot/jtreg/compiler/graalunit/JttReflectAETest.java
1604
/* * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
hardvain/mono-compiler
class/System.ServiceModel/System.ServiceModel/HttpBindingBase.cs
4275
// // HttpBindingBase.cs // // Authors: // Atsushi Enomoto <atsushi@ximian.com> // Martin Baulig <martin.baulig@xamarin.com> // // Copyright (C) 2005-2006 Novell, Inc. http://www.novell.com // Copyright 2011-2012 Xamarin Inc (http://www.xamarin.com). // // Permission is hereby granted, free of charge, to any person ob...
gpl-2.0
arodchen/MaxSim
graal/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/except/Catch_Unresolved02.java
2655
/* * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
alpdogan/wtrends
wp-content/themes/detube/widgets/widget-ad.php
4331
<?php /** * DP Ad Widget * * Displays the advertising, supported Plain Text, HTML, PHP or Shortcode. * * @package deTube * @subpackage Widgets * @since deTube 1.0 */ class DP_Widget_Ad extends WP_Widget { function __construct() { $widget_ops = array('classname' => 'widget-ad', 'description' => __('Display...
gpl-2.0
md-5/jdk10
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxSize.java
2168
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
gpl-2.0
glaudiston/project-bianca
arduino/code/myrobotlab-1.0.119/src/org/myrobotlab/framework/repo/Dependency.java
1355
package org.myrobotlab.framework.repo; import java.io.Serializable; import java.util.Comparator; public class Dependency implements Serializable, Comparator<Dependency> { private static final long serialVersionUID = 1L; private String org; private String revision; private boolean installed = false; public Depen...
gpl-2.0
ThibautShr/ScrumBoard
client/components/auth/user.service.js
391
'use strict'; angular.module('scrumBoardApp') .factory('User', function ($resource) { return $resource('/api/users/:id/:controller', { id: '@_id' }, { changePassword: { method: 'PUT', params: { controller:'password' } }, get: { method: 'GE...
gpl-2.0
ThomasXBMC/XCSoar
src/Dialogs/Settings/Panels/SiteConfigPanel.cpp
4803
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
gpl-2.0
cjk/biorder
cordova/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterface.java
2478
/* 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...
gpl-2.0
ysangkok/JPC
src/org/jpc/emulator/execution/opcodes/rm/fxch_ST1_ST5.java
1778
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
gpl-2.0
aarontropy/tkendall
wp-content/plugins/mailchimp-for-wp/mailchimp-for-wp.php
2248
<?php /* Plugin Name: MailChimp for WordPress Lite Plugin URI: https://mc4wp.com/ Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website. Version: 2.1.2 Author: Danny van Kooten Author URI: http://dannyvankooten.com Text Domain: mailchimp-for-wp Domain Path: /languages Licen...
gpl-2.0