- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 311 for takes (0.02 sec)
-
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} }; } /** * Shuts down the given executor service gradually, first disabling new submissions and later, if * necessary, cancelling remaining tasks. * * <p>The method takes the following steps: * * <ol> * <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks. * <li>awaits executor service termination for half of the specified timeout.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/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) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* found in any textbook. */ /** Monitor guarding all access */ final Monitor monitor; /** Guard for waiting takes */ private final Monitor.Guard notEmpty; /** Guard for waiting puts */ private final Monitor.Guard notFull; // Internal helper methods /** Circularly increment i. */ final int inc(int i) { return (++i == items.length) ? 0 : i; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
* in a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still * runs quickly, since the row key is provided. However, {@code column(columnKey).size()} takes * longer, since an iteration across all row keys occurs. * * <p>Note that this implementation is not synchronized. If multiple threads access this tableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Use getByName to trigger populate assertNotNull(lmhosts.getByName(longHostname, mockContext)); } @Test void testGetByNameWithName() { // Test the internal getByName method that takes a Name object Name name = new Name(mockConfig, "TESTHOST", 0x20, null); when(mockConfig.getLmHostsFileName()).thenReturn(null); NbtAddress result = lmhosts.getByName(name, mockContext);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K 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)