Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3821 - 3830 of 7,303 for recur2 (0.05 seconds)

  1. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1);
        }
        return dummy;
      }
    
      @Benchmark
      int hashString_3(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2);
        }
        return dummy;
      }
    
      @Benchmark
      int hashString_4(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Hashing.java

        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
      static boolean needsResizing(int size, int tableSize, double loadFactor) {
        return size > loadFactor * tableSize && tableSize < MAX_TABLE_SIZE;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

    public class JavaPathTypeTest {
        /**
         * {@return dummy paths to use in tests}.
         */
        private static List<Path> paths() {
            return List.of(Path.of("src", "foo.java"), Path.of("src", "bar.java"));
        }
    
        /**
         * Converts paths from Unix style to platform-dependent style.
         *
         * @param expected the option value expected by the test
         * @return the expected value with separators of the host
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += LongMath.log2(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int log10(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.log10(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int sqrt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                            paramMap.put(line.trim(), StringUtil.EMPTY);
                        }
                    }
                }
            }
            return paramMap;
        }
    
        /**
         * Encrypts sensitive parameter values.
         *
         * @param value the parameter string
         * @return the encrypted parameter string
         */
        public static String encrypt(final String value) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. tests/test_request_params/test_cookie/test_optional_str.py

    
    @app.get("/optional-str")
    async def read_optional_str(p: Annotated[Optional[str], Cookie()] = None):
        return {"p": p}
    
    
    class CookieModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[CookieModelOptionalStr, Cookie()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            return "$cleanedTypeParameters $cleanedGenericReturnType $name(${parameters.joinToString { "${it.parameterizedType.toCodeTypeString()} ${it.name}" }}) {}".trim()
        }
    
        private
        fun Type.toCodeTypeString(): String {
            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
            return toString()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /**
         * Gets the count of access results for the specified session.
         *
         * @param sessionId the session ID
         * @return the count of access results
         */
        @Override
        public int getCount(final String sessionId) {
            return dataHelper.getAccessResultMap(sessionId).size();
        }
    
        /**
         * Deletes all access results for the specified session.
         *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

      private fun findExistingCallWithHost(host: String): AsyncCall? {
        for (existingCall in runningAsyncCalls) {
          if (existingCall.host == host) return existingCall
        }
        for (existingCall in readyAsyncCalls) {
          if (existingCall.host == host) return existingCall
        }
        return null
      }
    
      /**
       * Cancel all calls currently enqueued or executing. Includes calls executed both
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      val parts =
        when {
          requestLine != null -> requestLine.split(' ', limit = 3)
          else -> return DEFAULT_REQUEST_LINE_HTTP_1
        }
    
      if (parts.size != 3) {
        throw ProtocolException("unexpected request line: $requestLine")
      }
    
      return RequestLine(
        method = parts[0],
        target = parts[1],
        version = parts[2],
      )
    }
    
    internal class RequestLine(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top