- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 770 for _clone (0.08 sec)
-
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) -
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) -
buildscripts/verify-build.sh
rm -rf "$1" } function __init__() { echo "Initializing environment" mkdir -p "$WORK_DIR" mkdir -p "$MINIO_CONFIG_DIR" mkdir -p "$MINT_DATA_DIR" MC_BUILD_DIR="mc-$RANDOM" if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then echo "failed to download https://github.com/minio/mc" purge "${MC_BUILD_DIR}" exit 1 fi (cd "${MC_BUILD_DIR}" && go build -o "${WORK_DIR}/mc")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 19:28:51 UTC 2024 - 6.7K 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) -
src/bufio/net_test.go
t.Fatal(err) } defer wg.Wait() defer clientConn.Close() const data = "data" r := bufio.NewReader(strings.NewReader(data)) n, err := io.Copy(clientConn, r) if err != nil { t.Fatal(err) } if n != int64(len(data)) { t.Errorf("io.Copy returned %d, want %d", n, len(data)) } clientConn.Close() tot := <-ch if tot != len(data) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 19:37:07 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArrayOutOfBound() throws Exception { byte[] buf = new byte[100]; byte[] expectedBytes = buf.clone(); System.arraycopy(testBytes, 0, expectedBytes, 0, testBytes.length); HashingInputStream in = new HashingInputStream(hashFunction, buffer); int numOfByteRead = in.read(buf, 0, 100);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0)