Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,240 for testu (0.04 sec)

  1. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    			err:            errDiskNotFound,
    			expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound),
    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. android/pom.xml

        <project.build.outputTimestamp>2024-01-02T00:00:00Z</project.build.outputTimestamp>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <test.add.opens></test.add.opens>
        <test.add.args></test.add.args>
        <module.status>integration</module.status>
        <variant.jvmEnvironment>android</variant.jvmEnvironment>
        <variant.jvmEnvironmentVariantName>android</variant.jvmEnvironmentVariantName>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. pom.xml

        <project.build.outputTimestamp>2024-01-02T00:00:00Z</project.build.outputTimestamp>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <test.add.opens></test.add.opens>
        <test.add.args></test.add.args>
        <module.status>integration</module.status>
        <variant.jvmEnvironment>standard-jvm</variant.jvmEnvironment>
        <variant.jvmEnvironmentVariantName>jre</variant.jvmEnvironmentVariantName>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
       * {@code testNulls()} test in the corresponding {@code CTest} class, and {@code C} will be
       * excluded from the automated null tests performed by this method.
       */
      @Test
      public void testNulls() throws Exception {
        for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder)
    		}
    	}
    
    	// Tests hashing order to fail for when order is '-1'.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      /**
       * Replaces the existing container under test with a new container. This is useful when a single
       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    
    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top