Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for clonePod (0.28 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    	expectInFlightPods(t, q)
    	// Construct a Pod, but don't associate its scheduler failure to any plugin
    	hpp1 := clonePod(highPriorityPodInfo.Pod, "hpp1")
    	q.activeQ.Add(q.newQueuedPodInfo(hpp1))
    	if p, err := q.Pop(logger); err != nil || p.Pod != hpp1 {
    		t.Errorf("Expected: %v after Pop, but got: %v", hpp1, p.Pod.Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/main/webapp/css/admin/html5shiv.min.js

    b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Dec 31 23:16:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  3. test/typeparam/issue53087.go

    var _ I = &S{}
    
    type CloningMap[K comparable, V any] struct {
    	inner map[K]V
    }
    
    func (cm CloningMap[K, V]) With(key K, value V) CloningMap[K, V] {
    	result := CloneBad(cm.inner)
    	result[key] = value
    	return CloningMap[K, V]{result}
    }
    
    func CloneBad[M ~map[K]V, K comparable, V any](m M) M {
    	r := make(M, len(m))
    	for k, v := range m {
    		r[k] = v
    	}
    	return r
    }
    
    func main() {
    	s1 := &S{"one"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 16:23:09 UTC 2023
    - 930 bytes
    - Viewed (0)
  4. test/fixedbugs/issue46304.go

    func (w *M) walkP(p *P) *P {
    	np := &P{}
    	*np = *p
    	np.tag += "new"
    	return np
    }
    
    func (w *M) walkOp(op *Op) *Op {
    	if op == nil {
    		return nil
    	}
    
    	orig := op
    	cloned := false
    	clone := func() {
    		if !cloned {
    			cloned = true
    			op = &Op{}
    			*op = *orig
    		}
    	}
    
    	pCloned := false
    	for i := range op.plist {
    		if s := w.walkP(&op.plist[i]); s != &op.plist[i] {
    			if !pCloned {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 22 00:51:17 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

            return this.ntHash;
        }
    
    
        @Override
        public NtlmPasswordAuthenticator clone () {
            NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone());
            cloneInternal(cloned, this);
            return cloned;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sink_constant.cc

            // We found a constant, try to insert it in the map and re-use its
            // cloned value if any.
            auto map_entry = sunk_constant.try_emplace(constant, nullptr);
            if (!map_entry.second) {
              // This constant has already been cloned into the region, reuse it.
              use->set(map_entry.first->getSecond().getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

                                      Node* n);
      string GenerateUniqueName(const absl::flat_hash_set<string>& name_set,
                                absl::string_view prefix);
      absl::StatusOr<Node*> CloneNode(const absl::flat_hash_set<string>& name_set,
                                      Node* n);
    
      Graph* graph_;
      int unique_name_counter_;
    };
    
    string CloneConstantsForBetterClusteringPassImpl::GenerateUniqueName(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

            }
    
            auto cloned = llvm::cast<func::FuncOp>(builder.clone(*f));
            cloned->removeAttr(kFromXlaCallModuleAttrName);
    
            if (f == entry_func) {
              // Entry function must be public and has symbol name "@main".
              cloned.setPublic();
              cloned.setName(kStablehloMainFunctionName);
            } else {
              cloned.setPrivate();
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      SmallVector<func::FuncOp, 2> cloned_branches;
      cloned_branches.reserve(branches.size());
      for (func::FuncOp func : branches) {
        func::FuncOp cloned = CloneFunctionIfNeeded(func);
        cloned_branches.push_back(cloned);
        if (cloned == func) continue;
        // Patch up the op attribute to point to the new function.
        for (NamedAttribute attr : op->getAttrs()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            NtlmPasswordAuthenticator cloned = new NtlmPasswordAuthenticator();
            cloneInternal(cloned, this);
            return cloned;
        }
    
    
        protected static void cloneInternal ( NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone ) {
            cloned.domain = toClone.domain;
            cloned.username = toClone.username;
            cloned.password = toClone.password;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
Back to top