Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 4,078 for Null (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        // Edge / invalid: null referral or empty/blank path
        @Test
        @DisplayName("handleDFSReferral handles null referral and empty path")
        void handleDfsReferralNullAndEmpty() {
            when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/");
            assertEquals("smb://server/share/", locator.handleDFSReferral(null, ""));
            verify(locator).handleDFSReferral(null, "");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

        void nullOptions_throwOnAccess() {
            // Arrange
            StaticJAASConfiguration cfg = new StaticJAASConfiguration(null);
    
            // Act + Assert
            assertThrows(IllegalArgumentException.class, () -> cfg.getAppConfigurationEntry("any"),
                    "JAAS AppConfigurationEntry requires non-null options");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                final byte[] unicodeHash) {
            if (domain == null || username == null || ansiHash == null || unicodeHash == null) {
                throw new IllegalArgumentException("External credentials cannot be null");
            }
            this.domain = domain;
            this.username = username;
            this.password = null;
            this.challenge = challenge;
            this.ansiHash = ansiHash;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            // Test with null values
            result = jobExecutor.execute(null, "script");
            assertEquals("Executed: null script", result);
    
            result = jobExecutor.execute("type", null);
            assertEquals("Executed: type null", result);
    
            result = jobExecutor.execute(null, null);
            assertEquals("Executed: null null", result);
    
            // Test with empty strings
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            return toDouble(o, null);
        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Double}
         */
        public static Double toDouble(final Object o, final String pattern) {
            if (o == null) {
                return null;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        @Test
        @DisplayName("Constructor with open() returning null closes immediately and hasNext=false")
        void constructorOpenNullCloses() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    
            // Create iterator where open() returns null by giving null initial
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

          responseDone = true,
          socketSinkDone = true,
          socketSourceDone = 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,
        isSocket: Boolean,
        responseDone: Boolean = false,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

            if (text == null) {
                return null;
            }
            String tmp = text;
            for (final Normalizer normalizer : normalizers) {
                tmp = normalizer.normalize(tmp, field, langs);
                if (tmp == null) {
                    return null;
                }
            }
            return tmp;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. 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));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
Back to Top