Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for succeeded (0.17 sec)

  1. doc/go1.17_spec.html

    <p>
    The capacity, in number of elements, sets the size of the buffer in the channel.
    If the capacity is zero or absent, the channel is unbuffered and communication
    succeeds only when both a sender and receiver are ready. Otherwise, the channel
    is buffered and communication succeeds without blocking if the buffer
    is not full (sends) or not empty (receives).
    A <code>nil</code> channel is never ready for communication.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        assertFailsWith<InterruptedIOException> {
          // If this succeeds, too many requests were made.
          client.newCall(request).execute()
        }
      }
    
      /**
       * Make a request with two routes. The first route will time out because it's connecting to a
       * special address that never connects. The automatic retry will succeed.
       */
      @Test
      fun connectTimeoutsAttemptsAlternateRoute() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val inputStream = response.body.byteStream()
        assertThat(inputStream.read().toChar()).isEqualTo('A')
        call.cancel()
        assertFailsWith<IOException> {
          // Reading 'B' may succeed if it's buffered.
          inputStream.read()
    
          // But 'C' shouldn't be buffered (the response is throttled) and this should fail.
          inputStream.read()
        }
        inputStream.close()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<List<String>> compound = successfulAsList(future1, future2, future3);
        compound.addListener(listener, directExecutor());
    
        // First is cancelled, second fails, third succeeds
        assertFalse(compound.isDone());
        future1.cancel(true);
        assertFalse(compound.isDone());
        future2.setException(new Throwable("failed2"));
        assertFalse(compound.isDone());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<List<String>> compound = successfulAsList(future1, future2, future3);
        compound.addListener(listener, directExecutor());
    
        // First is cancelled, second fails, third succeeds
        assertFalse(compound.isDone());
        future1.cancel(true);
        assertFalse(compound.isDone());
        future2.setException(new Throwable("failed2"));
        assertFalse(compound.isDone());
    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)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /** @return the request with the conditional get headers. */
      private fun assertConditionallyCached(response: MockResponse): RecordedRequest {
        // scenario 1: condition succeeds
        server.enqueue(
          response.newBuilder()
            .body("A")
            .status("HTTP/1.1 200 A-OK")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

            // Contract is we always delete input_values[i].
            return false;
          }
          // Note: session->session is not modified if Extend() fails, so
          // we only set last_num_graph_nodes if it succeeds.
          session->last_num_graph_nodes = num_nodes;
        } else {
          session->graph->mu.unlock();
        }
      }
      return true;
    }
    
    }  // namespace tensorflow
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
    
        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.CAST_NEVER_SUCCEEDS) { firDiagnostic ->
            CastNeverSucceedsImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.USELESS_CAST) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
    
        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
    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)
Back to top