Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for writeInt8 (0.27 sec)

  1. src/cmd/compile/internal/staticdata/data.go

    func InitSlice(n *ir.Name, noff int64, lsym *obj.LSym, lencap int64) {
    	s := n.Linksym()
    	s.WriteAddr(base.Ctxt, noff, types.PtrSize, lsym, 0)
    	s.WriteInt(base.Ctxt, noff+types.SliceLenOffset, types.PtrSize, lencap)
    	s.WriteInt(base.Ctxt, noff+types.SliceCapOffset, types.PtrSize, lencap)
    }
    
    func InitSliceBytes(nam *ir.Name, off int64, s string) {
    	if nam.Op() != ir.ONAME {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 16
    		if ctxt.Arch.ByteOrder == binary.LittleEndian {
    			s.WriteInt(ctxt, 0, 8, lo)
    			s.WriteInt(ctxt, 8, 8, hi)
    		} else {
    			s.WriteInt(ctxt, 0, 8, hi)
    			s.WriteInt(ctxt, 8, 8, lo)
    		}
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        val totalRuleBytes: Int,
        val totalExceptionRuleBytes: Int,
      ) {
        fun writeOut(sink: BufferedSink) {
          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            var someInt: Int? = null
        ) : Serializable
    
        open class ExternalizableBean(var value: Int = 0) : Externalizable {
    
            override fun writeExternal(out: ObjectOutput) {
                out.writeInt(value)
            }
    
            override fun readExternal(`in`: ObjectInput) {
                value = `in`.readInt()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top