Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for toRegex (0.09 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        inline fun tryResolve(resolver: () -> String, or: () -> String) = try {
            resolver()
        } catch (_: Throwable) {
            or()
        }
    }
    
    
    private
    val NEWLINE_REGEX = "\\n\\s*".toRegex()
    
    
    private
    class KotlinVersionsToIncubatingCollector : VersionsToIncubatingCollector {
    
        override fun collectFrom(sourceFile: File): VersionsToIncubating {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

          var publicSuffix = buffer.readUtf8LineStrict()
          if (publicSuffix.contains("*")) {
            // A wildcard rule, let's replace the wildcard with a value.
            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull()
          val test = "foobar.$publicSuffix"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     * addresses nor hostnames; they will be verified as IP addresses (which is a more strict
     * verification).
     */
    private val VERIFY_AS_IP_ADDRESS = "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)".toRegex()
    
    /** Returns true if this string is not a host name and might be an IP address. */
    fun String.canParseAsIpAddress(): Boolean = VERIFY_AS_IP_ADDRESS.matches(this)
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            return if (parsed <= 0L) Long.MIN_VALUE else parsed
          } catch (e: NumberFormatException) {
            // Check if the value is an integer (positive or negative) that's too big for a long.
            if (s.matches("-?\\d+".toRegex())) {
              return if (s.startsWith("-")) Long.MIN_VALUE else Long.MAX_VALUE
            }
            throw e
          }
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        @JvmField val MAGIC = "libcore.io.DiskLruCache"
    
        @JvmField val VERSION_1 = "1"
    
        @JvmField val ANY_SEQUENCE_NUMBER: Long = -1
    
        @JvmField val LEGAL_KEY_PATTERN = "[a-z0-9_-]{1,120}".toRegex()
    
        @JvmField val CLEAN = "CLEAN"
    
        @JvmField val DIRTY = "DIRTY"
    
        @JvmField val REMOVE = "REMOVE"
    
        @JvmField val READ = "READ"
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/moment-with-locales.min.js.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (0)
Back to top