- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 225 for alloc (0.02 seconds)
-
tensorflow/c/c_api_test.cc
} TEST_F(CApiAttributesTest, StringTensor) { // Create the string-Tensor "attribute" value. const char test_string[] = "borkborkborkborkborkborkborkbork"; // >24bytes to force heap alloc TF_TString tstr[1]; TF_TString_Init(&tstr[0]); TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1); auto deallocator = [](void* data, size_t len, void* arg) {};Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
assertEquals("1guest", permissionHelper.encode("(allow){user}guest")); assertEquals("Rguest", permissionHelper.encode("(allow){role}guest")); assertEquals("2guest", permissionHelper.encode("(allow){group}guest")); assertEquals("1guest", permissionHelper.encode("(allow){USER}guest")); assertEquals("Rguest", permissionHelper.encode("(allow){ROLE}guest"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
src/cmd/cgo/doc.go
func C.GoBytes(unsafe.Pointer, C.int) []byte As a special case, C.malloc does not call the C library malloc directly but instead calls a Go helper function that wraps the C library malloc but guarantees never to return nil. If C's malloc indicates out of memory, the helper function crashes the program, like when Go itself runs out of memory. Because C.malloc cannot fail, it has no two-result form that returns errno.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
fastapi/openapi/models.py
) -> Mapping[str, Any]: return with_info_plain_validator_function(cls._validate) class BaseModelWithConfig(BaseModel): model_config = {"extra": "allow"} class Contact(BaseModelWithConfig): name: str | None = None url: AnyUrl | None = None email: EmailStr | None = None class License(BaseModelWithConfig): name: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 14.2K bytes - Click Count (0) -
tests/test_forms_single_model.py
class FormModelExtraAllow(BaseModel): param: str model_config = {"extra": "allow"} @app.post("/form/") def post_form(user: Annotated[FormModel, Form()]): return user @app.post("/form-extra-allow/") def post_form_extra_allow(params: Annotated[FormModelExtraAllow, Form()]): return params client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
// Check all CORS headers are present assertNotNull(responseHeaders.get("Access-Control-Allow-Origin"), "Allow-Origin header should be set"); assertNotNull(responseHeaders.get("Access-Control-Allow-Methods"), "Allow-Methods header should be set"); assertNotNull(responseHeaders.get("Access-Control-Allow-Headers"), "Allow-Headers header should be set");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.3K bytes - Click Count (0) -
docs/tr/docs/advanced/behind-a-proxy.md
/// ### Proxy Forwarded Header'larını Etkinleştirme { #enable-proxy-forwarded-headers } FastAPI CLI'yi `--forwarded-allow-ips` *CLI Option*'ı ile başlatıp, bu forwarded header'ları okumada güvenilecek IP adreslerini verebilirsiniz. Bunu `--forwarded-allow-ips="*"` olarak ayarlarsanız, gelen tüm IP'lere güvenir.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 16.5K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
* `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`. * `allow_methods` - A list of HTTP methods that should be allowed for cross-origin requests. Defaults to `['GET']`. You can use `['*']` to allow all standard methods.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/fr/docs/advanced/behind-a-proxy.md
/// ### Activer les en-têtes transférés par le proxy { #enable-proxy-forwarded-headers } Vous pouvez démarrer FastAPI CLI avec l'option de CLI `--forwarded-allow-ips` et fournir les adresses IP à considérer comme fiables pour lire ces en‑têtes transférés. Si vous la définissez à `--forwarded-allow-ips="*"`, elle fera confiance à toutes les IP entrantes.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
### Ativar headers encaminhados pelo proxy { #enable-proxy-forwarded-headers } Você pode iniciar a CLI do FastAPI com a opção de linha de comando `--forwarded-allow-ips` e informar os endereços IP que devem ser confiáveis para ler esses headers encaminhados. Se você definir como `--forwarded-allow-ips="*"`, ele confiará em todos os IPs de entrada.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.6K bytes - Click Count (0)