Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Bind1 (0.06 sec)

  1. tests/preload_test.go

    		t.Errorf("failed to create value, got err: %v", err)
    	}
    
    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. src/runtime/mpallocbits.go

    func (b *pallocBits) find(npages uintptr, searchIdx uint) (uint, uint) {
    	if npages == 1 {
    		addr := b.find1(searchIdx)
    		return addr, addr
    	} else if npages <= 64 {
    		return b.findSmallN(npages, searchIdx)
    	}
    	return b.findLargeN(npages, searchIdx)
    }
    
    // find1 is a helper for find which searches for a single free page
    // in the pallocBits and returns the index.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_util.go

    		return reOutput[1], true
    	}
    
    	return "", false
    }
    
    func extractPortalAndIqn(device string) (string, string, error) {
    	ind1 := strings.Index(device, "-")
    	if ind1 < 0 {
    		return "", "", fmt.Errorf("iscsi detach disk: no portal in %s", device)
    	}
    	portal := device[0:ind1]
    	ind2 := strings.Index(device, "iqn.")
    	if ind2 < 0 {
    		ind2 = strings.Index(device, "eui.")
    	}
    	if ind2 < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
Back to top