Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for 15 (0.01 sec)

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

            writeInt4(30, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterDisplacement = 0
            writeInt4(0, buffer, bufferIndex);
            bufferIndex += 4;
            // dataCount = 15
            writeInt4(15, buffer, bufferIndex);
            bufferIndex += 4;
            // dataOffset = 40
            writeInt4(40, buffer, bufferIndex);
            bufferIndex += 4;
            // dataDisplacement = 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

         *
         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type/suffix
         * @param scope the NetBIOS scope identifier (uses default if null or empty)
         */
        public Name(String name, final int hexCode, final String scope) {
            if (name.length() > 15) {
                name = name.substring(0, 15);
            }
            this.name = name.toUpperCase();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NetbiosAddressTest.java

            assertNotNull(masterBrowser);
            assertNotNull(smbServer);
    
            // Test that they have expected lengths
            assertEquals(16, anyHosts.length());
            assertEquals(15, masterBrowser.length());
            assertEquals(15, smbServer.length());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/Name.java

         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type code
         * @param scope the NetBIOS scope identifier
         */
        public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
            this.config = cfg;
            if (name.length() > 15) {
                name = name.substring(0, 15);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/UniAddress.java

                this.calledName = NbtAddress.SMBSERVER_NAME;
            } else {
                final int i = this.calledName.indexOf('.');
                if (i > 1 && i < 15) {
                    this.calledName = this.calledName.substring(0, i).toUpperCase();
                } else if (this.calledName.length() > 15) {
                    this.calledName = NbtAddress.SMBSERVER_NAME;
                } else {
                    this.calledName = this.calledName.toUpperCase();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            setNumEntries(response, 1);
    
            // Create a 15-character server name (maximum for NetBIOS name)
            String serverName = "SERVERNAME12345"; // 15 characters
            String comment = "Max length name";
    
            byte[] buffer = new byte[200];
            int bufferIndex = 0;
    
            // Write server name (exactly 15 bytes)
            byte[] nameBytes = serverName.getBytes(StandardCharsets.US_ASCII);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            doReturn(15).when((NameServicePacket) request).readQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.readBodyWireFormat(src, srcIndex);
    
            // Verify that readQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).readQuestionSectionWireFormat(src, srcIndex);
            assertEquals(15, result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.advance(10);
            assertEquals(10, ndrBuffer.getIndex());
            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.advance(5);
            assertEquals(15, ndrBuffer.getIndex());
            assertEquals(15, ndrBuffer.getLength());
    
            // Advance past current length
            ndrBuffer.setLength(10);
            ndrBuffer.setIndex(10);
            ndrBuffer.advance(10);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 6 })
            @DisplayName("Returns 0 with valid array and various indices")
            void normalArray(int idx) {
                byte[] arr = new byte[15];
                assertEquals(0, response.readParameterWordsWireFormat(arr, idx));
            }
        }
    
        @Nested
        @DisplayName("readBytesWireFormat tests")
        class ReadBytes {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top