Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,120 for setOp (0.17 sec)

  1. src/cmd/compile/internal/walk/convert.go

    	if n.TypeWord == nil || n.TypeWord.Op() == ir.OADDR && n.TypeWord.(*ir.AddrExpr).X.Op() == ir.OLINKSYMOFFSET {
    		// Fixed (not loaded from a dictionary) type.
    		ta := ir.NewTypeAssertExpr(base.Pos, c, toType)
    		ta.SetOp(ir.ODOTTYPE2)
    		// Allocate a descriptor for this conversion to pass to the runtime.
    		ta.Descriptor = makeTypeAssertDescriptor(toType, true)
    		rhs = ta
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/switch.go

    	// because walkExpr will lower the string
    	// conversion into a runtime call.
    	// See issue 24937 for more discussion.
    	if cond.Op() == ir.OBYTES2STR && allCaseExprsAreSideEffectFree(sw) {
    		cond := cond.(*ir.ConvExpr)
    		cond.SetOp(ir.OBYTES2STRTMP)
    	}
    
    	cond = walkExpr(cond, sw.PtrInit())
    	if cond.Op() != ir.OLITERAL && cond.Op() != ir.ONIL {
    		cond = copyExpr(cond, cond.Type(), &sw.Compiled)
    	}
    
    	base.Pos = lno
    
    	s := exprSwitch{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/expr.go

    	if n.RType != nil && n.RType.Op() == ir.OADDR {
    		addr := n.RType.(*ir.AddrExpr)
    		if addr.X.Op() == ir.OLINKSYMOFFSET {
    			r := ir.NewTypeAssertExpr(n.Pos(), n.X, n.Type())
    			if n.Op() == ir.ODYNAMICDOTTYPE2 {
    				r.SetOp(ir.ODOTTYPE2)
    			}
    			r.SetType(n.Type())
    			r.SetTypecheck(1)
    			return walkExpr(r, init)
    		}
    	}
    	return n
    }
    
    // walkIndex walks an OINDEX node.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/echotest/setup.go

    //   - cleanup...
    //   - b/to_a/from_cluster-1
    //     ...
    func (t *T) Setup(setupFn srcSetupFn) *T {
    	t.sourceDeploymentSetup = append(t.sourceDeploymentSetup, setupFn)
    	return t
    }
    
    func (t *T) setup(ctx framework.TestContext, from echo.Callers) {
    	if !t.hasSourceSetup() {
    		ctx.SkipDumping()
    		scopes.Framework.Debugf("No echotest setup; skipping test dump at this scope.")
    	}
    	for _, setupFn := range t.sourceDeploymentSetup {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/setup.go

    package resource
    
    // SetupFn is a function used for performing setup actions.
    type SetupFn func(ctx Context) error
    
    // TeardownFn is a function used for performing tear-down actions.
    type TeardownFn func(ctx Context)
    
    // ShouldSkipFn is a function used for performing skip actions; if it returns true a job is skipped
    // Note: function may be called multiple times during the setup process.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 1018 bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # Common setup for all TF scripts.
    #
    # Make as FEW changes to this file as possible. It should not contain utility
    # functions (except for tfrun); use dedicated scripts instead and reference them
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 26 00:33:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/setup.packages.sh

    # limitations under the License.
    # ==============================================================================
    #
    # setup.packages.sh: Given a list of Ubuntu packages, install them and clean up.
    # Usage: setup.packages.sh <package_list.txt>
    set -e
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    apt-get update
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/setup.python.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    add-apt-repository ppa:deadsnakes/ppa
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/setup.sources.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top