- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for a2 (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
private static boolean artifactEquals(Artifact a1, Artifact a2) { if (a1 == a2) { return true; } return Objects.equals(a1.getGroupId(), a2.getGroupId()) && Objects.equals(a1.getArtifactId(), a2.getArtifactId()) && Objects.equals(a1.getType(), a2.getType()) && Objects.equals(a1.getVersion(), a2.getVersion())
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
AppConfigurationEntry[] a2 = cfg.getAppConfigurationEntry("y"); // Assert assertNotSame(a1, a2, "Arrays should be different instances"); assertEquals(1, a1.length); assertEquals(1, a2.length); AppConfigurationEntry e1 = a1[0]; AppConfigurationEntry e2 = a2[0]; assertNotSame(e1, e2, "Entries should be different instances");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1); SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2); // same auth instance => matches assertTrue(s1.matches(a1)); // different instance but equal content => matches assertTrue(s1.matches(a2)); // not equal => no match
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
// // 1. Subscribers to events posted on different threads can be interleaved with each other // freely. (A event on one thread, B event on another could yield any of // [a1, a2, a3, b1, b2], [a1, b2, a2, a3, b2], [a1, b2, b3, a2, a3], etc.) // 2. It's possible for subscribers to actually be dispatched to in a different order than they // were added to the queue. It's easily possible for one thread to take the head of the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testEqualsAndHashCode() throws Exception { SID a1 = new SID("S-1-5-21-1-2-3-4"); SID a2 = new SID("S-1-5-21-1-2-3-4"); SID b = new SID("S-1-5-21-1-2-3-5"); assertEquals(a1, a2); assertEquals(a1.hashCode(), a2.hashCode()); assertNotEquals(a1, b); assertNotEquals(a1.hashCode(), b.hashCode());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Host with root path -> possibleNTDomainOrWorkgroup=true UniAddress a2 = mock(UniAddress.class); UniAddress a3 = mock(UniAddress.class); when(nsc.getAllByName("server", true)).thenReturn(new Address[] { a2, a3 }); SmbResourceLocatorImpl l3 = locator("smb://server/"); assertSame(a2, l3.getAddress()); verify(nsc, times(1)).getAllByName("server", true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
doc/go_spec.html
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* * {@snippet : * PeekingIterator<String> peekingIterator = * Iterators.peekingIterator(Iterators.forArray("a", "b")); * String a1 = peekingIterator.peek(); // returns "a" * String a2 = peekingIterator.peek(); // also returns "a" * String a3 = peekingIterator.next(); // also returns "a" * } * * <p>Any structural changes to the underlying iteration (aside from those performed by the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0)