Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 310 for Got (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/distributed/decom.sh

    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    # after decommissioning, compare listings in bucket2 and tiered
    ./mc version info myminio/bucket2 | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. 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)
  3. guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
                "Converting %s to double: expected doubleValue %s but got bigToDouble %s",
                b, b.doubleValue(), DoubleUtils.bigToDouble(b));
          }
        }
      }
    
      public void testEnsureNonNegative() {
        assertThat(DoubleUtils.ensureNonNegative(0.0)).isEqualTo(0.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. docs/bucket/versioning/versioning-tests.sh

    ./mc cp --quiet --storage-class "STANDARD" sitea/testbucket/file sitea/testbucket/file
    etag2=$(./mc cat sitea/testbucket/file | md5sum --tag | awk {'print $4'})
    if [ $etag1 != $etag2 ]; then
    	echo "expected $etag1, got $etag2"
    	exit 1
    fi
    
    echo "SUCCESS:"
    ./mc ls --versions sitea/delissue --insecure
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top