Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Gong (0.17 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
          return true;
        }
        if (a == null || b == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

            if (testTransferListener != null) {
                testTransferListener.addTransfer(resourceName);
            }
        }
    
        public boolean getIfNewer(String resourceName, File destination, long timestamp)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            if (!insideGet) {
                addTransfer("getIfNewer " + resourceName);
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

    ) : RoutePlanner, Closeable {
      val pool = factory.newConnectionPool(routePlanner = this)
      val events = LinkedBlockingDeque<String>()
      var canceled = false
      var autoGeneratePlans = false
      var defaultConnectionIdleAtNanos = Long.MAX_VALUE
      private var nextPlanId = 0
      private var nextPlanIndex = 0
      val plans = mutableListOf<FakePlan>()
    
      override val deferredPlans = ArrayDeque<RoutePlanner.Plan>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    }
    
    func (c *closeNotifier) Close() error {
    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    	return "Bucket name invalid: " + e.Bucket
    }
    
    // Object related errors.
    
    // ObjectNameInvalid - object name provided is invalid.
    type ObjectNameInvalid GenericError
    
    // ObjectNameTooLong - object name too long.
    type ObjectNameTooLong GenericError
    
    // ObjectNamePrefixAsSlash - object name has a slash as prefix.
    type ObjectNamePrefixAsSlash GenericError
    
    // Error returns string an error formatted as the given text.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        pool.evictAll()
        assertThat(pool.connectionCount()).isEqualTo(0)
        taskFaker.runTasks()
      }
    
      private fun forceConnectionsToExpire(
        pool: RealConnectionPool,
        expireTime: Long,
      ) {
        val idleTimeNanos = expireTime + pool.keepAliveDurationNs
        repeat(pool.connectionCount()) { pool.closeConnections(idleTimeNanos) }
        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       * of its collection views:
       *
       * <pre>{@code
       * BiMap<Long, String> map = Maps.synchronizedBiMap(
       *     HashBiMap.<Long, String>create());
       * ...
       * Set<Long> set = map.keySet();  // Needn't be in synchronized block
       * ...
       * synchronized (map) {  // Synchronizing on map, not set!
       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

      }
    
      private fun assertEvents(vararg expected: String) {
        val actual = generateSequence { routePlanner.events.poll() }.toList()
        assertThat(actual).containsExactly(*expected)
      }
    
      private val Int.ms: Long
        get() = this * 1_000_000L
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * sure that these (potentially overridden) methods are invoked only once, and instance created by those methods are
     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 26 13:10:42 GMT 2024
    - 43.7K bytes
    - Viewed (0)
Back to top