Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 6,071 for then (0.28 sec)

  1. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                    return mockResource1;
                }
            };
    
            // When/Then
            assertFalse(iterator.hasNext(), "Should not have next when advance returns null");
            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no next element");
        }
    
        /**
         * Test multiple iterations with mixed filtering results.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. ci/official/utilities/setup_docker.sh

    #!/bin/bash
    # Copyright 2023 The TensorFlow Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Nov 20 17:33:55 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Given
            byte[] largeSessionKey = new byte[256]; // Larger than typical 16-byte key
            new SecureRandom().nextBytes(largeSessionKey);
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, largeSessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(signingKey, "Should handle large session key");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then - should handle gracefully
            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
        void testNotifyResponseInterface() {
            // Then
            assertTrue(response instanceof NotifyResponse);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            when(request.getNext()).thenReturn(nextRequest);
            when(nextRequest.getNext()).thenReturn(thirdRequest);
            when(thirdRequest.getNext()).thenReturn(null);
            when(request.allowChain(nextRequest)).thenReturn(true);
            when(nextRequest.allowChain(thirdRequest)).thenReturn(true);
    
            // When
            CommonServerMessageBlockRequest second = request.getNext();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(2000L); // Caller available (quota limited)
                buffer.putLong(5000L); // Actual free (more than caller can use)
                buffer.putInt(8);
                buffer.putInt(512);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
    
                // Then
                assertEquals(10000L * 8 * 512, fileFsFullSizeInfo.getCapacity());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

            @DisplayName("Should handle exception when getting challenge")
            void testGetChallengeException() throws CIFSException {
                // Given
                when(transportPool.getChallenge(context, address)).thenThrow(new CIFSException("Failed to get challenge"));
    
                // When & Then
                assertThrows(CIFSException.class, () -> transportPool.getChallenge(context, address));
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top