Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for rootfile (0.21 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    		}
    	}
    }
    
    func makeRouteFile(content string, t *testing.T) (*os.File, error) {
    	routeFile, err := os.CreateTemp("", "route")
    	if err != nil {
    		return nil, err
    	}
    
    	if _, err := routeFile.Write([]byte(content)); err != nil {
    		return routeFile, err
    	}
    	err = routeFile.Close()
    	return routeFile, err
    }
    
    func TestFailGettingIPv4Routes(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    		return false
    	}
    	switch err.(type) {
    	case noRoutesError:
    		return true
    	default:
    		return false
    	}
    }
    
    var (
    	v4File = RouteFile{name: ipv4RouteFile, parse: getIPv4DefaultRoutes}
    	v6File = RouteFile{name: ipv6RouteFile, parse: getIPv6DefaultRoutes}
    )
    
    func (rf RouteFile) extract() ([]Route, error) {
    	file, err := os.Open(rf.name)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K 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. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

        @Optional @InputDirectory
        final DirectoryProperty inDir = project.objects.directoryProperty()
    
        @Optional @OutputFile
        final RegularFileProperty outFile = project.objects.fileProperty()
    
        @Optional @OutputDirectory
        final DirectoryProperty outDir = project.objects.directoryProperty()
    
        @TaskAction
        def go() { }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top