Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 219 for nerede (2.96 sec)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x01 })));
    
            // Create a custom APPLICATION tagged object that throws IOException when encoding
            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Verify time was read correctly (accounting for UTime conversion)
            long readTime = (Long) getFieldValue(response, "lastWriteTime");
            // UTime is seconds since 1970, so we need to compare at second precision
            assertEquals(lastWriteTime / 1000, readTime / 1000);
        }
    
        @Test
        void testReadParameterWordsWireFormatWithZeroWordCount() {
            // Test reading when wordCount is 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/HandlerTest.java

            handlers.clear();
        }
    
        /**
         * Pre-populates the protocol handlers cache with mock handlers for testing.
         * This avoids the need for actual protocol handlers to be available.
         */
        private void setupMockProtocolHandlers() throws Exception {
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.NetbiosAddress;
    import jcifs.NetbiosName;
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                // The finally block ensures pipe is closed even if handle close fails
                // Since the real method will propagate the exception from handle.close(),
                // we need to catch it to verify that pipe.close() was still called
                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                        notifyOperationFailure(op, e);
                    }
                }
            }
        }
    
        private void notifyOperationFailure(CommonServerMessageBlock op, Exception error) {
            // This would need to be implemented based on how the SMB operations
            // handle asynchronous failures in the actual transport implementation
            log.debug("Operation failed during redistribution: {}", error.getMessage());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        void testDecodeWithMaxBufferSize() throws SMBProtocolDecodingException {
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, true, false);
    
            // Decode with exact size needed
            int size = securityDescriptor.decode(testBuffer, 0, 100);
    
            // decode returns 0 when no DACL is present (falls through)
            assertEquals(0, size);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int off = 0;
            final int tot = buf.getLength() - 24;
            while (off < tot) {
                int fragSize = tot - off;
                if (24 + fragSize > this.max_xmit) {
                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                } else {
                    msg.flags |= DCERPC_LAST_FRAG;
                    msg.alloc_hint = fragSize;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServicePacket.java

            /*
             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
            for (this.addrIndex = 0; srcIndex < end; this.addrIndex++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top