Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 7,083 for returned (0.07 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

      /**
       * @return a {@code ListenableFuture} representing pending completion of the task
       * @throws RejectedExecutionException {@inheritDoc}
       */
      @Override
      <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result);
    
      /**
       * {@inheritDoc}
       *
       * <p>All elements in the returned list must be {@link ListenableFuture} instances. The easiest
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashing.java

      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

          max = Math.max(max, array[i]);
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedListMultimap.java

      @Override
      public int size() {
        return size;
      }
    
      @Override
      public boolean isEmpty() {
        return head == null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return keyToKeyList.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return values().contains(value);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. internal/cachevalue/cache.go

    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          return q.toArray();
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue; the runtime type of the returned
       * array is that of the specified array. The returned array elements are in no particular order.
       * If the queue fits in the specified array, it is returned therein. Otherwise, a new array is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/IoTestCase.java

          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
      /**
       * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
       * be deleted in the tear-down for this test.
       */
      protected final File createTempFile() throws IOException {
        return File.createTempFile("test", null, getTempDir());
      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       *
       * <p>The returned list maintains the values, but not the identities, of {@code Character} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/crypto/sha1/62384.md

    The value returned by [sha1.New] now also implements the [encoding.BinaryAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 01 14:57:46 UTC 2024
    - 94 bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/hash/crc32/62384.md

    The values returned by [New] and [NewIEEE] now also implement the [encoding.BinaryAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:23:15 UTC 2024
    - 103 bytes
    - Viewed (0)
Back to top