Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for indices (0.04 seconds)

  1. cmd/xl-storage-format-v2.go

    			// Only add etags if any.
    			if fi.Parts[i].ETag != "" {
    				ventry.ObjectV2.PartETags = make([]string, len(fi.Parts))
    				break
    			}
    		}
    		for i := range fi.Parts {
    			// Only add indices if any.
    			if len(fi.Parts[i].Index) > 0 {
    				ventry.ObjectV2.PartIndices = make([][]byte, len(fi.Parts))
    				break
    			}
    		}
    		for i := range fi.Erasure.Distribution {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  2. cmd/test-utils_test.go

    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  3. tests/migrate_test.go

    		}
    	}
    
    	checkIndex := func(t *testing.T, expected []gorm.Index) {
    		indexes, err := DB.Migrator().GetIndexes(table)
    		if err != nil {
    			t.Fatalf("%v: failed to get indexes, got error: %v", utils.FileWithLineNum(), err)
    		}
    		assert.ElementsMatch(t, expected, indexes)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  4. cmd/xl-storage.go

    type xlStorage struct {
    	// Indicate of NSScanner is in progress in this disk
    	scanning int32
    
    	drivePath string
    	endpoint  Endpoint
    
    	globalSync bool
    	oDirect    bool // indicates if this disk supports ODirect
    
    	diskID string
    
    	formatFileInfo  os.FileInfo
    	formatFile      string
    	formatLegacy    bool
    	formatLastCheck time.Time
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  5. cmd/bucket-handlers.go

    		LockEnabled: objectLockEnabled,
    		ForceCreate: forceCreate,
    	}
    
    	if globalDNSConfig != nil {
    		sr, err := globalDNSConfig.Get(bucket)
    		if err != nil {
    			// ErrNotImplemented indicates a DNS backend that doesn't need to check if bucket already
    			// exists elsewhere
    			if err == dns.ErrNoEntriesFound || err == dns.ErrNotImplemented {
    				// Proceed to creating a bucket.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  6. src/archive/zip/reader_test.go

    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  7. cmd/erasure-server-pool.go

    		}
    	}
    
    	result := HealthResult{
    		Healthy:       true,
    		HealthyRead:   true,
    		WriteQuorum:   maximumWriteQuorum,
    		ReadQuorum:    maximumReadQuorum,
    		UsingDefaults: usingDefaults, // indicates if config was not initialized and we are using defaults on this node.
    	}
    
    	for poolIdx := range erasureSetUpCount {
    		for setIdx := range erasureSetUpCount[poolIdx] {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  8. tensorflow/c/c_api.h

    // `oper` and `num_dims` with the corresponding number of dimensions. On return,
    // for every i where `num_dims[i]` > 0, `dims[i]` will be an array of
    // `num_dims[i]` elements. A value of -1 for `num_dims[i]` indicates that the
    // i-th shape in the list is unknown.
    //
    // The elements of `dims` will point to addresses in `storage` which must be
    // large enough to hold at least `storage_size` int64_ts.  Ideally, `num_shapes`
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
Back to Top