Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Matches (0.2 sec)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        void oidFormat() {
            assertAll(() -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.SPNEGO_MECHANISM).matches(), "Invalid OID: SPNEGO_MECHANISM"),
                    () -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.KERBEROS_MECHANISM).matches(), "Invalid OID: KERBEROS_MECHANISM"),
                    () -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.LEGACY_KERBEROS_MECHANISM).matches(),
                            "Invalid OID: LEGACY_KERBEROS_MECHANISM"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertTrue(tree.matches("testShare", "testService"));
            assertTrue(tree.matches("TESTSHARE", "testService"));
            assertTrue(tree.matches("testshare", "TESTSERVICE"));
    
            // Test matching share with null service
            assertTrue(tree.matches("testShare", null));
    
            // Test matching share with service starting with "??"
            assertTrue(tree.matches("testShare", "??otherService"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            assertTrue(manager.matches(request));
    
            request.setRequestURI("/api/v2/label");
            assertTrue(manager.matches(request));
    
            request.setRequestURI("/api/search");
            assertFalse(manager.matches(request));
    
            request.setRequestURI("/other/v1/search");
            assertFalse(manager.matches(request));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
            lsarpc.LsarDomainInfo decodedInfo = new lsarpc.LsarDomainInfo();
            decodedInfo.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(domainInfo.name.length, decodedInfo.name.length);
            assertEquals(domainInfo.name.maximum_length, decodedInfo.name.maximum_length);
            assertNotNull(decodedInfo.name.buffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // same auth instance => matches
            assertTrue(s1.matches(a1));
            // different instance but equal content => matches
            assertTrue(s1.matches(a2));
            // not equal => no match
            NtlmPasswordAuthentication other = new NtlmPasswordAuthentication("OTHER", "u", "p");
            assertFalse(s1.matches(other));
        }
    
        @Test
        void toStringContainsKeyFields() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertTrue(fileInfo.matches(1024L, 1000L, 0x20));
    
            // Should not match with different size
            assertFalse(fileInfo.matches(2048L, 1000L, 0x20));
    
            // Should not match with different last modified
            assertFalse(fileInfo.matches(1024L, 2000L, 0x20));
    
            // Should not match with different attributes
            assertFalse(fileInfo.matches(1024L, 1000L, 0x10));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should not error signature matches with extra query params.
    		{
    			queryParams: map[string]string{
    				"response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"",
    			},
    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/InputValidator.java

            if (username.length() > MAX_USERNAME_LENGTH) {
                throw new IllegalArgumentException("Username exceeds maximum length: " + username.length());
            }
            if (!username.isEmpty() && !VALID_USERNAME.matcher(username).matches()) {
                throw new IllegalArgumentException("Username contains invalid characters: " + username);
            }
        }
    
        /**
         * Validates domain name
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
             * @return true if attributes match
             */
            public boolean matches(long otherSize, long otherLastModified, long otherAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeImplTest.java

            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top