Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,049 for clean (0.02 sec)

  1. cmd/generic-handlers.go

    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		return nil
    	}
    	bucket, _ := path2BucketObject(resource)
    	_, redirect := redirectPrefixes[path.Clean(bucket)]
    	if redirect || resource == slashSeparator {
    		if globalBrowserRedirectURL != nil {
    			return globalBrowserRedirectURL
    		}
    		xhost, err := xnet.ParseHost(r.Host)
    		if err != nil {
    			return nil
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  2. src/test/java/jcifs/SmbResourceTest.java

         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      fun processNextFrame(): Boolean =
        try {
          reader!!.processNextFrame()
          receivedCloseCode == -1
        } catch (e: Exception) {
          failWebSocket(e = e)
          false
        }
    
      /**
       * Clean up and publish necessary close events when the reader is done. Invoked only by the reader
       * thread.
       */
      fun finishReader() {
        val code: Int
        val reason: String?
        val sendOnClosed: Boolean
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    	diff := c.evictList.Length() - size
    	if diff < 0 {
    		diff = 0
    	}
    	for i := 0; i < diff; i++ {
    		c.removeOldest()
    	}
    	c.size = size
    	return diff
    }
    
    // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close().
    // func (c *LRU[K, V]) Close() {
    //	c.mu.Lock()
    //	defer c.mu.Unlock()
    //	select {
    //	case <-c.done:
    //		return
    //	default:
    //	}
    //	close(c.done)
    // }
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. docs/en/docs/contributing.md

    ///
    
    ### Format the code
    
    There is a script that you can run that will format and clean all your code:
    
    <div class="termy">
    
    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    It will also auto-sort all your imports.
    
    ## Tests
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            ((TestDataService) dataService).setThrowRuntimeException(true);
    
            indexUpdater.start();
    
            // Give the thread time to process exceptions
            Thread.sleep(2000);
    
            // Clean up the thread
            indexUpdater.setFinishCrawling(true);
            indexUpdater.interrupt();
            indexUpdater.join(2000);
    
            // Test passes if no exception is thrown and thread terminates properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        @AfterAll
        void teardownContainer() throws Exception {
            if (sambaContainer != null) {
                sambaContainer.stop();
            }
            if (tempDir != null && Files.exists(tempDir)) {
                // Clean up temporary directory
                deleteDirectory(tempDir);
            }
        }
    
        @BeforeEach
        void setupTest() throws Exception {
            // No specific setup needed - tests will create their own files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. docs/smb3-features/02-persistent-handles-design.md

                case LEASE_BREAK:
                    // Release handle, create new one
                    releaseAndRecreate(handle);
                    break;
                    
                case EXPLICIT_CLOSE:
                    // Clean release
                    releaseHandle(handle);
                    break;
            }
        }
    }
    ```
    
    ## 10. Performance Considerations
    
    ### 10.1 Handle Caching Strategy
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. cmd/common-main.go

    	if value := env.Get(config.EnvConsoleDebugLogLevel, ""); value != "" {
    		os.Setenv("CONSOLE_DEBUG_LOGLEVEL", value)
    	}
    	// pass the console subpath configuration
    	if globalBrowserRedirectURL != nil {
    		subPath := path.Clean(pathJoin(strings.TrimSpace(globalBrowserRedirectURL.Path), SlashSeparator))
    		if subPath != SlashSeparator {
    			os.Setenv("CONSOLE_SUBPATH", subPath)
    		}
    	}
    	// Enable if prometheus URL is set.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        ignoreIoExceptions {
          writer.close()
        }
    
        // Cancel the socket to break out the reader thread, which will clean up after itself.
        ignoreIoExceptions {
          socket.cancel()
        }
    
        // Release the threads.
        writerQueue.shutdown()
        pushQueue.shutdown()
        settingsListenerQueue.shutdown()
      }
    
      private fun failConnection(e: IOException?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top