Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 499 for Younis (0.07 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for UnsignedInts
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class UnsignedIntsTest extends TestCase {
      private static final long[] UNSIGNED_INTS = {
        0L,
        1L,
        2L,
        3L,
        0x12345678L,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Derived suite generators for Guava collection interfaces, split out of the suite builders so that
     * they are available to GWT.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedGoogleCollectionGenerators {
      public static class MapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

    import com.google.common.primitives.Doubles;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Exhaustive input sets for every integral type.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public final class MathTesting {
      static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES =
          ImmutableSet.copyOf(RoundingMode.values());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible
    public abstract class ForwardingNavigableSet<E extends @Nullable Object>
        extends ForwardingSortedSet<E> implements NavigableSet<E> {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class,
                    () -> InputValidator.validateSmb2BufferSize(InputValidator.MAX_SMB2_BUFFER_SIZE + 1, "test"));
        }
    
        @Test
        @DisplayName("Test array bounds validation")
        void testArrayBounds() {
            byte[] src = new byte[100];
            byte[] dst = new byte[100];
    
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeSet.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#rangeset">RangeSets</a>.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
    @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractCache.java

        private final LongAddable totalLoadTime = LongAddables.create();
        private final LongAddable evictionCount = LongAddables.create();
    
        /** Constructs an instance with all counts initialized to zero. */
        public SimpleStatsCounter() {}
    
        /**
         * @since 11.0
         */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
     *     .expectCollects(10, "1", "4", "3", "2")
     *     .expectCollects(5, "-3", "0", "8");
     * </pre>
     *
     * @author Louis Wasserman
     * @since 33.5.0 (but since 21.0 in the JRE flavor)
     */
    @GwtCompatible
    @NullMarked
    @IgnoreJRERequirement // Users will use this only if they're already using Collector.
    public final class CollectorTester<
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        void testMethodsWithIndicesBeyondBuffer() {
            // Arrange
            byte[] buffer = new byte[10];
            int beyondIndex = 20;
    
            // Act & Assert
            // These methods don't validate buffer bounds, so they return 0
            assertEquals(0, response.writeSetupWireFormat(buffer, beyondIndex));
            assertEquals(0, response.writeParametersWireFormat(buffer, beyondIndex));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top