Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getLength (0.94 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

        public long getAddress() {
            return transform.getOffset();
        }
    
        /**
         * Get length of memory region
         *
         * @return length in bytes
         */
        public int getLength() {
            return transform.getLength();
        }
    
        /**
         * Get the underlying RDMA transform structure
         *
         * @return RDMA transform
         */
        public Smb2RdmaTransform getTransform() {
            return transform;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. cmd/httprange.go

    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    // GetLength - get length of range
    func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) {
    	switch {
    	case resourceSize < 0:
    		return 0, errors.New("Resource size cannot be negative")
    
    	case h == nil:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             */
            public int getLength() {
                return length;
            }
    
            /**
             * Sets the total length of the notification response.
             *
             * @param length the length in bytes of the entire notification response
             */
            public void setLength(int length) {
                this.length = length;
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         * @return RDMA provider token
         */
        public int getToken() {
            return token;
        }
    
        /**
         * Get buffer length
         *
         * @return buffer length
         */
        public int getLength() {
            return length;
        }
    
        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            final int len = super.encode(dst, dstIndex);
            final int exp = size();
            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        if (log.isTraceEnabled()) {
                            log.trace(response.toString());
                            log.trace(Hexdump.toHexString(this.rcv_buf, 0, this.in.getLength()));
                        }
    
                        response.notify();
                    }
                }
            } catch (final SocketTimeoutException ste) {
                log.trace("Socket timeout", ste);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        public final int getHeaderStart() {
            return this.headerStart;
        }
    
        /**
         * Gets the total length of this message.
         *
         * @return the length
         */
        public final int getLength() {
            return this.length;
        }
    
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                //
                // LinkedList<IbvSge> sgeList = new LinkedList<>();
                // IbvSge sge = new IbvSge();
                // sge.setAddr(disniRegion.getAddress());
                // sge.setLength(data.remaining());
                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

            StringBuilder sb = stringBuilderPool.poll();
            if (sb == null) {
                sb = new StringBuilder(512); // Pre-allocate reasonable size
            } else {
                sb.setLength(0); // Reset length
            }
            return sb;
        }
    
        private void returnStringBuilder(StringBuilder sb) {
            if (sb != null && sb.capacity() < 2048) { // Avoid keeping very large builders
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top