Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for Parallelizer (0.22 sec)

  1. pkg/scheduler/schedule_one.go

    	}()
    
    	// Stops searching for more nodes once the configured number of feasible nodes
    	// are found.
    	fwk.Parallelizer().Until(ctx, numAllNodes, checkNode, metrics.Filter)
    	feasibleNodes = feasibleNodes[:feasibleNodesLen]
    	for _, item := range result {
    		if item == nil {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    					b.Fatal(s.AsError())
    				}
    				filterNode := func(i int) {
    					n, _ := p.sharedLister.NodeInfos().Get(allNodes[i].Name)
    					p.Filter(ctx, state, tt.pod, n)
    				}
    				p.parallelizer.Until(ctx, len(allNodes), filterNode, "")
    			}
    		})
    		b.Run(tt.name+"/Clone", func(b *testing.B) {
    			for i := 0; i < b.N; i++ {
    				state.Clone()
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/parallelize/parallelism_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"fmt"
    	"testing"
    )
    
    func TestChunkSize(t *testing.T) {
    	tests := []struct {
    		input      int
    		wantOutput int
    	}{
    		{
    			input:      32,
    			wantOutput: 3,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/parallelize/error_channel_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import (
    	"context"
    	"errors"
    	"testing"
    )
    
    func TestErrorChannel(t *testing.T) {
    	errCh := NewErrorChannel()
    
    	if actualErr := errCh.ReceiveError(); actualErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/parallelize/error_channel.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parallelize
    
    import "context"
    
    // ErrorChannel supports non-blocking send and receive operation to capture error.
    // A maximum of one error is kept in the channel and the rest of the errors sent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. src/syscall/rlimit.go

    // (limited by the size of fd_set).
    //
    // Go does not use select, so it should not be subject to these limits.
    // On some systems the limit is 256, which is very easy to run into,
    // even in simple programs like gofmt when they parallelize walking
    // a file tree.
    //
    // After a long discussion on go.dev/issue/46279, we decided the
    // best approach was for Go to raise the limit unconditionally for itself,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            return parallelize(subProjectTestClassTimes, testCoverage) { numberOfBatches ->
                if (testCoverage.os == Os.LINUX)
                    ParallelizationMethod.TestDistribution
                else
                    ParallelizationMethod.TeamCityParallelTests(numberOfBatches)
            }
        }
    
        private fun parallelize(
            subProjectTestClassTimes: List<SubprojectTestClassTime>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/README.adoc

    == Anti-patterns:
    
    .Don't reference other project tasks directly
    --
    A frequent anti-pattern to declare cross-project dependencies is below.
    
    This publication model is unsafe and can lead to non-reproducible and hard to parallelize builds.
    By declaring a dependency in this way, the task ordering between consumers and producers is not known to Gradle at the time when it is deciding the order of tasks for a given build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/python/BUILD

    #         "@absl_py//absl/testing:parameterized",
    #     ],
    # )
    #
    # tf_py_strict_test(
    #     name = "quantize_model_test",
    #     srcs = ["integration_test/quantize_model_test.py"],
    #     shard_count = 50,  # Parallelize the test to avoid timeouts.
    #     deps = [
    #         ":quantization",
    #         ":quantize_model_test_base",
    #         "//tensorflow/compiler/mlir/quantization/common/python:testing",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 20:18:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/preemption/preemption_test.go

    	clientsetfake "k8s.io/client-go/kubernetes/fake"
    	"k8s.io/klog/v2/ktesting"
    	extenderv1 "k8s.io/kube-scheduler/extender/v1"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/parallelize"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/defaultbinder"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeaffinity"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top