Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getint (0.26 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

        };
      }
    
      /**
       * Returns the {@code int} value whose big-endian representation is stored in the first 4 bytes of
       * {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getInt()}. For example, the input
       * byte array {@code {0x12, 0x13, 0x14, 0x15, 0x33}} would yield the {@code int} value {@code
       * 0x12131415}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          buffer.order(ByteOrder.LITTLE_ENDIAN);
          while (buffer.remaining() >= 4) {
            putInt(buffer.getInt());
          }
          while (buffer.hasRemaining()) {
            putByte(buffer.get());
          }
          buffer.order(bo);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putInt(int i) {
          update(4, i);
          return this;
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           */
        }
      }
    
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
            "subList(0, size) should be equal to the original list",
            getList(),
            getList().subList(0, getNumElements()));
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       */
      public void testAddAtIndex_unsupportedPresent() {
        try {
          getList().add(0, e0());
          fail("add(n, present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_supportedNotPresent() {
        getList().add(0, e3());
        expectAdded(0, e3());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

        assertTrue(
            "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0())));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedAllPresent() {
        try {
          getList().addAll(MinimalCollection.of(e0()));
          fail("addAll(allPresent) should throw");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      @CollectionSize.Require(SEVERAL)
      public void testRetainAll_countIgnored() {
        resetContainer(getSubjectGenerator().create(e0(), e2(), e1(), e0()));
        assertTrue(getList().retainAll(Arrays.asList(e0(), e1())));
        assertContentsInOrder(getList(), e0(), e1(), e0());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           */
        }
      }
    
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
            "subList(0, size) should be equal to the original list",
            getList(),
            getList().subList(0, getNumElements()));
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top