Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for remove (0.17 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

          if (hasNext()) {
            toRemove = iterator;
            return iterator.next();
          } else {
            throw new NoSuchElementException();
          }
        }
    
        @Override
        public void remove() {
          if (toRemove == null) {
            throw new IllegalStateException("no calls to next() since the last call to remove()");
          }
          toRemove.remove();
          toRemove = null;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public void remove() {
          checkRemove(canRemove);
          if (totalCount == 1) {
            entryIterator.remove();
          } else {
            /*
             * requireNonNull is safe because canRemove is set to true only after we initialize
             * currentEntry (which we never subsequently clear).
             */
            multiset.remove(requireNonNull(currentEntry).getElement());
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * iteration over one of the multimap's collection views is in progress (except through the
       * iterator's own {@code remove} operation, or through the {@code setValue} operation on a map
       * entry returned by the iterator), the results of the iteration are undefined.
       *
       * <p>The multimap supports mapping removal, which removes the corresponding mapping from the map.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    	return &dep.RealDependencies{
    		CNIMode:          false, // we are in cni, but as we do the netns ourselves, we should keep this as false.
    		NetworkNamespace: "",
    	}
    }
    
    // Remove pod from mesh: pod is not deleted, we just want to remove it from the mesh.
    func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        try {
          cycle.remove();
          fail("no exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testCycleRemoveSameElementTwice() {
        Iterator<String> cycle = Iterators.cycle("a", "b");
        cycle.next();
        cycle.remove();
        try {
          cycle.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  6. pyproject.toml

        # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
        'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio',
        'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
        # TODO: remove after upgrading HTTPX to a version newer than 0.23.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          try {
            return super.remove(o);
          } catch (UnsupportedOperationException e) {
            for (Entry<K, V> entry : map().entrySet()) {
              if (Objects.equal(o, entry.getValue())) {
                map().remove(entry.getKey());
                return true;
              }
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          } else {
            readyQueues.remove(taskQueue)
          }
        }
    
        if (coordinatorWaiting) {
          backend.coordinatorNotify(this@TaskRunner)
        } else {
          startAnotherThread()
        }
      }
    
      private fun beforeRun(task: Task) {
        lock.assertHeld()
    
        task.nextExecuteNanoTime = -1L
        val queue = task.queue!!
        queue.futureTasks.remove(task)
        readyQueues.remove(queue)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          contents.put(element, occurrences + contents.get(element));
          return this;
        }
    
        /**
         * Adds or removes the necessary occurrences of an element such that the element attains the
         * desired count.
         *
         * @param element the element to add or remove occurrences of
         * @param count the desired count of the element in this multiset
         * @return this {@code Builder} object
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foxdir/fooobject/foo.txt",
    			objectModTime:  time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			expectedAction: DeleteAction,
    		},
    		// Too early to remove (test Days)
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top