- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for isBool (0.04 sec)
-
doc/go_spec.html
} else if i, isFunc := v.(func(int) float64); isFunc { printFunction(i) // type of i is func(int) float64 } else { _, isBool := v.(bool) _, isString := v.(string) if isBool || isString { i := v // type of i is type of x (interface{}) printString("type is bool or string") } else {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 02 23:07:19 UTC 2025 - 286.5K bytes - Viewed (1) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return 0; } @Override public boolean isWorkgroup() { return false; } @Override public boolean isRoot() { return "/".equals(path); } } @Nested @DisplayName("Happy path – well-formed SMB URL") class HappyPath { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
connectionListener.forbidLock(client.dispatcher) testClient = client } return client } private fun initialClientBuilder(): OkHttpClient.Builder = if (isLoom()) { val backend = TaskRunner.RealBackend(loomThreadFactory()) val taskRunner = TaskRunner(backend) OkHttpClient .Builder() .connectionPool( buildConnectionPool(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertFalse(base.overlaps(other)); } @Test @DisplayName("isRoot and isRootOrShare reflect path state") void testIsRootAndShare() { assertTrue(locator("smb://server/").isRoot()); assertFalse(locator("smb://server/share/").isRoot()); assertTrue(locator("smb://server/").isRootOrShare()); assertTrue(locator("smb://server/share/").isRootOrShare());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
deferDeleteFile(consumer); project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session)); } else if (project.getModel().getDelegate().isRoot()) { throw new IllegalStateException( "The use of the root attribute on the model requires the buildconsumer feature to be active"); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* points to the same directory, and that either {@link Model#isRoot()} * is {@code true} or that {@code basedir} contains a {@code .mvn} child * directory. * * @return {@code true} if the project is the root project * @see Model#isRoot() */ boolean isRootProject(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
boolean hasNextAddress() { return this.addressIndex < this.addresses.length; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#isRoot() */ @Override public boolean isRoot() { // length == 0 should not happen return getShare() == null && getUNCPath().length() <= 1; } boolean isRootOrShare() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
/** * Determines whether this resource represents the root of the SMB hierarchy. * * @return whether this is a root resource */ boolean isRoot();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
return new NetServerFileEntryAdapterIterator(parent, new NetServerEnumIterator(parent, th, wildcard, searchAttributes, fnf), ff); } } else if (locator.isRoot()) { return doShareEnum(parent, wildcard, searchAttributes, fnf, ff); } try (SmbTreeHandleImpl th = parent.ensureTreeConnected()) { if (th.isSMB2()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
final int t = getType(); if (t == TYPE_SHARE) { this.size = fetchAllocationInfo(th).getCapacity(); } else if (!this.fileLocator.isRoot() && t != TYPE_NAMED_PIPE) { queryPath(th, this.fileLocator.getUNCPath(), FileInformation.FILE_STANDARD_INFO); } else { this.size = 0L; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)