Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for loop (0.15 sec)

  1. docs/en/docs/advanced/async-tests.md

    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

          assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java)
        } else {
          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          Assertions.fail<Any>("event $e without matching start event")
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      var commaFound = false
      loop@ while (!exhausted()) {
        when (this[0]) {
          ','.code.toByte() -> {
            // Consume ','.
            readByte()
            commaFound = true
          }
    
          ' '.code.toByte(), '\t'.code.toByte() -> {
            readByte()
            // Consume space or tab.
          }
    
          else -> break@loop
        }
      }
      return commaFound
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Graph<Integer> createGraph();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/Utf8Test.java

      private static void testBytes(int numBytes, long expectedCount) {
        testBytes(numBytes, expectedCount, 0, -1);
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified. This
       * overload is useful for debugging to get the loop to start at a certain character.
       *
       * @param numBytes the number of bytes in the byte array
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

      var maxStaleSeconds = -1
      var minFreshSeconds = -1
      var onlyIfCached = false
      var noTransform = false
      var immutable = false
    
      var canUseHeaderValue = true
      var headerValue: String? = null
    
      loop@ for (i in 0 until headers.size) {
        val name = headers.name(i)
        val value = headers.value(i)
    
        when {
          name.equals("Cache-Control", ignoreCase = true) -> {
            if (headerValue != null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top