Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,787 for value3 (0.08 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * demonstration – the real class behaviour is not required for
     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        } finally {
          pool.shutdownNow();
        }
    
        // Since we have access to the backing map, verify that there are no zeroes in the map
        for (AtomicInteger value : map.values()) {
          assertTrue("map should not contain a zero", value.get() != 0);
        }
      }
    
      private static class MutateTask implements Callable<int[]> {
        private final ConcurrentHashMultiset<String> multiset;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @Test
            @DisplayName("Should handle maximum values without overflow")
            void testMaximumValues() throws SMBProtocolDecodingException {
                FileFsFullSizeInformation info = new FileFsFullSizeInformation();
                byte[] buffer = new byte[32];
    
                // Set all bytes to 0xFF for maximum values
                for (int i = 0; i < buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/UUID.java

            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        public void test_values() {
            // Test that values() returns all enum constants
            SsoResponseType[] values = SsoResponseType.values();
            assertNotNull(values);
            assertEquals(2, values.length);
            assertEquals(SsoResponseType.METADATA, values[0]);
            assertEquals(SsoResponseType.LOGOUT, values[1]);
        }
    
        public void test_valueOf() {
            // Test valueOf for valid enum names
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // The implementation reads values as signed integers and stores them as long
            // Negative values remain negative when stored in long fields
            // The calculations will result in negative values
            long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
      /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/UUID.java

         *
         * @param value the integer value to convert
         * @param length the desired length of the hex string
         * @return the hexadecimal string representation
         */
        public static String bin_to_hex(int value, final int length) {
            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

              <code>
                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
         */
        public boolean equals(Object other) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top