Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Negate (0.12 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/booleans/KtPredicates.kt

        public val type: KaType get() = withValidityAssertion { backingType }
        public val isNegated: Boolean get() = withValidityAssertion { backingIsNegated }
        public fun negated(): KaContractIsInstancePredicateExpression = KaContractIsInstancePredicateExpression(argument, type, !isNegated)
    
        override fun hashCode(): Int = Objects.hashCode(backingArgument, backingType, backingIsNegated)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/path/filepath/match.go

    			// character class
    			var r rune
    			if !failed {
    				var n int
    				r, n = utf8.DecodeRuneInString(s)
    				s = s[n:]
    			}
    			chunk = chunk[1:]
    			// possibly negated
    			negated := false
    			if len(chunk) > 0 && chunk[0] == '^' {
    				negated = true
    				chunk = chunk[1:]
    			}
    			// parse all ranges
    			match := false
    			nrange := 0
    			for {
    				if len(chunk) > 0 && chunk[0] == ']' && nrange > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/types_test.go

    		expectedResult EncryptionAlgorithmType
    	}{
    		{
    			name: "feature gate is set to true, return ECDSA-P256",
    			cfg: &ClusterConfiguration{
    				FeatureGates: map[string]bool{
    					features.PublicKeysECDSA: true,
    				},
    				EncryptionAlgorithm: EncryptionAlgorithmRSA4096,
    			},
    			expectedResult: EncryptionAlgorithmECDSAP256,
    		},
    		{
    			name: "feature gate is set to false, return the default RSA-2048",
    			cfg: &ClusterConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 09:39:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. hack/verify-test-featuregates.sh

    # This script checks whether mutable global feature gate is invocated correctly
    # in `*_test.go` files.
    # Usage: `hack/verify-test-featuregates.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    cd "${KUBE_ROOT}"
    
    rc=0
    
    # find test files accessing the mutable global feature gate or interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    	if len(p.Spec.SchedulingGates) == 0 {
    		return nil
    	}
    	gates := make([]string, 0, len(p.Spec.SchedulingGates))
    	for _, gate := range p.Spec.SchedulingGates {
    		gates = append(gates, gate.Name)
    	}
    	return framework.NewStatus(framework.UnschedulableAndUnresolvable, fmt.Sprintf("waiting for scheduling gates: %v", gates))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/feature/feature.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 feature
    
    // Features carries feature gate values used by various plugins.
    // This struct allows us to break the dependency of the plugins on
    // the internal k8s features pkg.
    type Features struct {
    	EnableDynamicResourceAllocation              bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go

    	DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()
    
    	// DefaultFeatureGate is a shared global FeatureGate.
    	// Top-level commands/options setup that needs to modify this feature gate should use DefaultMutableFeatureGate.
    	DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/controllermanager_test.go

    		{
    			name:               "standalone taint-eviction-controller should run when SeparateTaintEvictionController feature gate is enabled",
    			enableFeatureGate:  true,
    			expectInitFuncCall: true,
    		},
    		{
    			name:               "standalone taint-eviction-controller should not run when SeparateTaintEvictionController feature gate is not enabled",
    			enableFeatureGate:  false,
    			expectInitFuncCall: false,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matchers.go

    func Or(ms ...Matcher) Matcher {
    	return func(i echo.Instance) bool {
    		for _, m := range ms {
    			if m != nil && m(i) {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Not negates the given matcher. Example:
    //
    //	Not(Naked())
    func Not(m Matcher) Matcher {
    	return func(i echo.Instance) bool {
    		return !m(i)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/probe/exec/exec.go

    			if utilfeature.DefaultFeatureGate.Enabled(features.ExecProbeTimeout) {
    				return probe.Failure, err.Error(), nil
    			}
    
    			klog.Warningf("Exec probe timed out but ExecProbeTimeout feature gate was disabled")
    		}
    
    		return probe.Unknown, "", err
    	}
    	return probe.Success, string(data), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top