Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for writelns (0.13 sec)

  1. src/runtime/rwmutex.go

    	rLock      mutex    // protects readers, readerPass, writer
    	readers    muintptr // list of pending readers
    	readerPass uint32   // number of pending readers to skip readers list
    
    	wLock  mutex    // serializes writers
    	writer muintptr // pending writer waiting for completing readers
    
    	readerCount atomic.Int32 // number of pending readers
    	readerWait  atomic.Int32 // number of departing readers
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

                outputStream.writeLong(nextBlock.getPos());
                outputStream.writeInt(largestInNextBlock);
                outputStream.writeInt(entries.size());
                for (FreeListEntry entry : entries) {
                    outputStream.writeLong(entry.pos.getPos());
                    outputStream.writeInt(entry.size);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/TextQuestionPromptEventSerializer.java

    public class TextQuestionPromptEventSerializer implements Serializer<TextQuestionPromptEvent> {
        @Override
        public void write(Encoder encoder, TextQuestionPromptEvent value) throws Exception {
            encoder.writeLong(value.getTimestamp());
            encoder.writeString(value.getQuestion());
            encoder.writeString(value.getDefaultValue());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/YesNoQuestionPromptEventSerializer.java

    public class YesNoQuestionPromptEventSerializer implements Serializer<YesNoQuestionPromptEvent> {
        @Override
        public void write(Encoder encoder, YesNoQuestionPromptEvent value) throws Exception {
            encoder.writeLong(value.getTimestamp());
            encoder.writeString(value.getQuestion());
        }
    
        @Override
        public YesNoQuestionPromptEvent read(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/DurationCodec.kt

        override suspend fun WriteContext.encode(value: Duration) {
            // Do not use the ISO-8601 format for serialization
            // to work around https://bugs.openjdk.java.net/browse/JDK-8054978
            // on Java 8
            writeLong(value.seconds)
            writeSmallInt(value.nano)
        }
    
        override suspend fun ReadContext.decode(): Duration =
            Duration.ofSeconds(readLong(), readSmallInt().toLong())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/BooleanQuestionPromptEventSerializer.java

    public class BooleanQuestionPromptEventSerializer implements Serializer<BooleanQuestionPromptEvent> {
        @Override
        public void write(Encoder encoder, BooleanQuestionPromptEvent value) throws Exception {
            encoder.writeLong(value.getTimestamp());
            encoder.writeString(value.getQuestion());
            encoder.writeBoolean(value.getDefaultValue());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top