- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isBool (0.04 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 06 17:52:09 UTC 2025 - 17.8K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java
} public PrintStream printStream() { return new LoggingPrintStream(this); } @Override public void write(int b) throws IOException { super.write(b); if (buf.isEol()) { String line = new String(buf.toByteArray(), 0, buf.size() - LINE_SEP.length); ProjectBuildLogAppender.updateMdc(); consumer.accept(line); buf.reset(); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 12 12:31:43 UTC 2025 - 3K bytes - Viewed (0) -
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/src/jvmTest/kotlin/okhttp3/LoomTest.kt
val request = Request(server.url("/")) client.newCall(request).execute().use { assertThat(it.code).isEqualTo(200) } } @Test fun testIfSupported() { assertThat(platform.isLoom()).isTrue() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2K 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)