Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for isLetter (1.21 sec)

  1. src/reflect/type.go

    	m sync.Map
    }
    
    type structTypeUncommon struct {
    	structType
    	u uncommonType
    }
    
    // isLetter reports whether a given 'rune' is classified as a Letter.
    func isLetter(ch rune) bool {
    	return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch)
    }
    
    // isValidFieldName checks if a string is a valid (struct) field name or not.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

       */
      @Deprecated
      public static CharMatcher javaDigit() {
        return JavaDigit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP letter according to {@linkplain
       * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin
       * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

       */
      @Deprecated
      public static CharMatcher javaDigit() {
        return JavaDigit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP letter according to {@linkplain
       * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin
       * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    	if name == "" {
    		return false
    	}
    
    	// Tags must be letters, digits, underscores or dots.
    	// Unlike in Go identifiers, all digits are fine (e.g., "386").
    	for _, c := range name {
    		if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
    			return false
    		}
    	}
    
    	if slices.Contains(build.Default.ReleaseTags, name) {
    		return true
    	}
    
    	if strings.HasPrefix(name, "goexperiment.") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/go/build/build.go

    func parseWord(data []byte) (word, rest []byte) {
    	data = skipSpaceOrComment(data)
    
    	// Parse past leading word characters.
    	rest = data
    	for {
    		r, size := utf8.DecodeRune(rest)
    		if unicode.IsLetter(r) || '0' <= r && r <= '9' || r == '_' {
    			rest = rest[size:]
    			continue
    		}
    		break
    	}
    
    	word = data[:len(data)-len(rest)]
    	if len(word) == 0 {
    		return nil, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. src/testing/testing.go

    				if '0' <= r && r <= '9' ||
    					'a' <= r && r <= 'z' ||
    					'A' <= r && r <= 'Z' {
    					return r
    				}
    				if strings.ContainsRune(allowed, r) {
    					return r
    				}
    			} else if unicode.IsLetter(r) || unicode.IsNumber(r) {
    				return r
    			}
    			return -1
    		}
    		pattern := strings.Map(mapper, c.Name())
    		c.tempDir, c.tempDirErr = os.MkdirTemp("", pattern)
    		if c.tempDirErr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            WeaklyTypeReferencingMethod<?, ?> setter = property.getAccessor(SETTER);
            if (setter != null && property.getSchema() instanceof ScalarValueSchema) {
                // TODO - should we support this?
                // Adds a void $propName(Object value) method that simply delegates to the converting setter method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                    if (property.setMethods.isEmpty()) {
                        Set<Class<?>> appliedTo = new HashSet<>();
                        for (Method setter : property.setters) {
                            if (appliedTo.add(setter.getParameterTypes()[0])) {
                                visitor.addSetMethod(property, setter);
                            }
                        }
                    } else if (extensibleTypeHandler.conventionProperties.contains(property)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters_test.go

    				// but we may choose to sort in the setter at some future point
    				// (e.g. if the image cache stopped sorting for us)
    				sort.Sort(sliceutils.ByImageSize(tc.imageList))
    				return tc.imageList, tc.imageListError
    			}
    			// construct setter
    			setter := Images(tc.maxImages, imageListFunc)
    			// call setter on node
    			node := &v1.Node{}
    			err := setter(ctx, node)
    			require.Equal(t, tc.expectError, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		// Add actions at the item path: /api/apiVersion/resource/{name}
    		actions = appendIf(actions, action{"GET", itemPath, nameParams, namer, false}, isGetter)
    		if getSubpath {
    			actions = appendIf(actions, action{"GET", itemPath + "/{path:*}", proxyParams, namer, false}, isGetter)
    		}
    		actions = appendIf(actions, action{"PUT", itemPath, nameParams, namer, false}, isUpdater)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top