Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 94 for endswith (0.28 sec)

  1. 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 {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. 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")
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public boolean isSnapshot(String version) {
            return checkSnapshot(version);
        }
    
        public static boolean checkSnapshot(String version) {
            return version.endsWith(SNAPSHOT) || SNAPSHOT_TIMESTAMP.matcher(version).matches();
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                                bindings.put(METHOD_FOR_FIR_FUNCTION, setter, Method(it.name, getAsmMethodSignatureWithCorrection(it)))
                            }
                        }
                        methods.singleOrNull { it.name.endsWith(JvmAbi.ANNOTATED_PROPERTY_METHOD_NAME_SUFFIX) }?.let {
                            bindings.put(
                                FirJvmSerializerExtension.SYNTHETIC_METHOD_FOR_FIR_VARIABLE,
                                fir,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            }
    
            final String userAgent = getUserAgent();
            if (StringUtil.isNotBlank(userAgent)) {
                if (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX) && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX)) {
                    paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName());
                } else {
                    paramMap.put(Client.USER_AGENT, userAgent);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertThat(pom.getValue("build/filters[1]").toString(), endsWith("child-a.properties"));
            assertThat(pom.getValue("build/filters[2]").toString(), endsWith("child-c.properties"));
            assertThat(pom.getValue("build/filters[3]").toString(), endsWith("child-b.properties"));
            assertThat(pom.getValue("build/filters[4]").toString(), endsWith("child-d.properties"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                case FAMILY_UNIX:
                    return PATH_SEP.equals(":")
                            && !isFamily(FAMILY_OPENVMS, actualOsName)
                            && (!isFamily(FAMILY_MAC, actualOsName) || actualOsName.endsWith("x"));
                case FAMILY_ZOS:
                    return actualOsName.contains(FAMILY_ZOS) || actualOsName.contains(FAMILY_OS390);
                case FAMILY_OS400:
                    return actualOsName.contains(FAMILY_OS400);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top