Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for hinv (0.05 sec)

  1. src/math/rand/zipf.go

    	z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0)))
    	return z
    }
    
    // Uint64 returns a value drawn from the [Zipf] distribution described
    // by the [Zipf] object.
    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    	k := 0.0
    
    	for {
    		r := z.r.Float64() // r on [0,1]
    		ur := z.hxm + r*z.hx0minusHxm
    		x := z.hinv(ur)
    		k = math.Floor(x + 0.5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/math/rand/v2/zipf.go

    	z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0)))
    	return z
    }
    
    // Uint64 returns a value drawn from the Zipf distribution described
    // by the Zipf object.
    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    	k := 0.0
    
    	for {
    		r := z.r.Float64() // r on [0,1]
    		ur := z.hxm + r*z.hx0minusHxm
    		x := z.hinv(ur)
    		k = math.Floor(x + 0.5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 14:29:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/anames.go

    	"CASB",
    	"CASD",
    	"CASH",
    	"CASLD",
    	"CASLW",
    	"CASPD",
    	"CASPW",
    	"CASW",
    	"CBNZ",
    	"CBNZW",
    	"CBZ",
    	"CBZW",
    	"CCMN",
    	"CCMNW",
    	"CCMP",
    	"CCMPW",
    	"CINC",
    	"CINCW",
    	"CINV",
    	"CINVW",
    	"CLREX",
    	"CLS",
    	"CLSW",
    	"CLZ",
    	"CLZW",
    	"CMN",
    	"CMNW",
    	"CMP",
    	"CMPW",
    	"CNEG",
    	"CNEGW",
    	"CRC32B",
    	"CRC32CB",
    	"CRC32CH",
    	"CRC32CW",
    	"CRC32CX",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/resources/org/apache/maven/artifact/manager/DefaultWagonManagerTest.xml

          <role-hint>b2</role-hint>
          <implementation>org.apache.maven.artifact.manager.WagonB</implementation>
        </component>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>c</role-hint>
          <implementation>org.apache.maven.artifact.manager.WagonC</implementation>
        </component>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>string</role-hint>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 26 16:34:19 UTC 2009
    - 1.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/policy.go

    	// Get the NUMANodeAffinity from each hint in the permutation and see if any
    	// of them encode unpreferred allocations.
    	preferred := true
    	var numaAffinities []bitmask.BitMask
    	for _, hint := range permutation {
    		// Only consider hints that have an actual NUMANodeAffinity set.
    		if hint.NUMANodeAffinity != nil {
    			numaAffinities = append(numaAffinities, hint.NUMANodeAffinity)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    				filtered = append(filtered, hint)
    			}
    			if hint.NUMANodeAffinity != nil && hint.NUMANodeAffinity.Count() == 1 && hint.Preferred {
    				filtered = append(filtered, hint)
    			}
    		}
    		filteredResourcesHints = append(filteredResourcesHints, filtered)
    	}
    	return filteredResourcesHints
    }
    
    func (p *singleNumaNodePolicy) Merge(providersHints []map[string][]TopologyHint) (TopologyHint, bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/fake_topology_manager.go

    )
    
    type fakeManager struct {
    	hint   *TopologyHint
    	policy Policy
    }
    
    // NewFakeManager returns an instance of FakeManager
    func NewFakeManager() Manager {
    	klog.InfoS("NewFakeManager")
    	return &fakeManager{}
    }
    
    // NewFakeManagerWithHint returns an instance of fake topology manager with specified topology hints
    func NewFakeManagerWithHint(hint *TopologyHint) Manager {
    	klog.InfoS("NewFakeManagerWithHint")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:02:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. internal/config/errors-utils.go

    	// Add action message
    	if uiErr.action != "" {
    		renderedTxt += "> " + color.BgYellow(color.Black(uiErr.action)) + "\n"
    	}
    	// Add hint
    	if uiErr.hint != "" {
    		renderedTxt += color.Bold("HINT:") + "\n"
    		renderedTxt += "  " + uiErr.hint
    	}
    	return renderedTxt
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionTest.groovy

        private static final String HINT = 'must be positive'
        private static final String GRADLE_PROPERTY = 'org.gradle.property'
        private static final String OPTION = 'option'
    
        def "can handle invalid value for Gradle property with empty #hint"() {
            when:
            Origin.forGradleProperty(GRADLE_PROPERTY).handleInvalidValue(VALUE, hint)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p256_asm_table_test.go

    	p := NewP256Point()
    	zInv := new(p256Element)
    	zInvSq := new(p256Element)
    
    	for j := 0; j < 32; j++ {
    		p.Add(p, base)
    
    		// Convert p to affine coordinates.
    		p256Inverse(zInv, &p.z)
    		p256Sqr(zInvSq, zInv, 1)
    		p256Mul(zInv, zInv, zInvSq)
    
    		p256Mul(&p.x, &p.x, zInvSq)
    		p256Mul(&p.y, &p.y, zInv)
    		p.z = p256One
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top