- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 1,236 for currently (0.05 sec)
-
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
// Verify the raw bytes are correctly stored assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input"); } /** * Test constructor with a target name string. * Verifies that the string is correctly encoded to UTF-16LE bytes and stored. */ @Test void testConstructorWithString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@Test @DisplayName("Should correctly implement SmbBasicFileInfo interface") void testSmbBasicFileInfoInterface() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // Use proper millisecond times that will be converted correctly long creationTimeMs = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input."); } @Test void testConstructor_maxValue() { // Test with the maximum byte value NdrSmall ndrSmall = new NdrSmall(255); assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value."); } @Test void testConstructor_zeroValue() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue); assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value."); // Test case 3: Zero value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
}); } /** * Evaluate and potentially update the circuit breaker state * * @return current state after evaluation */ private State evaluateState() { State current = state.get(); if (current == State.OPEN) { long timeSinceLastFailure = System.currentTimeMillis() - lastFailureTime.get();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} @Generates Locale generateLocale() { return pickInstance(Locale.getAvailableLocales(), Locale.US); } @Generates Currency generateCurrency() { return pickInstance(Currency.getAvailableCurrencies(), Currency.getInstance(Locale.US)); } @Empty <T> Optional<T> generateJavaOptional() { return Optional.empty(); } @Generates
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
*/ public void setPageSize(final int pageSize) { this.pageSize = pageSize; } /** * Gets the current page number (1-based). * If the current page number is not set or is invalid, returns the default current page number. * * @return the current page number */ public int getCurrentPageNumber() { if (currentPageNumber <= 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should parse correctly assertNotNull(binding); assertEquals(expectedProto, binding.getProto()); assertEquals(expectedServer, binding.getServer()); assertEquals(expectedEndpoint, binding.getEndpoint()); } @ParameterizedTest @DisplayName("Should handle IPv6 addresses correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
} } @Nested @DisplayName("Encode Tests") class EncodeTests { @Test @DisplayName("Should encode simple path correctly") void testEncodeSimplePath() { String path = "\\\\server\\share"; int maxReferralLevel = 3; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("Should encode single cipher correctly") void testEncodeSingleCipher() { int[] ciphers = { EncryptionNegotiateContext.CIPHER_AES128_CCM }; EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)