Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for elided (0.76 sec)

  1. src/runtime/traceback_test.go

    			for i < n {
    				if len(tb.frames) == 0 {
    					t.Errorf("traceback ended early")
    					break
    				}
    				fr := tb.frames[0]
    				if i == runtime.TracebackInnerFrames && elided > 0 {
    					// This should be an "elided" frame.
    					if fr.elided != elided {
    						t.Errorf("want %d frames elided", elided)
    						break
    					}
    					i += fr.elided
    				} else {
    					want := fmt.Sprintf("runtime_test.tte%d", (i+1)%5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/expr3.go

    	var value int
    	_ = M1{true: 1, false: 0}
    	_ = M2{nil: 0, &value: 1}
    
    	// composite literal element types may be elided
    	type T [2]int
    	_ = map[int]T{0: T{3, 4}, 1: {5, 6}}
    
    	// recursively so
    	_ = map[int][]T{0: {}, 1: {{}, T{1, 2}}}
    
    	// composite literal key types may be elided
    	_ = map[T]int{T{3, 4}: 0, {5, 6}: 1}
    
    	// recursively so
    	_ = map[[2]T]int{{}: 0, {{}}: 1, [2]T{{}}: 2, {T{1, 2}}: 3}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.proto

      // Name represents the name for the workload.
      // For Kubernetes, this is the pod name.
      // This is just for debugging and may be elided as an optimization.
      string name = 1;
      // Namespace represents the namespace for the workload.
      // This is just for debugging and may be elided as an optimization.
      string namespace = 2;
    
      // Address represents the IPv4/IPv6 address for the workload.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/net/netip/fuzz_test.go

    	"fd7a:115c:a1e0:ab12:4843:cd96:626b:430b",
    	// IPv6 with elided fields in the middle.
    	"fd7a:115c::626b:430b",
    	// IPv6 with elided fields at the end.
    	"fd7a:115c:a1e0:ab12:4843:cd96::",
    	// IPv6 with single elided field at the end.
    	"fd7a:115c:a1e0:ab12:4843:cd96:626b::",
    	"fd7a:115c:a1e0:ab12:4843:cd96:626b:0",
    	// IPv6 with single elided field in the middle.
    	"fd7a:115c:a1e0::4843:cd96:626b:430b",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/scope.h

      /// `name/child_scope_name` as the prefix. The actual name will be unique
      /// in the current scope. All other properties are inherited from the current
      /// scope. If `child_scope_name` is empty, the `/` is elided.
      Scope NewSubScope(const string& child_scope_name) const;
    
      /// Return a new scope. All ops created within the returned scope will have
      /// names of the form `name/StrCat(fragments...)[_suffix]`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/cmd/doc/doc_test.go

    		[]string{p, `ExportedType.ExportedField`},
    		[]string{
    			`type ExportedType struct`,
    			`ExportedField int`,
    			`Comment before exported field`,
    			`Comment on line with exported field`,
    			`other fields elided`,
    		},
    		nil,
    	},
    
    	// Field with -u.
    	{
    		"method with -u",
    		[]string{"-u", p, `ExportedType.unexportedField`},
    		[]string{
    			`unexportedField int`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top