Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for cnt (0.07 sec)

  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]++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    }
    
                    int cnt = 0;
                    try ( CloseableIterator<SmbResource> chld = f.children() ) {
                        while ( chld.hasNext() ) {
                            try ( SmbResource next = chld.next() ) {
                                cnt++;
                            }
                        }
                    }
    
                    assertEquals(numFiles, cnt);
                }
                finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. 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 := 0; i < last; i++ {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    				continue
    			}
    			select {
    			case subCh <- entry:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. 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")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. 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
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    	)
    
    	// 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 {
    			if _, err := mustReadFull(r, blk[:]); err != nil {
    				return err
    			}
    			buf.Write(blk[:])
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    cloudns.info cloudns.org cloudns.pro cloudns.pw cloudns.us cloudsite.builders cloudycluster.net 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 cn.vu cng.br cnpy.gdn cnt.br co co.ae co.ag co.am co.ao co.at co.bb co.bi co.bj co.bn co.business co.bw co.ca co.ci co.cl co.cm co.com co.cr co.cz co.dk co.education co.events co.financial co.gg co.gl co.gy co.hu co.id co.il co.im co.in co.ir co.it co.je co.jp co.ke co.kr co.krd...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (1)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    arq.br
    art.br
    ato.br
    b.br
    barueri.br
    belem.br
    bhz.br
    bib.br
    bio.br
    blog.br
    bmd.br
    boavista.br
    bsb.br
    campinagrande.br
    campinas.br
    caxias.br
    cim.br
    cng.br
    cnt.br
    com.br
    contagem.br
    coop.br
    coz.br
    cri.br
    cuiaba.br
    curitiba.br
    def.br
    des.br
    det.br
    dev.br
    ecn.br
    eco.br
    edu.br
    emp.br
    enf.br
    eng.br
    esp.br
    etc.br
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top