Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 912 for removeAt (1.36 sec)

  1. internal/event/rulesmap.go

    func (rulesMap RulesMap) Add(rulesMap2 RulesMap) {
    	for eventName, rules := range rulesMap2 {
    		rulesMap[eventName] = rules.Union(rulesMap[eventName])
    	}
    }
    
    // Remove - removes given rules map.
    func (rulesMap RulesMap) Remove(rulesMap2 RulesMap) {
    	for eventName, rules := range rulesMap {
    		if nr := rules.Difference(rulesMap2[eventName]); len(nr) != 0 {
    			rulesMap[eventName] = nr
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_removeAffectsBackingCollection() {
        int originalSize = collection.size();
        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. cmd/metacache-bucket.go

    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    // cleanup removes redundant and outdated entries.
    func (b *bucketMetacache) cleanup() {
    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetlist.go

    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    func (list *TargetList) Remove(targetIDSet TargetIDSet) {
    	list.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/main/assemblies/files/service.bat

    goto:eof
    :managed
    echo Successfully started service manager for '%SERVICE_ID%'.
    goto:eof
    
    :doRemove
    rem Remove the service
    "%EXECUTABLE%" //DS//%SERVICE_ID% %LOG_OPTS%
    if not errorlevel 1 goto removed
    echo Failed removing '%SERVICE_ID%' service
    goto:eof
    :removed
    echo The service '%SERVICE_ID%' has been removed
    goto:eof
    
    :doInstall
    echo Installing service      :  "%SERVICE_ID%"
    Batch File
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
       * Removes recorded events up to (and including) an event is found whose class equals [eventClass]
       * and returns it.
       */
      fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.ENDPOINTS_MISMATCH;
    import static com.google.common.graph.GraphConstants.NODE_PAIR_REMOVED_FROM_GRAPH;
    import static com.google.common.graph.GraphConstants.NODE_REMOVED_FROM_GRAPH;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Sets;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/StandardSystemProperty.java

      /**
       * Path of extension directory or directories.
       *
       * @deprecated This property was <a
       *     href="https://openjdk.java.net/jeps/220#Removed:-The-extension-mechanism">deprecated</a> in
       *     Java 8 and removed in Java 9. We do not plan to remove this API from Guava, but if you are
       *     using it, it is probably not doing what you want.
       */
      @Deprecated
      JAVA_EXT_DIRS("java.ext.dirs"),
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/StandardSystemProperty.java

      /**
       * Path of extension directory or directories.
       *
       * @deprecated This property was <a
       *     href="https://openjdk.java.net/jeps/220#Removed:-The-extension-mechanism">deprecated</a> in
       *     Java 8 and removed in Java 9. We do not plan to remove this API from Guava, but if you are
       *     using it, it is probably not doing what you want.
       */
      @Deprecated
      JAVA_EXT_DIRS("java.ext.dirs"),
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  10. cmd/event-notification.go

    		evnot.bucketRulesMap[bucketName] = rulesMap
    	}
    }
    
    // RemoveNotification - removes all notification configuration for bucket name.
    func (evnot *EventNotifier) RemoveNotification(bucketName string) {
    	evnot.Lock()
    	defer evnot.Unlock()
    
    	delete(evnot.bucketRulesMap, bucketName)
    }
    
    // RemoveAllBucketTargets - closes and removes all notification targets.
    func (evnot *EventNotifier) RemoveAllBucketTargets() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top