- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 242 for writelns (0.16 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/UserInputResumeEventSerializer.java
public class UserInputResumeEventSerializer implements Serializer<UserInputResumeEvent> { @Override public void write(Encoder encoder, UserInputResumeEvent event) throws Exception { encoder.writeLong(event.getTimestamp()); } @Override public UserInputResumeEvent read(Decoder decoder) throws Exception { return new UserInputResumeEvent(decoder.readLong()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 00:09:24 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
base.Fatalf("InitConst c op %v", c.Op()) } s := n.Linksym() switch u := c.Val(); u.Kind() { case constant.Bool: i := int64(obj.Bool2int(constant.BoolVal(u))) s.WriteInt(base.Ctxt, noff, wid, i) case constant.Int: s.WriteInt(base.Ctxt, noff, wid, ir.IntVal(c.Type(), u)) case constant.Float: f, _ := constant.Float64Val(u) switch c.Type().Kind() { case types.TFLOAT32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/internal/obj/data.go
} // 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: ctxt.Arch.ByteOrder.PutUint16(s.P[off:], uint16(i)) case 4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 24 14:38:53 UTC 2021 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/SelectOptionPromptEventSerializer.java
@Override public void write(Encoder encoder, SelectOptionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); optionsSerializer.write(encoder, value.getOptions()); encoder.writeSmallInt(value.getDefaultOption()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.8K bytes - Viewed (0) -
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) -
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) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/IntQuestionPromptEventSerializer.java
public class IntQuestionPromptEventSerializer implements Serializer<IntQuestionPromptEvent> { @Override public void write(Encoder encoder, IntQuestionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); encoder.writeSmallInt(value.getMinValue()); encoder.writeSmallInt(value.getDefaultValue()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.5K bytes - Viewed (0)