Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for RSs (0.02 sec)

  1. pkg/controller/deployment/recreate_test.go

    	}{
    		{
    			name:              "no old RSs",
    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    			podMap:            podMapWithUIDs([]string{"some-uid", "other-uid"}),
    			hasOldPodsRunning: true,
    		},
    		{
    			name:              "old RSs without pods but with non-zero status replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. pkg/registry/core/service/allocator/bitmap.go

    		if allocated.Bit(at) == 0 {
    			return at, true
    		}
    	}
    
    	start = rss.rand.Intn(rss.offset)
    	// subrange full, try to get the value from the first block before giving up.
    	for i := 0; i < rss.offset; i++ {
    		at := (start + i) % rss.offset
    		if allocated.Bit(at) == 0 {
    			return at, true
    		}
    	}
    	return 0, false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

    public class DefaultSessionTest {
    
        @Test
        void testRootDirectoryWithNull() {
            RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            MavenSession ms = new MavenSession(null, rss, mer, null);
            DefaultSession session =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jan 25 13:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/testing/fake_test.go

    	}
    	// Add real server to the virtual server
    	for i := range rss {
    		if err = fake.AddRealServer(vs, rss[i]); err != nil {
    			t.Errorf("Fail to add real server, error: %v", err)
    		}
    	}
    	// Delete a real server of the virtual server
    	// Make sure any position of the list can be real deleted
    	rssLen := len(rss)
    	for i := range rss {
    		// List all real servers of the virtual server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. pkg/controller/deployment/util/deployment_util_test.go

    			rs:   rss[3],
    			err:  fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rss[3].Name, rss[3].Namespace, rss[3].Labels),
    		},
    		{
    			name: "GetDeploymentsForReplicaSet for rs-4",
    			rs:   rss[4],
    			err:  fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rss[4].Name, rss[4].Namespace, rss[4].Labels),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throws InvalidRepositoryException {
            RepositorySystem repositorySystem = rs(c);
            RepositorySystemSession session = rss(c);
    
            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
                repositorySystem.injectMirror(session, Arrays.asList(repository));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/util/ipvs_linux.go

    	}
    	rss := make([]*RealServer, 0)
    	for _, dst := range dsts {
    		dst, err := toRealServer(dst)
    		// TODO: aggregate errors?
    		if err != nil {
    			return nil, fmt.Errorf("could not convert IPVS destination to local real server: %w", err)
    		}
    		rss = append(rss, dst)
    	}
    	return rss, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/framework/fake_listers.go

    		if err != nil {
    			// This object has an invalid selector, it does not match the pod
    			continue
    		}
    
    		if selector.Matches(labels.Set(pod.Labels)) {
    			rss = append(rss, rs)
    		}
    	}
    	if len(rss) == 0 {
    		err = fmt.Errorf("could not find ReplicaSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels)
    	}
    
    	return
    }
    
    // ReplicaSets returns nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Inject
        ToolchainsBuilder toolchainsBuilder;
    
        @BeforeEach
        void setup() {
            // create session with any local repo, is redefined anyway below
            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target").toPath())
                    .build();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cadvisor_stats_provider.go

    		return false
    	}
    	return cstat.CpuInst.Usage.Total != 0 && cstat.Memory.RSS != 0
    }
    
    // isContainerTerminated returns true if the specified container meet one of the following conditions
    // 1. info.spec both cpu memory and network are false conditions
    // 2. info.Stats both network and cpu or memory are nil
    // 3. both zero CPU instantaneous usage zero memory RSS usage and zero network usage,
    // and false otherwise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top