- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,464 for while (0.56 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
* and returns it. */ fun <T : CallEvent> removeUpToEvent(eventClass: Class<T>): T { val fullEventSequence = eventSequence.toList() try { while (true) { val event = takeEvent() if (eventClass.isInstance(event)) { return eventClass.cast(event) } } } catch (e: NoSuchElementException) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
lock = new Object(); } @Override public int read() throws IOException { int result = -1; synchronized (lock) { try { while (used == 0) { lock.wait(); } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
buffer.append("Progress (").append(transfers.size()).append("): "); synchronized (transfers) { Iterator<TransferResourceAndSize> entries = transfers.values().iterator(); while (entries.hasNext()) { TransferResourceAndSize entry = entries.next(); long total = entry.resource.getContentLength(); long complete = entry.transferredBytes;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:23:19 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
var bytesToRecover = bytesToRecover var entriesToEvict = 0 if (bytesToRecover > 0) { // determine how many headers need to be evicted. var j = dynamicTable.size - 1 while (j >= nextHeaderIndex && bytesToRecover > 0) { val toEvict = dynamicTable[j]!! bytesToRecover -= toEvict.hpackSize dynamicTableByteCount -= toEvict.hpackSize headerCount--Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 23.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String, int)} instead. * * @param string the string containing the unsigned {@code long} representation to be parsed. * @param radix the radix to use while parsing {@code string} * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} with * the given radix, or if {@code radix} is not between {@link Character#MIN_RADIX} and {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
CollectStepData collectStepTrace = null; ArtifactRequest artifactRequest = null; ArtifactDescriptorRequest artifactDescriptorRequest = null; Plugin plugin = null; while (trace != null) { Object data = trace.getData(); if (data instanceof CollectStepData collectStepData) { collectStepTrace = collectStepData;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
internal const val TYPE_DISALLOWED_STD3_VALID = 3 internal const val TYPE_IGNORED = 4 internal const val TYPE_MAPPED = 5 internal const val TYPE_VALID = 6 private fun BufferedSource.skipWhitespace() { while (!exhausted()) { if (buffer[0] != ' '.code.toByte()) return skip(1L) } } private fun BufferedSource.skipRestOfLine() { when (val newline = indexOf('\n'.code.toByte())) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
public int skipChar() { return idx < expression.length() ? expression.charAt(idx++) : EOF; } public String nextToken(char delimiter) { int start = idx; while (idx < expression.length() && delimiter != expression.charAt(idx)) { idx++; } // delimiter MUST be present if (idx <= start || idx >= expression.length()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.8K bytes - Click Count (0)