Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for get_c (0.14 sec)

  1. tests/test_custom_route_class.py

    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")
    app.include_router(router=router_a, prefix="/a")
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                jvmPoolObj.capacity = p.getTotalCapacity().getBytes();
                return jvmPoolObj;
            }).toArray(n -> new JvmPoolObj[n]);
            final GarbageCollectors gc = jvmStats.getGc();
            jvmObj.gc = Arrays.stream(gc.getCollectors()).map(c -> {
                final JvmGcObj jvmGcObj = new JvmGcObj();
                jvmGcObj.key = c.getName();
                jvmGcObj.count = c.getCollectionCount();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. 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";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
Back to top