Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 158 for 0xFF (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch( sbuf[0] & 0xFF ) {
                    case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                        if( log.level >= 4 )
                            log.println( "session established ok with " + address );
                        return;
                    case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                        int errorCode = (int)( in.read() & 0xFF );
                        switch (errorCode) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            fileType = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            deviceState = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            directory = ( buffer[bufferIndex++] & 0xFF ) > 0;
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

              if (expectDot) {
                byte0 = '.'.code
                expectDot = false
              } else {
                byte0 = labels[currentLabelIndex][currentLabelByteIndex] and 0xff
              }
    
              val byte1 = this[mid + publicSuffixByteIndex] and 0xff
    
              compareResult = byte0 - byte1
              if (compareResult != 0) break
    
              publicSuffixByteIndex++
              currentLabelByteIndex++
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SecurityBlob.java

         * 
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString () {
            String ret = "";
            for ( int i = 0; i < this.b.length; i++ ) {
                int n = this.b[ i ] & 0xff;
                if ( n <= 0x0f ) {
                    ret += "0";
                }
                ret += Integer.toHexString(n);
            }
            return ret;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        require(streamId and 0x80000000.toInt() == 0) { "reserved bit set: $streamId" }
        sink.writeMedium(length)
        sink.writeByte(type and 0xff)
        sink.writeByte(flags and 0xff)
        sink.writeInt(streamId and 0x7fffffff)
      }
    
      @Throws(IOException::class)
      override fun close() {
        this.withLock {
          closed = true
          sink.close()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    )
    
    type exprTest struct {
    	input  string
    	output int64
    	atEOF  bool
    }
    
    var exprTests = []exprTest{
    	// Simple
    	{"0", 0, true},
    	{"3", 3, true},
    	{"070", 8 * 7, true},
    	{"0x0f", 15, true},
    	{"0xFF", 255, true},
    	{"9223372036854775807", 9223372036854775807, true}, // max int64
    	// Unary
    	{"-0", 0, true},
    	{"~0", -1, true},
    	{"~0*0", 0, true},
    	{"+3", 3, true},
    	{"-3", -3, true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
                SIP_WITH_KEY.hashBytes(col1),
                SIP_WITH_KEY.hashBytes(col2),
                SIP_WITH_KEY.hashBytes(col3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top