Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for RestoreIndexHeaders (0.09 seconds)

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

  1. cmd/object-api-utils.go

    		if isEncrypted {
    			dec, err := decrypt(oi.Parts[firstPartIdx].Index)
    			if err == nil {
    				// Load Index
    				var idx s2.Index
    				_, err := idx.Load(s2.RestoreIndexHeaders(dec))
    
    				// Find compressed/uncompressed offsets of our partskip
    				compOff, uCompOff, err2 := idx.Find(partSkip)
    
    				if err == nil && err2 == nil && compOff > 0 {
    					// Encrypted.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  2. cmd/object-api-utils_test.go

    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    				_, err = index.Load(s2.RestoreIndexHeaders(idx))
    				if err != nil {
    					t.Errorf("error loading index: %v", err)
    				}
    				t.Log("size:", len(idx))
    				t.Log(string(index.JSON()))
    				if index.TotalUncompressed != int64(len(tt.data)) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top