Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 430 for force (0.02 seconds)

  1. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        /**
         * Emergency cleanup method to prevent resource leaks during finalization
         */
        private void emergencyCloseHandle() {
            try {
                synchronized (this) {
                    // Force close the handle
                    this.open = false;
                    this.usageCount.set(0);
    
                    // Clear mutable references to free memory
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        MapMakerStrongKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap.
            ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. docs/resiliency/resiliency-tests.sh

    		echo Removing docker $container
    		docker rm -f $container >/dev/null 2>&1
    		docker wait $container
    	done
    }
    
    function cleanup_and_prune() {
    	cleanup
    	docker system prune --volumes --force
    	docker image prune --all --force
    }
    
    function verify_resiliency() {
    	docs/resiliency/resiliency-verify-script.sh
    	RESULT=$(grep "script passed" <resiliency-verify.log)
    	if [ "$RESULT" != "script passed" ]; then
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  4. internal/dsync/drwmutex.go

    	Acquire time.Duration
    
    	// RefreshCall - timeout for the refresh call
    	RefreshCall time.Duration
    
    	// UnlockCall - timeout for the unlock call
    	UnlockCall time.Duration
    
    	// ForceUnlockCall - timeout for the force unlock call
    	ForceUnlockCall time.Duration
    }
    
    // DefaultTimeouts contains default timeouts.
    var DefaultTimeouts = Timeouts{
    	Acquire:         drwMutexAcquireTimeout,
    	RefreshCall:     drwMutexRefreshCallTimeout,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

        doLast {
          modifyXml('.idea/gradle.xml') { xml ->
            def gradleSettings = xml.component.find { it.'@name' == 'GradleSettings' }.option[0].GradleProjectSettings
            // Remove configured JVM option to force IntelliJ to use the project JDK for Gradle
            gradleSettings.option.findAll { it.'@name' == 'gradleJvm' }.each { it.parent().remove(it) }
          }
        }
      }
    
      tasks.register('buildDependencyArtifacts') {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("user2", ((SID) resolvedFirst[1]).acctName);
    
            // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached
            // Mark s3 unresolved to force resolve of one element
            doAnswer(inv -> {
                SID[] toResolve = inv.getArgument(2);
                for (SID s : toResolve) {
                    s.type = jcifs.SID.SID_TYPE_USER;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.close();
        }
    
        @Test
        public void testCloseWithAlreadyDeletedFile() throws IOException {
            // ## Arrange ##
            // Write data exceeding threshold to force file creation, then delete the file
            // before close() - close() should handle this gracefully (log warning, not throw)
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. .github/workflows/build.yml

            if: steps.avd-cache.outputs.cache-hit != 'true'
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              force-avd-creation: false
              arch: ${{ matrix.api-level >= 30 && 'x86_64' || 'x86' }}
              # No window, no audio, and use swiftshader for headless environments
              emulator-options: >
                -no-window
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top