- Sort Score
- Num 10 results
- Language All
Results 2961 - 2970 of 6,702 for If (0.02 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java
// This will make sure the task is not considered up to date if the resources are changed. logger.info("Classpath: {}", System.getProperty("java.class.path")); return System.getProperty("java.class.path"); } public void setOutputDir(File outputDir) { this.outputDir.set(outputDir); } public void copy(String resource) { if (getState().getExecuted() || getState().getExecuting()) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java
/** * Retrieves a specific related query by its unique identifier. * * @param id the unique identifier of the related query to retrieve * @return an OptionalEntity containing the RelatedQuery if found, or empty if not found */ public OptionalEntity<RelatedQuery> getRelatedQuery(final String id) { return relatedQueryBhv.selectByPK(id); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Enums.java
} catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing * user input or falling back to a default enum constant. For example, {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
tests/update_many2many_test.go
user := *GetUser("update-many2many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}} for _, lang := range user.Languages { DB.Create(&lang) } user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}} if err := DB.Save(&user).Error; err != nil {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 1.3K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug.md
--- <!-- GitHub is reserved for bug reports and feature requests; it is not the place for general questions. If you have a question or an unconfirmed bug , please visit the [forums](https://discuss.elastic.co/c/elasticsearch). Please also check your OS is [supported](https://www.elastic.co/support/matrix#show_os). If it is not, the issue is likely to be closed. For security vulnerabilities please only send reports to ******@****.***.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 07 00:50:18 GMT 2020 - 1.3K bytes - Click Count (0) -
internal/config/lambda/event/arn.go
func ParseARN(s string) (*ARN, error) { // ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE> if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") { return nil, &ErrInvalidARN{s} } tokens := strings.Split(s, ":") if len(tokens) != 6 { return nil, &ErrInvalidARN{s} } if tokens[4] == "" || tokens[5] == "" { return nil, &ErrInvalidARN{s} } return &ARN{ region: tokens[3],
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
/** * Sets whether a next page exists. * * @param existNextPage true if a next page exists */ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Sets whether a previous page exists. * * @param existPrevPage true if a previous page exists */ public void setExistPrevPage(final boolean existPrevPage) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.5K bytes - Click Count (0) -
logger/slog_test.go
logger.Trace(context.Background(), time.Now(), func() (string, int64) { return "select count(*) from users", 0 }, nil) if strings.Contains(buf.String(), "gorm/logger/slog.go") { t.Error("Found internal slog.go reference in caller frame. Expected only test file references.") } if !strings.Contains(buf.String(), "gorm/logger/slog_test.go") {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 782 bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
List<Element> cells = children(tr, "td"); if (cells.size() != 1) { throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); } String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.2K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
* @return the merged XML node, or null if both inputs are null */ protected abstract XmlNode doMerge(XmlNode dominant, XmlNode recessive, Boolean childMergeOverride); /** * Gets the singleton instance of the XmlService. * * @return the XmlService instance * @throws IllegalStateException if no implementation is found */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 9.2K bytes - Click Count (0)