Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setItems (0.15 sec)

  1. pkg/kubelet/kubelet_node_status.go

    	var nodeAddressesFunc func() ([]v1.NodeAddress, error)
    	if kl.cloud != nil {
    		nodeAddressesFunc = kl.cloudResourceSyncManager.NodeAddresses
    	}
    	var setters []func(ctx context.Context, n *v1.Node) error
    	setters = append(setters,
    		nodestatus.NodeAddress(kl.nodeIPs, kl.nodeIPValidator, kl.hostname, kl.hostnameOverridden, kl.externalCloudProvider, kl.cloud, nodeAddressesFunc),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProvider.java

         * to the complete type ({@link ComponentMetadata}) which provides more than what we want to expose in those
         * rules. In particular, the builder exposes setters, that we don't want on the component metadata type.
         */
        private static class SimpleComponentMetadataBuilder implements ComponentMetadataBuilder {
            private final ModuleVersionIdentifier id;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    include::{snippetsPath}/providers/implicitTaskInputFileDependency/tests/implicitTaskInputFileDependencyKotlin.out[]
    ----
    
    In the example above, the task outputs and inputs are connected before any location is defined.
    The setters can be called at any time before the task is executed, and the change will automatically affect all related input and output properties.
    
    Another important thing to note in this example is the absence of any explicit task dependency.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

                is ConeLookupTagBasedType -> lookupTag.name.asString()
    
                // NOTE: Flexible types can occur not only as implicit return types,
                // but also as implicit parameter types, for example in setters with implicit types
                is ConeFlexibleType -> {
                    // since Kotlin decompiler always "renders" flexible types as their lower bound, we can do the same here
                    lowerBound.renderTypeAsKotlinType()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        //TODO Check thread safety
        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        return callee !is KtReferenceExpression ||
                analyze(callee) {
                    isSimpleVariableAccessCall(callee)
                }
    }
    
    /**
     * The body of setters are always used. The body of getters are only used if they are expression bodies.
     */
    private fun doesPropertyAccessorUseBody(propertyAccessor: KtPropertyAccessor, body: PsiElement): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            def differentSchema = schema2.factory.create()
            differentSchema.value == null
            differentSchema.number == 0
        }
    
        def "Java rule class can have non-public getters, setters and rule methods"() {
            expect:
            def schema = extractor.extract(AbstractJavaPropertyRules)
            schema.rules.size() == 2
            schema.factory.create() != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                        return enabled;
                    }
                }
            """
    
            expect:
            assertValidationSucceeds()
        }
    
    
        def "reports setters for property of mutable type #testedType"() {
            file("input.txt").text = "input"
    
            javaTaskSource << """
                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/main/resources/header.html

                                  document.body.classList.toggle('dark-mode');
                                  if (document.body.classList.contains('dark-mode')) {
                                    localStorage.setItem('theme', 'dark-mode');
                                  } else {
                                    localStorage.removeItem('theme');
                                  }
                                };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          // reset for next iteration
          numSuccessfulSetCalls.set(0);
          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // setFuture and cancel() interact in more complicated ways than the other setters.
      public void testSetFutureCancelBash() {
        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final int size = 50;
        final CyclicBarrier barrier =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top