Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for readbyte (0.23 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/StringDeduplicatingDecoder.java

            }
            return str;
        }
    
        @Override
        public byte readByte() throws EOFException, IOException {
            return delegate.readByte();
        }
    
        @Override
        public void readBytes(byte[] buffer) throws EOFException, IOException {
            delegate.readBytes(buffer);
        }
    
        @Override
        public void readBytes(byte[] buffer, int offset, int count) throws EOFException, IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:24:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializer.java

            }
        }
    
        @Override
        public HierarchicalClassLoaderStructure read(Decoder decoder) throws Exception {
            byte parentTag = decoder.readByte();
            HierarchicalClassLoaderStructure parent;
            switch (parentTag) {
                case ROOT:
                    parent = null;
                    break;
                case HAS_PARENT:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataCacheEntrySerializer.java

            }
        }
    
        @Override
        public ModuleMetadataCacheEntry read(Decoder decoder) throws Exception {
            byte type = decoder.readByte();
            switch (type) {
                case ModuleMetadataCacheEntry.TYPE_MISSING:
                    long createTimestamp = decoder.readLong();
                    return new MissingModuleCacheEntry(createTimestamp);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
            }
    
            else -> sourceCodePoint0
          }
    
        skipWhitespace()
        if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
        // "valid" or "mapped"
        skipWhitespace()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      fun writeObjectIdentifier(s: String) {
        val utf8 = Buffer().writeUtf8(s)
        val v1 = utf8.readDecimalLong()
        require(utf8.readByte() == '.'.code.toByte())
        val v2 = utf8.readDecimalLong()
        writeVariableLengthLong(v1 * 40 + v2)
    
        while (!utf8.exhausted()) {
          require(utf8.readByte() == '.'.code.toByte())
          val vN = utf8.readDecimalLong()
          writeVariableLengthLong(vN)
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java

    @Immutable
    public class HashCodeSerializer extends AbstractSerializer<HashCode> {
        @Override
        public HashCode read(Decoder decoder) throws IOException {
            byte hashSize = decoder.readByte();
            byte[] hash = new byte[hashSize];
            decoder.readBytes(hash);
            return HashCode.fromBytes(hash);
        }
    
        @Override
        public void write(Encoder encoder, HashCode value) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/internal/trace/raw/reader.go

    func (r *Reader) Version() version.Version {
    	return r.v
    }
    
    // ReadEvent reads and returns the next trace event in the byte stream.
    func (r *Reader) ReadEvent() (Event, error) {
    	evb, err := r.r.ReadByte()
    	if err == io.EOF {
    		return Event{}, io.EOF
    	}
    	if err != nil {
    		return Event{}, err
    	}
    	if int(evb) >= len(r.specs) || evb == 0 {
    		return Event{}, fmt.Errorf("invalid event type: %d", evb)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
        public void readBytes(byte[] buffer, int offset, int count) throws EOFException {
            try {
                input.readBytes(buffer, offset, count);
            } catch (KryoException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

                assert str.readByte() == 3
                str.readLong()
                if (dirty) {
                    assert str.readLong() == 0
                } else {
                    assert str.readLong() != 0
                }
                // info version + port, lock-id, pid, operation-name
                assert str.readByte() == 3
                assert str.readInt() == 34
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
        public void readBytes(byte[] buffer, int offset, int count) throws EOFException {
            try {
                input.readBytes(buffer, offset, count);
            } catch (KryoException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top