Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for remark (0.18 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Charsets.java

      public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    
      /**
       * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order
       * mark.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_16} instead.
       *
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
       * bimap and its inverse in sync during serialization, the way AbstractBiMap does.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

          return null;
        }
        int partsSkipped = IPV6_PART_COUNT - (delimiterCount + 1); // estimate; may be modified later
        boolean hasSkip = false;
        // Scan for the appearance of ::, to mark a skip-format IPV6 string and adjust the partsSkipped
        // estimate.
        for (int i = 0; i < ipString.length() - 1; i++) {
          if (ipString.charAt(i) == IPV6_DELIMITER && ipString.charAt(i + 1) == IPV6_DELIMITER) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/math/IntMath.java

            // subtracting two nonnegative ints can't overflow
            // cmpRemToHalfDivisor has the same sign as compare(abs(rem), abs(q) / 2).
            if (cmpRemToHalfDivisor == 0) { // exactly on the half mark
              increment = (mode == HALF_UP || (mode == HALF_EVEN & (div & 1) != 0));
            } else {
              increment = cmpRemToHalfDivisor > 0; // closer to the UP value
            }
            break;
          default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * An unmodifiable view of a set which may be backed by other sets; this view will change as the
       * backing sets do. Contains methods to copy the data into a new set which will then remain
       * stable. There is usually no reason to retain a reference of type {@code SetView}; typically,
       * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        return s.charAt(rand.nextInt(s.length()));
      }
    
      /**
       * Provides samples on a random distribution derived from the web.
       *
       * <p>Adapted from data provided by Mark Davis.
       *
       * @author Christopher Swenson
       */
      static class CharSamples {
    
        static {
          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.common.collect.MapMaker;
    import java.util.Map;
    
    /**
     * Compare CacheBuilder and MapMaker performance, ensuring that they remain on par with each other.
     *
     * @author Nikita Sidorov
     */
    @SuppressWarnings("CheckReturnValue")
    public class MapMakerComparisonBenchmark {
      private static final String TEST_KEY = "test key";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

      protected AbstractSequentialIterator(@CheckForNull T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
       * Returns the element that follows {@code previous}, or returns {@code null} if no elements
       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      @CheckForNull
      protected abstract T computeNext(T previous);
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
Back to top