Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 106 for maxint (0.22 seconds)

  1. src/bytes/bytes.go

    		// Just return a copy.
    		return append([]byte(nil), s[0]...)
    	}
    
    	var n int
    	if len(sep) > 0 {
    		if len(sep) >= maxInt/(len(s)-1) {
    			panic("bytes: Join output length overflow")
    		}
    		n += len(sep) * (len(s) - 1)
    	}
    	for _, v := range s {
    		if len(v) > maxInt-n {
    			panic("bytes: Join output length overflow")
    		}
    		n += len(v)
    	}
    
    	b := bytealg.MakeNoZero(n)[:n:n]
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  2. src/bytes/bytes_test.go

    				t.Errorf("%s#%d got %q want %q", prefix, i, err, tt.errStr)
    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  3. internal/stmt_store/stmt_store.go

    // the cache can theoretically store as many elements as possible.
    // (1 << 63) - 1 is the maximum value that an int64 type can represent.
    const (
    	defaultMaxSize = math.MaxInt
    	// defaultTTL defines the default time-to-live (TTL) for each cache entry.
    	// When the TTL for cache entries is not specified, each cache entry will expire after 24 hours.
    	defaultTTL = time.Hour * 24
    )
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. docs/en/overrides/main.html

            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/coderabbit-banner.png" />
          </a>
        </div>
        <div class="item">
          <a title="Making Retail Purchases Actionable for Brands and Developers" style="display: block; position: relative;" href="https://subtotal.com/?utm_source=fastapi&utm_medium=sponsorship&utm_campaign=open-source" target="_blank">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 01 20:06:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. docs_src/app_testing/app_a_py310/main.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 118 bytes
    - Click Count (0)
  6. docs_src/settings/app03_an_py310/main.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 451 bytes
    - Click Count (0)
  7. docs_src/bigger_applications/app_an_py310/main.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 552 bytes
    - Click Count (0)
  8. docs_src/async_tests/app_a_py310/main.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 112 bytes
    - Click Count (0)
  9. tests/main.py

    Sebastián Ramírez <******@****.***> 1771322354 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. docs_src/app_testing/app_b_py310/main.py

    Tima <******@****.***> 1770211944 +0300
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 13:32:24 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top