Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,627 for FieldX (0.03 sec)

  1. docs_src/dependencies/tutorial008c_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 660 bytes
    - Viewed (0)
  2. docs_src/events/tutorial003_py39.py

        return x * 42
    
    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 569 bytes
    - Viewed (0)
  3. cmd/bucket-metadata_gen.go

    func (z *BucketMetadata) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Name":
    			z.Name, err = dc.ReadString()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        /**
         * Determines if the given document data matches the configured match expression.
         *
         * @param map the document data as a map of field names to values
         * @return true if the document matches the expression, false otherwise
         */
        public boolean match(final Map<String, Object> map) {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

            delegate = new MetadataStaxReader(contentTransformer::transform);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean a field value
         */
        public boolean getAddDefaultEntities() {
            return delegate.getAddDefaultEntities();
        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_details.jsp

                                        </la:info>
                                        <la:errors/>
                                    </div>
                                        <%-- Form Fields --%>
                                    <table class="table table-bordered" aria-label="<la:message key="labels.related_content_details" />">
                                        <tbody>
                                        <tr>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp

                                        </la:info>
                                        <la:errors/>
                                    </div>
                                        <%-- Form Fields --%>
                                    <table class="table table-bordered" aria-label="<la:message key="labels.request_header_details" />">
                                        <tbody>
                                        <tr>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        }
        val result = plans[nextPlanIndex++]
        events += "take plan ${result.id}"
    
        if (result.yieldBeforePlanReturns) {
          taskFaker.yield()
        }
    
        val planningThrowable = result.planningThrowable
        if (planningThrowable != null) throw planningThrowable
    
        return result
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            startLatch.countDown();
            endLatch.await(5, TimeUnit.SECONDS);
    
            assertEquals(2, successCount.get());
        }
    
        /**
         * Test concurrent operations on different fields
         */
        public void test_concurrentOperations() throws Exception {
            final int threadCount = 10;
            final int operationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 896 bytes
    - Viewed (0)
Back to top