Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,758 for null (0.02 sec)

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

        @DisplayName("Should handle context with null values")
        void testNullContext() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.UNKNOWN_ERROR, "Something went wrong", null, null, null);
    
            // Then
            assertNotNull(exception.getContext());
            assertTrue(exception.getContext().isEmpty());
    
            // Adding null context should be safe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

            synchronized(this@Relay) {
              upstreamReader = null
              ******@****.***All()
            }
          }
        }
    
        override fun timeout(): Timeout = timeout
    
        @Throws(IOException::class)
        override fun close() {
          if (fileOperator == null) return // Already closed.
          fileOperator = null
    
          var fileToClose: RandomAccessFile? = null
          synchronized(this@Relay) {
            sourceCount--
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (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.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                }
            };
    
            // When/Then
            assertFalse(iterator.hasNext(), "Should not have next when advance returns null");
            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no next element");
        }
    
        /**
         * Test multiple iterations with mixed filtering results.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

       */
      fun takeEvent(
        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
        val result = eventSequence.remove()
        val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs)
        lastTimestampNs = result.timestampNs
    
        if (eventClass != null) {
          assertThat(result).isInstanceOf(eventClass)
        }
    
        if (elapsedMs != -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
        val throwable: Throwable? = null,
      ) {
        val isSuccess: Boolean
          get() = nextPlan == null && throwable == null
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                if (textObj == null) {
                    continue;
                }
                final String text = textObj.toString();
                final String lang = document.get(langFieldName) == null ? null : document.get(langFieldName).toString();
    
                final List<AnalyzeToken> tokens = analyzeText(analyzer, field, text, lang);
                if (tokens == null) {
                    continue;
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         *
         * @param rootDir the root directory (must not be {@literal null})
         * @param handler the handler to process classes (must not be {@literal null})
         */
        public static void forEach(final File rootDir, final ClassHandler handler) {
            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            forEach(rootDir, null, handler);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "third event"))
      }
    
      @Test
      fun nakedFieldNames() {
        consumeEvents(
          """
          |data
          |
          |data
          |data
          |
          |data:
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, ""))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsRoleCQ.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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top