Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for leniently (0.28 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientConnection.java

            } finally {
                hasReceived = true;
            }
        }
    
        /**
         * Treat the connection as probably broken, and leniently handle failures writing outgoing messages.
         */
        public void markSuspect() {
            suspect = true;
        }
    
        @Override
        public void stop() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 06:43:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server.go

    		if lenientErr != nil {
    			// Lenient decoding failed with the current version, return the
    			// original strict error.
    			return nil, fmt.Errorf("failed lenient decoding: %v", err)
    		}
    
    		// Continue with the v1alpha1 object that was decoded leniently, but emit a warning.
    		o.logger.Info("Using lenient decoding as strict decoding failed", "err", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt

            testServices.assertions.assertEquals(
                expectedResult,
                type1.isEqualTo(type2, KaSubtypingErrorTypePolicy.LENIENT),
            ) {
                "Expected `$type1` and `$type2` to be ${if (!expectedResult) "un" else ""}equal with error type leniency (`$resultDirective`)."
            }
        }
    }
    
    abstract class AbstractSubtypingTest : AbstractSemanticSubtypingTest() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt

            // `NewKotlinTypeCheckerImpl` is inconsistent with its error type leniency: `isSubtypeOf` is lenient by default while `equalTypes`
            // isn't. Hence, even without a `LENIENT` policy, we need to wrap `typeChecker` to achieve consistent strictness.
            return IsErrorTypeEqualToAnythingTypeChecker(typeChecker, errorTypePolicy == KaSubtypingErrorTypePolicy.LENIENT)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/resolver/DefaultResolutionOutputs.java

                return lenient;
            }
    
            @Override
            public void setLenient(boolean lenient) {
                this.lenient = lenient;
            }
    
            // TODO: Deprecate this in favor of setLenient(Boolean)
            @Override
            public ArtifactView.ViewConfiguration lenient(boolean lenient) {
                this.lenient = lenient;
                return this;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultArtifactCollection.java

        private final boolean lenient;
        private final CalculatedValue<ArtifactSetResult> result;
    
        public DefaultArtifactCollection(ResolutionBackedFileCollection files, boolean lenient, ResolutionHost resolutionHost, CalculatedValueFactory calculatedValueFactory) {
            this.fileCollection = files;
            this.lenient = lenient;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

         */
        STRICT,
    
        /**
         * Error types are equal to and subtypes of all types.
         *
         * [LENIENT] should be chosen if type errors are expected and should be treated as type holes that can be satisfied by any other type.
         * However, caution should be applied when using [LENIENT], as the policy can swallow type errors which should have been dealt with
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

                }
    
                is ResolutionBackedFileCollection -> {
                    val displayName = fileCollection.resolutionHost.displayName
                    val lenient = fileCollection.isLenient
                    val nestedVisitor = ResolutionContentsCollectingVisitor(displayName, lenient)
                    fileCollection.visitStructure(nestedVisitor)
                    nestedVisitor.addElements(elements)
                    false
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ArtifactCollectionCodec.kt

        }
    
        override suspend fun ReadContext.decode(): ArtifactCollectionInternal {
            val displayName = readString()
            val lenient = readBoolean()
            val elements = readList().uncheckedCast<List<Any>>()
    
            val files = artifactSetConverter.asFileCollection(displayName, lenient,
                elements.map { element ->
                    when (element) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java

         */
        public ResolutionBackedFileCollection asFileCollection(String displayName, boolean lenient, List<?> elements) {
            return new ResolutionBackedFileCollection(new PartialSelectedArtifactProvider(elements), lenient, new NameBackedResolutionHost(displayName), taskDependencyFactory);
        }
    
        public ResolvedArtifactSet asResolvedArtifactSet(Throwable failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top