- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 507 for correta (0.03 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); // Verify no data was written assertArrayEquals(new byte[100], dst); } @Test @DisplayName("Test writeParametersWireFormat writes correct data") void testWriteParametersWireFormat() throws Exception { netShareEnum = new NetShareEnum(realConfig); byte[] dst = new byte[256]; int dstIndex = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should generate correct string representation") void testToString() throws Exception { // Set up notification with known values byte oplockLevel = 0x02; byte[] fileId = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals("SERVER2", serverList.get(1).oemDomainName); } /** * Test field types match expected types */ @Test @DisplayName("Test field types are correct") public void testFieldTypes() throws NoSuchFieldException { // Verify field types assertEquals(byte.class, ServerData.class.getDeclaredField("sflags").getType());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { int read = sis.read(buffer, 0, 10); // Should read all 5 available bytes assertEquals(5, read); // Verify correct data for (int i = 0; i < 5; i++) { assertEquals(i + 1, buffer[i]); } // Next read will try to read header and should failRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/signature-v4.go
} // Verify if sha256 payload query is same. if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) { return ErrContentSHA256Mismatch } // Verify if security token is correct. if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { return ErrInvalidToken } // Verify finally if signature is same. // Get canonical request.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
msg.decode_header(fragBuf); final int stub_frag_len = msg.length - 24; if (off + stub_frag_len > in.length) { // shouldn't happen if alloc_hint is correct or greater final byte[] tmp = new byte[off + stub_frag_len]; System.arraycopy(in, 0, tmp, 0, off); in = tmp; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
for (int i = 0; i < result1.size(); i++) { assertEquals(result1.get(i), result2.get(i)); assertEquals(result2.get(i), result3.get(i)); } // Verify content is correct assertEquals(2, result1.size()); assertEquals(mockNotifyInfo1, result1.get(0)); assertEquals(mockNotifyInfo2, result1.get(1)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
cmd/local-locker.go
// or last read lock) // UID and optionally owner must match for entries to be deleted. func (l *localLocker) removeEntry(name string, args dsync.LockArgs, lri *[]lockRequesterInfo) bool { // Find correct entry to remove based on uid. for index, entry := range *lri { if entry.UID == args.UID && (args.Owner == "" || entry.Owner == args.Owner) { if len(*lri) == 1 { // Remove the write lock.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
assertEquals(4096, response.getChunkBytesWritten()); assertEquals(12288, response.getTotalBytesWritten()); } @Test @DisplayName("Should return correct bytes consumed") void testReturnBytesConsumed() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; byte[] responseData = createValidCopyChunkResponse(8, 16384, 131072);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0)