Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 762 for chunks (0.12 seconds)

  1. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Filter for rate limiting to protect against bot attacks and excessive requests.
     * Tracks request counts per IP address and blocks excessive requests based on configurable thresholds.
     */
    public class RateLimitFilter implements Filter {
    
        private static final Logger logger = LogManager.getLogger(RateLimitFilter.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
       * <p>This method checks the cancel, isCancelled, and isDone methods.
       */
      public void testCanceledFutureThrowsCancellation() throws Exception {
    
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. internal/crypto/sse-c.go

    	metadata[MetaSealedKeySSEC] = base64.StdEncoding.EncodeToString(sealedKey.Key[:])
    	return metadata
    }
    
    // ParseMetadata extracts all SSE-C related values from the object metadata
    // and checks whether they are well-formed. It returns the sealed object key
    // on success.
    func (ssec) ParseMetadata(metadata map[string]string) (sealedKey SealedKey, err error) {
    	// Extract all required values from object metadata
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. internal/config/policy/opa/config.go

    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	return &Opa{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    // IsAllowed - checks given policy args is allowed to continue the REST API.
    func (o *Opa) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// OPA input
    	body := make(map[string]any)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/FlushablesTest.java

    import java.io.Flushable;
    import java.io.IOException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Flushables}.
     *
     * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not
     * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/stream-data.md

    ### Dateien und Async { #files-and-async }
    
    In den meisten Fällen sind dateiähnliche Objekte standardmäßig nicht mit async und await kompatibel.
    
    Beispielsweise haben sie kein `await file.read()` oder `async for chunk in file`.
    
    Und in vielen Fällen wäre das Lesen eine blockierende Operation (die die Event-Loop blockieren könnte), weil von der Festplatte oder aus dem Netzwerk gelesen wird.
    
    /// info | Info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 6K bytes
    - Click Count (0)
  7. docs/tr/docs/help-fastapi.md

    ### Çözüm önerin { #suggest-solutions }
    
    * Soruyu anlayabildikten sonra olası bir **cevap** verebilirsiniz.
    
    * Çoğu durumda, yapmak istediklerinden ziyade alttaki **asıl problemi veya kullanım senaryosunu** anlamak daha iyidir; çünkü denedikleri yöntemden daha iyi bir çözüm yolu olabilir.
    
    ### Kapatılmasını isteyin { #ask-to-close }
    
    Eğer yanıt verirlerse, büyük ihtimalle problemi çözmüşsünüzdür, tebrikler, **kahramansınız**! 🦸
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  8. cmd/net.go

    			port = "443"
    		case "http":
    			port = "80"
    		default:
    			return "", "", errors.New("unable to guess port from scheme")
    		}
    	}
    
    	return host, port, nil
    }
    
    // isLocalHost - checks if the given parameter
    // correspond to one of the local IP of the
    // current machine
    func isLocalHost(host string, port string, localPort string) (bool, error) {
    	hostIPs, err := getHostIP(host)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                return allPageCount;
            }
    
            /**
             * Checks if a previous page exists.
             *
             * @return true if there is a previous page, false otherwise
             */
            public boolean isExistPrePage() {
                return currentPageNumber != 1;
            }
    
            /**
             * Checks if a next page exists.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Checks if this strategy is applicable given the current options.
         *
         * @param context the upgrade context
         * @return true if this strategy should be applied
         */
        boolean isApplicable(UpgradeContext context);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top