- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,774 for hero (0.1 seconds)
-
internal/bucket/lifecycle/expiration_test.go
"fmt" "testing" ) // appropriate errors on validation func TestInvalidExpiration(t *testing.T) { testCases := []struct { inputXML string expectedErr error }{ { // Expiration with zero days inputXML: ` <Expiration> <Days>0</Days> </Expiration>`, expectedErr: errLifecycleInvalidDays, }, { // Expiration with invalid date
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Cache.java
* lifetime of the cache. * * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method * was called. If statistics are not being recorded, a {@code CacheStats} instance with zero for * all values is returned. * */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
@SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_null() { assertThrows(NullPointerException.class, () -> throwIfUnchecked(null)); } @J2ktIncompatible @GwtIncompatible // propagateIfPossible // I guess it's technically a bug that ThrowIfUncheckedKnownUnchecked fires here. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertEquals(1048576L * 8 * 512, fileFsSizeInfo.getCapacity()); assertEquals(524288L * 8 * 512, fileFsSizeInfo.getFree()); } @Test @DisplayName("Should decode buffer with zero values") void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
* * @author Colin Decker */ @NullUnmarked public class AbstractByteHasherTest extends TestCase { public void testBytes() { TestHasher hasher = new TestHasher(); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; hasher.putByte((byte) 1); hasher.putBytes(new byte[] {2, 3, 4, 5, 6}); hasher.putByte((byte) 7); hasher.putBytes(new byte[] {});Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/erasure-encode.go
p.writers[i] = nil } } // If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses // CreateFile with p.writeQuorum=1 to accommodate healing of single disk. // i.e if we do no return here in such a case, reduceWriteQuorumErrs() would // return a quorum error to HealFile(). nilCount := countErrs(p.errs, nil) if nilCount >= p.writeQuorum { return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
docs/multi-tenancy/README.md
This topic provides commands to set up different configurations of hosts, nodes, and drives. The examples provided here can be used as a starting point for other configurations. 1. [Standalone Deployment](#standalone-deployment) 2. [Distributed Deployment](#distributed-deployment) 3. [Cloud Scale Deployment](#cloud-scale-deployment)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
*/ public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { /* * TODO(lowasser): consider checking for ImmutableAsList here * TODO(lowasser): consider checking for Multiset here */ // Don't refer to ImmutableSortedSet by name so it won't pull in all that code if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}. * (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
// to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = randomSource.nextLong(); if (dividend == -1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0)