Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 801 for out (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

        val c = this[i]
        if (c == '%' || c == '+' && plusIsSpace) {
          // Slow path: the character at i requires decoding!
          val out = Buffer()
          out.writeUtf8(this, pos, i)
          out.writePercentDecoded(this, pos = i, limit = limit, plusIsSpace = plusIsSpace)
          return out.readUtf8()
        }
      }
    
      // Fast path: no characters in [pos..limit) required decoding.
      return substring(pos, limit)
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

        private final PrintStream out;
    
        public Slf4jStdoutLogger() {
            this(System.out);
        }
    
        public Slf4jStdoutLogger(PrintStream out) {
            this.out = requireNonNull(out);
        }
    
        //
        // These are the only methods we need in our primordial logger
        //
        @Override
        public void error(String msg) {
            out.print(ERROR);
            out.println(msg);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. docs/auditlog/auditlog-echo.go

    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. internal/config/dns/etcd_dns_test.go

    	tests := []struct {
    		in  []string
    		out string
    	}{
    		{[]string{"bla", "bliep", "example", "org"}, "bla.bliep.example.org."},
    		{[]string{"example", "."}, "example."},
    		{[]string{"example", "org."}, "example.org."}, // technically we should not be called like this.
    		{[]string{"."}, "."},
    	}
    
    	for i, tc := range tests {
    		if x := dnsJoin(tc.in...); x != tc.out {
    			t.Errorf("Test %d, expected %s, got %s", i, tc.out, x)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java

        private final boolean printResourceNames;
        private int lastLength;
    
        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) {
            super(messageBuilderFactory, out);
            this.printResourceNames = printResourceNames;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            overridePreviousTransfer(event);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. internal/grid/README.md

                    if !ok {
                        break
                    }
                    // Do something with payload
                    out <- []byte("response")
    
                    // Return the request for reuse
                    grid.PutByteBuffer(req)
                }
            }
            // out is closed by the caller and should never be closed by the handler.
            return nil
        }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. docs/features/events.md

    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Click Count (0)
  8. internal/hash/checksum.go

    func (c ChecksumType) StringFull() string {
    	out := []string{c.String()}
    	if c.Is(ChecksumMultipart) {
    		out = append(out, "MULTIPART")
    	}
    	if c.Is(ChecksumIncludesMultipart) {
    		out = append(out, "INCLUDESMP")
    	}
    	if c.Is(ChecksumTrailing) {
    		out = append(out, "TRAILING")
    	}
    	if c.Is(ChecksumFullObject) {
    		out = append(out, "FULLOBJ")
    	}
    	return strings.Join(out, "|")
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

                } else {
                    return format(progressedSize);
                }
            }
        }
    
        protected PrintStream out;
    
        protected AbstractMavenTransferListener(PrintStream out) {
            this.out = out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String darkOn = MessageUtils.isColorEnabled() ? ANSI_DARK_SET : "";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        @Override
        protected void update(byte b) {
          out.write(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          out.write(b, off, len);
        }
    
        byte[] bytes() {
          return out.toByteArray();
        }
    
        void assertBytes(byte[] expected) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top