Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for nextGen (0.13 sec)

  1. src/runtime/tracestatus.go

    	}
    	r.readyNextGen(gen)
    	return true
    }
    
    // readyNextGen readies r for the generation following gen.
    func (r *traceSchedResourceState) readyNextGen(gen uintptr) {
    	nextGen := traceNextGen(gen)
    	r.seq[nextGen%2] = 0
    	r.statusTraced[nextGen%3].Store(0)
    }
    
    // statusWasTraced returns true if the sched resource's status was already acquired for tracing.
    func (r *traceSchedResourceState) statusWasTraced(gen uintptr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/VersionCatalogDependencyRegistry.java

        }
    
        private static String findFreeAlias(Set<String> reservedKeys, String key) {
            String nextKey = key;
            int collisionCount = 0;
            while (reservedKeys.contains(nextKey)) {
                collisionCount += 1;
                nextKey = key + "-x" + collisionCount;
            }
            return nextKey;
        }
    
        @NonNullApi
        public static class VersionEntry {
            String alias;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/continue_test.go

    import (
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"testing"
    )
    
    func encodeContinueOrDie(apiVersion string, resourceVersion int64, nextKey string) string {
    	out, err := json.Marshal(&continueToken{APIVersion: apiVersion, ResourceVersion: resourceVersion, StartKey: nextKey})
    	if err != nil {
    		panic(err)
    	}
    	return base64.RawURLEncoding.EncodeToString(out)
    }
    
    func Test_decodeContinue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 17:30:02 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/continue.go

    func EncodeContinue(key, keyPrefix string, resourceVersion int64) (string, error) {
    	nextKey := strings.TrimPrefix(key, keyPrefix)
    	if nextKey == key {
    		return "", fmt.Errorf("unable to encode next field: the key and key prefix do not match")
    	}
    	out, err := json.Marshal(&continueToken{APIVersion: "meta.k8s.io/v1", ResourceVersion: resourceVersion, StartKey: nextKey})
    	if err != nil {
    		return "", err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 17:30:02 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner.go

    	}
    	accessor.SetResourceVersion(versionString)
    	return nil
    }
    
    // UpdateList implements Versioner
    func (a APIObjectVersioner) UpdateList(obj runtime.Object, resourceVersion uint64, nextKey string, count *int64) error {
    	if resourceVersion == 0 {
    		return fmt.Errorf("illegal resource version from storage: %d", resourceVersion)
    	}
    	listAccessor, err := meta.ListAccessor(obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:19:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/term/term_unix.go

    	termios.Iflag &^= unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON
    	termios.Oflag &^= unix.OPOST
    	termios.Lflag &^= unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN
    	termios.Cflag &^= unix.CSIZE | unix.PARENB
    	termios.Cflag |= unix.CS8
    	termios.Cc[unix.VMIN] = 1
    	termios.Cc[unix.VTIME] = 0
    	if err := unix.IoctlSetTermios(fd, ioctlWriteTermios, termios); err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/debug/macho/macho.go

    		Ntoc           uint32
    		Modtaboff      uint32
    		Nmodtab        uint32
    		Extrefsymoff   uint32
    		Nextrefsyms    uint32
    		Indirectsymoff uint32
    		Nindirectsyms  uint32
    		Extreloff      uint32
    		Nextrel        uint32
    		Locreloff      uint32
    		Nlocrel        uint32
    	}
    
    	// A DylibCmd is a Mach-O load dynamic library command.
    	DylibCmd struct {
    		Cmd            LoadCmd
    		Len            uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    // value between sep and end as an integer.
    // If seekBack fails, the returned error will reference what.
    func seekBack(l string, sep byte, end int, what string) (value int, nextSep int, err error) {
    	// Since we're seeking backwards and we know only ASCII is legal for these values,
    	// we can ignore the possibility of non-ASCII characters.
    	for start := end - 1; start >= 0; start-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    		$2 !~ /^ETH_/ &&
    		$2 !~ /^EPROC_/ &&
    		$2 !~ /^EQUIV_/ &&
    		$2 !~ /^EXPR_/ &&
    		$2 ~ /^E[A-Z0-9_]+$/ ||
    		$2 ~ /^B[0-9_]+$/ ||
    		$2 ~ /^V[A-Z0-9]+$/ ||
    		$2 ~ /^CS[A-Z0-9]/ ||
    		$2 ~ /^I(SIG|CANON|CRNL|EXTEN|MAXBEL|STRIP|UTF8)$/ ||
    		$2 ~ /^IGN/ ||
    		$2 ~ /^IX(ON|ANY|OFF)$/ ||
    		$2 ~ /^IN(LCR|PCK)$/ ||
    		$2 ~ /(^FLU?SH)|(FLU?SH$)/ ||
    		$2 ~ /^C(LOCAL|READ)$/ ||
    		$2 == "BRKINT" ||
    		$2 == "HUPCL" ||
    		$2 == "PENDIN" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top