Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for 1024m (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

        }
    
        def "maxHeapSizeIsUpdatedWhenSetUsingJvmArgs"() {
            options.maxHeapSize = '1g'
            options.jvmArgs('-Xmx1024m')
    
            assertThat(options.maxHeapSize, equalTo('1024m'))
    
            options.allJvmArgs = []
    
            assertThat(options.maxHeapSize, nullValue())
    
            options.allJvmArgs = ['-Xmx1g']
    
            assertThat(options.maxHeapSize, equalTo('1g'))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                ) as DefaultGradleRunner
            gradleRunner.withJvmArguments(["-Xmx8g", "-XX:MaxMetaspaceSize=1024m", "-XX:+HeapDumpOnOutOfMemoryError"])
            return new SmokeTestGradleRunner(gradleRunner)
                .withBuildOperationTracing(file("operations").absolutePath)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir_test.go

    			},
    			{
    				Device: "/dev/hugepages",
    				Type:   "hugetlbfs",
    				Path:   "/mnt/hugepages-1Gi",
    				Opts:   []string{"rw", "relatime", "pagesize=1024M"},
    			},
    			{
    				Device: "/dev/hugepages",
    				Type:   "hugetlbfs",
    				Path:   "/mnt/noopt",
    				Opts:   []string{"rw", "relatime"},
    			},
    			{
    				Device: "/dev/hugepages",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
            } else if (value < 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
                unit = "M";
            } else if (value < 1024L * 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/runtime/mgcpacer_test.go

    			name:          "Steady",
    			gcPercent:     100,
    			memoryLimit:   math.MaxInt64,
    			globalsBytes:  32 << 10,
    			nCores:        8,
    			allocRate:     constant(33.0),
    			scanRate:      constant(1024.0),
    			growthRate:    constant(2.0).sum(ramp(-1.0, 12)),
    			scannableFrac: constant(1.0),
    			stackBytes:    constant(8192),
    			length:        50,
    			checker: func(t *testing.T, c []gcCycleResult) {
    				n := len(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. 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)
  7. src/vendor/golang.org/x/net/nettest/conntest.go

    	defer wg.Wait()
    
    	c1.SetReadDeadline(time.Now().Add(time.Millisecond))
    	for i := 0; i < 10; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    
    			b1 := make([]byte, 1024)
    			b2 := make([]byte, 1024)
    			for j := 0; j < 100; j++ {
    				_, err := c1.Read(b1)
    				copy(b1, b2) // Mutate b1 to trigger potential race
    				if err != nil {
    					checkForTimeoutError(t, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

        //
        // TODO(user): Consider scaling by number of mutator threads,
        // e.g. using Thread#activeCount()
        return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    						NUMAAffinity: []int{0},
    						Type:         v1.ResourceMemory,
    						Size:         1024,
    					},
    				},
    			},
    		},
    		machineState: NUMANodeMap{
    			0: &NUMANodeState{
    				MemoryMap: map[v1.ResourceName]*MemoryTable{
    					v1.ResourceMemory: {
    						Allocatable:    1536,
    						Free:           512,
    						Reserved:       1024,
    						SystemReserved: 512,
    						TotalMemSize:   2048,
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  10. src/runtime/memmove_test.go

    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = [512 / 4]uint32{}
    	}
    }
    
    func BenchmarkClearFat1024(b *testing.B) {
    	p := new([1024 / 4]uint32)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = [1024 / 4]uint32{}
    	}
    }
    
    func BenchmarkClearFat1032(b *testing.B) {
    	p := new([1032 / 4]uint32)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top