- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for IsLessThan (0.22 sec)
-
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.result()) .isLessThan(0); } public void testCompareFalseFirst() { assertThat(ComparisonChain.start().compareFalseFirst(true, true).result()).isEqualTo(0); assertThat(ComparisonChain.start().compareFalseFirst(true, false).result()).isGreaterThan(0); assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go
{ name: "quantity_less", expr: `quantity("50M").isLessThan(quantity("50Mi"))`, expectValue: trueVal, }, { name: "quantity_less_obvious", expr: `quantity("50M").isLessThan(quantity("100M"))`, expectValue: trueVal, }, { name: "quantity_less_false", expr: `quantity("100M").isLessThan(quantity("50M"))`, expectValue: falseVal, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask.go
// lower-numbered bits set wins out. func (s *bitMask) IsNarrowerThan(mask BitMask) bool { if s.Count() == mask.Count() { return s.IsLessThan(mask) } return s.Count() < mask.Count() } // IsLessThan checks which bitmask has more lower-numbered bits set. func (s *bitMask) IsLessThan(mask BitMask) bool { return *s < *mask.(*bitMask) } // IsGreaterThan checks which bitmask has more higher-numbered bits set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 5.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
* limitations under the License. */ package okhttp3.internal.ws import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isLessThan import java.io.EOFException import kotlin.test.assertFailsWith import okhttp3.TestUtil.fragmentBuffer import okio.Buffer import okio.ByteString import okio.ByteString.Companion.decodeHex
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
assertThat(compactTable.sections.length).isLessThan(1 shl 14) // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes. assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4) // Less than 16,384 chars, because we index on a 14-bit index in the ranges table. assertThat(compactTable.mappings.length).isLessThan(1 shl 14) // Confirm the data strings are ASCII.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go
// Kubernetes <1.28>: "errored", "error", // Kubernetes <1.29>: "add", "asApproximateFloat", "asInteger", "compareTo", "isGreaterThan", "isInteger", "isLessThan", "isQuantity", "quantity", "sign", "sub", // Kubernetes <1.30>:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/numa_info.go
m2Distance := n.NUMADistances.CalculateAverageFor(m2) // If average distance is the same, take bitmask with more lower-number bits set. if m1Distance == m2Distance { if m1.IsLessThan(m2) { return m1 } return m2 } // Otherwise, return the bitmask with the shortest average distance between NUMA nodes. if m1Distance < m2Distance { return m1 } return m2 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 09 16:52:14 UTC 2022 - 2.7K bytes - Viewed (0)