Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 303 for Force (0.02 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            halfOpenSuccesses.set(0);
            lastFailureTime.set(0);
            stateChangeTime.set(System.currentTimeMillis());
            log.info("Circuit breaker {} reset", name);
        }
    
        /**
         * Force the circuit to open
         */
        public void tripBreaker() {
            State previous = state.getAndSet(State.OPEN);
            if (previous != State.OPEN) {
                stateChangeTime.set(System.currentTimeMillis());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/GeneralRange.java

          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use command batching for improved performance */
        protected boolean useBatching = false;
        /** Whether to use Unicode encoding for strings */
        protected boolean useUnicode = true;
        /** Force use of Unicode encoding regardless of negotiation */
        protected boolean forceUnicode = false;
        /** Whether SMB signing is preferred but not required */
        protected boolean signingPreferred = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        var success = false
        try {
          if (connectionSpec.supportsTlsExtensions) {
            Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols)
          }
    
          // Force handshake. This can throw!
          sslSocket.startHandshake()
          // block for session establishment
          val sslSocketSession = sslSocket.session
          val unverifiedHandshake = sslSocketSession.handshake()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
  5. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

            try {
                if (!isDisconnected() && this.usageCount.get() != 0) {
                    log.warn("Transport was not properly released, performing emergency cleanup");
                    // Force disconnect to prevent resource leaks
                    try {
                        disconnect(true);
                    } catch (Exception e) {
                        log.debug("Error during emergency transport disconnect", e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                super.prepareOptions(options);
                options.addOption(Option.builder(ALTERNATE_POM_FILE)
                        .longOpt("file")
                        .hasArg()
                        .desc("Force the use of an alternate POM file (or directory with pom.xml)")
                        .get());
                options.addOption(Option.builder(NON_RECURSIVE)
                        .longOpt("non-recursive")
                        .desc(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
    
            // Force accessibility and create instance to achieve coverage
            constructor.setAccessible(true);
            assertNotNull(constructor.newInstance(), "Should be able to create instance via reflection");
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Happy path: ask for SmbSession and SmbSessionInternal
            assertSame(session, session.unwrap(SmbSessionInternal.class));
            assertSame(session, session.unwrap(jcifs.SmbSession.class));
    
            // Edge: force incompatible class via raw type to trigger ClassCastException
            assertThrows(ClassCastException.class, () -> session.unwrap((Class) String.class));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertNotSame(first, second, "Should create new connection when first is disconnected");
        }
    
        @Test
        @DisplayName("Should create new connection when force signing differs")
        void testNoReuseWithDifferentSigning() throws Exception {
            // Given: An existing connection without signing enforced
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top