Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isIntact (0.05 sec)

  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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (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;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (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;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. LICENSE

    receive it, in any medium, provided that you conspicuously and
    appropriately publish on each copy an appropriate copyright notice;
    keep intact all notices stating that this License and any
    non-permissive terms added in accord with section 7 apply to the code;
    keep intact all notices of the absence of any warranty; and give all
    recipients a copy of this License along with the Program.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

    //
    // Permission to use, copy, modify, and distribute this software
    // and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and
    // without fee is hereby granted, provided that this copyright notice is kept
    // intact.
    //
    // WIDGET WORKSHOP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY
    // OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
    // TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
       * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying table.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. LICENSE

    complete source code as you receive it, in any medium, provided that
    you conspicuously and appropriately publish on each copy an
    appropriate copyright notice and disclaimer of warranty; keep intact
    all the notices that refer to this License and to the absence of any
    warranty; and distribute a copy of this License along with the
    Library.
    
      You may charge a fee for the physical act of transferring a copy,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    code as you receive it, in any medium, provided that you conspicuously
    and appropriately publish on each copy an appropriate copyright notice
    and disclaimer of warranty; keep intact all the notices that refer to
    this License and to the absence of any warranty; and give any other
    recipients of the Program a copy of this License along with the Program.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top