Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 447 for uint32 (0.04 sec)

  1. cmd/bucket-metadata.go

    	}
    	// Read header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case bucketMetadataFormat:
    	default:
    		return b, fmt.Errorf("loadBucketMetadata: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case bucketMetadataVersion:
    	default:
    		return b, fmt.Errorf("loadBucketMetadata: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. cmd/rebalancemetric_string.go

    	_ = x[rebalanceMetricSaveMetadata-4]
    }
    
    const _rebalanceMetric_name = "RebalanceBucketsRebalanceBucketRebalanceObjectRebalanceRemoveObjectSaveMetadata"
    
    var _rebalanceMetric_index = [...]uint8{0, 16, 31, 46, 67, 79}
    
    func (i rebalanceMetric) String() string {
    	if i >= rebalanceMetric(len(_rebalanceMetric_index)-1) {
    		return "rebalanceMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 988 bytes
    - Viewed (0)
  3. tests/non_std_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    )
    
    type Animal struct {
    	Counter    uint64 `gorm:"primary_key:yes"`
    	Name       string `gorm:"DEFAULT:'galeone'"`
    	From       string // test reserved sql keyword as field name
    	Age        *time.Time
    	unexported string // unexported value
    	CreatedAt  time.Time
    	UpdatedAt  time.Time
    }
    
    func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) {
    	DB.Migrator().DropTable(&Animal{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/reader.go

    	}
    	err = r.throttle.WaitN(r.ctx, tokens)
    	if err != nil {
    		return
    	}
    	n, err = r.r.Read(buf[:need])
    	if err != nil {
    		r.lastErr = err
    		return
    	}
    	r.m.updateMeasurement(r.opts.BucketOptions, uint64(tokens))
    	return
    }
    
    // NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the
    // bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/format_string.go

    	_ = x[formatUnknown-0]
    	_ = x[formatGzip-1]
    	_ = x[formatZstd-2]
    	_ = x[formatLZ4-3]
    	_ = x[formatS2-4]
    	_ = x[formatBZ2-5]
    }
    
    const _format_name = "UnknownGzipZstdLZ4S2BZ2"
    
    var _format_index = [...]uint8{0, 7, 11, 15, 18, 20, 23}
    
    func (i format) String() string {
    	if i < 0 || i >= format(len(_format_index)-1) {
    		return "format(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 737 bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      TF_Tensor* out = csession.output_tensor(0);
      ASSERT_TRUE(out != nullptr);
      EXPECT_EQ(TF_INT32, TF_TensorType(out));
      EXPECT_EQ(0, TF_NumDims(out));  // scalar
      ASSERT_EQ(sizeof(int32), TF_TensorByteSize(out));
      int32* output_contents = static_cast<int32*>(TF_TensorData(out));
      EXPECT_EQ(3 + 2, *output_contents);
    
      // Add another operation to the graph.
      TF_Operation* neg = Neg(add, graph, s);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. tests/joins_test.go

    	type (
    		Furniture struct {
    			gorm.Model
    			OwnerID *uint
    		}
    
    		Owner struct {
    			gorm.Model
    			Furnitures []Furniture
    			CompanyID  *uint
    			Company    Company
    		}
    
    		Building struct {
    			gorm.Model
    			Name    string
    			OwnerID *uint
    			Owner   Owner
    		}
    	)
    
    	DB.Migrator().DropTable(&Building{}, &Owner{}, &Furniture{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. cmd/lceventsrc_string.go

    	_ = x[lcEventSrc_s3CompleteMultipartUpload-10]
    }
    
    const _lcEventSrc_name = "NoneHealScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload"
    
    var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109}
    
    func (i lcEventSrc) String() string {
    	if i >= lcEventSrc(len(_lcEventSrc_index)-1) {
    		return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/action_string.go

    const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionTransitionVersionActionDeleteRestoredActionDeleteRestoredVersionActionDeleteAllVersionsActionDelMarkerDeleteAllVersionsActionActionCount"
    
    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. cmd/storagemetric_string.go

    var _storageMetric_index = [...]uint16{0, 11, 18, 26, 33, 42, 49, 56, 64, 74, 84, 98, 108, 118, 128, 134, 148, 158, 166, 179, 192, 206, 217, 223, 230, 242, 254, 274, 282, 292, 302, 311, 315}
    
    func (i storageMetric) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top