Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 86 of 86 for addstr2 (0.25 sec)

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

    		ir.EditChildren(n, o.edit)
    		return n
    
    	// Addition of strings turns into a function call.
    	// Allocate a temporary to hold the strings.
    	// Fewer than 5 strings use direct runtime helpers.
    	case ir.OADDSTR:
    		n := n.(*ir.AddStringExpr)
    		o.exprList(n.List)
    
    		if len(n.List) > 5 {
    			t := types.NewArray(types.Types[types.TSTRING], int64(len(n.List)))
    			n.Prealloc = o.newTemp(t, false)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		log.Fatal(err)
    	}
    	res2, err := ts.Client().Get(ts.URL)
    	if err != nil {
    		log.Fatal(err)
    	}
    	addr1 := res1.Header.Get("X-Addr")
    	addr2 := res2.Header.Get("X-Addr")
    	if addr1 == "" || addr1 != addr2 {
    		t.Errorf("addr1, addr2 = %q, %q; want same", addr1, addr2)
    	}
    }
    
    func TestHijackBeforeRequestBodyRead(t *testing.T) {
    	run(t, testHijackBeforeRequestBodyRead, []testMode{http1Mode})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    func (s *state) instrument2(t *types.Type, addr, addr2 *ssa.Value, kind instrumentKind) {
    	if !s.instrumentMemory {
    		return
    	}
    
    	w := t.Size()
    	if w == 0 {
    		return // can't race on zero-sized things
    	}
    
    	if ssa.IsSanitizerSafeAddr(addr) {
    		return
    	}
    
    	var fn *obj.LSym
    	needWidth := false
    
    	if addr2 != nil && kind != instrumentMove {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Lowering arithmetic
    (Add(64|32|16|8) ...) => (ADD(Q|L|L|L) ...)
    (AddPtr ...) => (ADDQ ...)
    (Add(32|64)F ...) => (ADDS(S|D) ...)
    
    (Sub(64|32|16|8) ...) => (SUB(Q|L|L|L) ...)
    (SubPtr ...) => (SUBQ ...)
    (Sub(32|64)F ...) => (SUBS(S|D) ...)
    
    (Mul(64|32|16|8) ...) => (MUL(Q|L|L|L) ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritegeneric.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (AddPtr <t> x (Const64 [c]))
    	// result: (OffPtr <t> x [c])
    	for {
    		t := v.Type
    		x := v_0
    		if v_1.Op != OpConst64 {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		v.reset(OpOffPtr)
    		v.Type = t
    		v.AuxInt = int64ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (AddPtr <t> x (Const32 [c]))
    	// result: (OffPtr <t> x [int64(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Add64",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:    "AddPtr",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:        "Add32F",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Add64F",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top