Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 326 for addCell (0.05 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Integer> list = Ints.asList(VALUES).subList(0, i);
            Collection<Integer> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            int[] arr = Ints.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Double> list = Doubles.asList(VALUES).subList(0, i);
            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Float> list = Floats.asList(VALUES).subList(0, i);
            Collection<Float> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            float[] arr = Floats.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Long> list = Longs.asList(VALUES).subList(0, i);
            Collection<Long> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            long[] arr = Longs.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    			a.Total = atomic.LoadInt64(&old.Total)
    			a.N = atomic.LoadInt64(&old.N)
    			e.mu.Lock()
    			e.lastMinuteLatency.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    			// We may be able to grab the new accumulator by yielding.
    			runtime.Gosched()
    			acc = e.cached.Load()
    		}
    	}
    	atomic.AddInt64(&acc.N, 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } catch (UnsupportedOperationException | NullPointerException e) {
          // Expected.
        }
        assertInvariants(map);
    
        try {
          entrySet.addAll(singleton((Entry<K, V>) entryToAdd));
          fail("Expected UnsupportedOperationException or NullPointerException.");
        } catch (UnsupportedOperationException | NullPointerException e) {
          // Expected.
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public boolean addAll(Collection<? extends E> es) {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      private static <E extends @Nullable Object> SortedSet<E> removeOnlySortedSet(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public boolean addAll(Collection<? extends E> es) {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      private static <E extends @Nullable Object> SortedSet<E> removeOnlySortedSet(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      fun headersBuilder() {
        var builder: Headers.Builder = Headers.Builder()
        builder = builder.add("")
        builder = builder.add("", "")
        builder = builder.addUnsafeNonAscii("", "")
        builder = builder.addAll(headersOf())
        builder = builder.add("", Date(0L))
        builder = builder.add("", Instant.EPOCH)
        builder = builder.set("", "")
        builder = builder.set("", Date(0L))
        builder = builder.set("", Instant.EPOCH)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/MoreFiles.java

          @CheckForNull Collection<IOException> exceptions,
          @CheckForNull Collection<IOException> other) {
        if (exceptions == null) {
          return other;
        } else if (other != null) {
          exceptions.addAll(other);
        }
        return exceptions;
      }
    
      /**
       * Throws an exception indicating that one or more files couldn't be deleted when deleting {@code
       * path} or its contents.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top