- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 776 for zeros (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
} /** * Verify that writeParameterWordsWireFormat writes the file id and the * unsigned time correctly. The last write time is zero which should be * encoded as four 0xFF bytes by {@code writeUTime}. */ @ParameterizedTest(name = "fid={0}, lastWriteTime={1}") @MethodSource("validParams")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@DisplayName("Should handle zero times correctly") void testZeroTimes() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // All times remain zero in buffer // When response.readBytesWireFormat(buffer, 0); // Then - zero Windows FileTime converts to negative Unix timeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
cmd/metacache-stream_test.go
t.wb.expect", "src/compress/flate/testdata/huffman-text.wb.expect-noinput", "src/compress/flate/testdata/huffman-zero.dyn.expect", "src/compress/flate/testdata/huffman-zero.dyn.expect-noinput", "src/compress/flate/testdata/huffman-zero.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testda...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
// Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /** * Test of readParameterWordsWireFormat with zero count */ @Test public void testReadParameterWordsWireFormatZeroCount() { // Given byte[] buffer = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
line int pos int } func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice { return &Slice{ tokens: tokens, base: base, line: line, pos: -1, // Next will advance to zero. } } func (s *Slice) Next() ScanToken { s.pos++ if s.pos >= len(s.tokens) { return scanner.EOF } return s.tokens[s.pos].ScanToken } func (s *Slice) Text() string {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertEquals(action, notifyInfo.getAction()); assertEquals(fileName, notifyInfo.getFileName()); } @Test @DisplayName("Test decode with multiple entries (non-zero next offset)") void testDecodeWithNextEntry() throws SMBProtocolDecodingException { String fileName = "test.txt"; int action = FileNotifyInformation.FILE_ACTION_REMOVED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Verifies that toString() formats bytes as lower-case hex with zero-padding @ParameterizedTest(name = "toString renders hex for {0}") @MethodSource("hexCases") @DisplayName("toString() renders lower-case hex with zero-padding") void toString_rendersHex(byte[] input, String expected) { // Arrange SecurityBlob blob = new SecurityBlob(input);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/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, 0L); // Prepare test data byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero setFieldValue(response, "wordCount", 10); // Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
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/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testValidArrayAllocation() throws Exception { validator.validateArrayAllocation(100, 10, 1000); validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed } @Test public void testArrayAllocationNegativeSize() throws Exception { assertThrows(SmbException.class, () -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0)