Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 1,523 for dwrite (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * to be the last step of the pipeline.
     *
     * <h4>Transforming</h4>
     *
     * To derive the next step by asynchronously applying a function to an input step's value, call
     * {@link #transform(ClosingFunction, Executor)} or {@link #transformAsync(AsyncClosingFunction,
     * Executor)} on the input step.
     *
     * <h4>Catching</h4>
     *
     * To derive the next step from a failed input step, call {@link #catching(Class, ClosingFunction,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/websockets.md

    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="81-83"
    {!> ../../docs_src/websockets/tutorial003.py!}
    ```
    
    ////
    
    To try it out:
    
    * Open the app with several browser tabs.
    * Write messages from them.
    * Then close one of the tabs.
    
    That will raise the `WebSocketDisconnect` exception, and all the other clients will receive a message like:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal.Equals(fileInfoPostHeal) {
    		t.Fatal("HealObject failed")
    	}
    
    	uuid, _ := uuid2.NewRandom()
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		err = os.MkdirAll(dir, os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		err = os.WriteFile(pathJoin(dir, "part.1"), []byte("some data"), os.ModePerm)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    * <a href="https://www.linkedin.com/in/tiangolo/" class="external-link" target="_blank">Follow me on **LinkedIn**</a>.
        * Hear when I make announcements or release new tools (although I use Twitter more often 🤷‍♂).
    * Read what I write (or follow me) on <a href="https://dev.to/tiangolo" class="external-link" target="_blank">**Dev.to**</a> or <a href="https://medium.com/@tiangolo" class="external-link" target="_blank">**Medium**</a>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.nio.Buffer;
    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_1x.md

     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
       Use `X-Android-Transports` to write the preferred transports and
       `X-Android-Selected-Transport` to read the negotiated transport.
    
    
    ## Version 1.0.2
    
    _2013-05-11_
    
     * Fix: Remove use of Java 6-only APIs.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          .isEqualTo("/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      private fun dnsResponse(s: String): MockResponse {
        return MockResponse.Builder()
          .body(Buffer().write(s.decodeHex()))
          .addHeader("content-type", "application/dns-message")
          .addHeader("content-length", s.length / 2)
          .build()
      }
    
      private fun buildLocalhost(
        bootstrapClient: OkHttpClient,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

    **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI.
    
    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/testing.md

    Create functions with a name that starts with `test_` (this is standard `pytest` conventions).
    
    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. docs/sts/web-identity.go

    		response["buckets"] = bucketNames
    		c, err := json.MarshalIndent(response, "", "\t")
    		if err != nil {
    			http.Error(w, err.Error(), http.StatusInternalServerError)
    			return
    		}
    		w.Write(c)
    	})
    
    	address := fmt.Sprintf(":%v", port)
    	log.Printf("listening on http://%s/", address)
    	log.Fatal(http.ListenAndServe(address, nil))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top