Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for realSize (0.06 sec)

  1. src/archive/tar/writer.go

    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    			f.formatNumeric(blk.GNU().RealSize(), realSize)
    		}
    	*/
    	blk.setFormat(FormatGNU)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return this.nextCommand;
        }
    
        /**
         * Sets the read size for this message.
         *
         * @param readSize
         *            the readSize to set
         */
        public void setReadSize(final int readSize) {
            this.readSize = readSize;
        }
    
        /**
         * Checks whether this message is an asynchronous message.
         *
         * @return the async
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
    
            int r, n;
            final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off);
            do {
                r = len > readSize ? readSize : len;
                file.send(new SmbComReadAndX(file.fid, fp, r, null), response);
                n = response.dataLength;
                if (n <= 0) {
                    return (int) (fp - start > 0L ? fp - start : -1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-model.md

    De esta manera puedes añadir anotaciones de tipos correctas a tus funciones incluso cuando estás devolviendo un tipo diferente al modelo de response, para ser utilizado por el editor y herramientas como mypy. Y aún así puedes hacer que FastAPI realice la validación de datos, documentación, etc. usando el `response_model`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                try (SmbFileHandle h = ensureOpen()) {}
                this.readSize = th.getReceiveBufferSize() - 70;
                this.writeSize = th.getSendBufferSize() - 70;
    
                if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
                    this.largeReadX = true;
                    this.readSize =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
        private void init(final SmbTreeHandleInternal th) throws CIFSException {
            if (this.smb2) {
                this.readSize = th.getReceiveBufferSize();
                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (file.type == SmbFile.TYPE_NAMED_PIPE) {
                response.responseTimeout = 0;
            }
    
            int r, n;
            do {
                r = len > readSize ? readSize : len;
    
                if (LogStream.level >= 4) {
                    SmbFile.log.println("read: len=" + len + ",r=" + r + ",fp=" + fp);
                }
    
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/response-directly.md

    Isso te dá bastante flexibilidade. Você pode retornar qualquer tipo de dado, sobrescrever qualquer declaração e validação nos dados, etc.
    
    ## Utilizando o `jsonable_encoder` em uma `Response`
    
    Como o **FastAPI** não realiza nenhuma mudança na `Response` que você retorna, você precisa garantir que o conteúdo dela está pronto para uso.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    	// Alignment not required.
    	currentPaths sync.Map
    
    	cycleInfoMu sync.Mutex
    	cycleInfo   *currentScannerCycle
    }
    
    var globalScannerMetrics scannerMetrics
    
    const (
    	// START Realtime metrics, that only to records
    	// last minute latencies and total operation count.
    	scannerMetricReadMetadata scannerMetric = iota
    	scannerMetricCheckMissing
    	scannerMetricSaveUsage
    	scannerMetricApplyAll
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/testing-dependencies.md

    Probablemente quieras probar el proveedor externo una vez, pero no necesariamente llamarlo para cada test que se realice.
    
    En este caso, puedes sobrescribir la dependencia que llama a ese proveedor y usar una dependencia personalizada que devuelva un usuario de prueba, solo para tus tests.
    
    ### Usa el atributo `app.dependency_overrides`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top