Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for mid2 (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

        /**
         * @param config
         * @param mid
         * @param asyncId
         */
        public Smb2CancelRequest ( Configuration config, long mid, long asyncId ) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if ( asyncId != 0 ) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        abstract int readBytesWireFormat( byte[] buffer, int bufferIndex );
    
        public int hashCode() {
            return mid;
        }
        public boolean equals( Object obj ) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock)obj).mid == mid;
        }
        public String toString() {
            String c;
            switch( command ) {
                case SMB_COM_NEGOTIATE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    socket.setSoTimeout( SO_TIMEOUT );
    
                    out = socket.getOutputStream();
                    in = socket.getInputStream();
                }
    
                if (++mid == 32000) mid = 1;
                NEGOTIATE_REQUEST.mid = mid;
                int n = NEGOTIATE_REQUEST.encode( sbuf, 4 );
                Encdec.enc_uint32be( n & 0xFFFF, sbuf, 0 ); /* 4 byte ssn msg header */
    
                if (log.level >= 4) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java

     * @author mbechler
     *
     */
    public class SmbComNtCancel extends ServerMessageBlock {
    
        /**
         * @param config
         */
        protected SmbComNtCancel ( Configuration config, int mid ) {
            super(config, SMB_COM_NT_CANCEL);
            setMid(mid);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#isCancel()
         */
        @Override
        public boolean isCancel () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Response.java

    
        /**
         * @return status code
         */
        int getErrorCode ();
    
    
        /**
         * @param k
         */
        void setMid ( long k );
    
    
        /**
         * @return mid
         */
        long getMid ();
    
    
        /**
         * 
         * @param buffer
         * @param i
         * @param size
         * @return whether signature verification is successful
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
                this.nativeOs = System.getProperty("os.name");
            }
    
            if ( this.flags2 == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            Smb2SigningDigest dgst = getDigest();
            if ( dgst != null && !isAsync() && ( getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_OK ) ) {
                // TODO: SMB2 - do we need to check the MIDs?
                // We only read what we were waiting for, so first guess would be no.
                boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
                return !verify;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx.errorCode = errorCode;
                andx.flags = flags;
                andx.flags2 = flags2;
                andx.tid = tid;
                andx.pid = pid;
                andx.uid = uid;
                andx.mid = mid;
                andx.useUnicode = useUnicode;
    
                if( andx instanceof AndXServerMessageBlock ) {
                    bufferIndex += ((AndXServerMessageBlock)andx).readAndXWireFormat(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    	case debugIsOutgoingClosed:
    		// params: muxID uint64, isClosed func(bool)
    		muxID := args[0].(uint64)
    		resp := args[1].(func(b bool))
    		mid, ok := c.outgoing.Load(muxID)
    		if !ok || mid == nil {
    			resp(true)
    			return
    		}
    		mid.respMu.Lock()
    		resp(mid.closed)
    		mid.respMu.Unlock()
    	case debugBlockInboundMessages:
    		c.connMu.Lock()
    		block := (<-chan struct{})(args[0].(chan struct{}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              swap(array, from, to);
            }
            return array[k];
          } else {
            int midIndex = (from + to) >>> 1;
            // Choose the median of the elements at the from, to and mid indexes,
            // and rearrange so that array[from]<=array[from+1], and
            // array[to] => array[from + 1].
    
            swap(array, midIndex, from + 1);
    
            if (array[from] > array[to]) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
Back to top