- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for validVal (0.14 sec)
-
src/cmd/compile/internal/ssa/op.go
func (x ValAndOff) Off() int32 { return int32(x) } func (x ValAndOff) String() string { return fmt.Sprintf("val=%d,off=%d", x.Val(), x.Off()) } // validVal reports whether the value can be used // as an argument to makeValAndOff. func validVal(val int64) bool { return val == int64(int32(val)) } func makeValAndOff(val, off int32) ValAndOff { return ValAndOff(int64(val)<<32 + int64(uint32(off))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
((ADD|SUB|AND|OR|XOR)Lmodify [off1+off2] {sym} base val mem) // Fold constants into stores. (MOVQstore [off] {sym} ptr (MOVQconst [c]) mem) && validVal(c) => (MOVQstoreconst [makeValAndOff(int32(c),off)] {sym} ptr mem) (MOVLstore [off] {sym} ptr (MOV(L|Q)const [c]) mem) => (MOVLstoreconst [makeValAndOff(int32(c),off)] {sym} ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
``` A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal. ## Atributos como listas de submodelos Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc: ```Python hl_lines="20" {!../../../docs_src/body_nested_models/tutorial006.py!} ``` Isso vai esperar(converter, validar, documentar, etc) um corpo JSON tal qual: ```JSON hl_lines="11"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.4K bytes - Viewed (0) -
src/crypto/hmac/hmac.go
The receiver verifies the hash by recomputing it using the same key. Receivers should be careful to use Equal to compare MACs in order to avoid timing side-channels: // ValidMAC reports whether messageMAC is a valid HMAC tag for message. func ValidMAC(message, messageMAC, key []byte) bool { mac := hmac.New(sha256.New, key) mac.Write(message) expectedMAC := mac.Sum(nil) return hmac.Equal(messageMAC, expectedMAC) } */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
tempDirYAML := createTestDirectory(t, map[string]string{ "valid.yaml": validYAML, "invalid.yaml": invalidYAML, "warning.yaml": warningsYAML, "invalidYAML.yaml": invalidYAML, }) validTempDirYAML := createTestDirectory(t, map[string]string{ "valid.yaml": validYAML, }) tempDirJSON := createTestDirectory(t, map[string]string{ "valid.json": validJSON,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 08:08:36 UTC 2023 - 21.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-multiple-params.md
"tax": 3.2 }, "user": { "username": "dave", "full_name": "Dave Grohl" }, "importance": 5 } ``` Mais uma vez, ele converterá os tipos de dados, validar, documentar, etc. ## Múltiplos parâmetros de corpo e consulta Obviamente, você também pode declarar parâmetros de consulta assim que você precisar, de modo adicional a quaisquer parâmetros de corpo.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64.go
// match: (CMPQload {sym} [off] ptr (MOVQconst [c]) mem) // cond: validVal(c) // result: (CMPQconstload {sym} [makeValAndOff(int32(c),off)] ptr mem) for { off := auxIntToInt32(v.AuxInt) sym := auxToSym(v.Aux) ptr := v_0 if v_1.Op != OpAMD64MOVQconst { break } c := auxIntToInt64(v_1.AuxInt) mem := v_2 if !(validVal(c)) { break } v.reset(OpAMD64CMPQconstload)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 712.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/body.md
## Resultados Apenas com esse declaração de tipos do Python, o **FastAPI** irá: * Ler o corpo da requisição como um JSON. * Converter os tipos correspondentes (se necessário). * Validar os dados. * Se algum dados for inválido, irá retornar um erro bem claro, indicando exatamente onde e o que está incorreto. * Entregar a você a informação recebida no parâmetro `item`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/pt/docs/index.md
* Swagger UI. * ReDoc. --- Voltando ao código do exemplo anterior, **FastAPI** irá: * Validar que existe um `item_id` na rota para requisições `GET` e `PUT`. * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`. * Se não é validado, o cliente verá um útil, claro erro.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 29 05:18:04 UTC 2024 - 18.6K bytes - Viewed (0) -
docs/es/docs/index.md
* Swagger UI. * ReDoc. --- Volviendo al ejemplo de código anterior, **FastAPI** va a: * Validar que existe un `item_id` en el path para requests usando `GET` y `PUT`. * Validar que el `item_id` es del tipo `int` para requests de tipo `GET` y `PUT`. * Si no lo es, el cliente verá un mensaje de error útil y claro.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 29 05:18:04 UTC 2024 - 19K bytes - Viewed (0)