Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 3,735 for Null (0.02 sec)

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

            // Filter accepts only when name is exactly null, otherwise false
            SmbFilenameFilter filter = (dir, n) -> n == null;
    
            boolean result = filter.accept(mockDir, name);
    
            if (name == null) {
                assertTrue(result, "Null name should be accepted by this filter");
            } else {
                assertFalse(result, "Non-null names should be rejected by this filter");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Constructor with all null parameters should work")
        void testConstructorWithAllNullParameters() {
            // Test that all null parameters are handled properly
            SmbNegotiation negotiationAllNull = new SmbNegotiation(null, null, null, null);
    
            assertNull(negotiationAllNull.getRequest());
            assertNull(negotiationAllNull.getResponse());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("first,null,third", result);
        }
    
        @Test
        @DisplayName("Should handle all null elements")
        void testJoinWithAllNullElements() {
            String result = StringUtil.join(",", null, null, null);
            assertEquals("null,null,null", result);
        }
    
        @Test
        @DisplayName("Should handle empty string elements")
        void testJoinWithEmptyStringElements() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/nio/ChannelUtil.java

        }
    
        /**
         * Returns a {@link ByteBuffer} that maps the file channel to memory.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param mode
         *            The mode. Must not be {@literal null}.
         * @return A {@link ByteBuffer} that maps the file channel to memory.
         */
        public static ByteBuffer map(final FileChannel channel, final MapMode mode) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 0.5f, null, null, null, SuggestItem.Kind.QUERY);
            assertEquals(1.0f, item.getUserBoost(), 0.001f); // Should be set to 1
    
            // Test with boost greater than 1
            SuggestItem item2 = new SuggestItem(text, readings, null, 0L, 0L, 2.5f, null, null, null, SuggestItem.Kind.QUERY);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

            synchronized (session.transport()) {
                if (response != null) {
                    response.received = false;
                }
                treeConnect(request, response);
                if (request == null || response != null && response.received) {
                    return;
                }
                if (!service.equals("A:")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param arrays
         *            the array
         * @return {@literal true} if the array is {@literal null} or has a length of 0
         */
        public static boolean isEmpty(final boolean[] arrays) {
            return arrays == null || arrays.length == 0;
        }
    
        /**
         * Returns {@literal true} if the array is not {@literal null} and its length is not 0.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit p4 = new NegTokenInit(tokenTag4);
            assertArrayEquals(mic, p4.getMechanismListMIC(), "MIC should be parsed from tag [4]");
    
            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        /**
         * Builds the effective settings of the specified settings files.
         *
         * @param request the settings building request that holds the parameters, must not be {@code null}
         * @return the result of the settings building, never {@code null}
         * @throws SettingsBuilderException if the effective settings could not be built
         */
        @Nonnull
        SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top