Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 809 for clears (1.47 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          // TODO(kevinb): precompute random #s?
          queue.add(queue.poll() ^ random.nextInt());
        }
      }
    
      @Benchmark
      void populate(int reps) {
        for (int i = 0; i < reps; i++) {
          queue.clear();
          for (int j = 0; j < size; j++) {
            // TODO(kevinb): precompute random #s?
            queue.add(random.nextInt());
          }
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
        };
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public void clear() {
        countMap.clear();
      }
    
      @WeakOuter
      private final class EntrySet extends AbstractMultiset<E>.EntrySet {
        @Override
        ConcurrentHashMultiset<E> multiset() {
          return ConcurrentHashMultiset.this;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     *
     * <p>Most methods in this class treat absent values and zero values identically, as individually
     * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link
     * #asMap}, and {@link #toString}.
     *
     * <p>Instances of this class may be used by multiple threads concurrently. All operations are
     * atomic unless otherwise noted.
     *
     * <p>Instances of this class are serializable if the keys are serializable.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ErrCounts")
    				return
    			}
    			if z.ErrCounts == nil {
    				z.ErrCounts = make(map[string]int, zb0003)
    			} else if len(z.ErrCounts) > 0 {
    				clear(z.ErrCounts)
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0001 string
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "ErrCounts")
    					return
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    final File f = new File(FILENAME);
                    final long lm = f.lastModified();
    
                    if (lm > lastModified) {
                        lastModified = lm;
                        TAB.clear();
                        alt = 0;
                        populate(new FileReader(f));
                    }
                    result = (NbtAddress) TAB.get(name);
                }
            } catch (final FileNotFoundException fnfe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class SimpleAbstractMultisetTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(SimpleAbstractMultisetTest.class);
        suite.addTest(
            MultisetTestSuiteBuilder.using(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            helper.setProperty(bean, "name", String.class, config);
            assertEquals("testValue", bean.getName());
    
            // Clear caches and verify it still works
            EnhancedCompositeBeanHelper.clearCaches();
    
            TestBean bean2 = new TestBean();
            helper.setProperty(bean2, "name", String.class, config);
            assertEquals("testValue", bean2.getName());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "StaticLabels")
    				return
    			}
    			if z.StaticLabels == nil {
    				z.StaticLabels = make(map[string]string, zb0002)
    			} else if len(z.StaticLabels) > 0 {
    				clear(z.StaticLabels)
    			}
    			for zb0002 > 0 {
    				var za0002 string
    				zb0002--
    				var za0001 string
    				za0001, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * public void testFooLeak() {
     *   GcFinalization.awaitClear(fooWeakRef());
     * }
     * }
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                final List<String> list = entry.getValue();
                paramMap.put(entry.getKey(), list.toArray(new String[list.size()]));
            }
            return paramMap;
        }
    
        /**
         * Cleans up resources when the filter is destroyed.
         * Currently performs no cleanup operations.
         */
        @Override
        public void destroy() {
            // nothing
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top