Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 106 for 1024m (0.04 sec)

  1. src/runtime/string.go

    	case 'M':
    		power = 2
    	case 'G':
    		power = 3
    	case 'T':
    		power = 4
    	default:
    		// Invalid suffix.
    		return 0, false
    	}
    	m := uint64(1)
    	for i := 0; i < power; i++ {
    		m *= 1024
    	}
    	n, ok := atoi64(s[:len(s)-3])
    	if !ok || n < 0 {
    		return 0, false
    	}
    	un := uint64(n)
    	if un > maxUint64/m {
    		// Overflow.
    		return 0, false
    	}
    	un *= m
    	if un > uint64(maxInt64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	}
    	// Does the bucket name look like an IP address?
    	return !(len(pieces) == 4 && allNumbers)
    }
    
    // IsValidObjectName verifies an object name in accordance with Amazon's
    // requirements. It cannot exceed 1024 characters and must be a valid UTF8
    // string.
    //
    // See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    //
    // You should avoid the following characters in a key name because of
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/helpers_linux_test.go

    					input: "256",
    				},
    				{
    					key:   v1.ResourceHugePagesPrefix + "4Mi",
    					input: "512",
    				},
    				{
    					key:   "4Mi",
    					input: "1024",
    				},
    			},
    			expected: map[int64]int64{2 * Mi: 384, 4 * Mi: 512},
    		},
    	}
    
    	for _, testcase := range testCases {
    		t.Run(testcase.name, func(t *testing.T) {
    			resourceList := v1.ResourceList{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. pkg/model/proxy.go

    	// with a given name.
    	WorkloadEntry string `json:"WORKLOAD_ENTRY,omitempty"`
    
    	// UnprivilegedPod is used to determine whether a Gateway Pod can open ports < 1024
    	UnprivilegedPod string `json:"UNPRIVILEGED_POD,omitempty"`
    
    	// PlatformMetadata contains any platform specific metadata
    	PlatformMetadata map[string]string `json:"PLATFORM_METADATA,omitempty"`
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	runtime.ExitSyscall()
    	if r0 == 0 {
    		err = errnoErr2(e1, e2)
    	} else {
    		name = u2s(unsafe.Pointer(r0))
    	}
    	return
    }
    
    func u2s(cstr unsafe.Pointer) string {
    	str := (*[1024]uint8)(cstr)
    	i := 0
    	for str[i] != 0 {
    		i++
    	}
    	return string(str[:i])
    }
    
    func Close(fd int) (err error) {
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

        compressing outbound web socket messages. Configure this with 0L to always compress outbound
        messages and `Long.MAX_VALUE` to never compress outbound messages. The default is 1024L which
        compresses messages of size 1 KiB and larger. (Inbound messages are compressed or not based on
        the web socket server's configuration.)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/runtime/metrics_test.go

    	b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    	b.ReportMetric(float64(latencies[len(latencies)*99/100]), "p99-ns")
    }
    
    var readMetricsSink [1024]interface{}
    
    func TestReadMetricsCumulative(t *testing.T) {
    	// Set up the set of metrics marked cumulative.
    	descs := metrics.All()
    	var samples [2][]metrics.Sample
    	samples[0] = make([]metrics.Sample, len(descs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	IP6OPT_TYPE_SKIP                = 0x00
    	IP6_ALERT_AN                    = 0x0002
    	IP6_ALERT_MLD                   = 0x0000
    	IP6_ALERT_RSVP                  = 0x0001
    	IPPORT_RESERVED                 = 1024
    	IPPORT_USERRESERVED             = 5000
    	IPPROTO_AH                      = 51
    	SOL_AH                          = 51
    	IPPROTO_DSTOPTS                 = 60
    	SOL_DSTOPTS                     = 60
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			distributionAlgo: formatErasureVersionV3DistributionAlgoV3,
    		}
    	)
    
    	// Maximum number of reusable buffers per node at any given point in time.
    	n := uint64(1024) // single node single/multiple drives set this to 1024 entries
    
    	if globalIsDistErasure {
    		n = 2048
    	}
    
    	// Avoid allocating more than half of the available memory
    	if maxN := availableMemory() / (blockSizeV2 * 2); n > maxN {
    		n = maxN
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection = connect(peer)
        val stream1 = connection.newStream(headerEntries("b", "bark"), false)
        val source = stream1.getSource()
        val buffer = Buffer()
        while (buffer.size != 1024L) source.read(buffer, 1024)
        stream1.close(ErrorCode.CANCEL, null)
        val frame1 = peer.takeFrame()
        assertThat(frame1.type).isEqualTo(Http2.TYPE_HEADERS)
        val frame2 = peer.takeFrame()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top