Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 199 for 0L (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    public class DataServiceImpl implements DataService<AccessResultImpl<Long>> {
    
        protected static volatile long idCount = 0L;
    
        private static Object idCountLock = new Object();
    
        @Resource
        protected MemoryDataHelper dataHelper;
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/FormBody.kt

       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
        var byteCount = 0L
        val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer
    
        for (i in 0 until encodedNames.size) {
          if (i > 0) buffer.writeByte('&'.code)
          buffer.writeUtf8(encodedNames[i])
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

            responseHeadersBuilder.removeAll(SENT_MILLIS)
            responseHeadersBuilder.removeAll(RECEIVED_MILLIS)
            sentRequestMillis = sendRequestMillisString?.toLong() ?: 0L
            receivedResponseMillis = receivedResponseMillisString?.toLong() ?: 0L
            responseHeaders = responseHeadersBuilder.build()
    
            if (url.isHttps) {
              val blank = source.readUtf8LineStrict()
              if (blank.isNotEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Timeout values to combine with each {@link Scenario}. */
      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            }
            return this;
          }
    
          @Override
          public HashCode hash() {
            return makeHash(hashers);
          }
        };
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] ids = idFinder.apply(params);
            if (ids.length == 0) {
                return 0L;
            }
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            if (bulkRequestBuilder == null) {
                bulkRequestBuilder = client.prepareBulk();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            final long totalBytes = runtime.totalMemory();
            return totalBytes - freeBytes;
        }
    
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
            if (obj instanceof Date) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            "close".equals(response.header("Connection"), ignoreCase = true)
          ) {
            exchange.noNewExchangesOnConnection()
          }
          if ((code == 204 || code == 205) && response.body.contentLength() > 0L) {
            throw ProtocolException(
              "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}",
            )
          }
          return response
        } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

        // TODO(lowasser): consider an implementation that can support SUBSIZED
        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
          isParallel |= stream.isParallel();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.okHttpSettings[Settings.INITIAL_WINDOW_SIZE] = windowSize
        val stream = connection.newStream(headerEntries("b", "banana"), false)
        assertThat(stream.readBytes.acknowledged).isEqualTo(0L)
        assertThat(stream.readBytes.total).isEqualTo(0L)
        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.getSource()
        val buffer = Buffer()
        buffer.writeAll(source)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top