Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for cnt (0.07 seconds)

  1. internal/logger/targets.go

    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("sys_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	for _, t := range audit {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. cmd/consolelogger.go

    		if p != nil {
    			lg, ok := p.(log.Info)
    			if ok && lg.SendLog(node, logKind) {
    				lastN[cnt%last] = lg
    				cnt++
    			}
    		}
    	})
    	sys.RUnlock()
    	// send last n console log messages in order filtered by node
    	if cnt > 0 {
    		for i := range last {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    				continue
    			}
    			select {
    			case subCh <- entry:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/archive/tar/reader_test.go

    					i, s1, s2, err, v.err)
    			}
    			if cnt != v.cnt {
    				t.Errorf("test %d, NewReader(%s) with %s discard: got %d headers, want %d headers",
    					i, s1, s2, cnt, v.cnt)
    			}
    		}
    	}
    }
    
    // TestReadHeaderOnly tests that Reader does not attempt to read special
    // header-only files.
    func TestReadHeaderOnly(t *testing.T) {
    	f, err := os.Open("testdata/hdr-only.tar")
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  4. cmd/endpoint-ellipses.go

    	// in least number of total_drives/total_drives_erasure_set ratio.
    	prevD := divisibleSize / setCounts[0]
    	for _, cnt := range setCounts {
    		if divisibleSize%cnt == 0 {
    			d := divisibleSize / cnt
    			if d <= prevD {
    				prevD = d
    				setSize = cnt
    			}
    		}
    	}
    	return setSize
    }
    
    // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. cmd/erasure-multipart.go

    			if _, err := fmt.Sscanf(partPath, "part.%d.meta", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    			}
    		}
    		// Include only part.N.meta files with corresponding part.N
    		for partNum, cnt := range partsWithMetaCount {
    			if cnt < 2 {
    				continue
    			}
    			partQuorumMap[partNum]++
    		}
    	}
    
    	var partNums []int
    	for partNum, count := range partQuorumMap {
    		if count < readQuorum {
    			continue
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  6. src/archive/tar/reader.go

    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    		totalSize  int
    	)
    
    	// feedTokens copies data in blocks from r into buf until there are
    	// at least cnt newlines in buf. It will not read more blocks than needed.
    	feedTokens := func(n int64) error {
    		for cntNewline < n {
    			totalSize += len(blk)
    			if totalSize > maxSpecialFileSize {
    				return errSparseTooLong
    			}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  7. lib/fips140/v1.0.0-c2097c7c.zip

    $0x10, INP, INP MOVD $0x20, TEMP CMPW ROUNDS, $12 LVX (PTR)(R0), RCON // lvx 4,0,6 Load first 16 bytes into RCON LVX (PTR)(TEMP), MASK ADD $0x10, PTR, PTR // addi 6,6,0x10 PTR to next 16 bytes of RCON MOVD $8, CNT // li 7,8 CNT = 8 VXOR ZERO, ZERO, ZERO // vxor 0,0,0 Zero to be zero :) MOVD CNT, CTR // mtctr 7 Set the counter to 8 (rounds) // The expanded decrypt key is the expanded encrypt key stored in reverse order. // Move OUTDEC to the last key location, and store in descending order. ADD $160,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  8. lib/fips140/v1.1.0-rc1.zip

    $0x10, INP, INP MOVD $0x20, TEMP CMPW ROUNDS, $12 LVX (PTR)(R0), RCON // lvx 4,0,6 Load first 16 bytes into RCON LVX (PTR)(TEMP), MASK ADD $0x10, PTR, PTR // addi 6,6,0x10 PTR to next 16 bytes of RCON MOVD $8, CNT // li 7,8 CNT = 8 VXOR ZERO, ZERO, ZERO // vxor 0,0,0 Zero to be zero :) MOVD CNT, CTR // mtctr 7 Set the counter to 8 (rounds) // The expanded decrypt key is the expanded encrypt key stored in reverse order. // Move OUTDEC to the last key location, and store in descending order. ADD $160,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  9. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    club
    club.aero
    club.tw
    clubmed
    cm
    cn
    cn-north-1.eb.amazonaws.com.cn
    cn-northwest-1.eb.amazonaws.com.cn
    cn.com
    cn.eu.org
    cn.in
    cn.it
    cn.ua
    cng.br
    cnpy.gdn
    cnt.br
    co
    co.ae
    co.ag
    co.am
    co.ao
    co.at
    co.bb
    co.bi
    co.biz.ng
    co.bj
    co.bn
    co.business
    co.bw
    co.bz
    co.ca
    co.ci
    co.cl
    co.cm
    co.com
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 129.6K bytes
    - Click Count (3)
  10. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    club
    club.aero
    club.tw
    clubmed
    cm
    cn
    cn-north-1.eb.amazonaws.com.cn
    cn-northwest-1.eb.amazonaws.com.cn
    cn.com
    cn.eu.org
    cn.in
    cn.it
    cn.ua
    cng.br
    cnpy.gdn
    cnt.br
    co
    co.ae
    co.ag
    co.am
    co.ao
    co.at
    co.bb
    co.bi
    co.biz.ng
    co.bj
    co.bn
    co.business
    co.bw
    co.bz
    co.ca
    co.ci
    co.cl
    co.cm
    co.com
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 129.6K bytes
    - Click Count (2)
Back to Top