Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 2,298 for IO (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/ringbuffer/README.md

    # ringbuffer
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 00:11:04 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. docs/auditlog/auditlog-echo.go

    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	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)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. tests/test_datastructures.py

    import io
    from pathlib import Path
    
    import pytest
    from fastapi import FastAPI, UploadFile
    from fastapi.datastructures import Default
    from fastapi.testclient import TestClient
    
    
    def test_upload_file_invalid_pydantic_v2():
        with pytest.raises(ValueError):
            UploadFile._validate("not a Starlette UploadFile", {})
    
    
    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. internal/http/request-recorder.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"bytes"
    	"io"
    )
    
    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

    package org.elasticsearch.gradle.internal.conventions.info;
    
    import org.gradle.api.Project;
    import org.gradle.api.provider.ProviderFactory;
    
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  6. ci/official/requirements_updater/numpy1_requirements/requirements.in

    scipy >= 1.13.0, < 1.15.0
    requests >= 2.31.0
    packaging==23.2
    setuptools==78.1.1
    jax==0.4.7
    zstandard==0.23.0
    # The dependencies below are needed for TF wheel testing.
    tensorflow-io-gcs-filesystem==0.37.1 ; python_version <= "3.12"
    libclang >= 13.0.0
    google_pasta ~= 0.2
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Jan 26 22:44:40 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. src/bufio/net_test.go

    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if n != int64(len(data)) {
    		t.Errorf("io.Copy returned %d, want %d", n, len(data))
    	}
    
    	clientConn.Close()
    	tot := <-ch
    
    	if tot != len(data) {
    		t.Errorf("server read %d, want %d", tot, len(data))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. internal/s3select/csv/recordtransform.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"bytes"
    	"io"
    )
    
    // recordTransform will convert records to always have newline records.
    type recordTransform struct {
    	reader io.Reader
    	// recordDelimiter can be up to 2 characters.
    	recordDelimiter []byte
    	oneByte         []byte
    	useOneByte      bool
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  9. internal/http/close.go

    package http
    
    import (
    	"io"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    // DrainBody close non nil response with any response Body.
    // convenient wrapper to drain any remaining data on response body.
    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top