index
int64
0
0
repo_id
stringlengths
9
205
file_path
stringlengths
31
246
content
stringlengths
1
12.2M
__index_level_0__
int64
0
10k
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/CanExecuteFileFilter.java
/* * 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 ...
3,500
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/TrueFileFilter.java
/* * 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 ...
3,501
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/NameFileFilter.java
/* * 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 ...
3,502
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/HiddenFileFilter.java
/* * 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 ...
3,503
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/NotFileFilter.java
/* * 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 ...
3,504
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/WildcardFileFilter.java
/* * 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 ...
3,505
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/SizeFileFilter.java
/* * 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 ...
3,506
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/FileFileFilter.java
/* * 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 ...
3,507
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/FalseFileFilter.java
/* * 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 ...
3,508
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/filter/package-info.java
/* * 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 ...
3,509
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/events/AbstractFileChangeEvent.java
/* * 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 ...
3,510
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/events/DeleteEvent.java
/* * 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 ...
3,511
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/events/CreateEvent.java
/* * 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 ...
3,512
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/events/package-info.java
/* * 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 ...
3,513
0
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2
Create_ds/commons-vfs/commons-vfs2/src/main/java/org/apache/commons/vfs2/events/ChangedEvent.java
/* * 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 ...
3,514
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileObjectTest.java
/* * 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 ...
3,515
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileNameTest.java
/* * 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 ...
3,516
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/JcrUtils.java
/* * 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 ...
3,517
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4VersioningTests.java
/* * 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 ...
3,518
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4ProviderTestSuite.java
/* * 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 ...
3,519
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/JackrabbitMain.java
/* * 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 ...
3,520
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/WebDav4FilesTest.java
/* * 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 ...
3,521
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4ProviderTestCase.java
/* * 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 ...
3,522
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/code/ClassToLoad.java
/* * 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 ...
3,523
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/code
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/code/sealed/AnotherClass.java
/* * 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 ...
3,524
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileSystem.java
/* * 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 ...
3,525
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileContentInfoFactory.java
/* * 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 ...
3,526
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileNameParser.java
/* * 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 ...
3,527
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileSystemConfigBuilder.java
/* * 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 ...
3,528
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileObject.java
/* * 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 ...
3,529
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileName.java
/* * 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 ...
3,530
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/ExceptionConverter.java
/* * 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 ...
3,531
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/Webdav4FileProvider.java
/* * 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 ...
3,532
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4/package-info.java
/* * 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 ...
3,533
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4s/Webdav4sFileProvider.java
/* * 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 ...
3,534
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4s/package-info.java
/* * 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 ...
3,535
0
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider
Create_ds/commons-vfs/commons-vfs2-jackrabbit2/src/main/java/org/apache/commons/vfs2/provider/webdav4s/Webdav4sFileNameParser.java
/* * 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 ...
3,536
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/TRexLexerTest.java
package com.squareup.trex; import static com.squareup.trex.TRexParser.*; import edu.stanford.nlp.util.StringUtils; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.antlr.v4.runtime.CharStreams; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.Token; impor...
3,537
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/NumericPatternTest.java
package com.squareup.trex; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.DynamicTest; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestFactory; import static org.junit.jupiter.api.Assertions.*; /** * ...
3,538
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/RegexPatternTest.java
package com.squareup.trex; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test the {@link RegexPattern} class. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> ...
3,539
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/TRexParserTest.java
package com.squareup.trex; import java.util.Arrays; import java.util.function.Function; import org.antlr.v4.runtime.CharStreams; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.ParserRuleContext; import org.junit.jupiter.api.DynamicTest; import org.junit.jupiter.api.TestFactory; import stat...
3,540
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/NLPUtils.java
package com.squareup.trex; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.CoreLabel; import edu.stanford.nlp.pipeline.Annotation; import edu.stanford.nlp.pipeline.StanfordCoreNLP; import edu.stanford.nlp.util.CoreMap; import java.util.ArrayList; import java.util.List; import java.util.Map; ...
3,541
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/DisjunctionIteratorTest.java
package com.squareup.trex; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test the utility functions in the disjunction iterator. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ public class DisjunctionIteratorTest { /** * Test the alread...
3,542
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/MatcherTest.java
package com.squareup.trex; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * A test for the {@link Matcher} class and subclasses * * @author <a href="mailt...
3,543
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/WildcardPatternTest.java
package com.squareup.trex; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test {@link WildcardPattern}. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class WildcardPatternTest { /**...
3,544
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/SequenceBoundaryPatternTest.java
package com.squareup.trex; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test the {@link SequenceBoundaryPattern} class. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class SequenceB...
3,545
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/SingleValueIteratorTest.java
package com.squareup.trex; import java.util.NoSuchElementException; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * A simple unit test for {@link SingleValueIterator}. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class SingleValueIteratorTest { ...
3,546
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/CoreLabelInputTokenTest.java
package com.squareup.trex; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.CoreLabel; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Test a {@link CoreLabelInputToken}. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class...
3,547
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/NullPatternTest.java
package com.squareup.trex; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit tests for {@link NullPattern}. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class NullPatternTest { /** ...
3,548
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/PatternTest.java
package com.squareup.trex; import edu.stanford.nlp.ling.CoreLabel; import java.time.Duration; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Primiti...
3,549
0
Create_ds/t-rex/src/test/java/com/squareup
Create_ds/t-rex/src/test/java/com/squareup/trex/SequencePatternTest.java
package com.squareup.trex; import java.util.List; import java.util.NoSuchElementException; import java.util.PrimitiveIterator; import java.util.stream.Collectors; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test {@link Sequen...
3,550
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SingleTokenConjunctionPattern.java
package com.squareup.trex; import java.util.List; import java.util.function.Consumer; /** * A special-case pattern for a conjunction in a single token. This is much * simpler (+faster) than the multi-token equivalent {@link ConjunctionPattern}. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ ...
3,551
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/Matcher.java
package com.squareup.trex; import java.time.Duration; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Objects; import ja...
3,552
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/CoreLabelInputToken.java
package com.squareup.trex; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.CoreLabel; import java.util.HashMap; import java.util.Map; import javax.annotation.Nullable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * <p> * A {@link TRexInputToken} that wraps a CoreLabel. T...
3,553
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/DisjunctionPattern.java
package com.squareup.trex; import java.util.BitSet; import java.util.List; import java.util.NoSuchElementException; import java.util.PrimitiveIterator; import java.util.function.Consumer; /** * An iterator over a disjunction of matches. This will return all * matches from the left hand side, followed by all matches...
3,554
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/NumericPattern.java
package com.squareup.trex; import java.util.List; /** * This is a pattern implementation for doing numeric comparisons against * the value at a given key. This is for tokens like <pre>[{index&gt;=4}]</pre>. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ public class NumericPattern extends Si...
3,555
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/CoreNLPUtils.java
package com.squareup.trex; import edu.stanford.nlp.ling.CoreLabel; import java.util.List; import java.util.stream.Collectors; /** * A set of utility functions for using patterns with CoreNLP. This is broken * out so that CoreNLP is not strictly necessary in the runtime classpath in order * to use the library. * ...
3,556
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/Pattern.java
package com.squareup.trex; import static com.squareup.trex.TRexParser.*; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.PrimitiveIterator; import java.util.function.Consumer; import java.util....
3,557
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/TRexInputToken.java
package com.squareup.trex; /** * <p> * A single token in our sequence to be matched. This is, conceptually, a map * of string-to-string entries that can be matched by a pattern. Note that a * value can be null for a given key, although this will then not match any * pattern. * </p> * * @author <a href=...
3,558
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SequencePattern.java
package com.squareup.trex; import java.util.List; import java.util.NoSuchElementException; import java.util.PrimitiveIterator; import java.util.Stack; import java.util.function.Consumer; /** * When backtracking, we need to save the state for a previous valid * match on a branch that we're continuing to explore. * ...
3,559
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/ConjunctionPattern.java
package com.squareup.trex; import java.util.BitSet; import java.util.List; import java.util.NoSuchElementException; import java.util.PrimitiveIterator; import java.util.function.Consumer; /** * <p> * An iterator for returning conjunction matches, created by the * {@link ConjunctionPattern} class. This will try...
3,560
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SingleTokenDisjunctionPattern.java
package com.squareup.trex; import java.util.List; import java.util.function.Consumer; /** * A simplified implementation of a disjunction for just a single token. */ class SingleTokenDisjunctionPattern extends SingleTokenPattern { /** * The left hand side to match. */ public final SingleTokenPattern lhs; ...
3,561
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/StringPattern.java
package com.squareup.trex; import java.util.List; /** * <p> * A terminal pattern matching a single key+value entry. * This pattern matches if the value at the specified key is the same * as the string value defined by this pattern, optionally modulo * casing. * </p> * * @author <a href="mailto:gabor@s...
3,562
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/MapTRexInputToken.java
package com.squareup.trex; import java.util.Map; import java.util.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * A simple implementation of an input token that does a lookup in * a Java map. This can be used to create a matcher against a * list of maps, where each element of the list corre...
3,563
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/RegexPattern.java
package com.squareup.trex; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Collections; import java.util.List; import java.util.Map; /** * <p> * A terminal pattern matching a single key+value entry. The value * is matched against a regular expression. This ...
3,564
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SequenceBoundaryPattern.java
package com.squareup.trex; import java.util.List; /** * <p> * A simple pattern to match either the beginning or the end * of a sequence. This corresponds to the ^ and $ characters * in a regular expression. * </p> * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class SequenceBoundary...
3,565
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/WildcardPattern.java
package com.squareup.trex; import java.util.List; /** * <p> * A pattern that matches any single token. This is the implementation * of the [] construct. * </p> * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> */ class WildcardPattern extends SingleTokenPattern { /** {@inheritDoc} */ @O...
3,566
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/NegatedPattern.java
package com.squareup.trex; import java.util.List; import java.util.function.Consumer; /** * <p> * Negate a given match. That is, if a pattern used to match a token, * wrapping it in this pattern will cause the token to not match, and vice * versa. Note that this is only valid for a single token pattern, as ...
3,567
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SingleValueIterator.java
package com.squareup.trex; import java.util.NoSuchElementException; import java.util.PrimitiveIterator; /** * <p> * This class implements a simple int iterator that can encode * either 0 or 1 elements. This is primarily here for the unsafe * method {@link Matcher#transientIterator(int)} that allows reusing ...
3,568
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/SingleTokenPattern.java
package com.squareup.trex; import java.util.List; import java.util.PrimitiveIterator; /** * <p> * An abstract class for matching just a single token. * This is broken out from the {@link Pattern} class so that we can * (1) provide a cleaner interface for single token matchers, and * (2) type check single...
3,569
0
Create_ds/t-rex/src/main/java/com/squareup
Create_ds/t-rex/src/main/java/com/squareup/trex/NullPattern.java
package com.squareup.trex; import java.util.List; /** * This is a pattern to check if the value at a given key is null (or no * such key exists -- these two cases are treated the same). For example, * this is the pattern for <pre>[{!key}]</pre>. * * @author <a href="mailto:gabor@squareup.com">Gabor Angeli</a> *...
3,570
0
Create_ds/sagemaker-spark/sagemaker-spark-sdk/src/main/scala/aialgorithms
Create_ds/sagemaker-spark/sagemaker-spark-sdk/src/main/scala/aialgorithms/proto2/RecordProto2.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: AIAlgorithmsProtobufSchema/p.proto package aialgorithms.proto2; public final class RecordProto2 { private RecordProto2() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interfac...
3,571
0
Create_ds/sagemaker-spark/sagemaker-spark-sdk/src/main/scala/com/amazonaws/services/sagemaker/sparksdk
Create_ds/sagemaker-spark/sagemaker-spark-sdk/src/main/scala/com/amazonaws/services/sagemaker/sparksdk/protobuf/RecordIOOutputFormat.java
/* * Copyright 2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license...
3,572
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/EncodeURLEvaluator.java
/* * 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 ...
3,573
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/ConditionsEvaluator.java
/* * 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 ...
3,574
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/LogicalOperationEvaluator.java
/* * 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...
3,575
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/StaticPrefixedEvaluator.java
/* * 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 ...
3,576
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/PrefixedEvaluator.java
/* * 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 ...
3,577
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/NestedPropertyExpander.java
/* * 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...
3,578
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/RegexBasedEvaluator.java
/* * 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 ...
3,579
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/DelegatingPropertyEvaluator.java
/* * 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 ...
3,580
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/ComponentTypeEvaluator.java
/* * 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 ...
3,581
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/ConditionTypeEvaluator.java
/* * 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...
3,582
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/RequireProperty.java
/* * 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 ...
3,583
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DeleteFromStartReluctant.java
/* * 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 ...
3,584
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DeleteFromEndGreedy.java
/* * 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 ...
3,585
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DeleteFromEndReluctant.java
/* * 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 ...
3,586
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/ReplaceOperation.java
/* * 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 ...
3,587
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DeletePartOperation.java
/* * 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 ...
3,588
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/PatternOperation.java
/* * 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 ...
3,589
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DeleteFromStartGreedy.java
/* * 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 ...
3,590
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/SetDefaultValue.java
/* * 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 ...
3,591
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/DefaultValue.java
/* * 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 ...
3,592
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/StringOperationsEvaluator.java
/* * 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 ...
3,593
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/Translate.java
/* * 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 ...
3,594
0
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props
Create_ds/ant-antlibs-props/src/main/org/apache/ant/props/stringops/Substring.java
/* * 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 ...
3,595
0
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal/TestHarness.java
package com.paypal; import com.paypal.http.HttpClient; import com.paypal.core.PayPalHttpClient; import com.paypal.core.PayPalEnvironment; import org.testng.annotations.BeforeMethod; public class TestHarness { private HttpClient client; private PayPalEnvironment environment; @BeforeMethod public void setup()...
3,596
0
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal/payments/CapturesRefundTest.java
package com.paypal.payments; import com.paypal.http.HttpResponse; import com.paypal.http.HttpClient; import com.paypal.http.serializer.Json; import com.paypal.TestHarness; import java.io.File; import java.nio.file.Paths; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import org.testng.anno...
3,597
0
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal/payments/AuthorizationsCaptureTest.java
package com.paypal.payments; import com.paypal.http.HttpResponse; import com.paypal.http.HttpClient; import com.paypal.http.serializer.Json; import com.paypal.TestHarness; import java.io.File; import java.nio.file.Paths; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import org.testng.anno...
3,598
0
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal
Create_ds/Checkout-Java-SDK/checkout-sdk/src/test/java/com/paypal/payments/AuthorizationsReauthorizeTest.java
package com.paypal.payments; import com.paypal.http.HttpResponse; import com.paypal.http.HttpClient; import com.paypal.http.serializer.Json; import com.paypal.TestHarness; import java.io.File; import java.nio.file.Paths; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import org.testng.anno...
3,599