Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 265 for 0L (0.13 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

          }
        }
      }
    
      @Throws(IOException::class)
      private fun completeEvent(
        id: String?,
        type: String?,
        data: Buffer,
      ) {
        if (data.size != 0L) {
          lastId = id
          data.skip(1L) // Leading newline.
          callback.onEvent(id, type, data.readUtf8())
        }
      }
    
      companion object {
        private val options =
          Options.of(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> lengthIfKnown = lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
          return lengthIfKnown.get() == 0L;
        }
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
          return reader.read() == -1;
        } catch (Throwable e) {
          throw closer.rethrow(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> lengthIfKnown = lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
          return lengthIfKnown.get() == 0L;
        }
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
          return reader.read() == -1;
        } catch (Throwable e) {
          throw closer.rethrow(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
      /** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */
      val version: Long,
      val serialNumber: BigInteger,
      val signature: AlgorithmIdentifier,
      val issuer: List<List<AttributeTypeAndValue>>,
      val validity: Validity,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      }
    
      fun writeBigInteger(value: BigInteger) {
        sink().write(value.toByteArray())
      }
    
      fun writeLong(v: Long) {
        val sink = sink()
    
        val lengthBitCount: Int =
          if (v < 0L) {
            65 - java.lang.Long.numberOfLeadingZeros(v xor -1L)
          } else {
            65 - java.lang.Long.numberOfLeadingZeros(v)
          }
    
        val lengthByteCount = (lengthBitCount + 7) / 8
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/SipHashFunction.java

            v3 = Long.rotateLeft(v3, 21);
            v1 ^= v2;
            v3 ^= v0;
            v2 = Long.rotateLeft(v2, 32);
          }
        }
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CaseFormat.java

        }
    
        @Override
        public String toString() {
          return sourceFormat + ".converterTo(" + targetFormat + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L;
      }
    
      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
      private static String firstCharOnlyToUpper(String word) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            }
    
            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify - all zeros should result in 0 capacity and free
            assertEquals(0L, smbInfoAllocation.getCapacity());
            assertEquals(0L, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test getFree with maximum values")
        void testGetFreeWithMaximumValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            assertEquals(token1, token2);
        }
    
        public void test_generateAccessToken_withCustomRandom() {
            final Random customRandom = new Random(0L);
            accessTokenHelper.setRandom(customRandom);
    
            final String token = accessTokenHelper.generateAccessToken();
            assertNotNull(token);
            assertFalse(token.isEmpty());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top