Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for CNT (0.02 sec)

  1. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    len -= cnt;
                    off += cnt;
                }
                while ( len > 0 );
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
        public long getFilePointer () {
            return this.fp;
        }
    
    
        @Override
        public void seek ( long pos ) {
            this.fp = pos;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (1)
  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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/crypto/aes/asm_ppc64x.s

    	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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/compress/flate/inflate.go

    		goto copyHistory
    	}
    
    copyHistory:
    	// Perform a backwards copy according to RFC section 3.2.3.
    	{
    		cnt := f.dict.tryWriteCopy(f.copyDist, f.copyLen)
    		if cnt == 0 {
    			cnt = f.dict.writeCopy(f.copyDist, f.copyLen)
    		}
    		f.copyLen -= cnt
    
    		if f.dict.availWrite() == 0 || f.copyLen > 0 {
    			f.toRead = f.dict.readFlush()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/internal/zstd/fse.go

    			zsym := sym
    			for (br.bits & 0xfff) == 0xfff {
    				zsym += 3 * 6
    				br.bits >>= 12
    				br.cnt -= 12
    				if err := br.moreBits(); err != nil {
    					return 0, 0, err
    				}
    			}
    			for (br.bits & 3) == 3 {
    				zsym += 3
    				br.bits >>= 2
    				br.cnt -= 2
    				if err := br.moreBits(); err != nil {
    					return 0, 0, err
    				}
    			}
    
    			// We have at least 14 bits here,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/callback.go

    //export go_callback
    func go_callback() {
    	if e := extraMInUse.Load(); e == 0 {
    		fmt.Printf("in callback extraMInUse got %d want >0\n", e)
    		os.Exit(1)
    	}
    
    	runtime.GC()
    	grow()
    	runtime.GC()
    }
    
    var cnt int
    
    func grow() {
    	x := 10000
    	sum := 0
    	if grow1(&x, &sum) == 0 {
    		panic("bad")
    	}
    }
    
    func grow1(x, sum *int) int {
    	if *x == 0 {
    		return *sum + 1
    	}
    	*x--
    	sum1 := *sum + *x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 14:05:01 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top