Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for isCased (0.21 sec)

  1. src/cmd/vendor/golang.org/x/text/cases/map.go

    func (t undLowerCaser) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
    	c := context{dst: dst, src: src, atEOF: atEOF}
    
    	for isInterWord := true; c.next(); {
    		if isInterWord {
    			if c.info.isCased() {
    				if !lower(&c) {
    					break
    				}
    				isInterWord = false
    			} else if !c.copy() {
    				break
    			}
    		} else {
    			if c.info.isNotCasedAndNotCaseIgnorable() {
    				if !c.copy() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    	cIgnorableCased               // 101 // lower case if mappings exist
    	cXORCase                      // 11x // case is cLower | ((rune&1) ^ x)
    
    	maxCaseMode = cUpper
    )
    
    func (c info) isCased() bool {
    	return c&casedMask != 0
    }
    
    func (c info) isCaseIgnorable() bool {
    	return c&ignorableMask == ignorableValue
    }
    
    func (c info) isNotCasedAndNotCaseIgnorable() bool {
    	return c&fullCasedMask == 0
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    func (c Config) IsHeadless() bool {
    	return c.Headless
    }
    
    func (c Config) IsStatefulSet() bool {
    	return c.StatefulSet
    }
    
    // IsNaked checks if the config has no sidecar.
    // Note: instances that mix subsets with and without sidecars are considered 'naked'.
    func (c Config) IsNaked() bool {
    	for _, s := range c.Subsets {
    		if s.Annotations != nil && s.Annotations[annotation.SidecarInject.Name] == "false" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        }
    
        override fun isUsedAsExpression(expression: KtExpression): Boolean =
            isUsed(expression)
    
        /**
         * [isUsed] and [doesParentUseChild] are defined in mutual recursion,
         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/portgen.go

    // generator.
    func (g *portGenerator) SetUsed(port int) *portGenerator {
    	g.used[port] = struct{}{}
    	return g
    }
    
    // IsUsed indicates if the given port has already been used.
    func (g *portGenerator) IsUsed(port int) bool {
    	_, ok := g.used[port]
    	return ok
    }
    
    // Next assigns the next port for the given protocol.
    func (g *portGenerator) Next(protocol protocol.Instance) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    			}
    
    			if schema.Properties != nil {
    				isNamed = true
    			} else if schema.AdditionalProperties != nil {
    				isNamed = false
    			} else {
    				return nil, nil, fmt.Errorf("does not refer to a valid field")
    			}
    			if err := appendToPath(unescaped, isNamed); err != nil {
    				return nil, nil, err
    			}
    			if !scanner.Scan() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0
        if (reservedFlag3) throw ProtocolException("Unexpected rsv3 flag")
    
        val b1 = source.readByte() and 0xff
    
        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KotlinFirReferenceContributor.kt

                        )
                    }
                }
    
                registerProvider provider@{ element: KtValueArgument ->
                    if (element.isNamed()) return@provider null
                    val annotationEntry = element.getParentOfTypeAndBranch<KtAnnotationEntry> { valueArgumentList } ?: return@provider null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Range.groovy

    class Range {
        private final long millis
    
        Range(long millis) {
            this.millis = millis
        }
    
        @Override
        String toString() {
            return "[approx $millis millis]"
        }
    
        boolean isCase(Duration duration) {
            def actualMillis = duration.millis
            return actualMillis > millis - 500 && actualMillis < millis + 2000
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. pkg/controller/volume/pvprotection/pv_protection_controller.go

    		return err
    	}
    
    	if protectionutil.IsDeletionCandidate(pv, volumeutil.PVProtectionFinalizer) {
    		// PV should be deleted. Check if it's used and remove finalizer if
    		// it's not.
    		isUsed := c.isBeingUsed(pv)
    		if !isUsed {
    			return c.removeFinalizer(ctx, pv)
    		}
    		logger.V(4).Info("Keeping PV because it is being used", "PV", klog.KRef("", pvName))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top