Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for CNT (0.02 sec)

  1. src/runtime/lfstack.go

    		printlock()
    		println("runtime: bad lfnode address", hex(uintptr(unsafe.Pointer(node))))
    		throw("bad lfnode address")
    	}
    }
    
    func lfstackPack(node *lfnode, cnt uintptr) uint64 {
    	return uint64(taggedPointerPack(unsafe.Pointer(node), cnt))
    }
    
    func lfstackUnpack(val uint64) *lfnode {
    	return (*lfnode)(taggedPointer(val).pointer())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/compress/flate/dict_decoder.go

    func (dd *dictDecoder) writeSlice() []byte {
    	return dd.hist[dd.wrPos:]
    }
    
    // writeMark advances the writer pointer by cnt.
    //
    // This invariant must be kept: 0 <= cnt <= availWrite()
    func (dd *dictDecoder) writeMark(cnt int) {
    	dd.wrPos += cnt
    }
    
    // writeByte writes a single byte to the dictionary.
    //
    // This invariant must be kept: 0 < availWrite()
    func (dd *dictDecoder) writeByte(c byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    assertEquals(8, raf.getFilePointer());
                }
            }
        }
    
    
        private static void verifyZero ( int cnt, InputStream is ) throws IOException {
            byte[] offBuf = new byte[cnt];
            int pos = 0;
            while ( pos < cnt ) {
                int r = is.read(offBuf, pos, offBuf.length - pos);
                if ( r < 0 ) {
                    fail("EOF while reading");
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
Back to top