Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for maxwidth (0.14 sec)

  1. src/compress/lzw/reader.go

    	LSB Order = iota
    	// MSB means Most Significant Bits first, as used in the TIFF and PDF
    	// file formats.
    	MSB
    )
    
    const (
    	maxWidth           = 12
    	decoderInvalidCode = 0xffff
    	flushBuffer        = 1 << maxWidth
    )
    
    // Reader is an io.Reader which can be used to read compressed data in the
    // LZW format.
    type Reader struct {
    	r        io.ByteReader
    	bits     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultWorkInProgressFormatter.java

            // layout weirdness
            int maxWidth;
            int cols = consoleMetaData.getCols();
            if (cols > 0) {
                maxWidth = cols - 1;
            } else {
                // Assume 80 wide. This is to minimize wrapping on console where we don't know the width (eg mintty)
                // It's not intended to be a correct solution, simply a work around
                maxWidth = 79;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (content == null) {
                return StringUtil.EMPTY; // empty
            }
    
            String subContent;
            if (content.length() < maxWidth * 2) {
                subContent = content;
            } else {
                subContent = content.substring(0, maxWidth * 2);
            }
    
            final int[] spaceChars = getSpaceChars();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/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)
  9. 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)
  10. 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)
Back to top