- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,424 for because (0.2 sec)
-
cmd/erasure-object-conditional_test.go
} }) t.Run("if-match wrong etag with read quorum failure", func(t *testing.T) { // Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag", }, CheckPrecondFn: func(oi ObjectInfo) bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
return 1L << ((Long.SIZE - 1) - Long.numberOfLeadingZeros(x)); } /** * Returns {@code true} if {@code x} represents a power of two. * * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two. */ // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 03 21:01:09 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
final TestSerializableClass obj = new TestSerializableClass("test", 456); final byte[] binary = SerializeUtil.fromObjectToBinary(obj); // Should work because TestSerializableClass is in org.codelibs package final TestSerializableClass result = (TestSerializableClass) SerializeUtil.fromBinaryToObject(binary); assertEquals(obj.name, result.name);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* {@code ExecutorService} imposes a small locking overhead on each task submission in order to * implement shutdown and termination behavior. * * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate} * and {@code scheduleWithFixedDelay} are not supported by this class and will throw an * UnsupportedOperationException. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
} }; } @Override public Object[] toArray() { /* * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it * can be used with collections that may contain null. This collection is a collection of * non-null Entry objects (Entry objects that might contain null values but are notRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* that is how the signature looked even prior to this comment! So naturally any change can break * existing users, but it can't *fix* existing users because any users who needed * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
byte[] init = spnegoInitWithMechs(Kerb5Context.SUPPORTED_MECHS); // NtlmPasswordAuthenticator#createContext will inspect mechs and throw because NTLM is not advertised SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* * <p>This executor is appropriate for tasks that are lightweight and not deeply chained. * Inappropriate {@code directExecutor} usage can cause problems, and these problems can be * difficult to reproduce because they depend on timing. For example: * * <ul> * <li>When a {@code ListenableFuture} listener is registered to run under {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
modelRequest.setProcessPlugins(false); modelRequest.setTwoPhaseBuilding(false); // This merge is on purpose because otherwise user properties would override model // properties in dependencies the user does not know. See MNG-7563 for details. modelRequest.setSystemProperties(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
public V apply(@ParametricNullness K key) { V result = map.get(key); checkArgument(result != null || map.containsKey(key), "Key '%s' not present in map", key); // The unchecked cast is safe because of the containsKey check. return uncheckedCastNullableTToT(result); } @Override public boolean equals(@Nullable Object o) { if (o instanceof FunctionForMapNoDefault) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0)