Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,390 for Get (0.39 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      public void testGet_yes() {
        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
        assertNull("get(null) should return null", get(null));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  2. tests/test_serialize_response_dataclass.py

        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 26 13:56:47 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
        std::array<TensorHandlePtr, 2> components;
        ExtractPerDeviceValues(context, read.get(), &components, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        ExpectScalarEq<float>(components[0].get(), 20.);
        ExpectScalarEq<float>(components[1].get(), 20.);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

                result.setMaxAccessCount(DfTypeUtil.toLong(source.get("maxAccessCount")));
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setNumOfThread(DfTypeUtil.toInteger(source.get("numOfThread")));
                result.setPaths(DfTypeUtil.toString(source.get("paths")));
                result.setPermissions(toStringArray(source.get("permissions")));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    assertEquals("0", list.get(0).get(ID_FIELD));
                    assertEquals("9", list.get(1).get(ID_FIELD));
                    assertEquals("1", list.get(2).get(ID_FIELD));
                    assertEquals("8", list.get(3).get(ID_FIELD));
                    assertEquals("2", list.get(4).get(ID_FIELD));
                    assertEquals("7", list.get(5).get(ID_FIELD));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            assertTrue(cancellationSuccess.get());
            assertFalse(setFutureSuccess.get());
          } else {
            assertTrue(setFutureSuccess.get());
            assertFalse(cancellationSuccess.get());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

    
    abstract class AndroidStudioInstallation {
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val studioInstallLocation: DirectoryProperty
    }
    
    
    class AndroidStudioSystemProperties(
        @get:Internal
        val studioInstallation: AndroidStudioInstallation,
        @get:Internal
        val autoDownloadAndroidStudio: Boolean,
        @get:Internal
        val runAndroidStudioInHeadlessMode: Boolean,
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs_src/custom_docs_ui/tutorial001.py

    from fastapi import FastAPI
    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. docs_src/custom_docs_ui/tutorial002.py

    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setRoles(toStringArray(source.get("roles")));
                result.setSearchWord(DfTypeUtil.toString(source.get("searchWord")));
                result.setUser(DfTypeUtil.toString(source.get("user")));
                result.setUserAgent(DfTypeUtil.toString(source.get("userAgent")));
                result.setUserInfoId(DfTypeUtil.toString(source.get("userInfoId")));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top