- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 945 for lose (0.02 sec)
-
src/test/java/jcifs/SmbConnectionTest.java
PropertyConfiguration config = new PropertyConfiguration(props); // Test various command batch limits int readAndXClose = config.getBatchLimit("ReadAndX.Close"); assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative"); int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
@Test public void testUseAfterClose() { keyManager.close(); assertThrows(IllegalStateException.class, () -> keyManager.storeSessionKey("session", testKey, "AES")); } @Test public void testMultipleCloseCalls() { keyManager.storeSessionKey("session", testKey, "AES"); keyManager.close(); keyManager.close(); // Should not throwRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
/** * Computes the quantile value of the given dataset. * * @param dataset the dataset to do the calculation on, which must be non-empty, which will be * cast to doubles (with any associated lost of precision), and which will not be mutated by * this call (it is copied instead) * @return the quantile value */ public double compute(Collection<? extends Number> dataset) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } /** * Close the tree connection (implements AutoCloseable) * * This method provides a standard way to close resources using try-with-resources. * It delegates to the release() method to properly clean up the connection. */ @Override public void close() { if (log.isDebugEnabled()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
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 closeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access"); // Test cleanup region.close(); assertFalse(region.isValid(), "Region should be invalid after close"); } @Test public void testGetProviderName() { assertEquals("TCP Fallback", provider.getProviderName()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (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 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
* should also handle resource cleanup when the {@link #close()} method is called.</p> */ public interface DocumentReader extends Closeable { /** * Reads a document and returns its contents as a map. * * @return a map containing the document's data, or null if there are no more documents to read. */ Map<String, Object> read(); @Override void close();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
cmd/bitrot_test.go
} _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) } _, err = writer.Write([]byte("aaaaa")) if err != nil { t.Fatal(err) } if bw, ok := writer.(io.Closer); ok { bw.Close() } reader := newBitrotReader(disk, nil, volume, filePath, 35, bitrotAlgo, bitrotWriterSum(writer), 10) b := make([]byte, 10) if _, err = reader.ReadAt(b, 0); err != nil { t.Fatal(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2K bytes - Viewed (0)