Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Broadcast (0.07 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            }, "Should throw exception for invalid NetBIOS name");
        }
    
        @Test
        @DisplayName("Should handle broadcast resolution timeout")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testBroadcastTimeout() {
            // Configure for broadcast-only resolution with very short timeout
            when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_BCAST));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer.go

    	// Internal errors are transient
    	case nil, ErrIsEmpty, ErrIsFull, ErrAcquireLock, ErrTooMuchDataToWrite, ErrIsNotEmpty:
    		return err
    	default:
    		r.err = err
    		if r.block {
    			r.readCond.Broadcast()
    			r.writeCond.Broadcast()
    		}
    	}
    	return err
    }
    
    func (r *RingBuffer) readErr(locked bool) error {
    	if !locked {
    		r.mu.Lock()
    		defer r.mu.Unlock()
    	}
    	if r.err != nil {
    		if r.err == io.EOF {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

         */
    
        public static final int P_NODE = 1;
    
        /**
         * Try Broadcast queries first, then try to resolve the name using the
         * nameserver.
         */
    
        public static final int M_NODE = 2;
    
        /**
         * A Hybrid node tries to resolve a name using the nameserver first. If
         * that fails use the broadcast address. This is the default if a nameserver
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
    
        public static final int P_NODE = 1;
    
        /**
         * Try Broadcast queries first, then try to resolve the name using the
         * nameserver.
         */
    
        public static final int M_NODE = 2;
    
        /**
         * A Hybrid node tries to resolve a name using the nameserver first. If
         * that fails use the broadcast address. This is the default if a nameserver
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /*
                             * JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

            // Check capabilities
            assertTrue(testConfig.getCapabilities() != 0, "Capabilities should be non-zero");
    
            // Check broadcast address
            assertNotNull(testConfig.getBroadcastAddress());
            assertEquals("255.255.255.255", testConfig.getBroadcastAddress().getHostAddress());
    
            // Check resolver order
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        /** Path to lmhosts file for NetBIOS name resolution */
        protected String lmhostsFilename;
        /** Array of WINS server addresses for NetBIOS name resolution */
        protected InetAddress[] winsServer = {};
        /** Broadcast address for NetBIOS name resolution */
        protected InetAddress broadcastAddress;
        /** Order of name resolution methods to use */
        protected List<ResolverType> resolverOrder;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Then
            assertSame(localAddr, resultLocalAddr, "Should delegate local address");
            assertSame(broadcastAddr, resultBroadcastAddr, "Should delegate broadcast address");
            assertSame(winsServers, resultWinsServers, "Should delegate WINS servers");
            assertEquals(445, resultLocalPort, "Should delegate local port");
    
            verify(mockDelegate).getLocalAddr();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		atomic.StoreInt64(&c.LastPong, time.Now().UnixNano())
    	}
    	atomic.StoreUint32((*uint32)(&c.state), uint32(s))
    	if debugPrint {
    		fmt.Println(c.Local, "updateState:", gotState, "->", s)
    	}
    	c.connChange.Broadcast()
    }
    
    // monitorState will monitor the state of the connection and close the net.Conn if it changes.
    func (c *Connection) monitorState(conn net.Conn, cancel context.CancelCauseFunc) {
    	c.connChange.L.Lock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
Back to top