Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,955 for error_0 (0.05 sec)

  1. internal/bucket/replication/replication.go

    	"strings"
    )
    
    var (
    	errReplicationTooManyRules          = Errorf("Replication configuration allows a maximum of 1000 rules")
    	errReplicationNoRule                = Errorf("Replication configuration should have at least one rule")
    	errReplicationUniquePriority        = Errorf("Replication configuration has duplicate priority")
    	errRoleArnMissingLegacy             = Errorf("Missing required parameter `Role` in ReplicationConfiguration")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/grid/types.go

    	}
    	(*m)[key] = value
    }
    
    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    func (m *MSS) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	if m == nil {
    		return bts, errors.New("MSS: UnmarshalMsg on nil pointer")
    	}
    	if msgp.IsNil(bts) {
    		bts = bts[1:]
    		*m = nil
    		return bts, nil
    	}
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. tests/connection_test.go

    	}
    
    	err := DB.Connection(func(tx *gorm.DB) error {
    		if err := tx.Exec(setSQL, expectedName).Error; err != nil {
    			return err
    		}
    
    		if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil {
    			return err
    		}
    		return nil
    	})
    	if err != nil {
    		t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err))
    	}
    
    	if actualName != expectedName {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  4. cmd/data-usage.go

    	return prefixUsageCache.GetWithCtx(ctx)
    }
    
    func loadDataUsageFromBackend(ctx context.Context, objAPI ObjectLayer) (DataUsageInfo, error) {
    	buf, err := readConfig(ctx, objAPI, dataUsageObjNamePath)
    	if err != nil {
    		buf, err = readConfig(ctx, objAPI, dataUsageObjNamePath+".bkp")
    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    				return DataUsageInfo{}, nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format_test.go

    		t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
    	}
    	if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
    		t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format)
    	}
    	if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBatchJobExpire(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. cmd/last-minute_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgAccElem(b *testing.B) {
    	v := AccElem{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStats.java

       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
       * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This
       * error is defined as the square root of the mean of the squares of the differences between the
       * actual {@code y} values of the data and the values predicted by the fit for the {@code x}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    	if err != nil {
    		in.Error("error parsing #line (cannot happen):", err)
    	}
    	tok = in.Stack.Next()
    	if tok != scanner.String {
    		in.expectText("expected file name in #line")
    	}
    	file, err := strconv.Unquote(in.Stack.Text())
    	if err != nil {
    		in.Error("unquoting #line file name: ", err)
    	}
    	tok = in.Stack.Next()
    	if tok != '\n' {
    		in.Error("unexpected token at end of #line: ", tok)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. internal/hash/reader.go

    	return newReader(ctx, src, size, md5Hex, sha256Hex, actualSize, false, nil)
    }
    
    func newReader(ctx context.Context, src io.Reader, size int64, md5Hex, sha256Hex string, actualSize int64, disableMD5 bool, forceMD5 []byte) (*Reader, error) {
    	MD5, err := hex.DecodeString(md5Hex)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top