Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for Tabwidth (0.15 sec)

  1. src/runtime/vdso_linux_amd64.go

    package runtime
    
    import _ "unsafe" // for linkname
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/amd64/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6}
    
    var vdsoSymbolKeys = []vdsoSymbolKey{
    	{"__vdso_gettimeofday", 0x315ca59, 0xb01bca00, &vdsoGettimeofdaySym},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 816 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/export_test.go

    	return d.f
    }
    
    var testTypes Types
    
    func init() {
    	// TODO(mdempsky): Push into types.InitUniverse or typecheck.InitUniverse.
    	types.PtrSize = 8
    	types.RegSize = 8
    	types.MaxWidth = 1 << 50
    
    	base.Ctxt = &obj.Link{Arch: &obj.LinkArch{Arch: &sys.Arch{Alignment: 1, CanMergeLoads: true}}}
    	typecheck.InitUniverse()
    	testTypes.SetTypPtrs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/fmt/doc.go

    		Printf("hi", "guys"):      hi%!(EXTRA string=guys)
    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    	Invalid or invalid use of argument index: %!(BADINDEX)
    		Printf("%*[2]d", 7):       %!d(BADINDEX)
    		Printf("%.[2]d", 7):       %!d(BADINDEX)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	{"%0*d", args(uint64(4), 42), "0042"},
    	{"%0*d", args('\x04', 42), "0042"},
    	{"%0*d", args(uintptr(4), 42), "0042"},
    
    	// erroneous
    	{"%*d", args(nil, 42), "%!(BADWIDTH)42"},
    	{"%*d", args(int(1e7), 42), "%!(BADWIDTH)42"},
    	{"%*d", args(int(-1e7), 42), "%!(BADWIDTH)42"},
    	{"%.*d", args(nil, 42), "%!(BADPREC)42"},
    	{"%.*d", args(-1, 42), "%!(BADPREC)42"},
    	{"%.*d", args(int(1e7), 42), "%!(BADPREC)42"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/pgen.go

    			continue
    		}
    		if !n.Used() {
    			fn.DebugInfo.(*ssa.FuncDebug).OptDcl = fn.Dcl[i:]
    			fn.Dcl = fn.Dcl[:i]
    			break
    		}
    		types.CalcSize(n.Type())
    		w := n.Type().Size()
    		if w >= types.MaxWidth || w < 0 {
    			base.Fatalf("bad width")
    		}
    		if w == 0 && lastHasPtr {
    			// Pad between a pointer-containing object and a zero-sized object.
    			// This prevents a pointer to the zero-sized object from being interpreted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/typecheck.go

    		if dostrcmp > 1 {
    			// Already in the process of diagnosing an error.
    			return f1
    		}
    		if f2 != nil {
    			base.Errorf("%v is both field and method", n.Sel)
    		}
    		if f1.Offset == types.BADWIDTH {
    			base.Fatalf("Lookdot badwidth t=%v, f1=%v@%p", t, f1, f1)
    		}
    		n.Selection = f1
    		n.SetType(f1.Type)
    		if t.IsInterface() {
    			if n.X.Type().IsPtr() {
    				star := ir.NewStarExpr(base.Pos, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CommentedNode", Type, 0},
    		{"CommentedNode.Comments", Field, 0},
    		{"CommentedNode.Node", Field, 0},
    		{"Config", Type, 0},
    		{"Config.Indent", Field, 1},
    		{"Config.Mode", Field, 0},
    		{"Config.Tabwidth", Field, 0},
    		{"Fprint", Func, 0},
    		{"Mode", Type, 0},
    		{"RawFormat", Const, 0},
    		{"SourcePos", Const, 0},
    		{"TabIndent", Const, 0},
    		{"UseSpaces", Const, 0},
    	},
    	"go/scanner": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/type.go

    	// the function name node.
    	Nname Object
    
    	// Offset in bytes of this field or method within its enclosing struct
    	// or interface Type. For parameters, this is BADWIDTH.
    	Offset int64
    }
    
    const (
    	fieldIsDDD = 1 << iota // field is ... argument
    	fieldNointerface
    )
    
    func (f *Field) IsDDD() bool       { return f.flags&fieldIsDDD != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/assign.go

    		if tmp, ok := l.(*ir.Name); !ok || !tmp.AutoTemp() || !types.Identical(tmp.Type(), r.Type) {
    			base.FatalfAt(l.Pos(), "assigning %v to %+v", r.Type, l)
    		}
    
    		res := ir.NewResultExpr(base.Pos, nil, types.BADWIDTH)
    		res.Index = int64(i)
    		res.SetType(r.Type)
    		res.SetTypecheck(1)
    
    		nn.Append(ir.NewAssignStmt(base.Pos, l, res))
    	}
    	return nn
    }
    
    // check assign expression list to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/staticinit/sched.go

    			break
    		}
    		if name, offset, ok = StaticLoc(n.X); !ok {
    			break
    		}
    		l := getlit(n.Index)
    		if l < 0 {
    			break
    		}
    
    		// Check for overflow.
    		if n.Type().Size() != 0 && types.MaxWidth/n.Type().Size() <= int64(l) {
    			break
    		}
    		offset += int64(l) * n.Type().Size()
    		return name, offset, true
    	}
    
    	return nil, 0, false
    }
    
    func isSideEffect(n ir.Node) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top