Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for RB (0.03 sec)

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
            response = client.post(
                "/files/",
                data={"token": "foo"},
                files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")},
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
            response = client.post(
                "/files/",
                data={"token": "foo"},
                files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")},
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_ppc64x.s

    #  ifdef GOPPC64_power9
    #define P8_LXVB16X(RA,RB,VT)  LXVB16X	(RA+RB), VT
    #define P8_STXVB16X(VS,RA,RB) STXVB16X	VS, (RA+RB)
    #define XXBRD_ON_LE(VA,VT)    XXBRD	VA, VT
    #  else
    // On POWER8/ppc64le, emulate the POWER9 instructions by loading unaligned
    // doublewords and byte-swapping each doubleword to emulate BE load/stores.
    #define NEEDS_ESPERM
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X	(RA+RB), VT \
    	VPERM	VT, VT, ESPERM, VT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py

        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/compare.go

    					cmplw = ir.NewBinaryExpr(base.Pos, ir.OOR, cmplw, lb)
    					rb := ir.Node(ir.NewIndexExpr(base.Pos, cmpr, ir.NewInt(base.Pos, i+offset)))
    					rb = typecheck.Conv(rb, elemType)
    					rb = typecheck.Conv(rb, convType)
    					rb = ir.NewBinaryExpr(base.Pos, ir.OLSH, rb, ir.NewInt(base.Pos, 8*t.Elem().Size()*offset))
    					cmprw = ir.NewBinaryExpr(base.Pos, ir.OOR, cmprw, rb)
    				}
    				comp(cmplw, cmprw)
    				i += step
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_ppc64x.s

    #  ifdef GOPPC64_power9
    #define P8_LXVB16X(RA,RB,VT)   LXVB16X (RA)(RB), VT
    #define P8_STXVB16X(VS,RA,RB)  STXVB16X VS, (RA)(RB)
    #  else
    #define NEEDS_ESPERM
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X  (RA+RB), VT \
    	VPERM	VT, VT, ESPERM, VT
    
    #define P8_STXVB16X(VS,RA,RB) \
    	VPERM	VS, VS, ESPERM, TMP2; \
    	STXVD2X TMP2, (RA+RB)
    
    #  endif
    #else
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X  (RA+RB), VT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py

        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py310
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/c/tf_tensor_internal.h

      TensorBuffer* root_buffer() override { return this; }
      void FillAllocationDescription(
          tensorflow::AllocationDescription* proto) const override {
        int64_t rb = size();
        proto->set_requested_bytes(rb);
        proto->set_allocator_name(tensorflow::cpu_allocator()->Name());
      }
    
      bool OwnsMemory() const override { return owns_memory_; }
    
     private:
      const size_t len_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue10407.go

    // Issue 10407: gccgo failed to remove carriage returns
    // from raw string literals.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("package main\nfunc main() { if `a\rb\r\nc` != \"ab\\nc\" { panic(42) }}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 392 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_02_an.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top