- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 531 for relative (0.06 sec)
-
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) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } @CanIgnoreReturnValue static long checkNonnegative(long value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.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/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/main/java/jcifs/util/InputValidator.java
*/ public static void validateBufferSize(int size, int maxSize, String fieldName) { if (size < 0) { throw new IllegalArgumentException(fieldName + " size cannot be negative: " + size); } if (size > maxSize) { throw new IllegalArgumentException(fieldName + " size exceeds maximum (" + maxSize + "): " + size); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K 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) -
cmd/dummy-data-generator_test.go
// f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50)) func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker { if totalLength < 0 { panic("Negative length passed to DummyDataGen!") } if skipOffset < 0 { panic("Negative rotations are not allowed") } skipOffset %= int64(len(alphabets)) const multiply = 100 as := bytes.Repeat(alphabets, multiply)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
void accept_lengthBasedFilter_handlesNumericEdges() throws Exception { // Arrange: filter that accepts only strictly positive length SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.6.md
ssign-pod-node/). Node affinity/anti-affinity allow you to specify rules for restricting which node(s) a pod can schedule onto, based on the labels on the node. Pod affinity/anti-affinity allow you to specify rules for spreading and packing pods relative to one another, across arbitrary topologies (node, zone, etc.) These affinity rules are now be specified in a new-in-1.6 `affinity` field of the PodSpec. Kubernetes 1.6 continues to support the alpha `scheduler.alpha.kubernetes.io/affinity` annotation...
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 304K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* * @param a the first {@code boolean} to compare * @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b} */ @InlineMe(replacement = "Boolean.compare(a, b)") public static int compare(boolean a, boolean b) { return Boolean.compare(a, b);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0)