Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for GUID (0.13 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        }
    
        /**
         * Get the durable handle GUID from the response
         * @return the durable handle GUID or null if no durable handle was granted
         */
        public jcifs.internal.smb2.persistent.HandleGuid getDurableHandleGuid() {
            // For now, return null as the GUID is typically provided in the request context
            // and the response doesn't necessarily contain the GUID in a standard format
            return null;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          if (property == JAVA_COMPILER) {
            continue;
          }
          // Removed in Java 9:
          // https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
          if (property == JAVA_EXT_DIRS) {
            continue;
          }
          assertWithMessage(property.toString()).that(property.value()).isNotNull();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top