Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 1,176 for depleted (0.14 seconds)

  1. docs/zh/docs/tutorial/response-model.md

    如果你添加了返回类型注解,工具和编辑器会(正确地)报错,提示你的函数返回的类型(例如 `dict`)与声明的类型(例如一个 Pydantic 模型)不同。
    
    在这些情况下,你可以使用*路径操作装饰器*参数 `response_model`,而不是返回类型。
    
    你可以在任意*路径操作*中使用 `response_model` 参数:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等等。
    
    {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *}
    
    /// note | 注意
    
    注意,`response_model` 是「装饰器」方法(`get`、`post` 等)的一个参数。不是你的*路径操作函数*的参数,不像所有查询参数和请求体那样。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          // is now at the end of queue. If that's the element we wanted to remove in the first place,
          // don't try to (incorrectly) trickle it. Instead, just delete it and we're done.
          queue[size] = null;
          return null;
        }
        E toTrickle = elementData(size);
        queue[size] = null;
        MoveDesc<E> changes = fillHole(index, toTrickle);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

        @Nullable Object[] keys = requireKeys();
        @Nullable Object[] values = requireValues();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p>The returned fluent iterable's iterator supports {@code remove()} if the {@code Iterator} of
       * this fluent iterable supports it. Note that it is <i>not</i> possible to delete the last
       * skipped element by immediately calling {@code remove()} on the returned fluent iterable's
       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
    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)
  5. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p>The returned fluent iterable's iterator supports {@code remove()} if the {@code Iterator} of
       * this fluent iterable supports it. Note that it is <i>not</i> possible to delete the last
       * skipped element by immediately calling {@code remove()} on the returned fluent iterable's
       * iterator, as the {@code Iterator} contract states that a call to {@code * remove()} before a
    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)
  6. cmd/object_api_suite_test.go

    				break
    			}
    		}
    		for key, value := range checkObjCount {
    			if value != 0 {
    				t.Errorf("%s: Expected value of objects to be %d, instead found to be %d", instanceType, 0, value)
    			}
    			delete(checkObjCount, key)
    		}
    	}
    }
    
    // Wrapper for calling testObjectOverwriteWorks for both Erasure and FS.
    func TestObjectOverwriteWorks(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectOverwriteWorks)
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", response.getWords().get(0));
    
            suggester.indexer().delete(items[0].getId());
            suggester.refresh();
            SuggestResponse response2 = suggester.suggest().setQuery("kensaku").setSuggestDetail(true).execute().getResponse();
            assertEquals(0, response2.getNum());
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    ### Bug or Regression
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Sep 02 13:51:56 GMT 2025
    - 425.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            try {
                Files.walk(tempDir)
                        .sorted(Comparator.reverseOrder())
                        .map(Path::toFile)
                        .forEach(File::delete);
            } catch (Exception e) {
                // Best effort cleanup - don't fail the whole operation
            }
        }
    
        /**
         * Holds plugin upgrade information for Maven 4 compatibility.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  10. api/go1.21.txt

    pkg slices, func Contains[$0 interface{ ~[]$1 }, $1 comparable]($0, $1) bool #57433
    pkg slices, func ContainsFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1) bool) bool #57433
    pkg slices, func Delete[$0 interface{ ~[]$1 }, $1 interface{}]($0, int, int) $0 #57433
    pkg slices, func DeleteFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1) bool) $0 #54768
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Click Count (0)
Back to Top