Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 364 for factor (0.76 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

    import java.net.Proxy
    import java.util.concurrent.TimeUnit
    
    class ClientRuleEventListener(
      val delegate: EventListener = NONE,
      var logger: (String) -> Unit,
    ) : EventListener(),
      EventListener.Factory {
      private var startNs: Long? = null
    
      override fun create(call: Call): EventListener = this
    
      override fun callStart(call: Call) {
        startNs = System.nanoTime()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

    import java.util.Collection;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.beans.factory.ParameterizedClassDescFactory;
    import org.codelibs.core.exception.MethodNotStaticRuntimeException;
    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * Implementation class of {@link MethodDesc}.
     *
     * @author koichik
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt8(1000, buffer, 8); // free allocation units
            writeInt4(8, buffer, 16); // sectors per allocation unit
            writeInt4(4096, buffer, 20); // bytes per sector
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(24, bytesRead, "Should read 24 bytes");
            assertNotNull(response.info, "Info object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

      private val logRecorder =
        HttpLoggingInterceptorTest.LogRecorder(
          prefix = Regex("""\[\d+ ms] """),
        )
      private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder)
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      @BeforeEach
      fun setUp() {
        client =
          clientTestRule
            .newClientBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MultimapBuilder.java

              // (their subclasses are inaccessible)
              @SuppressWarnings({"unchecked", "rawtypes"})
              Supplier<Set<V>> factory = (Supplier) new EnumSetSupplier<V0>(valueClass);
              return Multimaps.newSetMultimap(MultimapBuilderWithKeys.this.<K, V>createMap(), factory);
            }
          };
        }
      }
    
      /** Returns a new, empty {@code Multimap} with the specified implementation. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MultimapBuilder.java

              // (their subclasses are inaccessible)
              @SuppressWarnings({"unchecked", "rawtypes"})
              Supplier<Set<V>> factory = (Supplier) new EnumSetSupplier<V0>(valueClass);
              return Multimaps.newSetMultimap(MultimapBuilderWithKeys.this.<K, V>createMap(), factory);
            }
          };
        }
      }
    
      /** Returns a new, empty {@code Multimap} with the specified implementation. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/Platform.java

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    final class Platform {
      /** Serializes and deserializes the specified object. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/PercentEscaper.java

       * @throws IllegalArgumentException if any of the parameters were invalid
       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
        // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe.
        checkNotNull(safeChars); // eager for GWT.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top