Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 656 for minimum (0.05 sec)

  1. src/main/java/jcifs/smb/SIDCacheImpl.java

         * expired because under normal circumstances SID information never changes.
         *
         * @param authorityServerName
         *            The hostname of the server that should be queried. For maximum efficiency this should be the hostname
         *            of a domain controller however a member server will work as well and a domain controller may not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                request.setEncodedSize(16);
                int result3 = request.encode(buffer, 240);
                assertEquals(16, result3);
            }
    
            @Test
            @DisplayName("Should handle maximum name length")
            void testMaximumNameLength() {
                byte[] maxName = new byte[65536]; // 64KB
                Arrays.fill(maxName, (byte) 'M');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

        }
    
        @Test
        @DisplayName("getSmbSession creates and then reuses matching session")
        void getSmbSession_createAndReuse() {
            // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds
            CredentialsInternal creds = mock(CredentialsInternal.class);
            when(ctx.getCredentials()).thenReturn(creds);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

        return NULL_OUTPUT_STREAM;
      }
    
      /**
       * Wraps a {@link InputStream}, limiting the number of bytes which can be read.
       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
       * @return a length-limited {@link InputStream}
       * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream)
       */
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * chosen. Guarded by this.
       */
      internal var routeFailureCount = 0
    
      private var successCount = 0
      private var refusedStreamCount = 0
    
      /**
       * The maximum number of concurrent streams that can be carried by this connection. If
       * `allocations.size() < allocationLimit` then new streams can be created on this connection.
       */
      internal var allocationLimit = 1
        private set
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the maximum number of bytes to read
         * @return number of bytes read
         *
         * @throws IOException
         *             if a network error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
            s.sub_authority_count = (byte) subs.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTest {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() throws SMBProtocolDecodingException {
                // Arrange
                int[] largeHashAlgos = new int[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            // Bit 0 of byte 1 is MSB, followed by bytes 2 and 3
            assertEquals(0x012345, length);
        }
    
        @Test
        @DisplayName("readLength should handle maximum length")
        void testReadLengthMaximum() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top