Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for HasSuffix (1.58 sec)

  1. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s.drivePath, 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
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	ri := logger.GetReqInfo(ctx)
    	if ri != nil && strings.Contains(ri.UserAgent, `1.0 Veeam/1.0 Backup`) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. 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
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		batchLogIf(j.ctx, err)
    		return
    	}
    	for result := range results {
    		// ignore batch-replicate.bin and batch-rotate.bin entries
    		if strings.HasSuffix(result.Name, slashSeparator) {
    			continue
    		}
    		req := &BatchJobRequest{}
    		if err := req.load(ctx, j.objLayer, result.Name); err != nil {
    			batchLogIf(ctx, err)
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. 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).
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. 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) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top