Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 746 for calc (0.06 sec)

  1. android/guava/src/com/google/common/hash/SneakyThrows.java

    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SneakyThrows.java

    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val call = calls[0]
        assertThat(call).contains("host=" + url.host)
        assertThat(call).contains("port=" + url.port)
        assertThat(call).contains("site=" + url.host)
        assertThat(call).contains("url=$url")
        assertThat(call).contains("type=" + java.net.Authenticator.RequestorType.SERVER)
        assertThat(call).contains("prompt=Bar")
        assertThat(call).contains("protocol=http")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

                "Android tests should run with Robolectric " +
                "and call OkHttp.initialize before test",
            )
          } else {
            throw IOException(
              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
                "call OkHttp.initialize before test.",
            )
          }
        }
    
        return assets.open(path).source()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       * skipped element by immediately calling {@code remove()} on the returned fluent iterable's
       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
       * call to {@code next()} will throw an {@link IllegalStateException}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} (same).
       */
      public final FluentIterable<E> skip(int numberToSkip) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * skipped element by immediately calling {@code remove()} on the returned fluent iterable's
       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
       * call to {@code next()} will throw an {@link IllegalStateException}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} (same).
       */
      public final FluentIterable<E> skip(int numberToSkip) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
      abstract void setCountCheckReturnValue(E element, int count);
    
      /**
       * Call the {@code setCount()} method under test, but do not check its return value. Callers
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            }
        }
    
        /**
         * Performs witness registration.
         *
         * @param request the registration request
         * @return the registration response
         * @throws IOException if the RPC call fails
         */
        public WitnessRegisterResponse register(WitnessRegisterRequest request) throws IOException {
            if (!connected) {
                throw new IOException("Witness client not connected");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * the current thread is interrupted before or during the call, even if the value is already
         * available.
         *
         * @throws InterruptedException if the current thread was interrupted before or during the call
         *     (optional but recommended).
         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top