- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,910 for _size (2.39 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response = new Smb2NegotiateResponse(mockConfig); } /** * Test that malformed structure size is properly rejected. */ @Test public void testMalformedStructureSize() { byte[] malformedBuffer = createBasicNegotiateResponseBuffer(); // Set incorrect structure size (should be 65) SMBUtil.writeInt2(64, malformedBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
request = new Smb2QueryDirectoryRequest(mockConfig); request.setFileName(null); // Verify size calculation doesn't include filename int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; assertEquals(((expectedSize + 7) & ~7), request.size()); } @Test @DisplayName("Test setFileName method with non-null value") void testSetFileNameNonNull() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/archive/tar/reader.go
if name := hdr.PAXRecords[paxGNUSparseName]; name != "" { hdr.Name = name } size := hdr.PAXRecords[paxGNUSparseSize] if size == "" { size = hdr.PAXRecords[paxGNUSparseRealSize] } if size != "" { n, err := strconv.ParseInt(size, 10, 64) if err != nil { return nil, ErrHeader } hdr.Size = n } // Read the sparse map according to the appropriate format. if is1x0 {
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/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
final int from; final int size; if (cb.isFetchScopeEffective()) { from = cb.getPageStartIndex(); size = cb.getFetchSize(); } else { from = 0; size = 10; } builder.setFrom(from); builder.setSize(size); final EsAbstractConditionBean esCb = (EsAbstractConditionBean) cb;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Smb2TreeConnectRequest longReq = new Smb2TreeConnectRequest(mockConfig, longPath); // When int shortSize = shortReq.size(); int longSize = longReq.size(); // Then // SMB2_HEADER_LENGTH + 8 + path.length() * 2 (UTF-16LE) int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
br.addElement(" in " + getClass().getSimpleName() + "."); br.addItem("Content Type"); br.addElement(contentType); br.addItem("Boundary Size"); br.addElement(boundarySize); br.addItem("Limit Size"); br.addElement(limitSize); final String msg = br.buildExceptionMessage();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
profileManager.addProfile(notActivated); profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size()); assertEquals("defaultActivated", ((Profile) active.get(0)).getId()); } @Test void testShouldNotActivateDefaultProfile() throws Exception { Profile syspropActivated = new Profile();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
context.setMaxCacheAge(45000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); byte[] buffer = new byte[context.size()]; int bytesWritten = context.encode(buffer, 0); assertEquals(context.size(), bytesWritten); // Verify context header assertEquals(0, SMBUtil.readInt4(buffer, 0)); // Next
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
hashReader, err := hash.NewReaderWithOpts(ctx, reader, hash.Options{ Size: size, MD5Hex: md5hex, SHA256Hex: sha256hex, ActualSize: actualSize, DisableMD5: false, ForceMD5: forceMD5, }) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if err := hashReader.AddChecksum(r, size < 0); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0) -
cmd/storage-datatypes.go
// //msgp:tuple FileInfo type FilesInfo struct { Files []FileInfo IsTruncated bool } // Size returns size of all versions for the object 'Name' func (f FileInfoVersions) Size() (size int64) { for _, v := range f.Versions { size += v.Size } return size } // FileInfoVersions represent a list of versions for a given file.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0)