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
// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2015 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 // Pu...
pesser/dealii
tests/petsc/solver_03_precondition_sor.cc
C++
lgpl-2.1
2,597
package org.herac.tuxguitar.gui.util; import org.herac.tuxguitar.gui.TuxGuitar; import org.herac.tuxguitar.player.base.MidiRepeatController; import org.herac.tuxguitar.song.managers.TGSongManager; import org.herac.tuxguitar.song.models.TGMeasureHeader; public class MidiTickUtil { public static long getStart(long t...
elkafoury/tux
src/org/herac/tuxguitar/gui/util/MidiTickUtil.java
Java
lgpl-2.1
2,150
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: categorize.php 44444 201...
reneejustrenee/tikiwikitest
categorize.php
PHP
lgpl-2.1
1,238
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
gytis/narayana
txframework/src/main/java/org/jboss/narayana/txframework/api/exception/TXFrameworkException.java
Java
lgpl-2.1
1,829
var classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser = [ [ "Deserialize", "classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser_a5e8aa7ae1372033da215d02b79947b20.html#a5e8aa7ae1372033da215d02b79947b20", null ], [ "Serialize", "classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser_a4aec60f5df74f482b576f4e0...
Chinchilla-Software-Com/CQRS
wiki/docs/2.4/html/classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser.js
JavaScript
lgpl-2.1
693
/* * JBoss, Home of Professional Open Source * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to use...
gytis/narayana
qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java
Java
lgpl-2.1
4,881
package com.pi4j.io.gpio; /* * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: Java Library (Core) * FILENAME : GpioPinPwm.java * * This file is part of the Pi4J project. More information about * this project can be found...
curvejumper/pi4j
pi4j-core/src/main/java/com/pi4j/io/gpio/GpioPinPwm.java
Java
lgpl-3.0
1,511
/* * JBoss, Home of Professional Open Source * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a full listing * of individual contributors. * This copyrighted material is made available to anyone wishing to u...
nmcl/scratch
graalvm/transactions/fork/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wsas/tests/DemoHLS.java
Java
apache-2.0
4,846
//// [privateIdentifierChain.1.ts] class A { a?: A #b?: A; getA(): A { return new A(); } constructor() { this?.#b; // Error this?.a.#b; // Error this?.getA().#b; // Error } } //// [privateIdentifierChain.1.js] "use strict"; class A { ...
Microsoft/TypeScript
tests/baselines/reference/privateIdentifierChain.1.js
JavaScript
apache-2.0
498
// @allowjs: true // @checkjs: true // @noemit: true // @strict: true // @filename: thisPropertyAssignmentComputed.js this["a" + "b"] = 0
Microsoft/TypeScript
tests/cases/conformance/salsa/thisPropertyAssignmentComputed.ts
TypeScript
apache-2.0
138
/* * 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 ...
nvoron23/Kylin
metadata/src/main/java/org/apache/kylin/metadata/tool/HiveSourceTableLoader.java
Java
apache-2.0
6,633
/******************************************************************************* * Copyright 2011 Netflix * * 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/...
0x6e6562/astyanax
src/main/java/com/netflix/astyanax/thrift/model/ThriftCounterColumnListImpl.java
Java
apache-2.0
3,953
// ---------------------------------------------------------------------------------- // // 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...
amarzavery/azure-powershell
src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs
C#
apache-2.0
2,685
/* * 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 m...
mirego/j2objc
xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/DOMErrorImpl.java
Java
apache-2.0
4,503
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-dfareporting/v3.4/1.29.2/com/google/api/services/dfareporting/model/CreativeClickThroughUrl.java
Java
apache-2.0
4,569
// @declaration: true // @noImplicitThis: true // https://github.com/microsoft/TypeScript/issues/29902 function createObj() { return { func1() { return this; }, func2() { return this; }, func3() { return this; } ...
Microsoft/TypeScript
tests/cases/compiler/noImplicitThisBigThis.ts
TypeScript
apache-2.0
899
package strategy import ( "reflect" "strings" "testing" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation" kapi "k8s.io/kubernetes/pkg/api" buildapi "github.com/openshift/origin/pkg/build/api" _ "g...
stevekuznetsov/origin
pkg/build/controller/strategy/docker_test.go
GO
apache-2.0
5,708
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary...
gsi-upm/SmartSim
smartbody/src/assimp-3.1.1/code/CalcTangentsProcess.cpp
C++
apache-2.0
12,469
<?php /** * @xmlNamespace http://schema.intuit.com/finance/v3 * @xmlType string * @xmlName IPPIdType * @var IPPIdType * @xmlDefinition Product: ALL Description: Allows for strong-typing of Ids and qualifying the domain origin of the Id. The valid values for the domain are defined in the idDomainEnum. ...
hlu2/QuickBooks_Demo
src/Data/IPPIdType.php
PHP
apache-2.0
1,546
/// <reference path='fourslash.ts' /> //@Filename: file.tsx //// declare module JSX { //// interface Element { } //// interface IntrinsicElements { //// } //// interface ElementAttributesProperty { props } //// } //// class MyClass { //// props: { //// [|[|{| "contextRangeIndex": 0 |}n...
Microsoft/TypeScript
tests/cases/fourslash/tsxRename3.ts
TypeScript
apache-2.0
515
/* * Encog(tm) Core v3.3 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2014 Heaton Research, 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...
Crespo911/encog-java-core
src/main/java/org/encog/neural/pattern/FeedForwardPattern.java
Java
apache-2.0
3,936
// Copyright 2014 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...
twitter-forks/bazel
src/main/java/net/starlark/java/syntax/ForStatement.java
Java
apache-2.0
2,418
package de.j4velin.pedometer.util; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; public class ColorPreview extends View { private Paint paint = new Paint(); private int ...
hgl888/Pedometer
src/main/java/de/j4velin/pedometer/util/ColorPreview.java
Java
apache-2.0
1,251
/* * Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com> */ package javaguide.xml; import org.w3c.dom.Document; import play.libs.XPath; import play.mvc.BodyParser; import play.mvc.Controller; import play.mvc.Result; public class JavaXmlRequests extends Controller { //#xml-hello public Result ...
wsargent/playframework
documentation/manual/working/javaGuide/main/xml/code/javaguide/xml/JavaXmlRequests.java
Java
apache-2.0
1,900
/* * 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 ...
pjain1/druid
indexing-hadoop/src/test/java/org/apache/druid/indexer/HdfsClasspathSetupTest.java
Java
apache-2.0
8,361
from click_plugins import with_plugins from pkg_resources import iter_entry_points import click @with_plugins(iter_entry_points('girder.cli_plugins')) @click.group(help='Girder: data management platform for the web.', context_settings=dict(help_option_names=['-h', '--help'])) @click.version_option(messag...
manthey/girder
girder/cli/__init__.py
Python
apache-2.0
358
/* * 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 ...
cdapio/twill
twill-core/src/main/java/org/apache/twill/internal/ZKMessages.java
Java
apache-2.0
4,170
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
johan/closure-compiler
src/com/google/javascript/jscomp/DiagnosticGroupWarningsGuard.java
Java
apache-2.0
1,568
/* * 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 ...
GJL/flink
flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java
Java
apache-2.0
2,183
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-content/v2/1.29.2/com/google/api/services/content/model/OrdersSetLineItemMetadataResponse.java
Java
apache-2.0
3,052
/* Uncaught exception * Output: EH_UNCAUGHT_EXCEPTION */ function throwsException() { throw new Error(); } function doSomething() { try { throwsException(); } catch (e) { } } function doSomethingElse() { throwsException(); } doSomething(); doSomethingElse();
qhanam/Pangor
js/test/input/error_handling/eh_methods_old.js
JavaScript
apache-2.0
272
/** * Copyright 2010-2015 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 * * Unle...
jiangchaoting/spring
src/main/java/org/mybatis/spring/SqlSessionTemplate.java
Java
apache-2.0
13,876
abstract class AbstractClass { constructor(str: string, other: AbstractClass) { this.method(parseInt(str)); let val = this.prop.toLowerCase(); if (!str) { this.prop = "Hello World"; } this.cb(str); // OK, reference is inside function c...
weswigham/TypeScript
tests/cases/compiler/abstractPropertyInConstructor.ts
TypeScript
apache-2.0
1,679
#!/usr/bin/env python3 class UniqueIndexViolationCheck: unique_indexes_query = """ select table_oid, index_name, table_name, array_agg(attname) as column_names from pg_attribute, ( select pg_index.indrelid as table_oid, index_class.relname as index_name, table_class.relname as table_nam...
50wu/gpdb
gpMgmt/bin/gpcheckcat_modules/unique_index_violation_check.py
Python
apache-2.0
2,547
/** * Copyright 2013-2014 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 agree...
KnisterPeter/jreact
src/test/resources/react-0.11/node_modules/react/lib/ReactBrowserEventEmitter.js
JavaScript
bsd-2-clause
12,568
<?php /** * Squiz_Sniffs_Classes_ValidClassNameSniff. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/sq...
scaryml1000/ZendSkeleton
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php
PHP
bsd-3-clause
3,154
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\helpers; /** * Console helper provides useful methods for command line related tasks such as getting input or formatting and coloring * outp...
nikn/it-asu.ru
vendor/yiisoft/yii2/helpers/Console.php
PHP
bsd-3-clause
432
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ 'use strict'; const {polyfillObjectProperty} = require('../Utilities/PolyfillFunctions'); let navi...
pandiaraj44/react-native
Libraries/Core/setUpNavigator.js
JavaScript
bsd-3-clause
545
// 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 "components/permissions/permission_request_id.h" #include <inttypes.h> #include <stdint.h> #include "base/strings/stringprintf.h" #include "con...
scheib/chromium
components/permissions/permission_request_id.cc
C++
bsd-3-clause
1,886
#include <iostream> #include <seqan/file.h> #include <seqan/sequence.h> #include <seqan/score.h> using namespace seqan; template <typename TText, typename TPattern> int computeLocalScore(TText const & subText, TPattern const & pattern) { int localScore = 0; for (unsigned i = 0; i < length(pattern); ++i) ...
bestrauc/seqan
demos/tutorial/a_first_example/solution_4.cpp
C++
bsd-3-clause
1,153
module Stupidedi module Versions module FunctionalGroups module ThirtyForty module SegmentDefs s = Schema e = ElementDefs r = ElementReqs MS1 = s::SegmentDef.build(:MS1, "Equipment, Shipment, or Real Property Location", "To specify the location o...
justworkshr/stupidedi
lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb
Ruby
bsd-3-clause
1,438
// 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 "chrome/browser/extensions/convert_web_app.h" #include <cmath> #include <limits> #include <string> #include <vector> #include "base/base64....
robclark/chromium
chrome/browser/extensions/convert_web_app.cc
C++
bsd-3-clause
6,936
#if 0 // Disabled until updated to use current API. // Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" // HASH=a75bbdb8bb866b125c4c1dd5e967d470 REG_FIDDLE(Paint_setTextScaleX, 256, 256, true, 0) { void dr...
youtube/cobalt
third_party/skia_next/third_party/skia/docs/examples/Paint_setTextScaleX.cpp
C++
bsd-3-clause
566
// 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 "chrome/browser/ash/file_system_provider/operations/execute_action.h" #include <algorithm> #include <string> #include "chrome/common/extensions...
ric2b/Vivaldi-browser
chromium/chrome/browser/ash/file_system_provider/operations/execute_action.cc
C++
bsd-3-clause
2,321
// 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. package org.chromium.chrome.browser.browserservices.ui.splashscreen.trustedwebactivity; import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; ...
ric2b/Vivaldi-browser
chromium/chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/trustedwebactivity/TwaSplashController.java
Java
bsd-3-clause
8,032
using System; using System.Collections.Generic; namespace SharpCompress { internal class LazyReadOnlyCollection<T> : ICollection<T> { private readonly List<T> backing = new List<T>(); private readonly IEnumerator<T> source; private bool fullyLoaded; public LazyReadO...
catester/sharpcompress
SharpCompress/LazyReadOnlyCollection.cs
C#
mit
3,931
VERSION = (1, 3, 0, 'alpha', 1) def get_version(): version = '%s.%s' % (VERSION[0], VERSION[1]) if VERSION[2]: version = '%s.%s' % (version, VERSION[2]) if VERSION[3:] == ('alpha', 0): version = '%s pre-alpha' % version else: if VERSION[3] != 'final': versi...
hunch/hunch-gift-app
django/__init__.py
Python
mit
565
package com.greenlemonmobile.app.ebook.books.parser; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.zip.ZipEntry; public interface ZipWrapper { ZipEntry getEntry(String entryName); InputStream getInputStream(ZipEntry entry) throws IO...
xiaopengs/iBooks
src/com/greenlemonmobile/app/ebook/books/parser/ZipWrapper.java
Java
mit
433
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace AutoTest.TestRunners.XUnit.Tests.TestResource { public class Class2 { [Fact] public void Anothger_passing_test() { Assert.Equal(1, 1); } } }
acken/AutoTest.Net
src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs
C#
mit
310
version https://git-lfs.github.com/spec/v1 oid sha256:ff6a5c1204e476c89870c6f14e75db666fa26de9359f9d8c372ef779b55c8875 size 2736
yogeshsaroya/new-cdnjs
ajax/libs/dojo/1.8.9/cldr/nls/cs/buddhist.js.uncompressed.js
JavaScript
mit
129
function example(name, deps) { console.log('This is where fpscounter plugin code would execute in the node process.'); } module.exports = example;
BenjaminTsai/openrov-cockpit
src/plugins/fpscounter/index.js
JavaScript
mit
148
<?php namespace Concrete\Controller\Element\Express\Search; use Concrete\Core\Controller\ElementController; use Concrete\Core\Entity\Express\Entity; use Concrete\Core\Entity\Search\Query; use Concrete\Core\File\Search\SearchProvider; use Concrete\Core\Foundation\Serializer\JsonSerializer; class Search extends Elemen...
haeflimi/concrete5
concrete/controllers/element/express/search/search.php
PHP
mit
1,932
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\ApiBundle\Command; /** @experimental */ interface C...
loic425/Sylius
src/Sylius/Bundle/ApiBundle/Command/ChannelCodeAwareInterface.php
PHP
mit
508
package net import ( "io" ) const ( bufferSize = 4 * 1024 ) // ReaderToChan dumps all content from a given reader to a chan by constantly reading it until EOF. func ReaderToChan(stream chan<- []byte, reader io.Reader) error { for { buffer := make([]byte, bufferSize) nBytes, err := reader.Read(buffer) if nBy...
larryeee/v2ray-core
common/net/transport.go
GO
mit
677
 using System; using System.Collections.Generic; namespace Orleans.Providers.Streams.Common { /// <summary> /// Object pool that roughly ensures only a specified number of the objects are allowed to be allocated. /// When more objects are allocated then is specified, previously allocated objects will be ...
shlomiw/orleans
src/OrleansProviders/Streams/Common/PooledCache/FixedSizeObjectPool.cs
C#
mit
2,936
'use strict'; var BigNumber = require('../../type/BigNumber'); var Range = require('../../type/Range'); var Index = require('../../type/Index'); var isNumber = require('../../util/number').isNumber; /** * Attach a transform function to math.index * Adds a property transform containing the transform function. * * ...
MonoHearted/Flowerbless
node_modules/mathjs/lib/expression/transform/index.transform.js
JavaScript
mit
1,170
package com.greenlemonmobile.app.ebook.books.imagezoom.graphics; import android.graphics.Bitmap; /** * Base interface used in the {@link ImageViewTouchBase} view * @author alessandro * */ public interface IBitmapDrawable { Bitmap getBitmap(); }
yy1300326388/iBooks
src/com/greenlemonmobile/app/ebook/books/imagezoom/graphics/IBitmapDrawable.java
Java
mit
253
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_CORE_ALLOCATOR_STATS_HPP #define OPENCV_CORE_ALLOCATOR_STATS_HPP #include "../cvdef.h" namespace cv { namesp...
HuTianQi/QQ
app/src/main/cpp/third_part/opencv/include/opencv2/core/utils/allocator_stats.hpp
C++
mit
821
define("ace/snippets/typescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="typescript"}); (function() { window.require(["ace/snippets/typescript"], function(m) { if (typeof module == "object") { ...
holtkamp/cdnjs
ajax/libs/ace/1.3.2/snippets/typescript.js
JavaScript
mit
431
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
yaqiyang/autorest
src/generator/AutoRest.Java.Azure.Tests/src/main/java/fixtures/azurespecials/implementation/AutoRestAzureSpecialParametersTestClientImpl.java
Java
mit
10,599
package org.jabref.benchmarks; import java.io.IOException; import java.io.StringReader; import java.util.List; import java.util.Random; import java.util.stream.Collectors; import org.jabref.Globals; import org.jabref.logic.exporter.BibtexDatabaseWriter; import org.jabref.logic.exporter.SavePreferences; import org.jab...
shitikanth/jabref
src/jmh/java/org/jabref/benchmarks/Benchmarks.java
Java
mit
5,418
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Order\Model; use Doctrine\Common\Collections\Collection; use Sylius\Compon...
gonzalovilaseca/Sylius
src/Sylius/Component/Order/Model/OrderInterface.php
PHP
mit
3,770
<?php namespace PayPal\Common; class PPReflectionUtil { /** * @var array|ReflectionMethod[] */ private static $propertiesRefl = array(); /** * @var array|string[] */ private static $propertiesType = array(); /** * * @param string $class * @param string $propertyName */ public static fun...
dip712204123/kidskula
vendor/paypal/sdk-core-php/lib/PayPal/Common/PPReflectionUtil.php
PHP
mit
1,972
// #docplaster // #docregion import { Component } from '@angular/core'; import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser'; @Component({ selector: 'app-bypass-security', templateUrl: './bypass-security.component.html', }) export class BypassSecurityComponent { dangerousUrl: string...
ocombe/angular
aio/content/examples/security/src/app/bypass-security.component.ts
TypeScript
mit
1,340
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.36/node/internal/svg-icons/Star.js
JavaScript
mit
738
/** * Copyright (c) 2014,2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 whic...
Snickermicker/smarthome
bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/items/DimmerItem.java
Java
epl-1.0
3,066
/* * ome.server.itests.ImmutabilityTest * * Copyright 2006 University of Dundee. All rights reserved. * Use is subject to license terms supplied in LICENSE.txt */ package ome.server.itests; // Java imports // Third-party libraries import org.testng.annotations.Test; // Application-internal dependencies impo...
bramalingam/openmicroscopy
components/server/test/ome/server/itests/ImmutabilityTest.java
Java
gpl-2.0
1,831
/**************************************************************************************** * Copyright (c) 2007 Nikolaj Hald Nielsen <nhn@kde.org> * * * * This program is free software; you can redistri...
orangejulius/amarok
src/core/capabilities/ActionsCapability.cpp
C++
gpl-2.0
1,889
/* * Copyright (c) 2018, 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...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/libSetNativeMethodPrefix002Main.cpp
C++
gpl-2.0
1,317
<?php $lan = array ( 'This page can only be called from the commandline' => '这个页面只能够透过指令模式启用', 'Bounce processing error' => '退信处理错误', 'Bounce Processing info' => '退信处理讯息', 'error' => '错误', 'info' => '讯息', 'system message bounced, user marked unconfirmed' => '系统退信产生,使用者标示为未确认', 'Bounced system message' => ...
washingtonstateuniversity/WSU-Lists
www/admin/lan/zh_CN/processbounces.php
PHP
gpl-2.0
3,020
<?php // $Header: /cvsroot/html2ps/box.text.php,v 1.56 2007/05/07 12:15:53 Konstantin Exp $ require_once(HTML2PS_DIR.'box.inline.simple.php'); // TODO: from my POV, it wll be better to pass the font- or CSS-controlling object to the constructor // instead of using globally visible functions in 'show'. define('SYMBOL...
maent45/PersianFeast
simpleinvoices/library/pdf/box.text.php
PHP
gpl-2.0
20,574
/* Copyright (C) 2009 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that ...
svn2github/autowikibrowser
tags/REL_5_3_1/WikiFunctions/Article/Comparers/ArticleComparerFactory.cs
C#
gpl-2.0
3,930
<?php /** * Tabs GK5 - main PHP file * @package Joomla! * @Copyright (C) 2009-2012 Gavick.com * @ All rights reserved * @ Joomla! is Free Software * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html * @ version $Revision: GK5 1.0 $ **/ defined('JPATH_BASE') or die; jimport('joomla.form.formfiel...
volodymyrdmytriv/levin-25-2
modules/mod_tabs_gk5/admin/elements/about.php
PHP
gpl-2.0
529
/* * uiComponents.CustomLabel * *------------------------------------------------------------------------------ * Copyright (C) 2006-2008 University of Dundee. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
jballanc/openmicroscopy
components/insight/SRC/org/openmicroscopy/shoola/agents/editor/uiComponents/CustomLabel.java
Java
gpl-2.0
2,450
<?php /** * PEAR_Command_Common base class * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are un...
soeffing/openx_test
lib/pear/PEAR/Command/Common.php
PHP
gpl-2.0
8,908
<?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...
keegan2149/magento
sites/default/app/code/core/Mage/XmlConnect/Model/Simplexml/Form/Element/Renderer/Interface.php
PHP
gpl-2.0
1,306
package org.zarroboogs.weibo.hot.bean.hotweibo; import org.json.*; public class TopicStruct { private String topicTitle; private String topicUrl; public TopicStruct () { } public TopicStruct (JSONObject json) { this.topicTitle = json.optString("topic_title"); ...
JohnTsaiAndroid/iBeebo
app/src/main/java/org/zarroboogs/weibo/hot/bean/hotweibo/TopicStruct.java
Java
gpl-3.0
718
/* Copyright (C) 2010,2012,2016 The ESPResSo project Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Max-Planck-Institute for Polymer Research, Theory Group This file is part of ESPResSo. ESPResSo is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
Smiljanic/espresso
src/core/lees_edwards.hpp
C++
gpl-3.0
1,440
<?php /** * @file * @ingroup SpecialPage */ /** * @todo document * @ingroup SpecialPage */ class ProtectedPagesForm { protected $IdLevel = 'level'; protected $IdType = 'type'; public function showList( $msg = '' ) { global $wgOut, $wgRequest; if( $msg != "" ) { $wgOut->setSubtitle( $msg ); } /...
hendrysuwanda/101dev
tools/mediawiki/includes/specials/SpecialProtectedpages.php
PHP
gpl-3.0
9,777
// Copyright 2012 Mark Cavage, Inc. All rights reserved. 'use strict'; ///--- Exports /** * JSONP formatter. like JSON, but with a callback invocation. * * Unicode escapes line and paragraph separators. * * @public * @function formatJSONP * @param {Object} req the request object * @param {Object} res...
eduardomrodrigues/atabey
ws-api/node_modules/restify/lib/formatters/jsonp.js
JavaScript
gpl-3.0
1,081
declare module Virtex { interface IOptions { ambientLightColor: number; cameraZ: number; directionalLight1Color: number; directionalLight1Intensity: number; directionalLight2Color: number; directionalLight2Intensity: number; doubleSided: boolean; elem...
perryrothjohnson/artifact-database
pawtucket/assets/universalviewer/src/typings/virtex.d.ts
TypeScript
gpl-3.0
2,184
using System.Windows.Forms; using GitUIPluginInterfaces; using ResourceManager; namespace ReleaseNotesGenerator { public class ReleaseNotesGeneratorPlugin : GitPluginBase { public ReleaseNotesGeneratorPlugin() { SetNameAndDescription("Release Notes Generator"); Translat...
ArsenShnurkov/gitextensions
Plugins/ReleaseNotesGenerator/ReleaseNotesGeneratorPlugin.cs
C#
gpl-3.0
718
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """Implement standard (and unused) TCP protocols. These protocols are either provided by inetd, or are not provided at all. """ from __future__ import absolute_import, division import time import struct from zope.interface import implementer ...
Architektor/PySnip
venv/lib/python2.7/site-packages/twisted/protocols/wire.py
Python
gpl-3.0
2,659
/** * @file * @copyright 2020 Aleksej Komarov * @license MIT */ // Themes import './styles/main.scss'; import './styles/themes/abductor.scss'; import './styles/themes/cardtable.scss'; import './styles/themes/hackerman.scss'; import './styles/themes/malfunction.scss'; import './styles/themes/neutral.scss'; import '...
optimumtact/-tg-station
tgui/packages/tgui/index.js
JavaScript
agpl-3.0
1,998
(function() { 'use strict'; Features.$inject = ['urls']; function Features(urls) { var self = this; urls.links().then(function(links) { angular.extend(self, links); }); } /** * Provides info what features are available on server */ angular.module('superdesk.features', ['superdesk.api']) .ser...
vladnicoara/superdesk-client-core
scripts/superdesk/features/features.js
JavaScript
agpl-3.0
355
require File.dirname(__FILE__)+"/env" module Actors # /actors/worker class Worker include Magent::Actor expose :echo def echo(payload) puts payload.inspect end end Magent.register(Worker.new) end if $0 == __FILE__ Magent::Processor.new(Magent.current_actor).run! end
binarycode/shapado
app/actors/worker.rb
Ruby
agpl-3.0
303
# -*- coding: utf-8 -*- # Copyright(C) 2014 Laurent Bachelier # # This file is part of weboob. # # weboob is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your o...
Boussadia/weboob
weboob/tools/browser2/cookies.py
Python
agpl-3.0
2,534
<?php /** * @package Core * @subpackage system * @deprecated */ require_once ( __DIR__ . "/kalturaSystemAction.class.php" ); /** * @package Core * @subpackage system * @deprecated */ class executeCommandAction extends kalturaSystemAction { // TODO - read from the entryWrapper private static $allowed_n...
ratliff/server
alpha/apps/kaltura/modules/system/actions/executeCommandAction.class.php
PHP
agpl-3.0
1,152
/** * * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
lucee/unoffical-Lucee-no-jre
source/java/core/src/lucee/runtime/type/comparator/SortRegisterComparator.java
Java
lgpl-2.1
2,517
/* * Copyright (C) 2008-2014 The QXmpp developers * * Author: * Manjeet Dahiya * * Source: * https://github.com/qxmpp-project/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
gamenet/qxmpp
src/client/QXmppVCardManager.cpp
C++
lgpl-2.1
3,127
using Nop.Web.Framework.Mvc; namespace Nop.Admin.Models.Common { public partial class SystemWarningModel : BaseNopModel { public SystemWarningLevel Level { get; set; } public string Text { get; set; } } public enum SystemWarningLevel { Pass, Warning, Fail ...
jornfilho/nopCommerce
source/Presentation/Nop.Web/Administration/Models/Common/SystemWarningModel.cs
C#
apache-2.0
329
/* * 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 ...
Subasinghe/ode
bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java
Java
apache-2.0
1,136
/* * Copyright 2000-2009 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...
romankagan/DDBWorkbench
platform/analysis-impl/src/com/intellij/packageDependencies/ForwardDependenciesBuilder.java
Java
apache-2.0
6,335
/** * 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 Lice...
ruhan1/pnc
common/src/main/java/org/jboss/pnc/common/util/ResultWrapper.java
Java
apache-2.0
1,569
/* * Copyright 2015 JBoss by Red Hat. * * 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 l...
wmedvede/uberfire-extensions
uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/colorpicker/dialog/DialogClosedHandler.java
Java
apache-2.0
849
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.IEditingDomainI...
nwnpallewela/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/LogMediatorInputConnectorItemProvider.java
Java
apache-2.0
2,890
/** * 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...
steveloughran/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/GetTimelineCollectorContextRequestPBImpl.java
Java
apache-2.0
3,988
/* * Copyright 2000-2015 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...
kdwink/intellij-community
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateImplUtil.java
Java
apache-2.0
1,752
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
vikigroup/cbuilk
web/skin/temp12/scripts/ckfinder/lang/el.js
JavaScript
apache-2.0
11,785
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/li...
jagathsisira/app-cloud
modules/setup-scripts/conf/wso2das-3.0.1/repository/deployment/server/jaggeryapps/monitoring/themes/theme0/ui/thirdparty/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.js
JavaScript
apache-2.0
29,978