content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package org.apereo.cas.configuration; import org.apereo.cas.configuration.api.CasConfigurationPropertiesSourceLocator; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.core.Ordered; import org.spring...
__label__POS
0.631024
package org.apereo.cas.configuration; import org.apereo.cas.util.function.FunctionUtils; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor; import org.springframework.context.Applica...
__label__POS
0.992374
package org.apereo.cas.configuration.loader; import org.apereo.cas.util.NamedObject; import org.apereo.cas.util.crypto.CipherExecutor; import org.springframework.core.env.Environment; import org.springframework.core.env.PropertySource; import org.springframework.core.io.Resource; /** * This is {@link CasConfiguratio...
__label__POS
0.975045
package org.apereo.cas.configuration.loader; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.NoArgsConstructor; import org.apache.commons.lang3.ArrayUtils; import org.springframework.core.env.Environment; import org.springframework.core.env.MapPropertySource; import org.springframework.core.env.Propert...
__label__POS
0.967294
package org.apereo.cas.configuration.loader; import org.apereo.cas.util.LoggingUtils; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.springframework.core.env.Environment; imp...
__label__POS
0.854226
package org.apereo.cas.configuration.loader; import org.apereo.cas.configuration.CasCoreConfigurationUtils; import org.apereo.cas.util.ResourceUtils; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.S...
__label__POS
0.758259
package org.apereo.cas.configuration.support; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.Getter; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.jasypt.encryption...
__label__POS
0.619386
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moved-to-gginnards.R \name{Moved} \alias{Moved} \alias{geom_null} \alias{stat_debug_group} \alias{stat_debug_panel} \alias{geom_debug} \alias{append_layers} \alias{bottom_layer} \alias{delete_layers} \alias{extract_layers} \alias{move_layers}...
__label__POS
0.612515
url-prefix ../../jsreftest.html?test=js1_8/extensions/ skip script dekker.js script expclo.js script expclo2.js skip script for-in.js skip script lamport.js skip script peterson.js script regress-353116.js script regress-378789.js script regress-385393-01.js script regress-385393-10.js script regress-385393-11.js scrip...
__label__POS
1.00001
--- jupyter: jupytext: formats: md,ipynb text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.13.5 kernelspec: display_name: "Python 3.9.5 64-bit ('.env': venv)" name: python3 --- <!-- #region slideshow={"slide_type": "slide"} -...
__label__POS
0.999867
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.11.2 kernelspec: display_name: "[2.4.3] Py3" language: python name: pyspark-2.4.3 --- ```python %reload_ext autoreload %autoreload...
__label__POS
1.00001
# Tokenizers In addition to the standard spaCy `FrenchLanguage` (`fr`), EDS-NLP offers a new language better fit for French clinical documents: `EDSLanguage` (`eds`). Additionally, the `EDSLanguage` document creation should be around 5-6 times faster than the `fr` language. The main differences lie in the tokenizatio...
__label__POS
0.9372
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Security; use Closure; /** * Defines a user principal */ class User implements IPrincipal ...
__label__POS
0.881966
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Application; /** * Defines the collection of bootstrappers */ final class BootstrapperColle...
__label__POS
0.937184
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Application\Tests; use Aphiria\Application\ApplicationBuilder; use Aphiria\Application\IAppli...
__label__POS
0.698943
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Application\Configuration; use Closure; use InvalidArgumentException; use RuntimeException; ...
__label__POS
0.601159
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Net\Http; use Aphiria\IO\Streams\IStream; use Aphiria\IO\Streams\Stream; /** * Defines the ...
__label__POS
0.92873
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Net\Http; use Aphiria\IO\Streams\IStream; /** * Defines the stream HTTP body */ class Stre...
__label__POS
0.943506
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Net\Formatting; use Aphiria\Collections\IImmutableDictionary; use Aphiria\Collections\Immutab...
__label__POS
0.734082
url-prefix ../../jsreftest.html?test=js1_8/regress/ script regress-366941.js script regress-384412.js script regress-384758.js script regress-404734.js script regress-427798.js script regress-433279-01.js script regress-433279-02.js script regress-433279-03.js skip script regress-442333-01.js script regress-452491.js s...
__label__POS
1.00001
## 混合剪辑 视频合成,也称为非线性编辑,事实上就是把许多视频剪辑放在一起,变成一个新剪辑。这个视频就是一个很好的例子,告诉你可以用MoviePy做些什么样的合成: *原视频链接已失效* 在开始之前要注意,一般来说视频剪辑都会带有音轨和遮罩,他们也同样是剪辑。当你将这些剪辑组合在一起时,音轨和剪辑的遮罩将会自动生成音轨和最终剪辑的遮罩。所以在大多数情况下,你并不必为混合音频和遮罩担心。 ## 堆叠和连接剪辑 有两种简单的方法能将剪辑放在一起:一是连接(使它们变成一个更长的剪辑,一个接一个播放),二是堆起来(使他们并排组成画面更大的剪辑)。 使用`concatenate_videoclips`函数进行连接操作。 ```...
__label__POS
0.996031
## 如何更有效率地使用MoviePy 这一节总结了一些技巧和诀窍,可以帮助你充分利用全球范围内已知的经验来使用MoviePy。 使用IPython Notebook是使用MoviePy的最好方法。它使得预览剪辑变得很容易(在此节中会介绍到),有自动完成功能,而且可以显示库里不同方法的文档。 ### 我应该使用`moviepy.editor`吗? 这篇文档里的大部分示例使用了`moviepy.editor`子模块,但是这个子模块并不适用于所有需求。简单来说,如果你使用MoviePy手动编辑视频,那就建议使用此子模块;如果你在更大的库、更大的项目或web服务器上使用MoviePy,最好避免使用它,转而加载你需要的函数。 `m...
__label__POS
0.999791
## MoviePy的音频操作 这个章节会告诉你如何使用MoviePy去创建和编辑音频剪辑。 注意,当你使用MoviePy来剪切、混合或连接视频剪辑时,音频是自动处理的。如果你有兴趣来编辑音频文件,或者你想自定义视频的音频剪辑,请阅读此章。 ### 音频剪辑的构成 在MoviePy中,音频剪辑和视频剪辑很相似:它们拥有长度,能以同样的方式被剪辑和组成,等等。一个显著的差异是`audioclip.get_frame(t)` ## 创建一个新的音频剪辑 音频剪辑可由一个音频文件创建,或从视频剪辑的音轨里提取出来。 ```python from moviepy.editor import * audioclip = Audi...
__label__POS
1.000007
## 生成和导出视频剪辑 视频和音频剪辑是MoviePy里的核心对象。在此节里我们展示了如何生成不同种类的剪辑,以及如何将它们写入文件。关于修改剪辑信息(剪切、特效等),见[视频转换与效果](https://github.com/APhun/moviepy-cn/blob/master/MoviePy入门/视频转换与效果.md)。关于如何将多个视频进行合成,见[混合剪辑](https://github.com/APhun/moviepy-cn/blob/master/MoviePy入门/混合剪辑.md)。关于如何在导出前预览视频,见[如何更有效率地使用MoviePy](https://github.com/APhun/moviep...
__label__POS
0.893673
--- jupyter: jupytext: formats: md,ipynb main_language: python text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.13.8 kernelspec: display_name: 'Python 3.9.5 64-bit (''.env'': venv)' name: python3 --- ```python import con...
__label__POS
1.00001
--- jupyter: jupytext: formats: md,ipynb text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.13.8 kernelspec: display_name: Python 3 (ipykernel) language: python name: python3 --- ```python %reload_ext autoreload %autoreloa...
__label__POS
1.00001
--- jupyter: jupytext: formats: md,ipynb main_language: python text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.13.0 kernelspec: display_name: "Python 3.9.5 64-bit ('.env': venv)" name: python3 --- ```python import conte...
__label__POS
1.00001
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.11.4 kernelspec: display_name: Python 3 language: python name: python3 --- ```python %reload_ext autoreload %autoreload 2 ``` ```...
__label__POS
0.999991
--- jupyter: jupytext: text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.13.0 kernelspec: display_name: "Python 3.7.1 64-bit ('env_debug': conda)" name: python3 --- ```python %load_ext autoreload %autoreload 2 ``` ```python impo...
__label__POS
1.00001
--- jupyter: jupytext: formats: md,ipynb text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.13.4 kernelspec: display_name: "Python 3.9.5 64-bit ('.venv': venv)" language: python name: python3 --- ```python import context `...
__label__POS
1.00001
--- jupyter: jupytext: formats: md,ipynb text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.13.4 kernelspec: display_name: "Python 3.9.5 64-bit ('.venv': venv)" language: python name: python3 --- ```python %reload_ext auto...
__label__POS
1.000009
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.11.4 kernelspec: display_name: Python 3 language: python name: python3 --- ```python %reload_ext autoreload %autoreload 2 ``` ```...
__label__POS
1.00001
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.11.4 kernelspec: display_name: Python 3 language: python name: python3 --- ```python %reload_ext autoreload %autoreload 2 ``` ```...
__label__POS
1.00001
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.11.4 kernelspec: display_name: Python 3 language: python name: python3 --- ```python %reload_ext autoreload %autoreload 2 ``` ```...
__label__POS
1.00001
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: "1.3" jupytext_version: 1.11.4 kernelspec: display_name: Python 3 language: python name: python3 --- ```python %reload_ext autoreload %autoreload 2 ``` ```...
__label__POS
1.00001
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.767655
package org.antlr.v4.runtime; import org.antlr.v4.runtime.Parser; import org.antlr.v4.runtime.misc.Pair; import org.antlr.v4.runtime.tree.Tree; import org.antlr.v4.runtime.tree.Trees; import org.antlr.v4.tool.Grammar; import org.antlr.v4.tool.Rule; import org.antlr.v4.tool.ast.AltAST; import org.antlr.v4.tool.GrammarI...
__label__POS
0.716922
// Generated from Edn.g4 by ANTLR 4.0 import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime....
__label__POS
0.840959
// Generated from Json.g4 by ANTLR 4.0 import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime...
__label__POS
0.942239
// Generated from Edn.g4 by ANTLR 4.0 import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.tree.TerminalNode; import org.antlr.v4.runtime.tree.ErrorNode; public class EdnBaseListener implements EdnListener { @Override public void enterFloat(EdnParser.FloatCont...
__label__POS
0.629049
// Generated from Json.g4 by ANTLR 4.0 import org.antlr.v4.runtime.tree.*; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.ParserRuleContext; public class JsonBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements JsonVisitor<T> { @Override public T visitValueTrue(JsonParser.ValueTrueContext ctx...
__label__POS
0.953463
// Generated from Edn.g4 by ANTLR 4.0 import org.antlr.v4.runtime.tree.*; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.ParserRuleContext; public class EdnBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements EdnVisitor<T> { @Override public T visitFloat(EdnParser.FloatContext ctx) { return v...
__label__POS
0.952301
// Generated from Json.g4 by ANTLR 4.0 import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.tree.TerminalNode; import org.antlr.v4.runtime.tree.ErrorNode; public class JsonBaseListener implements JsonListener { @Override public void enterValueTrue(JsonParser.V...
__label__POS
0.631302
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\DependencyInjection\Tests\Mocks; /** * Defines a class with a mix of concrete classes and pr...
__label__POS
0.976349
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\DependencyInjection\Tests\Mocks; /** * Mocks a class that takes in primitives with default v...
__label__POS
0.853969
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\DependencyInjection\Tests\Mocks; /** * Mocks a class with setters for use in IoC tests */ c...
__label__POS
0.883268
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\DependencyInjection\Tests\Mocks; /** * Defines a class with a mix of interfaces and primitiv...
__label__POS
0.987734
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\DependencyInjection\Tests\Mocks; /** * Mocks a class with an interface in its constructor an...
__label__POS
0.750361
=== "1" ```python text = "Patient atteint d'une glomérulopathie." doc = nlp(text) spans = doc.spans["ckd"] spans # Out: [glomérulopathie] ``` === "2" ```python text = "Patient atteint d'une tubulopathie aigüe." doc = nlp(text) spans = doc.spans["ckd"] spans # Out:...
__label__POS
0.99748
=== "1" ```python text = "Une fibrose interstitielle diffuse idiopathique" doc = nlp(text) spans = doc.spans["copd"] spans # Out: [fibrose interstitielle diffuse idiopathique] ``` === "2" ```python text = "Patient atteint de pneumoconiose" doc = nlp(text) spans = doc.span...
__label__POS
0.999083
=== "1" ```python text = "Tabagisme évalué à 15 PA" doc = nlp(text) spans = doc.spans["tobacco"] spans # Out: [Tabagisme évalué à 15 PA] span = spans[0] span._.assigned # Out: {'PA': 15} ``` === "2" ```python text = "Patient tabagique" doc = nlp(text) spans ...
__label__POS
0.978596
=== "1" ```python text = "Présence d'un carcinome intra-hépatique." doc = nlp(text) spans = doc.spans["solid_tumor"] spans # Out: [carcinome] ``` === "2" ```python text = "Patient avec un K sein." doc = nlp(text) spans = doc.spans["solid_tumor"] spans # Out: [K s...
__label__POS
0.993654
=== "1" ```python text = "Un AOMI" doc = nlp(text) spans = doc.spans["peripheral_vascular_disease"] spans # Out: [AOMI] ``` === "2" ```python text = "Présence d'un infarctus rénal" doc = nlp(text) spans = doc.spans["peripheral_vascular_disease"] spans # Out: [inf...
__label__POS
0.999759
=== "1" ```python text = "Une cardiopathie ischémique" doc = nlp(text) spans = doc.spans["myocardial_infarction"] spans # Out: [cardiopathie ischémique] ``` === "2" ```python text = "Une cardiopathie non-ischémique" doc = nlp(text) spans = doc.spans["myocardial_infarction...
__label__POS
0.998803
=== "1" ```python text = "Patient alcoolique." doc = nlp(text) spans = doc.spans["alcohol"] spans # Out: [alcoolique] ``` === "2" ```python text = "OH chronique." doc = nlp(text) spans = doc.spans["alcohol"] spans # Out: [OH] ``` === "3" ```python ...
__label__POS
0.98789
=== "1" ```python text = "Patient hospitalisé à AVC." doc = nlp(text) spans = doc.spans["cerebrovascular_accident"] spans # Out: [] ``` === "2" ```python text = "Hospitalisation pour un AVC." doc = nlp(text) spans = doc.spans["cerebrovascular_accident"] spans # O...
__label__POS
0.998879
=== "1" ```python text = "Présence d'un DT2" doc = nlp(text) spans = doc.spans["diabetes"] spans # Out: [DT2] ``` === "2" ```python text = "Présence d'un DNID" doc = nlp(text) spans = doc.spans["diabetes"] spans # Out: [DNID] ``` === "3" ```python ...
__label__POS
0.997962
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.940168
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.824974
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Console\Output\Prompts; /** * Defines a confirmation question */ class Confirmation extends...
__label__POS
0.873938
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.972217
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.947509
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Console\Output\Prompts; use InvalidArgumentException; /** * Defines a console prompt questi...
__label__POS
0.988664
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
__label__POS
0.826517
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Console\Output\Compilers\Elements; /** * Defines the element registrant */ final class Elem...
__label__POS
0.81586
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Console\Output\Compilers\Elements; use InvalidArgumentException; /** * Defines a registry o...
__label__POS
0.604707
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing; use Aphiria\Routing\Caching\IRouteCache; /** * Defines a collection of route regis...
__label__POS
0.76132
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing; use Closure; /** * Defines the route collection builder registrant that uses route...
__label__POS
0.611914
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing; /** * Defines a list of routes that can be used by a router */ final class RouteCo...
__label__POS
0.631756
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing\Matchers\Constraints; use Aphiria\Routing\Matchers\MatchedRouteCandidate; /** * Def...
__label__POS
0.814414
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing\UriTemplates\Constraints; /** * Defines the in-array constraint */ final class InCo...
__label__POS
0.745891
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing\UriTemplates\Constraints; /** * Defines the not-in-array constraint */ final class ...
__label__POS
0.770281
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Routing\UriTemplates\Compilers\Tries\Caching; use Aphiria\Routing\UriTemplates\Compilers\Trie...
__label__POS
0.704428
// Copyright 2000 John Maddock (john@johnmaddock.co.uk) // Copyright 2002 Aleksey Gurtovoy (agurtovoy@meta-comm.com) // // 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). // //...
__label__POS
0.990348
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, // Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000. // 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). // // ...
__label__POS
0.991537
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, // Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000. // 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). // // ...
__label__POS
0.998371
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, // Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000. // 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). // // ...
__label__POS
0.997997
(ns dom-top.core-test (:require [clojure [pprint :refer [pprint]] [test :refer :all]] [clj-commons.primitive-math :as prim] [criterium.core :refer [bench quick-bench]] [dom-top.core :refer :all]) (:import (java.util.concurrent BrokenBarrierException ...
__label__POS
0.66707
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayAccess; use Closure; use Countable; use IteratorAggregate; use OutOfRan...
__label__POS
0.643616
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayIterator; use Closure; use OutOfRangeException; use RuntimeException; u...
__label__POS
0.922154
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayIterator; use Countable; use IteratorAggregate; use Traversable; /** ...
__label__POS
0.751426
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; /** * Defines the key hasher * @internal */ class KeyHasher { /** * ...
__label__POS
0.942146
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use Iterator; /** * Defines an iterator for a list of key-value pairs * * @t...
__label__POS
0.977428
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayIterator; use Closure; use OutOfRangeException; use Traversable; /** ...
__label__POS
0.872774
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayIterator; use Countable; use IteratorAggregate; use Traversable; /** ...
__label__POS
0.908007
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use Closure; use Countable; use IteratorAggregate; use RuntimeException; /** *...
__label__POS
0.726333
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use Closure; use InvalidArgumentException; use OutOfBoundsException; use Runtime...
__label__POS
0.669455
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayAccess; use Closure; use Countable; use IteratorAggregate; use OutOfRan...
__label__POS
0.908243
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Collections; use ArrayIterator; use Closure; use RuntimeException; use Traversable; /** * D...
__label__POS
0.658752
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Api\Errors; use Aphiria\Net\Http\IResponse; /** * Defines the mutator that can convert a re...
__label__POS
0.930995
(ns gretchen.graph-test (:require [clojure.test :refer :all] [clojure.test.check :as tc] [clojure.test.check.generators :as gen] [clojure.test.check.properties :as prop] [clojure.test.check.clojure-test :refer [defspec]] [clojure.set :as set] [cl...
__label__POS
0.704486
(ns gretchen.bottleneck "Imagine a history H of transactions with a partial precedence order < over those transactions. In generality, we might have to consider every possible permutation of those transactions, which is expensive. However, if we are lucky, there might exist a *bottleneck* transaction c--perh...
__label__POS
0.693906
(ns gretchen.graph "Assists with graph operations. Our representation of a graph is a map with two keys: {:vertices, a collection of objects, and :neighbors, a function of vertices to vertices.} Graphs may not contain nil vertices." (:require [clojure.set :as set] [gretchen.util :refer :all])) (...
__label__POS
0.793544
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Sessions\Ids; /** * Defines a UUID V4 ID generator */ final class UuidV4IdGenerator impleme...
__label__POS
0.921884
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Sessions\Handlers; use OutOfBoundsException; /** * Defines a session driver backed by file ...
__label__POS
0.870195
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Sessions\Handlers; use OutOfBoundsException; /** * Defines the session driver backed by an ...
__label__POS
0.930612
shared :counter do should 'create a counter' do @class.new.should.be.kind_of? @class end should '==' do a = @class.new b = @class.new a.should == b a += 1 a.should.not == b b += 2 a.should.not == b a += 1 a.should == b a.increment('foo', 2) a.should.not == b ...
__label__POS
0.913133
shared :prob do COUNT ||= 10000 require 'pp' def serialize(crdt) crdt.to_json end def deserialize(text) Meangirls.parse JSON.parse text end # Serialize then deserialize CRDT. def roundtrip(crdt) deserialize serialize crdt end # Takes a CRDT and returns n copies. def split(crdt, n =...
__label__POS
0.737144
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Exceptions; use ErrorException; use Throwable; /** * Defines the interface for global excep...
__label__POS
0.614966
<?php /** * Aphiria * * @link https://www.aphiria.com * @copyright Copyright (C) 2025 David Young * @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md */ declare(strict_types=1); namespace Aphiria\Middleware; /** * Defines a collection of middleware */ final class MiddlewareCollection { ...
__label__POS
0.629306