Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 6,286 for retain (0.25 seconds)

  1. android/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. 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)
  3. tensorflow/c/eager/c_api_experimental.h

        TFE_Executor*, TF_Status* status);
    
    // When an error happens, any pending operations are discarded, and newly issued
    // ops return an error. This call clears the error state and re-enables
    // execution of newly issued ops.
    //
    // Note that outputs of discarded ops remain in a corrupt state and should not
    // be used for future calls.
    // TODO(agarwal): mark the affected handles and raise errors if they are used.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  10. 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)
Back to Top