- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for get_c (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_custom_route_class.py
router_b = APIRouter(route_class=APIRouteB) router_c = APIRouter(route_class=APIRouteC) @router_a.get("/") def get_a(): return {"msg": "A"} @router_b.get("/") def get_b(): return {"msg": "B"} @router_c.get("/") def get_c(): return {"msg": "C"} router_b.include_router(router=router_c, prefix="/c") router_a.include_router(router=router_b, prefix="/b")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.3K bytes - Click Count (0) -
tests/test_default_response_class_router.py
@app.get("/") def get_root(): return {"msg": "Hello World"} @app.get("/override", response_class=PlainTextResponse) def get_path_override(): return "Hello World" @router_a.get("/") def get_a(): return {"msg": "Hello A"} @router_a.get("/override", response_class=PlainTextResponse) def get_a_path_override(): return "Hello A" @router_a_a.get("/") def get_a_a():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5K bytes - Click Count (0) -
tests/test_default_response_class.py
@app.get("/") def get_root(): return {"msg": "Hello World"} @app.get("/override", response_class=PlainTextResponse) def get_path_override(): return "Hello World" @router_a.get("/") def get_a(): return {"msg": "Hello A"} @router_a.get("/override", response_class=PlainTextResponse) def get_a_path_override(): return "Hello A" @router_a_a.get("/") def get_a_a():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } // Tests for getDc @Test void testGetDc_DfsDisabled() throws SmbAuthException { // Scenario: DFS is disabled. when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); } @Test void testGetDc_ConnectionFails() throws SmbAuthException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
return null; return super.getTrustedDomains(auth); } @Override public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled) return null; return super.getDc(domain, auth); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
* @param auth the authentication credentials * @return an SMB transport to the domain controller * @throws SmbAuthException if authentication fails */ public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED) { return null; } try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsImpl.java
return null; } } /** * * {@inheritDoc} * * @see jcifs.DfsResolver#getDc(jcifs.CIFSContext, java.lang.String) */ @Override public SmbTransport getDc(final CIFSContext tf, final String domain) throws SmbAuthException { if (tf.getConfig().isDfsDisabled()) { return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
docs/features/calls.md
Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added. ## Rewriting Responses
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
return b.toString(); }).collect(Collectors.joining(","))); buf.append("},"); final GarbageCollectors gc = jvmStats.getGc(); buf.append("\"gc\":{"); buf.append(Arrays.stream(gc.getCollectors()).map(c -> { final StringBuilder b = new StringBuilder();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
map.put("d", 1.4); final HogeDto hoge = new HogeDto(); BeanUtil.copyMapToBean(map, hoge); assertThat(hoge.getA(), is("A")); assertThat(hoge.isB(), is(true)); assertThat(hoge.getC(), is(3)); } /** * @throws Exception */ @Test public void testCopyBeanToBean() throws Exception { final SrcBean src = new SrcBean(); src.aaa = "aaa";
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0)