Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 3,598 for long (0.06 sec)

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

    @NullUnmarked
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
        long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L;
        assertFalse(IntMath.isPowerOfTwo((int) value));
      }
    
      public void testCeilingPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testAddAllPrimitiveLongStream() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(megaPrimitiveDoubleStreamPart1().mapToLong(x -> (long) x));
        accumulator.addAll(megaPrimitiveDoubleStreamPart2().mapToLong(x -> (long) x));
        assertThat(accumulator.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(accumulator.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

     * This class provides pagination functionality for displaying and managing
     * request headers in the administration interface.
     */
    public class ReqHeaderPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Default number of records to display per page.
         */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /**
         * Default current page number for pagination.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      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
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

        Map<K, Collection<V>> map = new HashMap<>();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      /**
       * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created
       * with this ThreadFactory.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that
       * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code
       * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

         * @param dictId the dictionary ID
         * @param id the item ID
         * @return the protected words item if found
         */
        public OptionalEntity<ProtwordsItem> getProtwordsItem(final String dictId, final long id) {
            return getProtwordsFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a protected words item (insert or update).
         * @param dictId the dictionary ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
      /** The total size of the body of this request (before truncation).*/
      public val bodySize: Long,
      /**
       * The sizes of the chunks of this request's body, or null if the request's body was not encoded
       * with chunked encoding.
       */
      public val chunkSizes: List<Int>?,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top