- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 2,329 for Result (0.17 seconds)
-
tests/upsert_test.go
if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&lang).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } var result Language if err := DB.Find(&result, "code = ?", lang.Code).Error; err != nil || result.Name != lang.Name { t.Fatalf("failed to upsert, got name %v", result.Name) } if name := DB.Dialector.Name(); name != "sqlserver" { type RestrictedLanguage struct { Code string `gorm:"primarykey"`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java
@Override public void merge(File existing, File result) throws RepositoryException { merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null); } @Override public void merge(Path existing, Path result) throws RepositoryException { Metadata recessive = read(existing); merge(recessive); write(result, metadata); merged = true; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
.total(pager.getAllRecordCount()) .status(ApiResult.Status.OK) .result()); } // GET /api/admin/duplicatehost/setting/{id} /** * Returns specific duplicate host setting by ID. * * @param id the duplicate host setting ID
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
length += array.length; } char[] result = new char[checkNoOverflow(length)]; int pos = 0; for (char[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; } private static int checkNoOverflow(long result) { checkArgument( result == (int) result,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
internal/event/arn_test.go
{ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:sqs:us-east-1:1:webhook"}, } for i, testCase := range testCases { result := testCase.arn.String() if result != testCase.expectedResult { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result) } } } func TestARNMarshalXML(t *testing.T) { testCases := []struct { arn ARN expectedData []byteCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
* @return the result of the settings building, never {@code null} * @throws SettingsBuilderException if the effective settings could not be built */ @Nonnull SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request); /** * Builds the effective settings of the specified settings sources. * * @return the result of the settings building, never {@code null}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py
[(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1 fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java
* * @param session The session, never {@code null}. * @param result The artifact descriptor result, never {@code null}. * @param model The artifact model, never {@code null}. * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted. */ Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model) throws ArtifactDescriptorException;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
cmd/iam-etcd-store_test.go
{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"}, } for i, test := range specs { result := extractPathPrefixAndSuffix(test.path, test.prefix, test.suffix) if result != test.expected { t.Errorf("unexpected result on test[%v]: expected[%s] but had [%s]", i, test.expected, result) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.5K bytes - Click Count (0)