Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2151 - 2160 of 3,853 for Hint (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        public ListenableFuture<Integer> reload(Integer key, Integer oldValue) {
          countReload.incrementAndGet();
          return immediateFuture(oldValue + 1);
        }
    
        public int getLoadCount() {
          return countLoad.get();
        }
    
        public int getReloadCount() {
          return countReload.get();
        }
      }
    
      static final class IdentityLoader<T> extends CacheLoader<T, T> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/ToDoubleRounder.java

       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      final Map<E, N> inEdgeMap;
    
      /** Keys are edges outgoing from the origin node, values are the target node. */
      final Map<E, N> outEdgeMap;
    
      private int selfLoopCount;
    
      AbstractDirectedNetworkConnections(Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) {
        this.inEdgeMap = checkNotNull(inEdgeMap);
        this.outEdgeMap = checkNotNull(outEdgeMap);
        this.selfLoopCount = checkNonNegative(selfLoopCount);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. configure.py

      if len(version_segments) == 2:
        version_segments.append('0')
      for seg in version_segments:
        if not seg.isdigit():
          return None
    
      version_str = ''.join(['%03d' % int(seg) for seg in version_segments])
      return int(version_str)
    
    
    def retrieve_bazel_version():
      """Retrieve installed bazel version (or bazelisk).
    
      Returns:
        The bazel version detected.
      """
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  5. gradle/wrapper/gradle-wrapper.jar

    synchronized class Download { public final Logger logger; public final Download$DefaultDownloadProgr progressListener; public final java.util.Map systemProperties; public final int networkTimeout; public static java.util.HashMap convertSystemPropert(java.util.Properties); public void Download(Logger, java.util.HashMap, int); public static java.net.URI safeUri(java.net.URI); public final void configureProxyAuthen(); public final void addBasicAuthenticati(java.net.URI, java.net.URLConnection); public...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SocksProxy.kt

          }
        }
      }
    
      fun proxy(): Proxy {
        return Proxy(
          Proxy.Type.SOCKS,
          InetSocketAddress.createUnresolved("localhost", serverSocket!!.localPort),
        )
      }
    
      fun connectionCount(): Int = connectionCount.get()
    
      fun shutdown() {
        serverSocket!!.close()
        executor.shutdown()
        if (!executor.awaitTermination(5, TimeUnit.SECONDS)) {
          throw IOException("Gave up waiting for executor to shut down")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
        assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
        for (int i = 0; i < map.size(); i++) {
          Object expectedKey = alternatingKeysAndValues[2 * i];
          Object expectedValue = alternatingKeysAndValues[2 * i + 1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultimap.java

        @Override
        public Iterator<Entry<K, V>> iterator() {
          return entryIterator();
        }
      }
    
      @WeakOuter
      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(Problem.Severity severity, String message, int line, int column, Exception cause);
    
        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
         * their source, but the next messages will use the new source.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/batch-replicate_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobReplicateCredentials) Msgsize() (s int) {
    	s = 1 + 10 + msgp.StringPrefixSize + len(z.AccessKey) + 10 + msgp.StringPrefixSize + len(z.SecretKey) + 13 + msgp.StringPrefixSize + len(z.SessionToken)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top