Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for newop (0.08 sec)

  1. src/encoding/json/decode.go

    // receives a scan code not equal to op.
    func (d *decodeState) scanWhile(op int) {
    	s, data, i := &d.scan, d.data, d.off
    	for i < len(data) {
    		newOp := s.step(s, data[i])
    		i++
    		if newOp != op {
    			d.opcode = newOp
    			d.off = i
    			return
    		}
    	}
    
    	d.off = len(data) + 1 // mark processed EOF with len+1
    	d.opcode = d.scan.eof()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    		rc.init(regs, aux.abiInfo, nil, auxBase, 0)
    		x.rewriteSelectOrArg(call.Pos, call.Block, v, v, mem, v.Type, rc)
    	}
    
    	rewriteCall := func(v *Value, newOp Op, argStart int) {
    		// Break aggregate args passed to call into smaller pieces.
    		x.rewriteCallArgs(v, argStart)
    		v.Op = newOp
    		rts := abi.RegisterTypes(v.Aux.(*AuxCall).abiInfo.OutParams())
    		v.Type = types.NewResults(append(rts, types.TypeMem))
    	}
    
    	// Rewrite calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    		var info []caseInfo
    
    		// Ready send.
    		if x.Maybe() {
    			ch, val := newop(len(cases), 1)
    			cases = append(cases, SelectCase{
    				Dir:  SelectSend,
    				Chan: ch,
    				Send: val,
    			})
    			info = append(info, caseInfo{desc: "ready send", canSelect: true})
    		}
    
    		// Ready recv.
    		if x.Maybe() {
    			ch, val := newop(len(cases), 1)
    			ch.Send(val)
    			cases = append(cases, SelectCase{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	for _, arg := range args {
    		prefix, expr := splitNameExpr(arg)
    		fmt.Fprint(s, " ", prefix, normalizeMatch(expr, arch))
    	}
    	return s.String()
    }
    
    func parseEllipsisRules(rules []Rule, arch arch) (newop string, ok bool) {
    	if len(rules) != 1 {
    		for _, r := range rules {
    			if strings.Contains(r.Rule, "...") {
    				log.Fatalf("%s: found ellipsis in rule, but there are other rules with the same op", r.Loc)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    				ports:          []corev1.EndpointPort{{Name: "foo", Port: 8080, Protocol: "TCP"}},
    				newIP:          "4.3.2.1",
    				expectEndpoint: "4.3.2.1:8080",
    			}, {
    				existingIP:     "1.2.3.4",
    				id:             "server-2",
    				ports:          []corev1.EndpointPort{{Name: "foo", Port: 8080, Protocol: "TCP"}},
    				newIP:          "1.1.1.1",
    				expectEndpoint: "1.1.1.1:8080",
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. test/complit.go

    	if len(m) != 3 {
    		panic("m")
    	}
    
    	eq([]*R{itor(0), itor(1), itor(2), itor(3), itor(4), itor(5)})
    	eq([]*R{{0}, {1}, {2}, {3}, {4}, {5}})
    
    	p1 := NewP(1, 2)
    	p2 := NewP(1, 2)
    	if p1 == p2 {
    		panic("NewP")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc

            mlir::Operation *new_op = builder.clone(*op.getOperation());
            new_op->setAttr(kDeviceAttr, device_attr);
            cloned_op_by_device[device_attr.getValue()] = new_op;
          }
          // Update the user operation to use the result of the cloned ConstOp.
          mlir::Operation *new_op = cloned_op_by_device[device_attr.getValue()];
          user_op->setOperand(use.getOperandNumber(), new_op->getResult(0));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      // orig_op, except the op name.
      auto* new_op = new EagerOperation(&ctx);
      TF_RETURN_IF_ERROR(
          new_op->Reset(fname.c_str(), orig_op->DeviceName().c_str()));
      for (auto input : orig_op->GetInputs()) {
        TF_RETURN_IF_ERROR(new_op->AddInput(input));
      }
      new_op->MutableAttrs()->CopyAttributes(orig_op->Attrs());
      out_op->reset(new_op);
    
      LOG_FIRST_N(INFO, 1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top