Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 4,730 for retain (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/collect/FluentIterable.java

        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
            return Optional.absent();
          }
          return Optional.of(list.get(list.size() - 1));
        }
        Iterator<E> iterator = iterable.iterator();
        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return set2.containsAll(set1);
          }
    
          @Override
          public boolean contains(@Nullable Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
    
          @Override
          int minSize() {
            return max(minSize(set1) - maxSize(set2), 0);
          }
    
          @Override
          int maxSize() {
            return maxSize(set1);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  3. cmd/api-errors.go

    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  4. android/guava/src/com/google/common/collect/Iterables.java

          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList((List<? extends T>) iterable);
          } else if (iterable instanceof SortedSet) {
            return ((SortedSet<? extends T>) iterable).last();
          }
        }
    
        return Iterators.getLast(iterable.iterator(), defaultValue);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

                    return e;
                  }
                }
                return endOfData();
              }
            };
          }
    
          @Override
          public Stream<E> stream() {
            return Stream.concat(set1.stream(), set2.stream().filter((E e) -> !set1.contains(e)));
          }
    
          @Override
          public Stream<E> parallelStream() {
            return stream().parallel();
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

         * element is retained).
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          super.add(element);
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

            case "source_titles":
                return buildSourceTitlesContent(msg, summaryMaxChars);
            case "source_titles_and_urls":
                return buildSourceTitlesAndUrlsContent(msg);
            case "truncated":
                return buildTruncatedContent(msg, assistantMaxChars);
            case "none":
                return null;
            default:
                return msg.getContent();
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

        return from(CacheBuilderSpec.parse(spec));
      }
    
      /**
       * Enables lenient parsing. Useful for tests and spec parsing.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
      CacheBuilder<K, V> lenientParsing() {
        strictParsing = false;
        return this;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. CHANGELOG.md

    Here’s what has changed since 5.0.0-alpha.17:
    
     *  Upgrade: [Okio 3.15.0][okio_3_15_0].
     *  Upgrade: [Kotlin 2.2.0][kotlin_2_2_0].
     *  Fix: Don't crash with a `NoSuchMethodError` when using OkHttp with the Sentry SDK.
     *  Fix: Retain the query data in the old `okhttp3.mockwebserver.RecordedRequest.path` property. We
        inadvertently changed this behavior when we introduced the `mockwebserver3` API.
    
    
    ## Version 5.0.0-alpha.17
    
    _2025-06-29_
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       */
      @J2ktIncompatible // serialization
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
Back to Top