Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,526 for expected (0.18 sec)

  1. cmd/erasure-object_test.go

    			if tt.expectedError != nil && err == nil {
    				t.Errorf("Expected %s, got %s", tt.expectedError, err)
    			}
    			if tt.expectedError == nil && err != nil {
    				t.Errorf("Expected %s, got %s", tt.expectedError, err)
    			}
    			if tt.expectedReadQuorum != actualReadQuorum {
    				t.Errorf("Expected Read Quorum %d, got %d", tt.expectedReadQuorum, actualReadQuorum)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    public class MultisetSetCountConditionallyTester<E> extends AbstractMultisetSetCountTester<E> {
      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. internal/crypto/metadata_test.go

    }
    
    var removeInternalEntriesTests = []struct {
    	Metadata, Expected map[string]string
    }{
    	{ // 0
    		Metadata: map[string]string{
    			MetaMultipart:         "",
    			MetaIV:                "",
    			MetaAlgorithm:         "",
    			MetaSealedKeySSEC:     "",
    			MetaSealedKeyS3:       "",
    			MetaKeyID:             "",
    			MetaDataEncryptionKey: "",
    		},
    		Expected: map[string]string{},
    	},
    	{ // 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

        ByteBuffer buffer = ByteBuffer.wrap(combined);
        buffer.put(md5Hash);
        buffer.put(murmur3Hash);
        HashCode expected = HashCode.fromBytes(combined);
    
        assertEquals(
            expected, Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32()).hashLong(42L));
        assertEquals(
            expected, Hashing.concatenating(asList(Hashing.md5(), Hashing.murmur3_32())).hashLong(42L));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    	}
    	if encOff != 595127964 {
    		t.Fatalf("Test: expected %d, got %d", 595127964, encOff)
    	}
    	if encLength != 32796 {
    		t.Fatalf("Test: expected %d, got %d", 32796, encLength)
    	}
    	if skipLen != 32756 {
    		t.Fatalf("Test: expected %d, got %d", 32756, skipLen)
    	}
    	if seqNumber != 4538 {
    		t.Fatalf("Test: expected %d, got %d", 4538, seqNumber)
    	}
    	if partStart != 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile)
    			}
    			if err == nil && tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name)
    			} else if err != nil && !tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) produced unexpected err: %v", tt.name, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintVersionSummary(t *testing.T) {
    	tests := []struct {
    		name           string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

          }
          return result
        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilder<?, ?> expected =
            CacheBuilder.newBuilder()
                .initialCapacity(10)
                .maximumSize(20)
                .concurrencyLevel(30)
                .weakKeys()
                .weakValues()
                .expireAfterAccess(10L, MINUTES)
                .expireAfterWrite(1L, HOURS);
        assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        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[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableSetMultimap<String, Integer> expected =
            ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapWhenEmpty() {
        ImmutableMap<String, Integer> map = ImmutableMap.of();
        ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of();
        assertEquals(expected, map.asMultimap());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top