Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,243 for zIndex (0.47 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Search for misses.
        assertEquals(-1, binarySearch(0, 6) { index -> 0.compareTo(table[index]) })
        assertEquals(-2, binarySearch(0, 6) { index -> 2.compareTo(table[index]) })
        assertEquals(-3, binarySearch(0, 6) { index -> 4.compareTo(table[index]) })
        assertEquals(-4, binarySearch(0, 6) { index -> 6.compareTo(table[index]) })
        assertEquals(-5, binarySearch(0, 6) { index -> 8.compareTo(table[index]) })
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      private static double expectedLargeDatasetPercentile(int index) {
        // We have q=100, k=index, and N=9951. Therefore k*(N-1)/q is 99.5*index. If index is even, that
        // is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and
        // ceil(199*index/2).
        if (index % 2 == 0) {
          int position = IntMath.divide(199 * index, 2, UNNECESSARY);
          return PSEUDORANDOM_DATASET_SORTED.get(position);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      private static double expectedLargeDatasetPercentile(int index) {
        // We have q=100, k=index, and N=9951. Therefore k*(N-1)/q is 99.5*index. If index is even, that
        // is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and
        // ceil(199*index/2).
        if (index % 2 == 0) {
          int position = IntMath.divide(199 * index, 2, UNNECESSARY);
          return PSEUDORANDOM_DATASET_SORTED.get(position);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. schema/index_test.go

    	Name8        string `gorm:"index:,length:10;index:,collate:utf8"`
    
    	CompName1 string `gorm:"index:,unique,composite:idx_compname_1,option:NULLS NOT DISTINCT;not null"`
    	CompName2 string `gorm:"index:,composite:idx_compname_1"`
    
    	// Composite Index: Flattened structure.
    	Data0A string `gorm:"index:,composite:comp_id0"`
    	Data0B string `gorm:"index:,composite:comp_id0"`
    
    	// Composite Index: Nested structure.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    args[index] = ByteConversionUtil.toByte(args[index]);
                    return true;
                } else if (paramTypes[index] == Short.class) {
                    args[index] = ShortConversionUtil.toShort(args[index]);
                    return true;
                } else if (paramTypes[index] == Integer.class) {
                    args[index] = IntegerConversionUtil.toInteger(args[index]);
                    return true;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            }
    
          private fun isStaticHeader(index: Int): Boolean = index >= 0 && index <= STATIC_HEADER_TABLE.size - 1
    
          /** index == -1 when new. */
          private fun insertIntoDynamicTable(
            index: Int,
            entry: Header,
          ) {
            var index = index
            headerList.add(entry)
    
            var delta = entry.hpackSize
            if (index != -1) { // Index -1 == new header.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            return index;
        }
    
        /**
         * Sets the current index position in the buffer.
         *
         * @param index the new index position
         */
        public void setIndex(final int index) {
            this.index = index;
        }
    
        /**
         * Returns the capacity of the buffer.
         *
         * @return the buffer capacity
         */
        public int getCapacity() {
            return buf.length - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumMultiset.java

        size = 0;
        distinctElements = 0;
      }
    
      abstract class Itr<T> implements Iterator<T> {
        int index = 0;
        int toRemove = -1;
    
        abstract T output(int index);
    
        @Override
        public boolean hasNext() {
          for (; index < enumConstants.length; index++) {
            if (counts[index] > 0) {
              return true;
            }
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < size; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaper.java

        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
        }
        return string;
      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top