Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 289 for ready (0.17 sec)

  1. internal/deadlineconn/deadlineconn.go

    func (c *DeadlineConn) setWriteDeadline() {
    	if c.writeDeadline > 0 {
    		c.SetWriteDeadline(time.Now().UTC().Add(c.writeDeadline))
    	}
    }
    
    // Read - reads data from the connection using wrapped buffered reader.
    func (c *DeadlineConn) Read(b []byte) (n int, err error) {
    	c.setReadDeadline()
    	n, err = c.Conn.Read(b)
    	return n, err
    }
    
    // Write - writes data to the connection.
    func (c *DeadlineConn) Write(b []byte) (n int, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Nov 05 18:09:21 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. internal/http/headers.go

    	// Header indicates if the etag should be preserved by client
    	MinIOSourceETag = "x-minio-source-etag"
    
    	// Writes expected write quorum
    	MinIOWriteQuorum = "x-minio-write-quorum"
    
    	// Reads expected read quorum
    	MinIOReadQuorum = "x-minio-read-quorum"
    
    	// Indicates if we are using default storage class and there was problem loading config
    	// if this header is set to "true"
    	MinIOStorageClassDefaults = "x-minio-storage-class-defaults"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  3. internal/hash/reader.go

    }
    
    // NewReader returns a new Reader that wraps src and computes
    // MD5 checksum of everything it reads as ETag.
    //
    // It also computes the SHA256 checksum of everything it reads
    // if sha256Hex is not the empty string.
    //
    // If size resp. actualSize is unknown at the time of calling
    // NewReader then it should be set to -1.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	// drive stats
    	totalInodes    MetricName = "total_inodes"
    	readsPerSec    MetricName = "reads_per_sec"
    	writesPerSec   MetricName = "writes_per_sec"
    	readsKBPerSec  MetricName = "reads_kb_per_sec"
    	writesKBPerSec MetricName = "writes_kb_per_sec"
    	readsAwait     MetricName = "reads_await"
    	writesAwait    MetricName = "writes_await"
    	percUtil       MetricName = "perc_util"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    	dst   chan [][]string // result of block decode
    	err   error           // any error encountered will be set here
    }
    
    // Read - reads single record.
    // Once Read is called the previous record should no longer be referenced.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	// If we have have any records left, return these before any error.
    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // the [Scanner] returns it to the user. If the token is nil, the
    // Scanner reads more data and continues scanning; if there is no more
    // data--if atEOF was true--the [Scanner] returns. If the data does not
    // yet hold a complete token, for instance if it has no newline while
    // scanning lines, a [SplitFunc] can return (0, nil, nil) to signal the
    // [Scanner] to read more data into the slice and try again with a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    type dirReader struct {
    	err error
    }
    
    func (r *dirReader) Read([]byte) (int, error) {
    	return 0, r.err
    }
    
    func (r *dirReader) Close() error {
    	return nil
    }
    
    type checksumReader struct {
    	rc    io.ReadCloser
    	hash  hash.Hash32
    	nread uint64 // number of bytes read so far
    	f     *File
    	desr  io.Reader // if non-nil, where to read the data descriptor
    	err   error     // sticky error
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	defer cancel(ErrDisconnected)
    
    	// This will ensure that is something asks to disconnect and we are blocked on reads/writes
    	// the connection will be closed and readers/writers will unblock.
    	go c.monitorState(conn, cancel)
    
    	c.handleMsgWg.Add(2)
    	c.reconnectMu.Unlock()
    
    	// Read goroutine
    	go func() {
    		defer func() {
    			if rec := recover(); rec != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/local-locker_gen.go

    				return
    			}
    		case "Writes":
    			z.Writes, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Writes")
    				return
    			}
    		case "Reads":
    			z.Reads, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Reads")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. internal/config/certs.go

    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the public key: %s", err)
    	}
    	keyPEMBlock, err := os.ReadFile(keyFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the private key: %s", err)
    	}
    	key, rest := pem.Decode(keyPEMBlock)
    	if len(rest) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top