Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 195 for readType (0.15 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

                throw (EOFException) new EOFException().initCause(e);
            }
            throw e;
        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/InterHubMessageSerializer.java

                this.decoder = decoder;
                this.payloadReader = payloadReader;
            }
    
            @Override
            public InterHubMessage read() throws Exception {
                switch (decoder.readByte()) {
                    case CHANNEL_MESSAGE:
                        ChannelIdentifier channelId = readChannelId();
                        Object payload = payloadReader.read();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

                throw (EOFException) new EOFException().initCause(e);
            }
            throw e;
        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm_test.go

    	t.Run("linux/AMD64", func(t *testing.T) {
    		ctxtAMD64 := obj.Linknew(&Linkamd64)
    		ctxtAMD64.Headtype = objabi.Hlinux // See #32028
    		runTest(t, ctxtAMD64, oclassTestsAMD64)
    	})
    
    	t.Run("linux/386", func(t *testing.T) {
    		ctxt386 := obj.Linknew(&Link386)
    		ctxt386.Headtype = objabi.Hlinux // See #32028
    		runTest(t, ctxt386, oclassTests386)
    	})
    }
    
    func TestRegisterListEncDec(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectionDescriptorSerializer.java

        }
    
        @Override
        public ComponentSelectionDescriptor read(Decoder decoder) throws IOException {
            ComponentSelectionCause cause = ComponentSelectionCause.values()[decoder.readByte()];
            String desc = decoder.readString();
            String defaultReason = cause.getDefaultReason();
            if (desc.equals(defaultReason)) {
                return componentSelectionDescriptorFactory.newDescriptor(cause);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/utils/ClassAnalysisUtils.java

                int itemOffset = reader.getItem(i);
                // see https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.4
                if (itemOffset > 0 && reader.readByte(itemOffset - 1) == 7) {
                    // A CONSTANT_Class entry, read the class descriptor
                    String classDescriptor = reader.readUTF8(itemOffset, charBuffer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:49:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/image/jpeg/reader.go

    	d.bytes.nUnreadable = 0
    	if d.bits.n >= 8 {
    		d.bits.a >>= 8
    		d.bits.n -= 8
    		d.bits.m >>= 8
    	}
    }
    
    // readByte returns the next byte, whether buffered or not buffered. It does
    // not care about byte stuffing.
    func (d *decoder) readByte() (x byte, err error) {
    	for d.bytes.i == d.bytes.j {
    		if err = d.fill(); err != nil {
    			return 0, err
    		}
    	}
    	x = d.bytes.buf[d.bytes.i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. src/io/io.go

    	WriteAt(p []byte, off int64) (n int, err error)
    }
    
    // ByteReader is the interface that wraps the ReadByte method.
    //
    // ReadByte reads and returns the next byte from the input or
    // any error encountered. If ReadByte returns an error, no input
    // byte was consumed, and the returned byte value is undefined.
    //
    // ReadByte provides an efficient interface for byte-at-time
    // processing. A [Reader] that does not implement  ByteReader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

            return EntryType.values()[decoder.readByte()];
        }
    
        private static void writeEntryType(Encoder encoder, EntryType type) throws IOException {
            encoder.writeByte((byte) type.ordinal());
        }
    
        private static FileMetadata.AccessType readAccessType(Decoder decoder) throws IOException {
            return FileMetadata.AccessType.values()[decoder.readByte()];
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/cmd/internal/archive/archive.go

    			r.error(err)
    		}
    	}
    	return b, err
    }
    
    // readByte reads and returns a byte from the input file.
    // On I/O error or EOF, it records the error but returns byte 0.
    // A sequence of 0 bytes will eventually terminate any
    // parsing state in the object file. In particular, it ends the
    // reading of a varint.
    func (r *objReader) readByte() byte {
    	if r.err != nil {
    		return 0
    	}
    	if r.offset >= r.limit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top