- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 380 for vector (0.07 seconds)
-
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 600, 1, 512", // Minimal sectors per alloc "1000, 500, 600, 8, 512", // Typical configuration "1000, 500, 600, 64, 512", // Large allocation units "1000, 500, 600, 8, 4096", // 4K sectors "1000, 500, 600, 16, 4096", // Large sectors and allocationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (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 dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/archive/tar/strconv_test.go
{math.MaxInt64, 12, true}, {0, 12, true}, {math.MinInt64, 12, true}, } for _, v := range vectors { ok := fitsInBase256(v.width, v.in) if ok != v.ok { t.Errorf("fitsInBase256(%d, %d): got %v, want %v", v.in, v.width, ok, v.ok) } } } func TestParseNumeric(t *testing.T) { vectors := []struct { in string want int64 ok bool }{ // Test base-256 (binary) encoded values.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding separated = base64().withSeparator("\n", 3); assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4)); } public void testBase64() { // The following test vectors are specified in RFC 4648 itself testEncodingWithSeparators(base64(), "", ""); testEncodingWithSeparators(base64(), "f", "Zg=="); testEncodingWithSeparators(base64(), "fo", "Zm8=");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
src/archive/tar/reader_test.go
"hash/crc32" "internal/obscuretestdata" "io" "maps" "math" "os" "path" "reflect" "slices" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct { file string // Test input file obscured bool // Obscured with obscuretestdata package headers []*Header // Expected output headers
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 53.2K bytes - Click Count (0) -
src/archive/tar/tar_test.go
return 0, testError{fmt.Errorf("got Seek(%d, %d), want Seek(%d, %d)", pos, whence, s, io.SeekCurrent)} } f.pos += s f.ops = f.ops[1:] return f.pos, nil } func TestSparseEntries(t *testing.T) { vectors := []struct { in []sparseEntry size int64 wantValid bool // Result of validateSparseEntries wantAligned []sparseEntry // Result of alignSparseEntriesCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0)