Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for strs (0.02 sec)

  1. callbacks.go

    	c.processor.callbacks = append(c.processor.callbacks, c)
    	return c.processor.compile()
    }
    
    // getRIndex get right index from string slice
    func getRIndex(strs []string, str string) int {
    	for i := len(strs) - 1; i >= 0; i-- {
    		if strs[i] == str {
    			return i
    		}
    	}
    	return -1
    }
    
    func sortCallbacks(cs []*callback) (fns []func(*DB), err error) {
    	var (
    		names, sorted []string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. cmd/sts-errors.go

    	},
    	ErrSTSNotInitialized: {
    		Code:           "STSNotInitialized",
    		Description:    "STS API not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSIAMNotInitialized: {
    		Code:           "STSIAMNotInitialized",
    		Description:    "STS IAM not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSUpstreamError: {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 05 00:29:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. docs/site-replication/gen-oidc-sts-cred.go

    package main
    
    // This programs mocks user interaction against Dex IDP and generates STS
    // credentials. It is for MinIO testing purposes only.
    //
    // Run like:
    //
    // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/query-params-str-validations.md

    이 응용 프로그램을 예로 들어보겠습니다:
    
    {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *}
    
    쿼리 매개변수 `q`는 `Optional[str]` 자료형입니다. 즉, `str` 자료형이지만 `None` 역시 될 수 있음을 뜻하고, 실제로 기본값은 `None`이기 때문에 FastAPI는 이 매개변수가 필수가 아니라는 것을 압니다.
    
    /// note | 참고
    
    FastAPI는 `q`의 기본값이 `= None`이기 때문에 필수가 아님을 압니다.
    
    `Optional[str]`에 있는 `Optional`은 FastAPI가 사용하는게 아니지만, 편집기에게 더 나은 지원과 오류 탐지를 제공하게 해줍니다.
    
    ///
    
    ## 추가 검증
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params-str-validations.md

    ➡️ ✊ 👉 🈸 🖼:
    
    {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *}
    
    🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, & 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔.
    
    /// note
    
    FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`.
    
     `Union` `Union[str, None]` 🔜 ✔ 👆 👨‍🎨 🤝 👆 👍 🐕‍🦺 & 🔍 ❌.
    
    ///
    
    ## 🌖 🔬
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/query-params-str-validations.md

    O parâmetro de consulta `q` é do tipo `Union[str, None]`, o que significa que é do tipo `str` mas que também pode ser `None`, e de fato, o valor padrão é `None`, então o FastAPI saberá que não é obrigatório.
    
    /// note | Observação
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. docs/sts/web-identity.py

    callback_uri = "http://localhost:8000/oauth2/callback"
    
    # keycloak id and secret
    client_id = 'account'
    client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0'
    
    sts_client = boto3.client(
        'sts',
        region_name='us-east-1',
        use_ssl=False,
        endpoint_url='http://localhost:9000',
    )
    
    app = Flask(__name__)
    
    
    @app.route('/')
    def homepage():
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

          }
          String str = builder.toString();
          HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putBytes(str.getBytes(UTF_8)).hash());
          assertEquals(hashUtf8, murmur3_32().hashString(str, UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putString(str, UTF_8).hash());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top