- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,317 for while (0.04 sec)
-
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000; while (!w.isReady() && System.currentTimeMillis() < deadline) { w.wait(10); } assertTrue(w.isReady(), "WriterThread should be ready to accept work"); // Act: submit a writeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
maven-tests/mvnw
return 1 fi fi } # hash string like Java String::hashCode hash_string() { str="${1:-}" h=0 while [ -n "$str" ]; do char="${str%"${str#?}"}" h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296)) str="${str#?}" done printf %x\\n $h } verbose() { :; }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
final Pattern attrPattern = Pattern.compile("\\s[^ ]+=\"([^\"]*)\""); while (matcher.find()) { final String tagStr = matcher.group(); final Matcher attrMatcher = attrPattern.matcher(tagStr); final StringBuilder buf = new StringBuilder(100); while (attrMatcher.find()) { buf.append(attrMatcher.group(1)).append(' '); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
val response = call.execute() cancelLater(call, 500) val responseBody = response.body.byteStream() val buffer = ByteArray(1024) assertFailsWith<IOException> { while (responseBody.read(buffer) != -1) { } }.also { expected -> assertEquals(cancelMode == INTERRUPT, Thread.interrupted()) } responseBody.close()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
if (0 == tagNo) { throw new IOException("corrupted stream - invalid high tag number found"); } while ((b & 0x80) != 0) { if (tagNo >>> 24 != 0) { throw new IOException("Tag number more than 31 bits"); } tagNo <<= 7;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
Field field = findField(target.getClass(), fieldName); field.setAccessible(true); field.set(target, value); } private Field findField(Class<?> clazz, String fieldName) { while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} } /** Read headers and process any control frames until we reach a non-control frame. */ @Throws(IOException::class) private fun readUntilNonControlFrame() { while (!receivedCloseFrame) { readHeader() if (!isControlFrame) { break } readControlFrame() } } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
val response = response.stripBody() val reader = ServerSentEventReader(body.source(), this) try { if (!canceled) { listener.onOpen(this, response) while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception = when { canceled -> IOException("canceled", e) else -> e
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 3.2K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* * <p>The default implementation does nothing. Subclasses should override this method * if they need to perform cleanup operations.</p> * * @throws InvokerException if an error occurs while closing the {@link Invoker} */ @Override default void close() throws InvokerException {}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (artifact.getDependencyTrail() != null && artifact.getDependencyTrail().size() == 1) { logger.warn( "While downloading {}:{}:{}{}", pomArtifact.getGroupId(), pomArtifact.getArtifactId(), pomArtifact.getVersion(),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 12:03:50 UTC 2025 - 30.4K bytes - Viewed (0)