Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 743 for dumpms (0.14 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. docs_src/generate_clients/tutorial004.py

            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 493 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

    constexpr char kSuccess[] = "kSuccess";
    constexpr char kFailure[] = "kFailure";
    
    static inline absl::string_view StringRefToView(llvm::StringRef ref) {
      return {ref.data(), ref.size()};
    }
    
    // Dumps the MLIR module to disk.
    // This require the TF_DUMP_GRAPH_PREFIX to be set to a path that exist (or can
    // be created).
    static void DumpModule(mlir::ModuleOp module, std::string file_prefix) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Ascii.toUpperCase(string).length();
        }
        return dummy;
      }
    
      @Benchmark
      int asciiCharSequenceToUpperCase(int reps) {
        String string = noWorkToDo ? charSequenceToUpperCase(testString) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += charSequenceToUpperCase(string).length();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      int joinerWithStringDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy ^= JOINER_ON_STRING.join(components).length();
        }
        return dummy;
      }
    
      /** {@link Joiner} with a character delimiter. */
      @Benchmark
      int joinerWithCharacterDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy ^= JOINER_ON_CHARACTER.join(components).length();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt

    gopkg.in/dummy.v2-unstable v2.0.0
    written by hand
    
    -- .mod --
    module gopkg.in/dummy.v2-unstable
    -- .info --
    {"Version":"v2.0.0"}
    -- dummy.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 10 00:47:31 UTC 2018
    - 158 bytes
    - Viewed (0)
  7. test/goto.go

    	L:
    	} else {
    		goto L // ERROR "goto L jumps into block starting at LINE-3|goto jumps into block"
    	}
    }
    
    func _() {
    	if true {
    		goto L // ERROR "goto L jumps into block starting at LINE+1|goto jumps into block"
    	} else { // GCCGO_ERROR "block starts here"
    	L:
    	}
    }
    
    func _() {
    	if true {
    		goto L // ERROR "goto L jumps into block starting at LINE+1|goto jumps into block"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 02:27:58 UTC 2017
    - 8.4K bytes
    - Viewed (0)
  8. test/chan/select5.go

    	default:
    	{{end}}
    	{{if .Maybe}}
    	case dummy <- 1:
    		panic("dummy <- 1")
    	{{end}}
    	{{if .Maybe}}
    	case nilch <- 1:
    		panic("nilch <- 1")
    	{{end}}
    	{{if .Maybe}}
    	case <-dummy:
    		panic("<-dummy")
    	{{end}}
    	{{if .Maybe}}
    	case x = <-dummy:
    		panic("<-dummy x")
    	{{end}}
    	{{if .Maybe}}
    	case **(**int)(nil) = <-dummy:
    		panic("<-dummy (and didn't crash saving result!)")
    	{{end}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/enable-core-dump.yaml

    John Howard <******@****.***> 1565919828 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 460 bytes
    - Viewed (0)
  10. 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)
Back to top