Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 139 for 1L (0.01 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

     */
    @Deprecated
    public class FileSizeFormat {
        public enum ScaleUnit {
            BYTE {
                @Override
                public long bytes() {
                    return 1L;
                }
    
                @Override
                public String symbol() {
                    return "B";
                }
            },
            KILOBYTE {
                @Override
                public long bytes() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        private final Multiset<?> member;
    
        MultisetHolder(Multiset<?> multiset) {
          this.member = multiset;
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1L;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializationIndirectSelfReference() {
        Multiset<MultisetHolder> multiset = HashMultiset.create();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/hash/BloomFilterStrategies.java

        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jan 08 14:27:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

            .message("OK")
            .code(200)
            .body(
              object : ResponseBody() {
                override fun contentType() = null
    
                override fun contentLength() = -1L
    
                override fun source() =
                  object : ForwardingSource(Buffer()) {
                    override fun close() {
                      responseClosed = true
                    }
                  }.buffer()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        connectionIndex: Int,
        exchangeIndex: Int,
      ): RecordedRequest {
        var request: RequestLine = DEFAULT_REQUEST_LINE_HTTP_1
        val headers = Headers.Builder()
        var contentLength = -1L
        var chunked = false
        var hasBody = false
        val requestBody = TruncatingBuffer(bodyLimit)
        var chunkSizes: List<Int>? = null
        var failure: IOException? = null
    
        try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

      }
    
      public void testFutureGetBeforeCallback() throws Exception {
        // Verify that get throws a timeout exception before the callback is called.
        assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS));
      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
        inputFuture.setException(EXCEPTION);
        listener.assertException(EXCEPTION);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

            source.skip(padding.toLong())
            padding = 0
            if (flags and FLAG_END_HEADERS != 0) return -1L
            readContinuationHeader()
            // TODO: test case for empty continuation header?
          }
    
          val read = source.read(sink, minOf(byteCount, left.toLong()))
          if (read == -1L) return -1L
          left -= read.toInt()
          return read
        }
    
        override fun timeout(): Timeout = source.timeout()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 19.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        private final Multiset<?> member;
    
        MultisetHolder(Multiset<?> multiset) {
          this.member = multiset;
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1L;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializationIndirectSelfReference() {
        Multiset<MultisetHolder> multiset = HashMultiset.create();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/GcFinalization.java

        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
            return;
          } catch (InterruptedException ie) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
          super(0L, 1L, 2L, 3L, 4L);
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top