Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 241 for Option (0.29 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    	// the first non-empty line that is not a build constraint.
    	var action string
    	for actionSrc := src; action == "" && actionSrc != ""; {
    		var line string
    		line, actionSrc, _ = strings.Cut(actionSrc, "\n")
    		if constraint.IsGoBuild(line) || constraint.IsPlusBuild(line) {
    			continue
    		}
    		action = strings.TrimSpace(strings.TrimPrefix(line, "//"))
    	}
    	if action == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    * filter them (using link:{javadocPath}/org/gradle/api/file/FileTree.html#matching-org.gradle.api.Action-[FileTree.matching(org.gradle.api.Action)] and Ant-style patterns)
    * merge them
    
    You can also traverse file trees using the link:{javadocPath}/org/gradle/api/file/FileTree.html#visit-org.gradle.api.Action-[FileTree.visit(org.gradle.api.Action)] method.
    All of these techniques are demonstrated in the following example:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route_test.go

    			PathSeparatedPrefix: "/route/v1",
    		}))
    		g.Expect(routes[0].Action.(*envoyroute.Route_Route).Route.ClusterNotFoundResponseCode).
    			To(Equal(envoyroute.RouteAction_INTERNAL_SERVER_ERROR))
    		g.Expect(routes[1].Match.PathSpecifier).To(Equal(&envoyroute.RouteMatch_Prefix{
    			Prefix: "/",
    		}))
    		g.Expect(routes[1].Action.(*envoyroute.Route_Route).Route.ClusterNotFoundResponseCode).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                    return factory.create().length()
                }
    
                @Provides
                Factory<String> createString(Callable<String> action) {
                    return { action.call() } as Factory
                }
    
                @Provides
                Callable<String> createAction() {
                    return { "hi" }
                }
            })
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  5. pkg/controller/replicaset/replica_set_test.go

    	rs := newReplicaSet(1, map[string]string{"foo": "bar"})
    	fakeClient := &fake.Clientset{}
    	fakeClient.AddReactor("get", "replicasets", func(action core.Action) (bool, runtime.Object, error) { return true, rs, nil })
    	fakeClient.AddReactor("*", "*", func(action core.Action) (bool, runtime.Object, error) {
    		return true, &apps.ReplicaSet{}, fmt.Errorf("fake error")
    	})
    	fakeRSClient := fakeClient.AppsV1().ReplicaSets("default")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  6. pkg/volume/testing/testing.go

    }
    
    func (plugin *FakeVolumePlugin) NewProvisioner(logger klog.Logger, options volume.VolumeOptions) (volume.Provisioner, error) {
    	plugin.Lock()
    	defer plugin.Unlock()
    	plugin.LastProvisionerOptions = options
    	return &FakeProvisioner{options, plugin.Host, plugin.ProvisionDelaySeconds}, nil
    }
    
    func (plugin *FakeVolumePlugin) GetAccessModes() []v1.PersistentVolumeAccessMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    func pluginPVOmittingClient(dswp *desiredStateOfWorldPopulator) {
    	fakeClient := &fake.Clientset{}
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return false, nil, nil
    	})
    	fakeClient.AddReactor("get", "persistentvolumes", func(action core.Action) (bool, runtime.Object, error) {
    		return false, nil, nil
    	})
    	dswp.kubeClient = fakeClient
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion.go

    	if forwardTo == nil {
    		return nil, nil, nil
    	}
    
    	weights := []int{}
    	action := []k8s.BackendRef{}
    	for _, w := range forwardTo {
    		wt := int(ptr.OrDefault(w.Weight, 1))
    		if wt == 0 {
    			continue
    		}
    		action = append(action, w)
    		weights = append(weights, wt)
    	}
    	if len(weights) == 1 {
    		weights = []int{0}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            public void block(@Nullable String comment, String methodName, Action<? super ScriptBlockBuilder> blockContentsBuilder) {
                blockContentsBuilder.execute(block(comment, methodName));
            }
    
            @Override
            public Expression containerElement(@Nullable String comment, String container, String elementName, @Nullable String elementType, Action<? super ScriptBlockBuilder> blockContentsBuilder) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  10. plugin/pkg/admission/limitranger/admission_test.go

    	mockClient := &fake.Clientset{}
    
    	var (
    		testCount  int64
    		test1Count int64
    	)
    	mockClient.AddReactor("list", "limitranges", func(action core.Action) (bool, runtime.Object, error) {
    		switch action.GetNamespace() {
    		case "test":
    			atomic.AddInt64(&testCount, 1)
    		case "test1":
    			atomic.AddInt64(&test1Count, 1)
    		default:
    			t.Error("unexpected namespace")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top