Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for Force (0.02 sec)

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

                            cleaned++;
                        } catch (Exception e) {
                            log.error("Failed to force close resource: {}", holder.resourceId, e);
                        }
                    }
                }
            }
    
            log.info("Force cleaned {} resources", cleaned);
            return cleaned;
        }
    
        /**
         * Shutdown the resource manager
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertTrue(addresses.length > 0, "Should return at least one address");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name resolution with timeout")
        @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout
        void testGetNbtByName() {
            // When/Then - Should throw UnknownHostException quickly due to short timeouts
            UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

        int keyHash = Hashing.smearedHash(key);
        int entryForKey = findEntryByKey(key, keyHash);
        if (entryForKey != ABSENT) {
          V oldValue = values[entryForKey];
          if (Objects.equals(oldValue, value)) {
            return value;
          } else {
            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

          }
        assertThat(requestsMade.size).isEqualTo(0)
        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
        val conn = url.openConnection() as HttpURLConnection
        conn.responseCode // Force the connection to hit the "server".
        // Make sure our dispatcher got the request.
        assertThat(requestsMade.size).isEqualTo(1)
      }
    
      @Test
      fun outOfOrderResponses() {
        val firstResponseCode = AtomicInteger()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
    
            try {
                dataIndexHelper.crawl("test-session-force-stop");
                assertTrue("Should exit quickly when force stopped", true);
            } catch (Exception e) {
                assertTrue("Force stop should handle exceptions quickly", true);
            }
        }
    
        public void test_crawl_with_short_intervals() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. cmd/peer-s3-server.go

    	"github.com/minio/pkg/v3/sync/errgroup"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    const (
    	peerS3Bucket            = "bucket"
    	peerS3BucketDeleted     = "bucket-deleted"
    	peerS3BucketForceCreate = "force-create"
    	peerS3BucketForceDelete = "force-delete"
    )
    
    func healBucketLocal(ctx context.Context, bucket string, opts madmin.HealOpts) (res madmin.HealResultItem, err error) {
    	globalLocalDrivesMu.RLock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. maven-tests/mvnw.cmd

    $TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null
    trap {
      if ($TMP_DOWNLOAD_DIR.Exists) {
        try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
        catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
      }
    }
    
    New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null
    
    # Download and Install Apache Maven
    Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            // Assert
            assertEquals(expectedCredits, credits);
            verify(negotiationResponse).getInitialCredits();
        }
    
        @Test
        @DisplayName("Test canReuse returns true with force signing")
        void testCanReuseWithForceSigning() {
            // Arrange
            when(negotiationResponse.canReuse(cifsContext, true)).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. cmd/ftp-server.go

    			}
    			publicIP = host
    		case "passive-port-range":
    			portRange = tokens[1]
    		case "tls-private-key":
    			tlsPrivateKey = tokens[1]
    		case "tls-public-cert":
    			tlsPublicCert = tokens[1]
    		case "force-tls":
    			forceTLS, err = strconv.ParseBool(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                when(src.getContext()).thenReturn(ctx);
    
                // Force failure before any stream construction
                when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom"));
    
                SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch
                SmbTreeHandleImpl dh = newTreeHandle(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top