Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 279 for readdir (0.13 sec)

  1. internal/bucket/bandwidth/reader.go

    // NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the
    // bucket.
    func NewMonitoredReader(ctx context.Context, m *Monitor, r io.Reader, opts *MonitorReaderOptions) *MonitoredReader {
    	reader := MonitoredReader{
    		r:        r,
    		throttle: m.throttle(opts.BucketOptions),
    		m:        m,
    		opts:     opts,
    		ctx:      ctx,
    	}
    	reader.m.init(opts.BucketOptions)
    	return &reader
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/reader.h

    Thai Nguyen <******@****.***> 1709597042 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/mdo/reader.vm

        }
    
        /**
         *
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return ${root.name}
         */
        public ${root.name} read(Reader reader, boolean strict) throws IOException, XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  4. src/debug/elf/reader.go

    func (r errorReader) Close() error {
    	return r.error
    }
    
    // readSeekerFromReader converts an io.Reader into an io.ReadSeeker.
    // In general Seek may not be efficient, but it is optimized for
    // common cases such as seeking to the end to find the length of the
    // data.
    type readSeekerFromReader struct {
    	reset  func() (io.Reader, error)
    	r      io.Reader
    	size   int64
    	offset int64
    }
    
    func (r *readSeekerFromReader) start() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/image/jpeg/reader.go

    	29, 22, 15, 23, 30, 37, 44, 51,
    	58, 59, 52, 45, 38, 31, 39, 46,
    	53, 60, 61, 54, 47, 55, 62, 63,
    }
    
    // Deprecated: Reader is not used by the [image/jpeg] package and should
    // not be used by others. It is kept for compatibility.
    type Reader interface {
    	io.ByteReader
    	io.Reader
    }
    
    // bits holds the unprocessed bits that have been taken from the byte-stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. src/image/png/reader.go

    const (
    	dsStart = iota
    	dsSeenIHDR
    	dsSeenPLTE
    	dsSeentRNS
    	dsSeenIDAT
    	dsSeenIEND
    )
    
    const pngHeader = "\x89PNG\r\n\x1a\n"
    
    type decoder struct {
    	r             io.Reader
    	img           image.Image
    	crc           hash.Hash32
    	width, height int
    	depth         int
    	palette       color.Palette
    	cb            int
    	stage         int
    	idatLength    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. src/internal/trace/raw/reader.go

    	"fmt"
    	"io"
    
    	"internal/trace/event"
    	"internal/trace/version"
    )
    
    // Reader parses trace bytes with only very basic validation
    // into an event stream.
    type Reader struct {
    	r     *bufio.Reader
    	v     version.Version
    	specs []event.Spec
    }
    
    // NewReader creates a new reader for the trace wire format.
    func NewReader(r io.Reader) (*Reader, error) {
    	br := bufio.NewReader(r)
    	v, err := version.ReadHeader(br)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/compress/lzw/reader.go

    // is a *[Reader].
    func NewReader(r io.Reader, order Order, litWidth int) io.ReadCloser {
    	return newReader(r, order, litWidth)
    }
    
    func newReader(src io.Reader, order Order, litWidth int) *Reader {
    	r := new(Reader)
    	r.init(src, order, litWidth)
    	return r
    }
    
    func (r *Reader) init(src io.Reader, order Order, litWidth int) {
    	switch order {
    	case LSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. internal/s3select/json/reader.go

    	"github.com/minio/minio/internal/s3select/sql"
    
    	"github.com/bcicen/jstream"
    )
    
    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args       *ReaderArgs
    	decoder    *jstream.Decoder
    	valueCh    chan *jstream.MetaValue
    	readCloser io.ReadCloser
    }
    
    // Read - reads single record.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	v, ok := <-r.valueCh
    	if !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 24 03:58:53 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	}
    	return parseGetSubIdsOutput(string(outUids))
    }
    
    // Get a list of pods that have data directories.
    func (kl *Kubelet) listPodsFromDisk() ([]types.UID, error) {
    	podInfos, err := os.ReadDir(kl.getPodsDir())
    	if err != nil {
    		return nil, err
    	}
    	pods := []types.UID{}
    	for i := range podInfos {
    		if podInfos[i].IsDir() {
    			pods = append(pods, types.UID(podInfos[i].Name()))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top