- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 292 for exceeded (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB) assertTrue(buffer.length > 0, "Buffer size should be positive"); assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB"); } /** * Test that releaseBuffer validates buffer before accepting it. */ @Test public void testReleaseBufferValidation() { // Given - Various invalid buffers
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/archive/tar/reader.go
if strings.HasSuffix(hdr.Name, "/") { hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories } else { hdr.Typeflag = TypeReg } } // The extended headers may have updated the size. // Thus, setup the regFileReader again after merging PAX headers. if err := tr.handleRegularFile(hdr); err != nil { return nil, err }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 2), "System.arraycopy should throw when dstIndex + len exceeds dst length"); } @Test @DisplayName("encode() throws when dstIndex is negative") void encodeThrowsWhenDstIndexNegative() { byte[] src = makeSeq(3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java
} s[_i].decode(_src); } } } } /** * DFS information level 200 structure for extended DFS information */ public static class DfsInfo200 extends NdrObject { /** * Default constructor for DfsInfo200 */ public DfsInfo200() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.2K bytes - Viewed (0) -
cmd/bucket-quota.go
if q.Size > 0 { quotaSize = q.Size } else if q.Quota > 0 { quotaSize = q.Quota } } if quotaSize > 0 { if uint64(size) >= quotaSize { // check if file size already exceeds the quota return BucketQuotaExceeded{Bucket: bucket} } bui := sys.GetBucketUsageInfo(ctx, bucket) if bui.Size > 0 && ((bui.Size + uint64(size)) >= quotaSize) { return BucketQuotaExceeded{Bucket: bucket}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 06 23:48:58 UTC 2025 - 4.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
* @throws CrawlerSystemException if the input stream is null * @throws ExtractException if an error occurs during extraction * @throws MaxLengthExceededException if the extracted content size exceeds the maximum limit */ @Override public ExtractData getText(final InputStream in, final Map<String, String> params) { if (in == null) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(0, SMBUtil.readInt4(buffer, 4)); // Data length } @Test @DisplayName("Should throw exception when data exceeds buffer") void testWriteBytesWireFormatDataExceedsBuffer() { byte[] largeData = new byte[1000]; request.setData(largeData, 0, largeData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
void testReadParameterWords(int expectedInt, byte[] bytes) { // The implementation reads via SMBUtil.readInt4 which returns an int // When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0); long expectedOffset = expectedInt; // Sign extension happens here for negative values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
*/ public long length() throws SmbException { return file.length(); } /** * Sets the length of the file. The file will be truncated or extended as necessary. * * @param newLength the new file length in bytes * @throws SmbException if an I/O error occurs */ public void setLength(final long newLength) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/bucket-object-lock.go
// governance bypass headers are set and user has governance bypass permissions. // Objects in compliance mode can be overwritten only if retention date is being extended. No mode change is permitted. func enforceRetentionBypassForPut(ctx context.Context, r *http.Request, oi ObjectInfo, objRetention *objectlock.ObjectRetention, cred auth.Credentials, owner bool) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:25 UTC 2025 - 13.3K bytes - Viewed (0)