Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 5,044 for Null (0.03 seconds)

  1. src/test/java/jcifs/AddressTest.java

            String hostName = mockAddress.getHostName();
    
            // Then
            assertEquals(expectedHostName, hostName, "Should return configured hostname");
            assertNotNull(hostName, "Host name should not be null");
        }
    
        @Test
        @DisplayName("getHostAddress should return valid IP address string")
        void testGetHostAddressContract() {
            // Given
            String expectedAddress = "192.168.1.100";
    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/util/QueryResponseListTest.java

            qrList.allRecordCountRelation = null;
            qrList.queryTime = 0;
            qrList.partialResults = false;
            qrList.facetResponse = null;
    
            String toStringResult = qrList.toString();
            assertTrue(toStringResult.contains("QueryResponseList"));
            assertTrue(toStringResult.contains("allRecordCountRelation=null"));
            assertTrue(toStringResult.contains("facetResponse=null"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Test
        @DisplayName("Test isValid with null context")
        void testIsValidWithNullContext() {
            // Arrange
            when(negotiationResponse.isValid(null, negotiationRequest)).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isValid(null, negotiationRequest);
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isValid(null, negotiationRequest);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          if (entry.getKey() == null) {
            tryDrainReferenceQueues();
            return null;
          }
          V value = entry.getValue();
          if (value == null) {
            tryDrainReferenceQueues();
            return null;
          }
    
          return value;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes, or from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            if (throwable != null) {
              if (throwable !is IOException) throw throwable
              if (firstException == null) {
                firstException = throwable
              } else {
                firstException.addSuppressed(throwable)
              }
            }
    
            val nextPlan = connectResult.nextPlan
            if (nextPlan != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/Config.java

            int level;
            FileInputStream in = null;
    
            log = LogStream.getInstance();
    
            try {
                filename = System.getProperty("jcifs_smb1.properties");
                if (filename != null && filename.length() > 1) {
                    in = new FileInputStream(filename);
                }
                Config.load(in);
                if (in != null) {
                    in.close();
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeRangeSet.java

              if (firstEntry != null && firstEntry.getKey().equals(cut)) {
                return firstEntry.getValue();
              }
            } catch (ClassCastException e) {
              return null;
            }
          }
          return null;
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              check(waitingCoordinatorTask != null)
    
              // Queue a task to resume the waiting coordinator.
              serialTaskQueue +=
                object : SerialTask {
                  override fun start() {
                    taskRunner.assertLockHeld()
                    val coordinatorTask = waitingCoordinatorTask
                    if (coordinatorTask != null) {
                      waitingCoordinatorNotified = true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         *
         * @param obj the object containing anchor URLs (String or List of Strings)
         * @return a set of RequestData objects for the anchor URLs, or null if no valid URLs found
         */
        protected Set<RequestData> getAnchorSet(final Object obj) {
            if (obj == null) {
                return null;
            }
    
            List<String> anchorList;
            if (obj instanceof final String s) {
                anchorList = List.of(s);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals("0", getResultMessageMethod.invoke(null, 0), "Should return '0' for success");
                assertEquals("DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 1),
                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top