Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,163 for useEmpty (0.05 seconds)

  1. docs/smb3-features/06-witness-protocol-design.md

            
            synchronized (pendingNotifications) {
                while (!pendingNotifications.isEmpty() && batch.size() < batchSize) {
                    batch.add(pendingNotifications.poll());
                }
            }
            
            if (!batch.isEmpty()) {
                processNotificationBatch(batch);
            }
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                val subprojectsInModelButNotInBucketJson = allSubprojectsInModel.toMutableList().apply { removeAll(allSubprojectsInBucketJson) }
    
                if (subprojectsInModelButNotInBucketJson.isEmpty()) {
                    testCoverage to buckets
                } else {
                    testCoverage to
                        mergeUnknownSubprojectsIntoFirstAvailableBucket(
                            buckets,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 14:43:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                }
    
                Map<String, ExtraAttributeDoc> additionalValues = new LinkedHashMap<String, ExtraAttributeDoc>();
    
                if (!superTypes.isEmpty()) {
                    PropertyDoc overriddenProp = props.get(propName);
                    if (overriddenProp != null) {
                        for (ExtraAttributeDoc attributeDoc : overriddenProp.getAdditionalValues()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed().<String, Integer>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableValueGraphBuilder_putEdgeFromNodes() {
        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed()
                .<String, Integer>immutable()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.unregister(s2);
        assertTrue(registry.getSubscribersForTesting(String.class).isEmpty());
      }
    
      public void testUnregister_notRegistered() {
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        StringSubscriber s1 = new StringSubscriber();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        assertEquals(mapEntry(k0(), v0()), iterator.next());
        iterator.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            add(problem);
        }
    
        public ModelBuildingException newModelBuildingException() {
            ModelBuildingResult result = this.result;
            if (result.getModelIds().isEmpty()) {
                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                tmp.setEffectiveModel(result.getEffectiveModel());
                tmp.setProblems(getProblems());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

            List<Element> moduleElements = modulesElement.children(MODULE).toList();
            for (Element moduleElement : moduleElements) {
                String moduleName = moduleElement.textContentTrimmed();
                if (moduleName.isEmpty()) {
                    continue;
                }
    
                Path moduleDirectory = baseDirectory.resolve(moduleName);
                Path modulePomPath = moduleDirectory.resolve(POM_XML);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Iterables.java

       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

        }
    
        protected void mergeModelBase_Modules(
                ModelBase target, ModelBase source, boolean sourceDominant, Map<Object, Object> context) {
            List<String> src = source.getModules();
            if (!src.isEmpty()) {
                List<String> tgt = target.getModules();
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                merged.addAll(src);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top