Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 148 for unexpectedly (0.08 seconds)

  1. cmd/erasure-server-pool-decom.go

    	}
    
    	// OK, parse data.
    	if _, err = p.UnmarshalMsg(data[4:]); err != nil {
    		return err
    	}
    
    	switch p.Version {
    	case poolMetaVersionV1:
    	default:
    		return fmt.Errorf("unexpected pool meta version: %d", p.Version)
    	}
    
    	return nil
    }
    
    func (p *poolMeta) CountItem(idx int, size int64, failed bool) {
    	pd := p.Pools[idx].Decommission
    	if pd == nil {
    		return
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  2. cmd/background-newdisks-heal-ops.go

    func healFreshDisk(ctx context.Context, z *erasureServerPools, endpoint Endpoint) error {
    	poolIdx, setIdx := endpoint.PoolIdx, endpoint.SetIdx
    	disk := getStorageViaEndpoint(endpoint)
    	if disk == nil {
    		return fmt.Errorf("Unexpected error disk must be initialized by now after formatting: %s", endpoint)
    	}
    
    	_, err := disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    		if errors.Is(err, errDriveIsRoot) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. cmd/endpoint_test.go

    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			var srvCtxt serverCtxt
    			err := mergeDisksLayoutFromArgs(testCase.args, &srvCtxt)
    			if err != nil && testCase.expectedErr == nil {
    				t.Errorf("Test %d: unexpected error: %v", i+1, err)
    			}
    			pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...)
    			if err == nil && testCase.expectedErr != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. lib/fips140/v1.1.0-rc1.zip

    0x35, } b, err := New(key) if err != nil { return err } buf := make([]byte, 16) NewCBCEncrypter(b, iv).CryptBlocks(buf, plaintext) if !bytes.Equal(buf, ciphertext) { return errors.New("unexpected result") } NewCBCDecrypter(b, iv).CryptBlocks(buf, ciphertext) if !bytes.Equal(buf, plaintext) { return errors.New("unexpected result") } return nil }) } golang.org/fips140@v1.1.0-rc1/fips140/v1.1.0-rc1/aes/cbc.go // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  5. tests/generics_test.go

    		t.Fatalf("failed to reload select-only user, got error: %v", err)
    	} else if stored.Name != selectOnly.Name || stored.Age != 0 {
    		t.Errorf("unexpected select-only user state, got %#v", stored)
    	}
    
    	omitAge := User{Name: "GenericsCreateOmitAge", Age: 88}
    	if err := gorm.G[User](DB).Omit("age").Create(ctx, &omitAge); err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  6. cmd/xl-storage_test.go

    	fi, err := xlStorage.ReadVersion(t.Context(), "", "exists-legacy", "as-file", "", ReadOptions{})
    	if err != nil {
    		t.Fatalf("Unable to read older 'xl.json' content: %s", err)
    	}
    
    	if !fi.XLV1 {
    		t.Fatal("Unexpected 'xl.json' content should be correctly interpreted as legacy content")
    	}
    }
    
    // TestXLStorageReadVersion - TestXLStorages the functionality implemented by xlStorage ReadVersion storage API.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  7. internal/hash/checksum.go

    			checksums = c.WantParts
    		}
    		// Ensure we don't divide by 0:
    		if c.Type.RawByteLen() == 0 || len(parts)%c.Type.RawByteLen() != 0 {
    			hashLogIf(context.Background(), fmt.Errorf("internal error: Unexpected checksum length: %d, each checksum %d", len(parts), c.Type.RawByteLen()))
    			checksums = 0
    			parts = nil
    		} else if len(parts) > 0 {
    			checksums = len(parts) / c.Type.RawByteLen()
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  8. docs/en/docs/management-tasks.md

    * `bug`: Fixes
        * Something that was supported didn't work, and this fixes it. There are many PRs that claim to be bug fixes because the user is doing something in an unexpected way that is not supported, but they considered it what should be supported by default. Many of these are actually features or refactors. But in some cases there's an actual bug.
    * `refactor`: Refactors
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. cmd/erasure-healing-common_test.go

    		errs, fi, false, bucket, object, madmin.HealDeepScan)
    
    	for diskIndex, disk := range erasureDisks {
    		if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    			t.Errorf("Unexpected error: %v", dataErrsPerDisk[diskIndex])
    		}
    
    		if disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    
    	// Test 2: Not synchronized modtime
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    }
    
    // tryParse executes parse func in panicOnError=true context.
    // parse is expected to call any parsing methods that may panic.
    // Returns error gathered from recover; nil if no parse errors occurred.
    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    
    		e := recover()
    		var ok bool
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
Back to Top