Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 274 for fints (0.04 sec)

  1. docs/en/docs/tutorial/body.md

    And will also be used in the API docs inside each *path operation* that needs them:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## Editor support
    
    In your editor, inside your function you will get type hints and completion everywhere (this wouldn't happen if you received a `dict` instead of a Pydantic model):
    
    <img src="/img/tutorial/body/image03.png">
    
    You also get error checks for incorrect type operations:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics.go

    		Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.",
    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    namespace. It then executes a series of queries per requested workload to
    find the following top-level workload metrics: total requests per second,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    	// Add leading zeros, but leave room for a NUL.
    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    // fitsInOctal reports whether the integer x fits in a field n-bytes long
    // using octal encoding with the appropriate NUL terminator.
    func fitsInOctal(n int, x int64) bool {
    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeMultiset.java

              + aggr.nodeAggregate(node)
              + aggregateAboveRange(aggr, node.left);
        }
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE));
      }
    
      @Override
      int distinctElements() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.DISTINCT));
      }
    
      static int distinctElements(@CheckForNull AvlNode<?> node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else if len(args) == 1 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/ko/docs/python-types.md

    # 파이썬 타입 소개
    
    파이썬은 선택적으로 "타입 힌트(type hints)"를 지원합니다.
    
    이러한 **타입 힌트**들은 변수의 <abbr title="예를 들면: str, int, float, bool">타입</abbr>을 선언할 수 있게 해주는 특수한 구문입니다.
    
    변수의 타입을 지정하면 에디터와 툴이 더 많은 도움을 줄 수 있게 됩니다.
    
    이 문서는 파이썬 타입 힌트에 대한 **빠른 자습서 / 내용환기** 수준의 문서입니다. 여기서는 **FastAPI**를 쓰기 위한 최소한의 내용만을 다룹니다.
    
    **FastAPI**는 타입 힌트에 기반을 두고 있으며, 이는 많은 장점과 이익이 있습니다.
    
    비록 **FastAPI**를 쓰지 않는다고 하더라도, 조금이라도 알아두면 도움이 될 것입니다.
    
    /// note | "참고"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/behind-a-proxy.md

    Você pode obter o `root_path` atual usado pela sua aplicação para cada solicitação, ele faz parte do dicionário `scope` (que faz parte da especificação ASGI).
    
    Aqui estamos incluindo ele na mensagem apenas para fins de demonstração.
    
    {* ../../docs_src/behind_a_proxy/tutorial001.py hl[8] *}
    
    Então, se você iniciar o Uvicorn com:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multisets.java

    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.EqualsTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Random;
    import java.util.Set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top