Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readString (0.76 sec)

  1. 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: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    	b.off = end
    	b.lastRead = opRead
    	return line, err
    }
    
    // ReadString reads until the first occurrence of delim in the input,
    // returning a string containing the data up to and including the delimiter.
    // If ReadString encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often [io.EOF]).
    // ReadString returns err != nil if and only if the returned data does not end
    // in delim.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         * @throws DomTripException if there's an error parsing the XML
         */
        private static Document loadPom(Path pomPath) throws IOException, DomTripException {
            String content = Files.readString(pomPath);
            return new Parser().parse(content);
        }
    
        /**
         * Recursively discovers module POMs from the given parent POM.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                upgradeGoal.testExecuteWithTargetModel(context, "4.0.0");
    
                assertTrue(Files.exists(existingFile), "Existing file should be preserved");
                assertEquals("existing content", Files.readString(existingFile), "Existing content should be preserved");
            }
    
            @Test
            @DisplayName("should create .mvn directory for custom model versions")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    func TestReadString(t *testing.T) {
    	for _, test := range readBytesTests {
    		buf := NewBufferString(test.buffer)
    		var err error
    		for _, expected := range test.expected {
    			var s string
    			s, err = buf.ReadString(test.delim)
    			if s != expected {
    				t.Errorf("expected %q, got %q", expected, s)
    			}
    			if err != nil {
    				break
    			}
    		}
    		if err != test.err {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top