Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for We (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
       * as necessary when the method is expected to return (at the cost of hanging forever if there is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          "FGHIJKLMNOPQRSTUVWXYZ",
        )
        inputStream.close()
        assertContent("ABCDEFGHIJKLMNOPQRSTUVWXYZ", getResponse(newRequest("/")))
      }
    
      /**
       * We've had a bug where we forget the HTTP response when we see response code 401. This causes a
       * new HTTP request to be issued for every call into the URLConnection.
       */
      @Test
      fun unauthorizedResponseHandling() {
        val mockResponse =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
       * as necessary when the method is expected to return (at the cost of hanging forever if there is
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

         *
         * @param original the entry to copy. But avoid calling {@code getKey} on it: Instead, use the
         *     {@code key} parameter. That way, we prevent the key from being garbage collected in the
         *     case of weak keys. If we create a new entry with a key that is null at construction time,
         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    						w.WriteHeader(ci.StatusCode)
    						return
    					}
    
    					// We did not satisfy any requirement from the cache, update the cache.
    					// this basically means that we do not have the Data for the object
    					// cached yet
    					update = true
    				})
    				if !update {
    					// No update is needed means we have written already to the client just return here.
    					return
    				}
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
      fun authenticateWithNoConnection() {
        server.enqueue(
          MockResponse(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

          HttpURLConnection.HTTP_NO_CONTENT, HttpURLConnection.HTTP_RESET -> {
            builder.body("") // We forbid bodies for 204 and 205.
          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
          // 408's are a bit of an outlier because we may repeat the request if we encounter this
          // response code. In this scenario, there are 2 responses: the initial 408 and then the 200
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

         *
         * @param original the entry to copy. But avoid calling {@code getKey} on it: Instead, use the
         *     {@code key} parameter. That way, we prevent the key from being garbage collected in the
         *     case of weak keys. If we create a new entry with a key that is null at construction time,
         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                         * is like changing the rug out from underneath our feet.
                         */
    /* Technically we should also try to authenticate here but that means doing the session setup and tree connect separately. For now a simple connect will at least tell us if the host is alive. That should be sufficient for 99% of the cases. We can revisit this again for 2.0.
     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. cmd/site-replication.go

    		// successfully, we need to send a response to the client with
    		// some details - FIXME: the disks on this cluster would need to
    		// be cleaned to recover.
    		partial := madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: peerAddErr.Error(),
    		}
    
    		return partial, nil
    	}
    
    	// Other than handling existing buckets, we can now save the cluster
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top