Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for platform (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * ImmutableSetMultimap#builder}.
         */
        public Builder() {
          super();
        }
    
        @Override
        Collection<V> newMutableValueCollection() {
          return Platform.preservesInsertionOrderOnAddsSet();
        }
    
        /** Adds a key-value mapping to the built multimap if it is not already present. */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
         * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers
         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @CheckForNull volatile Waiter next;
    
        /**
         * Constructor for the TOMBSTONE, avoids use of ATOMIC_HELPER in case this class is loaded
         * before the ATOMIC_HELPER. Apparently this is possible on some android platforms.
         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waiters field
          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">{@code
       * Sec-CH-UA-Platform}</a> header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA_PLATFORM = "Sec-CH-UA-Platform";
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform-version">{@code
       * Sec-CH-UA-Platform-Version}</a> header field name.
       *
       * @since 30.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top