Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for successors (0.06 sec)

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

      }
    
      private static final class NodeAndRemainingSuccessors<N> {
        final N node;
    
        /**
         * The successors left to be visited, or {@code null} if we just added this {@code
         * NodeAndRemainingSuccessors} instance to the stack. In the latter case, we'll compute the
         * successors if we determine that we need them after we've performed the initial processing of
         * the node.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

      }
    
      private static final class NodeAndRemainingSuccessors<N> {
        final N node;
    
        /**
         * The successors left to be visited, or {@code null} if we just added this {@code
         * NodeAndRemainingSuccessors} instance to the stack. In the latter case, we'll compute the
         * successors if we determine that we need them after we've performed the initial processing of
         * the node.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return new CompactLinkedHashSet<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      // TODO(user): predecessors and successors should be collocated (reducing cache misses).
      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

      ElementOrder<E> edgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            if (current == State.HALF_OPEN) {
                int successes = halfOpenSuccesses.incrementAndGet();
                if (successes >= successThreshold) {
                    if (state.compareAndSet(State.HALF_OPEN, State.CLOSED)) {
                        stateChangeTime.set(System.currentTimeMillis());
                        log.info("Circuit breaker {} closed after {} successful attempts", name, successes);
                    }
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (currentState == State.HALF_OPEN) {
                int successes = successCount.incrementAndGet();
                log.debug("[{}] Success in HALF_OPEN state ({}/{})", name, successes, successThreshold);
    
                if (successes >= successThreshold) {
                    log.info("[{}] Circuit breaker closing after {} successful attempts", name, successes);
                    transitionTo(State.CLOSED);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Realm accessors
            assertNull(auth.getRealm());
            auth.setRealm("EXAMPLE.COM");
            assertEquals("EXAMPLE.COM", auth.getRealm());
    
            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

                assertSame(sid, captor.getValue()[0]);
            }
    
            @Test
            @DisplayName("Weak resolve via initContext triggers only once on accessors")
            void testResolveWeakInitContext() throws SmbException, CIFSException {
                SID sid = new SID("S-1-5-21-1-2");
                sid.initContext("srv", mockCtx);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top