Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for Broadcast (0.07 seconds)

  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));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/websockets.md

    ```
    Client #1596980209979 left the chat
    ```
    
    /// tip
    
    The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections.
    
    But keep in mind that, as everything is handled in memory, in a single list, it will only work while the process is running, and will only work with a single process.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. 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.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  5. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. 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()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/Configuration.java

         */
        List<ResolverType> getResolveOrder();
    
        /**
         *
         * Property {@code jcifs.netbios.baddr} (string, default {@code 255.255.255.255})
         *
         * @return broadcast address to use
         */
        InetAddress getBroadcastAddress();
    
        /**
         *
         *
         * Property {@code jcifs.netbios.wins} (string, comma separated)
         *
         * @return WINS server to use
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. internal/dsync/drwmutex.go

    	tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    	for index, c := range restClnts {
    		wg.Add(1)
    		// broadcast lock request to all nodes
    		go func(index int, isReadLock bool, c NetLocker) {
    			defer wg.Done()
    
    			g := Granted{index: index}
    			if c == nil {
    				log("dsync: nil locker\n")
    				ch <- g
    				return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	// Move vector register to vector register.
    	VMOVQ		V1, V9		// 29002d73
    	VMOVQ		V2, V8		// 48002d73
    	XVMOVQ		X3, X7		// 67002d77
    	XVMOVQ		X4, X6		// 86002d77
    
    	// Load data from memory and broadcast to each element of a vector register: VMOVQ    offset(Rj), <Vd>.<T>
    	VMOVQ		(R4), V0.B16	// 80008030
    	VMOVQ		1(R4), V0.B16	// 80048030
    	VMOVQ		-3(R4), V0.B16	// 80f4bf30
    	VMOVQ		(R4), V1.H8	// 81004030
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 27 00:46:52 GMT 2025
    - 44.5K bytes
    - Click Count (0)
Back to Top