Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMaxCount (0.24 sec)

  1. src/testing/quick/quick.go

    func (c *Config) getRand() *rand.Rand {
    	if c.Rand == nil {
    		return rand.New(rand.NewSource(time.Now().UnixNano()))
    	}
    	return c.Rand
    }
    
    // getMaxCount returns the maximum number of iterations to run for a given
    // Config.
    func (c *Config) getMaxCount() (maxCount int) {
    	maxCount = c.MaxCount
    	if maxCount == 0 {
    		if c.MaxCountScale != 0 {
    			maxCount = int(c.MaxCountScale * float64(*defaultMaxCount))
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.offset = offset;
            this.maxCount = this.minCount = maxCount;
            this.openTimeout = 0xFFFFFFFF;
        }
    
    
        /**
         * @return the maxCount
         */
        public final int getMaxCount () {
            return this.maxCount;
        }
    
    
        /**
         * @param maxCount
         *            the maxCount to set
         */
        public final void setMaxCount ( int maxCount ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top