Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 760 for storms (0.06 seconds)

  1. docs_src/app_testing/tutorial004_py310.py

    @app.get("/items/{item_id}")
    async def read_items(item_id: str):
        return items[item_id]
    
    
    def test_read_items():
        # Before the lifespan starts, "items" is still empty
        assert items == {}
    
        with TestClient(app) as client:
            # Inside the "with TestClient" block, the lifespan starts and items added
            assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}
    
            response = client.get("/items/foo")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  2. internal/s3select/sql/aggregation.go

    	}
    	errInvalidAggregation = errors.New("Invalid aggregation seen")
    )
    
    type aggVal struct {
    	runningSum             *Value
    	runningCount           int64
    	runningMax, runningMin *Value
    
    	// Stores if at least one record has been seen
    	seen bool
    }
    
    func newAggVal(fn FuncName) *aggVal {
    	switch fn {
    	case aggFnAvg, aggFnSum:
    		return &aggVal{runningSum: FromFloat(0)}
    	case aggFnMin:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

     */
    package org.codelibs.fess.score;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * This class updates scores of documents.
     */
    public class ScoreUpdater {
        /**
         * Constructor.
         */
        public ScoreUpdater() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            params.put(Constants.JOB_LOG_ID, "should-not-be-stored");
    
            final MockJobRuntime runtime = MockJobRuntime.of(ScriptExecutorJob.class, op -> op.params(() -> params));
    
            final TestableScriptExecutorJob job = new TestableScriptExecutorJob();
            job.process(runtime);
    
            // When logging is disabled, store() is never called
            assertNull(storedJobLog.get());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  5. cmd/url_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			req.Form.Get("uploadId")
    		}
    	})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

    import org.apache.commons.lang3.StringUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.dict.DictionaryItem;
    
    /**
     * Represents an item in a stopwords dictionary.
     * This class stores a stopword and tracks its updated value.
     */
    public class StopwordsItem extends DictionaryItem {
        /** The original stopword. */
        private final String input;
    
        /** The new stopword, if updated. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    @ExtendWith(MockitoExtension.class)
    public class NtlmHttpServletRequestTest {
    
        @Test
        @DisplayName("constructor stores principal and delegates properly")
        void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
            when(mockPrincipal.getName()).thenReturn("user1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

        this.elements = null;
        incrementModCount();
        return newDelegate;
      }
    
      @VisibleForTesting
      boolean isUsingHashFloodingResistance() {
        return delegateOrNull() != null;
      }
    
      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        @Override
        public Object getKey() {
            return "artifact " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        @Override
        public boolean isSnapshot() {
            // Don't consider the artifact's version in here, as this is stored in the directory above that
            return false;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/storage/UploadForm.java

    public class UploadForm {
    
        /**
         * The storage path where the file should be uploaded.
         * If not specified, the file will be stored in the default location.
         */
        public String path;
    
        /**
         * The multipart file to be uploaded to the storage system.
         * This file will be stored in the specified path or default location.
         */
        @Required
        public MultipartFormFile file;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top