Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for readAsString (0.43 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassAnalysis.java

                this.interner = interner;
            }
    
            @Override
            public ClassAnalysis read(Decoder decoder) throws Exception {
                String className = interner.intern(decoder.readString());
                String dependencyToAllReason = decoder.readNullableString();
                Set<String> privateClasses = stringSetSerializer.read(decoder);
                Set<String> accessibleClasses = stringSetSerializer.read(decoder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

        }
    
        @Override
        public boolean readBoolean() throws EOFException, IOException {
            return inputStream.readBoolean();
        }
    
        @Override
        public String readString() throws EOFException, IOException {
            return inputStream.readUTF();
        }
    
        @Override
        public byte readByte() throws IOException {
            return (byte) (inputStream.readByte() & 0xff);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/go/build/read.go

    	if !isIdent(c) {
    		r.syntaxError()
    		return
    	}
    	for isIdent(r.peekByte(false)) {
    		r.peek = 0
    	}
    }
    
    // readString reads a quoted string literal from the input.
    // If an identifier is not present, readString records a syntax error.
    func (r *importReader) readString() {
    	switch r.nextByte(true) {
    	case '`':
    		for r.err == nil {
    			if r.nextByte(false) == '`' {
    				break
    			}
    			if r.eof {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

        }
    }
    
    
    fun Decoder.readStrings(): List<String> =
        readCollectionInto({ size -> ArrayList(size) }) {
            readString()
        }
    
    
    fun Decoder.readStringsSet(): Set<String> =
        readCollectionInto({ size -> LinkedHashSet(size) }) {
            readString()
        }
    
    
    inline fun <T> Encoder.writeCollection(collection: Collection<T>, writeElement: (T) -> Unit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            withGradleIsolate(rootBuild.gradle, userTypesCodec) {
                val identityPath = Path.path(readString())
                val hasProjects = readBoolean()
                if (hasProjects) {
                    val rootProjectName = readString()
                    val projects: List<ProjectWithNoWork> = readList().uncheckedCast()
                    BuildWithNoWork(identityPath, rootProjectName, projects)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                )
              } else if (gzippedLength != null) {
                logger.log("--> END ${request.method} (${buffer.size}-byte, $gzippedLength-gzipped-byte body)")
              } else {
                logger.log(buffer.readString(charset))
                logger.log("--> END ${request.method} (${requestBody.contentLength()}-byte body)")
              }
            }
          }
    
          val startNs = System.nanoTime()
          val response: Response
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (1)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt

                val duplicatesStrategy = readEnum<DuplicatesStrategy>()
                val includeEmptyDirs = readBoolean()
                val isCaseSensitive = readBoolean()
                val filteringCharset = readString()
                val dirMode = readNullableSmallInt()
                val fileMode = readNullableSmallInt()
                val actions = readList().uncheckedCast<List<Action<FileCopyDetails>>>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/DependentSetSerializer.java

            HierarchicalNameSerializer nameSerializer = hierarchicalNameSerializerSupplier.get();
            byte b = decoder.readByte();
            if (b == 0) {
                return DependentsSet.dependencyToAll(decoder.readString());
            }
    
            ImmutableSet.Builder<String> privateBuilder = ImmutableSet.builder();
            int count = decoder.readSmallInt();
            for (int i = 0; i < count; i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 24 12:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/compress/gzip/gzip_test.go

    func TestLatin1(t *testing.T) {
    	latin1 := []byte{0xc4, 'u', 0xdf, 'e', 'r', 'u', 'n', 'g', 0}
    	utf8 := "Äußerung"
    	z := Reader{r: bufio.NewReader(bytes.NewReader(latin1))}
    	s, err := z.readString()
    	if err != nil {
    		t.Fatalf("readString: %v", err)
    	}
    	if s != utf8 {
    		t.Fatalf("read latin-1: got %q, want %q", s, utf8)
    	}
    
    	buf := bytes.NewBuffer(make([]byte, 0, len(latin1)))
    	c := Writer{w: buf}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:10:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HierarchicalNameSerializer.java

            return name;
        }
    
        private String readFirstOccurrenceOfName(Decoder decoder) throws IOException {
            byte separator = decoder.readByte();
            if (separator == 0) {
                return decoder.readString();
            } else {
                String parent = readName(decoder);
                String child = readName(decoder);
                return parent + (char) (separator & 0xFF) + child;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top