Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,718 for rint (0.19 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private var limit = -1L
    
      /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
       * in extensions which have different types depending on their extension ID.
       */
      var typeHint: Any?
        get() = typeHintStack.lastOrNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

      }
    
      @Benchmark
      int hashMultiset(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : hashMultiset) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int linkedHashMultiset(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : linkedHashMultiset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
          string.getChars(0, len, array, i);
        }
        return new String(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun Char.parseHexDigit(): Int =
      when (this) {
        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. docs/recipes.md

                sink.writeUtf8("Numbers\n");
                sink.writeUtf8("-------\n");
                for (int i = 2; i <= 997; i++) {
                  sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
                }
              }
    
              private String factor(int n) {
                for (int i = 2; i < n; i++) {
                  int x = n / i;
                  if (x * i == n) return factor(x) + " × " + i;
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        /** The starting position of the current page in the overall result set. */
        protected final int start;
    
        /** The offset value used for pagination calculations. */
        protected final int offset;
    
        /** The number of records per page. */
        protected final int pageSize;
    
        /** The current page number (1-based). */
        protected int currentPageNumber;
    
        /** The total number of records in the search result set. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java

         */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /**
         * Default current page number for pagination.
         */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /**
         * Total number of records.
         */
        private int allRecordCount;
    
        /**
         * Total number of pages.
         */
        private int allPageCount;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        }
    
        override fun windowUpdate(
          streamId: Int,
          windowSizeIncrement: Long,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_WINDOW_UPDATE
          this.streamId = streamId
          this.windowSizeIncrement = windowSizeIncrement
        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
          exclusive: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

         */
        public SynonymPager() {
            // do nothing
        }
    
        private static final long serialVersionUID = 1L;
    
        /** The total number of records. */
        private int allRecordCount;
    
        /** The total number of pages. */
        private int allPageCount;
    
        /** A flag indicating if a previous page exists. */
        private boolean existPrePage;
    
        /** A flag indicating if a next page exists. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top