code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
using Machine.Specifications; using PlainElastic.Net.IndexSettings; using PlainElastic.Net.Utils; namespace PlainElastic.Net.Tests.Builders.IndexSettings { [Subject(typeof(NGramTokenFilter))] class When_complete_NGramTokenFilter_built { Because of = () => result = new NGramTokenFilter() ...
yonglehou/PlainElastic.Net
src/PlainElastic.Net.Tests/Builders/Analysis/TokenFilters/NGram/When_complete_NGramTokenFilter_built.cs
C#
mit
1,835
# frozen_string_literal: true require 'spec_helper' RSpec.describe DeleteUserWorker do let!(:user) { create(:user) } let!(:current_user) { create(:user) } it "calls the DeleteUserWorker with the params it was given" do expect_next_instance_of(Users::DestroyService) do |service| expect(service...
mmkassem/gitlabhq
spec/workers/delete_user_worker_spec.rb
Ruby
mit
690
// Copyright (c) Umbraco. // See LICENSE for more details. using Microsoft.Extensions.Logging; using Umbraco.Cms.Core.IO; using Umbraco.Cms.Core.Serialization; using Umbraco.Cms.Core.Services; using Umbraco.Cms.Core.Strings; namespace Umbraco.Cms.Core.PropertyEditors { /// <summary> /// Represents a slider e...
umbraco/Umbraco-CMS
src/Umbraco.Infrastructure/PropertyEditors/SliderPropertyEditor.cs
C#
mit
1,153
using Umbraco.Cms.Core.DependencyInjection; namespace Umbraco.Cms.Core.Composing { /// <summary> /// Provides a base class for composers which compose a component. /// </summary> /// <typeparam name="TComponent">The type of the component</typeparam> public abstract class ComponentComposer<TCompone...
umbraco/Umbraco-CMS
src/Umbraco.Core/Composing/ComponentComposer.cs
C#
mit
761
'use strict'; var dynamoose = require('../'); dynamoose.AWS.config.update({ accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-east-1' }); dynamoose.local(); var should = require('should'); var Cat, Cat2; describe('Model', function (){ this.timeout(5000); before(function(done) { this.time...
benjcooley/dynamoose
test/Model.js
JavaScript
mit
21,235
# -*- coding: utf-8 -*- import os import sys try: from gluon import current except ImportError: print >> sys.stderr, """ The installed version of Web2py is too old -- it does not define current. Please upgrade Web2py to a more recent version. """ # Version of 000_config.py # Increment this if t...
sahana/Turkey
modules/s3_update_check.py
Python
mit
13,160
import _curry3 from './internal/_curry3.js'; /** * Move an item, at index `from`, to index `to`, in a list of elements. * A new list will be created containing the new elements order. * * @func * @memberOf R * @since v0.27.1 * @category List * @sig Number -> Number -> [a] -> [a] * @param {Number} from The sou...
CrossEye/ramda
source/move.js
JavaScript
mit
1,225
<?php /* The MIT License (MIT) Copyright (c) 2015 Twitter Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
josafafilho/wordpress-1
tests/phpunit/Cards/SummaryLargeImage.php
PHP
mit
1,718
/** @type {import("../../../../").Configuration} */ module.exports = { entry: { a: "./a", b: "./b" }, output: { filename: "[name].js", libraryTarget: "commonjs2" }, optimization: { chunkIds: "named", splitChunks: { cacheGroups: { shared: { chunks: "all", test: /shared/, filename: ...
webpack/webpack
test/configCases/split-chunks/custom-filename/webpack.config.js
JavaScript
mit
461
package net.jsunit; import java.io.IOException; public class MockProcessStarter implements ProcessStarter { public String[] commandPassed; public Process execute(String[] command) throws IOException { this.commandPassed = command; return null; } }
wesmaldonado/test-driven-javascript-example-application
public/js-common/jsunit/java/tests_server/net/jsunit/MockProcessStarter.java
Java
mit
295
using System; using System.Reactive.Threading.Tasks; using Octokit.Reactive.Internal; namespace Octokit.Reactive { public class ObservableCommitStatusClient : IObservableCommitStatusClient { readonly ICommitStatusClient _client; readonly IConnection _connection; public ObservableCommi...
senlinsky/octokit.net
Octokit.Reactive/Clients/ObservableCommitStatusClient.cs
C#
mit
1,991
//----------------------------------------------------------------------- // <copyright file="DataPortalHookArgs.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary></summary> // <remarks>Generated file.</remarks> /...
MarimerLLC/cslacontrib
trunk/samples/ActionExtenderSample/ActionExtenderSample.Business/DataPortalHookArgs.cs
C#
mit
4,899
(function () { 'use strict'; angular.module('mPlatform.directives') .directive('ngTextChange', function () { return { restrict: 'A', replace: 'ngModel', link: function (scope, element, attr) { element.on('change', function ...
michaelmarriott/LabyrinthRipper.Mobile
www/scripts/ang/directives.js
JavaScript
mit
540
Astro.createValidator = function(validatorDefinition) { var definition = new ValidatorDefinition(validatorDefinition); var validatorGenerator = function(options, userMessage) { var validator = function(fieldValue, fieldName) { return validator.definition.validate.call( this, fieldValue, ...
ribbedcrown/meteor-astronomy-validators
lib/module/validator.js
JavaScript
mit
929
import _Object$getOwnPropertySymbols from "../../core-js/object/get-own-property-symbols"; import _Object$keys from "../../core-js/object/keys"; export default function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = _Object$keys(source); var key, ...
Skillupco/babel
packages/babel-runtime/helpers/es6/objectWithoutProperties.js
JavaScript
mit
854
/* * Power BI Visualizations * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * 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 restric...
sgrebnov/PowerBI-visuals
src/Clients/Data/dataView/compiledDataViewMapping.ts
TypeScript
mit
4,466
import test from 'ava'; import fn from './'; test('title', t => { t.is(fn('unicorns'), 'unicorns & rainbows'); });
kokujin/sails-nedb
test.js
JavaScript
mit
117
<?php namespace Bolt\Tests\Nut; use Bolt\Nut\ExtensionsUninstall; use Bolt\Tests\BoltUnitTest; use Symfony\Component\Console\Tester\CommandTester; /** * Class to test src/Nut/ExtensionsDisable. * * @author Ross Riley <riley.ross@gmail.com> * @author Gawain Lynch <gawain.lynch@gmail.com> */ class ExtensionsUninst...
Intendit/bolt
tests/phpunit/unit/Nut/ExtensionsUninstallTest.php
PHP
mit
1,569
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
kashike/SpongeCommon
src/main/java/org/spongepowered/common/mixin/core/block/tiles/MixinTileEntityDaylightDetector.java
Java
mit
1,625
'use strict'; import $ from 'jquery'; import { Keyboard } from './foundation.util.keyboard'; import { GetYoDigits } from './foundation.util.core'; import { Positionable } from './foundation.positionable'; import { Triggers } from './foundation.util.triggers'; /** * Dropdown module. * @module foundation.dropdown ...
robertgraleigh/supreme-journey
node_modules/foundation-sites/js/foundation.dropdown.js
JavaScript
mit
11,158
<?php namespace Elastica\Filter; /** * Type Filter * * @category Xodoa * @package Elastica * @author James Wilson <jwilson556@gmail.com> * @link http://www.elasticsearch.org/guide/reference/query-dsl/type-filter.html */ class Type extends AbstractFilter { /** * Type name * * @var string ...
didix16/snackhelper
vendor/ruflin/elastica/lib/Elastica/Filter/Type.php
PHP
mit
1,205
__title__ = 'pif.exceptions' __author__ = 'Artur Barseghyan' __copyright__ = 'Copyright (c) 2013 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' __all__ = ('InvalidRegistryItemType',) class InvalidRegistryItemType(ValueError): """ Raised when an attempt is made to register an item in the registry which does...
djabber/Dashboard
bottle/dash/local/lib/pif-0.7/src/pif/exceptions.py
Python
mit
352
import {EntitySubscriberInterface} from "../../../../src/subscriber/EntitySubscriberInterface"; import {EventSubscriber} from "../../../../src/decorator/listeners/EventSubscriber"; import {InsertEvent} from "../../../../src/subscriber/event/InsertEvent"; @EventSubscriber() export class FirstConnectionSubscriber implem...
ReaxDev/typeorm
test/functional/connection/subscriber/FirstConnectionSubscriber.ts
TypeScript
mit
532
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; using Nimbus.Extensions; namespace Nimbus.Infrastructure.MessageSendersAndReceivers { internal abstract class BatchingMessageSender : INimbusMessageSender ...
rebase42/Anubus
src/Nimbus/Infrastructure/MessageSendersAndReceivers/BatchingMessageSender.cs
C#
mit
2,558
// REACHABILITY,CODE_GENERATION public class J1_whiletrue1 { public J1_whiletrue1() { } public static int test() { return 123; } public static void foo() { while(true); } }
gregwym/joos-compiler-java
testcases/a5/J1_whiletrue1.java
Java
mit
184
// import { createAction } from 'redux-actions'; //Actions: //Simulate loading
dgilroy77/Car.ly
src/actions/loadActions.js
JavaScript
mit
80
#include "render/action_renderer.h" #include "engine/cloak_system.h" #include "platform/auto_id.h" #include "platform/id_storage.h" #include "core/i_renderable_component.h" namespace render { ActionRenderer::~ActionRenderer() { } ActionRenderer::ActionRenderer( int32_t Id, int32_t ActionId ) : mId( Id ) , m...
HalalUr/Reaping2
src/render/action_renderer.cpp
C++
mit
4,908
<?php namespace Checkout\tests\Helpers; class Notifications { public static function generateID() { return 'ntf_' . substr(md5(rand()), 0, 26); } }
checkout/checkout-woocommerce-plugin
woocommerce-gateway-checkout-com/includes/lib/checkout-sdk-php/tests/Helpers/Notifications.php
PHP
mit
170
'use strict'; const common = require('../common'); if (!common.hasIPv6) common.skip('no IPv6 support'); const assert = require('assert'); const cluster = require('cluster'); const net = require('net'); // This test ensures that the `ipv6Only` option in `net.Server.listen()` // works as expected when we use cluster...
enclose-io/compiler
lts/test/sequential/test-cluster-net-listen-ipv6only-rr.js
JavaScript
mit
1,884
import Vue from 'vue'; import closedComponent from '~/vue_merge_request_widget/components/states/mr_widget_closed.vue'; import mountComponent from 'spec/helpers/vue_mount_component_helper'; describe('MRWidgetClosed', () => { let vm; beforeEach(() => { const Component = Vue.extend(closedComponent); vm = mo...
stoplightio/gitlabhq
spec/javascripts/vue_mr_widget/components/states/mr_widget_closed_spec.js
JavaScript
mit
2,094
using System.Linq; using System.Runtime.InteropServices; using Diadoc.Api.Com; namespace Diadoc.Api.Proto { [ComVisible(true)] [Guid("6D52D398-C4C9-4ED0-B9A1-38D074C045C7")] public interface ICounteragentList { int TotalCount { get; } ReadonlyList CounteragentsList { get; } } [ComVisible(true)] [Guid("016...
s-rogonov/diadocsdk-csharp
src/Proto/Counteragent.cs
C#
mit
2,719
'use strict'; import React from 'react'; import PlaylistHeader from './PlaylistHeader'; import PlaylistVideos from './PlaylistVideos'; const PureRenderMixin = React.addons.PureRenderMixin; export default React.createClass({ propTypes: { playlist: React.PropTypes.array.isRequired, }, mixins: [PureRenderMix...
whoisandie/yoda
src/scripts/Playlist.js
JavaScript
mit
785
'use strict'; /* global google */ function cdDojoDetailCtrl($scope, $state, $location, cdDojoService, cdUsersService, alertService, usSpinnerService, auth, dojo, gmap, $translate, currentUser) { $scope.dojo = dojo; $scope.model = {}; $scope.markers = []; $scope.requestInvite = {}; $scope.userMemberCheckCompl...
Aryess/cp-zen-platform
web/public/js/controllers/dojo-detail-controller.js
JavaScript
mit
6,054
#!/usr/bin/env node const os = require('os') const {spawn} = require('child_process') if (os.platform() === 'win32' || os.platform() === 'windows') console.log('skipping on windows') else spawn('yarn bats test/integration/*.bats', {stdio: 'inherit', shell: true})
heroku/heroku-cli
packages/run/bin/bats-test-runner.js
JavaScript
mit
266
var searchData= [ ['label',['Label',['../classLabel.html',1,'']]], ['labeliterator',['LabelIterator',['../classLabelIterator.html',1,'']]], ['labelsegment',['LabelSegment',['../structLabelSegment.html',1,'']]] ];
chabbimilind/cctlib
docs/html/search/classes_6c.js
JavaScript
mit
219
/* * 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 may ...
plumer/codana
tomcat_files/7.0.0/Proxy.java
Java
mit
1,102
<?php /* * This file is part of the Alice package. * * (c) Nelmio <hello@nelm.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Nelmio\Alice\Throwable\Exception\Generator\Resolver; class NoS...
furtadodiegos/projeto_cv
vendor/nelmio/alice/src/Throwable/Exception/Generator/Resolver/NoSuchPropertyException.php
PHP
mit
380
class AddIsRefundToDrawerTransactions < ActiveRecord::Migration def self.up add_column :drawer_transactions, :is_refund, :boolean, :default => false end def self.down remove_column :drawer_transactions, :is_refund end end
a0ali0taha/pos
vendor/db/migrate/20110627192451_add_is_refund_to_drawer_transactions.rb
Ruby
mit
239
# This migration will create one row of NotificationSetting for each Member row # It can take long time on big instances. # # This migration can be done online but with following effects: # - during migration some users will receive notifications based on their global settings (project/group settings will be ignored) #...
larryli/gitlabhq
db/migrate/20160328115649_migrate_new_notification_setting.rb
Ruby
mit
861
/**! * Sortable * @author RubaXa <trash@rubaxa.org> * @author owenm <owen23355@gmail.com> * @license MIT */ (function sortableModule(factory) { "use strict"; if (typeof define === "function" && define.amd) { define(factory); } else if (typeof module != "undefined" && typeof module.exports != "undefine...
extend1994/cdnjs
ajax/libs/Sortable/1.8.0-rc1/Sortable.js
JavaScript
mit
50,600
import { isElement, isValidElementType, ForwardRef } from 'react-is'; import unitless from '@emotion/unitless'; import validAttr from '@emotion/is-prop-valid'; import React, { useContext, useMemo, createElement, useState, useDebugValue, useEffect } from 'react'; import Stylis from 'stylis/stylis.min'; import _insertRul...
sufuf3/cdnjs
ajax/libs/styled-components/5.0.0-4.canary-sheet/styled-components.browser.esm.js
JavaScript
mit
63,129
require 'test_helper' class RemoteHpsTest < Test::Unit::TestCase def setup @gateway = HpsGateway.new(fixtures(:hps)) @amount = 100 @declined_amount = 1034 @credit_card = credit_card('4000100011112224') @options = { order_id: '1', billing_address: address, description: 'Store...
reinteractive/active_merchant
test/remote/gateways/remote_hps_test.rb
Ruby
mit
9,060
// Flags: --unhandled-rejections=none 'use strict'; const common = require('../common'); common.disableCrashOnUnhandledRejection(); // Verify that ignoring unhandled rejection works fine and that no warning is // logged. new Promise(() => { throw new Error('One'); }); Promise.reject('test'); process.on('warning...
enclose-io/compiler
lts/test/parallel/test-promise-unhandled-silent.js
JavaScript
mit
591
/** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup UnaStudio UNA Studio * @{ */ function BxDolStudioNavigationMenus(oOptions) { this.sActionsUrl = oOptions.sActionUrl; this.sPageUrl = oOptions.sPageUrl; this.sObjNameGrid = oOptions.sObjN...
camperjz/trident
upgrade/files/9.0.0.B2-9.0.0.B3/files/studio/js/navigation_menus.js
JavaScript
mit
1,476
<?php namespace Buzz\Test\Message; use Buzz\Message\AbstractMessage; class Message extends AbstractMessage { } class AbstractMessageTest extends \PHPUnit_Framework_TestCase { public function testGetHeaderGluesHeadersTogether() { $message = new Message(); $message->addHeader('X-My-Header: foo...
guillaumeduval64/peinture-et-vitres
vendor/kriswallsmith/buzz/test/Buzz/Test/Message/AbstractMessageTest.php
PHP
mit
2,242
// HumanizeDuration.js - https://git.io/j0HgmQ ;(function () { // This has to be defined separately because of a bug: we want to alias // `gr` and `el` for backwards-compatiblity. In a breaking change, we can // remove `gr` entirely. // See https://github.com/EvanHahn/HumanizeDuration.js/issues/143 for more. ...
extend1994/cdnjs
ajax/libs/humanize-duration/3.20.1/humanize-duration.js
JavaScript
mit
28,768
<?php namespace TYPO3\Flow\Tests\Unit\Session; /* * This file is part of the TYPO3.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * sourc...
chewbakartik/flow-development-collection
TYPO3.Flow/Tests/Unit/Session/TransientSessionTest.php
PHP
mit
2,321
<?php class WP_REST_Posts_Terms_Controller extends WP_REST_Controller { protected $post_type; public function __construct( $post_type, $taxonomy ) { $this->post_type = $post_type; $this->taxonomy = $taxonomy; $this->posts_controller = new WP_REST_Posts_Controller( $post_type ); $this->terms_controller = ne...
trungnghia112/AngularJS-and-WordPress
wp-content/plugins/rest-api/lib/endpoints/class-wp-rest-posts-terms-controller.php
PHP
mit
9,539
// Copyright (c) 2013-2015 Titanium I.T. LLC. All rights reserved. See LICENSE.TXT for details. (function() { "use strict"; var arrayToSentence = require("array-to-sentence"); var objectAssign = require("object-assign"); // ponyfill for Object.assign(); check if Node supports it yet exports.check = function(ar...
evrimfeyyaz/ios-calculator
node_modules/simplebuild/lib/type.js
JavaScript
mit
4,496
# encoding: utf-8 # frozen_string_literal: true require 'spec_helper' require 'mail/fields/common_field' describe Mail::CommonField do describe "multi-charset support" do before(:each) do @original = $KCODE if RUBY_VERSION < '1.9' end after(:each) do $KCODE = @original if RUBY_VERSION < '1...
planio-gmbh/mail
spec/mail/fields/common_field_spec.rb
Ruby
mit
3,942
""" Logger for the spectroscopic toolkit packge Goal: Use decorators to log each command in full Author: Adam Ginsburg Created: 03/17/2011 """ import os import time class Logger(object): """ Logger object. Should be initiated on import. """ def __init__(self, filename): """ Open a l...
keflavich/pyspeckit-obsolete
pyspeckit/spectrum/logger.py
Python
mit
1,211
<?php namespace Kunstmaan\AdminBundle\Toolbar; use Doctrine\ORM\EntityManagerInterface; use Kunstmaan\AdminBundle\Entity\Exception; use Kunstmaan\AdminBundle\Helper\Toolbar\AbstractDataCollector; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; class ExceptionDataCollector...
treeleaf/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Toolbar/ExceptionDataCollector.php
PHP
mit
1,851
var searchData= [ ['cache',['cache',['../classglobals.html#a5637b6b2c65cc2b027616212978a0e47',1,'globals']]], ['camera',['camera',['../classglobals.html#af37dc090d333e3a996373643f7c2c31f',1,'globals']]], ['camera_5fdistance',['camera_distance',['../classplayer.html#ae80ee7bccfac6b0b1167e3260db03206',1,'player']]]...
gawag/Urho-Sample-Platformer
doxygen/html/search/variables_2.js
JavaScript
mit
980
/*! * OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars * * Version: 1.7.3 * * Copyright KingSora. * https://github.com/KingSora * * Released under the MIT license. * Date: 23.06.2019 */ (function (global, factory) { if (typeof define === 'function' && define.amd) define(function...
extend1994/cdnjs
ajax/libs/overlayscrollbars/1.7.3/js/OverlayScrollbars.js
JavaScript
mit
348,965
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Component, Directive, InjectionToken, NgModule, Pipe, PlatformRef, SchemaMetadata, Type} from '@angular/core...
ValtoFrameworks/Angular-2
packages/core/testing/src/test_bed_common.ts
TypeScript
mit
4,016
import _curry3 from './internal/_curry3.js'; import prop from './prop.js'; /** * Returns `true` if the specified object property satisfies the given * predicate; `false` otherwise. You can test multiple properties with * [`R.where`](#where). * * @func * @memberOf R * @since v0.16.0 * @category Logic * @sig (a...
ramda/ramda
source/propSatisfies.js
JavaScript
mit
715
import * as React from 'react'; /* * A utility for rendering a drag preview image */ export var DragPreviewImage = React.memo(function (_ref) { var connect = _ref.connect, src = _ref.src; React.useEffect(function () { if (typeof Image === 'undefined') return; var connected = false; var img = ne...
cdnjs/cdnjs
ajax/libs/react-dnd/11.1.3/esm/common/DragPreviewImage.js
JavaScript
mit
595
import setupStore from 'dummy/tests/helpers/store'; import Ember from 'ember'; import testInDebug from 'dummy/tests/helpers/test-in-debug'; import {module, test} from 'qunit'; import DS from 'ember-data'; const { run } = Ember; const { attr } = DS; const { reject } = Ember.RSVP; let Person, store, env; module("integ...
wecc/data
tests/integration/adapter/find-test.js
JavaScript
mit
5,129
/****************************************************************************** * Copyright (C) 2006-2012 IFS Institute for Software 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 distribut...
bobwalker99/Pydev
plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/core/TreeLabelProvider.java
Java
epl-1.0
2,059
/** * Copyright (c) 2013-2015 by Brainwy Software Ltda, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pyd...
bobwalker99/Pydev
plugins/org.python.pydev.debug/src/org/python/pydev/debug/curr_exception/EditIgnoredCaughtExceptionsDialog.java
Java
epl-1.0
3,834
/******************************************************************************* * Copyright (c) 2012, 2014 UT-Battelle, LLC. * 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 avail...
gorindn/ice
src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/ICEObject/ICEJAXBHandler.java
Java
epl-1.0
4,963
package org.usfirst.frc.team3952.robot; import java.io.IOException; import edu.wpi.first.wpilibj.CameraServer; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.livewindow.LiveWindow; import edu.wpi.first.wpilibj...
Grande14/Team3952desTROYer
v6 3_12_2016 still comments/Robot.java
Java
epl-1.0
2,240
package org.jboss.windup.reporting; import javax.inject.Inject; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.forge.arquillian.AddonDependencies; import org.jboss.forge.arquillian.AddonDependency; import org.jboss.forge.arquillian.archive.Add...
jsight/windup
reporting/tests/src/test/java/org/jboss/windup/reporting/LoadIssueCategoriesRuleProviderTest.java
Java
epl-1.0
3,912
/******************************************************************************* * Copyright (c) 2010, 2011 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...
drbgfc/mdht
cda/deprecated/org.openhealthtools.mdht.uml.cda.hitsp.test/src/org/openhealthtools/mdht/uml/cda/hitsp/operations/EncountersSectionOperationsTest.java
Java
epl-1.0
2,389
require "rjava" # Copyright (c) 2000, 2005 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, and is available at # http://www.eclipse.org/legal/epl-v10.html # # C...
neelance/swt4ruby
swt4ruby/lib/mingw32-x86_32/org/eclipse/swt/widgets/Listener.rb
Ruby
epl-1.0
2,098
/******************************************************************************* * Copyright (c) 2009, 2010 David A Carlson. * 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 av...
drbgfc/mdht
cda/deprecated/org.openhealthtools.mdht.uml.cda.ncr/src/org/openhealthtools/mdht/uml/cda/ncr/impl/NeonatalICULocationImpl.java
Java
epl-1.0
2,533
// Aseprite Base Library // Copyright (c) 2001-2013, 2015 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "base/time.h" #if _WIN32 #include <windows.h> #else #include <ctime> #endif n...
Fojar/aseprite
src/base/time.cpp
C++
gpl-2.0
704
# This file is part of the Frescobaldi project, http://www.frescobaldi.org/ # # Copyright (c) 2011 - 2014 by Wilbert Berendsen # # 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 ...
dliessi/frescobaldi
frescobaldi_app/autocomplete/util.py
Python
gpl-2.0
1,994
<?php /** * PEL: PHP Exif Library. * A library with support for reading and * writing all Exif headers in JPEG and TIFF images using PHP. * * Copyright (C) 2004, 2005, 2006 Martin Geisler. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
maskedjellybean/tee-prop
vendor/lsolesen/pel/test/NumberSShortTest.php
PHP
gpl-2.0
1,216
/* $Id$ */ /** @file * * VBox frontends: Qt4 GUI ("VirtualBox"): * UIWizardImportAppPageBasic1 class implementation */ /* * Copyright (C) 2009-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you...
pombredanne/VirtualBox-OSE
src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp
C++
gpl-2.0
3,589
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2014 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 ...
CnZoom/XcSoarWork
src/Form/Panel.cpp
C++
gpl-2.0
1,236
/***************************************************************************** Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2012, Facebook Inc. Copyright (c) 2014, 2016, MariaDB Corporation This program is free software; you can redistribute it and/or modify it under the ...
prohaska7/mariadb-server
storage/innobase/btr/btr0btr.cc
C++
gpl-2.0
151,788
// ========================================================== // fipImage class implementation // // Design and implementation by // - Hervé Drolon (drolon@infonie.fr) // // This file is part of FreeImage 3 // // COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY // OF ANY KIND, EITHER EX...
bhargavkumar040/android-source-browsing.platform--external--free-image
Wrapper/FreeImagePlus/src/fipImage.cpp
C++
gpl-2.0
22,480
from django.db import models import useraccounts from librehatti.catalog.models import Product from librehatti.catalog.models import ModeOfPayment from librehatti.catalog.models import Surcharge from django.contrib.auth.models import User from librehatti.config import _BUYER from librehatti.config import _DELIVERY_...
sofathitesh/TCCReports
src/librehatti/bills/models.py
Python
gpl-2.0
3,184
#!/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python import pkg_resources pkg_resources.require("TurboGears") from turbogears import update_config, start_server import cherrypy, os, time cherrypy.lowercase_api = True from os.path import * import sys import datetime from date...
joshmoore/openmicroscopy
components/validator/WebApp/start-validator.py
Python
gpl-2.0
2,476
<?php /** * @package Warp Theme Framework * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ defined('_JEXEC') or die; JHtml::_('behavior.framework'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::sty...
valodya-street/workroom
templates/yoo_sphere/warp/systems/joomla/layouts/com_finder/search/default.php
PHP
gpl-2.0
947
# # Copyright (c) 2008--2015 Red Hat, Inc. # # This software is licensed to you under the GNU General Public License, # version 2 (GPLv2). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should have received a c...
xkollar/spacewalk
client/tools/rhnpush/rhnpush_confmanager.py
Python
gpl-2.0
4,950
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
T0MM0R/magento
web/app/code/core/Mage/Bundle/sql/bundle_setup/mysql4-upgrade-0.1.12-0.1.13.php
PHP
gpl-2.0
1,852
/* * Copyright (C) 2013 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 agree...
pixelthieves/Paper-Frog
Assets/GooglePlayGames/Platforms/Android/AndroidRtmpClient.cs
C#
gpl-2.0
43,782
# -*- coding: utf-8 -*- """ *************************************************************************** EditScriptAction.py --------------------- Date : August 2012 Copyright : (C) 2012 by Victor Olaya Email : volayaf at gmail dot com **********************...
wonder-sk/QGIS
python/plugins/processing/script/AddScriptFromFileAction.py
Python
gpl-2.0
3,158
/* Copyright 2013 David Axmark 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, software distr...
MoSync/MoSync
testPrograms/native_ui_lib/AlphabeticalListTest/Util.cpp
C++
gpl-2.0
2,447
<?php // Global profile namespace reference define( 'NS_USER_PROFILE', 202 ); define( 'NS_USER_WIKI', 200 ); // Default setup for displaying sections $wgUserPageChoice = true; $wgUserProfileDisplay['friends'] = false; $wgUserProfileDisplay['foes'] = false; $wgUserProfileDisplay['gifts'] = true; $wgUserProfileDisplay[...
SuriyaaKudoIsc/wikia-app-test
extensions/SocialProfile/UserProfile/UserProfile.php
PHP
gpl-2.0
3,868
<?php /** * @Project NUKEVIET 4.x * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2014 VINADES.,JSC. All rights reserved * @License GNU/GPL version 2 or any later version * @Createdate 2-1-2010 22:42 */ define( 'NV_ADMIN', true ); require_once 'mainfile.php'; $file_config_temp = NV_TEMP_DIR . '/c...
dounets/HomePage
install/index.php
PHP
gpl-2.0
47,683
// ext3grep -- An ext3 file system investigation and undelete tool // //! @file debug.cc //! @brief This file contains the definitions of debug related objects and functions. // // Copyright (C) 2008, by // // Carlo Wood, Run on IRC <carlo@alinoe.com> // RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt...
gcode-mirror/ext3grep
src/debug.cc
C++
gpl-2.0
18,296
/* * Copyright (c) 2007, 2015, 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 ...
FauxFaux/jdk9-jdk
test/javax/management/mxbean/ComparatorExceptionTest.java
Java
gpl-2.0
3,210
<?php /* ** Zabbix ** Copyright (C) 2000-2011 Zabbix SIA ** ** 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. ** ** Th...
gheja/zabbix-ext
frontends/php/maintenance.php
PHP
gpl-2.0
16,900
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
WildTurtles/wildturtles
vendor/cakephp/cakephp/src/Auth/BaseAuthenticate.php
PHP
gpl-2.0
8,197
/////////////////////////////////////////////////////////////////////////////// // For information as to what this class does, see the Javadoc, below. // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, // // 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph...
ekummerfeld/tetrad
tetrad-gui/src/main/java/edu/cmu/tetradapp/editor/EdgewiseComparisonParamsEditor.java
Java
gpl-2.0
7,810
/* * Copyright 2007 Yusuke Yamamoto * * 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 agree...
jonathanmcelroy/DataCommunicationsProgram456
twitter4j/twitter4j-core/src/main/java/twitter4j/Status.java
Java
gpl-2.0
4,909
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
Remix99/MaNGOS
src/bindings/scriptdev2/scripts/eastern_kingdoms/uldaman/instance_uldaman.cpp
C++
gpl-2.0
10,144
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and // repair tool). See http://parchive.sourceforge.net for details of PAR 2.0. // // Copyright (c) 2003 Peter Brian Clements // // par2cmdline is free software; you can redistribute it and/or modify // it under the terms of the GNU Gener...
jojje/par2cmdline-dir
par2creator.cpp
C++
gpl-2.0
31,351
<?php /** * english language file * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Christopher Smith <chris@jalakai.co.uk> * @author Matthias Schulte <dokuwiki@lupo49.de> * @author Schplurtz le Déboulonné <Schplurtz@laposte.net> */ // for admin plugins, the menu prompt to be di...
randonnerleger/wiki_new
lib/plugins/config/lang/en/lang.php
PHP
gpl-2.0
15,290
<div class="weather"> <p><strong><?php print $weather->real_name; ?></strong></p> <div style="text-align:center;"> <img src="<?php print $weather->image_filename; ?>" <?php print $weather->image_size; ?> alt="<?php print $weather->condition; ?>" title="<?php print $weather->condition; ?>" /> </div> <ul> ...
shieldsdesignstudio/lefkowitz
sites/all/modules/weather/weather.tpl.php
PHP
gpl-2.0
2,487
# # Karaka Skype-XMPP Gateway: Python package metadata # <http://www.vipadia.com/products/karaka.html> # # Copyright (C) 2008-2009 Vipadia Limited # Richard Mortier <mort@vipadia.com> # Neil Stratford <neils@vipadia.com> # ## This program is free software; you can redistribute it and/or ## modify it under the terms of...
gaka13/karaka
karaka/api/__init__.py
Python
gpl-2.0
896
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using STSdb4.General.Extensions; namespace STSdb4.Data { public class DataToObjects : IToObjects<IData> { public readonly Func<IData, object[]> to; publ...
Injac/STSdb4
STSdb4/Data/DataToObjects.cs
C#
gpl-2.0
2,719
/** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ define([ 'jquery', './toolkit' ], function($, Toolkit) { // Empty class to extend from var Class = Toolkit.Class = function() {}; // Flag to determine if a construc...
localymine/multisite
wp-content/themes/kodomo/html/toolkit-3.0/js/class.js
JavaScript
gpl-2.0
2,561
/* ---------------------------------------------------------------------- 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...
Pakketeretet2/lammps
src/nstencil_half_bin_3d_newtoff.cpp
C++
gpl-2.0
1,347
/* This file is part of the KDE project Copyright (C) 2008 David Faure <faure@kde.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your opti...
blue-shell/folderview
konqueror/src/tests/konqhtmltest.cpp
C++
gpl-2.0
9,297
<?php /** * @version $Id: layout.php 15522 2013-11-13 21:47:07Z kevin $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only * * Gantry uses the Joomla Framework (http://www.joomla.org), a GN...
bobozhangshao/HeartCare
templates/heartcare_gantry4/html/mod_roknavmenu/themes/gantry-splitmenu/layout.php
PHP
gpl-2.0
8,317
/**************************************************************************** ** ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** Commercial Usage ** Licensees holding valid Q...
FilipBE/qtextended
qtopiacore/qt/src/gui/inputmethod/qwininputcontext_win.cpp
C++
gpl-2.0
28,969