Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for sortable (0.2 sec)

  1. cni/pkg/nodeagent/informers.go

    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    				log.Warnf("pod %s does not appear to have any assigned IPs, not capturing", pod.Name)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. misc/ios/go_ios_exec.go

    		return nil
    	}
    	// Some devices only give us an ImageSignature key.
    	if _, exists := dict["ImageSignature"]; exists {
    		return nil
    	}
    	// No image is mounted. Find a suitable image.
    	imgPath, err := findDevImage()
    	if err != nil {
    		return err
    	}
    	sigPath := imgPath + ".signature"
    	cmd = idevCmd(exec.Command("ideviceimagemounter", imgPath, sigPath))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    // license that can be found in the LICENSE file.
    
    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    			askDisks = getListQuorum("strict", er.setDriveCount)
    		}
    	}
    
    	var fallbackDisks []StorageAPI
    
    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)
  5. cmd/sts-handlers.go

    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    	}
    
    	// https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability
    	// claim is only considered stable when subject and iss are used together
    	// this is to ensure that ParentUser doesn't change and we get to use
    	// parentUser as per the requirements for service accounts for OpenID
    	// based logins.
    	var subFromToken string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. cmd/admin-handlers.go

    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				adminLogIf(ctx, err)
    			}
    		}
    		totalRx += n
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  7. src/archive/tar/strconv.go

    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    			return true
    		}
    		if errors.Is(nerr.Err, rest.ErrClientClosed) {
    			return true
    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    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)
  9. src/archive/tar/common.go

    	// This package transparently handles these types.
    	TypeGNULongName = 'L'
    	TypeGNULongLink = 'K'
    )
    
    // Keywords for PAX extended header records.
    const (
    	paxNone     = "" // Indicates that no PAX key is suitable
    	paxPath     = "path"
    	paxLinkpath = "linkpath"
    	paxSize     = "size"
    	paxUid      = "uid"
    	paxGid      = "gid"
    	paxUname    = "uname"
    	paxGname    = "gname"
    	paxMtime    = "mtime"
    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)
  10. cmd/xl-storage-format-v2.go

    }
    
    // hasEC will return true if the version has erasure coding information.
    func (x xlMetaV2VersionHeader) hasEC() bool {
    	return x.EcM > 0 && x.EcN > 0
    }
    
    // sortsBefore can be used as a tiebreaker for stable sorting/selecting.
    // Returns false on ties.
    func (x xlMetaV2VersionHeader) sortsBefore(o xlMetaV2VersionHeader) bool {
    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top