- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for compareOp (6.32 sec)
-
src/cmd/api/api_test.go
}, ok: false, out: "+pkg syscall, type RawSockaddrInet6 struct\n", }, } for _, tt := range tests { buf := new(strings.Builder) gotOK := compareAPI(buf, tt.features, tt.required, tt.exception) if gotOK != tt.ok { t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok) } if got := buf.String(); got != tt.out {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
api/go1.5.txt
pkg go/constant, func BinaryOp(Value, token.Token, Value) Value pkg go/constant, func BitLen(Value) int pkg go/constant, func BoolVal(Value) bool pkg go/constant, func Bytes(Value) []uint8 pkg go/constant, func Compare(Value, token.Token, Value) bool pkg go/constant, func Denom(Value) Value pkg go/constant, func Float32Val(Value) (float32, bool) pkg go/constant, func Float64Val(Value) (float64, bool) pkg go/constant, func Imag(Value) Value
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
doc/go1.17_spec.html
An expression or type is compared to the "cases" inside the "switch" to determine which branch to execute. </p> <pre class="ebnf"> SwitchStmt = ExprSwitchStmt | TypeSwitchStmt . </pre> <p> There are two forms: expression switches and type switches. In an expression switch, the cases contain expressions that are compared against the value of the switch expression.
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
break } if filter == "Groups:" && strings.HasPrefix(line, "Groups:\t") { // https://github.com/golang/go/issues/46145 // Containers don't reliably output this line in sorted order so manually sort and compare that. a := strings.Split(line[8:], " ") sort.Strings(a) got := strings.Join(a, " ") if got == expected[8:] { foundAThread = true break } }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
api/go1.18.txt
pkg net/netip, method (Addr) As16() [16]uint8 pkg net/netip, method (Addr) As4() [4]uint8 pkg net/netip, method (Addr) AsSlice() []uint8 pkg net/netip, method (Addr) BitLen() int pkg net/netip, method (Addr) Compare(Addr) int pkg net/netip, method (Addr) Is4() bool pkg net/netip, method (Addr) Is4In6() bool pkg net/netip, method (Addr) Is6() bool pkg net/netip, method (Addr) IsGlobalUnicast() bool
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
src/bytes/buffer.go
// included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed; // if it becomes too large, WriteRune will panic with [ErrTooLarge]. func (b *Buffer) WriteRune(r rune) (n int, err error) { // Compare as uint32 to correctly handle negative runes. if uint32(r) < utf8.RuneSelf { b.WriteByte(byte(r)) return 1, nil } b.lastRead = opInvalid m, ok := b.tryGrowByReslice(utf8.UTFMax) if !ok {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/bytes/example_test.go
} func ExampleCompare() { // Interpret Compare's result by comparing it to zero. var a, b []byte if bytes.Compare(a, b) < 0 { // a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b } if bytes.Compare(a, b) >= 0 { // a greater or equal b } // Prefer Equal to Compare for equality comparisons. if bytes.Equal(a, b) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
api/go1.txt
pkg bufio, var ErrBufferFull error pkg bufio, var ErrInvalidUnreadByte error pkg bufio, var ErrInvalidUnreadRune error pkg bufio, var ErrNegativeCount error pkg bytes, const MinRead ideal-int pkg bytes, func Compare([]uint8, []uint8) int pkg bytes, func Contains([]uint8, []uint8) bool pkg bytes, func Count([]uint8, []uint8) int pkg bytes, func Equal([]uint8, []uint8) bool pkg bytes, func EqualFold([]uint8, []uint8) bool
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
src/archive/zip/reader.go
break } if err != nil { return err } f.headerOffset += r.baseOffset r.File = append(r.File, f) } if uint16(len(r.File)) != uint16(end.directoryRecords) { // only compare 16 bits here // Return the readDirectoryHeader error if we read // the wrong number of directory entries. return err } if zipinsecurepath.Value() == "0" { for _, f := range r.File {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/bytes/bytes_test.go
for i := 0; i < n; i++ { x[i] = 'a' } for i := 0; i < n; i++ { y[i] = 'a' } b.ResetTimer() for i := 0; i < b.N; i++ { Compare(x, y) } }) } } func BenchmarkIndexAnyASCII(b *testing.B) { x := Repeat([]byte{'#'}, 2048) // Never matches set
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)