- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for dotdotdot (0.2 sec)
-
src/cmd/doc/pkg.go
func (pkg *Package) oneLineNodeDepth(node ast.Node, depth int) string { const dotDotDot = "..." if depth == 0 { return dotDotDot } depth-- switch n := node.(type) { case nil: return "" case *ast.GenDecl: // Formats const and var declarations. trailer := "" if len(n.Specs) > 1 { trailer = " " + dotDotDot } // Find the first relevant spec. typ := ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
} // Type.commonType.tflag func decodetypeHasUncommon(arch *sys.Arch, p []byte) bool { return abi.TFlag(p[abi.TFlagOff(arch.PtrSize)])&abi.TFlagUncommon != 0 } // Type.FuncType.dotdotdot func decodetypeFuncDotdotdot(arch *sys.Arch, p []byte) bool { return uint16(decodeInuxi(arch, p[commonsize(arch)+2:], 2))&(1<<15) != 0 } // Type.FuncType.inCount
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/complit.go
// set auto to point at new temp or heap (3 assign) var a ir.Node if x := n.Prealloc; x != nil { // temp allocated during order.go for dddarg if !types.Identical(t, x.Type()) { panic("dotdotdot base type does not match order's assigned type") } a = initStackTemp(init, x, vstat) } else if n.Esc() == ir.EscNone { a = initStackTemp(init, typecheck.TempAt(base.Pos, ir.CurFunc, t), vstat) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
src/runtime/mfinal.go
} ft := (*functype)(unsafe.Pointer(ftyp)) if ft.IsVariadic() { throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string() + " because dotdotdot") } if ft.InCount != 1 { throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string()) } fint := ft.InSlice()[0] switch { case fint == etyp:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/go/types/call.go
rsig = sig // Function call argument/parameter count requirements // // | standard call | dotdotdot call | // --------------+------------------+----------------+ // standard func | nargs == npars | invalid | // --------------+------------------+----------------+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
rsig = sig // Function call argument/parameter count requirements // // | standard call | dotdotdot call | // --------------+------------------+----------------+ // standard func | nargs == npars | invalid | // --------------+------------------+----------------+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
argNum = state.argNums[len(state.argNums)-1] + 1 } for _, n := range state.argNums { if n >= maxArgNum { maxArgNum = n + 1 } } } // Dotdotdot is hard. if call.Ellipsis.IsValid() && maxArgNum >= len(call.Args)-1 { return } // If any formats are indexed, extra arguments are ignored. if anyIndex { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
}, }, /* FUNCTYPEPARAM */ { DW_TAG_formal_parameter, DW_CHILDREN_no, // No name! []dwAttrForm{ {DW_AT_type, DW_FORM_ref_addr}, }, }, /* DOTDOTDOT */ { DW_TAG_unspecified_parameters, DW_CHILDREN_no, []dwAttrForm{}, }, /* ARRAYRANGE */ { DW_TAG_subrange_type, DW_CHILDREN_no, // No name! []dwAttrForm{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
test/escape2.go
var ppi **interface{} *ppi = myprint1(nil, z...) } func foo77c(z []interface{}) { // ERROR "leaking param: z$" sink = myprint1(nil, z...) } func dotdotdot() { i := 0 myprint(nil, &i) // ERROR "... argument does not escape$" j := 0 myprint1(nil, &j) // ERROR "... argument does not escape$" } func foo78(z int) *int { // ERROR "moved to heap: z$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
var ppi **interface{} *ppi = myprint1(nil, z...) } func foo77c(z []interface{}) { // ERROR "leaking param: z$" sink = myprint1(nil, z...) } func dotdotdot() { i := 0 myprint(nil, &i) // ERROR "... argument does not escape$" j := 0 myprint1(nil, &j) // ERROR "... argument does not escape$" } func foo78(z int) *int { // ERROR "moved to heap: z$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0)