Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for underscore (0.04 sec)

  1. internal/s3select/sql/stringfuncs.go

    )
    
    const (
    	percent    rune = '%'
    	underscore rune = '_'
    	runeZero   rune = 0
    )
    
    func evalSQLLike(text, pattern string, escape rune) (match bool, err error) {
    	s := []rune{}
    	prev := runeZero
    	hasLeadingPercent := false
    	patLen := len([]rune(pattern))
    	for i, r := range pattern {
    		if i > 0 && prev == escape {
    			switch r {
    			case percent, escape, underscore:
    				s = append(s, r)
    				prev = r
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/header-params.md

    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    {* ../../docs_src/header_params/tutorial002_an_py310.py hl[10] *}
    
    /// warning
    
    Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ///
    
    ## Duplicate headers { #duplicate-headers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Disable Convert Underscores { #disable-convert-underscores }
    
    The same way as with regular header parameters, when you have underscore characters in the parameter names, they are **automatically converted to hyphens**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_params/test_tutorial002.py

                {"strange_header": "FastAPI test"},
                200,
                {"strange_header": "FastAPI test"},
            ),
            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/labeltype/CreateForm.java

        public Integer crudMode;
    
        /**
         * The name of the label type.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The value of the label type (alphanumeric and underscore only).
         */
        @Required
        @Size(max = 100)
        @Pattern(regexp = "^[a-zA-Z0-9_]+$")
        public String value;
    
        /**
         * The paths to include for this label type.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Desativar conversão de underscores { #disable-convert-underscores }
    
    Da mesma forma que com parâmetros de cabeçalho normais, quando você tem caracteres de sublinhado nos nomes dos parâmetros, eles são **automaticamente convertidos em hifens**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-audit.go

    import (
    	"strconv"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins
    const (
    	lcEventSrc_None lcEventSrc = iota
    	lcEventSrc_Heal
    	lcEventSrc_Scanner
    	lcEventSrc_Decom
    	lcEventSrc_Rebal
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Как отключить автоматическое преобразование подчеркиваний { #disable-convert-underscores }
    
    Как и в случае с обычными заголовками, если у вас в именах параметров имеются символы подчеркивания, они **автоматически преобразовываются в дефис**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Automatische Umwandlung von Unterstrichen deaktivieren { #disable-convert-underscores }
    
    Ähnlich wie bei regulären Header-Parametern werden bei der Verwendung von Unterstrichen in den Parameternamen diese **automatisch in Bindestriche umgewandelt**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top