Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for convey (0.27 sec)

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

    	init.Append(as)
    	return res
    }
    
    // Returns the data word (the second word) used to represent conv.X in
    // an interface.
    func dataWord(conv *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	pos, n := conv.Pos(), conv.X
    	fromType := n.Type()
    
    	// If it's a pointer, it is its own representation.
    	if types.IsDirectIface(fromType) {
    		return n
    	}
    
    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/go/internal/generate/generate.go

    double-quoted strings passed to the generator as individual
    arguments when it is run.
    
    Quoted strings use Go syntax and are evaluated before execution; a
    quoted string appears as a single argument to the generator.
    
    To convey to humans and machine tools that code is generated,
    generated source should have a line that matches the following
    regular expression (in Go syntax):
    
    	^// Code generated .* DO NOT EDIT\.$
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func decoderune(string, int) (retv rune, retk int)
    func countrunes(string) int
    
    // Convert non-interface type to the data word of a (empty or nonempty) interface.
    func convT(typ *byte, elem *any) unsafe.Pointer
    
    // Same as convT, for types with no pointers in them.
    func convTnoptr(typ *byte, elem *any) unsafe.Pointer
    
    // Specialized versions of convT for specific types.
    // These functions take concrete types in the runtime. But they may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/magic.go

    //                   in 2 instructions on x86.)
    
    // umagicOK reports whether we should strength reduce a n-bit divide by c.
    func umagicOK(n uint, c int64) bool {
    	// Convert from ConstX auxint values to the real uint64 constant they represent.
    	d := uint64(c) << (64 - n) >> (64 - n)
    
    	// Doesn't work for 0.
    	// Don't use for powers of 2.
    	return d&(d-1) != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/schedule.go

    				continue
    			}
    
    			n := 3*max + 2
    			if w.Op == OpNilCheck {
    				n = 3*max + 1
    			}
    			storeNumber[w.ID] = n
    			count[n]++
    			stack = stack[:len(stack)-1]
    		}
    	}
    
    	// convert count to prefix sum of counts: count'[i] = sum_{j<=i} count[i]
    	for i := range count {
    		if i == 0 {
    			continue
    		}
    		count[i] += count[i-1]
    	}
    	if count[len(count)-1] != int32(len(values)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git_test.go

    		log.Fatal(err)
    	}
    }
    
    var gitrepo1, hgrepo1, vgotest1 string
    
    var altRepos = func() []string {
    	return []string{
    		"localGitRepo",
    		hgrepo1,
    	}
    }
    
    // TODO: Convert gitrepo1 to svn, bzr, fossil and add tests.
    // For now, at least the hgrepo1 tests check the general vcs.go logic.
    
    // localGitRepo is like gitrepo1 but allows archive access
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/assign.go

    	// if uint(newLen) <= uint(oldCap)
    	nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    	nuint := typecheck.Conv(newLen, types.Types[types.TUINT])
    	scapuint := typecheck.Conv(oldCap, types.Types[types.TUINT])
    	nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OLE, nuint, scapuint)
    	nif.Likely = true
    
    	// then { s = s[:newLen] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "MOVFconst", argLength: 0, reg: fp01, aux: "Float32", asm: "MOVF", typ: "Float32", rematerializeable: true}, // auxint as 64-bit float, convert to 32-bit float
    		{name: "MOVDconst", argLength: 0, reg: fp01, aux: "Float64", asm: "MOVD", typ: "Float64", rematerializeable: true}, // auxint as 64-bit float
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticinit/sched.go

    			return true
    		}
    		// We may have skipped past one or more OCONVNOPs, so
    		// use conv to ensure r is assignable to l (#13263).
    		dst := ir.Node(l)
    		if loff != 0 || !types.Identical(typ, l.Type()) {
    			dst = ir.NewNameOffsetExpr(base.Pos, l, loff, typ)
    		}
    		s.append(ir.NewAssignStmt(base.Pos, dst, typecheck.Conv(r, typ)))
    		return true
    
    	case ir.ONIL:
    		return true
    
    	case ir.OLITERAL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/float_test.go

    	y64 := math.Float64bits(g64)
    	if x64 != y64 {
    		t.Errorf("got %x, want %x (diff=%x)", x64, y64, x64^y64)
    	}
    }
    
    func TestFloatSignalingNaNConversion(t *testing.T) {
    	// Test to make sure when we convert a signaling NaN, we get a NaN.
    	// (Ideally we want a quiet NaN, but some platforms don't agree.)
    	// See issue 36399.
    	s32 := math.Float32frombits(snan32bitsVar)
    	if s32 == s32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
Back to top