Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 818 for thrice (0.06 seconds)

  1. tests/test_stream_json_validation_error.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream-invalid")
    async def stream_items_invalid() -> AsyncIterable[Item]:
        yield {"name": "valid", "price": 1.0}
        yield {"name": "invalid", "price": "not-a-number"}
    
    
    @app.get("/items/stream-invalid-sync")
    def stream_items_invalid_sync() -> Iterable[Item]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 991 bytes
    - Click Count (0)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tests/test_tutorial/test_body_fields/test_tutorial001.py

                                    ],
                                },
                                "price": {
                                    "title": "Price",
                                    "exclusiveMinimum": 0.0,
                                    "type": "number",
                                    "description": "The price must be greater than zero",
                                },
                                "tax": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.higherKey("one")).isEqualTo("three");
        assertThat(map.higherKey("r")).isEqualTo("three");
        assertThat(map.ceilingKey("r")).isEqualTo("three");
        assertThat(map.ceilingKey("one")).isEqualTo("one");
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top