Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 94 for readBooleans (0.47 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

                isolate.identities.putInstance(id, fileCollection)
                fileCollection
            }
        }
    
        suspend fun ReadContext.decodeContents(): FileCollectionInternal = if (readBoolean()) {
            readNonNull<FileCollectionExecutionTimeValue>().toFileCollection(fileCollectionFactory)
        } else {
            fileCollectionFactory.resolving(
                readList().map { element ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

            }
        }
    
        private static class BooleanSerializer extends AbstractSerializer<Boolean> {
            @Override
            public Boolean read(Decoder decoder) throws Exception {
                return decoder.readBoolean();
            }
    
            @Override
            public void write(Encoder encoder, Boolean value) throws Exception {
                encoder.writeBoolean(value);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            file.send( new SmbComWrite( file.fid, (int)(newLength & 0xFFFFFFFFL), 0, tmp, 0, 0 ), rsp );
        }
        public void close() throws SmbException {
            file.close();
        }
    
        public final boolean readBoolean() throws SmbException {
            if((read( tmp, 0, 1 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return tmp[0] != (byte)0x00;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializer.java

                writeIndex.clear();
                readIndex.clear();
            }
    
            @Override
            public ImmutableAttributes read(Decoder decoder) throws IOException {
                boolean empty = decoder.readBoolean();
                if (empty) {
                    return ImmutableAttributes.EMPTY;
                }
                int idx = decoder.readSmallInt();
                ImmutableAttributes attributes;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                    KryoBackedDecoder decoder = new KryoBackedDecoder(new RandomAccessFileInputStream(dataFile));
                    while (decoder.getReadPosition() <= maxPos) {
                        boolean readStdout = decoder.readBoolean();
                        long readClassId = decoder.readSmallLong();
                        long readTestId = decoder.readSmallLong();
                        int readLength = decoder.readSmallInt();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      fun <T> withTypeHint(block: () -> T): T {
        typeHintStack.add(null)
        try {
          return block()
        } finally {
          typeHintStack.removeAt(typeHintStack.size - 1)
        }
      }
    
      fun readBoolean(): Boolean {
        if (bytesLeft != 1L) throw ProtocolException("unexpected length: $bytesLeft at $this")
        return source.readByte().toInt() != 0
      }
    
      fun readBigInteger(): BigInteger {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java

            }
    
            @Override
            public Include read(Decoder decoder) throws Exception {
                String value = decoder.readString();
                boolean isImport = decoder.readBoolean();
                IncludeType type = enumSerializer.read(decoder);
                int argsCount = decoder.readSmallInt();
                if (argsCount == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          name = "BOOLEAN",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 1L,
          codec =
            object : BasicDerAdapter.Codec<Boolean> {
              override fun decode(reader: DerReader): Boolean = reader.readBoolean()
    
              override fun encode(
                writer: DerWriter,
                value: Boolean,
              ) = writer.writeBoolean(value)
            },
        )
    
      val INTEGER_AS_LONG =
        BasicDerAdapter(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                undefined()
    
            override fun getInputStream(): InputStream =
                undefined()
    
            override fun readString(): String =
                undefined()
    
            override fun readBoolean(): Boolean =
                undefined()
    
            override fun readBytes(buffer: ByteArray?): Unit =
                undefined()
    
            override fun readBytes(buffer: ByteArray?, offset: Int, count: Int): Unit =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.skipBytes(n);
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public boolean readBoolean() {
          try {
            return input.readBoolean();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public byte readByte() {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top