Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Ok (0.18 sec)

  1. cmd/erasure-metadata.go

    	if fi.TransitionTier != "" {
    		objInfo.StorageClass = fi.TransitionTier
    	} else if sc, ok := fi.Metadata[xhttp.AmzStorageClass]; ok {
    		objInfo.StorageClass = sc
    	} else {
    		objInfo.StorageClass = globalMinioDefaultStorageClass
    	}
    
    	// set restore status for transitioned object
    	restoreHdr, ok := fi.Metadata[xhttp.AmzRestore]
    	if ok {
    		if restoreStatus, err := parseRestoreObjStatus(restoreHdr); err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. cmd/xl-storage-disk-id-check.go

    // that is not io.EOF.
    func diskHealthCheckOK(ctx context.Context, err error) bool {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    		// No tracker, return
    		return err == nil || errors.Is(err, io.EOF)
    	}
    	if err == nil || errors.Is(err, io.EOF) {
    		tracker.logSuccess()
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/erasure-common.go

    			Prefix: req.Prefix,
    			File:   wantFile,
    		}
    		for i := range resps {
    			if disks[i] == nil {
    				continue
    			}
    			select {
    			case <-ctx.Done():
    			case gotFile, ok := <-resps[i]:
    				if !ok {
    					continue
    				}
    				if gotFile.Error != "" || !gotFile.Exists {
    					continue
    				}
    				if gotFile.File != wantFile || gotFile.Bucket != req.Bucket || gotFile.Prefix != req.Prefix {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_linux.go

    	if v6 {
    		family = unix.AF_INET6
    	} else {
    		family = unix.AF_INET
    	}
    	err := netlink.IpsetCreate(name, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family})
    	if ipsetErr, ok := err.(nl.IPSetError); ok && ipsetErr == nl.IPSET_ERR_EXIST {
    		return nil
    	}
    
    	return err
    }
    
    func (m *realDeps) destroySet(name string) error {
    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    			} else if loggerLevelString != "" {
    				levels := strings.Split(loggerLevelString, ",")
    				for _, ol := range levels {
    					if !strings.Contains(ol, ":") && !strings.Contains(ol, "=") {
    						level, ok := stringToLevel[ol]
    						if ok {
    							destLoggerLevels = map[string]Level{
    								defaultLoggerName: level,
    							}
    						} else {
    							return fmt.Errorf("unrecognized logging level: %v", ol)
    						}
    					} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. docs/hu/docs/index.md

    **Forrás kód**: <a href="https://github.com/tiangolo/fastapi" target="_blank">https://github.com/tiangolo/fastapi</a>
    
    ---
    A FastAPI egy modern, gyors (nagy teljesítményű), webes keretrendszer API-ok építéséhez Python -al, a Python szabványos típusjelöléseire építve.
    
    
    Kulcs funkciók:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    	}
    	defer rc.Close()
    
    	rf, ok := w.(io.ReaderFrom)
    	if ok && runtime.GOOS != "windows" {
    		// Attempt to use splice/sendfile() optimization, A very specific behavior mentioned below is necessary.
    		// See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	xnet "github.com/minio/pkg/v2/net"
    	xbufio "github.com/philhofer/fwd"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func isNetworkError(err error) bool {
    	if err == nil {
    		return false
    	}
    
    	if nerr, ok := err.(*rest.NetworkError); ok {
    		if down := xnet.IsNetworkOrHostDown(nerr.Err, false); down {
    			return true
    		}
    		if errors.Is(nerr.Err, rest.ErrClientClosed) {
    			return true
    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    		return nil, fmt.Errorf("can't find netns for pod, this is ok if this is a newly created pod (%w)", ErrPodNotFound)
    	}
    
    	return openNetns, nil
    }
    
    // AddPodToMesh adds a pod to mesh by
    // 1. Getting the netns
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top