Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,614 for longp (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

        return mapsImpl.create(contents);
      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonnegative(long value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          long seed = insertRandomly(elements, q);
          while (!q.isEmpty()) {
            elements.add(q.pollFirst());
          }
          assertEqualsUsingSeed(seed, expected, elements);
        }
      }
    
      /** Regression test for bug found in random testing. */
      public void testCorrectOrdering_73ElementBug() {
        int size = 73;
        long seed = 7522346378524621981L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertThat(stopwatch.toString()).isEqualTo("1.500 min");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (2.5 * 60 * 60 * 1000000000L));
        assertThat(stopwatch.toString()).isEqualTo("2.500 h");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (7.25 * 24 * 60 * 60 * 1000000000L));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Functions.java

    /**
     * Static utility methods pertaining to {@code com.google.common.base.Function} instances; see that
     * class for information about migrating to {@code java.util.function}.
     *
     * <p>All methods return serializable functions as long as they're given serializable parameters.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * @author Mike Bostock
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

         * @param unit the time unit of the initialDelay and delay parameters
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        public static Scheduler newFixedDelaySchedule(long initialDelay, long delay, TimeUnit unit) {
          checkNotNull(unit);
          checkArgument(delay > 0, "delay must be > 0, found %s", delay);
          return new Scheduler() {
            @Override
            public Cancellable schedule(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  7. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
          object : Source {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              sink.writeUtf8("a".repeat(byteCount.toInt()))
              return byteCount
            }
    
            override fun close() {
            }
    
            override fun timeout() = Timeout.NONE
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      public val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
      public var bodyLimit: Long = Long.MAX_VALUE
    
      public var serverSocketFactory: ServerSocketFactory?
        @Synchronized get() = serverSocketFactory_
    
        @Synchronized set(value) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
                return sdf.format(date);
            } else {
                return Long.toString(date.getTime());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this access token was created.
         * Stored as a long value representing milliseconds since epoch.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creation.
         * Sets the CRUD mode to CREATE and populates created by and created time fields
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top