Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 212 for 0xff (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
        isFinalFrame = b0 and B0_FLAG_FIN != 0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SecurityBlob.java

         */
        @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)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex += 2;
            if ( this.dialectIndex > 10 ) {
                return bufferIndex - start;
            }
            this.server.securityMode = buffer[ bufferIndex++ ] & 0xFF;
            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = ( this.server.securityMode & 0x02 ) == 0x02;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    public class NdrShort extends NdrObject {
    
        public int value;
    
        public NdrShort(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_short();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

     */
    
    package jcifs.dcerpc.ndr;
    
    
    @SuppressWarnings ( "javadoc" )
    public class NdrShort extends NdrObject {
    
        public int value;
    
    
        public NdrShort ( int value ) {
            this.value = value & 0xFF;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_short(this.value);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
          return null;
        }
        String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff));
        String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff));
        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            }
            final byte[] digest = msgDigest.digest();
    
            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
                } else {
                    buffer.append(tmp);
                }
            }
            return buffer.toString();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MIEName.java

                if ( TOK_ID[ i ] != buf[ i ] ) {
                    throw new IllegalArgumentException();
                }
            }
            // MECH_OID_LEN
            len = 0xff00 & ( buf[ i++ ] << 8 );
            len |= 0xff & buf[ i++ ];
    
            // MECH_OID
            if ( buf.length < i + len ) {
                throw new IllegalArgumentException();
            }
            byte[] bo = new byte[len];
            System.arraycopy(buf, i, bo, 0, len);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top