Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for beste (0.2 sec)

  1. cmd/metacache-entries.go

    				if meta, err := xl.AppendTo(metaDataPoolGet()); err == nil {
    					if best.reusable {
    						metaDataPoolPut(best.metadata)
    					}
    					best.metadata = meta
    					best.cached = xl
    				}
    			}
    			toMerge = toMerge[:0]
    		}
    		if best.name > last {
    			select {
    			case <-ctxDone:
    				return ctx.Err()
    			case out <- *best:
    				last = best.name
    			}
    		} else if serverDebugLog {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cni/pkg/repair/netns.go

    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    			oldest = s.Starttime
    			best = ns
    		}
    	}
    	if best == "" {
    		return "", fmt.Errorf("failed to find network namespace")
    	}
    	return best, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. cmd/api-router.go

    	globalObjectAPI = o
    	globalObjLayerMutex.Unlock()
    }
    
    // objectAPIHandler implements and provides http handlers for S3 API.
    type objectAPIHandlers struct {
    	ObjectAPI func() ObjectLayer
    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    		f.NonUTF8 = f.Flags&0x800 == 0
    	}
    
    	needUSize := f.UncompressedSize == ^uint32(0)
    	needCSize := f.CompressedSize == ^uint32(0)
    	needHeaderOffset := f.headerOffset == int64(^uint32(0))
    
    	// Best effort to find what we need.
    	// Other zip authors might not even follow the basic format,
    	// and we'll just ignore the Extra content in that case.
    	var modified time.Time
    parseExtras:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. src/archive/tar/stat_unix.go

    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    		// The os/user functions may fail for any number of reasons
    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		Extra:  []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing
    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    func TestHeaderTooShort(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    		Extra:  []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing
    	}
    	testValidHeader(&h, t)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    // It uses default values for all of the other fields (as BSD and GNU tar does).
    func (tw *Writer) writeRawFile(name, data string, flag byte, format Format) error {
    	tw.blk.reset()
    
    	// Best effort for the filename.
    	name = toASCII(name)
    	if len(name) > nameSize {
    		name = name[:nameSize]
    	}
    	name = strings.TrimRight(name, "/")
    
    	var f formatter
    	v7 := tw.blk.toV7()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    func isASCII(s string) bool {
    	for _, c := range s {
    		if c >= 0x80 || c == 0x00 {
    			return false
    		}
    	}
    	return true
    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    ConfigMap, Deployment, etc. definitions for a complex application. When in
    doubt re-run istioctl kube-inject on deployments to get the most up-to-date changes.
    
    It's best to do kube-inject when the resource is initially created.
    `,
    		Example: `  # Update resources on the fly before applying.
      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    	// other fields in Header take precedence over PAXRecords.
    	PAXRecords map[string]string
    
    	// Format specifies the format of the tar header.
    	//
    	// This is set by Reader.Next as a best-effort guess at the format.
    	// Since the Reader liberally reads some non-compliant files,
    	// it is possible for this to be FormatUnknown.
    	//
    	// If the format is unspecified when Writer.WriteHeader is called,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top