Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 699 for Mutated (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            when:
            configurationCacheRun()
    
            then:
            configurationCache.assertStateStored()
            outputContains("ValueSource result = Hello, world")
        }
    
        def "value source can read mutated system property inputs at configuration time"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildFile("""
            import org.gradle.api.provider.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/util/util.go

    		return volumeSpec, nil
    	}
    
    	// Do not return the original volume object, since it's from the shared
    	// informer it may be mutated by another consumer.
    	clonedPodVolume := podVolume.DeepCopy()
    
    	origspec := volume.NewSpecFromVolume(clonedPodVolume)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    			u.Host = net.JoinHostPort("127.0.0.1", p)
    			conn, err := DialURL(context.Background(), u, transport)
    
    			// Make sure dialing doesn't mutate the transport's TLSConfig
    			if !reflect.DeepEqual(tc.TLSConfig, tlsConfigCopy) {
    				t.Errorf("%s: transport's copy of TLSConfig was mutated\n%s", k, cmp.Diff(tc.TLSConfig, tlsConfigCopy))
    			}
    
    			if err != nil {
    				if tc.ExpectError == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    // no data should be written to the directory, and so the path values of
    // LocalDir, UploadDir, etc. must not matter.
    //
    // Default is a global for convenience and testing, but should not be mutated
    // outside of tests.
    //
    // TODO(rfindley): it would be nice to completely eliminate this global state,
    // or at least push it in the golang.org/x/telemetry package
    var Default Dir
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/aggregate/controller_test.go

    				svc.ClusterVIPs.Addresses, ClusterVIPs[svc.Hostname])
    		}
    	}
    
    	// check HelloService is not mutated
    	if !reflect.DeepEqual(originalHelloService, mock.HelloService) {
    		t.Errorf("Original hello service is mutated")
    	}
    }
    
    func TestServices(t *testing.T) {
    	aggregateCtl := buildMockController()
    	// List Services from aggregate controller
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    // The static spec has the highest priority, and its paths and definitions won't get overlapped by
    // user-defined CRDs. None of the input is mutated, but input and output share data structures.
    func MergeSpecs(staticSpec *spec.Swagger, crdSpecs ...*spec.Swagger) (*spec.Swagger, error) {
    	// create shallow copy of staticSpec, but replace paths and definitions because we modify them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

            )
    
            def fixture = spec.createFixtureFor(this, systemProp)
            fixture.setup()
    
            settingsFile << "System.setProperty('$systemProp', 'mutated value')\n"
    
            when:
            System.clearProperty(systemProp)
            configurationCacheRun fixture.task
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

                        @Model
                        MyThing1 thing1() {
                            new MyThing1()
                        }
    
                        @Mutate
                        void thing1(MyThing1 t1, MyThing3 t3) {
                        }
    
                        @Mutate
                        void mutateThing2(MyThing2 t2, MyThing1 t1) {
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/instantiate_test.go

    	obj, _, _ := LookupFieldOrMethod(typ, false, pkg, "m")
    	if obj == nil {
    		t.Fatalf(`LookupFieldOrMethod(%s, "m") = %v, want func m`, typ, obj)
    	}
    
    	// Verify that the original method is not mutated by instantiating T (this
    	// bug manifested when subst did not return a new signature).
    	want := "func (T[P]).m()"
    	if got := stripAnnotations(ObjectString(obj, RelativeTo(pkg))); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/apiclient/idempotency.go

    	if err == nil {
    		return nil
    	}
    	return lastError
    }
    
    // mutateConfigMap takes a ConfigMap Object Meta (namespace and name), retrieves the resource from the server and tries to mutate it
    // by calling to the mutator callback, then an Update of the mutated ConfigMap will be performed. This function is resilient
    // to conflicts, and a retry will be issued if the ConfigMap was modified on the server between the refresh and the update (while the mutation was
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top