- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for biglen (0.2 sec)
-
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) -
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) -
docs/em/docs/tutorial/bigger-applications.md
* 📤 📁 `app/internal/` ⏮️ ➕1️⃣ 📁 `__init__.py`, ⚫️ ➕1️⃣ "🐍 📦": `app.internal`. * & 📁 `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) -
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) -
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) -
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) -
src/internal/syscall/windows/zsyscall_windows.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
func (k *PrivateKey) ECDH() (*ecdh.PrivateKey, error) { c := curveToECDH(k.Curve) if c == nil { return nil, errors.New("ecdsa: unsupported curve by crypto/ecdh") } size := (k.Curve.Params().N.BitLen() + 7) / 8 if k.D.BitLen() > size*8 { return nil, errors.New("ecdsa: invalid private key") } return c.NewPrivateKey(k.D.FillBytes(make([]byte, size))) } func curveToECDH(c elliptic.Curve) ecdh.Curve { switch c {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat.go
m.nat = NewNat().setBig(n) m.leading = _W - bitLen(m.nat.limbs[len(m.nat.limbs)-1]) m.m0inv = minusInverseModW(m.nat.limbs[0]) m.rr = rr(m) return m, nil } // bitLen is a version of bits.Len that only leaks the bit length of n, but not // its value. bits.Len and bits.LeadingZeros use a lookup table for the // low-order bits on some architectures. func bitLen(n uint) int { var len int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 24K bytes - Viewed (0) -
src/crypto/rsa/pss.go
// given hash function. salt is a random sequence of bytes whose length will be // later used to verify the signature. func signPSSWithSalt(priv *PrivateKey, hash crypto.Hash, hashed, salt []byte) ([]byte, error) { emBits := priv.N.BitLen() - 1 em, err := emsaPSSEncode(hashed, emBits, salt, hash.New()) if err != nil { return nil, err } if boring.Enabled { bkey, err := boringPrivateKey(priv) if err != nil { return nil, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11K bytes - Viewed (0)