Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for concurrentIteration (0.12 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assertThat(network.edgesConnecting(N1, N1)).isEmpty();
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
      }
    
      @Test
      public void concurrentIteration() throws Exception {
        addEdge(1, 2, "foo");
        addEdge(3, 4, "bar");
        addEdge(5, 6, "baz");
    
        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

            .containsExactly(
                EndpointPair.unordered(2, 3),
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(2, 4))
            .inOrder();
      }
    
      @Test
      public void concurrentIteration() throws Exception {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        graph.putEdgeValue(3, 4, "B");
        graph.putEdgeValue(5, 6, "C");
    
        int threadCount = 20;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top