Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 5,044 for Null (0.03 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null path returns minimal bytes")
        void testWriteWhenPathIsNull() {
            // When path is null, Strings.getOEMBytes returns empty array, not NPE
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            SmbComQueryInformation nullPathCmd = new SmbComQueryInformation(mockConfig, null);
            byte[] buffer = new byte[50];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

        }
    
        /**
         * Test getAnchorSet with null input
         */
        @Test
        public void test_getAnchorSet_withNull() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
            Set<RequestData> result = crawlerThread.getAnchorSet(null);
            assertNull(result, "getAnchorSet should return null for null input");
        }
    
        /**
         * Test getAnchorSet with single string
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible @GwtIncompatible // java.lang.reflect
      private static final @Nullable Method getStackTraceElementMethod =
          (jla == null) ? null : getGetMethod();
    
      /**
       * The "getStackTraceDepth" method, only available on some JDKs so we use reflection to find it
       * when available. When this is null, use the slow way.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRelatedQueryCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setId_NotEqual(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotTerm(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 57.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsAccessTokenCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setId_NotEqual(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotTerm(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 71.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            if (msg != null) {
                assertTrue(ts.contains(msg), "toString should contain provided message");
            } else {
                assertFalse(ts.contains(":"), "toString should not contain ':' when message is null");
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
          Spliterator<E> split = spliterator.trySplit();
          return split == null ? null : new GeneralSpliteratorOfObject<>(split);
        }
      }
    
      @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester
      private static final class GeneralSpliteratorOfPrimitive<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
          Spliterator<E> split = spliterator.trySplit();
          return split == null ? null : new GeneralSpliteratorOfObject<>(split);
        }
      }
    
      private static final class GeneralSpliteratorOfPrimitive<
              E extends @Nullable Object, C, S extends Spliterator.OfPrimitive<E, C, S>>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Test convert with null text - this might throw exception
            String text = null;
            String field = "content";
    
            try {
                List<String> results = converter.convert(text, field, "en");
                assertNotNull(results);
            } catch (Exception e) {
                // Expected behavior - null text might cause exception
                assertNotNull(e);
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

            assertEquals("abcd", normalizer.normalize("abcd", null));
            assertEquals("みかん", normalizer.normalize("みかん", null));
            assertEquals("みかん リンゴ", normalizer.normalize("みかん リンゴ", null));
        }
    
        public void test_AnyLower() {
            ICUNormalizer normalizer = new ICUNormalizer("Any-Lower");
            assertEquals("abcd", normalizer.normalize("ABCD", null));
        }
    
        public void test_HalfwidthFullwidth() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top