Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 284 for into (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          }
        } finally {
          assertThat(temp.delete()).isTrue();
        }
      }
    
      public void testBogusSystemPropertiesUsername() {
        if (isAndroid()) {
          /*
           * The test calls directly into the "ACL-based filesystem" code, which isn't available under
           * old versions of Android. Since Android doesn't use that code path, anyway, there's no need
           * to test it.
           */
          return;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      }
    
      /**
       * Asserts that a Unicode escaper escapes the given code point into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param cp the Unicode code point to escape
       */
      public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) {
    
        String escaped = computeReplacement(escaper, cp);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     *
     * <p>For {@code ImmutableMultiset} in particular, I ran into a problem with the {@code
     * GwtSerializationDependencies} approach: When autogenerating a serializer for the new class, GWT
     * tries to refer to our dummy serializer for the superclass,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/AbstractIterator.java

      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      @Override
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteProcessor.java

       *
       * @param buf the byte array containing the data to process
       * @param off the initial offset into the array
       * @param len the length of data to be processed
       * @return true to continue processing, false to stop
       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processBytes(byte[] buf, int off, int len) throws IOException;
    
      /** Return the result of processing all the bytes. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link
     * #createCollection} method must return a {@code Set}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      }
    
      @Benchmark
      int slowFactorial(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += oldSlowFactorial(slowFactorials[j]).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int factorial(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
          @Nullable Object[] elements, int hashCode, @Nullable Object[] table, int mask, int size) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      /**
       * Returns the next element in the iteration without advancing the iteration, according to the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top