Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 648 for clears (0.05 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractByteHasher.java

      @CanIgnoreReturnValue
      private Hasher update(int bytes) {
        try {
          update(scratch.array(), 0, bytes);
        } finally {
          Java8Compatibility.clear(scratch);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putByte(byte b) {
        update(b);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // fail and will need to be rewritten.
    
        Class<?> frqC = FinalizableReferenceQueue.class;
        Class<?> sepFrqC = sepLoader.loadClass(frqC.getName());
        assertNotSame(frqC, sepFrqC);
        // Check the assumptions above.
    
        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
        // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

        assertFalse(elementSet.remove(e3()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetClear() {
        getMultiset().elementSet().clear();
        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            out.print( "<a class=\"sort\" style=\"width: " + maxLen + ";\" href=\"?fmt=detail&sort=name\">Name</a>" );
            out.println( "<a class=\"sort\" href=\"?fmt=detail&sort=size\">Size</a>" );
            out.println( "<a class=\"sort\" href=\"?fmt=detail&sort=type\">Type</a>" );
            out.println( "<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>" );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K 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-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingSortedSet}.
     *
     * @author Louis Wasserman
     */
    public class ForwardingSortedSetTest extends TestCase {
      static class StandardImplForwardingSortedSet<T> extends ForwardingSortedSet<T> {
        private final SortedSet<T> backingSortedSet;
    
        StandardImplForwardingSortedSet(SortedSet<T> backingSortedSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
    
            artifacts.clear();
        }
    
        private String getKey(String classifier, String extension) {
            return classifier + ':' + extension;
        }
    
        @Override
        public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top