Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 513 for read1 (0.31 sec)

  1. src/net/textproto/reader.go

    }
    
    // closeDot drains the current DotReader if any,
    // making sure that it reads until the ending dot line.
    func (r *Reader) closeDot() {
    	if r.dot == nil {
    		return
    	}
    	buf := make([]byte, 128)
    	for r.dot != nil {
    		// When Read reaches EOF or an error,
    		// it will set r.dot == nil.
    		r.dot.Read(buf)
    	}
    }
    
    // ReadDotBytes reads a dot-encoding and returns the decoded data.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	return func(t *testing.T, pageSize, estimatedProcessedObjects uint64) {
    		if reads := transformer.GetReadsAndReset(); reads != estimatedProcessedObjects {
    			t.Errorf("unexpected reads: %d, expected: %d", reads, estimatedProcessedObjects)
    		}
    		estimatedGetCalls := uint64(1)
    		if pageSize != 0 {
    			// We expect that kube-apiserver will be increasing page sizes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/io/fs/readdir.go

    // that provides an optimized implementation of [ReadDir].
    type ReadDirFS interface {
    	FS
    
    	// ReadDir reads the named directory
    	// and returns a list of directory entries sorted by filename.
    	ReadDir(name string) ([]DirEntry, error)
    }
    
    // ReadDir reads the named directory
    // and returns a list of directory entries sorted by filename.
    //
    // If fs implements [ReadDirFS], ReadDir calls fs.ReadDir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/util/util.go

    			readySandboxCount++
    		}
    	}
    
    	// Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one.
    	sandboxStatus := podStatus.SandboxStatuses[0]
    	if readySandboxCount > 1 {
    		klog.V(2).InfoS("Multiple sandboxes are ready for Pod. Need to reconcile them", "pod", klog.KObj(pod))
    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/grid/debug.go

    			BlockConnect: ready,
    		})
    		if err != nil {
    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/encoding/csv/reader.go

    // Read returns the record along with the error [ErrFieldCount].
    // If the record contains a field that cannot be parsed,
    // Read returns a partial record along with the parse error.
    // The partial record contains all fields read before the error.
    // If there is no data left to be read, Read returns nil, [io.EOF].
    // If [Reader.ReuseRecord] is true, the returned slice may be shared
    // between multiple calls to Read.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    //
    //	fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args
    //
    // nor too many:
    //
    //	fmt.Printf("%d", 1, 2) // fmt.Printf call needs 1 arg, but has 2 args
    //
    // Explicit argument indexes must be no greater than the number of
    // arguments:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || zos
    
    package unix
    
    import "unsafe"
    
    // ReadDirent reads directory entries from fd and writes them into buf.
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 705 bytes
    - Viewed (0)
  9. src/runtime/netpoll_kqueue_pipe.go

    	if uintptr(ev.ident) == netpollBreakRd {
    		if ev.filter == _EVFILT_READ {
    			return true
    		}
    		println("runtime: netpoll: break fd ready for", ev.filter)
    		throw("runtime: netpoll: break fd ready for something unexpected")
    	}
    	return false
    }
    
    func drainWakeupEvent(_ int32) {
    	var buf [16]byte
    	read(int32(netpollBreakRd), noescape(unsafe.Pointer(&buf[0])), int32(len(buf)))
    }
    
    func netpollIsPollDescriptor(fd uintptr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. pkg/kubelet/config/sources.go

    	// sourcesReady is a function that evaluates if the sources are ready.
    	sourcesReadyFn SourcesReadyFn
    }
    
    // Add adds the specified source to the set of sources managed.
    func (s *sourcesImpl) AddSource(source string) {
    	s.lock.Lock()
    	defer s.lock.Unlock()
    	s.sourcesSeen.Insert(source)
    }
    
    // AllReady returns true if each configured source is ready.
    func (s *sourcesImpl) AllReady() bool {
    	s.lock.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top