Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for fileurl (0.24 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

        }
    
        def "produces deprecation warning for invalid URLs"() {
            buildFile """
    def originalFile = layout.projectDirectory.dir("test% dir").asFile
    def fileURI = layout.projectDirectory.dir("test% dir").asFile.toURI().toString().replaceFirst("%25", "%")
    def f = file(fileURI)
    assert f == originalFile
    """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            indexFile.deleteOnExit();
            FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8"));
    
            for (int i = 1; i <= 10; i++) {
                final File file = new File(dir, "file" + count + "-" + i + ".html");
                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pkg/apis/rbac/v1/evaluation_helpers.go

    }
    
    func NonResourceURLMatches(rule *rbacv1.PolicyRule, requestedURL string) bool {
    	for _, ruleURL := range rule.NonResourceURLs {
    		if ruleURL == rbacv1.NonResourceAll {
    			return true
    		}
    		if ruleURL == requestedURL {
    			return true
    		}
    		if strings.HasSuffix(ruleURL, "*") && strings.HasPrefix(requestedURL, strings.TrimRight(ruleURL, "*")) {
    			return true
    		}
    	}
    
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java

                return null;
            }
            //cut the pre and postfix of this url
            URI fileURI = null;
            try {
                fileURI = new URI(jarURI.replace("jar:", "").replace("!/", ""));
            } catch (URISyntaxException e) {
                UncheckedException.throwAsUncheckedException(e);
            }
            File file = new File(fileURI);
            String path = PathUtil.normalizePath(file.getAbsolutePath());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AggregatingFilerTest.groovy

        def "can have zero originating elements"() {
            when:
            filer.createSourceFile("Foo")
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt")
    
            then:
            !result.fullRebuildCause
        }
    
        def "can have many originating elements"() {
            when:
            filer.createSourceFile("Foo", type("Bar"), type("Baz"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy

                name == 'name'
                artifactPatterns == ["${fileUri}/[organisation]/[artifact]-[revision].[ext]", "${fileUri}/[organisation]/[module]/[artifact]-[revision].[ext]"]
                ivyPatterns == ["${fileUri}/[organisation]/[module]/ivy-[revision].xml"]
            }
        }
    
        def "uses ivy patterns with specified url and default layout"() {
            repository.name = 'name'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "foo1/hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path);
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.io.FileUtil.readBytes;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.File;
    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/rule.xml

    			</component>
    		</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    			<arg>".*sitemap.*"</arg>
    		</postConstruct>
    	</component>
    
    	<component name="fileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule">
    		<property name="ruleId">"fileRule"</property>
    		<property name="defaultRule">true</property>
    		<property name="responseProcessor">
    			<component
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

        }
    
        def "adds originating types to the processing result"() {
            when:
            filer.createSourceFile("Foo", pkg("pkg"), type("A"), methodInside("B"))
            filer.createSourceFile("Bar", type("B"))
    
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt", pkg("pkg"), type("A"), methodInside("B"))
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "bar.txt", type("B"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top