Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for consistency (0.89 sec)

  1. src/main/java/jcifs/smb/JAASAuthenticator.java

                this.cachedSubject = s;
                return this.cachedSubject;
            } catch (LoginException e) {
                log.error("Failed to create login context", e);
                // Cache null to ensure consistent behavior across calls
                this.cachedSubject = null;
                return null;
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbRenewableCredentials#renew()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/curl/CurlTest.java

                assertNotNull(request);
                assertEquals(method, request.method());
            }
        }
    
        @Test
        public void test_FactoryMethodsConsistency() {
            // ## Test that factory methods are consistent with constructor ##
    
            // ## Act ##
            final String url = "http://example.com";
            final CurlRequest getViaFactory = Curl.get(url);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                int expectedAlignedSize = (expectedSize + 7) & ~7;
    
                assertEquals(expectedAlignedSize, echoRequest.size());
            }
    
            @Test
            @DisplayName("Size should be consistent across multiple calls")
            void testSizeConsistency() {
                int size1 = echoRequest.size();
                int size2 = echoRequest.size();
    
                assertEquals(size1, size2);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should always force unicode")
            void testIsForceUnicode() {
                assertTrue(response.isForceUnicode());
            }
    
            @Test
            @DisplayName("Should consistently return true for unicode")
            void testIsForceUnicodeMultipleCalls() {
                for (int i = 0; i < 5; i++) {
                    assertTrue(response.isForceUnicode());
                }
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. LICENSE

          the Work or Derivative Works thereof, You may choose to offer,
          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Jan 11 04:26:17 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  6. LICENSE

          the Work or Derivative Works thereof, You may choose to offer,
          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
    Registered: Sat Dec 20 08:54:13 UTC 2025
    - Last Modified: Thu Feb 20 19:53:57 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtAddress.java

            /*
             * The NodeStatusResponse.readNodeNameArray method may also set this
             * information. These two places where node status data is populated should
             * be consistent. Be carefull!
             */
            this.hostName = hostName;
            this.address = address;
            this.groupName = groupName;
            this.nodeType = nodeType;
            this.isBeingDeleted = isBeingDeleted;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(200L, SMBUtil.readInt8(smallBuffer, 8));
                assertEquals(1, SMBUtil.readInt4(smallBuffer, 16));
            }
    
            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Act
            byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password));
            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                for (Thread t : threads) {
                    t.join();
                }
    
                // All results should be consistent
                boolean firstResult = results[0];
                for (boolean result : results) {
                    assertEquals(firstResult, result, "All thread results should be consistent");
                }
            }
    
            @Test
            @DisplayName("Should handle concurrent verify operations efficiently")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top