Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for inScope (0.24 sec)

  1. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

                    ktClassOrObject.getClassId() == classId && ktClassOrObject.inScope
                }
                ?: emptyList()
    
        override fun getAllTypeAliasesByClassId(classId: ClassId): Collection<KtTypeAlias> =
            index.typeAliasMap[classId.packageFqName]
                ?.filter { ktTypeAlias ->
                    ktTypeAlias.getClassId() == classId && ktTypeAlias.inScope
                }
                ?: emptyList()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

        }
    
        RuleBinder rule(Class subjectType, ModelNode.State targetState) {
            def builder = new RuleBinderTestBuilder()
            builder.subjectReference(ModelReference.of(null, ModelType.of(subjectType), targetState).inScope(ModelPath.ROOT))
            builder.descriptor("rule with subject of type $subjectType.simpleName")
            return builder.build()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	if !strOk && !errOk {
    		return "", false
    	}
    
    	// inScope returns true if e is in the scope of f.
    	inScope := func(e ast.Expr, f *types.Func) bool {
    		return f.Scope() != nil && f.Scope().Contains(e.Pos())
    	}
    
    	// Is the expression e within the body of that String or Error method?
    	var method *types.Func
    	if strOk && strMethod.Pkg() == pass.Pkg && inScope(e, strMethod) {
    		method = strMethod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                    } else {
                        inputs.set(i, input.inScope(ModelPath.ROOT));
                    }
                }
            }
    
            private ModelReference<?> mapSubject(ModelReference<?> subject, ModelPath targetPath) {
                if (subject.getPath() == null) {
                    return subject.inScope(targetPath);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            for (ModelReference<?> input : inputs) {
                if (input.getPath() == null && input.getScope() == null) {
                    result.add(new BindingPredicate(input.inScope(ModelPath.ROOT)));
                } else {
                    result.add(new BindingPredicate(input));
                }
            }
            return result.build();
        }
    
        private class GoalGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. association.go

    	"gorm.io/gorm/utils"
    )
    
    // Association Mode contains some helper methods to handle relationship things easily.
    type Association struct {
    	DB           *DB
    	Relationship *schema.Relationship
    	Unscope      bool
    	Error        error
    }
    
    func (db *DB) Association(column string) *Association {
    	association := &Association{DB: db}
    	table := db.Statement.Table
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/net/textproto/reader_test.go

    	if got, want := totalAlloc/count, uint64(32768); got > want {
    		t.Fatalf("ReadMIMEHeader allocated %v bytes, want < %v", got, want)
    	}
    }
    
    type readResponseTest struct {
    	in       string
    	inCode   int
    	wantCode int
    	wantMsg  string
    }
    
    var readResponseTests = []readResponseTest{
    	{"230-Anonymous access granted, restrictions apply\n" +
    		"Read the file README.txt,\n" +
    		"230  please",
    		23,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top