Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 3,181 for get2 (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                final String[] values = form.fields.get(LABEL_FIELD);
                final List<String> labelList = new ArrayList<>();
                if (values != null) {
                    Collections.addAll(labelList, values);
                }
                for (final String labelTypeValue : labelList) {
                    for (final Map<String, String> map : labelTypeItems) {
                        if (map.get(Constants.ITEM_VALUE).equals(labelTypeValue)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial010_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 542 bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial002_pv1_an.py

            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 522 bytes
    - Viewed (0)
  4. docs_src/generate_clients/tutorial002_py39.py

    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 730 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocumentUtil.java

        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz) {
            if (doc == null || key == null) {
                return null;
            }
    
            final Object value = doc.get(key);
            if (value == null) {
                return null;
            }
    
            if (value instanceof List) {
                if (clazz.isAssignableFrom(List.class)) {
                    return (T) value;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

          try {
            withTimeout(1.seconds) {
              call.executeAsync().use {
                withContext(Dispatchers.IO) {
                  it.body.string()
                }
                fail("No expected to get response")
              }
            }
          } catch (to: TimeoutCancellationException) {
            // expected
          }
    
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

                new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/archive/zip/register.go

    // one goroutine at a time.
    type Decompressor func(r io.Reader) io.ReadCloser
    
    var flateWriterPool sync.Pool
    
    func newFlateWriter(w io.Writer) io.WriteCloser {
    	fw, ok := flateWriterPool.Get().(*flate.Writer)
    	if ok {
    		fw.Reset(w)
    	} else {
    		fw, _ = flate.NewWriter(w, 5)
    	}
    	return &pooledFlateWriter{fw: fw}
    }
    
    type pooledFlateWriter struct {
    	mu sync.Mutex // guards Close and Write
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. ci/official/installer_wheel.sh

    fi
    
    # This generates a pure python wheel of the format "*-py3-none-any.whl"
    python3 tensorflow/tools/pip_package/setup.py bdist_wheel --dist-dir "$TFCI_OUTPUT_DIR"
    
    # Get the name of the pure python wheel that was built. This should
    # resolve to either
    # 1. tensorflow-a.b.c-py3-none-any.whl  or, for nightly builds,
    # 2. tf_nightly-a.b.c.devYYYYMMDD-py3-none-any.whl
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

                new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top