Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 968 for Mutated (0.35 sec)

  1. pkg/controller/statefulset/stateful_set_status_updater_test.go

    	if err := updater.UpdateStatefulSetStatus(context.TODO(), set, &status); err != nil {
    		t.Errorf("Error returned on successful status update: %s", err)
    	}
    	if set.Status.Replicas != 2 {
    		t.Errorf("UpdateStatefulSetStatus mutated the sets replicas %d", set.Status.Replicas)
    	}
    }
    
    func TestStatefulSetStatusUpdaterUpdatesObservedGeneration(t *testing.T) {
    	set := newStatefulSet(3)
    	status := apps.StatefulSetStatus{ObservedGeneration: 3, Replicas: 2}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 13 15:37:10 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationCreationRequest.java

         *
         * This method will emit a detailed deprecation method with suggestions if the usage is inconsistent.  It will then attempt to mutate
         * the usage to match the expectation.  If the usage cannot be mutated, it will throw an exception.
         *
         * Does <strong>NOT</strong> check anything to do with deprecated usage.
         *
         * @param conf the existing configuration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 13:42:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission_test.go

    			managedFields.Manager = ""
    			return managedFields, false
    		},
    	}
    
    	for name, mutate := range managedFieldsMutators {
    		t.Run(name, func(t *testing.T) {
    			mutated, shouldReset := mutate(validManagedFieldsEntry)
    			validEntries := []metav1.ManagedFieldsEntry{validManagedFieldsEntry}
    			mutatedEntries := []metav1.ManagedFieldsEntry{mutated}
    
    			obj := &v1.ConfigMap{}
    			obj.SetManagedFields(validEntries)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 12 21:32:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/internal/fuzz/mutator.go

    			panic("data moved to new address")
    		}
    		*ptrB = b
    	}()
    
    	for {
    		mut := byteSliceMutators[m.rand(len(byteSliceMutators))]
    		if mutated := mut(m, b); mutated != nil {
    			b = mutated
    			return
    		}
    	}
    }
    
    var (
    	interesting8  = []int8{-128, -1, 0, 1, 16, 32, 64, 100, 127}
    	interesting16 = []int16{-32768, -129, 128, 255, 256, 512, 1000, 1024, 4096, 32767}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. pkg/registry/core/namespace/strategy_test.go

    	if len(errs) == 0 {
    		t.Errorf("Expected a validation error")
    	}
    	if invalidNamespace.ResourceVersion != "4" {
    		t.Errorf("Incoming resource version on update should not be mutated")
    	}
    }
    
    func TestNamespaceDefaultLabelCanonicalize(t *testing.T) {
    	namespace := &api.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    	}
    
    	Strategy.Canonicalize(namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 08:51:17 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. src/runtime/security_aix.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = !(getuid() == geteuid() && getgid() == getegid())
    }
    
    func isSecureMode() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 449 bytes
    - Viewed (0)
  7. src/runtime/security_issetugid.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || illumos || netbsd || openbsd || solaris
    
    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = issetugid() == 1
    }
    
    func isSecureMode() bool {
    	return secureMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 502 bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TestMutation.java

    package jcifs.tests;
    
    
    import java.util.Map;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TestMutation {
    
        /**
         * @param cfg
         * @return mutated configuration
         */
        public Map<String, String> mutate ( Map<String, String> cfg );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MapIteratorCache.java

    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
     * <p>The {@link MapIteratorCache} assumes ownership of the backing map, and cannot guarantee
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/tls/cache.go

    // implemented in a similar fashion to BoringSSL's CRYPTO_BUFFER_POOL. This
    // allows for a single x509.Certificate to be kept in memory and referenced from
    // multiple Conns. Returned references should not be mutated by callers. Certificates
    // are still safe to use after they are removed from the cache.
    //
    // Certificates are returned wrapped in an activeCert struct that should be held by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top