Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 223 for writeInt8 (0.33 sec)

  1. src/cmd/internal/obj/data.go

    	s.prepwrite(ctxt, off, 8)
    	ctxt.Arch.ByteOrder.PutUint64(s.P[off:], math.Float64bits(f))
    }
    
    // WriteInt writes an integer i of size siz into s at offset off.
    func (s *LSym) WriteInt(ctxt *Link, off int64, siz int, i int64) {
    	s.prepwrite(ctxt, off, siz)
    	switch siz {
    	default:
    		ctxt.Diag("WriteInt: bad integer size: %d", siz)
    	case 1:
    		s.P[off] = byte(i)
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 14:38:53 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  2. internal/grid/grid_types_msgp_test.go

    func (z testRequest) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Num"
    	err = en.Append(0x82, 0xa3, 0x4e, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Num)
    	if err != nil {
    		err = msgp.WrapError(err, "Num")
    		return
    	}
    	// write "String"
    	err = en.Append(0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67)
    	if err != nil {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComRename.java

            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FileBackedBlockStore.java

                BlockPayload payload = getPayload();
    
                // Write header
                outputStream.writeByte(payload.getType());
                outputStream.writeInt(payloadSize);
                long finalSize = pos + HEADER_SIZE + TAIL_SIZE + payloadSize;
    
                // Write body
                payload.write(outputStream);
    
                // Write count
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/OrdinalNodeCodec.kt

    
    class OrdinalNodeCodec(
        private val ordinalGroups: OrdinalGroupFactory
    ) : Codec<OrdinalNode> {
        override suspend fun WriteContext.encode(value: OrdinalNode) {
            writeEnum(value.type)
            writeInt(value.ordinalGroup.ordinal)
        }
    
        override suspend fun ReadContext.decode(): OrdinalNode {
            val ordinalType = readEnum<OrdinalNode.Type>()
            val ordinal = readInt()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

            super(config, SMB_COM_FIND_CLOSE2);
            this.sid = sid;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for ( SrvCopychunk chk : this.chunks ) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoSerializer.java

        public byte getVersion() {
            return 3;
        }
    
        public void write(DataOutput dataOutput, LockInfo lockInfo) throws IOException {
            dataOutput.writeInt(lockInfo.port);
            dataOutput.writeLong(lockInfo.lockId);
            dataOutput.writeUTF(trimIfNecessary(lockInfo.pid));
            dataOutput.writeUTF(trimIfNecessary(lockInfo.operation));
        }
    
    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/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

                if (expectedContent == null) {
                    encoder.writeInt(-1);
                } else {
                    encoder.writeInt(expectedContent.length);
                    encoder.writeBytes(expectedContent);
                }
                byte[] actualContent = value.getDetails().getActualContent();
                if (actualContent == null) {
                    encoder.writeInt(-1);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/RegexpPatternCodec.kt

    import java.util.regex.Pattern
    
    
    object RegexpPatternCodec : Codec<Pattern> {
        override suspend fun WriteContext.encode(value: Pattern) {
            writeString(value.pattern())
            writeInt(value.flags())
        }
    
        override suspend fun ReadContext.decode(): Pattern? {
            return Pattern.compile(readString(), readInt())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top