Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 2,870 for getS (0.16 sec)

  1. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1);
        assertEquals(Country.CANADA, bimap2.get(Currency.DOLLAR));
        assertEquals(bimap1, bimap2);
        bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC);
        assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC));
        assertNull(bimap1.get(Currency.FRANC));
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

        switch (end - start) {
          case 0:
            return BigInteger.ONE;
          case 1:
            return nums.get(start);
          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
            return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
          default:
            // Otherwise, split the list in half and recursively do this.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/first-steps.md

    우리 역시 이제부터 메소드를 "**작동**"이라고 부를 것입니다.
    
    #### *경로 작동 데코레이터* 정의
    
    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    
    `@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다.
    
    * 경로 `/`
    * <abbr title="HTTP GET 메소드"><code>get</code> 작동</abbr> 사용
    
    /// info | `@decorator` 정보
    
    이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py h1[6] *}
    
    `@app.get("/")` 告訴 **FastAPI** 那個函式負責處理請求:
    
    * 路徑 `/`
    * 使用 <abbr title="HTTP GET 方法"><code>get</code>操作</abbr>
    
    /// info | `@decorator` Info
    
    Python 中的 `@something` 語法被稱為「裝飾器」。
    
    你把它放在一個函式上面。像一個漂亮的裝飾帽子(我猜這是術語的來源)。
    
    一個「裝飾器」會對下面的函式做一些事情。
    
    在這種情況下,這個裝飾器告訴 **FastAPI** 那個函式對應於 **路徑** `/` 和 **操作** `get`.
    
    這就是「**路徑操作裝飾器**」。
    
    ///
    
    你也可以使用其他的操作:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:20:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(execJob.jvmOptions.get(0).startsWith("-Xlog:gc*,gc+age=trace,safepoint:file="));
            assertTrue(execJob.jvmOptions.get(0).contains("gc-test.log"));
    
            // Test with custom logFilePath
            execJob.jvmOptions.clear();
            execJob.logFilePath("/custom/path");
            result = execJob.gcLogging();
            assertTrue(execJob.jvmOptions.get(0).contains("/custom/path"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

      }
    
      @Test
      fun testPlatform() {
        assertTrue(Platform.isAndroid)
    
        if (Build.VERSION.SDK_INT >= 29) {
          assertTrue(Platform.get() is Android10Platform)
        } else {
          assertTrue(Platform.get() is AndroidPlatform)
        }
      }
    
      @Test
      fun testRequest() {
        assumeNetwork()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

              }
            };
        List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS);
        Future<Boolean> future = futureList.get(0);
        assertFalse(taskDone);
        assertTrue(future.isDone());
        assertThrows(CancellationException.class, () -> future.get());
      }
    
      public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException {
        taskDone = false;
        Callable<Integer> task =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

              }
            };
        List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS);
        Future<Boolean> future = futureList.get(0);
        assertFalse(taskDone);
        assertTrue(future.isDone());
        assertThrows(CancellationException.class, () -> future.get());
      }
    
      public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException {
        taskDone = false;
        Callable<Integer> task =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Absent.java

        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
        throw new IllegalStateException("Optional.get() cannot be called on an absent value");
      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get share")
            void testGetShare() {
                assertNull(referralData.getShare());
            }
    
            @Test
            @DisplayName("Should get path")
            void testGetPath() {
                assertNull(referralData.getPath());
            }
    
            @Test
            @DisplayName("Should get expiration")
            void testGetExpiration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top