Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 944 for Gevent (0.1 sec)

  1. docs_src/websockets/tutorial003.py

                ws.onmessage = function(event) {
                    var messages = document.getElementById('messages')
                    var message = document.createElement('li')
                    var content = document.createTextNode(event.data)
                    message.appendChild(content)
                    messages.appendChild(message)
                };
                function sendMessage(event) {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  2. internal/s3select/genmessage.go

    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    	buf.WriteByte(13)
    	buf.WriteString(":content-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 24})
    	buf.WriteString("application/octet-stream")
    
    	buf.WriteByte(11)
    	buf.WriteString(":event-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 7})
    	buf.WriteString("Records")
    
    	fmt.Println(buf.Bytes())
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

        }
    
        @Override
        public LogEvent rewrite(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName == null) {
                return event;
            }
            for (final String name : loggerNames) {
                if (loggerName.startsWith(name)) {
                    final Level sourceLevel = event.getLevel();
                    if (sourceLevel != Level.ERROR) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. internal/event/errors.go

    	return fmt.Sprintf("invalid filter value '%v'", err.FilterValue)
    }
    
    // ErrDuplicateEventName - duplicate event name error.
    type ErrDuplicateEventName struct {
    	EventName Name
    }
    
    func (err ErrDuplicateEventName) Error() string {
    	return fmt.Sprintf("duplicate event name '%v' found", err.EventName)
    }
    
    // ErrUnsupportedConfiguration - unsupported configuration error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  5. internal/event/rulesmap.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    // RulesMap - map of rules for every event name.
    type RulesMap map[Name]Rules
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

    /**
     * Registry of subscribers to a single event bus.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
       * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an
       * immutable snapshot of all current subscribers to an event without any locking.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      private static final ListenerCallQueue.Event<Listener> TERMINATED_FROM_NEW_EVENT =
          terminatedEvent(NEW);
      private static final ListenerCallQueue.Event<Listener> TERMINATED_FROM_STARTING_EVENT =
          terminatedEvent(STARTING);
      private static final ListenerCallQueue.Event<Listener> TERMINATED_FROM_RUNNING_EVENT =
          terminatedEvent(RUNNING);
      private static final ListenerCallQueue.Event<Listener> TERMINATED_FROM_STOPPING_EVENT =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. internal/event/targetlist.go

    		ntargets[k] = v
    	}
    	return ntargets
    }
    
    // Send - sends events to targets identified by target IDs.
    func (list *TargetList) Send(event Event, targetIDset TargetIDSet, sync bool) {
    	if sync {
    		list.sendSync(event, targetIDset)
    	} else {
    		list.sendAsync(event, targetIDset)
    	}
    }
    
    func (list *TargetList) sendSync(event Event, targetIDset TargetIDSet) {
    	var wg sync.WaitGroup
    	for id := range targetIDset {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // In that case, the watch stream will begin with synthetic events to
      // produce the current state of objects in the collection. Once all such
      // events have been sent, a synthetic "Bookmark" event  will be sent.
      // The bookmark will report the ResourceVersion (RV) corresponding to the
      // set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import junit.framework.TestCase;
    
    /** Tests for {@link ListenerCallQueue}. */
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
          new ListenerCallQueue.Event<Object>() {
            @Override
            public void call(Object object) {
              throw new RuntimeException();
            }
    
            @Override
            public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top