Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for INSTANCE (0.05 sec)

  1. docs/en/docs/advanced/advanced-dependencies.md

    ## Parameterize the instance
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    In this case, **FastAPI** won't ever touch or care about `__init__`, we will use it directly in our code.
    
    ## Create an instance
    
    We could create an instance of this class with:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(Comparable.class, ByToString.INSTANCE)
              .put(Comparator.class, AlwaysEqual.INSTANCE)
              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

            return singleton(name, instance, initializer, null);
        }
    
        public <T> StandardCrawlerContainer singleton(final String name, final T instance) {
            return singleton(name, instance, null, null);
        }
    
        protected static class ComponentHolder<T> {
            protected T instance;
    
            protected Consumer<T> destroyer;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		Long:  `Retrieve information about certificates for the Ztunnel instance.`,
    		Example: `  # Retrieve summary about workload configuration for a randomly chosen ztunnel.
      istioctl ztunnel-config certificates
    
      # Retrieve full certificate dump of workloads for a given Ztunnel instance.
      istioctl ztunnel-config certificates <ztunnel-name[.namespace]> -o json
    `,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

      }
    
      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            } catch (final Exception e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            } catch (final LinkageError e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the given string, assumes a public string constructor.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js

    r=le({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null
                && packagesToTest.contains(Reflection.getPackageName(instance.getClass()))) {
              try {
                nullPointerTester.testAllPublicInstanceMethods(instance);
              } catch (AssertionError e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top