Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 444 for io (0.32 sec)

  1. cmd/metrics-v3-system-process.go

    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    		m.Set(processIOWriteBytes, float64(io.WriteBytes))
    	}
    
    	if io.SyscR > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    	return len(b), nil
    }
    
    // mustReadFull is like io.ReadFull except it returns
    // io.ErrUnexpectedEOF when io.EOF is hit before len(b) bytes are read.
    func mustReadFull(r io.Reader, b []byte) (int, error) {
    	n, err := tryReadFull(r, b)
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	return n, err
    }
    
    // tryReadFull is like io.ReadFull except it returns
    // io.EOF when it is hit before len(b) bytes are read.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/etag/reader.go

    // access to the ETag computed by a low-level io.Reader:
    //
    //	content := etag.NewReader(r.Body, nil)
    //
    //	compressedContent := Compress(content)
    //	encryptedContent := Encrypt(compressedContent)
    //
    //	// Now, we need an io.Reader that can access
    //	// the ETag computed over the content.
    //	reader := etag.Wrap(encryptedContent, content)
    func Wrap(wrapped, content io.Reader) io.Reader {
    	if t, ok := content.(Tagger); ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/util"
    	operatorvalidate "istio.io/istio/operator/pkg/validate"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/config/schema/resource"
    	"istio.io/istio/pkg/config/validation"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    // license that can be found in the LICENSE file.
    
    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  6. operator/cmd/mesh/install.go

    	v1alpha12 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/cache"
    	"istio.io/istio/operator/pkg/helmreconciler"
    	"istio.io/istio/operator/pkg/manifest"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/operator/pkg/util/progress"
    	"istio.io/istio/operator/pkg/verifier"
    	pkgversion "istio.io/istio/operator/pkg/version"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. cmd/erasure-encode.go

    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &parallelWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    		errs:        make([]error, len(writers)),
    	}
    
    	for {
    		var blocks [][]byte
    		n, err := io.ReadFull(src, buf)
    		if err != nil {
    			if !IsErrIgnored(err, []error{
    				io.EOF,
    				io.ErrUnexpectedEOF,
    			}...) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	v1 "k8s.io/client-go/kubernetes/typed/core/v1"
    	"k8s.io/kubectl/pkg/polymorphichelpers"
    	"k8s.io/kubectl/pkg/util/podutils"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/util"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. internal/s3select/simdj/reader.go

    				r.err = &err
    				return
    			}
    		}
    		if in.Error == io.EOF {
    			return
    		}
    	}
    }
    
    // NewReader - creates new JSON reader using readCloser.
    func NewReader(readCloser io.ReadCloser, args *json.ReaderArgs) *Reader {
    	r := Reader{
    		args:       args,
    		readCloser: &safeCloser{r: io.Reader(readCloser)},
    		decoded:    make(chan simdjson.Object, 1000),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test_helpers.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package repair
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    type makePodArgs struct {
    	PodName             string
    	Labels              map[string]string
    	Annotations         map[string]string
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top