Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setPos (0.25 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    		p.Pos = p.Pos.WithNotStmt()
    	}
    	return p
    }
    
    // Pc returns the current Prog.
    func (s *State) Pc() *obj.Prog {
    	return s.pp.Next
    }
    
    // SetPos sets the current source position.
    func (s *State) SetPos(pos src.XPos) {
    	s.pp.Pos = pos
    }
    
    // Br emits a single branch instruction and returns the instruction.
    // Not all architectures need the returned instruction, but otherwise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	if v < 0 {
    		return false
    	}
    	if (v & 0xFFF) == 0 {
    		v >>= 12
    	}
    	return v <= 0xFFF
    }
    
    // setPos sets the position of v to pos, then returns true.
    // Useful for setting the result of a rewrite's position to
    // something other than the default.
    func setPos(v *Value, pos src.XPos) bool {
    	v.Pos = pos
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/volume_manager_test.go

    			manager := newTestVolumeManager(t, tmpDir, podManager, kubeClient, node)
    
    			stopCh := runVolumeManager(manager)
    			defer close(stopCh)
    
    			podManager.SetPods([]*v1.Pod{pod})
    
    			// Fake node status update
    			go simulateVolumeInUseUpdate(
    				v1.UniqueVolumeName(node.Status.VolumesAttached[0].Name),
    				stopCh,
    				manager)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

              if (TF::TensorListSetItemOp set_op =
                      llvm::dyn_cast<TF::TensorListSetItemOp>(use.getOwner())) {
                element_shape = rewriter.create<TF::ShapeOp>(
                    op.getLoc(),
                    tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
                    set_op.getItem());
                element_shape_acquired = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      if (!name.empty())
        node_def->set_name(std::string(ParseTensorName(name.str()).node()));
      else
        node_def->set_name(
            std::string(op_to_name_.GetUniqueName(func.getName().str())));
    
      node_def->set_op(FunctionLibraryDefinition::kArgOp);
    
      mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType());
      if (auto resource_type =
              mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top