Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 220 for Alain (0.18 sec)

  1. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        val interceptorResponse =
          Response.Builder()
            .request(request)
            .protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("Intercepted!")
            .body("abc".toResponseBody("text/plain; charset=utf-8".toMediaType()))
            .build()
        client =
          client.newBuilder()
            .addInterceptor(Interceptor { chain: Interceptor.Chain? -> interceptorResponse })
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. docs_src/security/tutorial004_an_py310.py

    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. api/maven-api-model/src/site/apt/index.apt

     Jason van Zyl
     Vincent Siveton
     Hervé Boutemy
     -----
     2011-06-12
     -----
    
    Maven 4 API - Immutable Maven Model
    
     This is strictly the immutable model for Maven POM (Project Object Model), so really just plain objects in <<<org.apache.maven.api.model>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Dec 31 16:32:07 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    
      @Test
      fun requestBodySuccessHttp() {
        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. docs_src/security/tutorial004.py

    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. docs_src/security/tutorial004_an.py

    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                }
                else if ( this.ctx.getConfig().isDisablePlainTextPasswords() ) {
                    throw new RuntimeCIFSException("Plain text passwords are disabled");
                }
                else {
                    // plain text
                    this.password = new byte[ ( pwAuth.getPassword().length() + 1 ) * 2];
                    this.passwordLength = writeString(pwAuth.getPassword(), this.password, 0);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    		b.WriteString("| Name | Type | Help | Labels |\n")
    		b.WriteString("| ---- | ---- | ---- | ------ |\n")
    		for _, metric := range metrics {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005_py310.py

    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_an_py310.py

    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top