Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for index (0.18 sec)

  1. src/go/types/unify.go

    // and corresponding type argument lists. The type argument list may be shorter
    // than the type parameter list, and it may contain nil types. Matching type
    // parameters and arguments must have the same index.
    func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
    	assert(len(tparams) >= len(targs))
    	handles := make(map[*TypeParam]*Type, len(tparams))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    var zeros [512]byte
    
    var (
    	strdata  = make(map[string]string)
    	strnames []string
    )
    
    func addstrdata1(ctxt *Link, arg string) {
    	eq := strings.Index(arg, "=")
    	dot := strings.LastIndex(arg[:eq+1], ".")
    	if eq < 0 || dot < 0 {
    		Exitf("-X flag requires argument of the form importpath.name=value")
    	}
    	pkg := arg[:dot]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    	result.ReferencedNamespaceKeys = nsReferences
    	result.ResourceReferences = ctx.resourceReferences
    	return result
    }
    
    // convertReferencePolicies extracts all ReferencePolicy into an easily accessibly index.
    func convertReferencePolicies(r GatewayResources) AllowedReferences {
    	res := map[Reference]map[Reference]*Grants{}
    	type namespacedGrant struct {
    		Namespace string
    		Grant     *k8sbeta.ReferenceGrantSpec
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		off, length, err := rs.GetOffsetLength(size)
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		readers := []io.Reader{}
    		cumulativeSum := int64(0)
    		for _, p := range oi.partLengths {
    			readers = append(readers, NewDummyDataGen(p, cumulativeSum))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    		// check the overlapping match from the first prefix information
    		for routeIndex, routePrefix := range matchHTTPRoutes {
    			for rIndex := routeIndex + 1; rIndex < len(matchHTTPRoutes); rIndex++ {
    				// exclude the duplicate-match cases which have been validated above
    				if strings.Compare(matchHTTPRoutes[rIndex].Prefix, routePrefix.Prefix) == 0 {
    					continue
    				}
    				// Validate former prefix match does not cover the latter one.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	// Make sure only one node running resync on the cluster.
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	for index := range buckets {
    		bucket := buckets[index].Name
    
    		meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI)
    		if err != nil {
    			if !errors.Is(err, errVolumeNotFound) {
    				replLogIf(ctx, err)
    			}
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidColumnIndex: {
    		Code:           "InvalidColumnIndex",
    		Description:    "The column index is invalid. Please check the service documentation and try again.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidDecompressedSize: {
    		Code:           "XMinioInvalidDecompressedSize",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    		apiStatus := kubelet.generateAPIPodStatus(pod, status, false)
    		for i, c := range apiStatus.ContainerStatuses {
    			if expectedOrder[i] != c.Name {
    				t.Fatalf("Container status not sorted, expected %v at index %d, but found %v", expectedOrder[i], i, c.Name)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	ErasureSetsTestStr string = "ErasureSet"
    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    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.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top