Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 836 for IsEmpty (0.06 sec)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            q.add(element);
          } else {
            assertEqualsUsingSeed(seed, control.poll(), q.pollFirst());
          }
        }
        while (!control.isEmpty()) {
          assertEqualsUsingSeed(seed, control.poll(), q.pollFirst());
        }
        assertTrue(q.isEmpty());
      }
    
      public void testExhaustive_pollAndPush() {
        int size = 5;
        List<Integer> expected = createOrderedList(size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
        public boolean contains(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(object);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                    onInlineContent();
                    visitor.onText(text);
                } else if (!elementStack.isEmpty() && !blockContent.contains(elementStack.getFirst())) {
                    visitor.onText(text);
                }
            }
    
            @Override
            void onEnd() {
                while (!elementStack.isEmpty()) {
                    visitor.onEndHtmlElement(elementStack.removeFirst());
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<Integer> create(Integer[] elements) {
          SortedSet<Integer> set = nullCheckedTreeSet(elements);
          int tooHigh = set.isEmpty() ? 0 : set.last() + 1;
          set.add(tooHigh);
          return checkedCreate(set).headSet(tooHigh);
        }
      }
    
      public static class ContiguousSetTailsetGenerator extends AbstractContiguousSetGenerator {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    if (resultsPerPage instanceof Integer) {
                        form.num = (Integer) resultsPerPage;
                    }
                }
            }
    
            if (StringUtil.isBlank(form.q) && form.fields.isEmpty() && !form.hasConditionQuery()) {
                // redirect to index page
                form.q = null;
                return redirectToRoot();
            }
    
            try {
                buildFormParams(form);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" }
      }
    
      fun idleConnectionCount(): Int {
        return connections.count {
          it.withLock { it.calls.isEmpty() }
        }
      }
    
      fun connectionCount(): Int {
        return connections.size
      }
    
      /**
       * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java

        private boolean hasMethods(ClassDoc classDoc) {
            boolean hasMethods = false;
            if (!classDoc.getClassMethods().isEmpty()) {
                hasMethods = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasMethods |= !extensionDoc.getExtensionMethods().isEmpty();
            }
            return hasMethods;
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java

            boolean hasProperties = false;
            if (!classDoc.getClassProperties().isEmpty()) {
                hasProperties = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasProperties |= !extensionDoc.getExtensionProperties().isEmpty();
            }
            return hasProperties;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  9. internal/s3select/parquet/args.go

    import "encoding/xml"
    
    // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML.
    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return isEmpty() ? null : getEntry(length - 1);
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        int index = elementSet.indexOf(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top