Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for rimmed (0.21 sec)

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

        val headers =
          Headers.Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py

    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/")
        assert response.json() == {"message": "Not timed"}
        assert "X-Response-Time" not in response.headers
    
    
    def test_get_timed():
        response = client.get("/timed")
        assert response.json() == {"message": "It's the time of my life"}
        assert "X-Response-Time" in response.headers
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 09 18:06:12 GMT 2020
    - 526 bytes
    - Viewed (0)
  3. docs_src/custom_request_and_route/tutorial003.py

                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	out, err := json.MarshalIndent(secretDump, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal secrets dump: %v", err)
    	}
    	if outputFormat == "yaml" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/PingResponse.java

    import org.opensearch.common.xcontent.XContentType;
    
    public class PingResponse {
        private static final String CLUSTER_NAME = "cluster_name";
        private static final String STATUS = "status";
        private static final String TIMED_OUT = "timed_out";
        private static final String NUMBER_OF_NODES = "number_of_nodes";
        private static final String NUMBER_OF_DATA_NODES = "number_of_data_nodes";
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        runUntimedInterruptsTest(38);
      }
    
      public void testMakeUninterruptible_timed_uninterrupted() throws Exception {
        runTimedInterruptsTest(0);
      }
    
      public void testMakeUninterruptible_timed_interrupted() throws Exception {
        runTimedInterruptsTest(1);
      }
    
      public void testMakeUninterruptible_timed_multiplyInterrupted() throws Exception {
        runTimedInterruptsTest(38);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            ReleasedVersionsDetails(
                moduleIdentity.version.get().baseVersion,
                releasedVersionsFile()
            )
        }
    
        return versionNumber
    }
    
    /**
     * Returns the trimmed contents of the file at the given [path] after
     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
        providers.fileContents(repoRoot().file(path)).asText.get().trim()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/configdump.go

    // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintBootstrapDump(outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	bootstrapDump, err := c.configDump.GetBootstrapConfigDump()
    	if err != nil {
    		return err
    	}
    	out, err := protomarshal.ToJSONWithIndent(bootstrapDump, "    ")
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/clusters/clusters.go

    func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error {
    	if c.clusters == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	clusterEndpoint := make([]EndpointCluster, 0)
    	for _, cluster := range c.clusters.ClusterStatuses {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top