Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for HasSuffix (0.08 sec)

  1. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// Shortcut for APN/1.0 Veeam/1.0 Backup/10.0
    	// It requests unique blocks with a specific prefix.
    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	if isVeeamClient(ctx) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    	return describeCmd
    }
    
    // Append ".svc.cluster.local" if it isn't already present
    func extendFQDN(host string) string {
    	if host[0] == '*' {
    		return host
    	}
    	if strings.HasSuffix(host, k8sSuffix) {
    		return host
    	}
    	return host + k8sSuffix
    }
    
    // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match).
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			n.Kind = "type"
    			needType = append(needType, n)
    			continue
    		}
    
    		if (goos == "darwin" || goos == "ios") && strings.HasSuffix(n.C, "Ref") {
    			// For FooRef, find out if FooGetTypeID exists.
    			s := n.C[:len(n.C)-3] + "GetTypeID"
    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    			continue
    		}
    		if strings.HasPrefix(result.Item.Name, batchJobReportsPrefix+slashSeparator) {
    			continue
    		}
    		// ignore batch-replicate.bin and batch-rotate.bin entries
    		if strings.HasSuffix(result.Item.Name, slashSeparator) {
    			continue
    		}
    		req := &BatchJobRequest{}
    		if err := req.load(ctx, j.objLayer, result.Item.Name); err != nil {
    			batchLogIf(ctx, err)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var dataDir string
    	for _, folder := range dataDirs {
    		if strings.HasSuffix(folder, SlashSeparator) {
    			dataDir = folder
    			break
    		}
    	}
    
    	toDel := (len(erasureDisks) / 2) + 1
    	for _, disk := range erasureDisks[:toDel] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    			if len(bmbuf) < n {
    				bmbuf = make([]byte, n)
    			}
    			b.SetBytes(int64(n))
    			f(b, n)
    		})
    	}
    }
    
    var indexSizes = []int{10, 32, 4 << 10, 4 << 20, 64 << 20}
    
    var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race")
    
    func BenchmarkIndexByte(b *testing.B) {
    	benchBytes(b, indexSizes, bmIndexByte(IndexByte))
    }
    
    func BenchmarkIndexBytePortable(b *testing.B) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top