Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,758 for null (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

        call.messageDone(
          exchange = this,
          requestDone = true,
          responseDone = true,
          e = null,
        )
      }
    
      private fun trackFailure(e: IOException) {
        hasFailure = true
        codec.carrier.trackFailure(call, e)
      }
    
      /** If [e] is non-null, this will return a non-null value. */
      fun bodyComplete(
        bytesRead: Long = -1L,
        responseDone: Boolean = false,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Test
        @DisplayName("Test isValid with null context")
        void testIsValidWithNullContext() {
            // Arrange
            when(negotiationResponse.isValid(null, negotiationRequest)).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isValid(null, negotiationRequest);
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isValid(null, negotiationRequest);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertThrows(NullPointerException.class, () -> concreteImplementation.combine(null));
            }
    
            @Test
            @DisplayName("Should handle null in append")
            void testAppendWithNull() {
                // Test with mock
                doNothing().when(mockReferralData).append(null);
                assertDoesNotThrow(() -> mockReferralData.append(null));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a null byte array.
         * This test is indirect as the constructor would throw an exception.
         * We can't instantiate the class with null, so we can't directly test this method's behavior with null.
         * However, the constructor logic `!isCredentialTypeCorrect()` covers this.
         * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        }
    
        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top