Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 282 for stale (0.13 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                    return send0(loc, request, response, params);
                }
                catch ( SmbException smbe ) {
                    // Retrying only makes sense if the invalid parameter is an tree id. If we have a stale file descriptor
                    // retrying make no sense, as it will never become available again.
                    if ( params.contains(RequestParam.NO_RETRY)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            V value = getLiveValue(entry);
            if (value != null) {
              nextExternal = new WriteThroughEntry(key, value);
              return true;
            } else {
              // Skip stale entry.
              return false;
            }
          } finally {
            currentSegment.postReadCleanup();
          }
        }
    
        @Override
        public boolean hasNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

      }
    
      /**
       * Gets the value from an entry. Returns null if the entry is invalid, partially-collected,
       * loading, or expired. Unlike {@link Segment#getLiveValue} this method does not attempt to clean
       * up stale entries. As such it should only be called outside a segment context, such as during
       * iteration.
       */
      @CheckForNull
      V getLiveValue(ReferenceEntry<K, V> entry, long now) {
        if (entry.getKey() == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      private static final Logger log = Logger.getLogger(AbstractFuture.class.getName());
    
      private State state;
      private V value;
      private @Nullable Future<? extends V> delegate;
      private @Nullable Throwable throwable;
      private boolean mayInterruptIfRunning;
      private List<Listener> listeners;
    
      protected AbstractFuture() {
        state = State.PENDING;
        listeners = new ArrayList<Listener>();
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/AbstractIterator.java

        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
          case READY:
            return true;
          default:
        }
        return tryToComputeNext();
      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(manager.servicesByState().keySet()).containsExactly(Service.State.FAILED);
      }
    
      private static void assertState(
          ServiceManager manager, Service.State state, Service... services) {
        Collection<Service> managerServices = manager.servicesByState().get(state);
        for (Service service : services) {
          assertEquals(service.toString(), state, service.state());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import static com.google.common.util.concurrent.Service.State.FAILED;
    import static com.google.common.util.concurrent.Service.State.NEW;
    import static com.google.common.util.concurrent.Service.State.RUNNING;
    import static com.google.common.util.concurrent.Service.State.STARTING;
    import static com.google.common.util.concurrent.Service.State.STOPPING;
    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    
    import java.util.Locale;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      /**
       * Gets the value from an entry. Returns null if the entry is invalid, partially-collected,
       * loading, or expired. Unlike {@link Segment#getLiveValue} this method does not attempt to clean
       * up stale entries. As such it should only be called outside a segment context, such as during
       * iteration.
       */
      @CheckForNull
      V getLiveValue(ReferenceEntry<K, V> entry, long now) {
        if (entry.getKey() == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update) {
          synchronized (state) {
            if (state.seenExceptions == expect) {
              state.seenExceptions = update;
            }
          }
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          synchronized (state) {
            return --state.remaining;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ElementOrder.java

       * graphBuilder.incidentEdgeOrder(ElementOrder.stable())}.
       *
       * <h3>In combination with {@code incidentEdgeOrder}</h3>
       *
       * <p>{@code incidentEdgeOrder(ElementOrder.stable())} guarantees the ordering of the returned
       * collections of the following methods:
       *
       * <ul>
       *   <li>For {@link Graph} and {@link ValueGraph}:
       *       <ul>
       *         <li>{@code edges()}: Stable order
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
Back to top