- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for wstr (0.06 sec)
-
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go
const pathBase = 1000 // Path returns a tile coordinate path describing t. func (t Tile) Path() string { n := t.N nStr := fmt.Sprintf("%03d", n%pathBase) for n >= pathBase { n /= pathBase nStr = fmt.Sprintf("x%03d/%s", n%pathBase, nStr) } pStr := "" if t.W != 1<<uint(t.H) { pStr = fmt.Sprintf(".p/%d", t.W) } var L string if t.L == -1 { L = "data" } else { L = fmt.Sprintf("%d", t.L)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/mdo/writer-stax.vm
XMLOutputFactory factory = new com.ctc.wstx.stax.WstxOutputFactory(); factory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, false); factory.setProperty(com.ctc.wstx.api.WstxOutputProperties.P_USE_DOUBLE_QUOTES_IN_XML_DECL, true); factory.setProperty(com.ctc.wstx.api.WstxOutputProperties.P_ADD_SPACE_AFTER_EMPTY_ELEM, true);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 20.2K bytes - Viewed (0) -
operator/pkg/validate/common.go
// get validation function for specified path func getValidationFuncForPath(validations map[string]ValidatorFunc, path util.Path) (ValidatorFunc, bool) { pstr := path.String() // fast match if !strings.Contains(pstr, "[") && !strings.Contains(pstr, "]") { vf, ok := validations[pstr] return vf, ok } for p, vf := range validations { ps := strings.Split(p, ".") if len(ps) != len(path) { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0) -
operator/pkg/translate/translate_value.go
if err != nil { return err } if !found { scope.Debugf("path %s not found in helm Value.yaml tree, skip mapping.", inPath) continue } if mstr, ok := m.(string); ok && mstr == "" { scope.Debugf("path %s is empty string, skip mapping.", inPath) continue } // Zero int values are due to proto3 compiling to scalars rather than ptrs. Skip these because values of 0 are
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 03:52:24 UTC 2024 - 21.6K bytes - Viewed (0) -
pkg/wasm/cache.go
if d, err := name.NewDigest(key.downloadURL[len(ociURLPrefix):]); err == nil { // If there is no checksum and the digest is suffixed in URL, use the digest. dstr := d.DigestStr() if strings.HasPrefix(dstr, sha256SchemePrefix) { key.checksum = dstr[len(sha256SchemePrefix):] } // For other digest scheme, give up to use cache. } } if len(key.checksum) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/doc/testdata/testing.go
after() } func (t *T) report() { tstr := fmt.Sprintf("(%.2f seconds)", t.duration.Seconds()) format := "--- %s: %s %s\n%s" if t.failed { fmt.Printf(format, "FAIL", t.name, tstr, t.output) } else if *chatty { fmt.Printf(format, "PASS", t.name, tstr, t.output) } } func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool) { ok = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required. !!! note FastAPI will know that the value of `q` is not required because of the default value `= None`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 31 02:38:05 UTC 2024 - 25.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
case jcifs.SID.SID_TYPE_DOMAIN: case jcifs.SID.SID_TYPE_ALIAS: case jcifs.SID.SID_TYPE_WKN_GRP: rpc.unicode_string ustr = rpc.domains.domains[ resp.sid_index ].name; out.domainName = ( new UnicodeString(ustr, false) ).toString(); break; } UnicodeString ucstr = new UnicodeString(resp.name, false);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
``` Le paramètre de requête `q` a pour type `Union[str, None]` (ou `str | None` en Python 3.10), signifiant qu'il est de type `str` mais pourrait aussi être égal à `None`, et bien sûr, la valeur par défaut est `None`, donc **FastAPI** saura qu'il n'est pas requis. !!! note **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `= None`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jul 27 18:53:21 UTC 2023 - 9.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
以下のアプリケーションを例にしてみましょう: ```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial001.py!} ``` クエリパラメータ `q` は `Optional[str]` 型で、`None` を許容する `str` 型を意味しており、デフォルトは `None` です。そのため、FastAPIはそれが必須ではないと理解します。 !!! note "備考" FastAPIは、 `q` はデフォルト値が `=None` であるため、必須ではないと理解します。 `Optional[str]` における `Optional` はFastAPIには利用されませんが、エディターによるより良いサポートとエラー検出を可能にします。 ## バリデーションの追加 `q`はオプショナルですが、もし値が渡されてきた場合には、**50文字を超えないこと**を強制してみましょう。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 10.5K bytes - Viewed (0)