Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for SMBSERVER_NAME (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

            if (this.calledName == this.hostName.name) {
                this.calledName = SMBSERVER_NAME;
            } else if (SMBSERVER_NAME.equals(this.calledName)) {
                NetbiosAddress[] addrs;
    
                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if (this.getNameType() == 0x1D) {
                        for (final NetbiosAddress addr : addrs) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

            if (isDotQuadIP(calledName)) {
                calledName = NbtAddress.SMBSERVER_NAME;
            } else {
                final int i = calledName.indexOf('.');
                if (i > 1 && i < 15) {
                    calledName = calledName.substring(0, i).toUpperCase();
                } else if (calledName.length() > 15) {
                    calledName = NbtAddress.SMBSERVER_NAME;
                } else {
                    calledName = calledName.toUpperCase();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/UniAddressTest.java

                assertEquals(NbtAddress.SMBSERVER_NAME, uniAddress.nextCalledName(mockCIFSContext));
            }
    
            @Test
            void shouldReturnNullWhenInetAddressAndCalledNameIsAlreadySmbServerName() throws UnknownHostException {
                when(mockInetAddress.getHostName()).thenReturn("192.168.1.1"); // This will set calledName to SMBSERVER_NAME
                UniAddress uniAddress = new UniAddress(mockInetAddress);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/NetbiosAddressTest.java

                    NbtAddress.ANY_HOSTS_NAME);
            assertEquals("\u0001\u0002__MSBROWSE__\u0002", NbtAddress.MASTER_BROWSER_NAME);
            assertEquals("*SMBSERVER     ", NbtAddress.SMBSERVER_NAME);
    
            // Test node type constants
            assertEquals(0, NbtAddress.B_NODE);
            assertEquals(1, NbtAddress.P_NODE);
            assertEquals(2, NbtAddress.M_NODE);
            assertEquals(3, NbtAddress.H_NODE);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (calledName == hostName.name) {
                calledName = SMBSERVER_NAME;
            } else if (calledName == SMBSERVER_NAME) {
                NbtAddress[] addrs;
    
                try {
                    addrs = CLIENT.getNodeStatus(this);
                    if (hostName.hexCode == 0x1D) {
                        for (final NbtAddress addr : addrs) {
                            if (addr.hostName.hexCode == 0x20) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
Back to Top