Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2391 - 2400 of 3,735 for Null (0.02 sec)

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

            }
    
            @Test
            void equalsHandlesNullNames() {
                ASN1ObjectIdentifier oid = testOid();
                MIEName a = new MIEName(oid, null);
                MIEName b = new MIEName(oid, null);
                assertEquals(a, b);
                assertNull(a.toString()); // toString returns field as-is
            }
    
            @Test
            void notEqualWhenOidDiffersOrNameNullityDiffers() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

        }
    
        public void test_execute_withNullContext() {
            // Test execute method with null context
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 1.0f;
    
            QueryBuilder result = matchAllQueryCommand.execute(null, query, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

            return of(element);
          default:
            return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements));
        }
      }
    
      // Factory method that skips the null checks.  Used only when the elements
      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
          case 1:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
            int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * Returns the system property value for the specified key.
         *
         * @param key the property key
         * @return the property value, or null if not found
         */
        public static String getProperty(String key) {
            return System.getProperty(key);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * @return file representing the tool executable, or null if the tool cannot be found
         */
        String findTool(String toolName);
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
            // Test with null message
            UnsupportedSearchException exception = new UnsupportedSearchException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

        /**
         * Returns the root cause of this exception if one exists
         *
         * @return the root cause throwable, or null if none exists
         */
        public Throwable getRootCause() {
            return rootCause;
        }
    
        @Override
        public String toString() {
            if (rootCause != null) {
                final StringWriter sw = new StringWriter();
                final PrintWriter pw = new PrintWriter(sw);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                UrlQueue urlQueue;
                while ((urlQueue = urlQueueService.poll(sessionId1)) != null) {
                    assertTrue(urlQueue.getUrl() + "=>" + url1, urlQueue.getUrl().startsWith(url1));
                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl() + "=>" + url2, urlQueue.getUrl().startsWith(url2));
                }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top