Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for writeInt8 (0.12 sec)

  1. 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);
                }
            }
    
            public void add(BlockPointer pos, int 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectOutputStream.java

            Class<?> targetClass = desc.forClass();
            writeClass(targetClass);
        }
    
        @Override
        protected void annotateProxyClass(Class<?> cl) throws IOException {
            writeInt(cl.getInterfaces().length);
            for (Class<?> type : cl.getInterfaces()) {
                writeClass(type);
            }
        }
    
        private void writeClass(Class<?> targetClass) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedDecoderTest.groovy

        }
    
        InputStream encoded(String text) {
            def stream = new ByteArrayOutputStream()
            def encoder = new KryoBackedEncoder(stream)
            encoder.writeString(text)
            encoder.writeInt(12)
            encoder.flush()
            return new ByteArrayInputStream(stream.toByteArray())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractCollectionSerializer.java

                values.add(entrySerializer.read(decoder));
            }
            return values;
        }
    
        @Override
        public void write(Encoder encoder, C value) throws Exception {
            encoder.writeInt(value.size());
            for (T t : value) {
                entrySerializer.write(encoder, t);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top