Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for FID (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("filter=0x" + Hexdump.toHexString(completionFilter, 4)));
            assertTrue(str.contains("watchTree=" + watchTree));
        }
    
        @Test
        @DisplayName("Test constructor with watchTree enabled")
        void testConstructorWithWatchTreeEnabled() {
            int fid = 0x5678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        void testToStringMaxValues() {
            int fid = 0xFFFF;
            int securityInfo = 0xFFFFFFFF;
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
            String result = querySecurityDesc.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        @DisplayName("Constructor should handle various FID values")
        void testConstructorWithVariousFids(int fid) {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, fid);
    
            // Assert
            assertNotNull(transPeekNamedPipe);
            // FID is written in writeSetupWireFormat, verify it there
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        @DisplayName("Test toString with different FID values")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 100, 0xFFFF })
        void testToStringWithDifferentFids(int fid) {
            trans2SetFileInfo = new Trans2SetFileInformation(config, fid, mockFileInfo);
    
            String result = trans2SetFileInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("fid=" + fid));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            int r, n;
            final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off);
            do {
                r = len > readSize ? readSize : len;
                file.send(new SmbComReadAndX(file.fid, fp, r, null), response);
                n = response.dataLength;
                if (n <= 0) {
                    return (int) (fp - start > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            assertTrue(s2.contains("77"), "Expected numeric fid in string");
        }
    
        static Stream<Arguments> equalsHashParams() {
            return Stream.of(
                    // byte[] id based equality (same id and tree id)
                    Arguments.of(new byte[] { 0x0A, 0x0B }, new byte[] { 0x0A, 0x0B }, 100L, true),
                    // fid based equality (null fileId, same fid and tree id)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                SmbFile.log.println("write: fid=" + file.fid + ",off=" + off + ",len=" + len);
            }
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                if (useNTSmbs) {
                    reqx.setParam(file.fid, fp, len - w, b, off, w);
                    if ((flags & 1) != 0) {
                        reqx.setParam(file.fid, fp, len, b, off, w);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        private void setupSmb1(NotifyResponse resp, int fid) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
            when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true);
            when(handle.getFid()).thenReturn(fid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // 2 reserved bytes
            pos += 2;
            // ctlCode
            SMBUtil.writeInt4(ctlCode, buf, pos);
            pos += 4;
            // fileId (16 bytes)
            byte[] fid = fileId != null ? fileId : new byte[16];
            System.arraycopy(fid, 0, buf, pos, 16);
            pos += 16;
    
            // Calculate offsets relative to start of SMB2 header
            int inputOffsetField = inputCount > 0 ? payloadStart : 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            for (String sId : getSchedulerIds(NAME_PREFIX)) {
                deleteMethod("/api/admin/scheduler/setting/" + sId);
            }
    
            for (String fId : getFileConfigIds(NAME_PREFIX)) {
                deleteMethod("/api/admin/fileconfig/setting/" + fId);
            }
    
            deleteTestToken();
        }
    
        @Test
        public void searchTestWith1Word() throws Exception {
            String query = "java";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top