Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Volver (0.14 sec)

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

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        final 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>();
        final 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        final 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
          }
          mappings.put(var, arg);
        }
      }
    
      // This is needed when resolving types against a context with wildcards
      // For example:
      // class Holder<T> {
      //   void set(T data) {...}
      // }
      // Holder<List<?>> should *not* resolve the set() method to set(List<?> data).
      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *   // do other things since the monitor was not available
     * }
     * }</pre>
     *
     * <h2>Comparison with {@code synchronized} and {@code ReentrantLock}</h2>
     *
     * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized},
     * {@link ReentrantLock}, and {@code Monitor}.
     *
     * <h3>{@code synchronized}</h3>
     *
     * <p>This version is the fewest lines of code, largely because the synchronization mechanism used
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. 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, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
                return ((int) ((lw >>> n) & UNSIGNED_MASK)) - ((int) ((rw >>> n) & UNSIGNED_MASK));
              }
            }
    
            // The epilogue to cover the last (minLength % stride) elements.
            for (; i < minLength; i++) {
              int result = UnsignedBytes.compare(left[i], right[i]);
              if (result != 0) {
                return result;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map;
      final transient int size;
    
      // These constants allow the deserialization code to set final fields. This
      // holder class makes sure they are not initialized unless an instance is
      // deserialized.
      @GwtIncompatible // java serialization is not supported
      @J2ktIncompatible
      static class FieldSettersHolder {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map;
      final transient int size;
    
      // These constants allow the deserialization code to set final fields. This
      // holder class makes sure they are not initialized unless an instance is
      // deserialized.
      @GwtIncompatible // java serialization is not supported
      @J2ktIncompatible
      static class FieldSettersHolder {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
Back to top