- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 464 for AVOID (0.02 sec)
-
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
cmd/data-usage.go
continue } for id, usageInfo := range cache.flattenChildrens(*root) { prefix := decodeDirObject(strings.TrimPrefix(id, bucket+slashSeparator)) // decodeDirObject to avoid any __XLDIR__ objects m[prefix] += uint64(usageInfo.Size) } } } } return m, nil }, ) return prefixUsageCache.GetWithCtx(ctx) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 5.6K bytes - Viewed (0) -
src/bufio/bufio.go
func (b *Reader) Reset(r io.Reader) { // If a Reader r is passed to NewReader, NewReader will return r. // Different layers of code may do that, and then later pass r // to Reset. Avoid infinite recursion in that case. if b == r { return } if b.buf == nil { b.buf = make([]byte, defaultBufSize) } b.reset(b.buf, r) } func (b *Reader) reset(buf []byte, r io.Reader) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
if (comparator == null) { // A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
if (comparator == null) { // A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} @Test @DisplayName("renew: invokes getSubject and returns self") void testRenewInvokesGetSubjectAndReturnsSelf() { JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.java
* including navigation controls and search/filter parameters. * * <p>Duplicate hosts allow administrators to define hostname patterns that should * be treated as equivalent during crawling, helping to avoid duplicate content * from the same logical site accessed via different hostnames.</p> */ public class DuplicateHostPager implements Serializable { private static final long serialVersionUID = 1L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
void testDecode() throws NdrException { // Given: Mocked buffer data with pre-created entries to avoid complex entry decode chain samr.SamrSamArray array = new samr.SamrSamArray(); array.entries = new samr.SamrSamEntry[1]; // Pre-populate to avoid decoding array.entries[0] = new samr.SamrSamEntry();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); double[][] arrays = new double[arraysDim1][]; // it's shared to avoid using too much memory in tests double[] sharedArray = new double[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Doubles.concat(arrays); fail();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0)