- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 429 for Got (0.01 seconds)
-
tests/customize_field_test.go
AutoUnixNanoUpdateTime uint64 `gorm:"autoupdatetime:nano"` } DB.Migrator().DropTable(&CustomizeFieldStruct{}) if err := DB.AutoMigrate(&CustomizeFieldStruct{}); err != nil { t.Errorf("Failed to migrate, got error: %v", err) } if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "FieldIgnore") { t.Errorf("FieldIgnore should not be created") } if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "field_ignore") {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 11 09:33:31 GMT 2020 - 6.9K bytes - Click Count (0) -
cmd/api-errors_test.go
func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests { errCode := toAPIErrorCode(ctx, testCase.err) if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode) } } } // Check if an API error is properly defined func TestAPIErrCodeDefinition(t *testing.T) { for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n", i, b1, b2) } // Check if stream has ended if (e1 == io.ErrUnexpectedEOF && e2 == io.ErrUnexpectedEOF) || (e1 == io.EOF && e2 == io.EOF) { break } if e1 != nil || e2 != nil { return false, fmt.Sprintf("Got unexpected error values: %v == %v", e1, e2) } } return true, "" }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/distributed/decom-encrypted-kes.sh
echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}" exit 1 fi got_checksum_1=$(./mc cat myminio/versioned-1/dsync/drwmutex.go | md5sum) if [ "${expected_checksum}" != "${got_checksum_1}" ]; then echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum_1}" exit 1 fi ./mc ls -r myminio/versioned >decommissioned_ns.txt
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 7.1K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
throw new IllegalArgumentException("Lease key cannot be null"); } if (key.length != LEASE_KEY_SIZE) { throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); } this.key = Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Get the lease key bytes * * @return copy of the 16-byte lease key */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 3.3K bytes - Click Count (0) -
internal/s3select/csv/reader_contrib_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.4K bytes - Click Count (0) -
cmd/xl-storage_windows_test.go
// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello")) if err != errFileAccessDenied { t.Errorf("expected: %s, got: %s", errFileAccessDenied, err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 29 06:35:16 GMT 2023 - 2.8K bytes - Click Count (0) -
internal/grid/connection.go
return } v.message(m) } func (c *Connection) handleResponse(m message) { if debugPrint { fmt.Printf("%s Got mux response: %v\n", c.Local, m) } v, ok := c.outgoing.Load(m.MuxID) if !ok { if debugReqs { fmt.Println(m.MuxID, c.String(), "Got response for unknown mux") } PutByteBuffer(m.Payload) return } if m.Flags&FlagPayloadIsErr != 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
tests/test_stream_cancellation.py
"headers": [], "server": ("test", 80), } with anyio.move_on_after(timeout) as cancel_scope: await app(scope, receive, send) # type: ignore[arg-type] # If we got here within the timeout the generator was cancellable. # cancel_scope.cancelled_caught is True when move_on_after fired. return cancel_scope.cancelled_caught or len(chunks) > 0
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
cmd/signature-v4_test.go
}, } // Run each test case individually. for i, testCase := range testCases { _, code := doesPolicySignatureMatch(testCase.form) if code != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code)) } } } func TestDoesPresignedSignatureMatch(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0)