Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 531 for fast (0.02 sec)

  1. guava/src/com/google/common/base/Functions.java

        @ParametricNullness
        public V apply(@ParametricNullness K key) {
          V result = map.get(key);
          checkArgument(result != null || map.containsKey(key), "Key '%s' not present in map", key);
          // The unchecked cast is safe because of the containsKey check.
          return uncheckedCastNullableTToT(result);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof FunctionForMapNoDefault) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL
            // and that it attempts to create an SmbFile.
            // We cannot directly mock `new SmbFile()`, so we rely on the fact that if it doesn't throw, it's working as expected.
    
            // This test primarily ensures that the wrapper correctly handles the MalformedURLException
            // and delegates the SmbFile creation.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. cmd/data-scanner-metric.go

    	currentPaths sync.Map
    
    	cycleInfoMu sync.Mutex
    	cycleInfo   *currentScannerCycle
    }
    
    var globalScannerMetrics scannerMetrics
    
    const (
    	// START Realtime metrics, that only to records
    	// last minute latencies and total operation count.
    	scannerMetricReadMetadata scannerMetric = iota
    	scannerMetricCheckMissing
    	scannerMetricSaveUsage
    	scannerMetricApplyAll
    	scannerMetricApplyVersion
    	scannerMetricTierObjSweep
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
        val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
    
        try {
          client.newCall(request).execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/SneakyThrows.java

       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/StandardTable.java

                    return entry.getValue().get(columnKey);
                  }
    
                  @Override
                  public V setValue(V value) {
                    /*
                     * The cast is safe because of the containsKey check above. (Well, it's possible for
                     * the map to change between that call and this one. But if that happens, the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ConverterTest.java

      }
    
      public void testReverseReverse() {
        Converter<String, Long> converter = STR_TO_LONG;
        assertEquals(converter, converter.reverse().reverse());
      }
    
      // We need to test that apply() does in fact behave like convert().
      @SuppressWarnings("InlineMeInliner")
      public void testApply() {
        assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL));
      }
    
      private static class StringWrapper {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/separate-openapi-schemas.md

    # Separate OpenAPI Schemas for Input and Output or Not { #separate-openapi-schemas-for-input-and-output-or-not }
    
    When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CredentialsInternalTest.java

                if (type == null) {
                    throw new NullPointerException("type");
                }
                if (type.isInstance(this)) {
                    return type.cast(this);
                }
                return null;
            }
    
            @Override
            public String getUserDomain() {
                return this.domain;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top