Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 212 for 0xff (0.04 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. 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)
  3. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        public synchronized int read() throws IOException {
            if( read( tmp, 0, 1 ) < 0 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
        public synchronized int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
        /* This method will not return until len bytes have been read
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. cmd/untar.go

    	formatZstd
    	formatLZ4
    	formatS2
    	formatBZ2
    )
    
    var magicHeaders = []struct {
    	header []byte
    	f      format
    }{
    	{
    		header: []byte{0x1f, 0x8b, 8},
    		f:      formatGzip,
    	},
    	{
    		// Zstd default header.
    		header: []byte{0x28, 0xb5, 0x2f, 0xfd},
    		f:      formatZstd,
    	},
    	{
    		// Zstd skippable frame header.
    		header: []byte{0x2a, 0x4d, 0x18},
    		f:      formatZstd,
    	},
    	{
    		// LZ4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K 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/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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

            buf.append(Integer.toHexString(i >> 24 & 0xff));
            buf.append(Integer.toHexString(i >> 16 & 0xff));
            buf.append(Integer.toHexString(i >> 8 & 0xff));
            buf.append(Integer.toHexString(i & 0xff));
        }
    
        /**
         * _記法をキャメル記法に変換します。
         * <p>
         * 次のように使います.
         * </p>
         *
         * <pre>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top