Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for Tabwidth (0.09 sec)

  1. test/fixedbugs/issue4359.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4359: wrong handling of broken struct fields
    // causes "internal compiler error: lookdot badwidth".
    
    package main
    
    type T struct {
    	x T1 // ERROR "undefined"
    }
    
    func f() {
    	var t *T
    	_ = t.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 377 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/size.go

    				t.SetNotInHeap(true)
    			}
    		}
    
    		offset += f.Type.width
    
    		maxwidth := MaxWidth
    		// On 32-bit systems, reflect tables impose an additional constraint
    		// that each field start offset must fit in 31 bits.
    		if maxwidth < 1<<32 {
    			maxwidth = 1<<31 - 1
    		}
    		if offset >= maxwidth {
    			base.ErrorfAt(typePos(t), 0, "type %L too large", t)
    			offset = 8 // small but nonzero
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/runtime/vdso_linux_arm.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/arm/galign.go arch.MAXWIDTH initialization, but must also
    	// be constrained to max +ve int.
    	vdsoArrayMax = 1<<31 - 1
    )
    
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6}
    
    var vdsoSymbolKeys = []vdsoSymbolKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 27 13:21:27 UTC 2018
    - 669 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/s390x/galign.go

    package s390x
    
    import (
    	"cmd/compile/internal/ssagen"
    	"cmd/internal/obj/s390x"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &s390x.Links390x
    	arch.REGSP = s390x.REGSP
    	arch.MAXWIDTH = 1 << 50
    
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = ssaMarkMoves
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 518 bytes
    - Viewed (0)
  5. src/runtime/vdso_linux_mips64x.go

    //go:build linux && (mips64 || mips64le)
    
    package runtime
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/mips64/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    // see man 7 vdso : mips
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6}
    
    // The symbol name is not __kernel_clock_gettime as suggested by the manpage;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 850 bytes
    - Viewed (0)
  6. src/runtime/vdso_linux_s390x.go

    //go:build linux && s390x
    
    package runtime
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/s390x/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.29", 0x75fcbb9}
    
    var vdsoSymbolKeys = []vdsoSymbolKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 659 bytes
    - Viewed (0)
  7. src/runtime/vdso_linux_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/arm64/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    // key and version at man 7 vdso : aarch64
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.39", 0x75fcb89}
    
    var vdsoSymbolKeys = []vdsoSymbolKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:15:25 UTC 2023
    - 670 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/utils.go

    // Copyright 2017 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.
    
    package types
    
    const BADWIDTH = -1000000000
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 09:57:31 UTC 2020
    - 339 bytes
    - Viewed (0)
  9. src/runtime/vdso_linux_ppc64x.go

    //go:build linux && (ppc64 || ppc64le)
    
    package runtime
    
    const (
    	// vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
    	// See cmd/compile/internal/ppc64/galign.go arch.MAXWIDTH initialization.
    	vdsoArrayMax = 1<<50 - 1
    )
    
    var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.15", 0x75fcba5}
    
    var vdsoSymbolKeys = []vdsoSymbolKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 672 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/loong64/galign.go

    import (
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/ssagen"
    	"cmd/internal/obj/loong64"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &loong64.Linkloong64
    	arch.REGSP = loong64.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:16 UTC 2023
    - 649 bytes
    - Viewed (0)
Back to top