Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for xstr (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. operator/cmd/mesh/manifest_shared_test.go

    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    	if err := applyWithReconciler(reconciler, mstr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // applyWithReconciler applies the given manifest string using the given reconciler.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params-str-validations.md

        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    πŸ”’ πŸ”’ `q` πŸ†Ž `Union[str, None]` (βš–οΈ `str | None` 🐍 3️⃣.1️⃣0️⃣), πŸ‘ˆ β›“ πŸ‘ˆ ⚫️ πŸ†Ž `str` βœ‹οΈ πŸ’ͺ `None`, &amp; πŸ‘, πŸ”’ πŸ’² `None`, FastAPI πŸ”œ πŸ’­ ⚫️ 🚫 βœ”.
    
    !!! note
        FastAPI πŸ”œ πŸ’­ πŸ‘ˆ πŸ’² `q` 🚫 βœ” ↩️ πŸ”’ πŸ’² `= None`.
    
         `Union` `Union[str, None]` πŸ”œ βœ” πŸ‘† πŸ‘¨β€πŸŽ¨ 🀝 πŸ‘† πŸ‘ πŸ•β€πŸ¦Ί &amp; πŸ” ❌.
    
    ## πŸŒ– πŸ”¬
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

    === "Python 3.10+"
    
        ```Python
        q: str | None = None
        ```
    
    === "Python 3.8+"
    
        ```Python
        q: Union[str, None] = None
        ```
    
    Π’ΠΎΡ‚ Ρ‡Ρ‚ΠΎ ΠΌΡ‹ ΠΏΠΎΠ»ΡƒΡ‡ΠΈΠΌ, Ссли ΠΎΠ±Π΅Ρ€Π½Ρ‘ΠΌ это Π² `Annotated`:
    
    === "Python 3.10+"
    
        ```Python
        q: Annotated[str | None] = None
        ```
    
    === "Python 3.8+"
    
        ```Python
        q: Annotated[Union[str, None]] = None
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    Der Query-Parameter `q` hat den Typ `Union[str, None]` (oder `str | None` in Python 3.10), was bedeutet, er ist entweder ein `str` oder `None`. Der Defaultwert ist `None`, also weiß FastAPI, der Parameter ist nicht erforderlich.
    
    !!! note "Hinweis"
        FastAPI weiß nur dank des definierten Defaultwertes `=None`, dass der Wert von `q` nicht erforderlich ist
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. src/testing/fuzz.go

    	if *isFuzzWorker || f.parent == nil {
    		return
    	}
    	dstr := fmtDuration(f.duration)
    	format := "--- %s: %s (%s)\n"
    	if f.Failed() {
    		f.flushToParent(f.name, format, "FAIL", f.name, dstr)
    	} else if f.chatty != nil {
    		if f.Skipped() {
    			f.flushToParent(f.name, format, "SKIP", f.name, dstr)
    		} else {
    			f.flushToParent(f.name, format, "PASS", f.name, dstr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        TearDownTestCaseFunc tear_down_tc,
        TestFactoryBase* factory);
    
    // If *pstr starts with the given prefix, modifies *pstr to be right
    // past the prefix and returns true; otherwise leaves *pstr unchanged
    // and returns false.  None of pstr, *pstr, and prefix can be NULL.
    GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
    
    #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top