Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 3,758 for null (0.04 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final SmbFileFilter ff) throws SmbException {
            try (CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes,
                    fnf == null ? null : new ResourceNameFilterWrapper(fnf), ff == null ? null : new ResourceFilterWrapper(ff))) {
    
                final List<SmbFile> list = new ArrayList<>();
                while (it.hasNext()) {
                    try (SmbResource n = it.next()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test allowChain with null parameter")
        void testAllowChainWithNull() {
            // Given
            when(request.allowChain(null)).thenReturn(false);
    
            // When
            boolean result = request.allowChain(null);
    
            // Then
            assertFalse(result);
            verify(request, times(1)).allowChain(null);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertNull(DocumentUtil.getValue(null, "key", String.class));
            assertNull(DocumentUtil.getValue(null, "key", Integer.class));
        }
    
        public void test_getValue_with_null_key() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", "value");
            assertNull(DocumentUtil.getValue(doc, null, String.class));
            assertNull(DocumentUtil.getValue(doc, null, Integer.class));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.writeDataWireFormat(null, 0));
    
            // Read methods return 0 without accessing null buffer
            assertEquals(0, response.readSetupWireFormat(null, 0, 0));
            assertEquals(0, response.readParametersWireFormat(null, 0, 0));
            assertEquals(0, response.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("Methods should handle empty buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            assertEquals(2, transWaitNamedPipe.setupCount);
        }
    
        @Test
        @DisplayName("Constructor with null pipe name should handle gracefully")
        void testConstructorWithNullPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            Set<Artifact> resolved = new LinkedHashSet<>();
    
            if (projects == null || projects.isEmpty()) {
                return resolved;
            }
    
            if ((scopesToCollect == null || scopesToCollect.isEmpty())
                    && (scopesToResolve == null || scopesToResolve.isEmpty())) {
                return resolved;
            }
    
            /*
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.4K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         * Validates that the entity is not null and sets the creation time if not already present.
         *
         * @param crawlingInfo the crawling information entity to prepare for storage
         * @throws FessSystemException if the crawling information is null
         */
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
            if (crawlingInfo == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                    assertTrue(true);
                    return;
                }
                // Should handle null keywords gracefully
                assertNotNull(functionBuilders);
            } catch (Exception e) {
                // May throw exception due to null handling
                assertNotNull(e);
            }
        }
    
        public void test_keyMatchHelper_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top