- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 676 for succeed (0.03 sec)
-
internal/bucket/encryption/bucket-sse-config_test.go
}, } for i, tc := range testCases { ssec, err := ParseBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML))) if tc.shouldPass && err != nil { t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err) } if !tc.shouldPass { if err == nil || err != nil && err.Error() != tc.expectedErr.Error() { t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
/** * Error severity levels */ public enum Severity { RECOVERABLE, // Can retry the operation TRANSIENT, // Temporary error, retry after delay PERMANENT, // Operation cannot succeed FATAL // Connection or session must be terminated } /** * Error categories */ public enum Category {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
transport.setConnectFails(true); assertThrows(TransportException.class, () -> transport.connect(1000)); } @Test @DisplayName("disconnect should succeed when connected") void shouldDisconnectWhenConnected() throws IOException { transport.setState(3); // Connected assertFalse(transport.disconnect(false));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code> * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access. * */ public class ACE implements jcifs.ACE, Decodable { /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
*/ public void setOffset(final long offset) { this.offset = offset; } /** * Sets the minimum number of bytes that must be read for the operation to succeed * * @param minimumCount * the minimumCount to set */ public void setMinimumCount(final int minimumCount) { this.minimumCount = minimumCount; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
.thenReturn(sfd); // openCopyTargetFile should be called by serverSideCopy, so dest.openUnshared must succeed SmbFileHandleImpl dfd = mock(SmbFileHandleImpl.class); when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(dfd);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/erasure-multipart-conditional_test.go
} z.serverPools[0].erasureDisksMu.Unlock() t.Run("if-none-match with read quorum failure", func(t *testing.T) { // Test Case 1: if-none-match (create only if doesn't exist) // With if-none-match: *, this should only succeed if object doesn't exist. // Since read quorum fails, we can't determine if object exists. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfNoneMatch: "*", },
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code> * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access. */ public interface ACE { /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
URLStreamHandlerFactory mockFactory2 = mock(URLStreamHandlerFactory.class); Handler.setURLStreamHandlerFactory(mockFactory1); // First call, should succeed. assertThrows(IllegalStateException.class, () -> { Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
response.writeBytesWireFormat(buffer, 0); } success[index] = true; } catch (Exception e) { success[index] = false; } }); } // When for (Thread thread : threads) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)