Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 241 for Loop (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
        // Put a floor on the keep alive duration, otherwise cleanup will spin loop.
        require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" }
      }
    
      fun idleConnectionCount(): Int =
        connections.count {
          it.withLock { it.calls.isEmpty() }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. doc/go_mem.html

    print an empty string too.
    Worse, there is no guarantee that the write to <code>done</code> will ever
    be observed by <code>main</code>, since there are no synchronization
    events between the two threads.  The loop in <code>main</code> is not
    guaranteed to finish.
    </p>
    
    <p>
    There are subtler variants on this theme, such as this program.
    </p>
    
    <pre>
    type T struct {
    	msg string
    }
    
    var g *T
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. configure.py

                                     suppress_default_error=False,
                                     resolve_symlinks=False,
                                     n_ask_attempts=_DEFAULT_PROMPT_ASK_ATTEMPTS):
      """Loop over user prompts for an ENV param until receiving a valid response.
    
      For the env param var_name, read from the environment or verify user input
      until receiving valid input. When done, set var_name in the environ_cp to its
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void unknownPacketTypeHandled() throws IOException {
            // According to the SocketInputStream implementation, unknown packet types
            // are handled in the switch statement's default case which continues the loop
            byte[] data = new byte[] { 1, 2 };
    
            // Use a type that's not SESSION_MESSAGE or SESSION_KEEP_ALIVE
            byte[] unknownHeader = new byte[] { (byte) 0x90, 0, 0, 0 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       *
       * <p>To cycle over the iterable {@code n} times, use the following: {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  6. cmd/erasure-encode_test.go

    	for i := range dataDown {
    		disks[i] = OfflineDisk
    	}
    	for i := data; i < data+parityDown; i++ {
    		disks[i] = OfflineDisk
    	}
    
    	b.SetBytes(size)
    	b.ReportAllocs()
    	for b.Loop() {
    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    			if disk == OfflineDisk {
    				continue
    			}
    			disk.Delete(context.Background(), "testbucket", "object", DeleteOptions{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### A Random Item { #a-random-item }
    
    With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item.
    
    We convert this iterable object into a proper `list` with `list(data.items())`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                            wagon.addTransferListener(downloadMonitor);
                        }
                    }
    
                    // unset the firstRun flag, so we don't get caught in an infinite loop...
                    firstRun = false;
                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        logger.debug(msg);
                    }
                    throw new SsoLoginException(e.getMessage() + " " + msg, e);
                }
    
                // context/auth loop not yet complete
                final boolean status = spnegoResponse.isStatusSet();
                if (logger.isDebugEnabled()) {
                    logger.debug("isStatusSet: {}", status);
                }
                if (status) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. api/go1.24.txt

    pkg strings, func SplitSeq(string, string) iter.Seq[string] #61901
    pkg testing, method (*B) Chdir(string) #62516
    pkg testing, method (*B) Context() context.Context #36532
    pkg testing, method (*B) Loop() bool #61515
    pkg testing, method (*F) Chdir(string) #62516
    pkg testing, method (*F) Context() context.Context #36532
    pkg testing, method (*T) Chdir(string) #62516
    pkg testing, method (*T) Context() context.Context #36532
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 17 21:28:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top