Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 690 for Combine (0.11 sec)

  1. test/typeparam/combine.go

    	return Pair[A, B]{a, b}
    }
    
    func Combine2[A, B any](ga Gen[A], gb Gen[B]) Gen[Pair[A, B]] {
    	return Combine(ga, gb, _NewPair[A, B])
    }
    
    func main() {
    	var g1 Gen[int] = func() (int, bool) { return 3, true }
    	var g2 Gen[string] = func() (string, bool) { return "x", false }
    	var g3 Gen[string] = func() (string, bool) { return "y", true }
    
    	gc := Combine(g1, g2, _NewPair[int, string])
    	if got, ok := gc(); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/analysis.go

    		result = e.Operand.analyze(s)
    	} else {
    		result.combine(e.Operand.analyze(s))
    		result.combine(e.ConditionRHS.analyze(s))
    	}
    	return
    }
    
    func (e *ConditionRHS) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/combined.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // Combine combines the DefinitionsSchemaResolver with a secondary schema resolver.
    // The resulting schema resolver uses the DefinitionsSchemaResolver for a GVK that DefinitionsSchemaResolver knows,
    // and the secondary otherwise.
    func (d *DefinitionsSchemaResolver) Combine(secondary SchemaResolver) SchemaResolver {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableList.Builder::add,
              ImmutableList.Builder::combine,
              ImmutableList.Builder::build);
    
      private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET =
          Collector.of(
              ImmutableSet::builder,
              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableList.Builder::add,
              ImmutableList.Builder::combine,
              ImmutableList.Builder::build);
    
      private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET =
          Collector.of(
              ImmutableSet::builder,
              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzer.go

    	name      string
    	analyzers []Analyzer
    }
    
    // Combine multiple analyzers into a single one.
    // For input metadata, use the union of the component analyzers
    func Combine(name string, analyzers ...Analyzer) CombinedAnalyzer {
    	return &InternalCombinedAnalyzer{
    		name:      name,
    		analyzers: analyzers,
    	}
    }
    
    func (c *InternalCombinedAnalyzer) RelevantSubset(kinds sets.Set[config.GroupVersionKind]) CombinedAnalyzer {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/line_test.go

    		{"VADDPD.Z.Z X0, X1, X2", `Z suffix should be the last; duplicate suffix "Z"`},
    		{"VADDPD.SAE.BCST X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.SAE X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
    		{"VADDPD.SAE.SAE X0, X1, X2", `duplicate suffix "SAE"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

            String lhs = "<props>" + "<property combine.id='LHS-ONLY'><name>LHS-ONLY</name><value>LHS</value></property>"
                    + "<property combine.id='TOOVERWRITE'><name>TOOVERWRITE</name><value>LHS</value></property>"
                    + "</props>";
    
            String rhs = "<props>" + "<property combine.id='RHS-ONLY'><name>RHS-ONLY</name><value>RHS</value></property>"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/function/function.cc

          options.tpu_transfer_result_to_host;
      Status status = tensorflow::CreateTfExecutorToTfrtPipeline(pm, pass_options);
      if (!status.ok()) {
        return diag_handler.Combine(status);
      }
    
      if (mlir::failed(pm.run(module)))
        return diag_handler.Combine(tensorflow::errors::Internal(
            "failed to lower TF Dialect to CoreRT dialect."));
    
      if (VLOG_IS_ON(1)) {
        VLOG(1) << "TFRT dialect: ";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 08:13:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top