Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 370 for elided (0.42 sec)

  1. src/encoding/json/stream.go

    //
    // The input stream consists of basic JSON values—bool, string,
    // number, and null—along with delimiters [ ] { } of type [Delim]
    // to mark the start and end of arrays and objects.
    // Commas and colons are elided.
    func (dec *Decoder) Token() (Token, error) {
    	for {
    		c, err := dec.peek()
    		if err != nil {
    			return nil, err
    		}
    		switch c {
    		case '[':
    			if !dec.tokenValueAllowed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/subr.go

    		return n
    	}
    
    	if n.X.Op() == ir.OTYPE {
    		return n
    	}
    
    	s := n.Sel
    	if s == nil {
    		return n
    	}
    
    	switch path, ambig := dotpath(s, t, nil, false); {
    	case path != nil:
    		// rebuild elided dots
    		for c := len(path) - 1; c >= 0; c-- {
    			dot := ir.NewSelectorExpr(n.Pos(), ir.ODOT, n.X, path[c].field.Sym)
    			dot.SetImplicit(true)
    			dot.SetType(path[c].field.Type)
    			n.X = dot
    		}
    	case ambig:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.pb.go

    	// For Kubernetes, this is the pod name.
    	// This is just for debugging and may be elided as an optimization.
    	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    	// Namespace represents the namespace for the workload.
    	// This is just for debugging and may be elided as an optimization.
    	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  4. src/log/slog/value.go

    		frame, more := frames.Next()
    		fmt.Fprintf(&b, "called from %s (%s:%d)\n", frame.Function, frame.File, frame.Line)
    		if !more {
    			break
    		}
    		i++
    		if i >= nFrames {
    			fmt.Fprintf(&b, "(rest of stack elided)\n")
    			break
    		}
    	}
    	return b.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/expr.go

    			base.Warn("index bounds check elided")
    		}
    	} else if ir.IsConst(n.X, constant.String) {
    		n.SetBounded(bounded(r, int64(len(ir.StringVal(n.X)))))
    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. src/fmt/doc.go

    		returns true;
    		always print a decimal point for %e, %E, %f, %F, %g and %G;
    		do not remove trailing zeros for %g and %G;
    		write e.g. U+0078 'x' if the character is printable for %U (%#U)
    	' '	(space) leave a space for elided sign in numbers (% d);
    		put spaces between bytes printing strings or slices in hex (% x, % X)
    	'0'	pad with leading zeros rather than spaces;
    		for numbers, this moves the padding after the sign
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    		// physical frame.
    		u2 := u
    		remaining, _ := traceback2(&u, showRuntime, maxInt, 0)
    		elide := remaining - lastN - tracebackOuterFrames
    		if elide > 0 {
    			print("...", elide, " frames elided...\n")
    			traceback2(&u2, showRuntime, lastN+elide, tracebackOuterFrames)
    		} else if elide <= 0 {
    			// There are tracebackOuterFrames or fewer frames left to print.
    			// Just print the rest of the stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/cmd/internal/src/pos.go

    	PosPrologueEnd
    	PosEpilogueBegin
    )
    
    func makeLicoRaw(line, col uint) lico {
    	return lico(line<<lineShift | col<<colShift)
    }
    
    // This is a not-position that will not be elided.
    // Depending on the debugger (gdb or delve) it may or may not be displayed.
    func makeBogusLico() lico {
    	return makeLicoRaw(bogusLine, 0).withIsStmt()
    }
    
    func makeLico(line, col uint) lico {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  9. src/log/slog/handler_test.go

    		},
    		{
    			// Test resolution when there is no ReplaceAttr function.
    			name: "resolve",
    			attrs: []Attr{
    				Any("", &replace{Value{}}), // should be elided
    				Any("name", logValueName{"Ren", "Hoek"}),
    			},
    			wantText: "time=2000-01-02T03:04:05.000Z level=INFO msg=message name.first=Ren name.last=Hoek",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/net/textproto/reader.go

    func (r *Reader) ReadDotBytes() ([]byte, error) {
    	return io.ReadAll(r.DotReader())
    }
    
    // ReadDotLines reads a dot-encoding and returns a slice
    // containing the decoded lines, with the final \r\n or \n elided from each.
    //
    // See the documentation for the [Reader.DotReader] method for details about dot-encoding.
    func (r *Reader) ReadDotLines() ([]string, error) {
    	// We could use ReadDotBytes and then Split it,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top