Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3301 - 3310 of 7,083 for returned (0.3 sec)

  1. tests/test_dependency_cache.py

    counter_holder = {"counter": 0}
    
    
    async def dep_counter():
        counter_holder["counter"] += 1
        return counter_holder["counter"]
    
    
    async def super_dep(count: int = Depends(dep_counter)):
        return count
    
    
    @app.get("/counter/")
    async def get_counter(count: int = Depends(dep_counter)):
        return {"counter": count}
    
    
    @app.get("/sub-counter/")
    async def get_sub_counter(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 23 13:30:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NameServiceClient.java

     * 
     * @author mbechler
     * @internal
     */
    public interface NameServiceClient {
    
        /**
         * @return local host address
         */
        NetbiosAddress getLocalHost ();
    
    
        /**
         * @return the local host name
         */
        NetbiosName getLocalName ();
    
    
        /**
         * @return the unknown name
         */
        NetbiosName getUnknownName ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      public int size() {
        return delegate.size();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
        protected String getApiPath() {
            return API_PATH;
        }
    
        @Override
        protected String getKeyProperty() {
            return KEY_PROPERTY;
        }
    
        @Override
        protected String getListEndpointSuffix() {
            return LIST_ENDPOINT_SUFFIX;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            return classifier + ':' + extension;
        }
    
        @Override
        public String getGroupId() {
            return metadata.getGroupId();
        }
    
        @Override
        public String getArtifactId() {
            return metadata.getArtifactId();
        }
    
        @Override
        public String getVersion() {
            return metadata.getVersion();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        testers.add(ListMultimapReplaceValuesTester.class);
        return testers;
      }
    
      @Override
      TestSuite computeMultimapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>>
              parentBuilder) {
        return ListTestSuiteBuilder.using(
                new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

      }
    
      /**
       * @return The {@link EventBus} that handled the event and the subscriber. Useful for broadcasting
       *     a new event based on the error.
       */
      public EventBus getEventBus() {
        return eventBus;
      }
    
      /** @return The event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *            クラスのロード元である必要があるクラスローダ
         * @return 指定された名前を持つクラスの{@link Class}オブジェクト
         * @see Class#forName(String)
         */
        @SuppressWarnings("unchecked")
        public static <T> Class<T> forNameNoException(final String className, final ClassLoader loader) {
            if (StringUtil.isEmpty(className)) {
                return null;
            }
            try {
                return (Class<T>) Class.forName(className, true, loader);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. docs_src/events/tutorial003.py

    from contextlib import asynccontextmanager
    
    from fastapi import FastAPI
    
    
    def fake_answer_to_everything_ml_model(x: float):
        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()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 07 15:46:00 UTC 2023
    - 569 bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

        }
    
        protected InternalScopeManager getScopeManager() {
            return scopeManager;
        }
    
        protected DependencyTraverser getDependencyTraverser() {
            return new FatArtifactTraverser();
        }
    
        protected DependencyManager getDependencyManager() {
            return getDependencyManager(true); // same default as in Maven4
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top