Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxID (0.04 sec)

  1. src/internal/trace/base.go

    		return
    	}
    	// Find the range of IDs.
    	maxID := EI(0)
    	minID := ^EI(0)
    	for id := range d.sparse {
    		if id > maxID {
    			maxID = id
    		}
    		if id < minID {
    			minID = id
    		}
    	}
    	if maxID >= math.MaxInt {
    		// We can't create a slice big enough to hold maxID elements
    		return
    	}
    	// We're willing to waste at most 2x memory.
    	if int(maxID-minID) > max(len(d.sparse), 2*len(d.sparse)) {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/internal/cpu/cpu_x86.go

    			option{Name: "avx512f", Feature: &X86.HasAVX512F},
    			option{Name: "avx512bw", Feature: &X86.HasAVX512BW},
    			option{Name: "avx512vl", Feature: &X86.HasAVX512VL},
    		)
    	}
    
    	maxID, _, _, _ := cpuid(0, 0)
    
    	if maxID < 1 {
    		return
    	}
    
    	maxExtendedFunctionInformation, _, _, _ = cpuid(0x80000000, 0)
    
    	_, _, ecx1, _ := cpuid(1, 0)
    
    	X86.HasSSE3 = isSet(ecx1, cpuid_SSE3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:20 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top