Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 699 for Mutated (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    			ErrorContains:    " has panicked: Start panicking!",
    		},
    	}
    }
    
    func mutationAnnotationValue(configuration, webhook string, mutated bool) string {
    	return fmt.Sprintf(`{"configuration":"%s","webhook":"%s","mutated":%t}`, configuration, webhook, mutated)
    }
    
    func patchAnnotationValue(configuration, webhook string, patch string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/audit/request.go

    // will discard the managed fields from the copy.
    // The specified object is expected to be a meta.Object or a "list".
    // The specified object obj is treated as readonly and hence not mutated.
    // On return, an error is set if the function runs into any error while
    // removing the managed fields, the boolean value is true if the copy has
    // been made successfully, otherwise false.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. pkg/config/model_test.go

    	copiedGateway := copied.Spec.(*networking.Gateway)
    	copiedGateway.Selector = map[string]string{"app": "test"}
    
    	gateway := cfg.Spec.(*networking.Gateway)
    	if gateway.Selector != nil {
    		t.Errorf("Original gateway is mutated")
    	}
    }
    
    type TestStruct struct {
    	Name string `json:"name"`
    }
    
    func TestDeepCopyTypes(t *testing.T) {
    	cases := []struct {
    		input  Spec
    		modify func(c Spec) Spec
    		option cmp.Option
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    type ObjectConvertor interface {
    	// Convert attempts to convert one object into another, or returns an error. This
    	// method does not mutate the in object, but the in and out object might share data structures,
    	// i.e. the out object cannot be mutated without mutating the in object as well.
    	// The context argument will be passed to all nested conversions.
    	Convert(in, out, context interface{}) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
  5. src/net/http/httptrace/trace.go

    }
    
    // DNSDoneInfo contains information about the results of a DNS lookup.
    type DNSDoneInfo struct {
    	// Addrs are the IPv4 and/or IPv6 addresses found in the DNS
    	// lookup. The contents of the slice should not be mutated.
    	Addrs []net.IPAddr
    
    	// Err is any error that occurred during the DNS lookup.
    	Err error
    
    	// Coalesced is whether the Addrs were shared with another
    	// caller who was doing the same DNS lookup concurrently.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt

    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if bytes.Equal(contents, []byte("aa")) {
    		fmt.Fprintf(os.Stderr, "newly written testdata entry was not mutated\n")
    		os.Exit(1)
    	}
    	// The hash of the bytes in the file should match the filename.
    	h := []byte(fmt.Sprintf("%x", sha256.Sum256(contents)))
    	if !bytes.HasPrefix(h, []byte(fname)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/proxy_config_test.go

    			pc := mesh.DefaultProxyConfig()
    			proto.Merge(pc, tc.expected)
    
    			assert.Equal(t, merged, pc)
    			after, _ := protomarshal.ToJSON(m)
    			assert.Equal(t, original, after, "mesh config should not be mutated")
    		})
    	}
    }
    
    func newProxyConfig(name, ns string, spec config.Spec) config.Config {
    	return config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.ProxyConfig,
    			Name:             name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. pkg/registry/batch/cronjob/strategy_test.go

    	if len(errs) != 0 {
    		t.Errorf("Unexpected error %v", errs)
    	}
    	if newCronJob.ResourceVersion != "9" {
    		t.Errorf("Incoming resource version on update should not be mutated")
    	}
    }
    
    func TestStrategy_ResetFields(t *testing.T) {
    	resetFields := Strategy.GetResetFields()
    	if len(resetFields) != 2 {
    		t.Errorf("ResetFields should have 2 elements, but have %d", len(resetFields))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/environment/environment.go

    	// DeclTypes.
    	DeclTypes []*apiservercel.DeclType
    }
    
    // Extend returns an EnvSet based on this EnvSet but extended with given VersionedOptions.
    // This EnvSet is not mutated.
    // The returned EnvSet has the same compatibility version as the EnvSet that was extended.
    //
    // Extend is an expensive operation and each call to Extend that adds DeclTypes increases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          return new LockFreeBitArray(toPlainArray(data));
        }
    
        /**
         * Combines the two BitArrays using bitwise OR.
         *
         * <p>NOTE: Because of the use of atomics, if the other LockFreeBitArray is being mutated while
         * this operation is executing, not all of those new 1's may be set in the final state of this
         * LockFreeBitArray. The ONLY guarantee provided is that all the bits that were set in the other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top