- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 340 for presence (0.05 seconds)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
/** * Creates a [Provider] that returns `true` when this [Provider] has a value * and `false` otherwise. The returned [Provider] always has a value. * @see Provider.isPresent */ private fun <T : Any> Provider<T>.presence(): Provider<Boolean> = map { true }.orElse(false) fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertEquals(d1, d2); // Different type -> false assertFalse(a.equals("not-an-auth")); } @Test @DisplayName("isAnonymous: depends on subject presence and super") void isAnonymous_behaviour() { Kerb5Authenticator anon = new Kerb5Authenticator((Subject) null); assertTrue(anon.isAnonymous(), "Null subject with default super should be anonymous");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
int access = accessCaptor.getValue(); boolean hasReadData = (access & SmbConstants.FILE_READ_DATA) != 0; assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead"); } @Test @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds") void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/admin-router.go
return } } // Apply http tracing "middleware" based on presence of flag. var f2 http.HandlerFunc if handlerFlags.Has(traceAllFlag) { f2 = httpTraceAll(f) } else { f2 = httpTraceHdrs(f) } // call the final handler f2(w, r) } // Enable compression of responses based on presence of flag. if !handlerFlags.Has(noGZFlag) { handler = gzipHandler(handler) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 26.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as * soon as one of them returns a nonzero result. This optimization is typically important only in * the presence of expensive {@code compareTo} and {@code compare} implementations. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained#comparecompareto">{@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as * soon as one of them returns a nonzero result. This optimization is typically important only in * the presence of expensive {@code compareTo} and {@code compare} implementations. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained#comparecompareto">{@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
private final ClassRealm maven4ApiRealm; /** * Patterns of artifacts provided by maven core and exported via maven api realm. These artifacts are filtered from * plugin and build extensions realms to avoid presence of duplicate and possibly conflicting classes on classpath. */ private final Set<String> providedArtifacts; private final Set<String> providedArtifactsV4; @InjectCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* disallow IPv6 literals that don't contain these brackets. * * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)} * method. * * @return {@code this}, to enable chaining of calls.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java
// have the Docker task added as a dependency. Although we control whether Docker // is installed in the VM via `Vagrantfile` and we could auto-detect its presence // in the VM, the test tasks e.g. `destructiveDistroTest.default-docker` are defined // on the host during Gradle's configuration phase and not in the VM, soCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 28 21:31:21 GMT 2021 - 23.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value()); } // Test annotation target elements @Test public void test_targetElements() { final Target target = CustomSize.class.getAnnotation(Target.class); assertNotNull(target, "Target annotation should be present");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0)