- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 908 for Bounds (0.08 sec)
-
src/test/java/jcifs/pac/ASN1UtilTest.java
assertThrows(EOFException.class, () -> { ASN1Util.readLength(s, 100, false); }); } @Test void testReadLength_OutOfBounds() { // Length out of bounds InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x81, (byte) 0xFF }); // length 255 assertThrows(IOException.class, () -> { ASN1Util.readLength(s, 200, false); // limit 200 });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
RELEASE.md
`SparseDenseCwiseMul` ([CVE-2021-29567](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29567)) * Fixes a heap out of bounds read in `MaxPoolGradWithArgmax` ([CVE-2021-29570](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29570)) * Fixes a heap out of bounds read in `RequantizationRange` ([CVE-2021-29569](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29569))
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (1) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
when(mockReferral.getNode()).thenReturn("\\server\\share\\path"); String reqPath = "\\\\server\\share\\path\\file"; // Ensure consumed is within bounds to avoid StringIndexOutOfBoundsException consumed = Math.min(consumed, reqPath.length());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// // If index is out of bounds, an error code will be set in the status object, // and -1 will be returned. TF_CAPI_EXPORT extern int64_t TF_DeviceListMemoryBytes( const TF_DeviceList* list, int index, TF_Status* status); // Retrieve the incarnation number of a given device. // // If index is out of bounds, an error code will be set in the status object, // and 0 will be returned.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
} @Test void testResolveSidsWithOffsetAndLength_OutOfBounds() throws CIFSException { doThrow(new CIFSException("Array index out of bounds")).when(sidResolver) .resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(5), anyInt());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmb2BufferSize(InputValidator.MAX_SMB2_BUFFER_SIZE + 1, "test")); } @Test @DisplayName("Test array bounds validation") void testArrayBounds() { byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
void testDecodeWithBufferOverflow() { assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, 250, 10), "Should throw exception when reading beyond buffer bounds"); } @Test @DisplayName("Should handle zero-length decode") void testDecodeWithZeroLength() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); info502.security_descriptor = new byte[] { 1, 2, 3, 4 }; info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
/** * Returns the element at the specified position in an iterable. * * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws * {@code NoSuchElementException} if out of bounds) * * @param position position of the element to return * @return the element at the specified position in {@code iterable}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0)