Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for mutate1 (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/InternalTransformer.java

    /**
     * Equivalent to {@code Transformer}, but does not declare nullability due to Java 6 restrictions.
     *
     * <p>A {@code Transformer} transforms objects of type.</p>
     *
     * <p>Implementations are free to return new objects or mutate the incoming value.</p>
     *
     * @param <OUT> The type the value is transformed to.
     * @param <IN> The type of the value to be transformed.
     */
    public interface InternalTransformer<OUT, IN> {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. pilot/pkg/model/destination_rule.go

    			if bothWithoutSelector || (rule.GetWorkloadSelector() != nil && selectorsMatch) {
    				addRuleToProcessedDestRules = false
    			}
    
    			// Deep copy destination rule, to prevent mutate it later when merge with a new one.
    			// This can happen when there are more than one destination rule of same host in one namespace.
    			copied := mdr.rule.DeepCopy()
    			mdr.rule = &copied
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    	parentRefs := extractParentReferenceInfo(ctx.GatewayReferences, route.ParentRefs, route.Hostnames, gvk.HTTPRoute, obj.Namespace)
    	reportStatus := func(results []RouteParentResult) {
    		obj.Status.(*kstatus.WrappedStatus).Mutate(func(s config.Status) config.Status {
    			rs := s.(*k8s.HTTPRouteStatus)
    			rs.Parents = createRouteStatus(results, obj, rs.Parents)
    			return rs
    		})
    	}
    
    	type conversionResult struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	defaultCreateStrategy := &testRESTStrategy{scheme, &predictableNameGenerator{}, true, false, true}
    	registry.CreateStrategy = defaultCreateStrategy
    
    	// create the object (DeepCopy because the registry mutates the objects)
    	objA, err := registry.Create(testContext, podA.DeepCopy(), rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    
    	// get the object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. tests/integration/ambient/baseline_test.go

    					// we do not expect HBONE traffic to have mutated user traffic
    					// presently ExpectMTLS is checking that headers were added to user traffic
    					ExpectMTLS: Never,
    				},
    				{
    					ConfigFile:    "beta-mtls-permissive.yaml",
    					Namespace:     systemNM,
    					Include:       Always,
    					ExpectSuccess: SupportsHBone,
    					// we do not expect HBONE traffic to have mutated user traffic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/queue/scheduling_queue.go

    func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo {
    	npm.lock.RLock()
    	defer npm.lock.RUnlock()
    	// Make a copy of the nominated Pods so the caller can mutate safely.
    	pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
    	for i := 0; i < len(pods); i++ {
    		pods[i] = npm.nominatedPods[nodeName][i].DeepCopy()
    	}
    	return pods
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (3)
Back to top