- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for setAttr (0.08 seconds)
-
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
tests/test_sse.py
def slow_sync_stream(): yield {"n": 1} time.sleep(0.3) yield {"n": 2} def test_keepalive_ping_async(monkeypatch: pytest.MonkeyPatch): monkeypatch.setattr(fastapi.routing, "_PING_INTERVAL", 0.05) with TestClient(keepalive_app) as c: response = c.get("/slow-async") assert response.status_code == 200 text = response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
RELEASE.md
which would previously raise an error. This will correspond to an attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only be accessed indirectly (e.g. through getattr and setattr). To set this up the user will first need to explicitly add the variable to the hparam object (e.g. "hparams.add_hparam(name='a.b', value=0.0)"). * Benchmark for tf.scan in graph and eager modes.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
fastapi/openapi/utils.py
openapi_examples = getattr(field_info, "openapi_examples", None) example = getattr(field_info, "example", None) if openapi_examples: parameter["examples"] = jsonable_encoder(openapi_examples) elif example is not _Unset: parameter["example"] = jsonable_encoder(example) if getattr(field_info, "deprecated", None):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
} // Test namespace setter @Test public void test_namespace() { String testNamespace = "test_namespace"; CrawlJob result = crawlJob.namespace(testNamespace); assertEquals(testNamespace, crawlJob.namespace); assertSame(crawlJob, result); } // Test documentExpires setter @Test public void test_documentExpires() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
fastapi/dependencies/utils.py
isinstance(field_info, params.Param) and getattr(field_info, "in_", None) is None ): field_info.in_ = params.ParamTypes.query use_annotation_from_field_info = use_annotation if isinstance(field_info, params.Form): ensure_multipart_is_installed() if not field_info.alias and getattr(field_info, "convert_underscores", None):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
} // Test getExpiry with default value @Test public void test_getExpiry_default() { assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry()); } // Test expiry setter with valid value @Test public void test_expiry_validValue() { long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertSame(execJob, result); } // Test sessionId setter @Test public void test_sessionId() { String testSessionId = "test-session-123"; ExecJob result = execJob.sessionId(testSessionId); assertEquals(testSessionId, execJob.sessionId); assertSame(execJob, result); } // Test logFilePath setter @Test public void test_logFilePath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals("and", item.getInput()); assertNull(item.getNewInput()); } @Test public void test_getNewInput_setNewInput() { // Test getter and setter for newInput StopwordsItem item = new StopwordsItem(1, "or"); assertNull(item.getNewInput()); item.setNewInput("nor"); assertEquals("nor", item.getNewInput());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
} // Test numOfThreads setter @Test public void test_numOfThreads() { assertEquals(1, thumbnailJob.numOfThreads); GenerateThumbnailJob result = thumbnailJob.numOfThreads(4); assertSame(thumbnailJob, result); assertEquals(4, thumbnailJob.numOfThreads); } // Test cleanup setter @Test public void test_cleanup() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0)