- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 00101010 (0.03 sec)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testValidArrayAllocation() throws Exception { validator.validateArrayAllocation(100, 10, 1000); validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed } @Test public void testArrayAllocationNegativeSize() throws Exception { assertThrows(SmbException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat((double) list.get(1)).isEqualTo(1.0); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0, 3.0}; List<Double> list = Doubles.asList(array); assertThat(Doubles.toArray(list.subList(1, 3))).isEqualTo(new double[] {1.0, 2.0}); assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
this.netbiosLookupRespLimit = Config.getInt(p, "jcifs.netbios.lookupRespLimit", 3); this.netbiosCacheTimeout = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */ if (this.realm == null) { this.realm = "jCIFS"; } this.transportContext = new BaseContext(new PropertyConfiguration(p));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @ParameterizedTest @DisplayName("Test range validation") @CsvSource({ "50, 0, 100, true", "0, 0, 100, true", "100, 0, 100, true", "-1, 0, 100, false", "101, 0, 100, false" }) void testRangeValidation(long value, long min, long max, boolean valid) { if (valid) { assertDoesNotThrow(() -> InputValidator.validateRange(value, min, max, "test")); } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder(); } public void testOf4() { assertThat(ImmutableDoubleArray.of(0, 1, 3, 6).asList()) .containsExactly(0.0, 1.0, 3.0, 6.0) .inOrder(); } public void testOf5() { assertThat(ImmutableDoubleArray.of(0, 1, 3, 6, 10).asList()) .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0) .inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
private static final String USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", null); private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */ static NbtAddress[] dc_list = null; static long dc_list_expiration; static int dc_list_counter; private static NtlmChallenge interrogate(final NbtAddress addr) throws SmbException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should check capability correctly") void testHaveCapability() throws Exception { // Given setPrivateField(response, "commonCapabilities", 0x2F); // 0010 1111 // Then assertTrue(response.haveCapabilitiy(0x01)); // Has this bit assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bitsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
private final AtomicInteger consecutiveSuccesses = new AtomicInteger(0); // Hystrix-style windowed statistics private final RollingWindow rollingWindow = new RollingWindow(10, 1000); // 10 buckets, 1 second each /** * Create a circuit breaker with default settings * * @param name circuit breaker name for logging */ public SmbCircuitBreaker(String name) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
"134217728, 67108864, 8, 512, 549755813888, 274877906944", // 512GB total, 256GB free "1, 1, 1, 1, 1, 1", // Minimal values "0, 0, 1, 1, 0, 0" // Zero allocation units }) void shouldCalculateVariousFileSystemSizes(long alloc, long free, int sectPerAlloc, int bytesPerSect, long expectedCapacity,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)