Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,274 for arrayOf (0.04 sec)

  1. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class FilterHashEqualsTest {
    
        @Test
        void testIncludesExcludesArtifactFilter() {
            List<String> patterns = Arrays.asList("c", "d", "e");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
            assertFalse(Arrays.equals(derived1, derived3), "Different contexts should produce different keys");
        }
    
        @Test
        public void testStoreNullKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            }
    
            /**
             * The number of shares in the array.
             */
            /**
             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
            public ShareInfo0[] array;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            } else if (logger.isDebugEnabled()) {
                logger.debug("Skip Child: {}", u);
            }
        }
    
        /**
         * Checks if the byte array contains UTF-8 BOM (Byte Order Mark).
         *
         * @param b the byte array to check
         * @return true if the bytes represent UTF-8 BOM, false otherwise
         */
        private boolean isUtf8BomBytes(final byte[] b) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

            String value3 = "c";
            settings.array().add(key, value1);
            settings.array().add(key, value2);
            settings.array().add(key, value3);
            assertEquals(3, settings.array().get(key).length);
            assertEquals(value1, settings.array().get(key)[0]);
            assertEquals(value2, settings.array().get(key)[1]);
            assertEquals(value3, settings.array().get(key)[2]);
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.fess.opensearch.user.bsentity.BsUser;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T> the type of array elements
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Encdec.java

                }
            }
    
            return di - start;
        }
    
        /**
         * Decodes a UTF-8 encoded string from a byte array.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            long affinityKey = 0;
            
            if (message instanceof Smb2ReadRequest) {
                affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId());
            } else if (message instanceof Smb2WriteRequest) {
                affinityKey = Arrays.hashCode(((Smb2WriteRequest)message).getFileId());
            }
            
            if (affinityKey != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top