Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 64 for HOLDER (0.06 seconds)

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

        }
    
        @Override
        public int compareTo(CountsHashCodeAndEquals o) {
          onCompareTo.run();
          return delegateString.compareTo(o.delegateString);
        }
      }
    
      /** A holder of counters for calls to hashCode, equals, and compareTo. */
      private static final class CallsCounter {
        long hashCode;
        long equals;
        long compareTo;
    
        long total() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  3. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    modification follow.
    
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    
    0. This License applies to any program or other work which contains a
    notice placed by the copyright holder saying it may be distributed under
    the terms of this General Public License. The "Program", below, refers
    to any such program or work, and a "work based on the Program" means
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri May 17 19:14:22 GMT 2024
    - 38.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

       * contention. See above for explanation. This method suffers the usual non-modularity problems of
       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, int @Nullable [] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/Striped64.java

       * contention. See above for explanation. This method suffers the usual non-modularity problems of
       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, int @Nullable [] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

             * @param level the information level
             * @param prefmaxlen the preferred maximum length
             * @param info the enumeration structure
             * @param totalentries holder for total entries count
             */
            public NetrDfsEnumEx(final String dfs_name, final int level, final int prefmaxlen, final DfsEnumStruct info,
                    final NdrLong totalentries) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransformValueRemainsMemoized() throws Exception {
        class Holder {
    
          int value = 2;
        }
        Holder holder = new Holder();
    
        // This function adds the holder's value to the input value.
        Function<Integer, Integer> adder = from -> from + holder.value;
    
        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top