Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for writeInt8 (0.22 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.queryFlags, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if ( this.inputBuffer == null ) {
                SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java

            encoder.writeInt(array.length);
            writeInts(encoder, array);
        }
    
        public static void writeInts(Encoder encoder, int[] array) throws IOException {
            for (int e : array) {
                encoder.writeInt(e);
            }
        }
    
        public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException {
            encoder.writeInt(array.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            int fnLengthOffset = dstIndex + 2;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
    
            if ( this.fileName == null ) {
                SMBUtil.writeInt2(0, dst, fnOffsetOffset);
                SMBUtil.writeInt2(0, dst, fnLengthOffset);
            }
            else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

            when:
            def stream = output.start(0)
            stream.writeInt(123)
            stream.writeByte(12)
            output.done()
    
            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 123
            file.readByte() == 12
    
            when:
            stream = output.start(5)
            stream.writeInt(321)
            output.done()
    
            then:
            file.length() == 9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    func (z LockResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Code"
    	err = en.Append(0x82, 0xa4, 0x43, 0x6f, 0x64, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint8(uint8(z.Code))
    	if err != nil {
    		err = msgp.WrapError(err, "Code")
    		return
    	}
    	// write "Err"
    	err = en.Append(0xa3, 0x45, 0x72, 0x72)
    	if err != nil {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/funcinfo.go

    }
    
    func (a *FuncInfo) Write(w *bytes.Buffer) {
    	writeUint8 := func(x uint8) {
    		w.WriteByte(x)
    	}
    	var b [4]byte
    	writeUint32 := func(x uint32) {
    		binary.LittleEndian.PutUint32(b[:], x)
    		w.Write(b[:])
    	}
    
    	writeUint32(a.Args)
    	writeUint32(a.Locals)
    	writeUint8(uint8(a.FuncID))
    	writeUint8(uint8(a.FuncFlag))
    	writeUint8(0) // pad to uint32 boundary
    	writeUint8(0)
    	writeUint32(uint32(a.StartLine))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java

        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
        public void writeSmallInt(int value) {
            output.writeInt(value, true);
        }
    
        @Override
        public void writeShort(short value) throws IOException {
            output.writeShort(value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteInputTest.groovy

        }
    
        def cleanup() {
            file.close()
        }
    
        def "can reuse to read from multiple locations in file"() {
            given:
            file.seek(0)
            file.writeInt(123)
            file.writeInt(321)
            file.writeInt(456)
    
            expect:
            def stream = input.start(0)
            stream.readInt() == 123
            stream.readInt() == 321
            input.done()
    
            def stream2 = input.start(4)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        }
    
        override fun defaultWriteObject() = record {
            beanStateWriterFor(beanType).run {
                writeStateOf(bean)
            }
        }
    
        override fun writeInt(`val`: Int) = record {
            writeInt(`val`)
        }
    
        override fun writeUTF(str: String) = record {
            writeString(str)
        }
    
        override fun writeObjectOverride(obj: Any?) = record {
            write(obj)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java

        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
        public void writeSmallInt(int value) {
            output.writeInt(value, true);
        }
    
        @Override
        public void writeShort(short value) throws IOException {
            output.writeShort(value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top