Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for concurrentIteration (0.09 sec)

  1. guava/src/com/google/common/graph/MapIteratorCache.java

       * while writing to it in another. All it does is help with _reading_ from multiple threads
       * concurrently. For more information, see AbstractNetworkTest.concurrentIteration.
       */
      @CheckForNull private transient volatile Entry<K, V> cacheEntry;
    
      MapIteratorCache(Map<K, V> backingMap) {
        this.backingMap = checkNotNull(backingMap);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. android/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: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  4. 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