Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for 0xFF (0.02 sec)

  1. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

      @Test
      fun sourceSeesBom() {
        val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
        val source = body.source()
        assertThat(source.readByte() and 0xff).isEqualTo(0xef)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbb)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    		0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff,
    		0xff, 0xff, 0xff, 0x31, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x50, 0x4b, 0x06, 0x07, 0x00,
    		0x00, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x50,
    		0x4b, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0xff,
    		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val tagClass = tagAndClass and 0b1100_0000
        val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000
        val tag =
          when (val tag0 = tagAndClass and 0b0001_1111) {
            0b0001_1111 -> readVariableLengthLong()
            else -> tag0.toLong()
          }
    
        // Read the length.
        val length0 = source.readByte().toInt() and 0xff
        val length =
          when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/Base64Util.java

        }
    
        private static void encode(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
    
            final int i = ((inData[inIndex] & 0xff) << 16) + ((inData[inIndex + 1] & 0xff) << 8) + (inData[inIndex + 2] & 0xff);
            outData[outIndex] = ENCODE_TABLE[i >> 18];
            outData[outIndex + 1] = ENCODE_TABLE[i >> 12 & 0x3f];
            outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f];
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    			// Copied from golang.org/x/sys/unix/dev_dragonfly.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "freebsd":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
              | ((bytes[3] & 0xFF) << 24);
        }
    
        @Override
        public long asLong() {
          checkState(
              bytes.length >= 8,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NodeStatusResponse.java

        int readRDataWireFormat ( byte[] src, int srcIndex ) {
            int start = srcIndex;
            this.numberOfNames = src[ srcIndex ] & 0xFF;
            int namesLength = this.numberOfNames * 18;
            int statsLength = this.rDataLength - namesLength - 1;
            this.numberOfNames = src[ srcIndex++ ] & 0xFF;
            // gotta read the mac first so we can populate addressArray with it
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            }
    
            off -= 4;
    
            b[off + 0] = (byte)SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte)0x00; 
            b[off + 2] = (byte)(( len >> 8 ) & 0xFF ); 
            b[off + 3] = (byte)( len & 0xFF ); 
    
            out.write( b, off, 4 + len );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top