Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for longValue (0.09 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

                completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601));
                date = new Date(completeBigInt.longValue());
            }
    
            return date;
        }
    
        /**
         * Reads a PAC Unicode string structure.
         * @return the PAC Unicode string object
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashCodeTest.java

        if (expectedHashCode.asLong == null) {
          try {
            hash.asLong();
            fail();
          } catch (IllegalStateException expected) {
          }
        } else {
          assertEquals(expectedHashCode.asLong.longValue(), hash.asLong());
        }
        assertEquals(expectedHashCode.toString, hash.toString());
        assertSideEffectFree(hash);
        assertReadableBytes(hash);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
    
        bytes = "test test test".getBytes(UTF_8);
        assertEquals(
            UnsignedLong.valueOf("12313169684067793560").longValue(),
            Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
        // Expected data is 0x0100010100000000
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            }
            final Long seqNo = esEntity.asDocMeta().seqNo();
            if (seqNo != null && seqNo.longValue() != SequenceNumbers.UNASSIGNED_SEQ_NO) {
                esEntity.asDocMeta().seqNo(seqNo);
            }
            final Long primaryTerm = esEntity.asDocMeta().primaryTerm();
            if (primaryTerm != null && primaryTerm.longValue() != SequenceNumbers.UNASSIGNED_PRIMARY_TERM) {
                esEntity.asDocMeta().primaryTerm(primaryTerm);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            }
            final Long seqNo = esEntity.asDocMeta().seqNo();
            if (seqNo != null && seqNo.longValue() != SequenceNumbers.UNASSIGNED_SEQ_NO) {
                esEntity.asDocMeta().seqNo(seqNo);
            }
            final Long primaryTerm = esEntity.asDocMeta().primaryTerm();
            if (primaryTerm != null && primaryTerm.longValue() != SequenceNumbers.UNASSIGNED_PRIMARY_TERM) {
                esEntity.asDocMeta().primaryTerm(primaryTerm);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                if (timeToLive != null) {
                    // timeToLive minutes
                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    return new Date(now + timeToLive.longValue() * 1000 * 60);
                }
            }
            return documentExpires != null ? new Date(documentExpires) : null;
        }
    
        /**
         * Calculates the expiration time in milliseconds from the current time.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDouble.java

        return (int) get();
      }
    
      /**
       * Returns the value of this {@code AtomicDouble} as a {@code long} after a narrowing primitive
       * conversion.
       */
      @Override
      public long longValue() {
        return (long) get();
      }
    
      /**
       * Returns the value of this {@code AtomicDouble} as a {@code float} after a narrowing primitive
       * conversion.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                return (T) Integer.valueOf(value.intValue());
            }
            if (clazz.equals(Long.class)) {
                final Number value = (Number) field;
                return (T) Long.valueOf(value.longValue());
            }
            return (T) field;
        }
    
        /**
         * Iterates through all access results for a session, calling the callback for each result.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            Integer value = getSearchEngineHeartbeatIntervalAsInteger();
            if (value != null) {
                return value.longValue();
            }
            value = getAsInteger("elasticsearch.heartbeat_interval");
            if (value != null) {
                return value.longValue();
            }
            return 10000L;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top