Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for successor (0.26 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            checkArgument(incidentEdge.nodeU().equals(thisNode));
    
            N successor = incidentEdge.nodeV();
            V value = successorNodeToValueFn.apply(successor);
    
            Object existingValue = adjacentNodeValues.put(successor, value);
            if (existingValue != null) {
              checkArgument(existingValue == PRED);
              adjacentNodeValues.put(successor, new PredAndSucc(value));
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
      @CheckForNull private transient int[] predecessor;
    
      /**
       * Pointer to the successor of an entry in insertion order. ENDPOINT indicates a node is the last
       * node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      @CheckForNull private transient int[] successor;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

        }
      }
    
      private static <T extends @Nullable Object> void successor(AvlNode<T> a, AvlNode<T> b) {
        a.succ = b;
        b.pred = a;
      }
    
      private static <T extends @Nullable Object> void successor(
          AvlNode<T> a, AvlNode<T> b, AvlNode<T> c) {
        successor(a, b);
        successor(b, c);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

          }
    
          for (N successor : sanityCheckSet(graph.successors(node))) {
            allEndpointPairs.add(EndpointPair.of(graph, node, successor));
            assertThat(graph.predecessors(successor)).contains(node);
            assertThat(graph.hasEdgeConnecting(node, successor)).isTrue();
            assertThat(graph.incidentEdges(node)).contains(EndpointPair.of(graph, node, successor));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        }
      }
    
      private static <T extends @Nullable Object> void successor(AvlNode<T> a, AvlNode<T> b) {
        a.succ = b;
        b.pred = a;
      }
    
      private static <T extends @Nullable Object> void successor(
          AvlNode<T> a, AvlNode<T> b, AvlNode<T> c) {
        successor(a, b);
        successor(b, c);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractBaseGraph.java

                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
                              Sets.difference(graph.successors(node), ImmutableSet.of(node)).iterator(),
                              (N successor) -> EndpointPair.ordered(node, successor))));
                } else {
                  return Iterators.unmodifiableIterator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

          }
    
          for (N successor : sanityCheckSet(network.successors(node))) {
            assertThat(network.predecessors(successor)).contains(node);
            assertThat(network.edgesConnecting(node, successor)).isNotEmpty();
          }
    
          for (E incidentEdge : sanityCheckSet(network.incidentEdges(node))) {
            assertTrue(
                network.inEdges(node).contains(incidentEdge)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        values[size] = value;
    
        insertIntoTableKToV(size, keyHash);
        insertIntoTableVToK(size, valueHash);
    
        int successor =
            (predecessor == ENDPOINT) ? firstInInsertionOrder : nextInInsertionOrder[predecessor];
        setSucceeds(predecessor, size);
        setSucceeds(size, successor);
        size++;
        modCount++;
        return null;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              } else {
                firstException.addSuppressed(throwable)
              }
            }
    
            val nextPlan = connectResult.nextPlan
            if (nextPlan != null) {
              // Try this plan's successor before deferred plans because it won the race!
              routePlanner.deferredPlans.addFirst(nextPlan)
            }
          }
        } finally {
          cancelInFlightConnects()
        }
    
        throw firstException!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
       * in the predecessor/successor arrays and the indexes in the elements array that they identify.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top