Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs_src/websockets/tutorial003_py39.py

                data = await websocket.receive_text()
                await manager.send_personal_message(f"You wrote: {data}", websocket)
                await manager.broadcast(f"Client #{client_id} says: {data}")
        except WebSocketDisconnect:
            manager.disconnect(websocket)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// Unsupported broadcast.
    	VFPCLASSSD.BCST $0, (AX), K2, K1 // ERROR "unsupported broadcast"
    	VFPCLASSSS.BCST $0, (AX), K2, K1 // ERROR "unsupported broadcast"
    	// Broadcast without memory operand.
    	VADDPD.BCST X3, X2, K1, X1       // ERROR "illegal broadcast without memory argument"
    	VADDPD.BCST X3, X2, K1, X1       // ERROR "illegal broadcast without memory argument"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/line_test.go

    		{"VADDPD.SAE.BCST X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.SAE X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
    		{"VADDPD.SAE.SAE X0, X1, X2", `duplicate suffix "SAE"`},
    		{"VADDPD.RZ_SAE.SAE X0, X1, X2", `bad suffix combination`},
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

            // Non-parallel tensors from _EagerConst/tf.constant are implicitly
            // broadcast, i.e. set as the input to each parallel operation. This
            // allows code like "tf.constant(1.)" or "tf.reduce_sum(..., axis=1)"
            // (where the value starts on the host), without allowing other implicit
            // copies/broadcasts. Other implicit copies may be supported eventually,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

                try {
                    this.broadcastAddress = InetAddress.getByName("255.255.255.255");
                }
                catch ( UnknownHostException uhe ) {
                    log.debug("Failed to get broadcast address", uhe);
                }
            }
    
            if ( this.resolverOrder == null ) {
                initResolverOrder(null);
            }
    
            if ( this.minVersion == null || this.maxVersion == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         */
        List<ResolverType> getResolveOrder ();
    
    
        /**
         * 
         * Property <tt>jcifs.netbios.baddr</tt> (string, default <tt>255.255.255.255</tt>)
         * 
         * @return broadcast address to use
         */
        InetAddress getBroadcastAddress ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.netbios.wins</tt> (string, comma separated)
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top