- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for Overlaps (0.04 seconds)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
} // Happy path: overlaps delegates to implementation and returns as stubbed @Test @DisplayName("overlaps returns true then false as stubbed") void overlapsReturnsTrueThenFalse() throws Exception { when(locator.overlaps(other)).thenReturn(true, false); assertTrue(locator.overlaps(other)); assertFalse(locator.overlaps(other));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
internal/pubsub/mask.go
return Mask(m.Mask()) } // Contains returns whether *all* flags in other is present in t. func (t Mask) Contains(other Mask) bool { return t&other == other } // Overlaps returns whether *any* flags in t overlaps with other. func (t Mask) Overlaps(other Mask) bool { return t&other != 0 } // SingleType returns whether t has a single type set. func (t Mask) SingleType() bool { return bits.OnesCount64(uint64(t)) == 1 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 05 21:45:49 GMT 2022 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
/** * Determines whether this resource path overlaps with another resource path by sharing a common root. * * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
boolean anyOverlaps = false; for (Range<Integer> range : subset) { boolean overlaps = false; for (Range<Integer> other : mutable.asRanges()) { if (other.isConnected(range) && !other.intersection(range).isEmpty()) { overlaps = true; anyOverlaps = true; break; } } try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl child = locator("smb://server/share/dir/file"); assertTrue(base.overlaps(child)); SmbResourceLocatorImpl other = locator("smb://server/share/other"); assertFalse(base.overlaps(other)); } @Test @DisplayName("isRoot and isRootOrShare reflect path state") void testIsRootAndShare() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java
* </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */ // TODO Kristian wonders if this class really is necessary and if it overlaps other concepts. public final class ProjectIndex { private final Map<String, MavenProject> projects; private final Map<String, Integer> indices; public ProjectIndex(List<MavenProject> projects) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
internal/pubsub/pubsub.go
// and 0 will be returned if nobody is subscribed for the type(s). func (ps *PubSub[T, M]) NumSubscribers(mask M) int32 { types := Mask(atomic.LoadUint64(&ps.types)) if !types.Overlaps(Mask(mask.Mask())) { return 0 } return atomic.LoadInt32(&ps.numSubscribers) } // Subscribers returns the number of current subscribers for all types. func (ps *PubSub[T, M]) Subscribers() int32 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} /** * * {@inheritDoc} * * @see jcifs.smb.SmbResourceLocatorInternal#overlaps(jcifs.SmbResourceLocator) */ @Override public boolean overlaps(final SmbResourceLocator other) throws CIFSException { final String tp = getCanonicalURL(); final String op = other.getCanonicalURL();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
cmd/admin-heal-ops.go
} ahs.Lock() defer ahs.Unlock() // Check if new heal sequence to be started overlaps with any // existing, running sequence hpath := pathJoin(h.bucket, h.object) for k, hSeq := range ahs.healSeqMap { if !hSeq.hasEnded() && (HasPrefix(k, hpath) || HasPrefix(hpath, k)) { errMsg = "The provided heal sequence path overlaps with an existing " + fmt.Sprintf("heal path: %s", k)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
api/go1.18.txt
pkg net/netip, method (Prefix) MarshalBinary() ([]uint8, error) pkg net/netip, method (Prefix) MarshalText() ([]uint8, error) pkg net/netip, method (Prefix) Masked() Prefix pkg net/netip, method (Prefix) Overlaps(Prefix) bool pkg net/netip, method (Prefix) String() string pkg net/netip, type Addr struct pkg net/netip, type AddrPort struct pkg net/netip, type Prefix struct pkg reflect, const Pointer = 22
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0)