- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 1,464 for while (0.04 seconds)
-
android/guava/src/com/google/common/net/UrlEscapers.java
* characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>) * Additionally, the escaper escapes the slash character ("/"). While slashes are acceptable in * URL paths, they are considered by the specification to be separators between "path segments." * This implies that, if you wish for your path to contain slashes, you must escape each segment
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
void testInitSecContextNullBufferNonZeroLen() throws Exception { SpnegoContext ctx = newContext(); // A null buffer with non-zero len leads to NPE while slicing input assertThrows(NullPointerException.class, () -> ctx.initSecContext(null, 0, 1)); verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
* * <p>Thread-safe operations are supported for registration and retrieval of data stores. * The factory caches data store names with a time-based refresh mechanism to improve * performance while ensuring up-to-date plugin discovery.</p> */ public class DataStoreFactory { /** Logger instance for this factory class. */ private static final Logger logger = LogManager.getLogger(DataStoreFactory.class);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* Invoked when a call is canceled. * * Like all methods in this interface, this is invoked on the thread that triggered the event. But * while other events occur sequentially; cancels may occur concurrently with other events. For * example, thread A may be executing [responseBodyStart] while thread B executes [canceled]. * Implementations must support such concurrent calls. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertOpen() // Send messages until the client's outgoing buffer overflows! val message: ByteString = ByteString.of(*ByteArray(1024 * 1024)) var messageCount: Long = 0 while (true) { val success = webSocket.send(message) if (!success) break messageCount++ val queueSize = webSocket.queueSize() assertThat(queueSize).isBetween(0L, messageCount * message.size)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
assertEquals(ap, req.getApOptions()); assertNull(req.getTicket()); } @Test @DisplayName("seq ctor: IOException while encoding base ticket is wrapped") void sequenceConstructor_ticketBaseEncodingIOException_isWrapped() throws Exception { // Arrange minimal valid fields ASN1EncodableVector v = new ASN1EncodableVector();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
// the slower pointer, then there's a loop. Throwable slowPointer = throwable; boolean advanceSlowPointer = false; Throwable cause; while ((cause = throwable.getCause()) != null) { throwable = cause; if (throwable == slowPointer) { throw new IllegalArgumentException("Loop in causal chain detected.", throwable); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
Graph<N> graph, Map<Object, NodeVisitState> visitedNodes, N startNode) { Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>(); stack.addLast(new NodeAndRemainingSuccessors<>(startNode)); while (!stack.isEmpty()) { // To peek at the top two items, we need to temporarily remove one. NodeAndRemainingSuccessors<N> top = stack.removeLast(); NodeAndRemainingSuccessors<N> prev = stack.peekLast();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
); /** * Default ObjectInputFilter that only allows safe classes to be deserialized. * This filter rejects potentially dangerous classes while allowing common safe types. */ private static final ObjectInputFilter DEFAULT_FILTER = filterInfo -> { final Class<?> serialClass = filterInfo.serialClass(); if (serialClass == null) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
* that approach would not lead to an infinite loop. * * @since 7.0 */ protected @Nullable V standardRemove(@Nullable Object key) { Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); while (entryIterator.hasNext()) { Entry<K, V> entry = entryIterator.next(); if (Objects.equals(entry.getKey(), key)) { V value = entry.getValue(); entryIterator.remove(); return value;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0)