Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 967 for Present (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(1, cleaned);
            assertNull(leaseManager.getLease(key));
        }
    
        @Test
        @DisplayName("Should not clean up recent leases")
        void testCleanupRecentLeases() {
            String path = "/share/recent.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. src/bytes/buffer_test.go

    	buf := NewBuffer(make([]byte, n))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteByte('x')
    		}
    	}
    }
    
    func BenchmarkWriteRune(b *testing.B) {
    	const n = 4 << 10
    	const r = '☺'
    	b.SetBytes(int64(n * utf8.RuneLen(r)))
    	buf := NewBuffer(make([]byte, n*utf8.UTFMax))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteRune(r)
    		}
    	}
    }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Callables.java

     *
     * @author Isaac Shum
     * @since 1.0
     */
    @GwtCompatible
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        @Mock
        private CommonServerMessageBlockRequest splitRequest;
    
        @Mock
        private CommonServerMessageBlockRequest cancelRequest;
    
        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, nextRequest, splitRequest, cancelRequest);
        }
    
        @Test
        @DisplayName("Test isResponseAsync returns true when response is async")
        void testIsResponseAsyncTrue() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        }
    
        @Test
        void testReset() {
            // Test reset method updates resumeKey and filename
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            int newResumeKey = 0x5678;
            String newFilename = "newfile.txt";
    
            trans2FindNext2.reset(newResumeKey, newFilename);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. fastapi/sse.py

            Doc(
                """
                Optional comment line(s).
    
                Comment lines start with `:` in the SSE wire format and are ignored by
                `EventSource` clients. Useful for keep-alive pings to prevent
                proxy/load-balancer timeouts.
                """
            ),
        ] = None
    
        @model_validator(mode="after")
        def _check_data_exclusive(self) -> "ServerSentEvent":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     */
    public final class SearchEngineUtil {
    
        private static final Logger logger = LogManager.getLogger(SearchEngineUtil.class);
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private SearchEngineUtil() {
        }
    
        /**
         * Creates an OutputStream from an XContentBuilder using the provided callback function.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                if (request != null) {
                    log.debug("Resetting request");
                    request.reset();
                }
                if (rpath != null) {
                    // resolveDfs() and tree.send() modify the request packet.
                    // I want to restore it before retrying. request.reset()
                    // restores almost everything that was modified, except the path.
                    rpath.setPath(savedPath);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  9. src/main/assemblies/files/fess.in.bat

    set FESS_MAX_MEM=%FESS_HEAP_SIZE%
    )
    
    REM min and max heap sizes should be set to the same value to avoid
    REM stop-the-world GC pauses during resize, and so that we can lock the
    REM heap in memory on startup to prevent any of it from being swapped
    REM out.
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=32m
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

    val localRepository = layout.buildDirectory.dir("repository")
    
    val publishPluginsToTestRepository by tasks.registering {
        dependsOn("publishPluginMavenPublicationToTestRepository")
        val repoDir = localRepository // Prevent capturing the Gradle script instance for configuration cache compatibility
        // This should be unified with publish-public-libraries if possible
        doLast {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top