repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
shakirbsm/dealii
tests/matrix_free/thread_correctness_hp.cc
7128
// --------------------------------------------------------------------- // // Copyright (C) 2013 - 2015-2014 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General ...
lgpl-2.1
EzyWebwerkstaden/n2cms
src/Framework/N2/Edit/Versioning/InvalidVersionInfo.cs
1908
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace N2.Edit.Versioning { public sealed class InvalidVersionInfo : VersionInfo { public InvalidVersionInfo() { Title = "Invalid version"; State = ContentState.None; SavedBy = string...
lgpl-2.1
LLNL/spack
var/spack/repos/builtin/packages/examl/package.py
2255
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Examl(MakefilePackage): """ Exascale Maximum Likelihood (ExaML) code for phylogenetic ...
lgpl-2.1
elsiklab/intermine
bio/sources/human/atlas-express/main/src/org/intermine/bio/dataconversion/AtlasExpressConverter.java
4538
package org.intermine.bio.dataconversion; /* * Copyright (C) 2002-2017 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/...
lgpl-2.1
lnu/nhibernate-core
src/NHibernate.Test/Async/NHSpecificTest/NH1507/Fixture.cs
3420
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by AsyncGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
lgpl-2.1
hellcoderz/thebeast
src/thebeast/pml/parser/ParserShift.java
322
package thebeast.pml.parser; /** * @author Sebastian Riedel */ public class ParserShift extends ParserStatement { public final int delta; public ParserShift(int delta) { this.delta = delta; } public void acceptParserStatementVisitor(ParserStatementVisitor visitor) { visitor.visitShift(this); } ...
lgpl-3.0
MinetestForFun/server-minetestforfun
mods/plantlife_modpack/dryplants/juncus.lua
3965
----------------------------------------------------------------------------------------------- -- Grasses - Juncus 0.0.5 ----------------------------------------------------------------------------------------------- -- by Mossmanikin -- textures & ideas partly by Neuromancer -- License (everything): WTFPL -- Contai...
unlicense
graydon/rust
src/test/ui/rfc-2632-const-trait-impl/inherent-impl.rs
218
#![feature(const_trait_impl)] #![allow(bare_trait_objects)] struct S; trait T {} impl const S {} //~^ ERROR inherent impls cannot be `const` impl const T {} //~^ ERROR inherent impls cannot be `const` fn main() {}
apache-2.0
jamesyong/o3erp
java/framework/webapp/src/org/ofbiz/webapp/event/RomeEventHandler.java
4009
/* 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 not use ...
apache-2.0
robin13/elasticsearch
server/src/test/java/org/elasticsearch/action/bulk/BulkResponseTests.java
5029
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
SAP/openui5
src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/snippets/stylus.js
332
; (function() { ace.require(["ace/snippets/stylus"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })(); ...
apache-2.0
nemanja88/azure-powershell
src/ResourceManager/Insights/Commands.Insights.Test/Diagnostics/GetDiagnosticSettingCommandTests.cs
4730
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
Rajith90/carbon-apimgt
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/devportal/source/src/app/data/Wsdl.js
1706
/** * Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 r...
apache-2.0
ochaloup/creaper
testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/web/AddConnectorOnlineTest.java
3360
package org.wildfly.extras.creaper.commands.web; import org.jboss.arquillian.junit.Arquillian; import org.wildfly.extras.creaper.core.CommandFailedException; import org.wildfly.extras.creaper.core.ManagementClient; import org.wildfly.extras.creaper.core.online.CliException; import org.wildfly.extras.creaper.core.onlin...
apache-2.0
minestarks/TypeScript
tests/cases/conformance/classes/members/privateNames/privateNameDeclarationMerging.ts
207
// @target: es6 class D {}; class C { #x; foo () { const c = new C(); c.#x; // OK const d: D = new C(); d.#x; // Error } } interface C { new (): D; }
apache-2.0
kaibozhou/flink
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphSuspendTest.java
10258
/* * 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 ...
apache-2.0
taoyunxing/trafficserver
proxy/hdrs/HdrUtils.cc
4111
/** @file A brief file description @section license License 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 und...
apache-2.0
cloudcache/zstack
test/src/test/java/org/zstack/test/cascade/TestCascadeDeletion4.java
4059
package org.zstack.test.cascade; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.cluster.ClusterEO; import org.zst...
apache-2.0
nizhikov/ignite
modules/platforms/cpp/odbc-test/src/test_utils.cpp
5145
/* * 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 ...
apache-2.0
kyoren/https-github.com-h2oai-h2o-3
h2o-docs/src/booklets/v2_2015/source/gbm/gbm_predict.py
176
# Perform classification on the held out data prediction = air_model.predict(air_test_hex) # Copy predictions from H2O to Python pred = prediction.as_data_frame() pred.head()
apache-2.0
mglukhikh/intellij-community
platform/diff-api/src/com/intellij/ide/diff/DiffErrorElement.java
2277
/* * Copyright 2000-2011 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...
apache-2.0
tuijldert/jitsi
src/net/java/sip/communicator/plugin/certconfig/CertConfigTableModel.java
3103
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * 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.or...
apache-2.0
KeyNexus/netty
src/main/java/org/jboss/netty/logging/InternalLogLevel.java
974
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
apache-2.0
LongbinChen/annoy
examples/precision_test.py
1293
from __future__ import print_function import random, time from annoy import AnnoyIndex try: xrange except NameError: # Python 3 compat xrange = range def precision(f=40, n=1000000): t = AnnoyIndex(f) for i in xrange(n): v = [] for z in xrange(f): v.append(random.gauss(...
apache-2.0
nvoron23/arangodb
js/apps/system/_admin/aardvark/APP/frontend/js/graphViewer/graphViewer.js
7837
/*global _, $*/ /*global ArangoAdapter, JSONAdapter, FoxxAdapter, PreviewAdapter, GharialAdapter*/ /*global ForceLayouter, EdgeShaper, NodeShaper, ZoomManager */ //////////////////////////////////////////////////////////////////////////////// /// @brief Graph functionality /// /// @file /// /// DISCLAIMER /// /// Copyr...
apache-2.0
weswigham/TypeScript
tests/baselines/reference/recursiveProperties.js
715
//// [recursiveProperties.ts] class A { get testProp() { return this.testProp; } } class B { set testProp(value:string) { this.testProp = value; } } //// [recursiveProperties.js] var A = /** @class */ (function () { function A() { } Object.defineProperty(A.prototype, "testProp", { ...
apache-2.0
shixuan-fan/presto
presto-common/src/main/java/com/facebook/presto/common/type/DecimalParseResult.java
1653
/* * 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...
apache-2.0
chrislovecnm/kubernetes
pkg/registry/core/service/storage/rest_test.go
136793
/* Copyright 2014 The Kubernetes 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 Unless required by applicable law or agreed to in writing, ...
apache-2.0
graydon/rust
src/test/ui/const-generics/auxiliary/generics_of_parent.rs
491
#![feature(generic_const_exprs)] #![allow(incomplete_features)] // library portion of regression test for #87674 pub struct Foo<const N: usize>([(); N + 1]) where [(); N + 1]: ; // library portion of regression test for #87603 pub struct S<T: Copy + Default, const N: usize> where [T; N * 2]: Sized, { pub ...
apache-2.0
robin13/elasticsearch
server/src/main/java/org/elasticsearch/search/sort/SortBuilder.java
11548
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
jimma/xerces
src/org/apache/xerces/dom/RangeExceptionImpl.java
1192
/* * 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 ...
apache-2.0
adammulligan/new-dawn
cookbooks/nginx/test/integration/default/serverspec/default_spec.rb
336
require 'serverspec' include Serverspec::Helper::Exec include Serverspec::Helper::DetectOS describe 'nginx::default' do it 'installed nginx' do expect(package('nginx')).to be_installed end it 'has the service up and running' do expect(service('nginx')).to be_enabled expect(service('nginx')).to be_ru...
apache-2.0
dvizh/shop-skeleton
common/modules/dektrium/yii2-rbac/widgets/Menu.php
2255
<?php /* * This file is part of the Dektrium project. * * (c) Dektrium project <http://github.com/dektrium> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ namespace dektrium\rbac\widgets; use yii\bootstrap\Nav; /** * Menu ...
apache-2.0
Jedwondle/openstorefront
server/openstorefront/openstorefront-core/service/src/main/java/edu/usu/sdl/openstorefront/service/manager/model/JiraFieldInfoModel.java
3275
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation. * * 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/LICEN...
apache-2.0
weiwl/closure-compiler
src/com/google/javascript/jscomp/SimpleDefinitionFinder.java
16190
/* * Copyright 2009 The Closure Compiler 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 * * Unless required by applicable...
apache-2.0
anindoasaha/php_nginx
php-5.5.16/ext/gd/tests/imagecolordeallocate_basic.phpt
420
--TEST-- Testing imagecolordeallocate() of GD library --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 --SKIPIF-- <?php if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php $image = imagecreatetruecolor(180, 30); $white = imagecolorallocate($image, 255, 255, ...
apache-2.0
0x73/rust
src/test/compile-fail/issue-17718-const-naming.rs
611
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // 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 ...
apache-2.0
graydon/rust
src/test/ui/parser/float-literals.rs
557
// build-pass // ignore-tidy-linelength // Regression test for #31109 and #31407. pub fn main() { let _: f64 = 0.3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333...
apache-2.0
GunoH/intellij-community
plugins/hg4idea/src/org/zmlx/hg4idea/repo/HgRepositoryImpl.java
8482
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.zmlx.hg4idea.repo; import com.intellij.dvcs.ignore.VcsIgnoredHolderUpdateListener; import com.intellij.dvcs.repo.RepositoryImpl; import com.intellij.openapi.Disposab...
apache-2.0
westmisfit/origin
Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/config/config.go
11298
/* Copyright 2014 Google Inc. 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 agreed to in ...
apache-2.0
zlamalp/perun
perun-base/src/main/java/cz/metacentrum/perun/core/api/exceptions/DestinationNotExistsException.java
931
package cz.metacentrum.perun.core.api.exceptions; /** * Exception is thrown when the destination does not exist * * @author Michal Prochazka */ public class DestinationNotExistsException extends EntityNotExistsException { static final long serialVersionUID = 0; /** * Simple constructor with a message * @par...
bsd-2-clause
yacon/koala-framework
tests/Kwc/Trl/InheritContent/Test/Component.php
409
<?php class Kwc_Trl_InheritContent_Test_Component extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['generators']['test2'] = array( 'class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Trl_InheritContent_Test...
bsd-2-clause
mk0x9/go
src/database/sql/sql_test.go
48361
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sql import ( "database/sql/driver" "errors" "fmt" "math/rand" "reflect" "runtime" "strings" "sync" "testing" "time" ) func init() { type db...
bsd-3-clause
nwjs/chromium.src
tools/metrics/histograms/suffixes_to_variants.py
14876
# Copyright 2020 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. """Migrates histogram_suffixes to patterned histograms""" import argparse import logging import os from xml.dom import minidom import extract_histograms im...
bsd-3-clause
nwjs/chromium.src
testing/chromoting/chromoting_test_driver_launcher.py
4937
# 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. """Utility script to run chromoting test driver tests on the Chromoting bot.""" from __future__ import print_function import argparse from chromoting_tes...
bsd-3-clause
chromium/chromium
chrome/installer/test/run_all_tests.cc
311
// Copyright (c) 2010 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 "base/test/test_suite.h" int main(int argc, char** argv) { base::TestSuite test_suite(argc, argv); return test_suite.Run(); }
bsd-3-clause
josenavas/american-gut-web
amgut/static/js/change_password.js
2124
function validatePassRequest() { for(var i = 0; i < document.resetpass_request.length; i++) { document.resetpass_request[i].className = document.resetpass_request[i].className.replace(/(?:^|\s)highlight(?!\S)/ , ''); } var valid = true; if(!validateEmail(document.resetpass_request...
bsd-3-clause
pmarks-net/grpc
src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
4058
# Copyright 2016, 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 conditions and the f...
bsd-3-clause
chromium/chromium
android_webview/browser/gfx/child_frame.cc
1891
// 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. #include "android_webview/browser/gfx/child_frame.h" #include <utility> #include "base/trace_event/trace_event.h" #include "components/viz/common/frame_...
bsd-3-clause
chromium/chromium
chrome/test/data/extensions/api_test/service_worker/messaging/connect_to_worker/post_message/content_script.js
444
// Copyright 2019 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. var port = chrome.runtime.connect(); port.onMessage.addListener(msg => { chrome.test.assertEq('tab->worker->tab', msg); chrome.test.succeed(); }); // ...
bsd-3-clause
joone/chromium-crosswalk
third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
17488
/* * 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...
bsd-3-clause
Ms2ger/presto-testo
core/standards/scripts/jstest-core-2/es-regression/imported-netscape/ecma/Date/15.9.3.8-4.js
10111
/* The contents of this file are subject to the Netscape Public License * Version 1.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.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS IS" *...
bsd-3-clause
mkoistinen/django-cms
cms/tests/frontend/integration/permissions-enabled.js
1357
'use strict'; var helpers = require('djangocms-casper-helpers'); var globals = helpers.settings; var cms = helpers(); casper.test.setUp(function(done) { casper.start().then(cms.login()).then(cms.addPage({ title: 'Homepage' })).run(done); }); casper.test.tearDown(function(done) { casper.start().then(cms.remov...
bsd-3-clause
rs2/bokeh
examples/howto/us_marriages_divorces/us_marriages_divorces_interactive.py
3169
# coding: utf-8 # Plotting U.S. marriage and divorce statistics # # Example code by Randal S. Olson (http://www.randalolson.com) from bokeh.plotting import figure, show, output_file, ColumnDataSource from bokeh.models import HoverTool, NumeralTickFormatter from bokeh.models import SingleIntervalTicker, LinearAxis # ...
bsd-3-clause
adobe/chromium
ppapi/proxy/ppp_video_decoder_proxy.cc
5699
// Copyright (c) 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. #include "ppapi/proxy/ppp_video_decoder_proxy.h" #include "ppapi/proxy/host_dispatcher.h" #include "ppapi/proxy/plugin_globals.h" #include "ppapi/pro...
bsd-3-clause
renyuneyun/core
src/Settings/DatabaseSettingsRepository.php
1225
<?php /* * This file is part of Flarum. * * (c) Toby Zerner <toby.zerner@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Flarum\Settings; use Illuminate\Database\ConnectionInterface; class DatabaseSettingsR...
mit
Jiayili1/corefx
src/System.Drawing.Common/tests/Performance/CustomAssemblyAttributes.cs
344
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; [assembly: TestCaseOrderer("Microsoft.DotNet.XUnitExtensions.BenchmarkFilter", "System.Drawing.Common...
mit
justyns/home-assistant
homeassistant/components/switch/mystrom.py
3128
""" Support for myStrom switches. For more details about this component, please refer to the documentation at https://home-assistant.io/components/switch.mystrom/ """ import logging import requests from homeassistant.components.switch import SwitchDevice DEFAULT_NAME = 'myStrom Switch' _LOGGER = logging.getLogger(...
mit
darklilium/Factigis_2
arcgis_js_api/library/3.17/3.17compact/dojox/widget/nls/de/Wizard.js
100
//>>built define("dojox/widget/nls/de/Wizard",{next:"Weiter",previous:"Zur\u00fcck",done:"Fertig"});
mit
Gargol/Ghost
core/server/api/v2/notifications.js
8260
const moment = require('moment-timezone'); const semver = require('semver'); const Promise = require('bluebird'); const _ = require('lodash'); const settingsCache = require('../../services/settings/cache'); const ghostVersion = require('../../lib/ghost-version'); const common = require('../../lib/common'); const Object...
mit
shopov91/Telerik-Academy-High-Quality-Code-Course
Design-Patterns/06. DI and IoC containers/demos/ConsoleWebServer - mid/ConsoleWebServer.Framework/Handlers/OptionsHandler.cs
1254
namespace ConsoleWebServer.Framework.Handlers { using System; using System.Linq; using System.Net; using System.Reflection; using ConsoleWebServer.Framework.ActionResults; public class OptionsHandler : Handler { protected override bool CanHandle(IHttpRequest request) { ...
mit
mandino/hotelmilosantabarbara.com
wp-content/plugins/events-calendar-pro/src/Tribe/Asset/Ajax_Photoview.php
1313
<?php class Tribe__Events__Pro__Asset__Ajax_Photoview extends Tribe__Events__Asset__Abstract_Asset { public function handle() { $tribe_paged = ( ! empty( $_REQUEST['tribe_paged'] ) ) ? $_REQUEST['tribe_paged'] : 0; $ajax_data = array( 'ajaxurl' => admin_url( 'admin-ajax.php', ( is_ssl() ? 'https' : 'ht...
mit
ryanbradynd05/polyflix
server/node/tasks/config/cssmin.js
555
/** * Compress CSS files. * * --------------------------------------------------------------- * * Minifies css files and places them into .tmp/public/min directory. * */ module.exports = function(gulp, plugins, growl) { gulp.task('cssmin:dist', function() { return gulp.src('.tmp/public/concat/prod...
mit
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/v8/src/ia32/frame-constants-ia32.cc
910
// Copyright 2006-2008 the V8 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. #if V8_TARGET_ARCH_IA32 #include "src/assembler.h" #include "src/frame-constants.h" #include "src/ia32/assembler-ia32-inl.h" #include "src/ia32/as...
mit
guncoin/guncoin
src/wallet/feebumper.cpp
11910
// Copyright (c) 2017-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <consensus/validation.h> #include <wallet/coincontrol.h> #include <wallet/feebumper.h> #include <wallet/fees.h> #inc...
mit
jamesls/boto
tests/integration/cloudformation/test_cert_verification.py
1530
# Copyright (c) 2012 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2012 Amazon.com, Inc. or its affiliates. # All rights reserved. # # 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 withou...
mit
fuzzysteve/reactions
db.inc.php
74
<?php $dbh = new PDO('mysql:host=localhost;dbname=eve', 'eve', 'eve'); ?>
mit
ahmadassaf/Chrome-devtools-app
build/Chrome DevTools/osx/Chrome DevTools.app/Contents/Resources/app.nw/devtools/front_end/promises/PromisePane.js
12681
// Copyright 2014 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. /** * @constructor * @extends {WebInspector.VBox} * @implements {WebInspector.TargetManager.Observer} */ WebInspector.PromisePane = function() { W...
mit
Franky666/programmiersprachen-raytracer
external/boost_1_59_0/libs/tr1/test/std_headers/test_ostream.cpp
256
// (C) Copyright John Maddock 2005. // Use, modification and distribution are subject to 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) #include <ostream>
mit
cdnjs/cdnjs
ajax/libs/simple-icons/6.4.0/c.js
917
console.warn("warn -",`Imports like "const c = require('simple-icons/icons/c');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siC } = require('simple-icons/icons');" instead`),module.exports={title:"C",slug:"c",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3...
mit
pruebasetichat/google-plugin-for-eclipse
plugins/com.google.gdt.eclipse.managedapis/src/com/google/gdt/eclipse/managedapis/TimeProvider.java
971
/******************************************************************************* * Copyright 2011 Google Inc. All Rights Reserved. * * 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 ...
epl-1.0
Roma48/mayak
templates/gk_events/admin/elements/asset.php
573
<?php defined('JPATH_BASE') or die; if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); } jimport('joomla.form.formfield'); class JFormFieldAsset extends JFormField { protected $type = 'Asset'; protected function getInput() { $doc = JFactory::getDocument(); if($this->element...
gpl-2.0
alexsco74/drupal-trade
sites/all/modules/contrib/qtip/modules/qtip_views/js/qtip_views.js
1452
(function ($) { Drupal.behaviors.qtipViewsLabelTooltip = { attach: function(context) { if (Drupal.settings.qtipViewsLabelTooltip) { $.each(Drupal.settings.qtipViewsLabelTooltip, function(view, displays) { $.each(displays, function(display, settings) { $.each(settings.tooltips, ...
gpl-2.0
FauxFaux/jdk9-jdk
src/jdk.jdi/share/classes/com/sun/jdi/connect/Connector.java
9772
/* * Copyright (c) 1998, 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
cloos/rt
devel/third-party/ckeditor/plugins/dialog/samples/assets/my_dialog.js
932
/** * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'myDialog', function( editor ) { return { title: 'My Dialog', minWidth: 400, minHeight: 200, contents: [ { ...
gpl-2.0
LivioCavallo/joomla-cms
components/com_content/views/form/tmpl/edit.php
6826
<?php /** * @package Joomla.Site * @subpackage com_content * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.tabstate'); JHtml::_('behavior.k...
gpl-2.0
princeofdarkness76/gcc-4.2
libjava/classpath/gnu/java/nio/charset/Cp437.java
4185
/* Cp437.java -- Charset implementation for the Cp437 character set. Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 Fou...
gpl-2.0
krabina/Maps
includes/parserhooks/Maps_Geodistance.php
3095
<?php /** * Class for the 'geodistance' parser hooks, which can * calculate the geographical distance between two points. * * @since 0.7 * * @licence GNU GPL v2+ * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class MapsGeodistance extends ParserHook { /** * Gets the name of the parser hook. * ...
gpl-2.0
DailyShana/ygopro-scripts
c76775123.lua
1189
--パトロール・ロボ function c76775123.initial_effect(c) --confirm local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76775123,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) ...
gpl-2.0
ppkt/Clementine
src/songinfo/lastfmtrackinfoprovider.cpp
4614
/* This file is part of Clementine. Copyright 2010, David Sansome <me@davidsansome.com> Clementine 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 optio...
gpl-3.0
santssoft/darkstar
scripts/zones/North_Gustaberg/npcs/relic.lua
898
----------------------------------- -- Area: North Gustaberg -- NPC: <this space intentionally left blank> -- !pos -217 97 461 106 ----------------------------------- local ID = require("scripts/zones/North_Gustaberg/IDs") require("scripts/globals/npc_util") ----------------------------------- function onTrade(player...
gpl-3.0
mateor/pdroid
android-2.3.4_r1/tags/1.25/frameworks/base/core/java/android/ddm/DdmHandleAppName.java
2788
/* * Copyright (C) 2007 The Android Open Source Project * * 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 app...
gpl-3.0
Sweetgrassbuffalo/ReactionSweeGrass-v2
node_modules/faker/lib/random.js
5006
var mersenne = require('../vendor/mersenne'); /** * * @namespace faker.random */ function Random (faker, seed) { // Use a user provided seed if it exists if (seed) { if (Array.isArray(seed) && seed.length) { mersenne.seed_array(seed); } else { mersenne.seed(seed); } } /** * re...
gpl-3.0
KamranMackey/Essentials
EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuild.java
1783
package com.earth2me.essentials.antibuild; import java.util.EnumMap; import java.util.List; import java.util.Map; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; public class EssentialsAntiBuild extends JavaPlugin implements IAntiBuild { private fin...
gpl-3.0
microfire21/a3wasteland
A3Wasteland.Altis/client/systems/hud/dialog/hud.hpp
2229
/* @file Version: 1.0 @file Name: hud.hpp @file Author: [404] Deadbeat, [KoS] Bewilderbeest @file Created: 11/09/2012 04:23 @file Args: */ #define hud_status_idc 3600 #define hud_vehicle_idc 3601 #define hud_activity_icon_idc 3602 #define hud_activity_textbox_idc 3603 class WastelandHud { idd = -1; fadeout...
gpl-3.0
scara/moodle
mod/forum/lib.php
258590
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
gpl-3.0
OSSystems/glmark2
src/libmatrix/util.cc
9605
// // Copyright (c) 2010-2011 Linaro Limited // // All rights reserved. This program and the accompanying materials // are made available under the terms of the MIT License which accompanies // this distribution, and is available at // http://www.opensource.org/licenses/mit-license.php // // Contributors: // Alexan...
gpl-3.0
jlegendary/opencog
opencog/embodiment/Learning/behavior/CompositeBehaviorDescription.cc
11220
/* * opencog/embodiment/Learning/behavior/CompositeBehaviorDescription.cc * * Copyright (C) 2002-2009 Novamente LLC * All Rights Reserved * Author(s): Andre Senna * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * publi...
agpl-3.0
ging/vish
lib/plugins/ediphy/app/assets/javascripts/lib/ckeditor/plugins/contextmenu/lang/sr.js
241
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sr', { options: 'Context Menu Options' // MISSING } );
agpl-3.0
sourcefabric/Booktype
lib/booktype/apps/edit/static/edit/js/aloha/plugins/common/contenthandler/lib/genericcontenthandler.js
9795
/* genericcontenthandler.js is part of Aloha Editor project http://aloha-editor.org * * Aloha Editor is a WYSIWYG HTML5 inline editing library and editor. * Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria. * Contributors http://aloha-editor.org/contribution.php * * Aloha Editor is free software; yo...
agpl-3.0
wwitzel3/juju
state/multiwatcher_internal_test.go
26255
// Copyright 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package state import ( "container/list" "fmt" "sync" "time" "github.com/juju/errors" jc "github.com/juju/testing/checkers" gc "gopkg.in/check.v1" "gopkg.in/mgo.v2" "github.com/juju/juju/state/multiwatcher" "github...
agpl-3.0
Lektorium-LLC/edx-ora2
openassessment/xblock/test/test_lms.py
776
""" Tests for the LMS compatibility mixin for the OpenAssessment block. """ from ddt import ddt from .base import scenario, XBlockHandlerTestCase @ddt class LmsMixinTest(XBlockHandlerTestCase): """Test the simple LMS-specific attributes used during grading.""" @scenario('data/basic_scenario.xml') def tes...
agpl-3.0
jorgevbo/server
plugins/metadata/lib/model/data/kCompareMetadataCondition.php
3479
<?php /** * @package plugins.metadata * @subpackage model.data */ class kCompareMetadataCondition extends kCompareCondition { /** * May contain the full xpath to the field in two formats * 1. Slashed xPath, e.g. /metadata/myElementName * 2. Using local-name function, e.g. /*[local-name()='metadata']/*[local-n...
agpl-3.0
pratik136/ContinuousTests
AutoTest.Net/src/AutoTest.UI/RunMessageType.cs
122
namespace AutoTest.UI { public enum RunMessageType { Normal, Failed, Succeeded } }
lgpl-2.1
MjAbuz/exist
test/src/xquery/indexing/IndexingTests.java
205
package xquery.indexing; import xquery.TestRunner; public class IndexingTests extends TestRunner { @Override protected String getDirectory() { return "test/src/xquery/indexing"; } }
lgpl-2.1
lnu/nhibernate-core
src/NHibernate/Async/Event/Default/DefaultSaveEventListener.cs
1369
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by AsyncGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
lgpl-2.1
pjwilliams/mosesdecoder
contrib/promix/main.py
3803
#!/usr/bin/env python # # Implementation of PRO training and extensions to train phrase weights # import gzip import logging from numpy import array import optparse import os.path import sys from nbest import * from sampler import * from train import * logging.basicConfig(format = "%(asctime)-15s %(message)s") log...
lgpl-2.1
Sanne/hibernate-ogm
mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/associations/ListGlobalTest.java
864
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.mongodb.test.associations; import java...
lgpl-2.1
fdlk/molgenis
molgenis-ontology/src/main/java/org/molgenis/ontology/sorta/controller/EntityCollectionResponse.java
1818
package org.molgenis.ontology.sorta.controller; import java.util.List; import java.util.Map; import org.molgenis.data.DataService; import org.molgenis.data.meta.model.EntityType; import org.molgenis.security.core.UserPermissionEvaluator; public class EntityCollectionResponse { private final String href; private f...
lgpl-3.0
fdlk/molgenis
molgenis-data/src/main/java/org/molgenis/data/transaction/TransactionConstants.java
198
package org.molgenis.data.transaction; public final class TransactionConstants { public static final String TRANSACTION_ID_RESOURCE_NAME = "transactionId"; private TransactionConstants() {} }
lgpl-3.0