Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 623 for readAny (0.05 sec)

  1. docs/auditlog/auditlog-echo.go

    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	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, "", "    ")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/stack.go

    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF,
    // it resumes reading the next one down.
    type Stack struct {
    	tr []TokenReader
    }
    
    // Push adds tr to the top (end) of the input stack. (Popping happens automatically.)
    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jan 09 22:33:23 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                                continue;
                            }
    
                            if ( curResp.isError() ) {
                                throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException());
                            }
                            if ( isDisconnected() && this.state != 5 ) {
                                throw new TransportException(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    	// ReadCloser interface. The Close method runs any cleanup
    	// functions, so it must always be called after reading till EOF
    	//
    	// IMPORTANTLY, when implementations return err != nil, this
    	// function MUST NOT return a non-nil ReadCloser.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. docs/bucket/replication/test_del_marker_proxying.sh

    		chmod +x mc
    fi
    
    export MC_HOST_sitea=http://minioadmin:minioadmin@127.0.0.1:9001
    export MC_HOST_siteb=http://minioadmin:minioadmin@127.0.0.1:9004
    
    ./mc ready sitea
    ./mc ready siteb
    
    ./mc mb sitea/bucket
    ./mc version enable sitea/bucket
    ./mc mb siteb/bucket
    ./mc version enable siteb/bucket
    
    # Set bucket replication
    ./mc replicate add sitea/bucket --remote-bucket siteb/bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. ci/official/utilities/get_versions.sh

    # by whitespace. The flag "-F<x>" changes the behavior such that fields are now strings
    # separated by the character <x>. Therefore, -F\' (escaped single quote) means that field
    # $2 in <Tensor'flow'> is <flow>. This is useful for reading string literals like below.
    export TF_VER_SUFFIX=$(awk -F\" '/#define TF_VERSION_SUFFIX/ {print $2}' tensorflow/core/public/version.h)
    export TF_VER_PYTHON=$(awk -F\' '/_VERSION =/ {print $2}' tensorflow/tools/pip_package/setup.py)
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/recipes.md

    ### Asynchronous Get ([.kt][AsynchronousGetKotlin], [.java][AsynchronousGetJava])
    
    Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a response body in parts.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  8. internal/http/close.go

    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. MIGRATION.md

      })();
    </script>
    <fess:search></fess:search>
    ```
    
    An example of Fess Site Search in use is below:
    
    ![Fess Site Search](https://fess.codelibs.org/_images/fess-ss-1.png "Fess Site Search")
    
    
    ### More Reading
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 05 06:12:02 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    			case ObjectNotFound, InsufficientReadQuorum:
    				retryWait()
    				continue
    			}
    			// Allow one fast retry for other errors.
    			if retries > 0 {
    				return entries, fmt.Errorf("reading first part metadata: %v", err)
    			}
    			retryWait()
    			continue
    		}
    
    		partN, err := o.findFirstPart(fi)
    		switch {
    		case err == nil:
    		case errors.Is(err, io.ErrUnexpectedEOF):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top