Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 97 for 1024Mi (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	case 10:
    		for result >= 10 && result%10 == 0 {
    			times++
    			result = result / 10
    		}
    	// allow the compiler to optimize the common cases
    	case 1024:
    		for result >= 1024 && result%1024 == 0 {
    			times++
    			result = result / 1024
    		}
    	default:
    		for result >= base && result%base == 0 {
    			times++
    			result = result / base
    		}
    	}
    	if negative {
    		result = -result
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
      /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
      private static Appendable wrapAsGenericAppendable(final Appendable a) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
      /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
      private static Appendable wrapAsGenericAppendable(final Appendable a) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/helpers.go

    // <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
    	var hugePageSizeUnitList = []string{"B", "KB", "MB", "GB", "TB", "PB"}
    	idx := 0
    	len := len(hugePageSizeUnitList) - 1
    	for size%1024 == 0 && idx < len {
    		size /= 1024
    		idx++
    	}
    	if size > 1024 && idx < len {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/analysis/cost_analysis.mlir

        // expected-remark@+1 {{Cost: 1024}}
        %1 = "tf.LookupTableFindV2"(%0, %key, %default) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<!tf_type.resource>, tensor<?x!tf_type.string>, tensor<i64>) -> tensor<*xi64>
        // 17 = 1 + 8 + 8
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	if q.IsZero() {
    		return zeroBytes, nil
    	}
    
    	var rounded CanonicalValue
    	format := q.Format
    	switch format {
    	case DecimalExponent, DecimalSI:
    	case BinarySI:
    		if q.CmpInt64(-1024) > 0 && q.CmpInt64(1024) < 0 {
    			// This avoids rounding and hopefully confusion, too.
    			format = DecimalSI
    		} else {
    			var exact bool
    			if rounded, exact = q.AsScale(0); !exact {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
              .cache(Cache(
                  directory = cacheDirectory,
                  maxSize = 10L * 1024L * 1024L // 10 MiB
              ))
              .build()
    
          fun run() {
            val request = Request.Builder()
                .url("http://publicobject.com/helloworld.txt")
                .build()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if
         * the inbound buffer.
         */
        const val DEFAULT_MINIMUM_DEFLATE_SIZE = 1024L
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			keyID:             "",
    			expectedError:     "keyID is empty",
    			expectedErrorCode: "empty",
    		},
    		{
    			name:              "keyID size is greater than 1 kB",
    			keyID:             strings.Repeat("a", 1024+1),
    			expectedError:     "which exceeds the max size of",
    			expectedErrorCode: "too_long",
    		},
    	}
    
    	for _, tt := range testCases {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			t.Parallel()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  10. integration-tests/gradle/gradle/wrapper/gradle-wrapper.jar

    ass package org.gradle.wrapper; public synchronized class Download implements IDownload { public static final String UNKNOWN_VERSION = 0; public static final int DEFAULT_NETWORK_TIMEOUT_MILLISECONDS = 10000; private static final int BUFFER_SIZE = 10240; private static final int PROGRESS_CHUNK = 1048576; private final Logger logger; private final String appName; private final String appVersion; private final DownloadProgressList progressListener; private final java.util.Map systemProperties; private...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 62.2K bytes
    - Viewed (0)
Back to top