Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 355 for cleanUp (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
          // If even the first one wasn't there, clean up so that the next test doesn't see an element.
          producerThread.cancel(true);
          producer.doneProducing.await();
          if (drained == 0) {
            q.poll(); // not necessarily there if producer was interrupted
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      inner class FramingSource internal constructor(
        /** Maximum number of bytes to buffer before reporting a flow control error. */
        private val maxByteCount: Long,
        /**
         * True if either side has cleanly shut down this stream. We will receive no more bytes beyond
         * those already in the buffer.
         */
        internal var finished: Boolean,
      ) : Source {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. docs/works_with_okhttp.md

     * [Thrifty](https://github.com/Microsoft/thrifty): An implementation of Apache Thrift for Android.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/ResponseTest.java

    @ExtendWith(MockitoExtension.class)
    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertTrue(entry.isExpired());
            assertTrue(entry.needsRefresh());
    
            // After expiration, cache should be treated as invalid by manager
            // (In real implementation, expired entries might be cleaned up automatically)
        }
    
        @Test
        public void testDirectoryLeaseContextIntegration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            DirectoryLeaseContext context =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. cmd/utils.go

    			newMeta[strings.TrimPrefix(k, "X-Amz-Meta-")] = v
    		} else {
    			newMeta[k] = v
    		}
    	}
    	return newMeta
    }
    
    // pathClean is like path.Clean but does not return "." for
    // empty inputs, instead returns "empty" as is.
    func pathClean(p string) string {
    	cp := path.Clean(p)
    	if cp == "." {
    		return ""
    	}
    	return cp
    }
    
    func trimLeadingSlash(ep string) string {
    	if len(ep) > 0 && ep[0] == '/' {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // in test environments, we test that the method exists and can be invoked
            // without throwing unexpected exceptions
            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	if z, ok := objLayer.(*erasureServerPools); ok {
    		formattedDisks = z.serverPools[0].GetDisks(0)()
    	}
    
    	// Success.
    	return objLayer, formattedDisks, nil
    }
    
    // removeRoots - Cleans up initialized directories during tests.
    func removeRoots(roots []string) {
    	for _, root := range roots {
    		os.RemoveAll(root)
    	}
    }
    
    // creates a bucket for the tests and returns the bucket name.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                fail("Failed to call protected request method: " + e.getMessage());
                return null;
            }
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up system properties
            System.clearProperty("fess.search_engine.http_address");
            System.clearProperty("fesen.http.url");
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. README.md

    - Java 17+
    - Maven 3.6.3 or later
    - Run Maven, specifying a location into which the completed Maven distro should be installed:
        ```
        mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package
        ```
    
    
    [home]: https://maven.apache.org/
    [license]: https://www.apache.org/licenses/LICENSE-2.0
    [build]: https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/master/
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top