Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 220 for grid (0.03 seconds)

  1. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            }
        }
    
        @Test
        public void testRequestDurableHandle() {
            HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null);
    
            assertNotNull(guid);
            assertEquals(1, manager.getHandleCount());
    
            HandleInfo info = manager.getHandleByGuid(guid);
            assertNotNull(info);
            assertEquals("/test/file.txt", info.getPath());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            }
        }
    
        /**
         * Get handle information by GUID
         * @param guid the handle GUID
         * @return the handle info or null if not found
         */
        public HandleInfo getHandleByGuid(HandleGuid guid) {
            lock.readLock().lock();
            try {
                return guidToHandle.get(guid);
            } finally {
                lock.readLock().unlock();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertNull(serverData.encryptionKey);
    
            // Test guid (typically 16 bytes)
            byte[] guid = new byte[16];
            Arrays.fill(guid, (byte) 0xAB);
            serverData.guid = guid;
            assertNotNull(serverData.guid);
            assertArrayEquals(guid, serverData.guid);
            assertEquals(16, serverData.guid.length);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertNotNull(response.getServerGuid(), "Server GUID should not be null");
            assertEquals(16, response.getServerGuid().length, "Server GUID should be 16 bytes");
            assertArrayEquals(new byte[16], response.getServerGuid(), "Initial server GUID should be all zeros");
            assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. src/main/webapp/css/admin/adminlte.min.css

    verflow:hidden;position:relative}.dark-mode .irs--flat .irs-line{background-color:#4b545c}.dark-mode .jsgrid-alt-row>.jsgrid-cell,.dark-mode .jsgrid-edit-row>.jsgrid-cell,.dark-mode .jsgrid-filter-row>.jsgrid-cell,.dark-mode .jsgrid-grid-body,.dark-mode .jsgrid-grid-header,.dark-mode .jsgrid-header-row>.jsgrid-header-cell,.dark-mode .jsgrid-insert-row>.jsgrid-cell,.dark-mode .jsgrid-row>.jsgrid-cell{border-color:#6c757d}.dark-mode .jsgrid-header-row>.jsgrid-header-cell,.dark-mode .jsgrid-row>.js...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 1.3M bytes
    - Click Count (0)
  6. docs/smb3-features/02-persistent-handles-design.md

            }
            ByteBuffer bb = ByteBuffer.wrap(bytes);
            long mostSig = bb.getLong();
            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
        }
        
        public byte[] toBytes() {
            ByteBuffer bb = ByteBuffer.allocate(16);
            bb.putLong(guid.getMostSignificantBits());
            bb.putLong(guid.getLeastSignificantBits());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * Create new handle information
         * @param path the file path
         * @param guid the create GUID
         * @param fileId the 16-byte file ID
         * @param type the handle type
         * @param timeout the timeout in milliseconds
         * @param leaseKey the associated lease key (can be null)
         */
        public HandleInfo(String path, HandleGuid guid, byte[] fileId, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            this.path = path;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            response.byteCount = 16; // GUID length
    
            // Prepare byte array with a GUID
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(guid, 0);
    
            // Assertions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            int caps = SMBUtil.readInt4(buffer, 8);
            assertTrue((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0);
    
            // Verify client GUID
            byte[] guid = new byte[16];
            System.arraycopy(buffer, 12, guid, 0, 16);
            assertArrayEquals(testMachineId, guid);
    
            // Verify dialects
            assertEquals(0x0210, SMBUtil.readInt2(buffer, 36));
            assertEquals(0x0300, SMBUtil.readInt2(buffer, 38));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            assertNotEquals(guid1, null);
            assertNotEquals(guid1, "not a guid");
        }
    
        @Test
        public void testHandleGuidToString() {
            UUID uuid = UUID.randomUUID();
            HandleGuid guid = new HandleGuid(uuid);
    
            assertEquals(uuid.toString(), guid.toString());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top