Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for Esc (0.43 sec)

  1. internal/logger/utils.go

    	"runtime"
    
    	"github.com/minio/minio/internal/color"
    )
    
    var ansiRE = regexp.MustCompile("(\x1b[^m]*m)")
    
    // Print ANSI Control escape
    func ansiEscape(format string, args ...interface{}) {
    	Esc := "\x1b"
    	fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...))
    }
    
    func ansiMoveRight(n int) {
    	if runtime.GOOS == "windows" {
    		return
    	}
    	if color.IsTerminal() {
    		ansiEscape("[%dC", n)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 04 23:10:08 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/escapeinfo.gox

    package escapeinfo;
    prefix go;
    package escapeinfo go.escapeinfo go.escapeinfo;
    func NewT (data <type 1 [] <type -20>>) <type 2 *<type 3 "T" <type 4 struct { .go.escapeinfo.data <type 5 [] <type -20>>; }>
     func (? <type 6 *<type 3>>) Read (p <esc:0x1> <type 7 [] <type -20>>);
    >>;
    type <type 3>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 350 bytes
    - Viewed (0)
  3. src/encoding/xml/xml.go

    	var esc []byte
    	last := 0
    	for i := 0; i < len(s); {
    		r, width := utf8.DecodeRune(s[i:])
    		i += width
    		switch r {
    		case '"':
    			esc = escQuot
    		case '\'':
    			esc = escApos
    		case '&':
    			esc = escAmp
    		case '<':
    			esc = escLT
    		case '>':
    			esc = escGT
    		case '\t':
    			esc = escTab
    		case '\n':
    			if !escapeNewline {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  4. src/html/template/escape.go

    		lastCmd := p.Cmds[pipelineLen-1]
    		if idNode, ok := lastCmd.Args[0].(*parse.IdentifierNode); ok {
    			if esc := idNode.Ident; predefinedEscapers[esc] {
    				// Pipeline ends with a predefined escaper.
    				if len(p.Cmds) == 1 && len(lastCmd.Args) > 1 {
    					// Special case: pipeline is of the form {{ esc arg1 arg2 ... argN }},
    					// where esc is the predefined escaper, and arg1...argN are its arguments.
    					// Convert this into the equivalent form
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  5. test/fixedbugs/bug387.go

    // license that can be found in the LICENSE file.
    
    // Issue 2549
    
    /*  Used to die with
    missing typecheck: [7f5bf07b4438]
    
    .   AS l(45)
    .   .   NAME-main.autotmp_0017 u(1) a(1) l(45) x(0+0) class(PAUTO)
    esc(N) tc(1) used(1) ARRAY-[2]string
    internal compiler error: missing typecheck 
    */
    package main
    
    import (
            "fmt"
            "path/filepath"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 625 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/convert.go

    		xe.SetBounded(true)
    		value = xe
    	case n.Op() == ir.ONAME && n.(*ir.Name).Class == ir.PEXTERN && n.(*ir.Name).Readonly():
    		// n is a readonly global; use it directly.
    		value = n
    	case conv.Esc() == ir.EscNone && fromType.Size() <= 1024:
    		// n does not escape. Use a stack temporary initialized to n.
    		value = typecheck.TempAt(base.Pos, ir.CurFunc, fromType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. src/go/internal/gccgoimporter/testdata/issue30628.gox

    types 13 2 24 84 208 17 30 41 147 86 17 64 25 75
    type 1 "Apple" <type 2>
    type 2 struct { .issue30628.hey <type 3>; .issue30628.x <type -11>; RQ <type 11>; }
    type 3 "sync.RWMutex" <type 7>
     func (rw <type 4>) Lock ()
     func (rw <esc:0x12> <type 4>) RLocker () ($ret8 <type 5>)
     func (rw <type 4>) RUnlock ()
     func (rw <type 4>) Unlock ()
     func (rw <type 4>) RLock ()
    type 4 *<type 3>
    type 5 "sync.Locker" <type 6>
    type 6 interface { Lock (); Unlock (); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 20:50:13 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/stmt.go

    			// 8 defers in the function, since we use a single
    			// byte to record active defers.
    			// Also don't allow if we need to use deferprocat.
    			ir.CurFunc.SetOpenCodedDeferDisallowed(true)
    		}
    		if n.Esc() != ir.EscNever {
    			// If n.Esc is not EscNever, then this defer occurs in a loop,
    			// so open-coded defers cannot be used in this function.
    			ir.CurFunc.SetOpenCodedDeferDisallowed(true)
    		}
    		fallthrough
    	case ir.OGO:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/complit.go

    		}
    		a = initStackTemp(init, x, vstat)
    	} else if n.Esc() == ir.EscNone {
    		a = initStackTemp(init, typecheck.TempAt(base.Pos, ir.CurFunc, t), vstat)
    	} else {
    		a = ir.NewUnaryExpr(base.Pos, ir.ONEW, ir.TypeNode(t))
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, vauto, a))
    
    	if vstat != nil && n.Prealloc == nil && n.Esc() != ir.EscNone {
    		// If we allocated on the heap with ONEW, copy the static to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/builtin.go

    // walkMakeMap walks an OMAKEMAP node.
    func walkMakeMap(n *ir.MakeExpr, init *ir.Nodes) ir.Node {
    	t := n.Type()
    	hmapType := reflectdata.MapType()
    	hint := n.Len
    
    	// var h *hmap
    	var h ir.Node
    	if n.Esc() == ir.EscNone {
    		// Allocate hmap on stack.
    
    		// var hv hmap
    		// h = &hv
    		h = stackTempAddr(init, hmapType)
    
    		// Allocate one bucket pointed to by hmap.buckets on stack if hint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top