Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 303 for Cases (0.08 sec)

  1. src/go/types/subst.go

    func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    	switch t := typ.(type) {
    	case *Basic:
    		return typ // nothing to do
    	case *TypeParam:
    		return smap.lookup(t)
    	}
    
    	// general case
    	subst := subster{
    		pos:       pos,
    		smap:      smap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    		if err == nil {
    			compilationResult.NormalizedRuleFieldPath = validFieldPath.String()
    		}
    	}
    	return
    }
    
    // generateUniqueSelfTypeName creates a placeholder type name to use in a CEL programs for cases
    // where we do not wish to expose a stable type name to CEL validator rule authors. For this to effectively prevent
    // developers from depending on the generated name (i.e. using it in CEL programs), it must be changed each time a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType());
      ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType());
    
      // Handle only static shape cases.
      // TODO(b/260284866): Handle dynamic shape cases.
      if (!lhs_shape.hasStaticShape()) {
        return op.emitError("lhs must have static shape.");
      }
      if (!rhs_shape.hasStaticShape()) {
        return op.emitError("rhs must have static shape.");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "EqPtr", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "EqInter", argLength: 2, typ: "Bool"}, // arg0 or arg1 is nil; other cases handled by frontend
    	{name: "EqSlice", argLength: 2, typ: "Bool"}, // arg0 or arg1 is nil; other cases handled by frontend
    	{name: "Eq32F", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "Eq64F", argLength: 2, commutative: true, typ: "Bool"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    func (cgc *containerGC) removeSandbox(ctx context.Context, sandboxID string) {
    	klog.V(4).InfoS("Removing sandbox", "sandboxID", sandboxID)
    	// In normal cases, kubelet should've already called StopPodSandbox before
    	// GC kicks in. To guard against the rare cases where this is not true, try
    	// stopping the sandbox before removing it.
    	if err := cgc.client.StopPodSandbox(ctx, sandboxID); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            outputContains("Compiling with toolchain '${targetJdk.javaHome.absolutePath}'")
            classJavaVersion(javaClassFile("Foo.class")) == targetJdk.javaVersion
    
            where:
            // Some cases are skipped, because forkOptions (when configured) must match the resulting toolchain, otherwise the build fails
            what             | when                         | withTool | withJavaHome | withExecutable | withJavaExtension | target
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.proto

    //
    // In some cases, we do not know the IP address of a Workload. For instance, we may simply know
    // that there is a workload behind a gateway, and rely on the gateway to handle the rest.
    // In this case, the key format will be "resource-uid". The resource can be a Pod, WorkloadEntry, etc.
    // These resources cannot be looked up on-demand.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    ---
    
    **Note**: You can mix `def` and `async def` in your *path operation functions* as much as you need and define each one using the best option for you. FastAPI will do the right thing with them.
    
    Anyway, in any of the cases above, FastAPI will still work asynchronously and be extremely fast.
    
    But by following the steps above, it will be able to do some performance optimizations.
    
    ## Technical Details
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    	funcInlinabilityChecked      // inliner has already determined whether the function is inlinable
    	funcNeverReturns             // function never returns (in most cases calls panic(), os.Exit(), or equivalent)
    	funcOpenCodedDeferDisallowed // can't do open-coded defers
    	funcClosureResultsLost       // closure is called indirectly and we lost track of its results; used by escape analysis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/os/signal/doc.go

    install its own signal handlers, it must take certain steps to keep Go
    working well. This section documents those steps and the overall
    effect changes to signal handler settings by the non-Go code can have
    on Go programs. In rare cases, the non-Go code may run before the Go
    code, in which case the next section also applies.
    
    If the non-Go code called by the Go program does not change any signal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top