Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for GUID (1.53 sec)

  1. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. 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());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            this.createGuid = new HandleGuid();
        }
    
        /**
         * Create a new durable handle V2 request with specific GUID
         * @param timeoutMs the timeout in milliseconds
         * @param persistent true if this should be a persistent handle
         * @param createGuid the create GUID to use
         */
        public DurableHandleV2Request(long timeoutMs, boolean persistent, HandleGuid createGuid) {
            this.timeoutMs = timeoutMs;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

        }
    
        @Test
        public void testDurableHandleV2RequestWithGuid() {
            HandleGuid guid = new HandleGuid();
            DurableHandleV2Request request = new DurableHandleV2Request(60000, false, guid);
    
            assertEquals(guid, request.getCreateGuid());
            assertEquals(60000, request.getTimeoutMs());
            assertFalse(request.isPersistent());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should return server GUID")
        void testGetServerGuid() throws Exception {
            // Given
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            setPrivateField(response, "serverGuid", guid);
    
            // When
            byte[] result = response.getServerGuid();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                } else {
                    this.server.oemDomainName = new String();
                }
            } else {
                this.server.guid = new byte[16];
                System.arraycopy(buffer, bufferIndex, this.server.guid, 0, 16);
                bufferIndex += this.server.guid.length;
                this.server.oemDomainName = new String();
    
                if (this.byteCount > 16) {
                    // have initial spnego token
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                    bufferIndex += len;
                } else {
                    server.oemDomainName = new String();
                }
            } else {
                server.guid = new byte[16];
                System.arraycopy(buffer, bufferIndex, server.guid, 0, 16);
                server.oemDomainName = new String();
                // ignore SPNEGO token for now ...
            }
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/jquery-3.7.1.min.js

    0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.s...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top