Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for nc (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null dc")
            void testConstructorAcceptsNullDc() {
                byte[] challenge = new byte[] { 1, 2, 3 };
    
                NtlmChallenge nc = new NtlmChallenge(challenge, null);
    
                assertSame(challenge, nc.challenge);
                assertNull(nc.dc);
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/util/StringUtilTest.java

            return Stream.of(Arguments.of(",", "A,B,C"), Arguments.of(", ", "A, B, C"), Arguments.of(" ", "A B C"), Arguments.of("|", "A|B|C"),
                    Arguments.of("::", "A::B::C"), Arguments.of("\n", "A\nB\nC"), Arguments.of("\r\n", "A\r\nB\r\nC"));
        }
    
        @Test
        @DisplayName("Should handle StringBuilder as CharSequence")
        void testJoinWithStringBuilder() {
            StringBuilder sb1 = new StringBuilder("first");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
        Reader r = new StringReader(text);
        LineProcessor<Integer> alwaysFalse =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
        Reader r = new StringReader(text);
        LineProcessor<Integer> alwaysFalse =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. 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 (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    x?ro??h&a?q?s!.sa,??i&7a0oi--nx?h??j&b?f?t?x?z??kh?l&h?im?j??m&n?oc!.&rekamegas.1-&htron-nc.&koobeton,oiduts,?tsewhtron-nc.&koobeton,oiduts,??s&ecivresbewnozama.no.1-&htron-nc.ppabew-refsnart,tsewhtron-nc.ppabew-refsnart,?wanozama.&1-&htron-nc.&3s,adbmal-tcejbo-3s,d&etacerped-3s,orp-&iupparme,oidutsrme,skoobetonrme,??etisbew-3s,ipa-etucexe,kcatslaud.&3s,etisbew-3s,tniopssecca-3s,?tniopssecca-3s,?tsewhtron-nc.&3s,adbmal-tcejbo-3s,dorp-&iupparme,oidutsrme,skoobetonrme,?etisbew-3s,ipa-etucexe,kcats...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:39:59 UTC 2025
    - 75.3K bytes
    - Viewed (1)
  9. src/test/resources/jcifs/smb1/util/mime.map

    application/x-javascript       js               # Javascript
    application/x-latex            latex            # Latex File
    application/x-mif              mif              #
    application/x-netcdf           nc cdf           #
    #application/x-sh               sh               # sh Shell Program
    application/x-shar             shar             #
    application/x-shockwave-flash  swf              # Macromedia Shockwave file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. 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