Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for format (4.16 sec)

  1. src/fmt/format.go

    	}
    }
    
    // fmtFloat formats a float64. It assumes that verb is a valid format specifier
    // for strconv.AppendFloat and therefore fits into a byte.
    func (f *fmt) fmtFloat(v float64, size int, verb rune, prec int) {
    	// Explicit precision in format specifier overrules default precision.
    	if f.precPresent {
    		prec = f.prec
    	}
    	// Format number, reserving space for leading + sign if needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
    func (f *Format) mayBe(f2 Format)     { *f |= f2 }
    func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
    func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/format.go

    			arg = buf.String()
    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var qf Qualifier
    	if check != nil {
    		qf = check.qualifier
    	}
    	return sprintf(qf, false, format, args...)
    }
    
    func (check *Checker) trace(pos syntax.Pos, format string, args ...any) {
    	fmt.Printf("%s:\t%s%s\n",
    		pos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top