Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1851 - 1860 of 1,902 for Try (0.04 seconds)

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

  1. android/guava/src/com/google/common/collect/Iterables.java

        // implementation.
        int from = 0;
        int to = 0;
    
        for (; from < list.size(); from++) {
          T element = list.get(from);
          if (!predicate.apply(element)) {
            if (from > to) {
              try {
                list.set(to, element);
              } catch (UnsupportedOperationException e) {
                slowRemoveIfForRemainingElements(list, predicate, to, from);
                return true;
    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)
  2. guava/src/com/google/common/collect/Ordering.java

       * collection might be empty, also provide a default comparator as the {@code identity} parameter
       * to {@code reduce}).
       *
       * @param comparators the comparators to try in order
       */
      public static <T extends @Nullable Object> Ordering<T> compound(
          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  3. docs/ru/docs/how-to/custom-request-and-route.md

    ///
    
    Тем же подходом можно воспользоваться, чтобы получить доступ к телу запроса в обработчике исключений.
    
    Нужно лишь обработать запрос внутри блока `try`/`except`:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. cmd/server-main.go

    }
    
    func configRetriableErrors(err error) bool {
    	if err == nil {
    		return false
    	}
    
    	notInitialized := strings.Contains(err.Error(), "Server not initialized, please try again") ||
    		errors.Is(err, errServerNotInitialized)
    
    	// Initializing sub-systems needs a retry mechanism for
    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  5. guava/src/com/google/common/collect/Sets.java

          // both require iterating over the entire SetView
          // we avoid iterating twice by doing the equivalent of both in one iteration
          int thisSize = 0;
          for (E e : this) {
            try {
              if (!that.contains(e)) {
                return false;
              }
            } catch (NullPointerException | ClassCastException ignored) {
              return false;
            }
            thisSize++;
    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. CHANGELOG/CHANGELOG-1.2.md

    addition, we’ve introduced a new “soft” kind of node selector that is just a
    hint to the scheduler; the scheduler will try to satisfy these requests but it
    does not guarantee they will be satisfied. Both the “hard” and “soft” variants
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
  7. internal/config/config.go

    // DelKVS - delete a specific key.
    func (c Config) DelKVS(s string) error {
    	subSys, inputs, tgt, err := GetSubSys(s)
    	if err != nil {
    		if !SubSystems.Contains(subSys) && len(inputs) == 1 {
    			// Unknown sub-system found try to remove it anyways.
    			delete(c, subSys)
    			return nil
    		}
    		return err
    	}
    
    	ck, ok := c[subSys][tgt]
    	if !ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/MediaType.java

       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static MediaType parse(String input) {
        checkNotNull(input);
        Tokenizer tokenizer = new Tokenizer(input);
        try {
          String type = tokenizer.consumeToken(TOKEN_MATCHER);
          consumeSeparator(tokenizer, '/');
          String subtype = tokenizer.consumeToken(TOKEN_MATCHER);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  9. cmd/notification.go

    	// TX saturating, however there are situations where a RX might also saturate.
    	// To avoid these problems we must split the work at scale. With 1000 node
    	// setup becoming a reality we must try to shard the work properly such as
    	// pick 10 nodes that precisely can send those 100 requests the first node
    	// in the 10 node shard would coordinate between other 9 shards to get the
    	// rest of the `99*9` requests.
    	//
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  10. docs/zh/docs/how-to/custom-request-and-route.md

    要解决类似问题,使用 `RequestValidationError` 的自定义处理器中的 `body` 往往更简单([处理错误](../tutorial/handling-errors.md#use-the-requestvalidationerror-body))。
    
    但本示例同样有效,并展示了如何与内部组件交互。
    
    ///
    
    我们也可以用相同的方法在异常处理器中访问请求体。
    
    所需仅是在 `try`/`except` 块中处理请求:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    如果发生异常,`Request` 实例仍在作用域内,因此我们可以在处理错误时读取并使用请求体:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top