Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 268 for 0L (0.01 seconds)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

                ImmutableList.of(Long.MIN_VALUE));
        NONZERO_LONG_CANDIDATES = Iterables.concat(POSITIVE_LONG_CANDIDATES, NEGATIVE_LONG_CANDIDATES);
        ALL_LONG_CANDIDATES = Iterables.concat(NONZERO_LONG_CANDIDATES, ImmutableList.of(0L));
      }
    
      /*
       * This list contains values that attempt to provoke overflow in big integer operations. It
       * contains positive values on or near 2^N for N near multiples of 8 (near byte boundaries). This
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * }
       * ```
       */
      internal val tbsCertificate: BasicDerAdapter<TbsCertificate> =
        Adapters.sequence(
          "TBSCertificate",
          Adapters.INTEGER_AS_LONG
            .withExplicitBox(tag = 0L)
            // v1 == 0.
            .optional(defaultValue = 0),
          Adapters.INTEGER_AS_BIG_INTEGER,
          algorithmIdentifier,
          name,
          validity,
          name,
          subjectPublicKeyInfo,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      }
    
      @Override
      public void clear() {
        for (Count frequency : backingMap.values()) {
          frequency.set(0);
        }
        backingMap.clear();
        size = 0L;
      }
    
      @Override
      int distinctElements() {
        return backingMap.size();
      }
    
      // Optimizations - Query Operations
    
      @Override
      public int size() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            map.put(FieldNames.LANGUAGES, new String[] {});
            map.put(FieldNames.KINDS, new String[] {});
            map.put(FieldNames.SCORE, 1.0F);
            map.put(FieldNames.QUERY_FREQ, 0L);
            map.put(FieldNames.DOC_FREQ, 0L);
            map.put(FieldNames.USER_BOOST, 1.0F);
            map.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
            return map;
        }
    
        /**
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
            if (expiresAt <= 0L) expiresAt = Long.MIN_VALUE
            if (expiresAt > MAX_DATE) expiresAt = MAX_DATE
            this.expiresAt = expiresAt
            this.persistent = true
          }
    
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

                doReturn(mockFileHandle).when(smbFile).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
                doNothing().when(mockFileHandle).close(0L);
    
                // Act
                smbFile.createNewFile();
    
                // Assert
                verify(smbFile).openUnshared(SmbFile.O_RDWR | SmbFile.O_CREAT | SmbFile.O_EXCL, SmbFile.O_RDWR, SmbFile.FILE_NO_SHARE,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

       */
      @Throws(IOException::class)
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
        var sink = sink
        var byteCount = 0L
    
        var byteCountBuffer: Buffer? = null
        if (countBytes) {
          byteCountBuffer = Buffer()
          sink = byteCountBuffer
        }
    
        for (p in 0 until parts.size) {
          val part = parts[p]
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * }
     *
     * @author Doug Lea
     * @author Martin Buchholz
     * @since 11.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    public class AtomicDoubleArray implements Serializable {
      private static final long serialVersionUID = 0L;
    
      // Making this non-final is the lesser evil according to Effective
      // Java 2nd Edition Item 76: Write readObject methods defensively.
      private transient AtomicLongArray longs;
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Should throw NullPointerException when reading with null array
            assertThrows(NullPointerException.class, () -> sis.read((byte[]) null));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, -10L })
        @DisplayName("Skip returns 0 for zero or negative values")
        void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException {
            // Create message with 5 bytes of data
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          headersOf(
            "header-name",
            "header-value",
            "Content-Type",
            "application/octet-stream",
          ),
        )
        val readBuff = Buffer()
        var byteCount = 0L
        while (true) {
          val readByteCount = onlyPart.body.read(readBuff, 1024L)
          if (readByteCount == -1L) break
          byteCount += readByteCount
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top