Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,279 for Defaults (0.04 sec)

  1. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertThat(Defaults.defaultValue(void.class)).isNull();
        assertThat(Defaults.defaultValue(String.class)).isNull();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(4, config.getMaxChannels(), "Default max channels should be 4");
            assertEquals(1, config.getChannelBindingPolicy(), "Default binding policy should be preferred");
            assertEquals("adaptive", config.getLoadBalancingStrategy(), "Default strategy should be adaptive");
            assertEquals(10, config.getChannelHealthCheckInterval(), "Default health check interval should be 10");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         * </tr>
         * </table>
         *
         *
         * Property {@code jcifs.smb.lmCompatibility} (int, default 3)
         *
         * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only
         */
        int getLanManCompatibility();
    
        /**
         *
         * Property {@code jcifs.smb.allowNTLMFallback} (boolean, default true)
         *
         * @return whether to allow fallback from kerberos to NTLM
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

            assertEquals(500L, controller.getDelayMillisAtNoUrlInQueue()); // default
            assertEquals(250L, controller.getDelayMillisBeforeProcessing());
            assertEquals(1000L, controller.getDelayMillisForWaitingNewUrl()); // default
        }
    
        /**
         * Test constructor with empty parameters uses all defaults
         */
        public void test_constructorWithEmptyParams() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
            !DEFAULTS.containsKey(type), "A default value was already registered for %s", type);
        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        val client = makeClient()
        makeRequest(client)
    
        // As of OkHttp 5 we now apply the ordering from the OkHttpClient, which defaults to MODERN_TLS
        // Clients might need a changed order, but can at least define a preferred order to override that default.
        val socketOrderedByDefaults =
          handshakeEnabledCipherSuites.sortedBy { ConnectionSpec.MODERN_TLS.cipherSuitesAsString!!.indexOf(it) }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

                "0, " + SmbConstants.TYPE_SHARE, // Standard share
                "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
                "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
                "100, " + SmbConstants.TYPE_SHARE // Unknown type defaults to share
        })
        void testGetTypeWithDifferentShareTypes(int inputType, int expectedType) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
            !DEFAULTS.containsKey(type), "A default value was already registered for %s", type);
        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

        protected void initDefaults() throws CIFSException {
            // Set PropertyConfiguration-specific defaults before calling super.initDefaults()
            if (!this.useMultiChannelExplicitlySet) {
                this.useMultiChannel = true; // PropertyConfiguration defaults to enabled
            }
    
            // Call parent initialization for all other defaults
            super.initDefaults();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

        private boolean opened;
    
        /**
         * Creates a new SAM policy handle.
         *
         * @param handle the DCE/RPC handle for communication
         * @param server the server name (null defaults to local server)
         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top