Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 236 for getters (0.3 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java

            private static final int PUBLIC_STATIC_FINAL = Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL;
            private String className;
            /**
             * We only add getters for `public static final String` constants. This is because in
             * the converted classes only contain these kinds of constants.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object.go

    	}
    	o.serializations.Store(make(serializationsCache))
    }
    
    // The following functions implement metav1.Object interface:
    // - getters simply delegate for the underlying object
    // - setters check if operations isn't noop and if so,
    //   invalidate the cache and delegate for the underlying object
    
    func (o *cachingObject) conditionalSet(isNoop func() bool, set func()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. misc/wasm/wasm_exec.js

    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top