Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 581 for Spread (0.03 sec)

  1. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible
    public abstract class ForwardingNavigableSet<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SimpleCircuitBreaker.java

    import java.util.concurrent.atomic.AtomicReference;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Simplified circuit breaker implementation for SMB operations.
     * Thread-safe and lock-free implementation to prevent cascading failures.
     *
     * Features:
     * - Simple state management (CLOSED, OPEN, HALF_OPEN)
     * - Lock-free atomic operations
     * - Configurable thresholds and timeouts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

                    .setLevel(Level.ERROR)
                    .setMessage(new SimpleMessage("test message"))
                    .setLoggerFqcn("test.class")
                    .setThreadName("test-thread")
                    .build();
    
            LogEvent result = policy.rewrite(event);
    
            assertEquals(Level.WARN, result.getLevel());
            assertEquals("test.logger", result.getLoggerName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * invoke methods, they invoke methods on the {@code ForwardingSortedMultiset}.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 15.0
     */
    @GwtCompatible
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      private void setPredecessor(int entry, int pred) {
        requirePredecessors()[entry] = pred + 1;
      }
    
      private void setSucceeds(int pred, int succ) {
        if (pred == ENDPOINT) {
          firstEntry = succ;
        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        }
      }
    
      fun exhaustResponse() =
        apply {
          actions += { stream -> stream.sink.close() }
        }
    
      fun sleep(
        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
        results.add(task)
        task.run()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java

     * <p>
     * This package contains the data model classes that represent the structure of Maven POM files.
     * These classes are immutable to ensure thread safety and prevent unintended modifications.
     * The root class is {@link org.apache.maven.api.model.Model}, which represents the entire POM.
     * <p>
     * Key components include:
     * <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

    /**
     * A Ticker whose value can be advanced programmatically in test.
     *
     * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called:
     * see {@link #setAutoIncrementStep}.
     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
     * @since 10.0
     */
    @NullMarked
    @GwtCompatible
    public class FakeTicker extends Ticker {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/PatternFilenameFilter.java

    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    
    /**
     * File name filter that only accepts files matching a regular expression. This class is thread-safe
     * and immutable.
     *
     * @author Apple Chow
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class PatternFilenameFilter implements FilenameFilter {
    
      private final Pattern pattern;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Queues.java

              }
              buffer.add(e);
              added++;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
        return added;
      }
    
      /**
       * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee
       * serial access, it is critical that <b>all</b> access to the backing queue is accomplished
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top