- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,523 for fileId (1.01 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Arrange: initial page with two entries, then one more entry, then no more files FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("file1"); lenient().when(fe1.getFileIndex()).thenReturn(1); FileEntry fe2 = mock(FileEntry.class); lenient().when(fe2.getName()).thenReturn("file2"); when(fe2.getFileIndex()).thenReturn(2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, emptyFileId)); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() { byte[] newFileId = new byte[16]; new SecureRandom().nextBytes(newFileId); assertDoesNotThrow(() -> request.setFileId(newFileId));
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/smb2/lock/Smb2LockRequestTest.java
assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, null)); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() { byte[] newFileId = new byte[16]; new SecureRandom().nextBytes(newFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(0x2, Smb2ReadRequest.SMB2_CHANNEL_RDMA_V1_INVALIDATE); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() { byte[] newFileId = new byte[16]; new SecureRandom().nextBytes(newFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} } public void handleFailure(ChannelInfo failedChannel, Exception error) { log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage()); // Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
throw (IOException) e.getCause(); } throw new IOException("Connection failed", e); } catch (Exception e) { // Handle any other exceptions from circuit breaker throw new IOException("Connection failed", e); } } private void doConnectInternal() throws IOException { /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
public static boolean equal(File file1, File file2) throws IOException { checkNotNull(file1); checkNotNull(file2); if (file1 == file2 || file1.equals(file2)) { return true; } /* * Some operating systems may return zero as the length for files denoting system-dependent * entities such as devices or pipes, in which case we must fall back on comparing the bytes * directly. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
schema/field.go
schema.err = fmt.Errorf("failed to parse %s as default value for float, got error: %v", field.DefaultValue, err) } } case reflect.String: field.DataType = String if field.HasDefaultValue && !skipParseDefaultValue { field.DefaultValue = strings.Trim(field.DefaultValue, "'") field.DefaultValue = strings.Trim(field.DefaultValue, `"`) field.DefaultValueInterface = field.DefaultValue } case reflect.Struct:
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 32K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
public static boolean equal(File file1, File file2) throws IOException { checkNotNull(file1); checkNotNull(file2); if (file1 == file2 || file1.equals(file2)) { return true; } /* * Some operating systems may return zero as the length for files denoting system-dependent * entities such as devices or pipes, in which case we must fall back on comparing the bytes * directly. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.fail; import java.io.IOException; import java.lang.reflect.Field; import java.nio.file.Files; import java.nio.file.Path; import java.util.Properties; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)