Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Settings (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(new File("/c:/Documents and Settings/"), classloader);
      }
    
      // https://github.com/google/guava/issues/2152
      public void testToFile() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/")))
            .isEqualTo(new File("/c:/Documents and Settings/"));
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents ~ Settings, or not/11-12 12:05")))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(new File("/c:/Documents and Settings/"), classloader);
      }
    
      // https://github.com/google/guava/issues/2152
      public void testToFile() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/")))
            .isEqualTo(new File("/c:/Documents and Settings/"));
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents ~ Settings, or not/11-12 12:05")))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load
       * factor, and concurrency settings.
       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Splitter.java

       * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}.
       *
       * @param separator the character to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(char separator) {
        return on(CharMatcher.is(separator));
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        private final transient ConcurrentMap<E, Integer> countMap;
    
        /**
         * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
         * load factor, and concurrency settings.
         */
        public static <E> OldConcurrentHashMultiset<E> create() {
          return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>());
        }
    
        @VisibleForTesting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

                doneEncoding = true;
              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    curious dream, dear, certainly:  but now run in to your tea; it's
    getting late.'  So Alice got up and ran off, thinking while she
    ran, as well she might, what a wonderful dream it had been.
    
      But her sister sat still just as she left her, leaning her
    head on her hand, watching the setting sun, and thinking of
    little Alice and all her wonderful Adventures, till she too began
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TableCollectors.java

        /*
         * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but
         * the Builder can't efficiently support merging of duplicate values.  Getting around this
         * requires some work.
         */
    
        return Collector.of(
            ImmutableTableCollectorState<R, C, V>::new,
            (state, input) ->
                state.put(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top