Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 10485760 (0.21 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    		},
    		{
    			Name:        "stringArray",
    			InputSchema: arraySchema("string", "", nil),
    			// expected JSON is ["","",...] so our length should be (maxRequestSizeBytes - 2) / 3
    			ExpectedMaxElements: 1048575,
    		},
    		{
    			Name: "stringMap",
    			InputSchema: &schema.Structural{
    				Generic: schema.Generic{
    					Type: "object",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    				Index:      []uint8(nil),
    				Checksums:  map[string]string(nil),
    			},
    		},
    		Erasure: ErasureInfo{
    			Algorithm:    "ReedSolomon",
    			DataBlocks:   6,
    			ParityBlocks: 6,
    			BlockSize:    1048576,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
    			Checksums:    []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}},
    		},
    		NumVersions: 1,
    		Idx:         0,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers.go

    }
    
    // HugePageUnitSizeFromByteSize returns hugepage size has the format.
    // `size` must be guaranteed to divisible into the largest units that can be expressed.
    // <size><unit-prefix>B (1024 = "1KB", 1048576 = "1MB", etc).
    func HugePageUnitSizeFromByteSize(size int64) (string, error) {
    	// hugePageSizeUnitList is borrowed from opencontainers/runc/libcontainer/cgroups/utils.go
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. hack/lib/golang.sh

      local mem
    
      # Linux kernel version >=3.14, in kb
      if mem=$(grep MemAvailable /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
      # Linux, in kb
      if mem=$(grep MemTotal /proc/meminfo | awk '{ print $2 }'); then
        echo $(( mem / 1048576 ))
        return
      fi
    
      # OS X, in bytes. Note that get_physmem, as used, should only ever
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{1000, DecimalSI, "1", true},
    		{1234000, DecimalSI, "1234", true},
    		{1024, BinarySI, "1024m", false}, // Format changes
    		{1000000, "invalidFormatDefaultsToExponent", "1e3", true},
    		{1024 * 1024, BinarySI, "1048576m", false}, // Format changes
    	}
    
    	for _, item := range table {
    		q := NewMilliQuantity(item.value, item.format)
    		if e, a := item.expect, q.String(); e != a {
    			t.Errorf("Expected %v, got %v; %#v", e, a, q)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/runtime/asm_ppc64x.s

    	DISPATCH(runtime·call32768, 32768)
    	DISPATCH(runtime·call65536, 65536)
    	DISPATCH(runtime·call131072, 131072)
    	DISPATCH(runtime·call262144, 262144)
    	DISPATCH(runtime·call524288, 524288)
    	DISPATCH(runtime·call1048576, 1048576)
    	DISPATCH(runtime·call2097152, 2097152)
    	DISPATCH(runtime·call4194304, 4194304)
    	DISPATCH(runtime·call8388608, 8388608)
    	DISPATCH(runtime·call16777216, 16777216)
    	DISPATCH(runtime·call33554432, 33554432)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    	}, {
    		// The truncated test file was produced using these commands:
    		//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    		//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    		file: "testdata/writer-big.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			setMaxElements:   40000,
    			expectedSetCost:  0,
    		},
    		{
    			name:             "map of durations with all",
    			schemaGenerator:  genMapWithRule("duration", "self.all(x, true)"),
    			expectedCalcCost: 1048577,
    			setMaxElements:   5,
    			expectedSetCost:  17,
    		},
    		{
    			name:             "map of durations with has",
    			schemaGenerator:  genMapWithRule("duration", "has(self.x)"),
    			expectedCalcCost: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    		auxType:        auxInt64,
    		argLen:         2,
    		clobberFlags:   true,
    		faultOnNilArg0: true,
    		unsafePoint:    true,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 1048576}, // R20
    			},
    			clobbers: 1048576, // R20
    		},
    	},
    	{
    		name:           "LoweredZeroShort",
    		auxType:        auxInt64,
    		argLen:         2,
    		faultOnNilArg0: true,
    		unsafePoint:    true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  10. src/cmd/trace/testdata/go122.test

    HeapAlloc dt=5 heapalloc_value=20453000
    HeapAlloc dt=6 heapalloc_value=20461192
    HeapAlloc dt=5 heapalloc_value=20469384
    HeapAlloc dt=6 heapalloc_value=20477576
    HeapAlloc dt=5 heapalloc_value=20485768
    HeapAlloc dt=6 heapalloc_value=20493960
    HeapAlloc dt=5 heapalloc_value=20502152
    HeapAlloc dt=6 heapalloc_value=20510344
    HeapAlloc dt=9 heapalloc_value=20518536
    HeapAlloc dt=6 heapalloc_value=20526728
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
Back to top