Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 684 for actually (0.05 sec)

  1. guava/src/com/google/common/collect/Comparators.java

       * Comparators}</a>.
       *
       * @param a first value to compare, returned if less than or equal to b.
       * @param b second value to compare.
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i>.
       * @since 30.0
       */
      public static <T extends Comparable<? super T>> T min(T a, T b) {
        return (a.compareTo(b) <= 0) ? a : b;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <li>If <code>type</code> is an array, the actual class of its elements is returned.</li>
         * <li>Otherwise, <code>null</code> is returned.</li>
         * </ul>
         *
         * @param type
         *            the type to analyze
         * @param map
         *            the map that contains the type variables and type arguments
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/Base64Test.java

        @ParameterizedTest(name = "encode({1}) -> {2}")
        @MethodSource("encodeProvider")
        void testEncode(byte[] input, String expected) {
            // Arrange & Act
            String actual = Base64.encode(input);
            // Assert
            assertEquals(expected, actual, "Base64.encode should match expected string");
        }
    
        /**
         * Data provider for Base64 strings and expected decoded byte arrays.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

            int expected = Byte.compare(x, y);
            int actual = SignedBytes.compare(x, y);
            if (expected == 0) {
              assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")")
                  .that(actual < 0)
                  .isTrue();
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. schema/index_test.go

    	}
    	CheckIndices(t, expectedIndices, indices)
    }
    
    func CheckIndices(t *testing.T, expected, actual []*schema.Index) {
    	if len(expected) != len(actual) {
    		t.Errorf("expected %d indices, but got %d", len(expected), len(actual))
    		return
    	}
    
    	for i, ei := range expected {
    		t.Run(ei.Name, func(t *testing.T) {
    			ai := actual[i]
    			tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            crc = (crc >>> 1) ^ (CRC32C_GENERATOR_FLIPPED & mask);
          }
          expected[i] = crc;
        }
    
        int[] actual = Crc32cHashFunction.Crc32cHasher.byteTable;
        assertTrue(
            "Expected: \n" + Arrays.toString(expected) + "\nActual:\n" + Arrays.toString(actual),
            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import android.os.Build
    import java.lang.IllegalStateException
    import okhttp3.internal.platform.android.AndroidLog
    
    actual object PlatformRegistry {
      actual fun findPlatform(): Platform {
        AndroidLog.enable()
    
        val androidPlatform =
          Android10Platform.buildIfSupported()
            ?: AndroidPlatform.buildIfSupported()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] actual = NtlmUtil.getNTLMv2Response(key, server, clientChallenge, nanos1601, avPairs);
    
            // Assert
            assertArrayEquals(expected, actual, "Computed response must match manual construction");
            // Also verify client challenge sits at mac(16) + blob offset 16
            assertArrayEquals(clientChallenge, Arrays.copyOfRange(actual, 16 + 16, 16 + 16 + 8));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            String expectedContains = ",addrEntry=[";
            String actual = nameQueryResponse.toString();
            assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix");
            assertTrue(actual.contains(expectedContains), "toString should contain the 'addrEntry' part");
            assertTrue(actual.contains("192.168.1.1"), "toString should contain the first NbtAddress string representation");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        void testKnownMapping() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top