Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 814 for thrice (0.04 seconds)

  1. internal/logger/logger.go

    			// Form and append a line of stack trace into a
    			// collection, 'trace', to build full stack trace
    			trace = append(trace, fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName))
    
    			// Ignore trace logs beyond the following conditions
    			for _, name := range matchingFuncNames {
    				if funcName == name {
    					return trace
    				}
    			}
    		}
    		traceLevel++
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body/test_tutorial001.py

        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": None,
            "tax": None,
        }
    
    
    def test_post_with_str_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": "50.5"})
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *   <li>Supports both internal session operations and client-provided trace information</li>
     * </ul>
     *
     * <p>For internal session operations, the trace typically contains {@code *Request} objects
     * that represent the current processing state. Client code can also create traces with
     * application-specific data to provide context when invoking session methods.</p>
     *
     * <p>This trace information is particularly useful for:</p>
     * <ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. internal/logger/target/console/console.go

    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    	// Add a sequence number and formatting for each stack trace
    	// No formatting is required for the first entry
    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            doReturn(true).when(trace).isConnected();
            trace.acquire(); // usageCount becomes 1
    
            // Act & Assert: checkRelease should call isConnected() and not throw
            assertDoesNotThrow(trace::checkRelease);
            verify(trace, atLeastOnce()).isConnected();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

            RequestTrace trace;
            Source installationToolchainsSource;
            Source userToolchainsSource;
    
            public ToolchainsBuilderRequestBuilder session(ProtoSession session) {
                this.session = session;
                return this;
            }
    
            public ToolchainsBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

    def test_post_all(client: TestClient):
        data = {
            "name": "Special Offer",
            "description": "This is a special offer",
            "price": 38.6,
            "items": [
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                    "tags": ["foo"],
                    "images": [
                        {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            }
    
            /**
             * Sets the request trace for this request.
             * The trace is used for debugging and monitoring purposes.
             *
             * @param trace the request trace
             * @return this builder instance
             */
            public ProjectBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial002.py

            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_patch_all(client: TestClient):
        response = client.patch(
            "/items/foo",
            json={
                "name": "Fooz",
                "description": "Item description",
                "price": 3,
                "tax": 10.5,
                "tags": ["tag1", "tag2"],
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. tests/test_deprecated_responses.py

    
    class Item(BaseModel):
        name: str
        price: float
    
    
    # ORJSON
    
    
    def _make_orjson_app() -> FastAPI:
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", FastAPIDeprecationWarning)
            app = FastAPI(default_response_class=ORJSONResponse)
    
        @app.get("/items")
        def get_items() -> Item:
            return Item(name="widget", price=9.99)
    
        return app
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top