Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 3,853 for Hint (0.04 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

       *     such index exists.
       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

       *     such index exists.
       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    crawlingInfoHelper.generateId(dataMap));
        }
    
        public void test_generateId_long() {
            for (int i = 0; i < 1000; i++) {
                final String value = RandomStringUtils.randomAlphabetic(550);
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 440)).length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
        for (int i = 0; i < entries.size(); i++) {
          for (int j = i + 1; j < entries.size(); j++) {
            assertEqualInOrder(
                entries.subList(i, j),
                navigableMap.subMap(entries.get(i).getKey(), entries.get(j).getKey()).entrySet());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
              val keyInt: Int = key[keyIndex].toInt()
              buffer[i] = (bufferInt xor keyInt).toByte()
    
              i++
              keyIndex++
            }
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/DoubleUtils.java

      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
        checkArgument(isFinite(d), "not a normal value");
        int exponent = getExponent(d);
        long bits = doubleToRawLongBits(d);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

        }
    
        @Override
        public int hashCode() {
            int result = containingType.hashCode();
            result = 31 * result + propertyName.hashCode();
            result = 31 * result + methodName.hashCode();
            result = 31 * result + methodDescriptor.hashCode();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 13 19:17:41 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

            idleAtNs = idleAtNanos,
          )
        result.withLock { pool.put(result) }
        return result
      }
    
      fun newConnectionPool(
        taskRunner: TaskRunner = this.taskRunner,
        maxIdleConnections: Int = Int.MAX_VALUE,
        routePlanner: RoutePlanner? = null,
      ): RealConnectionPool {
        return RealConnectionPool(
          taskRunner = taskRunner,
          maxIdleConnections = maxIdleConnections,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            parameterTypes = method.getParameterTypes();
            returnType = method.getReturnType();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(method, i, beanDesc.getTypeVariables());
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return versionRangeViolations != null;
        }
    
        /**
         * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by
         *       {@link #getVersionRangeViolation(int)} but it's not used like that in
         *       {@link org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector}
         */
        public MetadataResolutionResult addVersionRangeViolation(Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top