Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for nBytes (0.2 sec)

  1. src/bytes/bytes_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    func eq(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/pilot-dashboard.json

                    "uid": "${datasource}"
                  },
                  "expr": "max(rate(envoy_cluster_upstream_cx_rx_bytes_total{cluster_name=\"xds-grpc\"}[1m]))",
                  "format": "time_series",
                  "hide": false,
                  "intervalFactor": 1,
                  "legendFormat": "XDS Response Bytes Max",
                  "refId": "D"
                },
                {
                  "datasource": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 61K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    			}
    			testReq := testCase.requestXML
    			if len(testReq) == 0 {
    				var escaped bytes.Buffer
    				xml.EscapeText(&escaped, []byte(testCase.query))
    				testReq = []byte(fmt.Sprintf(defRequest, escaped.String()))
    			}
    			s3Select, err := NewS3Select(bytes.NewReader(testReq))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			in := input
    			if len(testCase.withJSON) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    	pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
    
    	keyOut := bytes.NewBuffer([]byte{})
    	pem.Encode(keyOut, pemBlockForKey(priv))
    
    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/grafana/minio-dashboard.json

                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "topk(1, sum(minio_cluster_capacity_usable_total_bytes{job=~\"$scrape_jobs\"}) by (instance)) - topk(1, sum(minio_cluster_capacity_usable_free_bytes{job=~\"$scrape_jobs\"}) by (instance))",
              "format": "time_series",
              "instant": false,
              "interval": "1m",
              "intervalFactor": 1,
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  6. cmd/object-api-datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = BackendType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BackendType) Msgsize() (s int) {
    	s = msgp.IntSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketInfo) MarshalMsg(b []byte) (o []byte, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	// There is another buffer that will buffer events.
    	consoleLogRPC = grid.NewStream[*grid.MSS, grid.NoPayload, *grid.Bytes](grid.HandlerConsoleLog, grid.NewMSS, nil, grid.NewBytes).WithOutCapacity(100)
    	listenRPC     = grid.NewStream[*grid.URLValues, grid.NoPayload, *grid.Bytes](grid.HandlerListen, grid.NewURLValues, nil, grid.NewBytes).WithOutCapacity(100)
    )
    
    // GetLocksHandler - returns list of lock from the server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

        tensorflow::AttrValue attr;
        for (const string& v : list) {
          attr.mutable_list()->add_s(v);
        }
        string bytes;
        attr.SerializeToString(&bytes);
        TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(),
                             bytes.size(), s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void VerifyCollocation(TF_Operation* op,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. cmd/erasure-object.go

    	}
    
    	writers := make([]io.Writer, len(onlineDisks))
    	var inlineBuffers []*bytes.Buffer
    	if shardFileSize >= 0 {
    		if !opts.Versioned && shardFileSize < inlineBlock {
    			inlineBuffers = make([]*bytes.Buffer, len(onlineDisks))
    		} else if shardFileSize < inlineBlock/8 {
    			inlineBuffers = make([]*bytes.Buffer, len(onlineDisks))
    		}
    	} else {
    		// If compressed, use actual size to determine.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. docs/metrics/prometheus/grafana/minio-bucket.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (bucket) (rate(minio_bucket_traffic_sent_bytes{job=\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "Data Sent [{{bucket}}]",
              "refId": "A"
            }
          ],
    Json
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Tue Feb 20 09:45:00 GMT 2024
    - 71.4K bytes
    - Viewed (1)
Back to top