- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LongString (0.06 sec)
-
tests/table_test.go
if DB.Dialector.Name() != "postgres" { return } type LongString struct { ThisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString string `gorm:"unique"` } t.Run("default", func(t *testing.T) { db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{}) user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy) if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
connection.start(sendConnectionPreface = false) socket.shutdownOutput() assertFailsWith<IOException> { connection.newStream(headerEntries("a", longString), false) } assertFailsWith<IOException> { connection.newStream(headerEntries("b", longString), false) } } @Test fun clientCreatesStreamAndServerReplies() { // Write the mocking script. peer.sendFrame().settings(Settings())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
count int } var longString = "a" + string(make([]byte, 1<<16)) + "z" var RepeatTests = []RepeatTest{ {"", "", 0}, {"", "", 1}, {"", "", 2}, {"-", "", 0}, {"-", "-", 1}, {"-", "----------", 10}, {"abc ", "abc abc abc ", 3}, // Tests for results over the chunkLimit {string(rune(0)), string(make([]byte, 1<<16)), 1 << 16}, {longString, longString + longString, 2}, }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Errorf("writeString: expected %q, got %q", writeString, w.writeString) } } func TestBufferFull(t *testing.T) { const longString = "And now, hello, world! It is the time for all good men to come to the aid of their party" buf := NewReaderSize(strings.NewReader(longString), minReadBufferSize) line, err := buf.ReadSlice('!') if string(line) != "And now, hello, " || err != ErrBufferFull {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0)