Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 151 for endsWith (0.09 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            val expireDistributionCache = Spec<GradleVersion> { candidateVersion ->
                (candidateVersion.isSnapshot && candidateVersion < gradleVersion)
                    || candidateVersion.version.endsWith("-snapshot-1")
            }
    
            // Remove state for old versions of Gradle that we're unlikely to ever require again
            fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("caches"), expireDistributionCache)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          urlHost: String,
          domain: String,
        ): Boolean {
          if (urlHost == domain) {
            return true // As in 'example.com' matching 'example.com'.
          }
    
          return urlHost.endsWith(domain) &&
            urlHost[urlHost.length - domain.length - 1] == '.' &&
            !urlHost.canParseAsIpAddress()
        }
    
        private fun pathMatch(
          url: HttpUrl,
          path: String,
        ): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import assertk.assertThat
    import assertk.assertions.endsWith
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.net.SocketException
    import java.security.GeneralSecurityException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) {
                File[] psOutputs = rootProjectDir.listFiles((__, name) -> name.endsWith(".psoutput") || name.endsWith(".threaddump"));
                if (psOutputs != null) {
                    Stream.of(psOutputs).forEach(File::delete);
                }
            }
        }
    
        static void pkill(String pid) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        }
    
        private long countTmpFiles() {
            return Arrays.stream(Objects.requireNonNull(Curl.tmpDir.listFiles())).map(File::getName)
                    .filter(s -> s.startsWith(PREFIX) && s.endsWith(SUFFIX)).count();
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              header.trimSubstring(equalsSign + 1, pairEnd)
            } else {
              ""
            }
    
          // If the value is "quoted", drop the quotes.
          if (value.startsWith("\"") && value.endsWith("\"") && value.length >= 2) {
            value = value.substring(1, value.length - 1)
          }
    
          result.add(
            Cookie.Builder()
              .name(name)
              .value(value)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:10:43 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                source.visit { FileVisitDetails fvd ->
                    if (fvd.isDirectory()) {
                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                if (dataConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(dataConfigPager.description);
                } else if (dataConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(dataConfigPager.description);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/FessBoot.java

        }
    
        @Override
        protected void setupWebappContext() {
            super.setupWebappContext();
            String contextPath = getContextPath();
            if (contextPath.length() > 0 && contextPath.endsWith("/")) {
                contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY);
            }
            final Context context = (Context) server.getHost().findChild(contextPath);
            if (context != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tests/test_filter_pydantic_sub_model_pv2.py

            name: str
            description: Optional[str] = None
            foo: ModelB
    
            @field_validator("name")
            def lower_username(cls, name: str, info: ValidationInfo):
                if not name.endswith("A"):
                    raise ValueError("name must end in A")
                return name
    
        async def get_model_c() -> ModelC:
            return ModelC(username="test-user", password="test-password")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top