Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for maxwidth (0.22 sec)

  1. operator/pkg/util/progress/progress.go

    		// If we aren't a terminal, no need to spam extra lines
    		prefix = `{{ yellow "-" }} `
    	}
    	// reduce by 2 to allow for the "- " that will be added below
    	maxWidth -= 2
    	if maxWidth > 0 && len(msg) > maxWidth {
    		return prefix + msg[:maxWidth-3] + "..."
    	}
    	// cycle will alternate between "-" and " ". "-" is given multiple times to avoid quick flashing back and forth
    	return prefix + msg
    }
    
    // For testing only
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K 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_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)
  4. 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)
  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/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)
  7. src/text/tabwriter/tabwriter.go

    //			to the tab width in the viewer displaying the result)
    //	flags		formatting control
    func (b *Writer) Init(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer {
    	if minwidth < 0 || tabwidth < 0 || padding < 0 {
    		panic("negative minwidth, tabwidth, or padding")
    	}
    	b.output = output
    	b.minwidth = minwidth
    	b.tabwidth = tabwidth
    	b.padding = padding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. src/text/tabwriter/tabwriter_test.go

    	}
    }
    
    func check(t *testing.T, testname string, minwidth, tabwidth, padding int, padchar byte, flags uint, src, expected string) {
    	var b buffer
    	b.init(1000)
    
    	var w Writer
    	w.Init(&b, minwidth, tabwidth, padding, padchar, flags)
    
    	// write all at once
    	title := testname + " (written all at once)"
    	b.clear()
    	write(t, title, &w, src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. internal/bpool/bpool.go

    func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
    	if capwidth > 0 && capwidth < 64 {
    		panic("buffer capped with smaller than 64 bytes is not supported")
    	}
    	if capwidth > 0 && width > capwidth {
    		panic("buffer length cannot be > capacity of the buffer")
    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    ",["width","height"]]]),height:P("height",[["h",["height"]]]),maxHeight:P("maxHeight",[["max-h",["maxHeight"]]]),minHeight:P("minHeight",[["min-h",["minHeight"]]]),width:P("width",[["w",["width"]]]),minWidth:P("minWidth",[["min-w",["minWidth"]]]),maxWidth:P("maxWidth",[["max-w",["maxWidth"]]]),flex:P("flex"),flexShrink:P("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:P("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:P("flexBasis",[[...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top