Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 647 for dumpTo (0.24 sec)

  1. docs/ko/docs/tutorial/encoder.md

    {!../../../docs_src/encoder/tutorial001.py!}
    ```
    
    이 예시는 Pydantic 모델을 `dict`로, `datetime` 형식을 `str`로 변환합니다.
    
    이렇게 호출한 결과는 파이썬 표준인 <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>로 인코딩 할 수 있습니다.
    
    길이가 긴 문자열 형태의 JSON 형식(문자열)의 데이터가 들어있는 상황에서는 `str`로 반환하지 않습니다. JSON과 모두 호환되는 값과 하위 값이 있는 Python 표준 데이터 구조 (예: `dict`)를 반환합니다.
    
    !!! note "참고"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Dec 08 15:43:31 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/compile.go

        on, off, debug, mem, time, test, stats, dump, seed
    
    - <value> defaults to 1
    
    - <function_name> is required for the "dump" flag, and specifies the
      name of function to dump after <phase>
    
    Phase "all" supports flags "time", "mem", and "dump".
    Phase "intrinsics" supports flags "on", "off", and "debug".
    Phase "genssa" (assembly generation) supports the flag "dump".
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. pkg/controller/bootstrap/common_test.go

    	for i, a := range actual {
    		if len(expected) < i+1 {
    			t.Errorf("%d unexpected actions: %s", len(actual)-len(expected), dump.Pretty(actual[i:]))
    			break
    		}
    
    		e := expected[i]
    		if !helper.Semantic.DeepEqual(e, a) {
    			t.Errorf("Expected\n\t%s\ngot\n\t%s", dump.Pretty(e), dump.Pretty(a))
    			continue
    		}
    	}
    
    	if len(expected) > len(actual) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

        DEBUGGER_TYPE_FLOAT_PER_LAYER = 3;
      }
    
      DebuggerType debugger_type = 1;
    
      // Path to save unquantized model with dump tensor ops attached.
      // Used when debugger_type is WHOLE_MODEL.
      string unquantized_dump_model_path = 2;
    
      // Path to save debugger related logs. Defaults to '/tmp/dumps'.
      string log_dir_path = 3;
    }
    
    // Defines various calibration options.
    // Next ID: 6
    message CalibrationOptions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

                                PrintCallbackFn print_callback) override {
        Dump(pass, print_callback, /*is_before=*/true);
      }
    
      void printAfterIfEnabled(mlir::Pass* pass, mlir::Operation* op,
                               PrintCallbackFn print_callback) override {
        Dump(pass, print_callback, /*is_before=*/false);
      }
    
     private:
      int64_t mlir_pass_count_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/net/http/httputil/example_test.go

    )
    
    func ExampleDumpRequest() {
    	ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		dump, err := httputil.DumpRequest(r, true)
    		if err != nil {
    			http.Error(w, fmt.Sprint(err), http.StatusInternalServerError)
    			return
    		}
    
    		fmt.Fprintf(w, "%q", dump)
    	}))
    	defer ts.Close()
    
    	const body = "Go is a general-purpose language designed with systems programming in mind."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 20:01:36 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/ecds.go

    )
    
    // GetEcdsConfigDump retrieves the extension config dump from the ConfigDump
    func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error) {
    	ecdsDumpAny, err := w.getSections(ecds)
    	if err != nil {
    		return nil, err
    	}
    
    	ecdsDump := &admin.EcdsConfigDump{}
    	for _, dump := range ecdsDumpAny {
    		ecds := &admin.EcdsConfigDump{}
    		err = dump.UnmarshalTo(ecds)
    		if err != nil {
    			return nil, err
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/secret.go

    	extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    // GetSecretConfigDump retrieves a secret dump from a config dump wrapper
    func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
    	secretDumpAny, err := w.getSection(secrets)
    	if err != nil {
    		return nil, err
    	}
    	secretDump := &admin.SecretsConfigDump{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 25 04:09:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py

    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize("compress", [True, False])
    def test_gzip_request(compress):
        n = 1000
        headers = {}
        body = [1] * n
        data = json.dumps(body).encode()
        if compress:
            data = gzip.compress(data)
            headers["Content-Encoding"] = "gzip"
        headers["Content-Type"] = "application/json"
        response = client.post("/sum", content=data, headers=headers)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 886 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    //
    //	$ rm -f dump.txt
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ rm -f dump.txt foo.a
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ ls foo.a dump.txt > /dev/null
    //	ls : cannot access 'dump.txt': No such file or directory
    //	$
    //
    // For this reason, pick a unique filename for the dump, so as to
    // defeat the caching.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top