Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 4,730 for retain (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            byte[] retrievedKey = key.getKey();
    
            // Modify the retrieved key
            retrievedKey[0] = (byte) 0xFF;
    
            // Original key should remain unchanged
            assertEquals(0x01, key.getKey()[0]);
        }
    
        @Test
        @DisplayName("Should create readable string representation")
        void testToString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. internal/http/dial_linux.go

    		if err != nil {
    			return nil, err
    		}
    		if opts.DriveOPTimeout != nil {
    			// Read deadlines are sufficient for now as per various
    			// scenarios of hung node detection, we may add Write deadlines
    			// if needed later on.
    			return deadlineconn.New(conn).WithReadDeadline(opts.DriveOPTimeout()), nil
    		}
    		return conn, nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jul 23 10:53:03 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. docs_src/security/tutorial007_py310.py

            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: str = Depends(get_current_username)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  4. docs_src/security/tutorial007_an_py310.py

            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. fastapi/routing.py

                validation_error = RequestValidationError(
                    errors, body=body, endpoint_ctx=endpoint_ctx
                )
                raise validation_error
    
            # Return response
            assert response
            return response
    
        return app
    
    
    def get_websocket_app(
        dependant: Dependant,
        dependency_overrides_provider: Any | None = None,
        embed_body_fields: bool = False,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/security/simple-oauth2.md

    )
    ```
    
    /// info | Info
    
    Eine ausführlichere Erklärung von `**user_dict` finden Sie in [der Dokumentation für **Extra Modelle**](../extra-models.md#about-user-in-dict).
    
    ///
    
    ## Den Token zurückgeben { #return-the-token }
    
    Die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> des `token`-Endpunkts muss ein JSON-Objekt sein.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    )
    ```
    
    /// info
    
    For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user-in-dict).
    
    ///
    
    ## Return the token { #return-the-token }
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  8. tests/submodel_test.go

    import (
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  9. architecture/build-execution-model.md

    # Build execution model
    
    At the highest level, Gradle's execution model is quite simple:
    
    Below is the protocol in some more detail:
    
    1. The client looks for a compatible idle daemon. If there isn't one, it starts a new daemon.
    2. The client connects to the idle daemon and sends it a request to do some work. If the daemon is no longer running, the client starts again.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 907 bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/additional-responses.md

                },
                "HTTPValidationError": {
                    "title": "HTTPValidationError",
                    "type": "object",
                    "properties": {
                        "detail": {
                            "title": "Detail",
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/ValidationError"
                            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top