Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for chuge (0.04 sec)

  1. src/runtime/mem_linux.go

    		}
    		return
    	}
    }
    
    func sysHugePageOS(v unsafe.Pointer, n uintptr) {
    	if physHugePageSize != 0 {
    		// Round v up to a huge page boundary.
    		beg := alignUp(uintptr(v), physHugePageSize)
    		// Round v+n down to a huge page boundary.
    		end := alignDown(uintptr(v)+n, physHugePageSize)
    
    		if beg < end {
    			madvise(unsafe.Pointer(beg), end-beg, _MADV_HUGEPAGE)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                warmUpCount WARMUPS
                invocationCount INVOCATIONS
                displayName(WITHOUT_PLUGIN_LABEL)
                invocation {
                    // Increase client VM heap memory because of a huge amount of output events
                    clientJvmArgs("-Xmx256m", "-Xms256m")
                    args(*jobArgs)
                    tasksToRun(*tasks)
                    if (withFailure) {
                        expectFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/time/internal_test.go

    //
    // This test has to be in internal_test.go since it fiddles with
    // unexported data structures.
    func CheckRuntimeTimerPeriodOverflow() {
    	// We manually create a runtimeTimer with huge period, but that expires
    	// immediately. The public Timer interface would require waiting for
    	// the entire period before the first update.
    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. test/nilptr3.go

    	_ = *bigstructp // ERROR "generated nil check"
    	_ = *empty1p    // ERROR "generated nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "generated nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "removed nil check"
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cadvisor/util.go

    		v1.ResourceCPU: *resource.NewMilliQuantity(
    			int64(info.NumCores*1000),
    			resource.DecimalSI),
    		v1.ResourceMemory: *resource.NewQuantity(
    			int64(info.MemoryCapacity),
    			resource.BinarySI),
    	}
    
    	// if huge pages are enabled, we report them as a schedulable resource on the node
    	for _, hugepagesInfo := range info.HugePages {
    		pageSizeBytes := int64(hugepagesInfo.PageSize * 1024)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/math/huge_test.go

    	0.84276385870875983,
    	-0.40806638884180424,
    	-0.37603456702698076,
    	-3.39135965054779932,
    	-6.76813854009065030,
    	0.76417695016604922,
    	-0.00496201587444489,
    }
    
    // Check that trig values of huge angles return accurate results.
    // This confirms that argument reduction works for very large values
    // up to MaxFloat64.
    func TestHugeCos(t *testing.T) {
    	for i := 0; i < len(trigHuge); i++ {
    		f1 := cosHuge[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:23:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/image/ycbcr.go

    	// totalLength should be the same as i2, below, for a valid Rectangle r.
    	totalLength := add2NonNeg(
    		mul3NonNeg(1, w, h),
    		mul3NonNeg(2, cw, ch),
    	)
    	if totalLength < 0 {
    		panic("image: NewYCbCr Rectangle has huge or negative dimensions")
    	}
    
    	i0 := w*h + 0*cw*ch
    	i1 := w*h + 1*cw*ch
    	i2 := w*h + 2*cw*ch
    	b := make([]byte, i2)
    	return &YCbCr{
    		Y:              b[:i0:i0],
    		Cb:             b[i0:i1:i1],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java

                }
            };
        }
    
        //offset based implementation is only safe up to certain figure
        //because of the int max value
        //for large streams/files (huge builds), we need to roll the file
        //otherwise the stream.size() returns max integer and the offset is no longer correct
        private boolean isFull(DefaultBinaryStore store) {
            return store.getSize() > maxSize;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. pkg/kube/client_factory.go

    var _ PartialFactory = &clientFactory{}
    
    // clientFactory partially implements the kubectl util.Factory, which is provides access to various k8s clients.
    // The full Factory can be built with MakeKubeFactory.
    // This split is to avoid huge dependencies.
    type clientFactory struct {
    	clientConfig clientcmd.ClientConfig
    
    	expander lazy.Lazy[meta.RESTMapper]
    	mapper   lazy.Lazy[meta.ResettableRESTMapper]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top