Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,541 for bytes (0.07 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0.1 kB", format.format(_50_bytes, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(_50_bytes, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(_50_bytes, ScaleUnit.GIGABYTE));
    
            long _999_bytes = 999L;
            assertEquals("999 B", format.format(_999_bytes));
            assertEquals("999 B", format.format(_999_bytes, ScaleUnit.BYTE));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. internal/grid/muxserver.go

    		if debugPrint {
    			fmt.Println("connected stream mux:", ack.MuxID)
    		}
    	}()
    
    	// Data inbound to the handler
    	var handlerIn chan []byte
    	if inboundCap > 0 {
    		m.inbound = make(chan []byte, inboundCap)
    		handlerIn = make(chan []byte, 1)
    		go func(inbound chan []byte) {
    			wg.Wait()
    			defer xioutil.SafeClose(handlerIn)
    			m.handleInbound(c, inbound, handlerIn)
    		}(m.inbound)
    	}
    	// Fill outbound block.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

     *
     */
    public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
    
        private byte[] fileId;
    
    
        /**
         * @param config
         * @param fileId
         */
        public Smb2FlushRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_FLUSH);
            this.fileId = fileId;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusResponse.java

            this.macAddress = new byte[6];
        }
    
    
        @Override
        int writeBodyWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        int readBodyWireFormat ( byte[] src, int srcIndex ) {
            return readResourceRecordWireFormat(src, srcIndex);
        }
    
    
        @Override
        int writeRDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        }
    
    
        @Override
        public long getSize () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

    //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes( "ASCII" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        private int fid,
            count,
            offset,
            remaining,
            off;
        private byte[] b;
    
        SmbComWrite() {
            super();
            command = SMB_COM_WRITE;
        }
        SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            super();
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmSsp.java

                    Type3Message type3 = new Type3Message(src);
                    byte[] lmResponse = type3.getLMResponse();
                    if ( lmResponse == null )
                        lmResponse = new byte[0];
                    byte[] ntResponse = type3.getNTResponse();
                    if ( ntResponse == null )
                        ntResponse = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
    
        /**
         * @return the blob
         */
        public final byte[] getBlob () {
            return this.blob;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
Back to top