Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for biglen (0.14 sec)

  1. docs/de/docs/tutorial/bigger-applications.md

    * Und die Datei `app/internal/admin.py` ist ein weiteres Submodul: `app.internal.admin`.
    
    <img src="/img/tutorial/bigger-applications/package.svg">
    
    Die gleiche Dateistruktur mit Kommentaren:
    
    ```
    .
    ├── app                  # „app“ ist ein Python-Package
    │   ├── __init__.py      # diese Datei macht „app“ zu einem „Python-Package“
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:59 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    # Bigger Applications - Multiple Files
    
    If you are building an application or a web API, it's rarely the case that you can put everything on a single file.
    
    **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility.
    
    !!! info
        If you come from Flask, this would be the equivalent of Flask's Blueprints.
    
    ## An example file structure
    
    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/bigger-applications.md

    * 📤 📁 `app/internal/` ⏮️ ➕1️⃣ 📁 `__init__.py`, ⚫️ ➕1️⃣ "🐍 📦": `app.internal`.
    *  &amp; 📁 `app/internal/admin.py` ➕1️⃣ 🔁: `app.internal.admin`.
    
    <img src="/img/tutorial/bigger-applications/package.svg">
    
    🎏 📁 📊 ⏮️ 🏤:
    
    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    * 还有一个子目录 `app/internal/` 包含另一个 `__init__.py` 文件,因此它是又一个「Python 子包」:`app.internal`。
    * `app/internal/admin.py` 是另一个子模块:`app.internal.admin`。
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/bigger-applications/package.svg">
    
    带有注释的同一文件结构:
    
    ```
    .
    ├── app                  # 「app」是一个 Python 包
    │   ├── __init__.py      # 这个文件使「app」成为一个 Python 包
    │   ├── main.py          # 「main」模块,例如 import app.main
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/crypto/rsa/rsa.go

    			if err != nil {
    				return nil, err
    			}
    			todo -= primes[i].BitLen()
    		}
    
    		// Make sure that primes is pairwise unequal.
    		for i, prime := range primes {
    			for j := 0; j < i; j++ {
    				if prime.Cmp(primes[j]) == 0 {
    					continue NextSetOfPrimes
    				}
    			}
    		}
    
    		n := new(big.Int).Set(bigOne)
    		totient := new(big.Int).Set(bigOne)
    		pminus1 := new(big.Int)
    		for _, prime := range primes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    	var val, pos int
    	var digLen int // number of digits in current octet
    	s := in[off:end]
    	for i := 0; i < len(s); i++ {
    		if s[i] >= '0' && s[i] <= '9' {
    			if digLen == 1 && val == 0 {
    				return parseAddrError{in: in, msg: "IPv4 field has octet with leading zero"}
    			}
    			val = val*10 + int(s[i]) - '0'
    			digLen++
    			if val > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/zsyscall_windows.go

    	var _p0 uint32
    	if disableAllPrivileges {
    		_p0 = 1
    	}
    	r0, _, e1 := syscall.Syscall6(procAdjustTokenPrivileges.Addr(), 6, uintptr(token), uintptr(_p0), uintptr(unsafe.Pointer(newstate)), uintptr(buflen), uintptr(unsafe.Pointer(prevstate)), uintptr(unsafe.Pointer(returnlen)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/map_benchmark_test.go

    	for i := 0; i < b.N; i++ {
    		_ = m[s1]
    	}
    }
    
    type BigKey [3]int64
    
    func BenchmarkBigKeyMap(b *testing.B) {
    	m := make(map[BigKey]bool)
    	k := BigKey{3, 4, 5}
    	m[k] = true
    	for i := 0; i < b.N; i++ {
    		_ = m[k]
    	}
    }
    
    type BigVal [3]int64
    
    func BenchmarkBigValMap(b *testing.B) {
    	m := make(map[BigKey]BigVal)
    	k := BigKey{3, 4, 5}
    	m[k] = BigVal{6, 7, 8}
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/crypto/elliptic/elliptic_test.go

    	// See https://golang.org/issues/20482.
    	testAllCurves(t, testUnmarshalToLargeCoordinates)
    }
    
    func testUnmarshalToLargeCoordinates(t *testing.T, curve Curve) {
    	p := curve.Params().P
    	byteLen := (p.BitLen() + 7) / 8
    
    	// Set x to be greater than curve's parameter P – specifically, to P+5.
    	// Set y to mod_sqrt(x^3 - 3x + B)) so that (x mod P = 5 , y) is on the
    	// curve.
    	x := new(big.Int).Add(p, big.NewInt(5))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/math/big/ftoa.go

    	// that the lsb of mant corresponds to 1/2 ulp for the precision of
    	// x (i.e., for mant we want x.prec + 1 bits).
    	mant := nat(nil).set(x.mant)
    	exp := int(x.exp) - mant.bitLen()
    	s := mant.bitLen() - int(x.prec+1)
    	switch {
    	case s < 0:
    		mant = mant.shl(mant, uint(-s))
    	case s > 0:
    		mant = mant.shr(mant, uint(+s))
    	}
    	exp += s
    	// x = mant * 2**exp with lsb(mant) == 1/2 ulp of x.prec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top