Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 203 for idx (0.03 sec)

  1. cmd/object-api-utils.go

    			return
    		}
    		// Close the stream.
    		// If more than compMinIndexSize was written, generate index.
    		if cn > compMinIndexSize {
    			idx, err := comp.CloseIndex()
    			idx = s2.RemoveIndexHeaders(idx)
    			indexCh <- idx
    			pw.CloseWithError(err)
    			return
    		}
    		pw.CloseWithError(comp.Close())
    	}()
    	var gotIdx []byte
    	return pr, func() []byte {
    		if gotIdx != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	for idx, part := range partInfoFiles {
    		if part.Error != "" {
    			err = objPartToPartErr(part)
    			bugLogIf(ctx, err)
    			return oi, err
    		}
    
    		if parts[idx].PartNumber != part.Number {
    			internalLogIf(ctx, fmt.Errorf("part.%d.meta has incorrect corresponding part number: expected %d, got %d", parts[idx].PartNumber, parts[idx].PartNumber, part.Number))
    			return oi, InvalidPart{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    		}
    	}
    	return -1, nil, errFileVersionNotFound
    }
    
    func (x *xlMetaV2) getIdx(idx int) (ver *xlMetaV2Version, err error) {
    	if idx < 0 || idx >= len(x.versions) {
    		return nil, errFileNotFound
    	}
    	var dst xlMetaV2Version
    	_, err = dst.unmarshalV(x.metaV, x.versions[idx].meta)
    	if false {
    		if err == nil && x.versions[idx].header.VersionID != dst.getVersionID() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            if (upgrade != null) {
                configurations.forceUpgrade(selected, upgrade!!)
            } else {
                providedBy.forEachIndexed { idx, provider ->
                    if (provider != selected) {
                        components.declareSyntheticCapability(provider, idx.toString())
                    }
                }
                components.declareCapabilityPreference(selected)
            }
        }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tests/create_test.go

    	var users2 []User
    	DB.Preload("Account").Preload("Pets").Preload("Toys").Preload("Company").Preload("Manager").Preload("Team").Preload("Languages").Preload("Friends").Find(&users2, "id IN ?", userIDs)
    	for idx, user := range users2 {
    		CheckUser(t, user, users[idx])
    	}
    }
    
    func TestBulkCreatePtrDataWithAssociations(t *testing.T) {
    	users := []*User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        newDocumentBuilder()
            .parse(url)
            .getElementsByTagName("version").let { versions ->
                (0 until versions.length)
                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    			idx := idxCB()
    			if !tt.wantIdx && len(idx) > 0 {
    				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)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. tests/upsert_test.go

    	} else if len(langs3) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs3)
    	}
    
    	for idx, lang := range langs {
    		lang.Name = lang.Name + "_new"
    		langs[idx] = lang
    	}
    
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.AssignmentColumns([]string{"name"}),
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            this.buf = buf;
            this.start = this.index = start;
            this.length = 0;
            this.deferred = this;
        }
    
    
        public NdrBuffer derive ( int idx ) {
            NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
            nb.deferred = this.deferred;
            return nb;
        }
    
    
        public void reset () {
            this.index = this.start;
            this.length = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("index, ':' not found in %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := line[:idx]
    		value := line[idx+1:]
    		if _, ok := wantTrailers[key]; !ok {
    			if cr.debug {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top