Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,818 for Pong (0.06 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

        long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE};
        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
          checkConsistentHashCorrectness(r.nextLong());
        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          }
          return builder.buildOrThrow();
        }
    
        private double singleQuantileFromSorted(int index, int scale, double[] dataset) {
          long numerator = (long) index * (dataset.length - 1);
          int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - positionFloor * scale);
          if (remainder == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        protected Map<String, DataStore> dataStoreMap = new LinkedHashMap<>();
    
        protected String[] dataStoreNames = StringUtil.EMPTY_STRINGS;
    
        protected long lastLoadedTime = 0;
    
        public void add(final String name, final DataStore dataStore) {
            if (name == null || dataStore == null) {
                throw new IllegalArgumentException("name or dataStore is null.");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private void setSuccessor(int entry, int succ) {
        long succMask = (~0L) >>> 32;
        setLink(entry, (link(entry) & ~succMask) | ((succ + 1) & succMask));
      }
    
      private void setPredecessor(int entry, int pred) {
        long predMask = ~0L << 32;
        setLink(entry, (link(entry) & ~predMask) | ((long) (pred + 1) << 32));
      }
    
      private void setSucceeds(int pred, int succ) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Response.kt

      @get:JvmName("sentRequestAtMillis") val sentRequestAtMillis: Long,
      /**
       * Returns a [timestamp][System.currentTimeMillis] taken immediately after OkHttp
       * received this response's headers from the network. If this response is being served from the
       * cache then this is the timestamp of the original response.
       */
      @get:JvmName("receivedResponseAtMillis") val receivedResponseAtMillis: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/FacetResponse.java

             */
            public Map<String, Long> getValueCountMap() {
                return valueCountMap;
            }
    
            /**
             * @return the name
             */
            public String getName() {
                return name;
            }
    
        }
    
        /**
         * @return the queryCountMap
         */
        public Map<String, Long> getQueryCountMap() {
            return queryCountMap;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    ) : EventListener() {
      private var startNs: Long = 0
    
      override fun callStart(call: Call) {
        startNs = System.nanoTime()
    
        logWithTime("callStart: ${call.request()}")
      }
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            while (entries.hasNext()) {
                TransferResourceAndSize entry = entries.next();
                // just in case, make sure 0 <= complete <= total
                long complete = Math.max(0, entry.transferredBytes);
                long total = Math.max(complete, entry.resource.getContentLength());
    
                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                if (d != null) {
                    return d;
                }
                return new Double(0);
            } else if (type == long.class) {
                final Long l = LongConversionUtil.toLong(o);
                if (l != null) {
                    return l;
                }
                return Long.valueOf(0);
            } else if (type == float.class) {
                final Float f = FloatConversionUtil.toFloat(o);
                if (f != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

          // Since index and (dataset.length - 1) are non-negative ints, their product can be expressed
          // as a long, without risk of overflow:
          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top