- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 220 for incomparable (0.32 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
CIFSException exception = assertThrows(CIFSException.class, () -> response.getInfo(FileFsSizeInformation.class), "Should throw CIFSException for incompatible class"); assertEquals("Incompatible file information class", exception.getMessage()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
@Override public final void setResponse(final CommonServerMessageBlockResponse msg) { if (msg != null && !(msg instanceof ServerMessageBlock2)) { throw new IllegalArgumentException("Incompatible response"); } this.response = (T) msg; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/math/ToDoubleRounder.java
/** * Helper type to implement rounding {@code X} to a representable {@code double} value according to * a {@link RoundingMode}. */ @GwtIncompatible abstract class ToDoubleRounder<X extends Number & Comparable<X>> { /** * Returns x rounded to either the greatest double less than or equal to the precise value of x, * or the least double greater than or equal to the precise value of x. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
public static void testInvariants(RangeSet<?> rangeSet) { testInvariantsInternal(rangeSet); testInvariantsInternal(rangeSet.complement()); } private static <C extends Comparable<?>> void testInvariantsInternal(RangeSet<C> rangeSet) { assertEquals(rangeSet.asRanges().isEmpty(), rangeSet.isEmpty()); assertEquals(rangeSet.asDescendingSetOfRanges().isEmpty(), rangeSet.isEmpty());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
@SuppressWarnings("unchecked") public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException { if (!type.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); } return (T) this.info; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* * @throws NullPointerException if any element in the input is null * @since 21.0 */ public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf( Iterable<? extends E> elements) { Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]); checkElementsNotNull((Object[]) array); Arrays.sort(array); return asImmutableList(array); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
api/go1.24.txt
pkg go/types, method (*TypeParamList) TypeParams() iter.Seq[*TypeParam] #66626 pkg go/types, method (*Union) Terms() iter.Seq[*Term] #66626 pkg hash/maphash, func Comparable[$0 comparable](Seed, $0) uint64 #54670 pkg hash/maphash, func WriteComparable[$0 comparable](*Hash, $0) #54670 pkg log/slog, method (*LevelVar) AppendText([]uint8) ([]uint8, error) #62384 pkg log/slog, method (Level) AppendText([]uint8) ([]uint8, error) #62384
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Dec 17 21:28:29 UTC 2024 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
*/ @GwtCompatible @NullMarked public class ComparisonChainTest extends TestCase { private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe(); private static class DontCompareMe implements Comparable<DontCompareMe> { @Override public int compareTo(DontCompareMe o) { throw new AssertionFailedError(); } } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated methodRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> { /** Test an empty collection. */ ZERO(0), /** Test a one-element collection. */ ONE(1), /** Test a three-element collection. */ SEVERAL(3), /*Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0)