Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 138 for Wiles (0.2 sec)

  1. internal/ioutil/ioutil_test.go

    	}
    	if !SameFile(fi1, fi2) {
    		t.Fatal("Expected the files to be same")
    	}
    	if err = os.WriteFile(tmpFile, []byte("aaa"), 0o644); err != nil {
    		t.Fatal(err)
    	}
    	fi2, err = os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	if SameFile(fi1, fi2) {
    		t.Fatal("Expected the files not to be same")
    	}
    }
    
    func TestCopyAligned(t *testing.T) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	RepairConfig  RepairConfig
    }
    
    // InstallConfig struct defines the Istio CNI installation options
    type InstallConfig struct {
    	// Location of the CNI config files in the host's filesystem
    	CNINetDir string
    	// Location of the CNI config files in the container's filesystem (mount location of the CNINetDir)
    	MountedCNINetDir string
    	// Name of the CNI config file
    	CNIConfName string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    // The cache is a tree structure where each keeps track of its children.
    //
    // An uncompacted branch contains a count of the files only directly at the
    // branch level, and contains link to children branches or leaves.
    //
    // The leaves are "compacted" based on a number of properties.
    // A compacted leaf contains the totals of all files beneath it.
    //
    // A leaf is only scanned once every dataUsageUpdateDirCycles,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  5. cni/test/install_k8s_test.go

    			expectedPostCleanFile:  testDataDir + "/pre/calico.conflist",
    			cniConfDirOrderedFiles: []string{"bad_minikube_cni.conf", "calico.conflist", "minikube_cni.conf"},
    		},
    		{
    			name:                  "Skip invalid .conflist files for first valid .conf file",
    			chainedCNIPlugin:      true,
    			resultFileName:        "02-minikube_cni.conflist",
    			expectedOutputFile:    testDataDir + "/expected/minikube_cni.conflist.expected",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  6. internal/disk/stat_windows.go

    		uintptr(unsafe.Pointer(&lpSectorsPerCluster)),
    		uintptr(unsafe.Pointer(&lpBytesPerSector)),
    		uintptr(unsafe.Pointer(&lpNumberOfFreeClusters)),
    		uintptr(unsafe.Pointer(&lpTotalNumberOfClusters)))
    
    	info.Files = uint64(lpTotalNumberOfClusters)
    	info.Ffree = uint64(lpNumberOfFreeClusters)
    
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    		t.Fatal(err)
    	}
    
    	hopts := madmin.HealOpts{
    		DryRun:   false,
    		Remove:   true,
    		ScanMode: madmin.HealNormalScan,
    	}
    
    	// Test 1: Remove the object backend files from the first disk.
    	z := objLayer.(*erasureServerPools)
    	for _, set := range z.serverPools {
    		er := set.sets[0]
    		erasureDisks := er.getDisks()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  8. cmd/metacache-bucket.go

    	b.caches = make(map[string]metacache, 10)
    	b.cachesRoot = make(map[string][]string, 10)
    }
    
    // deleteCache will delete a specific cache and all files related to it across the cluster.
    func (b *bucketMetacache) deleteCache(id string) {
    	b.mu.Lock()
    	c, ok := b.caches[id]
    	if ok {
    		// Delete from root map.
    		list := b.cachesRoot[c.root]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		logger.AddSystemTarget(GlobalContext, globalConsoleSys)
    
    		// Set node name, only set for distributed setup.
    		globalConsoleSys.SetNodeName(globalLocalNodeName)
    	})
    
    	// Always load ENV variables from files first.
    	loadEnvVarsFromFiles()
    
    	// Handle all server command args and build the disks layout
    	bootstrapTrace("serverHandleCmdArgs", func() {
    		err := buildServerCtxt(ctx, &globalServerCtxt)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  10. cmd/dummy-handlers.go

    	const loggingDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><BucketLoggingStatus xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><!--<LoggingEnabled><TargetBucket>myLogsBucket</TargetBucket><TargetPrefix>add/this/prefix/to/my/log/files/access_log-</TargetPrefix></LoggingEnabled>--></BucketLoggingStatus>`
    	writeSuccessResponseXML(w, []byte(loggingDefaultConfig))
    }
    
    // DeleteBucketWebsiteHandler - DELETE bucket website, a dummy api
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top