- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for p2 (0.01 sec)
-
guava/src/com/google/common/base/Verify.java
* * @since 23.1 (varargs overload since 17.0) */ public static void verify(boolean expression, String errorMessageTemplate, char p1, char p2) { if (!expression) { throw new VerifyException(lenientFormat(errorMessageTemplate, p1, p2)); } } /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a * custom message otherwise. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* * @since 23.1 (varargs overload since 17.0) */ public static void verify(boolean expression, String errorMessageTemplate, char p1, char p2) { if (!expression) { throw new VerifyException(lenientFormat(errorMessageTemplate, p1, p2)); } } /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a * custom message otherwise. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
} func (p *ProxyMetric) add(p2 ProxyMetric) { atomic.AddUint64(&p.GetTotal, p2.GetTotal) atomic.AddUint64(&p.HeadTotal, p2.HeadTotal) atomic.AddUint64(&p.GetTagTotal, p2.GetTagTotal) atomic.AddUint64(&p.PutTagTotal, p2.PutTagTotal) atomic.AddUint64(&p.RmvTagTotal, p2.RmvTagTotal) atomic.AddUint64(&p.GetFailedTotal, p2.GetFailedTotal) atomic.AddUint64(&p.HeadFailedTotal, p2.HeadFailedTotal)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
prop2.setProperty("jcifs.smb.client.minVersion", "SMB311"); PropertyConfiguration p2 = new PropertyConfiguration(prop2); assertEquals(DialectVersion.SMB311, p2.getMinimumVersion()); assertEquals(DialectVersion.SMB311, p2.getMaximumVersion()); Properties prop3 = new Properties(); prop3.setProperty("jcifs.smb.client.minVersion", "SMB202");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
Predicate<@Nullable Integer> p2 = isOdd(); // Make sure that hash codes are not computed per-instance. assertEqualHashCode(Predicates.not(p1), Predicates.not(p1)); assertEqualHashCode(Predicates.and(p1, p2), Predicates.and(p1, p2)); assertEqualHashCode(Predicates.or(p1, p2), Predicates.or(p1, p2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} private static boolean pathNamesPossiblyEqual ( String path1, String path2 ) { int p1, p2, l1, l2; // if unsure return this method returns true p1 = path1.lastIndexOf('/'); p2 = path2.lastIndexOf('/'); l1 = path1.length() - p1; l2 = path2.length() - p2; // anything with dots voids comparison if ( l1 > 1 && path1.charAt(p1 + 1) == '.' )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} private static boolean repositoryPolicyEquals(ArtifactRepositoryPolicy p1, ArtifactRepositoryPolicy p2) { if (p1 == p2) { return true; } return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getUpdatePolicy(), p2.getUpdatePolicy()); } private static boolean repositoriesEquals(List<ArtifactRepository> r1, List<ArtifactRepository> r2) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
tests/hooks_test.go
if DB.Save(&Product{Code: "dont_save", Price: 100}).Error == nil { t.Fatalf("An error from after create callbacks happened when create with invalid value") } p2 := Product{Code: "update_callback", Price: 100} DB.Save(&p2) p2.Code = "dont_update" if DB.Save(&p2).Error == nil { t.Fatalf("An error from before update callbacks happened when update with invalid value") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
return result; } private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) { if (p1 == p2) { return true; } // update policy doesn't affect contents return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy()); } private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0)