Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for kini (0.1 sec)

  1. src/cmd/compile/internal/types2/selection.go

    	index    []int  // path from x to x.f
    	indirect bool   // set if there was any pointer indirection on the path
    }
    
    // Kind returns the selection kind.
    func (s *Selection) Kind() SelectionKind { return s.kind }
    
    // Recv returns the type of x in x.f.
    func (s *Selection) Recv() Type { return s.recv }
    
    // Obj returns the object denoted by x.f; a *Var for
    // a field selection, and a *Func in all other cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	// is the first or second argument.
    	if strings.Index(line, expr) > strings.Index(line, ",") {
    		kind = dst
    	} else {
    		kind = src
    	}
    
    	vk := v.kind
    	vs := v.size
    	vt := v.typ
    	switch vk {
    	case asmInterface, asmEmptyInterface, asmString, asmSlice:
    		// allow reference to first word (pointer)
    		vk = v.inner[0].kind
    		vs = v.inner[0].size
    		vt = v.inner[0].typ
    	case asmComplex:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/symbolbuilder.go

    func (sb *SymbolBuilder) Sect() *sym.Section     { return sb.l.SymSect(sb.symIdx) }
    
    // Setters for symbol properties.
    
    func (sb *SymbolBuilder) SetType(kind sym.SymKind)   { sb.kind = kind }
    func (sb *SymbolBuilder) SetSize(size int64)         { sb.size = size }
    func (sb *SymbolBuilder) SetData(data []byte)        { sb.data = data }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/identity.go

    func identical(t1, t2 *Type, flags int, assumedEqual map[typePair]struct{}) bool {
    	if t1 == t2 {
    		return true
    	}
    	if t1 == nil || t2 == nil || t1.kind != t2.kind {
    		return false
    	}
    	if t1.obj != nil || t2.obj != nil {
    		if flags&identStrict == 0 && (t1.HasShape() || t2.HasShape()) {
    			switch t1.kind {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/convert.go

    			}
    		}
    
    	case sys.I386:
    		if src.IsFloat() {
    			switch dst.Kind() {
    			case types.TINT64, types.TUINT64:
    				return types.TFLOAT64, dst.Kind()
    			case types.TUINT32, types.TUINT, types.TUINTPTR:
    				return types.TFLOAT64, types.TUINT32
    			}
    		}
    		if dst.IsFloat() {
    			switch src.Kind() {
    			case types.TINT64, types.TUINT64:
    				return src.Kind(), dst.Kind()
    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/database/sql/driver/types.go

    	case reflect.Bool:
    		return rv.Bool(), nil
    	case reflect.Slice:
    		ek := rv.Type().Elem().Kind()
    		if ek == reflect.Uint8 {
    			return rv.Bytes(), nil
    		}
    		return nil, fmt.Errorf("unsupported type %T, a slice of %s", v, ek)
    	case reflect.String:
    		return rv.String(), nil
    	}
    	return nil, fmt.Errorf("unsupported type %T, a %s", v, rv.Kind())
    }
    
    type decimalDecompose interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    func fuseBranchRedirect(f *Func) bool {
    	ft := newFactsTable(f)
    	ft.checkpoint()
    
    	changed := false
    	for i := len(f.Blocks) - 1; i >= 0; i-- {
    		b := f.Blocks[i]
    		if b.Kind != BlockIf {
    			continue
    		}
    		// b is either empty or only contains the control value.
    		// TODO: if b contains only OpCopy or OpNot related to b.Controls,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/complit.go

    			fixedlit(ctxt, kind, value, a, init)
    			continue
    		}
    
    		islit := ir.IsConstNode(value)
    		if (kind == initKindStatic && !islit) || (kind == initKindDynamic && islit) {
    			continue
    		}
    
    		// build list of assignments: var[index] = expr
    		ir.SetPos(a)
    		as := ir.NewAssignStmt(base.Pos, a, value)
    		as = typecheck.Stmt(as).(*ir.AssignStmt)
    		switch kind {
    		case initKindStatic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    				continue
    			}
    			error_(f.NamePos[n], "could not determine kind of name for C.%s", fixGo(n.Go))
    		case notStrLiteral | notType:
    			n.Kind = "iconst"
    		case notIntConst | notStrLiteral | notType:
    			n.Kind = "fconst"
    		case notIntConst | notNumConst | notType:
    			n.Kind = "sconst"
    		case notIntConst | notNumConst | notStrLiteral:
    			n.Kind = "type"
    		case notIntConst | notNumConst | notStrLiteral | notType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/sccp.go

    			var branchIdx int64
    			if block.Kind == BlockIf {
    				branchIdx = 1 - condLattice.val.AuxInt
    			} else {
    				branchIdx = condLattice.val.AuxInt
    			}
    			t.edges = append(t.edges, block.Succs[branchIdx])
    		} else {
    			// condition value is not visited yet, don't propagate it now
    		}
    	default:
    		t.f.Fatalf("All kind of block should be processed above.")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top