Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dataCount (0.19 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            }
    
            if ( this.dataCount > 0 ) {
                System.arraycopy(this.txn_buf, this.bufDataOffset, dst, this.headerStart + this.dataOffset, this.dataCount);
                this.bufDataOffset += this.dataCount;
                end = Math.max(end, this.headerStart + this.dataOffset + this.dataCount);
            }
    
            return end - start;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                bufferIndex += parameterCount;
            }
            if( dataCount > 0 ) {
                bufferIndex += pad1 = dataOffset - ( bufferIndex - headerStart );
                System.arraycopy( buffer, bufferIndex, txn_buf,
                                bufDataStart + dataDisplacement, dataCount );
                bufferIndex += dataCount;
            }
    
            /* Check to see if the entire transaction has been
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( parameterDisplacement, dst, dstIndex );
                dstIndex += 4;
            }
            writeInt4( dataCount, dst, dstIndex );
            dstIndex += 4;
            writeInt4(( dataCount == 0 ? 0 : dataOffset ), dst, dstIndex );
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( dataDisplacement, dst, dstIndex );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
    
        /**
         * @return the dataCount
         */
        protected final int getDataCount () {
            return this.dataCount;
        }
    
    
        /**
         * @param dataCount
         *            the dataCount to set
         */
        public final void setDataCount ( int dataCount ) {
            this.dataCount = dataCount;
        }
    
    
        /**
         * @param buffer
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dstIndex += parameterCount;
            }
    
            if( dataCount > 0 ) {
                p = pad1;
                while( p-- > 0 ) {
                    dst[dstIndex++] = (byte)0x00;       // Pad1
                }
                System.arraycopy( txn_buf, bufDataOffset, dst, dstIndex, dataCount );
                bufDataOffset += dataCount;
                dstIndex += dataCount;
            }
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  6. cmd/erasure.go

    	return nil
    }
    
    // defaultWQuorum write quorum based on setDriveCount and defaultParityCount
    func (er erasureObjects) defaultWQuorum() int {
    	dataCount := er.setDriveCount - er.defaultParityCount
    	if dataCount == er.defaultParityCount {
    		return dataCount + 1
    	}
    	return dataCount
    }
    
    func diskErrToDriveState(err error) (state string) {
    	switch {
    	case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded):
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                bufferIndex += e.nextEntryOffset;
            }
    
            /* last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
    
            //return bufferIndex - start;
    
            return dataCount;
        }
        public String toString() {
            String c;
            if( subCommand == SmbComTransaction.TRANS2_FIND_FIRST2 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

                SMBUtil.writeInt4(this.parameterDisplacement, dst, dstIndex);
                dstIndex += 4;
            }
            SMBUtil.writeInt4(this.dataCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4( ( this.dataCount == 0 ? 0 : this.dataOffset ), dst, dstIndex);
            dstIndex += 4;
            if ( this.getCommand() == SMB_COM_NT_TRANSACT_SECONDARY ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                bufferIndex += e.getNextEntryOffset();
            }
    
            setResults(results);
    
            /*
             * last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
            return getDataCount();
        }
    
    
        @Override
        public String toString () {
            String c;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            parameterOffset = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            parameterDisplacement = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            dataCount = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            dataOffset = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            dataDisplacement = readInt4( buffer, bufferIndex );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
Back to top