Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getIntegerOverflowsPrevented (0.15 seconds)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

                return failedValidations;
            }
    
            public long getBufferOverflowsPrevented() {
                return bufferOverflowsPrevented;
            }
    
            public long getIntegerOverflowsPrevented() {
                return integerOverflowsPrevented;
            }
    
            public double getFailureRate() {
                return totalValidations > 0 ? (double) failedValidations / totalValidations : 0;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            } catch (SmbException e) {
                // Expected
            }
    
            ServerResponseValidator.ValidationStats stats = validator.getStats();
            assertTrue(stats.getIntegerOverflowsPrevented() > 0);
        }
    
        @Test
        public void testBoundaryValues() throws Exception {
            // Test boundary values for safe operations
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top