Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for resume (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
        step4Waiter.awaitStarted();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
        step4Waiter.awaitStarted();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isTrue();
    
        assertTrue(networkAsMutableNetwork.addEdge(N1, N1, E11));
        assertTrue(networkAsMutableNetwork.addEdge(N1, N1, E11_A));
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11, E11_A);
      }
    
      @Test
      public void removeNode_existingNodeWithSelfLoopEdge() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
        assume().that(network.allowsParallelEdges()).isTrue();
    
        assertTrue(networkAsMutableNetwork.addEdge(N1, N1, E11));
        assertTrue(networkAsMutableNetwork.addEdge(N1, N1, E11_A));
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11, E11_A);
      }
    
      @Test
      public void removeNode_existingNodeWithSelfLoopEdge() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      }
    
      @Test
      public void addNode_newNode() {
        assume().that(graphIsMutable()).isTrue();
    
        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

            return Streams.findLast(stream);
          }
        },
        REDUCE_LAST {
          @Override
          Object operate(Stream<?> stream) {
            return stream.reduce((a, b) -> b);
          }
        },
        REDUCE_LAST_PARALLEL {
          @Override
          Object operate(Stream<?> stream) {
            return stream.parallel().reduce((a, b) -> b);
          }
        };
    
        abstract Object operate(Stream<?> stream);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 03 19:39:41 GMT 2016
    - 2.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
      private List<String> getExtremeValues() {
        List<String> result = new ArrayList<>();
        result.add("!! a");
        result.add("!! b");
        result.add("~~ y");
        result.add("~~ z");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
      private List<String> getExtremeValues() {
        List<String> result = new ArrayList<>();
        result.add("!! a");
        result.add("!! b");
        result.add("~~ y");
        result.add("~~ z");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

            .forEachEntry((element, count) -> actual.add(Multisets.immutableEntry(element, count)));
        assertEquals(expected, actual);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/DummyProxy.java

                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
      /** Returns the dummy return value for {@code returnType}. */
      abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top