Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,122 for byte1 (0.09 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/stream/EncodedStream.java

                int byte1 = delegate.read();
                if (byte1 < 0) {
                    return -1;
                }
                int byte2 = delegate.read();
                if (byte2 < 0) {
                    throw new IOException("Unable to decode, expected 2 bytes but received only 1 byte. It seems the stream was not encoded correctly.");
                }
                return (hexToByte(byte1) << 4) | hexToByte(byte2);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java

                // maybe we could use a FilterReader instead of a FilterInputStream?
                int byte1 = this.in.read();
                int byte2 = this.in.read();
                int byte3 = this.in.read();
    
                if (byte1 == 239 && byte2 == 187 && byte3 == 191) {
                    // skip the UTF-8 BOM
                    this.in.mark(MARK);
                } else {
                    this.in.reset();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

                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++
              if (publicSuffixByteIndex == publicSuffixLength) break
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    	_               uint64    // 0xc0
    	St_res05        [16]uint8 // 0xc8
    	// end of version 2
    }
    
    type BpxFilestatus struct {
    	Oflag1 byte
    	Oflag2 byte
    	Oflag3 byte
    	Oflag4 byte
    }
    
    type BpxMode struct {
    	Ftype byte
    	Mode1 byte
    	Mode2 byte
    	Mode3 byte
    }
    
    // Thr attribute structure for extended attributes
    type Bpxyatt_t struct { // DSECT BPXYATT
    	Att_id           [4]uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Bytes.java

       * @param arrays zero or more {@code byte} arrays
       * @return a single array containing all the values from the source arrays, in order
       */
      public static byte[] concat(byte[]... arrays) {
        int length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[length];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

       * @param arrays zero or more {@code byte} arrays
       * @return a single array containing all the values from the source arrays, in order
       */
      public static byte[] concat(byte[]... arrays) {
        int length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[length];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

            def text1 = "some text"
            def bytes1 = text1.bytes
            def text2 = "more"
            def bytes2 = text2.bytes
    
            when:
            async {
                start {
                    def buffer = new byte[1024]
    
                    def nread = stream.read(buffer)
                    assert nread == bytes1.length
                    assert new String(buffer, 0, nread) == text1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/net/http/internal/chunked_test.go

    	w.Write(a)
    	w.Write(b)
    	w.Write(c)
    	w.Close()
    
    	readBuf := make([]byte, len(a)+len(b)+len(c)+1)
    	byter := bytes.NewReader(buf.Bytes())
    	bufr := bufio.NewReader(byter)
    	mallocs := testing.AllocsPerRun(100, func() {
    		byter.Seek(0, io.SeekStart)
    		bufr.Reset(byter)
    		r := NewChunkedReader(bufr)
    		n, err := io.ReadFull(r, readBuf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    	// 512 bytes (8 KiB / 512 bytes * 8 bytes-per-header = 128 bytes of overhead).
    	// On 32-bit platforms, this same point is the 256 byte size class
    	// (8 KiB / 256 bytes * 8 bytes-per-header = 256 bytes of overhead).
    	//
    	// Guaranteed to be exactly at a size class boundary. The reason this value is
    	// an exclusive minimum is subtle. Suppose we're allocating a 504-byte object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

        return new String(chars);
      }
    
      private static byte[] toByteArray(int... bytes) {
        byte[] realBytes = new byte[bytes.length];
        for (int i = 0; i < bytes.length; i++) {
          realBytes[i] = (byte) bytes[i];
        }
        return realBytes;
      }
    
      private static void assertWellFormed(int... bytes) {
        assertTrue(Utf8.isWellFormed(toByteArray(bytes)));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top