Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for fallocate (0.25 sec)

  1. src/database/sql/sql_test.go

    	n := int(testing.AllocsPerRun(1000, func() {
    		_, release, err := c.grabConn(ctx)
    		if err != nil {
    			t.Fatal(err)
    		}
    		release(nil)
    	}))
    	if n > 0 {
    		t.Fatalf("Conn.grabConn allocated %v objects; want 0", n)
    	}
    }
    
    func BenchmarkGrabConn(b *testing.B) {
    	b.ReportAllocs()
    	c := new(Conn)
    	ctx := context.Background()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/crypto/sha512/sha512_test.go

    			t.Errorf("test %d sum mismatch: expect %s got %x", i, test.sum, sum)
    		}
    	}
    }
    
    func TestAllocations(t *testing.T) {
    	if boring.Enabled {
    		t.Skip("BoringCrypto doesn't allocate the same way as stdlib")
    	}
    	in := []byte("hello, world!")
    	out := make([]byte, 0, Size)
    	h := New()
    	n := int(testing.AllocsPerRun(10, func() {
    		h.Reset()
    		h.Write(in)
    		out = h.Sum(out[:0])
    	}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    				t.Fatalf("expected to have at least one TableRow, but got: %d", len(rows))
    			}
    
    			func() {
    				defer func() {
    					if err := recover(); err != nil {
    						// Same as stdlib http server code. Manually allocate stack
    						// trace buffer size to prevent excessively large logs
    						const size = 64 << 10
    						buf := make([]byte, size)
    						buf = buf[:runtime.Stack(buf, false)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json

          },
          "io.k8s.api.networking.v1alpha1.ServiceCIDR": {
            "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 196.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

          // independent of the initial capacity, except that it won't be lower than the threshold
          // computed from that capacity. Because the internal table is only allocated on the first
          // write, we won't see copying because of the new threshold. So it is always OK to use the
          // calculation here.
          return (int) Math.ceil(expectedSize / 0.75);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  6. samples/addons/grafana.yaml

     go_memstats_heap_inuse_bytes{app=\"istiod\"}\n)","legendFormat":"Heap (In Use) ({{pod}})"},{"datasource":{"type":"prometheus","uid":"$datasource"},"expr":"sum by (pod) (\n  go_memstats_heap_alloc_bytes{app=\"istiod\"}\n)","legendFormat":"Heap (Allocated) ({{pod}})"}],"title":"Memory Usage","type":"timeseries"},{"datasource":{"type":"datasource","uid":"-- Mixed --"},"description":"Details about memory allocations","fieldConfig":{"defaults":{"custom":{"fillOpacity":10,"gradientMode":"hue","showPo...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    servicegraph, tracing) # ImagePullSecrets will be added to the corresponding Deployment(StatefulSet) objects. # Must be set for any cluster configured with private docker registry. imagePullSecrets: [] # - private-registry-key # Default resources allocated defaultResources: requests: cpu: 100m memory: 100Mi manifests/charts/istio-cni/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
Back to top