Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 693 for IsEmpty (0.35 sec)

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

            for (int c : WinError.WINERR_CODES) {
                assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code");
            }
            assertTrue(lookupMessage(unknownCode).isEmpty());
        }
    
        @Test
        @DisplayName("Codes: all non-negative and unique")
        void codes_are_non_negative_and_unique() {
            // Edge checks: ensure there are no negative or duplicate codes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

        assertThat(getSubscriber().differentlyOverriddenNotAnnotatedInSubclassGoodEvents)
            .contains(EVENT);
        assertThat(getSubscriber().differentlyOverriddenNotAnnotatedInSubclassBadEvents).isEmpty();
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            List<FileNotifyInformation> notifications = response.getNotifyInformation();
    
            assertNotNull(notifications);
            assertTrue(notifications.isEmpty());
            assertEquals(0, notifications.size());
        }
    
        @Test
        @DisplayName("Test NotifyResponse interface with single notification")
        void testNotifyResponseWithSingleNotification() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // Then
            assertNotNull(exception.getContext());
            assertTrue(exception.getContext().isEmpty());
    
            // Adding null context should be safe
            exception.withContext(null);
            assertTrue(exception.getContext().isEmpty());
        }
    
        @Test
        @DisplayName("Should be serializable")
        void testSerialization() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. api/maven-api-metadata/src/main/mdo/metadata.mdo

                            // never convert from legacy to new format if either source or target is legacy format
                            if ( !v.getSnapshotVersions().isEmpty() )
                            {
                                for ( SnapshotVersion sv : versioning.getSnapshotVersions() )
                                {
                                    String key = getSnapshotVersionKey( sv );
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
        putEdge(N2, N1); // no-op
    
        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
        assertThat(graph.adjacentNodes(N1)).isEmpty();
        assertThat(graph.edges()).isEmpty();
        assertThat(graphAsMutableGraph.removeEdge(N2, N1)).isFalse();
      }
    
      @Test
      public void removeNode_existingNodeWithSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

          }
        }
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public final boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public final boolean containsKey(@Nullable Object key) {
        return Maps.safeContainsKey(delegate, key);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Short.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal short}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

     */
    @file:Suppress(
      "INVISIBLE_REFERENCE",
    )
    
    package okhttp3.brotli
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import kotlin.test.assertFailsWith
    import okhttp3.CompressionInterceptor
    import okhttp3.Gzip
    import okhttp3.MediaType.Companion.toMediaType
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else {
                return toDouble(o.toString());
            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Double.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal double}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top