Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for estimation (1.28 sec)

  1. src/main/java/jcifs/netbios/SessionRequestPacket.java

        }
    
        /**
         * Constructs a NetBIOS session request packet.
         *
         * @param config the configuration to use for this packet
         * @param calledName the NetBIOS name of the called (destination) host
         * @param callingName the NetBIOS name of the calling (source) host
         */
        public SessionRequestPacket(final Configuration config, final NetbiosName calledName, final NetbiosName callingName) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

         */
        public Smb2RdmaTransform getTransform() {
            return transform;
        }
    
        /**
         * Encode to byte array for SMB2 READ/WRITE channel info
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
            return transform.encode(dst, dstIndex);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            calledName = new Name();
            callingName = new Name();
        }
    
        /**
         * Constructs a NetBIOS session request packet.
         *
         * @param calledName the NetBIOS name of the called (destination) host
         * @param callingName the NetBIOS name of the calling (source) host
         */
        public SessionRequestPacket(final Name calledName, final Name callingName) {
            type = SESSION_REQUEST;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
            SMBUtil.writeInt8(offset, dst, dstIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
                if (dst == null) {
                    throw new IllegalArgumentException("Destination buffer cannot be null");
                }
                if (dstIndex < 0) {
                    throw new IllegalArgumentException("Destination index cannot be negative");
                }
                if (dstIndex + encodedSize > dst.length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                assertEquals(0, written, "Should report 0 bytes written");
                assertArrayEquals(original, buffer, "Buffer must remain unchanged");
            }
    
            @Test
            @DisplayName("Handles null destination without throwing and returns 0")
            void allowsNullBuffer() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            }
            return size + 8 - rem;
        }
    
        /**
         * Calculates padding needed to align to 8-byte boundary from header start.
         *
         * @param dstIndex the current destination index
         * @return number of padding bytes needed
         */
        protected final int pad8(final int dstIndex) {
            final int fromHdr = dstIndex - this.headerStart;
            final int rem = fromHdr % 8;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * For example, if you specify an underscore as the delimiter for JavaBeans and a period as the delimiter for {@link Map},
         * the property names for the source and destination will be as follows:
         * </p>
         * <table border="1">
         * <caption>Copied JavaBeans Properties</caption>
         * <tr>
         * <th>JavaBeans Property Name</th>
         * <th>{@literal Map} Property Name</th>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. README.md

    PropertyDesc nameProperty = beanDesc.getPropertyDesc("name");
    nameProperty.setValue(bean, "John Doe");
    
    // Bean copying with flexible options
    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    // Convert between beans and maps
    Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(fileName, decodedName);
    
            // Verify bytes written
            assertEquals(20 + nameLength, bytesWritten);
        }
    
        @Test
        @DisplayName("Test encode with non-zero destination index")
        void testEncodeWithNonZeroDestIndex() {
            String fileName = "test.txt";
            FileRenameInformation2 info = new FileRenameInformation2(fileName, true);
    
            byte[] buffer = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top