Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for sometype (0.56 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

        }
    
        def "can serialize/deserialize isolated Attribute values"() {
            Attribute attr1 = Attribute.of("foo", String.class)
            Attribute attr2 = Attribute.of("bar", SomeType.class)
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(attr1), isolatableFactory.isolate(attr2)]
    
            when:
            serialize(isolatables)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Both are equivalent and underneath they are the same, but I would recommend `Union` instead of `Optional` because the word "**optional**" would seem to imply that the value is optional, and it actually means "it can be `None`", even if it's not optional and is still required.
    
    I think `Union[SomeType, None]` is more explicit about what it means.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

            def id = DefaultModuleVersionIdentifier.newId("group", name, "1.2")
            IvyArtifactName artifactStub = Mock() {
                getName() >> name
                getType() >> "someType"
                getExtension() >> "someExt"
                getClassifier() >> null
            }
            def calculatedValueContainerFactory = TestUtil.calculatedValueContainerFactory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/Task.java

     * {@code task} keyword in your build file: </p>
     * <pre>
     * task myTask
     * task myTask { configure closure }
     * task myTask(type: SomeType)
     * task myTask(type: SomeType) { configure closure }
     * </pre>
     *
     * <p>Each task has a name, which can be used to refer to the task within its owning project, and a fully qualified
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

        override fun approximateToSuperPublicDenotableType(type: KaType, approximateLocalTypes: Boolean): KaType? {
            require(type is KaFirType)
            val coneType = type.coneType
            val approximatedConeType = PublicTypeApproximator.approximateTypeToPublicDenotable(
                coneType,
                rootModuleSession,
                approximateLocalTypes = approximateLocalTypes,
            )
    
            return approximatedConeType?.asKtType()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    }
                    else -> throwUnexpectedElementError(coneType)
                }
            }
    
            private fun hasFunctionalClassId(coneType: ConeClassLikeTypeImpl): Boolean {
                return coneType.isSomeFunctionType(analysisSession.firResolveSession.useSiteFirSession)
            }
    
            fun buildKtType(coneType: FirTypeRef): KaType {
                return buildKtType(coneType.coneType)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                firResolveSession.useSiteFirSession,
                coneType,
                typeScope
            )
    
        private fun FirTypeScope.withSyntheticPropertiesScopeOrSelf(coneType: ConeKotlinType): FirTypeScope {
            val syntheticPropertiesScope = getFirSyntheticPropertiesScope(coneType, this) ?: return this
            return FirTypeScopeWithSyntheticProperties(typeScope = this, syntheticPropertiesScope)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final String mimeType = responseData.getMimeType();
            if (logger.isDebugEnabled()) {
                logger.debug("mimeType: {}", mimeType);
            }
            if (mimeType == null) {
                response.contentTypeOctetStream();
                return;
            }
            if (mimeType.startsWith("text/")) {
                final String charset = responseData.getCharSet();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                }
    
                is FirGetClassCall -> {
                    val coneType = getTargetType()?.fullyExpandedType(builder.rootSession)
    
                    if (coneType is ConeClassLikeType && coneType !is ConeErrorType) {
                        val classId = coneType.lookupTag.classId
                        val type = builder.typeBuilder.buildKtType(coneType)
                        KaKClassAnnotationValue(type, classId, sourcePsi, token)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      EXPECT_EQ(it->getNumOperands(), 24);
      EXPECT_EQ(it->getNumResults(), 1);
      // cifg = false, so input2input is not None.
      EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(1).getType()));
      // input layer norm is None
      EXPECT_TRUE(mlir::isa<NoneType>(it->getOperand(20).getType()));
      // proj_bias is F32
      EXPECT_TRUE(mlir::cast<RankedTensorType>(it->getOperand(17).getType())
                      .getElementType()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top