Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for adaptive (0.43 sec)

  1. plugin/pkg/auth/authorizer/rbac/subject_locator.go

    			rules, err := r.roleToRuleMapper.GetRoleReferenceRules(clusterRoleBinding.RoleRef, "")
    			if err != nil {
    				// if we have an error, just keep track of it and keep processing.  Since rules are additive,
    				// missing a reference is bad, but we can continue with other rolebindings and still have a list
    				// that does not contain any invalid values
    				errorlist = append(errorlist, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ActionsTest.groovy

            composite(actions[0]) != composite()
        }
    
        def "adapting runnables"() {
            given:
            def runnable = Mock(Runnable)
            def arg = Mock(Object)
    
            when:
            toAction(runnable).execute(arg)
    
            then:
            0 * arg._(*_)
            1 * runnable.run()
        }
    
        def "adapting null runnables"() {
            when:
            toAction((Runnable) null).execute("foo")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/GradlePluginDevelopmentExtension.java

        }
    
         /**
         * Adds some source sets to the collection which will be using TestKit.
         *
         * Calling this method multiple times with different source sets is <strong>additive</strong> - this method
         * will add to the existing collection of source sets.
         *
         * @param testSourceSet the test source set to add
         * @since 7.4
         */
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizer.groovy

    /**
     * This normalizer converts native component paths and environment
     * information to look like macOS because samples output currently shows
     * the output for macOS and is not yet capable of adapting dynamically
     * to different toolchains.
     */
    class NativeComponentReportOutputNormalizer implements OutputNormalizer {
        @Override
        String normalize(String commandOutput, ExecutionMetadata executionMetadata) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	//
    	// Thus, a workaround here is to adapt the KubeletConfiguration paths for Windows.
    	// Note this is currently bound to KubeletConfiguration v1beta1.
    	klog.V(2).Infoln("[componentconfig] Adapting the paths in the KubeletConfiguration for Windows...")
    
    	// Get the drive from where the kubeadm binary was called.
    	exe, err := os.Executable()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/CopyingClasspathFileTransformer.java

                // Directories are ok to use outside the cache
                return source;
            }
            if (globalCacheLocations.isInsideGlobalCache(source.getAbsolutePath())) {
                // The global caches are additive only, so we can use it directly since it shouldn't be deleted or changed during the build.
                return source;
            }
    
            // Copy the file into the cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyComponentMetadataRulesStatusIntegrationTest.groovy

        }
    }
    """
        }
    
        def setup() {
            repo.module('org.test', 'projectA', '1.0').withStatus("silver").publish().allowAll()
        }
    
        def "module with custom status can be resolved by adapting status scheme"() {
            buildFile <<
                    """
    class StatusRule implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
            assert context.details.status == "silver"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_buildvcs.txt

    ! go list -buildvcs=true .
    stderr '^go: missing Git command\. See https://golang\.org/s/gogetcmd\nerror obtaining VCS status: .*\n\tUse -buildvcs=false to disable VCS stamping.'
    
    # Adding the -test flag should be strictly additive — it should not suppress the error.
    ! go list -buildvcs=true -test .
    stderr '^go: missing Git command\. See https://golang\.org/s/gogetcmd\nerror obtaining VCS status: .*\n\tUse -buildvcs=false to disable VCS stamping.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. pkg/keepalive/options.go

    	// See https://github.com/grpc/grpc-go/blob/bd0b3b2aa2a9c87b323ee812359b0e9cda680dad/keepalive/keepalive.go#L49
    	MaxServerConnectionAge time.Duration // default value is infinity
    	// MaxServerConnectionAgeGrace is an additive period after MaxServerConnectionAge
    	// after which the connection will be forcibly closed by the server.
    	MaxServerConnectionAgeGrace time.Duration // default value 10s
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/operations/TestListenerBuildOperationAdapter.java

    import org.gradle.internal.service.scopes.ServiceScope;
    import org.gradle.internal.time.Clock;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * A single instance is used per build, so may be adapting concurrent test executions.
     * However, this implementation is not thread safe,
     * but is relying on serialisation guarantees provided by ListenerManager.
     */
    @ServiceScope(Scope.BuildSession.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top