Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for resize (0.07 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final String testCommand = "convert ${url} -resize 100x100 ${outputFile}";
            final String tempPath = "/tmp/source.pdf";
            final String outputPath = "/tmp/thumbnail.jpg";
    
            final String expandedCommand = testCommand.replace("${url}", tempPath).replace("${outputFile}", outputPath);
    
            assertEquals("convert /tmp/source.pdf -resize 100x100 /tmp/thumbnail.jpg", expandedCommand);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/using-request-directly.md

    By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
    
    /// tip
    
    Note that in this case, we are declaring a path parameter beside the request parameter.
    
    So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize || size == -1:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[83:93] hl[83:84,88:89] *}
    
    ### Delete a Hero Again { #delete-a-hero-again }
    
    **Deleting** a hero stays pretty much the same.
    
    We won't satisfy the desire to refactor everything in this one. 😅
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[96:103] hl[101] *}
    
    ### Run the App Again { #run-the-app-again }
    
    You can run the app again:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize || size == -1:
    		if int64(globalBytePoolCap.Load().Width()) < fi.Erasure.BlockSize {
    			buffer = make([]byte, fi.Erasure.BlockSize, 2*fi.Erasure.BlockSize)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                            this.size = sizeInfo.getSize();
                            this.sizeExpiration = currentTime + cacheTimeout;
                            log.trace("Retrieved size info in additional query: {}", this.size);
                        }
                    } catch (CIFSException e) {
                        // Size query failed, but we have basic info - continue
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                size = response.info.getCapacity();
            } else if (getUncPath0().length() > 1 && type != TYPE_NAMED_PIPE) {
                final Info info = queryPath(getUncPath0(), Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO);
                size = info.getSize();
            } else {
                size = 0L;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top