Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 768 for imag (0.09 seconds)

  1. src/builtin/builtin.go

    // The return value will be floating point type corresponding to the type of c.
    func real(c ComplexType) FloatType
    
    // The imag built-in function returns the imaginary part of the complex
    // number c. The return value will be floating point type corresponding to
    // the type of c.
    func imag(c ComplexType) FloatType
    
    // The clear built-in function clears maps and slices.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. doc/go_spec.html

    </p>
    
    <pre>
    const (
    	c1 = imag(2i)                    // imag(2i) = 2.0 is a constant
    	c2 = len([10]float64{2})         // [10]float64{2} contains no function calls
    	c3 = len([10]float64{c1})        // [10]float64{c1} contains no function calls
    	c4 = len([10]float64{imag(2i)})  // imag(2i) is a constant and no function call is issued
    	c5 = len([10]float64{imag(z)})   // invalid: imag(z) is a (non-constant) function call
    )
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  3. docs/en/overrides/main.html

            <img class="sponsor-image" src="/img/sponsors/propelauth-banner.png" />
          </a>
        </div>
        <div class="item">
          <a title="Zuplo: Scale, Protect, Document, and Monetize your FastAPI" style="display: block; position: relative;" href="https://zuplo.link/fastapi-web" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/zuplo-banner.png" />
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 01 20:06:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_additional_responses/test_tutorial004.py

    
    @workdir_lock
    def test_path_operation_img(client: TestClient):
        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        response = client.get("/items/foo?img=1")
        assert response.status_code == 200, response.text
        assert response.headers["Content-Type"] == "image/png"
        assert len(response.content)
        os.remove("./image.png")
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  5. docs_src/additional_responses/tutorial004_py310.py

    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  6. docs_src/additional_responses/tutorial002_py310.py

        "/items/{item_id}",
        response_model=Item,
        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 596 bytes
    - Click Count (0)
  7. docs/en/docs/css/custom.css

       JS sets data-external-link on links pointing outside the site
       Skip image links, .no-link-icon, and .announce-link */
    a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link) {
      /* For right to left languages */
      direction: ltr;
      display: inline-block;
    }
    
    a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link)::after {
      content: "";
      display: inline-block;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial002.py

    
    @workdir_lock
    def test_path_operation_img(client: TestClient):
        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        response = client.get("/items/foo?img=1")
        assert response.status_code == 200, response.text
        assert response.headers["Content-Type"] == "image/png"
        assert len(response.content)
        os.remove("./image.png")
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/main/webapp/js/search.js

      }
    
      var loadImage = function(img, url, limit) {
        var imgData = new Image();
    
        $(imgData).on("load", function() {
          $(img).css("background-image", "");
          $(img).attr("src", url);
        });
    
        $(imgData).on("error", function() {
          if (limit > 0) {
            setTimeout(function() {
              loadImage(img, url, limit - 1);
            }, IMG_LOADING_DELAY);
          } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

        }
    
        private void assertImageSize(File file, int width, int height) throws IOException {
            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    
        // Tests for atomic file operations (TOCTOU fix)
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top