Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 439 for setKey (0.12 sec)

  1. docs/de/docs/tutorial/body-multiple-params.md

    Zuerst einmal, Sie können `Path`-, `Query`- und Requestbody-Parameter-Deklarationen frei mischen und **FastAPI** wird wissen, was zu tun ist.
    
    Und Sie können auch Body-Parameter als optional kennzeichnen, indem Sie den Defaultwert auf `None` setzen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18-20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            return packages;
        }
    
        /**
         * The key that can must used to identify the configuration using the
         * {@link javax.inject.Named} annotation.
         */
        public String getKey() {
            return key;
        }
    
        /**
         * Returns the configuration for this extension.
         */
        public XmlNode getConfiguration() {
            return configuration;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                return size;
            }
            if (obj instanceof Map<?, ?>) {
                long size = 0;
                for (final Map.Entry<?, ?> entry : ((Map<?, ?>) obj).entrySet()) {
                    size += sizeOf(entry.getKey());
                    size += sizeOf(entry.getValue());
                }
                return size;
            }
            return 16L;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEnumMap.java

        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
      private ImmutableEnumMap(EnumMap<K, V> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                target = userAgent;
            }
    
            int maxUaLength = -1;
            Directive matchedDirective = null;
            for (final Map.Entry<Pattern, Directive> entry : directiveMap.entrySet()) {
                if (entry.getKey().matcher(target).find()) {
                    final Directive directive = entry.getValue();
                    final String ua = directive.getUserAgent();
                    int uaLength = 0;
                    if (!ALL_BOTS.equals(ua)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

        }
    
        @Override
        public void putAll(final Map<? extends String, ? extends V> map) {
            for (final Map.Entry<? extends String, ? extends V> entry : map.entrySet()) {
                put(convertKey(entry.getKey()), entry.getValue());
            }
        }
    
        @Override
        public final V remove(final Object key) {
            return super.remove(convertKey(key));
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        protected int maxClientFactorySize = 10000;
    
        public synchronized void register(final CrawlerClientFactory crawlerClientFactory) {
            clientMap.entrySet().stream().forEach(e -> load(crawlerClientFactory, e.getKey(), e.getValue()));
            clientFactoryList.add(crawlerClientFactory);
            if (clientFactoryList.size() > maxClientFactorySize) {
                clientFactoryList.remove(0);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
            this.importedFrom = location.getImportedFrom() != null ? new InputLocation(location.getImportedFrom()) : null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @CanIgnoreReturnValue
      private V putIfAbsent(Entry<K, V> entry) {
        return getMap().putIfAbsent(entry.getKey(), entry.getValue());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top