- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 587 for relative (0.05 sec)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
* high wastes memory. * * @return this {@code CacheBuilder} instance (for chaining) * @throws IllegalArgumentException if {@code initialCapacity} is negative * @throws IllegalStateException if an initial capacity was already set */ @CanIgnoreReturnValue public CacheBuilder<K, V> initialCapacity(int initialCapacity) { checkState(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
bufferOverflowsPrevented.incrementAndGet(); throw new SmbException("Negative offset: " + offset); } if (length < 0) { failedValidations.incrementAndGet(); bufferOverflowsPrevented.incrementAndGet(); throw new SmbException("Negative length: " + length); } // Check for integer overflow
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
generics.go
} else { db.AddError(fmt.Errorf("relation %s not found", association)) return nil } } } else { db.AddError(fmt.Errorf("relation %s not found", association)) return nil } } if q.limitPerRecord > 0 { if relation.JoinTable != nil { tx.AddError(fmt.Errorf("many2many relation %s don't support LimitPerRecord", association))Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
assertEquals(0, ndrShort.value); } @Test @DisplayName("Should decode negative value correctly") void testDecodeNegativeValue() throws NdrException { // Given: NdrShort and mock returning negative value int negativeValue = -1; NdrShort ndrShort = new NdrShort(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/bytes/buffer.go
// another n bytes. After Grow(n), at least n bytes can be written to the // buffer without another allocation. // If n is negative, Grow will panic. // If the buffer can't grow it will panic with [ErrTooLarge]. func (b *Buffer) Grow(n int) { if n < 0 { panic("bytes.Buffer.Grow: negative count") } m := b.grow(n) b.buf = b.buf[:m] } // Write appends the contents of p to the buffer, growing the buffer as
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
smbInfoAllocation.decode(buffer, 0, buffer.length); // The implementation reads values as signed integers and stores them as long // Negative values remain negative when stored in long fields // The calculations will result in negative values long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(22, bytesDecoded); assertEquals(minLong, fileStandardInfo.getSize()); } @Test @DisplayName("Test decode with negative values") void testDecodeWithNegativeValues() throws SMBProtocolDecodingException { // Prepare test data with negative values byte[] buffer = new byte[22]; long negativeLong = -1L; int negativeInt = -1; // Encode test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
return Stream.of(Arguments.of((LongGetter) FileEntry::createTime, -1L, "negative createTime"), Arguments.of((LongGetter) FileEntry::createTime, 0L, "zero createTime"), Arguments.of((LongGetter) FileEntry::createTime, Long.MAX_VALUE, "max createTime"), Arguments.of((LongGetter) FileEntry::lastModified, -2L, "negative lastModified"),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
@DisplayName("Test edge case with minimum/negative values") void testMinimumValues() { // Given long negativeMid = -1L; long negativeAsyncId = -1L; // When Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, negativeMid, negativeAsyncId); // Then assertEquals(negativeMid, request.getMid(), "Should handle negative MID");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
* parameter word (the session identifier) is written in little‑endian form * and that the {@code toString} helper contains the expected values. * * <p>The tests also exercise edge cases such as negative (wrap‑around) session * identifiers and confirm that the writer does not alter any internal state. *</p> */ @ExtendWith(MockitoExtension.class) class SmbComFindClose2Test { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0)