Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 914 for index (0.02 seconds)

  1. guava/src/com/google/common/math/Stats.java

        checkArgument(values.length > 0);
        double mean = values[0];
        for (int index = 1; index < values.length; index++) {
          double value = values[index];
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
            mean += (value - mean) / (index + 1);
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  2. okhttp-osgi-tests/build.gradle.kts

           has changed. That is the purpose of this normalization block.
       */
        ignore("okhttp3/osgi/workspace/cnf/repo/index.xml.gz")
        ignore("okhttp3/osgi/workspace/cnf/repo/index.xml.gz.sha")
      }
    }
    
    // Expose OSGi jars to the test environment.
    val osgiTestDeploy: Configuration by configurations.creating
    
    val test = tasks.named("test")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 08:17:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FilteredKeyMultimap.java

        }
    
        @Override
        public boolean add(@ParametricNullness V v) {
          add(0, v);
          return true;
        }
    
        @Override
        public void add(int index, @ParametricNullness V element) {
          checkPositionIndex(index, 0);
          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        public boolean addAll(Collection<? extends V> collection) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        return (result == null) ? elementSet = new ElementSet() : result;
      }
    
      @WeakOuter
      private final class ElementSet extends IndexedImmutableSet<E> {
    
        @Override
        E get(int index) {
          return contents.getKey(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return RegularImmutableMultiset.this.contains(object);
        }
    
        @Override
        boolean isPartialView() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. src/bytes/bytes.go

    				goto fallback
    			}
    		}
    		return -1
    
    	fallback:
    		// Switch to bytealg.Index, if available, or a brute force search when
    		// IndexByte returns too many false positives.
    		if haveFastIndex {
    			if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {
    				return i + j - last
    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
          public boolean add(T element) {
            return data.add(element);
          }
    
          @Override
          public void add(int index, T element) {
            data.add(index, element);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return new AbstractIndexedListIterator<E>(size(), index) {
          @Override
          protected E get(int index) {
            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
      public ImmutableList<E> asList() {
        return this;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/StatsTesting.java

        checkArgument(xValues.size() == yValues.size());
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        for (int index = 0; index < xValues.size(); index++) {
          accumulator.add(xValues.get(index), yValues.get(index));
        }
        return accumulator;
      }
    
      /**
       * Creates a {@link PairedStatsAccumulator} filled with the given lists of {@code x} and {@code y}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      @Override
      protected final int nextEscapeIndex(CharSequence csq, int index, int end) {
        while (index < end) {
          char c = csq.charAt(index);
          if ((c < replacementsLength && replacements[c] != null)
              || c > safeMaxChar
              || c < safeMinChar) {
            break;
          }
          index++;
        }
        return index;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int index = hash & (table.length() - 1);
    
        InternalEntry<Object, Object, ?> entry = segment.newEntryForTesting(key, hash, null);
        segment.setValueForTesting(entry, value);
    
        assertThat(segment.get(key, hash)).isNull();
    
        // count == 0
        segment.setTableEntryForTesting(index, entry);
        assertThat(segment.get(key, hash)).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top