Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for nc (0.04 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
            // Name should be formatted as username@domain
            assertEquals("user@DOM", nc.getName());
            // Password should be set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                for (final NegotiateContextRequest nc : this.negotiateContexts) {
                    SMBUtil.writeInt2(nc.getContextType(), dst, dstIndex);
                    final int lenOffset = dstIndex + 2;
                    dstIndex += 4;
                    SMBUtil.writeInt4(0, dst, dstIndex);
                    dstIndex += 4; // Reserved
                    final int dataLen = size8(nc.encode(dst, dstIndex));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/JAASAuthenticator.java

                    log.debug("Got callback " + cb.getClass().getName());
                }
    
                if (cb instanceof NameCallback nc) {
                    String userDomain = this.getSpecifiedUserDomain();
                    if (this.getUsername() != null && userDomain != null) {
                        nc.setName(this.getUsername() + "@" + userDomain);
                    }
                } else if (cb instanceof PasswordCallback pc) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            String[] inputs = { "a", "b", "c" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            String inputsValue = item.getInputsValue();
            assertEquals("a\nb\nc", inputsValue);
        }
    
        public void test_getInputsValue_withSingleInput() {
            // Test with single input
            String[] inputs = { "single" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top