- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 119 for vectors (0.48 sec)
-
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
/** * Represents the FILE_FS_SIZE_INFORMATION structure used to query file system size information. * This structure provides details about the total allocation units, free allocation units, * sectors per allocation unit, and bytes per sector for a file system volume. */ public class FileFsSizeInformation implements AllocInfo { private long alloc; // Also handles SmbQueryFSSizeInfo private long free; private int sectPerAlloc;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
writeInt8(2000, buffer, 0); // total allocation units writeInt8(1000, buffer, 8); // free allocation units writeInt4(8, buffer, 16); // sectors per allocation unit writeInt4(4096, buffer, 20); // bytes per sector int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(24, bytesRead, "Should read 24 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
/** * Represents the SMB_INFO_ALLOCATION information level used in SMB transaction requests. * This structure provides allocation information for a file system including total units, * free units, sectors per allocation unit, and bytes per sector. */ public class SmbInfoAllocation implements AllocInfo { /** * Default constructor for SMB allocation information. */ public SmbInfoAllocation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with large bytes per sector") void testDecodeWithLargeBytesPerSector() throws SMBProtocolDecodingException { // Prepare test data with large bytesPerSect byte[] buffer = new byte[22]; int idFileSystem = 0x22222222; int sectPerAlloc = 8; long alloc = 10000L; long free = 5000L; int bytesPerSect = 32768; // 32KB sectors // Encode test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
void testAs_Enumeration_Success() throws PACDecodingException { // Test successful casting from enumeration Vector<ASN1Integer> vector = new Vector<>(); ASN1Integer expected = new ASN1Integer(123); vector.add(expected); ASN1Integer result = ASN1Util.as(ASN1Integer.class, vector.elements()); assertSame(expected, result); } @Test void testAs_Enumeration_Failure() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param c the collection of elements to be placed in the vector * @return a new instance of {@link Vector} * @see Vector#Vector(Collection) */ public static <E> Vector<E> newVector(final Collection<? extends E> c) { return new Vector<>(c); } /** * Creates and returns a new instance of {@link Vector}. * * @param <E> the element type of {@link Vector}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
*/ @Test void testConstructorUnknownField() throws IOException { ASN1EncodableVector vector = new ASN1EncodableVector(); vector.add(new DERTaggedObject(99, new DERGeneralString("unknown"))); DERSequence sequence = new DERSequence(vector); byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
docs/distributed/DESIGN.md
- *If total drives has many common divisors the algorithm chooses the minimum amounts of erasure sets possible for a erasure set size of any N*. In the example with 1024 drives - 4, 8, 16 are GCD factors. With 16 drives we get a total of 64 possible sets, with 8 drives we get a total of 128 possible sets, with 4 drives we get a total of 256 possible sets. So algorithm automatically chooses 64 sets, which is *16* 64 = 1024* drives in total.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (1)