Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isDigits (0.05 seconds)

  1. src/bytes/bytes_test.go

    	{"", isValidRune, -1, -1},
    	{"abc", isDigit, -1, -1},
    	{"0123", isDigit, 0, 3},
    	{"a1b", isDigit, 1, 1},
    	{space, isSpace, 0, len(space) - 3}, // last rune in space is 3 bytes
    	{"\u0e50\u0e5212hello34\u0e50\u0e51", isDigit, 0, 18},
    	{"\u2C6F\u2C6F\u2C6F\u2C6FABCDhelloEF\u2C6F\u2C6FGH\u2C6F\u2C6F", isUpper, 0, 34},
    	{"12\u0e50\u0e52hello34\u0e50\u0e51", not(isDigit), 8, 12},
    
    	// tests of invalid UTF-8
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if (host == null || host.length() == 0) {
                return getLocalHost();
            }
    
            final Name name = new Name(this.transportContext.getConfig(), host, type, scope);
            if (!Character.isDigit(host.charAt(0))) {
                return doNameQuery(name, svr);
            }
    
            int IP = 0x00;
            int hitDots = 0;
            final char[] data = host.toCharArray();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    final int dot = server.indexOf('.');
                    if (dot > 0 && !Character.isDigit(server.charAt(0))) {
                        server = server.substring(0, dot);
                    }
                    try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  4. src/bytes/bytes.go

    			return false
    		case 'A' <= r && r <= 'Z':
    			return false
    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top