Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,471 for message_0 (0.08 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_first_steps/test_tutorial001.py

    from docs_src.first_steps.tutorial001 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/build_cleaner_spec.textproto

    # proto-file: devtools/build_cleaner/proto/actions.proto
    # proto-message: ActionSpecs
    
    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 29 18:16:42 UTC 2023
    - 387 bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *allTierStats) Msgsize() (s int) {
    	s = 1 + 3 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard.jsp

                                    </h3>
                                </div>
                                <div class="card-body">
                                        <%-- Message: BEGIN --%>
                                    <div>
                                        <la:info id="msg" message="true">
                                            <div class="alert alert-info">${msg}</div>
                                        </la:info>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial003_04_py310.py

    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  7. docs_src/response_model/tutorial003_02.py

    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 381 bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      absl::Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:24:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. docs_src/behind_a_proxy/tutorial004.py

        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 17:28:18 UTC 2020
    - 437 bytes
    - Viewed (0)
  10. docs_src/cors/tutorial001.py

    app.add_middleware(
        CORSMiddleware,
        allow_origins=origins,
        allow_credentials=True,
        allow_methods=["*"],
        allow_headers=["*"],
    )
    
    
    @app.get("/")
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 459 bytes
    - Viewed (0)
Back to top