- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,014 for data_ (0.04 seconds)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
Map<String, Object> data = new HashMap<>(); data.put("key1", "value1"); callback.store(params, data); assertEquals(1L, callback.getDocumentSize()); assertEquals(100L, callback.getExecuteTime()); // Test multiple stores callback.store(params, data); callback.store(params, data); assertEquals(3L, callback.getDocumentSize());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
userPager.clear(); return asHtml(path_AdminUser_AdminUserJsp).renderWith(data -> { searchPaging(data, form); }); } /** * Registers pagination and user list data for rendering the user search results. * * @param data the render data container to populate * @param form the search form containing pagination parameters */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
internal/crypto/sse-s3.go
// - We use a KMS -> There must be non-empty key ID and a KMS data key. // - We use a K/V -> There must be no key ID and no KMS data key. // Otherwise, the caller has passed an invalid argument combination. if keyID == "" && len(kmsKey) != 0 { logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present")) } if keyID != "" && len(kmsKey) == 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 7.6K bytes - Click Count (0) -
tests/test_dependency_contextmanager.py
assert state["context_a"] == "finished a" def test_background_tasks(): response = client.get("/context_b_bg") data = response.json() assert data["context_b"] == "started b" assert data["context_a"] == "started a" assert data["bg"] == "not set" middleware_state = json.loads(response.headers["x-state"]) assert middleware_state["context_b"] == "started b"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.5K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
data = response.json() assert data["func_is_open"] is False assert data["req_is_open"] is True def test_sub() -> None: response = client.get("/sub") assert response.status_code == 200 data = response.json() assert data["named_session_open"] is True assert data["session_open"] is True def test_broken_scope() -> None: with pytest.raises(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
tests/test_pydantic_v1_error.py
@app.post("/union") def endpoint(data: dict | ModelV1A): # pragma: no cover return data def test_raises_pydantic_v1_model_in_sequence() -> None: class ModelV1A(BaseModel): name: str app = FastAPI() with pytest.raises(PydanticV1NotSupportedError): @app.post("/sequence") def endpoint(data: list[ModelV1A]): # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
internal/event/name_test.go
} for i, testCase := range testCases { data, err := xml.Marshal(testCase.name) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 7.4K bytes - Click Count (0) -
tests/test_query_cookie_header_model_extra_params.py
model_config = {"extra": "allow"} @app.get("/query") async def query_model_with_extra(data: Model = Query()): return data @app.get("/header") async def header_model_with_extra(data: Model = Header()): return data @app.get("/cookie") async def cookies_model_with_extra(data: Model = Cookie()): return data def test_query_pass_extra_list(): client = TestClient(app) resp = client.get(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/ru/docs/advanced/json-base64-bytes.md
Если вы откроете `/docs`, вы увидите, что поле `data` ожидает байты, закодированные в base64: <div class="screenshot"> <img src="/img/tutorial/json-base64-bytes/image01.png"> </div> Вы можете отправить такой HTTP-запрос: ```json { "description": "Some data", "data": "aGVsbG8=" } ``` /// tip | Совет `aGVsbG8=` — это base64-кодирование строки `hello`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
int type2 = AvPair.MsvAvEOL; byte[] raw2 = new byte[] {}; AvPair avPair2 = new AvPair(type2, raw2); assertEquals(type2, avPair2.getType(), "Type should match the constructor argument for empty raw data."); assertArrayEquals(raw2, avPair2.getRaw(), "Raw data should match the constructor argument for empty raw data."); // Test with null raw data int type3 = AvPair.MsvAvFlags;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)