Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for reorder (0.16 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(elementSet).containsExactly("a", "b", "c", "d", "e", "f").inOrder();
        SortedSet<String> subset = elementSet.subSet("b", "f");
        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        assertTrue(subset.remove("c"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
        assertThat(subset).containsExactly("b", "d", "e").inOrder();
        assertEquals(10, ms.size());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/StreamsTest.java

                    .toArray())
            .asList()
            .containsExactly("a", "b", "c", "d")
            .inOrder();
      }
    
      public void testConcat_intStream() {
        assertThat(
                Streams.concat(IntStream.of(1), IntStream.of(2), IntStream.empty(), IntStream.of(3, 4)))
            .containsExactly(1, 2, 3, 4)
            .inOrder();
      }
    
      public void testConcat_longStream() {
        assertThat(
                Streams.concat(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
        assertThat(multimap.get("google")).containsExactly(2, 6).inOrder();
        assertThat(multimap.get("tree")).containsExactly(0, 4).inOrder();
      }
    
      public void testOrderedKeySet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.keySet()).containsExactly("foo", "google", "tree").inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.closed(5, 8))
                .add(Range.closedOpen(1, 3))
                .build();
    
        assertThat(rangeSet.asRanges())
            .containsExactly(Range.closedOpen(1, 3), Range.closed(5, 8))
            .inOrder();
    
        assertTrue(rangeSet.intersects(Range.closed(1, 2)));
        assertTrue(rangeSet.intersects(Range.open(5, 8)));
        assertFalse(rangeSet.intersects(Range.closed(3, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThat(tail).containsExactly("c", "A", "B", "C").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 1);
        list.subList(1, 3).clear();
        list.addAll(0, newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("B", "C", "a").inOrder();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
Back to top