Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 202 for Ints (0.02 seconds)

  1. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(5, getTotalAvailableEntries(response));
        }
    
        @ParameterizedTest
        @DisplayName("Test readParametersWireFormat with various status values")
        @ValueSource(ints = { 0, 1, 100, 255, 32767, 65535 })
        void testReadParametersWireFormatWithVariousStatus(int status) throws Exception {
            byte[] buffer = new byte[8];
            int bufferIndex = 0;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNotNull(securityDescriptor.getOwnerGroupSid());
        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various ACE counts")
        @ValueSource(ints = { 0, 1, 10, 100, 1000, 4096 })
        void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException {
            // This test is theoretical as we can't create huge buffers
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200, 500, 1000 })
        @DisplayName("Should handle various token sizes")
        void testVariousTokenSizes(int tokenSize) throws Exception {
            // Given
            byte[] token = createTestData(tokenSize);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @ParameterizedTest
        @DisplayName("Test writeBytesWireFormat with different input buffer sizes")
        @ValueSource(ints = { 0, 10, 50, 100, 255 })
        void testWriteBytesWireFormatWithDifferentBufferSizes(int bufferSize) {
            request = new Smb2QueryInfoRequest(mockConfig, testFileId);
    
            if (bufferSize > 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            assertNotNull(response.getServerGuid());
        }
    
        @ParameterizedTest
        @DisplayName("Should throw exception for invalid structure size")
        @ValueSource(ints = { 0, 1, 64, 66, 128 })
        void testReadBytesWireFormatInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(structureSize, buffer, 0);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

       *     {@code toIndex > fromIndex}
       * @since 32.0.0
       */
      public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          Spliterator.OfLong spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((LongConsumer) this::add);
          return this;
        }
    
        /**
         * Appends {@code values}, in order, to the end of the values the built {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. guava/src/com/google/common/primitives/Booleans.java

       *     {@code toIndex > fromIndex}
       * @since 32.0.0
       */
      public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top