Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 907 for fileId (2.59 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            Files.createDirectory(dir1);
            Files.writeString(dir1.resolve("file2.txt"), "file2");
            Path dir2 = dir1.resolve("dir2");
            Files.createDirectory(dir2);
            Files.writeString(dir2.resolve("file3.txt"), "file3");
            Path dir3 = usersDir.resolve("dir3");
            Files.createDirectory(dir3);
            Files.writeString(dir3.resolve("file4.txt"), "file4");
    
            // Setup public directory files
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

                    .build(), "file2".getBytes());
    
            storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "dir1/dir2/file3.txt"))//
                    .setContentType("application/octet-stream")//
                    .setMetadata(Map.of("label", "label3"))//
                    .build(), "file3".getBytes());
    
            storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "dir3/file4.txt"))//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                    .object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1)
                    .contentType("application/octet-stream")
                    .build());
            minioClient.putObject(PutObjectArgs.builder()
                    .bucket(bucketName)
                    .object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top