- Sort Score
- Result 10 results
- Languages All
Results 1271 - 1280 of 2,681 for Then (0.05 sec)
-
api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Provides a unique identifier for dependencies when multiple implementations * of the same type are available. * <p> * This annotation can be used in conjunction with {@link Inject} to specify * which implementation should be injected when multiple candidates exist. * The value represents a unique identifier for the dependency. * <p> * Example usage: * <pre>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.9K bytes - Viewed (0) -
tests/upsert_test.go
t.Errorf("no error should happen when find languages with code, but got %v", err) } else if len(langs2) != 3 { t.Errorf("should only find only 3 languages, but got %+v", langs2) } DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs) var langs3 []Language if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil { t.Errorf("no error should happen when find languages with code, but got %v", err)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
when(mockEntry.getName()).thenReturn("file.txt"); when(mockEntry.getType()).thenReturn(1); when(mockEntry.getAttributes()).thenReturn(0x20); when(mockEntry.createTime()).thenReturn(100L); when(mockEntry.lastModified()).thenReturn(200L); when(mockEntry.lastAccess()).thenReturn(300L); when(mockEntry.length()).thenReturn(12345L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
fastapi/security/oauth2.py
If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can beRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 22K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java
* and when waiting for new URLs. * The delays are configurable via constructor parameters. * */ public class DefaultIntervalController extends AbstractIntervalController { /** Delay in milliseconds after processing a URL */ protected long delayMillisAfterProcessing = 0L; /** Delay in milliseconds when no URL is in the queue */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 5.8K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} if err := DB.Create(&data).Error; err != nil { t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err) } var result ScannerValuerStruct if err := DB.Find(&result, "id = ?", data.ID).Error; err != nil { t.Fatalf("no error should happen when query scanner, valuer struct, but got %v", err) } if result.ExampleStructPtr.Val != "value2" {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if egNews.BasePost.Title != "engadget_news" { t.Errorf("embedded struct's value should be scanned correctly") } var egPosts []EngadgetPost if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil { t.Fatalf("no error should happen when query with embedded struct, but got %v", err) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
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 "port" -> port = value "p" -> path = value "q" -> query = value
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
* for insertions. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> preservesInsertionOrderOnPutsMap() { return new LinkedHashMap<>(); } /** * Returns the platform preferred map implementation that preserves insertion order when used only * for insertions, with a hint for how many entries to expect.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
* at runtime. When a MIME type is not found in the mapping, a default value * is returned. */ public class FileTypeHelper { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(FileTypeHelper.class); /** Default file type value returned when MIME type is not found in mappings */ protected String defaultValue = "others";Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0)