Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Howard (0.5 sec)

  1. cmd/metacache-walk.go

    	var scanDir func(path string) error
    
    	scanDir = func(current string) error {
    		// Skip forward, if requested...
    		sb := bytebufferpool.Get()
    		defer func() {
    			sb.Reset()
    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    		if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) {
    			forward = strings.TrimPrefix(opts.ForwardTo, current)
    			// Trim further directories and trailing slash.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    // The last entry can be used as a marker to resume the listing.
    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    	err = r.forwardTo(o.Prefix)
    	if err != nil {
    		return entries, err
    	}
    	if o.Marker != "" {
    		err = r.forwardTo(o.Marker)
    		if err != nil {
    			return entries, err
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    			if err != nil {
    				h.ServeHTTP(w, r)
    				return
    			}
    			remote, self := globalSiteReplicationSys.getPeerForUpload(deplID)
    			if self {
    				h.ServeHTTP(w, r)
    				return
    			}
    			// forward request to peer handling this upload
    			if globalBucketTargetSys.isOffline(remote.EndpointURL) {
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    	}
    
    	if err = fw.Start(); err != nil {
    		return fmt.Errorf("failure running port forward process: %v", err)
    	}
    
    	// Close the forwarder either when we exit or when an this processes is interrupted.
    	defer fw.Close()
    	dashboard.ClosePortForwarderOnInterrupt(fw)
    
    	log.Debugf("port-forward to prometheus pod ready")
    
    	promAPI, err := prometheusAPI(fmt.Sprintf("http://%s", fw.Address()))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard.go

    		ClosePortForwarderOnInterrupt(fw)
    
    		log.Debugf(fmt.Sprintf("port-forward to %s pod ready", flavor))
    		openBrowser(fmt.Sprintf(urlFormat, fw.Address()), writer, browser)
    
    		// Wait for stop
    		fw.WaitForStop()
    
    		return nil
    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    }
    
    func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) {
    	go func() {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. cmd/data-usage.go

    		}
    	}
    
    	var dataUsageInfo DataUsageInfo
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(buf, &dataUsageInfo); err != nil {
    		return DataUsageInfo{}, err
    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/metacache-stream.go

    	}
    	if r.current.name != "" {
    		return false
    	}
    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    		return r.err == io.EOF
    	}
    	return false
    }
    
    // forwardTo will forward to the first entry that is >= s.
    // Will return io.EOF if end of stream is reached without finding any.
    func (r *metacacheReader) forwardTo(s string) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/server-main.go

    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    		}
    
    		// Any other config errors we simply print a message and proceed forward.
    		configLogIf(ctx, fmt.Errorf("Unable to initialize config, some features may be missing: %w", err))
    	}
    
    	return nil
    }
    
    func setGlobalInternodeInterface(interfaceName string) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
Back to top