Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for convTstring (0.26 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.decoderune", 1},
    	{"runtime.countrunes", 1},
    	{"runtime.convT", 1},
    	{"runtime.convTnoptr", 1},
    	{"runtime.convT16", 1},
    	{"runtime.convT32", 1},
    	{"runtime.convT64", 1},
    	{"runtime.convTstring", 1},
    	{"runtime.convTslice", 1},
    	{"runtime.assertE2I", 1},
    	{"runtime.assertE2I2", 1},
    	{"runtime.panicdottypeE", 1},
    	{"runtime.panicdottypeI", 1},
    	{"runtime.panicnildottype", 1},
    	{"runtime.typeAssert", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/iface.go

    		*(*uint64)(x) = val
    	}
    	return
    }
    
    // convTstring should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/sonic
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname convTstring
    func convTstring(val string) (x unsafe.Pointer) {
    	if val == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    // runtime function. This way, the call is ABI-insensitive.
    func convT16(val uint16) unsafe.Pointer
    func convT32(val uint32) unsafe.Pointer
    func convT64(val uint64) unsafe.Pointer
    func convTstring(val string) unsafe.Pointer
    func convTslice(val []uint8) unsafe.Pointer
    
    // interface type assertions x.(T)
    func assertE2I(inter *byte, typ *byte) *byte
    func assertE2I2(inter *byte, typ *byte) *byte
    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/typecheck/builtin.go

    	{"decoderune", funcTag, 55},
    	{"countrunes", funcTag, 56},
    	{"convT", funcTag, 57},
    	{"convTnoptr", funcTag, 57},
    	{"convT16", funcTag, 59},
    	{"convT32", funcTag, 61},
    	{"convT64", funcTag, 62},
    	{"convTstring", funcTag, 63},
    	{"convTslice", funcTag, 66},
    	{"assertE2I", funcTag, 67},
    	{"assertE2I2", funcTag, 67},
    	{"panicdottypeE", funcTag, 68},
    	{"panicdottypeI", funcTag, 68},
    	{"panicnildottype", funcTag, 69},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/convert.go

    		return "convT64", types.Types[types.TUINT64], false
    	}
    	if sc := from.SoleComponent(); sc != nil {
    		switch {
    		case sc.IsString():
    			return "convTstring", types.Types[types.TSTRING], false
    		case sc.IsSlice():
    			return "convTslice", types.NewSlice(types.Types[types.TUINT8]), false // the element type doesn't matter
    		}
    	}
    
    	if from.HasPointers() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. src/runtime/panic.go

    	// can be called even when it's unsafe to grow the stack.
    	systemstack(func() {
    		print("fatal error: ")
    		printindented(s) // logically printpanicval(s), but avoids convTstring write barrier
    		print("\n")
    	})
    
    	fatalthrow(throwTypeRuntime)
    }
    
    // fatal triggers a fatal error that dumps a stack trace and exits.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. internal/event/target/postgresql.go

    	id         event.TargetID
    	args       PostgreSQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    	connString string
    	loggerOnce logger.LogOnce
    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *PostgreSQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    			t.addUses(val)
    		}
    	}()
    
    	switch val.Op {
    	// they are constant values, aren't they?
    	case OpConst64, OpConst32, OpConst16, OpConst8,
    		OpConstBool, OpConst32F, OpConst64F: //TODO: support ConstNil ConstString etc
    		t.latticeCells[val] = lattice{constant, val}
    	// lattice value of copy(x) actually means lattice value of (x)
    	case OpCopy:
    		t.latticeCells[val] = t.getLatticeCell(val.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/generic.rules

    (StringLen (StringMake _ (Const64 <t> [c]))) => (Const64 <t> [c])
    (ConstString {str}) && config.PtrSize == 4 && str == "" =>
      (StringMake (ConstNil) (Const32 <typ.Int> [0]))
    (ConstString {str}) && config.PtrSize == 8 && str == "" =>
      (StringMake (ConstNil) (Const64 <typ.Int> [0]))
    (ConstString {str}) && config.PtrSize == 4 && str != "" =>
      (StringMake
        (Addr <typ.BytePtr> {fe.StringData(str)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// constants. Constant values are stored in the aux or
    	// auxint fields.
    	{name: "ConstBool", aux: "Bool"},     // auxint is 0 for false and 1 for true
    	{name: "ConstString", aux: "String"}, // value is aux.(string)
    	{name: "ConstNil", typ: "BytePtr"},   // nil pointer
    	{name: "Const8", aux: "Int8"},        // auxint is sign-extended 8 bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top