Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,322 for def2 (0.04 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		return
    	}
    	id, isId := e.(*ast.Ident)
    	if isId && id.Name == "_" {
    		return
    	}
    
    	var typ types.Type
    	if rtok == token.DEFINE {
    		if !isId {
    			return
    		}
    		obj := pass.TypesInfo.Defs[id]
    		if obj == nil {
    			return
    		}
    		typ = obj.Type()
    	} else {
    		typ = pass.TypesInfo.Types[e].Type
    	}
    
    	if typ == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/BUILD

        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                ["-gen-op-interface-decls"],
                "ir/tf_op_interfaces.h.inc",
            ),
            (
                ["-gen-op-interface-defs"],
                "ir/tf_op_interfaces.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "ir/tf_op_interfaces.td",
        test = True,
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  4. src/go/types/resolver_test.go

    	}
    
    	// resolve and type-check package AST
    	importer := new(resolveTestImporter)
    	conf := Config{Importer: importer}
    	uses := make(map[*ast.Ident]Object)
    	defs := make(map[*ast.Ident]Object)
    	_, err := conf.Check("testResolveIdents", fset, files, &Info{Defs: defs, Uses: uses})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// check that all packages were imported
    	for _, name := range pkgnames {
    		if !importer.imported[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        def "can set untyped using provider"() {
            def provider = supplierWithValues(someValue(), someValue())
    
            given:
            def property = propertyWithNoValue()
            property.setFromAnyValue(provider)
    
            expect:
            property.present
            property.get() == someValue()
        }
    
        def "convention value is used before value has been set"() {
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def classpathWalker = new ClasspathWalker(TestFiles.fileSystem())
        def classpathBuilder = new DefaultClasspathBuilder(TestFiles.tmpDirTemporaryFileProvider(testDirectoryProvider.createDir("tmp")))
        def fileSystemAccess = TestFiles.fileSystemAccess()
        def globalCacheLocations = Stub(GlobalCacheLocations)
        def fileLockManager = Stub(FileLockManager)
        def agentStatus = Stub(AgentStatus) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

        }
    
        def 'decorates listeners that are a combination of listener interfaces'() {
            given:
            def settingsEvaluatedArg = Mock(Settings)
            def projectsLoadedArg = Mock(Gradle)
            def beforeEvaluateArg = Mock(Project)
            def graphPopulatedArg = Mock(TaskExecutionGraph)
            def listener = Mock(ComboListener)
            def id
            def decoratedListener
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                        $num_bits, $narrow_range)))>;
    
    def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
    
    def LegalizeFloor : Pat<(TF_FloorOp $arg), (TFL_FloorOp $arg)>;
    
    def LegalizeLeakyRelu : Pat<(TF_LeakyReluOp $arg, F32Attr:$a),
                                (TFL_LeakyReluOp $arg, $a)>;
    
    def LegalizeLog : Pat<(TF_LogOp $arg), (TFL_LogOp $arg)>;
    
    def LegalizeLog1p : Pat<
      (TF_Log1pOp F32Tensor:$arg),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores external module jar from runtime ClassLoader"() {
            def classesDir = tmpDir.createDir("some-module/build/classes/java/main")
            def staticResourcesDir = tmpDir.createDir("some-module/src/main/resources")
            def cl = classLoaderFor([externalDependency, classesDir, resourcesDir, staticResourcesDir, externalRuntimeDep])
            def registry = new DefaultModuleRegistry(cl, ClassPath.EMPTY, null)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            then:
            def ex = thrown(RuntimeException)
            ex.is(failure1)
        }
    
        def stopOfFixedSizedScheduledExecutorRethrowsFirstExecutionException() {
            given:
            def failure1 = new RuntimeException()
            def action1 = {
                throw failure1
            }
    
            def failure2 = new RuntimeException()
            def action2 = {
                instant.broken2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top