Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for op (0.09 sec)

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

       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
      private void assertSetCount(E element, int count) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        executionThread.join();
    
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
    
        service.stopAsync().awaitTerminated(); // no-op
        assertEquals(Service.State.TERMINATED, service.state());
        assertTrue(service.shutDownCalled);
      }
    
      private class WaitOnRunService extends AbstractExecutionThreadService {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * Range#contains(Comparable) range.contains(k)}, then {@link #get(Comparable) get(k)} will return
       * {@code value}.
       *
       * <p>If {@code range} {@linkplain Range#isEmpty() is empty}, then this is a no-op.
       */
      void put(Range<K> range, V value);
    
      /**
       * Maps a range to a specified value, coalescing this range with any existing ranges with the same
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
        builder.append(']');
        return builder.toString();
      }
    
      /**
       * Returns an immutable array containing the same values as {@code this} array. This is logically
       * a no-op, and in some circumstances {@code this} itself is returned. However, if this instance
       * is a {@link #subArray} view of a larger array, this method will copy only the appropriate range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
        builder.append(']');
        return builder.toString();
      }
    
      /**
       * Returns an immutable array containing the same values as {@code this} array. This is logically
       * a no-op, and in some circumstances {@code this} itself is returned. However, if this instance
       * is a {@link #subArray} view of a larger array, this method will copy only the appropriate range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void removeEdge_antiparallelEdges() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        putEdge(N2, N1); // no-op
    
        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
        assertThat(graph.adjacentNodes(N1)).isEmpty();
        assertThat(graph.edges()).isEmpty();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
      private void assertOperationEquals(int a, int b, String op, int expected, int actual) {
        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      public void testFactorial() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        executionThread.join();
    
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
    
        service.stopAsync().awaitTerminated(); // no-op
        assertEquals(Service.State.TERMINATED, service.state());
        assertTrue(service.shutDownCalled);
      }
    
      private class WaitOnRunService extends AbstractExecutionThreadService {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/AbstractCache.java

     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
     * method {@link #cleanUp} is a no-op. All other methods throw an {@link
     * UnsupportedOperationException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        outer:
        while (true) {
          future.releaseWaiters();
          /*
           * We call interruptTask() immediately before afterDone() so that migrating between the two
           * can be a no-op.
           */
          if (callInterruptTask) {
            future.interruptTask();
            /*
             * Interruption doesn't propagate through a SetFuture chain (see getFutureValue), so don't
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
Back to top