- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for badwidth (0.14 sec)
-
src/cmd/compile/internal/types/utils.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types const BADWIDTH = -1000000000 type bitset8 uint8 func (f *bitset8) set(mask uint8, b bool) { if b { *(*uint8)(f) |= mask } else { *(*uint8)(f) &^= mask }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 29 09:57:31 UTC 2020 - 339 bytes - Viewed (0) -
test/fixedbugs/issue4359.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 377 bytes - Viewed (0) -
src/fmt/doc.go
Printf("hi", "guys"): hi%!(EXTRA string=guys) Too few arguments: %!verb(MISSING) Printf("hi%d"): hi%!d(MISSING) Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC) Printf("%*s", 4.5, "hi"): %!(BADWIDTH)hi Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi Invalid or invalid use of argument index: %!(BADINDEX) Printf("%*[2]d", 7): %!d(BADINDEX) Printf("%.[2]d", 7): %!d(BADINDEX)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%0*d", args(uint64(4), 42), "0042"}, {"%0*d", args('\x04', 42), "0042"}, {"%0*d", args(uintptr(4), 42), "0042"}, // erroneous {"%*d", args(nil, 42), "%!(BADWIDTH)42"}, {"%*d", args(int(1e7), 42), "%!(BADWIDTH)42"}, {"%*d", args(int(-1e7), 42), "%!(BADWIDTH)42"}, {"%.*d", args(nil, 42), "%!(BADPREC)42"}, {"%.*d", args(-1, 42), "%!(BADPREC)42"}, {"%.*d", args(int(1e7), 42), "%!(BADPREC)42"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
// the function name node. Nname Object // Offset in bytes of this field or method within its enclosing struct // or interface Type. For parameters, this is BADWIDTH. Offset int64 } const ( fieldIsDDD = 1 << iota // field is ... argument fieldNointerface ) func (f *Field) IsDDD() bool { return f.flags&fieldIsDDD != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
if dostrcmp > 1 { // Already in the process of diagnosing an error. return f1 } if f2 != nil { base.Errorf("%v is both field and method", n.Sel) } if f1.Offset == types.BADWIDTH { base.Fatalf("Lookdot badwidth t=%v, f1=%v@%p", t, f1, f1) } n.Selection = f1 n.SetType(f1.Type) if t.IsInterface() { if n.X.Type().IsPtr() { star := ir.NewStarExpr(base.Pos, n.X)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
if tmp, ok := l.(*ir.Name); !ok || !tmp.AutoTemp() || !types.Identical(tmp.Type(), r.Type) { base.FatalfAt(l.Pos(), "assigning %v to %+v", r.Type, l) } res := ir.NewResultExpr(base.Pos, nil, types.BADWIDTH) res.Index = int64(i) res.SetType(r.Type) res.SetTypecheck(1) nn.Append(ir.NewAssignStmt(base.Pos, l, res)) } return nn } // check assign expression list to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
} k := tf.Type.Kind() if reflect.Bool <= k && k <= reflect.Complex128 { name := strings.TrimSuffix(tf.Name, "_") vf := v.Field(i) vfi := vf.Interface() if name == "Offset" && vfi == types.BADWIDTH || name != "Offset" && vf.IsZero() { continue } if vfi == true { fmt.Fprintf(w, " %s", name) } else { fmt.Fprintf(w, " %s:%+v", name, vf.Interface()) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/fmt/print.go
mapString = "map[" percentBangString = "%!" missingString = "(MISSING)" badIndexString = "(BADINDEX)" panicString = "(PANIC=" extraString = "%!(EXTRA " badWidthString = "%!(BADWIDTH)" badPrecString = "%!(BADPREC)" noVerbString = "%!(NOVERB)" invReflectString = "<invalid reflect.Value>" ) // State represents the printer state passed to custom formatters.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
pkg/util/bandwidth/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Package bandwidth provides utilities for bandwidth shaping
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 16 17:48:21 UTC 2016 - 700 bytes - Viewed (0)