Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 157 for optimizers (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Longs.java

        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        long[] array = new long[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = ((Number) checkNotNull(boxedArray[i])).longValue();
        }
        return array;
      }
    
      /**
       * Returns a fixed-size list backed by the specified array, similar to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Joiner.java

       * some other optimization, given that StringJoiner can over-allocate:
       * https://bugs.openjdk.org/browse/JDK-8305774
       */
    
      // TODO: b/381289911 - Optimize MapJoiner similarly to Joiner (including Android or not).
    
      /**
       * Returns a string containing the string representation of each of {@code parts}, using the
       * previously configured separator between each.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

    - Minimize lock contention in hot paths
    - Async handling of lease breaks
    
    ### 9.3 Network Efficiency
    - Batch lease requests when possible
    - Implement lease key reuse for related files
    - Optimize lease break acknowledgment timing
    
    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

            }
            String userId = MDC.get("userId");
            if (userId != null) {
                context.put("userId", userId);
            }
        }
    
        /**
         * Log an authentication event with optimized performance
         *
         * @param success whether authentication succeeded
         * @param username the username (will be masked if configured)
         * @param authMethod authentication method used (domain or method)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       *
       * <p>This class would certainly be simpler and easier to reason about if it were built with
       * ThreadLocal; however, ThreadLocal is not well optimized for the case where the ThreadLocal is
       * non-static, and is initialized/removed frequently - this causes churn in the Thread specific
       * hashmaps. Using a static ThreadLocal to avoid that overhead would mean that different
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Joiner.java

       * some other optimization, given that StringJoiner can over-allocate:
       * https://bugs.openjdk.org/browse/JDK-8305774
       */
    
      // TODO: b/381289911 - Optimize MapJoiner similarly to Joiner (including Android or not).
    
      /**
       * Returns a string containing the string representation of each of {@code parts}, using the
       * previously configured separator between each.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    		hasLower = hasLower || ('a' <= c && c <= 'z')
    	}
    
    	if isASCII { // optimize for ASCII-only byte slices.
    		if !hasLower {
    			// Just return a copy.
    			return append([]byte(""), s...)
    		}
    		b := bytealg.MakeNoZero(len(s))[:len(s):len(s)]
    		for i := 0; i < len(s); i++ {
    			c := s[i]
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

        }
    
        @Override
        Spliterator<Entry<K, V>> entrySpliterator() {
          return CollectSpliterators.indexed(size(), Spliterator.ORDERED, this::getEntry);
        }
    
        // TODO(lowasser): consider an optimized values() implementation
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return keyIndex.containsKey(key);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

    @GwtCompatible
    public abstract class FluentFuture<V extends @Nullable Object>
        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top