Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 468 for Operator (3.23 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      private val requestedHosts: MutableList<String> = mutableListOf()
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
      }
    
      /** Clears the results for `hostname`.  */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

      var username = ""
      var password: String? = null
      var host = ""
      var port = ""
      var path = ""
      var query = ""
      var fragment = ""
    
      fun expectParseFailure() = scheme.isEmpty()
    
      private operator fun set(
        name: String,
        value: String,
      ) {
        when (name) {
          "s" -> scheme = value
          "u" -> username = value
          "pass" -> password = value
          "h" -> host = value
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
            listOf(addresses[0])
          }
    
        private operator fun Throwable?.plus(throwable: Throwable): Throwable {
          if (this != null) {
            addSuppressed(throwable)
            return this
          }
          return throwable
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            }
    
        }
    
        /**
         * Internal search method that executes the actual search query.
         *
         * This method performs the search using the rank fusion processor and may retry
         * with OR operator if the hit count is below the configured minimum threshold.
         *
         * @param query The search query string
         * @param params The search request parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        server: MockWebServer,
        path: String,
      ): HttpUrl =
        server
          .url(path)
          .newBuilder()
          .host(InetAddress.getByName(server.hostName).hostAddress)
          .build()
    
      private operator fun get(url: HttpUrl) {
        val call =
          client.newCall(
            Request
              .Builder()
              .url(url)
              .build(),
          )
        val response = call.execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

          if (file == null) return null
          sourceCount++
        }
    
        return RelaySource()
      }
    
      internal inner class RelaySource : Source {
        private val timeout = Timeout()
    
        /** The operator to read and write the shared file. Null if this source is closed. */
        private var fileOperator: FileOperator? = FileOperator(file!!.channel)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      }
    
      /**
       * Returns an iterator over the cache's current entries. This iterator doesn't throw
       * `ConcurrentModificationException`, but if new entries are added while iterating, those new
       * entries will not be returned by the iterator. If existing entries are removed during iteration,
       * they will be absent (unless they were already returned).
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

       * mod(8, 4) == 0
       * }
       *
       * @throws ArithmeticException if {@code m <= 0}
       * @see <a href="http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.17.3">
       *     Remainder Operator</a>
       */
      @GwtIncompatible // TODO
      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top