Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,550 for removes (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/BiMap.java

       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * An alternate form of {@code put} that silently removes any existing entry with the value {@code
       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. cmd/bucket-encryption-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Write bucket encryption configuration to client
    	writeSuccessResponseXML(w, configData)
    }
    
    // DeleteBucketEncryptionHandler - Removes bucket encryption configuration
    func (api objectAPIHandlers) DeleteBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "DeleteBucketEncryption")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/os-reliable.go

    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    			// Retry only for the first retryable error.
    			if isSysErrNotEmpty(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. architecture/networking/controllers.md

    * Simple object filtering. Beyond just static filters on objects, `kclient` supports _dynamic filters_ that can change at runtime.
      When a filter changes and includes/removes new objects, those are automatically handled.
    * Proper syncing and shutdown logic. Checking for when an informer has fully started can be quite tricky; `kclient` automatically handles it.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          }
    
          @Override
          public void remove() {
            iterator.remove();
          }
        };
      }
    
      /**
       * Returns an iterator that cycles indefinitely over the provided elements.
       *
       * <p>The returned iterator supports {@code remove()}. After {@code remove()} is called,
       * subsequent cycles omit the removed element, but {@code elements} does not change. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link java.util.Collection} specified in the
       * {@link Multimap} interface.
       */
      @Override
      SortedSet<V> get(@ParametricNullness K key);
    
      /**
       * Removes all values associated with a given key.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                    } else {
                        s = ".";
                    }
                }
            }
    
            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link java.util.Collection} specified in the
       * {@link Multimap} interface.
       */
      @Override
      SortedSet<V> get(@ParametricNullness K key);
    
      /**
       * Removes all values associated with a given key.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top