- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,532 for ELSE (0.02 sec)
-
tests/associations_test.go
} else if profile.Refer != member.ProfileID { t.Fatalf("member id is not equal: expects: %v, got: %v", profile.Refer, member.ProfileID) } DB.Model(&profile).Update("Refer", 100) var member2 Member if err := DB.First(&member2, "id = ?", member.ID).Error; err != nil { t.Fatalf("failed to find member, got error: %v", err) } else if member2.ProfileID != 100 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsRemove()) { table.clear(); assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else { assertThrows(UnsupportedOperationException.class, () -> table.clear()); } } public void testPut() { assertNull(table.put("foo", 1, cellValue('a')));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.8K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
ls -sh *.whl exit 2 fi # Quick install checks venv_dir=$(mktemp -d) if [[ $(uname -s) != MSYS_NT* ]]; then "python${TFCI_PYTHON_VERSION}" -m venv "$venv_dir" python="$venv_dir/bin/python3" else # When using the Linux-like path, venv creation quietly fails, which is # why it's converted here. venv_dir=$(cygpath -m $venv_dir) "/c/python${TFCI_PYTHON_VERSION}/python.exe" -m venv "$venv_dir"
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Apr 25 00:22:38 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
dr = fetchRootReferral(tf, domain, root, refServerName); links = cacheRootReferral(tf, domain, root, roots, dr, links); } else if (links instanceof NegativeCacheEntry) { links = null; } else { dr = links.map.get("\\"); } if (links != null) { return getLinkReferral(tf, domain, root, path, dr, now, links); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
docs/debugging/xattr/main.go
} } else { if name == "" { log.Fatalln("you must specify an attribute name for reading") } var names []string if name == "." { attrs, err := listxattr(path) if err != nil { log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err)) } names = append(names, attrs...) } else { names = append(names, name) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
AuthScheme authScheme = null; if (Constants.BASIC.equals(scheme)) { authScheme = new BasicScheme(); } else if (Constants.DIGEST.equals(scheme)) { authScheme = new DigestScheme(); } else if (Constants.NTLM.equals(scheme)) { final Properties props = new Properties();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (thumbnailPath != null) { baseDir = new File(thumbnailPath); } else { final String varPath = System.getProperty(Constants.FESS_VAR_PATH); if (varPath != null) { baseDir = new File(varPath, THUMBNAILS_DIR_NAME); } else { baseDir = ResourceUtil.getThumbnailPath().toFile(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN(); } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) { assertWithMessage("mean of " + values).that(mean).isNaN(); assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN(); } else if (values.hasAnyPositiveInfinity()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 36.9K bytes - Viewed (0) -
tests/scan_test.go
} var resPointer *result if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&resPointer).Error; err != nil { t.Fatalf("Failed to query with pointer of value, got error %v", err) } else if resPointer.ID != user3.ID || resPointer.Name != user3.Name || resPointer.Age != int(user3.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0)