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
#!/usr/bin/python # # 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 # "Lice...
MissionCriticalCloud/cosmic-plugin-hypervisor-ovm3
src/test/resources/scripts/repo_pool.py
Python
apache-2.0
6,325
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
rhusar/undertow
core/src/main/java/io/undertow/protocols/ssl/UndertowSslConnection.java
Java
apache-2.0
5,435
<?php if(!defined('IN_CB'))die('You are not allowed to access to this page.'); /** * ean13.php *-------------------------------------------------------------------- * * Sub-Class - EAN-13 * * You can provide a ISBN code (without dash), the code will transform * it into a EAN13 format. * EAN-13 conta...
blondprod/veganet
public/barcode/class/ean13.barcode.php
PHP
apache-2.0
6,651
#!/usr/bin/env python # 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 # "L...
szha/mxnet
tests/nightly/dist_async_kvstore.py
Python
apache-2.0
1,994
/* * Copyright 2015 JBoss, by Red Hat, 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 ...
dgutierr/uberfire-extensions
uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-client/src/main/java/org/uberfire/ext/wires/bpmn/client/commands/impl/BatchCommand.java
Java
apache-2.0
2,980
/* * Copyright 2010 Henry Coles * * 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 w...
jacksonpradolima/pitest
pitest/src/test/java/org/pitest/mutationtest/MutableIncrement.java
Java
apache-2.0
735
// Copyright 2016 The Bazel Authors. All rights reserved. // // 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 appl...
aehlig/bazel
src/test/java/com/google/devtools/build/android/desugar/testdata/InterfaceWithLambda.java
Java
apache-2.0
1,029
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 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 a...
frreiss/tensorflow-fred
tensorflow/core/kernels/cwise_op_round.cc
C++
apache-2.0
1,086
# Copyright 2007 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Abstract Base Classes (ABCs) for collections, according to PEP 3119. DON'T USE THIS MODULE DIRECTLY! The classes here should be imported via collections; they are defined here only to alleviate certain bootstrappin...
tempbottle/restcommander
play-1.2.4/python/Lib/_abcoll.py
Python
apache-2.0
13,666
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
wwjiang007/alluxio
core/common/src/main/java/alluxio/wire/FileSystemCommandOptions.java
Java
apache-2.0
1,198
/* * Copyright 2015-present Facebook, 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...
sdwilsh/buck
src/com/facebook/buck/cxx/ClangCompiler.java
Java
apache-2.0
1,330
/* Copyright 2013-2014, JUMA Technology 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,...
bcsphere/bcexplorer
plugins/org/src/android/org/bcsphere/bluetooth/BCBluetooth.java
Java
apache-2.0
15,604
class AddSolutionToLevels < ActiveRecord::Migration def change add_column :levels, :solution_level_source_id, :integer end end
giroto/teste
db/migrate/20140205192227_add_solution_to_levels.rb
Ruby
apache-2.0
135
#!/usr/bin/env python # example setselection.py import pygtk pygtk.require('2.0') import gtk import time class SetSelectionExample: # Callback when the user toggles the selection def selection_toggled(self, widget, window): if widget.get_active(): self.have_selection = window.selection_ow...
certik/pyjamas
pygtkweb/demos/065-setselection.py
Python
apache-2.0
2,570
/* * Copyright 2005 JBoss 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 i...
jomarko/drools
drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/OrTest.java
Java
apache-2.0
9,484
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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 agre...
GunoH/intellij-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/importing/MavenRootModelAdapter.java
Java
apache-2.0
6,985
#region License /* * Copyright © 2002-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
spring-projects/spring-net
src/Spring/Spring.Core/Objects/Factory/Parsing/Problem.cs
C#
apache-2.0
2,660
"use strict"; var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var noteRole = { abstract: false, accessibleNameRequired: false, baseConcepts: [], childrenPresentati...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/aria-query/lib/etc/roles/literal/noteRole.js
JavaScript
apache-2.0
627
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
robovm/robovm-studio
java/java-impl/src/com/intellij/psi/formatter/java/AbstractJavaBlock.java
Java
apache-2.0
55,736
/* * 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 * distribut...
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/sql/relational/SqlToRowExpressionTranslator.java
Java
apache-2.0
28,699
/* Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI...
Ghatage/peloton
third_party/logcabin/RPC/Server.cc
C++
apache-2.0
2,408
#region License /* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
dreamofei/spring-net
src/Spring/Spring.Messaging.Ems/Messaging/Ems/Jndi/JndiLookupFactoryObject.cs
C#
apache-2.0
5,343
# typed: false # frozen_string_literal: true require "rubocops/bottle" describe RuboCop::Cop::FormulaAudit::BottleTagIndentation do subject(:cop) { described_class.new } it "reports no offenses for `bottle :uneeded`" do expect_no_offenses(<<~RUBY) class Foo < Formula url "https://brew.sh/foo-1....
EricFromCanada/brew
Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb
Ruby
bsd-2-clause
2,538
<?php class Kwc_Shop_Cart_Checkout_Payment_Abstract_OrderTable_Component extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['viewCache'] = false; return $ret; } public function getTemplateVars() { $ret = parent::getTempla...
yacon/koala-framework
Kwc/Shop/Cart/Checkout/Payment/Abstract/OrderTable/Component.php
PHP
bsd-2-clause
2,091
package org.motechproject.mds.builder.impl; import javassist.CannotCompileException; import javassist.ClassPool; import javassist.CtClass; import javassist.CtField; import javassist.NotFoundException; import org.apache.commons.lang.reflect.FieldUtils; import org.joda.time.DateTime; import org.junit.Before; import org....
sebbrudzinski/motech
platform/mds/mds/src/test/java/org/motechproject/mds/builder/impl/EntityMetadataBuilderTest.java
Java
bsd-3-clause
22,796
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Variable = void 0; const VariableBase_1 = require("./VariableBase"); /** * A Variable represents a locally scoped identifier. These include arguments to functions. */ class Variable extends VariableBase_1.VariableBase { /** ...
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js
JavaScript
bsd-3-clause
1,070
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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....
cryogen/orchard
src/Orchard.Web/Modules/Orchard.Forms/Properties/AssemblyInfo.cs
C#
bsd-3-clause
1,391
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "test_utils/ANGLETest.h" using namespace angle; class MaxTextureSizeTest : public ANGLETest { protected: MaxTextureSizeTest() ...
crezefire/angle
src/tests/gl_tests/MaxTextureSizeTest.cpp
C++
bsd-3-clause
9,742
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkRuledSurfaceFilter(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, ...
nagyistoce/devide
modules/vtk_basic/vtkRuledSurfaceFilter.py
Python
bsd-3-clause
497
# Copyright 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from telemetry.internal.app import possible_app class PossibleBrowser(possible_app.PossibleApp): """A browser that can be controlled. Call Create() to...
catapult-project/catapult-csm
telemetry/telemetry/internal/browser/possible_browser.py
Python
bsd-3-clause
1,414
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Implements a standard mechanism for Chrome Infra Python environment setup. This library provides a central location to define Chrom...
hgl888/chromium-crosswalk
infra/scripts/legacy/scripts/common/env.py
Python
bsd-3-clause
12,777
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/presentation/presentation_availability_state.h" #include "third_party/blink/renderer/modules/presentation/pr...
chromium/chromium
third_party/blink/renderer/modules/presentation/presentation_availability_state.cc
C++
bsd-3-clause
9,801
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/http_negotiate.h" #include <atlbase.h> #include <atlcom.h> #include <htiframe.h> #include "base/logging.h" #include "base/mem...
aYukiSekiguchi/ACCESS-Chromium
chrome_frame/http_negotiate.cc
C++
bsd-3-clause
8,266
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
mpcomplete/flutter_engine
sky/engine/wtf/PartitionAlloc.cpp
C++
bsd-3-clause
42,604
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. function waitUntilIdle() { return new Promise(resolve=>{ window.requestIdleCallback(()=>resolve()); }); } (async function() { TestRunner.addRes...
chromium/chromium
third_party/blink/web_tests/http/tests/devtools/isolated-code-cache/same-origin-test.js
JavaScript
bsd-3-clause
3,533
// Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // ...
simonegli8/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/BaseStatistics.cs
C#
bsd-3-clause
2,325
<?php /** * PEAR_Command_Auth (login, logout commands) * * PHP versions 4 and 5 * * @category pear * @package PEAR * @author Stig Bakken <ssb@php.net> * @author Greg Beaver <cellog@php.net> * @copyright 1997-2009 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD Li...
PatidarWeb/pimcore
pimcore/lib/PEAR/Command/Auth.php
PHP
bsd-3-clause
2,657
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.ServiceBus.Amqp { using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Amqp; using A...
jamestao/azure-sdk-for-net
src/SDKs/ServiceBus/data-plane/src/Microsoft.Azure.ServiceBus/Amqp/AmqpSubscriptionClient.cs
C#
mit
8,085
require 'support/doubled_classes' module RSpec module Mocks RSpec.describe 'An instance double with the doubled class loaded' do include_context "with isolated configuration" before do RSpec::Mocks.configuration.verify_doubled_constant_names = true end it 'only allows instance m...
ducthanh/rspec-mocks
spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb
Ruby
mit
9,728
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. ...
ncos/lisa
src/lisa_drive/scripts/venv/lib/python3.5/site-packages/pip-10.0.1-py3.5.egg/pip/_vendor/chardet/euctwprober.py
Python
mit
1,793
// This is not the set of all possible signals. // // It IS, however, the set of all signals that trigger // an exit on either Linux or BSD systems. Linux is a // superset of the signal names supported on BSD, and // the unknown signals just fail to register, so we can // catch that easily enough. // // Don't ...
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/signal-exit/signals.js
JavaScript
mit
1,348
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
tiagocostapt/WinDevWorkshop
Presentations/01. Introduction to UWP/Demos/AdaptiveUI/BlueYonderDemo/MainPage.xaml.cs
C#
mit
1,383
import { css, StyleSheet } from 'aphrodite/no-important'; import React, { PropTypes } from 'react'; import octicons from './octicons'; import colors from './colors'; import sizes from './sizes'; import styles from './styles'; const classes = StyleSheet.create(styles); // FIXME static octicon classes leaning on Eleme...
linhanyang/keystone
admin/client/App/elemental/Glyph/index.js
JavaScript
mit
1,398
"""The tests for the heat control thermostat.""" import unittest from homeassistant.bootstrap import _setup_component from homeassistant.const import ( ATTR_UNIT_OF_MEASUREMENT, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_ON, STATE_OFF, TEMP_CELSIUS, ) from homeassistant.components import thermost...
deisi/home-assistant
tests/components/thermostat/test_heat_control.py
Python
mit
7,976
# $Id$ # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 8 April 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 b...
mattgraham/play-graham
vendor/gems/ruby/1.8/gems/eventmachine-0.12.10/tests/test_servers.rb
Ruby
mit
2,198
angular.module('merchello.plugins.braintree').controller('Merchello.Plugins.GatewayProviders.Dialogs.PaymentMethodAddEditController', ['$scope', 'braintreeProviderSettingsBuilder', function($scope, braintreeProviderSettingsBuilder) { $scope.providerSettings = {}; function init() ...
bjarnef/Merchello
src/Merchello.Web.UI/App_Plugins/Merchello.Braintree/payment.braintree.providersettings.controller.js
JavaScript
mit
922
// (C) Copyright 1996-2006 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
kevinzhwl/ObjectARXCore
2013/utils/brep/samples/brepsamp/brbblock.cpp
C++
mit
1,979
using ArmyOfCreatures.Logic.Creatures; namespace ArmyOfCreatures.Logic { public interface ICreaturesFactory { Creature CreateCreature(string name); } }
shopOFF/TelerikAcademyCourses
Unit-Testing/Unit-Testing/Topics/04. Workshop (Trainers)/ArmyOfCreatures-Evening-livedemo/ArmyOfCreatures-All/Solution/ArmyOfCreatures/Logic/ICreaturesFactory.cs
C#
mit
176
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require File.expand_path("../../config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers!
DouglasAllen/site-camping
vendor/gems/ruby/2.2.0/gems/mab-0.0.3/test/rails/test/helper.rb
Ruby
mit
193
using namespace System; using namespace NETGeographicLib; int main(array<System::String ^> ^/*args*/) { try { Geodesic^ geod = gcnew Geodesic(); // WGS84 const double lat0 = 48 + 50/60.0, lon0 = 2 + 20/60.0; // Paris Gnomonic^ proj = gcnew Gnomonic(geod); { // Sample for...
JanEicken/MA
libs/GeographicLib-1.43/dotnet/examples/ManagedCPP/example-Gnomonic.cpp
C++
mit
986
(function () { 'use strict'; function ContentEditController($rootScope, $scope, $routeParams, $q, $timeout, $window, $location, appState, contentResource, entityResource, navigationService, notificationsService, angularHelper, serverValidationManager, contentEditingHelper, treeService, fileManager, formHelper, umb...
abryukhov/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
JavaScript
mit
13,245
<?php defined('C5_EXECUTE') or die("Access Denied."); Loader::controller('/profile/edit'); Loader::model('user_private_message'); class ProfileMessagesController extends ProfileEditController { public function __construct() { parent::__construct(); } public function on_start() { parent::on_start(); $this...
clejer/concrete_
concrete/controllers/profile/messages.php
PHP
mit
5,679
var tns = (function (){ // keys if (!Object.keys) { Object.keys = function (object) { var keys = []; for (var name in object) { if (Object.prototype.hasOwnProperty.call(object, name)) { keys.push(name); } } return keys; }; } // ChildNode.r...
jonobr1/cdnjs
ajax/libs/tiny-slider/2.7.3/tiny-slider.js
JavaScript
mit
89,288
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Package\Archiver; use Symfony\C...
minhnguyen-balance/oro_platform
vendor/composer/composer/src/Composer/Package/Archiver/BaseExcludeFilter.php
PHP
mit
3,939
function dec(target, name, descriptor) { assert(target); assert.equal(typeof name, "string"); assert.equal(typeof descriptor, "object"); target.decoratedProps = (target.decoratedProps || []).concat([name]); let value = descriptor.value; Object.assign(descriptor, { enumerable: name.indexOf("enum") !== ...
ccschneidr/babel
packages/babel-plugin-transform-decorators/test/fixtures/object-methods/mutate-descriptor/exec.js
JavaScript
mit
2,375
import chainer from chainer import backend from chainer import utils def sign(x): """Elementwise sign function. For a given input :math:`x`, this function returns :math:`sgn(x)` defined as .. math:: sgn(x) = \\left \\{ \\begin{array}{cc} -1 & {\\rm if~x < 0} \\\\ 0 & {\\rm i...
okuta/chainer
chainer/functions/math/sign.py
Python
mit
893
require "acts-as-taggable-on" require "calagator/tag_model_extensions" ActsAsTaggableOn::Tag.send :include, Calagator::TagModelExtensions
kerrizor/calagator
config/initializers/load_tag_model_extensions.rb
Ruby
mit
138
/* Language: Lisp Description: Generic lisp syntax Author: Vasily Polovnyov <vast@whiteants.net> Category: lisp */ function lisp(hljs) { var LISP_IDENT_RE = '[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*'; var MEC_RE = '\\|[^]*?\\|'; var LISP_SIMPLE_NUMBER_RE = '(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|...
ealbertos/dotfiles
vscode.symlink/extensions/bierner.markdown-preview-github-styles-0.2.0/node_modules/highlight.js/lib/languages/lisp.js
JavaScript
mit
2,398
define( //begin v1.x content { "field-quarter-short-relative+0": "detta kv.", "field-quarter-short-relative+1": "nästa kv.", "field-tue-relative+-1": "tisdag förra veckan", "field-year": "år", "field-wed-relative+0": "onsdag denna vecka", "field-wed-relative+1": "onsdag nästa vecka", "field-minute": "minut", "f...
cdnjs/cdnjs
ajax/libs/dojo/1.17.1/cldr/nls/sv/dangi.js
JavaScript
mit
7,152
/** * Copyright (c) 2010-2019 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....
afuechsel/openhab2
addons/binding/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/DSMRSerialAutoDevice.java
Java
epl-1.0
9,975
/** * Copyright (c) 2010-2018 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 */...
johannrichard/openhab2-addons
addons/binding/org.openhab.binding.yamahareceiver/src/main/java/org/openhab/binding/yamahareceiver/internal/state/ZoneControlState.java
Java
epl-1.0
1,158
/** * Copyright (c) 2010-2018 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 */...
aogorek/openhab2-addons
addons/binding/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcMessageBase.java
Java
epl-1.0
1,148
/* * Copyright (C) 2012-2013 JadeCore <http://www.pandashan.com/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the ...
DeActiveDev/Core
src/server/scripts/Pandaria/HeartOfFear/boss_unsok.cpp
C++
gpl-2.0
1,576
// Copyright 2015 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/HW/SI/SI_DeviceKeyboard.h" #include <cstring> #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/HW/GCKeyboa...
TwitchPlaysPokemon/dolphinWatch
Source/Core/Core/HW/SI/SI_DeviceKeyboard.cpp
C++
gpl-2.0
13,504
<?php if (!get_option('users_can_register')) return; add_action('login_enqueue_scripts','sfc_register_enqueue_scripts'); function sfc_register_enqueue_scripts() { wp_enqueue_script('jquery'); } add_action('sfc_login_new_fb_user', 'sfc_register_redirect'); function sfc_register_redirect() { wp_redirect(s...
tahitinuiarena/site
wp-content/plugins/simple-facebook-connect/sfc-register.php
PHP
gpl-2.0
3,192
<?php namespace Illuminate\Queue\Console; use Exception; use RuntimeException; use Illuminate\Queue\IronQueue; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; /** * @deprecated since version 5.1 */ class SubscribeCommand extends Co...
SalocinDotTEN/FindRecycler-AHKL15
vendor/laravel/framework/src/Illuminate/Queue/Console/SubscribeCommand.php
PHP
gpl-2.0
3,476
<?php $lang = array( #Texts 'text_puke' => "Puke", 'text_nfofor' => "NFO for ", 'text_forbest' => "For best visual result, install the ", 'text_linedraw' => "MS Linedraw", 'text_font' => " font", 'text_stdhead' => "View Nfo" ); ?>
TTsWeb/U-232-V4
lang/2/lang_viewnfo.php
PHP
gpl-2.0
237
/* * Copyright (c) 1997, 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 ...
YouDiSN/OpenJDK-Research
jdk9/hotspot/src/share/vm/adlc/main.cpp
C++
gpl-2.0
21,875
/* * Copyright (c) 2016, 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...
YouDiSN/OpenJDK-Research
jdk9/jdk/test/sun/tools/jhsdb/HeapDumpTest.java
Java
gpl-2.0
4,479
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Manager of RPC calls from plugins. """ from golismero.api.config import Config __license__ = """ GoLismero 2.0 - The web knife - Copyright (C) 2011-2014 Golismero project site: https://github.com/golismero Golismero project mail: contact@golismero-project.com This p...
golismero/golismero
golismero/managers/rpcmanager.py
Python
gpl-2.0
10,792
using System; namespace Server.Items { [Flipable( 0xC12, 0xC13 )] public class BrokenArmoireComponent : AddonComponent { public override int LabelNumber { get { return 1076262; } } // Broken Armoire public BrokenArmoireComponent() : base( 0xC12 ) { } public BrokenArmoireComponent( Serial serial ) : base...
jackuoll/Pre-AOS-RunUO
Scripts/Items/Special/Broken Furniture Collection/BrokenArmoire.cs
C#
gpl-2.0
1,896
/********************************************************************** Audacity: A Digital Audio Editor ExpandingToolBar.cpp Dominic Mazzoni *******************************************************************//** \class ExpandingToolBar \brief A smart ToolBar class that has a "MainPanel" which is always d...
oneminot/audacity
src/widgets/ExpandingToolBar.cpp
C++
gpl-2.0
33,841
<?php /** * TestLink Open Source Project - http://testlink.sourceforge.net/ * This script is distributed under the GNU General Public License 2 or later. * * Filename $RCSfile: reqExport.php,v $ * * @version $Revision: 1.10 $ * @modified $Date: 2010/03/21 19:28:34 $ by $Author: franciscom $ * * Allows users to...
qasourceinc/TestLink_1.9.5_QASourceContribution
lib/requirements/reqExport.php
PHP
gpl-2.0
4,583
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it ...
erpcya/adempierePOS
base/src/org/compiere/model/MInOutLineMA.java
Java
gpl-2.0
4,940
<?php /** * base class to choose the language * * @since 1.2 */ abstract class PLL_Choose_Lang { public $links_model, $model, $options; public $curlang; /** * constructor * * @since 1.2 * * @param object $polylang */ public function __construct( &$polylang ) { $this->links_model = &$polylang->li...
petersondrs/interage-consultoria
wp-content/plugins/polylang/frontend/choose-lang.php
PHP
gpl-2.0
10,845
// -*- C++ -*- // Copyright (C) 2005-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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...
mickael-guene/gcc
libstdc++-v3/testsuite/util/native_type/native_tree_tag.hpp
C++
gpl-2.0
1,637
// license:BSD-3-Clause // copyright-holders:Bryan McPhail /*************************************************************************** Desert Assault Video emulation - Bryan McPhail, mish@tendril.co.uk I'm not sure if one of the alpha blending effects is correct (mode 0x8000, the usual mode 0x4000 should be c...
GiuseppeGorgoglione/mame
src/mame/video/dassault.cpp
C++
gpl-2.0
5,152
/*************************************************************************** tag: Peter Soetens Wed Apr 17 16:01:31 CEST 2002 TimerThread.cpp TimerThread.cpp - description ------------------- begin : Wed April 17 2002 copyright : (C) ...
shyamalschandra/rtt
rtt/extras/TimerThread.cpp
C++
gpl-2.0
7,933
/* * #%L * Bio-Formats Plugins for ImageJ: a collection of ImageJ plugins including the * Bio-Formats Importer, Bio-Formats Exporter, Bio-Formats Macro Extensions, * Data Browser and Stack Slicer. * %% * Copyright (C) 2006 - 2015 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-...
dgault/bioformats
components/bio-formats-plugins/src/loci/plugins/util/WindowTools.java
Java
gpl-2.0
6,353
<?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $listOrder = $this->escape($this->state->get('list....
zero-24/joomla-cms
administrator/templates/hathor/html/com_cache/cache/default.php
PHP
gpl-2.0
3,019
jQuery.fn.nextInArray = function(element) { var nextId = 0; for(var i = 0; i < this.length; i++) { if(this[i] == element) { nextId = i + 1; break; } } if(nextId > this.length-1) nextId = 0; return this[nextId]; }; jQuery.fn.clearForm = function() { re...
nikakoss/arsenal-media.net
wp-content/plugins/google-maps-ready/js/common.js
JavaScript
gpl-2.0
12,013
<?php /** * Joomla! Content Management System * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Http; defined('JPATH_PLATFORM') or die; use Joomla\Registry\Registry; use Joomla\CMS\Uri\...
zero-24/joomla-cms
libraries/src/Http/TransportInterface.php
PHP
gpl-2.0
1,521
// Copyright (C) 2014 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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, or (at your option)...
xinchoubiology/gcc
libstdc++-v3/testsuite/performance/28_regex/range.cc
C++
gpl-2.0
1,349
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Preview; use Twilio\Domain; use Twilio\Exceptions\TwilioException; use Twilio\Rest\Preview\HostedNumbers\HostedNumberOrderList; use Twilio\Version; /** * @property \Twilio\Rest\P...
Haynie-Research-and-Development/jarvis
web/webapi/sms/vendor/twilio/sdk/Twilio/Rest/Preview/HostedNumbers.php
PHP
gpl-2.0
2,570
<?php /* pluginbuddy_ui class * * Handles typical user interface items used in WordPress development. * * @author Dustin Bolton * @version 1.0.0 */ class pb_backupbuddy_ui { private $_tab_interface_tag = ''; /* pluginbuddy_ui->start_metabox() * * Starts a metabox. Use with end_metabox(). * @see...
ghostego/viscom-new
wp-content/plugins/backupbuddy/pluginbuddy/classes/ui.php
PHP
gpl-2.0
24,642
""" Encoding Aliases Support This module is used by the encodings package search function to map encodings names to module names. Note that the search function converts the encoding names to lower case and replaces hyphens with underscores *before* performing the lookup. """ aliases = { # La...
remybaranx/qtaste
tools/jython/lib/Lib/encodings/aliases.py
Python
gpl-3.0
2,790
<?php require_once "$CFG->dirroot/lib/formslib.php"; require_once "$CFG->dirroot/mod/facetoface/lib.php"; class mod_facetoface_sitenotice_form extends moodleform { function definition() { $mform =& $this->_form; $mform->addElement('header', 'general', get_string('general', 'form')); ...
mynameisdongyoung/Face-to-Face2.0
sitenotice_form.php
PHP
gpl-3.0
1,228
/******************************************************************************* * You may amend and distribute as you like, but don't remove this header! * * EPPlus provides server-side generation of Excel 2007/2010 spreadsheets. * See http://www.codeplex.com/EPPlus for details. * * Copyright (C) 2011 Jan Käll...
wtsi-swat/eq_exporter
epplus_90cfd9a3a979/EPPlus/ConditionalFormatting/Rules/ExcelConditionalFormattingTop.cs
C#
gpl-3.0
4,023
<?php //============================================================+ // File name : example_052.php // Begin : 2009-05-07 // Last Update : 2009-09-30 // // Description : Example 052 for TCPDF class // Certification Signature (experimental) // // Author: Nicola Asuni // // (c) Copyright: // ...
mfandrade/siac
vendors/tcpdf/examples/example_052.php
PHP
gpl-3.0
3,586
// RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fsyntax-only -Wno-signed-unsigned-wchar -verify=allow-signed -DSKIP_ERROR_TESTS %s // allow-signed-no-diagnostics wchar_t x; void f(wchar_t p) { wchar_t x; unsigned wchar_t y; // expected-error {{'wchar_t' cannot be signed or unsigned}} signed wchar...
sabel83/metashell
3rd/templight/clang/test/SemaCXX/wchar_t.cpp
C++
gpl-3.0
1,004
var Deferred = require('./') var assert = require('assert') var d = new Deferred() var t = require('tap') t.match(d, { resolve: Function, reject: Function, promise: Object })
gerrytucker78/emse_capstone_project
services/node_modules/nodeunit/node_modules/tap/node_modules/trivial-deferred/test.js
JavaScript
gpl-3.0
181
<?php /** * The template for displaying product widget entries. * * This template can be overridden by copying it to yourtheme/woocommerce/content-widget-reviews.php * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your them...
Ninos/woocommerce
templates/content-widget-reviews.php
PHP
gpl-3.0
1,305
/** * Aptana Studio * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions). * Please see the license.html included with this distribution for details. * Any modifications to this file must keep this entire header intact. ...
HossainKhademian/Studio3
plugins/com.aptana.core/src/com/aptana/core/internal/resources/Messages.java
Java
gpl-3.0
969
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
Lobz/reforged-pixel-dungeon
src/com/shatteredpixel/shatteredpixeldungeon/scenes/InterlevelScene.java
Java
gpl-3.0
7,657
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution. # # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your #...
ddrmanxbxfr/servo
python/servo/bootstrap_commands.py
Python
mpl-2.0
14,058
/* TL.Point Inspired by Leaflet TL.Point represents a point with x and y coordinates. ================================================== */ TL.Point = function (/*Number*/ x, /*Number*/ y, /*Boolean*/ round) { this.x = (round ? Math.round(x) : x); this.y = (round ? Math.round(y) : y); }; TL.Point.prototype = { a...
tkandala/TimelineJS3
source/js/dom/TL.Point.js
JavaScript
mpl-2.0
1,360
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package model_test import ( "errors" gc "gopkg.in/check.v1" "gopkg.in/juju/names.v2" "github.com/juju/juju/api" jujucloud "github.com/juju/juju/cloud" "github.com/juju/juju/environs/config" "github.com/juju/juju/test...
gabriel-samfira/juju
cmd/juju/model/fakeenv_test.go
GO
agpl-3.0
4,463
<?php return array( 'field workspace description' => '説明', 'workspace description' => 'ワークスペースの説明', 'add new workspace' => '新しいワークスペースを追加', 'add your first workspace' => '最初のワークスペースを追加', 'you have no workspaces yet' => 'まだワークスペースがありません', 'filter by workspaces' => 'ワークスペースで絞り込み', 'filter by tags' => 'タグで絞り込み', );...
md11235/fengoffice
plugins/workspaces/language/ja_jp/lang.php
PHP
agpl-3.0
468
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * 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 Softwar...
bhutchinson/kfs
kfs-cg/src/main/java/org/kuali/kfs/module/cg/service/impl/ContractsAndGrantsBillingServiceImpl.java
Java
agpl-3.0
2,589
namespace N2.Configuration { public enum ErrorAction { None, Email } }
DejanMilicic/n2cms
src/Framework/N2/Configuration/ErrorAction.cs
C#
lgpl-2.1
99