- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 800 for adjust (0.04 sec)
-
guava/src/com/google/common/collect/ContiguousSet.java
* ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * } * * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this * particular example can be written as just: * * {@snippet : * ContiguousSet.closed(5, 42) * } * * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? * * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing * environment? If the latter, maybe write a custom Executor that avoids failing the test when it * sees an Error? */ @AndroidIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall(); // A method that just happens to return a ChainingCalls object ChainingCalls nonChainingCall(); } private static class ForwardingChainingCalls implements ChainingCalls { final ChainingCalls delegate;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
Arrays.asList(ValidationReportLevel.INLINE, ValidationReportLevel.BRIEF)); private enum ValidationReportLevel { NONE, // mute validation completely (validation issue collection still happens, it is just not reported!) INLINE, // inline, each "internal" problem one line next to mojo invocation SUMMARY, // at end, list of plugin GAVs along with ANY validation issues
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:32 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* These methods "should" call checkNotNull. However, I'm wary of accidentally introducing * anything that might slow down execution on such a hot path. Given that the methods are only * package-private, I feel OK with just not testing them for NPE. * * Note that testing casValue is particularly dangerous because it uses Unsafe under some * versions of Java, and apparently Unsafe can cause SIGSEGV instead of NPE—almost as if it's
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
readThreads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); // Just read, don't assert specific counts due to race conditions assertNotNull(children); } }); readThreads[i].start(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/distributed/DESIGN.md
atTotal += pool.Available if atTotal > choose && pool.Available > 0 { return pool.Index } } // Should not happen, but print values just in case. panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose)) } ``` ## Other usages ### Advanced use cases with multiple ellipsesRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (2) -
internal/kms/secret-key.go
return map[string]madmin.ItemState{ "127.0.0.1": madmin.ItemOnline, }, nil } // ListKeys returns a list of keys with metadata. The builtin KMS consists of just a single key. func (s secretKey) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) { if strings.HasPrefix(s.keyID, req.Prefix) && strings.HasPrefix(s.keyID, req.ContinueAt) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Apr 21 16:23:51 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Thread.sleep(toWaitMillis); thread.setPriority(Thread.MAX_PRIORITY); Thread.class.getMethod("resume").invoke(thread); thread.join(); // It's possible to race and suspend the thread just before the park call actually takes effect, // causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0)