Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 558 for Apply (0.02 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

        return compute(key, (k, oldValue) -> (oldValue == null) ? function.apply(key) : oldValue);
      }
    
      @Override
      public @Nullable V computeIfPresent(
          K key, BiFunction<? super K, ? super V, ? extends @Nullable V> function) {
        checkNotNull(key);
        checkNotNull(function);
        return compute(key, (k, oldValue) -> (oldValue == null) ? null : function.apply(k, oldValue));
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                outputBufferLengthField.setAccessible(true);
                int actualOutputBufferLength = (int) outputBufferLengthField.get(request);
    
                // Should use minimum and apply mask
                int expectedLength = (Math.min(256, 128) - Smb2QueryInfoResponse.OVERHEAD) & ~0x7;
                assertEquals(expectedLength, actualOutputBufferLength);
    
                // Result should be aligned to 8 bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Equivalence<String> caseInsensitiveEquivalence =
            Equivalence.equals()
                .onResultOf(
                    new Function<String, String>() {
                      @Override
                      public String apply(String input) {
                        return input.toLowerCase();
                      }
                    });
    
        MapDifference<Integer, String> diff1 = Maps.difference(left, right, caseInsensitiveEquivalence);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

    ## 3. Directory Lease Types
    
    ### 3.1 Directory-Specific Lease States
    ```java
    public class DirectoryLeaseState extends Smb2LeaseState {
        // Standard lease states apply, plus directory-specific semantics:
        
        // READ_CACHING for directories means:
        // - Can cache directory enumeration results
        // - Can cache file existence queries
        // - Can cache basic file attributes
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
       *
       * @since 23.1
       */
      public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(other.port).isNotEqualTo(server.port)
        other.shutdown()
      }
    
      @Test
      fun statementStartsAndStops() {
        val called = AtomicBoolean()
        val statement =
          server.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                server
                  .url("/")
                  .toUrl()
                  .openConnection()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.29.md

    - Fixed bugs in handling of server-side apply, create, and update API requests for objects containing duplicate items in keyed lists.
      - A `create` or `update` API request with duplicate items in a keyed list no longer wipes out managedFields. Examples include env var entries with the same name, or port entries with the same containerPort in a pod spec.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         */
        public <T> T get(final Function<FesenClient, ActionFuture<T>> func) {
            int retryCount = 0;
            while (true) {
                try {
                    return func.apply(this).actionGet(connTimeout, TimeUnit.MILLISECONDS);
                } catch (final IndexNotFoundException | VersionConflictEngineException e) {
                    logger.debug("{} occurs.", e.getClass().getName(), e);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          closeLater(ErrorCode.CANCEL)
          connection.sendDegradedPingLater()
        }
    
        override fun newTimeoutException(cause: IOException?): IOException =
          SocketTimeoutException("timeout").apply {
            if (cause != null) {
              initCause(cause)
            }
          }
    
        @Throws(IOException::class)
        fun exitAndThrowIfTimedOut() {
          if (exit()) throw newTimeoutException(null)
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

       * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code
       * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only
       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top