Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 611 for Invoke (0.16 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCall.kt

        /**
         * Whether this function call is an implicit invoke call on a value that has an `invoke` member function. See
         * https://kotlinlang.org/docs/operator-overloading.html#invoke-operator for more details.
         */
        public val isImplicitInvoke: Boolean by validityAsserted(isImplicitInvoke)
    }
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt

            origin: ObjectOrigin.NewObjectFromMemberFunction
        ): Any? {
            val dataFun = origin.function
            val receiverInstance = getObjectByResolvedOrigin(origin.receiver)
                ?: error("Tried to invoke a function $dataFun on a null receiver ${origin.receiver}")
    
            val callResult = invokeFunctionAndGetResult(receiverInstance, origin)
            return callResult.result
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          executionList.add(listener, exec);
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to {@code value}.
         * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke
         * the listeners if the state was successfully changed.
         *
         * @param value the value that was the result of the task.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 09 15:17:25 UTC 2018
    - 13.6K bytes
    - Viewed (0)
  4. src/runtime/runtime-gdb.py

    	how = ((StringTypePrinter, 'len'), (SliceTypePrinter, 'len'), (MapTypePrinter, 'count'), (ChanTypePrinter, 'qcount'))
    
    	def __init__(self):
    		gdb.Function.__init__(self, "len")
    
    	def invoke(self, obj):
    		typename = str(obj.type)
    		for klass, fld in self.how:
    			if klass.pattern.match(typename) or paramtypematch(obj.type, klass.pattern):
    				return obj[fld]
    
    
    class GoCapFunc(gdb.Function):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. src/expvar/expvar_test.go

    	n := 0
    	colors.Do(func(KeyValue) { n++ })
    	if n != 3 {
    		t.Errorf("after three Add calls with distinct keys, Do should invoke f 3 times; got %v", n)
    	}
    
    	colors.Init()
    
    	n = 0
    	colors.Do(func(KeyValue) { n++ })
    	if n != 0 {
    		t.Errorf("after Init, Do should invoke f 0 times; got %v", n)
    	}
    }
    
    func TestMapDelete(t *testing.T) {
    	RemoveAll()
    	colors := NewMap("bike-shed-colors")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
            Object info = infoMethod.invoke(current);
            Object user = userMethod.invoke(info);
            return (String) requireNonNull(orElseMethod.invoke(user, fromSystemProperty));
          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

            val instance = loadedClass.getDeclaredConstructor().newInstance()
            return method.invoke(instance)
        }
    
        fun callStatic(methodName: String): Any {
            val loadedClass = loadClass()
            val method = loadedClass.getMethod(methodName)
            return method.invoke(loadedClass)
        }
    
        fun callOnObjectIntance(methodName: String): Any {
            val loadedClass = loadClass()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          executionList.add(listener, exec);
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to {@code value}.
         * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke
         * the listeners if the state was successfully changed.
         *
         * @param value the value that was the result of the task.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. tests/integration/pilot/istioctl_test.go

    				args := []string{
    					"--namespace=dummy",
    					"x", "describe", "svc", fmt.Sprintf("%s.%s", commonDeployment.ASvc, apps.Namespace.Name()),
    				}
    				output, _, err := istioCtl.Invoke(args)
    				if err != nil {
    					return err
    				}
    				if !describeSvcAOutput.MatchString(output) {
    					return fmt.Errorf("output:\n%v\n does not match regex:\n%v", output, describeSvcAOutput)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

         *
         * @param toSign The artifact that is to be signed
         * @param signatureSpec The specification of how the artifact is to be signed
         * @param tasks The task(s) that will invoke {@link #generate()} on this signature (optional)
         */
        public Signature(final PublishArtifact toSign, SignatureSpec signatureSpec, Object... tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top