- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 621 for takeIf (0.04 sec)
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
return someProperty } } ``` It is not acceptable to introduce new properties on a task, extension or domain object that use plain getters and setters. It is also not acceptable to add setters that take a Provider.Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Oct 15 20:00:57 UTC 2024 - 10K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
return array.length; } } /** * Implementation of Striped where up to 2^k stripes can be represented, using an * AtomicReferenceArray of size 2^k. To map a user key into a stripe, we take a k-bit slice of the * user key's (smeared) hashCode(). The stripes are lazily initialized and are weakly referenced. */ @VisibleForTesting static final class SmallLazyStriped<L> extends PowerOfTwoStriped<L> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
finisher_api.go
} } tx.Statement.RaiseErrorOnNotFound = true tx.Statement.Dest = dest return tx.callbacks.Query().Execute(tx) } // Take finds the first record returned by the database in no specified order, matching given conditions conds func (db *DB) Take(dest interface{}, conds ...interface{}) (tx *DB) { tx = db.Limit(1) if len(conds) > 0 {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
assertArrayEquals(testMac, parsedMac); // Verify stats were parsed // Stats length = rDataLength - (numberOfNames * 18) - 1 = 67 - 54 - 1 = 12 // But MAC address takes 6 bytes, so actual stats length = 12 - 6 = 6 Field statsField = NodeStatusResponse.class.getDeclaredField("stats"); statsField.setAccessible(true); byte[] parsedStats = (byte[]) statsField.get(response);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Test SameLengthBot - Allow wins when same length as Disallow // Disallow: /page, Allow: /page assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence assertTrue(robotsTxt.allows("/page.html", "SameLengthBot")); // Test MultiWildcardBot - multiple wildcards in pattern // Disallow: /*.cgi* - should block URLs with .cgi anywhereRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} @Test @DisplayName("getAddress/getFirstAddress resolution branches and iteration") void testAddressResolutionAndIteration() throws Exception { // Query parameter 'server' takes precedence UniAddress a1 = mock(UniAddress.class); when(nsc.getByName("srv-from-query")).thenReturn(a1); SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
// The root artifact may, or may not be resolved so we need to check before we attempt to resolve. // This is often an artifact like a POM that is taken from disk and we already have hold of the // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository // as well as its dependencies.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), ImmutableSortedSet.of(), ImmutableSet.of()) .testEquals(); // not testing hashCode for these because it takes forever to compute assertEquals( ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.<Integer>all(), integers())); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* * @param client the OpenSearch client used to clear the scroll context * @param scrollId the ID of the scroll context to be deleted; if null, no action is taken */ public static void deleteScrollContext(final Client client, final String scrollId) { if (scrollId != null) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertEquals(150L, merged.getQueryFreq()); // Sum of frequencies assertEquals(75L, merged.getDocFreq()); // Sum of frequencies assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost // Check merged arrays contain both items' values assertTrue(merged.getTags().length >= 2); assertTrue(merged.getRoles().length >= 2);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0)