Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 1,754 for content2 (0.14 sec)

  1. docs/em/docs/advanced/path-operation-advanced-configuration.md

                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
                                    "schema": {}
                                }
                            }
                        }
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    ### Async Context Manager
    
    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        type.length() > 1 && type.length() < 6 ) {
                    resp.setContentType( mimeMap.getMimeType( type ));
                }
                resp.setHeader( "Content-Length", file.length() + "" );
                resp.setHeader( "Accept-Ranges", "Bytes" );
    
                while(( n = in.read( buf )) != -1 ) {
                    out.write( buf, 0, n );
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.cluster.metadata.MappingMetadata;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.core.rest.RestStatus;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                assertTrue(value >= from);
                assertTrue(value <= to);
            }
        }
    
        @Test
        public void searchTestWithBoost() throws Exception {
            String field = "content";
            String query1 = "java";
            String query2 = "sample";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query1 + "^1000 OR " + field + ":" + query2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

    import org.lastaflute.di.exception.IORuntimeException;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.cluster.health.ClusterHealthStatus;
    import org.opensearch.common.xcontent.XContentType;
    
    public class PingResponse {
        private static final String CLUSTER_NAME = "cluster_name";
        private static final String STATUS = "status";
        private static final String TIMED_OUT = "timed_out";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  8. guava/src/com/google/common/graph/ImmutableGraph.java

        public Builder<N> putEdge(EndpointPair<N> endpoints) {
          mutableGraph.putEdge(endpoints);
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableGraph} based on the contents of this {@code Builder}.
         */
        public ImmutableGraph<N> build() {
          return ImmutableGraph.copyOf(mutableGraph);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/WatchTest.java

    import jcifs.SmbResource;
    import jcifs.SmbWatchHandle;
    import jcifs.smb.SmbFile;
    
    
    /**
     * 
     * 
     * Compatability notes:
     * - windows 2k12 will not trigger with FILE_NOTIFY_CHANGE_ATTRIBUTES if the file contents are modified (modtime
     * changes)
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class WatchTest extends BaseCIFSTest {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/Helpers.java

            fail(
                "contents were not equal and in the same order: "
                    + "expected = "
                    + expected
                    + ", actual = "
                    + actual);
          }
        }
    
        if (expectedIter.hasNext() || actualIter.hasNext()) {
          // actual either had too few or too many elements
          fail(
              "contents were not equal and in the same order: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top