Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for CNT (0.02 sec)

  1. pkg/controller/job/indexed_job_utils_test.go

    	cases := map[string]struct {
    		cnt              int
    		completions      int
    		activePods       []indexPhase
    		succeededIndexes []interval
    		failedIndexes    *orderedIntervals
    		want             []int
    	}{
    		"cnt greater than completions": {
    			cnt:         5,
    			completions: 3,
    			want:        []int{0, 1, 2},
    		},
    		"cnt less than completions": {
    			cnt:         2,
    			completions: 5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    		if tpVal, ok := node.Labels[c.TopologyKey]; ok {
    			var cnt int64
    			if c.TopologyKey == v1.LabelHostname {
    				cnt = int64(countPodsMatchSelector(nodeInfo.Pods, c.Selector, pod.Namespace))
    			} else {
    				pair := topologyPair{key: c.TopologyKey, value: tpVal}
    				cnt = *s.TopologyPairToPodCounts[pair]
    			}
    			score += scoreForCount(cnt, c.MaxSkew, s.TopologyNormalizingWeight[i])
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_s390x.s

    	XOR	R7, R8
    	MOVB	R8, 0(R1)(R5*1)
    	LAY	1(R5), R5
    	SUB	$1, R4
    	BR	tail
    done:
    	RET
    
    // func cryptBlocksGCM(fn code, key, dst, src, buf []byte, cnt *[16]byte)
    TEXT ·cryptBlocksGCM(SB),NOSPLIT,$0-112
    	MOVD	src_len+64(FP), R0
    	MOVD	buf_base+80(FP), R1
    	MOVD	cnt+104(FP), R12
    	LMG	(R12), R2, R3
    
    	// Check that the src size is less than or equal to the buffer size.
    	MOVD	buf_len+88(FP), R4
    	CMP	R0, R4
    	BGT	crash
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/runtime/hash_test.go

    		for i := 0; i < 256; i++ {
    			var k key
    			cnt := 0
    			if i&1 != 0 {
    				k.a = "foo"
    				cnt++
    			}
    			if i&2 != 0 {
    				k.b = "foo"
    				cnt++
    			}
    			if i&4 != 0 {
    				k.c = "foo"
    				cnt++
    			}
    			if i&8 != 0 {
    				k.d = "foo"
    				cnt++
    			}
    			if i&16 != 0 {
    				k.e = "foo"
    				cnt++
    			}
    			if i&32 != 0 {
    				k.f = "foo"
    				cnt++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin.go

    	if err != nil {
    		Close(fd2)
    		return 0, err
    	}
    	defer closedir(d)
    
    	var cnt int64
    	for {
    		var entry Dirent
    		var entryp *Dirent
    		e := readdir_r(d, &entry, &entryp)
    		if e != 0 {
    			return n, errnoErr(e)
    		}
    		if entryp == nil {
    			break
    		}
    		if skip > 0 {
    			skip--
    			cnt++
    			continue
    		}
    		reclen := int(entry.Reclen)
    		if reclen > len(buf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    					finptrmask[i] = finalizer1[i%len(finalizer1)]
    				}
    			}
    		}
    		block := finc
    		finc = block.next
    		block.next = finq
    		finq = block
    	}
    	f := &finq.fin[finq.cnt]
    	atomic.Xadd(&finq.cnt, +1) // Sync with markroots
    	f.fn = fn
    	f.nret = nret
    	f.fint = fint
    	f.ot = ot
    	f.arg = p
    	unlock(&finlock)
    	fingStatus.Or(fingWake)
    }
    
    //go:nowritebarrier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index e966c03..22ab790 100644
    --- a/locale/weightwc.h
    +++ b/locale/weightwc.h
    @@ -79,19 +79,19 @@ findidx (const wint_t **cpp, size_t len)
     	    if (cp[cnt] != usrc[cnt])
     	      break;
     
    -	  if (cnt < nhere - 1)
    +	  if (cnt < nhere - 1 || cnt == len)
     	    {
     	      cp += 2 * nhere;
     	      continue;
     	    }
     
    -	  if (cp[nhere - 1] > usrc[nhere -1])
    +	  if (cp[nhere - 1] > usrc[nhere - 1])
     	    {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/monitoring.go

    	model.ClusterUpdate:   pushTriggers.With(typeTag.Value(string(model.ClusterUpdate))),
    }
    
    func recordPushTriggers(reasons model.ReasonStats) {
    	for r, cnt := range reasons {
    		t, f := triggerMetric[r]
    		if f {
    			t.RecordInt(int64(cnt))
    		} else {
    			pushTriggers.With(typeTag.Value(string(r))).Increment()
    		}
    	}
    }
    
    func isUnexpectedError(err error) bool {
    	s, ok := status.FromError(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/rulegen.go

    }
    
    func varCount1(loc, m string, cnt map[string]int) {
    	if m[0] == '<' || m[0] == '[' || m[0] == '{' {
    		return
    	}
    	if token.IsIdentifier(m) {
    		cnt[m]++
    		return
    	}
    	// Split up input.
    	name, expr := splitNameExpr(m)
    	if name != "" {
    		cnt[name]++
    	}
    	if expr[0] != '(' || expr[len(expr)-1] != ')' {
    		log.Fatalf("%s: non-compound expr in varCount1: %q", loc, expr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  10. src/runtime/lock_futex.go

    //		Atomically,
    //			if *addr == val { sleep }
    //		Might be woken up spuriously; that's allowed.
    //		Don't sleep longer than ns; ns < 0 means forever.
    //
    //	futexwakeup(addr *uint32, cnt uint32)
    //		If any procs are sleeping on addr, wake up at most cnt.
    
    const (
    	mutex_unlocked = 0
    	mutex_locked   = 1
    	mutex_sleeping = 2
    
    	active_spin     = 4
    	active_spin_cnt = 30
    	passive_spin    = 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top