Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 661 for cleanly (0.1 seconds)

  1. docs_src/events/tutorial003_py310.py

    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 569 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            tryDrainReferenceQueues();
            return null;
          }
    
          return value;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes, or from
         * the cleanupExecutor. If cleanup is not observed after a sufficient number of reads, try
         * cleaning up from the read thread.
         */
        void postReadCleanup() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  3. README.md

    - **Rules**: Content processing rules and validation
    
    ## Building and Testing
    
    ### Build Commands
    
    ```bash
    # Build all modules
    mvn clean install
    
    # Build without tests
    mvn clean install -DskipTests
    
    # Build specific module
    mvn clean install -pl fess-crawler
    
    # Generate test coverage report
    mvn jacoco:report
    ```
    
    ### Code Quality
    
    ```bash
    # Format code
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. src/packaging/rpm/init.d/fess

            exit 1
        fi
    }
    
    start() {
        checkJava
        [ -x $exec ] || exit 5
    
        # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
        if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
            mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
        fi
        if [ -n "$pidfile" ] && [ ! -e "$pidfile" ]; then
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            int newValue = max(0, oldValue - occurrences);
            if (existingCounter.compareAndSet(oldValue, newValue)) {
              if (newValue == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
                countMap.remove(element, existingCounter);
              }
              return oldValue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. apache-maven/pom.xml

            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-clean-plugin</artifactId>
                <executions>
                  <execution>
                    <id>clean-target-dir</id>
                    <goals>
                      <goal>clean</goal>
                    </goals>
                    <phase>prepare-package</phase>
                    <configuration>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 30 07:38:30 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

                // Verify URL uses custom base URL
                assertNotNull(url);
                assertEquals("https://fess.example.com/sso/metadata", url);
            } finally {
                // Clean up
                systemProperties.remove("saml.sp.base.url");
            }
        }
    
        @Test
        public void test_buildDefaultUrl_withTrailingSlash() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
            assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access");
    
            // Test cleanup
            region.close();
            assertFalse(region.isValid(), "Region should be invalid after close");
        }
    
        @Test
        public void testGetProviderName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. cmd/os_windows.go

    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	// Ensure we don't pick up files as directories.
    	globAll := filepath.Clean(dirPath) + `\*`
    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    	handle, err := syscall.FindFirstFile(globAllP, data)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         */
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        /**
         * Destroys the web API filter and cleans up resources.
         */
        @Override
        public void destroy() {
            // nothing
        }
    
        /**
         * Filters HTTP requests and processes them through appropriate web API managers.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top