- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,113 for lose (0.03 seconds)
-
tests/test_validation_error_context.py
await websocket.send_text(f"Item: {item_id}") # pragma: no cover await websocket.close() # pragma: no cover @sub_app.websocket("/ws/{item_id}") async def subapp_websocket_endpoint(websocket: WebSocket, item_id: int): await websocket.accept() # pragma: no cover await websocket.send_text(f"Item: {item_id}") # pragma: no cover await websocket.close() # pragma: no cover client = TestClient(app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 06 12:21:57 GMT 2025 - 4.7K bytes - Click Count (0) -
cmd/lock-rest-client.go
func (c *lockRESTClient) IsOnline() bool { return c.connection.State() == grid.StateConnected } // Not a local locker func (c *lockRESTClient) IsLocal() bool { return false } // Close - marks the client as closed. func (c *lockRESTClient) Close() error { return nil } // String - returns the remote host of the connection. func (c *lockRESTClient) String() string { return c.connection.Remote }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeHandle.java
/** * {@inheritDoc} * * @throws CIFSException if an error occurs closing the handle * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /** * Tests whether this file descriptor is open and valid. * * @return whether the FD is open and valid */ boolean isOpen();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
// Write a frame. val length = (end - start).toInt() outputStream.write(outBytes, start.toInt(), length) // If the last frame was truncated, immediately close the connection. if (truncated) { socket.close() } } else { // read a frame val inFrame = InFrame(i, reader) reader.nextFrame(false, inFrame) inFrames.add(inFrame) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@Test @DisplayName("Should wipe key on close") void testCloseWipesKey() throws Exception { byte[] sessionKey = new byte[16]; Arrays.fill(sessionKey, (byte) 0xBB); Smb2SigningDigest digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); // Close the digest digest.close(); // Verify operations fail after closeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
assertEquals(mockPipe, pipe); verify(mockContext).getPipe(url, pipeType); } @Test @DisplayName("Should close context") void testClose() throws CIFSException { // When mockContext.close(); // Then verify(mockContext).close(); } @Test @DisplayName("Should get Configuration") void testGetConfig() { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final String content = "Small content"; final FileOutputStream out = new FileOutputStream(file); try { out.write(content.getBytes("UTF-8")); } finally { out.close(); } // Set maxSize larger than file size final byte[] bytes = FileUtil.readBytes(file, 1024); assertThat(new String(bytes, "UTF-8"), is(content)); } /**
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(c0e0.exchangeIndex).isEqualTo(0) val c0e1 = server.takeRequest() assertThat(c0e1.connectionIndex).isEqualTo(0) assertThat(c0e1.exchangeIndex).isEqualTo(1) response1.close() response2.close() } @Test fun connectionWindowUpdateAfterCanceling() { server.enqueue( MockResponse .Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 67.4K bytes - Click Count (0)