Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 515 for what (0.13 sec)

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

       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Shorts.java

            return true;
          }
          if (object instanceof ShortArrayAsList) {
            ShortArrayAsList that = (ShortArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

            return true;
          }
          if (object instanceof ShortArrayAsList) {
            ShortArrayAsList that = (ShortArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

            .that(Ints.tryParse(Long.toString(((long) LEAST) * 10)))
            .isNull();
        assertWithMessage("Max long").that(Ints.tryParse(Long.toString(Long.MAX_VALUE))).isNull();
        assertWithMessage("Min long").that(Ints.tryParse(Long.toString(Long.MIN_VALUE))).isNull();
        assertThat(Ints.tryParse("\u0662\u06f3")).isNull();
      }
    
      /**
       * Applies {@link Ints#tryParse(String)} to the given string and asserts that the result is as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

       *
       * <p>An entry's {@link Entry#getKey} method always returns the same key, regardless of what
       * happens subsequently. As long as the corresponding key-value mapping is not removed from the
       * multimap, {@link Entry#getValue} returns the value from the multimap, which may change over
       * time, and {@link Entry#setValue} modifies that value. Removing the mapping from the multimap
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

          HashCode that = (HashCode) object;
          return bits() == that.bits() && equalsSameBits(that);
        }
        return false;
      }
    
      /**
       * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
       * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise
       * probably not what you want to use.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

       *
       * <p>Note that if the given output stream was not empty or is modified after the {@code
       * ByteArrayDataOutput} is created, the contract for {@link ByteArrayDataOutput#toByteArray} will
       * not be honored (the bytes returned in the byte array may not be exactly what was written via
       * calls to {@code ByteArrayDataOutput}).
       *
       * @since 17.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Bytes.java

            return true;
          }
          if (object instanceof ByteArrayAsList) {
            ByteArrayAsList that = (ByteArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MoreFiles.java

          // even for non-root files.
          return;
        }
    
        // Check if the parent is a directory first because createDirectories will fail if the parent
        // exists and is a symlink to a directory... we'd like for this to succeed in that case.
        // (I'm kind of surprised that createDirectories would fail in that case; doesn't seem like
        // what you'd want to happen.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  10. android/pom.xml

                tests themselves and not the code being tested that needs that access, though there's no
                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
                the add-opens. Right now that doesn't seem worth the effort, though.
            -->
            <test.add.opens>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top