- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 321 for hinv (0.2 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
internal/config/errors-utils.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 3.7K bytes - Viewed (0) -
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) -
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) -
maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java
} /** * The logger name for a component with a non-null hint is <code>role.hint</code>. * <b>Warning</b>: this does not conform to logger name as class name convention. * (and what about <code>null</code> and <code>default</code> hint equivalence?) */ public Logger getLoggerForComponent(String role, String hint) { return (null == hint ? getLoggerForComponent(role)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.8K bytes - Viewed (0)