Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 968 for Mutated (0.11 sec)

  1. src/cmd/compile/internal/types2/check.go

    	if info == nil {
    		info = new(Info)
    	}
    
    	// Note: clients may call NewChecker with the Unsafe package, which is
    	// globally shared and must not be mutated. Therefore NewChecker must not
    	// mutate *pkg.
    	//
    	// (previously, pkg.goVersion was mutated here: go.dev/issue/61212)
    
    	return &Checker{
    		conf:    conf,
    		ctxt:    conf.Context,
    		pkg:     pkg,
    		Info:    info,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/go/types/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: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/fingerprinting.cc

      const int kFingerprintProducer = 1;
    
      SavedModel saved_model;
      TF_RETURN_IF_ERROR(ReadBinaryProto(Env::Default(), pb_file, &saved_model));
    
      // Create a copy of `metagraph` which will be used and mutated for fingerprint
      // computation.
      FingerprintDef fingerprint_def;
      MetaGraphDef* metagraph = saved_model.mutable_meta_graphs(0);
      // Set fingerprint field #1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

        func.return %val : tensor<f32>
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // Test case: Don't mark immutable if the variable is mutated.
    
      // CHECK: "tf_saved_model.global_tensor"() <{
      // CHECK-SAME: is_mutable
      // CHECK-SAME: }> : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/sync/oncefunc_test.go

    			doOnceFunc()
    		}
    	})
    	b.Run("v=Global", func(b *testing.B) {
    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    			// As of 3/2023, the compiler doesn't recognize that onceFunc is
    			// never mutated and is a closure that could be inlined.
    			// Too bad, because this is how OnceFunc will usually be used.
    			onceFunc()
    		}
    	})
    	b.Run("v=Local", func(b *testing.B) {
    		b.ReportAllocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

            }
        }
    
        /**
         * An implementation of {@link Property} that provides a contextualized error if the value is mutated after finalization.
         */
        private static class ContextualErrorMessageProperty<T> extends DefaultProperty<T> {
            private final String displayName;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. pkg/registry/rbac/validation/policy_compact_test.go

    		}
    		compacted, err := CompactRules(tc.Rules)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", k, err)
    			continue
    		}
    		if !reflect.DeepEqual(rules, originalRules) {
    			t.Errorf("%s: CompactRules mutated rules. Expected\n%#v\ngot\n%#v", k, originalRules, rules)
    			continue
    		}
    		if covers, missing := validation.Covers(compacted, rules); !covers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 16:51:16 UTC 2020
    - 9.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/rest/create.go

    	// Canonicalize allows an object to be mutated into a canonical form. This
    	// ensures that code that operates on these objects can rely on the common
    	// form for things like comparison.  Canonicalize is invoked after
    	// validation has succeeded but before the object has been persisted.
    	// This method may mutate the object. Often implemented as a type check or
    	// empty method.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  9. pilot/pkg/config/monitor/monitor.go

    		root:            root,
    		store:           delegateStore,
    		getSnapshotFunc: getSnapshotFunc,
    	}
    	return monitor
    }
    
    const watchDebounceDelay = 50 * time.Millisecond
    
    // Trigger notifications when a file is mutated
    func fileTrigger(path string, ch chan struct{}, stop <-chan struct{}) error {
    	if path == "" {
    		return nil
    	}
    	fs, err := fsnotify.NewWatcher()
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. 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)
Back to top