- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 377 for Added (0.04 seconds)
-
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
// Historically Invokable inherited from java.lang.reflect.AccessibleObject. That's no longer the // case, but we do check that its API still has the same public methods. We exclude some methods // that were added in Java 9 and that people probably weren't calling via Invokable, namely // `boolean canAccess(Object)`. public void testApiCompatibleWithAccessibleObject() { ImmutableSet<String> invokableMethods =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* {@code initialCapacity} values without resizing. The returned builder is not thread-safe. * * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number * of values that will be added, if that knowledge is readily available. It is better to guess a * value slightly too high than slightly too low. If the value is not exact, the {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
}; } /** * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity, the * specified access policy and initially containing the elements of the given collection, added in * traversal order of the collection's iterator. * * @param capacity the capacity of this queue * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 22.4K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// one execute() call to another instance from the same ExecutionSequencer, we know by // induction that the task that launched this one must not have added any other runnables to // that thread's queue, and thus we cannot be replacing a TaskAndThread object that would // otherwise have another task queued on to it. Note the exception to this, cancellation, is
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* {@code initialCapacity} values without resizing. The returned builder is not thread-safe. * * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number * of values that will be added, if that knowledge is readily available. It is better to guess a * value slightly too high than slightly too low. If the value is not exact, the {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
@CanIgnoreReturnValue Builder<C> combine(Builder<C> builder) { addAll(builder.ranges); return this; } /** * Returns an {@code ImmutableRangeSet} containing the ranges added to this builder. * * @throws IllegalArgumentException if any input ranges have nonempty overlap */ public ImmutableRangeSet<C> build() { ImmutableList.Builder<Range<C>> mergedRangesBuilder =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
List<String> alreadyThere = Lists.newArrayList("already", "there"); List<String> freshlyAdded = Lists.newArrayList("freshly", "added"); boolean changed = Iterators.addAll(alreadyThere, freshlyAdded.iterator()); assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added"); assertTrue(changed); } public void testAddAllToSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
TEST(CAPI, ShapeInferenceError) { // TF_FinishOperation should fail if the shape of the added operation cannot // be inferred. TF_Status* status = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Create this failure by trying to add two nodes with incompatible shapes // (A tensor with shape [2] and a tensor with shape [3] cannot be added). const char data[] = {1, 2, 3}; const int64_t vec2_dims[] = {2};Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 97K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// Add a listener to shut down the executor after the service is stopped. This ensures that the // JVM shutdown will not be prevented from exiting after this service has stopped or failed. // Technically this listener is added after start() was called so it is a little gross, but it // is called within doStart() so we know that the service cannot terminate or fail concurrentlyCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) { // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava. StringBuilder escapedInput = new StringBuilder(); for (char c : input.toCharArray()) { if (c >= 0x20 && c <= 0x7E) { escapedInput.append(c); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0)