- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for isLessThan (0.11 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: 2024-06-12 16:38 - Last Modified: 2024-02-19 20:34 - 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: 2024-06-15 01:39 - Last Modified: 2024-04-23 17:22 - 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: 2024-06-15 01:39 - Last Modified: 2022-11-03 09:45 - 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: 2024-06-16 04:42 - Last Modified: 2024-01-06 05:31 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
@ElementTypesAreNonnullByDefault abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { final C endpoint; Cut(C endpoint) { this.endpoint = endpoint; } abstract boolean isLessThan(C value); abstract BoundType typeAsLowerBound(); abstract BoundType typeAsUpperBound(); abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-22 21:19 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Cut.java
@ElementTypesAreNonnullByDefault abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { final C endpoint; Cut(C endpoint) { this.endpoint = endpoint; } abstract boolean isLessThan(C value); abstract BoundType typeAsLowerBound(); abstract BoundType typeAsUpperBound(); abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-22 21:19 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeSet.java
nextComplementRangeUpperBound = positiveRange.lowerBound; if (complementLowerBoundWindow.lowerBound.isLessThan(negativeRange.lowerBound)) { return Maps.immutableEntry(negativeRange.lowerBound, negativeRange); } } else if (complementLowerBoundWindow.lowerBound.isLessThan(Cut.<C>belowAll())) { Range<C> negativeRange = Range.create(Cut.<C>belowAll(), nextComplementRangeUpperBound);
Registered: 2024-06-12 16:38 - Last Modified: 2023-06-26 21:02 - 32.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: 2024-06-16 04:42 - Last Modified: 2024-01-08 01:13 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
nextComplementRangeUpperBound = positiveRange.lowerBound; if (complementLowerBoundWindow.lowerBound.isLessThan(negativeRange.lowerBound)) { return Maps.immutableEntry(negativeRange.lowerBound, negativeRange); } } else if (complementLowerBoundWindow.lowerBound.isLessThan(Cut.<C>belowAll())) { Range<C> negativeRange = Range.create(Cut.<C>belowAll(), nextComplementRangeUpperBound);
Registered: 2024-06-12 16:38 - Last Modified: 2023-06-26 21:02 - 32.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go
// // - isLessThan: Returns true if and only if the receiver is less than the operand // // - compareTo: Compares receiver to operand and returns 0 if they are equal, 1 if the receiver is greater, or -1 if the receiver is less than the operand // // // <Quantity>.isLessThan(<quantity>) <bool> // <Quantity>.isGreaterThan(<quantity>) <bool>
Registered: 2024-06-15 01:39 - Last Modified: 2023-08-23 21:31 - 11.2K bytes - Viewed (0)