- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for matches2 (0.06 sec)
-
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) -
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) -
src/main/java/jcifs/util/PathValidator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
// Check field name follows convention assertTrue("Field name should match pattern: " + field.getName(), labelPattern.matcher(field.getName()).matches()); // Check field value follows convention field.setAccessible(true); String value = (String) field.get(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
cmd/batch-job-common-types.go
msg: "key can't be empty", } } return nil } // Empty indicates if kv is not set func (kv BatchJobKV) Empty() bool { return kv.Key == "" && kv.Value == "" } // Match matches input kv with kv, value will be wildcard matched depending on the user input func (kv BatchJobKV) Match(ikv BatchJobKV) bool { if kv.Empty() { return true } if strings.EqualFold(kv.Key, ikv.Key) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class); // Mock the parse method to return two different objects based on input // Must use matchers for all arguments when using any matcher mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class))) .thenReturn(Collections.singletonList(mockAuthData1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
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) -
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) -
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) -
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)