Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for dataLen (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

         */
        private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
            final byte[] paramBytes = params.getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            byte[] buffer = new byte[10 + paramBytes.length + dataLen];
            // copy params
            System.arraycopy(paramBytes, 0, buffer, 10, paramBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                    dstIndex += 4;
                    SMBUtil.writeInt4(0, dst, dstIndex);
                    dstIndex += 4; // Reserved
                    final int dataLen = size8(nc.encode(dst, dstIndex));
                    SMBUtil.writeInt2(dataLen, dst, lenOffset);
                    dstIndex += dataLen;
                }
            }
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test when data length exceeds outputBuffer size
            byte[] buffer = new byte[2000];
            int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen));
    
            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    final int dataLen = SMBUtil.readInt2(buffer, ncpos + 2);
    
                    // Validate context data length
                    if (dataLen < 0 || dataLen > 1024) { // 1KB max per context
                        throw new SMBProtocolDecodingException(
                                "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)");
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    				int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
    				testCase.accessKey, testCase.secretKey)
    		case testCase.contentEncoding == "":
    			req, err = newTestStreamingSignedRequest(http.MethodPut,
    				getPutObjectURL("", testCase.bucketName, testCase.objectName),
    				int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    }
    
    // calculateSignedChunkLength - calculates the length of the overall stream (data + metadata)
    func calculateStreamContentLength(dataLen, chunkSize int64) int64 {
    	if dataLen <= 0 {
    		return 0
    	}
    	chunksCount := dataLen / chunkSize
    	remainingBytes := dataLen % chunkSize
    	var streamLen int64
    	streamLen += chunksCount * calculateSignedChunkLength(chunkSize)
    	if remainingBytes > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  7. docs/de/docs/index.md

        * Code-Vervollständigung.
        * Typprüfungen.
    * Validierung von Daten:
        * Automatische und eindeutige Fehler, wenn die Daten ungültig sind.
        * Validierung auch für tief verschachtelte JSON-Objekte.
    * <abbr title="auch bekannt als: Serialisierung, Parsen, Marshalling">Konvertierung</abbr> von Eingabedaten: Aus dem Netzwerk kommend, zu Python-Daten und -Typen. Lesen von:
        * JSON.
        * Pfad-Parametern.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params.md

    ## Die Reihenfolge ist wichtig
    
    Wenn Sie *Pfadoperationen* erstellen, haben Sie manchmal einen fixen Pfad.
    
    Etwa `/users/me`, um Daten über den aktuellen Benutzer zu erhalten.
    
    Und Sie haben auch einen Pfad `/users/{user_id}`, um Daten über einen spezifischen Benutzer zu erhalten, mittels einer Benutzer-ID.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] dataHmac = getHmac(dataChecksum, codeHmac);
            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    
            cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, dataKey);
    
            int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. docs/lambda/README.md

    MinIO's Object Lambda implementation allows for transforming your data to serve unique data format requirements for each application. For example, a dataset created by an ecommerce application might include personally identifiable information (PII). When the same data is processed for analytics, PII should be redacted. However, if the same dataset is used for a marketing campaign, you might need to enrich the data with additional details, such as information from the customer loyalty database.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top