Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 2,189 for boolean (0.06 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * <pre>{@code
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }</pre>
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       */
      static class IteratorWithSunJavaBug6529795<T> implements Iterator<T> {
        Iterator<T> iterator;
        boolean nextThrewException;
    
        IteratorWithSunJavaBug6529795(Iterator<T> iterator) {
          this.iterator = iterator;
        }
    
        @Override
        public boolean hasNext() {
          return iterator.hasNext();
        }
    
        @Override
        public T next() {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                try {
                    final XPathEvaluationResult<?> xObj = getXPathAPI().eval(document, path);
                    switch (xObj.type()) {
                    case BOOLEAN:
                        final Boolean b = (Boolean) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), b.toString()));
                        break;
                    case NUMBER:
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun <E : IOException?> messageDone(
        exchange: Exchange,
        requestDone: Boolean,
        responseDone: Boolean,
        e: E,
      ): E {
        if (exchange != this.exchange) return e // This exchange was detached violently!
    
        var bothStreamsDone = false
        var callDone = false
        this.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            Collections.addAll(notAnalyzedFieldSet, fields);
        }
    
        protected boolean isSortField(final String field) {
            for (final String f : sortFields) {
                if (f.equals(field)) {
                    return true;
                }
            }
            return false;
        }
    
        public boolean isFacetField(final String field) {
            if (StringUtil.isBlank(field)) {
                return false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingList.java

      protected abstract List<E> delegate();
    
      @Override
      public void add(int index, @ParametricNullness E element) {
        delegate().add(index, element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean addAll(int index, Collection<? extends E> elements) {
        return delegate().addAll(index, elements);
      }
    
      @Override
      @ParametricNullness
      public E get(int index) {
        return delegate().get(index);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/Tokenizer.java

            if (colno >= str.length()) {
                return -1;
            }
            return str.charAt(colno++);
        }
    
        private void initVal() {
            sval = null;
        }
    
        private boolean processEOF() {
            if (peekc < 0) {
                ttype = TT_EOF;
                return true;
            }
            if (peekc == NEED_CHAR) {
                peekc = read();
                if (peekc < 0) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      public static final CharMatcher OLD_WHITESPACE =
          new CharMatcher() {
            @Override
            public boolean matches(char c) {
              return OLD_WHITESPACE_TABLE.charAt(c % 79) == c;
            }
          };
    
      @Param private boolean useNew;
    
      @Param({"20", "50", "80"})
      private int percentMatching;
    
      private String teststring;
      private CharMatcher matcher;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      public static final CharMatcher OLD_WHITESPACE =
          new CharMatcher() {
            @Override
            public boolean matches(char c) {
              return OLD_WHITESPACE_TABLE.charAt(c % 79) == c;
            }
          };
    
      @Param private boolean useNew;
    
      @Param({"20", "50", "80"})
      private int percentMatching;
    
      private String teststring;
      private CharMatcher matcher;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws CIFSException
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#fetchMore()
         */
        @Override
        protected boolean fetchMore () throws CIFSException {
            this.nextRequest.reset(this.response.getResumeKey(), this.response.getLastName());
            this.response.reset();
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top