Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for NB (0.01 sec)

  1. src/main/java/jcifs/netbios/NameServicePacket.java

            questionTypeString = switch (this.questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(this.questionType, 4);
            };
            recordTypeString = switch (this.recordType) {
            case A -> "A";
            case NS -> "NS";
            case NULL -> "NULL";
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            };
            questionTypeString = switch (questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(questionType, 4);
            };
            recordTypeString = switch (recordType) {
            case A -> "A";
            case NS -> "NS";
            case NULL -> "NULL";
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) NameServicePacket.NB, dst[11]); // questionType low byte
            assertEquals((byte) 0x00, dst[12]); // questionClass high byte
            assertEquals((byte) NameServicePacket.IN, dst[13]); // questionClass low byte
        }
    
        @Test
        void testReadQuestionSectionWireFormat() {
            byte[] src = new byte[20];
            NameServicePacket.writeInt2(NameServicePacket.NB, src, 10); // Mock type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
            out[i++] = (byte) ((nb.length >> 24) & 0xFF);
            out[i++] = (byte) ((nb.length >> 16) & 0xFF);
            out[i++] = (byte) ((nb.length >> 8) & 0xFF);
            out[i++] = (byte) (nb.length & 0xFF);
            System.arraycopy(nb, 0, out, i, nb.length);
            return out;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Server vs Workgroup depends on NetBIOS name type
            Address addr = mock(Address.class);
            NetbiosAddress nb = mock(NetbiosAddress.class);
            when(addr.unwrap(NetbiosAddress.class)).thenReturn(nb);
            when(nb.getNameType()).thenReturn(0x1d); // workgroup code
            // getFirstAddress branch: host given and path non-root -> possibleNTDomain=false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         * @return the derived NdrBuffer
         */
        public NdrBuffer derive(final int idx) {
            final NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
            nb.deferred = this.deferred;
            return nb;
        }
    
        /**
         * Resets the buffer position to the start.
         */
        public void reset() {
            this.index = this.start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         * @param idx the index position for the derived buffer
         * @return the derived NdrBuffer
         */
        public NdrBuffer derive(final int idx) {
            final NdrBuffer nb = new NdrBuffer(buf, start);
            nb.index = idx;
            nb.deferred = deferred;
            return nb;
        }
    
        /**
         * Resets the buffer position to the start.
         */
        public void reset() {
            this.index = start;
            length = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
            assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSplit() throws Exception {
            final String[] array = StringUtil.split("aaa\nbbb", "\n");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top