- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 371 for mirrors (0.03 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
* Uses sets of paths to track which POMs were processed, modified, or had errors, * avoiding double-counting when multiple strategies affect the same POMs. * * @param processedPoms the set of POMs that were processed * @param modifiedPoms the set of POMs that were modified * @param errorPoms the set of POMs that had errors */ public record UpgradeResult(Set<Path> processedPoms, Set<Path> modifiedPoms, Set<Path> errorPoms) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/update_has_one_test.go
user := *GetUser("update-has-one", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Account = Account{Number: "account-has-one-association"} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Account").Find(&user2, "id = ?", user.ID)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
Set.of(pom1, pom2), // processed Set.of(pom1), // modified Set.of() // errors ); assertTrue(result.success(), "Result should be successful when no errors"); assertEquals(2, result.processedCount(), "Should have 2 processed POMs"); assertEquals(1, result.modifiedCount(), "Should have 1 modified POM");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 9.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginValidator.java
if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) { errors.add("Plugin's descriptor contains the wrong group ID: " + pluginDescriptor.getGroupId()); } if (!pluginArtifact.getArtifactId().equals(pluginDescriptor.getArtifactId())) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
*/ public void incrementErrors() { errors.incrementAndGet(); } /** * Get error rate (errors / total requests) * * @return error rate between 0.0 and 1.0 */ public double getErrorRate() { long total = requestsSent.get(); if (total == 0) return 0.0; return (double) errors.get() / total; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
tests/scanner_valuer_test.go
if b, ok := value.([]byte); ok { if len(b) < 3 || b[0] != '*' || b[1] != '*' || b[2] != '*' { return errors.New("Too short") } *data = append((*data)[0:], b[3:]...) return nil } else if s, ok := value.(string); ok { *data = []byte(s[3:]) return nil } return errors.New("Bytes expected") } func (data EncryptedData) Value() (driver.Value, error) {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/test_validation_error_context.py
def test_validation_error_with_only_path(): errors = [{"type": "missing", "loc": ("body", "name"), "msg": "Field required"}] exc = RequestValidationError(errors, endpoint_ctx={"path": "GET /api/test"}) error_str = str(exc) assert "Endpoint: GET /api/test" in error_str assert 'File "' not in error_str def test_validation_error_with_no_context():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 06 12:21:57 UTC 2025 - 4.7K bytes - Viewed (0) -
tests/hooks_test.go
} func (s *Product) BeforeCreate(tx *gorm.DB) (err error) { if s.Code == "Invalid" { err = errors.New("invalid product") } s.BeforeCreateCallTimes = s.BeforeCreateCallTimes + 1 return } func (s *Product) BeforeUpdate(tx *gorm.DB) (err error) { if s.Code == "dont_update" { err = errors.New("can't update") } s.BeforeUpdateCallTimes = s.BeforeUpdateCallTimes + 1 return }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
README.md
Development for branch 8x remains in the shared repository: - https://gitbox.apache.org/repos/asf/lucene-solr.git ## GitHub forks? If you are using GitHub, make a clone of the corresponding repository mirror and create your pull requests against the main branch: - Lucene: <https://github.com/apache/lucene>
Registered: Sat Dec 20 08:54:13 UTC 2025 - Last Modified: Wed Mar 10 10:02:23 UTC 2021 - 1.5K bytes - Viewed (0) -
tests/create_test.go
package tests_test import ( "errors" "fmt" "regexp" "testing" "time" "github.com/jinzhu/now" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestCreate(t *testing.T) { u1 := *GetUser("create", Config{}) if results := DB.Create(&u1); results.Error != nil { t.Fatalf("errors happened when create: %v", results.Error) } else if results.RowsAffected != 1 {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0)