Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for mapFor (0.18 sec)

  1. pkg/volume/testing/testing.go

    	expectedMapPodDeviceCallCount int,
    	fakeVolumePlugin *FakeVolumePlugin) error {
    	for _, mapper := range fakeVolumePlugin.GetBlockVolumeMapper() {
    		actualCallCount := mapper.GetMapPodDeviceCallCount()
    		if actualCallCount >= expectedMapPodDeviceCallCount {
    			return nil
    		}
    	}
    
    	return fmt.Errorf(
    		"No Mapper have expected MapPodDeviceCallCount. Expected: <%v>.",
    		expectedMapPodDeviceCallCount)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    		major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8])
    	}
    	if major > xlVersionMajor {
    		return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major)
    	}
    
    	return buf[8:], major, minor, nil
    }
    
    func isXL2V1Format(buf []byte) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    	loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error
    	loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			NewDefaultHPARateLimiter(resyncPeriod),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "horizontalpodautoscaler",
    			},
    		),
    		mapper:              mapper,
    		recommendations:     map[string][]timestampedRecommendation{},
    		recommendationsLock: sync.Mutex{},
    		scaleUpEvents:       map[string][]timestampedScaleEvent{},
    		scaleUpEventsLock:   sync.RWMutex{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    				if len(tt.in.Username.Expression) > 0 && state.mapper.Username == nil {
    					t.Fatalf("ClaimMappings validation mismatch: CELMapper.Username is nil")
    				}
    				if len(tt.in.Groups.Expression) > 0 && state.mapper.Groups == nil {
    					t.Fatalf("ClaimMappings validation mismatch: CELMapper.Groups is nil")
    				}
    				if len(tt.in.UID.Expression) > 0 && state.mapper.UID == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    }
    
    void InlineStablehloOpRegion(mlir::Region& region, mlir::func::FuncOp func) {
      OpBuilder op_builder{region};
      mlir::IRMapping mapper;
      func.getBody().cloneInto(&region, mapper);
      mlir::Operation& return_op = region.back().back();
      mlir::Location loc = return_op.getLoc();
      op_builder.setInsertionPointToEnd(&region.back());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        commitment was originally through December 31, 2020; we have since extended it.)
    
     *  **TLSv1 and TLSv1.1 are no longer enabled by default.** Major web browsers are working towards
        removing these versions altogether in early 2020. If your servers aren't ready yet you can
        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. src/net/http/request.go

    		}
    		r2.otherValues = s2
    	}
    	return r2
    }
    
    // ProtoAtLeast reports whether the HTTP protocol used
    // in the request is at least major.minor.
    func (r *Request) ProtoAtLeast(major, minor int) bool {
    	return r.ProtoMajor > major ||
    		r.ProtoMajor == major && r.ProtoMinor >= minor
    }
    
    // UserAgent returns the client's User-Agent, if sent in the request.
    func (r *Request) UserAgent() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    	// it enabled to potentially warn users that they are on a broken
    	// kernel.
    	if testenv.Builder() != "" && (runtime.GOARCH == "386" || runtime.GOARCH == "amd64") {
    		have59 := major > 5 || (major == 5 && minor >= 9)
    		have516 := major > 5 || (major == 5 && minor >= 16)
    		if have59 && !have516 {
    			testenv.SkipFlaky(t, 49065)
    		}
    	}
    
    	// Run a workload in a single goroutine, then run copies of the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	return ti.(Type)
    }
    
    // MapOf returns the map type with the given key and element types.
    // For example, if k represents int and e represents string,
    // MapOf(k, e) represents map[int]string.
    //
    // If the key type is not a valid map key type (that is, if it does
    // not implement Go's == operator), MapOf panics.
    func MapOf(key, elem Type) Type {
    	ktyp := key.common()
    	etyp := elem.common()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top