Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2981 - 2990 of 4,519 for Signal (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

       * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the
       * result of {@link #build()}.
       */
      private static final class PopulatableMapAsMultimap<K, V> extends ForwardingMultimap<K, V> {
        final Map<K, V> map;
        final SetMultimap<K, V> unusableDelegate;
    
        static <K, V> PopulatableMapAsMultimap<K, V> create() {
          return new PopulatableMapAsMultimap<>();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

    import okhttp3.Response;
    
    /**
     * This prints events for a single in-flight call. It won't work for multiple concurrent calls
     * because we don't know what callStartNanos refers to.
     */
    public final class PrintEventsNonConcurrent {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            .named(parentBuilder.getName() + ".entries")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      private static final class EntriesGenerator<K, V>
          extends MultimapTestSuiteBuilder.EntriesGenerator<K, V, SetMultimap<K, V>>
          implements TestSetGenerator<Entry<K, V>> {
    
        EntriesGenerator(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

                assertTrue(session.isInUse(), "Session should still be in use after release " + i + " (due to initial acquire)");
            }
    
            // Final release to bring usage count to 0
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after final release");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Utility {@link RemovalListener} implementations intended for use in testing.
     *
     * @author mike nonemacher
     */
    @GwtCompatible
    final class TestingRemovalListeners {
    
      /** Returns a new no-op {@code RemovalListener}. */
      static <K, V> NullRemovalListener<K, V> nullRemovalListener() {
        return new NullRemovalListener<>();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Flushables.java

    /**
     * Utility methods for working with {@link Flushable} objects.
     *
     * @author Michael Lancaster
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Flushables {
      private static final Logger logger = Logger.getLogger(Flushables.class.getName());
    
      private Flushables() {}
    
      /**
       * Flush a {@link Flushable}, with control over whether an {@code IOException} may be thrown.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
      @Weak private final FilteredMultimap<K, V> multimap;
    
      FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
        this.multimap = checkNotNull(multimap);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

     * implementation, which uses {@link Comparable#compareTo} directly.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ComparatorDelegationOverheadBenchmark {
      private final Integer[][] inputArrays = new Integer[0x100][];
    
      @Param({"10000"})
      int n;
    
      @BeforeExperiment
      void setUp() throws Exception {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

     */
    public class DurableHandleV2Response implements CreateContextResponse {
    
        /**
         * Context name for durable handle V2 response
         */
        public static final String CONTEXT_NAME = "DH2Q";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit)
        private int flags;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/spnego/SpnegoToken.java

        }
    
        /**
         * Sets the inner mechanism token to be wrapped in this SPNEGO token
         * @param mechanismToken the mechanism token bytes
         */
        public void setMechanismToken(final byte[] mechanismToken) {
            this.mechanismToken = mechanismToken;
        }
    
        /**
         * Gets the mechanism list MIC (Message Integrity Code) for integrity protection
         * @return the mechanism list MIC bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (2)
Back to Top