Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for rootfile (0.35 sec)

  1. cmd/data-usage_test.go

    )
    
    type usageTestFile struct {
    	name string
    	size int
    }
    
    func TestDataUsageUpdate(t *testing.T) {
    	base := t.TempDir()
    	const bucket = "bucket"
    	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},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "task @InputFiles file collection closure is called once only when task executes"() {
            taskTypeWithInputFileCollection()
            buildFile """
                task merge(type: InputFilesTask) {
                    outFile = file("out.txt")
                    inFiles.from {
                        println("calculating value")
                        return 'in.txt'
                    }
                }
    """
            file("in.txt").text = "in"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. pkg/volume/util/atomic_writer_test.go

    				".dotfile":      {Mode: 0644, Data: []byte("dotfile")},
    				".dotfile.file": {Mode: 0644, Data: []byte("dotfile.file")},
    			},
    			success: true,
    		},
    		{
    			name: "dotfiles mode",
    			payload: map[string]FileProjection{
    				"foo":           {Mode: 0407, Data: []byte("foo")},
    				"bar":           {Mode: 0440, Data: []byte("bar")},
    				".dotfile":      {Mode: 0777, Data: []byte("dotfile")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. pkg/collateral/control.go

    _complete istio 2>/dev/null
    `
    
    		// Create the output file.
    		outFile, err := os.Create(c.OutputDir + "/_" + root.Name())
    		if err != nil {
    			return fmt.Errorf("unable to create zsh completion file: %v", err)
    		}
    		defer func() { _ = outFile.Close() }()
    
    		// Concatenate the head, initialization, generated bash, and tail to the file
    		if _, err = outFile.WriteString(zshInitialization); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

            def unitOfWork = builder.withOutputDirs(
                dir1: file("outDir1"),
                dir2: file("outDir2")
            ).withOutputFiles(
                "file1": file("parent1/outFile"),
                "file2": file("parent2/outFile")
            ).withWork { ->
                UnitOfWork.WorkResult.DID_WORK
            }.build()
    
            when:
            def result = execute(unitOfWork)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                                    new File(unzipDir, entry.getName()).mkdirs()
                                    continue
                                }
                                File outFile = new File(unzipDir, entry.getName())
                                outFile.withOutputStream { outputStream ->
                                    copy(inputStream, outputStream)
                                }
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/UnsafeConfigurationResolutionDeprecationIntegrationTest.groovy

                task resolve {
                    def configuration = configurations.bar
                    def outFile = file('bar')
                    doFirst {
                        configuration.files
                        def failure = null
                        def thread = new Thread({
                            try {
                                outFile << configuration.files
                            } catch(Throwable t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/embed/embed.go

    	if f.IsDir() {
    		return fs.ModeDir | 0555
    	}
    	return 0444
    }
    
    func (f *file) String() string {
    	return fs.FormatFileInfo(f)
    }
    
    // dotFile is a file for the root directory,
    // which is omitted from the files list in a FS.
    var dotFile = &file{name: "./"}
    
    // lookup returns the named file, or nil if it is not present.
    func (f FS) lookup(name string) *file {
    	if !fs.ValidPath(name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. src/crypto/x509/name_constraints_test.go

    	args := []string{"verify", "-no_check_time"}
    
    	rootsFile := writePEMsToTempFile(allCerts(t, roots))
    	if debugOpenSSLFailure {
    		println("roots file:", rootsFile.Name())
    	} else {
    		defer os.Remove(rootsFile.Name())
    	}
    	args = append(args, "-CAfile", rootsFile.Name())
    
    	if intermediates.len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                                    new File(unzipDir, entry.getName()).mkdirs()
                                    continue
                                }
                                File outFile = new File(unzipDir, entry.getName())
                                outFile.withOutputStream { outputStream ->
                                    copy(inputStream, outputStream)
                                }
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top