Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ss (0.12 sec)

  1. cmd/site-replication.go

    		latestPolicyStat         srPolicyStatsSummary
    	)
    	for dID, ss := range ps {
    		if lastUpdate.IsZero() {
    			lastUpdate = ss.policy.UpdatedAt
    			latestID = dID
    			latestPolicyStat = ss
    		}
    		if !ss.policy.UpdatedAt.IsZero() && ss.policy.UpdatedAt.After(lastUpdate) {
    			lastUpdate = ss.policy.UpdatedAt
    			latestID = dID
    			latestPolicyStat = ss
    		}
    	}
    	if latestID != globalDeploymentID() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/endpoint-ellipses.go

    	newSetCounts := make(map[uint64]struct{})
    	for _, ss := range setCounts {
    		var symmetry bool
    		for _, argPattern := range argPatterns {
    			for _, p := range argPattern {
    				if uint64(len(p.Seq)) > ss {
    					symmetry = uint64(len(p.Seq))%ss == 0
    				} else {
    					symmetry = ss%uint64(len(p.Seq)) == 0
    				}
    			}
    		}
    		// With no arg patterns, it is expected that user knows
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	}
    	return
    }
    
    func (ss *suffixSaver) Suffix() []byte {
    	if len(ss.buf) < ss.keep {
    		return ss.buf
    	}
    	buf := make([]byte, ss.keep)
    	n := copy(buf, ss.buf[ss.start:])
    	copy(buf[n:], ss.buf[:])
    	return buf
    }
    
    func (ss *suffixSaver) Write(p []byte) (n int, err error) {
    	n = len(p)
    	ss.size += int64(len(p))
    	if len(ss.buf) < ss.keep {
    		space := ss.keep - len(ss.buf)
    		add := len(p)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class.go

    	Standard    StorageClass `json:"standard"`
    	RRS         StorageClass `json:"rrs"`
    	Optimize    string       `json:"optimize"`
    	inlineBlock int64
    
    	initialized bool
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    			sniImpacted = sniImpacted || checkSNI(pl.GetTls())
    		}
    		for _, ss := range dr.Spec.Subsets {
    			verificationImpacted = verificationImpacted || checkVerify(ss.GetTrafficPolicy().GetTls())
    			sniImpacted = sniImpacted || checkSNI(ss.GetTrafficPolicy().GetTls())
    			for _, pl := range ss.GetTrafficPolicy().GetPortLevelSettings() {
    				verificationImpacted = verificationImpacted || checkVerify(pl.GetTls())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. operator/cmd/mesh/install.go

    	return iop.Spec.Profile, constants.IstioSystemNamespace, enabledComponents, nil
    }
    
    func humanReadableJoin(ss []string) string {
    	switch len(ss) {
    	case 0:
    		return ""
    	case 1:
    		return ss[0]
    	case 2:
    		return ss[0] + " and " + ss[1]
    	default:
    		return strings.Join(ss[:len(ss)-1], ", ") + ", and " + ss[len(ss)-1]
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  7. internal/config/api/api.go

    	SyncEvents                  bool          `json:"sync_events"`
    	ObjectMaxVersions           int64         `json:"object_max_versions"`
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  8. cmd/config-current.go

    	defer env.SetEnvOn()
    	if subSys != "" {
    		return validateSubSysConfig(ctx, s, subSys, objAPI)
    	}
    
    	// No sub-system passed. Validate all of them.
    	for _, ss := range config.SubSystems.ToSlice() {
    		if err := validateSubSysConfig(ctx, s, ss, objAPI); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    func lookupConfigs(s config.Config, objAPI ObjectLayer) {
    	ctx := GlobalContext
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	// nolint: gosimple
    	re := regexp.MustCompile("/apis/networking(\\.istio\\.io)?/v1alpha3/namespaces/(?P<namespace>[^/]+)/virtual-service/(?P<name>[^/]+)")
    	ss := re.FindStringSubmatch(path)
    	if ss == nil {
    		return "", "", fmt.Errorf("not a VS path: %s", path)
    	}
    	return ss[3], ss[2], nil
    }
    
    // getIstioVirtualServicePathForSvcFromRoute returns something like "/apis/networking/v1alpha3/namespaces/default/virtual-service/reviews"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/status_test.go

    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := &bytes.Buffer{}
    			sw := XdsStatusWriter{Writer: got}
    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top