- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,137 for causes (0.04 sec)
- 
				
				src/test/java/jcifs/internal/fscc/FileSystemInformationTest.javaString result = fileFsFullSizeInfo.toString(); assertNotNull(result); assertTrue(result.contains("SmbInfoAllocation")); // Note: toString() uses this name } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTests { @Test @DisplayName("Should handle null buffer in decode") void testNullBuffer() { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.javaimport org.mockito.Mockito; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Security-focused test cases for Smb2NegotiateResponse input validation. * Tests various malformed input scenarios to ensure proper validation and * protection against buffer overflow, integer overflow, and other attacks. */ Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)
- 
				
				docs/bucket/versioning/README.md> NOTE: Server side replication is supported for idempotent versions on delete marked objects. ### Motivation Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 12K bytes - Viewed (0)
- 
				
				cmd/format-erasure_test.goSets [][]string `json:"sets"` DistributionAlgo string `json:"distributionAlgo"` }{ Version: "0", }, }, false, }, } // Valid all test cases. for i, testCase := range testCases { if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success { t.Errorf("Test %d: Expected failure %s", i+1, err) } } } Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/io/Closer.javapublic static Closer create() { return new Closer(SUPPRESSING_SUPPRESSOR); } @VisibleForTesting final Suppressor suppressor; // only need space for 2 elements in most cases, so try to use the smallest array possible private final Deque<Closeable> stack = new ArrayDeque<>(4); private @Nullable Throwable thrown; @VisibleForTesting Closer(Suppressor suppressor) { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbFileOutputStreamTest.javaSmbConstants.DEFAULT_SHARING); byte[] data = new byte[10]; // When & Then - test boundary conditions // Negative length or offset should not cause issues (len <= 0 returns early) assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns earlyRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/util/PathValidatorTest.java// Windows reserved names should be caught regardless of case try { validator.validatePath("\\share\\con"); fail("Should block lowercase reserved name"); } catch (SmbException e) { // Expected } try { validator.validatePath("\\share\\Con"); fail("Should block mixed case reserved name"); } catch (SmbException e) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/math/MathTesting.java// Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31). intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); // Add values up to 40. This covers cases like "square of a prime" and such. for (int i = 1; i <= 40; i++) { intValues.add(i); } // Now add values near 2^N for lots of values of N. Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java// If we clip the safe range used during the per-character tests so it is // below the values of characters in surrogate pairs, this cannot occur. // This approach does mean that we break out of the fast path code in cases // where we don't strictly need to, but this situation will almost never // occur in practice. if (safeMin >= Character.MIN_HIGH_SURROGATE) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0)
- 
				
				docs/ftp/README.md### Custom Algorithms (SFTP) Custom algorithms can be specified via command line parameters. Algorithms are comma separated. Note that valid values does not in all cases represent default values. `--sftp=pub-key-algos=...` specifies the supported client public key authentication algorithms. Note that this doesn't include certificate types Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0)