Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 502 for corrupt (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid configuration
         */
        @Test
        @DisplayName("Test constructor initializes with correct command")
        public void testConstructorWithValidConfig() {
            // When
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // Then
            assertNotNull(smbComTreeDisconnect);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/en/docs/deployment/https.md

    <img src="/img/deployment/https/https07.drawio.svg">
    
    The client (browser) will know that the response comes from the correct server because it is using the cryptography they agreed using the **HTTPS certificate** before.
    
    ### Multiple Applications { #multiple-applications }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. 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)
  6. 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 fail
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top