Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 425 for qint (0.09 sec)

  1. pkg/kubelet/cm/topologymanager/policy_best_effort_test.go

    func TestPolicyBestEffortCanAdmitPodResult(t *testing.T) {
    	tcases := []struct {
    		name     string
    		hint     TopologyHint
    		expected bool
    	}{
    		{
    			name:     "Preferred is set to false in topology hints",
    			hint:     TopologyHint{nil, false},
    			expected: true,
    		},
    		{
    			name:     "Preferred is set to true in topology hints",
    			hint:     TopologyHint{nil, true},
    			expected: true,
    		},
    	}
    
    	for _, tc := range tcases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/policy_test.go

    )
    
    type policyMergeTestCase struct {
    	name     string
    	hp       []HintProvider
    	expected TopologyHint
    }
    
    func commonPolicyMergeTestCases(numaNodes []int) []policyMergeTestCase {
    	return []policyMergeTestCase{
    		{
    			name: "Two providers, 1 hint each, same mask, both preferred 1/2",
    			hp: []HintProvider{
    				&mockHintProvider{
    					map[string][]TopologyHint{
    						"resource1": {
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    //
    // If the first token of the hint matches the first token of the
    // line, the new line is added at the end of the block containing hint,
    // extracting hint into a new block if it is not yet in one.
    //
    // If the hint is non-nil buts its first token does not match,
    // the new line is added after the block containing hint
    // (or hint itself, if not in a block).
    //
    // If no hint is provided, addLine appends the line to the end of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_network_linux.go

    		}
    	}
    }
    
    // syncIPTablesRules ensures the KUBE-IPTABLES-HINT chain exists, and the martian packet
    // protection rule is installed.
    func (kl *Kubelet) syncIPTablesRules(iptClient utiliptables.Interface) bool {
    	// Create hint chain so other components can see whether we are using iptables-legacy
    	// or iptables-nft.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 20:51:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_drq.mlir

    // CHECK: %[[quantize_2:.*]] = "tf.PartitionedCall"(%arg0, %[[q_w]], %[[w_scale]], %[[w_zp]]) <{config = "", config_proto = "", executor_type = "", f = @quantized_conv2d_fn_0}> : (tensor<1x2x2x3xf32>, tensor<2x3x3x2x!tf_type.qint8>, tensor<f32>, tensor<i32>) -> tensor<*xf32>
    // CHECK: return %[[quantize_1]], %[[quantize_2]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy_restricted.go

    	return &restrictedPolicy{bestEffortPolicy{numaInfo: numaInfo, opts: opts}}
    }
    
    func (p *restrictedPolicy) Name() string {
    	return PolicyRestricted
    }
    
    func (p *restrictedPolicy) canAdmitPodResult(hint *TopologyHint) bool {
    	return hint.Preferred
    }
    
    func (p *restrictedPolicy) Merge(providersHints []map[string][]TopologyHint) (TopologyHint, bool) {
    	filteredHints := filterProvidersHints(providersHints)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. hack/logcheck.conf

    # those calls is not required. That is changed on a per-file basis.
    #
    # Remember to clean the golangci-lint cache when changing the configuration and
    # running the verify-golangci-lint.sh script multiple times, otherwise
    # golangci-lint will report stale results:
    #    _output/local/bin/golangci-lint cache clean
    
    # At this point we don't enforce the usage structured logging calls except in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NebulaPluginsSmokeTest.groovy

        @Issue('https://plugins.gradle.org/plugin/nebula.lint')
        @ToBeFixedForConfigurationCache(because = "Invocation of 'Task.project' by task ':autoLintGradle' at execution time")
        def 'nebula lint plugin'() {
            given:
            buildFile << """
                buildscript {
                    ${mavenCentralRepository()}
                }
    
                plugins {
                    id "com.netflix.nebula.lint" version "${TestedVersions.nebulaLint}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/builtin.go

    		}
    	}
    
    	if ir.IsConst(hint, constant.Int) && constant.Compare(hint.Val(), token.LEQ, constant.MakeInt64(abi.MapBucketCount)) {
    		// Handling make(map[any]any) and
    		// make(map[any]any, hint) where hint <= BUCKETSIZE
    		// special allows for faster map initialization and
    		// improves binary size by using calls with fewer arguments.
    		// For hint <= BUCKETSIZE overLoadFactor(hint, 0) is false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. .github/workflows/test.yml

            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version:
              - "3.12"
              - "3.11"
              - "3.10"
              - "3.9"
              - "3.8"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top