Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 199 for 0L (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      private var intervalPingsSent = 0L
      private var intervalPongsReceived = 0L
      private var degradedPingsSent = 0L
      private var degradedPongsReceived = 0L
      private var awaitPingsSent = 0L
      private var awaitPongsReceived = 0L
    
      /** Consider this connection to be unhealthy if a degraded pong isn't received by this time. */
      private var degradedPongDeadlineNs = 0L
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

      private val delegate: Sink,
      private val triggerByteCount: Long,
      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

    import org.codelibs.core.lang.ThreadUtil;
    
    public class DefaultIntervalController extends AbstractIntervalController {
    
        protected long delayMillisAfterProcessing = 0L;
    
        protected long delayMillisAtNoUrlInQueue = 500L;
    
        protected long delayMillisBeforeProcessing = 0L;
    
        protected long delayMillisForWaitingNewUrl = 1000L;
    
        public DefaultIntervalController() {
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
                        Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}),
                        (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     */
    internal class ThrottledSink(
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
            flush()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        override val isReady: Boolean
          get() = connectState == ConnectState.TLS_CONNECTED
    
        var tcpConnectDelayNanos = 0L
        var tcpConnectThrowable: Throwable? = null
        var yieldBeforeTcpConnectReturns = false
        var connectTcpNextPlan: FakePlan? = null
        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    // if !files we don't need to create SmbFiles here
                    SmbFile f = new SmbFile(this, name, e.getType(),
                                ATTR_READONLY | ATTR_DIRECTORY, 0L, 0L, 0L );
                    if (ff != null && ff.accept(f) == false)
                        continue;
                    if (files) {
                        list.add(f);
                    } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

       * @return the sum
       */
      public long sumThenReset() {
        long sum = base;
        Cell[] as = cells;
        base = 0L;
        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) {
              sum += a.value;
              a.value = 0L;
            }
          }
        }
        return sum;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      var socketPolicy: SocketPolicy = SocketPolicy.KEEP_OPEN
    
      @set:JvmName("http2ErrorCode")
      var http2ErrorCode: Int = -1
    
      private var bodyDelayAmount = 0L
      private var bodyDelayUnit = TimeUnit.MILLISECONDS
    
      private var headersDelayAmount = 0L
      private var headersDelayUnit = TimeUnit.MILLISECONDS
    
      private var promises = mutableListOf<PushPromise>()
      var settings: Settings = Settings()
        private set
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

            if (StringUtil.isBlank(mimeType)) {
                return defaultMaxLength;
            }
            final Long maxLength = maxLengthMap.get(mimeType);
            if (maxLength != null && maxLength >= 0L) {
                return maxLength;
            }
            return defaultMaxLength;
        }
    
        public long getDefaultMaxLength() {
            return defaultMaxLength;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top