Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 356 for 1024m (0.34 sec)

  1. src/internal/types/testdata/fixedbugs/issue49247.go

    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    func Add1024[T integer](s []T) {
    	for i, v := range s {
    		s[i] = v + 1024 // ERROR "cannot convert 1024 (untyped int constant) to type T"
    	}
    }
    
    func f[T interface{ int8 }]() {
    	println(T(1024 /* ERROR "cannot convert 1024 (untyped int value) to type T" */))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 560 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/reflectdata/alg_test.go

    	for i := 0; i < 64; i++ {
    		a[i] = "aaaa"
    		c[i] = "cccc"
    	}
    
    	for j := 0; j < b.N; j++ {
    		_ = a == c
    	}
    }
    
    func BenchmarkEqArrayOfStrings1024(b *testing.B) {
    	var a [1024]string
    	var c [1024]string
    
    	for i := 0; i < 1024; i++ {
    		a[i] = "aaaa"
    		c[i] = "cccc"
    	}
    
    	for j := 0; j < b.N; j++ {
    		_ = a == c
    	}
    }
    
    func BenchmarkEqArrayOfFloats5(b *testing.B) {
    	var a [5]float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

    import javax.annotation.Nullable;
    import java.util.Locale;
    
    public class MemoryAmount {
        private static final long KILO_FACTOR = 1024;
        private static final long MEGA_FACTOR = KILO_FACTOR * 1024;
        private static final long GIGA_FACTOR = MEGA_FACTOR * 1024;
        private static final long TERA_FACTOR = GIGA_FACTOR * 1024;
    
        public static MemoryAmount of(long bytes) {
            return new MemoryAmount(bytes, String.valueOf(bytes));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/internal/poll/writev.go

    	}
    
    	var iovecs []syscall.Iovec
    	if fd.iovecs != nil {
    		iovecs = *fd.iovecs
    	}
    	// TODO: read from sysconf(_SC_IOV_MAX)? The Linux default is
    	// 1024 and this seems conservative enough for now. Darwin's
    	// UIO_MAXIOV also seems to be 1024.
    	maxVec := 1024
    	if runtime.GOOS == "aix" || runtime.GOOS == "solaris" {
    		// IOV_MAX is set to XOPEN_IOV_MAX on AIX and Solaris.
    		maxVec = 16
    	}
    
    	var n int64
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/scalar_test.go

    	}
    	if err := quick.Check(f1, quickCheckConfig(1024)); err != nil {
    		t.Errorf("failed bytes->scalar->bytes round-trip: %v", err)
    	}
    
    	f2 := func(sc1, sc2 Scalar) bool {
    		if _, err := sc2.SetCanonicalBytes(sc1.Bytes()); err != nil {
    			return false
    		}
    		return sc1 == sc2
    	}
    	if err := quick.Check(f2, quickCheckConfig(1024)); err != nil {
    		t.Errorf("failed scalar->bytes->scalar round-trip: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	·Baton(SB), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBQ	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/main.c

    		fprintf(stderr, "ERROR: buildmode=c-archive should not run main\n");
    		return 2;
    	}
    
    	int r2 = check_handler();
    	if (r2!=0) {
    		return r2;
    	}
    
    	res = FromPkg();
    	if (res != 1024) {
    		fprintf(stderr, "ERROR: FromPkg()=%d, want 1024\n", res);
    		return 2;
    	}
    
    	CheckArgs();
    
    	fprintf(stderr, "PASS\n");
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 847 bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
          nonzero1[i] = randomNonZeroBigInteger(1024);
          nonzero2[i] = randomNonZeroBigInteger(1024);
        }
      }
    
      @Benchmark
      int log2(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private String getStatus(long complete, long total) {
            if (total >= 1024) {
                return toKB(complete) + "/" + toKB(total) + " KB ";
            } else if (total >= 0) {
                return complete + "/" + total + " B ";
            } else if (complete >= 1024) {
                return toKB(complete) + " KB ";
            } else {
                return complete + " B ";
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. manifests/charts/gateway/values.yaml

        # allocateLoadBalancerNodePorts: false
    
      resources:
        requests:
          cpu: 100m
          memory: 128Mi
        limits:
          cpu: 2000m
          memory: 1024Mi
    
      autoscaling:
        enabled: true
        minReplicas: 1
        maxReplicas: 5
        targetCPUUtilizationPercentage: 80
        targetMemoryUtilizationPercentage: {}
        autoscaleBehavior: {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top