Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 693 for IsEmpty (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_fromTryBlock() throws IOException {
        Closer closer = new Closer(suppressor);
    
        TestCloseable c1 = closer.register(TestCloseable.normal());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext = new QueryContext("test", false);
            queryContext.addSorts();
    
            assertFalse(queryContext.hasSorts());
            assertTrue(queryContext.sortBuilders().isEmpty());
        }
    
        // Test hasSorts
        public void test_hasSorts() {
            queryContext = new QueryContext("test", false);
            assertFalse(queryContext.hasSorts());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
                if (cleanGraph == null || cleanGraph.isEmpty()) {
                    return null;
                }
    
                ClasspathContainer cpc = new ClasspathContainer(scope);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("isEmpty and isBlank edge cases")
            void testEmptyAndBlank() throws Exception {
                // No subauthorities
                SID s1 = new SID("S-1-5");
                assertTrue(s1.isEmpty());
                // isBlank will fail if sub_authority is null, so we skip that check for s1
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_fromTryBlock() throws IOException {
        Closer closer = new Closer(suppressor);
    
        TestCloseable c1 = closer.register(TestCloseable.normal());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

         */
        protected void storeClickLogFromQueue() {
            if (!clickLogQueue.isEmpty()) {
                processClickLogQueue(clickLogQueue);
            }
        }
    
        /**
         * Stores search logs from the queue.
         */
        protected void storeSearchLogFromQueue() {
            if (!searchLogQueue.isEmpty()) {
                processSearchLogQueue(searchLogQueue);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.security.cert.Certificate
    import kotlin.test.assertFailsWith
    import okhttp3.Handshake.Companion.handshake
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertEquals("TestResource", notification.getResourceName());
            assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
            assertTrue(notification.getNewIPAddresses().isEmpty());
            assertTrue(notification.getOldIPAddresses().isEmpty());
            assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags());
        }
    
        @Test
        void testAddIPAddresses() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MoreCollectors.java

        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
        Object getElement() {
          if (element == null) {
            throw new NoSuchElementException();
          } else if (extras.isEmpty()) {
            return element;
          } else {
            throw multiples(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (graph == null) {
                return null;
            }
    
            final MetadataGraphVertex entry = graph.getEntry();
            if (entry == null) {
                return null;
            }
    
            if (graph.isEmpty()) {
                throw new GraphConflictResolutionException("graph with an entry, but not vertices do not exist");
            }
    
            if (graph.isEmptyEdges()) {
                return null; // no edges - nothing to worry about
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top