Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sideEffect (0.06 sec)

  1. doc/go_spec.html

    </p>
    
    <p>
    For instance, given the declarations
    </p>
    
    <pre>
    var x = I(T{}).ab()   // x has an undetected, hidden dependency on a and b
    var _ = sideEffect()  // unrelated to x, a, or b
    var a = b
    var b = 42
    
    type I interface      { ab() []int }
    type T struct{}
    func (T) ab() []int   { return []int{a, b} }
    </pre>
    
    <p>
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
  2. tests/test_tutorial/test_body/test_tutorial001.py

                    "input": '{"name": "Foo", "price": 50.5}',
                }
            ]
        }
    
    
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top