- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for words (0.18 sec)
-
internal/s3select/sql/parser_test.go
cases := []string{ "S3Object", "S3Object.id", "S3Object.book.title", "S3Object.id[1]", "S3Object.id['abc']", "S3Object.id['ab']", "S3Object.words.*.id", "S3Object.words.name[*].val", "S3Object.words.name[*].val[*]", "S3Object.words.name[*].val.*", } for i, tc := range cases { err := p.ParseString(tc, &j) if err != nil { t.Fatalf("%d: %v", i, err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Viewed (0) -
src/bufio/scan_test.go
if got != words[wordCount] { t.Errorf("#%d: %d: expected %q got %q", n, wordCount, words[wordCount], got) } } if s.Scan() { t.Errorf("#%d: scan ran too long, got %q", n, s.Text()) } if wordCount != len(words) { t.Errorf("#%d: termination expected at %d; got %d", n, len(words), wordCount) } err := s.Err() if err != nil { t.Errorf("#%d: %v", n, err) } } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Viewed (0) -
cmd/update.go
// parseReleaseData - parses release info file content fetched from // official minio download server. // // The expected format is a single line with two words like: // // fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z.<hotfix_optional> // // The second word must be `minio.` appended to a standard release tag. func parseReleaseData(data string) (sha256Sum []byte, releaseTime time.Time, releaseInfo string, err error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 18.7K bytes - Viewed (0) -
src/bufio/example_test.go
fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") } // Output: // true } // Use a Scanner to implement a simple word-count utility by scanning the // input as a sequence of space-delimited tokens. func ExampleScanner_words() { // An artificial input source. const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
src/bytes/bytes.go
return unicode.IsSpace(r) } // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin // words mapped to their title case. // // Deprecated: The rule Title uses for word boundaries does not handle Unicode // punctuation properly. Use golang.org/x/text/cases instead. func Title(s []byte) []byte { // Use a closure here to remember state.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
cmd/main.go
"github.com/minio/minio/internal/color" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v2/console" "github.com/minio/pkg/v2/env" "github.com/minio/pkg/v2/trie" "github.com/minio/pkg/v2/words" ) // GlobalFlags - global flags for minio. var GlobalFlags = []cli.Flag{ // Deprecated flag, so its hidden now - existing deployments will keep working. cli.StringFlag{ Name: "config-dir, C",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 { p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name) } // Next operand is the frame and arg size. // Bizarre syntax: $frameSize-argSize is two words, not subtraction. // Both frameSize and argSize must be simple integers; only frameSize // can be negative. // The "-argSize" may be missing; if so, set it to objabi.ArgsSizeUnknown. // Parse left to right.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
cmd/leak-detect_test.go
func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string { var stackDiff []string for _, g := range pickRelevantGoroutines() { // Identify the Go routines those were not present in the initial snapshot. // In other words a stack diff. if !initialSnapShot.relevantRoutines[g] { stackDiff = append(stackDiff, g) } } return stackDiff }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.2K bytes - Viewed (0) -
tests/migrate_test.go
if DB.Dialector.Name() != "mysql" { t.Skip() } type QuotedIndexStruct struct { gorm.Model Name string `gorm:"size:255;index:AS"` // AS is one of MySQL reserved words } if err := DB.Migrator().DropTable(&QuotedIndexStruct{}); err != nil { t.Fatalf("Failed to drop table, got error %v", err) } if err := DB.AutoMigrate(&QuotedIndexStruct{}); err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
scratch := make([][]lex.Token, 0, 3) for { word, cond, operands, ok := p.line(scratch) if !ok { break } scratch = operands if p.pseudo(word, operands) { continue } i, present := p.arch.Instructions[word] if present { p.instruction(i, word, cond, operands) continue } p.errorf("unrecognized instruction %q", word) } if p.errorCount > 0 { return nil, false
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0)