Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 205 for getters (0.16 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        return callee !is KtReferenceExpression ||
                analyze(callee) {
                    isSimpleVariableAccessCall(callee)
                }
    }
    
    /**
     * The body of setters are always used. The body of getters are only used if they are expression bodies.
     */
    private fun doesPropertyAccessorUseBody(propertyAccessor: KtPropertyAccessor, body: PsiElement): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    func (l *Loader) CreateSymForUpdate(name string, version int) *SymbolBuilder {
    	s := l.LookupOrCreateSym(name, version)
    	l.SetAttrReachable(s, true)
    	return l.MakeSymbolUpdater(s)
    }
    
    // Getters for properties of the symbol we're working on.
    
    func (sb *SymbolBuilder) Sym() Sym               { return sb.symIdx }
    func (sb *SymbolBuilder) Name() string           { return sb.name }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/flags.h

      bool enable_crash_reproducer;
    };
    
    // Return a pointer to the DumpGraphFlags struct;
    // repeated calls return the same pointer.
    // This should be called only after Flags::Parse() has returned.
    
    // Getters for flags structs defined above.  The first call to any of these
    // parses TF_XLA_FLAGS for all of them.  Those functions which return a pointer
    // always return the same pointer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
              K extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

                            problems.add(method, "property accessor", "getter method must not take parameters");
                        }
                        break;
                    case SETTER:
                        if (!hasVoidReturnType(method.getMethod())) {
                            problems.add(method, "property accessor", "setter method must have void return type");
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
              K extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            then:
            MissingMethodException e = thrown()
            e.message.startsWith("No signature of method: ${SomeTypeWithReadOnlyProperty.name}.readOnly() is applicable")
        }
    
        def "generates getter and setter that delegates to state for abstract property "() {
            def state = Mock(GeneratedViewState)
    
            def proxy = generateSimpleView(SomeType)
            def instance = proxy.newInstance(state, typeConverter)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            succeeds("build")
            file("build/libs/example.jar").exists()
        }
    
        def 'can configure an extension using DependencyCollector in declarative DSL that uses Kotlin properties for the getters'() {
            given: "a plugin that creates a custom extension using a DependencyCollector"
            file("build-logic/src/main/kotlin/com/example/restricted/DependenciesExtension.kt") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            abstract int getNumber()
            abstract void setNumber(int value)
        }
    
        def "rule class can have abstract getter and setter"() {
            expect:
            extract(AbstractPropertyRules).empty
        }
    
        def "can create instance of rule class with abstract getter and setter"() {
            when:
            def schema = extractor.extract(AbstractPropertyRules)
            def instance = schema.factory.create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. src/syscall/js/js.go

    		return true
    	default:
    		panic("bad type")
    	}
    }
    
    // String returns the value v as a string.
    // String is a special case because of Go's String method convention. Unlike the other getters,
    // it does not panic if v's Type is not TypeString. Instead, it returns a string of the form "<T>"
    // or "<T: V>" where T is v's type and V is a string representation of v's value.
    func (v Value) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top