- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 1,625 for become (0.07 seconds)
-
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // ArrangeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
val byteIn = bytes[i] and 0xff bitCount += CODE_BIT_COUNTS[byteIn].toLong() } return ((bitCount + 7) shr 3).toInt() // Round up to an even byte. } fun decode( source: BufferedSource, byteCount: Long, sink: BufferedSink, ) { var node = root var accumulator = 0 var accumulatorBitCount = 0 for (i in 0 until byteCount) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* * This method returns immediately. */ fun send(bytes: ByteString): Boolean /** * Attempts to initiate a graceful shutdown of this web socket. Any already-enqueued messages will * be transmitted before the close message is sent but subsequent calls to [send] will return * false and their messages will not be enqueued. * * This returns true if a graceful shutdown was initiated by this call. It returns false if
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
String realPhase = phase.substring(org.apache.maven.api.Lifecycle.AFTER.length()); include = mappings.containsKey(org.apache.maven.api.Lifecycle.BEFORE + realPhase); } else { include = false; } } if (include) { Map<PhaseId, List<MojoExecution>> phaseBindings = new TreeMap<>(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 8.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
* mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a * matching mirror will pass through unchanged. Note: This method must be called before * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials. * * @param repositories The repositories into which to inject the mirror information, may be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@Test @DisplayName("Decode error handling should work correctly") void testDecodeErrorHandling() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(1024); when(mockHandle.getMaxRecv()).thenReturn(1024); DcerpcBind bindMessage = new DcerpcBind(mockBinding, mockHandle); // When - Decode with error responseCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
private var timeoutEarlyExit = false /** * This is the same value as [exchange], but scoped to the execution of the network interceptors. * The [exchange] field is assigned to null when its streams end, which may be before or after the * network interceptors return. */ internal var interceptorScopedExchange: Exchange? = null private set
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 19.7K bytes - Click Count (0) -
internal/logger/logrotate.go
return err } if err = wc.Close(); err != nil { return err } // Persist to disk any caches. if err = gw.Sync(); err != nil { return err } // close everything before we delete. if err = gw.Close(); err != nil { return err } if err = r.Close(); err != nil { return err } // Attempt to remove after all fd's are closed. return os.Remove(oldLgFile)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
// Multiple leading backslashes - only first one gets stripped, then trailing ones get stripped // But getPath() adds a backslash at the beginning, so \\fourth\path\\ becomes \fourth\path\ request.setPath("\\\\fourth\\path\\\\"); assertEquals("\\\\fourth\\path\\", request.getPath()); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
assertEquals(currentTime - 2000, createTime, "Should return correct create time"); assertTrue(createTime <= lastAccess, "Create time should be before or equal to last access"); assertTrue(lastAccess <= lastModified, "Last access should be before or equal to last modified"); } @Test @DisplayName("setFileTimes should accept valid timestamps")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)