Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,610 for Single (0.12 sec)

  1. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderTest.kt

            val ktFileInCommon = session.modulesWithFiles.getValue(commonModule).single() as KtFile
            val callInCommon = ktFileInCommon.findDescendantOfType<KtCallExpression>()!!
            callInCommon.assertIsCallOf(CallableId(FqName("some.example"), FqName("Person"), Name.identifier("greet")))
    
            val ktFileInJvm = session.modulesWithFiles.getValue(sourceModule).single() as KtFile
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

    //===----------------------------------------------------------------------===//
    
    YieldOp IslandOp::GetYield() { return llvm::cast<YieldOp>(GetBody().back()); }
    
    // Checks if a tf_executor.island wraps a single operation and the single
    // operation results are perfectly forwarded to the islands yield.
    bool IslandOp::WrapsSingleOp() {
      auto body = GetBody().without_terminator();
      if (!hasSingleElement(body)) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. test/fixedbugs/bug418.go

    package p
    
    func Two() (a, b int)
    
    // F used to compile.
    func F() (x interface{}, y int) {
    	return Two(), 0 // ERROR "single-value context|2\-valued"
    }
    
    // Recursive used to trigger an internal compiler error.
    func Recursive() (x interface{}, y int) {
    	return Recursive(), 0 // ERROR "single-value context|2\-valued"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 557 bytes
    - Viewed (0)
  4. utils/tests/models.go

    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    // NamedPet is a reference to a named `Pet` (has one)
    type User struct {
    	gorm.Model
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/go/types/gotype.go

    type-checks a single Go package. Errors are reported if the analysis
    fails; otherwise gotype is quiet (unless -v is set).
    
    Without a list of paths, gotype reads from standard input, which
    must provide a single Go source file defining a complete package.
    
    With a single directory argument, gotype checks the Go files in
    that directory, comprising a single package. Use -t to include the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy_none_test.go

    			expectedAdmit:  true,
    		},
    		{
    			name: "merge with a single provider with a single preferred resource",
    			providersHints: []map[string][]TopologyHint{
    				{
    					"resource": {{NUMANodeAffinity: NewTestBitMask(0, 1), Preferred: true}},
    				},
    			},
    			expectedHint:  TopologyHint{},
    			expectedAdmit: true,
    		},
    		{
    			name: "merge with a single provider with a single non-preferred resource",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 03 17:13:28 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_linux_test.go

    				v1.IPv4Protocol: proxyutil.NewNoOpLocalDetector(),
    				v1.IPv6Protocol: proxyutil.NewDetectLocalByCIDR("2002:0:0:1234::/64"),
    			},
    		},
    		{
    			name: "LocalModeClusterCIDR, single-stack IPv6 cluster with single-stack IPv4 config",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR,
    				ClusterCIDR:     "10.0.0.0/14",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/result.go

    	r.info, r.err = infos, err
    	return infos, err
    }
    
    // Object returns a single object representing the output of a single visit to all
    // found resources.  If the Builder was a singular context (expected to return a
    // single resource by user input) and only a single resource was found, the resource
    // will be returned as is.  Otherwise, the returned resources will be part of an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/FunctionExtractorTest.kt

            val schema = schemaFromTypes(ReceiverOne::class, listOf(ReceiverOne::class))
            val function = schema.dataClassesByFqName.values.single().memberFunctions.single()
            assertIs<FunctionSemantics.AddAndConfigure>(function.semantics)
        }
    
        @Test
        fun `adding function may not have a configuring lambda if it returns Unit`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/file/FileContents.java

         * </p>
         *
         * @return provider of the entire file contents as a single String.
         */
        Provider<String> getAsText();
    
        /**
         * Gets a provider of the entire file contents as a single byte array.
         *
         * <p>
         * The file is read only once and only when the value is requested for the first time.
         * </p>
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 08 14:00:30 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top