Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,155 for noneOf (0.09 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

                return handle;
            }).when(c).connectHost(any(), anyString());
    
            // Execute send - should retry after transport error
            try {
                c.send(loc, req, resp, EnumSet.noneOf(RequestParam.class));
            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

                throws CIFSException {
            return send((CommonServerMessageBlockRequest) request, request.getResponse(),
                    params != null && params.length > 0 ? EnumSet.copyOf(Arrays.asList(params)) : EnumSet.noneOf(RequestParam.class));
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response)
                throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                final T response, final RequestParam... params) throws CIFSException {
            return send(loc, request, response,
                    params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final SmbResourceLocatorImpl loc, final CommonServerMessageBlockRequest request,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/net/MediaType.java

          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
       * This matches the same characters as linear-white-space from RFC 822, but we make no effort to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MultimapBuilder.java

        private final Class<V> clazz;
    
        EnumSetSupplier(Class<V> clazz) {
          this.clazz = checkNotNull(clazz);
        }
    
        @Override
        public Set<V> get() {
          return EnumSet.noneOf(clazz);
        }
      }
    
      /**
       * An intermediate stage in a {@link MultimapBuilder} in which the key-value collection map
       * implementation has been specified, but the value collection implementation has not.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/MultimapBuilder.java

        private final Class<V> clazz;
    
        EnumSetSupplier(Class<V> clazz) {
          this.clazz = checkNotNull(clazz);
        }
    
        @Override
        public Set<V> get() {
          return EnumSet.noneOf(clazz);
        }
      }
    
      /**
       * An intermediate stage in a {@link MultimapBuilder} in which the key-value collection map
       * implementation has been specified, but the value collection implementation has not.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/advanced-python-types.md

    ```
    
    `name` 매개변수는 기본값이 없기 때문에 여전히 필수입니다(선택적이 아님). 대신, `name`에는 `None`을 전달할 수 있습니다:
    
    ```Python
    say_hi(name=None)  # 작동합니다. None은 유효합니다 🎉
    ```
    
    좋은 소식은, 대부분의 경우 타입의 합집합을 정의할 때 그냥 `|`를 사용할 수 있다는 점입니다:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. fastapi/openapi/models.py

        type: SchemaType | list[SchemaType] | None = None
        enum: list[Any] | None = None
        const: Any | None = None
        multipleOf: float | None = Field(default=None, gt=0)
        maximum: float | None = None
        exclusiveMaximum: float | None = None
        minimum: float | None = None
        exclusiveMinimum: float | None = None
        maxLength: int | None = Field(default=None, ge=0)
        minLength: int | None = Field(default=None, ge=0)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. fastapi/params.py

            default_factory: Callable[[], Any] | None = _Unset,
            annotation: Any | None = None,
            alias: str | None = None,
            alias_priority: int | None = _Unset,
            validation_alias: str | AliasPath | AliasChoices | None = None,
            serialization_alias: str | None = None,
            title: str | None = None,
            description: str | None = None,
            gt: float | None = None,
            ge: float | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
Back to Top