- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,317 for while (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
@Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
maxChunkSize: Int = Int.MAX_VALUE, ): Builder = apply { removeHeader("Content-Length") headers_.add("Transfer-encoding: chunked") val bytesOut = Buffer() while (!body.exhausted()) { val chunkSize = minOf(body.size, maxChunkSize.toLong()) bytesOut.writeHexadecimalUnsignedLong(chunkSize) bytesOut.writeUtf8("\r\n") bytesOut.write(body, chunkSize)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* surrogate pairs */ protected int nextEscapeIndex(CharSequence csq, int start, int end) { int index = start; while (index < end) { int cp = codePointAt(csq, index, end); if (cp < 0 || escape(cp) != null) { break; } index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/FileAccessException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; /** * Exception while accessing a file. * * @author shinsuke * */ public class FileAccessException extends ClRuntimeException { private static final long serialVersionUID = 1L; /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
val actualUrls = calls.map { it.request.url.toString() } assertThat(actualUrls).containsExactly(*expectedUrls) } fun finishJob(url: String) { val i = calls.iterator() while (i.hasNext()) { val call = i.next() if (call.request.url.toString() == url) { i.remove() dispatcherTest.dispatcher.finishedAccessor(call) return } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 18:34:01 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
@Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
int elemStart = start; FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); while (i.getNextEntryOffset() > 0) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
} /** * Reads stories named "story_xx.json" from the folder provided. */ fun readStories(testFolderName: String): List<Story> { val result = mutableListOf<Story>() var i = 0 while (true) { // break after last test. val storyResourceName = String.format( "/hpack-test-case/%s/story_%02d.json", testFolderName, i, ) val storyInputStream =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
this.session = session; this.notifyAll(); } /** Waits for an OAuth session for this client to be set. */ public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) { timeout.waitUntilNotified(this); } } /** Starts a real time messaging session. */ public void startRtm() throws IOException { String accessToken; synchronized (this) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
int bitsProcessed = 0; while (bitsProcessed < len * 8) { int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask; target.append(alphabet.encode(charIndex)); bitsProcessed += alphabet.bitsPerChar; } if (paddingChar != null) { while (bitsProcessed < alphabet.bytesPerChunk * 8) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0)