Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 924 for optimal (0.05 sec)

  1. migrator/index.go

    }
    
    // Unique returns whether the index is unique or not.
    func (idx Index) Unique() (unique bool, ok bool) {
    	return idx.UniqueValue.Bool, idx.UniqueValue.Valid
    }
    
    // Option return the optional attribute of the index
    func (idx Index) Option() string {
    	return idx.OptionValue
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 02:32:46 UTC 2023
    - 1023 bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params-str-validations.md

    Sprich:
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ... macht den Parameter optional, mit dem Defaultwert `None`, genauso wie:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Und in Python 3.10 und darüber macht:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    ... den Parameter optional, mit dem Defaultwert `None`, genauso wie:
    
    ```Python
    q: str | None = None
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            private ActivationFrame nextFrame(String property) {
                return new ActivationFrame(property, Optional.empty());
            }
    
            private <P> ActivationFrame nextFrame(String property, Function<P, InputLocationTracker> child) {
                @SuppressWarnings("unchecked")
                final Optional<P> parent = (Optional<P>) stk.peek().parent;
                return new ActivationFrame(property, parent.map(child));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  4. docs/ko/docs/python-types.md

        * `dict`의 키(key)는 `str`타입이다. (각 아이템의 이름(name))
        * `dict`의 값(value)는 `float`타입이다. (각 아이템의 가격(price))
    
    #### `Optional`
    
    `str`과 같이 타입을 선언할 때 `Optional`을 쓸 수도 있는데, "선택적(Optional)"이기때문에 `None`도 될 수 있습니다:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    `Optional[str]`을 `str` 대신 쓰게 되면, 특정 값이 실제로는 `None`이 될 수도 있는데 항상 `str`이라고 가정하는 상황에서 에디터가 에러를 찾게 도와줄 수 있습니다.
    
    #### Generic(제네릭) 타입
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.Graphs.checkNonNegative;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Optional;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * A builder for constructing instances of {@link MutableValueGraph} or {@link ImmutableValueGraph}
     * with user-defined properties.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EnumsTest.java

        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
          assertThat(result).isPresent();
          shadowConstants.add(result.get());
        }
        assertEquals(ImmutableSet.<Object>copyOf(shadowTestEnum.getEnumConstants()), shadowConstants);
        Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, "blibby");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTester.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.HashCode;
    import com.google.common.hash.Hashing;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. pom.xml

    							jcifs*;version="${osgi.pkg.version}",
    						</Export-Package>
    						<Private-Package />
    						<Import-Package>
    							javax.servlet*;resolution:=optional,
    							com.sun.security.jgss;resolution:=optional,
    							org.bouncycastle*;version="1.63",
    							!jcifs.internal*,
    							*
    						</Import-Package>
    					</instructions>
    				</configuration>
    			</plugin>
    			<plugin>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Sep 26 04:40:32 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. fastapi/exceptions.py

    from typing import Any, Dict, Optional, Sequence, Type, Union
    
    from pydantic import BaseModel, create_model
    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    from typing_extensions import Annotated, Doc
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Network.java

       *     network
       * @since 23.0
       */
      Optional<E> edgeConnecting(N nodeU, N nodeV);
    
      /**
       * Returns the single edge that directly connects {@code endpoints} (in the order, if any,
       * specified by {@code endpoints}), if one is present, or {@code Optional.empty()} if no such edge
       * exists.
       *
       * <p>If this network is directed, the endpoints must be ordered.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top