Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,461 for Case (0.08 sec)

  1. docs/en/docs/how-to/graphql.md

    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓
    
    ///
    
    ## GraphQL Libraries
    
    Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	for {
    		var (
    			ok    bool
    			entry any
    		)
    
    		if count < h.batchSize {
    			tickered := false
    			select {
    			case _ = <-ticker.C:
    				tickered = true
    			case entry, _ = <-globalBuffer:
    			case entry, ok = <-h.logCh:
    				if !ok {
    					return
    				}
    			case <-ctx.Done():
    				return
    			}
    
    			if !tickered {
    				h.totalMessages.Add(1)
    				if !isDirQueue {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.AggregateFuture.ReleaseResourcesReason.ALL_INPUT_FUTURES_PROCESSED;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. cni/pkg/log/uds.go

    			logger = logger.WithLabels(k, v)
    		}
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			logger.LogWithTime(istiolog.DebugLevel, m.Msg, m.Time)
    		case "info":
    			logger.LogWithTime(istiolog.InfoLevel, m.Msg, m.Time)
    		case "warn":
    			logger.LogWithTime(istiolog.WarnLevel, m.Msg, m.Time)
    		case "error":
    			logger.LogWithTime(istiolog.ErrorLevel, m.Msg, m.Time)
    		}
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/events.md

    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    	// fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence)
    	switch whence {
    	case io.SeekStart:
    		rsc.offset = offset
    	case io.SeekCurrent:
    		rsc.offset += offset
    	case io.SeekEnd:
    		rsc.offset = rsc.size + offset
    	}
    	if rsc.offset < 0 {
    		return rsc.offset, errors.New("seek to invalid negative offset")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           *   called only once, just as it has its Executor.execute override called only once.)
           *
           * - if we return immediately from `execute` (in which case we never get here)
           *
           * - in the "reentrant submit" case of `execute` (in which case we must have started running a
           *   user task -- which means that we already got past this code (or else we exited early
           *   above))
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. internal/kms/secret-key.go

    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    			return nil, err
    		}
    		aead, err = cipher.NewGCM(block)
    		if err != nil {
    			return nil, err
    		}
    	case kms.ChaCha20:
    		sealingKey, err := chacha20.HChaCha20(s.key, iv)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top