Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 5,044 for Null (0.02 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                    setField(resp, Trans2FindFirst2Response.class, "lastName", null);
                }
                resp.received();
                return resp;
            });
    
            DirFileEntryEnumIterator1 it = new DirFileEntryEnumIterator1(tree, parent, "*", null, 0);
    
            // Act & Assert: entries a, b, c (dot entries filtered) then end
            assertTrue(it.hasNext());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. 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)
  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));
    
    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)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        public void clear() {
          Arrays.fill(hashTable, null);
          size = 0;
          for (ValueEntry<K, V> entry = firstEntry; entry != null; entry = entry.successorInValueSet) {
            multimapIterationChain.delete(entry);
            // TODO(cpovirk): Also clear *InValueSet (after reading next) and nextInValueBucket?
          }
          firstEntry = null;
          lastEntry = null;
          modCount++;
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p>Example:
       *
       * {@snippet :
       * Ordering.allEqual().nullsLast().sortedCopy(asList(t, null, e, s, null, t, null))
       * }
       *
       * <p>Assuming {@code t}, {@code e} and {@code s} are non-null, this returns {@code [t, e, s, t,
       * null, null, null]} regardless of the true comparison order of those three values (which might
       * not even implement {@link Comparable} at all).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
Back to Top