Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 1,161 for IsEmpty (0.07 seconds)

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

                return out;
              }
            });
        assertExpectedBytes(out.toByteArray());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.length == 0, source.isEmpty());
      }
    
      public void testSize() throws IOException {
        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            List<KerberosAuthData> authorizations = relevantAuthData.getAuthorizations();
            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertTrue(authorizations.isEmpty(), "The authorizations list should be empty.");
        }
    
        /**
         * Test the getAuthorizations method.
         *
         * @throws IOException if ASN.1 encoding fails.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete");
            executor.shutdown();
    
            // Then - All operations should succeed
            assertTrue(exceptions.isEmpty(), "No exceptions should occur");
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            insertContentElement(parent, GROUP_ID, groupId);
            insertContentElement(parent, ARTIFACT_ID, artifactId);
            if (version != null && !version.isEmpty()) {
                insertContentElement(parent, VERSION, version);
            }
        }
    
        /**
         * Convenience method to create a dependency element with GAV.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        void takeSuccessfully() {
          assertThat(takeUninterruptibly(queue)).isEqualTo(EXPECTED_TAKE);
          completed.assertCompletionExpected();
          assertTrue(queue.isEmpty());
        }
    
        private static void scheduleEnableReads(BlockingQueue<String> queue, long countdownInMillis) {
          Runnable toRun = new EnableReads(queue, countdownInMillis);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  6. cmd/iam-store.go

    		newPolicySet = existingPolicySet.Difference(policiesToUpdate)
    	}
    	// We return an error if the requested policy update will have no effect.
    	if policiesToUpdate.IsEmpty() {
    		err = errNoPolicyToAttachOrDetach
    		return updatedAt, addedOrRemoved, effectivePolicies, err
    	}
    
    	newPolicies := newPolicySet.ToSlice()
    	newPolicyMapping.Policies = strings.Join(newPolicies, ",")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

                    allErrors.addAll(findMissingAdocFiles(jsonFile, directoryPath));
                    allErrors.addAll(findMissingAnchors(jsonFile, allExistingAnchors));
                }
    
                if (!allErrors.isEmpty()) {
                    System.out.println("Found documentation files or anchors that do not exist:");
                    for (String error : allErrors) {
                        System.out.println(error);
                    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                        if (currentType == null) {
                            currentType = jar;
                        }
                    }
                    if (!stack.isEmpty()) {
                        ArtifactType parentType = stack.peek();
                        if (needsDerive.contains(parentType.getId())) {
                            Artifact artifact = node.getArtifact();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Override
                public String getClassifier() {
                    String classifier = dependency.getClassifier();
                    if (classifier == null || classifier.isEmpty()) {
                        classifier = getType().getClassifier();
                        if (classifier == null) {
                            classifier = "";
                        }
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

            final ListResultBean<WebConfig> list = webConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores a web configuration.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top