Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Clear (0.03 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
        /** Returns the entry which contains this {@link WeakValueReference}. */
        E getEntry();
    
        /** Unsets the referenced value. Subsequent calls to {@link #get} will return {@code null}. */
        void clear();
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
        /** Returns the entry which contains this {@link WeakValueReference}. */
        E getEntry();
    
        /** Unsets the referenced value. Subsequent calls to {@link #get} will return {@code null}. */
        void clear();
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        public boolean addAll(Collection<? extends E> c) {
          synchronized (mutex) {
            return delegate().addAll(c);
          }
        }
    
        @Override
        public void clear() {
          synchronized (mutex) {
            delegate().clear();
          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        public boolean addAll(Collection<? extends E> c) {
          synchronized (mutex) {
            return delegate().addAll(c);
          }
        }
    
        @Override
        public void clear() {
          synchronized (mutex) {
            delegate().clear();
          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    							return
    						}
    					}
    				}
    			}
    			zb0001Mask |= 0x1
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	// Clear omitted fields.
    	if zb0001Mask != 0x1 {
    		if (zb0001Mask & 0x1) == 0 {
    			z.ObjectV2 = nil
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

         * @throws UnsupportedOperationException always
         * @deprecated Unsupported operation.
         */
        @Deprecated
        @Override
        @DoNotCall("Always throws UnsupportedOperationException")
        public final void clear() {
          throw new UnsupportedOperationException();
        }
    
        /**
         * Scope the return type to {@link UnmodifiableIterator} to ensure this is an unmodifiable view.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          }
          val c = input[pos]
          if (c == '/' || c == '\\') {
            // Absolute path: reset to the default "/".
            encodedPathSegments.clear()
            encodedPathSegments.add("")
            pos++
          } else {
            // Relative path: clear everything after the last '/'.
            encodedPathSegments[encodedPathSegments.size - 1] = ""
          }
    
          // Read path segments.
          var i = pos
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_gen.go

    				err = msgp.WrapError(err, "Compacted")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	// Clear omitted fields.
    	if zb0001Mask != 0x1 {
    		if (zb0001Mask & 0x1) == 0 {
    			z.AllTierStats = nil
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

            }
            /*
             * requireNonNull is safe because our callers always pass non-null arguments. Each element
             * of the array becomes null only when we iterate past it and then clear it.
             */
            I result = requireNonNull(elements[index]);
            elements[index] = null;
            index++;
            return result;
          }
        };
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top