Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for digit (0.02 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         */
        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
            String b = "1234567890.12345"; // 10 digit number
            String c = "123456789012345.1H.5-beta"; // 15 digit number
            String d = "12345678901234567890.1H.5-beta"; // 20 digit number
    
            checkVersionsOrder(a, b);
            checkVersionsOrder(b, c);
            checkVersionsOrder(a, c);
            checkVersionsOrder(c, d);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	"strings"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    // This regular expression seeks to find a sequence of digits (\d+) among zero or more non-digit characters (\D*),
    // with a possible trailing non-digit character (\D?).
    
    // For example, values that can pass this regular expression are:
    // - "123"
    // - "abc456"
    // -"%$#@789"
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    		// like an IP address.
    		isNotNumber := false
    		for i := range len(piece) {
    			switch {
    			case (piece[i] >= 'a' && piece[i] <= 'z' ||
    				piece[i] == '-'):
    				// Found a non-digit character, so
    				// this piece is not a number.
    				isNotNumber = true
    			case piece[i] >= '0' && piece[i] <= '9':
    				// Nothing to do.
    			default:
    				// Found invalid character.
    				return false
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     * <ul>
     * <li>Mixing of '<code>-</code>' (hyphen) and '<code>.</code>' (dot) separators,</li>
     * <li>Transition between characters and digits also constitutes a separator:
     *     <code>1.0alpha1 =&gt; [1, [alpha, 1]]</code></li>
     * <li>Unlimited number of version components,</li>
     * <li>Version components in the text can be digits or strings,</li>
     * <li>Strings are checked for well-known qualifiers, and the qualifier ordering is used for version ordering.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  5. src/bytes/example_test.go

    	}
    
    	mixedText := []byte("abc123def456ghi")
    	fmt.Println("\nSplit on digits:")
    	for word := range bytes.FieldsFuncSeq(mixedText, unicode.IsDigit) {
    		fmt.Printf("%q\n", word)
    	}
    
    	// Output:
    	// Split on whitespace(similar to FieldsSeq):
    	// "The"
    	// "quick"
    	// "brown"
    	// "fox"
    	//
    	// Split on digits:
    	// "abc"
    	// "def"
    	// "ghi"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. docs/pt/docs/virtual-environments.md

    Isso significa que o sistema agora começará a procurar primeiro por programas em:
    
    ```plaintext
    /home/user/code/awesome-project/.venv/bin
    ```
    
    antes de procurar nos outros diretórios.
    
    Então, quando você digita `python` no terminal, o sistema encontrará o programa Python em
    
    ```plaintext
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    e usa esse.
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. docs/pt/docs/python-types.md

    Era `upper`? Era `uppercase`? `first_uppercase`? `capitalize`?
    
    Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor.
    
    Você digita o primeiro parâmetro da função, `first_name`, depois um ponto (`.`) e, em seguida, pressiona `Ctrl + Space` para acionar a conclusão.
    
    Mas, infelizmente, você não obtém nada útil:
    
    <img src="/img/python-types/image01.png">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. src/archive/tar/tar_test.go

    func TestRoundTrip(t *testing.T) {
    	data := []byte("some file contents")
    
    	var b bytes.Buffer
    	tw := NewWriter(&b)
    	hdr := &Header{
    		Name:       "file.txt",
    		Uid:        1 << 21, // Too big for 8 octal digits
    		Size:       int64(len(data)),
    		ModTime:    time.Now().Round(time.Second),
    		PAXRecords: map[string]string{"uid": "2097152"},
    		Format:     FormatPAX,
    		Typeflag:   TypeReg,
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    			return false
    		case 'a' <= r && r <= 'z':
    			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)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top