Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 593 for tzfile (0.08 sec)

  1. src/time/zoneinfo_read.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Parse "zoneinfo" time zone file.
    // This is a fairly standard file format used on OS X, Linux, BSD, Sun, and others.
    // See tzfile(5), https://en.wikipedia.org/wiki/Zoneinfo,
    // and ftp://munnari.oz.au/pub/oldtz/
    
    package time
    
    import (
    	"errors"
    	"internal/bytealg"
    	"runtime"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. pkg/test/util/yml/file.go

    			return make([]string, 0), nil
    		}
    	}
    
    	filesToApply := make([]string, 0, len(docs))
    	for _, doc := range docs {
    		tfile, err := doc.toTempFile(workDir, filenamePrefix)
    		if err != nil {
    			return nil, err
    		}
    		filesToApply = append(filesToApply, tfile)
    	}
    	return filesToApply, nil
    }
    
    type yamlDoc struct {
    	content string
    	docType docType
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 07 14:33:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

     */
    
    package org.gradle.api.file
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    class FileResolutionIntegrationTest extends AbstractIntegrationSpec {
        def "file conversion works with java.nio.file.Path"() {
            buildFile """
    java.nio.file.Path fAsPath = buildDir.toPath().resolve('testdir').toAbsolutePath()
    def f = file(fAsPath)
    assert f == fAsPath.toFile()
    """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()
            val classesDir = tempDirectory.resolve("classes")
            val manifestFile = tempDirectory.resolve("MANIFEST.MF")
            val buildReceiptFile = tempDirectory.resolve("build-receipt.properties")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy

            when:
            def object = parse(testPath)
            then:
            object instanceof File
            testPath.toFile() == object
        }
    
        def "with RegularFile returns the File it represents"() {
            setup:
            def testFile = folder.createFile("test1")
            def notation = Stub(RegularFile)
            notation.asFile >> testFile
            when:
            def object = parse(notation)
            then:
            object == testFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 16:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactoryTest.groovy

        }
    
        def "creates MavenArtifact for file notation"() {
            when:
            File file = new File(fileName)
            fileNotationParser.parseNotation('some-file') >> file
    
            and:
            MavenArtifact mavenArtifact = parser.parseNotation('some-file')
    
            then:
            mavenArtifact.extension == extension
            mavenArtifact.file == file
            mavenArtifact.classifier == null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/AbstractCompilerPluginTest.groovy

            File parent = Paths.get(sourceFolder.absolutePath, "src", "main", "java", packageFolder).toFile()
            File f = Paths.get(parent.absolutePath, "${className}.java").toFile()
            parent.mkdirs()
            f.text = body
            return [f]
        }
    
        List<File> toModuleSourceFile(String body) {
            def className = "module-info"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

            }
            if (notation instanceof URI) {
                URI uri = (URI) notation;
                if ("file".equals(uri.getScheme())) {
                    try {
                        result.converted(new File(uri));
                        return;
                    } catch (IllegalArgumentException ignored) {
                        // Bad file URI, return URI as-is
                    }
                }
                result.converted(uri);
                return;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

                    def go() {
                        outputFile.toFile().text = inputFile.toFile().text
                        inputDir.toFile().listFiles().each { f -> outputDir.resolve(f.name).toFile().text = f.text }
                    }
                }
    
                task transform(type: TransformTask) {
                    inputFile = file("file1.txt").toPath()
                    inputDir = file("dir1").toPath()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top