Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for isIntact (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(9, mmHeap.size());
        mmHeap.remove(5);
        assertEquals(8, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertEquals(47, (int) mmHeap.pollLast());
        assertEquals(4, (int) mmHeap.pollLast());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(9, mmHeap.size());
        mmHeap.remove(5);
        assertEquals(8, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertEquals(47, (int) mmHeap.pollLast());
        assertEquals(4, (int) mmHeap.pollLast());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Returns {@code true} if the MinMax heap structure holds. This is only used in testing.
       *
       * <p>TODO(kevinb): move to the test class?
       */
      @VisibleForTesting
      boolean isIntact() {
        for (int i = 1; i < size; i++) {
          if (!heapForIndex(i).verifyIndex(i)) {
            return false;
          }
        }
        return true;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Returns {@code true} if the MinMax heap structure holds. This is only used in testing.
       *
       * <p>TODO(kevinb): move to the test class?
       */
      @VisibleForTesting
      boolean isIntact() {
        for (int i = 1; i < size; i++) {
          if (!heapForIndex(i).verifyIndex(i)) {
            return false;
          }
        }
        return true;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
       * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/body-updates.md

    Cela signifie que vous pouvez n’envoyer que les données que vous souhaitez mettre à jour, en laissant le reste intact.
    
    /// note | Remarque
    
    `PATCH` est moins utilisé et moins connu que `PUT`.
    
    Et de nombreuses équipes n’utilisent que `PUT`, même pour les mises à jour partielles.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. scripts/doc_parsing_utils.py

    
    def replace_multiline_code_block(
        block_a: MultilineCodeBlockInfo, block_b: MultilineCodeBlockInfo
    ) -> list[str]:
        """
        Replace multiline code block `a` with block `b` leaving comments intact.
    
        Syntax of comments depends on the language of the code block.
        Raises ValueError if the blocks are not compatible (different languages or different number of lines).
        """
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns a view of a map where each value is transformed by a function. All other properties of
       * the map, such as iteration order, are left intact. For example, the code:
       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns a view of a map where each value is transformed by a function. All other properties of
       * the map, such as iteration order, are left intact. For example, the code:
       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top