Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for Force (0.22 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. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java

                throws TransferFailedException, ResourceDoesNotExistException;
    
        void getArtifact(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
                TransferListener transferListener,
                boolean force)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

          if (i == 2) {
            // Force this request's response to be written to the cache. This way, subsequent responses
            // can be read from the cache.
            System.out.println("Force cache: true");
            clientForCall = client.newBuilder()
                .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR)
                .build();
          } else {
            System.out.println("Force cache: false");
            clientForCall = client;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. docs/site-replication/run-multi-site-oidc.sh

    if [ $? -ne 0 ]; then
    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                TransferListener downloadMonitor,
                boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
            TransferFailedException tfe = null;
    
            for (ArtifactRepository repository : remoteRepositories) {
                try {
                    getArtifact(artifact, repository, downloadMonitor, force);
    
                    if (artifact.isResolved()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top